diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000000000000000000000000000000000000..6a3dbf69467169e16a3264251a6269ec1b6e0521 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,12 @@ +.DS_Store +*.DS_Store +db +logs +webs +README.md +README.en-US.md +*.sh +sublink_amd64 +sublink_arm64 +sublink.exe +install.sh diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 0000000000000000000000000000000000000000..053e31e200bf5c9d53ae378c03ad972e3458db7a --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,40 @@ +name: Build and Push Multi-Arch Docker Image + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + # 检出代码 + - name: Checkout code + uses: actions/checkout@v2 + + # 设置 QEMU 以支持跨架构构建 + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + + # 设置 Docker Buildx + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + + # 登录到 Docker Hub + - name: Log in to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + + # 构建并推送多平台 Docker 镜像 + - name: Build and Push Multi-Arch Docker Image + run: | + docker buildx build --platform linux/amd64,linux/arm64 \ + -t jaaksi/sublinkx:latest \ + --push . diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..4ecfa82d38cdb6f30a52099d5b7e5973835ab910 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +.DS_Store +*.DS_Store +db +logs +sublink_amd64 +sublink_arm64 +sublink.exe \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..4e3a554e71dbc877a6ad27caf2fd05f41dcf314d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +# Build stage +FROM golang:1.22.2-alpine AS builder +WORKDIR /app +COPY . . +RUN go mod download +RUN go build -o sublinkX + +# Final stage +FROM alpine:latest +WORKDIR /app + +# 设置时区为 Asia/Shanghai +ENV TZ=Asia/Shanghai + +COPY --from=builder /app/sublinkX /app/sublinkX +EXPOSE 8000 +CMD ["/app/sublinkX"] + diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..2bb278c653572d2ccd39b6bc3ec4b3d998123ffa --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024-SublinkX + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.en-US.md b/README.en-US.md new file mode 100644 index 0000000000000000000000000000000000000000..e8fe3ee8f3e4e0890464d3bd536b39fbec32e4f2 --- /dev/null +++ b/README.en-US.md @@ -0,0 +1,56 @@ +
+ +
Chinese|English
+ + ## [Project Profile] + + Project based on sublink project secondary development: github.com/jaaksii/sublink + + Front end based on github.com/youlaitech/vue3-element-admin + + Go+gin+gorm on the backend + + Default account admin password 123456 modify yourself + + Because rewriting has a lot of layout structure and a little less functionality + + ## [Project Features] + + High degree of freedom and security, ability to log access subscriptions, easy configuration + + Binary compilation without Docker containers + + Currently only supported clients: v2ray crash surge + + v2ray is base64 generic format + + Clash Support Protocol:ss ssr trojan vmess vless hy hy2 tuic + + surge Support Protocol:ss trojan vmess hy2 tuic + + ## [Project Preview] + + ! [1712594176714](webs/src/assets/1.png)! [1712594176714](webs/src/assets/2.png) + + ## [update description] + + Add specified client + + Fix menu update function does not update menu version + + ## [Installation Instructions]### Linux Mode: + ```curl -s -H "Cache-Control: no-cache" -H "Pragma: no-cache" https://raw.githubusercontent.com/gooaclok819/sublinkX/main/install.sh | sudo bash ``` + + ```sublink``outgoing menu + + Then enter the installation script + + ### Docker method: + + Create a directory where you need it, such as mkdir sublinkx + + Then cd enters this directory, enter the following command and the data will be mounted. + + DB and template ```docker run --name sublinkx -p 8000:8000 \-v $PWD/db:/app/db \-v $PWD/template:/app/template \-v $PWD/logs:/app/logs \-d jaaksi/sublinkx ``` + + ## Stargazers over time [! [Stargazers over time](https://starchart.cc/gooaclok819/sublinkX.svg? variant=adaptive)](https://starchart.cc/gooaclok819/sublinkX) \ No newline at end of file diff --git a/README.md b/README.md index 725542cd1c54a93d2ef743ac7df602533392a93b..d702894c87673d89a04b8d3b2daf19a43e640238 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,81 @@ ---- -title: Sublinker -emoji: 🦀 -colorFrom: blue -colorTo: red -sdk: docker -pinned: false -license: mit ---- - -Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference +
+ +
+ +
+ + + + + + + +
中文 | English
+
+ +## [项目简介] + +项目基于sublink项目二次开发:https://github.com/jaaksii/sublink + +前端基于:https://github.com/youlaitech/vue3-element-admin + +后端采用go+gin+gorm + +默认账号admin 密码123456 自行修改 + +因为重写目前还有很多布局结构以及功能稍少 + +## [项目特色] + +自由度和安全性较高,能够记录访问订阅,配置轻松 + +二进制编译无需Docker容器 + +目前仅支持客户端:v2ray clash surge + +v2ray为base64通用格式 + +clash支持协议:ss ssr trojan vmess vless hy hy2 tuic + +surge支持协议:ss trojan vmess hy2 tuic + +## [项目预览] + +![1712594176714](webs/src/assets/1.png) +![1712594176714](webs/src/assets/2.png) + +## [更新说明] + +新增指定客户端 + +修复菜单更新功能没更新菜单版本 + +## [安装说明] +### linux方式: +``` +curl -s -H "Cache-Control: no-cache" -H "Pragma: no-cache" https://raw.githubusercontent.com/gooaclok819/sublinkX/main/install.sh | sudo bash +``` + +```sublink``` 呼出菜单 + +然后输入安装脚本即可 + +### docker方式: + +在自己需要的位置创建一个目录比如mkdir sublinkx + +然后cd进入这个目录,输入下面指令之后数据就挂载过来 + +需要备份的就是db和template +``` +docker run --name sublinkx -p 8000:8000 \ +-v $PWD/db:/app/db \ +-v $PWD/template:/app/template \ +-v $PWD/logs:/app/logs \ +-d jaaksi/sublinkx +``` + +## Stargazers over time +[![Stargazers over time](https://starchart.cc/gooaclok819/sublinkX.svg?variant=adaptive)](https://starchart.cc/gooaclok819/sublinkX) + + diff --git a/api/auth.go b/api/auth.go new file mode 100644 index 0000000000000000000000000000000000000000..33950230c1d887c780a20267219a3dfab169d71a --- /dev/null +++ b/api/auth.go @@ -0,0 +1,101 @@ +package api + +import ( + "log" + "sublink/middlewares" + "sublink/models" + "sublink/utils" + "time" + + "github.com/dgrijalva/jwt-go" + "github.com/gin-gonic/gin" +) + +// 获取token +func GetToken(username string) (string, error) { + c := &middlewares.JwtClaims{ + Username: username, + StandardClaims: jwt.StandardClaims{ + ExpiresAt: time.Now().Add(time.Hour * 24 * 14).Unix(), // 设置14天过期 + IssuedAt: time.Now().Unix(), // 签发时间 + Subject: username, // 用户 + }, + } + token := jwt.NewWithClaims(jwt.SigningMethodHS256, c) + return token.SignedString(middlewares.Secret) +} + +// 获取captcha图形验证码 +func GetCaptcha(c *gin.Context) { + id, bs4, _, err := utils.GetCaptcha() + if err != nil { + log.Println("获取验证码失败") + c.JSON(400, gin.H{ + "msg": "获取验证码失败", + }) + return + } + c.JSON(200, gin.H{ + "code": "00000", + "data": gin.H{ + "captchaKey": id, + "captchaBase64": bs4, + }, + "msg": "获取验证码成功", + }) + +} + +// 用户登录 +func UserLogin(c *gin.Context) { + username := c.PostForm("username") + password := c.PostForm("password") + captchaCode := c.PostForm("captchaCode") + captchaKey := c.PostForm("captchaKey") + // 验证验证码 + if !utils.VerifyCaptcha(captchaKey, captchaCode) { + log.Println("验证码错误") + c.JSON(400, gin.H{ + "msg": "验证码错误", + }) + return + } + user := &models.User{Username: username, Password: password} + err := user.Verify() + if err != nil { + log.Println("账号或者密码错误") + c.JSON(400, gin.H{ + "msg": "账号或者密码错误", + }) + return + } + // 生成token + token, err := GetToken(username) + if err != nil { + log.Println("获取token失败") + c.JSON(400, gin.H{ + "msg": "获取token失败", + }) + return + } + // 登录成功返回token + c.JSON(200, gin.H{ + "code": "00000", + "data": gin.H{ + "accessToken": token, + "tokenType": "Bearer", + "refreshToken": nil, + "expires": nil, + }, + "msg": "登录成功", + }) +} +func UserOut(c *gin.Context) { + // 拿到jwt中的username + if _, Is := c.Get("username"); Is { + c.JSON(200, gin.H{ + "code": "00000", + "msg": "退出成功", + }) + } +} diff --git a/api/clients.go b/api/clients.go new file mode 100644 index 0000000000000000000000000000000000000000..e7b9fc82129f3e4369f9c5f11ce5510be2719714 --- /dev/null +++ b/api/clients.go @@ -0,0 +1,276 @@ +package api + +import ( + "crypto/md5" + "encoding/hex" + "encoding/json" + "fmt" + "io" + "log" + "net/http" + "net/url" + "strings" + "sublink/models" + "sublink/node" + + "github.com/gin-gonic/gin" +) + +var SunName string + +// md5加密 +func Md5(src string) string { + m := md5.New() + m.Write([]byte(src)) + res := hex.EncodeToString(m.Sum(nil)) + return res +} +func GetClient(c *gin.Context) { + // 获取协议头 + token := c.Query("token") + ClientIndex := c.Query("client") // 客户端标识 + if token == "" { + log.Println("token为空") + c.Writer.WriteString("token为空") + return + } + // fmt.Println(c.Query("token")) + Sub := new(models.Subcription) + // 获取所有订阅 + list, _ := Sub.List() + // 查找订阅是否包含此名字 + for _, sub := range list { + // 数据库订阅名字赋值变量 + SunName = sub.Name + //查找token的md5是否匹配并且转换成小写 + if Md5(SunName) == strings.ToLower(token) { + // 判断是否带客户端参数 + switch ClientIndex { + case "clash": + GetClash(c) + return + case "surge": + GetSurge(c) + return + case "v2ray": + GetV2ray(c) + return + } + // 自动识别客户端 + ClientList := []string{"clash", "surge"} + for k, v := range c.Request.Header { + if k == "User-Agent" { + for _, UserAgent := range v { + if UserAgent == "" { + fmt.Println("User-Agent为空") + } + // fmt.Println("协议头:", UserAgent) + // 遍历客户端列表 + // SunName = sub.Name + for _, client := range ClientList { + // fmt.Println(strings.ToLower(UserAgent), strings.ToLower(client)) + // fmt.Println(strings.Contains(strings.ToLower(UserAgent), strings.ToLower(client))) + if strings.Contains(strings.ToLower(UserAgent), strings.ToLower(client)) { + // fmt.Println("客户端", client) + switch client { + case "clash": + GetClash(c) + return + case "surge": + GetSurge(c) + return + default: + fmt.Println("未知客户端") // 这个应该是不能达到的,因为已经在上面列出所有情况 + } + // 找到匹配的客户端后退出循环 + + } + } + GetV2ray(c) + } + + } + } + } + } + +} +func GetV2ray(c *gin.Context) { + var sub models.Subcription + if SunName == "" { + c.Writer.WriteString("订阅名为空") + return + } + // subname := c.Param("subname") + // subname := SunName + // subname = node.Base64Decode(subname) + sub.Name = SunName + err := sub.Find() + if err != nil { + c.Writer.WriteString("找不到这个订阅:" + SunName) + return + } + err = sub.GetSub() + if err != nil { + c.Writer.WriteString("读取错误") + return + } + baselist := "" + for _, v := range sub.Nodes { + switch { + // 如果包含多条节点 + case strings.Contains(v.Link, ","): + links := strings.Split(v.Link, ",") + baselist += strings.Join(links, "\n") + "\n" + continue + //如果是订阅转换 + case strings.Contains(v.Link, "http://") || strings.Contains(v.Link, "https://"): + resp, err := http.Get(v.Link) + if err != nil { + log.Println(err) + return + } + defer resp.Body.Close() + body, _ := io.ReadAll(resp.Body) + nodes := node.Base64Decode(string(body)) + baselist += nodes + "\n" + // 默认 + default: + baselist += v.Link + "\n" + } + } + c.Set("subname", SunName) + filename := fmt.Sprintf("%s.txt", SunName) + encodedFilename := url.QueryEscape(filename) + c.Writer.Header().Set("Content-Disposition", "inline; filename*=utf-8''"+encodedFilename) + c.Writer.Header().Set("Content-Type", "text/html; charset=utf-8") + c.Writer.WriteString(node.Base64Encode(baselist)) +} +func GetClash(c *gin.Context) { + var sub models.Subcription + // subname := c.Param("subname") + // subname := node.Base64Decode(SunName) + sub.Name = SunName + err := sub.Find() + if err != nil { + c.Writer.WriteString("找不到这个订阅:" + SunName) + return + } + err = sub.GetSub() + if err != nil { + c.Writer.WriteString("读取错误") + return + } + urls := []string{} + for _, v := range sub.Nodes { + switch { + // 如果包含多条节点 + case strings.Contains(v.Link, ","): + links := strings.Split(v.Link, ",") + urls = append(urls, links...) + continue + //如果是订阅转换 + case strings.Contains(v.Link, "http://") || strings.Contains(v.Link, "https://"): + resp, err := http.Get(v.Link) + if err != nil { + log.Println(err) + return + } + defer resp.Body.Close() + body, _ := io.ReadAll(resp.Body) + nodes := node.Base64Decode(string(body)) + links := strings.Split(nodes, "\n") + urls = append(urls, links...) + // 默认 + default: + urls = append(urls, v.Link) + } + } + + var configs node.SqlConfig + err = json.Unmarshal([]byte(sub.Config), &configs) + if err != nil { + c.Writer.WriteString("配置读取错误") + return + } + DecodeClash, err := node.EncodeClash(urls, configs) + if err != nil { + c.Writer.WriteString(err.Error()) + return + } + c.Set("subname", SunName) + filename := fmt.Sprintf("%s.yaml", SunName) + encodedFilename := url.QueryEscape(filename) + c.Writer.Header().Set("Content-Disposition", "inline; filename*=utf-8''"+encodedFilename) + c.Writer.Header().Set("Content-Type", "text/plain; charset=utf-8") + c.Writer.WriteString(string(DecodeClash)) +} +func GetSurge(c *gin.Context) { + var sub models.Subcription + // subname := c.Param("subname") + // subname := node.Base64Decode(SunName) + sub.Name = SunName + err := sub.Find() + if err != nil { + c.Writer.WriteString("找不到这个订阅:" + SunName) + return + } + err = sub.GetSub() + if err != nil { + c.Writer.WriteString("读取错误") + return + } + urls := []string{} + for _, v := range sub.Nodes { + switch { + // 如果包含多条节点 + case strings.Contains(v.Link, ","): + links := strings.Split(v.Link, ",") + urls = append(urls, links...) + continue + //如果是订阅转换 + case strings.Contains(v.Link, "http://") || strings.Contains(v.Link, "https://"): + resp, err := http.Get(v.Link) + if err != nil { + log.Println(err) + return + } + defer resp.Body.Close() + body, _ := io.ReadAll(resp.Body) + nodes := node.Base64Decode(string(body)) + links := strings.Split(nodes, "\n") + urls = append(urls, links...) + // 默认 + default: + urls = append(urls, v.Link) + } + } + + var configs node.SqlConfig + err = json.Unmarshal([]byte(sub.Config), &configs) + if err != nil { + c.Writer.WriteString("配置读取错误") + return + } + // log.Println("surge路径:", configs) + DecodeClash, err := node.EncodeSurge(urls, configs) + if err != nil { + c.Writer.WriteString(err.Error()) + return + } + c.Set("subname", SunName) + filename := fmt.Sprintf("%s.conf", SunName) + encodedFilename := url.QueryEscape(filename) + c.Writer.Header().Set("Content-Disposition", "inline; filename*=utf-8''"+encodedFilename) + c.Writer.Header().Set("Content-Type", "text/plain; charset=utf-8") + host := c.Request.Host + url := c.Request.URL.String() + // 如果包含头部更新信息 + if strings.Contains(DecodeClash, "#!MANAGED-CONFIG") { + c.Writer.WriteString(DecodeClash) + return + } + // 否则就插入头部更新信息 + interval := fmt.Sprintf("#!MANAGED-CONFIG %s interval=86400 strict=false", host+url) + c.Writer.WriteString(string(interval + "\n" + DecodeClash)) +} diff --git a/api/mentu.go b/api/mentu.go new file mode 100644 index 0000000000000000000000000000000000000000..4dbd043d3572fef3063af460878060a2a8c5b3fe --- /dev/null +++ b/api/mentu.go @@ -0,0 +1,116 @@ +package api + +import ( + "github.com/gin-gonic/gin" +) + +type Meta struct { + Title string `json:"title"` + Icon string `json:"icon"` + Hidden bool `json:"hidden"` + Roles []string `json:"roles"` + KeepAlive bool `json:"keepAlive,omitempty"` +} + +type Child struct { + Path string `json:"path"` + Component string `json:"component"` + Name string `json:"name"` + Meta Meta `json:"meta"` +} + +type Menu struct { + Path string `json:"path"` + Component string `json:"component"` + Redirect string `json:"redirect"` + Name string `json:"name"` + Meta Meta `json:"meta"` + Children []Child `json:"children"` +} + +func GetMenus(c *gin.Context) { + menus := []Menu{ + { + Path: "/system", + Component: "Layout", + // Redirect: "/system/user", + Name: "system", + Meta: Meta{ + Title: "system", + Icon: "system", + Hidden: true, + Roles: []string{"ADMIN"}, + }, + Children: []Child{ + { + Path: "user/set", + Component: "system/user/set", + Name: "Userset", + Meta: Meta{ + Title: "userset", + Icon: "role", + Hidden: true, + Roles: []string{"ADMIN"}, + KeepAlive: true, + }, + }, + }, + }, + // 订阅管理 + { + Path: "/subcription", + Component: "Layout", + Redirect: "/subcription/subs", + Name: "subcription", + Meta: Meta{ + Title: "subcription", + Icon: "client", + Hidden: false, + Roles: []string{"ADMIN"}, + }, + Children: []Child{ + { + Path: "subs", + Component: "subcription/subs", + Name: "Subs", + Meta: Meta{ + Title: "sublist", + Icon: "link", + Hidden: false, + Roles: []string{"ADMIN"}, + KeepAlive: true, + }, + }, + { + Path: "nodes", + Component: "subcription/nodes", + Name: "Nodes", + Meta: Meta{ + Title: "nodelist", + Icon: "publish", + Hidden: false, + Roles: []string{"ADMIN"}, + KeepAlive: true, + }, + }, + { + Path: "template", + Component: "subcription/template", + Name: "Template", + Meta: Meta{ + Title: "templatelist", + Icon: "document", + Hidden: false, + Roles: []string{"ADMIN"}, + KeepAlive: true, + }, + }, + }, + }, + } + c.JSON(200, gin.H{ + "code": "00000", + "data": menus, + "msg": "获取成功", + }) +} diff --git a/api/node.go b/api/node.go new file mode 100644 index 0000000000000000000000000000000000000000..b5bdc369e4f377d13ce0278617ce2a37cf09fbd3 --- /dev/null +++ b/api/node.go @@ -0,0 +1,213 @@ +package api + +import ( + "log" + "net/url" + "strconv" + "strings" + "sublink/models" + "sublink/node" + "time" + + "github.com/gin-gonic/gin" +) + +func NodeUpdadte(c *gin.Context) { + var node models.Node + name := c.PostForm("name") + oldname := c.PostForm("oldname") + oldlink := c.PostForm("oldlink") + link := c.PostForm("link") + if name == "" || link == "" { + c.JSON(400, gin.H{ + "msg": "节点名称 or 备注不能为空", + }) + return + } + // 查找旧节点 + node.Name = oldname + node.Link = oldlink + err := node.Find() + if err != nil { + c.JSON(400, gin.H{ + "msg": err.Error(), + }) + return + } + node.Name = name + node.Link = link + err = node.Update() + if err != nil { + c.JSON(400, gin.H{ + "msg": "更新失败", + }) + return + } + c.JSON(200, gin.H{ + "code": "00000", + "msg": "更新成功", + }) +} + +// 获取节点列表 +func NodeGet(c *gin.Context) { + var Node models.Node + nodes, err := Node.List() + if err != nil { + c.JSON(500, gin.H{ + "msg": "node list error", + }) + return + } + c.JSON(200, gin.H{ + "code": "00000", + "data": nodes, + "msg": "node get", + }) +} + +// 添加节点 +func NodeAdd(c *gin.Context) { + var Node models.Node + link := c.PostForm("link") + name := c.PostForm("name") + if link == "" { + c.JSON(400, gin.H{ + "msg": "link 不能为空", + }) + return + } + if !strings.Contains(link, "://") { + c.JSON(400, gin.H{ + "msg": "link 必须包含 ://", + }) + return + } + Node.Name = name + if name == "" { + u, err := url.Parse(link) + if err != nil { + log.Println(err) + return + } + switch { + case u.Scheme == "ss": + ss, err := node.DecodeSSURL(link) + if err != nil { + log.Println(err) + return + } + Node.Name = ss.Name + case u.Scheme == "ssr": + ssr, err := node.DecodeSSRURL(link) + if err != nil { + log.Println(err) + return + } + Node.Name = ssr.Qurey.Remarks + case u.Scheme == "trojan": + trojan, err := node.DecodeTrojanURL(link) + if err != nil { + log.Println(err) + return + } + Node.Name = trojan.Name + case u.Scheme == "vmess": + vmess, err := node.DecodeVMESSURL(link) + if err != nil { + log.Println(err) + return + } + Node.Name = vmess.Ps + case u.Scheme == "vless": + vless, err := node.DecodeVLESSURL(link) + if err != nil { + log.Println(err) + return + } + Node.Name = vless.Name + case u.Scheme == "hy" || u.Scheme == "hysteria": + hy, err := node.DecodeHYURL(link) + if err != nil { + log.Println(err) + return + } + Node.Name = hy.Name + case u.Scheme == "hy2" || u.Scheme == "hysteria2": + hy2, err := node.DecodeHY2URL(link) + if err != nil { + log.Println(err) + return + } + Node.Name = hy2.Name + case u.Scheme == "tuic": + tuic, err := node.DecodeTuicURL(link) + if err != nil { + log.Println(err) + return + } + Node.Name = tuic.Name + } + } + Node.Link = link + Node.CreateDate = time.Now().Format("2006-01-02 15:04:05") + err := Node.Find() + // 如果找到记录说明重复 + if err == nil { + Node.Name = name + " " + time.Now().Format("2006-01-02 15:04:05") + } + err = Node.Add() + if err != nil { + c.JSON(400, gin.H{ + "msg": "添加失败检查一下是否节点重复", + }) + return + } + c.JSON(200, gin.H{ + "code": "00000", + "msg": "添加成功", + }) +} + +// 删除节点 +func NodeDel(c *gin.Context) { + var Node models.Node + id := c.Query("id") + if id == "" { + c.JSON(400, gin.H{ + "msg": "id 不能为空", + }) + return + } + x, _ := strconv.Atoi(id) + Node.ID = x + err := Node.Del() + if err != nil { + c.JSON(400, gin.H{ + "msg": "删除失败", + }) + return + } + c.JSON(200, gin.H{ + "code": "00000", + "msg": "删除成功", + }) +} + +// 节点统计 +func NodesTotal(c *gin.Context) { + var Node models.Node + nodes, err := Node.List() + count := len(nodes) + if err != nil { + c.JSON(500, gin.H{ + "msg": "获取不到节点统计", + }) + return + } + c.JSON(200, gin.H{ + "code": "00000", + "data": count, + "msg": "取得节点统计", + }) +} diff --git a/api/sub.go b/api/sub.go new file mode 100644 index 0000000000000000000000000000000000000000..27b9353e4d02a60f7615be8e8f295ebb2f9719d3 --- /dev/null +++ b/api/sub.go @@ -0,0 +1,181 @@ +package api + +import ( + "strconv" + "strings" + "sublink/models" + "time" + + "github.com/gin-gonic/gin" +) + +func SubTotal(c *gin.Context) { + var Sub models.Subcription + subs, err := Sub.List() + count := len(subs) + if err != nil { + c.JSON(500, gin.H{ + "msg": "取得订阅总数失败", + }) + return + } + c.JSON(200, gin.H{ + "code": "00000", + "data": count, + "msg": "取得订阅总数", + }) +} + +// 获取订阅列表 +func SubGet(c *gin.Context) { + var Sub models.Subcription + Subs, err := Sub.List() + if err != nil { + c.JSON(500, gin.H{ + "msg": "node list error", + }) + return + } + c.JSON(200, gin.H{ + "code": "00000", + "data": Subs, + "msg": "node get", + }) +} + +// 添加节点 +func SubAdd(c *gin.Context) { + var sub models.Subcription + name := c.PostForm("name") + config := c.PostForm("config") + nodes := c.PostForm("nodes") + if name == "" || nodes == "" { + c.JSON(400, gin.H{ + "msg": "订阅名称 or 节点不能为空", + }) + return + } + sub.Nodes = []models.Node{} + for _, v := range strings.Split(nodes, ",") { + var node models.Node + node.Name = v + err := node.Find() + if err != nil { + continue + } + sub.Nodes = append(sub.Nodes, node) + } + + sub.Config = config + sub.Name = name + sub.CreateDate = time.Now().Format("2006-01-02 15:04:05") + + err := sub.Add() + if err != nil { + c.JSON(400, gin.H{ + "msg": "添加失败", + }) + return + } + err = sub.AddNode() //创建多对多关系 + if err != nil { + c.JSON(400, gin.H{ + "msg": err.Error(), + }) + return + } + c.JSON(200, gin.H{ + "code": "00000", + "msg": "添加成功", + }) +} + +// 更新节点 +func SubUpdate(c *gin.Context) { + var sub models.Subcription + name := c.PostForm("name") + oldname := c.PostForm("oldname") + config := c.PostForm("config") + nodes := c.PostForm("nodes") + if name == "" || nodes == "" { + c.JSON(400, gin.H{ + "msg": "订阅名称 or 节点不能为空", + }) + return + } + // 查找旧节点 + sub.Name = oldname + err := sub.Find() + if err != nil { + c.JSON(400, gin.H{ + "msg": err.Error(), + }) + return + } + // 更新节点 + sub.Config = config + sub.Name = name + sub.CreateDate = time.Now().Format("2006-01-02 15:04:05") + sub.Nodes = []models.Node{} + for _, v := range strings.Split(nodes, ",") { + var node models.Node + node.Name = v + err := node.Find() + if err != nil { + continue + } + sub.Nodes = append(sub.Nodes, node) + } + + err = sub.Update() + if err != nil { + c.JSON(400, gin.H{ + "msg": "更新失败", + }) + return + } + + err = sub.UpdateNodes() //更新多对多关系 + if err != nil { + c.JSON(400, gin.H{ + "msg": err.Error(), + }) + return + } + c.JSON(200, gin.H{ + "code": "00000", + "msg": "更新成功", + }) +} + +// 删除节点 +func SubDel(c *gin.Context) { + var sub models.Subcription + id := c.Query("id") + if id == "" { + c.JSON(400, gin.H{ + "msg": "id 不能为空", + }) + return + } + x, _ := strconv.Atoi(id) + sub.ID = x + err := sub.Find() + if err != nil { + c.JSON(400, gin.H{ + "msg": "查找失败", + }) + return + } + err = sub.Del() + if err != nil { + c.JSON(400, gin.H{ + "msg": "删除失败", + }) + return + } + c.JSON(200, gin.H{ + "code": "00000", + "msg": "删除成功", + }) +} diff --git a/api/template.go b/api/template.go new file mode 100644 index 0000000000000000000000000000000000000000..346ffc6d0dbb1a993ef2287fd66edd744fc584fd --- /dev/null +++ b/api/template.go @@ -0,0 +1,136 @@ +package api + +import ( + "log" + "os" + + "github.com/gin-gonic/gin" +) + +type Temp struct { + File string `json:"file"` + Text string `json:"text"` + CreateDate string `json:"create_date"` +} + +func GetTempS(c *gin.Context) { + files, err := os.ReadDir("./template") + if err != nil { + c.JSON(400, gin.H{ + "msg": err.Error(), + }) + return + } + var temps []Temp + for _, file := range files { + info, _ := file.Info() + time := info.ModTime().Format("2006-01-02 15:04:05") + text, _ := os.ReadFile("./template/" + file.Name()) + temp := Temp{ + File: file.Name(), + Text: string(text), + CreateDate: time, + } + temps = append(temps, temp) + } + if len(temps) == 0 { + c.JSON(200, gin.H{ + "code": "00000", + "data": []string{}, + "msg": "ok", + }) + return + } + c.JSON(200, gin.H{ + "code": "00000", + "data": temps, + "msg": "ok", + }) +} +func UpdateTemp(c *gin.Context) { + filename := c.PostForm("filename") + oldname := c.PostForm("oldname") + text := c.PostForm("text") + err := os.Rename("./template/"+oldname, "./template/"+filename) + if err != nil { + log.Println(err) + c.JSON(400, gin.H{ + "msg": "改名失败", + }) + return + } + err = os.WriteFile("./template/"+filename, []byte(text), 0666) + if err != nil { + log.Println(err) + c.JSON(400, gin.H{ + "msg": "修改失败", + }) + return + } + c.JSON(200, gin.H{ + "code": "00000", + "msg": "修改成功", + }) + +} +func AddTemp(c *gin.Context) { + filename := c.PostForm("filename") + text := c.PostForm("text") + if filename == "" || text == "" { + c.JSON(400, gin.H{ + "msg": "文件名或者类型或内容不能为空", + }) + return + } + // 检查文件是否存在 + _, err := os.ReadFile("./template/" + filename) + if err == nil { + log.Println(err) + c.JSON(400, gin.H{ + "msg": "文件已存在", + }) + return + } + // 检查目录是否创建 + _, err = os.Stat("./template/") + if err != nil { + if os.IsNotExist(err) { + os.Mkdir("./template/", os.ModePerm) + } + } + err = os.WriteFile("./template/"+filename, []byte(text), 0666) + if err != nil { + log.Println(err) + c.JSON(400, gin.H{ + "msg": "上传失败", + }) + return + } + c.JSON(200, gin.H{ + "code": "00000", + "msg": "上传成功", + }) +} +func DelTemp(c *gin.Context) { + filename := c.PostForm("filename") + _, err := os.ReadFile("./template/" + filename) + if err != nil { + log.Println(err) + c.JSON(400, gin.H{ + "msg": "文件不存在", + }) + return + } + err = os.Remove("./template/" + filename) + if err != nil { + log.Println(err) + c.JSON(400, gin.H{ + "msg": "删除失败", + }) + return + } + c.JSON(200, gin.H{ + "code": "00000", + "msg": "删除成功", + }) +} diff --git a/api/user.go b/api/user.go new file mode 100644 index 0000000000000000000000000000000000000000..0991c945e9848c3cc6cf9293cbe1adbf4e44cf05 --- /dev/null +++ b/api/user.go @@ -0,0 +1,129 @@ +package api + +import ( + "log" + "sublink/models" + + "github.com/gin-gonic/gin" +) + +type User struct { + ID int + Username string + Nickname string + Avatar string + Mobile string + Email string +} + +// 新增用户 +func UserAdd(c *gin.Context) { + user := &models.User{ + Username: "test", + Password: "test", + } + err := user.Create() + if err != nil { + log.Println("创建用户失败") + } + c.String(200, "创建用户成功") +} + +// 获取用户信息 +func UserMe(c *gin.Context) { + // 获取jwt中的username + // 返回用户信息 + username, _ := c.Get("username") + user := &models.User{Username: username.(string)} + err := user.Find() + if err != nil { + c.JSON(400, gin.H{ + "code": "00000", + "msg": err, + }) + return + } + c.JSON(200, gin.H{ + "code": "00000", + "data": gin.H{ + "avatar": "static/avatar.gif", + "nickname": user.Nickname, + "userId": user.ID, + "username": user.Username, + "roles": []string{"ADMIN"}, + // "perms": []string{ + // "sys:menu:delete", "sys:dept:edit", "sys:dict_type:add", + // "sys:dict:edit", "sys:dict:delete", "sys:dict_type:edit", + // "sys:menu:add", "sys:user:add", "sys:role:edit", + // "sys:dept:delete", "sys:user:password_reset", "sys:user:edit", + // "sys:user:delete", "sys:dept:add", "sys:role:delete", + // "sys:dict_type:delete", "sys:menu:edit", "sys:dict:add", + // "sys:role:add", + // }, + }, + "msg": "获取用户信息成功", + }) +} + +// 获取所有用户 +func UserPages(c *gin.Context) { + // 获取jwt中的username + // 返回用户信息 + username, _ := c.Get("username") + user := &models.User{Username: username.(string)} + users, err := user.All() + if err != nil { + log.Println("获取用户信息失败") + } + list := []*User{} + for i := range users { + list = append(list, &User{ + ID: users[i].ID, + Username: users[i].Username, + Nickname: users[i].Nickname, + Avatar: "static/avatar.gif", + }) + } + c.JSON(200, gin.H{ + "code": "00000", + "data": gin.H{ + "list": list, + }, + "msg": "获取用户信息成功", + }) +} + +// 更新用户信息 + +func UserSet(c *gin.Context) { + NewUsername := c.Param("username") + NewPassword := c.Param("password") + log.Println(NewUsername, NewPassword) + if NewUsername == "" || NewPassword == "" { + c.JSON(400, gin.H{ + "code": "00001", + "msg": "用户名或密码不能为空", + }) + return + } + username, _ := c.Get("username") + user := &models.User{Username: username.(string)} + err := user.Set(&models.User{ + Username: NewUsername, + Password: NewPassword, + }) + if err != nil { + log.Println(err) + c.JSON(400, gin.H{ + "code": "00000", + "msg": err, + }) + return + } + // 修改成功 + c.JSON(200, gin.H{ + "code": "00000", + "msg": "修改成功", + }) + +} diff --git a/build.sh b/build.sh new file mode 100644 index 0000000000000000000000000000000000000000..88934af14863929f09198b6060d71338f4bf1633 --- /dev/null +++ b/build.sh @@ -0,0 +1,2 @@ +GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o sublink_amd64 main.go +GOOS=linux GOARCH=arm64 go build -ldflags="-w -s" -o sublink_arm64 main.go \ No newline at end of file diff --git a/demo.sh b/demo.sh new file mode 100644 index 0000000000000000000000000000000000000000..985ccbb2b3ea44e4da16235a3d667f47ebc88e74 --- /dev/null +++ b/demo.sh @@ -0,0 +1,4 @@ +cd G:\sublinkX\sublinkX +red=$(go run main.go --version) +echo "版本号:$red" +read -p "回车" \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000000000000000000000000000000000000..ca6f7af7d96288689337f28fb5f283e3e6e0d2ee --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,15 @@ +version: '3.8' # 使用 Docker Compose 文件的版本 + +services: + sublink: + build: + context: . # 指定 Dockerfile 的上下文(当前目录) + dockerfile: Dockerfile # 指定 Dockerfile 的名称,如果是默认的 "Dockerfile",可以省略此行 + ports: + - "8000:8000" # 将容器的 8000 端口映射到主机的 8000 端口 + volumes: + - .:/app # 将当前目录挂载到容器的 /app 目录,便于开发时实时更新 + environment: + - ENV_VAR_NAME=value # 可选,您可以在此处设置其他环境变量 + - TZ=Asia/Shanghai # 设置时区为 Asia/Shanghai + restart: unless-stopped # 设置容器重启策略 \ No newline at end of file diff --git a/go.mod b/go.mod new file mode 100644 index 0000000000000000000000000000000000000000..a7c765a50cb4a7444c8182d6300a64c206178b44 --- /dev/null +++ b/go.mod @@ -0,0 +1,51 @@ +module sublink + +go 1.22.0 + +require ( + github.com/bytedance/sonic v1.11.3 // indirect + github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect + github.com/chenzhuoyu/iasm v0.9.1 // indirect + github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect + github.com/dustin/go-humanize v1.0.1 // indirect + github.com/gabriel-vasile/mimetype v1.4.3 // indirect + github.com/gin-contrib/sse v0.1.0 // indirect + github.com/gin-gonic/gin v1.9.1 // indirect + github.com/glebarez/go-sqlite v1.22.0 // indirect + github.com/glebarez/sqlite v1.11.0 // indirect + github.com/go-playground/locales v0.14.1 // indirect + github.com/go-playground/universal-translator v0.18.1 // indirect + github.com/go-playground/validator/v10 v10.19.0 // indirect + github.com/goccy/go-json v0.10.2 // indirect + github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect + github.com/google/uuid v1.6.0 // indirect + github.com/jinzhu/inflection v1.0.0 // indirect + github.com/jinzhu/now v1.1.5 // indirect + github.com/json-iterator/go v1.1.12 // indirect + github.com/klauspost/cpuid/v2 v2.2.7 // indirect + github.com/leodido/go-urn v1.4.0 // indirect + github.com/mattn/go-isatty v0.0.20 // indirect + github.com/mattn/go-sqlite3 v1.14.22 // indirect + github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect + github.com/modern-go/reflect2 v1.0.2 // indirect + github.com/mojocn/base64Captcha v1.3.6 // indirect + github.com/ncruces/go-strftime v0.1.9 // indirect + github.com/pelletier/go-toml/v2 v2.2.0 // indirect + github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect + github.com/twitchyliquid64/golang-asm v0.15.1 // indirect + github.com/ugorji/go/codec v1.2.12 // indirect + golang.org/x/arch v0.7.0 // indirect + golang.org/x/crypto v0.21.0 // indirect + golang.org/x/image v0.15.0 // indirect + golang.org/x/net v0.22.0 // indirect + golang.org/x/sys v0.19.0 // indirect + golang.org/x/text v0.14.0 // indirect + google.golang.org/protobuf v1.33.0 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect + gorm.io/driver/sqlite v1.5.5 // indirect + gorm.io/gorm v1.25.9 // indirect + modernc.org/libc v1.49.3 // indirect + modernc.org/mathutil v1.6.0 // indirect + modernc.org/memory v1.8.0 // indirect + modernc.org/sqlite v1.29.6 // indirect +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000000000000000000000000000000000000..cba2f0e38ca4f8ab0e0635d37330280bd5ac5edb --- /dev/null +++ b/go.sum @@ -0,0 +1,189 @@ +github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM= +github.com/bytedance/sonic v1.9.1 h1:6iJ6NqdoxCDr6mbY8h18oSO+cShGSMRGCEo7F2h0x8s= +github.com/bytedance/sonic v1.9.1/go.mod h1:i736AoUSYt75HyZLoJW9ERYxcy6eaN6h4BZXU064P/U= +github.com/bytedance/sonic v1.10.0-rc/go.mod h1:ElCzW+ufi8qKqNW0FY314xriJhyJhuoJ3gFZdAHF7NM= +github.com/bytedance/sonic v1.11.3 h1:jRN+yEjakWh8aK5FzrciUHG8OFXK+4/KrAX/ysEtHAA= +github.com/bytedance/sonic v1.11.3/go.mod h1:iZcSUejdk5aukTND/Eu/ivjQuEL0Cu9/rf50Hi0u/g4= +github.com/chenzhuoyu/base64x v0.0.0-20211019084208-fb5309c8db06/go.mod h1:DH46F32mSOjUmXrMHnKwZdA8wcEefY7UVqBKYGjpdQY= +github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 h1:qSGYFH7+jGhDF8vLC+iwCD4WpbV1EBDSzWkJODFLams= +github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311/go.mod h1:b583jCggY9gE99b6G5LEC39OIiVsWj+R97kbl5odCEk= +github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d h1:77cEq6EriyTZ0g/qfRdp61a3Uu/AWrgIq2s0ClJV1g0= +github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpVsBuRksnlj1mLy4AWzRNQYxauNi62uWcE3to6eA= +github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog= +github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0= +github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM= +github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= +github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= +github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= +github.com/gabriel-vasile/mimetype v1.4.2 h1:w5qFW6JKBz9Y393Y4q372O9A7cUSequkh1Q7OhCmWKU= +github.com/gabriel-vasile/mimetype v1.4.2/go.mod h1:zApsH/mKG4w07erKIaJPFiX0Tsq9BFQgN3qGY5GnNgA= +github.com/gabriel-vasile/mimetype v1.4.3 h1:in2uUcidCuFcDKtdcBxlR0rJ1+fsokWf+uqxgUFjbI0= +github.com/gabriel-vasile/mimetype v1.4.3/go.mod h1:d8uq/6HKRL6CGdk+aubisF/M5GcPfT7nKyLpA0lbSSk= +github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= +github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= +github.com/gin-gonic/gin v1.9.1 h1:4idEAncQnU5cB7BeOkPtxjfCSye0AAm1R0RVIqJ+Jmg= +github.com/gin-gonic/gin v1.9.1/go.mod h1:hPrL7YrpYKXt5YId3A/Tnip5kqbEAP+KLuI3SUcPTeU= +github.com/glebarez/go-sqlite v1.22.0 h1:uAcMJhaA6r3LHMTFgP0SifzgXg46yJkgxqyuyec+ruQ= +github.com/glebarez/go-sqlite v1.22.0/go.mod h1:PlBIdHe0+aUEFn+r2/uthrWq4FxbzugL0L8Li6yQJbc= +github.com/glebarez/sqlite v1.11.0 h1:wSG0irqzP6VurnMEpFGer5Li19RpIRi2qvQz++w0GMw= +github.com/glebarez/sqlite v1.11.0/go.mod h1:h8/o8j5wiAsqSPoWELDUdJXhjAhsVliSn7bWZjOhrgQ= +github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA= +github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY= +github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY= +github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY= +github.com/go-playground/validator/v10 v10.14.0 h1:vgvQWe3XCz3gIeFDm/HnTIbj6UGmg/+t63MyGU2n5js= +github.com/go-playground/validator/v10 v10.14.0/go.mod h1:9iXMNT7sEkjXb0I+enO7QXmzG6QCsPWY4zveKFVRSyU= +github.com/go-playground/validator/v10 v10.19.0 h1:ol+5Fu+cSq9JD7SoSqe04GMI92cbn0+wvQ3bZ8b/AU4= +github.com/go-playground/validator/v10 v10.19.0/go.mod h1:dbuPbCMFw/DrkbEynArYaCwl3amGuJotoKCe95atGMM= +github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU= +github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= +github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 h1:DACJavvAHhabrF08vX0COfcOBJRhZ8lUbR+ZWIs0Y5g= +github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E= +github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= +github.com/jinzhu/now v1.1.5 h1:/o9tlHleP7gOFmsnYNz3RGnqzefHA47wQpKrrdTIwXQ= +github.com/jinzhu/now v1.1.5/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= +github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= +github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= +github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= +github.com/klauspost/cpuid/v2 v2.2.4 h1:acbojRNwl3o09bUq+yDCtZFc1aiwaAAxtcn8YkZXnvk= +github.com/klauspost/cpuid/v2 v2.2.4/go.mod h1:RVVoqg1df56z8g3pUjL/3lE5UfnlrJX8tyFgg4nqhuY= +github.com/klauspost/cpuid/v2 v2.2.7 h1:ZWSB3igEs+d0qvnxR/ZBzXVmxkgt8DdzP6m9pfuVLDM= +github.com/klauspost/cpuid/v2 v2.2.7/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= +github.com/knz/go-libedit v1.10.1/go.mod h1:MZTVkCWyz0oBc7JOWP3wNAzd002ZbM/5hgShxwh4x8M= +github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q= +github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4= +github.com/leodido/go-urn v1.4.0 h1:WT9HwE9SGECu3lg4d/dIA+jxlljEa1/ffXKmRjqdmIQ= +github.com/leodido/go-urn v1.4.0/go.mod h1:bvxc+MVxLKB4z00jd1z+Dvzr47oO32F/QSNjSBOlFxI= +github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= +github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= +github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-sqlite3 v1.14.22 h1:2gZY6PC6kBnID23Tichd1K+Z0oS6nE/XwU+Vz/5o4kU= +github.com/mattn/go-sqlite3 v1.14.22/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= +github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= +github.com/mojocn/base64Captcha v1.3.6 h1:gZEKu1nsKpttuIAQgWHO+4Mhhls8cAKyiV2Ew03H+Tw= +github.com/mojocn/base64Captcha v1.3.6/go.mod h1:i5CtHvm+oMbj1UzEPXaA8IH/xHFZ3DGY3Wh3dBpZ28E= +github.com/ncruces/go-strftime v0.1.9 h1:bY0MQC28UADQmHmaF5dgpLmImcShSi2kHU9XLdhx/f4= +github.com/ncruces/go-strftime v0.1.9/go.mod h1:Fwc5htZGVVkseilnfgOVb9mKy6w1naJmn9CehxcKcls= +github.com/pelletier/go-toml/v2 v2.0.8 h1:0ctb6s9mE31h0/lhu+J6OPmVeDxJn+kYnJc2jZR9tGQ= +github.com/pelletier/go-toml/v2 v2.0.8/go.mod h1:vuYfssBdrU2XDZ9bYydBu6t+6a6PYNcZljzZR9VXg+4= +github.com/pelletier/go-toml/v2 v2.2.0 h1:QLgLl2yMN7N+ruc31VynXs1vhMZa7CeHHejIeBAsoHo= +github.com/pelletier/go-toml/v2 v2.2.0/go.mod h1:1t835xjRzz80PqgE6HHgN2JOsmgYu/h4qDAS4n929Rs= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94icq4NjY3clb7Lk8O1qJ8BdBEF8z0ibU0rE= +github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= +github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI= +github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08= +github.com/ugorji/go/codec v1.2.11 h1:BMaWp1Bb6fHwEtbplGBGJ498wD+LKlNSl25MjdZY4dU= +github.com/ugorji/go/codec v1.2.11/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg= +github.com/ugorji/go/codec v1.2.12 h1:9LC83zGrHhuUA9l16C9AHXAqEV/2wBQ4nkvumAE65EE= +github.com/ugorji/go/codec v1.2.12/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg= +github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= +golang.org/x/arch v0.3.0 h1:02VY4/ZcO/gBOH6PUaoiptASxtXU10jazRCP865E97k= +golang.org/x/arch v0.3.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= +golang.org/x/arch v0.7.0 h1:pskyeJh/3AmoQ8CPE95vxHLqp1G1GfGNXTmcl9NEKTc= +golang.org/x/arch v0.7.0/go.mod h1:FEVrYAQjsQXMVJ1nsMoVVXPZg6p2JE2mx8psSWTDQys= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g= +golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= +golang.org/x/crypto v0.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA= +golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs= +golang.org/x/image v0.13.0/go.mod h1:6mmbMOeV28HuMTgA6OSRkdXKYw/t5W9Uwn2Yv1r3Yxk= +golang.org/x/image v0.15.0 h1:kOELfmgrmJlw4Cdb7g/QGuB3CvDrXbqEIww/pNtNBm8= +golang.org/x/image v0.15.0/go.mod h1:HUYqC05R2ZcZ3ejNQsIHQDQiwWM4JBqmm6MKANTp4LE= +golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= +golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= +golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M= +golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= +golang.org/x/net v0.22.0 h1:9sGLhx7iRIHEiX0oAJ3MRZMUCElJgy7Br1nO+AMN3Tc= +golang.org/x/net v0.22.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220704084225-05e143d24a9e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU= +golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= +golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o= +golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE= +golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= +golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng= +google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= +google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gorm.io/driver/sqlite v1.5.5 h1:7MDMtUZhV065SilG62E0MquljeArQZNfJnjd9i9gx3E= +gorm.io/driver/sqlite v1.5.5/go.mod h1:6NgQ7sQWAIFsPrJJl1lSNSu2TABh0ZZ/zm5fosATavE= +gorm.io/gorm v1.25.9 h1:wct0gxZIELDk8+ZqF/MVnHLkA1rvYlBWUMv2EdsK1g8= +gorm.io/gorm v1.25.9/go.mod h1:hbnx/Oo0ChWMn1BIhpy1oYozzpM15i4YPuHDmfYtwg8= +modernc.org/libc v1.49.3 h1:j2MRCRdwJI2ls/sGbeSk0t2bypOG/uvPZUsGQFDulqg= +modernc.org/libc v1.49.3/go.mod h1:yMZuGkn7pXbKfoT/M35gFJOAEdSKdxL0q64sF7KqCDo= +modernc.org/mathutil v1.6.0 h1:fRe9+AmYlaej+64JsEEhoWuAYBkOtQiMEU7n/XgfYi4= +modernc.org/mathutil v1.6.0/go.mod h1:Ui5Q9q1TR2gFm0AQRqQUaBWFLAhQpCwNcuhBOSedWPo= +modernc.org/memory v1.8.0 h1:IqGTL6eFMaDZZhEWwcREgeMXYwmW83LYW8cROZYkg+E= +modernc.org/memory v1.8.0/go.mod h1:XPZ936zp5OMKGWPqbD3JShgd/ZoQ7899TUuQqxY+peU= +modernc.org/sqlite v1.29.6 h1:0lOXGrycJPptfHDuohfYgNqoe4hu+gYuN/pKgY5XjS4= +modernc.org/sqlite v1.29.6/go.mod h1:S02dvcmm7TnTRvGhv8IGYyLnIt7AS2KPaB1F/71p75U= +nullprogram.com/x/optparse v1.0.0/go.mod h1:KdyPE+Igbe0jQUrVfMqDMeJQIJZEuyV7pjYmp6pbG50= +rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= diff --git a/install.sh b/install.sh new file mode 100644 index 0000000000000000000000000000000000000000..dc51e27bb493ebbd291334fdeba2f26e4cbaa43f --- /dev/null +++ b/install.sh @@ -0,0 +1,64 @@ +#!/bin/bash +# 检查用户是否为root +if [ "$(id -u)" != "0" ]; then + echo -e "${RED}该脚本必须以root身份运行。${NC}" + exit 1 +fi + +# 创建一个程序目录 +INSTALL_DIR="/usr/local/bin/sublink" + +if [ ! -d "$INSTALL_DIR" ]; then + mkdir -p "$INSTALL_DIR" +fi + +# 获取最新的发行版标签 +latest_release=$(curl --silent "https://api.github.com/repos/gooaclok819/sublinkX/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/') +echo "最新版本: $latest_release" + +# 检测机器类型 +machine_type=$(uname -m) + +if [ "$machine_type" = "x86_64" ]; then + file_name="sublink_amd64" +elif [ "$machine_type" = "aarch64" ]; then + file_name="sublink_arm64" +else + echo "不支持的机器类型: $machine_type" + exit 1 +fi + +# 下载文件 +cd ~ +curl -LO "https://github.com/gooaclok819/sublinkX/releases/download/$latest_release/$file_name" + +# 设置文件为可执行 +chmod +x $file_name + +# 移动文件到指定目录 +mv $file_name "$INSTALL_DIR/sublink" + +# 创建systemctl服务 +echo "[Unit] +Description=Sublink Service + +[Service] +ExecStart=$INSTALL_DIR/sublink +WorkingDirectory=$INSTALL_DIR +[Install] +WantedBy=multi-user.target" | tee /etc/systemd/system/sublink.service + +# 重新加载systemd守护进程 +systemctl daemon-reload + +# 启动并启用服务 +systemctl start sublink +systemctl enable sublink +echo "服务已启动并已设置为开机启动" +echo "默认账号admin密码123456 默认端口8000" +echo "安装完成已经启动输入sublink可以呼出菜单" + + +# 下载menu.sh并设置权限 +curl -o /usr/bin/sublink -H "Cache-Control: no-cache" -H "Pragma: no-cache" https://raw.githubusercontent.com/gooaclok819/sublinkX/main/menu.sh +chmod 755 "/usr/bin/sublink" diff --git a/main.go b/main.go new file mode 100644 index 0000000000000000000000000000000000000000..bc38ad15efe0aefe48ed9e6125d009773bb74ac6 --- /dev/null +++ b/main.go @@ -0,0 +1,150 @@ +package main + +import ( + "embed" + "flag" + "fmt" + "io/fs" + "log" + "net/http" + "os" + "sublink/middlewares" + "sublink/models" + "sublink/routers" + "sublink/settings" + "sublink/utils" + + "github.com/gin-gonic/gin" +) + +//go:embed static/js/* +//go:embed static/css/* +//go:embed static/img/* +//go:embed static/* +var embeddedFiles embed.FS + +//go:embed template +var Template embed.FS + +var version string + +func Templateinit() { + // 设置template路径 + // 检查目录是否创建 + subFS, err := fs.Sub(Template, "template") + if err != nil { + log.Println(err) + return // 如果出错,直接返回 + } + entries, err := fs.ReadDir(subFS, ".") + if err != nil { + log.Println(err) + return // 如果出错,直接返回 + } + // 创建template目录 + _, err = os.Stat("./template") + if os.IsNotExist(err) { + err = os.Mkdir("./template", 0666) + if err != nil { + log.Println(err) + return + } + } + // 写入默认模板 + for _, entry := range entries { + _, err := os.Stat("./template/" + entry.Name()) + //如果文件不存在则写入默认模板 + if os.IsNotExist(err) { + data, err := fs.ReadFile(subFS, entry.Name()) + if err != nil { + log.Println(err) + continue + } + err = os.WriteFile("./template/"+entry.Name(), data, 0666) + if err != nil { + log.Println(err) + } + } + } +} + +func main() { + var port int + // 获取版本号 + var Isversion bool + version = "1.8" + flag.BoolVar(&Isversion, "version", false, "显示版本号") + flag.Parse() + if Isversion { + fmt.Println(version) + return + } + // 初始化数据库 + models.InitSqlite() + // 获取命令行参数 + args := os.Args + // 如果长度小于2则没有接收到任何参数 + if len(args) < 2 { + port = 8000 + Run(port) + return + } + // 命令行参数选择 + settingCmd := flag.NewFlagSet("setting", flag.ExitOnError) + var username, password string + settingCmd.StringVar(&username, "username", "", "设置账号") + settingCmd.StringVar(&password, "password", "", "设置密码") + settingCmd.IntVar(&port, "port", 8000, "修改端口") + switch args[1] { + // 解析setting命令标志 + case "setting": + settingCmd.Parse(args[2:]) + fmt.Println(username, password) + settings.ResetUser(username, password) + return + case "run": + settingCmd.Parse(args[2:]) + Run(port) + default: + return + + } +} + +func Run(port int) { + // 初始化gin框架 + r := gin.Default() + // 初始化日志配置 + utils.Loginit() + // 初始化模板 + Templateinit() + // 安装中间件 + r.Use(middlewares.AuthorToken) // jwt验证token + // 设置静态资源路径 + staticFiles, err := fs.Sub(embeddedFiles, "static") + if err != nil { + log.Println(err) + } + r.StaticFS("/static", http.FS(staticFiles)) + // 设置模板路径 + r.GET("/", func(c *gin.Context) { + data, err := fs.ReadFile(staticFiles, "index.html") + if err != nil { + c.Error(err) + return + + } + c.Data(200, "text/html", data) + }) + // 注册路由 + routers.User(r) + routers.Mentus(r) + routers.Subcription(r) + routers.Nodes(r) + routers.Clients(r) + routers.Total(r) + routers.Templates(r) + routers.Version(r, version) + // 启动服务 + r.Run(fmt.Sprintf("0.0.0.0:%d", port)) +} diff --git a/menu.sh b/menu.sh new file mode 100644 index 0000000000000000000000000000000000000000..00c5db042b46e3107842ee1b2cbf3c3d61513b5f --- /dev/null +++ b/menu.sh @@ -0,0 +1,166 @@ +#!/bin/bash +function Up { + # 获取最新的发行版标签 + latest_release=$(curl --silent "https://api.github.com/repos/gooaclok819/sublinkX/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/') + echo "最新版本: $latest_release" + # 检测机器类型 + machine_type=$(uname -m) + + if [ "$machine_type" = "x86_64" ]; then + file_name="sublink_amd64" + elif [ "$machine_type" = "aarch64" ]; then + file_name="sublink_arm64" + else + echo "不支持的机器类型: $machine_type" + exit 1 + fi + + # 下载文件 + curl -LO "https://github.com/gooaclok819/sublinkX/releases/download/$latest_release/$file_name" + + # 设置文件为可执行 + chmod +x $file_name + + # 移动文件到指定目录 + mv $file_name "$INSTALL_DIR/sublink" + echo "更新完成" + +} +function Select { + # 获取最新的发行版标签 + latest_release=$(curl --silent "https://api.github.com/repos/gooaclok819/sublinkX/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/') + # 获取服务状态 + cd /usr/local/bin/sublink # 进入sublink目录 + status=$(systemctl is-active sublink) + version=$(./sublink --version) + echo "最新版本:$latest_release" + echo "当前版本:$version" + # 判断服务状态并打印 + if [ "$status" = "active" ]; then + echo "当前运行状态: 已运行" + else + echo "当前运行状态: 未运行" + fi + echo "1. 启动服务" + echo "2. 停止服务" + echo "3. 卸载安装" + echo "4. 查看服务状态" + echo "5. 查看运行目录" + echo "6. 修改端口" + echo "7. 更新" + echo "8. 重置账号密码" + echo "0. 退出" + echo -n "请选择一个选项: " + read option + + case $option in + 1) + systemctl start sublink + systemctl daemon-reload + ;; + 2) + systemctl stop sublink + systemctl daemon-reload + ;; + 3) + # 停止服务之前检查服务是否存在 + if systemctl is-active --quiet sublink; then + systemctl stop sublink + fi + if systemctl is-enabled --quiet sublink; then + systemctl disable sublink + fi + # 删除服务文件 + read -p "是否删除systemd服务文件(包含端口设置)(y/n): " isDelSystemd + if [ "$isDelSystemd" = "y" ]; then + sudo rm /etc/systemd/system/sublink.service + fi + # 删除相关文件和目录 + sudo rm -r /usr/local/bin/sublink/sublink + sudo rm -r /usr/bin/sublink + read -p "是否删除模板文件和数据库(y/n): " isDelete + if [ "$isDelete" = "y" ]; then + sudo rm -r /usr/local/bin/sublink/db + sudo rm -r /usr/local/bin/sublink/template + sudo rm -r /usr/local/bin/sublink/logs + fi + echo "卸载完成" + ;; + 4) + systemctl status sublink + ;; + 5) + echo "运行目录: /usr/local/bin/sublink" + echo "需要备份的目录为db,template目录为模版文件可备份可不备份" + cd /usr/local/bin/sublink + ;; + 6) + SERVICE_FILE="/etc/systemd/system/sublink.service" + read -p "请输入新的端口号: " Port + echo "新的端口号: $Port" + PARAMETER="run --port $Port" + # 检查服务文件是否存在 + if [ ! -f "$SERVICE_FILE" ]; then + echo "服务文件不存在: $SERVICE_FILE" + exit 1 + fi + + # 检查 ExecStart 是否已经包含该参数 + if grep -q "run --port" "$SERVICE_FILE"; then + echo "参数已存在,正在替换..." + # 使用 sed 替换 ExecStart 行中的 -port 参数 + sudo sed -i "s/-port [0-9]\+/-port $Port/" "$SERVICE_FILE" + else + # 如果没有 -port 参数,添加新参数 + # 使用 sed 替换 ExecStart 行,添加启动参数 + sudo sed -i "/^ExecStart=/ s|$| $PARAMETER|" "$SERVICE_FILE" + echo "参数已添加到 ExecStart 行: $PARAMETER" + fi + + # 重新加载 systemd 守护进程 + sudo systemctl daemon-reload + # 重启 sublink 服务 + sudo systemctl restart sublink + + echo "服务已重启。" + + ;; + 7) + # 停止服务之前检查服务是否存在 + if systemctl is-active --quiet sublink; then + systemctl stop sublink + fi + # 检查是否为最新版本 + if [[ $version = $latest_release ]]; then + echo "当前已经是最新版本" + else + Up + fi + # 更新菜单 + sudo rm /usr/bin/sublink + curl -o /usr/bin/sublink -H "Cache-Control: no-cache" -H "Pragma: no-cache" https://raw.githubusercontent.com/gooaclok819/sublinkX/main/menu.sh + chmod 755 "/usr/bin/sublink" + ;; + 8) + read -p "请输入新的账号: " User + read -p "请输入新的密码: " Password + # 运行二进制文件并传递启动参数,放在后台运行 + cd /usr/local/bin/sublink + ./sublink setting --username "$User" --password "$Password" & + # 获取该程序的PID + pid=$! + # 等待程序完成 + wait $pid + # 如果需要可以在此处进行清理 + systemctl restart sublink + ;; + 0) + exit 0 + ;; + *) + echo "无效的选项,请重新选择" + Select + ;; + esac +} +Select diff --git a/middlewares/ip.go b/middlewares/ip.go new file mode 100644 index 0000000000000000000000000000000000000000..a8db352d72cacf1e978337c006b84330ac8203e7 --- /dev/null +++ b/middlewares/ip.go @@ -0,0 +1,80 @@ +package middlewares + +import ( + "encoding/json" + "fmt" + "io" + "log" + "net/http" + "sublink/models" + "time" + + "github.com/gin-gonic/gin" + "golang.org/x/text/encoding/simplifiedchinese" +) + +func GetIp(c *gin.Context) { + c.Next() + func() { + subname, _ := c.Get("subname") + + ip := c.ClientIP() + resp, err := http.Get(fmt.Sprintf("https://whois.pconline.com.cn/ipJson.jsp?ip=%s&json=true", ip)) + if err != nil { + log.Println(err) + return + } + defer resp.Body.Close() + body, _ := io.ReadAll(resp.Body) + utf8Body, _ := simplifiedchinese.GBK.NewDecoder().Bytes(body) + type IpInfo struct { + Addr string `json:"addr"` + Ip string `json:"ip"` + } + ipinfo := IpInfo{} + err = json.Unmarshal(utf8Body, &ipinfo) + if err != nil { + log.Println(err) + return + } + var sub models.Subcription + if subname, ok := subname.(string); ok { + sub.Name = subname + } + err = sub.Find() + if err != nil { + log.Println(err) + return + } + var iplog models.SubLogs + iplog.IP = ip + err = iplog.Find(sub.ID) + // 如果没有找到记录 + if err != nil { + iploga := []models.SubLogs{ + {IP: ip, + Addr: ipinfo.Addr, + SubcriptionID: sub.ID, + Date: time.Now().Format("2006-01-02 15:04:05"), + Count: 1, + }, + } + sub.SubLogs = iploga + err = sub.Update() + if err != nil { + log.Println(err) + return + } + } else { + // 更新访问次数 + iplog.Count++ + iplog.Date = time.Now().Format("2006-01-02 15:04:05") + err = iplog.Update() + if err != nil { + log.Println(err) + return + } + } + }() + +} diff --git a/middlewares/jwt.go b/middlewares/jwt.go new file mode 100644 index 0000000000000000000000000000000000000000..203cf41d33e6135e9dbf10d7be19afcb389de664 --- /dev/null +++ b/middlewares/jwt.go @@ -0,0 +1,76 @@ +package middlewares + +import ( + "errors" + "net/http" + "strings" + + "github.com/dgrijalva/jwt-go" + "github.com/gin-gonic/gin" +) + +var Secret = []byte("sublink") // 秘钥 + +// JwtClaims jwt声明 +type JwtClaims struct { + Username string `json:"username"` + jwt.StandardClaims +} + +// AuthorToken 验证token中间件 +func AuthorToken(c *gin.Context) { + // 定义白名单 + list := []string{"/static", "/api/v1/auth/login", "/api/v1/auth/captcha", "/c/", "/api/v1/version"} + // 如果是首页直接跳过 + if c.Request.URL.Path == "/" { + c.Next() + return + } + // 如果是白名单直接跳过 + for _, v := range list { + if strings.HasPrefix(c.Request.URL.Path, v) { + c.Next() + return + } + } + token := c.Request.Header.Get("Authorization") + if token == "" { + c.JSON(400, gin.H{"msg": "请求未携带token"}) + c.Abort() + return + } + parts := strings.Split(token, ".") + if len(parts) != 3 { + c.JSON(400, gin.H{"msg": "token格式错误"}) + c.Abort() + return + } + // 去掉Bearer前缀 + token = strings.Replace(token, "Bearer ", "", -1) + mc, err := ParseToken(token) + if err != nil { + c.JSON(http.StatusUnauthorized, gin.H{ + "code": 401, + "msg": err.Error(), + }) + c.Abort() + return + } + c.Set("username", mc.Username) + c.Next() +} + +// ParseToken 解析JWT +func ParseToken(tokenString string) (*JwtClaims, error) { + // 解析token + token, err := jwt.ParseWithClaims(tokenString, &JwtClaims{}, func(token *jwt.Token) (i interface{}, err error) { + return Secret, nil + }) + if err != nil { + return nil, err + } + if claims, ok := token.Claims.(*JwtClaims); ok && token.Valid { // 校验token + return claims, nil + } + return nil, errors.New("invalid token") +} diff --git a/models/config.go b/models/config.go new file mode 100644 index 0000000000000000000000000000000000000000..9af2c72d2fdf8b6389ef6e4f5713df4bda013eb8 --- /dev/null +++ b/models/config.go @@ -0,0 +1,7 @@ +package models + +type Config struct { + ID int + Key string + Value string +} diff --git a/models/iplogs.go b/models/iplogs.go new file mode 100644 index 0000000000000000000000000000000000000000..116d9692e10b627b25589a25e9281c79af82a3a6 --- /dev/null +++ b/models/iplogs.go @@ -0,0 +1,40 @@ +package models + +type SubLogs struct { + ID int + IP string + Date string + Addr string + Count int + SubcriptionID int +} + +// Add 添加IP +func (iplog *SubLogs) Add() error { + return DB.Create(iplog).Error +} + +// 查找IP +func (iplog *SubLogs) Find(id int) error { + return DB.Where("ip = ? and subcription_id = ?", iplog.IP, id).First(iplog).Error +} + +// Update 更新IP +func (iplog *SubLogs) Update() error { + return DB.Where("id = ? or ip = ?", iplog.ID, iplog.IP).Updates(iplog).Error +} + +// List 获取IP列表 +func (iplog *SubLogs) List() ([]SubLogs, error) { + var iplogs []SubLogs + err := DB.Find(&iplogs).Error + if err != nil { + return nil, err + } + return iplogs, nil +} + +// Del 删除IP +func (iplog *SubLogs) Del() error { + return DB.Delete(iplog).Error +} diff --git a/models/node.go b/models/node.go new file mode 100644 index 0000000000000000000000000000000000000000..8776bb7864e872fca6c7280782024e121797df4d --- /dev/null +++ b/models/node.go @@ -0,0 +1,38 @@ +package models + +type Node struct { + ID int + Link string + Name string + CreateDate string +} + +// Add 添加节点 +func (node *Node) Add() error { + return DB.Create(node).Error +} + +// 更新节点 +func (node *Node) Update() error { + return DB.Model(node).Updates(node).Error +} + +// 查找节点是否重复 +func (node *Node) Find() error { + return DB.Where("link = ? or name = ?", node.Link, node.Name).First(node).Error +} + +// 节点列表 +func (node *Node) List() ([]Node, error) { + var nodes []Node + err := DB.Find(&nodes).Error + if err != nil { + return nil, err + } + return nodes, nil +} + +// 删除节点 +func (node *Node) Del() error { + return DB.Delete(node).Error +} diff --git a/models/sqlite.go b/models/sqlite.go new file mode 100644 index 0000000000000000000000000000000000000000..8cd19884d67e2194095937446b21cc047b98a4c7 --- /dev/null +++ b/models/sqlite.go @@ -0,0 +1,54 @@ +package models + +import ( + "log" + "os" + + "github.com/glebarez/sqlite" + "gorm.io/gorm" +) + +var DB *gorm.DB +var isInitialized bool + +func InitSqlite() { + // 检查目录是否创建 + _, err := os.Stat("./db") + if err != nil { + if os.IsNotExist(err) { + os.Mkdir("./db", os.ModePerm) + } + } + // 连接数据库 + db, err := gorm.Open(sqlite.Open("./db/sublink.db"), &gorm.Config{}) + if err != nil { + log.Println("连接数据库失败") + } + DB = db + // 检查是否已经初始化 + if isInitialized { + log.Println("数据库已经初始化,无需重复初始化") + return + } + err = db.AutoMigrate(&User{}, &Subcription{}, &Node{}, &SubLogs{}) + if err != nil { + log.Println("数据表迁移失败") + } + // 初始化用户数据 + err = db.First(&User{}).Error + if err == gorm.ErrRecordNotFound { + admin := &User{ + Username: "admin", + Password: "123456", + Role: "admin", + Nickname: "管理员", + } + err = admin.Create() + if err != nil { + log.Println("初始化添加用户数据失败") + } + } + // 设置初始化标志为 true + isInitialized = true + log.Println("数据库初始化成功") // 只有在没有任何错误时才会打印这个日志 +} diff --git a/models/subcription.go b/models/subcription.go new file mode 100644 index 0000000000000000000000000000000000000000..6f922004682592136e0ce1aa737a992cdc83d245 --- /dev/null +++ b/models/subcription.go @@ -0,0 +1,71 @@ +package models + +type Subcription struct { + ID int + Name string + Config string `gorm:"embedded"` + Nodes []Node `gorm:"many2many:subcription_nodes;"` // 多对多关系 + SubLogs []SubLogs `gorm:"foreignKey:SubcriptionID;"` // 一对多关系 约束父表被删除子表记录跟着删除 + CreateDate string +} + +// Add 添加订阅 +func (sub *Subcription) Add() error { + return DB.Create(sub).Error +} + +// 添加节点列表建立多对多关系 +func (sub *Subcription) AddNode() error { + return DB.Model(sub).Association("Nodes").Append(sub.Nodes) +} + +// 更新订阅 +func (sub *Subcription) Update() error { + return DB.Where("id = ? or name = ?", sub.ID, sub.Name).Updates(sub).Error +} + +// 更新节点列表建立多对多关系 +func (sub *Subcription) UpdateNodes() error { + return DB.Model(sub).Association("Nodes").Replace(sub.Nodes) +} + +// 查找订阅 +func (sub *Subcription) Find() error { + return DB.Where("id = ? or name = ?", sub.ID, sub.Name).First(sub).Error +} + +// 读取订阅 +func (sub *Subcription) GetSub() error { + // err := DB.Find(sub).Error + // if err != nil { + // return err + // } + return DB.Model(sub).Association("Nodes").Find(&sub.Nodes) +} + +// 订阅列表 +func (sub *Subcription) List() ([]Subcription, error) { + var subs []Subcription + err := DB.Find(&subs).Error + if err != nil { + return nil, err + } + for i := range subs { + DB.Model(&subs[i]).Association("Nodes").Find(&subs[i].Nodes) + DB.Model(&subs[i]).Association("SubLogs").Find(&subs[i].SubLogs) + } + return subs, nil +} + +func (sub *Subcription) IPlogUpdate() error { + return DB.Model(sub).Association("SubLogs").Replace(&sub.SubLogs) +} + +// 删除订阅 +func (sub *Subcription) Del() error { + err := DB.Model(sub).Association("Nodes").Clear() + if err != nil { + return err + } + return DB.Delete(sub).Error +} diff --git a/models/user.go b/models/user.go new file mode 100644 index 0000000000000000000000000000000000000000..30d90ad55019cd4a291c2d41bae5e7d89f37b8c9 --- /dev/null +++ b/models/user.go @@ -0,0 +1,33 @@ +package models + +type User struct { + ID int + Username string + Password string + Role string + Nickname string +} + +func (user *User) Create() error { // 创建用户 + return DB.Create(user).Error +} +func (user *User) Set(UpdateUser *User) error { // 设置用户 + return DB.Where("username = ?", user.Username).Updates(UpdateUser).Error +} +func (user *User) Verify() error { // 验证用户 + return DB.Where("username = ? AND password = ?", user.Username, user.Password).First(user).Error +} + +func (user *User) Find() error { // 查找用户 + return DB.Where("username = ? ", user.Username).First(user).Error +} + +func (user *User) All() ([]User, error) { // 获取所有用户 + var users []User + err := DB.Find(&users).Error + return users, err +} + +func (user *User) Del() error { // 删除用户 + return DB.Delete(user).Error +} diff --git a/node/clash.go b/node/clash.go new file mode 100644 index 0000000000000000000000000000000000000000..4d4b5ec01294484a8c95ace3e59529c0d49ec6ee --- /dev/null +++ b/node/clash.go @@ -0,0 +1,429 @@ +package node + +import ( + "fmt" + "io" + "log" + "net/http" + "os" + "strconv" + "strings" + + "gopkg.in/yaml.v3" +) + +type Proxy struct { + Name string `yaml:"name,omitempty"` + Type string `yaml:"type,omitempty"` + Server string `yaml:"server,omitempty"` + Port int `yaml:"port,omitempty"` + Cipher string `yaml:"cipher,omitempty"` + Password string `yaml:"password,omitempty"` + Client_fingerprint string `yaml:"client-fingerprint,omitempty"` + Tfo bool `yaml:"tfo,omitempty"` + Udp bool `yaml:"udp,omitempty"` + Skip_cert_verify bool `yaml:"skip-cert-verify,omitempty"` + Tls bool `yaml:"tls,omitempty"` + Servername string `yaml:"servername,omitempty"` + Flow string `yaml:"flow,omitempty"` + AlterId string `yaml:"alterId,omitempty"` + Network string `yaml:"network,omitempty"` + Reality_opts map[string]interface{} `yaml:"reality-opts,omitempty"` + Ws_opts map[string]interface{} `yaml:"ws-opts,omitempty"` + Auth_str string `yaml:"auth_str,omitempty"` + Auth string `yaml:"auth,omitempty"` + Up int `yaml:"up,omitempty"` + Down int `yaml:"down,omitempty"` + Alpn []string `yaml:"alpn,omitempty"` + Sni string `yaml:"sni,omitempty"` + Obfs string `yaml:"obfs,omitempty"` + Obfs_password string `yaml:"obfs-password,omitempty"` + Protocol string `yaml:"protocol,omitempty"` + Uuid string `yaml:"uuid,omitempty"` + Peer string `yaml:"peer,omitempty"` + Congestion_control string `yaml:"congestion_control,omitempty"` + Udp_relay_mode string `yaml:"udp_relay_mode,omitempty"` + Disable_sni bool `yaml:"disable_sni,omitempty"` +} + +type ProxyGroup struct { + Proxies []string `yaml:"proxies"` +} +type Config struct { + Proxies []Proxy `yaml:"proxies"` + Proxy_groups []ProxyGroup `yaml:"proxy-groups"` +} + +// 删除opts中的空值 +func DeleteOpts(opts map[string]interface{}) { + for k, v := range opts { + switch v := v.(type) { + case string: + if v == "" { + delete(opts, k) + } + case map[string]interface{}: + DeleteOpts(v) + if len(v) == 0 { + delete(opts, k) + } + } + } +} +func convertToInt(value interface{}) (int, error) { + switch v := value.(type) { + case int: + return v, nil + case float64: + return int(v), nil + case string: + return strconv.Atoi(v) + default: + return 0, fmt.Errorf("unexpected type %T", v) + } +} + +// EncodeClash 用于生成 Clash 配置文件 +func EncodeClash(urls []string, sqlconfig SqlConfig) ([]byte, error) { + // 传入urls,解析urls,生成proxys + // yamlfile 为模板文件 + var proxys []Proxy + + for _, link := range urls { + Scheme := strings.Split(link, "://")[0] + switch { + case Scheme == "ss": + ss, err := DecodeSSURL(link) + if err != nil { + log.Println(err) + continue + } + // 如果没有名字,就用服务器地址作为名字 + if ss.Name == "" { + ss.Name = fmt.Sprintf("%s:%d", ss.Server, ss.Port) + } + ssproxy := Proxy{ + Name: ss.Name, + Type: "ss", + Server: ss.Server, + Port: ss.Port, + Cipher: ss.Param.Cipher, + Password: ss.Param.Password, + Udp: sqlconfig.Udp, + Skip_cert_verify: sqlconfig.Cert, + } + proxys = append(proxys, ssproxy) + case Scheme == "ssr": + ssr, err := DecodeSSRURL(link) + if err != nil { + log.Println(err) + } + // 如果没有名字,就用服务器地址作为名字 + if ssr.Qurey.Remarks == "" { + ssr.Qurey.Remarks = fmt.Sprintf("%s:%d", ssr.Server, ssr.Port) + } + ssrproxy := Proxy{ + Name: ssr.Qurey.Remarks, + Type: "ssr", + Server: ssr.Server, + Port: ssr.Port, + Cipher: ssr.Method, + Password: ssr.Password, + Obfs: ssr.Obfs, + Obfs_password: ssr.Qurey.Obfsparam, + Protocol: ssr.Protocol, + Udp: sqlconfig.Udp, + Skip_cert_verify: sqlconfig.Cert, + } + proxys = append(proxys, ssrproxy) + case Scheme == "trojan": + trojan, err := DecodeTrojanURL(link) + if err != nil { + log.Println(err) + continue + } + // 如果没有名字,就用服务器地址作为名字 + if trojan.Name == "" { + trojan.Name = fmt.Sprintf("%s:%d", trojan.Hostname, trojan.Port) + } + ws_opts := map[string]interface{}{ + "path": trojan.Query.Path, + "headers": map[string]interface{}{ + "Host": trojan.Query.Host, + }, + } + DeleteOpts(ws_opts) + trojanproxy := Proxy{ + Name: trojan.Name, + Type: "trojan", + Server: trojan.Hostname, + Port: trojan.Port, + Password: trojan.Password, + Client_fingerprint: trojan.Query.Fp, + Sni: trojan.Query.Sni, + Network: trojan.Query.Type, + Flow: trojan.Query.Flow, + Alpn: trojan.Query.Alpn, + Ws_opts: ws_opts, + Udp: sqlconfig.Udp, + Skip_cert_verify: sqlconfig.Cert, + } + proxys = append(proxys, trojanproxy) + case Scheme == "vmess": + vmess, err := DecodeVMESSURL(link) + if err != nil { + log.Println(err) + continue + } + // 如果没有名字,就用服务器地址作为名字 + if vmess.Ps == "" { + vmess.Ps = fmt.Sprintf("%s:%s", vmess.Add, vmess.Port) + } + ws_opts := map[string]interface{}{ + "path": vmess.Path, + "headers": map[string]interface{}{ + "Host": vmess.Host, + }, + } + DeleteOpts(ws_opts) + tls := false + if vmess.Tls != "none" && vmess.Tls != "" { + tls = true + } + port, _ := convertToInt(vmess.Port) + aid, _ := convertToInt(vmess.Aid) + vmessproxy := Proxy{ + Name: vmess.Ps, + Type: "vmess", + Server: vmess.Add, + Port: port, + Cipher: vmess.Scy, + Uuid: vmess.Id, + AlterId: strconv.Itoa(aid), + Network: vmess.Net, + Tls: tls, + Ws_opts: ws_opts, + Udp: sqlconfig.Udp, + Skip_cert_verify: sqlconfig.Cert, + } + proxys = append(proxys, vmessproxy) + case Scheme == "vless": + vless, err := DecodeVLESSURL(link) + if err != nil { + log.Println(err) + continue + } + // 如果没有名字,就用服务器地址作为名字 + if vless.Name == "" { + vless.Name = fmt.Sprintf("%s:%d", vless.Server, vless.Port) + } + ws_opts := map[string]interface{}{ + "path": vless.Query.Path, + "headers": map[string]interface{}{ + "Host": vless.Query.Host, + }, + } + reality_opts := map[string]interface{}{ + "public-key": vless.Query.Pbk, + "short-id": vless.Query.Sid, + } + DeleteOpts(ws_opts) + DeleteOpts(reality_opts) + tls := false + if vless.Query.Security != "" { + tls = true + } + if vless.Query.Security == "none" { + tls = false + } + vlessproxy := Proxy{ + Name: vless.Name, + Type: "vless", + Server: vless.Server, + Port: vless.Port, + Servername: vless.Query.Sni, + Uuid: vless.Uuid, + Client_fingerprint: vless.Query.Fp, + Network: vless.Query.Type, + Flow: vless.Query.Flow, + Alpn: vless.Query.Alpn, + Ws_opts: ws_opts, + Reality_opts: reality_opts, + Udp: sqlconfig.Udp, + Skip_cert_verify: sqlconfig.Cert, + Tls: tls, + } + proxys = append(proxys, vlessproxy) + case Scheme == "hy" || Scheme == "hysteria": + hy, err := DecodeHYURL(link) + if err != nil { + log.Println(err) + continue + } + // 如果没有名字,就用服务器地址作为名字 + if hy.Name == "" { + hy.Name = fmt.Sprintf("%s:%d", hy.Host, hy.Port) + } + hyproxy := Proxy{ + Name: hy.Name, + Type: "hysteria", + Server: hy.Host, + Port: hy.Port, + Auth_str: hy.Auth, + Up: hy.UpMbps, + Down: hy.DownMbps, + Alpn: hy.ALPN, + Peer: hy.Peer, + Udp: sqlconfig.Udp, + Skip_cert_verify: sqlconfig.Cert, + } + proxys = append(proxys, hyproxy) + case Scheme == "hy2" || Scheme == "hysteria2": + hy2, err := DecodeHY2URL(link) + if err != nil { + log.Println(err) + continue + } + // 如果没有名字,就用服务器地址作为名字 + if hy2.Name == "" { + hy2.Name = fmt.Sprintf("%s:%d", hy2.Host, hy2.Port) + } + hyproxy2 := Proxy{ + Name: hy2.Name, + Type: "hysteria2", + Server: hy2.Host, + Port: hy2.Port, + Auth_str: hy2.Auth, + Sni: hy2.Sni, + Alpn: hy2.ALPN, + Obfs: hy2.Obfs, + Password: hy2.Password, + Obfs_password: hy2.ObfsPassword, + Udp: sqlconfig.Udp, + Skip_cert_verify: sqlconfig.Cert, + } + proxys = append(proxys, hyproxy2) + case Scheme == "tuic": + tuic, err := DecodeTuicURL(link) + if err != nil { + log.Println(err) + continue + } + // 如果没有名字,就用服务器地址作为名字 + if tuic.Name == "" { + tuic.Name = fmt.Sprintf("%s:%d", tuic.Host, tuic.Port) + } + disable_sni := false + if tuic.Disable_sni == 1 { + disable_sni = true + } + tuicproxy := Proxy{ + Name: tuic.Name, + Type: "tuic", + Server: tuic.Host, + Port: tuic.Port, + Password: tuic.Password, + Uuid: tuic.Uuid, + Congestion_control: tuic.Congestion_control, + Alpn: tuic.Alpn, + Udp_relay_mode: tuic.Udp_relay_mode, + Disable_sni: disable_sni, + Sni: tuic.Sni, + Udp: sqlconfig.Udp, + Skip_cert_verify: sqlconfig.Cert, + } + proxys = append(proxys, tuicproxy) + } + } + // 生成Clash配置文件 + return DecodeClash(proxys, sqlconfig.Clash) +} + +// DecodeClash 用于解析 Clash 配置文件 +func DecodeClash(proxys []Proxy, yamlfile string) ([]byte, error) { + // 读取 YAML 文件 + var data []byte + var err error + if strings.Contains(yamlfile, "://") { + resp, err := http.Get(yamlfile) + if err != nil { + log.Println("http.Get error", err) + return nil, err + } + defer resp.Body.Close() + data, err = io.ReadAll(resp.Body) + if err != nil { + log.Printf("error: %v", err) + return nil, err + } + } else { + data, err = os.ReadFile(yamlfile) + if err != nil { + log.Printf("error: %v", err) + return nil, err + } + } + // 解析 YAML 文件 + config := make(map[interface{}]interface{}) + err = yaml.Unmarshal(data, &config) + if err != nil { + log.Printf("error: %v", err) + return nil, err + } + + // 检查 "proxies" 键是否存在于 config 中 + proxies, ok := config["proxies"].([]interface{}) + if !ok { + // 如果 "proxies" 键不存在,创建一个新的切片 + proxies = []interface{}{} + } + // 定义一个代理列表名字 + ProxiesNameList := []string{} + // 添加新代理 + for _, p := range proxys { + ProxiesNameList = append(ProxiesNameList, p.Name) + proxies = append(proxies, p) + } + // proxies = append(proxies, newProxy) + config["proxies"] = proxies + // 往ProxyGroup中插入代理列表 + // ProxiesNameList := []string{"newProxy", "ceshi"} + proxyGroups := config["proxy-groups"].([]interface{}) + for i, pg := range proxyGroups { + proxyGroup, ok := pg.(map[string]interface{}) + if !ok { + continue + } + // 如果 proxyGroup["proxies"] 是 nil,初始化它为一个空的切片 + if proxyGroup["proxies"] == nil { + proxyGroup["proxies"] = []interface{}{} + } + // 如果为链式代理的话则不插入返回 + // log.Print("代理类型为:", proxyGroup["type"]) + if proxyGroup["type"] == "relay" { + break + } + // 清除 nil 值 + var validProxies []interface{} + for _, p := range proxyGroup["proxies"].([]interface{}) { + if p != nil { + validProxies = append(validProxies, p) + } + } + // 添加新代理 + for _, newProxy := range ProxiesNameList { + validProxies = append(validProxies, newProxy) + } + proxyGroup["proxies"] = validProxies + proxyGroups[i] = proxyGroup + } + + config["proxy-groups"] = proxyGroups + + // 将修改后的内容写回文件 + newData, err := yaml.Marshal(config) + if err != nil { + log.Printf("error: %v", err) + } + return newData, nil +} diff --git a/node/common.go b/node/common.go new file mode 100644 index 0000000000000000000000000000000000000000..65c65c18dd473ebdfa3f9dc640d16e4bfbbcc1ec --- /dev/null +++ b/node/common.go @@ -0,0 +1,117 @@ +package node + +import ( + "encoding/base64" + "fmt" + "os" + "regexp" + "strings" +) + +type SqlConfig struct { + Clash string `json:"clash"` + Surge string `json:"surge"` + Udp bool `json:"udp"` + Cert bool `json:"cert"` +} + +// ipv6地址匹配规则 +func ValRetIPv6Addr(s string) string { + pattern := `\[([0-9a-fA-F:]+)\]` + re := regexp.MustCompile(pattern) + match := re.FindStringSubmatch(s) + if len(match) > 0 { + return match[1] + } else { + return s + } +} + +// 判断是否需要补全 +func IsBase64makeup(s string) string { + l := len(s) + if l%4 != 0 { + return s + strings.Repeat("=", 4-l%4) + } + return s +} + +// base64编码 +func Base64Encode(s string) string { + return base64.StdEncoding.EncodeToString([]byte(s)) +} + +// base64解码 +func Base64Decode(s string) string { + // 去除空格 + s = strings.ReplaceAll(s, " ", "") + // 判断是否有特殊字符来判断是标准base64还是url base64 + match, err := regexp.MatchString(`[_-]`, s) + if err != nil { + fmt.Println(err) + } + if !match { + // 默认使用标准解码 + encoded := IsBase64makeup(s) + decoded, err := base64.StdEncoding.DecodeString(encoded) + if err != nil { + return s // 返回原字符串 + } + decoded_str := string(decoded) + return decoded_str + + } else { + // 如果有特殊字符则使用URL解码 + encoded := IsBase64makeup(s) + decoded, err := base64.URLEncoding.DecodeString(encoded) + if err != nil { + return s // 返回原字符串 + } + decoded_str := string(decoded) + return decoded_str + } +} + +// base64解码不自动补齐 +func Base64Decode2(s string) string { + // 去除空格 + s = strings.ReplaceAll(s, " ", "") + // 判断是否有特殊字符来判断是标准base64还是url base64 + match, err := regexp.MatchString(`[_-]`, s) + if err != nil { + fmt.Println(err) + } + if !match { + // 默认使用标准解码 + decoded, err := base64.StdEncoding.DecodeString(s) + if err != nil { + return s // 返回原字符串 + } + decoded_str := string(decoded) + return decoded_str + + } else { + // 如果有特殊字符则使用URL解码 + decoded, err := base64.URLEncoding.DecodeString(s) + if err != nil { + return s // 返回原字符串 + } + decoded_str := string(decoded) + return decoded_str + } +} + +// 检查环境 +func CheckEnvironment() bool { + APP_ENV := os.Getenv("APP_ENV") + if APP_ENV == "" { + // fmt.Println("APP_ENV环境变量未设置") + return false + } + if strings.Contains(APP_ENV, "development") { + // fmt.Println("你现在是开发环境") + return true + } + // fmt.Println("你现在是生产环境") + return false +} diff --git a/node/hy.go b/node/hy.go new file mode 100644 index 0000000000000000000000000000000000000000..07342d7455dfe3f37e9eef0957fc942469b2c635 --- /dev/null +++ b/node/hy.go @@ -0,0 +1,111 @@ +package node + +import ( + "fmt" + "net/url" + "strconv" + "strings" +) + +type HY struct { + Host string + Port int + Insecure int + Peer string + Auth string + UpMbps int + DownMbps int + ALPN []string + Name string +} + +// 开发者测试 CallHy 调用 +func CallHy() { + hy := HY{ + Host: "qq.com", + Port: 11926, + Insecure: 1, + Peer: "youku.com", + Auth: "", + UpMbps: 11, + DownMbps: 55, + // ALPN: "h3", + } + fmt.Println(EncodeHYURL(hy)) +} + +// hy 编码 +func EncodeHYURL(hy HY) string { + // 如果没有设置 Name,则使用 Host:Port 作为 Fragment + if hy.Name == "" { + hy.Name = fmt.Sprintf("%s:%d", hy.Host, hy.Port) + } + u := url.URL{ + Scheme: "hysteria", + Host: fmt.Sprintf("%s:%d", hy.Host, hy.Port), + Fragment: hy.Name, + } + q := u.Query() + q.Set("insecure", strconv.Itoa(hy.Insecure)) + q.Set("peer", hy.Peer) + q.Set("auth", hy.Auth) + q.Set("upmbps", strconv.Itoa(hy.UpMbps)) + q.Set("downmbps", strconv.Itoa(hy.DownMbps)) + // q.Set("alpn", hy.ALPN) + // 检查query是否有空值,有的话删除 + for k, v := range q { + if v[0] == "" { + delete(q, k) + // fmt.Printf("k: %v, v: %v\n", k, v) + } + } + u.RawQuery = q.Encode() + return u.String() +} + +// hy 解码 +func DecodeHYURL(s string) (HY, error) { + u, err := url.Parse(s) + if err != nil { + return HY{}, fmt.Errorf("失败的URL: %s", s) + } + if u.Scheme != "hy" && u.Scheme != "hysteria" { + return HY{}, fmt.Errorf("非hy协议: %s", s) + } + server := u.Hostname() + port, _ := strconv.Atoi(u.Port()) + insecure, _ := strconv.Atoi(u.Query().Get("insecure")) + auth := u.Query().Get("auth") + upMbps, _ := strconv.Atoi(u.Query().Get("upmbps")) + downMbps, _ := strconv.Atoi(u.Query().Get("downmbps")) + alpns := u.Query().Get("alpn") + alpn := strings.Split(alpns, ",") + if alpns == "" { + alpn = nil + } + // 如果没有设置 Name,则使用 Fragment 作为 Name + name := u.Fragment + if name == "" { + name = server + ":" + u.Port() + } + if CheckEnvironment() { + fmt.Println("server:", server) + fmt.Println("port:", port) + fmt.Println("insecure:", insecure) + fmt.Println("auth:", auth) + fmt.Println("upMbps:", upMbps) + fmt.Println("downMbps:", downMbps) + fmt.Println("alpn:", alpn) + fmt.Println("name:", name) + } + return HY{ + Host: server, + Port: port, + Insecure: insecure, + Auth: auth, + UpMbps: upMbps, + DownMbps: downMbps, + ALPN: alpn, + Name: name, + }, nil +} diff --git a/node/hy2.go b/node/hy2.go new file mode 100644 index 0000000000000000000000000000000000000000..caa9e0a832f45c3fc26e570c8134fd96ad920adf --- /dev/null +++ b/node/hy2.go @@ -0,0 +1,129 @@ +package node + +import ( + "fmt" + "net/url" + "strconv" + "strings" +) + +type HY2 struct { + Password string + Host string + Port int + Insecure int + Peer string + Auth string + UpMbps int + DownMbps int + ALPN []string + Name string + Sni string + Obfs string + ObfsPassword string +} + +// 开发者测试 CallHy 调用 +func CallHy2() { + hy2 := HY2{ + Password: "asdasd", + Host: "qq.com", + Port: 11926, + Insecure: 1, + Peer: "youku.com", + Auth: "", + UpMbps: 11, + DownMbps: 55, + // ALPN: "h3", + } + fmt.Println(EncodeHY2URL(hy2)) +} + +// hy2 编码 +func EncodeHY2URL(hy2 HY2) string { + // 如果没有设置 Name,则使用 Host:Port 作为 Fragment + if hy2.Name == "" { + hy2.Name = fmt.Sprintf("%s:%d", hy2.Host, hy2.Port) + } + u := url.URL{ + Scheme: "hy2", + User: url.User(hy2.Password), + Host: fmt.Sprintf("%s:%d", hy2.Host, hy2.Port), + Fragment: hy2.Name, + } + q := u.Query() + q.Set("insecure", strconv.Itoa(hy2.Insecure)) + q.Set("peer", hy2.Peer) + q.Set("auth", hy2.Auth) + q.Set("upmbps", strconv.Itoa(hy2.UpMbps)) + q.Set("downmbps", strconv.Itoa(hy2.DownMbps)) + // q.Set("alpn", hy2.ALPN) + // 检查query是否有空值,有的话删除 + for k, v := range q { + if v[0] == "" { + delete(q, k) + // fmt.Printf("k: %v, v: %v\n", k, v) + } + } + u.RawQuery = q.Encode() + return u.String() +} + +// hy2 解码 +func DecodeHY2URL(s string) (HY2, error) { + u, err := url.Parse(s) + if err != nil { + return HY2{}, fmt.Errorf("解析失败的URL: %s,错误:%s", s, err) + } + if u.Scheme != "hy2" && u.Scheme != "hysteria2" { + return HY2{}, fmt.Errorf("非hy2协议: %s", s) + } + password := u.User.Username() + server := u.Hostname() + port, _ := strconv.Atoi(u.Port()) + insecure, _ := strconv.Atoi(u.Query().Get("insecure")) + auth := u.Query().Get("auth") + upMbps, _ := strconv.Atoi(u.Query().Get("upmbps")) + downMbps, _ := strconv.Atoi(u.Query().Get("downmbps")) + alpns := u.Query().Get("alpn") + alpn := strings.Split(alpns, ",") + if alpns == "" { + alpn = nil + } + sni := u.Query().Get("sni") + obfs := u.Query().Get("obfs") + obfsPassword := u.Query().Get("obfs-password") + name := u.Fragment + // 如果没有设置 Name,则使用 Host:Port 作为 Fragment + if name == "" { + name = server + ":" + u.Port() + } + if CheckEnvironment() { + fmt.Println("password:", password) + fmt.Println("server:", server) + fmt.Println("port:", port) + fmt.Println("insecure:", insecure) + fmt.Println("auth:", auth) + fmt.Println("upMbps:", upMbps) + fmt.Println("downMbps:", downMbps) + fmt.Println("alpn:", alpn) + fmt.Println("sni:", sni) + fmt.Println("obfs:", obfs) + fmt.Println("obfsPassword:", obfsPassword) + fmt.Println("name:", name) + } + return HY2{ + Password: password, + Host: server, + Port: port, + Insecure: insecure, + Auth: auth, + UpMbps: upMbps, + DownMbps: downMbps, + ALPN: alpn, + Name: name, + Sni: sni, + Obfs: obfs, + ObfsPassword: obfsPassword, + }, nil +} diff --git a/node/ss.go b/node/ss.go new file mode 100644 index 0000000000000000000000000000000000000000..a65933eed94983692b904fdfdefea7ff5dedcb50 --- /dev/null +++ b/node/ss.go @@ -0,0 +1,125 @@ +package node + +import ( + "fmt" + "log" + "net/url" + "strconv" + "strings" +) + +// ss匹配规则 +type Ss struct { + Param Param + Server string + Port int + Name string + Type string +} +type Param struct { + Cipher string + Password string +} + +func parsingSS(s string) (string, string, string) { + /* ss url编码分为三部分:加密方式、服务器地址和端口、备注 + ://和@之前为第一部分 @到#之间为第二部分 #之后为第三部分 + 第一部分 为加密方式和密码,格式为:加密方式:密码 示例:aes-128-gcm:123456 + 第二部分 为服务器地址和端口,格式为:服务器地址:端口 示例:xxx.xxx:12345 + 第三部分 为备注,格式为:#备注 示例:#备注 + */ + u, err := url.Parse(s) + if err != nil { + log.Println("ss url parse fail.", err) + return "", "", "" + } + if u.Scheme != "ss" { + log.Println("ss url parse fail, not ss url.") + return "", "", "" + } + // 处理url全编码的情况 + if u.User == nil { + // 截取ss://后的字符串 + raw := s[5:] + s = "ss://" + Base64Decode(raw) + u, err = url.Parse(s) + } + var auth, addr, name string + auth = u.User.String() + if u.Host != "" { + addr = u.Host + } + if u.Fragment != "" { + name = u.Fragment + } + return auth, addr, name +} + +// 开发者测试 +func CallSSURL() { + ss := Ss{} + // ss.Name = "测试" + ss.Server = "baidu.com" + ss.Port = 443 + ss.Param.Cipher = "2022-blake3-aes-256-gcm" + ss.Param.Password = "asdasd" + fmt.Println(EncodeSSURL(ss)) +} + +// ss 编码输出 +func EncodeSSURL(s Ss) string { + //编码格式 ss://base64(base64(method:password)@hostname:port) + p := Base64Encode(s.Param.Cipher + ":" + s.Param.Password) + // 假设备注没有使用服务器加端口命名 + if s.Name == "" { + s.Name = s.Server + ":" + strconv.Itoa(s.Port) + } + param := fmt.Sprintf("%s@%s:%s#%s", + p, + s.Server, + strconv.Itoa(s.Port), + s.Name, + ) + return "ss://" + param +} + +func DecodeSSURL(s string) (Ss, error) { + // 解析ss链接 + param, addr, name := parsingSS(s) + // base64解码 + param = Base64Decode(param) + // 判断是否为空 + if param == "" || addr == "" { + return Ss{}, fmt.Errorf("invalid SS URL") + } + // 解析参数 + parts := strings.Split(addr, ":") + port, _ := strconv.Atoi(parts[len(parts)-1]) + server := strings.Replace(ValRetIPv6Addr(addr), ":"+parts[len(parts)-1], "", -1) + cipher := strings.Split(param, ":")[0] + password := strings.Replace(param, cipher+":", "", 1) + // 如果没有备注则使用服务器加端口命名 + if name == "" { + name = addr + } + // 开发环境输出结果 + if CheckEnvironment() { + fmt.Println("Param:", Base64Decode(param)) + fmt.Println("Server", server) + fmt.Println("Port", port) + fmt.Println("Name:", name) + fmt.Println("Cipher:", cipher) + fmt.Println("Password:", password) + } + // 返回结果 + return Ss{ + Param: Param{ + Cipher: cipher, + Password: password, + }, + Server: server, + Port: port, + Name: name, + Type: "ss", + }, nil +} diff --git a/node/ss_test.go b/node/ss_test.go new file mode 100644 index 0000000000000000000000000000000000000000..d577035965512d377959101f71f4d7575d52c672 --- /dev/null +++ b/node/ss_test.go @@ -0,0 +1,46 @@ +package node + +import ( + "fmt" + "testing" +) + +func TestDecodeSSURL(t *testing.T) { + type args struct { + s string + } + tests := []struct { + name string + args args + want Ss + wantErr bool + }{ + { + name: "ss", + args: args{ + s: "ss://YWVzLTI1Ni1nY206NEhrdSt0Vk53SnFyblVZR2JycE95YkVhck03QmhxYmdhRTFxRk1JPQ==@127.0.0.1:34020?type=tcp#ocent-ss-ndptvd0p", + }, + }, { + name: "ss2", + args: args{ + s: "ss://YWVzLTI1Ni1jZmI6S1NYTmhuWnBqd0M2UGM2Q0A1NC4xNjkuMzUuMjI4OjMxNDQ0", + }, + }, { + name: "no ss schema", + args: args{ + s: "noss://YWVzLTI1Ni1jZmI6S1NYTmhuWnBqd0M2UGM2Q0A1NC4xNjkuMzUuMjI4OjMxNDQ0", + }, + wantErr: true, + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + got, err := DecodeSSURL(tt.args.s) + if (err != nil) != tt.wantErr { + t.Errorf("DecodeSSURL() error = %v, wantErr %v", err, tt.wantErr) + return + } + fmt.Println(got) + }) + } +} diff --git a/node/ssr.go b/node/ssr.go new file mode 100644 index 0000000000000000000000000000000000000000..89bbbd7a31e37f9c582938bc908e5aa68cca66cf --- /dev/null +++ b/node/ssr.go @@ -0,0 +1,144 @@ +package node + +import ( + "errors" + "fmt" + "strconv" + "strings" +) + +func CallSSRURL() { + ssr := new(Ssr) + ssr.Server = "xx.com" + ssr.Port = 443 + ssr.Protocol = "auth_aes128_md5" + ssr.Method = "aes-256-cfb" + ssr.Obfs = "tls1.2_ticket_auth" + ssr.Password = "123456" + ssr.Qurey = Ssrquery{ + Obfsparam: "", + Remarks: "没有名字", + } + cc := EncodeSSRURL(*ssr) + fmt.Println(cc) +} + +// ssr格式编码输出 +func EncodeSSRURL(s Ssr) string { + /*编码格式 + ssr://base64(host:port:protocol:method:obfs:base64(password)/?obfsparam=base64(obfsparam)&protoparam=base64(protoparam)&remarks=base64(remarks)&group=base64(group)) + */ + obfsparam := "obfsparam=" + Base64Encode(s.Qurey.Obfsparam) + remarks := "remarks=" + Base64Encode(s.Qurey.Remarks) + // 如果没有备注默认使用服务器+端口作为备注 + if s.Qurey.Remarks == "" { + server_port := Base64Encode(s.Server + ":" + strconv.Itoa(s.Port)) + remarks = fmt.Sprintf("remarks=%s", server_port) + } + param := fmt.Sprintf("%s:%d:%s:%s:%s:%s/?%s&%s", + s.Server, + s.Port, + s.Protocol, + s.Method, + s.Obfs, + Base64Encode(s.Password), + obfsparam, + remarks, + ) + return "ssr://" + Base64Encode(param) + +} + +// ssr解码 +func DecodeSSRURL(s string) (Ssr, error) { + /*解析格式 + ssr://base64(host:port:protocol:method:obfs:base64(password)/?obfsparam=base64(obfsparam)&protoparam=base64(protoparam)&remarks=base64(remarks)&group=base64(group)) + */ + // 处理url链接中的base64编码 + parts := strings.SplitN(s, "ssr://", 2) + if len(parts) != 2 { + return Ssr{}, errors.New("invalid SSR URL") + } + s = parts[0] + Base64Decode(parts[1]) + // 检查是否包含"/?" 如果有就是有备注信息 + var remarks, obfsparam string + if strings.Contains(s, "/?") { + // 解析备注信息 + query := strings.Split(s, "/?")[1] + s = strings.Replace(s, "/?"+query, "", 1) + paramMap := make(map[string]string) + if strings.Contains(query, "&") { + params := strings.Split(query, "&") + for _, param := range params { + parts := strings.SplitN(param, "=", 2) + if len(parts) != 2 { + fmt.Println("Invalid parameter: ", param) + continue + } + paramMap[parts[0]] = parts[1] + } + } else { + q := strings.Split(query, "=") + paramMap[q[0]] = q[1] + } + remarks = Base64Decode(paramMap["remarks"]) + obfsparam = Base64Decode(paramMap["obfsparam"]) + defer func() { + if CheckEnvironment() { + fmt.Println("remarks", remarks) + fmt.Println("obfsparam", obfsparam) + } + }() + } + // 反着解析参数 怕有ipv6地址冒号混淆 + param := strings.Split(s, ":") + if len(param) < 6 { + return Ssr{}, errors.New("长度没有6") + } + password := param[len(param)-1] + obfs := param[len(param)-2] + method := param[len(param)-3] + protocol := param[len(param)-4] + port, _ := strconv.Atoi(param[len(param)-5]) + server := ValRetIPv6Addr(param[len(param)-6]) + // 如果没有备注默认使用服务器+端口作为备注 + if remarks == "" { + remarks = server + ":" + strconv.Itoa(port) + } + if CheckEnvironment() { + fmt.Println("password", password) + fmt.Println("obfs", obfs) + fmt.Println("method", method) + fmt.Println("protocol", protocol) + fmt.Println("port", port) + fmt.Println("server", server) + } + return Ssr{ + Server: server, + Port: port, + Protocol: protocol, + Method: method, + Obfs: obfs, + Password: password, + Qurey: Ssrquery{ + Obfsparam: obfsparam, + Remarks: remarks, + }, + Type: "ssr", + }, nil +} + +type Ssr struct { + Server string + Port int + Protocol string + Method string + Obfs string + Password string + Qurey Ssrquery + Type string +} +type Ssrquery struct { + Obfsparam string + Remarks string +} diff --git a/node/surge.go b/node/surge.go new file mode 100644 index 0000000000000000000000000000000000000000..909652ef18d103e213fbb2babaeccb9c37c48cd8 --- /dev/null +++ b/node/surge.go @@ -0,0 +1,183 @@ +package node + +import ( + "fmt" + "io" + "log" + "net/http" + "os" + "regexp" + "strings" +) + +func EncodeSurge(urls []string, sqlconfig SqlConfig) (string, error) { + var proxys, groups []string + for _, link := range urls { + Scheme := strings.Split(link, "://")[0] + switch { + case Scheme == "ss": + ss, err := DecodeSSURL(link) + if err != nil { + log.Println(err) + continue + } + proxy := map[string]interface{}{ + "name": ss.Name, + "server": ss.Server, + "port": ss.Port, + "cipher": ss.Param.Cipher, + "password": ss.Param.Password, + "udp": sqlconfig.Udp, + } + ssproxy := fmt.Sprintf("%s = ss, %s, %d, encrypt-method=%s, password=%s, udp-relay=%t", + proxy["name"], proxy["server"], proxy["port"], proxy["cipher"], proxy["password"], proxy["udp"]) + groups = append(groups, ss.Name) + proxys = append(proxys, ssproxy) + case Scheme == "vmess": + vmess, err := DecodeVMESSURL(link) + if err != nil { + log.Println(err) + continue + } + tls := false + if vmess.Tls != "none" && vmess.Tls != "" { + tls = true + } + port, _ := convertToInt(vmess.Port) + proxy := map[string]interface{}{ + "name": vmess.Ps, + "server": vmess.Add, + "port": port, + "uuid": vmess.Id, + "tls": tls, + "network": vmess.Net, + "ws-path": vmess.Path, + "ws-host": vmess.Host, + "udp": sqlconfig.Udp, + "skip-cert-verify": sqlconfig.Cert, + } + vmessproxy := fmt.Sprintf("%s = vmess, %s, %d, username=%s , tls=%t, vmess-aead=true, udp-relay=%t , skip-cert-verify=%t", + proxy["name"], proxy["server"], proxy["port"], proxy["uuid"], proxy["tls"], proxy["udp"], proxy["skip-cert-verify"]) + if vmess.Net == "ws" { + vmessproxy = fmt.Sprintf("%s, ws=true,ws-path=%s", vmessproxy, proxy["ws-path"]) + if vmess.Host != "" && vmess.Host != "none" { + vmessproxy = fmt.Sprintf("%s, ws-headers=Host:%s", vmessproxy, proxy["ws-host"]) + } + } + if vmess.Sni != "" { + vmessproxy = fmt.Sprintf("%s, sni=%s", vmessproxy, vmess.Sni) + } + groups = append(groups, vmess.Ps) + proxys = append(proxys, vmessproxy) + case Scheme == "trojan": + trojan, err := DecodeTrojanURL(link) + if err != nil { + log.Println(err) + continue + } + proxy := map[string]interface{}{ + "name": trojan.Name, + "server": trojan.Hostname, + "port": trojan.Port, + "password": trojan.Password, + "udp": sqlconfig.Udp, + "skip-cert-verify": sqlconfig.Cert, + } + trojanproxy := fmt.Sprintf("%s = trojan, %s, %d, password=%s, udp-relay=%t, skip-cert-verify=%t", + proxy["name"], proxy["server"], proxy["port"], proxy["password"], proxy["udp"], proxy["skip-cert-verify"]) + if trojan.Query.Sni != "" { + trojanproxy = fmt.Sprintf("%s, sni=%s", trojanproxy, trojan.Query.Sni) + + } + groups = append(groups, trojan.Name) + proxys = append(proxys, trojanproxy) + case Scheme == "hysteria2" || Scheme == "hy2": + hy2, err := DecodeHY2URL(link) + if err != nil { + log.Println(err) + continue + } + proxy := map[string]interface{}{ + "name": hy2.Name, + "server": hy2.Host, + "port": hy2.Port, + "password": hy2.Password, + "udp": sqlconfig.Udp, + "skip-cert-verify": sqlconfig.Cert, + } + hy2proxy := fmt.Sprintf("%s = hysteria2, %s, %d, password=%s, udp-relay=%t, skip-cert-verify=%t", + proxy["name"], proxy["server"], proxy["port"], proxy["password"], proxy["udp"], proxy["skip-cert-verify"]) + if hy2.Sni != "" { + hy2proxy = fmt.Sprintf("%s, sni=%s", hy2proxy, hy2.Sni) + + } + groups = append(groups, hy2.Name) + proxys = append(proxys, hy2proxy) + case Scheme == "tuic": + tuic, err := DecodeTuicURL(link) + if err != nil { + log.Println(err) + continue + } + proxy := map[string]interface{}{ + "name": tuic.Name, + "server": tuic.Host, + "port": tuic.Port, + "password": tuic.Password, + "udp": sqlconfig.Udp, + "skip-cert-verify": sqlconfig.Cert, + } + tuicproxy := fmt.Sprintf("%s = tuic, %s, %d, token=%s, udp-relay=%t, skip-cert-verify=%t", + proxy["name"], proxy["server"], proxy["port"], proxy["password"], proxy["udp"], proxy["skip-cert-verify"]) + groups = append(groups, tuic.Name) + proxys = append(proxys, tuicproxy) + } + } + return DecodeSurge(proxys, groups, sqlconfig.Surge) +} +func DecodeSurge(proxys, groups []string, file string) (string, error) { + var surge []byte + var err error + if strings.Contains(file, "://") { + resp, err := http.Get(file) + if err != nil { + log.Println("http.Get error", err) + return "", err + } + defer resp.Body.Close() + surge, err = io.ReadAll(resp.Body) + if err != nil { + log.Printf("error: %v", err) + return "", err + } + } else { + surge, err = os.ReadFile(file) + if err != nil { + log.Println(err) + return "", err + } + } + + proxyReg := regexp.MustCompile(`(?s)\[Proxy\](.*?)\[*]`) + groupReg := regexp.MustCompile(`(?s)\[Proxy Group\](.*?)\[*]`) + + proxyPart := proxyReg.ReplaceAllStringFunc(string(surge), func(s string) string { + + text := strings.Join(proxys, "\n") + return "[Proxy]\n" + text + s[len("[Proxy]"):] + }) + groupPart := groupReg.ReplaceAllStringFunc(proxyPart, func(s string) string { + lines := strings.Split(s, "\n") + grouplist := strings.Join(groups, ",") + for i, line := range lines { + + if strings.Contains(line, "=") { + lines[i] = strings.TrimSpace(line) + ", " + grouplist + // lines[i] = line + "," + grouplist + } + } + return strings.Join(lines, "\n") + s[len("[Proxy Group]"):] + }) + + return groupPart, nil +} diff --git a/node/trojan.go b/node/trojan.go new file mode 100644 index 0000000000000000000000000000000000000000..df926e5db547fa0bccfe605da29e73a315b0137b --- /dev/null +++ b/node/trojan.go @@ -0,0 +1,160 @@ +package node + +import ( + "fmt" + "net/url" + "strconv" + "strings" +) + +type Trojan struct { + Password string `json:"password"` + Hostname string `json:"hostname"` + Port int `json:"port"` + Query TrojanQuery `json:"query,omitempty"` + Name string `json:"name"` + Type string `json:"type"` +} +type TrojanQuery struct { + Peer string `json:"peer,omitempty"` + Type string `json:"type,omitempty"` + Path string `json:"path,omitempty"` + Security string `json:"security,omitempty"` + Fp string `json:"fp,omitempty"` + AllowInsecure int `json:"allowInsecure,omitempty"` + Alpn []string `json:"alpn,omitempty"` + Sni string `json:"sni,omitempty"` + Host string `json:"host,omitempty"` + Flow string `json:"flow,omitempty"` +} + +// 开发者测试 +func CallTrojan() { + trojan := Trojan{ + Password: "4cf3ca26cf114871b3d186a361a3de3", + Hostname: "baidu.com", + Port: 443, + Query: TrojanQuery{ + Peer: "", + Type: "tcp", + Path: "", + Security: "tls", + Fp: "", + AllowInsecure: 0, + Alpn: []string{"h2", "http/1.1"}, + Sni: "baidu.com", + Host: "", + Flow: "", + }, + } + fmt.Println(EncodeTrojanURL(trojan)) +} + +// trojan 编码 +func EncodeTrojanURL(t Trojan) string { + /* + trojan://password@hostname:port?peer=example.com&allowInsecure=0&sni=example.com + */ + u := url.URL{ + Scheme: "trojan", + User: url.User(t.Password), + Host: fmt.Sprintf("%s:%d", t.Hostname, t.Port), + } + q := u.Query() + q.Set("peer", t.Query.Peer) + q.Set("allowInsecure", fmt.Sprintf("%d", t.Query.AllowInsecure)) + q.Set("sni", t.Query.Sni) + q.Set("type", t.Query.Type) + q.Set("path", t.Query.Path) + q.Set("security", t.Query.Security) + q.Set("fp", t.Query.Fp) + // q.Set("alpn", t.Query.Alpn) + q.Set("host", t.Query.Host) + q.Set("flow", t.Query.Flow) + // 检查query是否有空值,有的话删除 + for k, v := range q { + if v[0] == "" { + delete(q, k) + // fmt.Printf("k: %v, v: %v\n", k, v) + } + } + // 如果没有设置name,则使用hostname:port + if t.Name == "" { + t.Name = t.Hostname + ":" + strconv.Itoa(t.Port) + } + u.Fragment = t.Name + u.RawQuery = q.Encode() + return u.String() +} + +// trojan 解码 +func DecodeTrojanURL(s string) (Trojan, error) { + /* + trojan://password@hostname:port?peer=example.com&allowInsecure=0&sni=example.com + */ + u, err := url.Parse(s) + if err != nil { + return Trojan{}, fmt.Errorf("url格式化失败:%s", s) + } + if u.Scheme != "trojan" { + return Trojan{}, fmt.Errorf("非trojan协议: %s", s) + } + password := u.User.Username() + hostname := u.Hostname() + port, _ := strconv.Atoi(u.Port()) + peer := u.Query().Get("peer") + allowInsecure := u.Query().Get("allowInsecure") + sni := u.Query().Get("sni") + types := u.Query().Get("type") + path := u.Query().Get("path") + security := u.Query().Get("security") + fp := u.Query().Get("fp") + alpns := u.Query().Get("alpn") + alpn := strings.Split(alpns, ",") + if alpns == "" { + alpn = nil + } + host := u.Query().Get("host") + flow := u.Query().Get("flow") + name := u.Fragment + // 如果没有设置name,则使用hostname:port + if name == "" { + name = hostname + ":" + u.Port() + } + if CheckEnvironment() { + fmt.Println("password:", password) + fmt.Println("password:", u.User.Username()) + fmt.Println("hostname:", hostname) + fmt.Println("port:", port) + fmt.Println("peer:", peer) + fmt.Println("allowInsecure:", allowInsecure) + fmt.Println("sni:", sni) + fmt.Println("type:", types) + fmt.Println("path:", path) + fmt.Println("security:", security) + fmt.Println("fp:", fp) + fmt.Println("alpn:", alpn) + fmt.Println("host:", host) + fmt.Println("flow:", flow) + fmt.Println("name:", name) + } + return Trojan{ + Password: password, + Hostname: hostname, + Port: port, + Query: TrojanQuery{ + Peer: peer, + Type: types, + Path: path, + Security: security, + Fp: fp, + AllowInsecure: 0, + Alpn: alpn, + Sni: sni, + Host: host, + Flow: flow, + }, + Name: name, + Type: "trojan", + }, nil +} diff --git a/node/tuic.go b/node/tuic.go new file mode 100644 index 0000000000000000000000000000000000000000..9e3a6e5b8aa50cf1217367d3aa86f3318770ccfc --- /dev/null +++ b/node/tuic.go @@ -0,0 +1,77 @@ +package node + +import ( + "fmt" + "net/url" + "strconv" + "strings" +) + +type Tuic struct { + Name string + Password string + Host string + Port int + Uuid string + Congestion_control string + Alpn []string + Sni string + Udp_relay_mode string + Disable_sni int +} + +// Tuic 解码 +func DecodeTuicURL(s string) (Tuic, error) { + u, err := url.Parse(s) + if err != nil { + return Tuic{}, fmt.Errorf("解析失败的URL: %s", s) + } + if u.Scheme != "tuic" { + return Tuic{}, fmt.Errorf("非tuic协议: %s", s) + } + + uuid := u.User.Username() + password, _ := u.User.Password() + // log.Println(password) + // password = Base64Decode2(password) + server := u.Hostname() + port, _ := strconv.Atoi(u.Port()) + Congestioncontrol := u.Query().Get("Congestion_control") + alpns := u.Query().Get("alpn") + alpn := strings.Split(alpns, ",") + if alpns == "" { + alpn = nil + } + sni := u.Query().Get("sni") + Udprelay_mode := u.Query().Get("Udp_relay_mode") + Disablesni, _ := strconv.Atoi(u.Query().Get("Disable_sni")) + name := u.Fragment + // 如果没有设置 Name,则使用 Host:Port 作为 Fragment + if name == "" { + name = server + ":" + u.Port() + } + if CheckEnvironment() { + fmt.Println("password:", password) + fmt.Println("server:", server) + fmt.Println("port:", port) + fmt.Println("insecure:", Congestioncontrol) + fmt.Println("uuid:", uuid) + fmt.Println("Udprelay_mode:", Udprelay_mode) + fmt.Println("alpn:", alpn) + fmt.Println("sni:", sni) + fmt.Println("Disablesni:", Disablesni) + fmt.Println("name:", name) + } + return Tuic{ + Name: name, + Password: password, + Host: server, + Port: port, + Uuid: uuid, + Congestion_control: Congestioncontrol, + Alpn: alpn, + Sni: sni, + Udp_relay_mode: Udprelay_mode, + Disable_sni: Disablesni, + }, nil +} diff --git a/node/vless.go b/node/vless.go new file mode 100644 index 0000000000000000000000000000000000000000..4cecbe35d8a5a8d478243d24046b05dc792ad69c --- /dev/null +++ b/node/vless.go @@ -0,0 +1,172 @@ +package node + +import ( + "fmt" + "net/url" + "strconv" + "strings" +) + +type VLESS struct { + Name string `json:"name"` + Uuid string `json:"uuid"` + Server string `json:"server"` + Port int `json:"port"` + Query VLESSQuery `json:"query"` +} +type VLESSQuery struct { + Security string `json:"security"` + Alpn []string `json:"alpn"` + Sni string `json:"sni"` + Fp string `json:"fp"` + Sid string `json:"sid"` + Pbk string `json:"pbk"` + Flow string `json:"flow"` + Encryption string `json:"encryption"` + Type string `json:"type"` + HeaderType string `json:"headerType"` + Path string `json:"path"` + Host string `json:"host"` +} + +func CallVLESS() { + vless := VLESS{ + Name: "Sharon-香港", + Uuid: "6adb4f43-9813-45f4-abf8-772be7db08sd", + Server: "ss.com", + Port: 443, + Query: VLESSQuery{ + Security: "reality", + // Alpn: "", + Sni: "ss.com", + Fp: "chrome", + Sid: "", + Pbk: "g-oxbqigzCaXqARxuyD2_vbTYeMD9zn8wnTo02S69QM", + Flow: "xtls-rprx-vision", + Encryption: "none", + Type: "tcp", + HeaderType: "none", + Path: "", + Host: "", + }, + } + fmt.Println(EncodeVLESSURL(vless)) +} + +// vless编码 +func EncodeVLESSURL(v VLESS) string { + /* + base64(username@host:port?encryption=none&security=auto&type=tcp) + */ + u := url.URL{ + Scheme: "vless", + User: url.User(v.Uuid), + Host: fmt.Sprintf("%s:%d", v.Server, v.Port), + } + q := u.Query() + q.Set("security", v.Query.Security) + // q.Set("alpn", v.Query.Alpn) + q.Set("sni", v.Query.Sni) + q.Set("fp", v.Query.Fp) + q.Set("sid", v.Query.Sid) + q.Set("pbk", v.Query.Pbk) + q.Set("flow", v.Query.Flow) + q.Set("encryption", v.Query.Encryption) + q.Set("type", v.Query.Type) + q.Set("headerType", v.Query.HeaderType) + q.Set("path", v.Query.Path) + q.Set("host", v.Query.Host) + u.Fragment = v.Name + // 检查query是否有空值,有的话删除 + for k, v := range q { + if v[0] == "" { + delete(q, k) + // fmt.Printf("k: %v, v: %v\n", k, v) + } + } + u.RawQuery = q.Encode() + // 如果没有name则用服务器加端口 + if v.Name != "" { + u.Fragment = v.Server + ":" + strconv.Itoa(v.Port) + } + return u.String() +} + +// vless解码 +func DecodeVLESSURL(s string) (VLESS, error) { + /* + base64(username@host:port?encryption=none&security=auto&type=tcp) + */ + // 解析base64然后重新url编码 + if !strings.Contains(s, "vless://") { + return VLESS{}, fmt.Errorf("非vless协议: %s", s) + } + s = "vless://" + Base64Decode(strings.Split(s, "://")[1]) + // 解析url + u, err := url.Parse(s) + if err != nil { + return VLESS{}, fmt.Errorf("url parse error: %v", err) + } + uuid := u.User.Username() + hostname := u.Hostname() + port, _ := strconv.Atoi(u.Port()) + encryption := u.Query().Get("encryption") + security := u.Query().Get("security") + types := u.Query().Get("type") + flow := u.Query().Get("flow") + headerType := u.Query().Get("headerType") + pbk := u.Query().Get("pbk") + sid := u.Query().Get("sid") + fp := u.Query().Get("fp") + alpns := u.Query().Get("alpn") + alpn := strings.Split(alpns, ",") + if alpns == "" { + alpn = nil + } + sni := u.Query().Get("sni") + path := u.Query().Get("path") + host := u.Query().Get("host") + // 如果没有设置name,则使用hostname:port + name := u.Fragment + if name == "" { + name = hostname + ":" + u.Port() + } + if CheckEnvironment() { + fmt.Println("uuid:", uuid) + fmt.Println("hostname:", hostname) + fmt.Println("port:", port) + fmt.Println("encryption:", encryption) + fmt.Println("security:", security) + fmt.Println("type:", types) + fmt.Println("flow:", flow) + fmt.Println("headerType:", headerType) + fmt.Println("pbk:", pbk) + fmt.Println("sid:", sid) + fmt.Println("fp:", fp) + fmt.Println("alpn:", alpn) + fmt.Println("sni:", sni) + fmt.Println("path:", path) + fmt.Println("host:", host) + fmt.Println("name:", name) + } + return VLESS{ + Name: name, + Uuid: uuid, + Server: hostname, + Port: port, + Query: VLESSQuery{ + Security: security, + Alpn: alpn, + Sni: sni, + Fp: fp, + Sid: sid, + Pbk: pbk, + Flow: flow, + Encryption: encryption, + Type: types, + HeaderType: headerType, + Path: path, + Host: host, + }, + }, nil +} diff --git a/node/vmess.go b/node/vmess.go new file mode 100644 index 0000000000000000000000000000000000000000..f0ca8ac2713751e0153c5be0669fdc6ac1487363 --- /dev/null +++ b/node/vmess.go @@ -0,0 +1,93 @@ +package node + +import ( + "encoding/json" + "fmt" + "log" + "strings" +) + +type Vmess struct { + Add string `json:"add,omitempty"` // 服务器地址 + Aid interface{} `json:"aid,omitempty"` + Alpn string `json:"alpn,omitempty"` + Fp string `json:"fp,omitempty"` + Host string `json:"host,omitempty"` + Id string `json:"id,omitempty"` + Net string `json:"net,omitempty"` + Path string `json:"path,omitempty"` + Port interface{} `json:"port,omitempty"` + Ps string `json:"ps,omitempty"` + Scy string `json:"scy,omitempty"` + Sni string `json:"sni,omitempty"` + Tls string `json:"tls,omitempty"` + Type string `json:"type,omitempty"` + V string `json:"v,omitempty"` +} + +// 开发者测试 +func CallVmessURL() { + vmess := Vmess{ + Add: "xx.xxx.ru", + Port: "2095", + Aid: 0, + Scy: "auto", + Net: "ws", + Type: "none", + Id: "7a737f41-b792-4260-94ff-3d864da67380", + Host: "xx.xxx.ru", + Path: "/", + Tls: "", + } + fmt.Println(EncodeVmessURL(vmess)) +} + +// vmess 编码 +func EncodeVmessURL(v Vmess) string { + // 如果备注为空,则使用服务器地址+端口 + if v.Ps == "" { + v.Ps = v.Add + ":" + v.Port.(string) + } + // 如果版本为空,则默认为2 + if v.V == "" { + v.V = "2" + } + param, _ := json.Marshal(v) + return "vmess://" + Base64Encode(string(param)) +} + +// vmess 解码 +func DecodeVMESSURL(s string) (Vmess, error) { + if !strings.Contains(s, "vmess://") { + return Vmess{}, fmt.Errorf("非vmess协议:%s", s) + } + param := strings.Split(s, "://")[1] + param = Base64Decode(strings.TrimSpace(param)) + // fmt.Println(param) + var vmess Vmess + err := json.Unmarshal([]byte(param), &vmess) + if err != nil { + log.Println(err) + return Vmess{}, fmt.Errorf("json格式化失败:%s", param) + } + if vmess.Scy == "" { + vmess.Scy = "auto" + } + // 如果备注为空,则使用服务器地址+端口 + if vmess.Ps == "" { + vmess.Ps = vmess.Add + ":" + vmess.Port.(string) + } + if CheckEnvironment() { + fmt.Println("服务器地址", vmess.Add) + fmt.Println("端口", vmess.Port) + fmt.Println("path", vmess.Path) + fmt.Println("uuid", vmess.Id) + fmt.Println("alterId", vmess.Aid) + fmt.Println("cipher", vmess.Scy) + fmt.Println("client-fingerprint", vmess.Fp) + fmt.Println("network", vmess.Net) + fmt.Println("tls", vmess.Tls) + fmt.Println("备注", vmess.Ps) + } + return vmess, nil +} diff --git a/routers/clients.go b/routers/clients.go new file mode 100644 index 0000000000000000000000000000000000000000..2c58cf442e6c6582aa7916cfa6e28eec63278a0d --- /dev/null +++ b/routers/clients.go @@ -0,0 +1,20 @@ +package routers + +import ( + "sublink/api" + "sublink/middlewares" + + "github.com/gin-gonic/gin" +) + +func Clients(r *gin.Engine) { + ClientsGroup := r.Group("/c") + ClientsGroup.Use(middlewares.GetIp) + { + // ClientsGroup.GET("/v2ray/:subname", api.GetV2ray) + // ClientsGroup.GET("/clash/:subname", api.GetClash) + // ClientsGroup.GET("/surge/:subname", api.GetSurge) + ClientsGroup.GET("/", api.GetClient) + } + +} diff --git a/routers/index.go b/routers/index.go new file mode 100644 index 0000000000000000000000000000000000000000..9efba91cecef7612a32e390f2adb732460bd2858 --- /dev/null +++ b/routers/index.go @@ -0,0 +1,11 @@ +package routers + +// // 加载index.html +// func Index(r *gin.Engine) { +// TotalGroup := r.Group("/api/v1/total") +// { +// TotalGroup.GET("/sub", api.SubTotal) +// TotalGroup.GET("/node", api.NodesTotal) +// } + +// } diff --git a/routers/menus.go b/routers/menus.go new file mode 100644 index 0000000000000000000000000000000000000000..50bbb6e02f94c5bde2743c556c8144b41a163e70 --- /dev/null +++ b/routers/menus.go @@ -0,0 +1,15 @@ +package routers + +import ( + "sublink/api" + + "github.com/gin-gonic/gin" +) + +func Mentus(r *gin.Engine) { + MentusGroup := r.Group("/api/v1/menus") + { + // MentusGroup.GET("/menus", api.GetMenus) + MentusGroup.GET("/routes", api.GetMenus) + } +} diff --git a/routers/node.go b/routers/node.go new file mode 100644 index 0000000000000000000000000000000000000000..5900cd3f2d65a1989e98b916a4a715d53ad83d3e --- /dev/null +++ b/routers/node.go @@ -0,0 +1,18 @@ +package routers + +import ( + "sublink/api" + + "github.com/gin-gonic/gin" +) + +func Nodes(r *gin.Engine) { + NodesGroup := r.Group("/api/v1/nodes") + { + NodesGroup.POST("/add", api.NodeAdd) + NodesGroup.DELETE("/delete", api.NodeDel) + NodesGroup.GET("/get", api.NodeGet) + NodesGroup.POST("/update", api.NodeUpdadte) + } + +} diff --git a/routers/subcription.go b/routers/subcription.go new file mode 100644 index 0000000000000000000000000000000000000000..ec077ca3e88132590ab0b5df25dd6551cdc7b823 --- /dev/null +++ b/routers/subcription.go @@ -0,0 +1,18 @@ +package routers + +import ( + "sublink/api" + + "github.com/gin-gonic/gin" +) + +func Subcription(r *gin.Engine) { + SubcriptionGroup := r.Group("/api/v1/subcription") + { + SubcriptionGroup.POST("/add", api.SubAdd) + SubcriptionGroup.DELETE("/delete", api.SubDel) + SubcriptionGroup.GET("/get", api.SubGet) + SubcriptionGroup.POST("/update", api.SubUpdate) + } + +} diff --git a/routers/template.go b/routers/template.go new file mode 100644 index 0000000000000000000000000000000000000000..7944c995ed8931b09ebc13db60eb0868ae7f7e14 --- /dev/null +++ b/routers/template.go @@ -0,0 +1,18 @@ +package routers + +import ( + "sublink/api" + + "github.com/gin-gonic/gin" +) + +func Templates(r *gin.Engine) { + TempsGroup := r.Group("/api/v1/template") + { + TempsGroup.POST("/add", api.AddTemp) + TempsGroup.POST("/delete", api.DelTemp) + TempsGroup.GET("/get", api.GetTempS) + TempsGroup.POST("/update", api.UpdateTemp) + } + +} diff --git a/routers/total.go b/routers/total.go new file mode 100644 index 0000000000000000000000000000000000000000..09b81ef5cb9d66d60abdbfca9faa64d763ac0659 --- /dev/null +++ b/routers/total.go @@ -0,0 +1,16 @@ +package routers + +import ( + "sublink/api" + + "github.com/gin-gonic/gin" +) + +func Total(r *gin.Engine) { + TotalGroup := r.Group("/api/v1/total") + { + TotalGroup.GET("/sub", api.SubTotal) + TotalGroup.GET("/node", api.NodesTotal) + } + +} diff --git a/routers/user.go b/routers/user.go new file mode 100644 index 0000000000000000000000000000000000000000..a2aa2e5a606b89e6cde1c5779d6e71201e74a846 --- /dev/null +++ b/routers/user.go @@ -0,0 +1,22 @@ +package routers + +import ( + "sublink/api" + + "github.com/gin-gonic/gin" +) + +func User(r *gin.Engine) { + authGroup := r.Group("/api/v1/auth") + { + authGroup.POST("/login", api.UserLogin) + authGroup.DELETE("/logout", api.UserOut) + authGroup.GET("/captcha", api.GetCaptcha) + } + userGroup := r.Group("/api/v1/users") + { + userGroup.GET("/me", api.UserMe) + userGroup.GET("/page", api.UserPages) + userGroup.PATCH(":username/:password", api.UserSet) + } +} diff --git a/routers/version.go b/routers/version.go new file mode 100644 index 0000000000000000000000000000000000000000..3f2df6d040520199cfdf9b6f6eb73f3f99588f50 --- /dev/null +++ b/routers/version.go @@ -0,0 +1,14 @@ +package routers + +import "github.com/gin-gonic/gin" + +func Version(r *gin.Engine, version string) { + + r.GET("/api/v1/version", func(c *gin.Context) { + + c.JSON(200, gin.H{ + "code": "00000", + "data": version, + }) + }) +} diff --git a/settings/user.go b/settings/user.go new file mode 100644 index 0000000000000000000000000000000000000000..57552a750066e7f3b818adc589385c4c4963bd5a --- /dev/null +++ b/settings/user.go @@ -0,0 +1,35 @@ +package settings + +import ( + "log" + "sublink/models" +) + +// 重置默认用户 +func ResetUser(username string, password string) { + // 如果账号或者密码为空 + if username == "" || password == "" { + log.Println("账号或者密码不能为空") + return + } + if len(password) < 6 { + log.Println("密码不能小于6位数") + return + } + User := &models.User{} + // 获取所有用户 + users, err := User.All() + if err != nil { + log.Printf("用户存在") + } + // 遍历所有用户 + for _, user := range users { + // 删除所有用户 + user.Del() + } + + //打印输出 + log.Printf("账号%s,密码%s", username, password) + User = &models.User{Username: username, Password: password, Role: "admin", Nickname: "管理员"} + User.Create() +} diff --git a/static/avatar.gif b/static/avatar.gif new file mode 100644 index 0000000000000000000000000000000000000000..da683d3e7cab648333b1067c8a5abd49e367710c Binary files /dev/null and b/static/avatar.gif differ diff --git a/static/css/401.Vp_sG7yN.css b/static/css/401.Vp_sG7yN.css new file mode 100644 index 0000000000000000000000000000000000000000..472288190679551ac6f8b75e5552431775486328 --- /dev/null +++ b/static/css/401.Vp_sG7yN.css @@ -0,0 +1 @@ +@charset "UTF-8";[data-v-d53e86c4]:root{--menu-background: #304156;--menu-text: #bfcbd9;--menu-active-text: var(--el-menu-active-color);--menu-hover: #263445;--sidebar-logo-background: #2d3748}html.dark[data-v-d53e86c4]{--menu-background: var(--el-bg-color-overlay);--menu-text: #fff;--menu-active-text: var(--el-menu-active-color);--menu-hover: rgb(0 0 0 / 20%);--sidebar-logo-background: rgb(0 0 0 / 20%)}.errPage-container[data-v-d53e86c4]{width:800px;max-width:100%;margin:100px auto}.errPage-container .pan-back-btn[data-v-d53e86c4]{color:#fff;background:#008489;border:none!important}.errPage-container .pan-gif[data-v-d53e86c4]{display:block;margin:0 auto}.errPage-container .pan-img[data-v-d53e86c4]{display:block;width:100%;margin:0 auto}.errPage-container .text-jumbo[data-v-d53e86c4]{font-size:60px;font-weight:700;color:#484848}.errPage-container .list-unstyled[data-v-d53e86c4]{font-size:14px}.errPage-container .list-unstyled li[data-v-d53e86c4]{padding-bottom:5px}.errPage-container .list-unstyled a[data-v-d53e86c4]{color:#008489;text-decoration:none}.errPage-container .list-unstyled a[data-v-d53e86c4]:hover{text-decoration:underline} diff --git a/static/css/404.Bs5Vzklw.css b/static/css/404.Bs5Vzklw.css new file mode 100644 index 0000000000000000000000000000000000000000..16fe5a2259c2b5594547bdd9fab7a52350a900f9 --- /dev/null +++ b/static/css/404.Bs5Vzklw.css @@ -0,0 +1 @@ +@charset "UTF-8";[data-v-e103c145]:root{--menu-background: #304156;--menu-text: #bfcbd9;--menu-active-text: var(--el-menu-active-color);--menu-hover: #263445;--sidebar-logo-background: #2d3748}html.dark[data-v-e103c145]{--menu-background: var(--el-bg-color-overlay);--menu-text: #fff;--menu-active-text: var(--el-menu-active-color);--menu-hover: rgb(0 0 0 / 20%);--sidebar-logo-background: rgb(0 0 0 / 20%)}.wscn-http404-container[data-v-e103c145]{position:absolute;top:40%;left:50%;transform:translate(-50%,-50%)}.wscn-http404[data-v-e103c145]{position:relative;width:1200px;padding:0 50px;overflow:hidden}.wscn-http404 .pic-404[data-v-e103c145]{position:relative;float:left;width:600px;overflow:hidden}.wscn-http404 .pic-404__parent[data-v-e103c145]{width:100%}.wscn-http404 .pic-404__child[data-v-e103c145]{position:absolute}.wscn-http404 .pic-404__child.left[data-v-e103c145]{top:17px;left:220px;width:80px;opacity:0;animation-name:cloudLeft-e103c145;animation-duration:2s;animation-timing-function:linear;animation-delay:1s;animation-fill-mode:forwards}.wscn-http404 .pic-404__child.mid[data-v-e103c145]{top:10px;left:420px;width:46px;opacity:0;animation-name:cloudMid-e103c145;animation-duration:2s;animation-timing-function:linear;animation-delay:1.2s;animation-fill-mode:forwards}.wscn-http404 .pic-404__child.right[data-v-e103c145]{top:100px;left:500px;width:62px;opacity:0;animation-name:cloudRight-e103c145;animation-duration:2s;animation-timing-function:linear;animation-delay:1s;animation-fill-mode:forwards}@keyframes cloudLeft-e103c145{0%{top:17px;left:220px;opacity:0}20%{top:33px;left:188px;opacity:1}80%{top:81px;left:92px;opacity:1}to{top:97px;left:60px;opacity:0}}@keyframes cloudMid-e103c145{0%{top:10px;left:420px;opacity:0}20%{top:40px;left:360px;opacity:1}70%{top:130px;left:180px;opacity:1}to{top:160px;left:120px;opacity:0}}@keyframes cloudRight-e103c145{0%{top:100px;left:500px;opacity:0}20%{top:120px;left:460px;opacity:1}80%{top:180px;left:340px;opacity:1}to{top:200px;left:300px;opacity:0}}.wscn-http404 .bullshit[data-v-e103c145]{position:relative;float:left;width:300px;padding:30px 0;overflow:hidden}.wscn-http404 .bullshit__oops[data-v-e103c145]{margin-bottom:20px;font-size:32px;font-weight:700;line-height:40px;color:#1482f0;opacity:0;animation-name:slideUp-e103c145;animation-duration:.5s;animation-fill-mode:forwards}.wscn-http404 .bullshit__headline[data-v-e103c145]{margin-bottom:10px;font-size:20px;font-weight:700;line-height:24px;color:#222;opacity:0;animation-name:slideUp-e103c145;animation-duration:.5s;animation-delay:.1s;animation-fill-mode:forwards}.wscn-http404 .bullshit__info[data-v-e103c145]{margin-bottom:30px;font-size:13px;line-height:21px;color:gray;opacity:0;animation-name:slideUp-e103c145;animation-duration:.5s;animation-delay:.2s;animation-fill-mode:forwards}.wscn-http404 .bullshit__return-home[data-v-e103c145]{display:block;float:left;width:110px;height:36px;font-size:14px;line-height:36px;color:#fff;text-align:center;cursor:pointer;background:#1482f0;border-radius:100px;opacity:0;animation-name:slideUp-e103c145;animation-duration:.5s;animation-delay:.3s;animation-fill-mode:forwards}@keyframes slideUp-e103c145{0%{opacity:0;transform:translateY(60px)}to{opacity:1;transform:translateY(0)}} diff --git a/static/css/BarChart.ulyVC4La.css b/static/css/BarChart.ulyVC4La.css new file mode 100644 index 0000000000000000000000000000000000000000..5fbcc12b53282a65bd75f8ae4d4377b6b081ee96 --- /dev/null +++ b/static/css/BarChart.ulyVC4La.css @@ -0,0 +1 @@ +@charset "UTF-8";[data-v-0b34e13d]:root{--menu-background: #304156;--menu-text: #bfcbd9;--menu-active-text: var(--el-menu-active-color);--menu-hover: #263445;--sidebar-logo-background: #2d3748}html.dark[data-v-0b34e13d]{--menu-background: var(--el-bg-color-overlay);--menu-text: #fff;--menu-active-text: var(--el-menu-active-color);--menu-hover: rgb(0 0 0 / 20%);--sidebar-logo-background: rgb(0 0 0 / 20%)}.title[data-v-0b34e13d]{display:flex;justify-content:space-between}.title .download[data-v-0b34e13d]{cursor:pointer}.title .download[data-v-0b34e13d]:hover{color:#409eff} diff --git a/static/css/apifox.CCvSwCIK.css b/static/css/apifox.CCvSwCIK.css new file mode 100644 index 0000000000000000000000000000000000000000..cf899d4b529379392717dc051ae48bbca20eac19 --- /dev/null +++ b/static/css/apifox.CCvSwCIK.css @@ -0,0 +1 @@ +@charset "UTF-8";[data-v-4ff6b735]:root{--menu-background: #304156;--menu-text: #bfcbd9;--menu-active-text: var(--el-menu-active-color);--menu-hover: #263445;--sidebar-logo-background: #2d3748}html.dark[data-v-4ff6b735]{--menu-background: var(--el-bg-color-overlay);--menu-text: #fff;--menu-active-text: var(--el-menu-active-color);--menu-hover: rgb(0 0 0 / 20%);--sidebar-logo-background: rgb(0 0 0 / 20%)}.app-container[data-v-4ff6b735]{height:calc(100vh - 50px)}.hasTagsView .app-container[data-v-4ff6b735]{height:calc(100vh - 84px)} diff --git a/static/css/el-alert.B9oGCRyi.css b/static/css/el-alert.B9oGCRyi.css new file mode 100644 index 0000000000000000000000000000000000000000..16906b7d07a09fc7205abd86e0c8c7bc6dd39cc0 --- /dev/null +++ b/static/css/el-alert.B9oGCRyi.css @@ -0,0 +1 @@ +.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} diff --git a/static/css/el-card.fwQOLwdi.css b/static/css/el-card.fwQOLwdi.css new file mode 100644 index 0000000000000000000000000000000000000000..2d9b34d6d9ce2bbf858c558eded18f17a1511149 --- /dev/null +++ b/static/css/el-card.fwQOLwdi.css @@ -0,0 +1 @@ +.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,.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)} diff --git a/static/css/el-col.Ds2mGN2S.css b/static/css/el-col.Ds2mGN2S.css new file mode 100644 index 0000000000000000000000000000000000000000..2b6877161d14b0bfd214ee7a0541dc975557b021 --- /dev/null +++ b/static/css/el-col.Ds2mGN2S.css @@ -0,0 +1 @@ +.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}[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}} diff --git a/static/css/el-dialog.DCGCHX2q.css b/static/css/el-dialog.DCGCHX2q.css new file mode 100644 index 0000000000000000000000000000000000000000..be49ae103eadcdf068bc5bb77493e04a197680a2 --- /dev/null +++ b/static/css/el-dialog.DCGCHX2q.css @@ -0,0 +1 @@ +: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-base);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;-moz-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}} diff --git a/static/css/el-form-item.uSAh9oyp.css b/static/css/el-form-item.uSAh9oyp.css new file mode 100644 index 0000000000000000000000000000000000000000..0534386472ec6358be59e31cb86e3ddf6bb132ec --- /dev/null +++ b/static/css/el-form-item.uSAh9oyp.css @@ -0,0 +1 @@ +.el-form{--el-form-label-font-size:var(--el-font-size-base);--el-form-inline-content-width:220px}.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-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-left .el-form-item__label{justify-content:flex-start}.el-form-item--label-top{display:block}.el-form-item--label-top .el-form-item__label{display:inline-block;height:auto;line-height:22px;margin-bottom:8px;text-align:left;vertical-align:middle}.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-group__append .el-input__validateIcon,.el-form-item.is-error .el-input-group__prepend .el-input__validateIcon{display:none}.el-form-item.is-error .el-input__validateIcon{color:var(--el-color-danger)}.el-form-item--feedback .el-input__validateIcon{display:inline-flex} diff --git a/static/css/el-image-viewer.BJ_nFYFt.css b/static/css/el-image-viewer.BJ_nFYFt.css new file mode 100644 index 0000000000000000000000000000000000000000..03541406b80e63801f38290090dd06a6d8e61845 --- /dev/null +++ b/static/css/el-image-viewer.BJ_nFYFt.css @@ -0,0 +1 @@ +.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-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;-moz-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;-moz-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)}} diff --git a/static/css/el-link.Dkj8bMmD.css b/static/css/el-link.Dkj8bMmD.css new file mode 100644 index 0000000000000000000000000000000000000000..218976c77aaf7ac950097420253695b36e7a8078 --- /dev/null +++ b/static/css/el-link.Dkj8bMmD.css @@ -0,0 +1 @@ +.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.is-underline:hover:after,.el-link.el-link--primary: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.is-underline:hover:after,.el-link.el-link--success: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.is-underline:hover:after,.el-link.el-link--warning: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.is-underline:hover:after,.el-link.el-link--danger: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.is-underline:hover:after,.el-link.el-link--error: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.is-underline:hover:after,.el-link.el-link--info:after{border-color:var(--el-link-text-color)} diff --git a/static/css/el-popper.DG5wR-qi.css b/static/css/el-popper.DG5wR-qi.css new file mode 100644 index 0000000000000000000000000000000000000000..e171dc94bfa8531a9d735073cc4782c95f838367 --- /dev/null +++ b/static/css/el-popper.DG5wR-qi.css @@ -0,0 +1 @@ +.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{color:var(--el-bg-color)}.el-popper.is-dark,.el-popper.is-dark>.el-popper__arrow:before{background:var(--el-text-color-primary);border:1px solid var(--el-text-color-primary)}.el-popper.is-dark>.el-popper__arrow:before{right:0}.el-popper.is-light,.el-popper.is-light>.el-popper__arrow:before{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light)}.el-popper.is-light>.el-popper__arrow:before{right:0}.el-popper.is-pure{padding:0}.el-popper__arrow,.el-popper__arrow:before{height:10px;position:absolute;width:10px;z-index:-1}.el-popper__arrow:before{background:var(--el-text-color-primary);box-sizing:border-box;content:" ";transform:rotate(45deg)}.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} diff --git a/static/css/el-scrollbar.BWxh-h6K.css b/static/css/el-scrollbar.BWxh-h6K.css new file mode 100644 index 0000000000000000000000000000000000000000..f06aa043f386ce486821e0b1fb29dbb5ecf40a44 --- /dev/null +++ b/static/css/el-scrollbar.BWxh-h6K.css @@ -0,0 +1 @@ +.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} diff --git a/static/css/el-select.BaQA8IKP.css b/static/css/el-select.BaQA8IKP.css new file mode 100644 index 0000000000000000000000000000000000000000..8c6771b6af358cdaf4dd244bf79540d7cfb4ed60 --- /dev/null +++ b/static/css/el-select.BaQA8IKP.css @@ -0,0 +1 @@ +.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;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{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;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{box-sizing:border-box;color:var(--el-color-info);font-size:12px;line-height:34px;overflow:hidden;padding:0 20px;text-overflow:ellipsis;white-space:nowrap}.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;transform:translateZ(0);transition:var(--el-transition-duration)}.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);color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select__wrapper.is-disabled,.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--plain{border-color:var(--el-tag-border-color)}.el-select__selection .el-tag .el-tag__content{min-width:0}.el-select__selected-item{display:flex;flex-wrap:wrap;-webkit-user-select:none;-moz-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;-moz-user-select:none;user-select:none}.el-select__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-select__popper.el-popper,.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;-moz-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} diff --git a/static/css/el-switch.CG96k8Rh.css b/static/css/el-switch.CG96k8Rh.css new file mode 100644 index 0000000000000000000000000000000000000000..a0537ddb003320ecc429eb1d6731f00490cabbc6 --- /dev/null +++ b/static/css/el-switch.CG96k8Rh.css @@ -0,0 +1 @@ +.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.is-active,.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-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-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);box-shadow:var(--el-dropdown-menu-box-shadow)}.el-dropdown__popper.el-popper,.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-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;-moz-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} diff --git a/static/css/el-table-column.BfJ1jZWA.css b/static/css/el-table-column.BfJ1jZWA.css new file mode 100644 index 0000000000000000000000000000000000000000..2798ea39132caab7c7141a6aa5b030dc9dc516f9 --- /dev/null +++ b/static/css/el-table-column.BfJ1jZWA.css @@ -0,0 +1 @@ +.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-button-width-large:40px;--el-pagination-button-height-large:40px;--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.is-active,.el-pagination button:hover{color:var(--el-pagination-hover-color)}.el-pagination button.is-active{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-pagination--large .btn-next,.el-pagination--large .btn-prev,.el-pagination--large .el-pager li{height:var(--el-pagination-button-height-large);line-height:var(--el-pagination-button-height-large);min-width:var(--el-pagination-button-width-large)}.el-pagination--large .el-select .el-input{width:160px}.el-pager{font-size:0;list-style:none;margin:0;padding:0;-webkit-user-select:none;-moz-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.is-active,.el-pager li:hover{color:var(--el-pagination-hover-color)}.el-pager li.is-active{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-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:-moz-fit-content;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}.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;-moz-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--fit .el-table__inner-wrapper:before{width:100%}.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,.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-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;-moz-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}.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} diff --git a/static/css/el-tabs.BURcj4qt.css b/static/css/el-tabs.BURcj4qt.css new file mode 100644 index 0000000000000000000000000000000000000000..53c674ee4e899c9845a0afb5b777494312cb95c9 --- /dev/null +++ b/static/css/el-tabs.BURcj4qt.css @@ -0,0 +1 @@ +.el-tabs{--el-tabs-header-height:40px;display:flex}.el-tabs__header{align-items:center;display:flex;justify-content:space-between;margin:0 0 15px;padding:0;position:relative}.el-tabs__header-vertical{flex-direction:column}.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;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__new-tab-vertical{margin-left:0}.el-tabs__nav-wrap{flex:1 auto;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,.el-tabs__item:hover{color:var(--el-color-primary)}.el-tabs__item:hover{cursor:pointer}.el-tabs__item.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-tabs__content{flex-grow:1;overflow:hidden;position:relative}.el-tabs--bottom>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:0}.el-tabs--bottom>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top>.el-tabs__header .el-tabs__item:last-child{padding-right:0}.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--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--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--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--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+.el-tabs__item,.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.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{flex-direction:column}.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{flex-direction:row-reverse}.el-tabs--left .el-tabs__header.is-left{margin-bottom:0;margin-right:10px}.el-tabs--left .el-tabs__nav-wrap.is-left{margin-right:-1px}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__nav-wrap.is-left:after{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{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}.el-tabs--top{flex-direction:column-reverse}.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}} diff --git a/static/css/el-tag.DljBBxJR.css b/static/css/el-tag.DljBBxJR.css new file mode 100644 index 0000000000000000000000000000000000000000..3d53e9809840e8b3612d9d6df1430f93c7a85fc9 --- /dev/null +++ b/static/css/el-tag.DljBBxJR.css @@ -0,0 +1 @@ +.el-tag{--el-tag-font-size:12px;--el-tag-border-radius:4px;--el-tag-border-radius-rounded:9999px;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.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.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-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 .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-text-color:var(--el-color-white)}.el-tag--dark,.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--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)} diff --git a/static/css/icon-selector.CD4iaxzs.css b/static/css/icon-selector.CD4iaxzs.css new file mode 100644 index 0000000000000000000000000000000000000000..f81c7d66e2dca3ba4dcdcc09a7561e7352d148dd --- /dev/null +++ b/static/css/icon-selector.CD4iaxzs.css @@ -0,0 +1 @@ +@charset "UTF-8";.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}[data-v-4c8c9009]:root{--menu-background: #304156;--menu-text: #bfcbd9;--menu-active-text: var(--el-menu-active-color);--menu-hover: #263445;--sidebar-logo-background: #2d3748}html.dark[data-v-4c8c9009]{--menu-background: var(--el-bg-color-overlay);--menu-text: #fff;--menu-active-text: var(--el-menu-active-color);--menu-hover: rgb(0 0 0 / 20%);--sidebar-logo-background: rgb(0 0 0 / 20%)}.icon-item[data-v-4c8c9009]{display:flex;align-items:center;justify-content:center;padding:8px;margin:4px;cursor:pointer;border:1px solid #dcdfe6;border-radius:4px;transition:all .3s}.icon-item[data-v-4c8c9009]:hover{border-color:#409eff;scale:1.2} diff --git a/static/css/icons.CBhJQ2Ib.css b/static/css/icons.CBhJQ2Ib.css new file mode 100644 index 0000000000000000000000000000000000000000..34528a91695c2a9fb7dd49f5734e82efb966c674 --- /dev/null +++ b/static/css/icons.CBhJQ2Ib.css @@ -0,0 +1 @@ +@charset "UTF-8";[data-v-e1dbd652]:root{--menu-background: #304156;--menu-text: #bfcbd9;--menu-active-text: var(--el-menu-active-color);--menu-hover: #263445;--sidebar-logo-background: #2d3748}html.dark[data-v-e1dbd652]{--menu-background: var(--el-bg-color-overlay);--menu-text: #fff;--menu-active-text: var(--el-menu-active-color);--menu-hover: rgb(0 0 0 / 20%);--sidebar-logo-background: rgb(0 0 0 / 20%)}.icons-container[data-v-e1dbd652]{margin:10px 20px 0;overflow:hidden}.icons-container .grid[data-v-e1dbd652]{position:relative;display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.icons-container .icon-item[data-v-e1dbd652]{float:left;width:100px;height:85px;margin:20px;font-size:30px;color:var(--el-text-color-regular);text-align:center;cursor:pointer}.icons-container span[data-v-e1dbd652]{display:block;margin-top:10px;font-size:16px}.icons-container .disabled[data-v-e1dbd652]{pointer-events:none} diff --git a/static/css/index.B4dlp3f2.css b/static/css/index.B4dlp3f2.css new file mode 100644 index 0000000000000000000000000000000000000000..13d098ad6e5c3488727a15e5f246aa5aacd7fb5e --- /dev/null +++ b/static/css/index.B4dlp3f2.css @@ -0,0 +1 @@ +.svg-icon[data-v-52fbbe93]{display:inline-block;width:1em;height:1em;overflow:hidden;vertical-align:-.15em;outline:none;fill:currentcolor} diff --git a/static/css/index.Byi5FQj0.css b/static/css/index.Byi5FQj0.css new file mode 100644 index 0000000000000000000000000000000000000000..e112a2b70b366155bc463df5fd51b4ea12c4713b --- /dev/null +++ b/static/css/index.Byi5FQj0.css @@ -0,0 +1 @@ +@charset "UTF-8";.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}.github-corner:hover .octo-arm[data-v-b6c728e1]{animation:octocat-wave-b6c728e1 .56s ease-in-out}@keyframes octocat-wave-b6c728e1{0%,to{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (width <= 500px){.github-corner .octo-arm[data-v-b6c728e1]{animation:octocat-wave-b6c728e1 .56s ease-in-out}.github-corner:hover .octo-arm[data-v-b6c728e1]{animation:none}}[data-v-845b4997]:root{--menu-background: #304156;--menu-text: #bfcbd9;--menu-active-text: var(--el-menu-active-color);--menu-hover: #263445;--sidebar-logo-background: #2d3748}html.dark[data-v-845b4997]{--menu-background: var(--el-bg-color-overlay);--menu-text: #fff;--menu-active-text: var(--el-menu-active-color);--menu-hover: rgb(0 0 0 / 20%);--sidebar-logo-background: rgb(0 0 0 / 20%)}.dashboard-container[data-v-845b4997]{position:relative;padding:24px}.dashboard-container .user-avatar[data-v-845b4997]{width:40px;height:40px;border-radius:50%}.dashboard-container .github-corner[data-v-845b4997]{position:absolute;top:0;right:0;z-index:1;border:0}.dashboard-container .data-box[data-v-845b4997]{display:flex;justify-content:space-between;padding:20px;font-weight:700;color:var(--el-text-color-regular);background:var(--el-bg-color-overlay);border-color:var(--el-border-color);box-shadow:var(--el-box-shadow-dark)}.dashboard-container .svg-icon[data-v-845b4997]{fill:currentcolor!important} diff --git a/static/css/index.CJKN3zBj.css b/static/css/index.CJKN3zBj.css new file mode 100644 index 0000000000000000000000000000000000000000..13b6637e0bd89fb85f3a4fa640e5c1016a25c8ef --- /dev/null +++ b/static/css/index.CJKN3zBj.css @@ -0,0 +1,7 @@ +@charset "UTF-8";: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;color-scheme:light;--el-color-primary:#409eff;--el-color-primary-light-3:rgb(121.3,187.1,255);--el-color-primary-light-5:rgb(159.5,206.5,255);--el-color-primary-light-7:rgb(197.7,225.9,255);--el-color-primary-light-8:rgb(216.8,235.6,255);--el-color-primary-light-9:rgb(235.9,245.3,255);--el-color-primary-dark-2:rgb(51.2,126.4,204);--el-color-success:#67c23a;--el-color-success-light-3:rgb(148.6,212.3,117.1);--el-color-success-light-5:rgb(179,224.5,156.5);--el-color-success-light-7:rgb(209.4,236.7,195.9);--el-color-success-light-8:rgb(224.6,242.8,215.6);--el-color-success-light-9:rgb(239.8,248.9,235.3);--el-color-success-dark-2:rgb(82.4,155.2,46.4);--el-color-warning:#e6a23c;--el-color-warning-light-3:rgb(237.5,189.9,118.5);--el-color-warning-light-5:rgb(242.5,208.5,157.5);--el-color-warning-light-7:rgb(247.5,227.1,196.5);--el-color-warning-light-8:rgb(250,236.4,216);--el-color-warning-light-9:rgb(252.5,245.7,235.5);--el-color-warning-dark-2:rgb(184,129.6,48);--el-color-danger:#f56c6c;--el-color-danger-light-3:rgb(248,152.1,152.1);--el-color-danger-light-5:rgb(250,181.5,181.5);--el-color-danger-light-7:rgb(252,210.9,210.9);--el-color-danger-light-8:rgb(253,225.6,225.6);--el-color-danger-light-9:rgb(254,240.3,240.3);--el-color-danger-dark-2:rgb(196,86.4,86.4);--el-color-error:#f56c6c;--el-color-error-light-3:rgb(248,152.1,152.1);--el-color-error-light-5:rgb(250,181.5,181.5);--el-color-error-light-7:rgb(252,210.9,210.9);--el-color-error-light-8:rgb(253,225.6,225.6);--el-color-error-light-9:rgb(254,240.3,240.3);--el-color-error-dark-2:rgb(196,86.4,86.4);--el-color-info:#909399;--el-color-info-light-3:rgb(177.3,179.4,183.6);--el-color-info-light-5:rgb(199.5,201,204);--el-color-info-light-7:rgb(221.7,222.6,224.4);--el-color-info-light-8:rgb(232.8,233.4,234.6);--el-color-info-light-9:rgb(243.9,244.2,244.8);--el-color-info-dark-2:rgb(115.2,117.6,122.4);--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-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:-moz-fit-content;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.is-hide-zero{display:none}.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-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:-moz-fit-content;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%)}: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-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;-moz-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,.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-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);box-sizing:border-box;color:var(--el-button-text-color);cursor:pointer;display:inline-flex;font-weight:var(--el-button-font-weight);height:32px;justify-content:center;line-height:1;outline:none;text-align:center;transition:.1s;-webkit-user-select:none;-moz-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{border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base)}.el-button,.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):active,.el-button.is-link:not(.is-disabled):hover{background-color:transparent;border-color:transparent}.el-button.is-link:not(.is-disabled):active{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;height:var(--el-button-size)}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large{border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base);padding:12px 19px}.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;height:var(--el-button-size)}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small{border-radius:calc(var(--el-border-radius-base) - 1px);font-size:12px;padding:5px 11px}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{padding:5px;width:var(--el-button-size)}.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::-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{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::-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-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::-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__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::-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{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-left: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,.el-input-group__append{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-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}#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;-webkit-transform:rotate(3deg) translate(0px,-4px);-ms-transform:rotate(3deg) translate(0px,-4px);transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:solid 2px transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}html.dark{color-scheme:dark;--el-color-primary:#409eff;--el-color-primary-light-3:rgb(50.8,116.6,184.5);--el-color-primary-light-5:rgb(42,89,137.5);--el-color-primary-light-7:rgb(33.2,61.4,90.5);--el-color-primary-light-8:rgb(28.8,47.6,67);--el-color-primary-light-9:rgb(24.4,33.8,43.5);--el-color-primary-dark-2:rgb(102.2,177.4,255);--el-color-success:#67c23a;--el-color-success-light-3:rgb(78.1,141.8,46.6);--el-color-success-light-5:rgb(61.5,107,39);--el-color-success-light-7:rgb(44.9,72.2,31.4);--el-color-success-light-8:rgb(36.6,54.8,27.6);--el-color-success-light-9:rgb(28.3,37.4,23.8);--el-color-success-dark-2:rgb(133.4,206.2,97.4);--el-color-warning:#e6a23c;--el-color-warning-light-3:rgb(167,119.4,48);--el-color-warning-light-5:#7d5b28;--el-color-warning-light-7:rgb(83,62.6,32);--el-color-warning-light-8:rgb(62,48.4,28);--el-color-warning-light-9:rgb(41,34.2,24);--el-color-warning-dark-2:rgb(235,180.6,99);--el-color-danger:#f56c6c;--el-color-danger-light-3:rgb(177.5,81.6,81.6);--el-color-danger-light-5:rgb(132.5,64,64);--el-color-danger-light-7:rgb(87.5,46.4,46.4);--el-color-danger-light-8:rgb(65,37.6,37.6);--el-color-danger-light-9:rgb(42.5,28.8,28.8);--el-color-danger-dark-2:rgb(247,137.4,137.4);--el-color-error:#f56c6c;--el-color-error-light-3:rgb(177.5,81.6,81.6);--el-color-error-light-5:rgb(132.5,64,64);--el-color-error-light-7:rgb(87.5,46.4,46.4);--el-color-error-light-8:rgb(65,37.6,37.6);--el-color-error-light-9:rgb(42.5,28.8,28.8);--el-color-error-dark-2:rgb(247,137.4,137.4);--el-color-info:#909399;--el-color-info-light-3:rgb(106.8,108.9,113.1);--el-color-info-light-5:rgb(82,83.5,86.5);--el-color-info-light-7:rgb(57.2,58.1,59.9);--el-color-info-light-8:rgb(44.8,45.4,46.6);--el-color-info-light-9:rgb(32.4,32.7,33.3);--el-color-info-dark-2:rgb(166.2,168.6,173.4);--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}:root{--menu-background: #304156;--menu-text: #bfcbd9;--menu-active-text: var(--el-menu-active-color);--menu-hover: #263445;--sidebar-logo-background: #2d3748}html.dark{--menu-background: var(--el-bg-color-overlay);--menu-text: #fff;--menu-active-text: var(--el-menu-active-color);--menu-hover: rgb(0 0 0 / 20%);--sidebar-logo-background: rgb(0 0 0 / 20%)}*,:before,:after{box-sizing:border-box;border-color:currentcolor;border-style:solid;border-width:0}#app{width:100%;height:100%}html{box-sizing:border-box;width:100%;height:100%;line-height:1.5;-moz-tab-size:4;tab-size:4;text-size-adjust:100%}body{width:100%;height:100%;margin:0;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,微软雅黑,Arial,sans-serif;line-height:inherit;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility}a{color:inherit;text-decoration:inherit}img,svg{display:inline-block}svg{vertical-align:-.15em}ul,li{padding:0;margin:0;list-style:none}*,*:before,*:after{box-sizing:inherit}a,a:focus,a:hover{color:inherit;text-decoration:none;cursor:pointer}a:focus,a:active,div:focus{outline:none}.app-container{padding:10px}.search-container{padding:18px 0 0 10px;margin-bottom:10px;background-color:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);border-radius:4px;box-shadow:var(--el-box-shadow-light)}.table-container>.el-card__header{padding:calc(var(--el-card-padding) - 8px) var(--el-card-padding)}.link-type,.link-type:focus{color:#337ab7;cursor:pointer}.link-type:hover,.link-type:focus:hover{color:#20a0ff}*,: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: }.i-ep-caret-bottom{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' 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;width:1em;height:1em}.i-ep-caret-top{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M512 320L192 704h639.936z'/%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;width:1em;height:1em}.i-ep-close{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M764.288 214.592L512 466.88L259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512L214.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'/%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;width:1em;height:1em}.i-ep-download{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696l236.288-236.352l45.248 45.248L508.8 704L192 387.2l45.248-45.248L480 584.704V128h64z'/%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;width:1em;height:1em}.i-ep-plus{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath 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'/%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;width:1em;height:1em}.container{width:100%}.absolute-lt{position:absolute;left:0;top:0}.absolute-rt{position:absolute;right:0;top:0}.fixed-lt{position:fixed;left:0;top:0}[absolute-rt~="default:"]:default{position:absolute;right:0;top:0}.wh-full{width:100%;height:100%}.flex-center{display:flex;align-items:center;justify-content:center}.flex-x-between{display:flex;align-items:center;justify-content:space-between}.flex-x-end{display:flex;align-items:center;justify-content:flex-end}.flex-y-center{display:flex;align-items:center}@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}}.visible{visibility:visible}.absolute{position:absolute}.fixed,[fixed=""]{position:fixed}.relative{position:relative}.z-999{z-index:999}.grid{display:grid}[rows~="10"]{grid-template-rows:repeat(10,minmax(0,1fr))}.m-4{margin:1rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mb-\[20px\]{margin-bottom:20px}.mb-10{margin-bottom:2.5rem}.ml-1{margin-left:.25rem}.ml-2,[ml-2=""]{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.mr-10px{margin-right:10px}.mr-5,[mr-5=""]{margin-right:1.25rem}.mt-5{margin-top:1.25rem}[ms=""]{margin-inline-start:1rem}[ml-4~="default:"]:default{margin-left:1rem}.block{display:block}.inline-block{display:inline-block}.hidden{display:none}[size~="12px"]{width:12px;height:12px}[size~="20"]{width:5rem;height:5rem}[size~="200"]{width:50rem;height:50rem}[size~="20px"]{width:20px;height:20px}[size~="300"]{width:75rem;height:75rem}.h-\[48px\]{height:48px}.h-12{height:3rem}.h-20,[h-20=""]{height:5rem}.h-full,.h100\%{height:100%}.h1{height:.25rem}.h2{height:.5rem}.h3{height:.75rem}.h6{height:1.5rem}.w-100,[w-100=""]{width:25rem}.w-20,[w-20=""]{width:5rem}.w-220px{width:220px}.w-full,[w-full=""]{width:100%}.w24px{width:24px}[h2~="default:"]:default{height:.5rem}.flex{display:flex}.flex-1{flex:1 1 0%}[flex-1~="placeholder:"]::placeholder{flex:1 1 0%}.flex-shrink{flex-shrink:1}.flex-wrap{flex-wrap:wrap}.table{display:table}.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-pointer,[cursor-pointer=""]{cursor:pointer}.resize{resize:both}.items-center{align-items:center}.justify-center{justify-content:center}.justify-around{justify-content:space-around}.border,[border=""]{border-width:1px}.\!rounded-4\%,[\!rounded-4\%=""]{border-radius:4%!important}.rounded-full{border-radius:9999px}.rounded-br-md,[rounded-br-md=""]{border-bottom-right-radius:.375rem}.rounded-tr-md,[rounded-tr-md=""]{border-top-right-radius:.375rem}.\!border-none,[\!border-none=""]{border-style:none!important}.\!bg-transparent,[\!bg-transparent=""]{background-color:transparent!important}.bg-black{--un-bg-opacity:1;background-color:rgb(0 0 0 / var(--un-bg-opacity))}.bg-opacity-30{--un-bg-opacity:.3}.p-3{padding:.75rem}.p10px{padding:10px}.px,[px=""]{padding-left:1rem;padding-right:1rem}.px-\[15px\]{padding-left:15px;padding-right:15px}.px-1{padding-left:.25rem;padding-right:.25rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.pr-2{padding-right:.5rem}.pie{padding-inline-end:1rem}.text-center{text-align:center}.text-right{text-align:right}.text-\[16px\]{font-size:16px}.text-sm,[text-sm=""]{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-\[\#999\]{--un-text-opacity:1;color:rgb(153 153 153 / var(--un-text-opacity))}.color-gray-400,.text-gray{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity))}.color-\[var\(--el-text-color-regular\)\]{color:var(--el-text-color-regular)}.color-\#333{--un-text-opacity:1;color:rgb(51 51 51 / var(--un-text-opacity))}.leading-\[32px\]{line-height:32px}.italic{font-style:italic}.underline{text-decoration-line:underline}.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)}.outline{outline-style:solid}.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)}.transition{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}.ease-in-out,[ease-in-out=""]{transition-timing-function:cubic-bezier(.4,0,.2,1)}[content~="$t("]{content:var(--t\()}[placeholder~="$t("]::placeholder{color:var(--t\()}@media (max-width: 639.9px){.\:first-child{flex:1}.el-drawer__title{flex:1;font-size:16px;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{background-color:transparent!important}.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%)}.layout-selector[data-v-d50a3d59]{display:flex;flex-wrap:wrap;justify-content:space-around;width:100%;height:50px}.layout-item[data-v-d50a3d59]{position:relative;width:18%;height:45px;overflow:hidden;cursor:pointer;background:#f0f2f5;border-radius:4px}.layout-item.mix div[data-v-d50a3d59]:nth-child(1),.layout-item.top div[data-v-d50a3d59]:nth-child(1){width:100%;height:30%;background:#1b2a47;box-shadow:0 0 1px #888}.layout-item.mix div[data-v-d50a3d59]:nth-child(2){position:absolute;bottom:0;left:0;width:30%;height:70%;background:#1b2a47;box-shadow:0 0 1px #888}.layout-item.left div[data-v-d50a3d59]:nth-child(1){width:30%;height:100%;background:#1b2a47}.layout-item.left div[data-v-d50a3d59]:nth-child(2){position:absolute;top:0;right:0;width:70%;height:30%;background:#fff;box-shadow:0 0 1px #888}.layout-item.is-active[data-v-d50a3d59]{border:2px solid var(--el-color-primary)}.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 #0009;box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-hue-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.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,#fff0)}.el-color-svpanel__black{background:linear-gradient(0deg,#000,#0000)}.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 #0000004d,0 0 1px 2px #0006;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 #0009;box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-alpha-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.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,#fff0 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:#ffffffb3;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}[data-v-ba641afc] .theme-picker-dropdown{z-index:99999!important}.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%)}[data-v-ba435d62]:root{--menu-background: #304156;--menu-text: #bfcbd9;--menu-active-text: var(--el-menu-active-color);--menu-hover: #263445;--sidebar-logo-background: #2d3748}html.dark[data-v-ba435d62]{--menu-background: var(--el-bg-color-overlay);--menu-text: #fff;--menu-active-text: var(--el-menu-active-color);--menu-hover: rgb(0 0 0 / 20%);--sidebar-logo-background: rgb(0 0 0 / 20%)}.settings-option[data-v-ba435d62]{display:flex;align-items:center;justify-content:space-between;padding-top:.25rem;padding-bottom:.25rem}[data-v-33b10881]:root{--menu-background: #304156;--menu-text: #bfcbd9;--menu-active-text: var(--el-menu-active-color);--menu-hover: #263445;--sidebar-logo-background: #2d3748}html.dark[data-v-33b10881]{--menu-background: var(--el-bg-color-overlay);--menu-text: #fff;--menu-active-text: var(--el-menu-active-color);--menu-hover: rgb(0 0 0 / 20%);--sidebar-logo-background: rgb(0 0 0 / 20%)}.app-main[data-v-33b10881]{position:relative;width:100%;min-height:calc(100vh - 50px);overflow:hidden;background-color:var(--el-bg-color-page)}.hasTagsView .app-main[data-v-33b10881]{min-height:calc(100vh - 84px)}.fixed-header+.app-main[data-v-33b10881]{min-height:100vh;padding-top:50px}.hasTagsView .fixed-header+.app-main[data-v-33b10881]{min-height:100vh;padding-top:84px}.layout-mix .fixed-header+.app-main[data-v-33b10881],.layout-top .fixed-header+.app-main[data-v-33b10881]{padding-top:0}.layout-mix .app-main[data-v-33b10881]{height:calc(100vh - 50px);padding-top:0;overflow-y:auto}.layout-mix .hasTagsView .app-main[data-v-33b10881]{height:calc(100vh - 84px);min-height:calc(100vh - 84px)}.layout-mix .fixed-header+.app-main[data-v-33b10881]{min-height:calc(100vh - 50px)}.layout-mix .hasTagsView .fixed-header+.app-main[data-v-33b10881]{height:calc(100vh - 50px);min-height:calc(100vh - 50px);padding-top:34px}.layout-top .hasTagsView .fixed-header+.app-main[data-v-33b10881]{padding-top:34px}[data-v-d974bf46]:root{--menu-background: #304156;--menu-text: #bfcbd9;--menu-active-text: var(--el-menu-active-color);--menu-hover: #263445;--sidebar-logo-background: #2d3748}html.dark[data-v-d974bf46]{--menu-background: var(--el-bg-color-overlay);--menu-text: #fff;--menu-active-text: var(--el-menu-active-color);--menu-hover: rgb(0 0 0 / 20%);--sidebar-logo-background: rgb(0 0 0 / 20%)}.tags-container[data-v-d974bf46]{width:100%;height:34px;background-color:var(--el-bg-color);border:1px solid var(--el-border-color-light);box-shadow:0 1px 1px var(--el-box-shadow-light)}.tags-container .tags-item[data-v-d974bf46]{display:inline-block;padding:3px 8px;margin:4px 0 0 5px;font-size:12px;cursor:pointer;border:1px solid var(--el-border-color-light)}.tags-container .tags-item[data-v-d974bf46]:hover{color:var(--el-color-primary)}.tags-container .tags-item[data-v-d974bf46]:first-of-type{margin-left:15px}.tags-container .tags-item[data-v-d974bf46]:last-of-type{margin-right:15px}.tags-container .tags-item .close-icon[data-v-d974bf46]{border-radius:50%}.tags-container .tags-item .close-icon[data-v-d974bf46]:hover,.tags-container .tags-item.active[data-v-d974bf46]{color:#fff;background-color:var(--el-color-primary)}.tags-container .tags-item.active[data-v-d974bf46]:before{display:inline-block;width:8px;height:8px;margin-right:5px;content:"";background:#fff;border-radius:50%}.tags-container .tags-item.active .close-icon[data-v-d974bf46]:hover{color:var(--el-color-primary);background-color:var(--el-fill-color-light)}.contextmenu[data-v-d974bf46]{position:absolute;z-index:99;font-size:12px;background:var(--el-bg-color-overlay);border-radius:4px;box-shadow:var(--el-box-shadow-light)}.contextmenu li[data-v-d974bf46]{padding:8px 16px;cursor:pointer}.contextmenu li[data-v-d974bf46]:hover{background:var(--el-fill-color-light)}.scroll-container[data-v-d974bf46]{position:relative;width:100%;overflow:hidden;white-space:nowrap}.scroll-container .el-scrollbar__bar[data-v-d974bf46]{bottom:0}.scroll-container .el-scrollbar__wrap[data-v-d974bf46]{height:49px}.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)}: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)}[data-v-a3441e49]:root{--menu-background: #304156;--menu-text: #bfcbd9;--menu-active-text: var(--el-menu-active-color);--menu-hover: #263445;--sidebar-logo-background: #2d3748}html.dark[data-v-a3441e49]{--menu-background: var(--el-bg-color-overlay);--menu-text: #fff;--menu-active-text: var(--el-menu-active-color);--menu-hover: rgb(0 0 0 / 20%);--sidebar-logo-background: rgb(0 0 0 / 20%)}.sub-el-icon[data-v-a3441e49]{width:14px!important;margin-right:0!important;font-size:14px!important;color:currentcolor}.hideSidebar .el-sub-menu .svg-icon[data-v-a3441e49],.hideSidebar .el-sub-menu .sub-el-icon[data-v-a3441e49],.hideSidebar .el-menu-item .svg-icon[data-v-a3441e49],.hideSidebar .el-menu-item .sub-el-icon[data-v-a3441e49]{margin-left:20px}html.dark{--menu-background: var(--el-bg-color-overlay);--menu-text: #fff;--menu-active-text: var(--el-menu-active-color);--menu-hover: rgb(0 0 0 / 20%);--sidebar-logo-background: rgb(0 0 0 / 20%)}.hideSidebar .submenu-title-noDropdown{position:relative;padding:0!important}.hideSidebar .submenu-title-noDropdown .el-tooltip{padding:0!important}.hideSidebar .submenu-title-noDropdown .el-tooltip .sub-el-icon{margin-left:19px}.hideSidebar .submenu-title-noDropdown>span{display:inline-block;width:0;height:0;overflow:hidden;visibility:hidden}.hideSidebar .el-sub-menu{overflow:hidden}.hideSidebar .el-sub-menu>.el-sub-menu__title{padding:0!important}.hideSidebar .el-sub-menu>.el-sub-menu__title .sub-el-icon{margin-left:19px}.hideSidebar .el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow{display:none}.hideSidebar .el-menu--collapse{width:54px}.hideSidebar .el-menu--collapse .el-sub-menu>.el-sub-menu__title>span{display:inline-block;width:0;height:0;overflow:hidden;visibility:hidden}:root{--menu-background: #304156;--menu-text: #bfcbd9;--menu-active-text: var(--el-menu-active-color);--menu-hover: #263445;--sidebar-logo-background: #2d3748}html._dark_168i3_12{--menu-background: var(--el-bg-color-overlay);--menu-text: #fff;--menu-active-text: var(--el-menu-active-color);--menu-hover: rgb(0 0 0 / 20%);--sidebar-logo-background: rgb(0 0 0 / 20%)}[data-v-f28a1798]:root{--menu-background: #304156;--menu-text: #bfcbd9;--menu-active-text: var(--el-menu-active-color);--menu-hover: #263445;--sidebar-logo-background: #2d3748}html.dark[data-v-f28a1798]{--menu-background: var(--el-bg-color-overlay);--menu-text: #fff;--menu-active-text: var(--el-menu-active-color);--menu-hover: rgb(0 0 0 / 20%);--sidebar-logo-background: rgb(0 0 0 / 20%)}.logo-container[data-v-f28a1798]{width:100%;height:50px;background-color:var(--sidebar-logo-background)}.logo-container .logo-image[data-v-f28a1798]{width:20px;height:20px}.logo-container .logo-title[data-v-f28a1798]{flex-shrink:0;margin-left:10px;font-size:14px;font-weight:700;color:#fff}.layout-top .logo-container[data-v-f28a1798],.layout-mix .logo-container[data-v-f28a1798]{width:210px}.layout-top.hideSidebar .logo-container[data-v-f28a1798],.layout-mix.hideSidebar .logo-container[data-v-f28a1798]{width:54px}[data-v-86a32831]:root{--menu-background: #304156;--menu-text: #bfcbd9;--menu-active-text: var(--el-menu-active-color);--menu-hover: #263445;--sidebar-logo-background: #2d3748}html.dark[data-v-86a32831]{--menu-background: var(--el-bg-color-overlay);--menu-text: #fff;--menu-active-text: var(--el-menu-active-color);--menu-hover: rgb(0 0 0 / 20%);--sidebar-logo-background: rgb(0 0 0 / 20%)}.has-logo .el-scrollbar[data-v-86a32831]{height:calc(100vh - 50px)}[data-v-1e94c1cf]:root{--menu-background: #304156;--menu-text: #bfcbd9;--menu-active-text: var(--el-menu-active-color);--menu-hover: #263445;--sidebar-logo-background: #2d3748}html.dark[data-v-1e94c1cf]{--menu-background: var(--el-bg-color-overlay);--menu-text: #fff;--menu-active-text: var(--el-menu-active-color);--menu-hover: rgb(0 0 0 / 20%);--sidebar-logo-background: rgb(0 0 0 / 20%)}.fixed-header[data-v-1e94c1cf]{position:fixed;top:0;right:0;z-index:9;width:calc(100% - 210px);transition:width .28s}.sidebar-container[data-v-1e94c1cf]{position:fixed;top:0;bottom:0;left:0;z-index:999;width:210px;height:100%;overflow:hidden;background-color:var(--menu-background);transition:width .28s}.sidebar-container[data-v-1e94c1cf] .el-menu{border:none}.main-container[data-v-1e94c1cf]{position:relative;min-height:100%;margin-left:210px;transition:margin-left .28s}.layout-top .fixed-header[data-v-1e94c1cf]{top:50px;width:100%}.layout-top .sidebar-container[data-v-1e94c1cf]{z-index:999;display:flex;width:100%!important;height:50px}.layout-top .sidebar-container[data-v-1e94c1cf] .el-scrollbar{flex:1;height:50px}.layout-top .sidebar-container[data-v-1e94c1cf] .el-menu-item,.layout-top .sidebar-container[data-v-1e94c1cf] .el-sub-menu__title,.layout-top .sidebar-container[data-v-1e94c1cf] .el-menu--horizontal{height:50px;line-height:50px}.layout-top .sidebar-container[data-v-1e94c1cf] .el-menu--collapse{width:100%}.layout-top .main-container[data-v-1e94c1cf]{min-height:calc(100vh - 50px);padding-top:50px;margin-left:0}.layout-mix .sidebar-container[data-v-1e94c1cf]{width:100%!important;height:50px}.layout-mix .sidebar-container[data-v-1e94c1cf] .el-scrollbar{flex:1;height:50px}.layout-mix .sidebar-container[data-v-1e94c1cf] .el-menu-item,.layout-mix .sidebar-container[data-v-1e94c1cf] .el-sub-menu__title,.layout-mix .sidebar-container[data-v-1e94c1cf] .el-menu--horizontal{height:50px;line-height:50px}.layout-mix .sidebar-container[data-v-1e94c1cf] .el-menu--horizontal.el-menu{border:none}.layout-mix .mix-container[data-v-1e94c1cf]{display:flex;height:100%;padding-top:50px}.layout-mix .mix-container .mix-container__left[data-v-1e94c1cf]{position:relative;width:210px;height:100%}.layout-mix .mix-container .mix-container__left[data-v-1e94c1cf] .el-menu{height:100%;border:none}.layout-mix .mix-container .mix-container__left .sidebar-toggle[data-v-1e94c1cf]{position:absolute;bottom:0;display:flex;align-items:center;justify-content:center;width:100%;height:50px;line-height:50px;box-shadow:0 0 6px -2px var(--el-color-primary)}.layout-mix .mix-container .mix-container__left .sidebar-toggle div[data-v-1e94c1cf]:hover{background-color:var(--menu-background)}.layout-mix .mix-container .mix-container__left .sidebar-toggle[data-v-1e94c1cf] svg{color:var(--el-color-primary)!important}.layout-mix .mix-container .main-container[data-v-1e94c1cf]{flex:1;min-width:0;margin-left:0}.layout-mix .mix-container .main-container .fixed-header[data-v-1e94c1cf]{top:50px}.hideSidebar .fixed-header[data-v-1e94c1cf]{left:54px;width:calc(100% - 54px)}.hideSidebar .main-container[data-v-1e94c1cf]{margin-left:54px}.hideSidebar.layout-top .fixed-header[data-v-1e94c1cf]{left:0;width:100%}.hideSidebar.layout-top .main-container[data-v-1e94c1cf]{margin-left:0}.hideSidebar.layout-mix .fixed-header[data-v-1e94c1cf]{left:54px;width:calc(100% - 54px)}.hideSidebar.layout-mix .sidebar-container[data-v-1e94c1cf]{width:100%!important}.hideSidebar.layout-mix .mix-container .mix-container__left[data-v-1e94c1cf]{width:54px}.layout-left.hideSidebar .sidebar-container[data-v-1e94c1cf]{width:54px!important}.layout-left.hideSidebar .main-container[data-v-1e94c1cf]{margin-left:54px}.layout-left.hideSidebar.mobile .sidebar-container[data-v-1e94c1cf]{pointer-events:none;transition-duration:.3s;transform:translate3d(-210px,0,0)}.layout-left.hideSidebar.mobile .main-container[data-v-1e94c1cf]{margin-left:0}.mobile .fixed-header[data-v-1e94c1cf]{left:0;width:100%}.mobile .main-container[data-v-1e94c1cf]{margin-left:0}.mobile.layout-top[data-v-1e94c1cf]{--el-menu-item-height: $navbar-height}.mobile.layout-top .sidebar-container[data-v-1e94c1cf]{z-index:999;display:flex;width:100%!important;height:50px}.mobile.layout-top .sidebar-container[data-v-1e94c1cf] .el-scrollbar{flex:1;min-width:0;height:50px}.mobile.layout-top .main-container[data-v-1e94c1cf]{padding-top:50px;margin-left:0;overflow:hidden} diff --git a/static/css/index.Dwigi1cb.css b/static/css/index.Dwigi1cb.css new file mode 100644 index 0000000000000000000000000000000000000000..2649c9407c70938bce208d271299c37caa586a6a --- /dev/null +++ b/static/css/index.Dwigi1cb.css @@ -0,0 +1 @@ +@charset "UTF-8";[data-v-ba695567]:root{--menu-background: #304156;--menu-text: #bfcbd9;--menu-active-text: var(--el-menu-active-color);--menu-hover: #263445;--sidebar-logo-background: #2d3748}html.dark[data-v-ba695567]{--menu-background: var(--el-bg-color-overlay);--menu-text: #fff;--menu-active-text: var(--el-menu-active-color);--menu-hover: rgb(0 0 0 / 20%);--sidebar-logo-background: rgb(0 0 0 / 20%)}html.dark .login-container[data-v-ba695567]{background:url(/static/img/login-bg-dark.BfPFE40x.jpg) no-repeat center right}.login-container[data-v-ba695567]{overflow-y:auto;background:url(/static/img/login-bg.CKlK6emc.jpg) no-repeat center right;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.login-container .login-form[data-v-ba695567]{padding:30px 10px}.el-form-item[data-v-ba695567]{background:var(--el-input-bg-color);border:1px solid var(--el-border-color);border-radius:5px}[data-v-ba695567] .el-input .el-input__wrapper{padding:0;background-color:transparent;box-shadow:none}[data-v-ba695567] .el-input .el-input__wrapper.is-focus,[data-v-ba695567] .el-input .el-input__wrapper:hover{box-shadow:none!important}[data-v-ba695567] .el-input .el-input__wrapper input:-webkit-autofill{transition:background-color 1000s ease-in-out 0s} diff --git a/static/css/internal-doc.BdNudHKe.css b/static/css/internal-doc.BdNudHKe.css new file mode 100644 index 0000000000000000000000000000000000000000..dfbe4681e2420b95e599b127463d405721e3664a --- /dev/null +++ b/static/css/internal-doc.BdNudHKe.css @@ -0,0 +1 @@ +@charset "UTF-8";[data-v-7df23cf9]:root{--menu-background: #304156;--menu-text: #bfcbd9;--menu-active-text: var(--el-menu-active-color);--menu-hover: #263445;--sidebar-logo-background: #2d3748}html.dark[data-v-7df23cf9]{--menu-background: var(--el-bg-color-overlay);--menu-text: #fff;--menu-active-text: var(--el-menu-active-color);--menu-hover: rgb(0 0 0 / 20%);--sidebar-logo-background: rgb(0 0 0 / 20%)}.app-container[data-v-7df23cf9]{height:calc(100vh - 50px)}.hasTagsView .app-container[data-v-7df23cf9]{height:calc(100vh - 84px)}iframe[data-v-7df23cf9]{width:100%;height:100%} diff --git a/static/css/knife4j.DRg4vOS3.css b/static/css/knife4j.DRg4vOS3.css new file mode 100644 index 0000000000000000000000000000000000000000..dfa78c7ee84302c3f3caeb668e210c17f3d63aad --- /dev/null +++ b/static/css/knife4j.DRg4vOS3.css @@ -0,0 +1 @@ +@charset "UTF-8";[data-v-f4490f0d]:root{--menu-background: #304156;--menu-text: #bfcbd9;--menu-active-text: var(--el-menu-active-color);--menu-hover: #263445;--sidebar-logo-background: #2d3748}html.dark[data-v-f4490f0d]{--menu-background: var(--el-bg-color-overlay);--menu-text: #fff;--menu-active-text: var(--el-menu-active-color);--menu-hover: rgb(0 0 0 / 20%);--sidebar-logo-background: rgb(0 0 0 / 20%)}.app-container[data-v-f4490f0d]{height:calc(100vh - 50px)}.hasTagsView .app-container[data-v-f4490f0d]{height:calc(100vh - 84px)} diff --git a/static/css/node.wSVBx8Lp.css b/static/css/node.wSVBx8Lp.css new file mode 100644 index 0000000000000000000000000000000000000000..27a165b0a7491b58aea7737322dae3cfe2c9adf0 --- /dev/null +++ b/static/css/node.wSVBx8Lp.css @@ -0,0 +1 @@ +.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:30px;outline:none;position:relative;-webkit-user-select:none;-moz-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{border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled .el-radio__inner,.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} diff --git a/static/css/nodes.DzJW8z5F.css b/static/css/nodes.DzJW8z5F.css new file mode 100644 index 0000000000000000000000000000000000000000..880a7bd85469a590cd667cdd12f2575c417c0eb3 --- /dev/null +++ b/static/css/nodes.DzJW8z5F.css @@ -0,0 +1 @@ +.el-card[data-v-e6fb1451]{margin:10px}.el-input[data-v-e6fb1451]{margin-bottom:10px} diff --git a/static/css/set.BMjHnBvk.css b/static/css/set.BMjHnBvk.css new file mode 100644 index 0000000000000000000000000000000000000000..1840049b9ad0aada61beeff3c626895d103cb03a --- /dev/null +++ b/static/css/set.BMjHnBvk.css @@ -0,0 +1 @@ +.el-col[data-v-38e5adf0]{margin-bottom:10px} diff --git a/static/css/signature.C8sJe9y0.css b/static/css/signature.C8sJe9y0.css new file mode 100644 index 0000000000000000000000000000000000000000..dd176a2af453e9a7ae7c93aac17554c92bca4098 --- /dev/null +++ b/static/css/signature.C8sJe9y0.css @@ -0,0 +1 @@ +@charset "UTF-8";[data-v-d1ec2ee9]:root{--menu-background: #304156;--menu-text: #bfcbd9;--menu-active-text: var(--el-menu-active-color);--menu-hover: #263445;--sidebar-logo-background: #2d3748}html.dark[data-v-d1ec2ee9]{--menu-background: var(--el-bg-color-overlay);--menu-text: #fff;--menu-active-text: var(--el-menu-active-color);--menu-hover: rgb(0 0 0 / 20%);--sidebar-logo-background: rgb(0 0 0 / 20%)}.canvas-dom[data-v-d1ec2ee9]{width:100%;height:100%;padding:0 20px;background-color:#fff}.canvas-dom canvas[data-v-d1ec2ee9]{border:1px solid #e6e6e6}.canvas-dom header[data-v-d1ec2ee9]{display:flex;flex-flow:row nowrap;align-items:center;width:100%;margin:8px}.canvas-dom header .eraser-option[data-v-d1ec2ee9]{display:flex}.canvas-dom header .eraser-option label[data-v-d1ec2ee9]{white-space:nowrap} diff --git a/static/css/subs.JwB3fIbV.css b/static/css/subs.JwB3fIbV.css new file mode 100644 index 0000000000000000000000000000000000000000..ea4da406dc5a141c9e731acf46c8e28aaf7cd862 --- /dev/null +++ b/static/css/subs.JwB3fIbV.css @@ -0,0 +1 @@ +.el-checkbox-group{font-size:0;line-height:0}.el-card[data-v-42072bec]{margin:10px}.el-input[data-v-42072bec]{margin-bottom:10px}.el-tag[data-v-42072bec]{margin:5px} diff --git a/static/css/swagger.eJ-qo84r.css b/static/css/swagger.eJ-qo84r.css new file mode 100644 index 0000000000000000000000000000000000000000..f461753d3fcdbc72b37f0c8eb84d72dcd9a79748 --- /dev/null +++ b/static/css/swagger.eJ-qo84r.css @@ -0,0 +1 @@ +@charset "UTF-8";[data-v-56050cf3]:root{--menu-background: #304156;--menu-text: #bfcbd9;--menu-active-text: var(--el-menu-active-color);--menu-hover: #263445;--sidebar-logo-background: #2d3748}html.dark[data-v-56050cf3]{--menu-background: var(--el-bg-color-overlay);--menu-text: #fff;--menu-active-text: var(--el-menu-active-color);--menu-hover: rgb(0 0 0 / 20%);--sidebar-logo-background: rgb(0 0 0 / 20%)}.app-container[data-v-56050cf3]{height:calc(100vh - 50px)}.hasTagsView .app-container[data-v-56050cf3]{height:calc(100vh - 84px)} diff --git a/static/css/template.DpE-mm8O.css b/static/css/template.DpE-mm8O.css new file mode 100644 index 0000000000000000000000000000000000000000..fdd60c0949657b843c610a1a9d70a0a6f5685a56 --- /dev/null +++ b/static/css/template.DpE-mm8O.css @@ -0,0 +1 @@ +.el-card[data-v-0c7c8c5b]{margin:10px}.el-input[data-v-0c7c8c5b]{margin-bottom:10px} diff --git a/static/css/upload.DT6Y7CcD.css b/static/css/upload.DT6Y7CcD.css new file mode 100644 index 0000000000000000000000000000000000000000..d74a39baa32574c4abc2fcea0817494c3c7bcdff --- /dev/null +++ b/static/css/upload.DT6Y7CcD.css @@ -0,0 +1 @@ +@charset "UTF-8";.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.is-disabled{cursor:not-allowed}.el-upload.is-disabled:focus{color:inherit}.el-upload.is-disabled:focus,.el-upload.is-disabled:focus .el-upload-dragger{border-color:var(--el-border-color-darker)}.el-upload.is-disabled .el-upload-dragger{background-color:var(--el-disabled-bg-color);cursor:not-allowed}.el-upload.is-disabled .el-upload-dragger .el-upload__text{color:var(--el-text-color-placeholder)}.el-upload.is-disabled .el-upload-dragger .el-upload__text em{color:var(--el-disabled-text-color)}.el-upload.is-disabled .el-upload-dragger:hover{border-color:var(--el-border-color-darker)}.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{color:var(--el-color-primary)}.el-upload:focus,.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%;-o-object-fit:contain;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:16px}.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;-o-object-fit:contain;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-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%}}[data-v-8120521e]:root{--menu-background: #304156;--menu-text: #bfcbd9;--menu-active-text: var(--el-menu-active-color);--menu-hover: #263445;--sidebar-logo-background: #2d3748}html.dark[data-v-8120521e]{--menu-background: var(--el-bg-color-overlay);--menu-text: #fff;--menu-active-text: var(--el-menu-active-color);--menu-hover: rgb(0 0 0 / 20%);--sidebar-logo-background: rgb(0 0 0 / 20%)}.single-uploader[data-v-8120521e]{overflow:hidden;cursor:pointer;border:1px var(--el-border-color) solid;border-radius:6px}.single-uploader[data-v-8120521e]:hover{border-color:var(--el-color-primary)}.single-uploader__image[data-v-8120521e]{display:block;width:178px;height:178px}.single-uploader___icon[data-v-8120521e]{width:178px;height:178px;font-size:28px;color:#8c939d;text-align:center} diff --git a/static/css/wang-editor.nHDhGvq6.css b/static/css/wang-editor.nHDhGvq6.css new file mode 100644 index 0000000000000000000000000000000000000000..50ac020be467e5278a08b58d2e98718fc5b872b6 --- /dev/null +++ b/static/css/wang-editor.nHDhGvq6.css @@ -0,0 +1 @@ +:root,:host{--w-e-textarea-bg-color: #fff;--w-e-textarea-color: #333;--w-e-textarea-border-color: #ccc;--w-e-textarea-slight-border-color: #e8e8e8;--w-e-textarea-slight-color: #d4d4d4;--w-e-textarea-slight-bg-color: #f5f2f0;--w-e-textarea-selected-border-color: #B4D5FF;--w-e-textarea-handler-bg-color: #4290f7;--w-e-toolbar-color: #595959;--w-e-toolbar-bg-color: #fff;--w-e-toolbar-active-color: #333;--w-e-toolbar-active-bg-color: #f1f1f1;--w-e-toolbar-disabled-color: #999;--w-e-toolbar-border-color: #e8e8e8;--w-e-modal-button-bg-color: #fafafa;--w-e-modal-button-border-color: #d9d9d9}.w-e-text-container *,.w-e-toolbar *{box-sizing:border-box;margin:0;outline:none;padding:0}.w-e-text-container blockquote,.w-e-text-container li,.w-e-text-container p,.w-e-text-container td,.w-e-text-container th,.w-e-toolbar *{line-height:1.5}.w-e-text-container{background-color:var(--w-e-textarea-bg-color);color:var(--w-e-textarea-color);height:100%;position:relative}.w-e-text-container .w-e-scroll{-webkit-overflow-scrolling:touch;height:100%}.w-e-text-container [data-slate-editor]{word-wrap:break-word;border-top:1px solid transparent;min-height:100%;outline:0;padding:0 10px;white-space:pre-wrap}.w-e-text-container [data-slate-editor] p{margin:15px 0}.w-e-text-container [data-slate-editor] h1,.w-e-text-container [data-slate-editor] h2,.w-e-text-container [data-slate-editor] h3,.w-e-text-container [data-slate-editor] h4,.w-e-text-container [data-slate-editor] h5{margin:20px 0}.w-e-text-container [data-slate-editor] img{cursor:default;display:inline!important;max-width:100%;min-height:20px;min-width:20px}.w-e-text-container [data-slate-editor] span{text-indent:0}.w-e-text-container [data-slate-editor] [data-selected=true]{box-shadow:0 0 0 2px var(--w-e-textarea-selected-border-color)}.w-e-text-placeholder{font-style:italic;left:10px;top:17px;width:90%}.w-e-max-length-info,.w-e-text-placeholder{color:var(--w-e-textarea-slight-color);pointer-events:none;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none}.w-e-max-length-info{bottom:.5em;right:1em}.w-e-bar{background-color:var(--w-e-toolbar-bg-color);color:var(--w-e-toolbar-color);font-size:14px;padding:0 5px}.w-e-bar svg{fill:var(--w-e-toolbar-color);height:14px;width:14px}.w-e-bar-show{display:flex}.w-e-bar-hidden{display:none}.w-e-hover-bar{border:1px solid var(--w-e-toolbar-border-color);border-radius:3px;box-shadow:0 2px 5px #0000001f;position:absolute}.w-e-toolbar{flex-wrap:wrap;position:relative}.w-e-bar-divider{background-color:var(--w-e-toolbar-border-color);display:inline-flex;height:40px;margin:0 5px;width:1px}.w-e-bar-item{display:flex;height:40px;padding:4px;position:relative;text-align:center}.w-e-bar-item,.w-e-bar-item button{align-items:center;justify-content:center}.w-e-bar-item button{background:transparent;border:none;color:var(--w-e-toolbar-color);cursor:pointer;display:inline-flex;height:32px;overflow:hidden;padding:0 8px;white-space:nowrap}.w-e-bar-item button:hover{background-color:var(--w-e-toolbar-active-bg-color);color:var(--w-e-toolbar-active-color)}.w-e-bar-item button .title{margin-left:5px}.w-e-bar-item .active{background-color:var(--w-e-toolbar-active-bg-color);color:var(--w-e-toolbar-active-color)}.w-e-bar-item .disabled{color:var(--w-e-toolbar-disabled-color);cursor:not-allowed}.w-e-bar-item .disabled svg{fill:var(--w-e-toolbar-disabled-color)}.w-e-bar-item .disabled:hover{background-color:var(--w-e-toolbar-bg-color);color:var(--w-e-toolbar-disabled-color)}.w-e-bar-item .disabled:hover svg{fill:var(--w-e-toolbar-disabled-color)}.w-e-menu-tooltip-v5:before{background-color:var(--w-e-toolbar-active-color);border-radius:5px;color:var(--w-e-toolbar-bg-color);content:attr(data-tooltip);font-size:.75em;opacity:0;padding:5px 10px;position:absolute;text-align:center;top:40px;transition:opacity .6s;visibility:hidden;white-space:pre;z-index:1}.w-e-menu-tooltip-v5:after{border:5px solid transparent;border-bottom:5px solid var(--w-e-toolbar-active-color);content:"";opacity:0;position:absolute;top:30px;transition:opacity .6s;visibility:hidden}.w-e-menu-tooltip-v5:hover:after,.w-e-menu-tooltip-v5:hover:before{opacity:1;visibility:visible}.w-e-menu-tooltip-v5.tooltip-right:before{left:100%;top:10px}.w-e-menu-tooltip-v5.tooltip-right:after{border-bottom-color:transparent;border-left-color:transparent;border-right-color:var(--w-e-toolbar-active-color);border-top-color:transparent;left:100%;margin-left:-10px;top:16px}.w-e-bar-item-group .w-e-bar-item-menus-container{background-color:var(--w-e-toolbar-bg-color);border:1px solid var(--w-e-toolbar-border-color);border-radius:3px;box-shadow:0 2px 10px #0000001f;display:none;left:0;margin-top:40px;position:absolute;top:0;z-index:1}.w-e-bar-item-group:hover .w-e-bar-item-menus-container{display:block}.w-e-select-list{background-color:var(--w-e-toolbar-bg-color);border:1px solid var(--w-e-toolbar-border-color);border-radius:3px;box-shadow:0 2px 10px #0000001f;left:0;margin-top:40px;max-height:350px;min-width:100px;overflow-y:auto;position:absolute;top:0;z-index:1}.w-e-select-list ul{line-height:1;list-style:none}.w-e-select-list ul .selected{background-color:var(--w-e-toolbar-active-bg-color)}.w-e-select-list ul li{cursor:pointer;padding:7px 0 7px 25px;position:relative;text-align:left;white-space:nowrap}.w-e-select-list ul li:hover{background-color:var(--w-e-toolbar-active-bg-color)}.w-e-select-list ul li svg{left:0;margin-left:5px;margin-top:-7px;position:absolute;top:50%}.w-e-bar-bottom .w-e-select-list{bottom:0;margin-bottom:40px;margin-top:0;top:inherit}.w-e-drop-panel{background-color:var(--w-e-toolbar-bg-color);border:1px solid var(--w-e-toolbar-border-color);border-radius:3px;box-shadow:0 2px 10px #0000001f;margin-top:40px;min-width:200px;padding:10px;position:absolute;top:0;z-index:1}.w-e-bar-bottom .w-e-drop-panel{bottom:0;margin-bottom:40px;margin-top:0;top:inherit}.w-e-modal{background-color:var(--w-e-toolbar-bg-color);border:1px solid var(--w-e-toolbar-border-color);border-radius:3px;box-shadow:0 2px 10px #0000001f;color:var(--w-e-toolbar-color);font-size:14px;min-height:40px;min-width:100px;padding:20px 15px 0;position:absolute;text-align:left;z-index:1}.w-e-modal .btn-close{cursor:pointer;line-height:1;padding:5px;position:absolute;right:8px;top:7px}.w-e-modal .btn-close svg{fill:var(--w-e-toolbar-color);height:10px;width:10px}.w-e-modal .babel-container{display:block;margin-bottom:15px}.w-e-modal .babel-container span{display:block;margin-bottom:10px}.w-e-modal .button-container{margin-bottom:15px}.w-e-modal button{background-color:var(--w-e-modal-button-bg-color);border:1px solid var(--w-e-modal-button-border-color);border-radius:4px;color:var(--w-e-toolbar-color);cursor:pointer;font-weight:400;height:32px;padding:4.5px 15px;text-align:center;touch-action:manipulation;transition:all .3s cubic-bezier(.645,.045,.355,1);-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.w-e-modal input[type=number],.w-e-modal input[type=text],.w-e-modal textarea{font-feature-settings:"tnum";background-color:var(--w-e-toolbar-bg-color);border:1px solid var(--w-e-modal-button-border-color);border-radius:4px;color:var(--w-e-toolbar-color);font-variant:tabular-nums;padding:4.5px 11px;transition:all .3s;width:100%}.w-e-modal textarea{min-height:60px}body .w-e-modal,body .w-e-modal *{box-sizing:border-box}.w-e-progress-bar{background-color:var(--w-e-textarea-handler-bg-color);height:1px;position:absolute;transition:width .3s;width:0}.w-e-full-screen-container{bottom:0!important;display:flex!important;flex-direction:column!important;height:100%!important;left:0!important;margin:0!important;padding:0!important;position:fixed;right:0!important;top:0!important;width:100%!important}.w-e-full-screen-container [data-w-e-textarea=true]{flex:1!important}.w-e-text-container [data-slate-editor] code{background-color:var(--w-e-textarea-slight-bg-color);border-radius:3px;font-family:monospace;padding:3px}.w-e-panel-content-color{list-style:none;text-align:left;width:230px}.w-e-panel-content-color li{border:1px solid var(--w-e-toolbar-bg-color);border-radius:3px;cursor:pointer;display:inline-block;padding:2px}.w-e-panel-content-color li:hover{border-color:var(--w-e-toolbar-color)}.w-e-panel-content-color li .color-block{border:1px solid var(--w-e-toolbar-border-color);border-radius:3px;height:17px;width:17px}.w-e-panel-content-color .active{border-color:var(--w-e-toolbar-color)}.w-e-panel-content-color .clear{line-height:1.5;margin-bottom:5px;width:100%}.w-e-panel-content-color .clear svg{height:16px;margin-bottom:-4px;width:16px}.w-e-text-container [data-slate-editor] blockquote{background-color:var(--w-e-textarea-slight-bg-color);border-left:8px solid var(--w-e-textarea-selected-border-color);display:block;font-size:100%;line-height:1.5;margin:10px 0;padding:10px}.w-e-panel-content-emotion{font-size:20px;list-style:none;text-align:left;width:300px}.w-e-panel-content-emotion li{border-radius:3px;cursor:pointer;display:inline-block;padding:0 5px}.w-e-panel-content-emotion li:hover{background-color:var(--w-e-textarea-slight-bg-color)}.w-e-textarea-divider{border-radius:3px;margin:20px auto;padding:20px}.w-e-textarea-divider hr{background-color:var(--w-e-textarea-border-color);border:0;display:block;height:1px}.w-e-text-container [data-slate-editor] pre>code{background-color:var(--w-e-textarea-slight-bg-color);border:1px solid var(--w-e-textarea-slight-border-color);border-radius:4px;display:block;font-size:14px;padding:10px;text-indent:0}.w-e-text-container [data-slate-editor] .w-e-image-container{display:inline-block;margin:0 3px}.w-e-text-container [data-slate-editor] .w-e-image-container:hover{box-shadow:0 0 0 2px var(--w-e-textarea-selected-border-color)}.w-e-text-container [data-slate-editor] .w-e-selected-image-container{overflow:hidden;position:relative}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .w-e-image-dragger{background-color:var(--w-e-textarea-handler-bg-color);height:7px;position:absolute;width:7px}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .left-top{cursor:nwse-resize;left:0;top:0}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .right-top{cursor:nesw-resize;right:0;top:0}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .left-bottom{bottom:0;cursor:nesw-resize;left:0}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .right-bottom{bottom:0;cursor:nwse-resize;right:0}.w-e-text-container [data-slate-editor] .w-e-selected-image-container:hover,.w-e-text-container [contenteditable=false] .w-e-image-container:hover{box-shadow:none}.w-e-text-container [data-slate-editor] .table-container{border:1px dashed var(--w-e-textarea-border-color);border-radius:5px;margin-top:10px;overflow-x:auto;padding:10px;width:100%}.w-e-text-container [data-slate-editor] table{border-collapse:collapse}.w-e-text-container [data-slate-editor] table td,.w-e-text-container [data-slate-editor] table th{border:1px solid var(--w-e-textarea-border-color);line-height:1.5;min-width:30px;padding:3px 5px;text-align:left}.w-e-text-container [data-slate-editor] table th{background-color:var(--w-e-textarea-slight-bg-color);font-weight:700;text-align:center}.w-e-panel-content-table{background-color:var(--w-e-toolbar-bg-color)}.w-e-panel-content-table table{border-collapse:collapse}.w-e-panel-content-table td{border:1px solid var(--w-e-toolbar-border-color);cursor:pointer;height:15px;padding:3px 5px;width:20px}.w-e-panel-content-table td.active{background-color:var(--w-e-toolbar-active-bg-color)}.w-e-textarea-video-container{background-image:linear-gradient(45deg,#eee 25%,transparent 0,transparent 75%,#eee 0,#eee),linear-gradient(45deg,#eee 25%,#fff 0,#fff 75%,#eee 0,#eee);background-position:0 0,10px 10px;background-size:20px 20px;border:1px dashed var(--w-e-textarea-border-color);border-radius:5px;margin:10px auto 0;padding:10px 0;text-align:center}.w-e-text-container [data-slate-editor] pre>code{word-wrap:normal;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;-webkit-hyphens:none;hyphens:none;line-height:1.5;margin:.5em 0;overflow:auto;padding:1em;-moz-tab-size:4;-o-tab-size:4;tab-size:4;text-align:left;text-shadow:0 1px #fff;white-space:pre;word-break:normal;word-spacing:normal}.w-e-text-container [data-slate-editor] pre>code .token.cdata,.w-e-text-container [data-slate-editor] pre>code .token.comment,.w-e-text-container [data-slate-editor] pre>code .token.doctype,.w-e-text-container [data-slate-editor] pre>code .token.prolog{color:#708090}.w-e-text-container [data-slate-editor] pre>code .token.punctuation{color:#999}.w-e-text-container [data-slate-editor] pre>code .token.namespace{opacity:.7}.w-e-text-container [data-slate-editor] pre>code .token.boolean,.w-e-text-container [data-slate-editor] pre>code .token.constant,.w-e-text-container [data-slate-editor] pre>code .token.deleted,.w-e-text-container [data-slate-editor] pre>code .token.number,.w-e-text-container [data-slate-editor] pre>code .token.property,.w-e-text-container [data-slate-editor] pre>code .token.symbol,.w-e-text-container [data-slate-editor] pre>code .token.tag{color:#905}.w-e-text-container [data-slate-editor] pre>code .token.attr-name,.w-e-text-container [data-slate-editor] pre>code .token.builtin,.w-e-text-container [data-slate-editor] pre>code .token.char,.w-e-text-container [data-slate-editor] pre>code .token.inserted,.w-e-text-container [data-slate-editor] pre>code .token.selector,.w-e-text-container [data-slate-editor] pre>code .token.string{color:#690}.w-e-text-container [data-slate-editor] pre>code .language-css .token.string,.w-e-text-container [data-slate-editor] pre>code .style .token.string,.w-e-text-container [data-slate-editor] pre>code .token.entity,.w-e-text-container [data-slate-editor] pre>code .token.operator,.w-e-text-container [data-slate-editor] pre>code .token.url{color:#9a6e3a}.w-e-text-container [data-slate-editor] pre>code .token.atrule,.w-e-text-container [data-slate-editor] pre>code .token.attr-value,.w-e-text-container [data-slate-editor] pre>code .token.keyword{color:#07a}.w-e-text-container [data-slate-editor] pre>code .token.class-name,.w-e-text-container [data-slate-editor] pre>code .token.function{color:#dd4a68}.w-e-text-container [data-slate-editor] pre>code .token.important,.w-e-text-container [data-slate-editor] pre>code .token.regex,.w-e-text-container [data-slate-editor] pre>code .token.variable{color:#e90}.w-e-text-container [data-slate-editor] pre>code .token.bold,.w-e-text-container [data-slate-editor] pre>code .token.important{font-weight:700}.w-e-text-container [data-slate-editor] pre>code .token.italic{font-style:italic}.w-e-text-container [data-slate-editor] pre>code .token.entity{cursor:help} diff --git a/static/css/websocket.BZkLAsTH.css b/static/css/websocket.BZkLAsTH.css new file mode 100644 index 0000000000000000000000000000000000000000..1b1b60667986d0effb51430e2956e41ad7de86f2 --- /dev/null +++ b/static/css/websocket.BZkLAsTH.css @@ -0,0 +1 @@ +.message-container[data-v-8d7ecc11]{display:flex;flex-direction:column}.message[data-v-8d7ecc11]{padding:10px;margin:10px;border-radius:5px}.message--sent[data-v-8d7ecc11]{align-self:flex-end;background-color:#dcf8c6}.message--received[data-v-8d7ecc11]{align-self:flex-start;background-color:#e8e8e8}.message-content[data-v-8d7ecc11]{display:flex;flex-direction:column}.message-sender[data-v-8d7ecc11]{margin-bottom:5px;font-weight:700;text-align:right}.message-receiver[data-v-8d7ecc11]{margin-bottom:5px;font-weight:700;text-align:left}.tip-message[data-v-8d7ecc11]{align-self:center;padding:5px 10px;margin-bottom:5px;font-style:italic;text-align:center;background-color:#f0f0f0;border-radius:5px} diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..9fdbcccac1763defdfa38d8044f7e3896a864e65 Binary files /dev/null and b/static/favicon.ico differ diff --git a/static/img/401.DaBJYOxp.gif b/static/img/401.DaBJYOxp.gif new file mode 100644 index 0000000000000000000000000000000000000000..4c930e72a698889a0f5666d8599652c5808cfc70 Binary files /dev/null and b/static/img/401.DaBJYOxp.gif differ diff --git a/static/img/404.D6_y3Jr2.png b/static/img/404.D6_y3Jr2.png new file mode 100644 index 0000000000000000000000000000000000000000..4e098298787749e55a6dc0321642690b882d130e Binary files /dev/null and b/static/img/404.D6_y3Jr2.png differ diff --git a/static/img/login-bg-dark.BfPFE40x.jpg b/static/img/login-bg-dark.BfPFE40x.jpg new file mode 100644 index 0000000000000000000000000000000000000000..50dc817e8fca2d229f91de8f9ee4a395572ee00a Binary files /dev/null and b/static/img/login-bg-dark.BfPFE40x.jpg differ diff --git a/static/img/login-bg.CKlK6emc.jpg b/static/img/login-bg.CKlK6emc.jpg new file mode 100644 index 0000000000000000000000000000000000000000..993b958e243926e4dd5b1a415c879965117a3419 Binary files /dev/null and b/static/img/login-bg.CKlK6emc.jpg differ diff --git a/static/img/logo.D7mmbp4F.png b/static/img/logo.D7mmbp4F.png new file mode 100644 index 0000000000000000000000000000000000000000..b242b3f7967a1334d9ff513cda8c75179a767e41 Binary files /dev/null and b/static/img/logo.D7mmbp4F.png differ diff --git a/static/index.html b/static/index.html new file mode 100644 index 0000000000000000000000000000000000000000..13b5635e7e7a639243d1ea0fb77d274e0a5e10a1 --- /dev/null +++ b/static/index.html @@ -0,0 +1,59 @@ + + + + + + + sublinkX节点订阅管理系统 + + + + + +
+
+
+ + + + diff --git a/static/js/401.2cRCE_5G.js b/static/js/401.2cRCE_5G.js new file mode 100644 index 0000000000000000000000000000000000000000..cdc6b3aaa4919d394ed07db7226a45240495c321 --- /dev/null +++ b/static/js/401.2cRCE_5G.js @@ -0,0 +1 @@ +import{d as a,X as l,be as e,aE as s,av as t,e as i,a0 as r,w as o,g as n,aO as d,a3 as c,c as p,a4 as u,k as m,ad as f}from"./index.9PHSMUIB.js";import{E as h}from"./el-dialog.Dis4ipFy.js";import{a as g,E as b}from"./el-col.DNKSa6YX.js";import{_}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./index.D6nSmJHY.js";import"./use-dialog.CybRpRek.js";import"./isUndefined.DgmxjSXK.js";import"./refs.CNClepWF.js";const w={class:"errPage-container"},j={class:"list-unstyled"},k={class:"link-type"},v=["src"],x=["src"],V=_(a({__name:"401",setup(a){const _=l({errGif:new URL("/static/img/401.DaBJYOxp.gif",import.meta.url).href,ewizardClap:"https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646",dialogVisible:!1}),{errGif:V,ewizardClap:C,dialogVisible:E}=e(_),y=s();function z(){y.back()}return(a,l)=>{const e=c,s=t("router-link"),_=b,y=g,G=h;return p(),i("div",w,[r(e,{icon:"el-icon-arrow-left",class:"pan-back-btn",onClick:z},{default:o((()=>l[2]||(l[2]=[u(" 返回 ")]))),_:1}),r(y,null,{default:o((()=>[r(_,{span:12},{default:o((()=>[l[6]||(l[6]=m("h1",{class:"text-jumbo text-ginormous"},"Oops!",-1)),l[7]||(l[7]=u(" gif来源")),l[8]||(l[8]=m("a",{href:"https://zh.airbnb.com/",target:"_blank"},"airbnb",-1)),l[9]||(l[9]=u(" 页面 ")),l[10]||(l[10]=m("h2",null,"你没有权限去该页面",-1)),l[11]||(l[11]=m("h6",null,"如有不满请联系你领导",-1)),m("ul",j,[l[4]||(l[4]=m("li",null,"或者你可以去:",-1)),m("li",k,[r(s,{to:"/dashboard"},{default:o((()=>l[3]||(l[3]=[u(" 回首页 ")]))),_:1})]),l[5]||(l[5]=m("li",{class:"link-type"},[m("a",{href:"https://www.taobao.com/"},"随便看看")],-1)),m("li",null,[m("a",{href:"#",onClick:l[0]||(l[0]=f((a=>E.value=!0),["prevent"]))},"点我看图")])])])),_:1}),r(_,{span:12},{default:o((()=>[m("img",{src:n(V),width:"313",height:"428",alt:"Girl has dropped her ice cream."},null,8,v)])),_:1})])),_:1}),r(G,{modelValue:n(E),"onUpdate:modelValue":l[1]||(l[1]=a=>d(E)?E.value=a:null),title:"随便看"},{default:o((()=>[m("img",{src:n(C),class:"pan-img"},null,8,x)])),_:1},8,["modelValue"])])}}}),[["__scopeId","data-v-d53e86c4"]]);export{V as default}; diff --git a/static/js/404.DlqBpkU7.js b/static/js/404.DlqBpkU7.js new file mode 100644 index 0000000000000000000000000000000000000000..408aea3c9fb4dbde37aabea1c407ca6283e34bd1 --- /dev/null +++ b/static/js/404.DlqBpkU7.js @@ -0,0 +1 @@ +import{d as v,e as f,k as s,bf as a,a4 as t,t as e,c as l}from"./index.9PHSMUIB.js";import{_ as c}from"./_plugin-vue_export-helper.BCo6x5W8.js";const A="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJgAAACKCAMAAABhAnODAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAMAUExURUdwTPf6/v////f6/v////////////z9//////////////////7+//v///f6/v////f5/vz///////////////j6/vf7/v////////////v8//////j7/v7+//////////////////////////////////////v8/+nx/fv9//b6/vr7/v////f5/vj7//////j7/vj7//f5/vD2/f///////////////+jy/P////////j6//////f6/v////f7/vj6/vf6/vL3/f////////j7/vv8//////3///f6/vf6/vb6/v////r8//f7/fL3/P///////////+jw/PT4/v3+//////////////7+//b6/v///////+jx/P///+jy/f////f6/uz0/eny/PT9/+jx/PT4/uz0/f////f6/vb6/vv9//z9//////3+//r8//f6/vj7/+ny/P////f6/////////+jw/Pf6/v////f6/vj7/v////f6/fT4//j7//b7//////b6/evy/P///+vz/P////////T3/v///+jx/P3+/////+nx+/f6/v///////+jw/Pj6/v///+nx/P///+vz/P////////////j7/vj7//H2/P///+zz/Pb6/v////////////P3/v39/////+/1/v///+jx++jx/Pj6/unx/ff6/+fx/Pf6/+jx/Ony/Ojx/Pz+//H3/v////7+//b6/vj8//7+//b5/v////b6/uz0/ff6/fj6//v8//j5/fb7//////v9/vn8//v8//f5//f6/vP3/Ojx/ez0/u31/v////f5/f///////////+z0/Pz9/+rz/+nw++30/Or0/fj//+jx/f////////f7//v9/+fw++nw/f////b4/v///+jw/f////P4/vj//+fz+/r8/u/2/unw//////f5/fb6/vb7//////b6/f3+//////L3/vr9/+/1/fT3/ff7/v////n8/vf6/v///+fw+/b5/fP4/f////T4/lxP5j4AAAD6dFJOUwD+9P3lAfb9pvsC/BIO+gnmDM3h7/PtBMLqvPn0NU5AId3+gajrK8T0Fc2/29/S4sXC47/4W8ho+psHMMD8GLvN97nyGfG++h74yMsGbJ/Dddjx5L5E1t/XN9PUjvzo7dHh2uge/sLBtdjs7r/s48rW08bFtMrE8NxS2cAKpy18c2OR0SPPiCnLvv35mdS9bV7z1Tlbl8woy7ToVMuw1c+63qLFM3zOD9i20N+6+GSqT5pLvOfb0Uifrn/ux5e3z4s7G41QVlrEvnzMx7GCaYXt4vw+icDeJG0alHj2jGl56FB5rcAmQfXBInOF13KSlNCEtNSBpOo946pl6lljAAAF7ElEQVR42u3ceVQTRxwH8AVCyk0gUAhKqwFRFAKIgALhEgS5WlBUsCCHCNJntYBCDQL6tGKtVbxqRUXrgYp4lko98BZ7n/a+Sy97X7QO62uRPHgBdjeTzcxm+l6+/2f4PDKZ3+zsb5eiMOdyw8UAZ9/I87VXqx0oQmJ/qfb2eFojkoDUmuvuNgZFvXf9lyQ7mjlnk5bVeBnA1JRRU15Cc+Xwr0CUIKjJqvpo6kYTThQd7S8FPZkl2DfqffKHp+JobZEEpAN1yuzxm5LdU5b50hBRLJSD/rxihRWVcO2K/1QYFG3XkQYG5ElsKNuU1PE0ZLrGycDgnMEFe4GmzSQKf5UqcamW2bVo9ATAkOV4XLWafzpufqIqUjU2j2HxUvo7AuZY34fDdUnJOJPyolTtRwIU2/tWjXvdpIA14k0Ylgct06srK6C9PbLDbTLgyoKnka+lkTBTXukHtEQaixj2KtRvcSHQmlxbpK7TJjCujQAia5IRuuaWwLicR8HAgKc5MpdLItQXeQHAZT8y2ApUE0wdC1SuBiiXxFRo2NdxMC6TGUBgmL0C6h82GggNS4VyLbUUGnYUyhU9EwgMC4tG/UUigv3lC7PmJwHBYd2FzUW/H8ni3k2XyAwAU6dia0xM0lk2WDAwGKw32fnfnepg2JapgIFh6sx5KXDej5o7al9TMmC9mZh/rrNRXRHscgFBMHUKDjyQJHED5MF6s5ZU2D1GmBFmhBlhRpgR9n+FiUV9sbAiCobkJBszDHiQCgOvkQqTP0YoDEy4n1AYSA8jFAZEIwiFAR9vQmFgmwOhMLCbVJilEWaEGWGQ2bS1nkCY/XLHno8oAle1EAVbeeWN/r1wVOC6bDJgVieL5QM/6pR482ChoWE2t0Yyfly292azAWH72sQcQzzSWTTNELDkIIhD+9bpRQXCwhJeh73HIf/jVGmFULCMndY6jRZ/IeZcPXaY7fo0PiOKy+VYYV5bTHkN6LMYAHwwl2vh/IaTlskBPljsGRG/wXKWWAJUkQ1h/e0Zz28oJ1cxMpbpb02DWBFtfjyHCk9Hxhr289Crt9u0WRRXIxrbUK6jkLGs2xh6d0+rWzkO62aTl4mQscBXqxmmfVV/M2uPDbo/IXgPOtZud8Zl4uKAFpjnoWyOaehYwSznPGFDuiGz3EZyDzU7Fx1r9hdse0HGprBHOWw+29Cx9mxgPRdOYe2udfNhGsovWI6M9VyKC2vRvszVfDV/ymCbDOEy7/RZFXd/Mnd7k6YN5TIvfryJa+91FaJjp3JKq3oo18nIWPEfRnDuCR0g28wrx7UOW7IAGUv+rLZTzRWw7e+0MgfdT3Gn1mda9imhYf8gY63J1H452wjtckbFWpwBceX4E7SLfhgNawbU/Y+5w6FdXUhY0g1wt//K4f9haxGwZOsh274b4F3b9Wel74c9w2+SQLvsECzz8E9wnRdu5sdv+QD+PC7TDNoVp+cyb7FSl9Z8hVAzP9xdp3PVj+BdJXotXLo+ghRTAusy0WcjGKJz30J3y8s3JJhnvqkHj8d37x61PbFqep5W11TeV7CTIvS5lbzrRiU37GOermdW690V8G7nIuS7Ckd+LQFD7g0VzMtiWdZ4XRHNDOL/yNHQ1um9jUo0a6vTrVDE3U1jdowd1K9vxuMw6SH9nmtma+o+UKe5SftW5/LjOYKicMDuLiK76vqugaMxlx/db4zm1/UWhrcwlx9ed2zf3PH5cNzlh9+t5O7uf3GXH76wO7jLD3YY3/KDGca//GCFSYPMKQJhTg+GUhR5MH3LDyaY/uUHD8zVnaIIhM3C8gIGvWE5IdjeP6IPDFn5YUo9b5j1pFgKY6o2H5rIC1aM/2VFNp+WFuoKQ1t+OA47v1ynCwx1+eFM9TvNkDD05UdLzN8+MUc7DEf5gTgtO35sDCcMT/mBisPmQ9msMNdMypDxfr+UEYat/OiQ7188OBiWE+JCEZGwT6ZpwMQexLw7j6KsvjlRoYZhLj88Enr8WEv3nWIvisDYdv5JGdOf/wBvCt5Mksy8ZAAAAABJRU5ErkJggg==",j={class:"wscn-http404-container"},d={class:"wscn-http404"},i={class:"bullshit"},n={class:"bullshit__headline"},h=c(v({name:"Page404",setup:v=>(v,c)=>(l(),f("div",j,[s("div",d,[c[4]||(c[4]=a('
404404404404
',1)),s("div",i,[c[0]||(c[0]=s("div",{class:"bullshit__oops"},"OOPS!",-1)),c[1]||(c[1]=s("div",{class:"bullshit__info"},[t(" All rights reserved "),s("a",{style:{color:"#20a0ff"},href:"https://wallstreetcn.com",target:"_blank"},"wallstreetcn")],-1)),s("div",n,e("The webmaster said that you can not enter this page..."),1),c[2]||(c[2]=s("div",{class:"bullshit__info"}," Please check that the URL you entered is correct, or click the button below to return to the homepage. ",-1)),c[3]||(c[3]=s("a",{href:"",class:"bullshit__return-home"},"Back to home",-1))])])]))}),[["__scopeId","data-v-e103c145"]]);export{h as default}; diff --git a/static/js/BarChart.BhtXtCgr.js b/static/js/BarChart.BhtXtCgr.js new file mode 100644 index 0000000000000000000000000000000000000000..19d9293b6dee3fc762957d7d16503876769fddb5 --- /dev/null +++ b/static/js/BarChart.BhtXtCgr.js @@ -0,0 +1 @@ +import{c as e,e as t,k as a,d as o,r,o as i,bg as l,bh as s,l as n,w as d,a4 as c,a0 as m,n as p,G as f}from"./index.9PHSMUIB.js";import{E as h}from"./el-card.DWbysKpS.js";import"./el-tooltip.l0sNRNKZ.js";import{E as u}from"./el-popper.e9kr8u9Q.js";import{L as g,i as y}from"./index.DNYq9Wso.js";import{_ as x}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./index.D6nSmJHY.js";import"./isUndefined.DgmxjSXK.js";const v={viewBox:"0 0 1024 1024",width:"1.2em",height:"1.2em"};const w={name:"ep-download",render:function(o,r){return e(),t("svg",v,r[0]||(r[0]=[a("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696l236.288-236.352l45.248 45.248L508.8 704L192 387.2l45.248-45.248L480 584.704V128h64z"},null,-1)]))}},b={class:"title"},L=["id"],S=x(o({__name:"BarChart",props:{id:{type:String,default:"barChart"},className:{type:String,default:""},width:{type:String,default:"200px",required:!0},height:{type:String,default:"200px",required:!0}},setup(t){const o=t,x={grid:{left:"2%",right:"2%",bottom:"10%",containLabel:!0},tooltip:{trigger:"axis",axisPointer:{type:"cross",crossStyle:{color:"#999"}}},legend:{x:"center",y:"bottom",data:["收入","毛利润","收入增长率","利润增长率"],textStyle:{color:"#999"}},xAxis:[{type:"category",data:["浙江","北京","上海","广东","深圳"],axisPointer:{type:"shadow"}}],yAxis:[{type:"value",min:0,max:1e4,interval:2e3,axisLabel:{formatter:"{value} "}},{type:"value",min:0,max:100,interval:20,axisLabel:{formatter:"{value}%"}}],series:[{name:"收入",type:"bar",data:[7e3,7100,7200,7300,7400],barWidth:20,itemStyle:{color:new g(0,0,0,1,[{offset:0,color:"#83bff6"},{offset:.5,color:"#188df0"},{offset:1,color:"#188df0"}])}},{name:"毛利润",type:"bar",data:[8e3,8200,8400,8600,8800],barWidth:20,itemStyle:{color:new g(0,0,0,1,[{offset:0,color:"#25d73c"},{offset:.5,color:"#1bc23d"},{offset:1,color:"#179e61"}])}},{name:"收入增长率",type:"line",yAxisIndex:1,data:[60,65,70,75,80],itemStyle:{color:"#67C23A"}},{name:"利润增长率",type:"line",yAxisIndex:1,data:[70,75,80,85,90],itemStyle:{color:"#409EFF"}}]},v=()=>{const e=new Image;e.src=S.value.getDataURL({type:"png",pixelRatio:1,backgroundColor:"#fff"}),e.onload=()=>{const t=document.createElement("canvas");t.width=e.width,t.height=e.height;const a=t.getContext("2d");if(a){a.drawImage(e,0,0,e.width,e.height);const o=document.createElement("a");o.download="业绩柱状图.png",o.href=t.toDataURL("image/png",.9),document.body.appendChild(o),o.click(),o.remove()}}},S=r("");return i((()=>{S.value=l(y(document.getElementById(o.id))),S.value.setOption(x),window.addEventListener("resize",(()=>{S.value.resize()}))})),s((()=>{S.value&&S.value.resize()})),(o,r)=>{const i=w,l=u,s=h;return e(),n(s,null,{header:d((()=>[a("div",b,[r[0]||(r[0]=c(" 业绩柱状图 ")),m(l,{effect:"dark",content:"点击试试下载",placement:"bottom"},{default:d((()=>[m(i,{class:"download",onClick:v})])),_:1})])])),default:d((()=>[a("div",{id:t.id,class:p(t.className),style:f({height:t.height,width:t.width})},null,14,L)])),_:1})}}}),[["__scopeId","data-v-0b34e13d"]]);export{S as default}; diff --git a/static/js/FunnelChart.L2tIbyMX.js b/static/js/FunnelChart.L2tIbyMX.js new file mode 100644 index 0000000000000000000000000000000000000000..3120c5ba05da0cc00e4d3245185e4a2e4d37f225 --- /dev/null +++ b/static/js/FunnelChart.L2tIbyMX.js @@ -0,0 +1 @@ +import{i as e}from"./index.DNYq9Wso.js";import{d as t,r as i,o as a,bg as n,bh as l,c as d,e as r,n as s,G as o}from"./index.9PHSMUIB.js";const u=["id"],h=t({__name:"FunnelChart",props:{id:{type:String,default:"funnelChart"},className:{type:String,default:""},width:{type:String,default:"200px",required:!0},height:{type:String,default:"200px",required:!0}},setup(t){const h=t,m={title:{show:!0,text:"订单线索转化漏斗图",x:"center",padding:15,textStyle:{fontSize:18,fontStyle:"normal",fontWeight:"bold",color:"#337ecc"}},grid:{left:"2%",right:"2%",bottom:"10%",containLabel:!0},legend:{x:"center",y:"bottom",data:["Show","Click","Visit","Inquiry","Order"]},series:[{name:"Funnel",type:"funnel",left:"20%",top:60,bottom:60,width:"60%",sort:"descending",gap:2,label:{show:!0,position:"inside"},labelLine:{length:10,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{fontSize:20}},data:[{value:60,name:"Visit"},{value:40,name:"Inquiry"},{value:20,name:"Order"},{value:80,name:"Click"},{value:100,name:"Show"}]}]},p=i("");return a((()=>{p.value=n(e(document.getElementById(h.id))),p.value.setOption(m),window.addEventListener("resize",(()=>{p.value.resize()}))})),l((()=>{p.value&&p.value.resize()})),(e,i)=>(d(),r("div",{id:t.id,class:s(t.className),style:o({height:t.height,width:t.width})},null,14,u))}});export{h as default}; diff --git a/static/js/PieChart.mgwtBU-p.js b/static/js/PieChart.mgwtBU-p.js new file mode 100644 index 0000000000000000000000000000000000000000..03a9d50f06b99845e574716737872385101c8ebd --- /dev/null +++ b/static/js/PieChart.mgwtBU-p.js @@ -0,0 +1 @@ +import{d as e,r as t,o as a,bg as i,bh as r,c as s,l as d,w as n,a4 as l,k as o,n as u,G as m}from"./index.9PHSMUIB.js";import{E as p}from"./el-card.DWbysKpS.js";import{i as h}from"./index.DNYq9Wso.js";const c=["id"],g=e({__name:"PieChart",props:{id:{type:String,default:"pieChart"},className:{type:String,default:""},width:{type:String,default:"200px",required:!0},height:{type:String,default:"200px",required:!0}},setup(e){const g=e,f={grid:{left:"2%",right:"2%",bottom:"10%",containLabel:!0},legend:{top:"bottom",textStyle:{color:"#999"}},series:[{name:"Nightingale Chart",type:"pie",radius:[50,130],center:["50%","50%"],roseType:"area",itemStyle:{borderRadius:1,color:function(e){return["#409EFF","#67C23A","#E6A23C","#F56C6C"][e.dataIndex]}},data:[{value:26,name:"家用电器"},{value:27,name:"户外运动"},{value:24,name:"汽车用品"},{value:23,name:"手机数码"}]}]},v=t("");return a((()=>{v.value=i(h(document.getElementById(g.id))),v.value.setOption(f),window.addEventListener("resize",(()=>{v.value.resize()}))})),r((()=>{v.value&&v.value.resize()})),(t,a)=>{const i=p;return s(),d(i,null,{header:n((()=>a[0]||(a[0]=[l(" 产品分类饼图 ")]))),default:n((()=>[o("div",{id:e.id,class:u(e.className),style:m({height:e.height,width:e.width})},null,14,c)])),_:1})}}});export{g as default}; diff --git a/static/js/RadarChart.TGxAW552.js b/static/js/RadarChart.TGxAW552.js new file mode 100644 index 0000000000000000000000000000000000000000..5beba8755e11238ee88dabf80fc52396255a8aa4 --- /dev/null +++ b/static/js/RadarChart.TGxAW552.js @@ -0,0 +1 @@ +import{d as e,r as a,o as t,bg as r,bh as d,c as n,l as i,w as s,a4 as l,k as o,n as u,G as m}from"./index.9PHSMUIB.js";import{E as p}from"./el-card.DWbysKpS.js";import{i as c}from"./index.DNYq9Wso.js";const g=["id"],h=e({__name:"RadarChart",props:{id:{type:String,default:"radarChart"},className:{type:String,default:""},width:{type:String,default:"200px",required:!0},height:{type:String,default:"200px",required:!0}},setup(e){const h=e,f={grid:{left:"2%",right:"2%",bottom:"10%",containLabel:!0},legend:{x:"center",y:"bottom",data:["预定数量","下单数量","发货数量"],textStyle:{color:"#999"}},radar:{radius:"60%",indicator:[{name:"家用电器"},{name:"服装箱包"},{name:"运动户外"},{name:"手机数码"},{name:"汽车用品"},{name:"家具厨具"}]},series:[{name:"Budget vs spending",type:"radar",itemStyle:{borderRadius:6,color:function(e){return["#409EFF","#67C23A","#E6A23C","#F56C6C"][e.dataIndex]}},data:[{value:[400,400,400,400,400,400],name:"预定数量"},{value:[300,300,300,300,300,300],name:"下单数量"},{value:[200,200,200,200,200,200],name:"发货数量"}]}]},v=a("");return t((()=>{v.value=r(c(document.getElementById(h.id))),v.value.setOption(f),window.addEventListener("resize",(()=>{v.value.resize()}))})),d((()=>{v.value&&v.value.resize()})),(a,t)=>{const r=p;return n(),i(r,null,{header:s((()=>t[0]||(t[0]=[l(" 订单状态雷达图 ")]))),default:s((()=>[o("div",{id:e.id,class:u(e.className),style:m({height:e.height,width:e.width})},null,14,g)])),_:1})}}});export{h as default}; diff --git a/static/js/_initCloneObject.cf8iq1wq.js b/static/js/_initCloneObject.cf8iq1wq.js new file mode 100644 index 0000000000000000000000000000000000000000..8b3c01c0987bfe37125df3e7fbe275ca47d169a1 --- /dev/null +++ b/static/js/_initCloneObject.cf8iq1wq.js @@ -0,0 +1 @@ +import{cU as t,cV as e,bR as r,c5 as n,bT as o,cW as a,c7 as c,bQ as u,c4 as s,cX as i,c6 as f,c2 as p,bS as b,cY as y,cZ as l,cT as j,bO as v,c_ as d}from"./index.9PHSMUIB.js";var h=t(e,"WeakMap"),_=Object.create,g=function(){function t(){}return function(e){if(!r(e))return{};if(_)return _(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function O(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r{const c=o.__vccOpts||o;for(const[s,n]of t)c[s]=n;return c};export{o as _}; diff --git a/static/js/api.B2FJMEEY.js b/static/js/api.B2FJMEEY.js new file mode 100644 index 0000000000000000000000000000000000000000..b281c0e3f14ca8ffc8d7df9524708a63e6815057 --- /dev/null +++ b/static/js/api.B2FJMEEY.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cpath%20d='M499.2%20671.232v-261.12h102.4c16.384%200%2028.672%201.024%2037.888%202.56%2013.312%202.048%2024.576%206.656%2034.816%2013.312%209.728%206.656%2017.92%2016.384%2023.552%2028.16%206.144%2012.288%208.704%2025.6%208.192%2038.4%200%2023.552-7.68%2044.032-23.04%2059.904-15.36%2016.896-40.96%2025.088-78.848%2025.088h-43.52v93.184l-61.44.512zm281.6%200h-61.952v-261.12H780.8v261.12zm-287.744%200h-69.12L396.8%20601.6h-73.728l-25.088%2069.632h-66.56l100.352-261.12h54.272l107.008%20261.12zM343.552%20545.28h32.256l-15.872-42.496c0-.512-.512-1.024-.512-1.536l-15.872%2044.032zm217.6-26.112h43.52c20.48%200%2028.16-4.608%2031.232-7.168%204.608-4.096%207.168-10.752%207.168-18.944%200-6.656-1.536-11.776-4.096-15.36-2.56-3.584-6.144-6.144-10.752-7.68-1.536-.512-6.656-1.536-24.064-1.536h-43.008v50.688z'/%3e%3cpath%20d='M747.52%20842.752H512c-8.704%200-16.384-3.584-22.016-9.728-6.144-6.144-9.216-14.336-8.704-22.528.512-16.896%2014.336-30.72%2031.232-31.232H747.52c115.712%200%20209.408-94.208%20209.408-209.408%200-104.96-78.848-194.56-183.296-207.872l-22.528-3.072-4.608-22.016C724.992%20231.936%20631.808%20156.16%20524.288%20156.16c-124.928%200-226.304%20101.376-226.304%20226.304v8.704l1.536%2036.352-36.352-4.096c-6.144-1.024-12.288-1.024-18.432-1.024-98.304%200-178.176%2079.872-178.176%20178.176%200%2098.304%2079.872%20178.176%20178.176%20178.176h63.488c8.704%200%2016.384%203.584%2022.016%209.728%206.144%206.144%209.216%2014.336%208.704%2022.528-.512%2016.896-14.336%2030.72-31.232%2031.232h-64c-64%200-123.904-25.088-169.472-70.144C28.16%20726.528%203.072%20665.6%203.072%20601.088c0-129.536%20103.936-236.544%20232.448-241.152%2012.288-157.184%20149.504-276.48%20307.2-266.24%2059.904%203.584%20118.784%2027.136%20165.888%2065.536%2045.568%2037.376%2077.824%2087.04%2094.208%20143.872%20125.952%2026.112%20217.088%20137.728%20217.088%20266.752.512%20151.04-121.856%20272.896-272.384%20272.896z'/%3e%3cpath%20d='M572.416%20930.816c-8.192%200-15.872-3.072-21.504-8.704L431.616%20812.544l113.152-117.76c6.144-6.144%2013.824-9.216%2022.528-9.216%208.704%200%2016.384%203.072%2022.528%209.216%2011.776%2011.776%2012.288%2031.232%201.024%2044.032l-68.608%2070.656%2071.68%2066.048c6.144%205.632%209.728%2013.312%2010.24%2022.016.512%208.704-2.56%2016.384-8.192%2023.04-6.656%206.656-14.848%2010.24-23.552%2010.24z'/%3e%3c/svg%3e";export{c as default}; diff --git a/static/js/apifox.IXUmMSaC.js b/static/js/apifox.IXUmMSaC.js new file mode 100644 index 0000000000000000000000000000000000000000..570a6e0dc5b437edfeddd71d56915fe9c638fe37 --- /dev/null +++ b/static/js/apifox.IXUmMSaC.js @@ -0,0 +1 @@ +import{_ as e}from"./_plugin-vue_export-helper.BCo6x5W8.js";import{c as a,e as r,k as s}from"./index.9PHSMUIB.js";const t={class:"app-container"};const o=e({},[["render",function(e,o){return a(),r("div",t,o[0]||(o[0]=[s("iframe",{src:"https://www.apifox.cn/apidoc/shared-195e783f-4d85-4235-a038-eec696de4ea5",width:"100%",height:"100%",frameborder:"0"},null,-1)]))}],["__scopeId","data-v-4ff6b735"]]);export{o as default}; diff --git a/static/js/captcha.KixZeTLs.js b/static/js/captcha.KixZeTLs.js new file mode 100644 index 0000000000000000000000000000000000000000..6e19d43904ab1f0a07be54c2d5bbdee866d140cc --- /dev/null +++ b/static/js/captcha.KixZeTLs.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cpath%20d='M917.6%20267.2c-36.1-2.5-72.4-9.3-103.6-19.3-10.1-3-20.2-6.4-30.3-10-21.4-6.3-50.5-18.8-83.6-36.6-.4-.2-.7-.4-1.1-.6-7.8-4.2-15.7-8.7-23.8-13.4-10.9-6.3-21.7-12.9-32.5-19.9-.4-.3-.8-.5-1.2-.8-7.7-5-15.5-10.2-23.1-15.5-5-3.4-10-7.1-15-10.7-3.8-2.8-7.5-5.3-11.3-8.2-27.4-20.5-54.5-43.5-79.9-68.3-25.4%2024.8-52.5%2047.8-79.9%2068.3-3.7%202.8-7.5%205.4-11.3%208.2-5%203.6-10%207.3-15%2010.7-7.7%205.4-15.4%2010.5-23.1%2015.5-.4.3-.8.5-1.2.8-10.8%206.9-21.6%2013.6-32.5%2019.9-8.1%204.7-16%209.2-23.8%2013.4-.3.2-.7.4-1%20.6-33%2017.8-62.2%2030.3-83.6%2036.6-10.1%203.6-20.2%207-30.3%2010-31.1%2010-67.4%2016.8-103.6%2019.3h.1c1.1%2016.2%202.1%2037.7%203.4%2060.9h.7c6.1%2086.8%2023.5%20210.2%2049.7%20282.8%201.2%203.2%202.2%206.5%203.3%209.6.6%201.5%201.2%202.8%201.8%204.3%2062.8%20162.1%20171.9%20280.1%20303%20323.4v.4c17.3%205.7%2031.9%209.3%2043.5%2011.5%2011.5-2.2%2026.1-5.8%2043.5-11.5v-.4C687%20905%20796.1%20787%20858.9%20624.8c.6-1.5%201.2-2.8%201.8-4.3%201.2-3.1%202.2-6.4%203.3-9.6%2026.2-72.5%2043.6-196%2049.7-282.8h.7c1.1-23.3%202.2-44.7%203.2-60.9zm-47.4%2041.9-.5%209.5c-.5%202.2-.9%204.4-1%206.6C863%20406%20847%20525.7%20821.3%20596.7c-.7%201.9-1.4%203.9-2%205.8-.4%201.2-.8%202.5-1.4%204.1-.5%201.2-1%202.5-1.4%203.4C758.1%20760.8%20657.7%20869.3%20541%20907.8c-1.9.6-3.7%201.4-5.5%202.2-7.9%202.5-15.7%204.6-23.2%206.3-7.5-1.7-15.2-3.8-23.1-6.3-1.8-.9-3.6-1.6-5.5-2.2-116.7-38.5-217.1-147-275.4-297.5-.5-1.2-.9-2.4-1.7-4.1-.4-1.2-.8-2.4-1.3-3.6-.7-2-1.3-3.9-1.9-5.6-25.8-71.2-41.7-191-47.4-271.7-.2-2.3-.5-4.5-1-6.6l-.5-9.3c-.1-1.5-.2-3-.2-4.5%2024.6-3.8%2048.4-9.3%2070-16.2%2010.1-3%2020.4-6.4%2031.4-10.4%2025.2-7.6%2056.5-21.2%2090.5-39.6.6-.3%201.2-.6%201.7-.9%208.2-4.4%2016.7-9.2%2024.8-14%2010.7-6.1%2022-13%2034.5-21.1.4-.2%201-.6%201.3-.8%208.2-5.3%2016.4-10.8%2024.1-16.2%204.5-3.1%209.1-6.4%2013.7-9.7l2.4-1.8%204-2.9c2.6-1.9%205.2-3.7%207.5-5.5%2017.9-13.4%2035.3-27.5%2052-42.1%2016.7%2014.7%2034%2028.7%2051.8%2042%202.6%201.9%205.1%203.8%207.7%205.6l4.3%203.1%201.5%201.1c4.8%203.5%209.6%206.9%2014%209.9%208.1%205.7%2016.3%2011.2%2023.7%2016l2.1%201.3c12.4%208%2023.7%2014.9%2034.1%2020.8%208.6%205%2017%209.8%2025%2014.1.4.2%201%20.5%201.5.8%2034.2%2018.4%2065.6%2032.1%2090.9%2039.7%2011%203.9%2021.3%207.3%2030.6%2010.1%2022.1%207.1%2046.1%2012.6%2070.8%2016.5.1%201.5.1%203%200%204.4z'/%3e%3cpath%20d='M710.6%20411.2%20476.1%20651.6l-120-123c-8.3-8.5-21.8-8.5-30.1%200s-8.3%2022.3%200%2030.9L461.1%20698c4.2%204.3%209.6%206.4%2015.1%206.4%205.4%200%2010.9-2.1%2015-6.4l249.5-255.7c8.3-8.5%208.3-22.3%200-30.9-8.3-8.7-21.8-8.7-30.1-.2z'/%3e%3c/svg%3e";export{c as default}; diff --git a/static/js/cascader.Bxy7lIuJ.js b/static/js/cascader.Bxy7lIuJ.js new file mode 100644 index 0000000000000000000000000000000000000000..aac6d7f769b6ce64606e428c35b13c7b377f7d20 --- /dev/null +++ b/static/js/cascader.Bxy7lIuJ.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cpath%20d='M832.128%20768c33.195%200%2060.501%2025.173%2063.573%2057.813L896%20832a64%2064%200%200%201-63.872%2064H533.205a63.787%2063.787%200%200%201-63.872-64%2064%2064%200%200%201%2063.872-64h298.923zM213.333%20874.667c-23.722%200-42.666-19.072-42.666-42.624V362.667A42.667%2042.667%200%200%201%20213.333%20320l4.992.299C239.66%20322.73%20256%20340.779%20256%20362.624l-.043%20128.043h128.299c21.248%200%2039.595%2016.469%2042.112%2037.674l.299%204.992-.299%204.992A42.368%2042.368%200%200%201%20384.256%20576H256l.043%20213.333h128.256c22.869%200%2042.41%2019.115%2042.41%2042.667l-.298%204.992a42.368%2042.368%200%200%201-42.112%2037.675zm618.795-405.334c33.195%200%2060.501%2025.174%2063.573%2057.814l.299%206.186a64%2064%200%200%201-63.872%2064H533.205a63.787%2063.787%200%200%201-63.872-64%2064%2064%200%200%201%2063.872-64h298.923zM576.171%20128c33.194%200%2060.458%2025.173%2063.573%2057.813L640%20192c0%2035.328-29.013%2064-63.83%2064H191.83A63.744%2063.744%200%200%201%20128%20192c0-35.328%2029.013-64%2063.83-64h384.34z'/%3e%3c/svg%3e";export{c as default}; diff --git a/static/js/castArray.BN0gQOTw.js b/static/js/castArray.BN0gQOTw.js new file mode 100644 index 0000000000000000000000000000000000000000..a803c913fed37e9a1c580f9310a7d0541fc08aa4 --- /dev/null +++ b/static/js/castArray.BN0gQOTw.js @@ -0,0 +1 @@ +import{bS as r}from"./index.9PHSMUIB.js";function n(){if(!arguments.length)return[];var n=arguments[0];return r(n)?n:[n]}export{n as c}; diff --git a/static/js/client.fwafuIJ_.js b/static/js/client.fwafuIJ_.js new file mode 100644 index 0000000000000000000000000000000000000000..c4d2cafb09c48153f5aa65120d21a4867fb0553f --- /dev/null +++ b/static/js/client.fwafuIJ_.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cpath%20d='M962.184%2055.874H61.818C27.732%2055.874%200%2083.606%200%20117.692v621.64c0%2034.086%2027.732%2061.818%2061.818%2061.818h308.52v44.98c0%2041.234-33.547%2074.782-74.781%2074.782h-67.995c-13.036%200-23.606%2010.568-23.606%2023.606%200%2013.038%2010.57%2023.606%2023.606%2023.606h568.874c13.036%200%2023.606-10.568%2023.606-23.606%200-13.038-10.57-23.606-23.606-23.606h-67.997c-41.234%200-74.782-33.548-74.782-74.782v-44.978h308.52c34.087%200%2061.821-27.732%2061.821-61.819v-621.64c.004-34.087-27.728-61.819-61.814-61.819zM391.84%20920.916c16.092-20.672%2025.714-46.616%2025.714-74.782v-44.98h188.894v44.98c0%2028.166%209.622%2054.112%2025.714%2074.782H391.841zm584.95-181.583c0%208.054-6.552%2014.608-14.608%2014.608H61.818c-8.054%200-14.608-6.552-14.608-14.608V615.267h929.58v124.066zm0-171.28H47.212v-450.36c0-8.055%206.552-14.609%2014.608-14.609h900.362c8.054%200%2014.61%206.552%2014.61%2014.608v450.361z'/%3e%3cpath%20d='M486.531%20684.611a25.476%2025.476%200%201%200%2050.952%200%2025.476%2025.476%200%201%200-50.952%200zm65.946-466.103c-9.22-9.218-24.162-9.218-33.386%200L352.263%20385.337c-9.218%209.218-9.218%2024.166%200%2033.386a23.534%2023.534%200%200%200%2016.694%206.914%2023.526%2023.526%200%200%200%2016.692-6.914l166.828-166.829c9.218-9.218%209.218-24.166%200-33.386zm98.88%2096.679c-9.216-9.218-24.158-9.218-33.384-.002l-66.46%2066.456c-9.218%209.22-9.218%2024.168%200%2033.386a23.53%2023.53%200%200%200%2016.692%206.914c6.04%200%2012.082-2.304%2016.692-6.914l66.46-66.456c9.218-9.218%209.218-24.166%200-33.384z'/%3e%3c/svg%3e";export{c as default}; diff --git a/static/js/close.3A3CTE27.js b/static/js/close.3A3CTE27.js new file mode 100644 index 0000000000000000000000000000000000000000..958fe1bfcb29ef4d359a4be09ae725f3bd2a8c06 --- /dev/null +++ b/static/js/close.3A3CTE27.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20aria-hidden='true'%20width='1em'%20height='1em'%20viewBox='0%200%2036%2036'%3e%3cpath%20d='m19.41%2018%208.29-8.29a1%201%200%200%200-1.41-1.41L18%2016.59l-8.29-8.3a1%201%200%200%200-1.42%201.42l8.3%208.29-8.3%208.29A1%201%200%201%200%209.7%2027.7l8.3-8.29%208.29%208.29a1%201%200%200%200%201.41-1.41z'%20fill='currentColor'/%3e%3c/svg%3e";export{e as default}; diff --git a/static/js/close_all.CpAPdWg9.js b/static/js/close_all.CpAPdWg9.js new file mode 100644 index 0000000000000000000000000000000000000000..c5fd1adbe5d6fe12be3fd7b14809003a5b6c1184 --- /dev/null +++ b/static/js/close_all.CpAPdWg9.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20aria-hidden='true'%20width='1em'%20height='1em'%20viewBox='0%200%2036%2036'%3e%3cpath%20d='M26%2017H10a1%201%200%200%200%200%202h16a1%201%200%200%200%200-2z'%20fill='currentColor'/%3e%3c/svg%3e";export{e as default}; diff --git a/static/js/close_left.FPCWsnfT.js b/static/js/close_left.FPCWsnfT.js new file mode 100644 index 0000000000000000000000000000000000000000..00ffdf2caf8865032175730b03f6a2ea923e55c3 --- /dev/null +++ b/static/js/close_left.FPCWsnfT.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20aria-hidden='true'%20width='1em'%20height='1em'%20viewBox='0%200%2024%2024'%3e%3cg%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%3e%3cpath%20d='m7%2012%207%207m-7-7%207-7'%20stroke-linejoin='round'/%3e%3cpath%20d='M21%2012H7.5'/%3e%3cpath%20d='M3%203v18'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/static/js/close_other.CtMgS35C.js b/static/js/close_other.CtMgS35C.js new file mode 100644 index 0000000000000000000000000000000000000000..ef2e7d5beffd41e62415bab549a100b092c55f09 --- /dev/null +++ b/static/js/close_other.CtMgS35C.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20aria-hidden='true'%20width='1em'%20height='1em'%20viewBox='0%200%2020%2020'%3e%3cpath%20d='M3%205h14V3H3v2zm12%208V7H5v6h10zM3%2017h14v-2H3v2z'%20fill='currentColor'/%3e%3c/svg%3e";export{e as default}; diff --git a/static/js/close_right.WYLOaSAD.js b/static/js/close_right.WYLOaSAD.js new file mode 100644 index 0000000000000000000000000000000000000000..b5eaeb99d6801459f8a1e15860c2f16c3ca397ee --- /dev/null +++ b/static/js/close_right.WYLOaSAD.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20aria-hidden='true'%20width='1em'%20height='1em'%20viewBox='0%200%2024%2024'%3e%3cg%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%3e%3cpath%20d='m17%2012-7%207m7-7-7-7'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%2012h13.5'/%3e%3cpath%20d='M21%203v18'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/static/js/debounce.i1DMUZzi.js b/static/js/debounce.i1DMUZzi.js new file mode 100644 index 0000000000000000000000000000000000000000..94f4dd74f6aa80d96af3c7b799a75518e1f0f0d5 --- /dev/null +++ b/static/js/debounce.i1DMUZzi.js @@ -0,0 +1 @@ +import{db as t,bR as n,cV as r}from"./index.9PHSMUIB.js";var i=/\s/;var e=/^\s+/;function u(t){return t?t.slice(0,function(t){for(var n=t.length;n--&&i.test(t.charAt(n)););return n}(t)+1).replace(e,""):t}var o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,f=/^0o[0-7]+$/i,c=parseInt;function v(r){if("number"==typeof r)return r;if(t(r))return NaN;if(n(r)){var i="function"==typeof r.valueOf?r.valueOf():r;r=n(i)?i+"":i}if("string"!=typeof r)return 0===r?r:+r;r=u(r);var e=a.test(r);return e||f.test(r)?c(r.slice(2),e?2:8):o.test(r)?NaN:+r}var s=function(){return r.Date.now()},d=Math.max,l=Math.min;function m(t,r,i){var e,u,o,a,f,c,m=0,p=!1,h=!1,x=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function T(n){var r=e,i=u;return e=u=void 0,m=n,a=t.apply(i,r)}function y(t){var n=t-c;return void 0===c||n>=r||n<0||h&&t-m>=o}function g(){var t=s();if(y(t))return b(t);f=setTimeout(g,function(t){var n=r-(t-c);return h?l(n,o-(t-m)):n}(t))}function b(t){return f=void 0,x&&e?T(t):(e=u=void 0,a)}function N(){var t=s(),n=y(t);if(e=arguments,u=this,c=t,n){if(void 0===f)return function(t){return m=t,f=setTimeout(g,r),p?T(t):a}(c);if(h)return clearTimeout(f),f=setTimeout(g,r),T(c)}return void 0===f&&(f=setTimeout(g,r)),a}return r=v(r)||0,n(i)&&(p=!!i.leading,o=(h="maxWait"in i)?d(v(i.maxWait)||0,r):o,x="trailing"in i?!!i.trailing:x),N.cancel=function(){void 0!==f&&clearTimeout(f),m=0,e=c=u=f=void 0},N.flush=function(){return void 0===f?a:b(s())},N}export{m as d}; diff --git a/static/js/dict.B6ktMwQ2.js b/static/js/dict.B6ktMwQ2.js new file mode 100644 index 0000000000000000000000000000000000000000..503b4d27172e5850a010b218ee331caecaea6a63 --- /dev/null +++ b/static/js/dict.B6ktMwQ2.js @@ -0,0 +1 @@ +import{bd as e,d as l,r as a,C as t,aK as s,c as o,l as r,w as u,e as d,O as n,P as i,g as m,aO as p,a0 as c,a4 as v}from"./index.9PHSMUIB.js";import{a as b,E as f}from"./el-form-item.UpoTeuOf.js";import"./el-tag.CLWce1kX.js";import{E as y,a as g}from"./el-select.dUFpYm6H.js";import"./el-scrollbar.DlPh6Z7D.js";import"./el-popper.e9kr8u9Q.js";import{E as j}from"./el-link.BTv-HaC_.js";import"./castArray.BN0gQOTw.js";import"./_initCloneObject.cf8iq1wq.js";import"./strings.CQ_np2th.js";import"./isEqual.DDyRMzJ4.js";import"./debounce.i1DMUZzi.js";import"./index.D7zGuEZp.js";import"./index.D6nSmJHY.js";import"./isUndefined.DgmxjSXK.js";const V=l({__name:"index",props:{typeCode:{type:String,required:!0},modelValue:{type:[String,Number]},placeholder:{type:String,default:"请选择"},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(l,{emit:c}){const v=l,b=c,f=a([]),j=a();function V(e){b("update:modelValue",e)}return t([f,()=>v.modelValue],(([e,l])=>{0!==e.length&&(null!=l?"number"==typeof e[0].value?j.value=Number(l):"string"==typeof e[0].value?j.value=String(l):j.value=l:j.value=void 0)})),s((()=>{var l;(l=v.typeCode,e({url:"/api/v1/dict/"+l+"/options",method:"get"})).then((e=>{f.value=e.data}))})),(e,a)=>{const t=y,s=g;return o(),r(s,{modelValue:m(j),"onUpdate:modelValue":a[0]||(a[0]=e=>p(j)?j.value=e:null),placeholder:l.placeholder,disabled:l.disabled,clearable:"",onChange:V},{default:u((()=>[(o(!0),d(n,null,i(m(f),(e=>(o(),r(t,{key:e.value,label:e.label,value:e.value},null,8,["label","value"])))),128))])),_:1},8,["modelValue","placeholder","disabled"])}}}),_={class:"app-container"},h=l({__name:"dict",setup(e){const l=a("1"),t=a(1);return(e,a)=>{const s=j,r=V,n=b,i=f;return o(),d("div",_,[c(s,{href:"https://gitee.com/youlaiorg/vue3-element-admin/blob/master/src/views/demo/dict.vue",type:"primary",target:"_blank",class:"mb-[20px]"},{default:u((()=>a[2]||(a[2]=[v("示例源码 请点击>>>>")]))),_:1}),c(i,null,{default:u((()=>[c(n,{label:"性别"},{default:u((()=>[c(r,{modelValue:m(l),"onUpdate:modelValue":a[0]||(a[0]=e=>p(l)?l.value=e:null),"type-code":"gender"},null,8,["modelValue"]),c(s,{underline:!1,type:"primary",class:"ml-5"},{default:u((()=>a[3]||(a[3]=[v('值为String: const value = ref("1"); ')]))),_:1})])),_:1}),c(n,{label:"性别"},{default:u((()=>[c(r,{modelValue:m(t),"onUpdate:modelValue":a[1]||(a[1]=e=>p(t)?t.value=e:null),"type-code":"gender"},null,8,["modelValue"]),c(s,{underline:!1,type:"success",class:"ml-5"},{default:u((()=>a[4]||(a[4]=[v("值为Number: const value = ref(1); ")]))),_:1})])),_:1})])),_:1})])}}});export{h as default}; diff --git a/static/js/dict.BlxtrVRf.js b/static/js/dict.BlxtrVRf.js new file mode 100644 index 0000000000000000000000000000000000000000..028dd01c693230fc26e389ec5709d03acb5c54fe --- /dev/null +++ b/static/js/dict.BlxtrVRf.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cpath%20d='M449.6%20116.2H303.8c-14.2%200-25.7-11.5-25.7-25.7s11.5-25.7%2025.7-25.7h145.8c14.2%200%2025.7%2011.5%2025.7%2025.7s-11.5%2025.7-25.7%2025.7zm0%200'/%3e%3cpath%20d='M160.1%20859.3c-14.2%200-25.7-11.5-25.7-25.7V167.4c0-56.6%2046-102.6%20102.6-102.6h66.8c14.2%200%2025.7%2011.5%2025.7%2025.7s-11.5%2025.7-25.7%2025.7H237c-28.2%200-51.1%2022.9-51.1%2051.1v666.2c-.1%2014.3-11.6%2025.8-25.8%2025.8zm373.5-512.6c-6.3%200-12.4-1.3-17.6-3.5-13.5-5.8-21.9-17.9-21.9-31.6v-221c0-14.2%2011.5-25.7%2025.7-25.7s25.7%2011.5%2025.7%2025.7v189l27.7-26.6c14.1-13.5%2036.1-13.5%2050.1%200l22.1%2021.3V90.5c0-14.2%2011.5-25.7%2025.7-25.7s25.7%2011.5%2025.7%2025.7v219.6c0%2014.5-8.6%2027.5-22%2033.2-13.3%205.7-28.7%202.9-39.2-7.2l-37.5-36-37.5%2036c-7.6%207.6-17.5%2010.6-27%2010.6zm0%200'/%3e%3cpath%20d='M846.1%20958.9H236.9c-56.6%200-102.6-46-102.6-102.6v-22.8c0-14.2%2011.5-25.7%2025.7-25.7s25.7%2011.5%2025.7%2025.7v22.8c0%2028.2%2022.9%2051.1%2051.1%2051.1H846c14.2%200%2025.7%2011.5%2025.7%2025.7.1%2014.3-11.4%2025.8-25.6%2025.8zm0%200'/%3e%3cpath%20d='M160.1%20876h-.9c-14.2-.5-25.3-12.4-24.8-26.6%201-28.2%206.3-48.5%2016.7-63.6%2013.8-20.1%2035.4-30.3%2064.3-30.3h615c3.2-2.7%206.4-6.1%208.6-8.6V133.1c-1.8-5.1-11.7-15-16.8-16.8H449.6c-14.2%200-25.7-11.5-25.7-25.7s11.5-25.7%2025.7-25.7h373.6c19.8%200%2036.7%2013.9%2045%2022.2%208.3%208.3%2022.2%2025.2%2022.2%2045v621.6c0%2010.8-6.2%2019.6-12.3%2026.7-4.6%205.4-10.3%2011-15.6%2015.4-1%20.9-2.1%201.7-3.2%202.5-5.4%204.1-12.9%208.8-22.3%208.8H215.3c-15%200-28%200-29.5%2044.2-.5%2013.8-11.9%2024.7-25.7%2024.7zm0%200'/%3e%3cpath%20d='M284.4%20806.4c-14.2%200-25.7-11.5-25.7-25.7V90.5c0-14.2%2011.5-25.7%2025.7-25.7s25.7%2011.5%2025.7%2025.7v690.1c0%2014.3-11.5%2025.8-25.7%2025.8zM844.9%20959h-1.6c-6.6-.3-30-2.3-52.2-16.9-19.5-12.7-42.6-38-42.6-86.3%200-62.3%2035.7-101%2093.1-101%2014.2%200%2025.7%2011.5%2025.7%2025.7s-11.5%2025.7-25.7%2025.7c-12.5%200-41.7%200-41.7%2049.6%200%2021%206.6%2035.3%2020.1%2043.8%2010.6%206.6%2022.1%207.8%2025%208%201.4-.1%202.9%200%204.4.2%2013.7%201.7%2023.6%2014%2022.5%2027.7-.9%209.5-8.8%2023.5-27%2023.5zm-1.8-51.3c-1.1.1-2.3.3-3.4.6%201.1-.3%202.2-.5%203.4-.6zm0%200'/%3e%3c/svg%3e";export{c as default}; diff --git a/static/js/document.DqID0E9P.js b/static/js/document.DqID0E9P.js new file mode 100644 index 0000000000000000000000000000000000000000..6e9c7cbd31fb6b12587a25145317cda15e8b528e --- /dev/null +++ b/static/js/document.DqID0E9P.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cpath%20d='M832.1%20185.1H609.4l-17.1-62c-9.6-34.6-40.5-58.8-75.3-58.8H196c-43.2%200-78.3%2036.4-78.3%2081.1V897c0%2035.3%2028.7%2064%2064%2064H832c35.3%200%2064-28.7%2064-64V249c.1-35.2-28.6-63.9-63.9-63.9zm-644.4-39.7c0-6.6%204.4-11.1%208.3-11.1h321c3.4%200%206.6%203.1%207.8%207.4l12%2043.4H187.7v-39.7zm638.4%20745.8H187.7V255.1h638.4v636.1z'/%3e%3cpath%20d='M311.1%20415.1a35%2035%200%201%200%2070%200%2035%2035%200%201%200-70%200zm151.2-35h257.8v70H462.3zM311.1%20582.3a35%2035%200%201%200%2070%200%2035%2035%200%201%200-70%200zm151.2-35h257.8v70H462.3zM311.1%20749.5a35%2035%200%201%200%2070%200%2035%2035%200%201%200-70%200zm151.2-35h257.8v70H462.3z'/%3e%3c/svg%3e";export{c as default}; diff --git a/static/js/download.BcBrriOr.js b/static/js/download.BcBrriOr.js new file mode 100644 index 0000000000000000000000000000000000000000..1d557e5ae40102d8174a3ad980fca7de0055d39e --- /dev/null +++ b/static/js/download.BcBrriOr.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cpath%20d='M624%20706.3h-74.1V464c0-4.4-3.6-8-8-8h-60c-4.4%200-8%203.6-8%208v242.3H400c-6.7%200-10.4%207.7-6.3%2012.9l112%20141.7c3.2%204.1%209.4%204.1%2012.6%200l112-141.7c4.1-5.2.4-12.9-6.3-12.9z'/%3e%3cpath%20d='M811.4%20366.7C765.6%20245.9%20648.9%20160%20512.2%20160S258.8%20245.8%20213%20366.6C127.3%20389.1%2064%20467.2%2064%20560c0%20110.5%2089.5%20200%20199.9%20200H304c4.4%200%208-3.6%208-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7%200-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4%209.9-51.2%2026.2-72.1%2016.7-21.3%2040.1-36.8%2066.1-43.7l37.9-9.9%2013.9-36.6c8.6-22.8%2020.6-44.1%2035.7-63.4%2014.9-19.2%2032.6-35.9%2052.4-49.9%2041.1-28.9%2089.5-44.2%20140-44.2s98.9%2015.3%20140%2044.2c19.9%2014%2037.5%2030.8%2052.4%2049.9%2015.1%2019.3%2027.1%2040.7%2035.7%2063.4l13.8%2036.5%2037.8%2010C846.1%20454.5%20884%20503.8%20884%20560c0%2033.1-12.9%2064.3-36.3%2087.7-23.4%2023.4-54.5%2036.3-87.6%2036.3H720c-4.4%200-8%203.6-8%208v60c0%204.4%203.6%208%208%208h40.1C870.5%20760%20960%20670.5%20960%20560c0-92.7-63.1-170.7-148.6-193.3z'/%3e%3c/svg%3e";export{c as default}; diff --git a/static/js/dropdown.CqG_2FXV.js b/static/js/dropdown.CqG_2FXV.js new file mode 100644 index 0000000000000000000000000000000000000000..40026e4b17e50f40d70a2e8a9f383a547950447c --- /dev/null +++ b/static/js/dropdown.CqG_2FXV.js @@ -0,0 +1 @@ +import{_ as e,d as t,f as o,r as l,p as a,j as n,o as r,g as i,al as s,b as p,h as u,i as d,F as c}from"./index.9PHSMUIB.js";import{a as f,u as m}from"./el-popper.e9kr8u9Q.js";var y=e(t({inheritAttrs:!1}),[["render",function(e,t,l,a,n,r){return o(e.$slots,"default")}],["__file","collection.vue"]]);var g=e(t({name:"ElCollectionItem",inheritAttrs:!1}),[["render",function(e,t,l,a,n,r){return o(e.$slots,"default")}],["__file","collection-item.vue"]]);const C="data-el-collection-item",E=e=>{const t=`El${e}Collection`,o=`${t}Item`,p=Symbol(t),u=Symbol(o),d={...y,name:t,setup(){const e=l(null),t=new Map;a(p,{itemMap:t,getItems:()=>{const o=i(e);if(!o)return[];const l=Array.from(o.querySelectorAll(`[${C}]`));return[...t.values()].sort(((e,t)=>l.indexOf(e.ref)-l.indexOf(t.ref)))},collectionRef:e})}},c={...g,name:o,setup(e,{attrs:t}){const o=l(null),d=n(p,void 0);a(u,{collectionItemRef:o}),r((()=>{const e=i(o);e&&d.itemMap.set(e,{ref:e,...t})})),s((()=>{const e=i(o);d.itemMap.delete(e)}))}};return{COLLECTION_INJECTION_KEY:p,COLLECTION_ITEM_INJECTION_KEY:u,ElCollection:d,ElCollectionItem:c}},I=p({trigger:f.trigger,effect:{...m.effect,default:"light"},type:{type:u(String)},placement:{type:u(String),default:"bottom"},popperOptions:{type:u(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:u([Number,String]),default:0},maxHeight:{type:u([Number,String]),default:""},popperClass:{type:String,default:""},disabled:Boolean,role:{type:String,default:"menu"},buttonProps:{type:u(Object)},teleported:m.teleported}),O=p({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:d}}),b=p({onKeydown:{type:u(Function)}}),N=[c.down,c.pageDown,c.home],_=[c.up,c.pageUp,c.end],S=[...N,..._],{ElCollection:T,ElCollectionItem:h,COLLECTION_INJECTION_KEY:L,COLLECTION_ITEM_INJECTION_KEY:v}=E("Dropdown");export{v as C,T as E,S as F,_ as L,O as a,C as b,E as c,I as d,h as e,b as f,L as g}; diff --git a/static/js/edit.D3u4lddN.js b/static/js/edit.D3u4lddN.js new file mode 100644 index 0000000000000000000000000000000000000000..cf31863a64eac581c1832db4cc92137fdd41412f --- /dev/null +++ b/static/js/edit.D3u4lddN.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20width='128'%20height='128'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M106.133%2067.2a4.797%204.797%200%200%200-4.8%204.8c0%20.187.014.36.027.533h-.027V118.4H9.6V26.667h50.133c2.654%200%204.8-2.147%204.8-4.8%200-2.654-2.146-4.8-4.8-4.8H9.6a9.594%209.594%200%200%200-9.6%209.6V118.4c0%205.307%204.293%209.6%209.6%209.6h91.733c5.307%200%209.6-4.293%209.6-9.6V72.533h-.026c.013-.173.026-.346.026-.533%200-2.653-2.146-4.8-4.8-4.8z'/%3e%3cpath%20d='M125.16%2013.373%20114.587%202.8c-3.747-3.747-9.854-3.72-13.6.027l-52.96%2052.96a4.264%204.264%200%200%200-.907%201.36L33.813%2088.533c-.746%201.76-.226%203.534.907%204.68%201.133%201.147%202.92%201.667%204.693.92l31.4-13.293c.507-.213.96-.52%201.36-.907l52.96-52.96c3.747-3.746%203.774-9.853.027-13.6zM66.107%2072.4l-18.32%207.76%207.76-18.32L92.72%2024.667l10.56%2010.56L66.107%2072.4zm52.226-52.227-8.266%208.267-10.56-10.56%208.266-8.267.027-.026%2010.56%2010.56-.027.026z'/%3e%3c/svg%3e";export{c as default}; diff --git a/static/js/el-alert.IAJrxUBM.js b/static/js/el-alert.IAJrxUBM.js new file mode 100644 index 0000000000000000000000000000000000000000..7257a656e87662dcccdc02d436b7727079e5ef4b --- /dev/null +++ b/static/js/el-alert.IAJrxUBM.js @@ -0,0 +1 @@ +import{b as e,bw as s,bx as t,d as a,a9 as l,a as i,r as o,B as c,c as n,l as d,w as r,Z as f,k as p,n as u,g as y,E as v,m as b,a1 as k,e as m,f as g,a4 as x,t as _,O as h,a0 as w,a6 as S,T as B,_ as E,by as T,s as $}from"./index.9PHSMUIB.js";const C=e({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:s(t),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:["light","dark"],default:"light"}}),I={close:e=>e instanceof MouseEvent},j=a({name:"ElAlert"});const A=$(E(a({...j,props:C,emits:I,setup(e,{emit:s}){const a=e,{Close:E}=T,$=l(),C=i("alert"),I=o(!0),j=c((()=>t[a.type])),A=c((()=>[C.e("icon"),{[C.is("big")]:!!a.description||!!$.default}])),M=c((()=>({"with-description":a.description||$.default}))),O=e=>{I.value=!1,s("close",e)};return(e,s)=>(n(),d(B,{name:y(C).b("fade"),persisted:""},{default:r((()=>[f(p("div",{class:u([y(C).b(),y(C).m(e.type),y(C).is("center",e.center),y(C).is(e.effect)]),role:"alert"},[e.showIcon&&y(j)?(n(),d(y(v),{key:0,class:u(y(A))},{default:r((()=>[(n(),d(b(y(j))))])),_:1},8,["class"])):k("v-if",!0),p("div",{class:u(y(C).e("content"))},[e.title||e.$slots.title?(n(),m("span",{key:0,class:u([y(C).e("title"),y(M)])},[g(e.$slots,"title",{},(()=>[x(_(e.title),1)]))],2)):k("v-if",!0),e.$slots.default||e.description?(n(),m("p",{key:1,class:u(y(C).e("description"))},[g(e.$slots,"default",{},(()=>[x(_(e.description),1)]))],2)):k("v-if",!0),e.closable?(n(),m(h,{key:2},[e.closeText?(n(),m("div",{key:0,class:u([y(C).e("close-btn"),y(C).is("customed")]),onClick:O},_(e.closeText),3)):(n(),d(y(v),{key:1,class:u(y(C).e("close-btn")),onClick:O},{default:r((()=>[w(y(E))])),_:1},8,["class"]))],64)):k("v-if",!0)],2)],2),[[S,I.value]])])),_:3},8,["name"]))}}),[["__file","alert.vue"]]));export{A as E}; diff --git a/static/js/el-card.DWbysKpS.js b/static/js/el-card.DWbysKpS.js new file mode 100644 index 0000000000000000000000000000000000000000..5d089c59f13b79de0a2988e0408bcdc1df3a2db0 --- /dev/null +++ b/static/js/el-card.DWbysKpS.js @@ -0,0 +1 @@ +import{b as s,h as a,d as e,a as t,c as o,e as r,n as d,g as l,f as y,a1 as f,k as i,G as n,a4 as c,t as h,_ as v,s as p}from"./index.9PHSMUIB.js";const u=s({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:a([String,Object,Array]),default:""},bodyClass:String,shadow:{type:String,values:["always","hover","never"],default:"always"}}),b=e({name:"ElCard"});const S=p(v(e({...b,props:u,setup(s){const a=t("card");return(s,e)=>(o(),r("div",{class:d([l(a).b(),l(a).is(`${s.shadow}-shadow`)])},[s.$slots.header||s.header?(o(),r("div",{key:0,class:d(l(a).e("header"))},[y(s.$slots,"header",{},(()=>[c(h(s.header),1)]))],2)):f("v-if",!0),i("div",{class:d([l(a).e("body"),s.bodyClass]),style:n(s.bodyStyle)},[y(s.$slots,"default")],6),s.$slots.footer||s.footer?(o(),r("div",{key:1,class:d(l(a).e("footer"))},[y(s.$slots,"footer",{},(()=>[c(h(s.footer),1)]))],2)):f("v-if",!0)],2))}}),[["__file","card.vue"]]));export{S as E}; diff --git a/static/js/el-col.DNKSa6YX.js b/static/js/el-col.DNKSa6YX.js new file mode 100644 index 0000000000000000000000000000000000000000..10901f37ff64b6db0986527116527553663cb373 --- /dev/null +++ b/static/js/el-col.DNKSa6YX.js @@ -0,0 +1 @@ +import{b as t,d as e,a as s,B as a,p as u,c as l,l as r,w as p,f as n,n as o,g as f,G as d,m as c,_ as g,s as i,h as b,ao as y,j as m,b7 as $,as as h}from"./index.9PHSMUIB.js";const j=Symbol("rowContextKey"),v=t({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:["start","center","end","space-around","space-between","space-evenly"],default:"start"},align:{type:String,values:["top","middle","bottom"]}}),N=e({name:"ElRow"});const x=i(g(e({...N,props:v,setup(t){const e=t,g=s("row"),i=a((()=>e.gutter));u(j,{gutter:i});const b=a((()=>{const t={};return e.gutter?(t.marginRight=t.marginLeft=`-${e.gutter/2}px`,t):t})),y=a((()=>[g.b(),g.is(`justify-${e.justify}`,"start"!==e.justify),g.is(`align-${e.align}`,!!e.align)]));return(t,e)=>(l(),r(c(t.tag),{class:o(f(y)),style:d(f(b))},{default:p((()=>[n(t.$slots,"default")])),_:3},8,["class","style"]))}}),[["__file","row.vue"]])),_=t({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:b([Number,Object]),default:()=>y({})},sm:{type:b([Number,Object]),default:()=>y({})},md:{type:b([Number,Object]),default:()=>y({})},lg:{type:b([Number,Object]),default:()=>y({})},xl:{type:b([Number,Object]),default:()=>y({})}}),w=e({name:"ElCol"});const E=i(g(e({...w,props:_,setup(t){const e=t,{gutter:u}=m(j,{gutter:a((()=>0))}),g=s("col"),i=a((()=>{const t={};return u.value&&(t.paddingLeft=t.paddingRight=u.value/2+"px"),t})),b=a((()=>{const t=[];["span","offset","pull","push"].forEach((s=>{const a=e[s];$(a)&&("span"===s?t.push(g.b(`${e[s]}`)):a>0&&t.push(g.b(`${s}-${e[s]}`)))}));return["xs","sm","md","lg","xl"].forEach((s=>{$(e[s])?t.push(g.b(`${s}-${e[s]}`)):h(e[s])&&Object.entries(e[s]).forEach((([e,a])=>{t.push("span"!==e?g.b(`${s}-${e}-${a}`):g.b(`${s}-${a}`))}))})),u.value&&t.push(g.is("guttered")),[g.b(),t]}));return(t,e)=>(l(),r(c(t.tag),{class:o(f(b)),style:d(f(i))},{default:p((()=>[n(t.$slots,"default")])),_:3},8,["class","style"]))}}),[["__file","col.vue"]]));export{E,x as a}; diff --git a/static/js/el-dialog.Dis4ipFy.js b/static/js/el-dialog.Dis4ipFy.js new file mode 100644 index 0000000000000000000000000000000000000000..a21487d50781c178d65c2687f68a430abec852cb --- /dev/null +++ b/static/js/el-dialog.Dis4ipFy.js @@ -0,0 +1 @@ +import{d as e,u as o,j as s,b4 as a,B as l,cN as t,c as r,e as n,k as i,f as d,n as c,g as f,t as u,a0 as p,w as v,l as b,m as g,E as m,a1 as y,G as h,_ as C,cO as k,a9 as R,aa as w,a as $,r as _,p as A,T as x,Z as F,ab as I,ac as E,x as L,b3 as P,a6 as M,cP as T,s as j}from"./index.9PHSMUIB.js";import{E as B}from"./index.D6nSmJHY.js";import{b as q,c as z,d as D,a as S,u as O}from"./use-dialog.CybRpRek.js";import{c as G}from"./refs.CNClepWF.js";const K=Symbol("dialogInjectionKey"),N=e({name:"ElDialogContent"});var U=C(e({...N,props:q,emits:z,setup(e,{expose:C}){const R=e,{t:w}=o(),{Close:$}=k,{dialogRef:_,headerRef:A,bodyId:x,ns:F,style:I}=s(K),{focusTrapRef:E}=s(a),L=l((()=>[F.b(),F.is("fullscreen",R.fullscreen),F.is("draggable",R.draggable),F.is("align-center",R.alignCenter),{[F.m("center")]:R.center}])),P=G(E,_),M=l((()=>R.draggable)),T=l((()=>R.overflow)),{resetPosition:j}=t(_,A,M,T);return C({resetPosition:j}),(e,o)=>(r(),n("div",{ref:f(P),class:c(f(L)),style:h(f(I)),tabindex:"-1"},[i("header",{ref_key:"headerRef",ref:A,class:c([f(F).e("header"),{"show-close":e.showClose}])},[d(e.$slots,"header",{},(()=>[i("span",{role:"heading","aria-level":e.ariaLevel,class:c(f(F).e("title"))},u(e.title),11,["aria-level"])])),e.showClose?(r(),n("button",{key:0,"aria-label":f(w)("el.dialog.close"),class:c(f(F).e("headerbtn")),type:"button",onClick:o=>e.$emit("close")},[p(f(m),{class:c(f(F).e("close"))},{default:v((()=>[(r(),b(g(e.closeIcon||f($))))])),_:1},8,["class"])],10,["aria-label","onClick"])):y("v-if",!0)],2),i("div",{id:f(x),class:c(f(F).e("body"))},[d(e.$slots,"default")],10,["id"]),e.$slots.footer?(r(),n("footer",{key:0,class:c(f(F).e("footer"))},[d(e.$slots,"footer")],2)):y("v-if",!0)],6))}}),[["__file","dialog-content.vue"]]);const Z=e({name:"ElDialog",inheritAttrs:!1});const H=j(C(e({...Z,props:D,emits:S,setup(e,{expose:o}){const s=e,a=R();w({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"},l((()=>!!a.title)));const t=$("dialog"),n=_(),u=_(),g=_(),{visible:m,titleId:C,bodyId:k,style:j,overlayDialogStyle:q,rendered:z,zIndex:D,afterEnter:S,afterLeave:G,beforeLeave:N,handleClose:Z,onModalClick:H,onOpenAutoFocus:J,onCloseAutoFocus:Q,onCloseRequested:V,onFocusoutPrevented:W}=O(s,n);A(K,{dialogRef:n,headerRef:u,bodyId:k,ns:t,rendered:z,style:j});const X=T(H),Y=l((()=>s.draggable&&!s.fullscreen));return o({visible:m,dialogContentRef:g,resetPosition:()=>{var e;null==(e=g.value)||e.resetPosition()}}),(e,o)=>(r(),b(f(B),{to:e.appendTo,disabled:"body"===e.appendTo&&!e.appendToBody},{default:v((()=>[p(x,{name:"dialog-fade",onAfterEnter:f(S),onAfterLeave:f(G),onBeforeLeave:f(N),persisted:""},{default:v((()=>[F(p(f(I),{"custom-mask-event":"",mask:e.modal,"overlay-class":e.modalClass,"z-index":f(D)},{default:v((()=>[i("div",{role:"dialog","aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:f(C),"aria-describedby":f(k),class:c(`${f(t).namespace.value}-overlay-dialog`),style:h(f(q)),onClick:f(X).onClick,onMousedown:f(X).onMousedown,onMouseup:f(X).onMouseup},[p(f(E),{loop:"",trapped:f(m),"focus-start-el":"container",onFocusAfterTrapped:f(J),onFocusAfterReleased:f(Q),onFocusoutPrevented:f(W),onReleaseRequested:f(V)},{default:v((()=>[f(z)?(r(),b(U,L({key:0,ref_key:"dialogContentRef",ref:g},e.$attrs,{center:e.center,"align-center":e.alignCenter,"close-icon":e.closeIcon,draggable:f(Y),overflow:e.overflow,fullscreen:e.fullscreen,"show-close":e.showClose,title:e.title,"aria-level":e.headerAriaLevel,onClose:f(Z)}),P({header:v((()=>[e.$slots.title?d(e.$slots,"title",{key:1}):d(e.$slots,"header",{key:0,close:f(Z),titleId:f(C),titleClass:f(t).e("title")})])),default:v((()=>[d(e.$slots,"default")])),_:2},[e.$slots.footer?{name:"footer",fn:v((()=>[d(e.$slots,"footer")]))}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","show-close","title","aria-level","onClose"])):y("v-if",!0)])),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,["aria-label","aria-labelledby","aria-describedby","onClick","onMousedown","onMouseup"])])),_:3},8,["mask","overlay-class","z-index"]),[[M,f(m)]])])),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])])),_:3},8,["to","disabled"]))}}),[["__file","dialog.vue"]]));export{H as E}; diff --git a/static/js/el-form-item.UpoTeuOf.js b/static/js/el-form-item.UpoTeuOf.js new file mode 100644 index 0000000000000000000000000000000000000000..61d392a697b11893991c4c3278b3922ce453551b --- /dev/null +++ b/static/js/el-form-item.UpoTeuOf.js @@ -0,0 +1 @@ +import{bO as e,bP as r,bQ as t,bR as n,bS as a,bT as i,b as s,bU as o,h as l,at as u,J as f,b6 as c,r as d,B as p,d as v,R as y,a as g,C as h,a8 as b,p as m,X as j,be as w,bV as q,c as F,e as O,f as A,n as x,g as E,_ as P,bc as S,j as k,bW as R,aj as I,o as $,al as B,bq as M,aq as _,a0 as V,O as W,Y as D,a9 as C,b2 as z,bX as N,D as L,bY as T,w as U,l as J,m as G,G as Y,a4 as Z,t as X,a1 as H,k as Q,aL as K,s as ee,v as re}from"./index.9PHSMUIB.js";import{c as te}from"./castArray.BN0gQOTw.js";import{c as ne,k as ae,a as ie,g as se,s as oe,b as le,d as ue,e as fe,f as ce,h as de,n as pe,i as ve,j as ye,l as ge,m as he,o as be,S as me,p as je}from"./_initCloneObject.cf8iq1wq.js";var we=Object.getOwnPropertySymbols?function(r){for(var t=[];r;)e(t,se(r)),r=le(r);return t}:oe;function qe(e){return ue(e,ie,we)}var Fe=Object.prototype.hasOwnProperty;var Oe=/\w*$/;var Ae=r?r.prototype:void 0,xe=Ae?Ae.valueOf:void 0;function Ee(e,r,t){var n,a,i,s=e.constructor;switch(r){case"[object ArrayBuffer]":return fe(e);case"[object Boolean]":case"[object Date]":return new s(+e);case"[object DataView]":return function(e,r){var t=r?fe(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.byteLength)}(e,t);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ce(e,t);case"[object Map]":case"[object Set]":return new s;case"[object Number]":case"[object String]":return new s(e);case"[object RegExp]":return(i=new(a=e).constructor(a.source,Oe.exec(a))).lastIndex=a.lastIndex,i;case"[object Symbol]":return n=e,xe?Object(xe.call(n)):{}}}var Pe=pe&&pe.isMap,Se=Pe?ve(Pe):function(e){return t(e)&&"[object Map]"==de(e)};var ke=pe&&pe.isSet,Re=ke?ve(ke):function(e){return t(e)&&"[object Set]"==de(e)},Ie="[object Arguments]",$e="[object Function]",Be="[object Object]",Me={};function _e(e,r,t,s,o,l){var u,f=1&r,c=2&r,d=4&r;if(void 0!==u)return u;if(!n(e))return e;var p=a(e);if(p){if(u=function(e){var r=e.length,t=new e.constructor(r);return r&&"string"==typeof e[0]&&Fe.call(e,"index")&&(t.index=e.index,t.input=e.input),t}(e),!f)return ye(e,u)}else{var v=de(e),y=v==$e||"[object GeneratorFunction]"==v;if(ge(e))return he(e,f);if(v==Be||v==Ie||y&&!o){if(u=c||y?{}:be(e),!f)return c?function(e,r){return ne(e,we(e),r)}(e,function(e,r){return e&&ne(r,ie(r),e)}(u,e)):function(e,r){return ne(e,se(e),r)}(e,function(e,r){return e&&ne(r,ae(r),e)}(u,e))}else{if(!Me[v])return o?e:{};u=Ee(e,v,f)}}l||(l=new me);var g=l.get(e);if(g)return g;l.set(e,u),Re(e)?e.forEach((function(n){u.add(_e(n,r,t,n,e,l))})):Se(e)&&e.forEach((function(n,a){u.set(a,_e(n,r,t,a,e,l))}));var h=p?void 0:(d?c?qe:je:c?ie:ae)(e);return function(e,r){for(var t=-1,n=null==e?0:e.length;++t(u(e)||f(e))&&c(r)&&f(t)};function ze(){const e=d([]),r=p((()=>{if(!e.value.length)return"0";const r=Math.max(...e.value);return r?`${r}px`:""}));function t(t){const n=e.value.indexOf(t);return-1===n&&r.value,n}return{autoLabelWidth:r,registerLabelWidth:function(r,n){if(r&&n){const a=t(n);e.value.splice(a,1,r)}else r&&e.value.push(r)},deregisterLabelWidth:function(r){const n=t(r);n>-1&&e.value.splice(n,1)}}}const Ne=(e,r)=>{const t=te(r);return t.length>0?e.filter((e=>e.prop&&t.includes(e.prop))):e},Le=v({name:"ElForm"});var Te=P(v({...Le,props:De,emits:Ce,setup(e,{expose:r,emit:t}){const n=e,a=[],i=y(),s=g("form"),o=p((()=>{const{labelPosition:e,inline:r}=n;return[s.b(),s.m(i.value||"default"),{[s.m(`label-${e}`)]:e,[s.m("inline")]:r}]})),l=(e=[])=>{n.model&&Ne(a,e).forEach((e=>e.resetField()))},u=(e=[])=>{Ne(a,e).forEach((e=>e.clearValidate()))},f=p((()=>!!n.model)),c=async e=>v(void 0,e),d=async(e=[])=>{if(!f.value)return!1;const r=(e=>{if(0===a.length)return[];const r=Ne(a,e);return r.length?r:[]})(e);if(0===r.length)return!0;let t={};for(const a of r)try{await a.validate("")}catch(n){t={...t,...n}}return 0===Object.keys(t).length||Promise.reject(t)},v=async(e=[],r)=>{const t=!S(r);try{const t=await d(e);return!0===t&&await(null==r?void 0:r(t)),t}catch(a){if(a instanceof Error)throw a;const e=a;return n.scrollToError&&P(Object.keys(e)[0]),await(null==r?void 0:r(!1,e)),t&&Promise.reject(e)}},P=e=>{var r;const t=Ne(a,e)[0];t&&(null==(r=t.$el)||r.scrollIntoView(n.scrollIntoViewOptions))};return h((()=>n.rules),(()=>{n.validateOnRuleChange&&c().catch((e=>b()))}),{deep:!0}),m(q,j({...w(n),emit:t,resetFields:l,clearValidate:u,validateField:v,getField:e=>a.find((r=>r.prop===e)),addField:e=>{a.push(e)},removeField:e=>{e.prop&&a.splice(a.indexOf(e),1)},...ze()})),r({validate:c,validateField:v,resetFields:l,clearValidate:u,scrollToField:P,fields:a}),(e,r)=>(F(),O("form",{class:x(E(o))},[A(e.$slots,"default")],2))}}),[["__file","form.vue"]]);function Ue(){return Ue=Object.assign?Object.assign.bind():function(e){for(var r=1;r1?r-1:0),n=1;n=i)return e;switch(e){case"%s":return String(t[a++]);case"%d":return Number(t[a++]);case"%j":try{return JSON.stringify(t[a++])}catch(r){return"[Circular]"}break;default:return e}})):e}function er(e,r){return null==e||(!("array"!==r||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(r)||"string"!=typeof e||e))}function rr(e,r,t){var n=0,a=e.length;!function i(s){if(s&&s.length)t(s);else{var o=n;n+=1,o()\[\]\\.,;:\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,}))$/,ur=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,fr={integer:function(e){return fr.number(e)&&parseInt(e,10)===e},float:function(e){return fr.number(e)&&!fr.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(r){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!fr.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(lr)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(function(){if(sr)return sr;var e="[a-fA-F\\d:]",r=function(r){return r&&r.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},t="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",n="[a-fA-F\\d]{1,4}",a=("\n(?:\n(?:"+n+":){7}(?:"+n+"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:"+n+":){6}(?:"+t+"|:"+n+"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:"+n+":){5}(?::"+t+"|(?::"+n+"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:"+n+":){4}(?:(?::"+n+"){0,1}:"+t+"|(?::"+n+"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:"+n+":){3}(?:(?::"+n+"){0,2}:"+t+"|(?::"+n+"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:"+n+":){2}(?:(?::"+n+"){0,3}:"+t+"|(?::"+n+"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:"+n+":){1}(?:(?::"+n+"){0,4}:"+t+"|(?::"+n+"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::"+n+"){0,5}:"+t+"|(?::"+n+"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),i=new RegExp("(?:^"+t+"$)|(?:^"+a+"$)"),s=new RegExp("^"+t+"$"),o=new RegExp("^"+a+"$"),l=function(e){return e&&e.exact?i:new RegExp("(?:"+r(e)+t+r(e)+")|(?:"+r(e)+a+r(e)+")","g")};l.v4=function(e){return e&&e.exact?s:new RegExp(""+r(e)+t+r(e),"g")},l.v6=function(e){return e&&e.exact?o:new RegExp(""+r(e)+a+r(e),"g")};var u=l.v4().source,f=l.v6().source;return sr=new RegExp("(?:^(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|"+u+"|"+f+'|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?$)',"i")}())},hex:function(e){return"string"==typeof e&&!!e.match(ur)}},cr="enum",dr={required:or,whitespace:function(e,r,t,n,a){(/^\s+$/.test(r)||""===r)&&n.push(Ke(a.messages.whitespace,e.fullField))},type:function(e,r,t,n,a){if(e.required&&void 0===r)or(e,r,t,n,a);else{var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?fr[i](r)||n.push(Ke(a.messages.types[i],e.fullField,e.type)):i&&typeof r!==e.type&&n.push(Ke(a.messages.types[i],e.fullField,e.type))}},range:function(e,r,t,n,a){var i="number"==typeof e.len,s="number"==typeof e.min,o="number"==typeof e.max,l=r,u=null,f="number"==typeof r,c="string"==typeof r,d=Array.isArray(r);if(f?u="number":c?u="string":d&&(u="array"),!u)return!1;d&&(l=r.length),c&&(l=r.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?l!==e.len&&n.push(Ke(a.messages[u].len,e.fullField,e.len)):s&&!o&&le.max?n.push(Ke(a.messages[u].max,e.fullField,e.max)):s&&o&&(le.max)&&n.push(Ke(a.messages[u].range,e.fullField,e.min,e.max))},enum:function(e,r,t,n,a){e[cr]=Array.isArray(e[cr])?e[cr]:[],-1===e[cr].indexOf(r)&&n.push(Ke(a.messages[cr],e.fullField,e[cr].join(", ")))},pattern:function(e,r,t,n,a){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(r)||n.push(Ke(a.messages.pattern.mismatch,e.fullField,r,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(r)||n.push(Ke(a.messages.pattern.mismatch,e.fullField,r,e.pattern))}}},pr=function(e,r,t,n,a){var i=e.type,s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(er(r,i)&&!e.required)return t();dr.required(e,r,n,s,a,i),er(r,i)||dr.type(e,r,n,s,a)}t(s)},vr={string:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(er(r,"string")&&!e.required)return t();dr.required(e,r,n,i,a,"string"),er(r,"string")||(dr.type(e,r,n,i,a),dr.range(e,r,n,i,a),dr.pattern(e,r,n,i,a),!0===e.whitespace&&dr.whitespace(e,r,n,i,a))}t(i)},method:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(er(r)&&!e.required)return t();dr.required(e,r,n,i,a),void 0!==r&&dr.type(e,r,n,i,a)}t(i)},number:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(""===r&&(r=void 0),er(r)&&!e.required)return t();dr.required(e,r,n,i,a),void 0!==r&&(dr.type(e,r,n,i,a),dr.range(e,r,n,i,a))}t(i)},boolean:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(er(r)&&!e.required)return t();dr.required(e,r,n,i,a),void 0!==r&&dr.type(e,r,n,i,a)}t(i)},regexp:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(er(r)&&!e.required)return t();dr.required(e,r,n,i,a),er(r)||dr.type(e,r,n,i,a)}t(i)},integer:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(er(r)&&!e.required)return t();dr.required(e,r,n,i,a),void 0!==r&&(dr.type(e,r,n,i,a),dr.range(e,r,n,i,a))}t(i)},float:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(er(r)&&!e.required)return t();dr.required(e,r,n,i,a),void 0!==r&&(dr.type(e,r,n,i,a),dr.range(e,r,n,i,a))}t(i)},array:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(null==r&&!e.required)return t();dr.required(e,r,n,i,a,"array"),null!=r&&(dr.type(e,r,n,i,a),dr.range(e,r,n,i,a))}t(i)},object:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(er(r)&&!e.required)return t();dr.required(e,r,n,i,a),void 0!==r&&dr.type(e,r,n,i,a)}t(i)},enum:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(er(r)&&!e.required)return t();dr.required(e,r,n,i,a),void 0!==r&&dr.enum(e,r,n,i,a)}t(i)},pattern:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(er(r,"string")&&!e.required)return t();dr.required(e,r,n,i,a),er(r,"string")||dr.pattern(e,r,n,i,a)}t(i)},date:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(er(r,"date")&&!e.required)return t();var s;if(dr.required(e,r,n,i,a),!er(r,"date"))s=r instanceof Date?r:new Date(r),dr.type(e,s,n,i,a),s&&dr.range(e,s.getTime(),n,i,a)}t(i)},url:pr,hex:pr,email:pr,required:function(e,r,t,n,a){var i=[],s=Array.isArray(r)?"array":typeof r;dr.required(e,r,n,i,a,s),t(i)},any:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(er(r)&&!e.required)return t();dr.required(e,r,n,i,a)}t(i)}};function yr(){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 gr=yr(),hr=function(){function e(e){this.rules=null,this._messages=gr,this.define(e)}var r=e.prototype;return r.define=function(e){var r=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(t){var n=e[t];r.rules[t]=Array.isArray(n)?n:[n]}))},r.messages=function(e){return e&&(this._messages=ir(yr(),e)),this._messages},r.validate=function(r,t,n){var a=this;void 0===t&&(t={}),void 0===n&&(n=function(){});var i=r,s=t,o=n;if("function"==typeof s&&(o=s,s={}),!this.rules||0===Object.keys(this.rules).length)return o&&o(null,i),Promise.resolve(i);if(s.messages){var l=this.messages();l===gr&&(l=yr()),ir(l,s.messages),s.messages=l}else s.messages=this.messages();var u={};(s.keys||Object.keys(this.rules)).forEach((function(e){var t=a.rules[e],n=i[e];t.forEach((function(t){var s=t;"function"==typeof s.transform&&(i===r&&(i=Ue({},i)),n=i[e]=s.transform(n)),(s="function"==typeof s?{validator:s}:Ue({},s)).validator=a.getValidationMethod(s),s.validator&&(s.field=e,s.fullField=s.fullField||e,s.type=a.getType(s),u[e]=u[e]||[],u[e].push({rule:s,value:n,source:i,field:e}))}))}));var f={};return nr(u,s,(function(r,t){var n,a=r.rule,o=!("object"!==a.type&&"array"!==a.type||"object"!=typeof a.fields&&"object"!=typeof a.defaultField);function l(e,r){return Ue({},r,{fullField:a.fullField+"."+e,fullFields:a.fullFields?[].concat(a.fullFields,[e]):[e]})}function u(n){void 0===n&&(n=[]);var u=Array.isArray(n)?n:[n];!s.suppressWarning&&u.length&&e.warning("async-validator:",u),u.length&&void 0!==a.message&&(u=[].concat(a.message));var c=u.map(ar(a,i));if(s.first&&c.length)return f[a.field]=1,t(c);if(o){if(a.required&&!r.value)return void 0!==a.message?c=[].concat(a.message).map(ar(a,i)):s.error&&(c=[s.error(a,Ke(s.messages.required,a.field))]),t(c);var d={};a.defaultField&&Object.keys(r.value).map((function(e){d[e]=a.defaultField})),d=Ue({},d,r.rule.fields);var p={};Object.keys(d).forEach((function(e){var r=d[e],t=Array.isArray(r)?r:[r];p[e]=t.map(l.bind(null,e))}));var v=new e(p);v.messages(s.messages),r.rule.options&&(r.rule.options.messages=s.messages,r.rule.options.error=s.error),v.validate(r.value,r.rule.options||s,(function(e){var r=[];c&&c.length&&r.push.apply(r,c),e&&e.length&&r.push.apply(r,e),t(r.length?r:null)}))}else t(c)}if(o=o&&(a.required||!a.required&&r.value),a.field=r.field,a.asyncValidator)n=a.asyncValidator(a,r.value,u,r.source,s);else if(a.validator){try{n=a.validator(a,r.value,u,r.source,s)}catch(c){console.error,s.suppressValidatorError||setTimeout((function(){throw c}),0),u(c.message)}!0===n?u():!1===n?u("function"==typeof a.message?a.message(a.fullField||a.field):a.message||(a.fullField||a.field)+" fails"):n instanceof Array?u(n):n instanceof Error&&u(n.message)}n&&n.then&&n.then((function(){return u()}),(function(e){return u(e)}))}),(function(e){!function(e){for(var r,t,n=[],a={},s=0;s");const a=g("form"),i=d(),s=d(0),o=(n="update")=>{D((()=>{r.default&&e.isAutoWidth&&("update"===n?s.value=(()=>{var e;if(null==(e=i.value)?void 0:e.firstElementChild){const e=window.getComputedStyle(i.value.firstElementChild).width;return Math.ceil(Number.parseFloat(e))}return 0})():"remove"===n&&(null==t||t.deregisterLabelWidth(s.value)))}))},l=()=>o("update");return $((()=>{l()})),B((()=>{o("remove")})),M((()=>l())),h(s,((r,n)=>{e.updateAll&&(null==t||t.registerLabelWidth(r,n))})),_(p((()=>{var e,r;return null!=(r=null==(e=i.value)?void 0:e.firstElementChild)?r:null})),l),()=>{var o,l;if(!r)return null;const{isAutoWidth:u}=e;if(u){const e=null==t?void 0:t.autoLabelWidth,l={};if((null==n?void 0:n.hasLabel)&&e&&"auto"!==e){const r=Math.max(0,Number.parseInt(e,10)-s.value),a=n.labelPosition||t.labelPosition;r&&(l["left"===a?"marginRight":"marginLeft"]=`${r}px`)}return V("div",{ref:i,class:[a.be("item","label-wrap")],style:l},[null==(o=r.default)?void 0:o.call(r)])}return V(W,{ref:i},[null==(l=r.default)?void 0:l.call(r)])}}});const wr=v({name:"ElFormItem"});var qr=P(v({...wr,props:br,setup(e,{expose:r}){const t=e,n=C(),a=k(q,void 0),i=k(R,void 0),s=y(void 0,{formItem:!1}),o=g("form-item"),l=z().value,v=d([]),b=d(""),P=N(b,100),I=d(""),M=d();let _,W=!1;const ee=p((()=>t.labelPosition||(null==a?void 0:a.labelPosition))),re=p((()=>{if("top"===ee.value)return{};const e=L(t.labelWidth||(null==a?void 0:a.labelWidth)||"");return e?{width:e}:{}})),ne=p((()=>{if("top"===ee.value||(null==a?void 0:a.inline))return{};if(!t.label&&!t.labelWidth&&ce)return{};const e=L(t.labelWidth||(null==a?void 0:a.labelWidth)||"");return t.label||n.label?{}:{marginLeft:e}})),ae=p((()=>[o.b(),o.m(s.value),o.is("error","error"===b.value),o.is("validating","validating"===b.value),o.is("success","success"===b.value),o.is("required",ye.value||t.required),o.is("no-asterisk",null==a?void 0:a.hideRequiredAsterisk),"right"===(null==a?void 0:a.requireAsteriskPosition)?"asterisk-right":"asterisk-left",{[o.m("feedback")]:null==a?void 0:a.statusIcon,[o.m(`label-${ee.value}`)]:ee.value}])),ie=p((()=>c(t.inlineMessage)?t.inlineMessage:(null==a?void 0:a.inlineMessage)||!1)),se=p((()=>[o.e("error"),{[o.em("error","inline")]:ie.value}])),oe=p((()=>t.prop?f(t.prop)?t.prop:t.prop.join("."):"")),le=p((()=>!(!t.label&&!n.label))),ue=p((()=>t.for||(1===v.value.length?v.value[0]:void 0))),fe=p((()=>!ue.value&&le.value)),ce=!!i,de=p((()=>{const e=null==a?void 0:a.model;if(e&&t.prop)return T(e,t.prop).value})),pe=p((()=>{const{required:e}=t,r=[];t.rules&&r.push(...te(t.rules));const n=null==a?void 0:a.rules;if(n&&t.prop){const e=T(n,t.prop).value;e&&r.push(...te(e))}if(void 0!==e){const t=r.map(((e,r)=>[e,r])).filter((([e])=>Object.keys(e).includes("required")));if(t.length>0)for(const[n,a]of t)n.required!==e&&(r[a]={...n,required:e});else r.push({required:e})}return r})),ve=p((()=>pe.value.length>0)),ye=p((()=>pe.value.some((e=>e.required)))),ge=p((()=>{var e;return"error"===P.value&&t.showMessage&&(null==(e=null==a?void 0:a.showMessage)||e)})),he=p((()=>`${t.label||""}${(null==a?void 0:a.labelSuffix)||""}`)),be=e=>{b.value=e},me=async e=>{const r=oe.value;return new hr({[r]:e}).validate({[r]:de.value},{firstFields:!0}).then((()=>(be("success"),null==a||a.emit("validate",t.prop,!0,""),!0))).catch((e=>((e=>{var r,n;const{errors:i,fields:s}=e;be("error"),I.value=i?null!=(n=null==(r=null==i?void 0:i[0])?void 0:r.message)?n:`${t.prop} is required`:"",null==a||a.emit("validate",t.prop,!1,I.value)})(e),Promise.reject(e))))},je=async(e,r)=>{if(W||!t.prop)return!1;const n=S(r);if(!ve.value)return null==r||r(!1),!1;const a=(e=>pe.value.filter((r=>!r.trigger||!e||(u(r.trigger)?r.trigger.includes(e):r.trigger===e))).map((({trigger:e,...r})=>r)))(e);return 0===a.length?(null==r||r(!0),!0):(be("validating"),me(a).then((()=>(null==r||r(!0),!0))).catch((e=>{const{fields:t}=e;return null==r||r(!1,t),!n&&Promise.reject(t)})))},we=()=>{be(""),I.value="",W=!1},qe=async()=>{const e=null==a?void 0:a.model;if(!e||!t.prop)return;const r=T(e,t.prop);W=!0,r.value=Ve(_),await D(),we(),W=!1};h((()=>t.error),(e=>{I.value=e||"",be(e?"error":"")}),{immediate:!0}),h((()=>t.validateStatus),(e=>be(e||"")));const Fe=j({...w(t),$el:M,size:s,validateState:b,labelId:l,inputIds:v,isGroup:fe,hasLabel:le,fieldValue:de,addInputId:e=>{v.value.includes(e)||v.value.push(e)},removeInputId:e=>{v.value=v.value.filter((r=>r!==e))},resetField:qe,clearValidate:we,validate:je});return m(R,Fe),$((()=>{t.prop&&(null==a||a.addField(Fe),_=Ve(de.value))})),B((()=>{null==a||a.removeField(Fe)})),r({size:s,validateMessage:I,validateState:b,validate:je,clearValidate:we,resetField:qe}),(e,r)=>{var t;return F(),O("div",{ref_key:"formItemRef",ref:M,class:x(E(ae)),role:E(fe)?"group":void 0,"aria-labelledby":E(fe)?E(l):void 0},[V(E(jr),{"is-auto-width":"auto"===E(re).width,"update-all":"auto"===(null==(t=E(a))?void 0:t.labelWidth)},{default:U((()=>[E(le)?(F(),J(G(E(ue)?"label":"div"),{key:0,id:E(l),for:E(ue),class:x(E(o).e("label")),style:Y(E(re))},{default:U((()=>[A(e.$slots,"label",{label:E(he)},(()=>[Z(X(E(he)),1)]))])),_:3},8,["id","for","class","style"])):H("v-if",!0)])),_:3},8,["is-auto-width","update-all"]),Q("div",{class:x(E(o).e("content")),style:Y(E(ne))},[A(e.$slots,"default"),V(K,{name:`${E(o).namespace.value}-zoom-in-top`},{default:U((()=>[E(ge)?A(e.$slots,"error",{key:0,error:I.value},(()=>[Q("div",{class:x(E(se))},X(I.value),3)])):H("v-if",!0)])),_:3},8,["name"])],6)],10,["role","aria-labelledby"])}}}),[["__file","form-item.vue"]]);const Fr=ee(Te,{FormItem:qr}),Or=re(qr);export{Fr as E,Or as a,_e as b}; diff --git a/static/js/el-image-viewer.Ck07Xbtu.js b/static/js/el-image-viewer.Ck07Xbtu.js new file mode 100644 index 0000000000000000000000000000000000000000..2190d1422a9f12f0c48a6fbdf2fac7ea67d46d69 --- /dev/null +++ b/static/js/el-image-viewer.Ck07Xbtu.js @@ -0,0 +1 @@ +import{bR as e,b as a,h as l,ao as n,b7 as t,d as s,bg as o,d1 as i,d2 as r,u as c,a as u,cK as d,r as v,d3 as f,A as m,B as p,C as g,Y as y,o as b,c as k,l as w,w as x,a0 as h,T as z,k as C,n as I,g as _,G as O,ad as S,a1 as N,E,a7 as T,e as L,O as A,br as R,ak as B,d4 as Y,bF as $,m as j,d5 as M,d6 as X,P as F,Z as P,a6 as D,f as K,_ as W,b1 as Z,F as G,bw as H,s as V,d7 as q,cC as J,d8 as Q,z as U,at as ee,d9 as ae,x as le,ck as ne,J as te,da as se,t as oe}from"./index.9PHSMUIB.js";import{E as ie}from"./index.D6nSmJHY.js";import{d as re}from"./debounce.i1DMUZzi.js";import{i as ce}from"./position.CopxYfyp.js";function ue(a,l,n){var t=!0,s=!0;if("function"!=typeof a)throw new TypeError("Expected a function");return e(n)&&(t="leading"in n?!!n.leading:t,s="trailing"in n?!!n.trailing:s),re(a,l,{leading:t,maxWait:l,trailing:s})}const de=a({urlList:{type:l(Array),default:()=>n([])},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:l(String)}}),ve={close:()=>!0,switch:e=>t(e),rotate:e=>t(e)},fe=s({name:"ElImageViewer"});const me=V(W(s({...fe,props:de,emits:ve,setup(e,{expose:a,emit:l}){var n;const t=e,s={CONTAIN:{name:"contain",icon:o(i)},ORIGINAL:{name:"original",icon:o(r)}},{t:W}=c(),V=u("image-viewer"),{nextZIndex:q}=d(),J=v(),Q=v([]),U=f(),ee=v(!0),ae=v(t.initialIndex),le=m(s.CONTAIN),ne=v({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),te=v(null!=(n=t.zIndex)?n:q()),se=p((()=>{const{urlList:e}=t;return e.length<=1})),oe=p((()=>0===ae.value)),re=p((()=>ae.value===t.urlList.length-1)),ce=p((()=>t.urlList[ae.value])),de=p((()=>[V.e("btn"),V.e("prev"),V.is("disabled",!t.infinite&&oe.value)])),ve=p((()=>[V.e("btn"),V.e("next"),V.is("disabled",!t.infinite&&re.value)])),fe=p((()=>{const{scale:e,deg:a,offsetX:l,offsetY:n,enableTransition:t}=ne.value;let o=l/e,i=n/e;const r=a*Math.PI/180,c=Math.cos(r),u=Math.sin(r);o=o*c+i*u,i=i*c-l/e*u;const d={transform:`scale(${e}) rotate(${a}deg) translate(${o}px, ${i}px)`,transition:t?"transform .3s":""};return le.value.name===s.CONTAIN.name&&(d.maxWidth=d.maxHeight="100%"),d}));function me(){U.stop(),l("close")}function pe(){ee.value=!1}function ge(e){ee.value=!1,e.target.alt=W("el.image.error")}function ye(e){if(ee.value||0!==e.button||!J.value)return;ne.value.enableTransition=!1;const{offsetX:a,offsetY:l}=ne.value,n=e.pageX,t=e.pageY,s=ue((e=>{ne.value={...ne.value,offsetX:a+e.pageX-n,offsetY:l+e.pageY-t}})),o=Z(document,"mousemove",s);Z(document,"mouseup",(()=>{o()})),e.preventDefault()}function be(){ne.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function ke(){if(ee.value)return;const e=H(s),a=Object.values(s),l=le.value.name,n=(a.findIndex((e=>e.name===l))+1)%e.length;le.value=s[e[n]],be()}function we(e){const a=t.urlList.length;ae.value=(e+a)%a}function xe(){oe.value&&!t.infinite||we(ae.value-1)}function he(){re.value&&!t.infinite||we(ae.value+1)}function ze(e,a={}){if(ee.value)return;const{minScale:n,maxScale:s}=t,{zoomRate:o,rotateDeg:i,enableTransition:r}={zoomRate:t.zoomRate,rotateDeg:90,enableTransition:!0,...a};switch(e){case"zoomOut":ne.value.scale>n&&(ne.value.scale=Number.parseFloat((ne.value.scale/o).toFixed(3)));break;case"zoomIn":ne.value.scale{y((()=>{const e=Q.value[0];(null==e?void 0:e.complete)||(ee.value=!0)}))})),g(ae,(e=>{be(),l("switch",e)})),b((()=>{var e,a;!function(){const e=ue((e=>{switch(e.code){case G.esc:t.closeOnPressEscape&&me();break;case G.space:ke();break;case G.left:xe();break;case G.up:ze("zoomIn");break;case G.right:he();break;case G.down:ze("zoomOut")}})),a=ue((e=>{ze((e.deltaY||e.deltaX)<0?"zoomIn":"zoomOut",{zoomRate:t.zoomRate,enableTransition:!1})}));U.run((()=>{Z(document,"keydown",e),Z(document,"wheel",a)}))}(),null==(a=null==(e=J.value)?void 0:e.focus)||a.call(e)})),a({setActiveItem:we}),(e,a)=>(k(),w(_(ie),{to:"body",disabled:!e.teleported},{default:x((()=>[h(z,{name:"viewer-fade",appear:""},{default:x((()=>[C("div",{ref_key:"wrapper",ref:J,tabindex:-1,class:I(_(V).e("wrapper")),style:O({zIndex:te.value})},[C("div",{class:I(_(V).e("mask")),onClick:S((a=>e.hideOnClickModal&&me()),["self"])},null,10,["onClick"]),N(" CLOSE "),C("span",{class:I([_(V).e("btn"),_(V).e("close")]),onClick:me},[h(_(E),null,{default:x((()=>[h(_(T))])),_:1})],2),N(" ARROW "),_(se)?N("v-if",!0):(k(),L(A,{key:0},[C("span",{class:I(_(de)),onClick:xe},[h(_(E),null,{default:x((()=>[h(_(R))])),_:1})],2),C("span",{class:I(_(ve)),onClick:he},[h(_(E),null,{default:x((()=>[h(_(B))])),_:1})],2)],64)),N(" ACTIONS "),C("div",{class:I([_(V).e("btn"),_(V).e("actions")])},[C("div",{class:I(_(V).e("actions__inner"))},[h(_(E),{onClick:e=>ze("zoomOut")},{default:x((()=>[h(_(Y))])),_:1},8,["onClick"]),h(_(E),{onClick:e=>ze("zoomIn")},{default:x((()=>[h(_($))])),_:1},8,["onClick"]),C("i",{class:I(_(V).e("actions__divider"))},null,2),h(_(E),{onClick:ke},{default:x((()=>[(k(),w(j(_(le).icon)))])),_:1}),C("i",{class:I(_(V).e("actions__divider"))},null,2),h(_(E),{onClick:e=>ze("anticlockwise")},{default:x((()=>[h(_(M))])),_:1},8,["onClick"]),h(_(E),{onClick:e=>ze("clockwise")},{default:x((()=>[h(_(X))])),_:1},8,["onClick"])],2)],2),N(" CANVAS "),C("div",{class:I(_(V).e("canvas"))},[(k(!0),L(A,null,F(e.urlList,((a,l)=>P((k(),L("img",{ref_for:!0,ref:e=>Q.value[l]=e,key:a,src:a,style:O(_(fe)),class:I(_(V).e("img")),crossorigin:e.crossorigin,onLoad:pe,onError:ge,onMousedown:ye},null,46,["src","crossorigin"])),[[D,l===ae.value]]))),128))],2),K(e.$slots,"default")],6)])),_:3})])),_:3},8,["disabled"]))}}),[["__file","image-viewer.vue"]])),pe=a({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:l([String,Object])},previewSrcList:{type:l(Array),default:()=>n([])},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:l(String)}}),ge={load:e=>e instanceof Event,error:e=>e instanceof Event,switch:e=>t(e),close:()=>!0,show:()=>!0},ye=s({name:"ElImage",inheritAttrs:!1});const be=V(W(s({...ye,props:pe,emits:ge,setup(e,{emit:a}){const l=e;let n="";const{t:t}=c(),s=u("image"),o=q(),i=p((()=>J(Object.entries(o).filter((([e])=>/^(data-|on[A-Z])/i.test(e)||["id","style"].includes(e)))))),r=Q({excludeListeners:!0,excludeKeys:p((()=>Object.keys(i.value)))}),d=v(),f=v(!1),m=v(!0),h=v(!1),z=v(),O=v(),S=U&&"loading"in HTMLImageElement.prototype;let E,T;const R=p((()=>[s.e("inner"),Y.value&&s.e("preview"),m.value&&s.is("loading")])),B=p((()=>{const{fit:e}=l;return U&&e?{objectFit:e}:{}})),Y=p((()=>{const{previewSrcList:e}=l;return ee(e)&&e.length>0})),$=p((()=>{const{previewSrcList:e,initialIndex:a}=l;let n=a;return a>e.length-1&&(n=0),n})),j=p((()=>"eager"!==l.loading&&(!S&&"lazy"===l.loading||l.lazy))),M=()=>{U&&(m.value=!0,f.value=!1,d.value=l.src)};function X(e){m.value=!1,f.value=!1,a("load",e)}function F(e){m.value=!1,f.value=!0,a("error",e)}function P(){ce(z.value,O.value)&&(M(),G())}const D=ae(P,200,!0);async function W(){var e;if(!U)return;await y();const{scrollContainer:a}=l;ne(a)?O.value=a:te(a)&&""!==a?O.value=null!=(e=document.querySelector(a))?e:void 0:z.value&&(O.value=se(z.value)),O.value&&(E=Z(O,"scroll",D),setTimeout((()=>P()),100))}function G(){U&&O.value&&D&&(null==E||E(),O.value=void 0)}function H(e){if(e.ctrlKey)return e.deltaY<0||e.deltaY>0?(e.preventDefault(),!1):void 0}function V(){Y.value&&(T=Z("wheel",H,{passive:!1}),n=document.body.style.overflow,document.body.style.overflow="hidden",h.value=!0,a("show"))}function ie(){null==T||T(),document.body.style.overflow=n,h.value=!1,a("close")}function re(e){a("switch",e)}return g((()=>l.src),(()=>{j.value?(m.value=!0,f.value=!1,G(),W()):M()})),b((()=>{j.value?W():M()})),(e,a)=>(k(),L("div",le({ref_key:"container",ref:z},_(i),{class:[_(s).b(),e.$attrs.class]}),[f.value?K(e.$slots,"error",{key:0},(()=>[C("div",{class:I(_(s).e("error"))},oe(_(t)("el.image.error")),3)])):(k(),L(A,{key:1},[void 0!==d.value?(k(),L("img",le({key:0},_(r),{src:d.value,loading:e.loading,style:_(B),class:_(R),crossorigin:e.crossorigin,onClick:V,onLoad:X,onError:F}),null,16,["src","loading","crossorigin"])):N("v-if",!0),m.value?(k(),L("div",{key:1,class:I(_(s).e("wrapper"))},[K(e.$slots,"placeholder",{},(()=>[C("div",{class:I(_(s).e("placeholder"))},null,2)]))],2)):N("v-if",!0)],64)),_(Y)?(k(),L(A,{key:2},[h.value?(k(),w(_(me),{key:0,"z-index":e.zIndex,"initial-index":_($),infinite:e.infinite,"zoom-rate":e.zoomRate,"min-scale":e.minScale,"max-scale":e.maxScale,"url-list":e.previewSrcList,crossorigin:e.crossorigin,"hide-on-click-modal":e.hideOnClickModal,teleported:e.previewTeleported,"close-on-press-escape":e.closeOnPressEscape,onClose:ie,onSwitch:re},{default:x((()=>[e.$slots.viewer?(k(),L("div",{key:0},[K(e.$slots,"viewer")])):N("v-if",!0)])),_:3},8,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","url-list","crossorigin","hide-on-click-modal","teleported","close-on-press-escape"])):N("v-if",!0)],64)):N("v-if",!0)],16))}}),[["__file","image.vue"]]));export{be as E}; diff --git a/static/js/el-link.BTv-HaC_.js b/static/js/el-link.BTv-HaC_.js new file mode 100644 index 0000000000000000000000000000000000000000..a5f6c41defb04e24dee00e7d9d8b098892376c15 --- /dev/null +++ b/static/js/el-link.BTv-HaC_.js @@ -0,0 +1 @@ +import{b as e,i as s,d as a,a as i,B as t,c as n,e as l,l as d,w as o,m as r,g as f,E as c,a1 as u,n as p,f as y,_ as g,s as b}from"./index.9PHSMUIB.js";const k=e({type:{type:String,values:["primary","success","warning","info","danger","default"],default:"default"},underline:{type:Boolean,default:!0},disabled:Boolean,href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:s}}),m={click:e=>e instanceof MouseEvent},v=a({name:"ElLink"});const h=b(g(a({...v,props:k,emits:m,setup(e,{emit:s}){const a=e,g=i("link"),b=t((()=>[g.b(),g.m(a.type),g.is("disabled",a.disabled),g.is("underline",a.underline&&!a.disabled)]));function k(e){a.disabled||s("click",e)}return(e,s)=>(n(),l("a",{class:p(f(b)),href:e.disabled||!e.href?void 0:e.href,target:e.disabled||!e.href?void 0:e.target,onClick:k},[e.icon?(n(),d(f(c),{key:0},{default:o((()=>[(n(),d(r(e.icon)))])),_:1})):u("v-if",!0),e.$slots.default?(n(),l("span",{key:1,class:p(f(g).e("inner"))},[y(e.$slots,"default")],2)):u("v-if",!0),e.$slots.icon?y(e.$slots,"icon",{key:2}):u("v-if",!0)],10,["href","target"]))}}),[["__file","link.vue"]]));export{h as E}; diff --git a/static/js/el-popper.e9kr8u9Q.js b/static/js/el-popper.e9kr8u9Q.js new file mode 100644 index 0000000000000000000000000000000000000000..8f803ee334692a3d17c185c8e8de401c34194a91 --- /dev/null +++ b/static/js/el-popper.e9kr8u9Q.js @@ -0,0 +1 @@ +import{cB as e,h as t,B as n,bc as o,C as r,o as a,q as i,z as s,b6 as l,g as u,A as p,r as f,al as c,cC as d,cD as v,aK as g,cE as m,cF as h,b as y,b7 as b,p as w,d as x,f as O,_ as R,a as A,j as E,c as T,e as C,n as S,G as k,bD as j,Z as M,cG as B,as as P,O as F,cH as L,cl as D,a0 as _,cI as I,ck as H,cJ as W,K as $,l as q,w as z,x as N,a1 as U,I as K,cK as V,bW as Z,ac as G,s as J,F as X,at as Y,au as Q,T as ee,a6 as te,cL as ne,b2 as oe,b0 as re,cM as ae,t as ie}from"./index.9PHSMUIB.js";import{E as se}from"./index.D6nSmJHY.js";import{i as le}from"./isUndefined.DgmxjSXK.js";const ue=(e,t,{checkForDefaultPrevented:n=!0}={})=>o=>{const r=null==e?void 0:e(o);if(!1===n||!r)return null==t?void 0:t(o)},pe=e=>t=>"mouse"===t.pointerType?e(t):void 0,fe=e({type:t(Boolean),default:null}),ce=e({type:t(Function)});var de="top",ve="bottom",ge="right",me="left",he="auto",ye=[de,ve,ge,me],be="start",we="end",xe="viewport",Oe="popper",Re=ye.reduce((function(e,t){return e.concat([t+"-"+be,t+"-"+we])}),[]),Ae=[].concat(ye,[he]).reduce((function(e,t){return e.concat([t,t+"-"+be,t+"-"+we])}),[]),Ee=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Te(e){return e?(e.nodeName||"").toLowerCase():null}function Ce(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Se(e){return e instanceof Ce(e).Element||e instanceof Element}function ke(e){return e instanceof Ce(e).HTMLElement||e instanceof HTMLElement}function je(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Ce(e).ShadowRoot||e instanceof ShadowRoot)}var Me={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},r=t.elements[e];!ke(r)||!Te(r)||(Object.assign(r.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],r=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});!ke(o)||!Te(o)||(Object.assign(o.style,a),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Be(e){return e.split("-")[0]}var Pe=Math.max,Fe=Math.min,Le=Math.round;function De(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),o=1,r=1;if(ke(e)&&t){var a=e.offsetHeight,i=e.offsetWidth;i>0&&(o=Le(n.width)/i||1),a>0&&(r=Le(n.height)/a||1)}return{width:n.width/o,height:n.height/r,top:n.top/r,right:n.right/o,bottom:n.bottom/r,left:n.left/o,x:n.left/o,y:n.top/r}}function _e(e){var t=De(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function Ie(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&je(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function He(e){return Ce(e).getComputedStyle(e)}function We(e){return["table","td","th"].indexOf(Te(e))>=0}function $e(e){return((Se(e)?e.ownerDocument:e.document)||window.document).documentElement}function qe(e){return"html"===Te(e)?e:e.assignedSlot||e.parentNode||(je(e)?e.host:null)||$e(e)}function ze(e){return ke(e)&&"fixed"!==He(e).position?e.offsetParent:null}function Ne(e){for(var t=Ce(e),n=ze(e);n&&We(n)&&"static"===He(n).position;)n=ze(n);return n&&("html"===Te(n)||"body"===Te(n)&&"static"===He(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&ke(e)&&"fixed"===He(e).position)return null;var n=qe(e);for(je(n)&&(n=n.host);ke(n)&&["html","body"].indexOf(Te(n))<0;){var o=He(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}function Ue(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ke(e,t,n){return Pe(e,Fe(t,n))}function Ve(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Ze(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Ge={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,o=e.name,r=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,s=Be(n.placement),l=Ue(s),u=[me,ge].indexOf(s)>=0?"height":"width";if(a&&i){var p=function(e,t){return Ve("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Ze(e,ye))}(r.padding,n),f=_e(a),c="y"===l?de:me,d="y"===l?ve:ge,v=n.rects.reference[u]+n.rects.reference[l]-i[l]-n.rects.popper[u],g=i[l]-n.rects.reference[l],m=Ne(a),h=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,y=v/2-g/2,b=p[c],w=h-f[u]-p[d],x=h/2-f[u]/2+y,O=Ke(b,x,w),R=l;n.modifiersData[o]=((t={})[R]=O,t.centerOffset=O-x,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"==typeof o&&!(o=t.elements.popper.querySelector(o))||!Ie(t.elements.popper,o)||(t.elements.arrow=o))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Je(e){return e.split("-")[1]}var Xe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ye(e){var t,n=e.popper,o=e.popperRect,r=e.placement,a=e.variation,i=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,p=e.roundOffsets,f=e.isFixed,c=i.x,d=void 0===c?0:c,v=i.y,g=void 0===v?0:v,m="function"==typeof p?p({x:d,y:g}):{x:d,y:g};d=m.x,g=m.y;var h=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),b=me,w=de,x=window;if(u){var O=Ne(n),R="clientHeight",A="clientWidth";if(O===Ce(n)&&("static"!==He(O=$e(n)).position&&"absolute"===s&&(R="scrollHeight",A="scrollWidth")),r===de||(r===me||r===ge)&&a===we)w=ve,g-=(f&&O===x&&x.visualViewport?x.visualViewport.height:O[R])-o.height,g*=l?1:-1;if(r===me||(r===de||r===ve)&&a===we)b=ge,d-=(f&&O===x&&x.visualViewport?x.visualViewport.width:O[A])-o.width,d*=l?1:-1}var E,T=Object.assign({position:s},u&&Xe),C=!0===p?function(e){var t=e.x,n=e.y,o=window.devicePixelRatio||1;return{x:Le(t*o)/o||0,y:Le(n*o)/o||0}}({x:d,y:g}):{x:d,y:g};return d=C.x,g=C.y,l?Object.assign({},T,((E={})[w]=y?"0":"",E[b]=h?"0":"",E.transform=(x.devicePixelRatio||1)<=1?"translate("+d+"px, "+g+"px)":"translate3d("+d+"px, "+g+"px, 0)",E)):Object.assign({},T,((t={})[w]=y?g+"px":"",t[b]=h?d+"px":"",t.transform="",t))}var Qe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=void 0===o||o,a=n.adaptive,i=void 0===a||a,s=n.roundOffsets,l=void 0===s||s,u={placement:Be(t.placement),variation:Je(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ye(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ye(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},et={passive:!0};var tt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,a=void 0===r||r,i=o.resize,s=void 0===i||i,l=Ce(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,et)})),s&&l.addEventListener("resize",n.update,et),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,et)})),s&&l.removeEventListener("resize",n.update,et)}},data:{}},nt={left:"right",right:"left",bottom:"top",top:"bottom"};function ot(e){return e.replace(/left|right|bottom|top/g,(function(e){return nt[e]}))}var rt={start:"end",end:"start"};function at(e){return e.replace(/start|end/g,(function(e){return rt[e]}))}function it(e){var t=Ce(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function st(e){return De($e(e)).left+it(e).scrollLeft}function lt(e){var t=He(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function ut(e){return["html","body","#document"].indexOf(Te(e))>=0?e.ownerDocument.body:ke(e)&<(e)?e:ut(qe(e))}function pt(e,t){var n;void 0===t&&(t=[]);var o=ut(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),a=Ce(o),i=r?[a].concat(a.visualViewport||[],lt(o)?o:[]):o,s=t.concat(i);return r?s:s.concat(pt(qe(i)))}function ft(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ct(e,t){return t===xe?ft(function(e){var t=Ce(e),n=$e(e),o=t.visualViewport,r=n.clientWidth,a=n.clientHeight,i=0,s=0;return o&&(r=o.width,a=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=o.offsetLeft,s=o.offsetTop)),{width:r,height:a,x:i+st(e),y:s}}(e)):Se(t)?function(e){var t=De(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):ft(function(e){var t,n=$e(e),o=it(e),r=null==(t=e.ownerDocument)?void 0:t.body,a=Pe(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=Pe(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-o.scrollLeft+st(e),l=-o.scrollTop;return"rtl"===He(r||n).direction&&(s+=Pe(n.clientWidth,r?r.clientWidth:0)-a),{width:a,height:i,x:s,y:l}}($e(e)))}function dt(e,t,n){var o="clippingParents"===t?function(e){var t=pt(qe(e)),n=["absolute","fixed"].indexOf(He(e).position)>=0&&ke(e)?Ne(e):e;return Se(n)?t.filter((function(e){return Se(e)&&Ie(e,n)&&"body"!==Te(e)})):[]}(e):[].concat(t),r=[].concat(o,[n]),a=r[0],i=r.reduce((function(t,n){var o=ct(e,n);return t.top=Pe(o.top,t.top),t.right=Fe(o.right,t.right),t.bottom=Fe(o.bottom,t.bottom),t.left=Pe(o.left,t.left),t}),ct(e,a));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function vt(e){var t,n=e.reference,o=e.element,r=e.placement,a=r?Be(r):null,i=r?Je(r):null,s=n.x+n.width/2-o.width/2,l=n.y+n.height/2-o.height/2;switch(a){case de:t={x:s,y:n.y-o.height};break;case ve:t={x:s,y:n.y+n.height};break;case ge:t={x:n.x+n.width,y:l};break;case me:t={x:n.x-o.width,y:l};break;default:t={x:n.x,y:n.y}}var u=a?Ue(a):null;if(null!=u){var p="y"===u?"height":"width";switch(i){case be:t[u]=t[u]-(n[p]/2-o[p]/2);break;case we:t[u]=t[u]+(n[p]/2-o[p]/2)}}return t}function gt(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=void 0===o?e.placement:o,a=n.boundary,i=void 0===a?"clippingParents":a,s=n.rootBoundary,l=void 0===s?xe:s,u=n.elementContext,p=void 0===u?Oe:u,f=n.altBoundary,c=void 0!==f&&f,d=n.padding,v=void 0===d?0:d,g=Ve("number"!=typeof v?v:Ze(v,ye)),m=p===Oe?"reference":Oe,h=e.rects.popper,y=e.elements[c?m:p],b=dt(Se(y)?y:y.contextElement||$e(e.elements.popper),i,l),w=De(e.elements.reference),x=vt({reference:w,element:h,strategy:"absolute",placement:r}),O=ft(Object.assign({},h,x)),R=p===Oe?O:w,A={top:b.top-R.top+g.top,bottom:R.bottom-b.bottom+g.bottom,left:b.left-R.left+g.left,right:R.right-b.right+g.right},E=e.modifiersData.offset;if(p===Oe&&E){var T=E[r];Object.keys(A).forEach((function(e){var t=[ge,ve].indexOf(e)>=0?1:-1,n=[de,ve].indexOf(e)>=0?"y":"x";A[e]+=T[n]*t}))}return A}var mt={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var r=n.mainAxis,a=void 0===r||r,i=n.altAxis,s=void 0===i||i,l=n.fallbackPlacements,u=n.padding,p=n.boundary,f=n.rootBoundary,c=n.altBoundary,d=n.flipVariations,v=void 0===d||d,g=n.allowedAutoPlacements,m=t.options.placement,h=Be(m),y=l||(h===m||!v?[ot(m)]:function(e){if(Be(e)===he)return[];var t=ot(e);return[at(e),t,at(t)]}(m)),b=[m].concat(y).reduce((function(e,n){return e.concat(Be(n)===he?function(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=n.boundary,a=n.rootBoundary,i=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?Ae:l,p=Je(o),f=p?s?Re:Re.filter((function(e){return Je(e)===p})):ye,c=f.filter((function(e){return u.indexOf(e)>=0}));0===c.length&&(c=f);var d=c.reduce((function(t,n){return t[n]=gt(e,{placement:n,boundary:r,rootBoundary:a,padding:i})[Be(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:p,rootBoundary:f,padding:u,flipVariations:v,allowedAutoPlacements:g}):n)}),[]),w=t.rects.reference,x=t.rects.popper,O=new Map,R=!0,A=b[0],E=0;E=0,j=k?"width":"height",M=gt(t,{placement:T,boundary:p,rootBoundary:f,altBoundary:c,padding:u}),B=k?S?ge:me:S?ve:de;w[j]>x[j]&&(B=ot(B));var P=ot(B),F=[];if(a&&F.push(M[C]<=0),s&&F.push(M[B]<=0,M[P]<=0),F.every((function(e){return e}))){A=T,R=!1;break}O.set(T,F)}if(R)for(var L=function(e){var t=b.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return A=t,"break"},D=v?3:1;D>0;D--){if("break"===L(D))break}t.placement!==A&&(t.modifiersData[o]._skip=!0,t.placement=A,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ht(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function yt(e){return[de,ge,ve,me].some((function(t){return e[t]>=0}))}var bt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,a=t.modifiersData.preventOverflow,i=gt(t,{elementContext:"reference"}),s=gt(t,{altBoundary:!0}),l=ht(i,o),u=ht(s,r,a),p=yt(l),f=yt(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":f})}};var wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,r=n.offset,a=void 0===r?[0,0]:r,i=Ae.reduce((function(e,n){return e[n]=function(e,t,n){var o=Be(e),r=[me,de].indexOf(o)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],s=a[1];return i=i||0,s=(s||0)*r,[me,ge].indexOf(o)>=0?{x:s,y:i}:{x:i,y:s}}(n,t.rects,a),e}),{}),s=i[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[o]=i}};var xt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=vt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var Ot={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name,r=n.mainAxis,a=void 0===r||r,i=n.altAxis,s=void 0!==i&&i,l=n.boundary,u=n.rootBoundary,p=n.altBoundary,f=n.padding,c=n.tether,d=void 0===c||c,v=n.tetherOffset,g=void 0===v?0:v,m=gt(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:p}),h=Be(t.placement),y=Je(t.placement),b=!y,w=Ue(h),x=function(e){return"x"===e?"y":"x"}(w),O=t.modifiersData.popperOffsets,R=t.rects.reference,A=t.rects.popper,E="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,T="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,S={x:0,y:0};if(O){if(a){var k,j="y"===w?de:me,M="y"===w?ve:ge,B="y"===w?"height":"width",P=O[w],F=P+m[j],L=P-m[M],D=d?-A[B]/2:0,_=y===be?R[B]:A[B],I=y===be?-A[B]:-R[B],H=t.elements.arrow,W=d&&H?_e(H):{width:0,height:0},$=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},q=$[j],z=$[M],N=Ke(0,R[B],W[B]),U=b?R[B]/2-D-N-q-T.mainAxis:_-N-q-T.mainAxis,K=b?-R[B]/2+D+N+z+T.mainAxis:I+N+z+T.mainAxis,V=t.elements.arrow&&Ne(t.elements.arrow),Z=V?"y"===w?V.clientTop||0:V.clientLeft||0:0,G=null!=(k=null==C?void 0:C[w])?k:0,J=P+K-G,X=Ke(d?Fe(F,P+U-G-Z):F,P,d?Pe(L,J):L);O[w]=X,S[w]=X-P}if(s){var Y,Q="x"===w?de:me,ee="x"===w?ve:ge,te=O[x],ne="y"===x?"height":"width",oe=te+m[Q],re=te-m[ee],ae=-1!==[de,me].indexOf(h),ie=null!=(Y=null==C?void 0:C[x])?Y:0,se=ae?oe:te-R[ne]-A[ne]-ie+T.altAxis,le=ae?te+R[ne]+A[ne]-ie-T.altAxis:re,ue=d&&ae?function(e,t,n){var o=Ke(e,t,n);return o>n?n:o}(se,te,le):Ke(d?se:oe,te,d?le:re);O[x]=ue,S[x]=ue-te}t.modifiersData[o]=S}},requiresIfExists:["offset"]};function Rt(e,t,n){void 0===n&&(n=!1);var o=ke(t),r=ke(t)&&function(e){var t=e.getBoundingClientRect(),n=Le(t.width)/e.offsetWidth||1,o=Le(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),a=$e(t),i=De(e,r),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!n)&&(("body"!==Te(t)||lt(a))&&(s=function(e){return e!==Ce(e)&&ke(e)?function(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}(e):it(e)}(t)),ke(t)?((l=De(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=st(a))),{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}function At(e){var t=new Map,n=new Set,o=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var o=t.get(e);o&&r(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),o}function Et(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var Tt={placement:"bottom",modifiers:[],strategy:"absolute"};function Ct(){for(var e=arguments.length,t=new Array(e),n=0;n{const a={name:"updateState",enabled:!0,phase:"write",fn:({state:e})=>{const t=function(e){const t=Object.keys(e.elements),n=d(t.map((t=>[t,e.styles[t]||{}]))),o=d(t.map((t=>[t,e.attributes[t]])));return{styles:n,attributes:o}}(e);Object.assign(l.value,t)},requires:["computeStyles"]},i=n((()=>{const{onFirstUpdate:e,placement:t,strategy:n,modifiers:r}=u(o);return{onFirstUpdate:e,placement:t||"bottom",strategy:n||"absolute",modifiers:[...r||[],a,{name:"applyStyles",enabled:!1}]}})),s=p(),l=f({styles:{popper:{position:u(i).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),v=()=>{s.value&&(s.value.destroy(),s.value=void 0)};return r(i,(e=>{const t=u(s);t&&t.setOptions(e)}),{deep:!0}),r([e,t],(([e,t])=>{v(),e&&t&&(s.value=kt(e,t,u(i)))})),c((()=>{v()})),{state:n((()=>{var e;return{...(null==(e=u(s))?void 0:e.state)||{}}})),styles:n((()=>u(l).styles)),attributes:n((()=>u(l).attributes)),update:()=>{var e;return null==(e=u(s))?void 0:e.update()},forceUpdate:()=>{var e;return null==(e=u(s))?void 0:e.forceUpdate()},instanceRef:n((()=>u(s)))}};function Mt(){let e;const t=()=>window.clearTimeout(e);return v((()=>t())),{registerTimeout:(n,o)=>{t(),e=window.setTimeout(n,o)},cancelTimeout:t}}const Bt=()=>{const e=m(),t=h(),o=n((()=>`${e.value}-popper-container-${t.prefix}`)),r=n((()=>`#${o.value}`));return{id:o,selector:r}},Pt=()=>{const{id:e,selector:t}=Bt();return g((()=>{s&&(document.body.querySelector(t.value)||(e=>{const t=document.createElement("div");t.id=e,document.body.appendChild(t)})(e.value))})),{id:e,selector:t}},Ft=y({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),Lt=Symbol("elForwardRef"),Dt=Symbol("popper"),_t=Symbol("popperContent"),It=y({role:{type:String,values:["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],default:"tooltip"}}),Ht=x({name:"ElPopper",inheritAttrs:!1});var Wt=R(x({...Ht,props:It,setup(e,{expose:t}){const o=e,r={triggerRef:f(),popperInstanceRef:f(),contentRef:f(),referenceRef:f(),role:n((()=>o.role))};return t(r),w(Dt,r),(e,t)=>O(e.$slots,"default")}}),[["__file","popper.vue"]]);const $t=y({arrowOffset:{type:Number,default:5}}),qt=x({name:"ElPopperArrow",inheritAttrs:!1});var zt=R(x({...qt,props:$t,setup(e,{expose:t}){const n=e,o=A("popper"),{arrowOffset:a,arrowRef:i,arrowStyle:s}=E(_t,void 0);return r((()=>n.arrowOffset),(e=>{a.value=e})),c((()=>{i.value=void 0})),t({arrowRef:i}),(e,t)=>(T(),C("span",{ref_key:"arrowRef",ref:i,class:S(u(o).e("arrow")),style:k(u(s)),"data-popper-arrow":""},null,6))}}),[["__file","arrow.vue"]]);const Nt=x({name:"ElOnlyChild",setup(e,{slots:t,attrs:n}){var o;const r=E(Lt),a=(i=null!=(o=null==r?void 0:r.setForwardRef)?o:j,{mounted(e){i(e)},updated(e){i(e)},unmounted(){i(null)}});var i;return()=>{var e;const o=null==(e=t.default)?void 0:e.call(t,n);if(!o)return null;if(o.length>1)return null;const r=Ut(o);return r?M(B(r,n),[[a]]):null}}});function Ut(e){if(!e)return null;const t=e;for(const n of t){if(P(n))switch(n.type){case D:continue;case L:case"svg":return Kt(n);case F:return Ut(n.children);default:return n}return Kt(n)}return null}function Kt(e){const t=A("only-child");return _("span",{class:t.e("content")},[e])}const Vt=y({virtualRef:{type:t(Object)},virtualTriggering:Boolean,onMouseenter:{type:t(Function)},onMouseleave:{type:t(Function)},onClick:{type:t(Function)},onKeydown:{type:t(Function)},onFocus:{type:t(Function)},onBlur:{type:t(Function)},onContextmenu:{type:t(Function)},id:String,open:Boolean}),Zt=x({name:"ElPopperTrigger",inheritAttrs:!1});var Gt=R(x({...Zt,props:Vt,setup(e,{expose:t}){const o=e,{role:i,triggerRef:s}=E(Dt,void 0);var l;l=s,w(Lt,{setForwardRef:e=>{l.value=e}});const p=n((()=>d.value?o.id:void 0)),f=n((()=>{if(i&&"tooltip"===i.value)return o.open&&o.id?o.id:void 0})),d=n((()=>{if(i&&"tooltip"!==i.value)return i.value})),v=n((()=>d.value?`${o.open}`:void 0));let g;const m=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return a((()=>{r((()=>o.virtualRef),(e=>{e&&(s.value=I(e))}),{immediate:!0}),r(s,((e,t)=>{null==g||g(),g=void 0,H(e)&&(m.forEach((n=>{var r;const a=o[n];a&&(e.addEventListener(n.slice(2).toLowerCase(),a),null==(r=null==t?void 0:t.removeEventListener)||r.call(t,n.slice(2).toLowerCase(),a))})),W(e)&&(g=r([p,f,d,v],(t=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(((n,o)=>{$(t[o])?e.removeAttribute(n):e.setAttribute(n,t[o])}))}),{immediate:!0}))),H(t)&&W(t)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((e=>t.removeAttribute(e)))}),{immediate:!0})})),c((()=>{if(null==g||g(),g=void 0,s.value&&H(s.value)){const e=s.value;m.forEach((t=>{const n=o[t];n&&e.removeEventListener(t.slice(2).toLowerCase(),n)})),s.value=void 0}})),t({triggerRef:s}),(e,t)=>e.virtualTriggering?U("v-if",!0):(T(),q(u(Nt),N({key:0},e.$attrs,{"aria-controls":u(p),"aria-describedby":u(f),"aria-expanded":u(v),"aria-haspopup":u(d)}),{default:z((()=>[O(e.$slots,"default")])),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}}),[["__file","trigger.vue"]]);const Jt=y({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:t(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Ae,default:"bottom"},popperOptions:{type:t(Object),default:()=>({})},strategy:{type:String,values:["fixed","absolute"],default:"absolute"}}),Xt=y({...Jt,id:String,style:{type:t([String,Array,Object])},className:{type:t([String,Array,Object])},effect:{type:t(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:t([String,Array,Object])},popperStyle:{type:t([String,Array,Object])},referenceEl:{type:t(Object)},triggerTargetEl:{type:t(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...K(["ariaLabel"])}),Yt={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},Qt=(e,t=[])=>{const{placement:n,strategy:o,popperOptions:r}=e,a={placement:n,strategy:o,...r,modifiers:[...en(e),...t]};return function(e,t){t&&(e.modifiers=[...e.modifiers,...null!=t?t:[]])}(a,null==r?void 0:r.modifiers),a};function en(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:o}=e;return[{name:"offset",options:{offset:[0,null!=t?t:12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:o}},{name:"computeStyles",options:{gpuAcceleration:n}}]}const tn=e=>{const{popperInstanceRef:t,contentRef:o,triggerRef:i,role:l}=E(Dt,void 0),p=f(),c=f(),d=n((()=>({name:"eventListeners",enabled:!!e.visible}))),v=n((()=>{var e;const t=u(p),n=null!=(e=u(c))?e:0;return{name:"arrow",enabled:!le(t),options:{element:t,padding:n}}})),g=n((()=>({onFirstUpdate:()=>{w()},...Qt(e,[u(v),u(d)])}))),m=n((()=>(e=>{if(s)return I(e)})(e.referenceEl)||u(i))),{attributes:h,state:y,styles:b,update:w,forceUpdate:x,instanceRef:O}=jt(m,o,g);return r(O,(e=>t.value=e)),a((()=>{r((()=>{var e;return null==(e=u(m))?void 0:e.getBoundingClientRect()}),(()=>{w()}))})),{attributes:h,arrowRef:p,contentRef:o,instanceRef:O,state:y,styles:b,role:l,forceUpdate:x,update:w}},nn=x({name:"ElPopperContent"});var on=R(x({...nn,props:Xt,emits:Yt,setup(e,{expose:t,emit:o}){const i=e,{focusStartRef:s,trapped:l,onFocusAfterReleased:p,onFocusAfterTrapped:d,onFocusInTrap:v,onFocusoutPrevented:g,onReleaseRequested:m}=((e,t)=>{const n=f(!1),o=f();return{focusStartRef:o,trapped:n,onFocusAfterReleased:e=>{var n;"pointer"!==(null==(n=e.detail)?void 0:n.focusReason)&&(o.value="first",t("blur"))},onFocusAfterTrapped:()=>{t("focus")},onFocusInTrap:t=>{e.visible&&!n.value&&(t.target&&(o.value=t.target),n.value=!0)},onFocusoutPrevented:t=>{e.trapping||("pointer"===t.detail.focusReason&&t.preventDefault(),n.value=!1)},onReleaseRequested:()=>{n.value=!1,t("close")}}})(i,o),{attributes:h,arrowRef:y,contentRef:x,styles:R,instanceRef:S,role:k,update:M}=tn(i),{ariaModal:B,arrowStyle:P,contentAttrs:F,contentClass:L,contentStyle:D,updateZIndex:I}=((e,{attributes:t,styles:o,role:r})=>{const{nextZIndex:a}=V(),i=A("popper"),s=n((()=>u(t).popper)),l=f(b(e.zIndex)?e.zIndex:a()),p=n((()=>[i.b(),i.is("pure",e.pure),i.is(e.effect),e.popperClass])),c=n((()=>[{zIndex:u(l)},u(o).popper,e.popperStyle||{}]));return{ariaModal:n((()=>"dialog"===r.value?"false":void 0)),arrowStyle:n((()=>u(o).arrow||{})),contentAttrs:s,contentClass:p,contentStyle:c,contentZIndex:l,updateZIndex:()=>{l.value=b(e.zIndex)?e.zIndex:a()}}})(i,{styles:R,attributes:h,role:k}),W=E(Z,void 0),q=f();let U;w(_t,{arrowStyle:P,arrowRef:y,arrowOffset:q}),W&&w(Z,{...W,addInputId:j,removeInputId:j});const K=(e=!0)=>{M(),e&&I()},J=()=>{K(!1),i.visible&&i.focusOnShow?l.value=!0:!1===i.visible&&(l.value=!1)};return a((()=>{r((()=>i.triggerTargetEl),((e,t)=>{null==U||U(),U=void 0;const n=u(e||x.value),o=u(t||x.value);H(n)&&(U=r([k,()=>i.ariaLabel,B,()=>i.id],(e=>{["role","aria-label","aria-modal","id"].forEach(((t,o)=>{$(e[o])?n.removeAttribute(t):n.setAttribute(t,e[o])}))}),{immediate:!0})),o!==n&&H(o)&&["role","aria-label","aria-modal","id"].forEach((e=>{o.removeAttribute(e)}))}),{immediate:!0}),r((()=>i.visible),J,{immediate:!0})})),c((()=>{null==U||U(),U=void 0})),t({popperContentRef:x,popperInstanceRef:S,updatePopper:K,contentStyle:D}),(e,t)=>(T(),C("div",N({ref_key:"contentRef",ref:x},u(F),{style:u(D),class:u(L),tabindex:"-1",onMouseenter:t=>e.$emit("mouseenter",t),onMouseleave:t=>e.$emit("mouseleave",t)}),[_(u(G),{trapped:u(l),"trap-on-focus-in":!0,"focus-trap-el":u(x),"focus-start-el":u(s),onFocusAfterTrapped:u(d),onFocusAfterReleased:u(p),onFocusin:u(v),onFocusoutPrevented:u(g),onReleaseRequested:u(m)},{default:z((()=>[O(e.$slots,"default")])),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16,["onMouseenter","onMouseleave"]))}}),[["__file","content.vue"]]);const rn=J(Wt),an=Symbol("elTooltip"),sn=y({...Ft,...Xt,appendTo:{type:t([String,Object])},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:t(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...K(["ariaLabel"])}),ln=y({...Vt,disabled:Boolean,trigger:{type:t([String,Array]),default:"hover"},triggerKeys:{type:t(Array),default:()=>[X.enter,X.space]}}),{useModelToggleProps:un,useModelToggleEmits:pn,useModelToggle:fn}=(e=>{const t=`update:${e}`,u=`onUpdate:${e}`,p=[t];return{useModelToggle:({indicator:p,toggleReason:f,shouldHideWhenRouteChanges:c,shouldProceed:d,onShow:v,onHide:g})=>{const m=i(),{emit:h}=m,y=m.props,b=n((()=>o(y[u]))),w=n((()=>null===y[e])),x=e=>{!0!==p.value&&(p.value=!0,f&&(f.value=e),o(v)&&v(e))},O=e=>{!1!==p.value&&(p.value=!1,f&&(f.value=e),o(g)&&g(e))},R=e=>{if(!0===y.disabled||o(d)&&!d())return;const n=b.value&&s;n&&h(t,!0),!w.value&&n||x(e)},A=e=>{if(!0===y.disabled||!s)return;const n=b.value&&s;n&&h(t,!1),!w.value&&n||O(e)},E=e=>{l(e)&&(y.disabled&&e?b.value&&h(t,!1):p.value!==e&&(e?x():O()))};return r((()=>y[e]),E),c&&void 0!==m.appContext.config.globalProperties.$route&&r((()=>({...m.proxy.$route})),(()=>{c.value&&p.value&&A()})),a((()=>{E(y[e])})),{hide:A,show:R,toggle:()=>{p.value?A():R()},hasUpdateHandler:b}},useModelToggleProps:{[e]:fe,[u]:ce},useModelToggleEmits:p}})("visible"),cn=y({...It,...un,...sn,...ln,...$t,showArrow:{type:Boolean,default:!0}}),dn=[...pn,"before-show","before-hide","show","hide","open","close"],vn=(e,t,n)=>o=>{((e,t)=>Y(e)?e.includes(t):e===t)(u(e),t)&&n(o)},gn=x({name:"ElTooltipTrigger"});var mn=R(x({...gn,props:ln,setup(e,{expose:t}){const n=e,o=A("tooltip"),{controlled:r,id:a,open:i,onOpen:s,onClose:l,onToggle:p}=E(an,void 0),c=f(null),d=()=>{if(u(r)||n.disabled)return!0},v=Q(n,"trigger"),g=ue(d,vn(v,"hover",s)),m=ue(d,vn(v,"hover",l)),h=ue(d,vn(v,"click",(e=>{0===e.button&&p(e)}))),y=ue(d,vn(v,"focus",s)),b=ue(d,vn(v,"focus",l)),w=ue(d,vn(v,"contextmenu",(e=>{e.preventDefault(),p(e)}))),x=ue(d,(e=>{const{code:t}=e;n.triggerKeys.includes(t)&&(e.preventDefault(),p(e))}));return t({triggerRef:c}),(e,t)=>(T(),q(u(Gt),{id:u(a),"virtual-ref":e.virtualRef,open:u(i),"virtual-triggering":e.virtualTriggering,class:S(u(o).e("trigger")),onBlur:u(b),onClick:u(h),onContextmenu:u(w),onFocus:u(y),onMouseenter:u(g),onMouseleave:u(m),onKeydown:u(x)},{default:z((()=>[O(e.$slots,"default")])),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}}),[["__file","trigger.vue"]]);const hn=x({name:"ElTooltipContent",inheritAttrs:!1});var yn=R(x({...hn,props:sn,setup(e,{expose:t}){const o=e,{selector:a}=Bt(),i=A("tooltip"),s=f(null);let l;const{controlled:p,id:d,open:v,trigger:g,onClose:m,onOpen:h,onShow:y,onHide:b,onBeforeShow:w,onBeforeHide:x}=E(an,void 0),R=n((()=>o.transition||`${i.namespace.value}-fade-in-linear`)),C=n((()=>o.persistent));c((()=>{null==l||l()}));const S=n((()=>!!u(C)||u(v))),k=n((()=>!o.disabled&&u(v))),j=n((()=>o.appendTo||a.value)),B=n((()=>{var e;return null!=(e=o.style)?e:{}})),P=f(!0),F=()=>{b(),P.value=!0},L=()=>{if(u(p))return!0},D=ue(L,(()=>{o.enterable&&"hover"===u(g)&&h()})),I=ue(L,(()=>{"hover"===u(g)&&m()})),H=()=>{var e,t;null==(t=null==(e=s.value)?void 0:e.updatePopper)||t.call(e),null==w||w()},W=()=>{null==x||x()},$=()=>{y(),l=ne(n((()=>{var e;return null==(e=s.value)?void 0:e.popperContentRef})),(()=>{if(u(p))return;"hover"!==u(g)&&m()}))},K=()=>{o.virtualTriggering||m()};return r((()=>u(v)),(e=>{e?P.value=!1:null==l||l()}),{flush:"post"}),r((()=>o.content),(()=>{var e,t;null==(t=null==(e=s.value)?void 0:e.updatePopper)||t.call(e)})),t({contentRef:s}),(e,t)=>(T(),q(u(se),{disabled:!e.teleported,to:u(j)},{default:z((()=>[_(ee,{name:u(R),onAfterLeave:F,onBeforeEnter:H,onAfterEnter:$,onBeforeLeave:W},{default:z((()=>[u(S)?M((T(),q(u(on),N({key:0,id:u(d),ref_key:"contentRef",ref:s},e.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":P.value,"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,u(B)],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:u(k),"z-index":e.zIndex,onMouseenter:u(D),onMouseleave:u(I),onBlur:K,onClose:u(m)}),{default:z((()=>[O(e.$slots,"default")])),_: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"])),[[te,u(k)]]):U("v-if",!0)])),_:3},8,["name"])])),_:3},8,["disabled","to"]))}}),[["__file","content.vue"]]);const bn=x({name:"ElTooltip"});const wn=J(R(x({...bn,props:cn,emits:dn,setup(e,{expose:t,emit:o}){const a=e;Pt();const i=oe(),s=f(),p=f(),c=()=>{var e;const t=u(s);t&&(null==(e=t.popperInstanceRef)||e.update())},d=f(!1),v=f(),{show:g,hide:m,hasUpdateHandler:h}=fn({indicator:d,toggleReason:v}),{onOpen:y,onClose:x}=(({showAfter:e,hideAfter:t,autoClose:n,open:o,close:r})=>{const{registerTimeout:a}=Mt(),{registerTimeout:i,cancelTimeout:s}=Mt();return{onOpen:t=>{a((()=>{o(t);const e=u(n);b(e)&&e>0&&i((()=>{r(t)}),e)}),u(e))},onClose:e=>{s(),a((()=>{r(e)}),u(t))}}})({showAfter:Q(a,"showAfter"),hideAfter:Q(a,"hideAfter"),autoClose:Q(a,"autoClose"),open:g,close:m}),R=n((()=>l(a.visible)&&!h.value));w(an,{controlled:R,id:i,open:re(d),trigger:Q(a,"trigger"),onOpen:e=>{y(e)},onClose:e=>{x(e)},onToggle:e=>{u(d)?x(e):y(e)},onShow:()=>{o("show",v.value)},onHide:()=>{o("hide",v.value)},onBeforeShow:()=>{o("before-show",v.value)},onBeforeHide:()=>{o("before-hide",v.value)},updatePopper:c}),r((()=>a.disabled),(e=>{e&&d.value&&(d.value=!1)}));return ae((()=>d.value&&m())),t({popperRef:s,contentRef:p,isFocusInsideContent:e=>{var t,n;const o=null==(n=null==(t=p.value)?void 0:t.contentRef)?void 0:n.popperContentRef,r=(null==e?void 0:e.relatedTarget)||document.activeElement;return o&&o.contains(r)},updatePopper:c,onOpen:y,onClose:x,hide:m}),(e,t)=>(T(),q(u(rn),{ref_key:"popperRef",ref:s,role:e.role},{default:z((()=>[_(mn,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering},{default:z((()=>[e.$slots.default?O(e.$slots,"default",{key:0}):U("v-if",!0)])),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),_(yn,{ref_key:"contentRef",ref:p,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":e.popperClass,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo},{default:z((()=>[O(e.$slots,"content",{},(()=>[e.rawContent?(T(),C("span",{key:0,innerHTML:e.content},null,8,["innerHTML"])):(T(),C("span",{key:1},ie(e.content),1))])),e.showArrow?(T(),q(u(zt),{key:0,"arrow-offset":e.arrowOffset},null,8,["arrow-offset"])):U("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"]))}}),[["__file","tooltip.vue"]]));export{wn as E,Nt as O,ln as a,Ae as b,ue as c,sn as u,pe as w}; diff --git a/static/js/el-scrollbar.DlPh6Z7D.js b/static/js/el-scrollbar.DlPh6Z7D.js new file mode 100644 index 0000000000000000000000000000000000000000..c380fb7a46a9341dc82c043c5baa682cb36cf7d5 --- /dev/null +++ b/static/js/el-scrollbar.DlPh6Z7D.js @@ -0,0 +1 @@ +import{b as e,_ as a,d as l,j as t,a as s,aj as r,r as o,B as i,al as n,b1 as u,au as v,c,l as f,w as m,Z as d,k as p,n as y,g as b,G as h,a6 as g,T as w,z as S,e as z,a0 as x,O as _,h as E,I as L,b7 as T,D as k,C as B,aq as H,Y as C,p as R,X as N,bh as j,o as A,bq as M,f as O,m as W,a1 as $,as as q,s as X}from"./index.9PHSMUIB.js";const Y={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"}},I=Symbol("scrollbarContextKey"),K=e({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean});var P=a(l({__name:"thumb",props:K,setup(e){const a=e,l=t(I),z=s("scrollbar");l||r("Thumb","can not inject scrollbar context");const x=o(),_=o(),E=o({}),L=o(!1);let T=!1,k=!1,B=S?document.onselectstart:null;const H=i((()=>Y[a.vertical?"vertical":"horizontal"])),C=i((()=>(({move:e,size:a,bar:l})=>({[l.size]:a,transform:`translate${l.axis}(${e}%)`}))({size:a.size,move:a.move,bar:H.value}))),R=i((()=>x.value[H.value.offset]**2/l.wrapElement[H.value.scrollSize]/a.ratio/_.value[H.value.offset])),N=e=>{var a;if(e.stopPropagation(),e.ctrlKey||[1,2].includes(e.button))return;null==(a=window.getSelection())||a.removeAllRanges(),A(e);const l=e.currentTarget;l&&(E.value[H.value.axis]=l[H.value.offset]-(e[H.value.client]-l.getBoundingClientRect()[H.value.direction]))},j=e=>{if(!_.value||!x.value||!l.wrapElement)return;const a=100*(Math.abs(e.target.getBoundingClientRect()[H.value.direction]-e[H.value.client])-_.value[H.value.offset]/2)*R.value/x.value[H.value.offset];l.wrapElement[H.value.scroll]=a*l.wrapElement[H.value.scrollSize]/100},A=e=>{e.stopImmediatePropagation(),T=!0,document.addEventListener("mousemove",M),document.addEventListener("mouseup",O),B=document.onselectstart,document.onselectstart=()=>!1},M=e=>{if(!x.value||!_.value)return;if(!1===T)return;const a=E.value[H.value.axis];if(!a)return;const t=100*(-1*(x.value.getBoundingClientRect()[H.value.direction]-e[H.value.client])-(_.value[H.value.offset]-a))*R.value/x.value[H.value.offset];l.wrapElement[H.value.scroll]=t*l.wrapElement[H.value.scrollSize]/100},O=()=>{T=!1,E.value[H.value.axis]=0,document.removeEventListener("mousemove",M),document.removeEventListener("mouseup",O),W(),k&&(L.value=!1)};n((()=>{W(),document.removeEventListener("mouseup",O)}));const W=()=>{document.onselectstart!==B&&(document.onselectstart=B)};return u(v(l,"scrollbarElement"),"mousemove",(()=>{k=!1,L.value=!!a.size})),u(v(l,"scrollbarElement"),"mouseleave",(()=>{k=!0,L.value=T})),(e,a)=>(c(),f(w,{name:b(z).b("fade"),persisted:""},{default:m((()=>[d(p("div",{ref_key:"instance",ref:x,class:y([b(z).e("bar"),b(z).is(b(H).key)]),onMousedown:j},[p("div",{ref_key:"thumb",ref:_,class:y(b(z).e("thumb")),style:h(b(C)),onMousedown:N},null,38)],34),[[g,e.always||L.value]])])),_:1},8,["name"]))}}),[["__file","thumb.vue"]]);var D=a(l({__name:"bar",props:e({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),setup(e,{expose:a}){const l=e,s=t(I),r=o(0),i=o(0),n=o(""),u=o(""),v=o(1),f=o(1);return a({handleScroll:e=>{if(e){const a=e.offsetHeight-4,l=e.offsetWidth-4;i.value=100*e.scrollTop/a*v.value,r.value=100*e.scrollLeft/l*f.value}},update:()=>{const e=null==s?void 0:s.wrapElement;if(!e)return;const a=e.offsetHeight-4,t=e.offsetWidth-4,r=a**2/e.scrollHeight,o=t**2/e.scrollWidth,i=Math.max(r,l.minSize),c=Math.max(o,l.minSize);v.value=r/(a-r)/(i/(a-i)),f.value=o/(t-o)/(c/(t-c)),u.value=i+4(c(),z(_,null,[x(P,{move:r.value,ratio:f.value,size:n.value,always:e.always},null,8,["move","ratio","size","always"]),x(P,{move:i.value,ratio:v.value,size:u.value,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64))}}),[["__file","bar.vue"]]);const G=e({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:E([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},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...L(["ariaLabel","ariaOrientation"])}),Z={scroll:({scrollTop:e,scrollLeft:a})=>[e,a].every(T)},F=l({name:"ElScrollbar"});const J=X(a(l({...F,props:G,emits:Z,setup(e,{expose:a,emit:l}){const t=e,r=s("scrollbar");let n,v,d=0,g=0;const w=o(),S=o(),x=o(),_=o(),E=i((()=>{const e={};return t.height&&(e.height=k(t.height)),t.maxHeight&&(e.maxHeight=k(t.maxHeight)),[t.wrapStyle,e]})),L=i((()=>[t.wrapClass,r.e("wrap"),{[r.em("wrap","hidden-default")]:!t.native}])),X=i((()=>[r.e("view"),t.viewClass])),Y=()=>{var e;S.value&&(null==(e=_.value)||e.handleScroll(S.value),d=S.value.scrollTop,g=S.value.scrollLeft,l("scroll",{scrollTop:S.value.scrollTop,scrollLeft:S.value.scrollLeft}))};const K=()=>{var e;null==(e=_.value)||e.update()};return B((()=>t.noresize),(e=>{e?(null==n||n(),null==v||v()):(({stop:n}=H(x,K)),v=u("resize",K))}),{immediate:!0}),B((()=>[t.maxHeight,t.height]),(()=>{t.native||C((()=>{var e;K(),S.value&&(null==(e=_.value)||e.handleScroll(S.value))}))})),R(I,N({scrollbarElement:w,wrapElement:S})),j((()=>{S.value&&(S.value.scrollTop=d,S.value.scrollLeft=g)})),A((()=>{t.native||C((()=>{K()}))})),M((()=>K())),a({wrapRef:S,update:K,scrollTo:function(e,a){q(e)?S.value.scrollTo(e):T(e)&&T(a)&&S.value.scrollTo(e,a)},setScrollTop:e=>{T(e)&&(S.value.scrollTop=e)},setScrollLeft:e=>{T(e)&&(S.value.scrollLeft=e)},handleScroll:Y}),(e,a)=>(c(),z("div",{ref_key:"scrollbarRef",ref:w,class:y(b(r).b())},[p("div",{ref_key:"wrapRef",ref:S,class:y(b(L)),style:h(b(E)),tabindex:e.tabindex,onScroll:Y},[(c(),f(W(e.tag),{id:e.id,ref_key:"resizeRef",ref:x,class:y(b(X)),style:h(e.viewStyle),role:e.role,"aria-label":e.ariaLabel,"aria-orientation":e.ariaOrientation},{default:m((()=>[O(e.$slots,"default")])),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,["tabindex"]),e.native?$("v-if",!0):(c(),f(D,{key:0,ref_key:"barRef",ref:_,always:e.always,"min-size":e.minSize},null,8,["always","min-size"]))],2))}}),[["__file","scrollbar.vue"]]));export{J as E}; diff --git a/static/js/el-select.dUFpYm6H.js b/static/js/el-select.dUFpYm6H.js new file mode 100644 index 0000000000000000000000000000000000000000..37b7c222d5e70a3e520c439c367d68978602ab0f --- /dev/null +++ b/static/js/el-select.dUFpYm6H.js @@ -0,0 +1 @@ +import{bR as e,cm as l,cn as t,ch as a,co as o,cp as n,c1 as s,bS as i,j as r,B as u,as as p,bL as c,C as d,q as v,_ as f,d as m,a as b,b2 as h,g,X as y,be as S,al as C,Y as x,Z as O,a6 as w,c as V,e as I,f as T,k as E,t as k,n as R,ad as L,r as B,o as M,aq as D,a1 as $,G as z,u as F,cq as W,W as _,Q as j,V as K,cr as N,at as H,cs as P,R as A,bt as q,ct as U,a8 as G,z as Q,b7 as J,N as X,bc as Y,cu as Z,F as ee,U as le,cv as te,L as ae,J as oe,b as ne,H as se,h as ie,i as re,bB as ue,a5 as pe,cw as ce,I as de,E as ve,p as fe,av as me,cj as be,a0 as he,w as ge,O as ye,P as Se,a4 as Ce,l as xe,$ as Oe,cx as we,m as Ve,cy as Ie,cz as Te,s as Ee,v as ke}from"./index.9PHSMUIB.js";import{u as Re,b as Le,E as Be}from"./el-popper.e9kr8u9Q.js";import{E as Me}from"./el-scrollbar.DlPh6Z7D.js";import{t as De,E as $e}from"./el-tag.CLWce1kX.js";import{e as ze}from"./strings.CQ_np2th.js";import{c as Fe}from"./castArray.BN0gQOTw.js";import{b as We,i as _e}from"./isEqual.DDyRMzJ4.js";import{d as je}from"./debounce.i1DMUZzi.js";import{S as Ke,k as Ne}from"./_initCloneObject.cf8iq1wq.js";import{C as He}from"./index.D7zGuEZp.js";function Pe(l){return l==l&&!e(l)}function Ae(e,l){return function(t){return null!=t&&(t[e]===l&&(void 0!==l||e in Object(t)))}}function qe(e){var l=function(e){for(var l=Ne(e),t=l.length;t--;){var a=l[t],o=e[a];l[t]=[a,o,Pe(o)]}return l}(e);return 1==l.length&&l[0][2]?Ae(l[0][0],l[0][1]):function(t){return t===e||function(e,l,t,a){var o=t.length,n=o;if(null==e)return!n;for(e=Object(e);o--;){var s=t[o];if(s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o[l.be("dropdown","item"),l.is("disabled",g(f)),l.is("selected",g(i)),l.is("hovering",g(I))])),n=y({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:s,itemSelected:i,isDisabled:f,select:m,hoverItem:O,updateOption:w}=function(e,l){const t=r(Je),o=r(Qe,{disabled:!1}),n=u((()=>h(Fe(t.props.modelValue),e.value))),s=u((()=>{var e;if(t.props.multiple){const l=Fe(null!=(e=t.props.modelValue)?e:[]);return!n.value&&l.length>=t.props.multipleLimit&&t.props.multipleLimit>0}return!1})),i=u((()=>e.label||(p(e.value)?"":e.value))),f=u((()=>e.value||e.label||"")),m=u((()=>e.disabled||l.groupDisabled||s.value)),b=v(),h=(l=[],o)=>{if(p(e.value)){const e=t.props.valueKey;return l&&l.some((l=>c(a(l,e))===a(o,e)))}return l&&l.includes(o)};return d((()=>i.value),(()=>{e.created||t.props.remote||t.setSelected()})),d((()=>e.value),((l,a)=>{const{remote:o,valueKey:n}=t.props;if(l!==a&&(t.onOptionDestroy(a,b.proxy),t.onOptionCreate(b.proxy)),!e.created&&!o){if(n&&p(l)&&p(a)&&l[n]===a[n])return;t.setSelected()}})),d((()=>o.disabled),(()=>{l.groupDisabled=o.disabled}),{immediate:!0}),{select:t,currentLabel:i,currentValue:f,itemSelected:n,isDisabled:m,hoverItem:()=>{e.disabled||o.disabled||(t.states.hoveringIndex=t.optionsArray.indexOf(b.proxy))},updateOption:t=>{const a=new RegExp(ze(t),"i");l.visible=a.test(i.value)||e.created}}}(e,n),{visible:V,hover:I}=S(n),T=v().proxy;return m.onOptionCreate(T),C((()=>{const e=T.value,{selected:l}=m.states,t=(m.props.multiple?l:[l]).some((e=>e.value===T.value));x((()=>{m.states.cachedOptions.get(e)!==T||t||m.states.cachedOptions.delete(e)})),m.onOptionDestroy(e,T)})),{ns:l,id:t,containerKls:o,currentLabel:s,itemSelected:i,isDisabled:f,select:m,hoverItem:O,updateOption:w,visible:V,hover:I,selectOptionClick:function(){f.value||m.handleOptionSelect(T)},states:n}}}),[["render",function(e,l,t,a,o,n){return O((V(),I("li",{id:e.id,class:R(e.containerKls),role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected,onMouseenter:e.hoverItem,onClick:L(e.selectOptionClick,["stop"])},[T(e.$slots,"default",{},(()=>[E("span",null,k(e.currentLabel),1)]))],42,["id","aria-disabled","aria-selected","onMouseenter","onClick"])),[[w,e.visible]])}],["__file","option.vue"]]);var Ye=f(m({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=r(Je),l=b("select"),t=u((()=>e.props.popperClass)),a=u((()=>e.props.multiple)),o=u((()=>e.props.fitInputWidth)),n=B("");function s(){var l;n.value=`${null==(l=e.selectRef)?void 0:l.offsetWidth}px`}return M((()=>{s(),D(e.selectRef,s)})),{ns:l,minWidth:n,popperClass:t,isMultiple:a,isFitInputWidth:o}}}),[["render",function(e,l,t,a,o,n){return V(),I("div",{class:R([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:z({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?(V(),I("div",{key:0,class:R(e.ns.be("dropdown","header"))},[T(e.$slots,"header")],2)):$("v-if",!0),T(e.$slots,"default"),e.$slots.footer?(V(),I("div",{key:1,class:R(e.ns.be("dropdown","footer"))},[T(e.$slots,"footer")],2)):$("v-if",!0)],6)}],["__file","select-dropdown.vue"]]);const Ze=(e,l)=>{const{t:t}=F(),o=h(),n=b("select"),s=b("input"),i=y({inputValue:"",options:new Map,cachedOptions:new Map,disabledOptions:new Map,optionValues:[],selected:[],selectionWidth:0,calculatorWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),r=B(null),c=B(null),v=B(null),f=B(null),m=B(null),g=B(null),S=B(null),C=B(null),O=B(null),w=B(null),V=B(null),I=B(null),{isComposing:T,handleCompositionStart:E,handleCompositionUpdate:k,handleCompositionEnd:R}=W({afterComposition:e=>He(e)}),{wrapperRef:L,isFocused:$,handleBlur:z}=_(m,{beforeFocus:()=>ce.value,afterFocus(){e.automaticDropdown&&!oe.value&&(oe.value=!0,i.menuVisibleOnFocus=!0)},beforeBlur(e){var l,t;return(null==(l=v.value)?void 0:l.isFocusInsideContent(e))||(null==(t=f.value)?void 0:t.isFocusInsideContent(e))},afterBlur(){oe.value=!1,i.menuVisibleOnFocus=!1}}),oe=B(!1),ne=B(),{form:se,formItem:ie}=j(),{inputId:re}=K(e,{formItemContext:ie}),{valueOnClear:ue,isEmptyValue:pe}=N(e),ce=u((()=>e.disabled||(null==se?void 0:se.disabled))),de=u((()=>H(e.modelValue)?e.modelValue.length>0:!pe(e.modelValue))),ve=u((()=>e.clearable&&!ce.value&&i.inputHovering&&de.value)),fe=u((()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon)),me=u((()=>n.is("reverse",fe.value&&oe.value))),be=u((()=>(null==ie?void 0:ie.validateState)||"")),he=u((()=>P[be.value])),ge=u((()=>e.remote?300:0)),ye=u((()=>e.loading?e.loadingText||t("el.select.loading"):!(e.remote&&!i.inputValue&&0===i.options.size)&&(e.filterable&&i.inputValue&&i.options.size>0&&0===Se.value?e.noMatchText||t("el.select.noMatch"):0===i.options.size?e.noDataText||t("el.select.noData"):null))),Se=u((()=>Ce.value.filter((e=>e.visible)).length)),Ce=u((()=>{const e=Array.from(i.options.values()),l=[];return i.optionValues.forEach((t=>{const a=e.findIndex((e=>e.value===t));a>-1&&l.push(e[a])})),l.length>=e.length?l:e})),xe=u((()=>Array.from(i.cachedOptions.values()))),Oe=u((()=>{const l=Ce.value.filter((e=>!e.created)).some((e=>e.currentLabel===i.inputValue));return e.filterable&&e.allowCreate&&""!==i.inputValue&&!l})),we=()=>{e.filterable&&Y(e.filterMethod)||e.filterable&&e.remote&&Y(e.remoteMethod)||Ce.value.forEach((e=>{var l;null==(l=e.updateOption)||l.call(e,i.inputValue)}))},Ve=A(),Ie=u((()=>["small"].includes(Ve.value)?"small":"default")),Te=u({get:()=>oe.value&&!1!==ye.value,set(e){oe.value=e}}),Ee=u((()=>{if(e.multiple&&!q(e.modelValue))return 0===Fe(e.modelValue).length&&!i.inputValue;const l=H(e.modelValue)?e.modelValue[0]:e.modelValue;return!e.filterable&&!q(l)||!i.inputValue})),ke=u((()=>{var l;const a=null!=(l=e.placeholder)?l:t("el.select.placeholder");return e.multiple||!de.value?a:i.selectedLabel})),Re=u((()=>U?null:"mouseenter"));d((()=>e.modelValue),((l,t)=>{e.multiple&&e.filterable&&!e.reserveKeyword&&(i.inputValue="",Le("")),Me(),!_e(l,t)&&e.validateEvent&&(null==ie||ie.validate("change").catch((e=>G())))}),{flush:"post",deep:!0}),d((()=>oe.value),(e=>{e?Le(i.inputValue):(i.inputValue="",i.previousQuery=null,i.isBeforeHide=!0),l("visible-change",e)})),d((()=>i.options.entries()),(()=>{var l;if(!Q)return;const t=(null==(l=r.value)?void 0:l.querySelectorAll("input"))||[];(e.filterable||e.defaultFirstOption||q(e.modelValue))&&Array.from(t).includes(document.activeElement)||Me(),e.defaultFirstOption&&(e.filterable||e.remote)&&Se.value&&Be()}),{flush:"post"}),d((()=>i.hoveringIndex),(e=>{J(e)&&e>-1?ne.value=Ce.value[e]||{}:ne.value={},Ce.value.forEach((e=>{e.hover=ne.value===e}))})),X((()=>{i.isBeforeHide||we()}));const Le=l=>{i.previousQuery===l||T.value||(i.previousQuery=l,e.filterable&&Y(e.filterMethod)?e.filterMethod(l):e.filterable&&e.remote&&Y(e.remoteMethod)&&e.remoteMethod(l),e.defaultFirstOption&&(e.filterable||e.remote)&&Se.value?x(Be):x($e))},Be=()=>{const e=Ce.value.filter((e=>e.visible&&!e.disabled&&!e.states.groupDisabled)),l=e.find((e=>e.created)),t=e[0],a=Ce.value.map((e=>e.value));i.hoveringIndex=Je(a,l||t)},Me=()=>{if(!e.multiple){const l=H(e.modelValue)?e.modelValue[0]:e.modelValue,t=De(l);return i.selectedLabel=t.currentLabel,void(i.selected=[t])}i.selectedLabel="";const l=[];q(e.modelValue)||Fe(e.modelValue).forEach((e=>{l.push(De(e))})),i.selected=l},De=l=>{let t;const o="object"===Z(l).toLowerCase(),n="null"===Z(l).toLowerCase(),s="undefined"===Z(l).toLowerCase();for(let r=i.cachedOptions.size-1;r>=0;r--){const n=xe.value[r];if(o?a(n.value,e.valueKey)===a(l,e.valueKey):n.value===l){t={value:l,currentLabel:n.currentLabel,get isDisabled(){return n.isDisabled}};break}}if(t)return t;return{value:l,currentLabel:o?l.label:n||s?"":l}},$e=()=>{i.hoveringIndex=Ce.value.findIndex((e=>i.selected.some((l=>ll(l)===ll(e)))))},ze=()=>{i.calculatorWidth=g.value.getBoundingClientRect().width},We=()=>{var e,l;null==(l=null==(e=v.value)?void 0:e.updatePopper)||l.call(e)},Ke=()=>{var e,l;null==(l=null==(e=f.value)?void 0:e.updatePopper)||l.call(e)},Ne=()=>{i.inputValue.length>0&&!oe.value&&(oe.value=!0),Le(i.inputValue)},He=l=>{if(i.inputValue=l.target.value,!e.remote)return Ne();Pe()},Pe=je((()=>{Ne()}),ge.value),Ae=t=>{_e(e.modelValue,t)||l(ae,t)},qe=e=>function(e,l){var t=null==e?0:e.length;if(!t)return-1;var a=t-1;return function(e,l,t){e.length;for(var a=t+1;a--;)if(l(e[a],a,e))return a;return-1}(e,Ge(l),a)}(e,(e=>!i.disabledOptions.has(e))),Ue=t=>{t.stopPropagation();const a=e.multiple?[]:ue.value;if(e.multiple)for(const e of i.selected)e.isDisabled&&a.push(e.value);l(le,a),Ae(a),i.hoveringIndex=-1,oe.value=!1,l("clear"),Ze()},Qe=t=>{var a;if(e.multiple){const o=Fe(null!=(a=e.modelValue)?a:[]).slice(),n=Je(o,t);n>-1?o.splice(n,1):(e.multipleLimit<=0||o.length{Xe(t)}))},Je=(l=[],t)=>p(null==t?void 0:t.value)?l.findIndex((l=>_e(a(l,e.valueKey),ll(t)))):l.indexOf(t.value),Xe=e=>{var l,t,a,o,s;const i=H(e)?e[0]:e;let r=null;if(null==i?void 0:i.value){const e=Ce.value.filter((e=>e.value===i.value));e.length>0&&(r=e[0].$el)}if(v.value&&r){const e=null==(o=null==(a=null==(t=null==(l=v.value)?void 0:l.popperRef)?void 0:t.contentRef)?void 0:a.querySelector)?void 0:o.call(a,`.${n.be("dropdown","wrap")}`);e&&te(e,r)}null==(s=I.value)||s.handleScroll()},Ye=u((()=>{var e,l;return null==(l=null==(e=v.value)?void 0:e.popperRef)?void 0:l.contentRef})),Ze=()=>{var e;null==(e=m.value)||e.focus()},el=()=>{ce.value||(U&&(i.inputHovering=!0),i.menuVisibleOnFocus?i.menuVisibleOnFocus=!1:oe.value=!oe.value)},ll=l=>p(l.value)?a(l.value,e.valueKey):l.value,tl=u((()=>Ce.value.filter((e=>e.visible)).every((e=>e.disabled)))),al=u((()=>e.multiple?e.collapseTags?i.selected.slice(0,e.maxCollapseTags):i.selected:[])),ol=u((()=>e.multiple&&e.collapseTags?i.selected.slice(e.maxCollapseTags):[])),nl=e=>{if(oe.value){if(0!==i.options.size&&0!==i.filteredOptionsCount&&!T.value&&!tl.value){"next"===e?(i.hoveringIndex++,i.hoveringIndex===i.options.size&&(i.hoveringIndex=0)):"prev"===e&&(i.hoveringIndex--,i.hoveringIndex<0&&(i.hoveringIndex=i.options.size-1));const l=Ce.value[i.hoveringIndex];!0!==l.disabled&&!0!==l.states.groupDisabled&&l.visible||nl(e),x((()=>Xe(ne.value)))}}else oe.value=!0},sl=u((()=>{const l=(()=>{if(!c.value)return 0;const e=window.getComputedStyle(c.value);return Number.parseFloat(e.gap||"6px")})();return{maxWidth:`${V.value&&1===e.maxCollapseTags?i.selectionWidth-i.collapseItemWidth-l:i.selectionWidth}px`}})),il=u((()=>({maxWidth:`${i.selectionWidth}px`}))),rl=u((()=>({width:`${Math.max(i.calculatorWidth,11)}px`})));return D(c,(()=>{i.selectionWidth=c.value.getBoundingClientRect().width})),D(g,ze),D(O,We),D(L,We),D(w,Ke),D(V,(()=>{i.collapseItemWidth=V.value.getBoundingClientRect().width})),M((()=>{Me()})),{inputId:re,contentId:o,nsSelect:n,nsInput:s,states:i,isFocused:$,expanded:oe,optionsArray:Ce,hoverOption:ne,selectSize:Ve,filteredOptionsCount:Se,resetCalculatorWidth:ze,updateTooltip:We,updateTagTooltip:Ke,debouncedOnInputChange:Pe,onInput:He,deletePrevTag:t=>{if(e.multiple&&t.code!==ee.delete&&t.target.value.length<=0){const t=Fe(e.modelValue).slice(),a=qe(t);if(a<0)return;const o=t[a];t.splice(a,1),l(le,t),Ae(t),l("remove-tag",o)}},deleteTag:(t,a)=>{const o=i.selected.indexOf(a);if(o>-1&&!ce.value){const t=Fe(e.modelValue).slice();t.splice(o,1),l(le,t),Ae(t),l("remove-tag",a.value)}t.stopPropagation(),Ze()},deleteSelected:Ue,handleOptionSelect:Qe,scrollToOption:Xe,hasModelValue:de,shouldShowPlaceholder:Ee,currentPlaceholder:ke,mouseEnterEventName:Re,showClose:ve,iconComponent:fe,iconReverse:me,validateState:be,validateIcon:he,showNewOption:Oe,updateOptions:we,collapseTagSize:Ie,setSelected:Me,selectDisabled:ce,emptyText:ye,handleCompositionStart:E,handleCompositionUpdate:k,handleCompositionEnd:R,onOptionCreate:e=>{i.options.set(e.value,e),i.cachedOptions.set(e.value,e),e.disabled&&i.disabledOptions.set(e.value,e)},onOptionDestroy:(e,l)=>{i.options.get(e)===l&&i.options.delete(e)},handleMenuEnter:()=>{i.isBeforeHide=!1,x((()=>Xe(i.selected)))},focus:Ze,blur:()=>{var e;if(oe.value)return oe.value=!1,void x((()=>{var e;return null==(e=m.value)?void 0:e.blur()}));null==(e=m.value)||e.blur()},handleClearClick:e=>{Ue(e)},handleClickOutside:e=>{if(oe.value=!1,$.value){const l=new FocusEvent("focus",e);x((()=>z(l)))}},handleEsc:()=>{i.inputValue.length>0?i.inputValue="":oe.value=!1},toggleMenu:el,selectOption:()=>{oe.value?Ce.value[i.hoveringIndex]&&Qe(Ce.value[i.hoveringIndex]):el()},getValueKey:ll,navigateOptions:nl,dropdownMenuVisible:Te,showTagList:al,collapseTagList:ol,tagStyle:sl,collapseTagStyle:il,inputStyle:rl,popperRef:Ye,inputRef:m,tooltipRef:v,tagTooltipRef:f,calculatorRef:g,prefixRef:S,suffixRef:C,selectRef:r,wrapperRef:L,selectionRef:c,scrollbarRef:I,menuRef:O,tagMenuRef:w,collapseItemRef:V}};var el=m({name:"ElOptions",setup(e,{slots:l}){const t=r(Je);let a=[];return()=>{var e,o;const n=null==(e=l.default)?void 0:e.call(l),s=[];return n.length&&function e(l){H(l)&&l.forEach((l=>{var t,a,o,n;const i=null==(t=(null==l?void 0:l.type)||{})?void 0:t.name;"ElOptionGroup"===i?e(oe(l.children)||H(l.children)||!Y(null==(a=l.children)?void 0:a.default)?l.children:null==(o=l.children)?void 0:o.default()):"ElOption"===i?s.push(null==(n=l.props)?void 0:n.value):H(l.children)&&e(l.children)}))}(null==(o=n[0])?void 0:o.children),_e(s,a)||(a=s,t&&(t.states.optionValues=s)),n}}});const ll="ElSelect";var tl=f(m({name:ll,componentName:ll,components:{ElSelectMenu:Ye,ElOption:Xe,ElOptions:el,ElTag:$e,ElScrollbar:Me,ElTooltip:Be,ElIcon:ve},directives:{ClickOutside:He},props:ne({name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:se,effect:{type:ie(String),default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:ie(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:Re.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:re,default:ue},fitInputWidth:Boolean,suffixIcon:{type:re,default:pe},tagType:{...De.type,default:"info"},tagEffect:{...De.effect,default:"light"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,placement:{type:ie(String),values:Le,default:"bottom-start"},fallbackPlacements:{type:ie(Array),default:["bottom-start","top-start","right","left"]},appendTo:String,...ce,...de(["ariaLabel"])}),emits:[le,ae,"remove-tag","clear","visible-change","focus","blur"],setup(e,{emit:l}){const t=u((()=>{const{modelValue:l,multiple:t}=e,a=t?[]:void 0;return H(l)?t?l:a:t?a:l})),a=y({...S(e),modelValue:t}),o=Ze(a,l);fe(Je,y({props:a,states:o.states,optionsArray:o.optionsArray,handleOptionSelect:o.handleOptionSelect,onOptionCreate:o.onOptionCreate,onOptionDestroy:o.onOptionDestroy,selectRef:o.selectRef,setSelected:o.setSelected}));const n=u((()=>e.multiple?o.states.selected.map((e=>e.currentLabel)):o.states.selectedLabel));return{...o,modelValue:t,selectedLabel:n}}}),[["render",function(e,l,t,a,o,n){const s=me("el-tag"),i=me("el-tooltip"),r=me("el-icon"),u=me("el-option"),p=me("el-options"),c=me("el-scrollbar"),d=me("el-select-menu"),v=be("click-outside");return O((V(),I("div",{ref:"selectRef",class:R([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),[Ie(e.mouseEnterEventName)]:l=>e.states.inputHovering=!0,onMouseleave:l=>e.states.inputHovering=!1},[he(i,{ref:"tooltipRef",visible:e.dropdownMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,pure:"",trigger:"click",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,"append-to":e.appendTo,onBeforeShow:e.handleMenuEnter,onHide:l=>e.states.isBeforeHide=!1},{default:ge((()=>{var l;return[E("div",{ref:"wrapperRef",class:R([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:L(e.toggleMenu,["prevent"])},[e.$slots.prefix?(V(),I("div",{key:0,ref:"prefixRef",class:R(e.nsSelect.e("prefix"))},[T(e.$slots,"prefix")],2)):$("v-if",!0),E("div",{ref:"selectionRef",class:R([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.states.selected.length)])},[e.multiple?T(e.$slots,"tag",{key:0},(()=>[(V(!0),I(ye,null,Se(e.showTagList,(l=>(V(),I("div",{key:e.getValueKey(l),class:R(e.nsSelect.e("selected-item"))},[he(s,{closable:!e.selectDisabled&&!l.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:z(e.tagStyle),onClose:t=>e.deleteTag(t,l)},{default:ge((()=>[E("span",{class:R(e.nsSelect.e("tags-text"))},[T(e.$slots,"label",{label:l.currentLabel,value:l.value},(()=>[Ce(k(l.currentLabel),1)]))],2)])),_:2},1032,["closable","size","type","effect","style","onClose"])],2)))),128)),e.collapseTags&&e.states.selected.length>e.maxCollapseTags?(V(),xe(i,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:e.teleported},{default:ge((()=>[E("div",{ref:"collapseItemRef",class:R(e.nsSelect.e("selected-item"))},[he(s,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:z(e.collapseTagStyle)},{default:ge((()=>[E("span",{class:R(e.nsSelect.e("tags-text"))}," + "+k(e.states.selected.length-e.maxCollapseTags),3)])),_:1},8,["size","type","effect","style"])],2)])),content:ge((()=>[E("div",{ref:"tagMenuRef",class:R(e.nsSelect.e("selection"))},[(V(!0),I(ye,null,Se(e.collapseTagList,(l=>(V(),I("div",{key:e.getValueKey(l),class:R(e.nsSelect.e("selected-item"))},[he(s,{class:"in-tooltip",closable:!e.selectDisabled&&!l.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:t=>e.deleteTag(t,l)},{default:ge((()=>[E("span",{class:R(e.nsSelect.e("tags-text"))},[T(e.$slots,"label",{label:l.currentLabel,value:l.value},(()=>[Ce(k(l.currentLabel),1)]))],2)])),_:2},1032,["closable","size","type","effect","onClose"])],2)))),128))],2)])),_:3},8,["disabled","effect","teleported"])):$("v-if",!0)])):$("v-if",!0),e.selectDisabled?$("v-if",!0):(V(),I("div",{key:1,class:R([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable)])},[O(E("input",{id:e.inputId,ref:"inputRef","onUpdate:modelValue":l=>e.states.inputValue=l,type:"text",name:e.name,class:R([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:z(e.inputStyle),role:"combobox",readonly:!e.filterable,spellcheck:"false","aria-activedescendant":(null==(l=e.hoverOption)?void 0:l.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropdownMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:[Oe(L((l=>e.navigateOptions("next")),["stop","prevent"]),["down"]),Oe(L((l=>e.navigateOptions("prev")),["stop","prevent"]),["up"]),Oe(L(e.handleEsc,["stop","prevent"]),["esc"]),Oe(L(e.selectOption,["stop","prevent"]),["enter"]),Oe(L(e.deletePrevTag,["stop"]),["delete"])],onCompositionstart:e.handleCompositionStart,onCompositionupdate:e.handleCompositionUpdate,onCompositionend:e.handleCompositionEnd,onInput:e.onInput,onClick:L(e.toggleMenu,["stop"])},null,46,["id","onUpdate:modelValue","name","disabled","autocomplete","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label","onKeydown","onCompositionstart","onCompositionupdate","onCompositionend","onInput","onClick"]),[[we,e.states.inputValue]]),e.filterable?(V(),I("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:R(e.nsSelect.e("input-calculator")),textContent:k(e.states.inputValue)},null,10,["textContent"])):$("v-if",!0)],2)),e.shouldShowPlaceholder?(V(),I("div",{key:2,class:R([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?T(e.$slots,"label",{key:0,label:e.currentPlaceholder,value:e.modelValue},(()=>[E("span",null,k(e.currentPlaceholder),1)])):(V(),I("span",{key:1},k(e.currentPlaceholder),1))],2)):$("v-if",!0)],2),E("div",{ref:"suffixRef",class:R(e.nsSelect.e("suffix"))},[e.iconComponent&&!e.showClose?(V(),xe(r,{key:0,class:R([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:ge((()=>[(V(),xe(Ve(e.iconComponent)))])),_:1},8,["class"])):$("v-if",!0),e.showClose&&e.clearIcon?(V(),xe(r,{key:1,class:R([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.nsSelect.e("clear")]),onClick:e.handleClearClick},{default:ge((()=>[(V(),xe(Ve(e.clearIcon)))])),_:1},8,["class","onClick"])):$("v-if",!0),e.validateState&&e.validateIcon?(V(),xe(r,{key:2,class:R([e.nsInput.e("icon"),e.nsInput.e("validateIcon")])},{default:ge((()=>[(V(),xe(Ve(e.validateIcon)))])),_:1},8,["class"])):$("v-if",!0)],2)],10,["onClick"])]})),content:ge((()=>[he(d,{ref:"menuRef"},{default:ge((()=>[e.$slots.header?(V(),I("div",{key:0,class:R(e.nsSelect.be("dropdown","header")),onClick:L((()=>{}),["stop"])},[T(e.$slots,"header")],10,["onClick"])):$("v-if",!0),O(he(c,{id:e.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:R([e.nsSelect.is("empty",0===e.filteredOptionsCount)]),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},{default:ge((()=>[e.showNewOption?(V(),xe(u,{key:0,value:e.states.inputValue,created:!0},null,8,["value"])):$("v-if",!0),he(p,null,{default:ge((()=>[T(e.$slots,"default")])),_:3})])),_:3},8,["id","wrap-class","view-class","class","aria-label"]),[[w,e.states.options.size>0&&!e.loading]]),e.$slots.loading&&e.loading?(V(),I("div",{key:1,class:R(e.nsSelect.be("dropdown","loading"))},[T(e.$slots,"loading")],2)):e.loading||0===e.filteredOptionsCount?(V(),I("div",{key:2,class:R(e.nsSelect.be("dropdown","empty"))},[T(e.$slots,"empty",{},(()=>[E("span",null,k(e.emptyText),1)]))],2)):$("v-if",!0),e.$slots.footer?(V(),I("div",{key:3,class:R(e.nsSelect.be("dropdown","footer")),onClick:L((()=>{}),["stop"])},[T(e.$slots,"footer")],10,["onClick"])):$("v-if",!0)])),_:3},512)])),_:3},8,["visible","placement","teleported","popper-class","popper-options","fallback-placements","effect","transition","persistent","append-to","onBeforeShow","onHide"])],16,["onMouseleave"])),[[v,e.handleClickOutside,e.popperRef]])}],["__file","select.vue"]]);var al=f(m({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const l=b("select"),t=B(null),a=v(),o=B([]);fe(Qe,y({...S(e)}));const n=u((()=>o.value.some((e=>!0===e.visible)))),s=e=>{const l=Fe(e),t=[];return l.forEach((e=>{var l,a;(e=>{var l,t;return"ElOption"===(null==(l=e.type)?void 0:l.name)&&!!(null==(t=e.component)?void 0:t.proxy)})(e)?t.push(e.component.proxy):(null==(l=e.children)?void 0:l.length)?t.push(...s(e.children)):(null==(a=e.component)?void 0:a.subTree)&&t.push(...s(e.component.subTree))})),t},i=()=>{o.value=s(a.subTree)};return M((()=>{i()})),Te(t,i,{attributes:!0,subtree:!0,childList:!0}),{groupRef:t,visible:n,ns:l}}}),[["render",function(e,l,t,a,o,n){return O((V(),I("ul",{ref:"groupRef",class:R(e.ns.be("group","wrap"))},[E("li",{class:R(e.ns.be("group","title"))},k(e.label),3),E("li",null,[E("ul",{class:R(e.ns.b("group"))},[T(e.$slots,"default")],2)])],2)),[[w,e.visible]])}],["__file","option-group.vue"]]);const ol=Ee(tl,{Option:Xe,OptionGroup:al}),nl=ke(Xe);ke(al);export{nl as E,ol as a,Ge as b}; diff --git a/static/js/el-switch.zYake_dz.js b/static/js/el-switch.zYake_dz.js new file mode 100644 index 0000000000000000000000000000000000000000..5674871db591dba73330a885e1ee855f69be6feb --- /dev/null +++ b/static/js/el-switch.zYake_dz.js @@ -0,0 +1 @@ +import{b as e,h as n,_ as o,d as t,r as a,j as l,B as i,p as r,b0 as s,au as d,g as u,C as c,b1 as v,f as p,av as f,c as m,l as g,w as b,a0 as w,aX as h,aY as y,b2 as I,F as k,Y as E,a3 as x,E as C,a5 as _,a as F,u as T,D as S,al as R,R as B,e as P,b3 as $,x as D,n as K,a1 as L,q as M,k as z,m as A,ad as G,O as V,b4 as O,G as N,s as H,v as j,b5 as U,i as Y,I as J,U as q,b6 as W,J as Q,b7 as X,L as Z,b8 as ee,Q as ne,V as oe,S as te,a8 as ae,o as le,$ as ie,t as re,b9 as se,ba as de,aj as ue,bb as ce,az as ve,ax as pe,P as fe,a4 as me,aA as ge}from"./index.9PHSMUIB.js";import{c as be,E as we,O as he,w as ye}from"./el-popper.e9kr8u9Q.js";import{E as Ie}from"./el-scrollbar.DlPh6Z7D.js";import{S as ke}from"./index.B2Hg7VBR.js";import{c as Ee,E as xe,d as Ce,a as _e,C as Fe,b as Te,e as Se,f as Re,g as Be,F as Pe,L as $e}from"./dropdown.CqG_2FXV.js";import{c as De}from"./castArray.BN0gQOTw.js";import{c as Ke}from"./refs.CNClepWF.js";const Le=e({style:{type:n([String,Array,Object])},currentTabId:{type:n(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:n(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:Me,ElCollectionItem:ze,COLLECTION_INJECTION_KEY:Ae,COLLECTION_ITEM_INJECTION_KEY:Ge}=Ee("RovingFocusGroup"),Ve=Symbol("elRovingFocusGroup"),Oe=Symbol("elRovingFocusGroupItem"),Ne={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},He=e=>{const{activeElement:n}=document;for(const o of e){if(o===n)return;if(o.focus(),n!==document.activeElement)return}},je="currentTabIdChange",Ue="rovingFocusGroup.entryFocus",Ye={bubbles:!1,cancelable:!0},Je=t({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:Le,emits:[je,"entryFocus"],setup(e,{emit:n}){var o;const t=a(null!=(o=e.currentTabId||e.defaultCurrentTabId)?o:null),p=a(!1),f=a(!1),m=a(null),{getItems:g}=l(Ae,void 0),b=i((()=>[{outline:"none"},e.style])),w=be((n=>{var o;null==(o=e.onMousedown)||o.call(e,n)}),(()=>{f.value=!0})),h=be((n=>{var o;null==(o=e.onFocus)||o.call(e,n)}),(e=>{const n=!u(f),{target:o,currentTarget:a}=e;if(o===a&&n&&!u(p)){const e=new Event(Ue,Ye);if(null==a||a.dispatchEvent(e),!e.defaultPrevented){const e=g().filter((e=>e.focusable)),n=[e.find((e=>e.active)),e.find((e=>e.id===u(t))),...e].filter(Boolean).map((e=>e.ref));He(n)}}f.value=!1})),y=be((n=>{var o;null==(o=e.onBlur)||o.call(e,n)}),(()=>{p.value=!1}));r(Ve,{currentTabbedId:s(t),loop:d(e,"loop"),tabIndex:i((()=>u(p)?-1:0)),rovingFocusGroupRef:m,rovingFocusGroupRootStyle:b,orientation:d(e,"orientation"),dir:d(e,"dir"),onItemFocus:e=>{n(je,e)},onItemShiftTab:()=>{p.value=!0},onBlur:y,onFocus:h,onMousedown:w}),c((()=>e.currentTabId),(e=>{t.value=null!=e?e:null})),v(m,Ue,((...e)=>{n("entryFocus",...e)}))}});var qe=o(t({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:Me,ElRovingFocusGroupImpl:o(Je,[["render",function(e,n,o,t,a,l){return p(e.$slots,"default")}],["__file","roving-focus-group-impl.vue"]])}}),[["render",function(e,n,o,t,a,l){const i=f("el-roving-focus-group-impl"),r=f("el-focus-group-collection");return m(),g(r,null,{default:b((()=>[w(i,h(y(e.$attrs)),{default:b((()=>[p(e.$slots,"default")])),_:3},16)])),_:3})}],["__file","roving-focus-group.vue"]]);var We=o(t({components:{ElRovingFocusCollectionItem:ze},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(e,{emit:n}){const{currentTabbedId:o,loop:t,onItemFocus:s,onItemShiftTab:d}=l(Ve,void 0),{getItems:c}=l(Ae,void 0),v=I(),p=a(null),f=be((e=>{n("mousedown",e)}),(n=>{e.focusable?s(u(v)):n.preventDefault()})),m=be((e=>{n("focus",e)}),(()=>{s(u(v))})),g=be((e=>{n("keydown",e)}),(e=>{const{key:n,shiftKey:o,target:a,currentTarget:l}=e;if(n===k.tab&&o)return void d();if(a!==l)return;const i=(e=>{const n=e.key;return Ne[n]})(e);if(i){e.preventDefault();let n=c().filter((e=>e.focusable)).map((e=>e.ref));switch(i){case"last":n.reverse();break;case"prev":case"next":{"prev"===i&&n.reverse();const e=n.indexOf(l);n=t.value?(s=e+1,(r=n).map(((e,n)=>r[(n+s)%r.length]))):n.slice(e+1);break}}E((()=>{He(n)}))}var r,s})),b=i((()=>o.value===u(v)));return r(Oe,{rovingFocusGroupItemRef:p,tabIndex:i((()=>u(b)?0:-1)),handleMousedown:f,handleFocus:m,handleKeydown:g}),{id:v,handleKeydown:g,handleFocus:m,handleMousedown:f}}}),[["render",function(e,n,o,t,a,l){const i=f("el-roving-focus-collection-item");return m(),g(i,{id:e.id,focusable:e.focusable,active:e.active},{default:b((()=>[p(e.$slots,"default")])),_:3},8,["id","focusable","active"])}],["__file","roving-focus-item.vue"]]);const Qe=Symbol("elDropdown"),{ButtonGroup:Xe}=x;var Ze=o(t({name:"ElDropdown",components:{ElButton:x,ElButtonGroup:Xe,ElScrollbar:Ie,ElDropdownCollection:xe,ElTooltip:we,ElRovingFocusGroup:qe,ElOnlyChild:he,ElIcon:C,ArrowDown:_},props:Ce,emits:["visible-change","click","command"],setup(e,{emit:n}){const o=M(),t=F("dropdown"),{t:l}=T(),s=a(),v=a(),p=a(null),f=a(null),m=a(null),g=a(null),b=a(!1),w=[k.enter,k.space,k.down],h=i((()=>({maxHeight:S(e.maxHeight)}))),y=i((()=>[t.m(P.value)])),E=i((()=>De(e.trigger))),x=I().value,C=i((()=>e.id||x));function _(){var e;null==(e=p.value)||e.onClose()}c([s,E],(([e,n],[o])=>{var t,a,l;(null==(t=null==o?void 0:o.$el)?void 0:t.removeEventListener)&&o.$el.removeEventListener("pointerenter",$),(null==(a=null==e?void 0:e.$el)?void 0:a.removeEventListener)&&e.$el.removeEventListener("pointerenter",$),(null==(l=null==e?void 0:e.$el)?void 0:l.addEventListener)&&n.includes("hover")&&e.$el.addEventListener("pointerenter",$)}),{immediate:!0}),R((()=>{var e,n;(null==(n=null==(e=s.value)?void 0:e.$el)?void 0:n.removeEventListener)&&s.value.$el.removeEventListener("pointerenter",$)}));const P=B();function $(){var e,n;null==(n=null==(e=s.value)?void 0:e.$el)||n.focus()}r(Qe,{contentRef:f,role:i((()=>e.role)),triggerId:C,isUsingKeyboard:b,onItemEnter:function(){},onItemLeave:function(){const e=u(f);E.value.includes("hover")&&(null==e||e.focus()),g.value=null}}),r("elDropdown",{instance:o,dropdownSize:P,handleClick:function(){_()},commandHandler:function(...e){n("command",...e)},trigger:d(e,"trigger"),hideOnClick:d(e,"hideOnClick")});return{t:l,ns:t,scrollbar:m,wrapStyle:h,dropdownTriggerKls:y,dropdownSize:P,triggerId:C,triggerKeys:w,currentTabId:g,handleCurrentTabIdChange:function(e){g.value=e},handlerMainButtonClick:e=>{n("click",e)},handleEntryFocus:function(e){b.value||(e.preventDefault(),e.stopImmediatePropagation())},handleClose:_,handleOpen:function(){var e;null==(e=p.value)||e.onOpen()},handleBeforeShowTooltip:function(){n("visible-change",!0)},handleShowTooltip:function(e){"keydown"===(null==e?void 0:e.type)&&f.value.focus()},handleBeforeHideTooltip:function(){n("visible-change",!1)},onFocusAfterTrapped:e=>{var n,o;e.preventDefault(),null==(o=null==(n=f.value)?void 0:n.focus)||o.call(n,{preventScroll:!0})},popperRef:p,contentRef:f,triggeringElementRef:s,referenceElementRef:v}}}),[["render",function(e,n,o,t,a,l){var i;const r=f("el-dropdown-collection"),s=f("el-roving-focus-group"),d=f("el-scrollbar"),u=f("el-only-child"),c=f("el-tooltip"),v=f("el-button"),h=f("arrow-down"),y=f("el-icon"),I=f("el-button-group");return m(),P("div",{class:K([e.ns.b(),e.ns.is("disabled",e.disabled)])},[w(c,{ref:"popperRef",role:e.role,effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,"hide-after":"hover"===e.trigger?e.hideTimeout:0,"manual-mode":!0,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"reference-element":null==(i=e.referenceElementRef)?void 0:i.$el,trigger:e.trigger,"trigger-keys":e.triggerKeys,"trigger-target-el":e.contentRef,"show-after":"hover"===e.trigger?e.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":e.triggeringElementRef,"virtual-triggering":e.splitButton,disabled:e.disabled,transition:`${e.ns.namespace.value}-zoom-in-top`,teleported:e.teleported,pure:"",persistent:"",onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},$({content:b((()=>[w(d,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:b((()=>[w(s,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange,onEntryFocus:e.handleEntryFocus},{default:b((()=>[w(r,null,{default:b((()=>[p(e.$slots,"dropdown")])),_:3})])),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])])),_:3},8,["wrap-style","view-class"])])),_:2},[e.splitButton?void 0:{name:"default",fn:b((()=>[w(u,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:b((()=>[p(e.$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"]),e.splitButton?(m(),g(I,{key:0},{default:b((()=>[w(v,D({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:b((()=>[p(e.$slots,"default")])),_:3},16,["size","type","disabled","tabindex","onClick"]),w(v,D({id:e.triggerId,ref:"triggeringElementRef"},e.buttonProps,{role:"button",size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled,tabindex:e.tabindex,"aria-label":e.t("el.dropdown.toggleDropdown")}),{default:b((()=>[w(y,{class:K(e.ns.e("icon"))},{default:b((()=>[w(h)])),_:1},8,["class"])])),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])])),_:3})):L("v-if",!0)],2)}],["__file","dropdown.vue"]]);const en=t({name:"DropdownItemImpl",components:{ElIcon:C},props:_e,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:n}){const o=F("dropdown"),{role:t}=l(Qe,void 0),{collectionItemRef:a}=l(Fe,void 0),{collectionItemRef:r}=l(Ge,void 0),{rovingFocusGroupItemRef:s,tabIndex:d,handleFocus:u,handleKeydown:c,handleMousedown:v}=l(Oe,void 0),p=Ke(a,r,s),f=i((()=>"menu"===t.value?"menuitem":"navigation"===t.value?"link":"button")),m=be((e=>{const{code:o}=e;if(o===k.enter||o===k.space)return e.preventDefault(),e.stopImmediatePropagation(),n("clickimpl",e),!0}),c);return{ns:o,itemRef:p,dataset:{[Te]:""},role:f,tabIndex:d,handleFocus:u,handleKeydown:m,handleMousedown:v}}});const nn=()=>{const e=l("elDropdown",{}),n=i((()=>null==e?void 0:e.dropdownSize));return{elDropdown:e,_elDropdownSize:n}};var on=o(t({name:"ElDropdownItem",components:{ElDropdownCollectionItem:Se,ElRovingFocusItem:We,ElDropdownItemImpl:o(en,[["render",function(e,n,o,t,a,l){const i=f("el-icon");return m(),P(V,null,[e.divided?(m(),P("li",{key:0,role:"separator",class:K(e.ns.bem("menu","item","divided"))},null,2)):L("v-if",!0),z("li",D({ref:e.itemRef},{...e.dataset,...e.$attrs},{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:e.role,onClick:n=>e.$emit("clickimpl",n),onFocus:e.handleFocus,onKeydown:G(e.handleKeydown,["self"]),onMousedown:e.handleMousedown,onPointermove:n=>e.$emit("pointermove",n),onPointerleave:n=>e.$emit("pointerleave",n)}),[e.icon?(m(),g(i,{key:0},{default:b((()=>[(m(),g(A(e.icon)))])),_:1})):L("v-if",!0),p(e.$slots,"default")],16,["aria-disabled","tabindex","role","onClick","onFocus","onKeydown","onMousedown","onPointermove","onPointerleave"])],64)}],["__file","dropdown-item-impl.vue"]])},inheritAttrs:!1,props:_e,emits:["pointermove","pointerleave","click"],setup(e,{emit:n,attrs:o}){const{elDropdown:t}=nn(),r=M(),s=a(null),d=i((()=>{var e,n;return null!=(n=null==(e=u(s))?void 0:e.textContent)?n:""})),{onItemEnter:c,onItemLeave:v}=l(Qe,void 0),p=be((e=>(n("pointermove",e),e.defaultPrevented)),ye((n=>{if(e.disabled)return void v(n);const o=n.currentTarget;o===document.activeElement||o.contains(document.activeElement)||(c(n),n.defaultPrevented||null==o||o.focus())}))),f=be((e=>(n("pointerleave",e),e.defaultPrevented)),ye(v));return{handleClick:be((o=>{if(!e.disabled)return n("click",o),"keydown"!==o.type&&o.defaultPrevented}),(n=>{var o,a,l;e.disabled?n.stopImmediatePropagation():((null==(o=null==t?void 0:t.hideOnClick)?void 0:o.value)&&(null==(a=t.handleClick)||a.call(t)),null==(l=t.commandHandler)||l.call(t,e.command,r,n))})),handlePointerMove:p,handlePointerLeave:f,textContent:d,propsAndAttrs:i((()=>({...e,...o})))}}}),[["render",function(e,n,o,t,a,l){var i;const r=f("el-dropdown-item-impl"),s=f("el-roving-focus-item"),d=f("el-dropdown-collection-item");return m(),g(d,{disabled:e.disabled,"text-value":null!=(i=e.textValue)?i:e.textContent},{default:b((()=>[w(s,{focusable:!e.disabled},{default:b((()=>[w(r,D(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),{default:b((()=>[p(e.$slots,"default")])),_:3},16,["onPointerleave","onPointermove","onClickimpl"])])),_:3},8,["focusable"])])),_:3},8,["disabled","text-value"])}],["__file","dropdown-item.vue"]]);var tn=o(t({name:"ElDropdownMenu",props:Re,setup(e){const n=F("dropdown"),{_elDropdownSize:o}=nn(),t=o.value,{focusTrapRef:a,onKeydown:r}=l(O,void 0),{contentRef:s,role:d,triggerId:c}=l(Qe,void 0),{collectionRef:v,getItems:p}=l(Be,void 0),{rovingFocusGroupRef:f,rovingFocusGroupRootStyle:m,tabIndex:g,onBlur:b,onFocus:w,onMousedown:h}=l(Ve,void 0),{collectionRef:y}=l(Ae,void 0),I=i((()=>[n.b("menu"),n.bm("menu",null==t?void 0:t.value)])),E=Ke(s,v,a,f,y),x=be((n=>{var o;null==(o=e.onKeydown)||o.call(e,n)}),(e=>{const{currentTarget:n,code:o,target:t}=e;if(n.contains(t),k.tab===o&&e.stopImmediatePropagation(),e.preventDefault(),t!==u(s)||!Pe.includes(o))return;const a=p().filter((e=>!e.disabled)).map((e=>e.ref));$e.includes(o)&&a.reverse(),He(a)}));return{size:t,rovingFocusGroupRootStyle:m,tabIndex:g,dropdownKls:I,role:d,triggerId:c,dropdownListWrapperRef:E,handleKeydown:e=>{x(e),r(e)},onBlur:b,onFocus:w,onMousedown:h}}}),[["render",function(e,n,o,t,a,l){return m(),P("ul",{ref:e.dropdownListWrapperRef,class:K(e.dropdownKls),style:N(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onBlur:e.onBlur,onFocus:e.onFocus,onKeydown:G(e.handleKeydown,["self"]),onMousedown:G(e.onMousedown,["self"])},[p(e.$slots,"default")],46,["role","aria-labelledby","onBlur","onFocus","onKeydown","onMousedown"])}],["__file","dropdown-menu.vue"]]);const an=H(Ze,{DropdownItem:on,DropdownMenu:tn}),ln=j(on),rn=j(tn),sn=e({modelValue:{type:[Boolean,String,Number],default:!1},disabled:Boolean,loading:Boolean,size:{type:String,validator:U},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:Y},activeActionIcon:{type:Y},activeIcon:{type:Y},inactiveIcon:{type:Y},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:n(Function)},id:String,tabindex:{type:[String,Number]},...J(["ariaLabel"])}),dn={[q]:e=>W(e)||Q(e)||X(e),[Z]:e=>W(e)||Q(e)||X(e),[ee]:e=>W(e)||Q(e)||X(e)},un="ElSwitch",cn=t({name:un});const vn=H(o(t({...cn,props:sn,emits:dn,setup(e,{expose:n,emit:o}){const t=e,{formItem:l}=ne(),r=B(),s=F("switch"),{inputId:d}=oe(t,{formItemContext:l}),v=te(i((()=>t.loading))),f=a(!1!==t.modelValue),h=a(),y=a(),I=i((()=>[s.b(),s.m(r.value),s.is("disabled",v.value),s.is("checked",R.value)])),k=i((()=>[s.e("label"),s.em("label","left"),s.is("active",!R.value)])),x=i((()=>[s.e("label"),s.em("label","right"),s.is("active",R.value)])),_=i((()=>({width:S(t.width)})));c((()=>t.modelValue),(()=>{f.value=!0}));const T=i((()=>!!f.value&&t.modelValue)),R=i((()=>T.value===t.activeValue));[t.activeValue,t.inactiveValue].includes(T.value)||(o(q,t.inactiveValue),o(Z,t.inactiveValue),o(ee,t.inactiveValue)),c(R,(e=>{var n;h.value.checked=e,t.validateEvent&&(null==(n=null==l?void 0:l.validate)||n.call(l,"change").catch((e=>ae())))}));const $=()=>{const e=R.value?t.inactiveValue:t.activeValue;o(q,e),o(Z,e),o(ee,e),E((()=>{h.value.checked=R.value}))},D=()=>{if(v.value)return;const{beforeChange:e}=t;if(!e)return void $();const n=e();[de(n),W(n)].includes(!0)||ue(un,"beforeChange must return type `Promise` or `boolean`"),de(n)?n.then((e=>{e&&$()})).catch((e=>{})):n&&$()};return le((()=>{h.value.checked=R.value})),n({focus:()=>{var e,n;null==(n=null==(e=h.value)?void 0:e.focus)||n.call(e)},checked:R}),(e,n)=>(m(),P("div",{class:K(u(I)),onClick:G(D,["prevent"])},[z("input",{id:u(d),ref_key:"input",ref:h,class:K(u(s).e("input")),type:"checkbox",role:"switch","aria-checked":u(R),"aria-disabled":u(v),"aria-label":e.ariaLabel,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:u(v),tabindex:e.tabindex,onChange:$,onKeydown:ie(D,["enter"])},null,42,["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"]),e.inlinePrompt||!e.inactiveIcon&&!e.inactiveText?L("v-if",!0):(m(),P("span",{key:0,class:K(u(k))},[e.inactiveIcon?(m(),g(u(C),{key:0},{default:b((()=>[(m(),g(A(e.inactiveIcon)))])),_:1})):L("v-if",!0),!e.inactiveIcon&&e.inactiveText?(m(),P("span",{key:1,"aria-hidden":u(R)},re(e.inactiveText),9,["aria-hidden"])):L("v-if",!0)],2)),z("span",{ref_key:"core",ref:y,class:K(u(s).e("core")),style:N(u(_))},[e.inlinePrompt?(m(),P("div",{key:0,class:K(u(s).e("inner"))},[e.activeIcon||e.inactiveIcon?(m(),g(u(C),{key:0,class:K(u(s).is("icon"))},{default:b((()=>[(m(),g(A(u(R)?e.activeIcon:e.inactiveIcon)))])),_:1},8,["class"])):e.activeText||e.inactiveText?(m(),P("span",{key:1,class:K(u(s).is("text")),"aria-hidden":!u(R)},re(u(R)?e.activeText:e.inactiveText),11,["aria-hidden"])):L("v-if",!0)],2)):L("v-if",!0),z("div",{class:K(u(s).e("action"))},[e.loading?(m(),g(u(C),{key:0,class:K(u(s).is("loading"))},{default:b((()=>[w(u(se))])),_:1},8,["class"])):u(R)?p(e.$slots,"active-action",{key:1},(()=>[e.activeActionIcon?(m(),g(u(C),{key:0},{default:b((()=>[(m(),g(A(e.activeActionIcon)))])),_:1})):L("v-if",!0)])):u(R)?L("v-if",!0):p(e.$slots,"inactive-action",{key:2},(()=>[e.inactiveActionIcon?(m(),g(u(C),{key:0},{default:b((()=>[(m(),g(A(e.inactiveActionIcon)))])),_:1})):L("v-if",!0)]))],2)],6),e.inlinePrompt||!e.activeIcon&&!e.activeText?L("v-if",!0):(m(),P("span",{key:1,class:K(u(x))},[e.activeIcon?(m(),g(u(C),{key:0},{default:b((()=>[(m(),g(A(e.activeIcon)))])),_:1})):L("v-if",!0),!e.activeIcon&&e.activeText?(m(),P("span",{key:1,"aria-hidden":!u(R)},re(e.activeText),9,["aria-hidden"])):L("v-if",!0)],2))],10,["onClick"]))}}),[["__file","switch.vue"]])),pn=t({__name:"index",props:{size:{type:String,required:!1}},setup(e){const n=[{label:"中文",value:ce.ZH_CN},{label:"English",value:ce.EN}],o=ve(),{locale:t,t:a}=pe();function l(e){t.value=e,o.changeLanguage(e),ge.success(a("langSelect.message.success"))}return(t,a)=>{const i=ke,r=ln,s=rn,d=an;return m(),g(d,{trigger:"click",onCommand:l},{dropdown:b((()=>[w(s,null,{default:b((()=>[(m(),P(V,null,fe(n,(e=>w(r,{key:e.value,disabled:u(o).language===e.value,command:e.value},{default:b((()=>[me(re(e.label),1)])),_:2},1032,["disabled","command"]))),64))])),_:1})])),default:b((()=>[z("div",null,[w(i,{"icon-class":"language",size:e.size},null,8,["size"])])])),_:1})}}});export{ln as E,pn as _,rn as a,an as b,vn as c}; diff --git a/static/js/el-table-column.haX2jq5s.js b/static/js/el-table-column.haX2jq5s.js new file mode 100644 index 0000000000000000000000000000000000000000..2f6a71282f5559aa34746c02d91b2aad83677279 --- /dev/null +++ b/static/js/el-table-column.haX2jq5s.js @@ -0,0 +1 @@ +import{b$ as e,c0 as l,c1 as t,bR as a,c2 as n,c3 as o,bQ as r,c4 as s,c5 as i,bS as u,c6 as d,c7 as c,c8 as p,c9 as v,z as h,H as f,I as m,U as g,J as b,b7 as y,b6 as x,j as C,B as w,bt as S,S as k,Q as E,C as N,a8 as L,Y as R,q as O,r as F,at as T,bZ as z,as as M,bL as H,R as P,V as W,aa as B,d as $,a9 as I,a as V,c as A,l as K,w as _,k as j,n as D,g as q,Z as U,e as Y,aO as G,ad as X,ca as Q,f as Z,O as J,a4 as ee,t as le,a1 as te,m as ae,_ as ne,G as oe,b as re,h as se,p as ie,cb as ue,be as de,s as ce,v as pe,i as ve,u as he,E as fe,ao as me,bU as ge,a0 as be,P as ye,a2 as xe,N as Ce,cc as we,cd as Se,ce as ke,$ as Ee,br as Ne,ak as Le,cf as Re,am as Oe,M as Fe,bc as Te,aj as ze,cg as Me,ch as He,a5 as Pe,ci as We,av as Be,cj as $e,aK as Ie,o as Ve,bq as Ae,bv as Ke,af as _e,ck as je,ah as De,ag as qe,b1 as Ue,aq as Ye,al as Ge,a6 as Xe,bY as Qe,b9 as Ze,cl as Je}from"./index.9PHSMUIB.js";import{b as el,E as ll,a as tl}from"./el-select.dUFpYm6H.js";import{i as al}from"./isEqual.DDyRMzJ4.js";import{E as nl}from"./el-scrollbar.DlPh6Z7D.js";import{E as ol}from"./el-popper.e9kr8u9Q.js";import{q as rl,b as sl,k as il,c as ul,a as dl,l as cl,r as pl,j as vl,m as hl,f as fl,o as ml,S as gl}from"./_initCloneObject.cf8iq1wq.js";import{d as bl}from"./debounce.i1DMUZzi.js";import{C as yl}from"./index.D7zGuEZp.js";var xl=Function.prototype,Cl=Object.prototype,wl=xl.toString,Sl=Cl.hasOwnProperty,kl=wl.call(Object);var El=function(e,l,t){for(var a=-1,n=Object(e),o=t(e),r=o.length;r--;){var s=o[++a];if(!1===l(n[s],s,n))break}return e};var Nl,Ll=(Nl=function(e,l){return e&&El(e,l,il)},function(e,l){if(null==e)return e;if(!rl(e))return Nl(e,l);for(var t=e.length,a=-1,n=Object(e);++a1?l[r-1]:void 0,i=r>2?l[2]:void 0;for(s=Hl.length>3&&"function"==typeof s?(r--,s):void 0,i&&function(e,l,t){if(!a(t))return!1;var r=typeof l;return!!("number"==r?rl(t)&&n(l,t.length):"string"==r&&l in t)&&o(t[l],e)}(l[0],l[1],i)&&(s=r<3?void 0:s,r=1),e=Object(e);++t$l},ie64:function(){return tt.ie()&&Yl},firefox:function(){return et()||Il},opera:function(){return et()||Vl},webkit:function(){return et()||Al},safari:function(){return tt.webkit()},chrome:function(){return et()||Kl},windows:function(){return et()||Dl},osx:function(){return et()||jl},linux:function(){return et()||ql},iphone:function(){return et()||Gl},mobile:function(){return et()||Gl||Xl||Ul||Zl},nativeApp:function(){return et()||Ql},android:function(){return et()||Ul},ipad:function(){return et()||Xl}},at=tt,nt=!!(typeof window<"u"&&window.document&&window.document.createElement),ot={canUseDOM:nt,canUseWorkers:typeof Worker<"u",canUseEventListeners:nt&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:nt&&!!window.screen,isInWorker:!nt};ot.canUseDOM&&(lt=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("",""));var rt=function(e,l){if(!ot.canUseDOM||l&&!("addEventListener"in document))return!1;var t="on"+e,a=t in document;if(!a){var n=document.createElement("div");n.setAttribute(t,"return;"),a="function"==typeof n[t]}return!a&<&&"wheel"===e&&(a=document.implementation.hasFeature("Events.wheel","3.0")),a};function st(e){var l=0,t=0,a=0,n=0;return"detail"in e&&(t=e.detail),"wheelDelta"in e&&(t=-e.wheelDelta/120),"wheelDeltaY"in e&&(t=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(l=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(l=t,t=0),a=10*l,n=10*t,"deltaY"in e&&(n=e.deltaY),"deltaX"in e&&(a=e.deltaX),(a||n)&&e.deltaMode&&(1==e.deltaMode?(a*=40,n*=40):(a*=800,n*=800)),a&&!l&&(l=a<1?-1:1),n&&!t&&(t=n<1?-1:1),{spinX:l,spinY:t,pixelX:a,pixelY:n}}st.getEventType=function(){return at.firefox()?"DOMMouseScroll":rt("wheel")?"wheel":"mousewheel"};var it=st;const ut={beforeMount(e,l){!function(e,l){if(e&&e.addEventListener){const t=function(e){const t=it(e);l&&Reflect.apply(l,this,[e,t])};e.addEventListener("wheel",t,{passive:!0})}}(e,l.value)}},dt={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},border:Boolean,size:f,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},...m(["ariaControls"])},ct={[g]:e=>b(e)||y(e)||x(e),change:e=>b(e)||y(e)||x(e)},pt=Symbol("checkboxGroupContextKey"),vt=(e,{model:l,isLimitExceeded:t,hasOwnLabel:a,isDisabled:n,isLabeledByFormItem:o})=>{const r=C(pt,void 0),{formItem:s}=E(),{emit:i}=O();function u(l){var t,a,n,o;return[!0,e.trueValue,e.trueLabel].includes(l)?null==(a=null!=(t=e.trueValue)?t:e.trueLabel)||a:null!=(o=null!=(n=e.falseValue)?n:e.falseLabel)&&o}const d=w((()=>(null==r?void 0:r.validateEvent)||e.validateEvent));return N((()=>e.modelValue),(()=>{d.value&&(null==s||s.validate("change").catch((e=>L())))})),{handleChange:function(e){if(t.value)return;const l=e.target;i("change",u(l.checked),e)},onClickRoot:async function(r){if(!t.value&&!a.value&&!n.value&&o.value){r.composedPath().some((e=>"LABEL"===e.tagName))||(l.value=u([!1,e.falseValue,e.falseLabel].includes(l.value)),await R(),function(e,l){i("change",u(e),l)}(l.value,r))}}}},ht=(e,l)=>{const{formItem:t}=E(),{model:a,isGroup:n,isLimitExceeded:o}=(e=>{const l=F(!1),{emit:t}=O(),a=C(pt,void 0),n=w((()=>!1===S(a))),o=F(!1),r=w({get(){var t,o;return n.value?null==(t=null==a?void 0:a.modelValue)?void 0:t.value:null!=(o=e.modelValue)?o:l.value},set(e){var s,i;n.value&&T(e)?(o.value=void 0!==(null==(s=null==a?void 0:a.max)?void 0:s.value)&&e.length>(null==a?void 0:a.max.value)&&e.length>r.value.length,!1===o.value&&(null==(i=null==a?void 0:a.changeEvent)||i.call(a,e))):(t(g,e),l.value=e)}});return{model:r,isGroup:n,isLimitExceeded:o}})(e),{isFocused:r,isChecked:s,checkboxButtonSize:i,checkboxSize:u,hasOwnLabel:d,actualValue:c}=((e,l,{model:t})=>{const a=C(pt,void 0),n=F(!1),o=w((()=>z(e.value)?e.label:e.value)),r=w((()=>{const l=t.value;return x(l)?l:T(l)?M(o.value)?l.map(H).some((e=>al(e,o.value))):l.map(H).includes(o.value):null!=l?l===e.trueValue||l===e.trueLabel:!!l}));return{checkboxButtonSize:P(w((()=>{var e;return null==(e=null==a?void 0:a.size)?void 0:e.value})),{prop:!0}),isChecked:r,isFocused:n,checkboxSize:P(w((()=>{var e;return null==(e=null==a?void 0:a.size)?void 0:e.value}))),hasOwnLabel:w((()=>!!l.default||!z(o.value))),actualValue:o}})(e,l,{model:a}),{isDisabled:p}=(({model:e,isChecked:l})=>{const t=C(pt,void 0),a=w((()=>{var a,n;const o=null==(a=null==t?void 0:t.max)?void 0:a.value,r=null==(n=null==t?void 0:t.min)?void 0:n.value;return!S(o)&&e.value.length>=o&&!l.value||!S(r)&&e.value.length<=r&&l.value}));return{isDisabled:k(w((()=>(null==t?void 0:t.disabled.value)||a.value))),isLimitDisabled:a}})({model:a,isChecked:s}),{inputId:v,isLabeledByFormItem:h}=W(e,{formItemContext:t,disableIdGeneration:d,disableIdManagement:n}),{handleChange:f,onClickRoot:m}=vt(e,{model:a,isLimitExceeded:o,hasOwnLabel:d,isDisabled:p,isLabeledByFormItem:h});var b,y;return e.checked&&(T(a.value)&&!a.value.includes(c.value)?a.value.push(c.value):a.value=null==(y=null!=(b=e.trueValue)?b:e.trueLabel)||y),B({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},w((()=>n.value&&z(e.value)))),B({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},w((()=>!!e.trueLabel))),B({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},w((()=>!!e.falseLabel))),{inputId:v,isLabeledByFormItem:h,isChecked:s,isDisabled:p,isFocused:r,checkboxButtonSize:i,checkboxSize:u,hasOwnLabel:d,model:a,actualValue:c,handleChange:f,onClickRoot:m}},ft=$({name:"ElCheckbox"});var mt=ne($({...ft,props:dt,emits:ct,setup(e){const l=e,t=I(),{inputId:a,isLabeledByFormItem:n,isChecked:o,isDisabled:r,isFocused:s,checkboxSize:i,hasOwnLabel:u,model:d,actualValue:c,handleChange:p,onClickRoot:v}=ht(l,t),h=V("checkbox"),f=w((()=>[h.b(),h.m(i.value),h.is("disabled",r.value),h.is("bordered",l.border),h.is("checked",o.value)])),m=w((()=>[h.e("input"),h.is("disabled",r.value),h.is("checked",o.value),h.is("indeterminate",l.indeterminate),h.is("focus",s.value)]));return(e,l)=>(A(),K(ae(!q(u)&&q(n)?"span":"label"),{class:D(q(f)),"aria-controls":e.indeterminate?e.ariaControls:null,onClick:q(v)},{default:_((()=>{var l,t,n,o;return[j("span",{class:D(q(m))},[e.trueValue||e.falseValue||e.trueLabel||e.falseLabel?U((A(),Y("input",{key:0,id:q(a),"onUpdate:modelValue":e=>G(d)?d.value=e:null,class:D(q(h).e("original")),type:"checkbox",indeterminate:e.indeterminate,name:e.name,tabindex:e.tabindex,disabled:q(r),"true-value":null==(t=null!=(l=e.trueValue)?l:e.trueLabel)||t,"false-value":null!=(o=null!=(n=e.falseValue)?n:e.falseLabel)&&o,onChange:q(p),onFocus:e=>s.value=!0,onBlur:e=>s.value=!1,onClick:X((()=>{}),["stop"])},null,42,["id","onUpdate:modelValue","indeterminate","name","tabindex","disabled","true-value","false-value","onChange","onFocus","onBlur","onClick"])),[[Q,q(d)]]):U((A(),Y("input",{key:1,id:q(a),"onUpdate:modelValue":e=>G(d)?d.value=e:null,class:D(q(h).e("original")),type:"checkbox",indeterminate:e.indeterminate,disabled:q(r),value:q(c),name:e.name,tabindex:e.tabindex,onChange:q(p),onFocus:e=>s.value=!0,onBlur:e=>s.value=!1,onClick:X((()=>{}),["stop"])},null,42,["id","onUpdate:modelValue","indeterminate","disabled","value","name","tabindex","onChange","onFocus","onBlur","onClick"])),[[Q,q(d)]]),j("span",{class:D(q(h).e("inner"))},null,2)],2),q(u)?(A(),Y("span",{key:0,class:D(q(h).e("label"))},[Z(e.$slots,"default"),e.$slots.default?te("v-if",!0):(A(),Y(J,{key:0},[ee(le(e.label),1)],64))],2)):te("v-if",!0)]})),_:3},8,["class","aria-controls","onClick"]))}}),[["__file","checkbox.vue"]]);const gt=$({name:"ElCheckboxButton"});var bt=ne($({...gt,props:dt,emits:ct,setup(e){const l=e,t=I(),{isFocused:a,isChecked:n,isDisabled:o,checkboxButtonSize:r,model:s,actualValue:i,handleChange:u}=ht(l,t),d=C(pt,void 0),c=V("checkbox"),p=w((()=>{var e,l,t,a;const n=null!=(l=null==(e=null==d?void 0:d.fill)?void 0:e.value)?l:"";return{backgroundColor:n,borderColor:n,color:null!=(a=null==(t=null==d?void 0:d.textColor)?void 0:t.value)?a:"",boxShadow:n?`-1px 0 0 0 ${n}`:void 0}})),v=w((()=>[c.b("button"),c.bm("button",r.value),c.is("disabled",o.value),c.is("checked",n.value),c.is("focus",a.value)]));return(e,l)=>{var t,r,d,h;return A(),Y("label",{class:D(q(v))},[e.trueValue||e.falseValue||e.trueLabel||e.falseLabel?U((A(),Y("input",{key:0,"onUpdate:modelValue":e=>G(s)?s.value=e:null,class:D(q(c).be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:q(o),"true-value":null==(r=null!=(t=e.trueValue)?t:e.trueLabel)||r,"false-value":null!=(h=null!=(d=e.falseValue)?d:e.falseLabel)&&h,onChange:q(u),onFocus:e=>a.value=!0,onBlur:e=>a.value=!1,onClick:X((()=>{}),["stop"])},null,42,["onUpdate:modelValue","name","tabindex","disabled","true-value","false-value","onChange","onFocus","onBlur","onClick"])),[[Q,q(s)]]):U((A(),Y("input",{key:1,"onUpdate:modelValue":e=>G(s)?s.value=e:null,class:D(q(c).be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:q(o),value:q(i),onChange:q(u),onFocus:e=>a.value=!0,onBlur:e=>a.value=!1,onClick:X((()=>{}),["stop"])},null,42,["onUpdate:modelValue","name","tabindex","disabled","value","onChange","onFocus","onBlur","onClick"])),[[Q,q(s)]]),e.$slots.default||e.label?(A(),Y("span",{key:2,class:D(q(c).be("button","inner")),style:oe(q(n)?q(p):void 0)},[Z(e.$slots,"default",{},(()=>[ee(le(e.label),1)]))],6)):te("v-if",!0)],2)}}}),[["__file","checkbox-button.vue"]]);const yt=re({modelValue:{type:se(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:f,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},...m(["ariaLabel"])}),xt={[g]:e=>T(e),change:e=>T(e)},Ct=$({name:"ElCheckboxGroup"});var wt=ne($({...Ct,props:yt,emits:xt,setup(e,{emit:l}){const t=e,a=V("checkbox"),{formItem:n}=E(),{inputId:o,isLabeledByFormItem:r}=W(t,{formItemContext:n}),s=async e=>{l(g,e),await R(),l("change",e)},i=w({get:()=>t.modelValue,set(e){s(e)}});return ie(pt,{...ue(de(t),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:i,changeEvent:s}),N((()=>t.modelValue),(()=>{t.validateEvent&&(null==n||n.validate("change").catch((e=>L())))})),(e,l)=>{var t;return A(),K(ae(e.tag),{id:q(o),class:D(q(a).b("group")),role:"group","aria-label":q(r)?void 0:e.ariaLabel||"checkbox-group","aria-labelledby":q(r)?null==(t=q(n))?void 0:t.labelId:void 0},{default:_((()=>[Z(e.$slots,"default")])),_:3},8,["id","class","aria-label","aria-labelledby"])}}}),[["__file","checkbox-group.vue"]]);const St=ce(mt,{CheckboxButton:bt,CheckboxGroup:wt});pe(bt);const kt=pe(wt),Et=Symbol("elPaginationKey"),Nt=re({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:ve}}),Lt={click:e=>e instanceof MouseEvent},Rt=$({name:"ElPaginationPrev"});var Ot=ne($({...Rt,props:Nt,emits:Lt,setup(e){const l=e,{t:t}=he(),a=w((()=>l.disabled||l.currentPage<=1));return(e,l)=>(A(),Y("button",{type:"button",class:"btn-prev",disabled:q(a),"aria-label":e.prevText||q(t)("el.pagination.prev"),"aria-disabled":q(a),onClick:l=>e.$emit("click",l)},[e.prevText?(A(),Y("span",{key:0},le(e.prevText),1)):(A(),K(q(fe),{key:1},{default:_((()=>[(A(),K(ae(e.prevIcon)))])),_:1}))],8,["disabled","aria-label","aria-disabled","onClick"]))}}),[["__file","prev.vue"]]);const Ft=re({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:ve}}),Tt=$({name:"ElPaginationNext"});var zt=ne($({...Tt,props:Ft,emits:["click"],setup(e){const l=e,{t:t}=he(),a=w((()=>l.disabled||l.currentPage===l.pageCount||0===l.pageCount));return(e,l)=>(A(),Y("button",{type:"button",class:"btn-next",disabled:q(a),"aria-label":e.nextText||q(t)("el.pagination.next"),"aria-disabled":q(a),onClick:l=>e.$emit("click",l)},[e.nextText?(A(),Y("span",{key:0},le(e.nextText),1)):(A(),K(q(fe),{key:1},{default:_((()=>[(A(),K(ae(e.nextIcon)))])),_:1}))],8,["disabled","aria-label","aria-disabled","onClick"]))}}),[["__file","next.vue"]]);const Mt=()=>C(Et,{}),Ht=re({pageSize:{type:Number,required:!0},pageSizes:{type:se(Array),default:()=>me([10,20,30,40,50,100])},popperClass:{type:String},disabled:Boolean,teleported:Boolean,size:{type:String,values:ge},appendSizeTo:String}),Pt=$({name:"ElPaginationSizes"});var Wt=ne($({...Pt,props:Ht,emits:["page-size-change"],setup(e,{emit:l}){const t=e,{t:a}=he(),n=V("pagination"),o=Mt(),r=F(t.pageSize);N((()=>t.pageSizes),((e,a)=>{if(!al(e,a)&&T(e)){const a=e.includes(t.pageSize)?t.pageSize:t.pageSizes[0];l("page-size-change",a)}})),N((()=>t.pageSize),(e=>{r.value=e}));const s=w((()=>t.pageSizes));function i(e){var l;e!==r.value&&(r.value=e,null==(l=o.handleSizeChange)||l.call(o,Number(e)))}return(e,l)=>(A(),Y("span",{class:D(q(n).e("sizes"))},[be(q(tl),{"model-value":r.value,disabled:e.disabled,"popper-class":e.popperClass,size:e.size,teleported:e.teleported,"validate-event":!1,"append-to":e.appendSizeTo,onChange:i},{default:_((()=>[(A(!0),Y(J,null,ye(q(s),(e=>(A(),K(q(ll),{key:e,value:e,label:e+q(a)("el.pagination.pagesize")},null,8,["value","label"])))),128))])),_:1},8,["model-value","disabled","popper-class","size","teleported","append-to"])],2))}}),[["__file","sizes.vue"]]);const Bt=re({size:{type:String,values:ge}}),$t=$({name:"ElPaginationJumper"});var It=ne($({...$t,props:Bt,setup(e){const{t:l}=he(),t=V("pagination"),{pageCount:a,disabled:n,currentPage:o,changeEvent:r}=Mt(),s=F(),i=w((()=>{var e;return null!=(e=s.value)?e:null==o?void 0:o.value}));function u(e){s.value=e?+e:""}function d(e){e=Math.trunc(+e),null==r||r(e),s.value=void 0}return(e,o)=>(A(),Y("span",{class:D(q(t).e("jump")),disabled:q(n)},[j("span",{class:D([q(t).e("goto")])},le(q(l)("el.pagination.goto")),3),be(q(xe),{size:e.size,class:D([q(t).e("editor"),q(t).is("in-pagination")]),min:1,max:q(a),disabled:q(n),"model-value":q(i),"validate-event":!1,"aria-label":q(l)("el.pagination.page"),type:"number","onUpdate:modelValue":u,onChange:d},null,8,["size","class","max","disabled","model-value","aria-label"]),j("span",{class:D([q(t).e("classifier")])},le(q(l)("el.pagination.pageClassifier")),3)],10,["disabled"]))}}),[["__file","jumper.vue"]]);const Vt=re({total:{type:Number,default:1e3}}),At=$({name:"ElPaginationTotal"});var Kt=ne($({...At,props:Vt,setup(e){const{t:l}=he(),t=V("pagination"),{disabled:a}=Mt();return(e,n)=>(A(),Y("span",{class:D(q(t).e("total")),disabled:q(a)},le(q(l)("el.pagination.total",{total:e.total})),11,["disabled"]))}}),[["__file","total.vue"]]);const _t=re({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),jt=$({name:"ElPaginationPager"});var Dt=ne($({...jt,props:_t,emits:["change"],setup(e,{emit:l}){const t=e,a=V("pager"),n=V("icon"),{t:o}=he(),r=F(!1),s=F(!1),i=F(!1),u=F(!1),d=F(!1),c=F(!1),p=w((()=>{const e=t.pagerCount,l=(e-1)/2,a=Number(t.currentPage),n=Number(t.pageCount);let o=!1,r=!1;n>e&&(a>e-l&&(o=!0),a["more","btn-quickprev",n.b(),a.is("disabled",t.disabled)])),h=w((()=>["more","btn-quicknext",n.b(),a.is("disabled",t.disabled)])),f=w((()=>t.disabled?-1:0));function m(e=!1){t.disabled||(e?i.value=!0:u.value=!0)}function g(e=!1){e?d.value=!0:c.value=!0}function b(e){const a=e.target;if("li"===a.tagName.toLowerCase()&&Array.from(a.classList).includes("number")){const e=Number(a.textContent);e!==t.currentPage&&l("change",e)}else"li"===a.tagName.toLowerCase()&&Array.from(a.classList).includes("more")&&y(e)}function y(e){const a=e.target;if("ul"===a.tagName.toLowerCase()||t.disabled)return;let n=Number(a.textContent);const o=t.pageCount,r=t.currentPage,s=t.pagerCount-2;a.className.includes("more")&&(a.className.includes("quickprev")?n=r-s:a.className.includes("quicknext")&&(n=r+s)),Number.isNaN(+n)||(n<1&&(n=1),n>o&&(n=o)),n!==r&&l("change",n)}return Ce((()=>{const e=(t.pagerCount-1)/2;r.value=!1,s.value=!1,t.pageCount>t.pagerCount&&(t.currentPage>t.pagerCount-e&&(r.value=!0),t.currentPage(A(),Y("ul",{class:D(q(a).b()),onClick:y,onKeyup:Ee(b,["enter"])},[e.pageCount>0?(A(),Y("li",{key:0,class:D([[q(a).is("active",1===e.currentPage),q(a).is("disabled",e.disabled)],"number"]),"aria-current":1===e.currentPage,"aria-label":q(o)("el.pagination.currentPage",{pager:1}),tabindex:q(f)}," 1 ",10,["aria-current","aria-label","tabindex"])):te("v-if",!0),r.value?(A(),Y("li",{key:1,class:D(q(v)),tabindex:q(f),"aria-label":q(o)("el.pagination.prevPages",{pager:e.pagerCount-2}),onMouseenter:e=>m(!0),onMouseleave:e=>i.value=!1,onFocus:e=>g(!0),onBlur:e=>d.value=!1},[!i.value&&!d.value||e.disabled?(A(),K(q(Se),{key:1})):(A(),K(q(we),{key:0}))],42,["tabindex","aria-label","onMouseenter","onMouseleave","onFocus","onBlur"])):te("v-if",!0),(A(!0),Y(J,null,ye(q(p),(l=>(A(),Y("li",{key:l,class:D([[q(a).is("active",e.currentPage===l),q(a).is("disabled",e.disabled)],"number"]),"aria-current":e.currentPage===l,"aria-label":q(o)("el.pagination.currentPage",{pager:l}),tabindex:q(f)},le(l),11,["aria-current","aria-label","tabindex"])))),128)),s.value?(A(),Y("li",{key:2,class:D(q(h)),tabindex:q(f),"aria-label":q(o)("el.pagination.nextPages",{pager:e.pagerCount-2}),onMouseenter:e=>m(),onMouseleave:e=>u.value=!1,onFocus:e=>g(),onBlur:e=>c.value=!1},[!u.value&&!c.value||e.disabled?(A(),K(q(Se),{key:1})):(A(),K(q(ke),{key:0}))],42,["tabindex","aria-label","onMouseenter","onMouseleave","onFocus","onBlur"])):te("v-if",!0),e.pageCount>1?(A(),Y("li",{key:3,class:D([[q(a).is("active",e.currentPage===e.pageCount),q(a).is("disabled",e.disabled)],"number"]),"aria-current":e.currentPage===e.pageCount,"aria-label":q(o)("el.pagination.currentPage",{pager:e.pageCount}),tabindex:q(f)},le(e.pageCount),11,["aria-current","aria-label","tabindex"])):te("v-if",!0)],42,["onKeyup"]))}}),[["__file","pager.vue"]]);const qt=e=>"number"!=typeof e,Ut=re({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>y(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2==1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:se(Array),default:()=>me([10,20,30,40,50,100])},popperClass:{type:String,default:""},prevText:{type:String,default:""},prevIcon:{type:ve,default:()=>Ne},nextText:{type:String,default:""},nextIcon:{type:ve,default:()=>Le},teleported:{type:Boolean,default:!0},small:Boolean,size:f,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean,appendSizeTo:String}),Yt="ElPagination";const Gt=ce($({name:Yt,props:Ut,emits:{"update:current-page":e=>y(e),"update:page-size":e=>y(e),"size-change":e=>y(e),change:(e,l)=>y(e)&&y(l),"current-change":e=>y(e),"prev-click":e=>y(e),"next-click":e=>y(e)},setup(e,{emit:l,slots:t}){const{t:a}=he(),n=V("pagination"),o=O().vnode.props||{},r=Re(),s=w((()=>{var l;return e.small?"small":null!=(l=e.size)?l:r.value}));B({from:"small",replacement:"size",version:"3.0.0",scope:"el-pagination",ref:"https://element-plus.org/zh-CN/component/pagination.html"},w((()=>!!e.small)));const i="onUpdate:currentPage"in o||"onUpdate:current-page"in o||"onCurrentChange"in o,u="onUpdate:pageSize"in o||"onUpdate:page-size"in o||"onSizeChange"in o,d=w((()=>{if(qt(e.total)&&qt(e.pageCount))return!1;if(!qt(e.currentPage)&&!i)return!1;if(e.layout.includes("sizes"))if(qt(e.pageCount)){if(!qt(e.total)&&!qt(e.pageSize)&&!u)return!1}else if(!u)return!1;return!0})),c=F(qt(e.defaultPageSize)?10:e.defaultPageSize),p=F(qt(e.defaultCurrentPage)?1:e.defaultCurrentPage),v=w({get:()=>qt(e.pageSize)?c.value:e.pageSize,set(t){qt(e.pageSize)&&(c.value=t),u&&(l("update:page-size",t),l("size-change",t))}}),h=w((()=>{let l=0;return qt(e.pageCount)?qt(e.total)||(l=Math.max(1,Math.ceil(e.total/v.value))):l=e.pageCount,l})),f=w({get:()=>qt(e.currentPage)?p.value:e.currentPage,set(t){let a=t;t<1?a=1:t>h.value&&(a=h.value),qt(e.currentPage)&&(p.value=a),i&&(l("update:current-page",a),l("current-change",a))}});function m(e){f.value=e}function g(){e.disabled||(f.value-=1,l("prev-click",f.value))}function b(){e.disabled||(f.value+=1,l("next-click",f.value))}function y(e,l){e&&(e.props||(e.props={}),e.props.class=[e.props.class,l].join(" "))}return N(h,(e=>{f.value>e&&(f.value=e)})),N([f,v],(e=>{l("change",...e)}),{flush:"post"}),ie(Et,{pageCount:h,disabled:w((()=>e.disabled)),currentPage:f,changeEvent:m,handleSizeChange:function(e){v.value=e;const l=h.value;f.value>l&&(f.value=l)}}),()=>{var l,o;if(!d.value)return L(Yt,a("el.pagination.deprecationWarning")),null;if(!e.layout)return null;if(e.hideOnSinglePage&&h.value<=1)return null;const r=[],i=[],u=Oe("div",{class:n.e("rightwrapper")},i),c={prev:Oe(Ot,{disabled:e.disabled,currentPage:f.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:g}),jumper:Oe(It,{size:s.value}),pager:Oe(Dt,{currentPage:f.value,pageCount:h.value,pagerCount:e.pagerCount,onChange:m,disabled:e.disabled}),next:Oe(zt,{disabled:e.disabled,currentPage:f.value,pageCount:h.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:b}),sizes:Oe(Wt,{pageSize:v.value,pageSizes:e.pageSizes,popperClass:e.popperClass,disabled:e.disabled,teleported:e.teleported,size:s.value,appendSizeTo:e.appendSizeTo}),slot:null!=(o=null==(l=null==t?void 0:t.default)?void 0:l.call(t))?o:null,total:Oe(Kt,{total:qt(e.total)?0:e.total})},p=e.layout.split(",").map((e=>e.trim()));let x=!1;return p.forEach((e=>{"->"!==e?x?i.push(c[e]):r.push(c[e]):x=!0})),y(r[0],n.is("first")),y(r[r.length-1],n.is("last")),x&&i.length>0&&(y(i[0],n.is("first")),y(i[i.length-1],n.is("last")),r.push(u)),Oe("div",{class:[n.b(),n.is("background",e.background),n.m(s.value)]},r)}}})),Xt=function(e){var l;return null==(l=e.target)?void 0:l.closest("td")},Qt=function(e,l,t,a,n){if(!l&&!a&&(!n||T(n)&&!n.length))return e;t=b(t)?"descending"===t?-1:1:t&&t<0?-1:1;const o=a?null:function(t,a){return n?(T(n)||(n=[n]),n.map((l=>b(l)?He(t,l):l(t,a,e)))):("$key"!==l&&M(t)&&"$value"in t&&(t=t.$value),[M(t)?He(t,l):t])};return e.map(((e,l)=>({value:e,index:l,key:o?o(e,l):null}))).sort(((e,l)=>{let n=function(e,l){if(a)return a(e.value,l.value);for(let t=0,a=e.key.length;tl.key[t])return 1}return 0}(e,l);return n||(n=e.index-l.index),n*+t})).map((e=>e.value))},Zt=function(e,l){let t=null;return e.columns.forEach((e=>{e.id===l&&(t=e)})),t},Jt=function(e,l,t){const a=(l.className||"").match(new RegExp(`${t}-table_[^\\s]+`,"gm"));return a?Zt(e,a[0]):null},ea=(e,l)=>{if(!e)throw new Error("Row is required when get row identity");if(b(l)){if(!l.includes("."))return`${e[l]}`;const t=l.split(".");let a=e;for(const e of t)a=a[e];return`${a}`}if(Te(l))return l.call(null,e)},la=function(e,l){const t={};return(e||[]).forEach(((e,a)=>{t[ea(e,l)]={row:e,index:a}})),t};function ta(e){return""===e||void 0!==e&&(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function aa(e){return""===e||void 0!==e&&(e=ta(e),Number.isNaN(e)&&(e=80)),e}function na(e,l,t,a,n,o){let r=null!=o?o:0,s=!1;const i=e.indexOf(l),u=-1!==i,d=null==n?void 0:n.call(null,l,o),c=t=>{"add"===t?e.push(l):e.splice(i,1),s=!0},p=e=>{let l=0;const t=(null==a?void 0:a.children)&&e[a.children];return t&&T(t)&&(l+=t.length,t.forEach((e=>{l+=p(e)}))),l};return n&&!d||(x(t)?t&&!u?c("add"):!t&&u&&c("remove"):c(u?"remove":"add")),!(null==a?void 0:a.checkStrictly)&&(null==a?void 0:a.children)&&T(l[a.children])&&l[a.children].forEach((l=>{na(e,l,null!=t?t:!u,a,n,r+1),r+=p(l)+1})),s}function oa(e,l,t="children",a="hasChildren"){const n=e=>!(T(e)&&e.length);function o(e,r,s){l(e,r,s),r.forEach((e=>{if(e[a])return void l(e,null,s+1);const r=e[t];n(r)||o(e,r,s+1)}))}e.forEach((e=>{if(e[a])return void l(e,null,0);const r=e[t];n(r)||o(e,r,0)}))}let ra=null;function sa(e){return e.children?Ml(e.children,sa):[e]}function ia(e,l){return e+l.colSpan}const ua=(e,l,t,a)=>{let n=0,o=e;const r=t.states.columns.value;if(a){const l=sa(a[e]);n=r.slice(0,r.indexOf(l[0])).reduce(ia,0),o=n+l.reduce(ia,0)-1}else n=e;let s;switch(l){case"left":o=r.length-t.states.rightFixedLeafColumnsLength.value&&(s="right");break;default:o=r.length-t.states.rightFixedLeafColumnsLength.value&&(s="right")}return s?{direction:s,start:n,after:o}:{}},da=(e,l,t,a,n,o=0)=>{const r=[],{direction:s,start:i,after:u}=ua(l,t,a,n);if(s){const l="left"===s;r.push(`${e}-fixed-column--${s}`),l&&u+o===a.states.fixedLeafColumnsLength.value-1?r.push("is-last-column"):l||i-o!=a.states.columns.value.length-a.states.rightFixedLeafColumnsLength.value||r.push("is-first-column")}return r};function ca(e,l){return e+(null===l.realWidth||Number.isNaN(l.realWidth)?Number(l.width):l.realWidth)}const pa=(e,l,t,a)=>{const{direction:n,start:o=0,after:r=0}=ua(e,l,t,a);if(!n)return;const s={},i="left"===n,u=t.states.columns.value;return i?s.left=u.slice(0,o).reduce(ca,0):s.right=u.slice(r+1).reverse().reduce(ca,0),s},va=(e,l)=>{e&&(Number.isNaN(e[l])||(e[l]=`${e[l]}px`))};const ha=e=>{const l=[];return e.forEach((e=>{e.children&&e.children.length>0?l.push.apply(l,ha(e.children)):l.push(e)})),l};function fa(){var e;const l=O(),{size:t}=de(null==(e=l.proxy)?void 0:e.$props),a=F(null),n=F([]),o=F([]),r=F(!1),s=F([]),i=F([]),u=F([]),d=F([]),c=F([]),p=F([]),v=F([]),h=F([]),f=F(0),m=F(0),g=F(0),y=F(!1),x=F([]),C=F(!1),k=F(!1),E=F(null),L=F({}),R=F(null),z=F(null),M=F(null),H=F(null),P=F(null);N(n,(()=>l.state&&I(!1)),{deep:!0});const W=e=>{var l;null==(l=e.children)||l.forEach((l=>{l.fixed=e.fixed,W(l)}))};let B;const $=()=>{if(s.value.forEach((e=>{W(e)})),d.value=s.value.filter((e=>!0===e.fixed||"left"===e.fixed)),c.value=s.value.filter((e=>"right"===e.fixed)),S(B)&&s.value[0]&&"selection"===s.value[0].type&&(B=Boolean(s.value[0].fixed)),d.value.length>0&&s.value[0]&&"selection"===s.value[0].type)if(s.value[0].fixed){d.value.some((e=>"selection"!==e.type))?B=void 0:(s.value[0].fixed=B,B||d.value.shift())}else s.value[0].fixed=!0,d.value.unshift(s.value[0]);const e=s.value.filter((e=>!e.fixed));i.value=[].concat(d.value).concat(e).concat(c.value);const l=ha(e),t=ha(d.value),a=ha(c.value);f.value=l.length,m.value=t.length,g.value=a.length,u.value=[].concat(t).concat(l).concat(a),r.value=d.value.length>0||c.value.length>0},I=(e,t=!1)=>{e&&$(),t?l.state.doLayout():l.state.debouncedUpdateLayout()},V=e=>{var t;if(!l||!l.store)return 0;const{treeData:a}=l.store.states;let n=0;const o=null==(t=a.value[e])?void 0:t.children;return o&&(n+=o.length,o.forEach((e=>{n+=V(e)}))),n},A=(e,l,t)=>{z.value&&z.value!==e&&(z.value.order=null),z.value=e,M.value=l,H.value=t},K=()=>{let e=q(o);Object.keys(L.value).forEach((l=>{const t=L.value[l];if(!t||0===t.length)return;const a=Zt({columns:u.value},l);a&&a.filterMethod&&(e=e.filter((e=>t.some((l=>a.filterMethod.call(null,l,e,a))))))})),R.value=e},_=()=>{n.value=((e,l)=>{const t=l.sortingColumn;return!t||b(t.sortable)?e:Qt(e,l.sortProp,l.sortOrder,t.sortMethod,t.sortBy)})(R.value,{sortingColumn:z.value,sortProp:M.value,sortOrder:H.value})},{setExpandRowKeys:j,toggleRowExpansion:D,updateExpandRows:U,states:Y,isRowExpanded:G}=function(e){const l=O(),t=F(!1),a=F([]);return{updateExpandRows:()=>{const l=e.data.value||[],n=e.rowKey.value;if(t.value)a.value=l.slice();else if(n){const e=la(a.value,n);a.value=l.reduce(((l,t)=>{const a=ea(t,n);return e[a]&&l.push(t),l}),[])}else a.value=[]},toggleRowExpansion:(e,t)=>{na(a.value,e,t)&&l.emit("expand-change",e,a.value.slice())},setExpandRowKeys:t=>{l.store.assertRowKey();const n=e.data.value||[],o=e.rowKey.value,r=la(n,o);a.value=t.reduce(((e,l)=>{const t=r[l];return t&&e.push(t.row),e}),[])},isRowExpanded:l=>{const t=e.rowKey.value;return t?!!la(a.value,t)[ea(l,t)]:a.value.includes(l)},states:{expandRows:a,defaultExpandAll:t}}}({data:n,rowKey:a}),{updateTreeExpandKeys:X,toggleTreeExpansion:Q,updateTreeData:Z,updateKeyChildren:J,loadOrToggle:ee,states:le}=function(e){const l=F([]),t=F({}),a=F(16),n=F(!1),o=F({}),r=F("hasChildren"),s=F("children"),i=F(!1),u=O(),d=w((()=>{if(!e.rowKey.value)return{};const l=e.data.value||[];return p(l)})),c=w((()=>{const l=e.rowKey.value,t=Object.keys(o.value),a={};return t.length?(t.forEach((e=>{if(o.value[e].length){const t={children:[]};o.value[e].forEach((e=>{const n=ea(e,l);t.children.push(n),e[r.value]&&!a[n]&&(a[n]={children:[]})})),a[e]=t}})),a):a})),p=l=>{const t=e.rowKey.value,a={};return oa(l,((e,l,o)=>{const r=ea(e,t);T(l)?a[r]={children:l.map((e=>ea(e,t))),level:o}:n.value&&(a[r]={children:[],lazy:!0,level:o})}),s.value,r.value),a},v=(e=!1,a=(e=>null==(e=u.store)?void 0:e.states.defaultExpandAll.value)())=>{var o;const r=d.value,s=c.value,i=Object.keys(r),p={};if(i.length){const o=q(t),u=[],d=(t,n)=>{if(e)return l.value?a||l.value.includes(n):!(!a&&!(null==t?void 0:t.expanded));{const e=a||l.value&&l.value.includes(n);return!(!(null==t?void 0:t.expanded)&&!e)}};i.forEach((e=>{const l=o[e],t={...r[e]};if(t.expanded=d(l,e),t.lazy){const{loaded:a=!1,loading:n=!1}=l||{};t.loaded=!!a,t.loading=!!n,u.push(e)}p[e]=t}));const c=Object.keys(s);n.value&&c.length&&u.length&&c.forEach((e=>{const l=o[e],t=s[e].children;if(u.includes(e)){if(0!==p[e].children.length)throw new Error("[ElTable]children must be an empty array.");p[e].children=t}else{const{loaded:a=!1,loading:n=!1}=l||{};p[e]={lazy:!0,loaded:!!a,loading:!!n,expanded:d(l,e),children:t,level:""}}}))}t.value=p,null==(o=u.store)||o.updateTableScrollY()};N((()=>l.value),(()=>{v(!0)})),N((()=>d.value),(()=>{v()})),N((()=>c.value),(()=>{v()}));const h=(l,a)=>{u.store.assertRowKey();const n=e.rowKey.value,o=ea(l,n),r=o&&t.value[o];if(o&&r&&"expanded"in r){const e=r.expanded;a=S(a)?!r.expanded:a,t.value[o].expanded=a,e!==a&&u.emit("expand-change",l,a),u.store.updateTableScrollY()}},f=(e,l,a)=>{const{load:n}=u.props;n&&!t.value[l].loaded&&(t.value[l].loading=!0,n(e,a,(a=>{if(!T(a))throw new TypeError("[ElTable] data must be an array");t.value[l].loading=!1,t.value[l].loaded=!0,t.value[l].expanded=!0,a.length&&(o.value[l]=a),u.emit("expand-change",e,!0)})))};return{loadData:f,loadOrToggle:l=>{u.store.assertRowKey();const a=e.rowKey.value,o=ea(l,a),r=t.value[o];n.value&&r&&"loaded"in r&&!r.loaded?f(l,o,r):h(l,void 0)},toggleTreeExpansion:h,updateTreeExpandKeys:e=>{l.value=e,v()},updateTreeData:v,updateKeyChildren:(e,l)=>{const{lazy:t,rowKey:a}=u.props;if(t){if(!a)throw new Error("[Table] rowKey is required in updateKeyChild");o.value[e]&&(o.value[e]=l)}},normalize:p,states:{expandRowKeys:l,treeData:t,indent:a,lazy:n,lazyTreeNodeMap:o,lazyColumnIdentifier:r,childrenColumnName:s,checkStrictly:i}}}({data:n,rowKey:a}),{updateCurrentRowData:te,updateCurrentRow:ae,setCurrentRowKey:ne,states:oe}=function(e){const l=O(),t=F(null),a=F(null),n=()=>{t.value=null},o=t=>{const{data:n,rowKey:o}=e;let r=null;o.value&&(r=(q(n)||[]).find((e=>ea(e,o.value)===t))),a.value=r,l.emit("current-change",a.value,null)};return{setCurrentRowKey:e=>{l.store.assertRowKey(),t.value=e,o(e)},restoreCurrentRowKey:n,setCurrentRowByKey:o,updateCurrentRow:e=>{const t=a.value;if(e&&e!==t)return a.value=e,void l.emit("current-change",a.value,t);!e&&t&&(a.value=null,l.emit("current-change",null,t))},updateCurrentRowData:()=>{const r=e.rowKey.value,s=e.data.value||[],i=a.value;if(!s.includes(i)&&i){if(r){const e=ea(i,r);o(e)}else a.value=null;null===a.value&&l.emit("current-change",null,i)}else t.value&&(o(t.value),n())},states:{_currentRowKey:t,currentRow:a}}}({data:n,rowKey:a});return{assertRowKey:()=>{if(!a.value)throw new Error("[ElTable] prop row-key is required")},updateColumns:$,scheduleLayout:I,isSelected:e=>x.value.some((l=>al(l,e))),clearSelection:()=>{y.value=!1;const e=x.value;x.value=[],e.length&&l.emit("selection-change",[])},cleanSelection:()=>{let e;if(a.value){e=[];const l=la(x.value,a.value),t=la(n.value,a.value);for(const a in l)Fe(l,a)&&!t[a]&&e.push(l[a].row)}else e=x.value.filter((e=>!n.value.includes(e)));if(e.length){const t=x.value.filter((l=>!e.includes(l)));x.value=t,l.emit("selection-change",t.slice())}},getSelectionRows:()=>(x.value||[]).slice(),toggleRowSelection:(e,t,a=!0,n=!1)=>{var o,r,s,i;const u={children:null==(r=null==(o=null==l?void 0:l.store)?void 0:o.states)?void 0:r.childrenColumnName.value,checkStrictly:null==(i=null==(s=null==l?void 0:l.store)?void 0:s.states)?void 0:i.checkStrictly.value};if(na(x.value,e,t,u,n?void 0:E.value)){const t=(x.value||[]).slice();a&&l.emit("select",t,e),l.emit("selection-change",t)}},_toggleAllSelection:()=>{var e,t;const a=k.value?!y.value:!(y.value||x.value.length);y.value=a;let o=!1,r=0;const s=null==(t=null==(e=null==l?void 0:l.store)?void 0:e.states)?void 0:t.rowKey.value,{childrenColumnName:i}=l.store.states,u={children:i.value,checkStrictly:!1};n.value.forEach(((e,l)=>{const t=l+r;na(x.value,e,a,u,E.value,t)&&(o=!0),r+=V(ea(e,s))})),o&&l.emit("selection-change",x.value?x.value.slice():[]),l.emit("select-all",(x.value||[]).slice())},toggleAllSelection:null,updateSelectionByRowKey:()=>{const e=la(x.value,a.value);n.value.forEach((l=>{const t=ea(l,a.value),n=e[t];n&&(x.value[n.index]=l)}))},updateAllSelected:()=>{var e;if(0===(null==(e=n.value)?void 0:e.length))return void(y.value=!1);const{childrenColumnName:t}=l.store.states,o=a.value?la(x.value,a.value):void 0;let r=0,s=0;const i=e=>o?!!o[ea(e,a.value)]:x.value.includes(e),u=e=>{var l;for(const a of e){const e=E.value&&E.value.call(null,a,r);if(i(a))s++;else if(!E.value||e)return!1;if(r++,(null==(l=a[t.value])?void 0:l.length)&&!u(a[t.value]))return!1}return!0},d=u(n.value||[]);y.value=0!==s&&d},updateFilters:(e,l)=>{T(e)||(e=[e]);const t={};return e.forEach((e=>{L.value[e.id]=l,t[e.columnKey||e.id]=l})),t},updateCurrentRow:ae,updateSort:A,execFilter:K,execSort:_,execQuery:(e=void 0)=>{e&&e.filter||K(),_()},clearFilter:e=>{const{tableHeaderRef:t}=l.refs;if(!t)return;const a=Object.assign({},t.filterPanels),n=Object.keys(a);if(n.length)if(b(e)&&(e=[e]),T(e)){const t=e.map((e=>function(e,l){let t=null;for(let a=0;a{const l=t.find((l=>l.id===e));l&&(l.filteredValue=[])})),l.store.commit("filterChange",{column:t,values:[],silent:!0,multi:!0})}else n.forEach((e=>{const l=u.value.find((l=>l.id===e));l&&(l.filteredValue=[])})),L.value={},l.store.commit("filterChange",{column:{},values:[],silent:!0})},clearSort:()=>{z.value&&(A(null,null,null),l.store.commit("changeSortCondition",{silent:!0}))},toggleRowExpansion:D,setExpandRowKeysAdapter:e=>{j(e),X(e)},setCurrentRowKey:ne,toggleRowExpansionAdapter:(e,l)=>{u.value.some((({type:e})=>"expand"===e))?D(e,l):Q(e,l)},isRowExpanded:G,updateExpandRows:U,updateCurrentRowData:te,loadOrToggle:ee,updateTreeData:Z,updateKeyChildren:J,states:{tableSize:t,rowKey:a,data:n,_data:o,isComplex:r,_columns:s,originColumns:i,columns:u,fixedColumns:d,rightFixedColumns:c,leafColumns:p,fixedLeafColumns:v,rightFixedLeafColumns:h,updateOrderFns:[],leafColumnsLength:f,fixedLeafColumnsLength:m,rightFixedLeafColumnsLength:g,isAllSelected:y,selection:x,reserveSelection:C,selectOnIndeterminate:k,selectable:E,filters:L,filteredData:R,sortingColumn:z,sortProp:M,sortOrder:H,hoverRow:P,...Y,...le,...oe}}}function ma(e,l){return e.map((e=>{var t;return e.id===l.id?l:((null==(t=e.children)?void 0:t.length)&&(e.children=ma(e.children,l)),e)}))}function ga(e){e.forEach((e=>{var l,t;e.no=null==(l=e.getColumnIndex)?void 0:l.call(e),(null==(t=e.children)?void 0:t.length)&&ga(e.children)})),e.sort(((e,l)=>e.no-l.no))}const ba={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy",data:"data","treeProps.hasChildren":{key:"lazyColumnIdentifier",default:"hasChildren"},"treeProps.children":{key:"childrenColumnName",default:"children"},"treeProps.checkStrictly":{key:"checkStrictly",default:!1}};function ya(e,l){if(!e)throw new Error("Table is required.");const t=function(){const e=O(),l=fa();return{ns:V("table"),...l,mutations:{setData(l,t){const a=q(l._data)!==t;l.data.value=t,l._data.value=t,e.store.execQuery(),e.store.updateCurrentRowData(),e.store.updateExpandRows(),e.store.updateTreeData(e.store.states.defaultExpandAll.value),q(l.reserveSelection)?(e.store.assertRowKey(),e.store.updateSelectionByRowKey()):a?e.store.clearSelection():e.store.cleanSelection(),e.store.updateAllSelected(),e.$ready&&e.store.scheduleLayout()},insertColumn(l,t,a,n){const o=q(l._columns);let r=[];a?(a&&!a.children&&(a.children=[]),a.children.push(t),r=ma(o,a)):(o.push(t),r=o),ga(r),l._columns.value=r,l.updateOrderFns.push(n),"selection"===t.type&&(l.selectable.value=t.selectable,l.reserveSelection.value=t.reserveSelection),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},updateColumnOrder(l,t){var a;(null==(a=t.getColumnIndex)?void 0:a.call(t))!==t.no&&(ga(l._columns.value),e.$ready&&e.store.updateColumns())},removeColumn(l,t,a,n){const o=q(l._columns)||[];if(a)a.children.splice(a.children.findIndex((e=>e.id===t.id)),1),R((()=>{var e;0===(null==(e=a.children)?void 0:e.length)&&delete a.children})),l._columns.value=ma(o,a);else{const e=o.indexOf(t);e>-1&&(o.splice(e,1),l._columns.value=o)}const r=l.updateOrderFns.indexOf(n);r>-1&&l.updateOrderFns.splice(r,1),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},sort(l,t){const{prop:a,order:n,init:o}=t;if(a){const t=q(l.columns).find((e=>e.property===a));t&&(t.order=n,e.store.updateSort(t,a,n),e.store.commit("changeSortCondition",{init:o}))}},changeSortCondition(l,t){const{sortingColumn:a,sortProp:n,sortOrder:o}=l,r=q(a),s=q(n),i=q(o);null===i&&(l.sortingColumn.value=null,l.sortProp.value=null),e.store.execQuery({filter:!0}),t&&(t.silent||t.init)||e.emit("sort-change",{column:r,prop:s,order:i}),e.store.updateTableScrollY()},filterChange(l,t){const{column:a,values:n,silent:o}=t,r=e.store.updateFilters(a,n);e.store.execQuery(),o||e.emit("filter-change",r),e.store.updateTableScrollY()},toggleAllSelection(){e.store.toggleAllSelection()},rowSelectedChanged(l,t){e.store.toggleRowSelection(t),e.store.updateAllSelected()},setHoverRow(e,l){e.hoverRow.value=l},setCurrentRow(l,t){e.store.updateCurrentRow(t)}},commit:function(l,...t){const a=e.store.mutations;if(!a[l])throw new Error(`Action not found: ${l}`);a[l].apply(e,[e.store.states].concat(t))},updateTableScrollY:function(){R((()=>e.layout.updateScrollY.apply(e.layout)))}}}();return t.toggleAllSelection=bl(t._toggleAllSelection,10),Object.keys(ba).forEach((e=>{xa(Ca(l,e),e,t)})),function(e,l){Object.keys(ba).forEach((t=>{N((()=>Ca(l,t)),(l=>{xa(l,t,e)}))}))}(t,l),t}function xa(e,l,t){let a=e,n=ba[l];"object"==typeof ba[l]&&(n=n.key,a=a||ba[l].default),t.states[n].value=a}function Ca(e,l){if(l.includes(".")){const t=l.split(".");let a=e;return t.forEach((e=>{a=a[e]})),a}return e[l]}class wa{constructor(e){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=F(null),this.scrollX=F(!1),this.scrollY=F(!1),this.bodyWidth=F(null),this.fixedWidth=F(null),this.rightFixedWidth=F(null),this.gutterWidth=0;for(const l in e)Fe(e,l)&&(G(this[l])?this[l].value=e[l]:this[l]=e[l]);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(null===this.height.value)return!1;const e=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(null==e?void 0:e.wrapRef)){let l=!0;const t=this.scrollY.value;return l=e.wrapRef.scrollHeight>e.wrapRef.clientHeight,this.scrollY.value=l,t!==l}return!1}setHeight(e,l="height"){if(!h)return;const t=this.table.vnode.el;var a;if(e=y(a=e)?a:b(a)?/^\d+(?:px)?$/.test(a)?Number.parseInt(a,10):a:null,this.height.value=Number(e),!t&&(e||0===e))return R((()=>this.setHeight(e,l)));y(e)?(t.style[l]=`${e}px`,this.updateElsHeight()):b(e)&&(t.style[l]=e,this.updateElsHeight())}setMaxHeight(e){this.setHeight(e,"max-height")}getFlattenColumns(){const e=[];return this.table.store.states.columns.value.forEach((l=>{l.isColumnGroup?e.push.apply(e,l.columns):e.push(l)})),e}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(e){if(!e)return!0;let l=e;for(;"DIV"!==l.tagName;){if("none"===getComputedStyle(l).display)return!0;l=l.parentElement}return!1}updateColumnsWidth(){if(!h)return;const e=this.fit,l=this.table.vnode.el.clientWidth;let t=0;const a=this.getFlattenColumns(),n=a.filter((e=>!y(e.width)));if(a.forEach((e=>{y(e.width)&&e.realWidth&&(e.realWidth=null)})),n.length>0&&e){if(a.forEach((e=>{t+=Number(e.width||e.minWidth||80)})),t<=l){this.scrollX.value=!1;const e=l-t;if(1===n.length)n[0].realWidth=Number(n[0].minWidth||80)+e;else{const l=e/n.reduce(((e,l)=>e+Number(l.minWidth||80)),0);let t=0;n.forEach(((e,a)=>{if(0===a)return;const n=Math.floor(Number(e.minWidth||80)*l);t+=n,e.realWidth=Number(e.minWidth||80)+n})),n[0].realWidth=Number(n[0].minWidth||80)+e-t}}else this.scrollX.value=!0,n.forEach((e=>{e.realWidth=Number(e.minWidth)}));this.bodyWidth.value=Math.max(t,l),this.table.state.resizeState.value.width=this.bodyWidth.value}else a.forEach((e=>{e.width||e.minWidth?e.realWidth=Number(e.width||e.minWidth):e.realWidth=80,t+=e.realWidth})),this.scrollX.value=t>l,this.bodyWidth.value=t;const o=this.store.states.fixedColumns.value;if(o.length>0){let e=0;o.forEach((l=>{e+=Number(l.realWidth||l.width)})),this.fixedWidth.value=e}const r=this.store.states.rightFixedColumns.value;if(r.length>0){let e=0;r.forEach((l=>{e+=Number(l.realWidth||l.width)})),this.rightFixedWidth.value=e}this.notifyObservers("columns")}addObserver(e){this.observers.push(e)}removeObserver(e){const l=this.observers.indexOf(e);-1!==l&&this.observers.splice(l,1)}notifyObservers(e){this.observers.forEach((l=>{var t,a;switch(e){case"columns":null==(t=l.state)||t.onColumnsChange(this);break;case"scrollable":null==(a=l.state)||a.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${e}.`)}}))}}const{CheckboxGroup:Sa}=St;var ka=ne($({name:"ElTableFilterPanel",components:{ElCheckbox:St,ElCheckboxGroup:Sa,ElScrollbar:nl,ElTooltip:ol,ElIcon:fe,ArrowDown:Pe,ArrowUp:We},directives:{ClickOutside:yl},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function},appendTo:{type:String}},setup(e){const l=O(),{t:t}=he(),a=V("table-filter"),n=null==l?void 0:l.parent;n.filterPanels.value[e.column.id]||(n.filterPanels.value[e.column.id]=l);const o=F(!1),r=F(null),s=w((()=>e.column&&e.column.filters)),i=w((()=>e.column.filterClassName?`${a.b()} ${e.column.filterClassName}`:a.b())),u=w({get:()=>{var l;return((null==(l=e.column)?void 0:l.filteredValue)||[])[0]},set:e=>{d.value&&(null!=e?d.value.splice(0,1,e):d.value.splice(0,1))}}),d=w({get:()=>e.column&&e.column.filteredValue||[],set(l){e.column&&e.upDataColumn("filteredValue",l)}}),c=w((()=>!e.column||e.column.filterMultiple)),p=()=>{o.value=!1},v=l=>{e.store.commit("filterChange",{column:e.column,values:l}),e.store.updateAllSelected()};N(o,(l=>{e.column&&e.upDataColumn("filterOpened",l)}),{immediate:!0});const h=w((()=>{var e,l;return null==(l=null==(e=r.value)?void 0:e.popperRef)?void 0:l.contentRef}));return{tooltipVisible:o,multiple:c,filterClassName:i,filteredValue:d,filterValue:u,filters:s,handleConfirm:()=>{v(d.value),p()},handleReset:()=>{d.value=[],v(d.value),p()},handleSelect:e=>{u.value=e,v(null!=e?d.value:[]),p()},isActive:e=>e.value===u.value,t:t,ns:a,showFilterPanel:e=>{e.stopPropagation(),o.value=!o.value},hideFilterPanel:()=>{o.value=!1},popperPaneRef:h,tooltip:r}}}),[["render",function(e,l,t,a,n,o){const r=Be("el-checkbox"),s=Be("el-checkbox-group"),i=Be("el-scrollbar"),u=Be("arrow-up"),d=Be("arrow-down"),c=Be("el-icon"),p=Be("el-tooltip"),v=$e("click-outside");return A(),K(p,{ref:"tooltip",visible:e.tooltipVisible,offset:0,placement:e.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,teleported:"",effect:"light",pure:"","popper-class":e.filterClassName,persistent:"","append-to":e.appendTo},{content:_((()=>[e.multiple?(A(),Y("div",{key:0},[j("div",{class:D(e.ns.e("content"))},[be(i,{"wrap-class":e.ns.e("wrap")},{default:_((()=>[be(s,{modelValue:e.filteredValue,"onUpdate:modelValue":l=>e.filteredValue=l,class:D(e.ns.e("checkbox-group"))},{default:_((()=>[(A(!0),Y(J,null,ye(e.filters,(e=>(A(),K(r,{key:e.value,value:e.value},{default:_((()=>[ee(le(e.text),1)])),_:2},1032,["value"])))),128))])),_:1},8,["modelValue","onUpdate:modelValue","class"])])),_:1},8,["wrap-class"])],2),j("div",{class:D(e.ns.e("bottom"))},[j("button",{class:D({[e.ns.is("disabled")]:0===e.filteredValue.length}),disabled:0===e.filteredValue.length,type:"button",onClick:e.handleConfirm},le(e.t("el.table.confirmFilter")),11,["disabled","onClick"]),j("button",{type:"button",onClick:e.handleReset},le(e.t("el.table.resetFilter")),9,["onClick"])],2)])):(A(),Y("ul",{key:1,class:D(e.ns.e("list"))},[j("li",{class:D([e.ns.e("list-item"),{[e.ns.is("active")]:void 0===e.filterValue||null===e.filterValue}]),onClick:l=>e.handleSelect(null)},le(e.t("el.table.clearFilter")),11,["onClick"]),(A(!0),Y(J,null,ye(e.filters,(l=>(A(),Y("li",{key:l.value,class:D([e.ns.e("list-item"),e.ns.is("active",e.isActive(l))]),label:l.value,onClick:t=>e.handleSelect(l.value)},le(l.text),11,["label","onClick"])))),128))],2))])),default:_((()=>[U((A(),Y("span",{class:D([`${e.ns.namespace.value}-table__column-filter-trigger`,`${e.ns.namespace.value}-none-outline`]),onClick:e.showFilterPanel},[be(c,null,{default:_((()=>[Z(e.$slots,"filter-icon",{},(()=>[e.column.filterOpened?(A(),K(u,{key:0})):(A(),K(d,{key:1}))]))])),_:3})],10,["onClick"])),[[v,e.hideFilterPanel,e.popperPaneRef]])])),_:3},8,["visible","placement","popper-class","append-to"])}],["__file","filter-panel.vue"]]);function Ea(e){const l=O();Ie((()=>{t.value.addObserver(l)})),Ve((()=>{a(t.value),n(t.value)})),Ae((()=>{a(t.value),n(t.value)})),Ke((()=>{t.value.removeObserver(l)}));const t=w((()=>{const l=e.layout;if(!l)throw new Error("Can not find table layout.");return l})),a=l=>{var t;const a=(null==(t=e.vnode.el)?void 0:t.querySelectorAll("colgroup > col"))||[];if(!a.length)return;const n=l.getFlattenColumns(),o={};n.forEach((e=>{o[e.id]=e}));for(let e=0,r=a.length;e{var t,a;const n=(null==(t=e.vnode.el)?void 0:t.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let e=0,r=n.length;e{const l=[];return e.forEach((e=>{e.children?(l.push(e),l.push.apply(l,La(e.children))):l.push(e)})),l},Ra=e=>{let l=1;const t=(e,a)=>{if(a&&(e.level=a.level+1,l{t(a,e),l+=a.colSpan})),e.colSpan=l}else e.colSpan=1};e.forEach((e=>{e.level=1,t(e,void 0)}));const a=[];for(let n=0;n{e.children?(e.rowSpan=1,e.children.forEach((e=>e.isSubColumn=!0))):e.rowSpan=l-e.level+1,a[e.level-1].push(e)})),a};var Oa=$({name:"ElTableHeader",components:{ElCheckbox:St},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})},appendFilterPanelTo:{type:String}},setup(e,{emit:l}){const t=O(),a=C(Na),n=V("table"),o=F({}),{onColumnsChange:r,onScrollableChange:s}=Ea(a);Ve((async()=>{await R(),await R();const{prop:l,order:t}=e.defaultSort;null==a||a.store.commit("sort",{prop:l,order:t,init:!0})}));const{handleHeaderClick:i,handleHeaderContextMenu:u,handleMouseDown:d,handleMouseMove:c,handleMouseOut:p,handleSortClick:v,handleFilterClick:f}=function(e,l){const t=O(),a=C(Na),n=e=>{e.stopPropagation()},o=F(null),r=F(!1),s=F({}),i=(l,t,n)=>{var o;l.stopPropagation();const r=t.order===n?null:n||(({order:e,sortOrders:l})=>{if(""===e)return l[0];const t=l.indexOf(e||null);return l[t>l.length-2?0:t+1]})(t),s=null==(o=l.target)?void 0:o.closest("th");if(s&&De(s,"noclick"))return void qe(s,"noclick");if(!t.sortable)return;const i=l.currentTarget;if(["ascending","descending"].some((e=>De(i,e)&&!t.sortOrders.includes(e))))return;const u=e.store.states;let d,c=u.sortProp.value;const p=u.sortingColumn.value;(p!==t||p===t&&null===p.order)&&(p&&(p.order=null),u.sortingColumn.value=t,c=t.property),d=t.order=r||null,u.sortProp.value=c,u.sortOrder.value=d,null==a||a.store.commit("changeSortCondition")};return{handleHeaderClick:(e,l)=>{!l.filters&&l.sortable?i(e,l,!1):l.filterable&&!l.sortable&&n(e),null==a||a.emit("header-click",l,e)},handleHeaderContextMenu:(e,l)=>{null==a||a.emit("header-contextmenu",l,e)},handleMouseDown:(n,i)=>{if(h&&!(i.children&&i.children.length>0)&&o.value&&e.border){r.value=!0;const u=a;l("set-drag-visible",!0);const d=(null==u?void 0:u.vnode.el).getBoundingClientRect().left,c=t.vnode.el.querySelector(`th.${i.id}`),p=c.getBoundingClientRect(),v=p.left-d+30;_e(c,"noclick"),s.value={startMouseLeft:n.clientX,startLeft:p.right-d,startColumnLeft:p.left-d,tableLeft:d};const h=null==u?void 0:u.refs.resizeProxy;h.style.left=`${s.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const f=e=>{const l=e.clientX-s.value.startMouseLeft,t=s.value.startLeft+l;h.style.left=`${Math.max(v,t)}px`},m=()=>{if(r.value){const{startColumnLeft:t,startLeft:a}=s.value,d=Number.parseInt(h.style.left,10)-t;i.width=i.realWidth=d,null==u||u.emit("header-dragend",i.width,a-t,i,n),requestAnimationFrame((()=>{e.store.scheduleLayout(!1,!0)})),document.body.style.cursor="",r.value=!1,o.value=null,s.value={},l("set-drag-visible",!1)}document.removeEventListener("mousemove",f),document.removeEventListener("mouseup",m),document.onselectstart=null,document.ondragstart=null,setTimeout((()=>{qe(c,"noclick")}),0)};document.addEventListener("mousemove",f),document.addEventListener("mouseup",m)}},handleMouseMove:(l,t)=>{var a;if(t.children&&t.children.length>0)return;const n=l.target;if(!je(n))return;const s=null==n?void 0:n.closest("th");if(t&&t.resizable&&s&&!r.value&&e.border){const e=s.getBoundingClientRect(),n=document.body.style,i=(null==(a=s.parentNode)?void 0:a.lastElementChild)===s;e.width>12&&e.right-l.pageX<8&&!i?(n.cursor="col-resize",De(s,"is-sortable")&&(s.style.cursor="col-resize"),o.value=t):r.value||(n.cursor="",De(s,"is-sortable")&&(s.style.cursor="pointer"),o.value=null)}},handleMouseOut:()=>{h&&(document.body.style.cursor="")},handleSortClick:i,handleFilterClick:n}}(e,l),{getHeaderRowStyle:m,getHeaderRowClass:g,getHeaderCellStyle:y,getHeaderCellClass:x}=function(e){const l=C(Na),t=V("table");return{getHeaderRowStyle:e=>{const t=null==l?void 0:l.props.headerRowStyle;return Te(t)?t.call(null,{rowIndex:e}):t},getHeaderRowClass:e=>{const t=[],a=null==l?void 0:l.props.headerRowClassName;return b(a)?t.push(a):Te(a)&&t.push(a.call(null,{rowIndex:e})),t.join(" ")},getHeaderCellStyle:(t,a,n,o)=>{var r;let s=null!=(r=null==l?void 0:l.props.headerCellStyle)?r:{};Te(s)&&(s=s.call(null,{rowIndex:t,columnIndex:a,row:n,column:o}));const i=pa(a,o.fixed,e.store,n);return va(i,"left"),va(i,"right"),Object.assign({},s,i)},getHeaderCellClass:(a,n,o,r)=>{const s=da(t.b(),n,r.fixed,e.store,o),i=[r.id,r.order,r.headerAlign,r.className,r.labelClassName,...s];r.children||i.push("is-leaf"),r.sortable&&i.push("is-sortable");const u=null==l?void 0:l.props.headerCellClassName;return b(u)?i.push(u):Te(u)&&i.push(u.call(null,{rowIndex:a,columnIndex:n,row:o,column:r})),i.push(t.e("cell")),i.filter((e=>Boolean(e))).join(" ")}}}(e),{isGroup:S,toggleAllSelection:k,columnRows:E}=function(e){const l=C(Na),t=w((()=>Ra(e.store.states.originColumns.value)));return{isGroup:w((()=>{const e=t.value.length>1;return e&&l&&(l.state.isGroup.value=!0),e})),toggleAllSelection:e=>{e.stopPropagation(),null==l||l.store.commit("toggleAllSelection")},columnRows:t}}(e);return t.state={onColumnsChange:r,onScrollableChange:s},t.filterPanels=o,{ns:n,filterPanels:o,onColumnsChange:r,onScrollableChange:s,columnRows:E,getHeaderRowClass:g,getHeaderRowStyle:m,getHeaderCellClass:x,getHeaderCellStyle:y,handleHeaderClick:i,handleHeaderContextMenu:u,handleMouseDown:d,handleMouseMove:c,handleMouseOut:p,handleSortClick:v,handleFilterClick:f,isGroup:S,toggleAllSelection:k}},render(){const{ns:e,isGroup:l,columnRows:t,getHeaderCellStyle:a,getHeaderCellClass:n,getHeaderRowClass:o,getHeaderRowStyle:r,handleHeaderClick:s,handleHeaderContextMenu:i,handleMouseDown:u,handleMouseMove:d,handleSortClick:c,handleMouseOut:p,store:v,$parent:h}=this;let f=1;return Oe("thead",{class:{[e.is("group")]:l}},t.map(((e,l)=>Oe("tr",{class:o(l),key:l,style:r(l)},e.map(((t,o)=>(t.rowSpan>f&&(f=t.rowSpan),Oe("th",{class:n(l,o,e,t),colspan:t.colSpan,key:`${t.id}-thead`,rowspan:t.rowSpan,style:a(l,o,e,t),onClick:e=>{e.currentTarget.classList.contains("noclick")||s(e,t)},onContextmenu:e=>i(e,t),onMousedown:e=>u(e,t),onMousemove:e=>d(e,t),onMouseout:p},[Oe("div",{class:["cell",t.filteredValue&&t.filteredValue.length>0?"highlight":""]},[t.renderHeader?t.renderHeader({column:t,$index:o,store:v,_self:h}):t.label,t.sortable&&Oe("span",{onClick:e=>c(e,t),class:"caret-wrapper"},[Oe("i",{onClick:e=>c(e,t,"ascending"),class:"sort-caret ascending"}),Oe("i",{onClick:e=>c(e,t,"descending"),class:"sort-caret descending"})]),t.filterable&&Oe(ka,{store:v,placement:t.filterPlacement||"bottom-start",appendTo:h.appendFilterPanelTo,column:t,upDataColumn:(e,l)=>{t[e]=l}},{"filter-icon":()=>t.renderFilterIcon?t.renderFilterIcon({filterOpened:t.filterOpened}):null})])]))))))))}});function Fa(e,l,t=.03){return e-l>t}function Ta(e){const l=C(Na),t=F(""),a=F(Oe("div")),n=(t,a,n)=>{var o;const r=l,s=Xt(t);let i;const u=null==(o=null==r?void 0:r.vnode.el)?void 0:o.dataset.prefix;s&&(i=Jt({columns:e.store.states.columns.value},s,u),i&&(null==r||r.emit(`cell-${n}`,a,i,s,t))),null==r||r.emit(`row-${n}`,a,i,t)},o=bl((l=>{e.store.commit("setHoverRow",l)}),30),r=bl((()=>{e.store.commit("setHoverRow",null)}),30),s=(e,l,t)=>{let a=l.target.parentNode;for(;e>1&&(a=null==a?void 0:a.nextSibling,a&&"TR"===a.nodeName);)t(a,"hover-row hover-fixed-row"),e--};return{handleDoubleClick:(e,l)=>{n(e,l,"dblclick")},handleClick:(l,t)=>{e.store.commit("setCurrentRow",t),n(l,t,"click")},handleContextMenu:(e,l)=>{n(e,l,"contextmenu")},handleMouseEnter:o,handleMouseLeave:r,handleCellMouseEnter:(t,a,n)=>{var o;const r=l,i=Xt(t),u=null==(o=null==r?void 0:r.vnode.el)?void 0:o.dataset.prefix;if(i){const l=Jt({columns:e.store.states.columns.value},i,u);i.rowSpan>1&&s(i.rowSpan,t,_e);const n=r.hoverState={cell:i,column:l,row:a};null==r||r.emit("cell-mouse-enter",n.row,n.column,n.cell,t)}if(!n)return;const d=t.target.querySelector(".cell");if(!De(d,`${u}-tooltip`)||!d.childNodes.length)return;const c=document.createRange();c.setStart(d,0),c.setEnd(d,d.childNodes.length);const{width:p,height:v}=c.getBoundingClientRect(),{width:h,height:f}=d.getBoundingClientRect(),{top:m,left:g,right:b,bottom:y}=(e=>{const l=window.getComputedStyle(e,null);return{left:Number.parseInt(l.paddingLeft,10)||0,right:Number.parseInt(l.paddingRight,10)||0,top:Number.parseInt(l.paddingTop,10)||0,bottom:Number.parseInt(l.paddingBottom,10)||0}})(d),x=m+y;(Fa(p+(g+b),h)||Fa(v+x,f)||Fa(d.scrollWidth,h))&&function(e,l,t,a){if((null==ra?void 0:ra.trigger)===t)return;null==ra||ra();const n=null==a?void 0:a.refs.tableWrapper,o=null==n?void 0:n.dataset.prefix,r={strategy:"fixed",...e.popperOptions},s=be(ol,{content:l,virtualTriggering:!0,virtualRef:t,appendTo:n,placement:"top",transition:"none",offset:0,hideAfter:0,...e,popperOptions:r,onHide:()=>{null==ra||ra()}});s.appContext={...a.appContext,...a};const i=document.createElement("div");Me(s,i),s.component.exposed.onOpen();const u=null==n?void 0:n.querySelector(`.${o}-scrollbar__wrap`);ra=()=>{Me(null,i),null==u||u.removeEventListener("scroll",ra),ra=null},ra.trigger=t,null==u||u.addEventListener("scroll",ra)}(n,i.innerText||i.textContent,i,r)},handleCellMouseLeave:e=>{const t=Xt(e);if(!t)return;t.rowSpan>1&&s(t.rowSpan,e,qe);const a=null==l?void 0:l.hoverState;null==l||l.emit("cell-mouse-leave",null==a?void 0:a.row,null==a?void 0:a.column,null==a?void 0:a.cell,e)},tooltipContent:t,tooltipTrigger:a}}const za=$({name:"TableTdWrapper"});var Ma=ne($({...za,props:{colspan:{type:Number,default:1},rowspan:{type:Number,default:1}},setup:e=>(l,t)=>(A(),Y("td",{colspan:e.colspan,rowspan:e.rowspan},[Z(l.$slots,"default")],8,["colspan","rowspan"]))}),[["__file","td-wrapper.vue"]]);function Ha(e){const l=C(Na),t=V("table"),{handleDoubleClick:a,handleClick:n,handleContextMenu:o,handleMouseEnter:r,handleMouseLeave:s,handleCellMouseEnter:i,handleCellMouseLeave:u,tooltipContent:d,tooltipTrigger:c}=Ta(e),{getRowStyle:p,getRowClass:v,getCellStyle:h,getCellClass:f,getSpan:m,getColspanRealWidth:g}=function(e){const l=C(Na),t=V("table");return{getRowStyle:(e,t)=>{const a=null==l?void 0:l.props.rowStyle;return Te(a)?a.call(null,{row:e,rowIndex:t}):a||null},getRowClass:(a,n)=>{const o=[t.e("row")];(null==l?void 0:l.props.highlightCurrentRow)&&a===e.store.states.currentRow.value&&o.push("current-row"),e.stripe&&n%2==1&&o.push(t.em("row","striped"));const r=null==l?void 0:l.props.rowClassName;return b(r)?o.push(r):Te(r)&&o.push(r.call(null,{row:a,rowIndex:n})),o},getCellStyle:(t,a,n,o)=>{const r=null==l?void 0:l.props.cellStyle;let s=null!=r?r:{};Te(r)&&(s=r.call(null,{rowIndex:t,columnIndex:a,row:n,column:o}));const i=pa(a,null==e?void 0:e.fixed,e.store);return va(i,"left"),va(i,"right"),Object.assign({},s,i)},getCellClass:(a,n,o,r,s)=>{const i=da(t.b(),n,null==e?void 0:e.fixed,e.store,void 0,s),u=[r.id,r.align,r.className,...i],d=null==l?void 0:l.props.cellClassName;return b(d)?u.push(d):Te(d)&&u.push(d.call(null,{rowIndex:a,columnIndex:n,row:o,column:r})),u.push(t.e("cell")),u.filter((e=>Boolean(e))).join(" ")},getSpan:(e,t,a,n)=>{let o=1,r=1;const s=null==l?void 0:l.props.spanMethod;if(Te(s)){const l=s({row:e,column:t,rowIndex:a,columnIndex:n});T(l)?(o=l[0],r=l[1]):"object"==typeof l&&(o=l.rowspan,r=l.colspan)}return{rowspan:o,colspan:r}},getColspanRealWidth:(e,l,t)=>{if(l<1)return e[t].realWidth;const a=e.map((({realWidth:e,width:l})=>e||l)).slice(t,t+l);return Number(a.reduce(((e,l)=>Number(e)+Number(l)),-1))}}}(e),y=w((()=>e.store.states.columns.value.findIndex((({type:e})=>"default"===e)))),S=(e,t)=>{const a=l.props.rowKey;return a?ea(e,a):t},k=(d,c,b,C=!1)=>{const{tooltipEffect:w,tooltipOptions:k,store:N}=e,{indent:L,columns:R}=N.states,O=v(d,c);let F=!0;b&&(O.push(t.em("row",`level-${b.level}`)),F=b.display);return Oe("tr",{style:[F?null:{display:"none"},p(d,c)],class:O,key:S(d,c),onDblclick:e=>a(e,d),onClick:e=>n(e,d),onContextmenu:e=>o(e,d),onMouseenter:()=>r(c),onMouseleave:s},R.value.map(((t,a)=>{const{rowspan:n,colspan:o}=m(d,t,c,a);if(!n||!o)return null;const r=Object.assign({},t);r.realWidth=g(R.value,o,a);const s={store:e.store,_self:e.context||l,column:r,row:d,$index:c,cellIndex:a,expanded:C};a===y.value&&b&&(s.treeNode={indent:b.level*L.value,level:b.level},x(b.expanded)&&(s.treeNode.expanded=b.expanded,"loading"in b&&(s.treeNode.loading=b.loading),"noLazyChildren"in b&&(s.treeNode.noLazyChildren=b.noLazyChildren)));const p=`${S(d,c)},${a}`,v=r.columnKey||r.rawColumnKey||"",N=t.showOverflowTooltip&&Bl({effect:w},k,t.showOverflowTooltip);return Oe(Ma,{style:h(c,a,d,t),class:f(c,a,d,t,o-1),key:`${v}${p}`,rowspan:n,colspan:o,onMouseenter:e=>i(e,d,N),onMouseleave:u},{default:()=>E(a,t,s)})})))},E=(e,l,t)=>l.renderCell(t);return{wrappedRowRender:(a,n)=>{const o=e.store,{isRowExpanded:r,assertRowKey:s}=o,{treeData:i,lazyTreeNodeMap:u,childrenColumnName:d,rowKey:c}=o.states,p=o.states.columns.value;if(p.some((({type:e})=>"expand"===e))){const e=r(a),s=k(a,n,void 0,e),i=l.renderExpanded;return e?i?[[s,Oe("tr",{key:`expanded-row__${s.key}`},[Oe("td",{colspan:p.length,class:`${t.e("cell")} ${t.e("expanded-cell")}`},[i({row:a,$index:n,store:o,expanded:e})])])]]:s:[[s]]}if(Object.keys(i.value).length){s();const e=ea(a,c.value);let l=i.value[e],t=null;l&&(t={expanded:l.expanded,level:l.level,display:!0},x(l.lazy)&&(x(l.loaded)&&l.loaded&&(t.noLazyChildren=!(l.children&&l.children.length)),t.loading=l.loading));const o=[k(a,n,t)];if(l){let t=0;const r=(e,a)=>{e&&e.length&&a&&e.forEach((e=>{const s={display:a.display&&a.expanded,level:a.level+1,expanded:!1,noLazyChildren:!1,loading:!1},p=ea(e,c.value);if(null==p)throw new Error("For nested data item, row-key is required.");if(l={...i.value[p]},l&&(s.expanded=l.expanded,l.level=l.level||s.level,l.display=!(!l.expanded||!s.display),x(l.lazy)&&(x(l.loaded)&&l.loaded&&(s.noLazyChildren=!(l.children&&l.children.length)),s.loading=l.loading)),t++,o.push(k(e,n+t,s)),l){const t=u.value[p]||e[d.value];r(t,l)}}))};l.display=!0;const s=u.value[e]||a[d.value];r(s,l)}return o}return k(a,n,void 0)},tooltipContent:d,tooltipTrigger:c}}var Pa=$({name:"ElTableBody",props:{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},setup(e){const l=O(),t=C(Na),a=V("table"),{wrappedRowRender:n,tooltipContent:o,tooltipTrigger:r}=Ha(e),{onColumnsChange:s,onScrollableChange:i}=Ea(t),u=[];return N(e.store.states.hoverRow,((t,n)=>{var o;const r=null==l?void 0:l.vnode.el,s=Array.from((null==r?void 0:r.children)||[]).filter((e=>null==e?void 0:e.classList.contains(`${a.e("row")}`)));let i=t;const d=null==(o=s[i])?void 0:o.childNodes;if(null==d?void 0:d.length){let e=0;Array.from(d).reduce(((l,t,a)=>{var n,o;return(null==(n=d[a])?void 0:n.colSpan)>1&&(e=null==(o=d[a])?void 0:o.colSpan),"TD"!==t.nodeName&&0===e&&l.push(a),e>0&&e--,l}),[]).forEach((e=>{var l;for(i=t;i>0;){const t=null==(l=s[i-1])?void 0:l.childNodes;if(t[e]&&"TD"===t[e].nodeName&&t[e].rowSpan>1){_e(t[e],"hover-cell"),u.push(t[e]);break}i--}}))}else u.forEach((e=>qe(e,"hover-cell"))),u.length=0;var c;e.store.states.isComplex.value&&h&&(c=()=>{const e=s[n],l=s[t];e&&!e.classList.contains("hover-fixed-row")&&qe(e,"hover-row"),l&&_e(l,"hover-row")},h?window.requestAnimationFrame(c):setTimeout(c,16))})),Ke((()=>{var e;null==(e=ra)||e()})),{ns:a,onColumnsChange:s,onScrollableChange:i,wrappedRowRender:n,tooltipContent:o,tooltipTrigger:r}},render(){const{wrappedRowRender:e,store:l}=this,t=l.states.data.value||[];return Oe("tbody",{tabIndex:-1},[t.reduce(((l,t)=>l.concat(e(t,l.length))),[])])}});function Wa(e){const{columns:l}=function(){const e=C(Na),l=null==e?void 0:e.store;return{leftFixedLeafCount:w((()=>l.states.fixedLeafColumnsLength.value)),rightFixedLeafCount:w((()=>l.states.rightFixedColumns.value.length)),columnsCount:w((()=>l.states.columns.value.length)),leftFixedCount:w((()=>l.states.fixedColumns.value.length)),rightFixedCount:w((()=>l.states.rightFixedColumns.value.length)),columns:l.states.columns}}(),t=V("table");return{getCellClasses:(l,a)=>{const n=l[a],o=[t.e("cell"),n.id,n.align,n.labelClassName,...da(t.b(),a,n.fixed,e.store)];return n.className&&o.push(n.className),n.children||o.push(t.is("leaf")),o},getCellStyles:(l,t)=>{const a=pa(t,l.fixed,e.store);return va(a,"left"),va(a,"right"),a},columns:l}}var Ba=$({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(e){const{getCellClasses:l,getCellStyles:t,columns:a}=Wa(e);return{ns:V("table"),getCellClasses:l,getCellStyles:t,columns:a}},render(){const{columns:e,getCellStyles:l,getCellClasses:t,summaryMethod:a,sumText:n}=this,o=this.store.states.data.value;let r=[];return a?r=a({columns:e,data:o}):e.forEach(((e,l)=>{if(0===l)return void(r[l]=n);const t=o.map((l=>Number(l[e.property]))),a=[];let s=!0;t.forEach((e=>{if(!Number.isNaN(+e)){s=!1;const l=`${e}`.split(".")[1];a.push(l?l.length:0)}}));const i=Math.max.apply(null,a);r[l]=s?"":t.reduce(((e,l)=>{const t=Number(l);return Number.isNaN(+t)?e:Number.parseFloat((e+l).toFixed(Math.min(i,20)))}),0)})),Oe(Oe("tfoot",[Oe("tr",{},[...e.map(((a,n)=>Oe("td",{key:n,colspan:a.colSpan,rowspan:a.rowSpan,class:t(e,n),style:l(a,n)},[Oe("div",{class:["cell",a.labelClassName]},[r[n]])])))])]))}});function $a(e,l,t,a){const n=F(!1),o=F(null),r=F(!1),s=F({width:null,height:null,headerHeight:null}),i=F(!1),u=F(),d=F(0),c=F(0),p=F(0),v=F(0),h=F(0);Ce((()=>{l.setHeight(e.height)})),Ce((()=>{l.setMaxHeight(e.maxHeight)})),N((()=>[e.currentRowKey,t.states.rowKey]),(([e,l])=>{q(l)&&q(e)&&t.setCurrentRowKey(`${e}`)}),{immediate:!0}),N((()=>e.data),(e=>{a.store.commit("setData",e)}),{immediate:!0,deep:!0}),Ce((()=>{e.expandRowKeys&&t.setExpandRowKeysAdapter(e.expandRowKeys)}));const f=w((()=>e.height||e.maxHeight||t.states.fixedColumns.value.length>0||t.states.rightFixedColumns.value.length>0)),m=w((()=>({width:l.bodyWidth.value?`${l.bodyWidth.value}px`:""}))),g=()=>{f.value&&l.updateElsHeight(),l.updateColumnsWidth(),requestAnimationFrame(y)};Ve((async()=>{await R(),t.updateColumns(),x(),requestAnimationFrame(g);const l=a.vnode.el,n=a.refs.headerWrapper;e.flexible&&l&&l.parentElement&&(l.parentElement.style.minWidth="0"),s.value={width:u.value=l.offsetWidth,height:l.offsetHeight,headerHeight:e.showHeader&&n?n.offsetHeight:null},t.states.columns.value.forEach((e=>{e.filteredValue&&e.filteredValue.length&&a.store.commit("filterChange",{column:e,values:e.filteredValue,silent:!0})})),a.$ready=!0}));const b=e=>{const{tableWrapper:t}=a.refs;((e,t)=>{if(!e)return;const a=Array.from(e.classList).filter((e=>!e.startsWith("is-scrolling-")));a.push(l.scrollX.value?t:"is-scrolling-none"),e.className=a.join(" ")})(t,e)},y=function(){if(!a.refs.scrollBarRef)return;if(!l.scrollX.value){const e="is-scrolling-none";return void((e=>{const{tableWrapper:l}=a.refs;return!(!l||!l.classList.contains(e))})(e)||b(e))}const e=a.refs.scrollBarRef.wrapRef;if(!e)return;const{scrollLeft:t,offsetWidth:n,scrollWidth:o}=e,{headerWrapper:r,footerWrapper:s}=a.refs;r&&(r.scrollLeft=t),s&&(s.scrollLeft=t);b(t>=o-n-1?"is-scrolling-right":0===t?"is-scrolling-left":"is-scrolling-middle")},x=()=>{a.refs.scrollBarRef&&(a.refs.scrollBarRef.wrapRef&&Ue(a.refs.scrollBarRef.wrapRef,"scroll",y,{passive:!0}),e.fit?Ye(a.vnode.el,C):Ue(window,"resize",C),Ye(a.refs.bodyWrapper,(()=>{var e,l;C(),null==(l=null==(e=a.refs)?void 0:e.scrollBarRef)||l.update()})))},C=()=>{var l,t,n,o;const r=a.vnode.el;if(!a.$ready||!r)return;let i=!1;const{width:m,height:b,headerHeight:y}=s.value,x=u.value=r.offsetWidth;m!==x&&(i=!0);const C=r.offsetHeight;(e.height||f.value)&&b!==C&&(i=!0);const w="fixed"===e.tableLayout?a.refs.headerWrapper:null==(l=a.refs.tableHeaderRef)?void 0:l.$el;e.showHeader&&(null==w?void 0:w.offsetHeight)!==y&&(i=!0),d.value=(null==(t=a.refs.tableWrapper)?void 0:t.scrollHeight)||0,p.value=(null==w?void 0:w.scrollHeight)||0,v.value=(null==(n=a.refs.footerWrapper)?void 0:n.offsetHeight)||0,h.value=(null==(o=a.refs.appendWrapper)?void 0:o.offsetHeight)||0,c.value=d.value-p.value-v.value-h.value,i&&(s.value={width:x,height:C,headerHeight:e.showHeader&&(null==w?void 0:w.offsetHeight)||0},g())},S=P(),k=w((()=>{const{bodyWidth:e,scrollY:t,gutterWidth:a}=l;return e.value?e.value-(t.value?a:0)+"px":""})),E=w((()=>e.maxHeight?"fixed":e.tableLayout)),L=w((()=>{if(e.data&&e.data.length)return null;let l="100%";e.height&&c.value&&(l=`${c.value}px`);const t=u.value;return{width:t?`${t}px`:"",height:l}})),O=w((()=>e.height?{height:Number.isNaN(Number(e.height))?e.height:`${e.height}px`}:e.maxHeight?{maxHeight:Number.isNaN(Number(e.maxHeight))?e.maxHeight:`${e.maxHeight}px`}:{})),T=w((()=>e.height?{height:"100%"}:e.maxHeight?Number.isNaN(Number(e.maxHeight))?{maxHeight:`calc(${e.maxHeight} - ${p.value+v.value}px)`}:{maxHeight:e.maxHeight-p.value-v.value+"px"}:{}));return{isHidden:n,renderExpanded:o,setDragVisible:e=>{r.value=e},isGroup:i,handleMouseLeave:()=>{a.store.commit("setHoverRow",null),a.hoverState&&(a.hoverState=null)},handleHeaderFooterMousewheel:(e,l)=>{const{pixelX:t,pixelY:n}=l;Math.abs(t)>=Math.abs(n)&&(a.refs.bodyWrapper.scrollLeft+=l.pixelX/5)},tableSize:S,emptyBlockStyle:L,handleFixedMousewheel:(e,l)=>{const t=a.refs.bodyWrapper;if(Math.abs(l.spinY)>0){const a=t.scrollTop;l.pixelY<0&&0!==a&&e.preventDefault(),l.pixelY>0&&t.scrollHeight-t.clientHeight>a&&e.preventDefault(),t.scrollTop+=Math.ceil(l.pixelY/5)}else t.scrollLeft+=Math.ceil(l.pixelX/5)},resizeProxyVisible:r,bodyWidth:k,resizeState:s,doLayout:g,tableBodyStyles:m,tableLayout:E,scrollbarViewStyle:{display:"inline-block",verticalAlign:"middle"},tableInnerStyle:O,scrollbarStyle:T}}function Ia(e){const l=F();Ve((()=>{(()=>{const t=e.vnode.el.querySelector(".hidden-columns"),a=e.store.states.updateOrderFns;l.value=new MutationObserver((()=>{a.forEach((e=>e()))})),l.value.observe(t,{childList:!0,subtree:!0})})()})),Ke((()=>{var e;null==(e=l.value)||e.disconnect()}))}var Va={data:{type:Array,default:()=>[]},size:f,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",checkStrictly:!1})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:Boolean,flexible:Boolean,showOverflowTooltip:[Boolean,Object],appendFilterPanelTo:String,scrollbarTabindex:{type:[Number,String],default:void 0}};function Aa(e){const l="auto"===e.tableLayout;let t=e.columns||[];l&&t.every((e=>void 0===e.width))&&(t=[]);return Oe("colgroup",{},t.map((t=>Oe("col",(t=>{const a={key:`${e.tableLayout}_${t.id}`,style:{},name:void 0};return l?a.style={width:`${t.width}px`}:a.name=t.id,a})(t)))))}Aa.props=["columns","tableLayout"];let Ka=1;var _a=ne($({name:"ElTable",directives:{Mousewheel:ut},components:{TableHeader:Oa,TableBody:Pa,TableFooter:Ba,ElScrollbar:nl,hColgroup:Aa},props:Va,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(e){const{t:l}=he(),t=V("table"),a=O();ie(Na,a);const n=ya(a,e);a.store=n;const o=new wa({store:a.store,table:a,fit:e.fit,showHeader:e.showHeader});a.layout=o;const r=w((()=>0===(n.states.data.value||[]).length)),{setCurrentRow:s,getSelectionRows:i,toggleRowSelection:u,clearSelection:d,clearFilter:c,toggleAllSelection:p,toggleRowExpansion:v,clearSort:h,sort:f,updateKeyChildren:m}=function(e){return{setCurrentRow:l=>{e.commit("setCurrentRow",l)},getSelectionRows:()=>e.getSelectionRows(),toggleRowSelection:(l,t,a=!0)=>{e.toggleRowSelection(l,t,!1,a),e.updateAllSelected()},clearSelection:()=>{e.clearSelection()},clearFilter:l=>{e.clearFilter(l)},toggleAllSelection:()=>{e.commit("toggleAllSelection")},toggleRowExpansion:(l,t)=>{e.toggleRowExpansionAdapter(l,t)},clearSort:()=>{e.clearSort()},sort:(l,t)=>{e.commit("sort",{prop:l,order:t})},updateKeyChildren:(l,t)=>{e.updateKeyChildren(l,t)}}}(n),{isHidden:g,renderExpanded:b,setDragVisible:x,isGroup:C,handleMouseLeave:S,handleHeaderFooterMousewheel:k,tableSize:E,emptyBlockStyle:N,handleFixedMousewheel:L,resizeProxyVisible:R,bodyWidth:T,resizeState:z,doLayout:M,tableBodyStyles:H,tableLayout:P,scrollbarViewStyle:W,tableInnerStyle:B,scrollbarStyle:$}=$a(e,o,n,a),{scrollBarRef:I,scrollTo:A,setScrollLeft:K,setScrollTop:_}=(()=>{const e=F(),l=(l,t)=>{const a=e.value;a&&y(t)&&["Top","Left"].includes(l)&&a[`setScroll${l}`](t)};return{scrollBarRef:e,scrollTo:(l,t)=>{const a=e.value;a&&a.scrollTo(l,t)},setScrollTop:e=>l("Top",e),setScrollLeft:e=>l("Left",e)}})(),j=bl(M,50),D=`${t.namespace.value}-table_${Ka++}`;a.tableId=D,a.state={isGroup:C,resizeState:z,doLayout:M,debouncedUpdateLayout:j};const q=w((()=>{var t;return null!=(t=e.sumText)?t:l("el.table.sumText")})),U=w((()=>{var t;return null!=(t=e.emptyText)?t:l("el.table.emptyText")})),Y=w((()=>Ra(n.states.originColumns.value)[0]));return Ia(a),Ge((()=>{j.cancel()})),{ns:t,layout:o,store:n,columns:Y,handleHeaderFooterMousewheel:k,handleMouseLeave:S,tableId:D,tableSize:E,isHidden:g,isEmpty:r,renderExpanded:b,resizeProxyVisible:R,resizeState:z,isGroup:C,bodyWidth:T,tableBodyStyles:H,emptyBlockStyle:N,debouncedUpdateLayout:j,handleFixedMousewheel:L,setCurrentRow:s,getSelectionRows:i,toggleRowSelection:u,clearSelection:d,clearFilter:c,toggleAllSelection:p,toggleRowExpansion:v,clearSort:h,doLayout:M,sort:f,updateKeyChildren:m,t:l,setDragVisible:x,context:a,computedSumText:q,computedEmptyText:U,tableLayout:P,scrollbarViewStyle:W,tableInnerStyle:B,scrollbarStyle:$,scrollBarRef:I,scrollTo:A,setScrollLeft:K,setScrollTop:_}}}),[["render",function(e,l,t,a,n,o){const r=Be("hColgroup"),s=Be("table-header"),i=Be("table-body"),u=Be("table-footer"),d=Be("el-scrollbar"),c=$e("mousewheel");return A(),Y("div",{ref:"tableWrapper",class:D([{[e.ns.m("fit")]:e.fit,[e.ns.m("striped")]:e.stripe,[e.ns.m("border")]:e.border||e.isGroup,[e.ns.m("hidden")]:e.isHidden,[e.ns.m("group")]:e.isGroup,[e.ns.m("fluid-height")]:e.maxHeight,[e.ns.m("scrollable-x")]:e.layout.scrollX.value,[e.ns.m("scrollable-y")]:e.layout.scrollY.value,[e.ns.m("enable-row-hover")]:!e.store.states.isComplex.value,[e.ns.m("enable-row-transition")]:0!==(e.store.states.data.value||[]).length&&(e.store.states.data.value||[]).length<100,"has-footer":e.showSummary},e.ns.m(e.tableSize),e.className,e.ns.b(),e.ns.m(`layout-${e.tableLayout}`)]),style:oe(e.style),"data-prefix":e.ns.namespace.value,onMouseleave:e.handleMouseLeave},[j("div",{class:D(e.ns.e("inner-wrapper")),style:oe(e.tableInnerStyle)},[j("div",{ref:"hiddenColumns",class:"hidden-columns"},[Z(e.$slots,"default")],512),e.showHeader&&"fixed"===e.tableLayout?U((A(),Y("div",{key:0,ref:"headerWrapper",class:D(e.ns.e("header-wrapper"))},[j("table",{ref:"tableHeader",class:D(e.ns.e("header")),style:oe(e.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[be(r,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),be(s,{ref:"tableHeaderRef",border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,onSetDragVisible:e.setDragVisible},null,8,["border","default-sort","store","append-filter-panel-to","onSetDragVisible"])],6)],2)),[[c,e.handleHeaderFooterMousewheel]]):te("v-if",!0),j("div",{ref:"bodyWrapper",class:D(e.ns.e("body-wrapper"))},[be(d,{ref:"scrollBarRef","view-style":e.scrollbarViewStyle,"wrap-style":e.scrollbarStyle,always:e.scrollbarAlwaysOn,tabindex:e.scrollbarTabindex},{default:_((()=>[j("table",{ref:"tableBody",class:D(e.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:oe({width:e.bodyWidth,tableLayout:e.tableLayout})},[be(r,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),e.showHeader&&"auto"===e.tableLayout?(A(),K(s,{key:0,ref:"tableHeaderRef",class:D(e.ns.e("body-header")),border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,onSetDragVisible:e.setDragVisible},null,8,["class","border","default-sort","store","append-filter-panel-to","onSetDragVisible"])):te("v-if",!0),be(i,{context:e.context,highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"tooltip-effect":e.tooltipEffect,"tooltip-options":e.tooltipOptions,"row-style":e.rowStyle,store:e.store,stripe:e.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),e.showSummary&&"auto"===e.tableLayout?(A(),K(u,{key:1,class:D(e.ns.e("body-footer")),border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):te("v-if",!0)],6),e.isEmpty?(A(),Y("div",{key:0,ref:"emptyBlock",style:oe(e.emptyBlockStyle),class:D(e.ns.e("empty-block"))},[j("span",{class:D(e.ns.e("empty-text"))},[Z(e.$slots,"empty",{},(()=>[ee(le(e.computedEmptyText),1)]))],2)],6)):te("v-if",!0),e.$slots.append?(A(),Y("div",{key:1,ref:"appendWrapper",class:D(e.ns.e("append-wrapper"))},[Z(e.$slots,"append")],2)):te("v-if",!0)])),_:3},8,["view-style","wrap-style","always","tabindex"])],2),e.showSummary&&"fixed"===e.tableLayout?U((A(),Y("div",{key:1,ref:"footerWrapper",class:D(e.ns.e("footer-wrapper"))},[j("table",{class:D(e.ns.e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:oe(e.tableBodyStyles)},[be(r,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),be(u,{border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[Xe,!e.isEmpty],[c,e.handleHeaderFooterMousewheel]]):te("v-if",!0),e.border||e.isGroup?(A(),Y("div",{key:2,class:D(e.ns.e("border-left-patch"))},null,2)):te("v-if",!0)],6),U(j("div",{ref:"resizeProxy",class:D(e.ns.e("column-resize-proxy"))},null,2),[[Xe,e.resizeProxyVisible]])],46,["data-prefix","onMouseleave"])}],["__file","table.vue"]]);const ja={selection:"table-column--selection",expand:"table__expand-column"},Da={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:""}},qa={selection:{renderHeader:({store:e,column:l})=>Oe(St,{disabled:e.states.data.value&&0===e.states.data.value.length,size:e.states.tableSize.value,indeterminate:e.states.selection.value.length>0&&!e.states.isAllSelected.value,"onUpdate:modelValue":e.toggleAllSelection,modelValue:e.states.isAllSelected.value,ariaLabel:l.label}),renderCell:({row:e,column:l,store:t,$index:a})=>Oe(St,{disabled:!!l.selectable&&!l.selectable.call(null,e,a),size:t.states.tableSize.value,onChange:()=>{t.commit("rowSelectedChanged",e)},onClick:e=>e.stopPropagation(),modelValue:t.isSelected(e),ariaLabel:l.label}),sortable:!1,resizable:!1},index:{renderHeader:({column:e})=>e.label||"#",renderCell({column:e,$index:l}){let t=l+1;const a=e.index;return y(a)?t=l+a:Te(a)&&(t=a(l)),Oe("div",{},[t])},sortable:!1},expand:{renderHeader:({column:e})=>e.label||"",renderCell({row:e,store:l,expanded:t}){const{ns:a}=l,n=[a.e("expand-icon")];t&&n.push(a.em("expand-icon","expanded"));return Oe("div",{class:n,onClick:function(t){t.stopPropagation(),l.toggleRowExpansion(e)}},{default:()=>[Oe(fe,null,{default:()=>[Oe(Le)]})]})},sortable:!1,resizable:!1}};function Ua({row:e,column:l,$index:t}){var a;const n=l.property,o=n&&Qe(e,n).value;return l&&l.formatter?l.formatter(e,l,o,t):(null==(a=null==o?void 0:o.toString)?void 0:a.call(o))||""}function Ya(e,l){return e.reduce(((e,l)=>(e[l]=l,e)),l)}function Ga(e,l,t){const a=O(),n=F(""),o=F(!1),r=F(),s=F(),i=V("table");Ce((()=>{r.value=e.align?`is-${e.align}`:null,r.value})),Ce((()=>{s.value=e.headerAlign?`is-${e.headerAlign}`:r.value,s.value}));const u=w((()=>{let e=a.vnode.vParent||a.parent;for(;e&&!e.tableId&&!e.columnId;)e=e.vnode.vParent||e.parent;return e})),d=w((()=>{const{store:e}=a.parent;if(!e)return!1;const{treeData:l}=e.states,t=l.value;return t&&Object.keys(t).length>0})),c=F(ta(e.width)),p=F(aa(e.minWidth));return{columnId:n,realAlign:r,isSubColumn:o,realHeaderAlign:s,columnOrTableParent:u,setColumnWidth:e=>(c.value&&(e.width=c.value),p.value&&(e.minWidth=p.value),!c.value&&p.value&&(e.width=void 0),e.minWidth||(e.minWidth=80),e.realWidth=Number(void 0===e.width?e.minWidth:e.width),e),setColumnForcedProps:e=>{const l=e.type,t=qa[l]||{};Object.keys(t).forEach((l=>{const a=t[l];"className"!==l&&void 0!==a&&(e[l]=a)}));const a=(e=>ja[e]||"")(l);if(a){const l=`${q(i.namespace)}-${a}`;e.className=e.className?`${e.className} ${l}`:l}return e},setColumnRenders:n=>{e.renderHeader||"selection"!==n.type&&(n.renderHeader=e=>(a.columnConfig.value.label,Z(l,"header",e,(()=>[n.label])))),l["filter-icon"]&&(n.renderFilterIcon=e=>Z(l,"filter-icon",e));let o=n.renderCell;return"expand"===n.type?(n.renderCell=e=>Oe("div",{class:"cell"},[o(e)]),t.value.renderExpanded=e=>l.default?l.default(e):l.default):(o=o||Ua,n.renderCell=e=>{let r=null;if(l.default){const t=l.default(e);r=t.some((e=>e.type!==Je))?t:o(e)}else r=o(e);const{columns:s}=t.value.store.states,u=s.value.findIndex((e=>"default"===e.type)),c=function({row:e,treeNode:l,store:t},a=!1){const{ns:n}=t;if(!l)return a?[Oe("span",{class:n.e("placeholder")})]:null;const o=[],r=function(a){a.stopPropagation(),l.loading||t.loadOrToggle(e)};if(l.indent&&o.push(Oe("span",{class:n.e("indent"),style:{"padding-left":`${l.indent}px`}})),x(l.expanded)&&!l.noLazyChildren){const e=[n.e("expand-icon"),l.expanded?n.em("expand-icon","expanded"):""];let t=Le;l.loading&&(t=Ze),o.push(Oe("div",{class:e,onClick:r},{default:()=>[Oe(fe,{class:{[n.is("loading")]:l.loading}},{default:()=>[Oe(t)]})]}))}else o.push(Oe("span",{class:n.e("placeholder")}));return o}(e,d.value&&e.cellIndex===u),p={class:"cell",style:{}};return n.showOverflowTooltip&&(p.class=`${p.class} ${q(i.namespace)}-tooltip`,p.style={width:(e.column.realWidth||Number(e.column.width))-1+"px"}),(e=>{function l(e){var l;"ElTableColumn"===(null==(l=null==e?void 0:e.type)?void 0:l.name)&&(e.vParent=a)}T(e)?e.forEach((e=>l(e))):l(e)})(r),Oe("div",p,[c,r])}),n},getPropsData:(...l)=>l.reduce(((l,t)=>(T(t)&&t.forEach((t=>{l[t]=e[t]})),l)),{}),getColumnElIndex:(e,l)=>Array.prototype.indexOf.call(e,l),updateColumnOrder:()=>{t.value.store.commit("updateColumnOrder",a.columnConfig.value)}}}var Xa={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:e=>e.every((e=>["ascending","descending",null].includes(e)))}};let Qa=1;var Za=$({name:"ElTableColumn",components:{ElCheckbox:St},props:Xa,setup(e,{slots:l}){const t=O(),a=F({}),n=w((()=>{let e=t.parent;for(;e&&!e.tableId;)e=e.parent;return e})),{registerNormalWatchers:o,registerComplexWatchers:r}=function(e,l){const t=O();return{registerComplexWatchers:()=>{const a={realWidth:"width",realMinWidth:"minWidth"},n=Ya(["fixed"],a);Object.keys(n).forEach((n=>{const o=a[n];Fe(l,o)&&N((()=>l[o]),(l=>{let a=l;"width"===o&&"realWidth"===n&&(a=ta(l)),"minWidth"===o&&"realMinWidth"===n&&(a=aa(l)),t.columnConfig.value[o]=a,t.columnConfig.value[n]=a;const r="fixed"===o;e.value.store.scheduleLayout(r)}))}))},registerNormalWatchers:()=>{const e={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},a=Ya(["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","filterClassName","showOverflowTooltip"],e);Object.keys(a).forEach((a=>{const n=e[a];Fe(l,n)&&N((()=>l[n]),(e=>{t.columnConfig.value[a]=e}))}))}}}(n,e),{columnId:s,isSubColumn:i,realHeaderAlign:u,columnOrTableParent:d,setColumnWidth:c,setColumnForcedProps:p,setColumnRenders:v,getPropsData:h,getColumnElIndex:f,realAlign:m,updateColumnOrder:g}=Ga(e,l,n),b=d.value;s.value=`${b.tableId||b.columnId}_column_${Qa++}`,Ie((()=>{i.value=n.value!==b;const l=e.type||"default",d=""===e.sortable||e.sortable,f=S(e.showOverflowTooltip)?b.props.showOverflowTooltip:e.showOverflowTooltip,g={...Da[l],id:s.value,type:l,property:e.prop||e.property,align:m,headerAlign:u,showOverflowTooltip:f,filterable:e.filters||e.filterMethod,filteredValue:[],filterPlacement:"",filterClassName:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:d,index:e.index,rawColumnKey:t.vnode.key};let y=h(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement","filterClassName"]);y=function(e,l){const t={};let a;for(a in e)t[a]=e[a];for(a in l)if(Fe(l,a)){const e=l[a];void 0!==e&&(t[a]=e)}return t}(g,y);y=function(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce(((e,l)=>(...t)=>e(l(...t))))}(v,c,p)(y),a.value=y,o(),r()})),Ve((()=>{var e;const l=d.value,o=i.value?l.vnode.el.children:null==(e=l.refs.hiddenColumns)?void 0:e.children,r=()=>f(o||[],t.vnode.el);a.value.getColumnIndex=r;r()>-1&&n.value.store.commit("insertColumn",a.value,i.value?l.columnConfig.value:null,g)})),Ge((()=>{const e=a.value.getColumnIndex;(e?e():-1)>-1&&n.value.store.commit("removeColumn",a.value,i.value?b.columnConfig.value:null,g)})),t.columnId=s.value,t.columnConfig=a},render(){var e,l,t;try{const a=null==(l=(e=this.$slots).default)?void 0:l.call(e,{row:{},column:{},$index:-1}),n=[];if(T(a))for(const e of a)"ElTableColumn"===(null==(t=e.type)?void 0:t.name)||2&e.shapeFlag?n.push(e):e.type===J&&T(e.children)&&e.children.forEach((e=>{1024===(null==e?void 0:e.patchFlag)||b(null==e?void 0:e.children)||n.push(e)}));return Oe("div",n)}catch(a){return Oe("div",[])}}});const Ja=ce(_a,{TableColumn:Za}),en=pe(Za);export{en as E,Ja as a,Gt as b,St as c,kt as d}; diff --git a/static/js/el-tabs.DDmXOrX8.js b/static/js/el-tabs.DDmXOrX8.js new file mode 100644 index 0000000000000000000000000000000000000000..36662fbeded00ba503fb8438ab24610b46778ac7 --- /dev/null +++ b/static/js/el-tabs.DDmXOrX8.js @@ -0,0 +1 @@ +import{A as e,ar as a,bn as t,b as l,h as s,ao as o,d as n,j as r,aj as i,a as u,r as d,C as c,Y as v,aq as b,al as p,c as f,e as m,n as h,g as y,G as g,_ as C,q as $,bo as P,bp as x,B as w,o as T,bq as k,a0 as B,E as N,br as E,ak as S,a7 as R,F as A,p as F,f as _,bs as q,U as j,bt as K,J as L,b7 as V,a9 as z,bu as M,X as U,bv as W,Z as X,a6 as Y,a1 as G,s as H,v as J}from"./index.9PHSMUIB.js";import{c as O}from"./strings.CQ_np2th.js";const Z=(l,s)=>{const o={},n=e([]);return{children:n,addChild:e=>{o[e.uid]=e,n.value=((e,l,s)=>a(e.subTree).filter((e=>{var a;return t(e)&&(null==(a=e.type)?void 0:a.name)===l&&!!e.component})).map((e=>e.component.uid)).map((e=>s[e])).filter((e=>!!e)))(l,s,o)},removeChild:e=>{delete o[e],n.value=n.value.filter((a=>a.uid!==e))}}},D=Symbol("tabsRootContextKey"),I=l({tabs:{type:s(Array),default:()=>o([])}}),Q="ElTabBar",ee=n({name:Q});var ae=C(n({...ee,props:I,setup(e,{expose:a}){const t=e,l=$(),s=r(D);s||i(Q,"");const o=u("tabs"),n=d(),C=d(),P=()=>C.value=(()=>{let e=0,a=0;const o=["top","bottom"].includes(s.props.tabPosition)?"width":"height",n="width"===o?"x":"y",r="x"===n?"left":"top";return t.tabs.every((t=>{var s,n;const i=null==(n=null==(s=l.parent)?void 0:s.refs)?void 0:n[`tab-${t.uid}`];if(!i)return!1;if(!t.active)return!0;e=i[`offset${O(r)}`],a=i[`client${O(o)}`];const u=window.getComputedStyle(i);return"width"===o&&(a-=Number.parseFloat(u.paddingLeft)+Number.parseFloat(u.paddingRight),e+=Number.parseFloat(u.paddingLeft)),!1})),{[o]:`${a}px`,transform:`translate${O(n)}(${e}px)`}})(),x=[];c((()=>t.tabs),(async()=>{await v(),P(),(()=>{var e;x.forEach((e=>e.stop())),x.length=0;const a=null==(e=l.parent)?void 0:e.refs;if(a)for(const t in a)if(t.startsWith("tab-")){const e=a[t];e&&x.push(b(e,P))}})()}),{immediate:!0});const w=b(n,(()=>P()));return p((()=>{x.forEach((e=>e.stop())),x.length=0,w.stop()})),a({ref:n,update:P}),(e,a)=>(f(),m("div",{ref_key:"barRef",ref:n,class:h([y(o).e("active-bar"),y(o).is(y(s).props.tabPosition)]),style:g(C.value)},null,6))}}),[["__file","tab-bar.vue"]]);const te=l({panes:{type:s(Array),default:()=>o([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),le="ElTabNav",se=n({name:le,props:te,emits:{tabClick:(e,a,t)=>t instanceof Event,tabRemove:(e,a)=>a instanceof Event},setup(e,{expose:a,emit:t}){const l=r(D);l||i(le,"");const s=u("tabs"),o=P(),n=x(),p=d(),f=d(),m=d(),h=d(),y=d(!1),g=d(0),C=d(!1),$=d(!0),F=w((()=>["top","bottom"].includes(l.props.tabPosition)?"width":"height")),_=w((()=>({transform:`translate${"width"===F.value?"X":"Y"}(-${g.value}px)`}))),q=()=>{if(!p.value)return;const e=p.value[`offset${O(F.value)}`],a=g.value;if(!a)return;const t=a>e?a-e:0;g.value=t},j=()=>{if(!p.value||!f.value)return;const e=f.value[`offset${O(F.value)}`],a=p.value[`offset${O(F.value)}`],t=g.value;if(e-t<=a)return;const l=e-t>2*a?t+a:e-a;g.value=l},K=async()=>{const e=f.value;if(!(y.value&&m.value&&p.value&&e))return;await v();const a=m.value.querySelector(".is-active");if(!a)return;const t=p.value,s=["top","bottom"].includes(l.props.tabPosition),o=a.getBoundingClientRect(),n=t.getBoundingClientRect(),r=s?e.offsetWidth-n.width:e.offsetHeight-n.height,i=g.value;let u=i;s?(o.leftn.right&&(u=i+o.right-n.right)):(o.topn.bottom&&(u=i+(o.bottom-n.bottom))),u=Math.max(u,0),g.value=Math.min(u,r)},L=()=>{var a;if(!f.value||!p.value)return;e.stretch&&(null==(a=h.value)||a.update());const t=f.value[`offset${O(F.value)}`],l=p.value[`offset${O(F.value)}`],s=g.value;l0&&(g.value=0))},V=e=>{const a=e.code,{up:t,down:l,left:s,right:o}=A;if(![t,l,s,o].includes(a))return;const n=Array.from(e.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),r=n.indexOf(e.target);let i;i=a===s||a===t?0===r?n.length-1:r-1:r{$.value&&(C.value=!0)},M=()=>C.value=!1;return c(o,(e=>{"hidden"===e?$.value=!1:"visible"===e&&setTimeout((()=>$.value=!0),50)})),c(n,(e=>{e?setTimeout((()=>$.value=!0),50):$.value=!1})),b(m,L),T((()=>setTimeout((()=>K()),0))),k((()=>L())),a({scrollToActiveTab:K,removeFocus:M}),()=>{const a=y.value?[B("span",{class:[s.e("nav-prev"),s.is("disabled",!y.value.prev)],onClick:q},[B(N,null,{default:()=>[B(E,null,null)]})]),B("span",{class:[s.e("nav-next"),s.is("disabled",!y.value.next)],onClick:j},[B(N,null,{default:()=>[B(S,null,null)]})])]:null,o=e.panes.map(((a,o)=>{var n,r,i,u;const d=a.uid,c=a.props.disabled,v=null!=(r=null!=(n=a.props.name)?n:a.index)?r:`${o}`,b=!c&&(a.isClosable||e.editable);a.index=`${o}`;const p=b?B(N,{class:"is-icon-close",onClick:e=>t("tabRemove",a,e)},{default:()=>[B(R,null,null)]}):null,f=(null==(u=(i=a.slots).label)?void 0:u.call(i))||a.props.label,m=!c&&a.active?0:-1;return B("div",{ref:`tab-${d}`,class:[s.e("item"),s.is(l.props.tabPosition),s.is("active",a.active),s.is("disabled",c),s.is("closable",b),s.is("focus",C.value)],id:`tab-${v}`,key:`tab-${d}`,"aria-controls":`pane-${v}`,role:"tab","aria-selected":a.active,tabindex:m,onFocus:()=>z(),onBlur:()=>M(),onClick:e=>{M(),t("tabClick",a,v,e)},onKeydown:e=>{!b||e.code!==A.delete&&e.code!==A.backspace||t("tabRemove",a,e)}},[f,p])}));return B("div",{ref:m,class:[s.e("nav-wrap"),s.is("scrollable",!!y.value),s.is(l.props.tabPosition)]},[a,B("div",{class:s.e("nav-scroll"),ref:p},[B("div",{class:[s.e("nav"),s.is(l.props.tabPosition),s.is("stretch",e.stretch&&["top","bottom"].includes(l.props.tabPosition))],ref:f,style:_.value,role:"tablist",onKeydown:V},[e.type?null:B(ae,{ref:h,tabs:[...e.panes]},null),o])])])}}}),oe=l({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:s(Function),default:()=>!0},stretch:Boolean}),ne=e=>L(e)||V(e),re=n({name:"ElTabs",props:oe,emits:{[j]:e=>ne(e),tabClick:(e,a)=>a instanceof Event,tabChange:e=>ne(e),edit:(e,a)=>["remove","add"].includes(a),tabRemove:e=>ne(e),tabAdd:()=>!0},setup(e,{emit:a,slots:t,expose:l}){var s;const o=u("tabs"),n=w((()=>["left","right"].includes(e.tabPosition))),{children:r,addChild:i,removeChild:b}=Z($(),"ElTabPane"),p=d(),f=d(null!=(s=e.modelValue)?s:"0"),m=async(t,l=!1)=>{var s,o,n;if(f.value!==t&&!K(t))try{!1!==await(null==(s=e.beforeLeave)?void 0:s.call(e,t,f.value))&&(f.value=t,l&&(a(j,t),a("tabChange",t)),null==(n=null==(o=p.value)?void 0:o.removeFocus)||n.call(o))}catch(r){}},h=(e,t,l)=>{e.props.disabled||(m(t,!0),a("tabClick",e,l))},y=(e,t)=>{e.props.disabled||K(e.props.name)||(t.stopPropagation(),a("edit",e.props.name,"remove"),a("tabRemove",e.props.name))},g=()=>{a("edit",void 0,"add"),a("tabAdd")};c((()=>e.modelValue),(e=>m(e))),c(f,(async()=>{var e;await v(),null==(e=p.value)||e.scrollToActiveTab()})),F(D,{props:e,currentName:f,registerPane:e=>{r.value.push(e)},sortPane:i,unregisterPane:b}),l({currentName:f});const C=({render:e})=>e();return()=>{const a=t["add-icon"],l=e.editable||e.addable?B("div",{class:[o.e("new-tab"),n.value&&o.e("new-tab-vertical")],tabindex:"0",onClick:g,onKeydown:e=>{e.code===A.enter&&g()}},[a?_(t,"add-icon"):B(N,{class:o.is("icon-plus")},{default:()=>[B(q,null,null)]})]):null,s=B("div",{class:[o.e("header"),n.value&&o.e("header-vertical"),o.is(e.tabPosition)]},[B(C,{render:()=>{const a=r.value.some((e=>e.slots.label));return B(se,{ref:p,currentName:f.value,editable:e.editable,type:e.type,panes:r.value,stretch:e.stretch,onTabClick:h,onTabRemove:y},{$stable:!a})}},null),l]),i=B("div",{class:o.e("content")},[_(t,"default")]);return B("div",{class:[o.b(),o.m(e.tabPosition),{[o.m("card")]:"card"===e.type,[o.m("border-card")]:"border-card"===e.type}]},[i,s])}}}),ie=l({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),ue="ElTabPane",de=n({name:ue});var ce=C(n({...de,props:ie,setup(e){const a=e,t=$(),l=z(),s=r(D);s||i(ue,"usage: ");const o=u("tab-pane"),n=d(),v=w((()=>a.closable||s.props.closable)),b=M((()=>{var e;return s.currentName.value===(null!=(e=a.name)?e:n.value)})),p=d(b.value),g=w((()=>{var e;return null!=(e=a.name)?e:n.value})),C=M((()=>!a.lazy||p.value||b.value));c(b,(e=>{e&&(p.value=!0)}));const P=U({uid:t.uid,slots:l,props:a,paneName:g,active:b,index:n,isClosable:v});return s.registerPane(P),T((()=>{s.sortPane(P)})),W((()=>{s.unregisterPane(P.uid)})),(e,a)=>y(C)?X((f(),m("div",{key:0,id:`pane-${y(g)}`,class:h(y(o).b()),role:"tabpanel","aria-hidden":!y(b),"aria-labelledby":`tab-${y(g)}`},[_(e.$slots,"default")],10,["id","aria-hidden","aria-labelledby"])),[[Y,y(b)]]):G("v-if",!0)}}),[["__file","tab-pane.vue"]]);const ve=H(re,{TabPane:ce}),be=J(ce);export{be as E,ve as a}; diff --git a/static/js/el-tag.CLWce1kX.js b/static/js/el-tag.CLWce1kX.js new file mode 100644 index 0000000000000000000000000000000000000000..eec42e18b1c729824cdcc4252062232a152719ea --- /dev/null +++ b/static/js/el-tag.CLWce1kX.js @@ -0,0 +1 @@ +import{b as s,bU as a,d as e,R as o,a as l,B as n,c as t,e as c,k as i,f as r,n as u,g as p,l as d,w as f,a0 as m,a7 as k,ad as b,E as g,a1 as y,G as v,T as C,_,s as h}from"./index.9PHSMUIB.js";const B=s({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:a},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),E={close:s=>s instanceof MouseEvent,click:s=>s instanceof MouseEvent},T=e({name:"ElTag"});const S=h(_(e({...T,props:B,emits:E,setup(s,{emit:a}){const e=s,_=o(),h=l("tag"),B=n((()=>{const{type:s,hit:a,effect:o,closable:l,round:n}=e;return[h.b(),h.is("closable",l),h.m(s||"primary"),h.m(_.value),h.m(o),h.is("hit",a),h.is("round",n)]})),E=s=>{a("close",s)},T=s=>{a("click",s)},S=s=>{s.component.subTree.component.bum=null};return(s,a)=>s.disableTransitions?(t(),c("span",{key:0,class:u(p(B)),style:v({backgroundColor:s.color}),onClick:T},[i("span",{class:u(p(h).e("content"))},[r(s.$slots,"default")],2),s.closable?(t(),d(p(g),{key:0,class:u(p(h).e("close")),onClick:b(E,["stop"])},{default:f((()=>[m(p(k))])),_:1},8,["class","onClick"])):y("v-if",!0)],6)):(t(),d(C,{key:1,name:`${p(h).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:S},{default:f((()=>[i("span",{class:u(p(B)),style:v({backgroundColor:s.color}),onClick:T},[i("span",{class:u(p(h).e("content"))},[r(s.$slots,"default")],2),s.closable?(t(),d(p(g),{key:0,class:u(p(h).e("close")),onClick:b(E,["stop"])},{default:f((()=>[m(p(k))])),_:1},8,["class","onClick"])):y("v-if",!0)],6)])),_:3},8,["name"]))}}),[["__file","tag.vue"]]));export{S as E,B as t}; diff --git a/static/js/el-tooltip.l0sNRNKZ.js b/static/js/el-tooltip.l0sNRNKZ.js new file mode 100644 index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc --- /dev/null +++ b/static/js/el-tooltip.l0sNRNKZ.js @@ -0,0 +1 @@ + diff --git a/static/js/eye-open.CM4cKp-R.js b/static/js/eye-open.CM4cKp-R.js new file mode 100644 index 0000000000000000000000000000000000000000..c56c012c1dcfdac9858239e8e1d229b3dbd3761d --- /dev/null +++ b/static/js/eye-open.CM4cKp-R.js @@ -0,0 +1 @@ +const t="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='128'%20height='128'%3e%3cpath%20d='M512%20128q69.675%200%20135.51%2021.163t115.498%2054.997%2093.483%2074.837%2073.685%2082.006%2051.67%2074.837%2032.17%2054.827L1024%20512q-2.347%204.992-6.315%2013.483T998.87%20560.17t-31.658%2051.669-44.331%2059.99-56.832%2064.34-69.504%2060.16-82.347%2051.5-94.848%2034.687T512%20896q-69.675%200-135.51-21.163t-115.498-54.826-93.483-74.326-73.685-81.493-51.67-74.496-32.17-54.997L0%20513.707q2.347-4.992%206.315-13.483t18.816-34.816%2031.658-51.84%2044.331-60.33%2056.832-64.683%2069.504-60.331%2082.347-51.84%2094.848-34.816T512%20128.085zm0%2085.333q-46.677%200-91.648%2012.331t-81.152%2031.83-70.656%2047.146-59.648%2054.485-48.853%2057.686-37.675%2052.821-26.325%2043.99q12.33%2021.674%2026.325%2043.52t37.675%2052.351%2048.853%2057.003%2059.648%2053.845T339.2%20767.02t81.152%2031.488T512%20810.667t91.648-12.331%2081.152-31.659%2070.656-46.848%2059.648-54.186%2048.853-57.344%2037.675-52.651T927.957%20512q-12.33-21.675-26.325-43.648t-37.675-52.65-48.853-57.345-59.648-54.186-70.656-46.848-81.152-31.659T512%20213.334zm0%20128q70.656%200%20120.661%2050.006T682.667%20512%20632.66%20632.661%20512%20682.667%20391.339%20632.66%20341.333%20512t50.006-120.661T512%20341.333zm0%2085.334q-35.328%200-60.33%2025.002T426.666%20512t25.002%2060.33T512%20597.334t60.33-25.002T597.334%20512t-25.002-60.33T512%20426.666z'/%3e%3c/svg%3e";export{t as default}; diff --git a/static/js/eye.DqRz4sMZ.js b/static/js/eye.DqRz4sMZ.js new file mode 100644 index 0000000000000000000000000000000000000000..1f0d88f591e1b2b46ce96a25204fbc0a16de11cb --- /dev/null +++ b/static/js/eye.DqRz4sMZ.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20width='128'%20height='64'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M127.072%207.994c1.37-2.208.914-5.152-.914-6.87-2.056-1.717-4.797-1.226-6.396.982-.229.245-25.586%2032.382-55.74%2032.382-29.24%200-55.74-32.382-55.968-32.627-1.6-1.963-4.57-2.208-6.397-.49C-.17%203.086-.399%206.275%201.2%208.238c.457.736%205.94%207.36%2014.62%2014.72L4.17%2035.96c-1.828%201.963-1.6%205.152.228%206.87.457.98%201.6%201.471%202.742%201.471s2.284-.49%203.198-1.472l12.564-13.983c5.94%204.416%2013.021%208.587%2020.788%2011.53l-4.797%2017.418c-.685%202.699.686%205.397%203.198%206.133h1.37c2.057%200%203.884-1.472%204.341-3.68L52.6%2042.83c3.655.736%207.538%201.227%2011.422%201.227%203.883%200%207.767-.49%2011.422-1.227l4.797%2017.173c.457%202.208%202.513%203.68%204.34%203.68.457%200%20.914%200%201.143-.246%202.513-.736%203.883-3.434%203.198-6.133l-4.797-17.172c7.767-2.944%2014.848-7.114%2020.788-11.53l12.336%2013.738c.913.981%202.056%201.472%203.198%201.472s2.284-.49%203.198-1.472c1.828-1.963%201.828-4.906.228-6.87l-11.65-13.001c9.366-7.36%2014.849-14.474%2014.849-14.474z'/%3e%3c/svg%3e";export{c as default}; diff --git a/static/js/fullscreen-exit.DXwCcaMo.js b/static/js/fullscreen-exit.DXwCcaMo.js new file mode 100644 index 0000000000000000000000000000000000000000..2fdb1d53ef53af13758df6be2e397a7eabe31bc7 --- /dev/null +++ b/static/js/fullscreen-exit.DXwCcaMo.js @@ -0,0 +1 @@ +const v="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='currentColor'%3e%3cpath%20d='M18%207h4v2h-6V3h2v4zM8%209H2V7h4V3h2v6zm10%208v4h-2v-6h6v2h-4zM8%2015v6H6v-4H2v-2h6z'/%3e%3c/svg%3e";export{v as default}; diff --git a/static/js/fullscreen.dczNRBeD.js b/static/js/fullscreen.dczNRBeD.js new file mode 100644 index 0000000000000000000000000000000000000000..30923935353250b47642ae09a59c988dac3cd4d4 --- /dev/null +++ b/static/js/fullscreen.dczNRBeD.js @@ -0,0 +1 @@ +const v="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='currentColor'%3e%3cpath%20d='M8%203v2H4v4H2V3h6zM2%2021v-6h2v4h4v2H2zm20%200h-6v-2h4v-4h2v6zm0-12h-2V5h-4V3h6v6z'/%3e%3c/svg%3e";export{v as default}; diff --git a/static/js/github.DLO2QQQy.js b/static/js/github.DLO2QQQy.js new file mode 100644 index 0000000000000000000000000000000000000000..7db0dfa052195d48851061ffddf94e7c0d05cdc1 --- /dev/null +++ b/static/js/github.DLO2QQQy.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cpath%20d='M511.543%2014.057C228.914%2013.943%200%20242.743%200%20525.143%200%20748.457%20143.2%20938.286%20342.629%201008c26.857%206.743%2022.742-12.343%2022.742-25.371v-88.572C210.286%20912.23%20204%20809.6%20193.6%20792.457c-21.029-35.886-70.743-45.028-55.886-62.171%2035.315-18.172%2071.315%204.571%20113.029%2066.171%2030.171%2044.686%2089.028%2037.143%20118.857%2029.714%206.514-26.857%2020.457-50.857%2039.657-69.485C248.571%20727.886%20181.6%20629.829%20181.6%20513.257c0-56.571%2018.629-108.571%2055.2-150.514-23.314-69.143%202.171-128.343%205.6-137.143%2066.4-5.943%20135.429%2047.543%20140.8%2051.771C420.914%20267.2%20464%20261.83%20512.229%20261.83c48.457%200%2091.657%205.6%20129.714%2015.885%2012.914-9.828%2076.914-55.771%20138.628-50.171%203.315%208.8%2028.229%2066.628%206.286%20134.857%2037.029%2042.057%2055.886%2094.514%2055.886%20151.2%200%20116.8-67.429%20214.971-228.572%20243.314a145.714%20145.714%200%200%201%2043.543%20104v128.572c.915%2010.285%200%2020.457%2017.143%2020.457%20202.4-68.229%20348.114-259.429%20348.114-484.686%200-282.514-229.028-511.2-511.428-511.2z'/%3e%3c/svg%3e";export{c as default}; diff --git a/static/js/homepage.BcyYp1IG.js b/static/js/homepage.BcyYp1IG.js new file mode 100644 index 0000000000000000000000000000000000000000..443dc3d789a3fdd5941242f0bf71580db096f7ed --- /dev/null +++ b/static/js/homepage.BcyYp1IG.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cpath%20d='M958.401%20451.55a20.01%2020.01%200%200%200-6.966-14.972L524.345%2069.511c-7.499-6.446-18.581-6.446-26.08%200L309.583%20231.676V129.657c0-11.05-8.902-19.533-19.952-19.533h-88.034c-11.048%200-19.928%208.482-19.928%2019.533v211.954L71.176%20436.578a20.003%2020.003%200%200%200-6.968%2015.174v105.5a20.007%2020.007%200%200%200%2033.052%2015.172l53.298-45.826V850.7c0%2060.678%2049.364%20110.042%20110.042%20110.042h504.192c60.678%200%20110.043-49.364%20110.043-110.042V527.026l51.586%2044.336a20.001%2020.001%200%200%200%2021.48%202.966%2020.006%2020.006%200%200%200%2011.566-18.343l-1.066-104.436zM221.579%20150.033h48.095v115.942l-48.095%2041.336V150.034zm349.14%20770.692H436.665V700.642c0-11.03%208.977-20.007%2020.008-20.007h94.036c11.03%200%2020.007%208.976%2020.007%2020.007v220.084zm264.1-424.83v354.803c0%2038.612-31.415%2070.027-70.028%2070.027H610.733V700.642c0-33.096-26.927-60.023-60.023-60.023h-94.036c-33.097%200-60.023%2026.927-60.023%2060.023v220.085H260.599c-38.612%200-70.027-31.415-70.027-70.027V495.895a20.07%2020.07%200%200%200-.315-3.432L512.37%20215.504l322.703%20277.349a20.158%2020.158%200%200%200-.255%203.042zM525.41%20173.947c-7.502-6.446-18.587-6.447-26.086.003l-395.1%20339.714v-52.727l407.081-349.87%20407.177%20349.952.522%2051.205L525.41%20173.948z'/%3e%3c/svg%3e";export{c as default}; diff --git a/static/js/icon-selector.B8xqxj5a.js b/static/js/icon-selector.B8xqxj5a.js new file mode 100644 index 0000000000000000000000000000000000000000..790eff9a0400eaf43d2330663f1bb3b41de1e5ed --- /dev/null +++ b/static/js/icon-selector.B8xqxj5a.js @@ -0,0 +1 @@ +import{b as e,b6 as s,d as t,B as o,a,r as i,g as l,D as n,c as r,l as _,w as p,e as c,n as u,t as d,a1 as m,f as v,a4 as f,x as g,_ as E,bi as b,s as V,k as h,au as j,bj as A,bk as R,o as O,a0 as D,m as I,aO as P,Z as T,a6 as L,O as y,P as w,G as x,am as k,av as C,E as S,a2 as U,bl as B}from"./index.9PHSMUIB.js";import{a as $,u as z,E as N}from"./el-popper.e9kr8u9Q.js";import{E as q,a as G}from"./el-tabs.DDmXOrX8.js";import{E as H}from"./el-scrollbar.DlPh6Z7D.js";import"./el-tooltip.l0sNRNKZ.js";import{S as W}from"./index.B2Hg7VBR.js";import{d as Z}from"./dropdown.CqG_2FXV.js";import{_ as F}from"./_plugin-vue_export-helper.BCo6x5W8.js";import{E as J}from"./el-link.BTv-HaC_.js";import"./index.D6nSmJHY.js";import"./isUndefined.DgmxjSXK.js";import"./strings.CQ_np2th.js";const M=e({trigger:$.trigger,placement:Z.placement,disabled:$.disabled,visible:z.visible,transition:z.transition,popperOptions:Z.popperOptions,tabindex:Z.tabindex,content:z.content,popperStyle:z.popperStyle,popperClass:z.popperClass,enterable:{...z.enterable,default:!0},effect:{...z.effect,default:"light"},teleported:z.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}}),X={"update:visible":e=>s(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},Y=t({name:"ElPopover"}),K=t({...Y,props:M,emits:X,setup(e,{expose:s,emit:t}){const E=e,b=o((()=>E["onUpdate:visible"])),V=a("popover"),h=i(),j=o((()=>{var e;return null==(e=l(h))?void 0:e.popperRef})),A=o((()=>[{width:n(E.width)},E.popperStyle])),R=o((()=>[V.b(),E.popperClass,{[V.m("plain")]:!!E.content}])),O=o((()=>E.transition===`${V.namespace.value}-fade-in-linear`)),D=()=>{t("before-enter")},I=()=>{t("before-leave")},P=()=>{t("after-enter")},T=()=>{t("update:visible",!1),t("after-leave")};return s({popperRef:j,hide:()=>{var e;null==(e=h.value)||e.hide()}}),(e,s)=>(r(),_(l(N),g({ref_key:"tooltipRef",ref:h},e.$attrs,{trigger:e.trigger,placement:e.placement,disabled:e.disabled,visible:e.visible,transition:e.transition,"popper-options":e.popperOptions,tabindex:e.tabindex,content:e.content,offset:e.offset,"show-after":e.showAfter,"hide-after":e.hideAfter,"auto-close":e.autoClose,"show-arrow":e.showArrow,"aria-label":e.title,effect:e.effect,enterable:e.enterable,"popper-class":l(R),"popper-style":l(A),teleported:e.teleported,persistent:e.persistent,"gpu-acceleration":l(O),"onUpdate:visible":l(b),onBeforeShow:D,onBeforeHide:I,onShow:P,onHide:T}),{content:p((()=>[e.title?(r(),c("div",{key:0,class:u(l(V).e("title")),role:"title"},d(e.title),3)):m("v-if",!0),v(e.$slots,"default",{},(()=>[f(d(e.content),1)]))])),default:p((()=>[e.$slots.reference?v(e.$slots,"reference",{key:0}):m("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"]))}});const Q=(e,s)=>{const t=s.arg||s.value,o=null==t?void 0:t.popperRef;o&&(o.triggerRef=e)};const ee=V(E(K,[["__file","popover.vue"]]),{directive:b({mounted(e,s){Q(e,s)},updated(e,s){Q(e,s)}},"popover")}),se={viewBox:"0 0 1024 1024",width:"1.2em",height:"1.2em"};const te={name:"ep-caret-bottom",render:function(e,s){return r(),c("svg",se,s[0]||(s[0]=[h("path",{fill:"currentColor",d:"m192 384l320 384l320-384z"},null,-1)]))}},oe={viewBox:"0 0 1024 1024",width:"1.2em",height:"1.2em"};const ae={name:"ep-caret-top",render:function(e,s){return r(),c("svg",oe,s[0]||(s[0]=[h("path",{fill:"currentColor",d:"M512 320L192 704h639.936z"},null,-1)]))}},ie={class:"flex flex-wrap"},le=["onClick"],ne={class:"flex flex-wrap"},re=["onClick"],_e=F(t({__name:"index",props:{modelValue:{type:String,require:!1,default:""},width:{type:String,require:!1,default:"500px"}},emits:["update:modelValue"],setup(e,{emit:s}){const t=e,o=s,a=j(t,"modelValue"),n=j(t,"width"),u=i(),d=i(),m=i("svg"),v=i(""),f=i(!1),g=[],E=i([]),b=i(A);function V(e){m.value=e.name,$()}function $(){"svg"===m.value&&(E.value=v.value?g.filter((e=>e.includes(v.value))):g)}function z(e){"element"===m.value&&(e="el-icon-"+e),o("update:modelValue",e),f.value=!1}R(u,(()=>f.value=!1),{ignore:[d]});const Z=e=>{const s=A[e];return s&&s.name?k(C(s.name)):null};return O((()=>{!function(){const e=Object.assign({"../../assets/icons/api.svg":()=>B((()=>import("./api.B2FJMEEY.js")),[]),"../../assets/icons/captcha.svg":()=>B((()=>import("./captcha.KixZeTLs.js")),[]),"../../assets/icons/cascader.svg":()=>B((()=>import("./cascader.Bxy7lIuJ.js")),[]),"../../assets/icons/client.svg":()=>B((()=>import("./client.fwafuIJ_.js")),[]),"../../assets/icons/close.svg":()=>B((()=>import("./close.3A3CTE27.js")),[]),"../../assets/icons/close_all.svg":()=>B((()=>import("./close_all.CpAPdWg9.js")),[]),"../../assets/icons/close_left.svg":()=>B((()=>import("./close_left.FPCWsnfT.js")),[]),"../../assets/icons/close_other.svg":()=>B((()=>import("./close_other.CtMgS35C.js")),[]),"../../assets/icons/close_right.svg":()=>B((()=>import("./close_right.WYLOaSAD.js")),[]),"../../assets/icons/dict.svg":()=>B((()=>import("./dict.BlxtrVRf.js")),[]),"../../assets/icons/document.svg":()=>B((()=>import("./document.DqID0E9P.js")),[]),"../../assets/icons/download.svg":()=>B((()=>import("./download.BcBrriOr.js")),[]),"../../assets/icons/edit.svg":()=>B((()=>import("./edit.D3u4lddN.js")),[]),"../../assets/icons/eye-open.svg":()=>B((()=>import("./eye-open.CM4cKp-R.js")),[]),"../../assets/icons/eye.svg":()=>B((()=>import("./eye.DqRz4sMZ.js")),[]),"../../assets/icons/fullscreen-exit.svg":()=>B((()=>import("./fullscreen-exit.DXwCcaMo.js")),[]),"../../assets/icons/fullscreen.svg":()=>B((()=>import("./fullscreen.dczNRBeD.js")),[]),"../../assets/icons/github.svg":()=>B((()=>import("./github.DLO2QQQy.js")),[]),"../../assets/icons/homepage.svg":()=>B((()=>import("./homepage.BcyYp1IG.js")),[]),"../../assets/icons/indent-decrease.svg":()=>B((()=>import("./indent-decrease.ROHmwAah.js")),[]),"../../assets/icons/ip.svg":()=>B((()=>import("./ip.CWc5zJw-.js")),[]),"../../assets/icons/language.svg":()=>B((()=>import("./language.k0ZPy50U.js")),[]),"../../assets/icons/link.svg":()=>B((()=>import("./link.BEFJAS5U.js")),[]),"../../assets/icons/lock.svg":()=>B((()=>import("./lock.CY-ba69F.js")),[]),"../../assets/icons/menu.svg":()=>B((()=>import("./menu.CSAxtYMZ.js")),[]),"../../assets/icons/message.svg":()=>B((()=>import("./message.DnO64dGf.js")),[]),"../../assets/icons/money.svg":()=>B((()=>import("./money.eznkHcT4.js")),[]),"../../assets/icons/monitor.svg":()=>B((()=>import("./monitor.Cm5WDh5_.js")),[]),"../../assets/icons/moon.svg":()=>B((()=>import("./moon.BACaCO3C.js")),[]),"../../assets/icons/order.svg":()=>B((()=>import("./order.BSEhtWEN.js")),[]),"../../assets/icons/peoples.svg":()=>B((()=>import("./peoples.B_DDm2CM.js")),[]),"../../assets/icons/project.svg":()=>B((()=>import("./project.BeKcDOO0.js")),[]),"../../assets/icons/publish.svg":()=>B((()=>import("./publish.B4gIpoLD.js")),[]),"../../assets/icons/refresh.svg":()=>B((()=>import("./refresh.B5ExwFoE.js")),[]),"../../assets/icons/role.svg":()=>B((()=>import("./role.DDpGZwDf.js")),[]),"../../assets/icons/security.svg":()=>B((()=>import("./security.CPhpJrut.js")),[]),"../../assets/icons/setting.svg":()=>B((()=>import("./setting.CfydkD5J.js")),[]),"../../assets/icons/size.svg":()=>B((()=>import("./size.C48ZYpz_.js")),[]),"../../assets/icons/sunny.svg":()=>B((()=>import("./sunny.Cx4iEVwd.js")),[]),"../../assets/icons/system.svg":()=>B((()=>import("./system.BjyKXCM4.js")),[]),"../../assets/icons/table.svg":()=>B((()=>import("./table.C6Xt0YCE.js")),[]),"../../assets/icons/todolist.svg":()=>B((()=>import("./todolist.CQls5pqo.js")),[]),"../../assets/icons/tree.svg":()=>B((()=>import("./tree.ByH7Oq4A.js")),[]),"../../assets/icons/user.svg":()=>B((()=>import("./user.m7vGTRps.js")),[]),"../../assets/icons/visit.svg":()=>B((()=>import("./visit.BtczcFYa.js")),[])});for(const s in e){const e=s.replace(/.*\/(.*)\.svg$/,"$1");g.push(e)}E.value=g}()})),(e,s)=>{const t=S,o=W,i=U,g=ae,j=te,A=N,R=H,O=G,k=ee;return r(),c("div",{ref_key:"iconSelectRef",ref:u,style:x("width:"+l(n)),class:"relative"},[D(i,{modelValue:l(a),"onUpdate:modelValue":s[0]||(s[0]=e=>P(a)?a.value=e:null),readonly:"",placeholder:"点击选择图标",onClick:s[1]||(s[1]=e=>f.value=!l(f))},{prepend:p((()=>[l(a)&&l(a).startsWith("el-icon-")?(r(),_(t,{key:0},{default:p((()=>[(r(),_(I(Z(l(a).replace("el-icon-","")))))])),_:1})):(r(),_(o,{key:1,"icon-class":l(a)},null,8,["icon-class"]))])),_:1},8,["modelValue"]),D(k,{popoverVisible:l(f),placement:"bottom-end",trigger:"click",width:l(n)},{reference:p((()=>[h("div",{class:"cursor-pointer text-[#999] absolute-rt height-[32px] leading-[32px] px-1",onClick:s[2]||(s[2]=e=>f.value=!l(f))},[T(D(g,null,null,512),[[L,l(f)]]),T(D(j,null,null,512),[[L,!l(f)]])])])),default:p((()=>[h("div",{ref_key:"popoverContentRef",ref:d},[D(i,{modelValue:l(v),"onUpdate:modelValue":s[3]||(s[3]=e=>P(v)?v.value=e:null),placeholder:"搜索图标",clearable:"",onInput:$},null,8,["modelValue"]),D(O,{modelValue:l(m),"onUpdate:modelValue":s[4]||(s[4]=e=>P(m)?m.value=e:null),onTabClick:V},{default:p((()=>[D(l(q),{label:"SVG 图标",name:"svg"},{default:p((()=>[D(R,{height:"300px"},{default:p((()=>[h("ul",ie,[(r(!0),c(y,null,w(l(E),((e,s)=>(r(),c("li",{key:"svg-"+s,class:"icon-item",onClick:s=>z(e)},[D(A,{content:e,placement:"bottom",effect:"light"},{default:p((()=>[D(o,{"icon-class":e},null,8,["icon-class"])])),_:2},1032,["content"])],8,le)))),128))])])),_:1})])),_:1}),D(l(q),{label:"Element 图标",name:"element"},{default:p((()=>[D(R,{height:"300px"},{default:p((()=>[h("ul",ne,[(r(!0),c(y,null,w(l(b),((e,s)=>(r(),c("li",{key:s,class:"icon-item",onClick:e=>z(s)},[D(t,null,{default:p((()=>[(r(),_(I(e)))])),_:2},1024)],8,re)))),128))])])),_:1})])),_:1})])),_:1},8,["modelValue"])],512)])),_:1},8,["popoverVisible","width"])],4)}}}),[["__scopeId","data-v-4c8c9009"]]),pe={class:"app-container"},ce=t({__name:"icon-selector",setup(e){const s=i("edit");return(e,t)=>{const o=J,a=_e;return r(),c("div",pe,[D(o,{href:"https://gitee.com/youlaiorg/vue3-element-admin/blob/master/src/views/demo/icon-selector.vue",type:"primary",target:"_blank",class:"mb-10"},{default:p((()=>t[1]||(t[1]=[f("示例源码 请点击>>>>")]))),_:1}),D(a,{modelValue:l(s),"onUpdate:modelValue":t[0]||(t[0]=e=>P(s)?s.value=e:null)},null,8,["modelValue"])])}}});export{ce as default}; diff --git a/static/js/icons.DgB57Xkx.js b/static/js/icons.DgB57Xkx.js new file mode 100644 index 0000000000000000000000000000000000000000..58be8821ed39f06b0459a5ab34640a0d3cf1c3f3 --- /dev/null +++ b/static/js/icons.DgB57Xkx.js @@ -0,0 +1 @@ +import{d as e,r as s,bj as n,bm as o,c as t,e as a,a0 as l,w as i,k as c,O as r,P as d,t as p,g as u,l as m,m as f,aA as _,E as g}from"./index.9PHSMUIB.js";import{E as y,a as v}from"./el-tabs.DDmXOrX8.js";import"./el-tooltip.l0sNRNKZ.js";import{E as k}from"./el-popper.e9kr8u9Q.js";import{S as j}from"./index.B2Hg7VBR.js";import{_ as b}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./strings.CQ_np2th.js";import"./index.D6nSmJHY.js";import"./isUndefined.DgmxjSXK.js";const h={class:"icons-container"},x={class:"grid"},C=["onClick"],w={class:"icon-item"},E={class:"grid"},I=["onClick"],z={class:"icon-item"},A=b(e({name:"Icons",inheritAttrs:!1,__name:"icons",setup(e){const b=["api","cascader","client","close","close_all","close_left","close_other","close_right","dict","document","download","drag","edit","exit-fullscreen","eye-open","eye","fullscreen","github","homepage","language","link","menu","message","money","monitor","order","password","peoples","perm","publish","role","security","size","skill","system","tree","user","uv","verify-code"],A=s(n),{copy:U}=o();function $(e){return``}function D(e){return`<${e} />`}function J(e,s){U(e).then((()=>{_.success("Copy successfully")})).catch((()=>{_.warning("Copy failed")}))}return(e,s)=>{const n=k,o=y,_=g,U=v;return t(),a("div",h,[l(U,{type:"border-card"},{default:i((()=>[l(o,{label:"Icons"},{default:i((()=>[c("div",x,[(t(),a(r,null,d(b,(e=>c("div",{key:e,onClick:s=>J($(e))},[l(n,{effect:"dark",content:$(e),placement:"top"},{default:i((()=>[c("div",w,[l(j,{"icon-class":e},null,8,["icon-class"]),c("span",null,p(e),1)])])),_:2},1032,["content"])],8,C))),64))])])),_:1}),l(o,{label:"Element-UI Icons"},{default:i((()=>[c("div",E,[(t(!0),a(r,null,d(u(A),((e,s)=>(t(),a("div",{key:s,onClick:e=>J(D(s))},[l(n,{effect:"dark",content:D(s),placement:"top"},{default:i((()=>[c("div",z,[l(_,{size:20},{default:i((()=>[(t(),m(f(e)))])),_:2},1024),c("span",null,p(s),1)])])),_:2},1032,["content"])],8,I)))),128))])])),_:1})])),_:1})])}}}),[["__scopeId","data-v-e1dbd652"]]);export{A as default}; diff --git a/static/js/indent-decrease.ROHmwAah.js b/static/js/indent-decrease.ROHmwAah.js new file mode 100644 index 0000000000000000000000000000000000000000..570fb97b509aa8459e50abba6e3ddf9f34c34408 --- /dev/null +++ b/static/js/indent-decrease.ROHmwAah.js @@ -0,0 +1 @@ +const v="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='currentColor'%3e%3cpath%20d='M3%204h18v2H3V4zm0%2015h18v2H3v-2zm8-5h10v2H11v-2zm0-5h10v2H11V9zm-8%203.5L7%209v7l-4-3.5z'/%3e%3c/svg%3e";export{v as default}; diff --git a/static/js/index.9PHSMUIB.js b/static/js/index.9PHSMUIB.js new file mode 100644 index 0000000000000000000000000000000000000000..52c734ea3bf4e725f8806725850585d5dff9535e --- /dev/null +++ b/static/js/index.9PHSMUIB.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/index.BBNS_uLM.js","js/el-switch.zYake_dz.js","js/el-popper.e9kr8u9Q.js","js/index.D6nSmJHY.js","js/isUndefined.DgmxjSXK.js","css/el-popper.DG5wR-qi.css","js/el-scrollbar.DlPh6Z7D.js","css/el-scrollbar.BWxh-h6K.css","js/index.B2Hg7VBR.js","js/_plugin-vue_export-helper.BCo6x5W8.js","css/index.B4dlp3f2.css","js/dropdown.CqG_2FXV.js","js/castArray.BN0gQOTw.js","js/refs.CNClepWF.js","css/el-switch.CG96k8Rh.css","js/el-tooltip.l0sNRNKZ.js","js/position.CopxYfyp.js","js/index.D7zGuEZp.js","js/debounce.i1DMUZzi.js","js/use-dialog.CybRpRek.js","css/index.DZhVAj3G.css","js/index.BfcEpzPY.js","js/el-card.DWbysKpS.js","css/el-card.fwQOLwdi.css","js/el-form-item.UpoTeuOf.js","js/_initCloneObject.cf8iq1wq.js","css/el-form-item.uSAh9oyp.css","js/el-image-viewer.Ck07Xbtu.js","css/el-image-viewer.BJ_nFYFt.css","js/el-tag.CLWce1kX.js","css/el-tag.DljBBxJR.css","css/index.Dwigi1cb.css","js/index.9UoVjQ1v.js","js/el-col.DNKSa6YX.js","css/el-col.Ds2mGN2S.css","css/index.Byi5FQj0.css","js/401.2cRCE_5G.js","js/el-dialog.Dis4ipFy.js","css/el-dialog.DCGCHX2q.css","css/401.Vp_sG7yN.css","js/404.DlqBpkU7.js","css/404.Bs5Vzklw.css","js/BarChart.BhtXtCgr.js","js/index.DNYq9Wso.js","css/BarChart.ulyVC4La.css","js/FunnelChart.L2tIbyMX.js","js/PieChart.mgwtBU-p.js","js/RadarChart.TGxAW552.js","js/apifox.IXUmMSaC.js","css/apifox.CCvSwCIK.css","js/knife4j.C3XegEf8.js","css/knife4j.DRg4vOS3.css","js/swagger.BGskywol.js","css/swagger.eJ-qo84r.css","js/dict.B6ktMwQ2.js","js/el-select.dUFpYm6H.js","js/strings.CQ_np2th.js","js/isEqual.DDyRMzJ4.js","css/el-select.BaQA8IKP.css","js/el-link.BTv-HaC_.js","css/el-link.Dkj8bMmD.css","js/icon-selector.B8xqxj5a.js","js/el-tabs.DDmXOrX8.js","css/el-tabs.BURcj4qt.css","css/icon-selector.CD4iaxzs.css","js/icons.DgB57Xkx.js","css/icons.CBhJQ2Ib.css","js/internal-doc.B6eN2GGk.js","css/internal-doc.BdNudHKe.css","js/level3-1.veb2CjDd.js","js/el-alert.IAJrxUBM.js","css/el-alert.B9oGCRyi.css","js/level3-2.ehpMX2NG.js","js/level2.CXm5yCsd.js","js/level1.DbJgCAxV.js","js/signature.5Hv-l5jE.js","js/index.CM09xEA_.js","css/signature.C8sJe9y0.css","js/upload.DkIgLQ_p.js","css/upload.DT6Y7CcD.css","js/wang-editor.CovtB-Ke.js","css/wang-editor.nHDhGvq6.css","js/websocket.YJwVKVlt.js","css/websocket.BZkLAsTH.css","js/nodes.BvTKFj9V.js","js/el-table-column.haX2jq5s.js","css/el-table-column.BfJ1jZWA.css","js/node.B7CBv-vw.js","css/node.wSVBx8Lp.css","css/nodes.DzJW8z5F.css","js/subs.1dXoageE.js","js/temp.gJIG3-Be.js","css/subs.JwB3fIbV.css","js/template.iDasYWHy.js","css/template.DpE-mm8O.css","js/set.DCph2DiX.js","css/set.BMjHnBvk.css"])))=>i.map(i=>d[i]); +function e(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const t={},n=[],o=()=>{},r=()=>!1,a=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),s=Object.assign,i=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},c=Object.prototype.hasOwnProperty,u=(e,t)=>c.call(e,t),p=Array.isArray,d=e=>"[object Map]"===y(e),f=e=>"[object Set]"===y(e),h=e=>"[object Date]"===y(e),m=e=>"function"==typeof e,v=e=>"string"==typeof e,g=e=>"symbol"==typeof e,w=e=>null!==e&&"object"==typeof e,b=e=>(w(e)||m(e))&&m(e.then)&&m(e.catch),_=Object.prototype.toString,y=e=>_.call(e),x=e=>y(e).slice(8,-1),C=e=>"[object Object]"===y(e),M=e=>v(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,z=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),L=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},S=/-(\w)/g,E=L((e=>e.replace(S,((e,t)=>t?t.toUpperCase():"")))),k=/\B([A-Z])/g,A=L((e=>e.replace(k,"-$1").toLowerCase())),H=L((e=>e.charAt(0).toUpperCase()+e.slice(1))),T=L((e=>e?`on${H(e)}`:"")),V=(e,t)=>!Object.is(e,t),O=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},F=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let P;const R=()=>P||(P="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function I(e){if(p(e)){const t={};for(let n=0;n{if(e){const n=e.split(D);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function U(e){let t="";if(v(e))t=e;else if(p(e))for(let n=0;nK(e,t)))}const J=e=>!(!e||!0!==e.__v_isRef),X=e=>v(e)?e:null==e?"":p(e)||w(e)&&(e.toString===_||!m(e.toString))?J(e)?X(e.value):JSON.stringify(e,Z,2):String(e),Z=(e,t)=>J(t)?Z(e,t.value):d(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[Q(t,o)+" =>"]=n,e)),{})}:f(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>Q(e)))}:g(t)?Q(t):!w(t)||p(t)||C(t)?t:String(t),Q=(e,t="")=>{var n;return g(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};let ee,te;class ne{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ee,!e&&ee&&(this.index=(ee.scopes||(ee.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e0)return;if(ce){let e=ce;for(ce=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;ie;){let n=ie;for(ie=void 0;n;){const o=n.next;if(n.next=void 0,n.flags&=-9,1&n.flags)try{n.trigger()}catch(t){e||(e=t)}n=o}}if(e)throw e}function he(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function me(e){let t,n=e.depsTail,o=n;for(;o;){const e=o.prevDep;-1===o.version?(o===n&&(n=e),we(o),be(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=e}e.deps=t,e.depsTail=n}function ve(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ge(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ge(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===ze)return;e.globalVersion=ze;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!ve(e))return void(e.flags&=-3);const n=te,o=_e;te=e,_e=!0;try{he(e);const n=e.fn(e._value);(0===t.version||V(n,e._value))&&(e._value=n,t.version++)}catch(r){throw t.version++,r}finally{te=n,_e=o,me(e),e.flags&=-3}}function we(e,t=!1){const{dep:n,prevSub:o,nextSub:r}=e;if(o&&(o.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)we(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function be(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let _e=!0;const ye=[];function xe(){ye.push(_e),_e=!1}function Ce(){const e=ye.pop();_e=void 0===e||e}function Me(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=te;te=void 0;try{t()}finally{te=e}}}let ze=0;class Le{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Se{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!te||!_e||te===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==te)t=this.activeLink=new Le(te,this),te.deps?(t.prevDep=te.depsTail,te.depsTail.nextDep=t,te.depsTail=t):te.deps=te.depsTail=t,Ee(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=te.depsTail,t.nextDep=void 0,te.depsTail.nextDep=t,te.depsTail=t,te.deps===t&&(te.deps=e)}return t}trigger(e){this.version++,ze++,this.notify(e)}notify(e){de();try{0;for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{fe()}}}function Ee(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)Ee(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ke=new WeakMap,Ae=Symbol(""),He=Symbol(""),Te=Symbol("");function Ve(e,t,n){if(_e&&te){let t=ke.get(e);t||ke.set(e,t=new Map);let o=t.get(n);o||(t.set(n,o=new Se),o.map=t,o.key=n),o.track()}}function Oe(e,t,n,o,r,a){const l=ke.get(e);if(!l)return void ze++;const s=e=>{e&&e.trigger()};if(de(),"clear"===t)l.forEach(s);else{const r=p(e),a=r&&M(n);if(r&&"length"===n){const e=Number(o);l.forEach(((t,n)=>{("length"===n||n===Te||!g(n)&&n>=e)&&s(t)}))}else switch((void 0!==n||l.has(void 0))&&s(l.get(n)),a&&s(l.get(Te)),t){case"add":r?a&&s(l.get("length")):(s(l.get(Ae)),d(e)&&s(l.get(He)));break;case"delete":r||(s(l.get(Ae)),d(e)&&s(l.get(He)));break;case"set":d(e)&&s(l.get(Ae))}}fe()}function Be(e){const t=bt(e);return t===e?t:(Ve(t,0,Te),gt(e)?t:t.map(yt))}function Fe(e){return Ve(e=bt(e),0,Te),e}const Pe={__proto__:null,[Symbol.iterator](){return Re(this,Symbol.iterator,yt)},concat(...e){return Be(this).concat(...e.map((e=>p(e)?Be(e):e)))},entries(){return Re(this,"entries",(e=>(e[1]=yt(e[1]),e)))},every(e,t){return Ne(this,"every",e,t,void 0,arguments)},filter(e,t){return Ne(this,"filter",e,t,(e=>e.map(yt)),arguments)},find(e,t){return Ne(this,"find",e,t,yt,arguments)},findIndex(e,t){return Ne(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ne(this,"findLast",e,t,yt,arguments)},findLastIndex(e,t){return Ne(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ne(this,"forEach",e,t,void 0,arguments)},includes(...e){return je(this,"includes",e)},indexOf(...e){return je(this,"indexOf",e)},join(e){return Be(this).join(e)},lastIndexOf(...e){return je(this,"lastIndexOf",e)},map(e,t){return Ne(this,"map",e,t,void 0,arguments)},pop(){return $e(this,"pop")},push(...e){return $e(this,"push",e)},reduce(e,...t){return De(this,"reduce",e,t)},reduceRight(e,...t){return De(this,"reduceRight",e,t)},shift(){return $e(this,"shift")},some(e,t){return Ne(this,"some",e,t,void 0,arguments)},splice(...e){return $e(this,"splice",e)},toReversed(){return Be(this).toReversed()},toSorted(e){return Be(this).toSorted(e)},toSpliced(...e){return Be(this).toSpliced(...e)},unshift(...e){return $e(this,"unshift",e)},values(){return Re(this,"values",yt)}};function Re(e,t,n){const o=Fe(e),r=o[t]();return o===e||gt(e)||(r._next=r.next,r.next=()=>{const e=r._next();return e.value&&(e.value=n(e.value)),e}),r}const Ie=Array.prototype;function Ne(e,t,n,o,r,a){const l=Fe(e),s=l!==e&&!gt(e),i=l[t];if(i!==Ie[t]){const t=i.apply(e,a);return s?yt(t):t}let c=n;l!==e&&(s?c=function(t,o){return n.call(this,yt(t),o,e)}:n.length>2&&(c=function(t,o){return n.call(this,t,o,e)}));const u=i.call(l,c,o);return s&&r?r(u):u}function De(e,t,n,o){const r=Fe(e);let a=n;return r!==e&&(gt(e)?n.length>3&&(a=function(t,o,r){return n.call(this,t,o,r,e)}):a=function(t,o,r){return n.call(this,t,yt(o),r,e)}),r[t](a,...o)}function je(e,t,n){const o=bt(e);Ve(o,0,Te);const r=o[t](...n);return-1!==r&&!1!==r||!wt(n[0])?r:(n[0]=bt(n[0]),o[t](...n))}function $e(e,t,n=[]){xe(),de();const o=bt(e)[t].apply(e,n);return fe(),Ce(),o}const Ue=e("__proto__,__v_isRef,__isVue"),qe=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(g));function We(e){g(e)||(e=String(e));const t=bt(this);return Ve(t,0,e),t.hasOwnProperty(e)}class Ge{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(o?r?ut:ct:r?it:st).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const a=p(e);if(!o){let e;if(a&&(e=Pe[t]))return e;if("hasOwnProperty"===t)return We}const l=Reflect.get(e,t,Ct(e)?e:n);return(g(t)?qe.has(t):Ue(t))?l:(o||Ve(e,0,t),r?l:Ct(l)?a&&M(t)?l:l.value:w(l)?o?ft(l):pt(l):l)}}class Ke extends Ge{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=vt(r);if(gt(n)||vt(n)||(r=bt(r),n=bt(n)),!p(e)&&Ct(r)&&!Ct(n))return!t&&(r.value=n,!0)}const a=p(e)&&M(t)?Number(t)e,et=e=>Reflect.getPrototypeOf(e);function tt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function nt(e,t){const n={get(n){const o=this.__v_raw,r=bt(o),a=bt(n);e||(V(n,a)&&Ve(r,0,n),Ve(r,0,a));const{has:l}=et(r),s=t?Qe:e?xt:yt;return l.call(r,n)?s(o.get(n)):l.call(r,a)?s(o.get(a)):void(o!==r&&o.get(n))},get size(){const t=this.__v_raw;return!e&&Ve(bt(t),0,Ae),Reflect.get(t,"size",t)},has(t){const n=this.__v_raw,o=bt(n),r=bt(t);return e||(V(t,r)&&Ve(o,0,t),Ve(o,0,r)),t===r?n.has(t):n.has(t)||n.has(r)},forEach(n,o){const r=this,a=r.__v_raw,l=bt(a),s=t?Qe:e?xt:yt;return!e&&Ve(l,0,Ae),a.forEach(((e,t)=>n.call(o,s(e),s(t),r)))}};s(n,e?{add:tt("add"),set:tt("set"),delete:tt("delete"),clear:tt("clear")}:{add(e){t||gt(e)||vt(e)||(e=bt(e));const n=bt(this);return et(n).has.call(n,e)||(n.add(e),Oe(n,"add",e,e)),this},set(e,n){t||gt(n)||vt(n)||(n=bt(n));const o=bt(this),{has:r,get:a}=et(o);let l=r.call(o,e);l||(e=bt(e),l=r.call(o,e));const s=a.call(o,e);return o.set(e,n),l?V(n,s)&&Oe(o,"set",e,n):Oe(o,"add",e,n),this},delete(e){const t=bt(this),{has:n,get:o}=et(t);let r=n.call(t,e);r||(e=bt(e),r=n.call(t,e)),o&&o.call(t,e);const a=t.delete(e);return r&&Oe(t,"delete",e,void 0),a},clear(){const e=bt(this),t=0!==e.size,n=e.clear();return t&&Oe(e,"clear",void 0,void 0),n}});return["keys","values","entries",Symbol.iterator].forEach((o=>{n[o]=function(e,t,n){return function(...o){const r=this.__v_raw,a=bt(r),l=d(a),s="entries"===e||e===Symbol.iterator&&l,i="keys"===e&&l,c=r[e](...o),u=n?Qe:t?xt:yt;return!t&&Ve(a,0,i?He:Ae),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}(o,e,t)})),n}function ot(e,t){const n=nt(e,t);return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(u(n,o)&&o in t?n:t,o,r)}const rt={get:ot(!1,!1)},at={get:ot(!1,!0)},lt={get:ot(!0,!1)},st=new WeakMap,it=new WeakMap,ct=new WeakMap,ut=new WeakMap;function pt(e){return vt(e)?e:ht(e,!1,Je,rt,st)}function dt(e){return ht(e,!1,Ze,at,it)}function ft(e){return ht(e,!0,Xe,lt,ct)}function ht(e,t,n,o,r){if(!w(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const a=r.get(e);if(a)return a;const l=(s=e).__v_skip||!Object.isExtensible(s)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(x(s));var s;if(0===l)return e;const i=new Proxy(e,2===l?o:n);return r.set(e,i),i}function mt(e){return vt(e)?mt(e.__v_raw):!(!e||!e.__v_isReactive)}function vt(e){return!(!e||!e.__v_isReadonly)}function gt(e){return!(!e||!e.__v_isShallow)}function wt(e){return!!e&&!!e.__v_raw}function bt(e){const t=e&&e.__v_raw;return t?bt(t):e}function _t(e){return!u(e,"__v_skip")&&Object.isExtensible(e)&&B(e,"__v_skip",!0),e}const yt=e=>w(e)?pt(e):e,xt=e=>w(e)?ft(e):e;function Ct(e){return!!e&&!0===e.__v_isRef}function Mt(e){return Lt(e,!1)}function zt(e){return Lt(e,!0)}function Lt(e,t){return Ct(e)?e:new St(e,t)}class St{constructor(e,t){this.dep=new Se,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:bt(e),this._value=t?e:yt(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||gt(e)||vt(e);e=n?e:bt(e),V(e,t)&&(this._rawValue=e,this._value=n?e:yt(e),this.dep.trigger())}}function Et(e){return Ct(e)?e.value:e}const kt={get:(e,t,n)=>"__v_raw"===t?e:Et(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Ct(r)&&!Ct(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function At(e){return mt(e)?e:new Proxy(e,kt)}function Ht(e){const t=p(e)?new Array(e.length):{};for(const n in e)t[n]=Bt(e,n);return t}class Tt{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){const n=ke.get(e);return n&&n.get(t)}(bt(this._object),this._key)}}class Vt{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Ot(e,t,n){return Ct(e)?e:m(e)?new Vt(e):w(e)&&arguments.length>1?Bt(e,t,n):Mt(e)}function Bt(e,t,n){const o=e[t];return Ct(o)?o:new Tt(e,t,n)}class Ft{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Se(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ze-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags)&&te!==this)return pe(this,!0),!0}get value(){const e=this.dep.track();return ge(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}const Pt={},Rt=new WeakMap;let It;function Nt(e,n,r=t){const{immediate:a,deep:l,once:s,scheduler:c,augmentJob:u,call:d}=r,f=e=>l?e:gt(e)||!1===l||0===l?Dt(e,1):Dt(e);let h,v,g,w,b=!1,_=!1;if(Ct(e)?(v=()=>e.value,b=gt(e)):mt(e)?(v=()=>f(e),b=!0):p(e)?(_=!0,b=e.some((e=>mt(e)||gt(e))),v=()=>e.map((e=>Ct(e)?e.value:mt(e)?f(e):m(e)?d?d(e,2):e():void 0))):v=m(e)?n?d?()=>d(e,2):e:()=>{if(g){xe();try{g()}finally{Ce()}}const t=It;It=h;try{return d?d(e,3,[w]):e(w)}finally{It=t}}:o,n&&l){const e=v,t=!0===l?Infinity:l;v=()=>Dt(e(),t)}const y=re(),x=()=>{h.stop(),y&&i(y.effects,h)};if(s&&n){const e=n;n=(...t)=>{e(...t),x()}}let C=_?new Array(e.length).fill(Pt):Pt;const M=e=>{if(1&h.flags&&(h.dirty||e))if(n){const e=h.run();if(l||b||(_?e.some(((e,t)=>V(e,C[t]))):V(e,C))){g&&g();const t=It;It=h;try{const t=[e,C===Pt?void 0:_&&C[0]===Pt?[]:C,w];d?d(n,3,t):n(...t),C=e}finally{It=t}}}else h.run()};return u&&u(M),h=new se(v),h.scheduler=c?()=>c(M,!1):M,w=e=>function(e,t=!1,n=It){if(n){let t=Rt.get(n);t||Rt.set(n,t=[]),t.push(e)}}(e,!1,h),g=h.onStop=()=>{const e=Rt.get(h);if(e){if(d)d(e,4);else for(const t of e)t();Rt.delete(h)}},n?a?M(!0):C=h.run():c?c(M.bind(null,!0),!0):h.run(),x.pause=h.pause.bind(h),x.resume=h.resume.bind(h),x.stop=x,x}function Dt(e,t=Infinity,n){if(t<=0||!w(e)||e.__v_skip)return e;if((n=n||new Set).has(e))return e;if(n.add(e),t--,Ct(e))Dt(e.value,t,n);else if(p(e))for(let o=0;o{Dt(e,t,n)}));else if(C(e)){for(const o in e)Dt(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&Dt(e[o],t,n)}return e}function jt(e,t,n,o){try{return o?e(...o):e()}catch(r){Ut(r,t,n)}}function $t(e,t,n,o){if(m(e)){const r=jt(e,t,n,o);return r&&b(r)&&r.catch((e=>{Ut(e,t,n)})),r}if(p(e)){const r=[];for(let a=0;a=on(n)?qt.push(e):qt.splice(function(e){let t=Wt+1,n=qt.length;for(;t>>1,r=qt[o],a=on(r);aon(e)-on(t)));if(Gt.length=0,Kt)return void Kt.push(...e);for(Kt=e,Yt=0;Ytnull==e.id?2&e.flags?-1:Infinity:e.id;function rn(e){try{for(Wt=0;Wt{o._d&&Rr(-1);const r=sn(t);let a;try{a=e(...n)}finally{sn(r),o._d&&Rr(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function un(e,n){if(null===an)return e;const o=ba(an),r=e.dirs||(e.dirs=[]);for(let a=0;ae.__isTeleport,hn=e=>e&&(e.disabled||""===e.disabled),mn=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,vn=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,gn=(e,t)=>{const n=e&&e.to;if(v(n)){if(t){return t(n)}return null}return n};function wn(e,t,n,{o:{insert:o},m:r},a=2){0===a&&o(e.targetAnchor,t,n);const{el:l,anchor:s,shapeFlag:i,children:c,props:u}=e,p=2===a;if(p&&o(l,t,n),(!p||hn(u))&&16&i)for(let d=0;d{16&w&&(r&&r.isCE&&(r.ce._teleportTarget=e),u(b,e,t,r,a,l,s,i))},d=()=>{const e=t.target=gn(t.props,h),n=yn(e,t,m,f);e&&("svg"!==l&&mn(e)?l="svg":"mathml"!==l&&vn(e)&&(l="mathml"),g||(p(e,n),_n(t,!1)))};g&&(p(n,c),_n(t,!0)),(y=t.props)&&(y.defer||""===y.defer)?sr(d,a):d()}else{t.el=e.el,t.targetStart=e.targetStart;const o=t.anchor=e.anchor,u=t.target=e.target,f=t.targetAnchor=e.targetAnchor,m=hn(e.props),v=m?n:u,w=m?o:f;if("svg"===l||mn(u)?l="svg":("mathml"===l||vn(u))&&(l="mathml"),_?(d(e.dynamicChildren,_,v,r,a,l,s),pr(e,t,!0)):i||p(e,t,v,w,r,a,l,s,!1),g)m?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):wn(t,n,o,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=gn(t.props,h);e&&wn(t,e,null,c,0)}else m&&wn(t,u,f,c,1);_n(t,g)}var y},remove(e,t,n,{um:o,o:{remove:r}},a){const{shapeFlag:l,children:s,anchor:i,targetStart:c,targetAnchor:u,target:p,props:d}=e;if(p&&(r(c),r(u)),a&&r(i),16&l){const e=a||!hn(d);for(let r=0;r{e.isMounted=!0})),no((()=>{e.isUnmounting=!0})),e}const zn=[Function,Array],Ln={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:zn,onEnter:zn,onAfterEnter:zn,onEnterCancelled:zn,onBeforeLeave:zn,onLeave:zn,onAfterLeave:zn,onLeaveCancelled:zn,onBeforeAppear:zn,onAppear:zn,onAfterAppear:zn,onAppearCancelled:zn},Sn=e=>{const t=e.subTree;return t.component?Sn(t.component):t};function En(e){let t=e[0];if(e.length>1)for(const n of e)if(n.type!==Tr){t=n;break}return t}const kn={name:"BaseTransition",props:Ln,setup(e,{slots:t}){const n=sa(),o=Mn();return()=>{const r=t.default&&Bn(t.default(),!0);if(!r||!r.length)return;const a=En(r),l=bt(e),{mode:s}=l;if(o.isLeaving)return Tn(a);const i=Vn(a);if(!i)return Tn(a);let c=Hn(i,l,o,n,(e=>c=e));i.type!==Tr&&On(i,c);const u=n.subTree,p=u&&Vn(u);if(p&&p.type!==Tr&&!$r(i,p)&&Sn(n).type!==Tr){const e=Hn(p,l,o,n);if(On(p,e),"out-in"===s&&i.type!==Tr)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave},Tn(a);"in-out"===s&&i.type!==Tr&&(e.delayLeave=(e,t,n)=>{An(o,p)[String(p.key)]=p,e[xn]=()=>{t(),e[xn]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return a}}};function An(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function Hn(e,t,n,o,r){const{appear:a,mode:l,persisted:s=!1,onBeforeEnter:i,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:h,onAfterLeave:m,onLeaveCancelled:v,onBeforeAppear:g,onAppear:w,onAfterAppear:b,onAppearCancelled:_}=t,y=String(e.key),x=An(n,e),C=(e,t)=>{e&&$t(e,o,9,t)},M=(e,t)=>{const n=t[1];C(e,t),p(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},z={mode:l,persisted:s,beforeEnter(t){let o=i;if(!n.isMounted){if(!a)return;o=g||i}t[xn]&&t[xn](!0);const r=x[y];r&&$r(e,r)&&r.el[xn]&&r.el[xn](),C(o,[t])},enter(e){let t=c,o=u,r=d;if(!n.isMounted){if(!a)return;t=w||c,o=b||u,r=_||d}let l=!1;const s=e[Cn]=t=>{l||(l=!0,C(t?r:o,[e]),z.delayedLeave&&z.delayedLeave(),e[Cn]=void 0)};t?M(t,[e,s]):s()},leave(t,o){const r=String(e.key);if(t[Cn]&&t[Cn](!0),n.isUnmounting)return o();C(f,[t]);let a=!1;const l=t[xn]=n=>{a||(a=!0,o(),C(n?v:m,[t]),t[xn]=void 0,x[r]===e&&delete x[r])};x[r]=e,h?M(h,[t,l]):l()},clone(e){const a=Hn(e,t,n,o,r);return r&&r(a),a}};return z}function Tn(e){if(Nn(e))return(e=Yr(e)).children=null,e}function Vn(e){if(!Nn(e))return fn(e.type)&&e.children?En(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&m(n.default))return n.default()}}function On(e,t){6&e.shapeFlag&&e.component?(e.transition=t,On(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Bn(e,t=!1,n){let o=[],r=0;for(let a=0;a1)for(let a=0;as({name:e.name},t,{setup:e}))():e}function Pn(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Rn(e,n,o,r,a=!1){if(p(e))return void e.forEach(((e,t)=>Rn(e,n&&(p(n)?n[t]:n),o,r,a)));if(In(r)&&!a)return;const l=4&r.shapeFlag?ba(r.component):r.el,s=a?null:l,{i:c,r:d}=e,f=n&&n.r,h=c.refs===t?c.refs={}:c.refs,g=c.setupState,w=bt(g),b=g===t?()=>!1:e=>u(w,e);if(null!=f&&f!==d&&(v(f)?(h[f]=null,b(f)&&(g[f]=null)):Ct(f)&&(f.value=null)),m(d))jt(d,c,12,[s,h]);else{const t=v(d),n=Ct(d);if(t||n){const r=()=>{if(e.f){const n=t?b(d)?g[d]:h[d]:d.value;a?p(n)&&i(n,l):p(n)?n.includes(l)||n.push(l):t?(h[d]=[l],b(d)&&(g[d]=h[d])):(d.value=[l],e.k&&(h[e.k]=d.value))}else t?(h[d]=s,b(d)&&(g[d]=s)):n&&(d.value=s,e.k&&(h[e.k]=s))};s?(r.id=-1,sr(r,o)):r()}}}R().requestIdleCallback,R().cancelIdleCallback;const In=e=>!!e.type.__asyncLoader,Nn=e=>e.type.__isKeepAlive,Dn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=sa(),o=n.ctx;if(!o.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const r=new Map,a=new Set;let l=null;const s=n.suspense,{renderer:{p:i,m:c,um:u,o:{createElement:p}}}=o,d=p("div");function f(e){Kn(e),u(e,n,s,!0)}function h(e){r.forEach(((t,n)=>{const o=_a(t.type);o&&!e(o)&&m(n)}))}function m(e){const t=r.get(e);!t||l&&$r(t,l)?l&&Kn(l):f(t),r.delete(e),a.delete(e)}o.activate=(e,t,n,o,r)=>{const a=e.component;c(e,t,n,0,s),i(a.vnode,e,t,n,a,s,o,e.slotScopeIds,r),sr((()=>{a.isDeactivated=!1,a.a&&O(a.a);const t=e.props&&e.props.onVnodeMounted;t&&oa(t,a.parent,e)}),s)},o.deactivate=e=>{const t=e.component;fr(t.m),fr(t.a),c(e,d,null,1,s),sr((()=>{t.da&&O(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&oa(n,t.parent,e),t.isDeactivated=!0}),s)},gr((()=>[e.include,e.exclude]),(([e,t])=>{e&&h((t=>$n(e,t))),t&&h((e=>!$n(t,e)))}),{flush:"post",deep:!0});let v=null;const g=()=>{null!=v&&(kr(n.subTree.type)?sr((()=>{r.set(v,Yn(n.subTree))}),n.subTree.suspense):r.set(v,Yn(n.subTree)))};return Qn(g),to(g),no((()=>{r.forEach((e=>{const{subTree:t,suspense:o}=n,r=Yn(t);if(e.type!==r.type||e.key!==r.key)f(e);else{Kn(r);const e=r.component.da;e&&sr(e,o)}}))})),()=>{if(v=null,!t.default)return l=null;const n=t.default(),o=n[0];if(n.length>1)return l=null,n;if(!(jr(o)&&(4&o.shapeFlag||128&o.shapeFlag)))return l=null,o;let s=Yn(o);if(s.type===Tr)return l=null,s;const i=s.type,c=_a(In(s)?s.type.__asyncResolved||{}:i),{include:u,exclude:p,max:d}=e;if(u&&(!c||!$n(u,c))||p&&c&&$n(p,c))return s.shapeFlag&=-257,l=s,o;const f=null==s.key?i:s.key,h=r.get(f);return s.el&&(s=Yr(s),128&o.shapeFlag&&(o.ssContent=s)),v=f,h?(s.el=h.el,s.component=h.component,s.transition&&On(s,s.transition),s.shapeFlag|=512,a.delete(f),a.add(f)):(a.add(f),d&&a.size>parseInt(d,10)&&m(a.values().next().value)),s.shapeFlag|=256,l=s,kr(o.type)?o:s}}},jn=Dn;function $n(e,t){return p(e)?e.some((e=>$n(e,t))):v(e)?e.split(",").includes(t):"[object RegExp]"===y(e)&&(e.lastIndex=0,e.test(t))}function Un(e,t){Wn(e,"a",t)}function qn(e,t){Wn(e,"da",t)}function Wn(e,t,n=la){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Jn(t,o,n),n){let e=n.parent;for(;e&&e.parent;)Nn(e.parent.vnode)&&Gn(o,t,n,e),e=e.parent}}function Gn(e,t,n,o){const r=Jn(t,e,o,!0);oo((()=>{i(o[t],r)}),n)}function Kn(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Yn(e){return 128&e.shapeFlag?e.ssContent:e}function Jn(e,t,n=la,o=!1){if(n){const r=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...o)=>{xe();const r=ua(n),a=$t(t,n,e,o);return r(),Ce(),a});return o?r.unshift(a):r.push(a),a}}const Xn=e=>(t,n=la)=>{ha&&"sp"!==e||Jn(e,((...e)=>t(...e)),n)},Zn=Xn("bm"),Qn=Xn("m"),eo=Xn("bu"),to=Xn("u"),no=Xn("bum"),oo=Xn("um"),ro=Xn("sp"),ao=Xn("rtg"),lo=Xn("rtc");function so(e,t=la){Jn("ec",e,t)}const io="components";function co(e,t){return ho(io,e,!0,t)||e}const uo=Symbol.for("v-ndc");function po(e){return v(e)?ho(io,e,!1)||e:e||uo}function fo(e){return ho("directives",e)}function ho(e,t,n=!0,o=!1){const r=an||la;if(r){const n=r.type;if(e===io){const e=_a(n,!1);if(e&&(e===t||e===E(t)||e===H(E(t))))return n}const a=mo(r[e]||n[e],t)||mo(r.appContext[e],t);return!a&&o?n:a}}function mo(e,t){return e&&(e[t]||e[E(t)]||e[H(E(t))])}function vo(e,t,n,o){let r;const a=n,l=p(e);if(l||v(e)){let n=!1;l&&mt(e)&&(n=!gt(e),e=Fe(e)),r=new Array(e.length);for(let o=0,l=e.length;ot(e,n,void 0,a)));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,l=n.length;o{const t=o.fn(...e);return t&&(t.key=o.key),t}:o.fn)}return e}function wo(e,t,n={},o,r){if(an.ce||an.parent&&In(an.parent)&&an.parent.ce)return"default"!==t&&(n.name=t),Fr(),Dr(Ar,null,[Gr("slot",n,o&&o())],64);let a=e[t];a&&a._c&&(a._d=!1),Fr();const l=a&&bo(a(n)),s=n.key||l&&l.key,i=Dr(Ar,{key:(s&&!g(s)?s:`_${t}`)+(!l&&o?"_fb":"")},l||(o?o():[]),l&&1===e._?64:-2);return i.scopeId&&(i.slotScopeIds=[i.scopeId+"-s"]),a&&a._c&&(a._d=!0),i}function bo(e){return e.some((e=>!jr(e)||e.type!==Tr&&!(e.type===Ar&&!bo(e.children))))?e:null}function _o(e,t){const n={};for(const o in e)n[T(o)]=e[o];return n}const yo=e=>e?da(e)?ba(e):yo(e.parent):null,xo=s(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=>yo(e.parent),$root:e=>yo(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Vo(e),$forceUpdate:e=>e.f||(e.f=()=>{Qt(e.update)}),$nextTick:e=>e.n||(e.n=Zt.bind(e.proxy)),$watch:e=>br.bind(e)}),Co=(e,n)=>e!==t&&!e.__isScriptSetup&&u(e,n),Mo={get({_:e},n){if("__v_skip"===n)return!0;const{ctx:o,setupState:r,data:a,props:l,accessCache:s,type:i,appContext:c}=e;let p;if("$"!==n[0]){const i=s[n];if(void 0!==i)switch(i){case 1:return r[n];case 2:return a[n];case 4:return o[n];case 3:return l[n]}else{if(Co(r,n))return s[n]=1,r[n];if(a!==t&&u(a,n))return s[n]=2,a[n];if((p=e.propsOptions[0])&&u(p,n))return s[n]=3,l[n];if(o!==t&&u(o,n))return s[n]=4,o[n];ko&&(s[n]=0)}}const d=xo[n];let f,h;return d?("$attrs"===n&&Ve(e.attrs,0,""),d(e)):(f=i.__cssModules)&&(f=f[n])?f:o!==t&&u(o,n)?(s[n]=4,o[n]):(h=c.config.globalProperties,u(h,n)?h[n]:void 0)},set({_:e},n,o){const{data:r,setupState:a,ctx:l}=e;return Co(a,n)?(a[n]=o,!0):r!==t&&u(r,n)?(r[n]=o,!0):!u(e.props,n)&&(("$"!==n[0]||!(n.slice(1)in e))&&(l[n]=o,!0))},has({_:{data:e,setupState:n,accessCache:o,ctx:r,appContext:a,propsOptions:l}},s){let i;return!!o[s]||e!==t&&u(e,s)||Co(n,s)||(i=l[0])&&u(i,s)||u(r,s)||u(xo,s)||u(a.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:u(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function zo(){return So().slots}function Lo(){return So().attrs}function So(){const e=sa();return e.setupContext||(e.setupContext=wa(e))}function Eo(e){return p(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let ko=!0;function Ao(e){const t=Vo(e),n=e.proxy,r=e.ctx;ko=!1,t.beforeCreate&&Ho(t.beforeCreate,e,"bc");const{data:a,computed:l,methods:s,watch:i,provide:c,inject:u,created:d,beforeMount:f,mounted:h,beforeUpdate:v,updated:g,activated:b,deactivated:_,beforeDestroy:y,beforeUnmount:x,destroyed:C,unmounted:M,render:z,renderTracked:L,renderTriggered:S,errorCaptured:E,serverPrefetch:k,expose:A,inheritAttrs:H,components:T,directives:V,filters:O}=t;if(u&&function(e,t){p(e)&&(e=Po(e));for(const n in e){const o=e[n];let r;r=w(o)?"default"in o?Wo(o.from||n,o.default,!0):Wo(o.from||n):Wo(o),Ct(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[n]=r}}(u,r,null),s)for(const o in s){const e=s[o];m(e)&&(r[o]=e.bind(n))}if(a){const t=a.call(n,n);w(t)&&(e.data=pt(t))}if(ko=!0,l)for(const p in l){const e=l[p],t=m(e)?e.bind(n,n):m(e.get)?e.get.bind(n,n):o,a=!m(e)&&m(e.set)?e.set.bind(n):o,s=ya({get:t,set:a});Object.defineProperty(r,p,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(i)for(const o in i)To(i[o],r,n,o);if(c){const e=m(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{qo(t,e[t])}))}function B(e,t){p(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&Ho(d,e,"c"),B(Zn,f),B(Qn,h),B(eo,v),B(to,g),B(Un,b),B(qn,_),B(so,E),B(lo,L),B(ao,S),B(no,x),B(oo,M),B(ro,k),p(A))if(A.length){const t=e.exposed||(e.exposed={});A.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});z&&e.render===o&&(e.render=z),null!=H&&(e.inheritAttrs=H),T&&(e.components=T),V&&(e.directives=V),k&&Pn(e)}function Ho(e,t,n){$t(p(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function To(e,t,n,o){let r=o.includes(".")?_r(n,o):()=>n[o];if(v(e)){const n=t[e];m(n)&&gr(r,n)}else if(m(e))gr(r,e.bind(n));else if(w(e))if(p(e))e.forEach((e=>To(e,t,n,o)));else{const o=m(e.handler)?e.handler.bind(n):t[e.handler];m(o)&&gr(r,o,e)}}function Vo(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:a,config:{optionMergeStrategies:l}}=e.appContext,s=a.get(t);let i;return s?i=s:r.length||n||o?(i={},r.length&&r.forEach((e=>Oo(i,e,l,!0))),Oo(i,t,l)):i=t,w(t)&&a.set(t,i),i}function Oo(e,t,n,o=!1){const{mixins:r,extends:a}=t;a&&Oo(e,a,n,!0),r&&r.forEach((t=>Oo(e,t,n,!0)));for(const l in t)if(o&&"expose"===l);else{const o=Bo[l]||n&&n[l];e[l]=o?o(e[l],t[l]):t[l]}return e}const Bo={data:Fo,props:No,emits:No,methods:Io,computed:Io,beforeCreate:Ro,created:Ro,beforeMount:Ro,mounted:Ro,beforeUpdate:Ro,updated:Ro,beforeDestroy:Ro,beforeUnmount:Ro,destroyed:Ro,unmounted:Ro,activated:Ro,deactivated:Ro,errorCaptured:Ro,serverPrefetch:Ro,components:Io,directives:Io,watch:function(e,t){if(!e)return t;if(!t)return e;const n=s(Object.create(null),e);for(const o in t)n[o]=Ro(e[o],t[o]);return n},provide:Fo,inject:function(e,t){return Io(Po(e),Po(t))}};function Fo(e,t){return t?e?function(){return s(m(e)?e.call(this,this):e,m(t)?t.call(this,this):t)}:t:e}function Po(e){if(p(e)){const t={};for(let n=0;n(a.has(e)||(e&&m(e.install)?(a.add(e),e.install(c,...t)):m(e)&&(a.add(e),e(c,...t))),c),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),c),component:(e,t)=>t?(r.components[e]=t,c):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,c):r.directives[e],mount(a,l,s){if(!i){const u=c._ceVNode||Gr(n,o);return u.appContext=r,!0===s?s="svg":!1===s&&(s=void 0),l&&t?t(u,a):e(u,a,s),i=!0,c._container=a,a.__vue_app__=c,ba(u.component)}},onUnmount(e){l.push(e)},unmount(){i&&($t(l,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,c),runWithContext(e){const t=Uo;Uo=c;try{return e()}finally{Uo=t}}};return c}}let Uo=null;function qo(e,t){if(la){let n=la.provides;const o=la.parent&&la.parent.provides;o===n&&(n=la.provides=Object.create(o)),n[e]=t}else;}function Wo(e,t,n=!1){const o=la||an;if(o||Uo){const r=Uo?Uo._context.provides:o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&m(t)?t.call(o&&o.proxy):t}}const Go={},Ko=()=>Object.create(Go),Yo=e=>Object.getPrototypeOf(e)===Go;function Jo(e,n,o,r){const[a,l]=e.propsOptions;let s,i=!1;if(n)for(let t in n){if(z(t))continue;const c=n[t];let p;a&&u(a,p=E(t))?l&&l.includes(p)?(s||(s={}))[p]=c:o[p]=c:Mr(e.emitsOptions,t)||t in r&&c===r[t]||(r[t]=c,i=!0)}if(l){const n=bt(o),r=s||t;for(let t=0;t{f=!0;const[t,n]=Qo(e,o,!0);s(c,t),n&&d.push(...n)};!r&&o.mixins.length&&o.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!i&&!f)return w(e)&&a.set(e,n),n;if(p(i))for(let n=0;n"_"===e[0]||"$stable"===e,nr=e=>p(e)?e.map(Qr):[Qr(e)],or=(e,t,n)=>{if(t._n)return t;const o=cn(((...e)=>nr(t(...e))),n);return o._c=!1,o},rr=(e,t,n)=>{const o=e._ctx;for(const r in e){if(tr(r))continue;const n=e[r];if(m(n))t[r]=or(0,n,o);else if(null!=n){const e=nr(n);t[r]=()=>e}}},ar=(e,t)=>{const n=nr(t);e.slots.default=()=>n},lr=(e,t,n)=>{for(const o in t)(n||"_"!==o)&&(e[o]=t[o])},sr=function(e,t){t&&t.pendingBranch?p(e)?t.effects.push(...e):t.effects.push(e):(p(n=e)?Gt.push(...n):Kt&&-1===n.id?Kt.splice(Yt+1,0,n):1&n.flags||(Gt.push(n),n.flags|=1),en());var n};function ir(e){return function(e){R().__VUE__=!0;const{insert:r,remove:a,patchProp:l,createElement:s,createText:i,createComment:c,setText:p,setElementText:d,parentNode:f,nextSibling:h,setScopeId:m=o,insertStaticContent:v}=e,g=(e,t,n,o=null,r=null,a=null,l=void 0,s=null,i=!!t.dynamicChildren)=>{if(e===t)return;e&&!$r(e,t)&&(o=Z(e),G(e,r,a,!0),e=null),-2===t.patchFlag&&(i=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:p}=t;switch(c){case Hr:w(e,t,n,o);break;case Tr:_(e,t,n,o);break;case Vr:null==e&&y(t,n,o,l);break;case Ar:F(e,t,n,o,r,a,l,s,i);break;default:1&p?M(e,t,n,o,r,a,l,s,i):6&p?P(e,t,n,o,r,a,l,s,i):(64&p||128&p)&&c.process(e,t,n,o,r,a,l,s,i,te)}null!=u&&r&&Rn(u,e&&e.ref,a,t||e,!t)},w=(e,t,n,o)=>{if(null==e)r(t.el=i(t.children),n,o);else{const n=t.el=e.el;t.children!==e.children&&p(n,t.children)}},_=(e,t,n,o)=>{null==e?r(t.el=c(t.children||""),n,o):t.el=e.el},y=(e,t,n,o)=>{[e.el,e.anchor]=v(e.children,t,n,o,e.el,e.anchor)},x=({el:e,anchor:t},n,o)=>{let a;for(;e&&e!==t;)a=h(e),r(e,n,o),e=a;r(t,n,o)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),a(e),e=n;a(t)},M=(e,t,n,o,r,a,l,s,i)=>{"svg"===t.type?l="svg":"math"===t.type&&(l="mathml"),null==e?L(t,n,o,r,a,l,s,i):H(e,t,r,a,l,s,i)},L=(e,t,n,o,a,i,c,u)=>{let p,f;const{props:h,shapeFlag:m,transition:v,dirs:g}=e;if(p=e.el=s(e.type,i,h&&h.is,h),8&m?d(p,e.children):16&m&&k(e.children,p,null,o,a,cr(e,i),c,u),g&&pn(e,null,o,"created"),S(p,e,e.scopeId,c,o),h){for(const e in h)"value"===e||z(e)||l(p,e,null,h[e],i,o);"value"in h&&l(p,"value",null,h.value,i),(f=h.onVnodeBeforeMount)&&oa(f,o,e)}g&&pn(e,null,o,"beforeMount");const w=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(a,v);w&&v.beforeEnter(p),r(p,t,n),((f=h&&h.onVnodeMounted)||w||g)&&sr((()=>{f&&oa(f,o,e),w&&v.enter(p),g&&pn(e,null,o,"mounted")}),a)},S=(e,t,n,o,r)=>{if(n&&m(e,n),o)for(let a=0;a{for(let c=i;c{const c=n.el=e.el;let{patchFlag:u,dynamicChildren:p,dirs:f}=n;u|=16&e.patchFlag;const h=e.props||t,m=n.props||t;let v;if(o&&ur(o,!1),(v=m.onVnodeBeforeUpdate)&&oa(v,o,n,e),f&&pn(n,e,o,"beforeUpdate"),o&&ur(o,!0),(h.innerHTML&&null==m.innerHTML||h.textContent&&null==m.textContent)&&d(c,""),p?T(e.dynamicChildren,p,c,o,r,cr(n,a),s):i||$(e,n,c,null,o,r,cr(n,a),s,!1),u>0){if(16&u)V(c,h,m,o,a);else if(2&u&&h.class!==m.class&&l(c,"class",null,m.class,a),4&u&&l(c,"style",h.style,m.style,a),8&u){const e=n.dynamicProps;for(let t=0;t{v&&oa(v,o,n,e),f&&pn(n,e,o,"updated")}),r)},T=(e,t,n,o,r,a,l)=>{for(let s=0;s{if(n!==o){if(n!==t)for(const t in n)z(t)||t in o||l(e,t,n[t],null,a,r);for(const t in o){if(z(t))continue;const s=o[t],i=n[t];s!==i&&"value"!==t&&l(e,t,i,s,a,r)}"value"in o&&l(e,"value",n.value,o.value,a)}},F=(e,t,n,o,a,l,s,c,u)=>{const p=t.el=e?e.el:i(""),d=t.anchor=e?e.anchor:i("");let{patchFlag:f,dynamicChildren:h,slotScopeIds:m}=t;m&&(c=c?c.concat(m):m),null==e?(r(p,n,o),r(d,n,o),k(t.children||[],n,d,a,l,s,c,u)):f>0&&64&f&&h&&e.dynamicChildren?(T(e.dynamicChildren,h,n,a,l,s,c),(null!=t.key||a&&t===a.subTree)&&pr(e,t,!0)):$(e,t,n,d,a,l,s,c,u)},P=(e,t,n,o,r,a,l,s,i)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,l,i):I(t,n,o,r,a,l,i):N(e,t,i)},I=(e,n,o,r,a,l,s)=>{const i=e.component=function(e,n,o){const r=e.type,a=(n?n.appContext:e.appContext)||ra,l={uid:aa++,vnode:e,type:r,parent:n,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ne(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(a.provides),ids:n?n.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Qo(r,a),emitsOptions:Cr(r,a),emit:null,emitted:null,propsDefaults:t,inheritAttrs:r.inheritAttrs,ctx:t,data:t,props:t,attrs:t,slots:t,refs:t,setupState:t,setupContext:null,suspense:o,suspenseId:o?o.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};l.ctx={_:l},l.root=n?n.root:l,l.emit=xr.bind(null,l),e.ce&&e.ce(l);return l}(e,r,a);if(Nn(e)&&(i.ctx.renderer=te),function(e,t=!1,n=!1){t&&ca(t);const{props:o,children:r}=e.vnode,a=da(e);(function(e,t,n,o=!1){const r={},a=Ko();e.propsDefaults=Object.create(null),Jo(e,t,r,a);for(const l in e.propsOptions[0])l in r||(r[l]=void 0);n?e.props=o?r:dt(r):e.type.props?e.props=r:e.props=a,e.attrs=a})(e,o,a,t),((e,t,n)=>{const o=e.slots=Ko();if(32&e.vnode.shapeFlag){const e=t._;e?(lr(o,t,n),n&&B(o,"_",e,!0)):rr(t,o)}else t&&ar(e,t)})(e,r,n);const l=a?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Mo);const{setup:o}=n;if(o){xe();const n=e.setupContext=o.length>1?wa(e):null,r=ua(e),a=jt(o,e,0,[e.props,n]),l=b(a);if(Ce(),r(),!l&&!e.sp||In(e)||Pn(e),l){if(a.then(pa,pa),t)return a.then((n=>{ma(e,n,t)})).catch((t=>{Ut(t,e,0)}));e.asyncDep=a}else ma(e,a,t)}else va(e,t)}(e,t):void 0;t&&ca(!1)}(i,!1,s),i.asyncDep){if(a&&a.registerDep(i,D,s),!e.el){const e=i.subTree=Gr(Tr);_(null,e,n,o)}}else D(i,e,n,o,a,l,s)},N=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:a}=e,{props:l,children:s,patchFlag:i}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&i>=0))return!(!r&&!s||s&&s.$stable)||o!==l&&(o?!l||Er(o,l,c):!!l);if(1024&i)return!0;if(16&i)return o?Er(o,l,c):!!l;if(8&i){const e=t.dynamicProps;for(let t=0;t{const s=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:i,vnode:c}=e;{const n=dr(e);if(n)return t&&(t.el=c.el,j(e,t,l)),void n.asyncDep.then((()=>{e.isUnmounted||s()}))}let u,p=t;ur(e,!1),t?(t.el=c.el,j(e,t,l)):t=c,n&&O(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&oa(u,i,t,c),ur(e,!0);const d=zr(e),h=e.subTree;e.subTree=d,g(h,d,f(h.el),Z(h),e,r,a),t.el=d.el,null===p&&function({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,d.el),o&&sr(o,r),(u=t.props&&t.props.onVnodeUpdated)&&sr((()=>oa(u,i,t,c)),r)}else{let l;const{el:s,props:i}=t,{bm:c,m:u,parent:p,root:d,type:f}=e,h=In(t);if(ur(e,!1),c&&O(c),!h&&(l=i&&i.onVnodeBeforeMount)&&oa(l,p,t),ur(e,!0),s&&re){const t=()=>{e.subTree=zr(e),re(s,e.subTree,e,r,null)};h&&f.__asyncHydrate?f.__asyncHydrate(s,e,t):t()}else{d.ce&&d.ce._injectChildStyle(f);const l=e.subTree=zr(e);g(null,l,n,o,e,r,a),t.el=l.el}if(u&&sr(u,r),!h&&(l=i&&i.onVnodeMounted)){const e=t;sr((()=>oa(l,p,e)),r)}(256&t.shapeFlag||p&&In(p.vnode)&&256&p.vnode.shapeFlag)&&e.a&&sr(e.a,r),e.isMounted=!0,t=n=o=null}};e.scope.on();const i=e.effect=new se(s);e.scope.off();const c=e.update=i.run.bind(i),u=e.job=i.runIfDirty.bind(i);u.i=e,u.id=e.uid,i.scheduler=()=>Qt(u),ur(e,!0),c()},j=(e,n,o)=>{n.component=e;const r=e.vnode.props;e.vnode=n,e.next=null,function(e,t,n,o){const{props:r,attrs:a,vnode:{patchFlag:l}}=e,s=bt(r),[i]=e.propsOptions;let c=!1;if(!(o||l>0)||16&l){let o;Jo(e,t,r,a)&&(c=!0);for(const a in s)t&&(u(t,a)||(o=A(a))!==a&&u(t,o))||(i?!n||void 0===n[a]&&void 0===n[o]||(r[a]=Xo(i,s,a,void 0,e,!0)):delete r[a]);if(a!==s)for(const e in a)t&&u(t,e)||(delete a[e],c=!0)}else if(8&l){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:r,slots:a}=e;let l=!0,s=t;if(32&r.shapeFlag){const e=n._;e?o&&1===e?l=!1:lr(a,n,o):(l=!n.$stable,rr(n,a)),s=n}else n&&(ar(e,n),s={default:1});if(l)for(const t in a)tr(t)||null!=s[t]||delete a[t]})(e,n.children,o),xe(),tn(e),Ce()},$=(e,t,n,o,r,a,l,s,i=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,p=t.children,{patchFlag:f,shapeFlag:h}=t;if(f>0){if(128&f)return void q(c,p,n,o,r,a,l,s,i);if(256&f)return void U(c,p,n,o,r,a,l,s,i)}8&h?(16&u&&X(c,r,a),p!==c&&d(n,p)):16&u?16&h?q(c,p,n,o,r,a,l,s,i):X(c,r,a,!0):(8&u&&d(n,""),16&h&&k(p,n,o,r,a,l,s,i))},U=(e,t,o,r,a,l,s,i,c)=>{t=t||n;const u=(e=e||n).length,p=t.length,d=Math.min(u,p);let f;for(f=0;fp?X(e,a,l,!0,!1,d):k(t,o,r,a,l,s,i,c,d)},q=(e,t,o,r,a,l,s,i,c)=>{let u=0;const p=t.length;let d=e.length-1,f=p-1;for(;u<=d&&u<=f;){const n=e[u],r=t[u]=c?ea(t[u]):Qr(t[u]);if(!$r(n,r))break;g(n,r,o,null,a,l,s,i,c),u++}for(;u<=d&&u<=f;){const n=e[d],r=t[f]=c?ea(t[f]):Qr(t[f]);if(!$r(n,r))break;g(n,r,o,null,a,l,s,i,c),d--,f--}if(u>d){if(u<=f){const e=f+1,n=ef)for(;u<=d;)G(e[u],a,l,!0),u++;else{const h=u,m=u,v=new Map;for(u=m;u<=f;u++){const e=t[u]=c?ea(t[u]):Qr(t[u]);null!=e.key&&v.set(e.key,u)}let w,b=0;const _=f-m+1;let y=!1,x=0;const C=new Array(_);for(u=0;u<_;u++)C[u]=0;for(u=h;u<=d;u++){const n=e[u];if(b>=_){G(n,a,l,!0);continue}let r;if(null!=n.key)r=v.get(n.key);else for(w=m;w<=f;w++)if(0===C[w-m]&&$r(n,t[w])){r=w;break}void 0===r?G(n,a,l,!0):(C[r-m]=u+1,r>=x?x=r:y=!0,g(n,t[r],o,null,a,l,s,i,c),b++)}const M=y?function(e){const t=e.slice(),n=[0];let o,r,a,l,s;const i=e.length;for(o=0;o>1,e[n[s]]0&&(t[o]=n[a-1]),n[a]=o)}}a=n.length,l=n[a-1];for(;a-- >0;)n[a]=l,l=t[l];return n}(C):n;for(w=M.length-1,u=_-1;u>=0;u--){const e=m+u,n=t[e],d=e+1{const{el:l,type:s,transition:i,children:c,shapeFlag:u}=e;if(6&u)return void W(e.component.subTree,t,n,o);if(128&u)return void e.suspense.move(t,n,o);if(64&u)return void s.move(e,t,n,te);if(s===Ar){r(l,t,n);for(let e=0;ei.enter(l)),a);else{const{leave:e,delayLeave:o,afterLeave:a}=i,s=()=>r(l,t,n),c=()=>{e(l,(()=>{s(),a&&a()}))};o?o(l,s,c):c()}else r(l,t,n)},G=(e,t,n,o=!1,r=!1)=>{const{type:a,props:l,ref:s,children:i,dynamicChildren:c,shapeFlag:u,patchFlag:p,dirs:d,cacheIndex:f}=e;if(-2===p&&(r=!1),null!=s&&Rn(s,null,n,e,!0),null!=f&&(t.renderCache[f]=void 0),256&u)return void t.ctx.deactivate(e);const h=1&u&&d,m=!In(e);let v;if(m&&(v=l&&l.onVnodeBeforeUnmount)&&oa(v,t,e),6&u)J(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);h&&pn(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,te,o):c&&!c.hasOnce&&(a!==Ar||p>0&&64&p)?X(c,t,n,!1,!0):(a===Ar&&384&p||!r&&16&u)&&X(i,t,n),o&&K(e)}(m&&(v=l&&l.onVnodeUnmounted)||h)&&sr((()=>{v&&oa(v,t,e),h&&pn(e,null,t,"unmounted")}),n)},K=e=>{const{type:t,el:n,anchor:o,transition:r}=e;if(t===Ar)return void Y(n,o);if(t===Vr)return void C(e);const l=()=>{a(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:o}=r,a=()=>t(n,l);o?o(e.el,l,a):a()}else l()},Y=(e,t)=>{let n;for(;e!==t;)n=h(e),a(e),e=n;a(t)},J=(e,t,n)=>{const{bum:o,scope:r,job:a,subTree:l,um:s,m:i,a:c}=e;fr(i),fr(c),o&&O(o),r.stop(),a&&(a.flags|=8,G(l,e,t,n)),s&&sr(s,t),sr((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},X=(e,t,n,o=!1,r=!1,a=0)=>{for(let l=a;l{if(6&e.shapeFlag)return Z(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=h(e.anchor||e.el),n=t&&t[dn];return n?h(n):t};let Q=!1;const ee=(e,t,n)=>{null==e?t._vnode&&G(t._vnode,null,null,!0):g(t._vnode||null,e,t,null,null,null,n),t._vnode=e,Q||(Q=!0,tn(),nn(),Q=!1)},te={p:g,um:G,m:W,r:K,mt:I,mc:k,pc:$,pbc:T,n:Z,o:e};let oe,re;return{render:ee,hydrate:oe,createApp:$o(ee,oe)}}(e)}function cr({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ur({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function pr(e,t,n=!1){const o=e.children,r=t.children;if(p(o)&&p(r))for(let a=0;aWo(hr);function vr(e,t){return wr(e,null,t)}function gr(e,t,n){return wr(e,t,n)}function wr(e,n,r=t){const{immediate:a,deep:l,flush:i,once:c}=r,u=s({},r),p=n&&a||!n&&"post"!==i;let d;if(ha)if("sync"===i){const e=mr();d=e.__watcherHandles||(e.__watcherHandles=[])}else if(!p){const e=()=>{};return e.stop=o,e.resume=o,e.pause=o,e}const f=la;u.call=(e,t,n)=>$t(e,f,t,n);let h=!1;"post"===i?u.scheduler=e=>{sr(e,f&&f.suspense)}:"sync"!==i&&(h=!0,u.scheduler=(e,t)=>{t?e():Qt(e)}),u.augmentJob=e=>{n&&(e.flags|=4),h&&(e.flags|=2,f&&(e.id=f.uid,e.i=f))};const m=Nt(e,n,u);return ha&&(d?d.push(m):p&&m()),m}function br(e,t,n){const o=this.proxy,r=v(e)?e.includes(".")?_r(o,e):()=>o[e]:e.bind(o,o);let a;m(t)?a=t:(a=t.handler,n=t);const l=ua(this),s=wr(r,a.bind(o),n);return l(),s}function _r(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${E(t)}Modifiers`]||e[`${A(t)}Modifiers`];function xr(e,n,...o){if(e.isUnmounted)return;const r=e.vnode.props||t;let a=o;const l=n.startsWith("update:"),s=l&&yr(r,n.slice(7));let i;s&&(s.trim&&(a=o.map((e=>v(e)?e.trim():e))),s.number&&(a=o.map(F)));let c=r[i=T(n)]||r[i=T(E(n))];!c&&l&&(c=r[i=T(A(n))]),c&&$t(c,e,6,a);const u=r[i+"Once"];if(u){if(e.emitted){if(e.emitted[i])return}else e.emitted={};e.emitted[i]=!0,$t(u,e,6,a)}}function Cr(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const a=e.emits;let l={},i=!1;if(!m(e)){const o=e=>{const n=Cr(e,t,!0);n&&(i=!0,s(l,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return a||i?(p(a)?a.forEach((e=>l[e]=null)):s(l,a),w(e)&&o.set(e,l),l):(w(e)&&o.set(e,null),null)}function Mr(e,t){return!(!e||!a(t))&&(t=t.slice(2).replace(/Once$/,""),u(e,t[0].toLowerCase()+t.slice(1))||u(e,A(t))||u(e,t))}function zr(e){const{type:t,vnode:n,proxy:o,withProxy:r,propsOptions:[a],slots:s,attrs:i,emit:c,render:u,renderCache:p,props:d,data:f,setupState:h,ctx:m,inheritAttrs:v}=e,g=sn(e);let w,b;try{if(4&n.shapeFlag){const e=r||o,t=e;w=Qr(u.call(t,e,p,d,h,f,m)),b=i}else{const e=t;0,w=Qr(e.length>1?e(d,{attrs:i,slots:s,emit:c}):e(d,null)),b=t.props?i:Lr(i)}}catch(y){Or.length=0,Ut(y,e,1),w=Gr(Tr)}let _=w;if(b&&!1!==v){const e=Object.keys(b),{shapeFlag:t}=_;e.length&&7&t&&(a&&e.some(l)&&(b=Sr(b,a)),_=Yr(_,b,!1,!0))}return n.dirs&&(_=Yr(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&On(_,n.transition),w=_,sn(g),w}const Lr=e=>{let t;for(const n in e)("class"===n||"style"===n||a(n))&&((t||(t={}))[n]=e[n]);return t},Sr=(e,t)=>{const n={};for(const o in e)l(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Er(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;re.__isSuspense;const Ar=Symbol.for("v-fgt"),Hr=Symbol.for("v-txt"),Tr=Symbol.for("v-cmt"),Vr=Symbol.for("v-stc"),Or=[];let Br=null;function Fr(e=!1){Or.push(Br=e?null:[])}let Pr=1;function Rr(e){Pr+=e,e<0&&Br&&(Br.hasOnce=!0)}function Ir(e){return e.dynamicChildren=Pr>0?Br||n:null,Or.pop(),Br=Or[Or.length-1]||null,Pr>0&&Br&&Br.push(e),e}function Nr(e,t,n,o,r,a){return Ir(Wr(e,t,n,o,r,a,!0))}function Dr(e,t,n,o,r){return Ir(Gr(e,t,n,o,r,!0))}function jr(e){return!!e&&!0===e.__v_isVNode}function $r(e,t){return e.type===t.type&&e.key===t.key}const Ur=({key:e})=>null!=e?e:null,qr=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?v(e)||Ct(e)||m(e)?{i:an,r:e,k:t,f:!!n}:e:null);function Wr(e,t=null,n=null,o=0,r=null,a=(e===Ar?0:1),l=!1,s=!1){const i={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ur(t),ref:t&&qr(t),scopeId:ln,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:an};return s?(ta(i,n),128&a&&e.normalize(i)):n&&(i.shapeFlag|=v(n)?8:16),Pr>0&&!l&&Br&&(i.patchFlag>0||6&a)&&32!==i.patchFlag&&Br.push(i),i}const Gr=function(e,t=null,n=null,o=0,r=null,a=!1){e&&e!==uo||(e=Tr);if(jr(e)){const o=Yr(e,t,!0);return n&&ta(o,n),Pr>0&&!a&&Br&&(6&o.shapeFlag?Br[Br.indexOf(e)]=o:Br.push(o)),o.patchFlag=-2,o}l=e,m(l)&&"__vccOpts"in l&&(e=e.__vccOpts);var l;if(t){t=Kr(t);let{class:e,style:n}=t;e&&!v(e)&&(t.class=U(e)),w(n)&&(wt(n)&&!p(n)&&(n=s({},n)),t.style=I(n))}const i=v(e)?1:kr(e)?128:fn(e)?64:w(e)?4:m(e)?2:0;return Wr(e,t,n,o,r,i,a,!0)};function Kr(e){return e?wt(e)||Yo(e)?s({},e):e:null}function Yr(e,t,n=!1,o=!1){const{props:r,ref:a,patchFlag:l,children:s,transition:i}=e,c=t?na(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Ur(c),ref:t&&t.ref?n&&a?p(a)?a.concat(qr(t)):[a,qr(t)]:qr(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ar?-1===l?16:16|l:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:i,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Yr(e.ssContent),ssFallback:e.ssFallback&&Yr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return i&&o&&On(u,i.clone(u)),u}function Jr(e=" ",t=0){return Gr(Hr,null,e,t)}function Xr(e,t){const n=Gr(Vr,null,e);return n.staticCount=t,n}function Zr(e="",t=!1){return t?(Fr(),Dr(Tr,null,e)):Gr(Tr,null,e)}function Qr(e){return null==e||"boolean"==typeof e?Gr(Tr):p(e)?Gr(Ar,null,e.slice()):jr(e)?ea(e):Gr(Hr,null,String(e))}function ea(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Yr(e)}function ta(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(p(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),ta(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Yo(t)?3===o&&an&&(1===an.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=an}}else m(t)?(t={default:t,_ctx:an},n=32):(t=String(t),64&o?(n=16,t=[Jr(t)]):n=8);e.children=t,e.shapeFlag|=n}function na(...e){const t={};for(let n=0;nla||an;let ia,ca;{const e=R(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach((t=>t(e))):o[0](e)}};ia=t("__VUE_INSTANCE_SETTERS__",(e=>la=e)),ca=t("__VUE_SSR_SETTERS__",(e=>ha=e))}const ua=e=>{const t=la;return ia(e),e.scope.on(),()=>{e.scope.off(),ia(t)}},pa=()=>{la&&la.scope.off(),ia(null)};function da(e){return 4&e.vnode.shapeFlag}let fa,ha=!1;function ma(e,t,n){m(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:w(t)&&(e.setupState=At(t)),va(e,n)}function va(e,t,n){const r=e.type;if(!e.render){if(!t&&fa&&!r.render){const t=r.template||Vo(e).template;if(t){const{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,i=s(s({isCustomElement:n,delimiters:a},o),l);r.render=fa(t,i)}}e.render=r.render||o}{const t=ua(e);xe();try{Ao(e)}finally{Ce(),t()}}}const ga={get:(e,t)=>(Ve(e,0,""),e[t])};function wa(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,ga),slots:e.slots,emit:e.emit,expose:t}}function ba(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(At(_t(e.exposed)),{get:(t,n)=>n in t?t[n]:n in xo?xo[n](e):void 0,has:(e,t)=>t in e||t in xo})):e.proxy}function _a(e,t=!0){return m(e)?e.displayName||e.name:e.name||t&&e.__name}const ya=(e,t)=>{const n=function(e,t,n=!1){let o,r;return m(e)?o=e:(o=e.get,r=e.set),new Ft(o,r,n)}(e,0,ha);return n};function xa(e,t,n){const o=arguments.length;return 2===o?w(t)&&!p(t)?jr(t)?Gr(e,null,[t]):Gr(e,t):Gr(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&jr(n)&&(n=[n]),Gr(e,t,n))}const Ca="3.5.12",Ma=o;let za;const La="undefined"!=typeof window&&window.trustedTypes;if(La)try{za=La.createPolicy("vue",{createHTML:e=>e})}catch(EA){}const Sa=za?e=>za.createHTML(e):e=>e,Ea="undefined"!=typeof document?document:null,ka=Ea&&Ea.createElement("template"),Aa={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r="svg"===t?Ea.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Ea.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Ea.createElement(e,{is:n}):Ea.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Ea.createTextNode(e),createComment:e=>Ea.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ea.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,a){const l=n?n.previousSibling:t.lastChild;if(r&&(r===a||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==a&&(r=r.nextSibling););else{ka.innerHTML=Sa("svg"===o?`${e}`:"mathml"===o?`${e}`:e);const r=ka.content;if("svg"===o||"mathml"===o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ha="transition",Ta="animation",Va=Symbol("_vtc"),Oa={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},Ba=s({},Ln,Oa),Fa=(e=>(e.displayName="Transition",e.props=Ba,e))(((e,{slots:t})=>xa(kn,Ia(e),t))),Pa=(e,t=[])=>{p(e)?e.forEach((e=>e(...t))):e&&e(...t)},Ra=e=>!!e&&(p(e)?e.some((e=>e.length>1)):e.length>1);function Ia(e){const t={};for(const s in e)s in Oa||(t[s]=e[s]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:a=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:c=a,appearActiveClass:u=l,appearToClass:p=i,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=function(e){if(null==e)return null;if(w(e))return[Na(e.enter),Na(e.leave)];{const t=Na(e);return[t,t]}}(r),v=m&&m[0],g=m&&m[1],{onBeforeEnter:b,onEnter:_,onEnterCancelled:y,onLeave:x,onLeaveCancelled:C,onBeforeAppear:M=b,onAppear:z=_,onAppearCancelled:L=y}=t,S=(e,t,n)=>{ja(e,t?p:i),ja(e,t?u:l),n&&n()},E=(e,t)=>{e._isLeaving=!1,ja(e,d),ja(e,h),ja(e,f),t&&t()},k=e=>(t,n)=>{const r=e?z:_,l=()=>S(t,e,n);Pa(r,[t,l]),$a((()=>{ja(t,e?c:a),Da(t,e?p:i),Ra(r)||qa(t,o,v,l)}))};return s(t,{onBeforeEnter(e){Pa(b,[e]),Da(e,a),Da(e,l)},onBeforeAppear(e){Pa(M,[e]),Da(e,c),Da(e,u)},onEnter:k(!1),onAppear:k(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>E(e,t);Da(e,d),Da(e,f),Ya(),$a((()=>{e._isLeaving&&(ja(e,d),Da(e,h),Ra(x)||qa(e,o,g,n))})),Pa(x,[e,n])},onEnterCancelled(e){S(e,!1),Pa(y,[e])},onAppearCancelled(e){S(e,!0),Pa(L,[e])},onLeaveCancelled(e){E(e),Pa(C,[e])}})}function Na(e){const t=(e=>{const t=v(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Da(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[Va]||(e[Va]=new Set)).add(t)}function ja(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[Va];n&&(n.delete(t),n.size||(e[Va]=void 0))}function $a(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Ua=0;function qa(e,t,n,o){const r=e._endId=++Ua,a=()=>{r===e._endId&&o()};if(null!=n)return setTimeout(a,n);const{type:l,timeout:s,propCount:i}=Wa(e,t);if(!l)return o();const c=l+"end";let u=0;const p=()=>{e.removeEventListener(c,d),a()},d=t=>{t.target===e&&++u>=i&&p()};setTimeout((()=>{u(n[e]||"").split(", "),r=o(`${Ha}Delay`),a=o(`${Ha}Duration`),l=Ga(r,a),s=o(`${Ta}Delay`),i=o(`${Ta}Duration`),c=Ga(s,i);let u=null,p=0,d=0;t===Ha?l>0&&(u=Ha,p=l,d=a.length):t===Ta?c>0&&(u=Ta,p=c,d=i.length):(p=Math.max(l,c),u=p>0?l>c?Ha:Ta:null,d=u?u===Ha?a.length:i.length:0);return{type:u,timeout:p,propCount:d,hasTransform:u===Ha&&/\b(transform|all)(,|$)/.test(o(`${Ha}Property`).toString())}}function Ga(e,t){for(;e.lengthKa(t)+Ka(e[n]))))}function Ka(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function Ya(){return document.body.offsetHeight}const Ja=Symbol("_vod"),Xa=Symbol("_vsh"),Za={beforeMount(e,{value:t},{transition:n}){e[Ja]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Qa(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Qa(e,!0),o.enter(e)):o.leave(e,(()=>{Qa(e,!1)})):Qa(e,t))},beforeUnmount(e,{value:t}){Qa(e,t)}};function Qa(e,t){e.style.display=t?e[Ja]:"none",e[Xa]=!t}const el=Symbol(""),tl=/(^|;)\s*display\s*:/;const nl=/\s*!important$/;function ol(e,t,n){if(p(n))n.forEach((n=>ol(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=al[t];if(n)return n;let o=E(t);if("filter"!==o&&o in e)return al[t]=o;o=H(o);for(let r=0;r{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();$t(function(e,t){if(p(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=ml(),n}(o,r);cl(e,n,l,s)}else l&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,l,s),a[t]=void 0)}}const dl=/(?:Once|Passive|Capture)$/;let fl=0;const hl=Promise.resolve(),ml=()=>fl||(hl.then((()=>fl=0)),fl=Date.now());const vl=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const gl=new WeakMap,wl=new WeakMap,bl=Symbol("_moveCb"),_l=Symbol("_enterCb"),yl=(e=>(delete e.props.mode,e))({name:"TransitionGroup",props:s({},Ba,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=sa(),o=Mn();let r,a;return to((()=>{if(!r.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const o=e.cloneNode(),r=e[Va];r&&r.forEach((e=>{e.split(/\s+/).forEach((e=>e&&o.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&o.classList.add(e))),o.style.display="none";const a=1===t.nodeType?t:t.parentNode;a.appendChild(o);const{hasTransform:l}=Wa(o);return a.removeChild(o),l}(r[0].el,n.vnode.el,t))return;r.forEach(xl),r.forEach(Cl);const o=r.filter(Ml);Ya(),o.forEach((e=>{const n=e.el,o=n.style;Da(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n[bl]=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n[bl]=null,ja(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const l=bt(e),s=Ia(l);let i=l.tag||Ar;if(r=[],a)for(let e=0;e{const t=e.props["onUpdate:modelValue"]||!1;return p(t)?e=>O(t,e):t};function Ll(e){e.target.composing=!0}function Sl(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const El=Symbol("_assign"),kl={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e[El]=zl(r);const a=o||r.props&&"number"===r.props.type;cl(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n&&(o=o.trim()),a&&(o=F(o)),e[El](o)})),n&&cl(e,"change",(()=>{e.value=e.value.trim()})),t||(cl(e,"compositionstart",Ll),cl(e,"compositionend",Sl),cl(e,"change",Sl))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:o,trim:r,number:a}},l){if(e[El]=zl(l),e.composing)return;const s=null==t?"":t;if((!a&&"number"!==e.type||/^0\d/.test(e.value)?e.value:F(e.value))!==s){if(document.activeElement===e&&"range"!==e.type){if(o&&t===n)return;if(r&&e.value.trim()===s)return}e.value=s}}},Al={deep:!0,created(e,t,n){e[El]=zl(n),cl(e,"change",(()=>{const t=e._modelValue,n=Vl(e),o=e.checked,r=e[El];if(p(t)){const e=Y(t,n),a=-1!==e;if(o&&!a)r(t.concat(n));else if(!o&&a){const n=[...t];n.splice(e,1),r(n)}}else if(f(t)){const e=new Set(t);o?e.add(n):e.delete(n),r(e)}else r(Ol(e,o))}))},mounted:Hl,beforeUpdate(e,t,n){e[El]=zl(n),Hl(e,t,n)}};function Hl(e,{value:t,oldValue:n},o){let r;if(e._modelValue=t,p(t))r=Y(t,o.props.value)>-1;else if(f(t))r=t.has(o.props.value);else{if(t===n)return;r=K(t,Ol(e,!0))}e.checked!==r&&(e.checked=r)}const Tl={created(e,{value:t},n){e.checked=K(t,n.props.value),e[El]=zl(n),cl(e,"change",(()=>{e[El](Vl(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e[El]=zl(o),t!==n&&(e.checked=K(t,o.props.value))}};function Vl(e){return"_value"in e?e._value:e.value}function Ol(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Bl=["ctrl","shift","alt","meta"],Fl={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&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Bl.some((n=>e[`${n}Key`]&&!t.includes(n)))},Pl=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(n,...o)=>{for(let e=0;e{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=n=>{if(!("key"in n))return;const o=A(n.key);return t.some((e=>e===o||Rl[e]===o))?e(n):void 0})},Nl=s({patchProp:(e,t,n,o,r,s)=>{const i="svg"===r;"class"===t?function(e,t,n){const o=e[Va];o&&(t=(t?[t,...o]:[...o]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,i):"style"===t?function(e,t,n){const o=e.style,r=v(n);let a=!1;if(n&&!r){if(t)if(v(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&ol(o,t,"")}else for(const e in t)null==n[e]&&ol(o,e,"");for(const e in n)"display"===e&&(a=!0),ol(o,e,n[e])}else if(r){if(t!==n){const e=o[el];e&&(n+=";"+e),o.cssText=n,a=tl.test(n)}}else t&&e.removeAttribute("style");Ja in e&&(e[Ja]=a?o.display:"",e[Xa]&&(o.display="none"))}(e,n,o):a(t)?l(t)||pl(e,t,0,o,s):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&vl(t)&&m(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(vl(t)&&v(n))return!1;return t in e}(e,t,o,i))?(il(e,t,o),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||sl(e,t,o,i,0,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&&v(o)?("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),sl(e,t,o,i)):il(e,E(t),o,0,t)}},Aa);let Dl;function jl(){return Dl||(Dl=ir(Nl))}const $l=(...e)=>{jl().render(...e)};const Ul=e=>Array.from(e.querySelectorAll('a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])')).filter((e=>ql(e)&&(e=>"fixed"!==getComputedStyle(e).position&&null!==e.offsetParent)(e))),ql=e=>{if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.tabIndex<0||e.hasAttribute("disabled")||"true"===e.getAttribute("aria-disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return!("hidden"===e.type||"file"===e.type);case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},Wl=function(e,t,...n){let o;o=t.includes("mouse")||t.includes("click")?"MouseEvents":t.includes("key")?"KeyboardEvent":"HTMLEvents";const r=document.createEvent(o);return r.initEvent(t,...n),e.dispatchEvent(r),e};var Gl,Kl=Object.defineProperty,Yl=Object.defineProperties,Jl=Object.getOwnPropertyDescriptors,Xl=Object.getOwnPropertySymbols,Zl=Object.prototype.hasOwnProperty,Ql=Object.prototype.propertyIsEnumerable,es=(e,t,n)=>t in e?Kl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function ts(e,t){const n=zt();var o,r;return vr((()=>{n.value=e()}),(o=((e,t)=>{for(var n in t||(t={}))Zl.call(t,n)&&es(e,n,t[n]);if(Xl)for(var n of Xl(t))Ql.call(t,n)&&es(e,n,t[n]);return e})({},t),r={flush:null!=void 0?void 0:"sync"},Yl(o,Jl(r)))),ft(n)}const ns="undefined"!=typeof window,os=()=>{},rs=ns&&(null==(Gl=null==window?void 0:window.navigator)?void 0:Gl.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function as(e){return"function"==typeof e?e():Et(e)}function ls(e,t){return function(...n){return new Promise(((o,r)=>{Promise.resolve(e((()=>t.apply(this,n)),{fn:t,thisArg:this,args:n})).then(o).catch(r)}))}}function ss(e){return!!re()&&(ae(e),!0)}function is(e,t=200,n={}){return ls(function(e,t={}){let n,o,r=os;const a=e=>{clearTimeout(e),r(),r=os};return l=>{const s=as(e),i=as(t.maxWait);return n&&a(n),s<=0||void 0!==i&&i<=0?(o&&(a(o),o=null),Promise.resolve(l())):new Promise(((e,c)=>{r=t.rejectOnCancel?c:e,i&&!o&&(o=setTimeout((()=>{n&&a(n),o=null,e(l())}),i)),n=setTimeout((()=>{o&&a(o),o=null,e(l())}),s)}))}}(t,n),e)}function cs(e,t=200,n={}){const o=Mt(e.value),r=is((()=>{o.value=e.value}),t,n);return gr(e,(()=>r())),o}function us(e,t=200,n=!1,o=!0,r=!1){return ls(function(e,t=!0,n=!0,o=!1){let r,a,l=0,s=!0,i=os;const c=()=>{r&&(clearTimeout(r),r=void 0,i(),i=os)};return u=>{const p=as(e),d=Date.now()-l,f=()=>a=u();return c(),p<=0?(l=Date.now(),f()):(d>p&&(n||!s)?(l=Date.now(),f()):t&&(a=new Promise(((e,t)=>{i=o?t:e,r=setTimeout((()=>{l=Date.now(),s=!0,e(f()),c()}),Math.max(0,p-d))}))),n||r||(r=setTimeout((()=>s=!0),p)),s=!1,a)}}(t,n,o,r),e)}function ps(e,t,n={}){const{immediate:o=!0}=n,r=Mt(!1);let a=null;function l(){a&&(clearTimeout(a),a=null)}function s(){r.value=!1,l()}function i(...n){l(),r.value=!0,a=setTimeout((()=>{r.value=!1,a=null,e(...n)}),as(t))}return o&&(r.value=!0,ns&&i()),ss(s),{isPending:ft(r),start:i,stop:s}}function ds(e){var t;const n=as(e);return null!=(t=null==n?void 0:n.$el)?t:n}const fs=ns?window:void 0,hs=ns?window.document:void 0;function ms(...e){let t,n,o,r;if("string"==typeof e[0]||Array.isArray(e[0])?([n,o,r]=e,t=fs):[t,n,o,r]=e,!t)return os;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const a=[],l=()=>{a.forEach((e=>e())),a.length=0},s=gr((()=>[ds(t),as(r)]),(([e,t])=>{l(),e&&a.push(...n.flatMap((n=>o.map((o=>((e,t,n,o)=>(e.addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)))(e,n,o,t))))))}),{immediate:!0,flush:"post"}),i=()=>{s(),l()};return ss(i),i}let vs=!1;function gs(e,t,n={}){const{window:o=fs,ignore:r=[],capture:a=!0,detectIframe:l=!1}=n;if(!o)return;rs&&!vs&&(vs=!0,Array.from(o.document.body.children).forEach((e=>e.addEventListener("click",os))));let s=!0;const i=e=>r.some((t=>{if("string"==typeof t)return Array.from(o.document.querySelectorAll(t)).some((t=>t===e.target||e.composedPath().includes(t)));{const n=ds(t);return n&&(e.target===n||e.composedPath().includes(n))}})),c=[ms(o,"click",(n=>{const o=ds(e);o&&o!==n.target&&!n.composedPath().includes(o)&&(0===n.detail&&(s=!i(n)),s?t(n):s=!0)}),{passive:!0,capture:a}),ms(o,"pointerdown",(t=>{const n=ds(e);n&&(s=!t.composedPath().includes(n)&&!i(t))}),{passive:!0}),l&&ms(o,"blur",(n=>{var r;const a=ds(e);"IFRAME"!==(null==(r=o.document.activeElement)?void 0:r.tagName)||(null==a?void 0:a.contains(o.document.activeElement))||t(n)}))].filter(Boolean);return()=>c.forEach((e=>e()))}function ws(e,t=!1){const n=Mt(),o=()=>n.value=Boolean(e());return o(),function(e,t=!0){sa()?Qn(e):t?e():Zt(e)}(o,t),n}const bs="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},_s="__vueuse_ssr_handlers__";function ys({document:e=hs}={}){if(!e)return Mt("visible");const t=Mt(e.visibilityState);return ms(e,"visibilitychange",(()=>{t.value=e.visibilityState})),t}bs[_s]=bs[_s]||{};var xs=Object.getOwnPropertySymbols,Cs=Object.prototype.hasOwnProperty,Ms=Object.prototype.propertyIsEnumerable;function zs(e,t,n={}){const o=n,{window:r=fs}=o,a=((e,t)=>{var n={};for(var o in e)Cs.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&xs)for(var o of xs(e))t.indexOf(o)<0&&Ms.call(e,o)&&(n[o]=e[o]);return n})(o,["window"]);let l;const s=ws((()=>r&&"ResizeObserver"in r)),i=()=>{l&&(l.disconnect(),l=void 0)},c=gr((()=>ds(e)),(e=>{i(),s.value&&r&&e&&(l=new ResizeObserver(t),l.observe(e,a))}),{immediate:!0,flush:"post"}),u=()=>{i(),c()};return ss(u),{isSupported:s,stop:u}}var Ls,Ss,Es=Object.getOwnPropertySymbols,ks=Object.prototype.hasOwnProperty,As=Object.prototype.propertyIsEnumerable;function Hs(e,t,n={}){const o=n,{window:r=fs}=o,a=((e,t)=>{var n={};for(var o in e)ks.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&Es)for(var o of Es(e))t.indexOf(o)<0&&As.call(e,o)&&(n[o]=e[o]);return n})(o,["window"]);let l;const s=ws((()=>r&&"MutationObserver"in r)),i=()=>{l&&(l.disconnect(),l=void 0)},c=gr((()=>ds(e)),(e=>{i(),s.value&&r&&e&&(l=new MutationObserver(t),l.observe(e,a))}),{immediate:!0}),u=()=>{i(),c()};return ss(u),{isSupported:s,stop:u}}(Ss=Ls||(Ls={})).UP="UP",Ss.RIGHT="RIGHT",Ss.DOWN="DOWN",Ss.LEFT="LEFT",Ss.NONE="NONE";var Ts=Object.defineProperty,Vs=Object.getOwnPropertySymbols,Os=Object.prototype.hasOwnProperty,Bs=Object.prototype.propertyIsEnumerable,Fs=(e,t,n)=>t in e?Ts(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function Ps(e,t,n,o={}){var r,a,l;const{clone:s=!1,passive:i=!1,eventName:c,deep:u=!1,defaultValue:p}=o,d=sa(),f=(null==d?void 0:d.emit)||(null==(r=null==d?void 0:d.$emit)?void 0:r.bind(d))||(null==(l=null==(a=null==d?void 0:d.proxy)?void 0:a.$emit)?void 0:l.bind(null==d?void 0:d.proxy));let h=c;h=c||h||`update:${t.toString()}`;const m=e=>{return s?(e=>"function"==typeof e)(s)?s(e):(t=e,JSON.parse(JSON.stringify(t))):e;var t},v=()=>void 0!==e[t]?m(e[t]):p;if(i){const n=Mt(v());return gr((()=>e[t]),(e=>n.value=m(e))),gr(n,(n=>{(n!==e[t]||u)&&f(h,n)}),{deep:u}),n}return ya({get:()=>v(),set(e){f(h,e)}})}function Rs({window:e=fs}={}){if(!e)return Mt(!1);const t=Mt(e.document.hasFocus());return ms(e,"blur",(()=>{t.value=!1})),ms(e,"focus",(()=>{t.value=!0})),t}((e,t)=>{for(var n in t||(t={}))Os.call(t,n)&&Fs(e,n,t[n]);if(Vs)for(var n of Vs(t))Bs.call(t,n)&&Fs(e,n,t[n])})({linear:function(e){return e}},{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]});var Is="object"==typeof global&&global&&global.Object===Object&&global,Ns="object"==typeof self&&self&&self.Object===Object&&self,Ds=Is||Ns||Function("return this")(),js=Ds.Symbol,$s=Object.prototype,Us=$s.hasOwnProperty,qs=$s.toString,Ws=js?js.toStringTag:void 0;var Gs=Object.prototype.toString;var Ks=js?js.toStringTag:void 0;function Ys(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Ks&&Ks in Object(e)?function(e){var t=Us.call(e,Ws),n=e[Ws];try{e[Ws]=void 0;var o=!0}catch(EA){}var r=qs.call(e);return o&&(t?e[Ws]=n:delete e[Ws]),r}(e):function(e){return Gs.call(e)}(e)}function Js(e){return null!=e&&"object"==typeof e}function Xs(e){return"symbol"==typeof e||Js(e)&&"[object Symbol]"==Ys(e)}function Zs(e,t){for(var n=-1,o=null==e?0:e.length,r=Array(o);++n0){if(++yi>=800)return arguments[0]}else yi=0;return _i.apply(void 0,arguments)}),Li=/^(?:0|[1-9]\d*)$/;function Si(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Li.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}function Bi(e){return Js(e)&&"[object Arguments]"==Ys(e)}var Fi=Object.prototype,Pi=Fi.hasOwnProperty,Ri=Fi.propertyIsEnumerable,Ii=Bi(function(){return arguments}())?Bi:function(e){return Js(e)&&Pi.call(e,"callee")&&!Ri.call(e,"callee")},Ni=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Di=/^\w*$/;function ji(e,t){if(Qs(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Xs(e))||(Di.test(e)||!Ni.test(e)||null!=t&&e in Object(t))}var $i=wi(Object,"create");var Ui=Object.prototype.hasOwnProperty;var qi=Object.prototype.hasOwnProperty;function Wi(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1},Yi.prototype.set=function(e,t){var n=this.__data__,o=Gi(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this};var Ji=wi(Ds,"Map");function Xi(e,t){var n,o,r=e.__data__;return("string"==(o=typeof(n=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function Zi(e){var t=-1,n=null==e?0:e.length;for(this.clear();++tvoid 0===e,_c=e=>"boolean"==typeof e,yc=e=>"number"==typeof e,xc=e=>"undefined"!=typeof Element&&e instanceof Element,Cc=e=>mc(e),Mc=e=>Object.keys(e),zc=e=>Object.entries(e),Lc=(e,t,n)=>({get value(){return lc(e,t,n)},set value(n){!function(e,t,n){null==e||vc(e,t,n)}(e,t,n)}});class Sc extends Error{constructor(e){super(e),this.name="ElementPlusError"}}function Ec(e,t){throw new Sc(`[${e}] ${t}`)}function kc(e,t){}const Ac=(e="")=>e.split(" ").filter((e=>!!e.trim())),Hc=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},Tc=(e,t)=>{e&&t.trim()&&e.classList.add(...Ac(t))},Vc=(e,t)=>{e&&t.trim()&&e.classList.remove(...Ac(t))},Oc=(e,t)=>{var n;if(!ns||!e||!t)return"";let o=E(t);"float"===o&&(o="cssFloat");try{const t=e.style[o];if(t)return t;const r=null==(n=document.defaultView)?void 0:n.getComputedStyle(e,"");return r?r[o]:""}catch(EA){return e.style[o]}};function Bc(e,t="px"){return e?yc(e)||v(n=e)&&!Number.isNaN(Number(n))?`${e}${t}`:v(e)?e:void 0:"";var n}const Fc=(e,t)=>{if(!ns)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],o=Oc(e,n);return["scroll","auto","overlay"].some((e=>o.includes(e)))},Pc=(e,t)=>{if(!ns)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(Fc(n,t))return n;n=n.parentNode}return n};let Rc;function Ic(e,t){if(!ns)return;if(!t)return void(e.scrollTop=0);const n=[];let o=t.offsetParent;for(;null!==o&&e!==o&&e.contains(o);)n.push(o),o=o.offsetParent;const r=t.offsetTop+n.reduce(((e,t)=>e+t.offsetTop),0),a=r+t.offsetHeight,l=e.scrollTop,s=l+e.clientHeight;rs&&(e.scrollTop=a-e.clientHeight)}var Nc=Fn({name:"AddLocation",__name:"add-location",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),Wr("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"}),Wr("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"})]))}),Dc=Nc,jc=Fn({name:"Aim",__name:"aim",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),$c=jc,Uc=Fn({name:"AlarmClock",__name:"alarm-clock",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),qc=Uc,Wc=Fn({name:"Apple",__name:"apple",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Gc=Wc,Kc=Fn({name:"ArrowDownBold",__name:"arrow-down-bold",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Yc=Kc,Jc=Fn({name:"ArrowDown",__name:"arrow-down",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Xc=Jc,Zc=Fn({name:"ArrowLeftBold",__name:"arrow-left-bold",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Qc=Zc,eu=Fn({name:"ArrowLeft",__name:"arrow-left",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),tu=eu,nu=Fn({name:"ArrowRightBold",__name:"arrow-right-bold",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),ou=nu,ru=Fn({name:"ArrowRight",__name:"arrow-right",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),au=ru,lu=Fn({name:"ArrowUpBold",__name:"arrow-up-bold",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),su=lu,iu=Fn({name:"ArrowUp",__name:"arrow-up",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),cu=iu,uu=Fn({name:"Avatar",__name:"avatar",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),pu=uu,du=Fn({name:"Back",__name:"back",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),Wr("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"})]))}),fu=du,hu=Fn({name:"Baseball",__name:"baseball",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),mu=hu,vu=Fn({name:"Basketball",__name:"basketball",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),gu=vu,wu=Fn({name:"BellFilled",__name:"bell-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),bu=wu,_u=Fn({name:"Bell",__name:"bell",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M512 64a64 64 0 0 1 64 64v64H448v-64a64 64 0 0 1 64-64"}),Wr("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"}),Wr("path",{fill:"currentColor",d:"M96 768h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32m352 128h128a64 64 0 0 1-128 0"})]))}),yu=_u,xu=Fn({name:"Bicycle",__name:"bicycle",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("path",{fill:"currentColor",d:"M288 672h320q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),Wr("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"}),Wr("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"}),Wr("path",{fill:"currentColor",d:"m373.376 599.808-42.752-47.616 320-288 42.752 47.616z"})]))}),Cu=xu,Mu=Fn({name:"BottomLeft",__name:"bottom-left",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M256 768h416a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V352a32 32 0 0 1 64 0z"}),Wr("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"})]))}),zu=Mu,Lu=Fn({name:"BottomRight",__name:"bottom-right",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M352 768a32 32 0 1 0 0 64h448a32 32 0 0 0 32-32V352a32 32 0 0 0-64 0v416z"}),Wr("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"})]))}),Su=Lu,Eu=Fn({name:"Bottom",__name:"bottom",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),ku=Eu,Au=Fn({name:"Bowl",__name:"bowl",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Hu=Au,Tu=Fn({name:"Box",__name:"box",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("path",{fill:"currentColor",d:"M64 320h896v64H64z"}),Wr("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"})]))}),Vu=Tu,Ou=Fn({name:"Briefcase",__name:"briefcase",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M320 320V128h384v192h192v192H128V320zM128 576h768v320H128zm256-256h256.064V192H384z"})]))}),Bu=Ou,Fu=Fn({name:"BrushFilled",__name:"brush-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Pu=Fu,Ru=Fn({name:"Brush",__name:"brush",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Iu=Ru,Nu=Fn({name:"Burger",__name:"burger",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Du=Nu,ju=Fn({name:"Calendar",__name:"calendar",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),$u=ju,Uu=Fn({name:"CameraFilled",__name:"camera-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),qu=Uu,Wu=Fn({name:"Camera",__name:"camera",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Gu=Wu,Ku=Fn({name:"CaretBottom",__name:"caret-bottom",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"m192 384 320 384 320-384z"})]))}),Yu=Ku,Ju=Fn({name:"CaretLeft",__name:"caret-left",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M672 192 288 511.936 672 832z"})]))}),Xu=Ju,Zu=Fn({name:"CaretRight",__name:"caret-right",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}),Qu=Zu,ep=Fn({name:"CaretTop",__name:"caret-top",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}),tp=ep,np=Fn({name:"Cellphone",__name:"cellphone",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),op=np,rp=Fn({name:"ChatDotRound",__name:"chat-dot-round",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),ap=rp,lp=Fn({name:"ChatDotSquare",__name:"chat-dot-square",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),sp=lp,ip=Fn({name:"ChatLineRound",__name:"chat-line-round",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),cp=ip,up=Fn({name:"ChatLineSquare",__name:"chat-line-square",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),pp=up,dp=Fn({name:"ChatRound",__name:"chat-round",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),fp=dp,hp=Fn({name:"ChatSquare",__name:"chat-square",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),mp=hp,vp=Fn({name:"Check",__name:"check",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),gp=vp,wp=Fn({name:"Checked",__name:"checked",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),bp=wp,_p=Fn({name:"Cherry",__name:"cherry",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),yp=_p,xp=Fn({name:"Chicken",__name:"chicken",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Cp=xp,Mp=Fn({name:"ChromeFilled",__name:"chrome-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"}),Wr("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"})]))}),zp=Mp,Lp=Fn({name:"CircleCheckFilled",__name:"circle-check-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Sp=Lp,Ep=Fn({name:"CircleCheck",__name:"circle-check",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),kp=Ep,Ap=Fn({name:"CircleCloseFilled",__name:"circle-close-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Hp=Ap,Tp=Fn({name:"CircleClose",__name:"circle-close",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),Vp=Tp,Op=Fn({name:"CirclePlusFilled",__name:"circle-plus-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Bp=Op,Fp=Fn({name:"CirclePlus",__name:"circle-plus",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),Wr("path",{fill:"currentColor",d:"M480 672V352a32 32 0 1 1 64 0v320a32 32 0 0 1-64 0"}),Wr("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"})]))}),Pp=Fp,Rp=Fn({name:"Clock",__name:"clock",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),Wr("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}),Ip=Rp,Np=Fn({name:"CloseBold",__name:"close-bold",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Dp=Np,jp=Fn({name:"Close",__name:"close",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),$p=jp,Up=Fn({name:"Cloudy",__name:"cloudy",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),qp=Up,Wp=Fn({name:"CoffeeCup",__name:"coffee-cup",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Gp=Wp,Kp=Fn({name:"Coffee",__name:"coffee",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Yp=Kp,Jp=Fn({name:"Coin",__name:"coin",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"}),Wr("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"})]))}),Xp=Jp,Zp=Fn({name:"ColdDrink",__name:"cold-drink",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Qp=Zp,ed=Fn({name:"CollectionTag",__name:"collection-tag",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),td=ed,nd=Fn({name:"Collection",__name:"collection",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),od=nd,rd=Fn({name:"Comment",__name:"comment",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),ad=rd,ld=Fn({name:"Compass",__name:"compass",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),sd=ld,id=Fn({name:"Connection",__name:"connection",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),cd=id,ud=Fn({name:"Coordinate",__name:"coordinate",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M480 512h64v320h-64z"}),Wr("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"})]))}),pd=ud,dd=Fn({name:"CopyDocument",__name:"copy-document",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),fd=dd,hd=Fn({name:"Cpu",__name:"cpu",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),md=hd,vd=Fn({name:"CreditCard",__name:"credit-card",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("path",{fill:"currentColor",d:"M64 320h896v64H64zm0 128h896v64H64zm128 192h256v64H192z"})]))}),gd=vd,wd=Fn({name:"Crop",__name:"crop",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M256 768h672a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V96a32 32 0 0 1 64 0z"}),Wr("path",{fill:"currentColor",d:"M832 224v704a32 32 0 1 1-64 0V256H96a32 32 0 0 1 0-64h704a32 32 0 0 1 32 32"})]))}),bd=wd,_d=Fn({name:"DArrowLeft",__name:"d-arrow-left",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),yd=_d,xd=Fn({name:"DArrowRight",__name:"d-arrow-right",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Cd=xd,Md=Fn({name:"DCaret",__name:"d-caret",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"m512 128 288 320H224zM224 576h576L512 896z"})]))}),zd=Md,Ld=Fn({name:"DataAnalysis",__name:"data-analysis",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Sd=Ld,Ed=Fn({name:"DataBoard",__name:"data-board",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M32 128h960v64H32z"}),Wr("path",{fill:"currentColor",d:"M192 192v512h640V192zm-64-64h768v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),Wr("path",{fill:"currentColor",d:"M322.176 960H248.32l144.64-250.56 55.424 32zm453.888 0h-73.856L576 741.44l55.424-32z"})]))}),kd=Ed,Ad=Fn({name:"DataLine",__name:"data-line",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Hd=Ad,Td=Fn({name:"DeleteFilled",__name:"delete-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Vd=Td,Od=Fn({name:"DeleteLocation",__name:"delete-location",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),Wr("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"}),Wr("path",{fill:"currentColor",d:"M384 384h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}),Bd=Od,Fd=Fn({name:"Delete",__name:"delete",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Pd=Fd,Rd=Fn({name:"Dessert",__name:"dessert",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Id=Rd,Nd=Fn({name:"Discount",__name:"discount",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),Dd=Nd,jd=Fn({name:"DishDot",__name:"dish-dot",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),$d=jd,Ud=Fn({name:"Dish",__name:"dish",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),qd=Ud,Wd=Fn({name:"DocumentAdd",__name:"document-add",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Gd=Wd,Kd=Fn({name:"DocumentChecked",__name:"document-checked",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Yd=Kd,Jd=Fn({name:"DocumentCopy",__name:"document-copy",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Xd=Jd,Zd=Fn({name:"DocumentDelete",__name:"document-delete",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Qd=Zd,ef=Fn({name:"DocumentRemove",__name:"document-remove",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),tf=ef,nf=Fn({name:"Document",__name:"document",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),of=nf,rf=Fn({name:"Download",__name:"download",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),af=rf,lf=Fn({name:"Drizzling",__name:"drizzling",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),sf=lf,cf=Fn({name:"EditPen",__name:"edit-pen",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),uf=cf,pf=Fn({name:"Edit",__name:"edit",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),df=pf,ff=Fn({name:"ElemeFilled",__name:"eleme-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),hf=ff,mf=Fn({name:"Eleme",__name:"eleme",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),vf=mf,gf=Fn({name:"ElementPlus",__name:"element-plus",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),wf=gf,bf=Fn({name:"Expand",__name:"expand",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M128 192h768v128H128zm0 256h512v128H128zm0 256h768v128H128zm576-352 192 160-192 128z"})]))}),_f=bf,yf=Fn({name:"Failed",__name:"failed",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),xf=yf,Cf=Fn({name:"Female",__name:"female",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("path",{fill:"currentColor",d:"M512 640q32 0 32 32v256q0 32-32 32t-32-32V672q0-32 32-32"}),Wr("path",{fill:"currentColor",d:"M352 800h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}),Mf=Cf,zf=Fn({name:"Files",__name:"files",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Lf=zf,Sf=Fn({name:"Film",__name:"film",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("path",{fill:"currentColor",d:"M320 288V128h64v352h256V128h64v160h160v64H704v128h160v64H704v128h160v64H704v160h-64V544H384v352h-64V736H128v-64h192V544H128v-64h192V352H128v-64z"})]))}),Ef=Sf,kf=Fn({name:"Filter",__name:"filter",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Af=kf,Hf=Fn({name:"Finished",__name:"finished",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Tf=Hf,Vf=Fn({name:"FirstAidKit",__name:"first-aid-kit",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),Of=Vf,Bf=Fn({name:"Flag",__name:"flag",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M288 128h608L736 384l160 256H288v320h-96V64h96z"})]))}),Ff=Bf,Pf=Fn({name:"Fold",__name:"fold",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M896 192H128v128h768zm0 256H384v128h512zm0 256H128v128h768zM320 384 128 512l192 128z"})]))}),Rf=Pf,If=Fn({name:"FolderAdd",__name:"folder-add",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Nf=If,Df=Fn({name:"FolderChecked",__name:"folder-checked",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),jf=Df,$f=Fn({name:"FolderDelete",__name:"folder-delete",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Uf=$f,qf=Fn({name:"FolderOpened",__name:"folder-opened",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Wf=qf,Gf=Fn({name:"FolderRemove",__name:"folder-remove",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Kf=Gf,Yf=Fn({name:"Folder",__name:"folder",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Jf=Yf,Xf=Fn({name:"Food",__name:"food",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Zf=Xf,Qf=Fn({name:"Football",__name:"football",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),eh=Qf,th=Fn({name:"ForkSpoon",__name:"fork-spoon",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),nh=th,oh=Fn({name:"Fries",__name:"fries",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),rh=oh,ah=Fn({name:"FullScreen",__name:"full-screen",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),lh=ah,sh=Fn({name:"GobletFull",__name:"goblet-full",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),ih=sh,ch=Fn({name:"GobletSquareFull",__name:"goblet-square-full",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),uh=ch,ph=Fn({name:"GobletSquare",__name:"goblet-square",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),dh=ph,fh=Fn({name:"Goblet",__name:"goblet",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),hh=fh,mh=Fn({name:"GoldMedal",__name:"gold-medal",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("path",{fill:"currentColor",d:"M544 480H416v64h64v192h-64v64h192v-64h-64z"})]))}),vh=mh,gh=Fn({name:"GoodsFilled",__name:"goods-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),wh=gh,bh=Fn({name:"Goods",__name:"goods",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),_h=bh,yh=Fn({name:"Grape",__name:"grape",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),xh=yh,Ch=Fn({name:"Grid",__name:"grid",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M640 384v256H384V384zm64 0h192v256H704zm-64 512H384V704h256zm64 0V704h192v192zm-64-768v192H384V128zm64 0h192v192H704zM320 384v256H128V384zm0 512H128V704h192zm0-768v192H128V128z"})]))}),Mh=Ch,zh=Fn({name:"Guide",__name:"guide",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),Lh=zh,Sh=Fn({name:"Handbag",__name:"handbag",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Eh=Sh,kh=Fn({name:"Headset",__name:"headset",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Ah=kh,Hh=Fn({name:"HelpFilled",__name:"help-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Th=Hh,Vh=Fn({name:"Help",__name:"help",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Oh=Vh,Bh=Fn({name:"Hide",__name:"hide",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),Fh=Bh,Ph=Fn({name:"Histogram",__name:"histogram",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M416 896V128h192v768zm-288 0V448h192v448zm576 0V320h192v576z"})]))}),Rh=Ph,Ih=Fn({name:"HomeFilled",__name:"home-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M512 128 128 447.936V896h255.936V640H640v256h255.936V447.936z"})]))}),Nh=Ih,Dh=Fn({name:"HotWater",__name:"hot-water",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),jh=Dh,$h=Fn({name:"House",__name:"house",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Uh=$h,qh=Fn({name:"IceCreamRound",__name:"ice-cream-round",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Wh=qh,Gh=Fn({name:"IceCreamSquare",__name:"ice-cream-square",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Kh=Gh,Yh=Fn({name:"IceCream",__name:"ice-cream",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Jh=Yh,Xh=Fn({name:"IceDrink",__name:"ice-drink",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Zh=Xh,Qh=Fn({name:"IceTea",__name:"ice-tea",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),em=Qh,tm=Fn({name:"InfoFilled",__name:"info-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),nm=tm,om=Fn({name:"Iphone",__name:"iphone",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),rm=om,am=Fn({name:"Key",__name:"key",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),lm=am,sm=Fn({name:"KnifeFork",__name:"knife-fork",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),im=sm,cm=Fn({name:"Lightning",__name:"lightning",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),um=cm,pm=Fn({name:"Link",__name:"link",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),dm=pm,fm=Fn({name:"List",__name:"list",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160v64h384zM288 512h448v-64H288zm0 256h448v-64H288zm96-576V96h256v96z"})]))}),hm=fm,mm=Fn({name:"Loading",__name:"loading",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),vm=mm,gm=Fn({name:"LocationFilled",__name:"location-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),wm=gm,bm=Fn({name:"LocationInformation",__name:"location-information",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),Wr("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"}),Wr("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"})]))}),_m=bm,ym=Fn({name:"Location",__name:"location",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),xm=ym,Cm=Fn({name:"Lock",__name:"lock",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),Mm=Cm,zm=Fn({name:"Lollipop",__name:"lollipop",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Lm=zm,Sm=Fn({name:"MagicStick",__name:"magic-stick",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Em=Sm,km=Fn({name:"Magnet",__name:"magnet",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Am=km,Hm=Fn({name:"Male",__name:"male",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"}),Wr("path",{fill:"currentColor",d:"M604.813 458.9 565.1 419.131l292.613-292.668 39.825 39.824z"})]))}),Tm=Hm,Vm=Fn({name:"Management",__name:"management",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M576 128v288l96-96 96 96V128h128v768H320V128zm-448 0h128v768H128z"})]))}),Om=Vm,Bm=Fn({name:"MapLocation",__name:"map-location",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),Fm=Bm,Pm=Fn({name:"Medal",__name:"medal",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),Rm=Pm,Im=Fn({name:"Memo",__name:"memo",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"}),Wr("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"})]))}),Nm=Im,Dm=Fn({name:"Menu",__name:"menu",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),jm=Dm,$m=Fn({name:"MessageBox",__name:"message-box",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Um=$m,qm=Fn({name:"Message",__name:"message",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),Wm=qm,Gm=Fn({name:"Mic",__name:"mic",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Km=Gm,Ym=Fn({name:"Microphone",__name:"microphone",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Jm=Ym,Xm=Fn({name:"MilkTea",__name:"milk-tea",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Zm=Xm,Qm=Fn({name:"Minus",__name:"minus",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}),ev=Qm,tv=Fn({name:"Money",__name:"money",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"}),Wr("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"})]))}),nv=tv,ov=Fn({name:"Monitor",__name:"monitor",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),rv=ov,av=Fn({name:"MoonNight",__name:"moon-night",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),lv=av,sv=Fn({name:"Moon",__name:"moon",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),iv=sv,cv=Fn({name:"MoreFilled",__name:"more-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),uv=cv,pv=Fn({name:"More",__name:"more",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),dv=pv,fv=Fn({name:"MostlyCloudy",__name:"mostly-cloudy",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),hv=fv,mv=Fn({name:"Mouse",__name:"mouse",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),vv=mv,gv=Fn({name:"Mug",__name:"mug",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),wv=gv,bv=Fn({name:"MuteNotification",__name:"mute-notification",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),_v=bv,yv=Fn({name:"Mute",__name:"mute",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),xv=yv,Cv=Fn({name:"NoSmoking",__name:"no-smoking",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Mv=Cv,zv=Fn({name:"Notebook",__name:"notebook",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),Lv=zv,Sv=Fn({name:"Notification",__name:"notification",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),Ev=Sv,kv=Fn({name:"Odometer",__name:"odometer",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"}),Wr("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"})]))}),Av=kv,Hv=Fn({name:"OfficeBuilding",__name:"office-building",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("path",{fill:"currentColor",d:"M256 256h256v64H256zm0 192h256v64H256zm0 192h256v64H256zm384-128h128v64H640zm0 128h128v64H640zM64 832h896v64H64z"}),Wr("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"})]))}),Tv=Hv,Vv=Fn({name:"Open",__name:"open",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),Ov=Vv,Bv=Fn({name:"Operation",__name:"operation",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Fv=Bv,Pv=Fn({name:"Opportunity",__name:"opportunity",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Rv=Pv,Iv=Fn({name:"Orange",__name:"orange",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Nv=Iv,Dv=Fn({name:"Paperclip",__name:"paperclip",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),jv=Dv,$v=Fn({name:"PartlyCloudy",__name:"partly-cloudy",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),Uv=$v,qv=Fn({name:"Pear",__name:"pear",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Wv=qv,Gv=Fn({name:"PhoneFilled",__name:"phone-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Kv=Gv,Yv=Fn({name:"Phone",__name:"phone",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Jv=Fn({name:"PictureFilled",__name:"picture-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Xv=Fn({name:"PictureRounded",__name:"picture-rounded",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),Zv=Fn({name:"Picture",__name:"picture",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),Qv=Fn({name:"PieChart",__name:"pie-chart",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),eg=Fn({name:"Place",__name:"place",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("path",{fill:"currentColor",d:"M512 512a32 32 0 0 1 32 32v256a32 32 0 1 1-64 0V544a32 32 0 0 1 32-32"}),Wr("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"})]))}),tg=Fn({name:"Platform",__name:"platform",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M448 832v-64h128v64h192v64H256v-64zM128 704V128h768v576z"})]))}),ng=Fn({name:"Plus",__name:"plus",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),og=Fn({name:"Pointer",__name:"pointer",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),rg=Fn({name:"Position",__name:"position",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),ag=Fn({name:"Postcard",__name:"postcard",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),lg=Fn({name:"Pouring",__name:"pouring",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),sg=Fn({name:"Present",__name:"present",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M480 896V640H192v-64h288V320H192v576zm64 0h288V320H544v256h288v64H544zM128 256h768v672a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),Wr("path",{fill:"currentColor",d:"M96 256h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32"}),Wr("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"}),Wr("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"})]))}),ig=Fn({name:"PriceTag",__name:"price-tag",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),cg=Fn({name:"Printer",__name:"printer",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),ug=Fn({name:"Promotion",__name:"promotion",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"m64 448 832-320-128 704-446.08-243.328L832 192 242.816 545.472zm256 512V657.024L512 768z"})]))}),pg=Fn({name:"QuartzWatch",__name:"quartz-watch",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"}),Wr("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"})]))}),dg=Fn({name:"QuestionFilled",__name:"question-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),fg=Fn({name:"Rank",__name:"rank",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),hg=Fn({name:"ReadingLamp",__name:"reading-lamp",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("path",{fill:"currentColor",d:"M672 576q32 0 32 32v128q0 32-32 32t-32-32V608q0-32 32-32m-192-.064h64V960h-64z"})]))}),mg=Fn({name:"Reading",__name:"reading",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("path",{fill:"currentColor",d:"M480 192h64v704h-64z"})]))}),vg=Fn({name:"RefreshLeft",__name:"refresh-left",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),gg=Fn({name:"RefreshRight",__name:"refresh-right",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),wg=Fn({name:"Refresh",__name:"refresh",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),bg=Fn({name:"Refrigerator",__name:"refrigerator",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),_g=Fn({name:"RemoveFilled",__name:"remove-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),yg=Fn({name:"Remove",__name:"remove",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),Wr("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"})]))}),xg=Fn({name:"Right",__name:"right",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Cg=Fn({name:"ScaleToOriginal",__name:"scale-to-original",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Mg=Fn({name:"School",__name:"school",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("path",{fill:"currentColor",d:"M64 832h896v64H64zm256-640h128v96H320z"}),Wr("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"})]))}),zg=Fn({name:"Scissor",__name:"scissor",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Lg=Fn({name:"Search",__name:"search",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Sg=Fn({name:"Select",__name:"select",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Eg=Fn({name:"Sell",__name:"sell",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),kg=Fn({name:"SemiSelect",__name:"semi-select",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M128 448h768q64 0 64 64t-64 64H128q-64 0-64-64t64-64"})]))}),Ag=Fn({name:"Service",__name:"service",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Hg=Fn({name:"SetUp",__name:"set-up",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"}),Wr("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"}),Wr("path",{fill:"currentColor",d:"M288 640h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}),Tg=Fn({name:"Setting",__name:"setting",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Vg=Fn({name:"Share",__name:"share",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Og=Fn({name:"Ship",__name:"ship",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Bg=Fn({name:"Shop",__name:"shop",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Fg=Fn({name:"ShoppingBag",__name:"shopping-bag",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("path",{fill:"currentColor",d:"M192 704h640v64H192z"})]))}),Pg=Fn({name:"ShoppingCartFull",__name:"shopping-cart-full",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),Rg=Fn({name:"ShoppingCart",__name:"shopping-cart",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Ig=Fn({name:"ShoppingTrolley",__name:"shopping-trolley",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Ng=Fn({name:"Smoking",__name:"smoking",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("path",{fill:"currentColor",d:"M704 576h64v128h-64zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}),Dg=Fn({name:"Soccer",__name:"soccer",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),jg=Fn({name:"SoldOut",__name:"sold-out",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),$g=Fn({name:"SortDown",__name:"sort-down",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Ug=Fn({name:"SortUp",__name:"sort-up",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),qg=Fn({name:"Sort",__name:"sort",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Wg=Fn({name:"Stamp",__name:"stamp",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Gg=Fn({name:"StarFilled",__name:"star-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Kg=Fn({name:"Star",__name:"star",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Yg=Fn({name:"Stopwatch",__name:"stopwatch",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),Jg=Fn({name:"SuccessFilled",__name:"success-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Xg=Fn({name:"Sugar",__name:"sugar",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Zg=Fn({name:"SuitcaseLine",__name:"suitcase-line",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Qg=Fn({name:"Suitcase",__name:"suitcase",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),ew=Fn({name:"Sunny",__name:"sunny",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),tw=Fn({name:"Sunrise",__name:"sunrise",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),nw=Fn({name:"Sunset",__name:"sunset",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),ow=Fn({name:"SwitchButton",__name:"switch-button",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("path",{fill:"currentColor",d:"M512 64q32 0 32 32v320q0 32-32 32t-32-32V96q0-32 32-32"})]))}),rw=Fn({name:"SwitchFilled",__name:"switch-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),aw=Fn({name:"Switch",__name:"switch",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),lw=Fn({name:"TakeawayBox",__name:"takeaway-box",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),sw=Fn({name:"Ticket",__name:"ticket",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M640 832H64V640a128 128 0 1 0 0-256V192h576v160h64V192h256v192a128 128 0 1 0 0 256v192H704V672h-64zm0-416v192h64V416z"})]))}),iw=Fn({name:"Tickets",__name:"tickets",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),cw=Fn({name:"Timer",__name:"timer",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"}),Wr("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"})]))}),uw=Fn({name:"ToiletPaper",__name:"toilet-paper",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),pw=Fn({name:"Tools",__name:"tools",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),dw=Fn({name:"TopLeft",__name:"top-left",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("path",{fill:"currentColor",d:"M256 256h416a32 32 0 1 0 0-64H224a32 32 0 0 0-32 32v448a32 32 0 0 0 64 0z"}),Wr("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"})]))}),fw=Fn({name:"TopRight",__name:"top-right",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),hw=Fn({name:"Top",__name:"top",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),mw=Fn({name:"TrendCharts",__name:"trend-charts",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),vw=Fn({name:"TrophyBase",__name:"trophy-base",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[Wr("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"})]))}),gw=Fn({name:"Trophy",__name:"trophy",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),ww=Fn({name:"TurnOff",__name:"turn-off",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),bw=Fn({name:"Umbrella",__name:"umbrella",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),_w=Fn({name:"Unlock",__name:"unlock",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"})]))}),yw=Fn({name:"UploadFilled",__name:"upload-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),xw=Fn({name:"Upload",__name:"upload",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Cw=Fn({name:"UserFilled",__name:"user-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Mw=Fn({name:"User",__name:"user",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),zw=Fn({name:"Van",__name:"van",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Lw=Fn({name:"VideoCameraFilled",__name:"video-camera-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Sw=Fn({name:"VideoCamera",__name:"video-camera",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Ew=Fn({name:"VideoPause",__name:"video-pause",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),kw=Fn({name:"VideoPlay",__name:"video-play",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Aw=Fn({name:"View",__name:"view",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Hw=Fn({name:"WalletFilled",__name:"wallet-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Tw=Fn({name:"Wallet",__name:"wallet",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("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"}),Wr("path",{fill:"currentColor",d:"M704 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}),Vw=Fn({name:"WarnTriangleFilled",__name:"warn-triangle-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Ow=Fn({name:"WarningFilled",__name:"warning-filled",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Bw=Fn({name:"Warning",__name:"warning",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Fw=Fn({name:"Watch",__name:"watch",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"}),Wr("path",{fill:"currentColor",d:"M480 352a32 32 0 0 1 32 32v160a32 32 0 0 1-64 0V384a32 32 0 0 1 32-32"}),Wr("path",{fill:"currentColor",d:"M480 512h128q32 0 32 32t-32 32H480q-32 0-32-32t32-32m128-256V128H416v128h-64V64h320v192zM416 768v128h192V768h64v192H352V768z"})]))}),Pw=Fn({name:"Watermelon",__name:"watermelon",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Rw=Fn({name:"WindPower",__name:"wind-power",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Iw=Fn({name:"ZoomIn",__name:"zoom-in",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))}),Nw=Fn({name:"ZoomOut",__name:"zoom-out",setup:e=>(e,t)=>(Fr(),Nr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Wr("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"})]))});const Dw=Object.freeze(Object.defineProperty({__proto__:null,AddLocation:Dc,Aim:$c,AlarmClock:qc,Apple:Gc,ArrowDown:Xc,ArrowDownBold:Yc,ArrowLeft:tu,ArrowLeftBold:Qc,ArrowRight:au,ArrowRightBold:ou,ArrowUp:cu,ArrowUpBold:su,Avatar:pu,Back:fu,Baseball:mu,Basketball:gu,Bell:yu,BellFilled:bu,Bicycle:Cu,Bottom:ku,BottomLeft:zu,BottomRight:Su,Bowl:Hu,Box:Vu,Briefcase:Bu,Brush:Iu,BrushFilled:Pu,Burger:Du,Calendar:$u,Camera:Gu,CameraFilled:qu,CaretBottom:Yu,CaretLeft:Xu,CaretRight:Qu,CaretTop:tp,Cellphone:op,ChatDotRound:ap,ChatDotSquare:sp,ChatLineRound:cp,ChatLineSquare:pp,ChatRound:fp,ChatSquare:mp,Check:gp,Checked:bp,Cherry:yp,Chicken:Cp,ChromeFilled:zp,CircleCheck:kp,CircleCheckFilled:Sp,CircleClose:Vp,CircleCloseFilled:Hp,CirclePlus:Pp,CirclePlusFilled:Bp,Clock:Ip,Close:$p,CloseBold:Dp,Cloudy:qp,Coffee:Yp,CoffeeCup:Gp,Coin:Xp,ColdDrink:Qp,Collection:od,CollectionTag:td,Comment:ad,Compass:sd,Connection:cd,Coordinate:pd,CopyDocument:fd,Cpu:md,CreditCard:gd,Crop:bd,DArrowLeft:yd,DArrowRight:Cd,DCaret:zd,DataAnalysis:Sd,DataBoard:kd,DataLine:Hd,Delete:Pd,DeleteFilled:Vd,DeleteLocation:Bd,Dessert:Id,Discount:Dd,Dish:qd,DishDot:$d,Document:of,DocumentAdd:Gd,DocumentChecked:Yd,DocumentCopy:Xd,DocumentDelete:Qd,DocumentRemove:tf,Download:af,Drizzling:sf,Edit:df,EditPen:uf,Eleme:vf,ElemeFilled:hf,ElementPlus:wf,Expand:_f,Failed:xf,Female:Mf,Files:Lf,Film:Ef,Filter:Af,Finished:Tf,FirstAidKit:Of,Flag:Ff,Fold:Rf,Folder:Jf,FolderAdd:Nf,FolderChecked:jf,FolderDelete:Uf,FolderOpened:Wf,FolderRemove:Kf,Food:Zf,Football:eh,ForkSpoon:nh,Fries:rh,FullScreen:lh,Goblet:hh,GobletFull:ih,GobletSquare:dh,GobletSquareFull:uh,GoldMedal:vh,Goods:_h,GoodsFilled:wh,Grape:xh,Grid:Mh,Guide:Lh,Handbag:Eh,Headset:Ah,Help:Oh,HelpFilled:Th,Hide:Fh,Histogram:Rh,HomeFilled:Nh,HotWater:jh,House:Uh,IceCream:Jh,IceCreamRound:Wh,IceCreamSquare:Kh,IceDrink:Zh,IceTea:em,InfoFilled:nm,Iphone:rm,Key:lm,KnifeFork:im,Lightning:um,Link:dm,List:hm,Loading:vm,Location:xm,LocationFilled:wm,LocationInformation:_m,Lock:Mm,Lollipop:Lm,MagicStick:Em,Magnet:Am,Male:Tm,Management:Om,MapLocation:Fm,Medal:Rm,Memo:Nm,Menu:jm,Message:Wm,MessageBox:Um,Mic:Km,Microphone:Jm,MilkTea:Zm,Minus:ev,Money:nv,Monitor:rv,Moon:iv,MoonNight:lv,More:dv,MoreFilled:uv,MostlyCloudy:hv,Mouse:vv,Mug:wv,Mute:xv,MuteNotification:_v,NoSmoking:Mv,Notebook:Lv,Notification:Ev,Odometer:Av,OfficeBuilding:Tv,Open:Ov,Operation:Fv,Opportunity:Rv,Orange:Nv,Paperclip:jv,PartlyCloudy:Uv,Pear:Wv,Phone:Yv,PhoneFilled:Kv,Picture:Zv,PictureFilled:Jv,PictureRounded:Xv,PieChart:Qv,Place:eg,Platform:tg,Plus:ng,Pointer:og,Position:rg,Postcard:ag,Pouring:lg,Present:sg,PriceTag:ig,Printer:cg,Promotion:ug,QuartzWatch:pg,QuestionFilled:dg,Rank:fg,Reading:mg,ReadingLamp:hg,Refresh:wg,RefreshLeft:vg,RefreshRight:gg,Refrigerator:bg,Remove:yg,RemoveFilled:_g,Right:xg,ScaleToOriginal:Cg,School:Mg,Scissor:zg,Search:Lg,Select:Sg,Sell:Eg,SemiSelect:kg,Service:Ag,SetUp:Hg,Setting:Tg,Share:Vg,Ship:Og,Shop:Bg,ShoppingBag:Fg,ShoppingCart:Rg,ShoppingCartFull:Pg,ShoppingTrolley:Ig,Smoking:Ng,Soccer:Dg,SoldOut:jg,Sort:qg,SortDown:$g,SortUp:Ug,Stamp:Wg,Star:Kg,StarFilled:Gg,Stopwatch:Yg,SuccessFilled:Jg,Sugar:Xg,Suitcase:Qg,SuitcaseLine:Zg,Sunny:ew,Sunrise:tw,Sunset:nw,Switch:aw,SwitchButton:ow,SwitchFilled:rw,TakeawayBox:lw,Ticket:sw,Tickets:iw,Timer:cw,ToiletPaper:uw,Tools:pw,Top:hw,TopLeft:dw,TopRight:fw,TrendCharts:mw,Trophy:gw,TrophyBase:vw,TurnOff:ww,Umbrella:bw,Unlock:_w,Upload:xw,UploadFilled:yw,User:Mw,UserFilled:Cw,Van:zw,VideoCamera:Sw,VideoCameraFilled:Lw,VideoPause:Ew,VideoPlay:kw,View:Aw,Wallet:Tw,WalletFilled:Hw,WarnTriangleFilled:Vw,Warning:Bw,WarningFilled:Ow,Watch:Fw,Watermelon:Pw,WindPower:Rw,ZoomIn:Iw,ZoomOut:Nw},Symbol.toStringTag,{value:"Module"})),jw="__epPropKey",$w=e=>e,Uw=(e,t)=>{if(!w(e)||w(n=e)&&n[jw])return e;var n;const{values:o,required:r,default:a,type:l,validator:s}=e,i=o||s?n=>{let r=!1,l=[];if(o&&(l=Array.from(o),u(e,"default")&&l.push(a),r||(r=l.includes(n))),s&&(r||(r=s(n))),!r&&l.length>0){const e=[...new Set(l)].map((e=>JSON.stringify(e))).join(", ");Ma(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${e}], got value ${JSON.stringify(n)}.`)}return r}:void 0,c={type:l,required:!!r,validator:i,[jw]:!0};return u(e,"default")&&(c.default=a),c},qw=e=>hc(Object.entries(e).map((([e,t])=>[e,Uw(t,e)]))),Ww=[String,Object,Function],Gw={Close:$p},Kw={Close:$p,SuccessFilled:Jg,InfoFilled:nm,WarningFilled:Ow,CircleCloseFilled:Hp},Yw={success:Jg,warning:Ow,error:Hp,info:nm},Jw={validating:vm,success:kp,error:Vp},Xw=(e,t)=>{if(e.install=n=>{for(const o of[e,...Object.values(null!=t?t:{})])n.component(o.name,o)},t)for(const[n,o]of Object.entries(t))e[n]=o;return e},Zw=(e,t)=>(e.install=n=>{n.directive(t,e)},e),Qw=e=>(e.install=o,e),eb={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"},tb="update:modelValue",nb="change",ob="input",rb=["","default","small","large"],ab=e=>["",...rb].includes(e);var lb=(e=>(e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL",e))(lb||{});const sb=e=>{const t=p(e)?e:[e],n=[];return t.forEach((e=>{var t;p(e)?n.push(...sb(e)):jr(e)&&p(e.children)?n.push(...sb(e.children)):(n.push(e),jr(e)&&(null==(t=e.component)?void 0:t.subTree)&&n.push(...sb(e.component.subTree)))})),n},ib=e=>e,cb=["class","style"],ub=/^on[A-Z]/,pb=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,o=ya((()=>((null==n?void 0:n.value)||[]).concat(cb))),r=sa();return ya(r?()=>{var e;return hc(Object.entries(null==(e=r.proxy)?void 0:e.$attrs).filter((([e])=>!(o.value.includes(e)||t&&ub.test(e)))))}:()=>({}))},db=({from:e,replacement:t,scope:n,version:o,ref:r,type:a="API"},l)=>{gr((()=>Et(l)),(e=>{}),{immediate:!0})},fb=(e,t,n,o)=>{let r={offsetX:0,offsetY:0};const a=t=>{const n=t.clientX,a=t.clientY,{offsetX:l,offsetY:s}=r,i=e.value.getBoundingClientRect(),c=i.left,u=i.top,p=i.width,d=i.height,f=document.documentElement.clientWidth,h=document.documentElement.clientHeight,m=-c+l,v=-u+s,g=f-c-p+l,w=h-u-d+s,b=t=>{let i=l+t.clientX-n,c=s+t.clientY-a;(null==o?void 0:o.value)||(i=Math.min(Math.max(i,m),g),c=Math.min(Math.max(c,v),w)),r={offsetX:i,offsetY:c},e.value&&(e.value.style.transform=`translate(${Bc(i)}, ${Bc(c)})`)},_=()=>{document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",_)};document.addEventListener("mousemove",b),document.addEventListener("mouseup",_)},l=()=>{t.value&&e.value&&t.value.removeEventListener("mousedown",a)};return Qn((()=>{vr((()=>{n.value?t.value&&e.value&&t.value.addEventListener("mousedown",a):l()}))})),no((()=>{l()})),{resetPosition:()=>{r={offsetX:0,offsetY:0},e.value&&(e.value.style.transform="none")}}};var hb={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.",alphaLabel:"pick alpha value"},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"},mention:{loading:"Loading"},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 mb=e=>(t,n)=>vb(t,n,Et(e)),vb=(e,t,n)=>lc(n,e,e).replace(/\{(\w+)\}/g,((e,n)=>{var o;return`${null!=(o=null==t?void 0:t[n])?o:`{${n}}`}`})),gb=Symbol("localeContextKey"),wb=e=>{const t=e||Wo(gb,Mt());return(e=>({lang:ya((()=>Et(e).name)),locale:Ct(e)?e:Mt(e),t:mb(e)}))(ya((()=>t.value||hb)))},bb="el",_b=(e,t,n,o,r)=>{let a=`${e}-${t}`;return n&&(a+=`-${n}`),o&&(a+=`__${o}`),r&&(a+=`--${r}`),a},yb=Symbol("namespaceContextKey"),xb=e=>{const t=e||(sa()?Wo(yb,Mt(bb)):Mt(bb));return ya((()=>Et(t)||bb))},Cb=(e,t)=>{const n=xb(t);return{namespace:n,b:(t="")=>_b(n.value,e,t,"",""),e:t=>t?_b(n.value,e,"",t,""):"",m:t=>t?_b(n.value,e,"","",t):"",be:(t,o)=>t&&o?_b(n.value,e,t,o,""):"",em:(t,o)=>t&&o?_b(n.value,e,"",t,o):"",bm:(t,o)=>t&&o?_b(n.value,e,t,"",o):"",bem:(t,o,r)=>t&&o&&r?_b(n.value,e,t,o,r):"",is:(e,...t)=>{const n=!(t.length>=1)||t[0];return e&&n?`is-${e}`:""},cssVar:e=>{const t={};for(const o in e)e[o]&&(t[`--${n.value}-${o}`]=e[o]);return t},cssVarName:e=>`--${n.value}-${e}`,cssVarBlock:t=>{const o={};for(const r in t)t[r]&&(o[`--${n.value}-${e}-${r}`]=t[r]);return o},cssVarBlockName:t=>`--${n.value}-${e}-${t}`}},Mb=(e,t={})=>{Ct(e)||Ec("[useLockscreen]","You need to pass a ref param to this function");const n=t.ns||Cb("popup"),o=ya((()=>n.bm("parent","hidden")));if(!ns||Hc(document.body,o.value))return;let r=0,a=!1,l="0";const s=()=>{setTimeout((()=>{"undefined"!=typeof document&&(Vc(null==document?void 0:document.body,o.value),a&&document&&(document.body.style.width=l))}),200)};gr(e,(e=>{if(!e)return void s();a=!Hc(document.body,o.value),a&&(l=document.body.style.width),r=(e=>{var t;if(!ns)return 0;if(void 0!==Rc)return Rc;const n=document.createElement("div");n.className=`${e}-scrollbar__wrap`,n.style.visibility="hidden",n.style.width="100px",n.style.position="absolute",n.style.top="-9999px",document.body.appendChild(n);const o=n.offsetWidth;n.style.overflow="scroll";const r=document.createElement("div");r.style.width="100%",n.appendChild(r);const a=r.offsetWidth;return null==(t=n.parentNode)||t.removeChild(n),Rc=o-a,Rc})(n.namespace.value);const t=document.documentElement.clientHeight0&&(t||"scroll"===i)&&a&&(document.body.style.width=`calc(100% - ${r}px)`),Tc(document.body,o.value)})),ae((()=>s()))},zb=e=>{const t=sa();return ya((()=>{var n,o;return null==(o=null==(n=null==t?void 0:t.proxy)?void 0:n.$props)?void 0:o[e]}))},Lb=e=>{if(!e)return{onClick:o,onMousedown:o,onMouseup:o};let t=!1,n=!1;return{onClick:o=>{t&&n&&e(o),t=n=!1},onMousedown:e=>{t=e.target===e.currentTarget},onMouseup:e=>{n=e.target===e.currentTarget}}},Sb={prefix:Math.floor(1e4*Math.random()),current:0},Eb=Symbol("elIdInjection"),kb=()=>sa()?Wo(Eb,Sb):Sb,Ab=e=>{const t=kb(),n=xb();return ts((()=>Et(e)||`${n.value}-id-${t.prefix}-${t.current++}`))};let Hb=[];const Tb=e=>{const t=e;t.key===eb.esc&&Hb.forEach((e=>e(t)))},Vb={current:0},Ob=Mt(0),Bb=Symbol("elZIndexContextKey"),Fb=Symbol("zIndexContextKey"),Pb=e=>{const t=sa()?Wo(Bb,Vb):Vb,n=e||(sa()?Wo(Fb,void 0):void 0),o=ya((()=>{const e=Et(n);return yc(e)?e:2e3})),r=ya((()=>o.value+Ob.value));return!ns&&Wo(Bb),{initialZIndex:o,currentZIndex:r,nextZIndex:()=>(t.current++,Ob.value=t.current,r.value)}};const Rb=Uw({type:String,values:rb,required:!1}),Ib=Symbol("size"),Nb=()=>{const e=Wo(Ib,{});return ya((()=>Et(e.size)||""))};function Db(e,{beforeFocus:t,afterFocus:n,beforeBlur:o,afterBlur:r}={}){const a=sa(),{emit:l}=a,s=zt(),i=Mt(!1),c=e=>{!!m(t)&&t(e)||i.value||(i.value=!0,l("focus",e),null==n||n())},u=e=>{var t;!!m(o)&&o(e)||e.relatedTarget&&(null==(t=s.value)?void 0:t.contains(e.relatedTarget))||(i.value=!1,l("blur",e),null==r||r())};return gr(s,(e=>{e&&e.setAttribute("tabindex","-1")})),ms(s,"focus",c,!0),ms(s,"blur",u,!0),ms(s,"click",(()=>{var t,n;(null==(t=s.value)?void 0:t.contains(document.activeElement))&&s.value!==document.activeElement||null==(n=e.value)||n.focus()}),!0),{isFocused:i,wrapperRef:s,handleFocus:c,handleBlur:u}}function jb({afterComposition:e,emit:t}){const n=Mt(!1),o=e=>{var o;null==t||t("compositionupdate",e);const r=null==(o=e.target)?void 0:o.value,a=r[r.length-1]||"";n.value=!(e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e))(a)},r=o=>{null==t||t("compositionend",o),n.value&&(n.value=!1,Zt((()=>e(o))))};return{isComposing:n,handleComposition:e=>{"compositionend"===e.type?r(e):o(e)},handleCompositionStart:e=>{null==t||t("compositionstart",e),n.value=!0},handleCompositionUpdate:o,handleCompositionEnd:r}}const $b=Symbol("emptyValuesContextKey"),Ub=["",void 0,null],qb=qw({emptyValues:Array,valueOnClear:{type:[String,Number,Boolean,Function],default:void 0,validator:e=>m(e)?!e():!e}}),Wb=(e,t)=>{const n=sa()?Wo($b,Mt({})):Mt({}),o=ya((()=>e.emptyValues||n.value.emptyValues||Ub)),r=ya((()=>m(e.valueOnClear)?e.valueOnClear():void 0!==e.valueOnClear?e.valueOnClear:m(n.value.valueOnClear)?n.value.valueOnClear():void 0!==n.value.valueOnClear?n.value.valueOnClear:void 0));return o.value.includes(r.value),{emptyValues:o,valueOnClear:r,isEmptyValue:e=>o.value.includes(e)}},Gb=qw({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),Kb=e=>wc(Gb,e),Yb=Symbol(),Jb=Mt();function Xb(e,t=void 0){const n=sa()?Wo(Yb,Jb):Jb;return e?ya((()=>{var o,r;return null!=(r=null==(o=n.value)?void 0:o[e])?r:t})):n}function Zb(e,t){const n=Xb(),o=Cb(e,ya((()=>{var e;return(null==(e=n.value)?void 0:e.namespace)||bb}))),r=wb(ya((()=>{var e;return null==(e=n.value)?void 0:e.locale}))),a=Pb(ya((()=>{var e;return(null==(e=n.value)?void 0:e.zIndex)||2e3}))),l=ya((()=>{var e;return Et(t)||(null==(e=n.value)?void 0:e.size)||""}));return Qb(ya((()=>Et(n)||{}))),{ns:o,locale:r,zIndex:a,size:l}}const Qb=(e,t,n=!1)=>{const o=!!sa(),r=o?Xb():void 0,a=null!=void 0?undefined:o?qo:void 0;if(!a)return;const l=ya((()=>{const t=Et(e);return(null==r?void 0:r.value)?e_(r.value,t):t}));return a(Yb,l),a(gb,ya((()=>l.value.locale))),a(yb,ya((()=>l.value.namespace))),a(Fb,ya((()=>l.value.zIndex))),a(Ib,{size:ya((()=>l.value.size||""))}),a($b,ya((()=>({emptyValues:l.value.emptyValues,valueOnClear:l.value.valueOnClear})))),!n&&Jb.value||(Jb.value=l.value),l},e_=(e,t)=>{const n=[...new Set([...Mc(e),...Mc(t)])],o={};for(const r of n)o[r]=void 0!==t[r]?t[r]:e[r];return o},t_=qw({a11y:{type:Boolean,default:!0},locale:{type:Object},size:Rb,button:{type:Object},experimentalFeatures:{type:Object},keyboardNavigation:{type:Boolean,default:!0},message:{type:Object},zIndex:Number,namespace:{type:String,default:"el"},...qb}),n_={},o_=Xw(Fn({name:"ElConfigProvider",props:t_,setup(e,{slots:t}){gr((()=>e.message),(e=>{Object.assign(n_,null!=e?e:{})}),{immediate:!0,deep:!0});const n=Qb(e);return()=>wo(t,"default",{config:null==n?void 0:n.value})}}));var r_=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};const a_=qw({size:{type:[Number,String]},color:{type:String}});const l_=Xw(r_(Fn({...Fn({name:"ElIcon",inheritAttrs:!1}),props:a_,setup(e){const t=e,n=Cb("icon"),o=ya((()=>{const{size:e,color:n}=t;return e||n?{fontSize:bc(e)?void 0:Bc(e),"--color":n}:{}}));return(e,t)=>(Fr(),Nr("i",na({class:Et(n).b(),style:Et(o)},e.$attrs),[wo(e.$slots,"default")],16))}}),[["__file","icon.vue"]])),s_=Symbol("formContextKey"),i_=Symbol("formItemContextKey"),c_=(e,t={})=>{const n=Mt(void 0),o=t.prop?n:zb("size"),r=t.global?n:Nb(),a=t.form?{size:void 0}:Wo(s_,void 0),l=t.formItem?{size:void 0}:Wo(i_,void 0);return ya((()=>o.value||Et(e)||(null==l?void 0:l.size)||(null==a?void 0:a.size)||r.value||""))},u_=e=>{const t=zb("disabled"),n=Wo(s_,void 0);return ya((()=>t.value||Et(e)||(null==n?void 0:n.disabled)||!1))},p_=()=>({form:Wo(s_,void 0),formItem:Wo(i_,void 0)}),d_=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:o})=>{n||(n=Mt(!1)),o||(o=Mt(!1));const r=Mt();let a;const l=ya((()=>{var n;return!!(!e.label&&!e.ariaLabel&&t&&t.inputIds&&(null==(n=t.inputIds)?void 0:n.length)<=1)}));return Qn((()=>{a=gr([Ot(e,"id"),n],(([e,n])=>{const a=null!=e?e:n?void 0:Ab().value;a!==r.value&&((null==t?void 0:t.removeInputId)&&(r.value&&t.removeInputId(r.value),(null==o?void 0:o.value)||n||!a||t.addInputId(a)),r.value=a)}),{immediate:!0})})),oo((()=>{a&&a(),(null==t?void 0:t.removeInputId)&&r.value&&t.removeInputId(r.value)})),{isLabeledByFormItem:l,inputId:r}};let f_;const h_=`\n height:0 !important;\n visibility:hidden !important;\n ${ns&&/firefox/i.test(window.navigator.userAgent)?"":"overflow:hidden !important;"}\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n`,m_=["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 v_(e,t=1,n){var o;f_||(f_=document.createElement("textarea"),document.body.appendChild(f_));const{paddingSize:r,borderSize:a,boxSizing:l,contextStyle:s}=function(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),o=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),r=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:m_.map((e=>`${e}:${t.getPropertyValue(e)}`)).join(";"),paddingSize:o,borderSize:r,boxSizing:n}}(e);f_.setAttribute("style",`${s};${h_}`),f_.value=e.value||e.placeholder||"";let i=f_.scrollHeight;const c={};"border-box"===l?i+=a:"content-box"===l&&(i-=r),f_.value="";const u=f_.scrollHeight-r;if(yc(t)){let e=u*t;"border-box"===l&&(e=e+r+a),i=Math.max(e,i),c.minHeight=`${e}px`}if(yc(n)){let e=u*n;"border-box"===l&&(e=e+r+a),i=Math.min(e,i)}return c.height=`${i}px`,null==(o=f_.parentNode)||o.removeChild(f_),f_=void 0,c}const g_=qw({id:{type:String,default:void 0},size:Rb,disabled:Boolean,modelValue:{type:[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:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:Ww},prefixIcon:{type:Ww},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:[Object,Array,String],default:()=>({})},autofocus:Boolean,rows:{type:Number,default:2},...Kb(["ariaLabel"])}),w_={[tb]:e=>v(e),input:e=>v(e),change:e=>v(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent};const b_=Xw(r_(Fn({...Fn({name:"ElInput",inheritAttrs:!1}),props:g_,emits:w_,setup(e,{expose:t,emit:n}){const r=e,a=Lo(),l=pb(),s=zo(),i=ya((()=>["textarea"===r.type?v.b():m.b(),m.m(f.value),m.is("disabled",h.value),m.is("exceed",D.value),{[m.b("group")]:s.prepend||s.append,[m.m("prefix")]:s.prefix||r.prefixIcon,[m.m("suffix")]:s.suffix||r.suffixIcon||r.clearable||r.showPassword,[m.bm("suffix","password-clear")]:F.value&&P.value,[m.b("hidden")]:"hidden"===r.type},a.class])),c=ya((()=>[m.e("wrapper"),m.is("focus",L.value)])),{form:u,formItem:p}=p_(),{inputId:d}=d_(r,{formItemContext:p}),f=c_(),h=u_(),m=Cb("input"),v=Cb("textarea"),g=zt(),b=zt(),_=Mt(!1),y=Mt(!1),x=Mt(),C=zt(r.inputStyle),M=ya((()=>g.value||b.value)),{wrapperRef:z,isFocused:L,handleFocus:S,handleBlur:E}=Db(M,{beforeFocus:()=>h.value,afterBlur(){var e;r.validateEvent&&(null==(e=null==p?void 0:p.validate)||e.call(p,"blur").catch((e=>{})))}}),k=ya((()=>{var e;return null!=(e=null==u?void 0:u.statusIcon)&&e})),A=ya((()=>(null==p?void 0:p.validateState)||"")),H=ya((()=>A.value&&Jw[A.value])),T=ya((()=>y.value?Aw:Fh)),V=ya((()=>[a.style])),O=ya((()=>[r.inputStyle,C.value,{resize:r.resize}])),B=ya((()=>mc(r.modelValue)?"":String(r.modelValue))),F=ya((()=>r.clearable&&!h.value&&!r.readonly&&!!B.value&&(L.value||_.value))),P=ya((()=>r.showPassword&&!h.value&&!!B.value&&(!!B.value||L.value))),R=ya((()=>r.showWordLimit&&!!r.maxlength&&("text"===r.type||"textarea"===r.type)&&!h.value&&!r.readonly&&!r.showPassword)),N=ya((()=>B.value.length)),D=ya((()=>!!R.value&&N.value>Number(r.maxlength))),j=ya((()=>!!s.suffix||!!r.suffixIcon||F.value||r.showPassword||R.value||!!A.value&&k.value)),[$,q]=function(e){let t;return[function(){if(null==e.value)return;const{selectionStart:n,selectionEnd:o,value:r}=e.value;if(null==n||null==o)return;const a=r.slice(0,Math.max(0,n)),l=r.slice(Math.max(0,o));t={selectionStart:n,selectionEnd:o,value:r,beforeTxt:a,afterTxt:l}},function(){if(null==e.value||null==t)return;const{value:n}=e.value,{beforeTxt:o,afterTxt:r,selectionStart:a}=t;if(null==o||null==r||null==a)return;let l=n.length;if(n.endsWith(r))l=n.length-r.length;else if(n.startsWith(o))l=o.length;else{const e=o[a-1],t=n.indexOf(e,a-1);-1!==t&&(l=t+1)}e.value.setSelectionRange(l,l)}]}(g);zs(b,(e=>{if(G(),!R.value||"both"!==r.resize)return;const t=e[0],{width:n}=t.contentRect;x.value={right:`calc(100% - ${n+15+6}px)`}}));const W=()=>{const{type:e,autosize:t}=r;if(ns&&"textarea"===e&&b.value)if(t){const e=w(t)?t.minRows:void 0,n=w(t)?t.maxRows:void 0,o=v_(b.value,e,n);C.value={overflowY:"hidden",...o},Zt((()=>{b.value.offsetHeight,C.value=o}))}else C.value={minHeight:v_(b.value).minHeight}},G=(e=>{let t=!1;return()=>{var n;if(t||!r.autosize)return;null===(null==(n=b.value)?void 0:n.offsetParent)||(e(),t=!0)}})(W),K=()=>{const e=M.value,t=r.formatter?r.formatter(B.value):B.value;e&&e.value!==t&&(e.value=t)},Y=async e=>{$();let{value:t}=e.target;r.formatter&&(t=r.parser?r.parser(t):t),Z.value||(t!==B.value?(n(tb,t),n("input",t),await Zt(),K(),q()):K())},J=e=>{n("change",e.target.value)},{isComposing:Z,handleCompositionStart:Q,handleCompositionUpdate:ee,handleCompositionEnd:te}=jb({emit:n,afterComposition:Y}),ne=()=>{y.value=!y.value,oe()},oe=async()=>{var e;await Zt(),null==(e=M.value)||e.focus()},re=e=>{_.value=!1,n("mouseleave",e)},ae=e=>{_.value=!0,n("mouseenter",e)},le=e=>{n("keydown",e)},se=()=>{n(tb,""),n("change",""),n("clear"),n("input","")};return gr((()=>r.modelValue),(()=>{var e;Zt((()=>W())),r.validateEvent&&(null==(e=null==p?void 0:p.validate)||e.call(p,"change").catch((e=>{})))})),gr(B,(()=>K())),gr((()=>r.type),(async()=>{await Zt(),K(),W()})),Qn((()=>{!r.formatter&&r.parser,K(),Zt(W)})),t({input:g,textarea:b,ref:M,textareaStyle:O,autosize:Ot(r,"autosize"),isComposing:Z,focus:oe,blur:()=>{var e;return null==(e=M.value)?void 0:e.blur()},select:()=>{var e;null==(e=M.value)||e.select()},clear:se,resizeTextarea:W}),(e,t)=>(Fr(),Nr("div",{class:U([Et(i),{[Et(m).bm("group","append")]:e.$slots.append,[Et(m).bm("group","prepend")]:e.$slots.prepend}]),style:I(Et(V)),onMouseenter:ae,onMouseleave:re},[Zr(" input "),"textarea"!==e.type?(Fr(),Nr(Ar,{key:0},[Zr(" prepend slot "),e.$slots.prepend?(Fr(),Nr("div",{key:0,class:U(Et(m).be("group","prepend"))},[wo(e.$slots,"prepend")],2)):Zr("v-if",!0),Wr("div",{ref_key:"wrapperRef",ref:z,class:U(Et(c))},[Zr(" prefix slot "),e.$slots.prefix||e.prefixIcon?(Fr(),Nr("span",{key:0,class:U(Et(m).e("prefix"))},[Wr("span",{class:U(Et(m).e("prefix-inner"))},[wo(e.$slots,"prefix"),e.prefixIcon?(Fr(),Dr(Et(l_),{key:0,class:U(Et(m).e("icon"))},{default:cn((()=>[(Fr(),Dr(po(e.prefixIcon)))])),_:1},8,["class"])):Zr("v-if",!0)],2)],2)):Zr("v-if",!0),Wr("input",na({id:Et(d),ref_key:"input",ref:g,class:Et(m).e("inner")},Et(l),{minlength:e.minlength,maxlength:e.maxlength,type:e.showPassword?y.value?"text":"password":e.type,disabled:Et(h),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.ariaLabel,placeholder:e.placeholder,style:e.inputStyle,form:e.form,autofocus:e.autofocus,role:e.containerRole,onCompositionstart:Et(Q),onCompositionupdate:Et(ee),onCompositionend:Et(te),onInput:Y,onChange:J,onKeydown:le}),null,16,["id","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","role","onCompositionstart","onCompositionupdate","onCompositionend"]),Zr(" suffix slot "),Et(j)?(Fr(),Nr("span",{key:1,class:U(Et(m).e("suffix"))},[Wr("span",{class:U(Et(m).e("suffix-inner"))},[Et(F)&&Et(P)&&Et(R)?Zr("v-if",!0):(Fr(),Nr(Ar,{key:0},[wo(e.$slots,"suffix"),e.suffixIcon?(Fr(),Dr(Et(l_),{key:0,class:U(Et(m).e("icon"))},{default:cn((()=>[(Fr(),Dr(po(e.suffixIcon)))])),_:1},8,["class"])):Zr("v-if",!0)],64)),Et(F)?(Fr(),Dr(Et(l_),{key:1,class:U([Et(m).e("icon"),Et(m).e("clear")]),onMousedown:Pl(Et(o),["prevent"]),onClick:se},{default:cn((()=>[Gr(Et(Vp))])),_:1},8,["class","onMousedown"])):Zr("v-if",!0),Et(P)?(Fr(),Dr(Et(l_),{key:2,class:U([Et(m).e("icon"),Et(m).e("password")]),onClick:ne},{default:cn((()=>[(Fr(),Dr(po(Et(T))))])),_:1},8,["class"])):Zr("v-if",!0),Et(R)?(Fr(),Nr("span",{key:3,class:U(Et(m).e("count"))},[Wr("span",{class:U(Et(m).e("count-inner"))},X(Et(N))+" / "+X(e.maxlength),3)],2)):Zr("v-if",!0),Et(A)&&Et(H)&&Et(k)?(Fr(),Dr(Et(l_),{key:4,class:U([Et(m).e("icon"),Et(m).e("validateIcon"),Et(m).is("loading","validating"===Et(A))])},{default:cn((()=>[(Fr(),Dr(po(Et(H))))])),_:1},8,["class"])):Zr("v-if",!0)],2)],2)):Zr("v-if",!0)],2),Zr(" append slot "),e.$slots.append?(Fr(),Nr("div",{key:1,class:U(Et(m).be("group","append"))},[wo(e.$slots,"append")],2)):Zr("v-if",!0)],64)):(Fr(),Nr(Ar,{key:1},[Zr(" textarea "),Wr("textarea",na({id:Et(d),ref_key:"textarea",ref:b,class:[Et(v).e("inner"),Et(m).is("focus",Et(L))]},Et(l),{minlength:e.minlength,maxlength:e.maxlength,tabindex:e.tabindex,disabled:Et(h),readonly:e.readonly,autocomplete:e.autocomplete,style:Et(O),"aria-label":e.ariaLabel,placeholder:e.placeholder,form:e.form,autofocus:e.autofocus,rows:e.rows,role:e.containerRole,onCompositionstart:Et(Q),onCompositionupdate:Et(ee),onCompositionend:Et(te),onInput:Y,onFocus:Et(S),onBlur:Et(E),onChange:J,onKeydown:le}),null,16,["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","role","onCompositionstart","onCompositionupdate","onCompositionend","onFocus","onBlur"]),Et(R)?(Fr(),Nr("span",{key:0,style:I(x.value),class:U(Et(m).e("count"))},X(Et(N))+" / "+X(e.maxlength),7)):Zr("v-if",!0)],64))],38))}}),[["__file","input.vue"]])),__="focus-trap.focus-after-trapped",y_="focus-trap.focus-after-released",x_={cancelable:!0,bubbles:!1},C_={cancelable:!0,bubbles:!1},M_="focusAfterTrapped",z_="focusAfterReleased",L_=Symbol("elFocusTrap"),S_=Mt(),E_=Mt(0),k_=Mt(0);let A_=0;const H_=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0||e===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},T_=(e,t)=>{for(const n of e)if(!V_(n,t))return n},V_=(e,t)=>{if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1},O_=(e,t)=>{if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),k_.value=window.performance.now(),e!==n&&(e=>e instanceof HTMLInputElement&&"select"in e)(e)&&t&&e.select()}};function B_(e,t){const n=[...e],o=e.indexOf(t);return-1!==o&&n.splice(o,1),n}const F_=(()=>{let e=[];return{push:t=>{const n=e[0];n&&t!==n&&n.pause(),e=B_(e,t),e.unshift(t)},remove:t=>{var n,o;e=B_(e,t),null==(o=null==(n=e[0])?void 0:n.resume)||o.call(n)}}})(),P_=()=>{S_.value="pointer",E_.value=window.performance.now()},R_=()=>{S_.value="keyboard",E_.value=window.performance.now()},I_=e=>new CustomEvent("focus-trap.focusout-prevented",{...C_,detail:e});var N_=r_(Fn({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[M_,z_,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=Mt();let o,r;const{focusReason:a}=(Qn((()=>{0===A_&&(document.addEventListener("mousedown",P_),document.addEventListener("touchstart",P_),document.addEventListener("keydown",R_)),A_++})),no((()=>{A_--,A_<=0&&(document.removeEventListener("mousedown",P_),document.removeEventListener("touchstart",P_),document.removeEventListener("keydown",R_))})),{focusReason:S_,lastUserFocusTimestamp:E_,lastAutomatedFocusTimestamp:k_});var l;l=n=>{e.trapped&&!s.paused&&t("release-requested",n)},Qn((()=>{0===Hb.length&&document.addEventListener("keydown",Tb),ns&&Hb.push(l)})),no((()=>{Hb=Hb.filter((e=>e!==l)),0===Hb.length&&ns&&document.removeEventListener("keydown",Tb)}));const s={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},i=n=>{if(!e.loop&&!e.trapped)return;if(s.paused)return;const{key:o,altKey:r,ctrlKey:l,metaKey:i,currentTarget:c,shiftKey:u}=n,{loop:p}=e,d=o===eb.tab&&!r&&!l&&!i,f=document.activeElement;if(d&&f){const e=c,[o,r]=(e=>{const t=H_(e);return[T_(t,e),T_(t.reverse(),e)]})(e);if(o&&r)if(u||f!==r){if(u&&[o,e].includes(f)){const e=I_({focusReason:a.value});t("focusout-prevented",e),e.defaultPrevented||(n.preventDefault(),p&&O_(r,!0))}}else{const e=I_({focusReason:a.value});t("focusout-prevented",e),e.defaultPrevented||(n.preventDefault(),p&&O_(o,!0))}else if(f===e){const e=I_({focusReason:a.value});t("focusout-prevented",e),e.defaultPrevented||n.preventDefault()}}};qo(L_,{focusTrapRef:n,onKeydown:i}),gr((()=>e.focusTrapEl),(e=>{e&&(n.value=e)}),{immediate:!0}),gr([n],(([e],[t])=>{e&&(e.addEventListener("keydown",i),e.addEventListener("focusin",p),e.addEventListener("focusout",d)),t&&(t.removeEventListener("keydown",i),t.removeEventListener("focusin",p),t.removeEventListener("focusout",d))}));const c=e=>{t(M_,e)},u=e=>t(z_,e),p=a=>{const l=Et(n);if(!l)return;const i=a.target,c=a.relatedTarget,u=i&&l.contains(i);if(!e.trapped){c&&l.contains(c)||(o=c)}u&&t("focusin",a),s.paused||e.trapped&&(u?r=i:O_(r,!0))},d=o=>{const l=Et(n);if(!s.paused&&l)if(e.trapped){const n=o.relatedTarget;mc(n)||l.contains(n)||setTimeout((()=>{if(!s.paused&&e.trapped){const e=I_({focusReason:a.value});t("focusout-prevented",e),e.defaultPrevented||O_(r,!0)}}),0)}else{const e=o.target;e&&l.contains(e)||t("focusout",o)}};async function f(){await Zt();const t=Et(n);if(t){F_.push(s);const n=t.contains(document.activeElement)?o:document.activeElement;o=n;if(!t.contains(n)){const o=new Event(__,x_);t.addEventListener(__,c),t.dispatchEvent(o),o.defaultPrevented||Zt((()=>{let o=e.focusStartEl;v(o)||(O_(o),document.activeElement!==o&&(o="first")),"first"===o&&((e,t=!1)=>{const n=document.activeElement;for(const o of e)if(O_(o,t),document.activeElement!==n)return})(H_(t),!0),document.activeElement!==n&&"container"!==o||O_(t)}))}}}function h(){const e=Et(n);if(e){e.removeEventListener(__,c);const t=new CustomEvent(y_,{...x_,detail:{focusReason:a.value}});e.addEventListener(y_,u),e.dispatchEvent(t),t.defaultPrevented||"keyboard"!=a.value&&E_.value>k_.value&&!e.contains(document.activeElement)||O_(null!=o?o:document.body),e.removeEventListener(y_,u),F_.remove(s)}}return Qn((()=>{e.trapped&&f(),gr((()=>e.trapped),(e=>{e?f():h()}))})),no((()=>{e.trapped&&h(),n.value&&(n.value.removeEventListener("keydown",i),n.value.removeEventListener("focusin",p),n.value.removeEventListener("focusout",d),n.value=void 0)})),{onKeydown:i}}}),[["render",function(e,t,n,o,r,a){return wo(e.$slots,"default",{handleKeydown:e.onKeydown})}],["__file","focus-trap.vue"]]);const D_=qw({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,badgeStyle:{type:[String,Object,Array]},offset:{type:Array,default:[0,0]},badgeClass:{type:String}});const j_=Xw(r_(Fn({...Fn({name:"ElBadge"}),props:D_,setup(e,{expose:t}){const n=e,o=Cb("badge"),r=ya((()=>n.isDot?"":yc(n.value)&&yc(n.max)&&n.max{var e,t,o,r,a;return[{backgroundColor:n.color,marginRight:Bc(-(null!=(t=null==(e=n.offset)?void 0:e[0])?t:0)),marginTop:Bc(null!=(r=null==(o=n.offset)?void 0:o[1])?r:0)},null!=(a=n.badgeStyle)?a:{}]}));return t({content:r}),(e,t)=>(Fr(),Nr("div",{class:U(Et(o).b())},[wo(e.$slots,"default"),Gr(Fa,{name:`${Et(o).namespace.value}-zoom-in-center`,persisted:""},{default:cn((()=>[un(Wr("sup",{class:U([Et(o).e("content"),Et(o).em("content",e.type),Et(o).is("fixed",!!e.$slots.default),Et(o).is("dot",e.isDot),Et(o).is("hide-zero",!e.showZero&&0===n.value),e.badgeClass]),style:I(Et(a)),textContent:X(Et(r))},null,14,["textContent"]),[[Za,!e.hidden&&(Et(r)||e.isDot)]])])),_:1},8,["name"])],2))}}),[["__file","badge.vue"]])),$_=Symbol("buttonGroupContextKey"),U_=qw({size:Rb,disabled:Boolean,type:{type:String,values:["default","primary","success","warning","info","danger","text",""],default:""},icon:{type:Ww},nativeType:{type:String,values:["button","submit","reset"],default:"button"},loading:Boolean,loadingIcon:{type:Ww,default:()=>vm},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:[String,Object],default:"button"}}),q_={click:e=>e instanceof MouseEvent};function W_(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function G_(e){return Math.min(1,Math.max(0,e))}function K_(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Y_(e){return e<=1?"".concat(100*Number(e),"%"):e}function J_(e){return 1===e.length?"0"+e:String(e)}function X_(e,t,n){e=W_(e,255),t=W_(t,255),n=W_(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),a=0,l=0,s=(o+r)/2;if(o===r)l=0,a=0;else{var i=o-r;switch(l=s>.5?i/(2-o-r):i/(o+r),o){case e:a=(t-n)/i+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Q_(e,t,n){e=W_(e,255),t=W_(t,255),n=W_(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),a=0,l=o,s=o-r,i=0===o?0:s/o;if(o===r)a=0;else{switch(o){case e:a=(t-n)/s+(t>16,g:(65280&e)>>8,b:255&e}}(t)),this.originalInput=t;var r=ry(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=n.format)&&void 0!==o?o:r.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=r.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,o=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=K_(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=Q_(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=Q_(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=X_(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=X_(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),ey(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),function(e,t,n,o,r){var a,l=[J_(Math.round(e).toString(16)),J_(Math.round(t).toString(16)),J_(Math.round(n).toString(16)),J_((a=o,Math.round(255*parseFloat(a)).toString(16)))];return r&&l[0].startsWith(l[0].charAt(1))&&l[1].startsWith(l[1].charAt(1))&&l[2].startsWith(l[2].charAt(1))&&l[3].startsWith(l[3].charAt(1))?l[0].charAt(0)+l[1].charAt(0)+l[2].charAt(0)+l[3].charAt(0):l.join("")}(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*W_(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*W_(e,255))};return 1===this.a?"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,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+ey(this.r,this.g,this.b,!1),t=0,n=Object.entries(oy);t=0;return t||!o||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=G_(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=G_(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=G_(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=G_(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var o=this.toRgb(),r=new e(t).toRgb(),a=n/100;return new e({r:(r.r-o.r)*a+o.r,g:(r.g-o.g)*a+o.g,b:(r.b-o.b)*a+o.b,a:(r.a-o.a)*a+o.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var o=this.toHsl(),r=360/n,a=[this];for(o.h=(o.h-(r*t>>1)+720)%360;--t;)o.h=(o.h+r)%360,a.push(new e(o));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),o=n.h,r=n.s,a=n.v,l=[],s=1/t;t--;)l.push(new e({h:o,s:r,v:a})),a=(a+s)%1;return l},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),o=new e(t).toRgb(),r=n.a+o.a*(1-n.a);return new e({r:(n.r*n.a+o.r*o.a*(1-n.a))/r,g:(n.g*n.a+o.g*o.a*(1-n.a))/r,b:(n.b*n.a+o.b*o.a*(1-n.a))/r,a:r})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),o=n.h,r=[this],a=360/t,l=1;l{let o={},r=e.color;if(r){const a=r.match(/var\((.*?)\)/);a&&(r=window.getComputedStyle(window.document.documentElement).getPropertyValue(a[1]));const l=new uy(r),s=e.dark?l.tint(20).toString():py(l,20);if(e.plain)o=n.cssVarBlock({"bg-color":e.dark?py(l,90):l.tint(90).toString(),"text-color":r,"border-color":e.dark?py(l,50):l.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":r,"hover-border-color":r,"active-bg-color":s,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":s}),t.value&&(o[n.cssVarBlockName("disabled-bg-color")]=e.dark?py(l,90):l.tint(90).toString(),o[n.cssVarBlockName("disabled-text-color")]=e.dark?py(l,50):l.tint(50).toString(),o[n.cssVarBlockName("disabled-border-color")]=e.dark?py(l,80):l.tint(80).toString());else{const a=e.dark?py(l,30):l.tint(30).toString(),i=l.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(o=n.cssVarBlock({"bg-color":r,"text-color":i,"border-color":r,"hover-bg-color":a,"hover-text-color":i,"hover-border-color":a,"active-bg-color":s,"active-border-color":s}),t.value){const t=e.dark?py(l,50):l.tint(50).toString();o[n.cssVarBlockName("disabled-bg-color")]=t,o[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,o[n.cssVarBlockName("disabled-border-color")]=t}}}return o}))}(o),a=Cb("button"),{_ref:l,_size:s,_type:i,_disabled:c,_props:u,shouldAddSpace:p,handleClick:d}=((e,t)=>{db({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},ya((()=>"text"===e.type)));const n=Wo($_,void 0),o=Xb("button"),{form:r}=p_(),a=c_(ya((()=>null==n?void 0:n.size))),l=u_(),s=Mt(),i=zo(),c=ya((()=>e.type||(null==n?void 0:n.type)||"")),u=ya((()=>{var t,n,r;return null!=(r=null!=(n=e.autoInsertSpace)?n:null==(t=o.value)?void 0:t.autoInsertSpace)&&r})),p=ya((()=>"button"===e.tag?{ariaDisabled:l.value||e.loading,disabled:l.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{})),d=ya((()=>{var e;const t=null==(e=i.default)?void 0:e.call(i);if(u.value&&1===(null==t?void 0:t.length)){const e=t[0];if((null==e?void 0:e.type)===Hr){const t=e.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(t.trim())}}return!1}));return{_disabled:l,_size:a,_type:c,_ref:s,_props:p,shouldAddSpace:d,handleClick:n=>{l.value||e.loading?n.stopPropagation():("reset"===e.nativeType&&(null==r||r.resetFields()),t("click",n))}}})(o,n),f=ya((()=>[a.b(),a.m(i.value),a.m(s.value),a.is("disabled",c.value),a.is("loading",o.loading),a.is("plain",o.plain),a.is("round",o.round),a.is("circle",o.circle),a.is("text",o.text),a.is("link",o.link),a.is("has-bg",o.bg)]));return t({ref:l,size:s,type:i,disabled:c,shouldAddSpace:p}),(e,t)=>(Fr(),Dr(po(e.tag),na({ref_key:"_ref",ref:l},Et(u),{class:Et(f),style:Et(r),onClick:Et(d)}),{default:cn((()=>[e.loading?(Fr(),Nr(Ar,{key:0},[e.$slots.loading?wo(e.$slots,"loading",{key:0}):(Fr(),Dr(Et(l_),{key:1,class:U(Et(a).is("loading"))},{default:cn((()=>[(Fr(),Dr(po(e.loadingIcon)))])),_:1},8,["class"]))],64)):e.icon||e.$slots.icon?(Fr(),Dr(Et(l_),{key:1},{default:cn((()=>[e.icon?(Fr(),Dr(po(e.icon),{key:0})):wo(e.$slots,"icon",{key:1})])),_:3})):Zr("v-if",!0),e.$slots.default?(Fr(),Nr("span",{key:2,class:U({[Et(a).em("text","expand")]:Et(p)})},[wo(e.$slots,"default")],2)):Zr("v-if",!0)])),_:3},16,["class","style","onClick"]))}}),[["__file","button.vue"]]);const fy={size:U_.size,type:U_.type};var hy=r_(Fn({...Fn({name:"ElButtonGroup"}),props:fy,setup(e){const t=e;qo($_,pt({size:Ot(t,"size"),type:Ot(t,"type")}));const n=Cb("button");return(e,t)=>(Fr(),Nr("div",{class:U(Et(n).b("group"))},[wo(e.$slots,"default")],2))}}),[["__file","button-group.vue"]]);const my=Xw(dy,{ButtonGroup:hy});Qw(hy);var vy="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function gy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const wy="_trap-focus-children",by=[],_y=e=>{if(0===by.length)return;const t=by[by.length-1][wy];if(t.length>0&&e.code===eb.tab){if(1===t.length)return e.preventDefault(),void(document.activeElement!==t[0]&&t[0].focus());const n=e.shiftKey,o=e.target===t[0],r=e.target===t[t.length-1];o&&n&&(e.preventDefault(),t[t.length-1].focus()),r&&!n&&(e.preventDefault(),t[0].focus())}},yy={beforeMount(e){e[wy]=Ul(e),by.push(e),by.length<=1&&document.addEventListener("keydown",_y)},updated(e){Zt((()=>{e[wy]=Ul(e)}))},unmounted(){by.shift(),0===by.length&&document.removeEventListener("keydown",_y)}},xy=qw({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:[String,Array,Object]},zIndex:{type:[String,Number]}});const Cy=Fn({name:"ElOverlay",props:xy,emits:{click:e=>e instanceof MouseEvent},setup(e,{slots:t,emit:n}){const o=Cb("overlay"),{onClick:r,onMousedown:a,onMouseup:l}=Lb(e.customMaskEvent?void 0:e=>{n("click",e)});return()=>e.mask?Gr("div",{class:[o.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:r,onMousedown:a,onMouseup:l},[wo(t,"default")],lb.STYLE|lb.CLASS|lb.PROPS,["onClick","onMouseup","onMousedown"]):xa("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[wo(t,"default")])}}),My=qw({zIndex:{type:Number,default:9},rotate:{type:Number,default:-22},width:Number,height:Number,image:String,content:{type:[String,Array],default:"Element Plus"},font:{type:Object},gap:{type:Array,default:()=>[100,100]},offset:{type:Array}});function zy(e,t,n=1){const o=document.createElement("canvas"),r=o.getContext("2d"),a=e*n,l=t*n;return o.setAttribute("width",`${a}px`),o.setAttribute("height",`${l}px`),r.save(),[r,o,a,l]}function Ly(){return function(e,t,n,o,r,a,l,s){const[i,c,u,d]=zy(o,r,n);if(e instanceof HTMLImageElement)i.drawImage(e,0,0,u,d);else{const{color:t,fontSize:o,fontStyle:l,fontWeight:s,fontFamily:c,textAlign:d,textBaseline:f}=a,h=Number(o)*n;i.font=`${l} normal ${s} ${h}px/${r}px ${c}`,i.fillStyle=t,i.textAlign=d,i.textBaseline=f;const m=p(e)?e:[e];null==m||m.forEach(((e,t)=>{i.fillText(null!=e?e:"",u/2,t*(h+3*n))}))}const f=Math.PI/180*Number(t),h=Math.max(o,r),[m,v,g]=zy(h,h,n);m.translate(g/2,g/2),m.rotate(f),u>0&&d>0&&m.drawImage(c,-u/2,-d/2);let w=0,b=0,_=0,y=0;const x=u/2,C=d/2;[[0-x,0-C],[0+x,0-C],[0+x,0+C],[0-x,0+C]].forEach((([e,t])=>{const[n,o]=function(e,t){return[e*Math.cos(f)-t*Math.sin(f),e*Math.sin(f)+t*Math.cos(f)]}(e,t);w=Math.min(w,n),b=Math.max(b,n),_=Math.min(_,o),y=Math.max(y,o)}));const M=w+g/2,z=_+g/2,L=b-w,S=y-_,E=l*n,k=s*n,A=2*(L+E),H=S+k,[T,V]=zy(A,H);function O(e=0,t=0){T.drawImage(v,M,z,L,S,e,t,L,S)}return O(),O(L+E,-S/2-k/2),O(L+E,+S/2+k/2),[V.toDataURL(),A/n,H/n]}}const Sy=Xw(r_(Fn({...Fn({name:"ElWatermark"}),props:My,setup(e){const t=e,n={position:"relative"},o=ya((()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.color)?n:"rgba(0,0,0,.15)"})),r=ya((()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.fontSize)?n:16})),a=ya((()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.fontWeight)?n:"normal"})),l=ya((()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.fontStyle)?n:"normal"})),s=ya((()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.fontFamily)?n:"sans-serif"})),i=ya((()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.textAlign)?n:"center"})),c=ya((()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.textBaseline)?n:"hanging"})),u=ya((()=>t.gap[0])),d=ya((()=>t.gap[1])),f=ya((()=>u.value/2)),h=ya((()=>d.value/2)),m=ya((()=>{var e,n;return null!=(n=null==(e=t.offset)?void 0:e[0])?n:f.value})),v=ya((()=>{var e,n;return null!=(n=null==(e=t.offset)?void 0:e[1])?n:h.value})),g=()=>{const e={zIndex:t.zIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let n=m.value-f.value,o=v.value-h.value;return n>0&&(e.left=`${n}px`,e.width=`calc(100% - ${n}px)`,n=0),o>0&&(e.top=`${o}px`,e.height=`calc(100% - ${o}px)`,o=0),e.backgroundPosition=`${n}px ${o}px`,e},w=zt(null),b=zt(),_=Mt(!1),y=()=>{b.value&&(b.value.remove(),b.value=void 0)},x=(e,t)=>{var n;w.value&&b.value&&(_.value=!0,b.value.setAttribute("style",function(e){return Object.keys(e).map((t=>`${function(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}(t)}: ${e[t]};`)).join(" ")}({...g(),backgroundImage:`url('${e}')`,backgroundSize:`${Math.floor(t)}px`})),null==(n=w.value)||n.append(b.value),setTimeout((()=>{_.value=!1})))},C=Ly(),M=()=>{const e=document.createElement("canvas").getContext("2d"),n=t.image,f=t.content,h=t.rotate;if(e){b.value||(b.value=document.createElement("div"));const m=window.devicePixelRatio||1,[v,g]=(e=>{let n=120,o=64;const a=t.image,l=t.content,i=t.width,c=t.height;if(!a&&e.measureText){e.font=`${Number(r.value)}px ${s.value}`;const t=p(l)?l:[l],a=t.map((t=>{const n=e.measureText(t);return[n.width,void 0!==n.fontBoundingBoxAscent?n.fontBoundingBoxAscent+n.fontBoundingBoxDescent:n.actualBoundingBoxAscent+n.actualBoundingBoxDescent]}));n=Math.ceil(Math.max(...a.map((e=>e[0])))),o=Math.ceil(Math.max(...a.map((e=>e[1]))))*t.length+3*(t.length-1)}return[null!=i?i:n,null!=c?c:o]})(e),w=e=>{const[t,n]=C(e||"",h,m,v,g,{color:o.value,fontSize:r.value,fontStyle:l.value,fontWeight:a.value,fontFamily:s.value,textAlign:i.value,textBaseline:c.value},u.value,d.value);x(t,n)};if(n){const e=new Image;e.onload=()=>{w(e)},e.onerror=()=>{w(f)},e.crossOrigin="anonymous",e.referrerPolicy="no-referrer",e.src=n}else w(f)}};Qn((()=>{M()})),gr((()=>t),(()=>{M()}),{deep:!0,flush:"post"}),no((()=>{y()}));return Hs(w,(e=>{_.value||e.forEach((e=>{((e,t)=>{let n=!1;return e.removedNodes.length&&t&&(n=Array.from(e.removedNodes).includes(t)),"attributes"===e.type&&e.target===t&&(n=!0),n})(e,b.value)&&(y(),M())}))}),{attributes:!0,subtree:!0,childList:!0}),(e,t)=>(Fr(),Nr("div",{ref_key:"containerRef",ref:w,style:I([n])},[wo(e.$slots,"default")],4))}}),[["__file","watermark.vue"]])),Ey=["success","info","warning","error"],ky={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:ns?document.body:void 0},Ay=qw({customClass:{type:String,default:ky.customClass},center:{type:Boolean,default:ky.center},dangerouslyUseHTMLString:{type:Boolean,default:ky.dangerouslyUseHTMLString},duration:{type:Number,default:ky.duration},icon:{type:Ww,default:ky.icon},id:{type:String,default:ky.id},message:{type:[String,Object,Function],default:ky.message},onClose:{type:Function,default:ky.onClose},showClose:{type:Boolean,default:ky.showClose},type:{type:String,values:Ey,default:ky.type},plain:{type:Boolean,default:ky.plain},offset:{type:Number,default:ky.offset},zIndex:{type:Number,default:ky.zIndex},grouping:{type:Boolean,default:ky.grouping},repeatNum:{type:Number,default:ky.repeatNum}}),Hy=dt([]),Ty=e=>{const{prev:t}=(e=>{const t=Hy.findIndex((t=>t.id===e)),n=Hy[t];let o;return t>0&&(o=Hy[t-1]),{current:n,prev:o}})(e);return t?t.vm.exposed.bottom.value:0};var Vy=r_(Fn({...Fn({name:"ElMessage"}),props:Ay,emits:{destroy:()=>!0},setup(e,{expose:t}){const n=e,{Close:o}=Kw,{ns:r,zIndex:a}=Zb("message"),{currentZIndex:l,nextZIndex:s}=a,i=Mt(),c=Mt(!1),u=Mt(0);let p;const d=ya((()=>n.type?"error"===n.type?"danger":n.type:"info")),f=ya((()=>{const e=n.type;return{[r.bm("icon",e)]:e&&Yw[e]}})),h=ya((()=>n.icon||Yw[n.type]||"")),m=ya((()=>Ty(n.id))),v=ya((()=>((e,t)=>Hy.findIndex((t=>t.id===e))>0?16:t)(n.id,n.offset)+m.value)),g=ya((()=>u.value+v.value)),w=ya((()=>({top:`${v.value}px`,zIndex:l.value})));function b(){0!==n.duration&&({stop:p}=ps((()=>{y()}),n.duration))}function _(){null==p||p()}function y(){c.value=!1}return Qn((()=>{b(),s(),c.value=!0})),gr((()=>n.repeatNum),(()=>{_(),b()})),ms(document,"keydown",(function({code:e}){e===eb.esc&&y()})),zs(i,(()=>{u.value=i.value.getBoundingClientRect().height})),t({visible:c,bottom:g,close:y}),(e,t)=>(Fr(),Dr(Fa,{name:Et(r).b("fade"),onBeforeLeave:e.onClose,onAfterLeave:t=>e.$emit("destroy"),persisted:""},{default:cn((()=>[un(Wr("div",{id:e.id,ref_key:"messageRef",ref:i,class:U([Et(r).b(),{[Et(r).m(e.type)]:e.type},Et(r).is("center",e.center),Et(r).is("closable",e.showClose),Et(r).is("plain",e.plain),e.customClass]),style:I(Et(w)),role:"alert",onMouseenter:_,onMouseleave:b},[e.repeatNum>1?(Fr(),Dr(Et(j_),{key:0,value:e.repeatNum,type:Et(d),class:U(Et(r).e("badge"))},null,8,["value","type","class"])):Zr("v-if",!0),Et(h)?(Fr(),Dr(Et(l_),{key:1,class:U([Et(r).e("icon"),Et(f)])},{default:cn((()=>[(Fr(),Dr(po(Et(h))))])),_:1},8,["class"])):Zr("v-if",!0),wo(e.$slots,"default",{},(()=>[e.dangerouslyUseHTMLString?(Fr(),Nr(Ar,{key:1},[Zr(" Caution here, message could've been compromised, never use user's input as message "),Wr("p",{class:U(Et(r).e("content")),innerHTML:e.message},null,10,["innerHTML"])],2112)):(Fr(),Nr("p",{key:0,class:U(Et(r).e("content"))},X(e.message),3))])),e.showClose?(Fr(),Dr(Et(l_),{key:2,class:U(Et(r).e("closeBtn")),onClick:Pl(y,["stop"])},{default:cn((()=>[Gr(Et(o))])),_:1},8,["class","onClick"])):Zr("v-if",!0)],46,["id"]),[[Za,c.value]])])),_:3},8,["name","onBeforeLeave","onAfterLeave"]))}}),[["__file","message.vue"]]);let Oy=1;const By=e=>{const t=!e||v(e)||jr(e)||m(e)?{message:e}:e,n={...ky,...t};if(n.appendTo){if(v(n.appendTo)){let e=document.querySelector(n.appendTo);xc(e)||(e=document.body),n.appendTo=e}}else n.appendTo=document.body;return _c(n_.grouping)&&!n.grouping&&(n.grouping=n_.grouping),yc(n_.duration)&&3e3===n.duration&&(n.duration=n_.duration),yc(n_.offset)&&16===n.offset&&(n.offset=n_.offset),_c(n_.showClose)&&!n.showClose&&(n.showClose=n_.showClose),n},Fy=({appendTo:e,...t},n)=>{const o="message_"+Oy++,r=t.onClose,a=document.createElement("div"),l={...t,id:o,onClose:()=>{null==r||r(),(e=>{const t=Hy.indexOf(e);if(-1===t)return;Hy.splice(t,1);const{handler:n}=e;n.close()})(u)},onDestroy:()=>{$l(null,a)}},s=Gr(Vy,l,m(l.message)||jr(l.message)?{default:m(l.message)?l.message:()=>l.message}:null);s.appContext=n||Py._context,$l(s,a),e.appendChild(a.firstElementChild);const i=s.component,c={close:()=>{i.exposed.visible.value=!1}},u={id:o,vnode:s,vm:i,handler:c,props:s.component.props};return u},Py=(e={},t)=>{if(!ns)return{close:()=>{}};const n=By(e);if(n.grouping&&Hy.length){const e=Hy.find((({vnode:e})=>{var t;return(null==(t=e.props)?void 0:t.message)===n.message}));if(e)return e.props.repeatNum+=1,e.props.type=n.type,e.handler}if(yc(n_.max)&&Hy.length>=n_.max)return{close:()=>{}};const o=Fy(n,t);return Hy.push(o),o.handler};Ey.forEach((e=>{Py[e]=(t={},n)=>{const o=By(t);return Py({...o,type:e},n)}})),Py.closeAll=function(e){for(const t of Hy)e&&e!==t.props.type||t.handler.close()},Py._context=null;const Ry=(Ny="$message",(Iy=Py).install=e=>{Iy._context=e._context,e.config.globalProperties[Ny]=Iy},Iy);var Iy,Ny;var Dy=r_(Fn({name:"ElMessageBox",directives:{TrapFocus:yy},components:{ElButton:my,ElFocusTrap:N_,ElInput:b_,ElOverlay:Cy,ElIcon:l_,...Kw},inheritAttrs:!1,props:{buttonSize:{type:String,validator:ab},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(e,{emit:t}){const{locale:n,zIndex:o,ns:r,size:a}=Zb("message-box",ya((()=>e.buttonSize))),{t:l}=n,{nextZIndex:s}=o,i=Mt(!1),c=pt({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,confirmButtonLoadingIcon:_t(vm),cancelButtonLoadingIcon:_t(vm),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:s()}),u=ya((()=>{const e=c.type;return{[r.bm("icon",e)]:e&&Yw[e]}})),p=Ab(),d=Ab(),f=ya((()=>c.icon||Yw[c.type]||"")),h=ya((()=>!!c.message)),g=Mt(),w=Mt(),b=Mt(),_=Mt(),y=Mt(),x=ya((()=>c.confirmButtonClass));gr((()=>c.inputValue),(async t=>{await Zt(),"prompt"===e.boxType&&null!==t&&k()}),{immediate:!0}),gr((()=>i.value),(t=>{var n,o;t&&("prompt"!==e.boxType&&(c.autofocus?b.value=null!=(o=null==(n=y.value)?void 0:n.$el)?o:g.value:b.value=g.value),c.zIndex=s()),"prompt"===e.boxType&&(t?Zt().then((()=>{var e;_.value&&_.value.$el&&(c.autofocus?b.value=null!=(e=A())?e:g.value:b.value=g.value)})):(c.editorErrorMessage="",c.validateError=!1))}));const C=ya((()=>e.draggable)),M=ya((()=>e.overflow));function z(){i.value&&(i.value=!1,Zt((()=>{c.action&&t("action",c.action)})))}fb(g,w,C,M),Qn((async()=>{await Zt(),e.closeOnHashChange&&window.addEventListener("hashchange",z)})),no((()=>{e.closeOnHashChange&&window.removeEventListener("hashchange",z)}));const L=()=>{e.closeOnClickModal&&E(c.distinguishCancelAndClose?"close":"cancel")},S=Lb(L),E=t=>{var n;("prompt"!==e.boxType||"confirm"!==t||k())&&(c.action=t,c.beforeClose?null==(n=c.beforeClose)||n.call(c,t,c,z):z())},k=()=>{if("prompt"===e.boxType){const e=c.inputPattern;if(e&&!e.test(c.inputValue||""))return c.editorErrorMessage=c.inputErrorMessage||l("el.messagebox.error"),c.validateError=!0,!1;const t=c.inputValidator;if(m(t)){const e=t(c.inputValue);if(!1===e)return c.editorErrorMessage=c.inputErrorMessage||l("el.messagebox.error"),c.validateError=!0,!1;if(v(e))return c.editorErrorMessage=e,c.validateError=!0,!1}}return c.editorErrorMessage="",c.validateError=!1,!0},A=()=>{const e=_.value.$refs;return e.input||e.textarea},H=()=>{E("close")};return e.lockScroll&&Mb(i),{...Ht(c),ns:r,overlayEvent:S,visible:i,hasMessage:h,typeClass:u,contentId:p,inputId:d,btnSize:a,iconComponent:f,confirmButtonClasses:x,rootRef:g,focusStartRef:b,headerRef:w,inputRef:_,confirmRef:y,doClose:z,handleClose:H,onCloseRequested:()=>{e.closeOnPressEscape&&H()},handleWrapperClick:L,handleInputEnter:e=>{if("textarea"!==c.inputType)return e.preventDefault(),E("confirm")},handleAction:E,t:l}}}),[["render",function(e,t,n,o,r,a){const l=co("el-icon"),s=co("close"),i=co("el-input"),c=co("el-button"),u=co("el-focus-trap"),p=co("el-overlay");return Fr(),Dr(Fa,{name:"fade-in-linear",onAfterLeave:t=>e.$emit("vanish"),persisted:""},{default:cn((()=>[un(Gr(p,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:cn((()=>[Wr("div",{role:"dialog","aria-label":e.title,"aria-modal":"true","aria-describedby":e.showInput?void 0:e.contentId,class:U(`${e.ns.namespace.value}-overlay-message-box`),onClick:e.overlayEvent.onClick,onMousedown:e.overlayEvent.onMousedown,onMouseup:e.overlayEvent.onMouseup},[Gr(u,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:cn((()=>[Wr("div",{ref:"rootRef",class:U([e.ns.b(),e.customClass,e.ns.is("draggable",e.draggable),{[e.ns.m("center")]:e.center}]),style:I(e.customStyle),tabindex:"-1",onClick:Pl((()=>{}),["stop"])},[null!==e.title&&void 0!==e.title?(Fr(),Nr("div",{key:0,ref:"headerRef",class:U([e.ns.e("header"),{"show-close":e.showClose}])},[Wr("div",{class:U(e.ns.e("title"))},[e.iconComponent&&e.center?(Fr(),Dr(l,{key:0,class:U([e.ns.e("status"),e.typeClass])},{default:cn((()=>[(Fr(),Dr(po(e.iconComponent)))])),_:1},8,["class"])):Zr("v-if",!0),Wr("span",null,X(e.title),1)],2),e.showClose?(Fr(),Nr("button",{key:0,type:"button",class:U(e.ns.e("headerbtn")),"aria-label":e.t("el.messagebox.close"),onClick:t=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),onKeydown:Il(Pl((t=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel")),["prevent"]),["enter"])},[Gr(l,{class:U(e.ns.e("close"))},{default:cn((()=>[Gr(s)])),_:1},8,["class"])],42,["aria-label","onClick","onKeydown"])):Zr("v-if",!0)],2)):Zr("v-if",!0),Wr("div",{id:e.contentId,class:U(e.ns.e("content"))},[Wr("div",{class:U(e.ns.e("container"))},[e.iconComponent&&!e.center&&e.hasMessage?(Fr(),Dr(l,{key:0,class:U([e.ns.e("status"),e.typeClass])},{default:cn((()=>[(Fr(),Dr(po(e.iconComponent)))])),_:1},8,["class"])):Zr("v-if",!0),e.hasMessage?(Fr(),Nr("div",{key:1,class:U(e.ns.e("message"))},[wo(e.$slots,"default",{},(()=>[e.dangerouslyUseHTMLString?(Fr(),Dr(po(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):(Fr(),Dr(po(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0},{default:cn((()=>[Jr(X(e.dangerouslyUseHTMLString?"":e.message),1)])),_:1},8,["for"]))]))],2)):Zr("v-if",!0)],2),un(Wr("div",{class:U(e.ns.e("input"))},[Gr(i,{id:e.inputId,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":t=>e.inputValue=t,type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:U({invalid:e.validateError}),onKeydown:Il(e.handleInputEnter,["enter"])},null,8,["id","modelValue","onUpdate:modelValue","type","placeholder","aria-invalid","class","onKeydown"]),Wr("div",{class:U(e.ns.e("errormsg")),style:I({visibility:e.editorErrorMessage?"visible":"hidden"})},X(e.editorErrorMessage),7)],2),[[Za,e.showInput]])],10,["id"]),Wr("div",{class:U(e.ns.e("btns"))},[e.showCancelButton?(Fr(),Dr(c,{key:0,loading:e.cancelButtonLoading,"loading-icon":e.cancelButtonLoadingIcon,class:U([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:t=>e.handleAction("cancel"),onKeydown:Il(Pl((t=>e.handleAction("cancel")),["prevent"]),["enter"])},{default:cn((()=>[Jr(X(e.cancelButtonText||e.t("el.messagebox.cancel")),1)])),_:1},8,["loading","loading-icon","class","round","size","onClick","onKeydown"])):Zr("v-if",!0),un(Gr(c,{ref:"confirmRef",type:"primary",loading:e.confirmButtonLoading,"loading-icon":e.confirmButtonLoadingIcon,class:U([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:t=>e.handleAction("confirm"),onKeydown:Il(Pl((t=>e.handleAction("confirm")),["prevent"]),["enter"])},{default:cn((()=>[Jr(X(e.confirmButtonText||e.t("el.messagebox.confirm")),1)])),_:1},8,["loading","loading-icon","class","round","disabled","size","onClick","onKeydown"]),[[Za,e.showConfirmButton]])],2)],14,["onClick"])])),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,["aria-label","aria-describedby","onClick","onMousedown","onMouseup"])])),_:3},8,["z-index","overlay-class","mask"]),[[Za,e.visible]])])),_:3},8,["onAfterLeave"])}],["__file","index.vue"]]);const jy=new Map,$y=(e,t,n=null)=>{const o=Gr(Dy,e,m(e.message)||jr(e.message)?{default:m(e.message)?e.message:()=>e.message}:null);return o.appContext=n,$l(o,t),(e=>{let t=document.body;return e.appendTo&&(v(e.appendTo)&&(t=document.querySelector(e.appendTo)),xc(e.appendTo)&&(t=e.appendTo),xc(t)||(t=document.body)),t})(e).appendChild(t.firstElementChild),o.component},Uy=(e,t)=>{const n=document.createElement("div");e.onVanish=()=>{$l(null,n),jy.delete(r)},e.onAction=t=>{const n=jy.get(r);let a;a=e.showInput?{value:r.inputValue,action:t}:t,e.callback?e.callback(a,o.proxy):"cancel"===t||"close"===t?e.distinguishCancelAndClose&&"cancel"!==t?n.reject("close"):n.reject("cancel"):n.resolve(a)};const o=$y(e,n,t),r=o.proxy;for(const a in e)u(e,a)&&!u(r.$props,a)&&(r[a]=e[a]);return r.visible=!0,r};function qy(e,t=null){if(!ns)return Promise.reject();let n;return v(e)||jr(e)?e={message:e}:n=e.callback,new Promise(((o,r)=>{const a=Uy(e,null!=t?t:qy._context);jy.set(a,{options:e,callback:n,resolve:o,reject:r})}))}const Wy={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};["alert","confirm","prompt"].forEach((e=>{qy[e]=function(e){return(t,n,o,r)=>{let a="";return w(n)?(o=n,a=""):a=bc(n)?"":n,qy(Object.assign({title:a,message:t,type:"",...Wy[e]},o,{boxType:e}),r)}}(e)})),qy.close=()=>{jy.forEach(((e,t)=>{t.doClose()})),jy.clear()},qy._context=null;const Gy=qy;Gy.install=e=>{Gy._context=e._context,e.config.globalProperties.$msgbox=Gy,e.config.globalProperties.$messageBox=Gy,e.config.globalProperties.$alert=Gy.alert,e.config.globalProperties.$confirm=Gy.confirm,e.config.globalProperties.$prompt=Gy.prompt};const Ky=Gy;let Yy;const Jy=e=>Yy=e,Xy=Symbol();function Zy(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var Qy,ex;(ex=Qy||(Qy={})).direct="direct",ex.patchObject="patch object",ex.patchFunction="patch function";const tx=()=>{};function nx(e,t,n,o=tx){e.push(t);const r=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),o())};return!n&&re()&&ae(r),r}function ox(e,...t){e.slice().forEach((e=>{e(...t)}))}const rx=e=>e(),ax=Symbol(),lx=Symbol();function sx(e,t){e instanceof Map&&t instanceof Map?t.forEach(((t,n)=>e.set(n,t))):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];Zy(r)&&Zy(o)&&e.hasOwnProperty(n)&&!Ct(o)&&!mt(o)?e[n]=sx(r,o):e[n]=o}return e}const ix=Symbol();const{assign:cx}=Object;function ux(e,t,n={},o,r,a){let l;const s=cx({actions:{}},n),i={deep:!0};let c,u,p,d=[],f=[];const h=o.state.value[e];let m;function v(t){let n;c=u=!1,"function"==typeof t?(t(o.state.value[e]),n={type:Qy.patchFunction,storeId:e,events:p}):(sx(o.state.value[e],t),n={type:Qy.patchObject,payload:t,storeId:e,events:p});const r=m=Symbol();Zt().then((()=>{m===r&&(c=!0)})),u=!0,ox(d,n,o.state.value[e])}a||h||(o.state.value[e]={}),Mt({});const g=a?function(){const{state:e}=n,t=e?e():{};this.$patch((e=>{cx(e,t)}))}:tx;const w=(t,n="")=>{if(ax in t)return t[lx]=n,t;const r=function(){Jy(o);const n=Array.from(arguments),a=[],l=[];let s;ox(f,{args:n,name:r[lx],store:b,after:function(e){a.push(e)},onError:function(e){l.push(e)}});try{s=t.apply(this&&this.$id===e?this:b,n)}catch(i){throw ox(l,i),i}return s instanceof Promise?s.then((e=>(ox(a,e),e))).catch((e=>(ox(l,e),Promise.reject(e)))):(ox(a,s),s)};return r[ax]=!0,r[lx]=n,r},b=pt({_p:o,$id:e,$onAction:nx.bind(null,f),$patch:v,$reset:g,$subscribe(t,n={}){const r=nx(d,t,n.detached,(()=>a())),a=l.run((()=>gr((()=>o.state.value[e]),(o=>{("sync"===n.flush?u:c)&&t({storeId:e,type:Qy.direct,events:p},o)}),cx({},i,n))));return r},$dispose:function(){l.stop(),d=[],f=[],o._s.delete(e)}});o._s.set(e,b);const _=(o._a&&o._a.runWithContext||rx)((()=>o._e.run((()=>(l=oe()).run((()=>t({action:w})))))));for(const C in _){const t=_[C];if(Ct(t)&&(!Ct(x=t)||!x.effect)||mt(t))a||(!h||Zy(y=t)&&y.hasOwnProperty(ix)||(Ct(t)?t.value=h[C]:sx(t,h[C])),o.state.value[e][C]=t);else if("function"==typeof t){const e=w(t,C);_[C]=e,s.actions[C]=t}}var y,x;return cx(b,_),cx(bt(b),_),Object.defineProperty(b,"$state",{get:()=>o.state.value[e],set:e=>{v((t=>{cx(t,e)}))}}),o._p.forEach((e=>{cx(b,l.run((()=>e({store:b,app:o._a,pinia:o,options:s}))))})),h&&a&&n.hydrate&&n.hydrate(b.$state,h),c=!0,u=!0,b}function px(e,t,n){let o,r;const a="function"==typeof t;function l(e,n){(e=e||(!!(la||an||Uo)?Wo(Xy,null):null))&&Jy(e),(e=Yy)._s.has(o)||(a?ux(o,t,r,e):function(e,t,n){const{state:o,actions:r,getters:a}=t,l=n.state.value[e];let s;s=ux(e,(function(){l||(n.state.value[e]=o?o():{});const t=Ht(n.state.value[e]);return cx(t,r,Object.keys(a||{}).reduce(((t,o)=>(t[o]=_t(ya((()=>{Jy(n);const t=n._s.get(e);return a[o].call(t,t)}))),t)),{}))}),t,n,0,!0)}(o,r,e));return e._s.get(o)}return"string"==typeof e?(o=e,r=a?n:t):(r=e,o=e.id),l.$id=o,l}function dx(e){{const t=bt(e),n={};for(const o in t){const r=t[o];(Ct(r)||mt(r))&&(n[o]=Ot(e,o))}return n}}var fx=(e=>(e.DEFAULT="default",e.LARGE="large",e.SMALL="small",e))(fx||{}),hx=(e=>(e.LEFT="left",e.TOP="top",e.MIX="mix",e))(hx||{}),mx=(e=>(e.LIGHT="light",e.DARK="dark",e.AUTO="auto",e))(mx||{}),vx=(e=>(e.ZH_CN="zh-cn",e.EN="en",e))(vx||{});const{pkg:gx}={pkg:{name:"sublinkx-admin",version:"1.7",engines:{node:">=18.0.0"},dependencies:{"@element-plus/icons-vue":"^2.3.1","@vueuse/core":"^10.9.0","@wangeditor/editor":"^5.1.23","@wangeditor/editor-for-vue":"5.1.10","animate.css":"^4.1.1",axios:"^1.6.8",clipboard:"^2.0.11",echarts:"^5.5.0","element-plus":"^2.6.1","lodash-es":"^4.17.21",md5:"^2.3.0",net:"^1.0.2",nprogress:"^0.2.0","path-browserify":"^1.0.1","path-to-regexp":"^6.2.1",pinia:"^2.1.7",pnpm:"^8.15.6","qrcode.vue":"^3.4.1","sockjs-client":"1.6.1",sortablejs:"^1.15.2",stompjs:"^2.3.3",vue:"^3.4.21","vue-i18n":"9.9.1","vue-router":"^4.3.0",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"^18.6.1","@commitlint/config-conventional":"^18.6.3","@iconify-json/ep":"^1.1.15","@types/lodash":"^4.17.0","@types/node":"^20.11.30","@types/nprogress":"^0.2.3","@types/path-browserify":"^1.0.2","@types/sockjs-client":"^1.5.4","@types/sortablejs":"^1.15.8","@types/stompjs":"^2.3.9","@typescript-eslint/eslint-plugin":"^7.3.1","@typescript-eslint/parser":"^7.3.1","@vitejs/plugin-vue":"^5.0.4","@vitejs/plugin-vue-jsx":"^3.1.0",autoprefixer:"^10.4.18",commitizen:"^4.3.0","cz-git":"^1.9.0",eslint:"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-plugin-import":"^2.29.1","eslint-plugin-prettier":"^5.1.3","eslint-plugin-vue":"^9.23.0","fast-glob":"^3.3.2",husky:"^9.0.11","lint-staged":"^15.2.2",postcss:"^8.4.36","postcss-html":"^1.6.0","postcss-scss":"^4.0.9",prettier:"^3.2.5",sass:"^1.72.0",stylelint:"^16.2.1","stylelint-config-html":"^1.1.0","stylelint-config-recess-order":"^4.6.0","stylelint-config-recommended-scss":"^14.0.0","stylelint-config-recommended-vue":"^1.5.0","stylelint-config-standard":"^36.0.0",terser:"^5.29.2",typescript:"^5.4.2",unocss:"^0.58.6","unplugin-auto-import":"^0.17.5","unplugin-icons":"^0.18.5","unplugin-vue-components":"^0.26.0",vite:"^5.2.7","vite-plugin-mock-dev-server":"^1.4.7","vite-plugin-svg-icons":"^2.0.1","vue-tsc":"^2.0.6"}},buildTimestamp:1730875808946},wx={title:gx.name,version:gx.version,showSettings:!0,tagsView:!0,fixedHeader:!0,sidebarLogo:!0,layout:hx.LEFT,theme:mx.LIGHT,size:fx.DEFAULT,language:vx.ZH_CN,themeColor:"#409EFF",watermarkEnabled:!1,watermarkContent:gx.name};var bx={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空",defaultLabel:"颜色选择器",description:"当前颜色 {color},按 Enter 键选择新颜色",alphaLabel:"选择透明度的值"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",dateTablePrompt:"使用方向键与 Enter 键可选择日期",monthTablePrompt:"使用方向键与 Enter 键可选择月份",yearTablePrompt:"使用方向键与 Enter 键可选择年份",selectedDate:"已选日期",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:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},inputNumber:{decrease:"减少数值",increase:"增加数值"},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},dropdown:{toggleDropdown:"切换下拉选项"},mention:{loading:"加载中"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},dialog:{close:"关闭此对话框"},drawer:{close:"关闭此对话框"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!",close:"关闭此对话框"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},slider:{defaultLabel:"滑块介于 {min} 至 {max}",defaultRangeStartLabel:"选择起始值",defaultRangeEndLabel:"选择结束值"},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}"}}},_x=(e=>(e.DESKTOP="desktop",e.MOBILE="mobile",e))(_x||{}),yx=(e=>(e.OPENED="opened",e.CLOSED="closed",e))(yx||{});function xx(e){return!!re()&&(ae(e),!0)}function Cx(e){return"function"==typeof e?e():Et(e)}const Mx="undefined"!=typeof window&&"undefined"!=typeof document;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const zx=Object.prototype.toString,Lx=()=>{},Sx=Ex();function Ex(){var e,t;return Mx&&(null==(e=null==window?void 0:window.navigator)?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(null==(t=null==window?void 0:window.navigator)?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(null==window?void 0:window.navigator.userAgent))}const kx=e=>e();function Ax(e,t,n={}){const{eventFilter:o=kx,...r}=n;return gr(e,function(e,t){return function(...n){return new Promise(((o,r)=>{Promise.resolve(e((()=>t.apply(this,n)),{fn:t,thisArg:this,args:n})).then(o).catch(r)}))}}(o,t),r)}function Hx(e,t,n={}){const{eventFilter:o,...r}=n,{eventFilter:a,pause:l,resume:s,isActive:i}=function(e=kx){const t=Mt(!0);return{isActive:ft(t),pause:function(){t.value=!1},resume:function(){t.value=!0},eventFilter:(...n)=>{t.value&&e(...n)}}}(o);return{stop:Ax(e,t,{...r,eventFilter:a}),pause:l,resume:s,isActive:i}}function Tx(e,t=!0,n){sa()?Qn(e,n):t?e():Zt(e)}function Vx(e){var t;const n=Cx(e);return null!=(t=null==n?void 0:n.$el)?t:n}const Ox=Mx?window:void 0,Bx=Mx?window.document:void 0,Fx=Mx?window.navigator:void 0;function Px(...e){let t,n,o,r;if("string"==typeof e[0]||Array.isArray(e[0])?([n,o,r]=e,t=Ox):[t,n,o,r]=e,!t)return Lx;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const a=[],l=()=>{a.forEach((e=>e())),a.length=0},s=gr((()=>[Vx(t),Cx(r)]),(([e,t])=>{if(l(),!e)return;const r=(s=t,"[object Object]"===zx.call(s)?{...t}:t);var s;a.push(...n.flatMap((t=>o.map((n=>((e,t,n,o)=>(e.addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)))(e,t,n,r))))))}),{immediate:!0,flush:"post"}),i=()=>{s(),l()};return xx(i),i}let Rx=!1;function Ix(e,t,n={}){const{window:o=Ox,ignore:r=[],capture:a=!0,detectIframe:l=!1}=n;if(!o)return Lx;Sx&&!Rx&&(Rx=!0,Array.from(o.document.body.children).forEach((e=>e.addEventListener("click",Lx))),o.document.documentElement.addEventListener("click",Lx));let s=!0;const i=e=>r.some((t=>{if("string"==typeof t)return Array.from(o.document.querySelectorAll(t)).some((t=>t===e.target||e.composedPath().includes(t)));{const n=Vx(t);return n&&(e.target===n||e.composedPath().includes(n))}})),c=[Px(o,"click",(n=>{const o=Vx(e);o&&o!==n.target&&!n.composedPath().includes(o)&&(0===n.detail&&(s=!i(n)),s?t(n):s=!0)}),{passive:!0,capture:a}),Px(o,"pointerdown",(t=>{const n=Vx(e);s=!i(t)&&!(!n||t.composedPath().includes(n))}),{passive:!0}),l&&Px(o,"blur",(n=>{setTimeout((()=>{var r;const a=Vx(e);"IFRAME"!==(null==(r=o.document.activeElement)?void 0:r.tagName)||(null==a?void 0:a.contains(o.document.activeElement))||t(n)}),0)}))].filter(Boolean);return()=>c.forEach((e=>e()))}function Nx(e){const t=function(){const e=Mt(!1),t=sa();return t&&Qn((()=>{e.value=!0}),t),e}();return ya((()=>(t.value,Boolean(e()))))}function Dx(e,t={}){const{controls:n=!1,navigator:o=Fx}=t,r=Nx((()=>o&&"permissions"in o));let a;const l="string"==typeof e?{name:e}:e,s=Mt(),i=()=>{a&&(s.value=a.state)},c=function(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const e=t;t=void 0,e&&await e},n}((async()=>{if(r.value){if(!a)try{a=await o.permissions.query(l),Px(a,"change",i),i()}catch(EA){s.value="prompt"}return a}}));return c(),n?{state:s,isSupported:r,query:c}:s}function jx(e={}){const{navigator:t=Fx,read:n=!1,source:o,copiedDuring:r=1500,legacy:a=!1}=e,l=Nx((()=>t&&"clipboard"in t)),s=Dx("clipboard-read"),i=Dx("clipboard-write"),c=ya((()=>l.value||a)),u=Mt(""),p=Mt(!1),d=function(e,t,n={}){const{immediate:o=!0}=n,r=Mt(!1);let a=null;function l(){a&&(clearTimeout(a),a=null)}function s(){r.value=!1,l()}function i(...n){l(),r.value=!0,a=setTimeout((()=>{r.value=!1,a=null,e(...n)}),Cx(t))}return o&&(r.value=!0,Mx&&i()),xx(s),{isPending:ft(r),start:i,stop:s}}((()=>p.value=!1),r);function f(e){return"granted"===e||"prompt"===e}return c.value&&n&&Px(["copy","cut"],(function(){var e,n,o;l.value&&f(s.value)?t.clipboard.readText().then((e=>{u.value=e})):u.value=null!=(o=null==(n=null==(e=null==document?void 0:document.getSelection)?void 0:e.call(document))?void 0:n.toString())?o:""})),{isSupported:c,text:u,copied:p,copy:async function(e=Cx(o)){c.value&&null!=e&&(l.value&&f(i.value)?await t.clipboard.writeText(e):function(e){const t=document.createElement("textarea");t.value=null!=e?e:"",t.style.position="absolute",t.style.opacity="0",document.body.appendChild(t),t.select(),document.execCommand("copy"),t.remove()}(e),u.value=e,p.value=!0,d.start())}}}const $x="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Ux="__vueuse_ssr_handlers__",qx=Wx();function Wx(){return Ux in $x||($x[Ux]=$x[Ux]||{}),$x[Ux]}const Gx={boolean:{read:e=>"true"===e,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Kx="vueuse-storage";function Yx(e,t,n,o={}){var r;const{flush:a="pre",deep:l=!0,listenToStorageChanges:s=!0,writeDefaults:i=!0,mergeDefaults:c=!1,shallow:u,window:p=Ox,eventFilter:d,onError:f=e=>{},initOnMounted:h}=o,m=(u?zt:Mt)("function"==typeof t?t():t);if(!n)try{n=function(e,t){return qx[e]||t}("getDefaultStorage",(()=>{var e;return null==(e=Ox)?void 0:e.localStorage}))()}catch(EA){f(EA)}if(!n)return m;const v=Cx(t),g=function(e){return null==e?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":"boolean"==typeof e?"boolean":"string"==typeof e?"string":"object"==typeof e?"object":Number.isNaN(e)?"any":"number"}(v),w=null!=(r=o.serializer)?r:Gx[g],{pause:b,resume:_}=Hx(m,(()=>function(t){try{const o=n.getItem(e);if(null==t)y(o,null),n.removeItem(e);else{const r=w.write(t);o!==r&&(n.setItem(e,r),y(o,r))}}catch(EA){f(EA)}}(m.value)),{flush:a,deep:l,eventFilter:d});function y(t,o){p&&p.dispatchEvent(new CustomEvent(Kx,{detail:{key:e,oldValue:t,newValue:o,storageArea:n}}))}function x(t){if(!t||t.storageArea===n)if(t&&null==t.key)m.value=v;else if(!t||t.key===e){b();try{(null==t?void 0:t.newValue)!==w.write(m.value)&&(m.value=function(t){const o=t?t.newValue:n.getItem(e);if(null==o)return i&&null!=v&&n.setItem(e,w.write(v)),v;if(!t&&c){const e=w.read(o);return"function"==typeof c?c(e,v):"object"!==g||Array.isArray(e)?e:{...v,...e}}return"string"!=typeof o?o:w.read(o)}(t))}catch(EA){f(EA)}finally{t?Zt(_):_()}}}function C(e){x(e.detail)}return p&&s&&Tx((()=>{Px(p,"storage",x),Px(p,Kx,C),h&&x()})),h||x(),m}const Jx=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Xx(e,t={}){const{document:n=Bx,autoExit:o=!1}=t,r=ya((()=>{var t;return null!=(t=Vx(e))?t:null==n?void 0:n.querySelector("html")})),a=Mt(!1),l=ya((()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find((e=>n&&e in n||r.value&&e in r.value)))),s=ya((()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find((e=>n&&e in n||r.value&&e in r.value)))),i=ya((()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find((e=>n&&e in n||r.value&&e in r.value)))),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find((e=>n&&e in n)),u=Nx((()=>r.value&&n&&void 0!==l.value&&void 0!==s.value&&void 0!==i.value)),p=()=>{if(i.value){if(n&&null!=n[i.value])return n[i.value];{const e=r.value;if(null!=(null==e?void 0:e[i.value]))return Boolean(e[i.value])}}return!1};async function d(){if(u.value&&a.value){if(s.value)if(null!=(null==n?void 0:n[s.value]))await n[s.value]();else{const e=r.value;null!=(null==e?void 0:e[s.value])&&await e[s.value]()}a.value=!1}}async function f(){if(!u.value||a.value)return;p()&&await d();const e=r.value;l.value&&null!=(null==e?void 0:e[l.value])&&(await e[l.value](),a.value=!0)}const h=()=>{const e=p();(!e||e&&c&&(null==n?void 0:n[c])===r.value)&&(a.value=e)};return Px(n,Jx,h,!1),Px((()=>Vx(r)),Jx,h,!1),o&&xx(d),{isSupported:u,isFullscreen:a,enter:f,exit:d,toggle:async function(){await(a.value?d():f())}}}function Zx(e,t,n,o={}){var r,a,l;const{clone:s=!1,passive:i=!1,eventName:c,deep:u=!1,defaultValue:p,shouldEmit:d}=o,f=sa(),h=n||(null==f?void 0:f.emit)||(null==(r=null==f?void 0:f.$emit)?void 0:r.bind(f))||(null==(l=null==(a=null==f?void 0:f.proxy)?void 0:a.$emit)?void 0:l.bind(null==f?void 0:f.proxy));let m=c;m=m||`update:${t.toString()}`;const v=e=>{return s?"function"==typeof s?s(e):(t=e,JSON.parse(JSON.stringify(t))):e;var t},g=()=>void 0!==e[t]?v(e[t]):p,w=e=>{d?d(e)&&h(m,e):h(m,e)};if(i){const n=Mt(g());let o=!1;return gr((()=>e[t]),(e=>{o||(o=!0,n.value=v(e),Zt((()=>o=!1)))})),gr(n,(n=>{o||n===e[t]&&!u||w(n)}),{deep:u}),n}return ya({get:()=>g(),set(e){w(e)}})}function Qx(e={}){const{window:t=Ox,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:o=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:a=!0}=e,l=Mt(n),s=Mt(o),i=()=>{t&&(a?(l.value=t.innerWidth,s.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,s.value=t.document.documentElement.clientHeight))};if(i(),Tx(i),Px("resize",i,{passive:!0}),r){const e=function(e,t={}){const{window:n=Ox}=t,o=Nx((()=>n&&"matchMedia"in n&&"function"==typeof n.matchMedia));let r;const a=Mt(!1),l=e=>{a.value=e.matches},s=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",l):r.removeListener(l))},i=vr((()=>{o.value&&(s(),r=n.matchMedia(Cx(e)),"addEventListener"in r?r.addEventListener("change",l):r.addListener(l),a.value=r.matches)}));return xx((()=>{i(),s(),r=void 0})),a}("(orientation: portrait)");gr(e,(()=>i()))}return{width:l,height:s}}const eC=px("app",(()=>{const e=Yx("device",_x.DESKTOP),t=Yx("size",wx.size),n=Yx("language",wx.language),o=Yx("sidebarStatus",yx.CLOSED),r=pt({opened:o.value===yx.OPENED,withoutAnimation:!1}),a=Yx("activeTopMenuPath",""),l=ya((()=>"en"==(null==n?void 0:n.value)?hb:bx));return{device:e,sidebar:r,language:n,locale:l,size:t,activeTopMenu:function(e){a.value=e},toggleDevice:function(t){e.value=t},changeSize:function(e){t.value=e},changeLanguage:function(e){n.value=e},toggleSidebar:function(){r.opened=!r.opened,o.value=r.opened?yx.OPENED:yx.CLOSED},closeSideBar:function(){r.opened=!1,o.value=yx.CLOSED},openSideBar:function(){r.opened=!0,o.value=yx.OPENED},activeTopMenuPath:a}}));const tC={},nC=function(e,t,n){let o=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const e=document.querySelector("meta[property=csp-nonce]"),n=(null==e?void 0:e.nonce)||(null==e?void 0:e.getAttribute("nonce"));o=Promise.allSettled(t.map((e=>{if((e=function(e){return"/static/"+e}(e))in tC)return;tC[e]=!0;const t=e.endsWith(".css"),o=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${o}`))return;const r=document.createElement("link");return r.rel=t?"stylesheet":"modulepreload",t||(r.as="script"),r.crossOrigin="",r.href=e,n&&r.setAttribute("nonce",n),document.head.appendChild(r),t?new Promise(((t,n)=>{r.addEventListener("load",t),r.addEventListener("error",(()=>n(new Error(`Unable to preload CSS for ${e}`))))})):void 0})))}function r(e){const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return o.then((t=>{for(const e of t||[])"rejected"===e.status&&r(e.reason);return e().catch(r)}))},oC="undefined"!=typeof document;function rC(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const aC=Object.assign;function lC(e,t){const n={};for(const o in t){const r=t[o];n[o]=iC(r)?r.map(e):e(r)}return n}const sC=()=>{},iC=Array.isArray,cC=/#/g,uC=/&/g,pC=/\//g,dC=/=/g,fC=/\?/g,hC=/\+/g,mC=/%5B/g,vC=/%5D/g,gC=/%5E/g,wC=/%60/g,bC=/%7B/g,_C=/%7C/g,yC=/%7D/g,xC=/%20/g;function CC(e){return encodeURI(""+e).replace(_C,"|").replace(mC,"[").replace(vC,"]")}function MC(e){return CC(e).replace(hC,"%2B").replace(xC,"+").replace(cC,"%23").replace(uC,"%26").replace(wC,"`").replace(bC,"{").replace(yC,"}").replace(gC,"^")}function zC(e){return null==e?"":function(e){return CC(e).replace(cC,"%23").replace(fC,"%3F")}(e).replace(pC,"%2F")}function LC(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const SC=/\/$/;function EC(e,t,n="/"){let o,r={},a="",l="";const s=t.indexOf("#");let i=t.indexOf("?");return s=0&&(i=-1),i>-1&&(o=t.slice(0,i),a=t.slice(i+1,s>-1?s:t.length),r=e(a)),s>-1&&(o=o||t.slice(0,s),l=t.slice(s,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];".."!==r&&"."!==r||o.push("");let a,l,s=n.length-1;for(a=0;a1&&s--}return n.slice(0,s).join("/")+"/"+o.slice(a).join("/")}(null!=o?o:t,n),{fullPath:o+(a&&"?")+a+l,path:o,query:r,hash:LC(l)}}function kC(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function AC(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function HC(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!TC(e[n],t[n]))return!1;return!0}function TC(e,t){return iC(e)?VC(e,t):iC(t)?VC(t,e):e===t}function VC(e,t){return iC(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}const OC={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var BC,FC,PC,RC;function IC(e){if(!e)if(oC){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(SC,"")}(FC=BC||(BC={})).pop="pop",FC.push="push",(RC=PC||(PC={})).back="back",RC.forward="forward",RC.unknown="";const NC=/^[^#]+#/;function DC(e,t){return e.replace(NC,"#")+t}const jC=()=>({left:window.scrollX,top:window.scrollY});function $C(e){let t;if("el"in e){const n=e.el,o="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function UC(e,t){return(history.state?history.state.position-t:-1)+e}const qC=new Map;function WC(e,t){const{pathname:n,search:o,hash:r}=t,a=e.indexOf("#");if(a>-1){let t=r.includes(e.slice(a))?e.slice(a).length:1,n=r.slice(t);return"/"!==n[0]&&(n="/"+n),kC(n,"")}return kC(n,e)+o+r}function GC(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?jC():null}}function KC(e){const{history:t,location:n}=window,o={value:WC(e,n)},r={value:t.state};function a(o,a,l){const s=e.indexOf("#"),i=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+o:location.protocol+"//"+location.host+e+o;try{t[l?"replaceState":"pushState"](a,"",i),r.value=a}catch(c){n[l?"replace":"assign"](i)}}return r.value||a(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const l=aC({},r.value,t.state,{forward:e,scroll:jC()});a(l.current,l,!0),a(e,aC({},GC(o.value,e,null),{position:l.position+1},n),!1),o.value=e},replace:function(e,n){a(e,aC({},t.state,GC(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function YC(e){const t=KC(e=IC(e)),n=function(e,t,n,o){let r=[],a=[],l=null;const s=({state:a})=>{const s=WC(e,location),i=n.value,c=t.value;let u=0;if(a){if(n.value=s,t.value=a,l&&l===i)return void(l=null);u=c?a.position-c.position:0}else o(s);r.forEach((e=>{e(n.value,i,{delta:u,type:BC.pop,direction:u?u>0?PC.forward:PC.back:PC.unknown})}))};function i(){const{history:e}=window;e.state&&e.replaceState(aC({},e.state,{scroll:jC()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",i,{passive:!0}),{pauseListeners:function(){l=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return a.push(t),t},destroy:function(){for(const e of a)e();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",i)}}}(e,t.state,t.location,t.replace);const o=aC({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:DC.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function JC(e){return"string"==typeof e||"symbol"==typeof e}const XC=Symbol("");var ZC,QC;function eM(e,t){return aC(new Error,{type:e,[XC]:!0},t)}function tM(e,t){return e instanceof Error&&XC in e&&(null==t||!!(e.type&t))}(QC=ZC||(ZC={}))[QC.aborted=4]="aborted",QC[QC.cancelled=8]="cancelled",QC[QC.duplicated=16]="duplicated";const nM="[^/]+?",oM={sensitive:!1,strict:!1,start:!0,end:!0},rM=/[.+*?^${}()[\]/\\]/g;function aM(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function lM(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const iM={type:0,value:""},cM=/[a-zA-Z0-9_]/;function uM(e,t,n){const o=function(e,t){const n=aC({},oM,t),o=[];let r=n.start?"^":"";const a=[];for(const i of e){const e=i.length?[]:[90];n.strict&&!i.length&&(r+="/");for(let t=0;t1&&("*"===s||"+"===s)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function d(){c+=s}for(;i{a(d)}:sC}function a(e){if(JC(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(a),t.alias.forEach(a))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(a),e.alias.forEach(a))}}function l(e){const t=function(e,t){let n=0,o=t.length;for(;n!==o;){const r=n+o>>1;lM(e,t[r])<0?o=r:n=r+1}const r=function(e){let t=e;for(;t=t.parent;)if(wM(t)&&0===lM(e,t))return t;return}(e);r&&(o=t.lastIndexOf(r,o-1));return o}(e,n);n.splice(t,0,e),e.record.name&&!mM(e)&&o.set(e.record.name,e)}return t=gM({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:function(e,t){let r,a,l,s={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw eM(1,{location:e});l=r.record.name,s=aC(dM(t.params,r.keys.filter((e=>!e.optional)).concat(r.parent?r.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&dM(e.params,r.keys.map((e=>e.name)))),a=r.stringify(s)}else if(null!=e.path)a=e.path,r=n.find((e=>e.re.test(a))),r&&(s=r.parse(a),l=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw eM(1,{location:e,currentLocation:t});l=r.record.name,s=aC({},t.params,e.params),a=r.stringify(s)}const i=[];let c=r;for(;c;)i.unshift(c.record),c=c.parent;return{name:l,path:a,params:s,matched:i,meta:vM(i)}},removeRoute:a,clearRoutes:function(){n.length=0,o.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function dM(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function fM(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:hM(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function hM(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]="object"==typeof n?n[o]:n;return t}function mM(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function vM(e){return e.reduce(((e,t)=>aC(e,t.meta)),{})}function gM(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function wM({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function bM(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&MC(e))):[o&&MC(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function yM(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=iC(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const xM=Symbol(""),CM=Symbol(""),MM=Symbol(""),zM=Symbol(""),LM=Symbol("");function SM(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function EM(e,t,n,o,r,a=e=>e()){const l=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((s,i)=>{const c=e=>{var a;!1===e?i(eM(4,{from:n,to:t})):e instanceof Error?i(e):"string"==typeof(a=e)||a&&"object"==typeof a?i(eM(2,{from:t,to:e})):(l&&o.enterCallbacks[r]===l&&"function"==typeof e&&l.push(e),s())},u=a((()=>e.call(o&&o.instances[r],t,n,c)));let p=Promise.resolve(u);e.length<3&&(p=p.then(c)),p.catch((e=>i(e)))}))}function kM(e,t,n,o,r=e=>e()){const a=[];for(const l of e)for(const e in l.components){let s=l.components[e];if("beforeRouteEnter"===t||l.instances[e])if(rC(s)){const i=(s.__vccOpts||s)[t];i&&a.push(EM(i,n,o,l,e,r))}else{let i=s();a.push((()=>i.then((a=>{if(!a)throw new Error(`Couldn't resolve component "${e}" at "${l.path}"`);const s=(i=a).__esModule||"Module"===i[Symbol.toStringTag]||i.default&&rC(i.default)?a.default:a;var i;l.mods[e]=a,l.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&EM(c,n,o,l,e,r)()}))))}}return a}function AM(e){const t=Wo(MM),n=Wo(zM),o=ya((()=>{const n=Et(e.to);return t.resolve(n)})),r=ya((()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],a=n.matched;if(!r||!a.length)return-1;const l=a.findIndex(AC.bind(null,r));if(l>-1)return l;const s=TM(e[t-2]);return t>1&&TM(r)===s&&a[a.length-1].path!==s?a.findIndex(AC.bind(null,e[t-2])):l})),a=ya((()=>r.value>-1&&function(e,t){for(const n in t){const o=t[n],r=e[n];if("string"==typeof o){if(o!==r)return!1}else if(!iC(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(n.params,o.value.params))),l=ya((()=>r.value>-1&&r.value===n.matched.length-1&&HC(n.params,o.value.params)));return{route:o,href:ya((()=>o.value.href)),isActive:a,isExactActive:l,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[Et(e.replace)?"replace":"push"](Et(e.to)).catch(sC):Promise.resolve()}}}const HM=Fn({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:AM,setup(e,{slots:t}){const n=pt(AM(e)),{options:o}=Wo(MM),r=ya((()=>({[VM(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[VM(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:xa("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function TM(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const VM=(e,t,n)=>null!=e?e:null!=t?t:n,OM=Fn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Wo(LM),r=ya((()=>e.route||o.value)),a=Wo(CM,0),l=ya((()=>{let e=Et(a);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),s=ya((()=>r.value.matched[l.value]));qo(CM,ya((()=>l.value+1))),qo(xM,s),qo(LM,r);const i=Mt();return gr((()=>[i.value,s.value,e.name]),(([e,t,n],[o,r,a])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=r.leaveGuards),t.updateGuards.size||(t.updateGuards=r.updateGuards))),!e||!t||r&&AC(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=r.value,a=e.name,l=s.value,c=l&&l.components[a];if(!c)return BM(n.default,{Component:c,route:o});const u=l.props[a],p=u?!0===u?o.params:"function"==typeof u?u(o):u:null,d=xa(c,aC({},p,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(l.instances[a]=null)},ref:i}));return BM(n.default,{Component:d,route:o})||d}}});function BM(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const FM=OM;function PM(){return Wo(MM)}function RM(e){return Wo(zM)}const IM=()=>nC((()=>import("./index.BBNS_uLM.js")),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20])),NM=[{path:"/redirect",component:IM,meta:{hidden:!0},children:[{path:"/redirect/:path(.*)",component:()=>nC((()=>import("./index.BrHL87wj.js")),[])}]},{path:"/login",component:()=>nC((()=>import("./index.BfcEpzPY.js")),__vite__mapDeps([21,22,23,24,12,25,26,27,3,18,16,28,15,2,4,5,8,9,10,29,30,1,6,7,11,13,14,31])),meta:{hidden:!0}},{path:"/",name:"/",component:IM,redirect:"/dashboard",children:[{path:"dashboard",component:()=>nC((()=>import("./index.9UoVjQ1v.js")),__vite__mapDeps([32,22,23,33,34,8,9,10,35])),name:"Dashboard",meta:{title:"dashboard",icon:"homepage",affix:!0,keepAlive:!0,alwaysShow:!1}},{path:"401",component:()=>nC((()=>import("./401.2cRCE_5G.js")),__vite__mapDeps([36,37,3,19,4,13,38,33,34,9,39])),meta:{hidden:!0}},{path:"404",component:()=>nC((()=>import("./404.DlqBpkU7.js")),__vite__mapDeps([40,9,41])),meta:{hidden:!0}}]}],DM=function(e){const t=pM(e.routes,e),n=e.parseQuery||bM,o=e.stringifyQuery||_M,r=e.history,a=SM(),l=SM(),s=SM(),i=zt(OC);let c=OC;oC&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=lC.bind(null,(e=>""+e)),p=lC.bind(null,zC),d=lC.bind(null,LC);function f(e,a){if(a=aC({},a||i.value),"string"==typeof e){const o=EC(n,e,a.path),l=t.resolve({path:o.path},a),s=r.createHref(o.fullPath);return aC(o,l,{params:d(l.params),hash:LC(o.hash),redirectedFrom:void 0,href:s})}let l;if(null!=e.path)l=aC({},e,{path:EC(n,e.path,a.path).path});else{const t=aC({},e.params);for(const e in t)null==t[e]&&delete t[e];l=aC({},e,{params:p(t)}),a.params=p(a.params)}const s=t.resolve(l,a),c=e.hash||"";s.params=u(d(s.params));const f=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,aC({},e,{hash:(h=c,CC(h).replace(bC,"{").replace(yC,"}").replace(gC,"^")),path:s.path}));var h;const m=r.createHref(f);return aC({fullPath:f,hash:c,query:o===_M?yM(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}function h(e){return"string"==typeof e?EC(n,e,i.value.path):aC({},e)}function m(e,t){if(c!==e)return eM(8,{from:t,to:e})}function v(e){return w(e)}function g(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=h(o):{path:o},o.params={}),aC({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function w(e,t){const n=c=f(e),r=i.value,a=e.state,l=e.force,s=!0===e.replace,u=g(n);if(u)return w(aC(h(u),{state:"object"==typeof u?aC({},a,u.state):a,force:l,replace:s}),t||n);const p=n;let d;return p.redirectedFrom=t,!l&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&AC(t.matched[o],n.matched[r])&&HC(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(d=eM(16,{to:p,from:r}),H(r,r,!0,!1)),(d?Promise.resolve(d):y(p,r)).catch((e=>tM(e)?tM(e,2)?e:A(e):k(e,p,r))).then((e=>{if(e){if(tM(e,2))return w(aC({replace:s},h(e.to),{state:"object"==typeof e.to?aC({},a,e.to.state):a,force:l}),t||p)}else e=C(p,r,!0,s,a);return x(p,r,e),e}))}function b(e,t){const n=m(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=O.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function y(e,t){let n;const[o,r,s]=function(e,t){const n=[],o=[],r=[],a=Math.max(t.matched.length,e.matched.length);for(let l=0;lAC(e,a)))?o.push(a):n.push(a));const s=e.matched[l];s&&(t.matched.find((e=>AC(e,s)))||r.push(s))}return[n,o,r]}(e,t);n=kM(o.reverse(),"beforeRouteLeave",e,t);for(const a of o)a.leaveGuards.forEach((o=>{n.push(EM(o,e,t))}));const i=b.bind(null,e,t);return n.push(i),F(n).then((()=>{n=[];for(const o of a.list())n.push(EM(o,e,t));return n.push(i),F(n)})).then((()=>{n=kM(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(EM(o,e,t))}));return n.push(i),F(n)})).then((()=>{n=[];for(const o of s)if(o.beforeEnter)if(iC(o.beforeEnter))for(const r of o.beforeEnter)n.push(EM(r,e,t));else n.push(EM(o.beforeEnter,e,t));return n.push(i),F(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=kM(s,"beforeRouteEnter",e,t,_),n.push(i),F(n)))).then((()=>{n=[];for(const o of l.list())n.push(EM(o,e,t));return n.push(i),F(n)})).catch((e=>tM(e,8)?e:Promise.reject(e)))}function x(e,t,n){s.list().forEach((o=>_((()=>o(e,t,n)))))}function C(e,t,n,o,a){const l=m(e,t);if(l)return l;const s=t===OC,c=oC?history.state:{};n&&(o||s?r.replace(e.fullPath,aC({scroll:s&&c&&c.scroll},a)):r.push(e.fullPath,a)),i.value=e,H(e,t,n,s),A()}let M;function z(){M||(M=r.listen(((e,t,n)=>{if(!B.listening)return;const o=f(e),a=g(o);if(a)return void w(aC(a,{replace:!0}),o).catch(sC);c=o;const l=i.value;var s,u;oC&&(s=UC(l.fullPath,n.delta),u=jC(),qC.set(s,u)),y(o,l).catch((e=>tM(e,12)?e:tM(e,2)?(w(e.to,o).then((e=>{tM(e,20)&&!n.delta&&n.type===BC.pop&&r.go(-1,!1)})).catch(sC),Promise.reject()):(n.delta&&r.go(-n.delta,!1),k(e,o,l)))).then((e=>{(e=e||C(o,l,!1))&&(n.delta&&!tM(e,8)?r.go(-n.delta,!1):n.type===BC.pop&&tM(e,20)&&r.go(-1,!1)),x(o,l,e)})).catch(sC)})))}let L,S=SM(),E=SM();function k(e,t,n){A(e);const o=E.list();return o.length&&o.forEach((o=>o(e,t,n))),Promise.reject(e)}function A(e){return L||(L=!e,z(),S.list().forEach((([t,n])=>e?n(e):t())),S.reset()),e}function H(t,n,o,r){const{scrollBehavior:a}=e;if(!oC||!a)return Promise.resolve();const l=!o&&function(e){const t=qC.get(e);return qC.delete(e),t}(UC(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return Zt().then((()=>a(t,n,l))).then((e=>e&&$C(e))).catch((e=>k(e,t,n)))}const T=e=>r.go(e);let V;const O=new Set,B={currentRoute:i,listening:!0,addRoute:function(e,n){let o,r;return JC(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:f,options:e,push:v,replace:function(e){return v(aC(h(e),{replace:!0}))},go:T,back:()=>T(-1),forward:()=>T(1),beforeEach:a.add,beforeResolve:l.add,afterEach:s.add,onError:E.add,isReady:function(){return L&&i.value!==OC?Promise.resolve():new Promise(((e,t)=>{S.add([e,t])}))},install(e){e.component("RouterLink",HM),e.component("RouterView",FM),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Et(i)}),oC&&!V&&i.value===OC&&(V=!0,v(r.location).catch((e=>{})));const t={};for(const o in OC)Object.defineProperty(t,o,{get:()=>i.value[o],enumerable:!0});e.provide(MM,this),e.provide(zM,dt(t)),e.provide(LM,i);const n=e.unmount;O.add(e),e.unmount=function(){O.delete(e),O.size<1&&(c=OC,M&&M(),M=null,i.value=OC,V=!1,L=!1),n()}}};function F(e){return e.reduce(((e,t)=>e.then((()=>_(t)))),Promise.resolve())}return B}({history:((jM=location.host?jM||location.pathname+location.search:"").includes("#")||(jM+="#"),YC(jM)),routes:NM,scrollBehavior:()=>({left:0,top:0})});var jM;function $M(e,t){return function(){return e.apply(t,arguments)}}const{toString:UM}=Object.prototype,{getPrototypeOf:qM}=Object,WM=(e=>t=>{const n=UM.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),GM=e=>(e=e.toLowerCase(),t=>WM(t)===e),KM=e=>t=>typeof t===e,{isArray:YM}=Array,JM=KM("undefined");const XM=GM("ArrayBuffer");const ZM=KM("string"),QM=KM("function"),ez=KM("number"),tz=e=>null!==e&&"object"==typeof e,nz=e=>{if("object"!==WM(e))return!1;const t=qM(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},oz=GM("Date"),rz=GM("File"),az=GM("Blob"),lz=GM("FileList"),sz=GM("URLSearchParams"),[iz,cz,uz,pz]=["ReadableStream","Request","Response","Headers"].map(GM);function dz(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let o,r;if("object"!=typeof e&&(e=[e]),YM(e))for(o=0,r=e.length;o0;)if(o=n[r],t===o.toLowerCase())return o;return null}const hz="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,mz=e=>!JM(e)&&e!==hz;const vz=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&qM(Uint8Array)),gz=GM("HTMLFormElement"),wz=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),bz=GM("RegExp"),_z=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};dz(n,((n,r)=>{let a;!1!==(a=t(n,r,e))&&(o[r]=a||n)})),Object.defineProperties(e,o)},yz="abcdefghijklmnopqrstuvwxyz",xz="0123456789",Cz={DIGIT:xz,ALPHA:yz,ALPHA_DIGIT:yz+yz.toUpperCase()+xz};const Mz=GM("AsyncFunction"),zz=(Lz="function"==typeof setImmediate,Sz=QM(hz.postMessage),Lz?setImmediate:Sz?(Ez=`axios@${Math.random()}`,kz=[],hz.addEventListener("message",(({source:e,data:t})=>{e===hz&&t===Ez&&kz.length&&kz.shift()()}),!1),e=>{kz.push(e),hz.postMessage(Ez,"*")}):e=>setTimeout(e));var Lz,Sz,Ez,kz;const Az="undefined"!=typeof queueMicrotask?queueMicrotask.bind(hz):"undefined"!=typeof process&&process.nextTick||zz,Hz={isArray:YM,isArrayBuffer:XM,isBuffer:function(e){return null!==e&&!JM(e)&&null!==e.constructor&&!JM(e.constructor)&&QM(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||QM(e.append)&&("formdata"===(t=WM(e))||"object"===t&&QM(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&XM(e.buffer),t},isString:ZM,isNumber:ez,isBoolean:e=>!0===e||!1===e,isObject:tz,isPlainObject:nz,isReadableStream:iz,isRequest:cz,isResponse:uz,isHeaders:pz,isUndefined:JM,isDate:oz,isFile:rz,isBlob:az,isRegExp:bz,isFunction:QM,isStream:e=>tz(e)&&QM(e.pipe),isURLSearchParams:sz,isTypedArray:vz,isFileList:lz,forEach:dz,merge:function e(){const{caseless:t}=mz(this)&&this||{},n={},o=(o,r)=>{const a=t&&fz(n,r)||r;nz(n[a])&&nz(o)?n[a]=e(n[a],o):nz(o)?n[a]=e({},o):YM(o)?n[a]=o.slice():n[a]=o};for(let r=0,a=arguments.length;r(dz(t,((t,o)=>{n&&QM(t)?e[o]=$M(t,n):e[o]=t}),{allOwnKeys:o}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,o)=>{let r,a,l;const s={};if(t=t||{},null==e)return t;do{for(r=Object.getOwnPropertyNames(e),a=r.length;a-- >0;)l=r[a],o&&!o(l,e,t)||s[l]||(t[l]=e[l],s[l]=!0);e=!1!==n&&qM(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:WM,kindOfTest:GM,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return-1!==o&&o===n},toArray:e=>{if(!e)return null;if(YM(e))return e;let t=e.length;if(!ez(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const n=o.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const o=[];for(;null!==(n=e.exec(t));)o.push(n);return o},isHTMLForm:gz,hasOwnProperty:wz,hasOwnProp:wz,reduceDescriptors:_z,freezeMethods:e=>{_z(e,((t,n)=>{if(QM(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const o=e[n];QM(o)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},o=e=>{e.forEach((e=>{n[e]=!0}))};return YM(e)?o(e):o(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:fz,global:hz,isContextDefined:mz,ALPHABET:Cz,generateString:(e=16,t=Cz.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n},isSpecCompliantForm:function(e){return!!(e&&QM(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,o)=>{if(tz(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[o]=e;const r=YM(e)?[]:{};return dz(e,((e,t)=>{const a=n(e,o+1);!JM(a)&&(r[t]=a)})),t[o]=void 0,r}}return e};return n(e,0)},isAsyncFn:Mz,isThenable:e=>e&&(tz(e)||QM(e))&&QM(e.then)&&QM(e.catch),setImmediate:zz,asap:Az};function Tz(e,t,n,o,r){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),n&&(this.config=n),o&&(this.request=o),r&&(this.response=r,this.status=r.status?r.status:null)}Hz.inherits(Tz,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:Hz.toJSONObject(this.config),code:this.code,status:this.status}}});const Vz=Tz.prototype,Oz={};["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=>{Oz[e]={value:e}})),Object.defineProperties(Tz,Oz),Object.defineProperty(Vz,"isAxiosError",{value:!0}),Tz.from=(e,t,n,o,r,a)=>{const l=Object.create(Vz);return Hz.toFlatObject(e,l,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Tz.call(l,e.message,t,n,o,r),l.cause=e,l.name=e.name,a&&Object.assign(l,a),l};function Bz(e){return Hz.isPlainObject(e)||Hz.isArray(e)}function Fz(e){return Hz.endsWith(e,"[]")?e.slice(0,-2):e}function Pz(e,t,n){return e?e.concat(t).map((function(e,t){return e=Fz(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const Rz=Hz.toFlatObject(Hz,{},null,(function(e){return/^is[A-Z]/.test(e)}));function Iz(e,t,n){if(!Hz.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const o=(n=Hz.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Hz.isUndefined(t[e])}))).metaTokens,r=n.visitor||c,a=n.dots,l=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Hz.isSpecCompliantForm(t);if(!Hz.isFunction(r))throw new TypeError("visitor must be a function");function i(e){if(null===e)return"";if(Hz.isDate(e))return e.toISOString();if(!s&&Hz.isBlob(e))throw new Tz("Blob is not supported. Use a Buffer instead.");return Hz.isArrayBuffer(e)||Hz.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,r){let s=e;if(e&&!r&&"object"==typeof e)if(Hz.endsWith(n,"{}"))n=o?n:n.slice(0,-2),e=JSON.stringify(e);else if(Hz.isArray(e)&&function(e){return Hz.isArray(e)&&!e.some(Bz)}(e)||(Hz.isFileList(e)||Hz.endsWith(n,"[]"))&&(s=Hz.toArray(e)))return n=Fz(n),s.forEach((function(e,o){!Hz.isUndefined(e)&&null!==e&&t.append(!0===l?Pz([n],o,a):null===l?n:n+"[]",i(e))})),!1;return!!Bz(e)||(t.append(Pz(r,n,a),i(e)),!1)}const u=[],p=Object.assign(Rz,{defaultVisitor:c,convertValue:i,isVisitable:Bz});if(!Hz.isObject(e))throw new TypeError("data must be an object");return function e(n,o){if(!Hz.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+o.join("."));u.push(n),Hz.forEach(n,(function(n,a){!0===(!(Hz.isUndefined(n)||null===n)&&r.call(t,n,Hz.isString(a)?a.trim():a,o,p))&&e(n,o?o.concat(a):[a])})),u.pop()}}(e),t}function Nz(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function Dz(e,t){this._pairs=[],e&&Iz(e,this,t)}const jz=Dz.prototype;function $z(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Uz(e,t,n){if(!t)return e;const o=n&&n.encode||$z,r=n&&n.serialize;let a;if(a=r?r(t,n):Hz.isURLSearchParams(t)?t.toString():new Dz(t,n).toString(o),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}jz.append=function(e,t){this._pairs.push([e,t])},jz.toString=function(e){const t=e?function(t){return e.call(this,t,Nz)}:Nz;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};class qz{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Hz.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}const Wz={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Gz={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Dz,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Kz="undefined"!=typeof window&&"undefined"!=typeof document,Yz="object"==typeof navigator&&navigator||void 0,Jz=Kz&&(!Yz||["ReactNative","NativeScript","NS"].indexOf(Yz.product)<0),Xz="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Zz=Kz&&window.location.href||"http://localhost",Qz={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Kz,hasStandardBrowserEnv:Jz,hasStandardBrowserWebWorkerEnv:Xz,navigator:Yz,origin:Zz},Symbol.toStringTag,{value:"Module"})),...Gz};function eL(e){function t(e,n,o,r){let a=e[r++];if("__proto__"===a)return!0;const l=Number.isFinite(+a),s=r>=e.length;if(a=!a&&Hz.isArray(o)?o.length:a,s)return Hz.hasOwnProp(o,a)?o[a]=[o[a],n]:o[a]=n,!l;o[a]&&Hz.isObject(o[a])||(o[a]=[]);return t(e,n,o[a],r)&&Hz.isArray(o[a])&&(o[a]=function(e){const t={},n=Object.keys(e);let o;const r=n.length;let a;for(o=0;o{t(function(e){return Hz.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),o,n,0)})),n}return null}const tL={transitional:Wz,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",o=n.indexOf("application/json")>-1,r=Hz.isObject(e);r&&Hz.isHTMLForm(e)&&(e=new FormData(e));if(Hz.isFormData(e))return o?JSON.stringify(eL(e)):e;if(Hz.isArrayBuffer(e)||Hz.isBuffer(e)||Hz.isStream(e)||Hz.isFile(e)||Hz.isBlob(e)||Hz.isReadableStream(e))return e;if(Hz.isArrayBufferView(e))return e.buffer;if(Hz.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(r){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Iz(e,new Qz.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,o){return Qz.isNode&&Hz.isBuffer(e)?(this.append(t,e.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((a=Hz.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Iz(a?{"files[]":e}:e,t&&new t,this.formSerializer)}}return r||o?(t.setContentType("application/json",!1),function(e,t){if(Hz.isString(e))try{return(t||JSON.parse)(e),Hz.trim(e)}catch(EA){if("SyntaxError"!==EA.name)throw EA}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||tL.transitional,n=t&&t.forcedJSONParsing,o="json"===this.responseType;if(Hz.isResponse(e)||Hz.isReadableStream(e))return e;if(e&&Hz.isString(e)&&(n&&!this.responseType||o)){const n=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(EA){if(n){if("SyntaxError"===EA.name)throw Tz.from(EA,Tz.ERR_BAD_RESPONSE,this,null,this.response);throw EA}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Qz.classes.FormData,Blob:Qz.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Hz.forEach(["delete","get","head","post","put","patch"],(e=>{tL.headers[e]={}}));const nL=Hz.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"]),oL=Symbol("internals");function rL(e){return e&&String(e).trim().toLowerCase()}function aL(e){return!1===e||null==e?e:Hz.isArray(e)?e.map(aL):String(e)}function lL(e,t,n,o,r){return Hz.isFunction(o)?o.call(this,t,n):(r&&(t=n),Hz.isString(t)?Hz.isString(o)?-1!==t.indexOf(o):Hz.isRegExp(o)?o.test(t):void 0:void 0)}class sL{constructor(e){e&&this.set(e)}set(e,t,n){const o=this;function r(e,t,n){const r=rL(t);if(!r)throw new Error("header name must be a non-empty string");const a=Hz.findKey(o,r);(!a||void 0===o[a]||!0===n||void 0===n&&!1!==o[a])&&(o[a||t]=aL(e))}const a=(e,t)=>Hz.forEach(e,((e,n)=>r(e,n,t)));if(Hz.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(Hz.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))a((e=>{const t={};let n,o,r;return e&&e.split("\n").forEach((function(e){r=e.indexOf(":"),n=e.substring(0,r).trim().toLowerCase(),o=e.substring(r+1).trim(),!n||t[n]&&nL[n]||("set-cookie"===n?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)})),t})(e),t);else if(Hz.isHeaders(e))for(const[l,s]of e.entries())r(s,l,n);else null!=e&&r(t,e,n);return this}get(e,t){if(e=rL(e)){const n=Hz.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}(e);if(Hz.isFunction(t))return t.call(this,e,n);if(Hz.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=rL(e)){const n=Hz.findKey(this,e);return!(!n||void 0===this[n]||t&&!lL(0,this[n],n,t))}return!1}delete(e,t){const n=this;let o=!1;function r(e){if(e=rL(e)){const r=Hz.findKey(n,e);!r||t&&!lL(0,n[r],r,t)||(delete n[r],o=!0)}}return Hz.isArray(e)?e.forEach(r):r(e),o}clear(e){const t=Object.keys(this);let n=t.length,o=!1;for(;n--;){const r=t[n];e&&!lL(0,this[r],r,e,!0)||(delete this[r],o=!0)}return o}normalize(e){const t=this,n={};return Hz.forEach(this,((o,r)=>{const a=Hz.findKey(n,r);if(a)return t[a]=aL(o),void delete t[r];const l=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(r):String(r).trim();l!==r&&delete t[r],t[l]=aL(o),n[l]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Hz.forEach(this,((n,o)=>{null!=n&&!1!==n&&(t[o]=e&&Hz.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[oL]=this[oL]={accessors:{}}).accessors,n=this.prototype;function o(e){const o=rL(e);t[o]||(!function(e,t){const n=Hz.toCamelCase(" "+t);["get","set","has"].forEach((o=>{Object.defineProperty(e,o+n,{value:function(e,n,r){return this[o].call(this,t,e,n,r)},configurable:!0})}))}(n,e),t[o]=!0)}return Hz.isArray(e)?e.forEach(o):o(e),this}}function iL(e,t){const n=this||tL,o=t||n,r=sL.from(o.headers);let a=o.data;return Hz.forEach(e,(function(e){a=e.call(n,a,r.normalize(),t?t.status:void 0)})),r.normalize(),a}function cL(e){return!(!e||!e.__CANCEL__)}function uL(e,t,n){Tz.call(this,null==e?"canceled":e,Tz.ERR_CANCELED,t,n),this.name="CanceledError"}function pL(e,t,n){const o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(new Tz("Request failed with status code "+n.status,[Tz.ERR_BAD_REQUEST,Tz.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}sL.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Hz.reduceDescriptors(sL.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),Hz.freezeMethods(sL),Hz.inherits(uL,Tz,{__CANCEL__:!0});const dL=(e,t,n=3)=>{let o=0;const r=function(e,t){e=e||10;const n=new Array(e),o=new Array(e);let r,a=0,l=0;return t=void 0!==t?t:1e3,function(s){const i=Date.now(),c=o[l];r||(r=i),n[a]=s,o[a]=i;let u=l,p=0;for(;u!==a;)p+=n[u++],u%=e;if(a=(a+1)%e,a===l&&(l=(l+1)%e),i-r{r=a,n=null,o&&(clearTimeout(o),o=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),s=t-r;s>=a?l(e,t):(n=e,o||(o=setTimeout((()=>{o=null,l(n)}),a-s)))},()=>n&&l(n)]}((n=>{const a=n.loaded,l=n.lengthComputable?n.total:void 0,s=a-o,i=r(s);o=a;e({loaded:a,total:l,progress:l?a/l:void 0,bytes:s,rate:i||void 0,estimated:i&&l&&a<=l?(l-a)/i:void 0,event:n,lengthComputable:null!=l,[t?"download":"upload"]:!0})}),n)},fL=(e,t)=>{const n=null!=e;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},hL=e=>(...t)=>Hz.asap((()=>e(...t))),mL=Qz.hasStandardBrowserEnv?function(){const e=Qz.navigator&&/(msie|trident)/i.test(Qz.navigator.userAgent),t=document.createElement("a");let n;function o(n){let o=n;return e&&(t.setAttribute("href",o),o=t.href),t.setAttribute("href",o),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=o(window.location.href),function(e){const t=Hz.isString(e)?o(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return function(){return!0}}(),vL=Qz.hasStandardBrowserEnv?{write(e,t,n,o,r,a){const l=[e+"="+encodeURIComponent(t)];Hz.isNumber(n)&&l.push("expires="+new Date(n).toGMTString()),Hz.isString(o)&&l.push("path="+o),Hz.isString(r)&&l.push("domain="+r),!0===a&&l.push("secure"),document.cookie=l.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:()=>null,remove(){}};function gL(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const wL=e=>e instanceof sL?{...e}:e;function bL(e,t){t=t||{};const n={};function o(e,t,n){return Hz.isPlainObject(e)&&Hz.isPlainObject(t)?Hz.merge.call({caseless:n},e,t):Hz.isPlainObject(t)?Hz.merge({},t):Hz.isArray(t)?t.slice():t}function r(e,t,n){return Hz.isUndefined(t)?Hz.isUndefined(e)?void 0:o(void 0,e,n):o(e,t,n)}function a(e,t){if(!Hz.isUndefined(t))return o(void 0,t)}function l(e,t){return Hz.isUndefined(t)?Hz.isUndefined(e)?void 0:o(void 0,e):o(void 0,t)}function s(n,r,a){return a in t?o(n,r):a in e?o(void 0,n):void 0}const i={url:a,method:a,data:a,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:s,headers:(e,t)=>r(wL(e),wL(t),!0)};return Hz.forEach(Object.keys(Object.assign({},e,t)),(function(o){const a=i[o]||r,l=a(e[o],t[o],o);Hz.isUndefined(l)&&a!==s||(n[o]=l)})),n}const _L=e=>{const t=bL({},e);let n,{data:o,withXSRFToken:r,xsrfHeaderName:a,xsrfCookieName:l,headers:s,auth:i}=t;if(t.headers=s=sL.from(s),t.url=Uz(gL(t.baseURL,t.url),e.params,e.paramsSerializer),i&&s.set("Authorization","Basic "+btoa((i.username||"")+":"+(i.password?unescape(encodeURIComponent(i.password)):""))),Hz.isFormData(o))if(Qz.hasStandardBrowserEnv||Qz.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(Qz.hasStandardBrowserEnv&&(r&&Hz.isFunction(r)&&(r=r(t)),r||!1!==r&&mL(t.url))){const e=a&&l&&vL.read(l);e&&s.set(a,e)}return t},yL="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const o=_L(e);let r=o.data;const a=sL.from(o.headers).normalize();let l,s,i,c,u,{responseType:p,onUploadProgress:d,onDownloadProgress:f}=o;function h(){c&&c(),u&&u(),o.cancelToken&&o.cancelToken.unsubscribe(l),o.signal&&o.signal.removeEventListener("abort",l)}let m=new XMLHttpRequest;function v(){if(!m)return;const o=sL.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());pL((function(e){t(e),h()}),(function(e){n(e),h()}),{data:p&&"text"!==p&&"json"!==p?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:o,config:e,request:m}),m=null}m.open(o.method.toUpperCase(),o.url,!0),m.timeout=o.timeout,"onloadend"in m?m.onloadend=v:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(v)},m.onabort=function(){m&&(n(new Tz("Request aborted",Tz.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new Tz("Network Error",Tz.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const r=o.transitional||Wz;o.timeoutErrorMessage&&(t=o.timeoutErrorMessage),n(new Tz(t,r.clarifyTimeoutError?Tz.ETIMEDOUT:Tz.ECONNABORTED,e,m)),m=null},void 0===r&&a.setContentType(null),"setRequestHeader"in m&&Hz.forEach(a.toJSON(),(function(e,t){m.setRequestHeader(t,e)})),Hz.isUndefined(o.withCredentials)||(m.withCredentials=!!o.withCredentials),p&&"json"!==p&&(m.responseType=o.responseType),f&&([i,u]=dL(f,!0),m.addEventListener("progress",i)),d&&m.upload&&([s,c]=dL(d),m.upload.addEventListener("progress",s),m.upload.addEventListener("loadend",c)),(o.cancelToken||o.signal)&&(l=t=>{m&&(n(!t||t.type?new uL(null,e,m):t),m.abort(),m=null)},o.cancelToken&&o.cancelToken.subscribe(l),o.signal&&(o.signal.aborted?l():o.signal.addEventListener("abort",l)));const g=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(o.url);g&&-1===Qz.protocols.indexOf(g)?n(new Tz("Unsupported protocol "+g+":",Tz.ERR_BAD_REQUEST,e)):m.send(r||null)}))},xL=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,o=new AbortController;const r=function(e){if(!n){n=!0,l();const t=e instanceof Error?e:this.reason;o.abort(t instanceof Tz?t:new uL(t instanceof Error?t.message:t))}};let a=t&&setTimeout((()=>{a=null,r(new Tz(`timeout ${t} of ms exceeded`,Tz.ETIMEDOUT))}),t);const l=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(r):e.removeEventListener("abort",r)})),e=null)};e.forEach((e=>e.addEventListener("abort",r)));const{signal:s}=o;return s.unsubscribe=()=>Hz.asap(l),s}},CL=function*(e,t){let n=e.byteLength;if(n{const r=async function*(e,t){for await(const n of ML(e))yield*CL(n,t)}(e,t);let a,l=0,s=e=>{a||(a=!0,o&&o(e))};return new ReadableStream({async pull(e){try{const{done:t,value:o}=await r.next();if(t)return s(),void e.close();let a=o.byteLength;if(n){let e=l+=a;n(e)}e.enqueue(new Uint8Array(o))}catch(t){throw s(t),t}},cancel:e=>(s(e),r.return())},{highWaterMark:2})},LL="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,SL=LL&&"function"==typeof ReadableStream,EL=LL&&("function"==typeof TextEncoder?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),kL=(e,...t)=>{try{return!!e(...t)}catch(EA){return!1}},AL=SL&&kL((()=>{let e=!1;const t=new Request(Qz.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),HL=SL&&kL((()=>Hz.isReadableStream(new Response("").body))),TL={stream:HL&&(e=>e.body)};var VL;LL&&(VL=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!TL[e]&&(TL[e]=Hz.isFunction(VL[e])?t=>t[e]():(t,n)=>{throw new Tz(`Response type '${e}' is not supported`,Tz.ERR_NOT_SUPPORT,n)})})));const OL=async(e,t)=>{const n=Hz.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(Hz.isBlob(e))return e.size;if(Hz.isSpecCompliantForm(e)){const t=new Request(Qz.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Hz.isArrayBufferView(e)||Hz.isArrayBuffer(e)?e.byteLength:(Hz.isURLSearchParams(e)&&(e+=""),Hz.isString(e)?(await EL(e)).byteLength:void 0)})(t):n},BL={http:null,xhr:yL,fetch:LL&&(async e=>{let{url:t,method:n,data:o,signal:r,cancelToken:a,timeout:l,onDownloadProgress:s,onUploadProgress:i,responseType:c,headers:u,withCredentials:p="same-origin",fetchOptions:d}=_L(e);c=c?(c+"").toLowerCase():"text";let f,h=xL([r,a&&a.toAbortSignal()],l);const m=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let v;try{if(i&&AL&&"get"!==n&&"head"!==n&&0!==(v=await OL(u,o))){let e,n=new Request(t,{method:"POST",body:o,duplex:"half"});if(Hz.isFormData(o)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body){const[e,t]=fL(v,dL(hL(i)));o=zL(n.body,65536,e,t)}}Hz.isString(p)||(p=p?"include":"omit");const r="credentials"in Request.prototype;f=new Request(t,{...d,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:o,duplex:"half",credentials:r?p:void 0});let a=await fetch(f);const l=HL&&("stream"===c||"response"===c);if(HL&&(s||l&&m)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=a[t]}));const t=Hz.toFiniteNumber(a.headers.get("content-length")),[n,o]=s&&fL(t,dL(hL(s),!0))||[];a=new Response(zL(a.body,65536,n,(()=>{o&&o(),m&&m()})),e)}c=c||"text";let g=await TL[Hz.findKey(TL,c)||"text"](a,e);return!l&&m&&m(),await new Promise(((t,n)=>{pL(t,n,{data:g,headers:sL.from(a.headers),status:a.status,statusText:a.statusText,config:e,request:f})}))}catch(g){if(m&&m(),g&&"TypeError"===g.name&&/fetch/i.test(g.message))throw Object.assign(new Tz("Network Error",Tz.ERR_NETWORK,e,f),{cause:g.cause||g});throw Tz.from(g,g&&g.code,e,f)}})};Hz.forEach(BL,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(EA){}Object.defineProperty(e,"adapterName",{value:t})}}));const FL=e=>`- ${e}`,PL=e=>Hz.isFunction(e)||null===e||!1===e,RL=e=>{e=Hz.isArray(e)?e:[e];const{length:t}=e;let n,o;const r={};for(let a=0;a`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new Tz("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(FL).join("\n"):" "+FL(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return o};function IL(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new uL(null,e)}function NL(e){IL(e),e.headers=sL.from(e.headers),e.data=iL.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return RL(e.adapter||tL.adapter)(e).then((function(t){return IL(e),t.data=iL.call(e,e.transformResponse,t),t.headers=sL.from(t.headers),t}),(function(t){return cL(t)||(IL(e),t&&t.response&&(t.response.data=iL.call(e,e.transformResponse,t.response),t.response.headers=sL.from(t.response.headers))),Promise.reject(t)}))}const DL="1.7.7",jL={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{jL[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const $L={};jL.transitional=function(e,t,n){return(o,r,a)=>{if(!1===e)throw new Tz(function(e,t){return"[Axios v1.7.7] Transitional option '"+e+"'"+t+(n?". "+n:"")}(r," has been removed"+(t?" in "+t:"")),Tz.ERR_DEPRECATED);return t&&!$L[r]&&($L[r]=!0),!e||e(o,r,a)}};const UL={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Tz("options must be an object",Tz.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let r=o.length;for(;r-- >0;){const a=o[r],l=t[a];if(l){const t=e[a],n=void 0===t||l(t,a,e);if(!0!==n)throw new Tz("option "+a+" must be "+n,Tz.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Tz("Unknown option "+a,Tz.ERR_BAD_OPTION)}},validators:jL},qL=UL.validators;class WL{constructor(e){this.defaults=e,this.interceptors={request:new qz,response:new qz}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(EA){}}throw n}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=bL(this.defaults,t);const{transitional:n,paramsSerializer:o,headers:r}=t;void 0!==n&&UL.assertOptions(n,{silentJSONParsing:qL.transitional(qL.boolean),forcedJSONParsing:qL.transitional(qL.boolean),clarifyTimeoutError:qL.transitional(qL.boolean)},!1),null!=o&&(Hz.isFunction(o)?t.paramsSerializer={serialize:o}:UL.assertOptions(o,{encode:qL.function,serialize:qL.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=r&&Hz.merge(r.common,r[t.method]);r&&Hz.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete r[e]})),t.headers=sL.concat(a,r);const l=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,l.unshift(e.fulfilled,e.rejected))}));const i=[];let c;this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)}));let u,p=0;if(!s){const e=[NL.bind(this),void 0];for(e.unshift.apply(e,l),e.push.apply(e,i),u=e.length,c=Promise.resolve(t);p{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const o=new Promise((e=>{n.subscribe(e),t=e})).then(e);return o.cancel=function(){n.unsubscribe(t)},o},e((function(e,o,r){n.reason||(n.reason=new uL(e,o,r),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new GL((function(t){e=t})),cancel:e}}}const KL={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(KL).forEach((([e,t])=>{KL[t]=e}));const YL=function e(t){const n=new WL(t),o=$M(WL.prototype.request,n);return Hz.extend(o,WL.prototype,n,{allOwnKeys:!0}),Hz.extend(o,n,null,{allOwnKeys:!0}),o.create=function(n){return e(bL(t,n))},o}(tL);function JL(){return tS({url:"/api/v1/auth/captcha",method:"get"})}function XL(){return tS({url:"/api/v1/version",method:"get"})}function ZL(e,t){return tS({url:"/api/v1/users/"+e+`/${t}`,method:"patch"})}YL.Axios=WL,YL.CanceledError=uL,YL.CancelToken=GL,YL.isCancel=cL,YL.VERSION=DL,YL.toFormData=Iz,YL.AxiosError=Tz,YL.Cancel=YL.CanceledError,YL.all=function(e){return Promise.all(e)},YL.spread=function(e){return function(t){return e.apply(null,t)}},YL.isAxiosError=function(e){return Hz.isObject(e)&&!0===e.isAxiosError},YL.mergeConfig=bL,YL.AxiosHeaders=sL,YL.formToJSON=e=>eL(Hz.isHTMLForm(e)?new FormData(e):e),YL.getAdapter=RL,YL.HttpStatusCode=KL,YL.default=YL;const QL=px("user",(()=>{const e=Mt({roles:[],perms:[]});return{user:e,login:function(e){return new Promise(((t,n)=>{(function(e){const t=new FormData;return t.append("username",e.username),t.append("password",e.password),t.append("captchaKey",e.captchaKey||""),t.append("captchaCode",e.captchaCode||""),tS({url:"/api/v1/auth/login",method:"post",data:t,headers:{"Content-Type":"multipart/form-data"}})})(e).then((e=>{const{tokenType:n,accessToken:o}=e.data;localStorage.setItem("accessToken",n+" "+o),t()})).catch((e=>{n(e)}))}))},getUserInfo:function(){return new Promise(((t,n)=>{tS({url:"/api/v1/users/me",method:"get"}).then((({data:o})=>{o?!o.roles||o.roles.length<=0?n("getUserInfo: roles must be a non-null array!"):(Object.assign(e.value,{...o}),t(o)):n("Verification failed, please Login again.")})).catch((e=>{n(e)}))}))},logout:function(){return new Promise(((e,t)=>{tS({url:"/api/v1/auth/logout",method:"delete"}).then((()=>{localStorage.setItem("accessToken",""),location.reload(),e()})).catch((e=>{t(e)}))}))},resetToken:function(){return new Promise((e=>{localStorage.setItem("accessToken",""),DM.replace({path:"/login"}),e()}))}}}));function eS(){return QL(hS)}const tS=YL.create({baseURL:void 0,timeout:5e4,headers:{"Content-Type":"application/json;charset=utf-8"}});tS.interceptors.request.use((e=>{const t=localStorage.getItem("accessToken");return t&&(e.headers.Authorization=t),e}),(e=>Promise.reject(e))),tS.interceptors.response.use((e=>{const{code:t,msg:n}=e.data;return"00000"===t?e.data:e.data instanceof ArrayBuffer?e:(Ry.error(n||"系统出错"),Promise.reject(new Error(n||"Error")))}),(e=>{if(e.response.data){const{code:t,msg:n}=e.response.data;"A0230"===t?Ky.confirm("当前页面已失效,请重新登录","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{eS().resetToken().then((()=>{location.reload()}))})):Ry.error(n||"系统出错")}return Promise.reject(e.message)}));const nS=Object.assign({"../../views/dashboard/components/BarChart.vue":()=>nC((()=>import("./BarChart.BhtXtCgr.js")),__vite__mapDeps([42,22,23,15,2,3,4,5,43,9,44])),"../../views/dashboard/components/FunnelChart.vue":()=>nC((()=>import("./FunnelChart.L2tIbyMX.js")),__vite__mapDeps([45,43])),"../../views/dashboard/components/PieChart.vue":()=>nC((()=>import("./PieChart.mgwtBU-p.js")),__vite__mapDeps([46,22,23,43])),"../../views/dashboard/components/RadarChart.vue":()=>nC((()=>import("./RadarChart.TGxAW552.js")),__vite__mapDeps([47,22,23,43])),"../../views/dashboard/index.vue":()=>nC((()=>import("./index.9UoVjQ1v.js")),__vite__mapDeps([32,22,23,33,34,8,9,10,35])),"../../views/demo/api/apifox.vue":()=>nC((()=>import("./apifox.IXUmMSaC.js")),__vite__mapDeps([48,9,49])),"../../views/demo/api/knife4j.vue":()=>nC((()=>import("./knife4j.C3XegEf8.js")),__vite__mapDeps([50,9,51])),"../../views/demo/api/swagger.vue":()=>nC((()=>import("./swagger.BGskywol.js")),__vite__mapDeps([52,9,53])),"../../views/demo/dict.vue":()=>nC((()=>import("./dict.B6ktMwQ2.js")),__vite__mapDeps([54,24,12,25,26,29,30,55,2,3,4,5,6,7,56,57,18,17,58,59,60])),"../../views/demo/icon-selector.vue":()=>nC((()=>import("./icon-selector.B8xqxj5a.js")),__vite__mapDeps([61,2,3,4,5,62,56,63,6,7,15,8,9,10,11,59,60,64])),"../../views/demo/icons.vue":()=>nC((()=>import("./icons.DgB57Xkx.js")),__vite__mapDeps([65,62,56,63,15,2,3,4,5,8,9,10,66])),"../../views/demo/internal-doc.vue":()=>nC((()=>import("./internal-doc.B6eN2GGk.js")),__vite__mapDeps([67,9,68])),"../../views/demo/multi-level/children/children/level3-1.vue":()=>nC((()=>import("./level3-1.veb2CjDd.js")),__vite__mapDeps([69,70,71,9])),"../../views/demo/multi-level/children/children/level3-2.vue":()=>nC((()=>import("./level3-2.ehpMX2NG.js")),__vite__mapDeps([72,70,71,9])),"../../views/demo/multi-level/children/level2.vue":()=>nC((()=>import("./level2.CXm5yCsd.js")),__vite__mapDeps([73,70,71,9])),"../../views/demo/multi-level/level1.vue":()=>nC((()=>import("./level1.DbJgCAxV.js")),__vite__mapDeps([74,70,71,59,60,9])),"../../views/demo/signature.vue":()=>nC((()=>import("./signature.5Hv-l5jE.js")),__vite__mapDeps([75,76,9,77])),"../../views/demo/upload.vue":()=>nC((()=>import("./upload.DkIgLQ_p.js")),__vite__mapDeps([78,24,12,25,26,59,60,76,57,9,37,3,19,4,13,38,79])),"../../views/demo/wang-editor.vue":()=>nC((()=>import("./wang-editor.CovtB-Ke.js")),__vite__mapDeps([80,59,60,76,81])),"../../views/demo/websocket.vue":()=>nC((()=>import("./websocket.YJwVKVlt.js")),__vite__mapDeps([82,24,12,25,26,22,23,33,34,29,30,59,60,9,83])),"../../views/error-page/401.vue":()=>nC((()=>import("./401.2cRCE_5G.js")),__vite__mapDeps([36,37,3,19,4,13,38,33,34,9,39])),"../../views/error-page/404.vue":()=>nC((()=>import("./404.DlqBpkU7.js")),__vite__mapDeps([40,9,41])),"../../views/login/index.vue":()=>nC((()=>import("./index.BfcEpzPY.js")),__vite__mapDeps([21,22,23,24,12,25,26,27,3,18,16,28,15,2,4,5,8,9,10,29,30,1,6,7,11,13,14,31])),"../../views/redirect/index.vue":()=>nC((()=>import("./index.BrHL87wj.js")),[]),"../../views/subcription/nodes.vue":()=>nC((()=>import("./nodes.BvTKFj9V.js")),__vite__mapDeps([84,22,23,85,55,2,3,4,5,6,7,29,30,56,12,57,25,18,17,58,86,15,37,19,13,38,87,88,9,89])),"../../views/subcription/subs.vue":()=>nC((()=>import("./subs.1dXoageE.js")),__vite__mapDeps([90,22,23,85,55,2,3,4,5,6,7,29,30,56,12,57,25,18,17,58,86,59,60,87,88,15,33,34,37,19,13,38,91,9,92])),"../../views/subcription/template.vue":()=>nC((()=>import("./template.iDasYWHy.js")),__vite__mapDeps([93,22,23,85,55,2,3,4,5,6,7,29,30,56,12,57,25,18,17,58,86,15,37,19,13,38,91,9,94])),"../../views/system/user/set.vue":()=>nC((()=>import("./set.DCph2DiX.js")),__vite__mapDeps([95,22,23,33,34,27,3,18,16,28,9,96]))}),oS=()=>nC((()=>import("./index.BBNS_uLM.js")),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20])),rS=(e,t)=>{const n=[];return e.forEach((e=>{var o;const r={...e};if(e.name||(r.name=e.path),((e,t)=>!(!t.meta||!t.meta.roles)&&(!!e.includes("ROOT")||e.some((e=>{var n;if(null==(n=t.meta)?void 0:n.roles)return t.meta.roles.includes(e)}))))(t,r)){if("Layout"==(null==(o=r.component)?void 0:o.toString()))r.component=oS;else{const e=nS[`../../views/${r.component}.vue`];r.component=e||nS["../../views/error-page/404.vue"]}r.children&&(r.children=rS(r.children,t)),n.push(r)}})),n},aS=px("permission",(()=>{const e=Mt([]);function t(t){e.value=NM.concat(t)}const n=Mt([]);return{routes:e,setRoutes:t,generateRoutes:function(e){return new Promise(((n,o)=>{tS({url:"/api/v1/menus/routes",method:"get"}).then((({data:o})=>{const r=rS(o,e);t(r),n(r)})).catch((e=>{o(e)}))}))},mixLeftMenus:n,setMixLeftMenus:function(t){const o=e.value.find((e=>e.path===t));o&&o.children&&(n.value=o.children)}}})),lS={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15},sS={r:255,g:255,b:255},iS={r:0,g:0,b:0};function cS(e){const t={};for(const o in lS)t[lS[o]]=o;function n(e){return e=Math.round(e),`${t[Math.floor(e/16)]}${t[e%16]}`}return`#${n(e.r)}${n(e.g)}${n(e.b)}`}function uS(e){function t(e,t,n){return{r:e.r*(1-n)+t.r*n,g:e.g*(1-n)+t.g*n,b:e.b*(1-n)+t.b*n}}return"string"==typeof e?e=function(e){var t;e=e.toUpperCase();const n=/^#([0-9A-F]{6})$/;if(!n.test(e))throw new Error("请传入合法的16进制颜色值,eg: #FF0000");const o=((null==(t=n.exec(e))?void 0:t[1])||"000000").split("");return{r:16*lS[o[0]]+lS[o[1]],g:16*lS[o[2]]+lS[o[3]],b:16*lS[o[4]]+lS[o[5]]}}(e):"h"in e&&(e=function(e){const{h:t,s:n,l:o}=e,r=o<.5?o*(1+n):o+n-o*n,a=2*o-r,l=t/360,s=u(l+1/3),i=u(l),c=u(l-1/3);function u(e){return e<0?e+1:e>1?e-1:e}function p(e){let t;return t=e<1/6?a+6*(r-a)*e:e>=1/6&&e<.5?r:e>=.5&&e<2/3?a+6*(r-a)*(2/3-e):a,255*t}return{r:Number(p(s).toFixed(0)),g:Number(p(i).toFixed(0)),b:Number(p(c).toFixed(0))}}(e)),{DEFAULT:cS(e),dark:{1:cS(t(e,iS,.1)),2:cS(t(e,iS,.2)),3:cS(t(e,iS,.3)),4:cS(t(e,iS,.4)),5:cS(t(e,iS,.5)),6:cS(t(e,iS,.6)),7:cS(t(e,iS,.7)),8:cS(t(e,iS,.78)),9:cS(t(e,iS,.85))},light:{1:cS(t(e,sS,.1)),2:cS(t(e,sS,.2)),3:cS(t(e,sS,.3)),4:cS(t(e,sS,.4)),5:cS(t(e,sS,.5)),6:cS(t(e,sS,.6)),7:cS(t(e,sS,.7)),8:cS(t(e,sS,.78)),9:cS(t(e,sS,.85))}}}function pS(e){return/^(https?:|http?:|mailto:|tel:)/.test(e)}function dS(e,t){document.documentElement.style.setProperty(e,t)}const fS=px("setting",(()=>{const e=Mt(!1),t=Yx("tagsView",wx.tagsView),n=Yx("sidebarLogo",wx.sidebarLogo),o=Yx("fixedHeader",wx.fixedHeader),r=Yx("layout",wx.layout),a=Yx("themeColor",wx.themeColor),l=Yx("theme",wx.theme),s=Yx("watermarkEnabled",wx.watermarkEnabled);gr([l,a],(([e,t],[n,o])=>{if(e!==n&&(e===mx.DARK?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")),t!==o){const{DEFAULT:e,dark:n,light:o}=uS(t);dS("--el-color-primary",e),dS("--el-color-primary-dark-2",n[2]),dS("--el-color-primary-light-3",o[3]),dS("--el-color-primary-light-5",o[5]),dS("--el-color-primary-light-7",o[7]),dS("--el-color-primary-light-8",o[8]),dS("--el-color-primary-light-9",o[9])}}),{immediate:!0});const i={fixedHeader:o,tagsView:t,sidebarLogo:n,layout:r,watermarkEnabled:s};return{settingsVisible:e,tagsView:t,fixedHeader:o,sidebarLogo:n,layout:r,themeColor:a,theme:l,watermarkEnabled:s,changeSetting:function({key:e,value:t}){const n=i[e];n&&(n.value=t)},changeTheme:function(e){l.value=e},changeThemeColor:function(e){a.value=e},changeLayout:function(e){r.value=e}}})),hS=function(){const e=oe(!0),t=e.run((()=>Mt({})));let n=[],o=[];const r=_t({install(e){Jy(r),r._a=e,e.provide(Xy,r),e.config.globalProperties.$pinia=r,o.forEach((e=>n.push(e))),o=[]},use(e){return this._a?n.push(e):o.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}();const mS=Fn({__name:"App",setup(e){const t=eC(),n=fS(),o=ya((()=>t.locale)),r=ya((()=>t.size)),a=ya((()=>n.watermarkEnabled)),l=ya((()=>n.theme===mx.DARK?"rgba(255, 255, 255, .15)":"rgba(0, 0, 0, .15)"));return(e,t)=>{const n=co("router-view"),s=Sy,i=o_;return Fr(),Dr(i,{locale:Et(o),size:Et(r)},{default:cn((()=>[Et(a)?(Fr(),Dr(s,{key:0,font:{color:Et(l)},content:Et(wx).watermarkContent,class:"wh-full"},{default:cn((()=>[Gr(n)])),_:1},8,["font","content"])):(Fr(),Dr(n,{key:1}))])),_:1},8,["locale","size"])}}}),vS={mounted(e,t){const{roles:n,perms:o}=eS().user;if(n.includes("ROOT"))return!0;const{value:r}=t;if(!r)throw new Error("need perms! Like v-has-perm=\"['sys:user:add','sys:user:edit']\"");{const t=r;(null==o?void 0:o.some((e=>t.includes(e))))||e.parentNode&&e.parentNode.removeChild(e)}}};const gS="undefined"!=typeof window,wS=(e,t=!1)=>t?Symbol.for(e):Symbol(e),bS=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),_S=e=>"number"==typeof e&&isFinite(e),yS=e=>"[object RegExp]"===BS(e),xS=e=>FS(e)&&0===Object.keys(e).length,CS=Object.assign;let MS;const zS=()=>MS||(MS="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function LS(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const SS=Object.prototype.hasOwnProperty;function ES(e,t){return SS.call(e,t)}const kS=Array.isArray,AS=e=>"function"==typeof e,HS=e=>"string"==typeof e,TS=e=>"boolean"==typeof e,VS=e=>null!==e&&"object"==typeof e,OS=Object.prototype.toString,BS=e=>OS.call(e),FS=e=>{if(!VS(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t.constructor===Object};function PS(e){let t=e;return()=>++t}function RS(e,t){}const IS=e=>!VS(e)||kS(e);function NS(e,t){if(IS(e)||IS(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:e,des:t}=n.pop();Object.keys(e).forEach((o=>{IS(e[o])||IS(t[o])?t[o]=e[o]:n.push({src:e[o],des:t[o]})}))}}function DS(e,t,n){return{start:e,end:t}}const jS=/\{([0-9a-zA-Z]+)\}/g;const $S=Object.assign,US=e=>"string"==typeof e,qS=e=>null!==e&&"object"==typeof e;function WS(e,t=""){return e.reduce(((e,n,o)=>0===o?e+n:e+t+n),"")}const GS=1,KS=2,YS=3,JS=4,XS=5,ZS=6,QS=7,eE=8,tE=9,nE=10,oE=11,rE=12,aE=13,lE=14,sE=15,iE=16,cE=17,uE={[GS]:"Expected token: '{0}'",[KS]:"Invalid token in placeholder: '{0}'",[YS]:"Unterminated single quote in placeholder",[JS]:"Unknown escape sequence: \\{0}",[XS]:"Invalid unicode escape sequence: {0}",[ZS]:"Unbalanced closing brace",[QS]:"Unterminated closing brace",[eE]:"Empty placeholder",[tE]:"Not allowed nest placeholder",[nE]:"Invalid linked format",[oE]:"Plural must have messages",[rE]:"Unexpected empty linked modifier",[aE]:"Unexpected empty linked key",[lE]:"Unexpected lexical analysis in token: '{0}'",[sE]:"unhandled codegen node type: '{0}'",[iE]:"unhandled mimifier node type: '{0}'"};function pE(e,t,n={}){const{domain:o,messages:r,args:a}=n,l=function(e,...t){return 1===t.length&&qS(t[0])&&(t=t[0]),t&&t.hasOwnProperty||(t={}),e.replace(jS,((e,n)=>t.hasOwnProperty(n)?t[n]:""))}((r||uE)[e]||"",...a||[]),s=new SyntaxError(String(l));return s.code=e,t&&(s.location=t),s.domain=o,s}function dE(e){throw e}const fE=" ",hE="\n",mE=String.fromCharCode(8232),vE=String.fromCharCode(8233);function gE(e){const t=e;let n=0,o=1,r=1,a=0;const l=e=>"\r"===t[e]&&t[e+1]===hE,s=e=>t[e]===vE,i=e=>t[e]===mE,c=e=>l(e)||(e=>t[e]===hE)(e)||s(e)||i(e),u=e=>l(e)||s(e)||i(e)?hE:t[e];function p(){return a=0,c(n)&&(o++,r=0),l(n)&&n++,n++,r++,t[n]}return{index:()=>n,line:()=>o,column:()=>r,peekOffset:()=>a,charAt:u,currentChar:()=>u(n),currentPeek:()=>u(n+a),next:p,peek:function(){return l(n+a)&&a++,a++,t[n+a]},reset:function(){n=0,o=1,r=1,a=0},resetPeek:function(e=0){a=e},skipToPeek:function(){const e=n+a;for(;e!==n;)p();a=0}}}const wE=void 0;function bE(e,t={}){const n=!1!==t.location,o=gE(e),r=()=>o.index(),a=()=>{return e=o.line(),t=o.column(),n=o.index(),{line:e,column:t,offset:n};var e,t,n},l=a(),s=r(),i={currentType:14,offset:s,startLoc:l,endLoc:l,lastType:14,lastOffset:s,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},c=()=>i,{onError:u}=t;function p(e,t,o,...r){const a=c();if(t.column+=o,t.offset+=o,u){const o=pE(e,n?DS(a.startLoc,t):null,{domain:"tokenizer",args:r});u(o)}}function d(e,t,o){e.endLoc=a(),e.currentType=t;const r={type:t};return n&&(r.loc=DS(e.startLoc,e.endLoc)),null!=o&&(r.value=o),r}const f=e=>d(e,14);function h(e,t){return e.currentChar()===t?(e.next(),t):(p(GS,a(),0,t),"")}function m(e){let t="";for(;e.currentPeek()===fE||e.currentPeek()===hE;)t+=e.currentPeek(),e.peek();return t}function v(e){const t=m(e);return e.skipToPeek(),t}function g(e){if(e===wE)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function w(e,t){const{currentType:n}=t;if(2!==n)return!1;m(e);const o=function(e){if(e===wE)return!1;const t=e.charCodeAt(0);return t>=48&&t<=57}("-"===e.currentPeek()?e.peek():e.currentPeek());return e.resetPeek(),o}function b(e){m(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function _(e,t=!0){const n=(t=!1,o="",r=!1)=>{const a=e.currentPeek();return"{"===a?"%"!==o&&t:"@"!==a&&a?"%"===a?(e.peek(),n(t,"%",!0)):"|"===a?!("%"!==o&&!r)||!(o===fE||o===hE):a===fE?(e.peek(),n(!0,fE,r)):a!==hE||(e.peek(),n(!0,hE,r)):"%"===o||t},o=n();return t&&e.resetPeek(),o}function y(e,t){const n=e.currentChar();return n===wE?wE:t(n)?(e.next(),n):null}function x(e){return y(e,(e=>{const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t}))}function C(e){return y(e,(e=>{const t=e.charCodeAt(0);return t>=48&&t<=57}))}function M(e){return y(e,(e=>{const t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}))}function z(e){let t="",n="";for(;t=C(e);)n+=t;return n}function L(e){let t="";for(;;){const n=e.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if("%"===n){if(!_(e))break;t+=n,e.next()}else if(n===fE||n===hE)if(_(e))t+=n,e.next();else{if(b(e))break;t+=n,e.next()}else t+=n,e.next()}return t}function S(e){const t=e.currentChar();switch(t){case"\\":case"'":return e.next(),`\\${t}`;case"u":return E(e,t,4);case"U":return E(e,t,6);default:return p(JS,a(),0,t),""}}function E(e,t,n){h(e,t);let o="";for(let r=0;r=1&&p(tE,a(),0),e.next(),n=d(t,2,"{"),v(e),t.braceNest++,n;case"}":return t.braceNest>0&&2===t.currentType&&p(eE,a(),0),e.next(),n=d(t,3,"}"),t.braceNest--,t.braceNest>0&&v(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1),n;case"@":return t.braceNest>0&&p(QS,a(),0),n=H(e,t)||f(t),t.braceNest=0,n;default:let o=!0,r=!0,l=!0;if(b(e))return t.braceNest>0&&p(QS,a(),0),n=d(t,1,k(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(5===t.currentType||6===t.currentType||7===t.currentType))return p(QS,a(),0),t.braceNest=0,T(e,t);if(o=function(e,t){const{currentType:n}=t;if(2!==n)return!1;m(e);const o=g(e.currentPeek());return e.resetPeek(),o}(e,t))return n=d(t,5,function(e){v(e);let t="",n="";for(;t=x(e);)n+=t;return e.currentChar()===wE&&p(QS,a(),0),n}(e)),v(e),n;if(r=w(e,t))return n=d(t,6,function(e){v(e);let t="";return"-"===e.currentChar()?(e.next(),t+=`-${z(e)}`):t+=z(e),e.currentChar()===wE&&p(QS,a(),0),t}(e)),v(e),n;if(l=function(e,t){const{currentType:n}=t;if(2!==n)return!1;m(e);const o="'"===e.currentPeek();return e.resetPeek(),o}(e,t))return n=d(t,7,function(e){v(e),h(e,"'");let t="",n="";const o=e=>"'"!==e&&e!==hE;for(;t=y(e,o);)n+="\\"===t?S(e):t;const r=e.currentChar();return r===hE||r===wE?(p(YS,a(),0),r===hE&&(e.next(),h(e,"'")),n):(h(e,"'"),n)}(e)),v(e),n;if(!o&&!r&&!l)return n=d(t,13,function(e){v(e);let t="",n="";const o=e=>"{"!==e&&"}"!==e&&e!==fE&&e!==hE;for(;t=y(e,o);)n+=t;return n}(e)),p(KS,a(),0,n.value),v(e),n}return n}function H(e,t){const{currentType:n}=t;let o=null;const r=e.currentChar();switch(8!==n&&9!==n&&12!==n&&10!==n||r!==hE&&r!==fE||p(nE,a(),0),r){case"@":return e.next(),o=d(t,8,"@"),t.inLinked=!0,o;case".":return v(e),e.next(),d(t,9,".");case":":return v(e),e.next(),d(t,10,":");default:return b(e)?(o=d(t,1,k(e)),t.braceNest=0,t.inLinked=!1,o):function(e,t){const{currentType:n}=t;if(8!==n)return!1;m(e);const o="."===e.currentPeek();return e.resetPeek(),o}(e,t)||function(e,t){const{currentType:n}=t;if(8!==n&&12!==n)return!1;m(e);const o=":"===e.currentPeek();return e.resetPeek(),o}(e,t)?(v(e),H(e,t)):function(e,t){const{currentType:n}=t;if(9!==n)return!1;m(e);const o=g(e.currentPeek());return e.resetPeek(),o}(e,t)?(v(e),d(t,12,function(e){let t="",n="";for(;t=x(e);)n+=t;return n}(e))):function(e,t){const{currentType:n}=t;if(10!==n)return!1;const o=()=>{const t=e.currentPeek();return"{"===t?g(e.peek()):!("@"===t||"%"===t||"|"===t||":"===t||"."===t||t===fE||!t)&&(t===hE?(e.peek(),o()):g(t))},r=o();return e.resetPeek(),r}(e,t)?(v(e),"{"===r?A(e,t)||o:d(t,11,function(e){const t=(n=!1,o)=>{const r=e.currentChar();return"{"!==r&&"%"!==r&&"@"!==r&&"|"!==r&&"("!==r&&")"!==r&&r?r===fE?o:r===hE||"."===r?(o+=r,e.next(),t(n,o)):(o+=r,e.next(),t(!0,o)):o};return t(!1,"")}(e))):(8===n&&p(nE,a(),0),t.braceNest=0,t.inLinked=!1,T(e,t))}}function T(e,t){let n={type:14};if(t.braceNest>0)return A(e,t)||f(t);if(t.inLinked)return H(e,t)||f(t);switch(e.currentChar()){case"{":return A(e,t)||f(t);case"}":return p(ZS,a(),0),e.next(),d(t,3,"}");case"@":return H(e,t)||f(t);default:if(b(e))return n=d(t,1,k(e)),t.braceNest=0,t.inLinked=!1,n;const{isModulo:o,hasSpace:r}=function(e){const t=m(e),n="%"===e.currentPeek()&&"{"===e.peek();return e.resetPeek(),{isModulo:n,hasSpace:t.length>0}}(e);if(o)return r?d(t,0,L(e)):d(t,4,function(e){v(e);const t=e.currentChar();return"%"!==t&&p(GS,a(),0,t),e.next(),"%"}(e));if(_(e))return d(t,0,L(e))}return n}return{nextToken:function(){const{currentType:e,offset:t,startLoc:n,endLoc:l}=i;return i.lastType=e,i.lastOffset=t,i.lastStartLoc=n,i.lastEndLoc=l,i.offset=r(),i.startLoc=a(),o.currentChar()===wE?d(i,14):T(o,i)},currentOffset:r,currentPosition:a,context:c}}const _E=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function yE(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):"�"}}}function xE(e={}){const t=!1!==e.location,{onError:n}=e;function o(e,o,r,a,...l){const s=e.currentPosition();if(s.offset+=a,s.column+=a,n){const e=pE(o,t?DS(r,s):null,{domain:"parser",args:l});n(e)}}function r(e,n,o){const r={type:e};return t&&(r.start=n,r.end=n,r.loc={start:o,end:o}),r}function a(e,n,o,r){t&&(e.end=n,e.loc&&(e.loc.end=o))}function l(e,t){const n=e.context(),o=r(3,n.offset,n.startLoc);return o.value=t,a(o,e.currentOffset(),e.currentPosition()),o}function s(e,t){const n=e.context(),{lastOffset:o,lastStartLoc:l}=n,s=r(5,o,l);return s.index=parseInt(t,10),e.nextToken(),a(s,e.currentOffset(),e.currentPosition()),s}function i(e,t){const n=e.context(),{lastOffset:o,lastStartLoc:l}=n,s=r(4,o,l);return s.key=t,e.nextToken(),a(s,e.currentOffset(),e.currentPosition()),s}function c(e,t){const n=e.context(),{lastOffset:o,lastStartLoc:l}=n,s=r(9,o,l);return s.value=t.replace(_E,yE),e.nextToken(),a(s,e.currentOffset(),e.currentPosition()),s}function u(e){const t=e.context(),n=r(6,t.offset,t.startLoc);let l=e.nextToken();if(9===l.type){const t=function(e){const t=e.nextToken(),n=e.context(),{lastOffset:l,lastStartLoc:s}=n,i=r(8,l,s);return 12!==t.type?(o(e,rE,n.lastStartLoc,0),i.value="",a(i,l,s),{nextConsumeToken:t,node:i}):(null==t.value&&o(e,lE,n.lastStartLoc,0,CE(t)),i.value=t.value||"",a(i,e.currentOffset(),e.currentPosition()),{node:i})}(e);n.modifier=t.node,l=t.nextConsumeToken||e.nextToken()}switch(10!==l.type&&o(e,lE,t.lastStartLoc,0,CE(l)),l=e.nextToken(),2===l.type&&(l=e.nextToken()),l.type){case 11:null==l.value&&o(e,lE,t.lastStartLoc,0,CE(l)),n.key=function(e,t){const n=e.context(),o=r(7,n.offset,n.startLoc);return o.value=t,a(o,e.currentOffset(),e.currentPosition()),o}(e,l.value||"");break;case 5:null==l.value&&o(e,lE,t.lastStartLoc,0,CE(l)),n.key=i(e,l.value||"");break;case 6:null==l.value&&o(e,lE,t.lastStartLoc,0,CE(l)),n.key=s(e,l.value||"");break;case 7:null==l.value&&o(e,lE,t.lastStartLoc,0,CE(l)),n.key=c(e,l.value||"");break;default:o(e,aE,t.lastStartLoc,0);const u=e.context(),p=r(7,u.offset,u.startLoc);return p.value="",a(p,u.offset,u.startLoc),n.key=p,a(n,u.offset,u.startLoc),{nextConsumeToken:l,node:n}}return a(n,e.currentOffset(),e.currentPosition()),{node:n}}function p(e){const t=e.context(),n=r(2,1===t.currentType?e.currentOffset():t.offset,1===t.currentType?t.endLoc:t.startLoc);n.items=[];let p=null;do{const r=p||e.nextToken();switch(p=null,r.type){case 0:null==r.value&&o(e,lE,t.lastStartLoc,0,CE(r)),n.items.push(l(e,r.value||""));break;case 6:null==r.value&&o(e,lE,t.lastStartLoc,0,CE(r)),n.items.push(s(e,r.value||""));break;case 5:null==r.value&&o(e,lE,t.lastStartLoc,0,CE(r)),n.items.push(i(e,r.value||""));break;case 7:null==r.value&&o(e,lE,t.lastStartLoc,0,CE(r)),n.items.push(c(e,r.value||""));break;case 8:const a=u(e);n.items.push(a.node),p=a.nextConsumeToken||null}}while(14!==t.currentType&&1!==t.currentType);return a(n,1===t.currentType?t.lastOffset:e.currentOffset(),1===t.currentType?t.lastEndLoc:e.currentPosition()),n}function d(e){const t=e.context(),{offset:n,startLoc:l}=t,s=p(e);return 14===t.currentType?s:function(e,t,n,l){const s=e.context();let i=0===l.items.length;const c=r(1,t,n);c.cases=[],c.cases.push(l);do{const t=p(e);i||(i=0===t.items.length),c.cases.push(t)}while(14!==s.currentType);return i&&o(e,oE,n,0),a(c,e.currentOffset(),e.currentPosition()),c}(e,n,l,s)}return{parse:function(n){const l=bE(n,$S({},e)),s=l.context(),i=r(0,s.offset,s.startLoc);return t&&i.loc&&(i.loc.source=n),i.body=d(l),e.onCacheKey&&(i.cacheKey=e.onCacheKey(n)),14!==s.currentType&&o(l,lE,s.lastStartLoc,0,n[s.offset]||""),a(i,l.currentOffset(),l.currentPosition()),i}}}function CE(e){if(14===e.type)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function ME(e,t){for(let n=0;nt,helper:e=>(t.helpers.add(e),e)}}(e);n.helper("normalize"),e.body&&zE(e.body,n);const o=n.context();e.helpers=Array.from(o.helpers)}function SE(e){if(1===e.items.length){const t=e.items[0];3!==t.type&&9!==t.type||(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n1){e.push(`${n("plural")}([`),e.indent(o());const r=t.cases.length;for(let n=0;nSE(e)))}(l),r&&EE(l),{ast:l,code:""}):(LE(l,n),((e,t={})=>{const n=US(t.mode)?t.mode:"normal",o=US(t.filename)?t.filename:"message.intl",r=!!t.sourceMap,a=null!=t.breakLineCode?t.breakLineCode:"arrow"===n?";":"\n",l=t.needIndent?t.needIndent:"arrow"!==n,s=e.helpers||[],i=function(e,t){const{sourceMap:n,filename:o,breakLineCode:r,needIndent:a}=t,l=!1!==t.location,s={filename:o,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:a,indentLevel:0};function i(e,t){s.code+=e}function c(e,t=!0){const n=t?r:"";i(a?n+" ".repeat(e):n)}return l&&e.loc&&(s.source=e.loc.source),{context:()=>s,push:i,indent:function(e=!0){const t=++s.indentLevel;e&&c(t)},deindent:function(e=!0){const t=--s.indentLevel;e&&c(t)},newline:function(){c(s.indentLevel)},helper:e=>`_${e}`,needIndent:()=>s.needIndent}}(e,{mode:n,filename:o,sourceMap:r,breakLineCode:a,needIndent:l});i.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(l),s.length>0&&(i.push(`const { ${WS(s.map((e=>`${e}: _${e}`)),", ")} } = ctx`),i.newline()),i.push("return "),kE(i,e),i.deindent(l),i.push("}"),delete e.helpers;const{code:c,map:u}=i.context();return{ast:e,code:c,map:u?u.toJSON():void 0}})(l,n))}const HE=[];HE[0]={w:[0],i:[3,0],"[":[4],o:[7]},HE[1]={w:[1],".":[2],"[":[4],o:[7]},HE[2]={w:[2],i:[3,0],0:[3,0]},HE[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},HE[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},HE[5]={"'":[4,0],o:8,l:[5,0]},HE[6]={'"':[4,0],o:8,l:[6,0]};const TE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function VE(e){if(null==e)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 OE(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(n=t,TE.test(n)?function(e){const t=e.charCodeAt(0);return t!==e.charCodeAt(e.length-1)||34!==t&&39!==t?e:e.slice(1,-1)}(t):"*"+t);var n}const BE=new Map;function FE(e,t){return VS(e)?e[t]:null}const PE=e=>e,RE=e=>"",IE=e=>0===e.length?"":function(e,t=""){return e.reduce(((e,n,o)=>0===o?e+n:e+t+n),"")}(e),NE=e=>null==e?"":kS(e)||FS(e)&&e.toString===OS?JSON.stringify(e,null,2):String(e);function DE(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function jE(e={}){const t=e.locale,n=function(e){const t=_S(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(_S(e.named.count)||_S(e.named.n))?_S(e.named.count)?e.named.count:_S(e.named.n)?e.named.n:t:t}(e),o=VS(e.pluralRules)&&HS(t)&&AS(e.pluralRules[t])?e.pluralRules[t]:DE,r=VS(e.pluralRules)&&HS(t)&&AS(e.pluralRules[t])?DE:void 0,a=e.list||[],l=e.named||{};_S(e.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(n,l);function s(t){const n=AS(e.messages)?e.messages(t):!!VS(e.messages)&&e.messages[t];return n||(e.parent?e.parent.message(t):RE)}const i=FS(e.processor)&&AS(e.processor.normalize)?e.processor.normalize:IE,c=FS(e.processor)&&AS(e.processor.interpolate)?e.processor.interpolate:NE,u={list:e=>a[e],named:e=>l[e],plural:e=>e[o(n,e.length,r)],linked:(t,...n)=>{const[o,r]=n;let a="text",l="";1===n.length?VS(o)?(l=o.modifier||l,a=o.type||a):HS(o)&&(l=o||l):2===n.length&&(HS(o)&&(l=o||l),HS(r)&&(a=r||a));const i=s(t)(u),c="vnode"===a&&kS(i)&&l?i[0]:i;return l?(t=>e.modifiers?e.modifiers[t]:PE)(l)(c,a):c},message:s,type:FS(e.processor)&&HS(e.processor.type)?e.processor.type:"text",interpolate:c,normalize:i,values:CS({},a,l)};return u}let $E=null;const UE=qE("function:translate");function qE(e){return t=>$E&&$E.emit(e,t)}const WE=cE,GE=PS(WE),KE={INVALID_ARGUMENT:WE,INVALID_DATE_ARGUMENT:GE(),INVALID_ISO_DATE_ARGUMENT:GE(),NOT_SUPPORT_NON_STRING_MESSAGE:GE(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:GE(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:GE(),NOT_SUPPORT_LOCALE_TYPE:GE(),__EXTEND_POINT__:GE()};function YE(e){return pE(e,null,void 0)}function JE(e,t){return null!=t.locale?ZE(t.locale):ZE(e.locale)}let XE;function ZE(e){if(HS(e))return e;if(AS(e)){if(e.resolvedOnce&&null!=XE)return XE;if("Function"===e.constructor.name){const n=e();if(VS(t=n)&&AS(t.then)&&AS(t.catch))throw YE(KE.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return XE=n}throw YE(KE.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw YE(KE.NOT_SUPPORT_LOCALE_TYPE);var t}function QE(e,t,n){return[...new Set([n,...kS(t)?t:VS(t)?Object.keys(t):HS(t)?[t]:[n]])]}function ek(e,t,n){const o=HS(n)?n:rk,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let a=r.__localeChainCache.get(o);if(!a){a=[];let e=[n];for(;kS(e);)e=tk(a,e,t);const l=kS(t)||!FS(t)?t:t.default?t.default:null;e=HS(l)?[l]:l,kS(e)&&tk(a,e,!1),r.__localeChainCache.set(o,a)}return a}function tk(e,t,n){let o=!0;for(let r=0;r`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let lk,sk,ik;function ck(e){lk=e}let uk=null;const pk=()=>uk;let dk=null;const fk=e=>{dk=e};let hk=0;function mk(e={}){const t=AS(e.onWarn)?e.onWarn:RS,n=HS(e.version)?e.version:"9.9.1",o=HS(e.locale)||AS(e.locale)?e.locale:rk,r=AS(o)?rk:o,a=kS(e.fallbackLocale)||FS(e.fallbackLocale)||HS(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:r,l=FS(e.messages)?e.messages:{[r]:{}},s=FS(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},i=FS(e.numberFormats)?e.numberFormats:{[r]:{}},c=CS({},e.modifiers||{},{upper:(e,t)=>"text"===t&&HS(e)?e.toUpperCase():"vnode"===t&&VS(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&HS(e)?e.toLowerCase():"vnode"===t&&VS(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&HS(e)?ak(e):"vnode"===t&&VS(e)&&"__v_isVNode"in e?ak(e.children):e}),u=e.pluralRules||{},p=AS(e.missing)?e.missing:null,d=!TS(e.missingWarn)&&!yS(e.missingWarn)||e.missingWarn,f=!TS(e.fallbackWarn)&&!yS(e.fallbackWarn)||e.fallbackWarn,h=!!e.fallbackFormat,m=!!e.unresolving,v=AS(e.postTranslation)?e.postTranslation:null,g=FS(e.processor)?e.processor:null,w=!TS(e.warnHtmlMessage)||e.warnHtmlMessage,b=!!e.escapeParameter,_=AS(e.messageCompiler)?e.messageCompiler:lk,y=AS(e.messageResolver)?e.messageResolver:sk||FE,x=AS(e.localeFallbacker)?e.localeFallbacker:ik||QE,C=VS(e.fallbackContext)?e.fallbackContext:void 0,M=e,z=VS(M.__datetimeFormatters)?M.__datetimeFormatters:new Map,L=VS(M.__numberFormatters)?M.__numberFormatters:new Map,S=VS(M.__meta)?M.__meta:{};hk++;const E={version:n,cid:hk,locale:o,fallbackLocale:a,messages:l,modifiers:c,pluralRules:u,missing:p,missingWarn:d,fallbackWarn:f,fallbackFormat:h,unresolving:m,postTranslation:v,processor:g,warnHtmlMessage:w,escapeParameter:b,messageCompiler:_,messageResolver:y,localeFallbacker:x,fallbackContext:C,onWarn:t,__meta:S};return E.datetimeFormats=s,E.numberFormats=i,E.__datetimeFormatters=z,E.__numberFormatters=L,__INTLIFY_PROD_DEVTOOLS__&&function(e,t,n){$E&&$E.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}(E,n,S),E}function vk(e,t,n,o,r){const{missing:a,onWarn:l}=e;if(null!==a){const o=a(e,n,t,r);return HS(o)?o:t}return t}function gk(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function wk(e){return t=>function(e,t){const n=t.b||t.body;if(1===(n.t||n.type)){const t=n,o=t.c||t.cases;return e.plural(o.reduce(((t,n)=>[...t,bk(e,n)]),[]))}return bk(e,n)}(t,e)}function bk(e,t){const n=t.s||t.static;if(n)return"text"===e.type?n:e.normalize([n]);{const n=(t.i||t.items).reduce(((t,n)=>[...t,_k(e,n)]),[]);return e.normalize(n)}}function _k(e,t){const n=t.t||t.type;switch(n){case 3:const o=t;return o.v||o.value;case 9:const r=t;return r.v||r.value;case 4:const a=t;return e.interpolate(e.named(a.k||a.key));case 5:const l=t;return e.interpolate(e.list(null!=l.i?l.i:l.index));case 6:const s=t,i=s.m||s.modifier;return e.linked(_k(e,s.k||s.key),i?_k(e,i):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: ${n}`)}}const yk=e=>e;let xk=Object.create(null);const Ck=e=>VS(e)&&(0===e.t||0===e.type)&&("b"in e||"body"in e);function Mk(e,t={}){let n=!1;const o=t.onError||dE;return t.onError=e=>{n=!0,o(e)},{...AE(e,t),detectError:n}}const zk=(e,t)=>{if(!HS(e))throw YE(KE.NOT_SUPPORT_NON_STRING_MESSAGE);{!TS(t.warnHtmlMessage)||t.warnHtmlMessage;const n=(t.onCacheKey||yk)(e),o=xk[n];if(o)return o;const{code:r,detectError:a}=Mk(e,t),l=new Function(`return ${r}`)();return a?l:xk[n]=l}};const Lk=()=>"",Sk=e=>AS(e);function Ek(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,messageCompiler:a,fallbackLocale:l,messages:s}=e,[i,c]=Hk(...t),u=TS(c.missingWarn)?c.missingWarn:e.missingWarn,p=TS(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=TS(c.escapeParameter)?c.escapeParameter:e.escapeParameter,f=!!c.resolvedMessage,h=HS(c.default)||TS(c.default)?TS(c.default)?a?i:()=>i:c.default:n?a?i:()=>i:"",m=n||""!==h,v=JE(e,c);d&&function(e){kS(e.list)?e.list=e.list.map((e=>HS(e)?LS(e):e)):VS(e.named)&&Object.keys(e.named).forEach((t=>{HS(e.named[t])&&(e.named[t]=LS(e.named[t]))}))}(c);let[g,w,b]=f?[i,v,s[v]||{}]:kk(e,i,v,l,p,u),_=g,y=i;if(f||HS(_)||Ck(_)||Sk(_)||m&&(_=h,y=_),!(f||(HS(_)||Ck(_)||Sk(_))&&HS(w)))return r?-1:i;let x=!1;const C=Sk(_)?_:Ak(e,i,w,_,y,(()=>{x=!0}));if(x)return _;const M=function(e,t,n,o){const{modifiers:r,pluralRules:a,messageResolver:l,fallbackLocale:s,fallbackWarn:i,missingWarn:c,fallbackContext:u}=e,p=o=>{let r=l(n,o);if(null==r&&u){const[,,e]=kk(u,o,t,s,i,c);r=l(e,o)}if(HS(r)||Ck(r)){let n=!1;const a=Ak(e,o,t,r,o,(()=>{n=!0}));return n?Lk:a}return Sk(r)?r:Lk},d={locale:t,modifiers:r,pluralRules:a,messages:p};e.processor&&(d.processor=e.processor);o.list&&(d.list=o.list);o.named&&(d.named=o.named);_S(o.plural)&&(d.pluralIndex=o.plural);return d}(e,w,b,c),z=function(e,t,n){const o=t(n);return o}(0,C,jE(M)),L=o?o(z,i):z;if(__INTLIFY_PROD_DEVTOOLS__){const t={timestamp:Date.now(),key:HS(i)?i:Sk(_)?_.key:"",locale:w||(Sk(_)?_.locale:""),format:HS(_)?_:Sk(_)?_.source:"",message:L};t.meta=CS({},e.__meta,pk()||{}),UE(t)}return L}function kk(e,t,n,o,r,a){const{messages:l,onWarn:s,messageResolver:i,localeFallbacker:c}=e,u=c(e,o,n);let p,d={},f=null;for(let h=0;ho;return e.locale=n,e.key=t,e}const i=l(o,function(e,t,n,o,r,a){return{locale:t,key:n,warnHtmlMessage:r,onError:e=>{throw a&&a(e),e},onCacheKey:e=>((e,t,n)=>bS({l:e,k:t,s:n}))(t,n,e)}}(0,n,r,0,s,a));return i.locale=n,i.key=t,i.source=o,i}function Hk(...e){const[t,n,o]=e,r={};if(!(HS(t)||_S(t)||Sk(t)||Ck(t)))throw YE(KE.INVALID_ARGUMENT);const a=_S(t)?String(t):(Sk(t),t);return _S(n)?r.plural=n:HS(n)?r.default=n:FS(n)&&!xS(n)?r.named=n:kS(n)&&(r.list=n),_S(o)?r.plural=o:HS(o)?r.default=o:FS(o)&&CS(r,o),[a,r]}function Tk(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:r,onWarn:a,localeFallbacker:l}=e,{__datetimeFormatters:s}=e,[i,c,u,p]=Ok(...t);TS(u.missingWarn)?u.missingWarn:e.missingWarn;TS(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const d=!!u.part,f=JE(e,u),h=l(e,r,f);if(!HS(i)||""===i)return new Intl.DateTimeFormat(f,p).format(c);let m,v={},g=null;for(let _=0;_{Vk.includes(e)?s[e]=n[e]:a[e]=n[e]})),HS(o)?a.locale=o:FS(o)&&(s=o),FS(r)&&(s=r),[a.key||"",l,a,s]}function Bk(e,t,n){const o=e;for(const r in n){const e=`${t}__${r}`;o.__datetimeFormatters.has(e)&&o.__datetimeFormatters.delete(e)}}function Fk(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:a,localeFallbacker:l}=e,{__numberFormatters:s}=e,[i,c,u,p]=Rk(...t);TS(u.missingWarn)?u.missingWarn:e.missingWarn;TS(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const d=!!u.part,f=JE(e,u),h=l(e,r,f);if(!HS(i)||""===i)return new Intl.NumberFormat(f,p).format(c);let m,v={},g=null;for(let _=0;_{Pk.includes(e)?l[e]=n[e]:a[e]=n[e]})),HS(o)?a.locale=o:FS(o)&&(l=o),FS(r)&&(l=r),[a.key||"",s,a,l]}function Ik(e,t,n){const o=e;for(const r in n){const e=`${t}__${r}`;o.__numberFormatters.has(e)&&o.__numberFormatters.delete(e)}}"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(zS().__INTLIFY_PROD_DEVTOOLS__=!1),"boolean"!=typeof __INTLIFY_JIT_COMPILATION__&&(zS().__INTLIFY_JIT_COMPILATION__=!1),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(zS().__INTLIFY_DROP_MESSAGE_COMPILER__=!1);const Nk=PS(8);Nk(),Nk(),Nk(),Nk(),Nk(),Nk(),Nk(),Nk();const Dk=KE.__EXTEND_POINT__,jk=PS(Dk),$k={UNEXPECTED_RETURN_TYPE:Dk,INVALID_ARGUMENT:jk(),MUST_BE_CALL_SETUP_TOP:jk(),NOT_INSTALLED:jk(),NOT_AVAILABLE_IN_LEGACY_MODE:jk(),REQUIRED_VALUE:jk(),INVALID_VALUE:jk(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:jk(),NOT_INSTALLED_WITH_PROVIDE:jk(),UNEXPECTED_ERROR:jk(),NOT_COMPATIBLE_LEGACY_VUE_I18N:jk(),BRIDGE_SUPPORT_VUE_2_ONLY:jk(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:jk(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:jk(),__EXTEND_POINT__:jk()};function Uk(e,...t){return pE(e,null,void 0)}const qk=wS("__translateVNode"),Wk=wS("__datetimeParts"),Gk=wS("__numberParts"),Kk=wS("__setPluralRules"),Yk=wS("__injectWithOption"),Jk=wS("__dispose");function Xk(e){if(!VS(e))return e;for(const t in e)if(ES(e,t))if(t.includes(".")){const n=t.split("."),o=n.length-1;let r=e,a=!1;for(let e=0;e{if("locale"in e&&"resource"in e){const{locale:t,resource:n}=e;t?(l[t]=l[t]||{},NS(n,l[t])):NS(n,l)}else HS(e)&&NS(JSON.parse(e),l)})),null==r&&a)for(const s in l)ES(l,s)&&Xk(l[s]);return l}function Qk(e){return e.type}function eA(e,t,n){let o=VS(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=Zk(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const r=Object.keys(o);if(r.length&&r.forEach((t=>{e.mergeLocaleMessage(t,o[t])})),VS(t.datetimeFormats)){const n=Object.keys(t.datetimeFormats);n.length&&n.forEach((n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])}))}if(VS(t.numberFormats)){const n=Object.keys(t.numberFormats);n.length&&n.forEach((n=>{e.mergeNumberFormat(n,t.numberFormats[n])}))}}function tA(e){return Gr(Hr,null,e,0)}const nA=()=>[],oA=()=>!1;let rA=0;function aA(e){return(t,n,o,r)=>e(n,o,sa()||void 0,r)}function lA(e={},t){const{__root:n,__injectWithOption:o}=e,r=void 0===n,a=e.flatJson,l=gS?Mt:zt;let s=!TS(e.inheritLocale)||e.inheritLocale;const i=l(n&&s?n.locale.value:HS(e.locale)?e.locale:rk),c=l(n&&s?n.fallbackLocale.value:HS(e.fallbackLocale)||kS(e.fallbackLocale)||FS(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:i.value),u=l(Zk(i.value,e)),p=l(FS(e.datetimeFormats)?e.datetimeFormats:{[i.value]:{}}),d=l(FS(e.numberFormats)?e.numberFormats:{[i.value]:{}});let f=n?n.missingWarn:!TS(e.missingWarn)&&!yS(e.missingWarn)||e.missingWarn,h=n?n.fallbackWarn:!TS(e.fallbackWarn)&&!yS(e.fallbackWarn)||e.fallbackWarn,m=n?n.fallbackRoot:!TS(e.fallbackRoot)||e.fallbackRoot,v=!!e.fallbackFormat,g=AS(e.missing)?e.missing:null,w=AS(e.missing)?aA(e.missing):null,b=AS(e.postTranslation)?e.postTranslation:null,_=n?n.warnHtmlMessage:!TS(e.warnHtmlMessage)||e.warnHtmlMessage,y=!!e.escapeParameter;const x=n?n.modifiers:FS(e.modifiers)?e.modifiers:{};let C,M=e.pluralRules||n&&n.pluralRules;C=(()=>{r&&fk(null);const t={version:"9.9.1",locale:i.value,fallbackLocale:c.value,messages:u.value,modifiers:x,pluralRules:M,missing:null===w?void 0:w,missingWarn:f,fallbackWarn:h,fallbackFormat:v,unresolving:!0,postTranslation:null===b?void 0:b,warnHtmlMessage:_,escapeParameter:y,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};t.datetimeFormats=p.value,t.numberFormats=d.value,t.__datetimeFormatters=FS(C)?C.__datetimeFormatters:void 0,t.__numberFormatters=FS(C)?C.__numberFormatters:void 0;const n=mk(t);return r&&fk(n),n})(),gk(C,i.value,c.value);const z=ya({get:()=>i.value,set:e=>{i.value=e,C.locale=i.value}}),L=ya({get:()=>c.value,set:e=>{c.value=e,C.fallbackLocale=c.value,gk(C,i.value,e)}}),S=ya((()=>u.value)),E=ya((()=>p.value)),k=ya((()=>d.value));const A=(e,t,o,a,l,s)=>{let f;i.value,c.value,u.value,p.value,d.value;try{__INTLIFY_PROD_DEVTOOLS__,r||(C.fallbackContext=n?dk:void 0),f=e(C)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(C.fallbackContext=void 0)}if("translate exists"!==o&&_S(f)&&-1===f||"translate exists"===o&&!f){const[e,o]=t();return n&&m?a(n):l(e)}if(s(f))return f;throw Uk($k.UNEXPECTED_RETURN_TYPE)};function H(...e){return A((t=>Reflect.apply(Ek,null,[t,...e])),(()=>Hk(...e)),"translate",(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>HS(e)))}const T={normalize:function(e){return e.map((e=>HS(e)||_S(e)||TS(e)?tA(String(e)):e))},interpolate:e=>e,type:"vnode"};function V(e){return u.value[e]||{}}rA++,n&&gS&&(gr(n.locale,(e=>{s&&(i.value=e,C.locale=e,gk(C,i.value,c.value))})),gr(n.fallbackLocale,(e=>{s&&(c.value=e,C.fallbackLocale=e,gk(C,i.value,c.value))})));const O={id:rA,locale:z,fallbackLocale:L,get inheritLocale(){return s},set inheritLocale(e){s=e,e&&n&&(i.value=n.locale.value,c.value=n.fallbackLocale.value,gk(C,i.value,c.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:S,get modifiers(){return x},get pluralRules(){return M||{}},get isGlobal(){return r},get missingWarn(){return f},set missingWarn(e){f=e,C.missingWarn=f},get fallbackWarn(){return h},set fallbackWarn(e){h=e,C.fallbackWarn=h},get fallbackRoot(){return m},set fallbackRoot(e){m=e},get fallbackFormat(){return v},set fallbackFormat(e){v=e,C.fallbackFormat=v},get warnHtmlMessage(){return _},set warnHtmlMessage(e){_=e,C.warnHtmlMessage=e},get escapeParameter(){return y},set escapeParameter(e){y=e,C.escapeParameter=e},t:H,getLocaleMessage:V,setLocaleMessage:function(e,t){if(a){const n={[e]:t};for(const e in n)ES(n,e)&&Xk(n[e]);t=n[e]}u.value[e]=t,C.messages=u.value},mergeLocaleMessage:function(e,t){u.value[e]=u.value[e]||{};const n={[e]:t};if(a)for(const o in n)ES(n,o)&&Xk(n[o]);NS(t=n[e],u.value[e]),C.messages=u.value},getPostTranslationHandler:function(){return AS(b)?b:null},setPostTranslationHandler:function(e){b=e,C.postTranslation=e},getMissingHandler:function(){return g},setMissingHandler:function(e){null!==e&&(w=aA(e)),g=e,C.missing=w},[Kk]:function(e){M=e,C.pluralRules=M}};return O.datetimeFormats=E,O.numberFormats=k,O.rt=function(...e){const[t,n,o]=e;if(o&&!VS(o))throw Uk($k.INVALID_ARGUMENT);return H(t,n,CS({resolvedMessage:!0},o||{}))},O.te=function(e,t){return A((()=>{if(!e)return!1;const n=V(HS(t)?t:i.value),o=C.messageResolver(n,e);return Ck(o)||Sk(o)||HS(o)}),(()=>[e]),"translate exists",(n=>Reflect.apply(n.te,n,[e,t])),oA,(e=>TS(e)))},O.tm=function(e){const t=function(e){let t=null;const n=ek(C,c.value,i.value);for(let o=0;oReflect.apply(Tk,null,[t,...e])),(()=>Ok(...e)),"datetime format",(t=>Reflect.apply(t.d,t,[...e])),(()=>""),(e=>HS(e)))},O.n=function(...e){return A((t=>Reflect.apply(Fk,null,[t,...e])),(()=>Rk(...e)),"number format",(t=>Reflect.apply(t.n,t,[...e])),(()=>""),(e=>HS(e)))},O.getDateTimeFormat=function(e){return p.value[e]||{}},O.setDateTimeFormat=function(e,t){p.value[e]=t,C.datetimeFormats=p.value,Bk(C,e,t)},O.mergeDateTimeFormat=function(e,t){p.value[e]=CS(p.value[e]||{},t),C.datetimeFormats=p.value,Bk(C,e,t)},O.getNumberFormat=function(e){return d.value[e]||{}},O.setNumberFormat=function(e,t){d.value[e]=t,C.numberFormats=d.value,Ik(C,e,t)},O.mergeNumberFormat=function(e,t){d.value[e]=CS(d.value[e]||{},t),C.numberFormats=d.value,Ik(C,e,t)},O[Yk]=o,O[qk]=function(...e){return A((t=>{let n;const o=t;try{o.processor=T,n=Reflect.apply(Ek,null,[o,...e])}finally{o.processor=null}return n}),(()=>Hk(...e)),"translate",(t=>t[qk](...e)),(e=>[tA(e)]),(e=>kS(e)))},O[Wk]=function(...e){return A((t=>Reflect.apply(Tk,null,[t,...e])),(()=>Ok(...e)),"datetime format",(t=>t[Wk](...e)),nA,(e=>HS(e)||kS(e)))},O[Gk]=function(...e){return A((t=>Reflect.apply(Fk,null,[t,...e])),(()=>Rk(...e)),"number format",(t=>t[Gk](...e)),nA,(e=>HS(e)||kS(e)))},O}function sA(e={},t){{const t=lA(function(e){const t=HS(e.locale)?e.locale:rk,n=HS(e.fallbackLocale)||kS(e.fallbackLocale)||FS(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,o=AS(e.missing)?e.missing:void 0,r=!TS(e.silentTranslationWarn)&&!yS(e.silentTranslationWarn)||!e.silentTranslationWarn,a=!TS(e.silentFallbackWarn)&&!yS(e.silentFallbackWarn)||!e.silentFallbackWarn,l=!TS(e.fallbackRoot)||e.fallbackRoot,s=!!e.formatFallbackMessages,i=FS(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=AS(e.postTranslation)?e.postTranslation:void 0,p=!HS(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,d=!!e.escapeParameterHtml,f=!TS(e.sync)||e.sync;let h=e.messages;if(FS(e.sharedMessages)){const t=e.sharedMessages;h=Object.keys(t).reduce(((e,n)=>{const o=e[n]||(e[n]={});return CS(o,t[n]),e}),h||{})}const{__i18n:m,__root:v,__injectWithOption:g}=e,w=e.datetimeFormats,b=e.numberFormats;return{locale:t,fallbackLocale:n,messages:h,flatJson:e.flatJson,datetimeFormats:w,numberFormats:b,missing:o,missingWarn:r,fallbackWarn:a,fallbackRoot:l,fallbackFormat:s,modifiers:i,pluralRules:c,postTranslation:u,warnHtmlMessage:p,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:f,__i18n:m,__root:v,__injectWithOption:g}}(e)),{__extender:n}=e,o={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get formatter(){return{interpolate:()=>[]}},set formatter(e){},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return TS(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=TS(e)?!e:e},get silentFallbackWarn(){return TS(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=TS(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(e){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){const[n,o,r]=e,a={};let l=null,s=null;if(!HS(n))throw Uk($k.INVALID_ARGUMENT);const i=n;return HS(o)?a.locale=o:kS(o)?l=o:FS(o)&&(s=o),kS(r)?l=r:FS(r)&&(s=r),Reflect.apply(t.t,t,[i,l||s||{},a])},rt:(...e)=>Reflect.apply(t.rt,t,[...e]),tc(...e){const[n,o,r]=e,a={plural:1};let l=null,s=null;if(!HS(n))throw Uk($k.INVALID_ARGUMENT);const i=n;return HS(o)?a.locale=o:_S(o)?a.plural=o:kS(o)?l=o:FS(o)&&(s=o),HS(r)?a.locale=r:kS(r)?l=r:FS(r)&&(s=r),Reflect.apply(t.t,t,[i,l||s||{},a])},te:(e,n)=>t.te(e,n),tm:e=>t.tm(e),getLocaleMessage:e=>t.getLocaleMessage(e),setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d:(...e)=>Reflect.apply(t.d,t,[...e]),getDateTimeFormat:e=>t.getDateTimeFormat(e),setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n:(...e)=>Reflect.apply(t.n,t,[...e]),getNumberFormat:e=>t.getNumberFormat(e),setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)},getChoiceIndex:(e,t)=>-1};return o.__extender=n,o}}const iA={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function cA(e){return Ar}const uA=Fn({name:"i18n-t",props:CS({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>_S(e)||!isNaN(e)}},iA),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||bA({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(n).filter((e=>"_"!==e)),l={};e.locale&&(l.locale=e.locale),void 0!==e.plural&&(l.plural=HS(e.plural)?+e.plural:e.plural);const s=function({slots:e},t){if(1===t.length&&"default"===t[0])return(e.default?e.default():[]).reduce(((e,t)=>[...e,...t.type===Ar?t.children:[t]]),[]);return t.reduce(((t,n)=>{const o=e[n];return o&&(t[n]=o()),t}),{})}(t,a),i=r[qk](e.keypath,s,l),c=CS({},o);return xa(HS(e.tag)||VS(e.tag)?e.tag:cA(),c,i)}}});function pA(e,t,n,o){const{slots:r,attrs:a}=t;return()=>{const t={part:!0};let l={};e.locale&&(t.locale=e.locale),HS(e.format)?t.key=e.format:VS(e.format)&&(HS(e.format.key)&&(t.key=e.format.key),l=Object.keys(e.format).reduce(((t,o)=>n.includes(o)?CS({},t,{[o]:e.format[o]}):t),{}));const s=o(e.value,t,l);let i=[t.key];kS(s)?i=s.map(((e,t)=>{const n=r[e.type],o=n?n({[e.type]:e.value,index:t,parts:s}):[e.value];var a;return kS(a=o)&&!HS(a[0])&&(o[0].key=`${e.type}-${t}`),o})):HS(s)&&(i=[s]);const c=CS({},a);return xa(HS(e.tag)||VS(e.tag)?e.tag:cA(),c,i)}}const dA=Fn({name:"i18n-n",props:CS({value:{type:Number,required:!0},format:{type:[String,Object]}},iA),setup(e,t){const n=e.i18n||bA({useScope:"parent",__useComponent:!0});return pA(e,t,Pk,((...e)=>n[Gk](...e)))}}),fA=Fn({name:"i18n-d",props:CS({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},iA),setup(e,t){const n=e.i18n||bA({useScope:"parent",__useComponent:!0});return pA(e,t,Vk,((...e)=>n[Wk](...e)))}});function hA(e){if(HS(e))return{path:e};if(FS(e)){if(!("path"in e))throw Uk($k.REQUIRED_VALUE);return e}throw Uk($k.INVALID_VALUE)}function mA(e){const{path:t,locale:n,args:o,choice:r,plural:a}=e,l={},s=o||{};return HS(n)&&(l.locale=n),_S(r)&&(l.plural=r),_S(a)&&(l.plural=a),[t,s,l]}function vA(e,t,...n){const o=FS(n[0])?n[0]:{},r=!!o.useI18nComponentName;(!TS(o.globalInstall)||o.globalInstall)&&([r?"i18n":uA.name,"I18nT"].forEach((t=>e.component(t,uA))),[dA.name,"I18nN"].forEach((t=>e.component(t,dA))),[fA.name,"I18nD"].forEach((t=>e.component(t,fA)))),e.directive("t",function(e){const t=t=>{const{instance:n,modifiers:o,value:r}=t;if(!n||!n.$)throw Uk($k.UNEXPECTED_ERROR);const a=function(e,t){const n=e;if("composition"===e.mode)return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return null!=o?o.__composer:e.global.__composer}}(e,n.$),l=hA(r);return[Reflect.apply(a.t,a,[...mA(l)]),a]};return{created:(n,o)=>{const[r,a]=t(o);gS&&e.global===a&&(n.__i18nWatcher=gr(a.locale,(()=>{o.instance&&o.instance.$forceUpdate()}))),n.__composer=a,n.textContent=r},unmounted:e=>{gS&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){const n=e.__composer,o=hA(t);e.textContent=Reflect.apply(n.t,n,[...mA(o)])}},getSSRProps:e=>{const[n]=t(e);return{textContent:n}}}}(t))}function gA(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[Kk](t.pluralizationRules||e.pluralizationRules);const n=Zk(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach((t=>e.mergeLocaleMessage(t,n[t]))),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 wA=wS("global-vue-i18n");function bA(e={}){const t=sa();if(null==t)throw Uk($k.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&null!=t.appContext.app&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Uk($k.NOT_INSTALLED);const n=function(e){{const t=Wo(e.isCE?wA:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Uk(e.isCE?$k.NOT_INSTALLED_WITH_PROVIDE:$k.UNEXPECTED_ERROR);return t}}(t),o=function(e){return"composition"===e.mode?e.global:e.global.__composer}(n),r=Qk(t),a=function(e,t){return xS(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}(e,r);if(__VUE_I18N_LEGACY_API__&&"legacy"===n.mode&&!e.__useComponent){if(!n.allowComposition)throw Uk($k.NOT_AVAILABLE_IN_LEGACY_MODE);return function(e,t,n,o={}){const r="local"===t,a=zt(null);if(r&&e.proxy&&!e.proxy.$options.i18n&&!e.proxy.$options.__i18n)throw Uk($k.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const l=TS(o.inheritLocale)?o.inheritLocale:!HS(o.locale),s=Mt(!r||l?n.locale.value:HS(o.locale)?o.locale:rk),i=Mt(!r||l?n.fallbackLocale.value:HS(o.fallbackLocale)||kS(o.fallbackLocale)||FS(o.fallbackLocale)||!1===o.fallbackLocale?o.fallbackLocale:s.value),c=Mt(Zk(s.value,o)),u=Mt(FS(o.datetimeFormats)?o.datetimeFormats:{[s.value]:{}}),p=Mt(FS(o.numberFormats)?o.numberFormats:{[s.value]:{}}),d=r?n.missingWarn:!TS(o.missingWarn)&&!yS(o.missingWarn)||o.missingWarn,f=r?n.fallbackWarn:!TS(o.fallbackWarn)&&!yS(o.fallbackWarn)||o.fallbackWarn,h=r?n.fallbackRoot:!TS(o.fallbackRoot)||o.fallbackRoot,m=!!o.fallbackFormat,v=AS(o.missing)?o.missing:null,g=AS(o.postTranslation)?o.postTranslation:null,w=r?n.warnHtmlMessage:!TS(o.warnHtmlMessage)||o.warnHtmlMessage,b=!!o.escapeParameter,_=r?n.modifiers:FS(o.modifiers)?o.modifiers:{},y=o.pluralRules||r&&n.pluralRules;function x(){return[s.value,i.value,c.value,u.value,p.value]}const C=ya({get:()=>a.value?a.value.locale.value:s.value,set:e=>{a.value&&(a.value.locale.value=e),s.value=e}}),M=ya({get:()=>a.value?a.value.fallbackLocale.value:i.value,set:e=>{a.value&&(a.value.fallbackLocale.value=e),i.value=e}}),z=ya((()=>a.value?a.value.messages.value:c.value)),L=ya((()=>u.value)),S=ya((()=>p.value));function E(){return a.value?a.value.getPostTranslationHandler():g}function k(e){a.value&&a.value.setPostTranslationHandler(e)}function A(){return a.value?a.value.getMissingHandler():v}function H(e){a.value&&a.value.setMissingHandler(e)}function T(e){return x(),e()}function V(...e){return a.value?T((()=>Reflect.apply(a.value.t,null,[...e]))):T((()=>""))}function O(...e){return a.value?Reflect.apply(a.value.rt,null,[...e]):""}function B(...e){return a.value?T((()=>Reflect.apply(a.value.d,null,[...e]))):T((()=>""))}function F(...e){return a.value?T((()=>Reflect.apply(a.value.n,null,[...e]))):T((()=>""))}function P(e){return a.value?a.value.tm(e):{}}function R(e,t){return!!a.value&&a.value.te(e,t)}function I(e){return a.value?a.value.getLocaleMessage(e):{}}function N(e,t){a.value&&(a.value.setLocaleMessage(e,t),c.value[e]=t)}function D(e,t){a.value&&a.value.mergeLocaleMessage(e,t)}function j(e){return a.value?a.value.getDateTimeFormat(e):{}}function $(e,t){a.value&&(a.value.setDateTimeFormat(e,t),u.value[e]=t)}function U(e,t){a.value&&a.value.mergeDateTimeFormat(e,t)}function q(e){return a.value?a.value.getNumberFormat(e):{}}function W(e,t){a.value&&(a.value.setNumberFormat(e,t),p.value[e]=t)}function G(e,t){a.value&&a.value.mergeNumberFormat(e,t)}const K={get id(){return a.value?a.value.id:-1},locale:C,fallbackLocale:M,messages:z,datetimeFormats:L,numberFormats:S,get inheritLocale(){return a.value?a.value.inheritLocale:l},set inheritLocale(e){a.value&&(a.value.inheritLocale=e)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(c.value)},get modifiers(){return a.value?a.value.modifiers:_},get pluralRules(){return a.value?a.value.pluralRules:y},get isGlobal(){return!!a.value&&a.value.isGlobal},get missingWarn(){return a.value?a.value.missingWarn:d},set missingWarn(e){a.value&&(a.value.missingWarn=e)},get fallbackWarn(){return a.value?a.value.fallbackWarn:f},set fallbackWarn(e){a.value&&(a.value.missingWarn=e)},get fallbackRoot(){return a.value?a.value.fallbackRoot:h},set fallbackRoot(e){a.value&&(a.value.fallbackRoot=e)},get fallbackFormat(){return a.value?a.value.fallbackFormat:m},set fallbackFormat(e){a.value&&(a.value.fallbackFormat=e)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:w},set warnHtmlMessage(e){a.value&&(a.value.warnHtmlMessage=e)},get escapeParameter(){return a.value?a.value.escapeParameter:b},set escapeParameter(e){a.value&&(a.value.escapeParameter=e)},t:V,getPostTranslationHandler:E,setPostTranslationHandler:k,getMissingHandler:A,setMissingHandler:H,rt:O,d:B,n:F,tm:P,te:R,getLocaleMessage:I,setLocaleMessage:N,mergeLocaleMessage:D,getDateTimeFormat:j,setDateTimeFormat:$,mergeDateTimeFormat:U,getNumberFormat:q,setNumberFormat:W,mergeNumberFormat:G};function Y(e){e.locale.value=s.value,e.fallbackLocale.value=i.value,Object.keys(c.value).forEach((t=>{e.mergeLocaleMessage(t,c.value[t])})),Object.keys(u.value).forEach((t=>{e.mergeDateTimeFormat(t,u.value[t])})),Object.keys(p.value).forEach((t=>{e.mergeNumberFormat(t,p.value[t])})),e.escapeParameter=b,e.fallbackFormat=m,e.fallbackRoot=h,e.fallbackWarn=f,e.missingWarn=d,e.warnHtmlMessage=w}return Zn((()=>{if(null==e.proxy||null==e.proxy.$i18n)throw Uk($k.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const n=a.value=e.proxy.$i18n.__composer;"global"===t?(s.value=n.locale.value,i.value=n.fallbackLocale.value,c.value=n.messages.value,u.value=n.datetimeFormats.value,p.value=n.numberFormats.value):r&&Y(n)})),K}(t,a,o,e)}if("global"===a)return eA(o,e,r),o;if("parent"===a){let r=function(e,t,n=!1){let o=null;const r=t.root;let a=function(e,t=!1){if(null==e)return null;return t&&e.vnode.ctx||e.parent}(t,n);for(;null!=a;){const t=e;if("composition"===e.mode)o=t.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const e=t.__getInstance(a);null!=e&&(o=e.__composer,n&&o&&!o[Yk]&&(o=null))}if(null!=o)break;if(r===a)break;a=a.parent}return o}(n,t,e.__useComponent);return null==r&&(r=o),r}const l=n;let s=l.__getInstance(t);if(null==s){const n=CS({},e);"__i18n"in r&&(n.__i18n=r.__i18n),o&&(n.__root=o),s=lA(n),l.__composerExtend&&(s[Jk]=l.__composerExtend(s)),function(e,t,n){Qn((()=>{}),t),oo((()=>{const o=n;e.__deleteInstance(t);const r=o[Jk];r&&(r(),delete o[Jk])}),t)}(l,t,s),l.__setInstance(t,s)}return s}const _A=["locale","fallbackLocale","availableLocales"],yA=["t","rt","d","n","tm","te"];var xA;if("boolean"!=typeof __VUE_I18N_FULL_INSTALL__&&(zS().__VUE_I18N_FULL_INSTALL__=!0),"boolean"!=typeof __VUE_I18N_LEGACY_API__&&(zS().__VUE_I18N_LEGACY_API__=!0),"boolean"!=typeof __INTLIFY_JIT_COMPILATION__&&(zS().__INTLIFY_JIT_COMPILATION__=!1),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(zS().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(zS().__INTLIFY_PROD_DEVTOOLS__=!1),__INTLIFY_JIT_COMPILATION__?ck((function(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&HS(e)){!TS(t.warnHtmlMessage)||t.warnHtmlMessage;const n=(t.onCacheKey||yk)(e),o=xk[n];if(o)return o;const{ast:r,detectError:a}=Mk(e,{...t,location:!1,jit:!0}),l=wk(r);return a?l:xk[n]=l}{const t=e.cacheKey;if(t){return xk[t]||(xk[t]=wk(e))}return wk(e)}})):ck(zk),sk=function(e,t){if(!VS(e))return null;let n=BE.get(t);if(n||(n=function(e){const t=[];let n,o,r,a,l,s,i,c=-1,u=0,p=0;const d=[];function f(){const t=e[c+1];if(5===u&&"'"===t||6===u&&'"'===t)return c++,r="\\"+t,d[0](),!0}for(d[0]=()=>{void 0===o?o=r:o+=r},d[1]=()=>{void 0!==o&&(t.push(o),o=void 0)},d[2]=()=>{d[0](),p++},d[3]=()=>{if(p>0)p--,u=4,d[0]();else{if(p=0,void 0===o)return!1;if(o=OE(o),!1===o)return!1;d[1]()}};null!==u;)if(c++,n=e[c],"\\"!==n||!f()){if(a=VE(n),i=HE[u],l=i[a]||i.l||8,8===l)return;if(u=l[0],void 0!==l[1]&&(s=d[l[1]],s&&(r=n,!1===s())))return;if(7===u)return t}}(t),n&&BE.set(t,n)),!n)return null;const o=n.length;let r=e,a=0;for(;asA(e))):n.run((()=>lA(e)));if(null==o)throw Uk($k.UNEXPECTED_ERROR);return[n,o]}}(e,t),s=wS("");{const e={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},get allowComposition(){return o},async install(o,...r){if(o.__VUE_I18N_SYMBOL__=s,o.provide(o.__VUE_I18N_SYMBOL__,e),FS(r[0])){const t=r[0];e.__composerExtend=t.__composerExtend,e.__vueI18nExtend=t.__vueI18nExtend}let a=null;!t&&n&&(a=function(e,t){const n=Object.create(null);_A.forEach((e=>{const o=Object.getOwnPropertyDescriptor(t,e);if(!o)throw Uk($k.UNEXPECTED_ERROR);const r=Ct(o.value)?{get:()=>o.value.value,set(e){o.value.value=e}}:{get:()=>o.get&&o.get()};Object.defineProperty(n,e,r)})),e.config.globalProperties.$i18n=n,yA.forEach((n=>{const o=Object.getOwnPropertyDescriptor(t,n);if(!o||!o.value)throw Uk($k.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${n}`,o)}));const o=()=>{delete e.config.globalProperties.$i18n,yA.forEach((t=>{delete e.config.globalProperties[`$${t}`]}))};return o}(o,e.global)),__VUE_I18N_FULL_INSTALL__&&vA(o,e,...r),__VUE_I18N_LEGACY_API__&&t&&o.mixin(function(e,t,n){return{beforeCreate(){const o=sa();if(!o)throw Uk($k.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const o=r.i18n;if(r.__i18n&&(o.__i18n=r.__i18n),o.__root=t,this===this.$root)this.$i18n=gA(e,o);else{o.__injectWithOption=!0,o.__extender=n.__vueI18nExtend,this.$i18n=sA(o);const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=gA(e,r);else{this.$i18n=sA({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&eA(t,r,r),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$tc=(...e)=>this.$i18n.tc(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),n.__setInstance(o,this.$i18n)},mounted(){},unmounted(){const e=sa();if(!e)throw Uk($k.UNEXPECTED_ERROR);const t=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),n.__deleteInstance(e),delete this.$i18n}}}(l,l.__composer,e));const i=o.unmount;o.unmount=()=>{a&&a(),e.dispose(),i()}},get global(){return l},dispose(){a.stop()},__instances:r,__getInstance:function(e){return r.get(e)||null},__setInstance:function(e,t){r.set(e,t)},__deleteInstance:function(e){r.delete(e)}};return e}}({legacy:!1,locale:eC(hS).language,messages:CA,globalInjection:!0});var zA={exports:{}};zA.exports=function(){var e,t,n={version:"0.2.0"},o=n.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:'
'};function r(e,t,n){return en?n:e}function a(e){return 100*(-1+e)}function l(e,t,n){var r;return(r="translate3d"===o.positionUsing?{transform:"translate3d("+a(e)+"%,0,0)"}:"translate"===o.positionUsing?{transform:"translate("+a(e)+"%,0)"}:{"margin-left":a(e)+"%"}).transition="all "+t+"ms "+n,r}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(o[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=r(e,o.minimum,1),n.status=1===e?null:e;var a=n.render(!t),c=a.querySelector(o.barSelector),u=o.speed,p=o.easing;return a.offsetWidth,s((function(t){""===o.positionUsing&&(o.positionUsing=n.getPositioningCSS()),i(c,l(e,u,p)),1===e?(i(a,{transition:"none",opacity:1}),a.offsetWidth,setTimeout((function(){i(a,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),o.trickleSpeed)};return o.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*r(Math.random()*t,.1,.95)),t=r(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*o.trickleRate)},e=0,t=0,n.promise=function(o){return o&&"resolved"!==o.state()?(0===t&&n.start(),e++,t++,o.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=o.template;var r,l=t.querySelector(o.barSelector),s=e?"-100":a(n.status||0),c=document.querySelector(o.parent);return i(l,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),o.showSpinner||(r=t.querySelector(o.spinnerSelector))&&f(r),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){p(document.documentElement,"nprogress-busy"),p(document.querySelector(o.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),i=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function o(t){var n=document.body.style;if(t in n)return t;for(var o,r=e.length,a=t.charAt(0).toUpperCase()+t.slice(1);r--;)if((o=e[r]+a)in n)return o;return t}function r(e){return e=n(e),t[e]||(t[e]=o(e))}function a(e,t,n){t=r(t),e.style[t]=n}return function(e,t){var n,o,r=arguments;if(2==r.length)for(n in t)void 0!==(o=t[n])&&t.hasOwnProperty(n)&&a(e,n,o);else a(e,r[1],r[2])}}();function c(e,t){return("string"==typeof e?e:d(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=d(e),o=n+t;c(n,t)||(e.className=o.substring(1))}function p(e,t){var n,o=d(e);c(e,t)&&(n=o.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function d(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n}();const LA=gy(zA.exports);if(LA.configure({easing:"ease",speed:500,showSpinner:!1,trickleSpeed:200,minimum:.3}),"undefined"!=typeof window){let e=function(){var e=document.body,t=document.getElementById("__svg__icons__dom__");t||((t=document.createElementNS("http://www.w3.org/2000/svg","svg")).style.position="absolute",t.style.width="0",t.style.height="0",t.id="__svg__icons__dom__",t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),t.innerHTML='',e.insertBefore(t,e.lastChild)};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()}const SA=((...e)=>{const t=jl().createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(v(e)){return document.querySelector(e)}return e}(e);if(!o)return;const r=t._component;m(r)||r.render||r.template||(r.template=o.innerHTML),1===o.nodeType&&(o.textContent="");const a=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t})(mS);SA.directive("hasPerm",vS),function(e){e.use(hS)}(SA),function(e){for(const[t,n]of Object.entries(Dw))e.component(t,n)}(SA),function(e){e.use(MA)}(SA),function(){const e=["/login"];DM.beforeEach((async(t,n,o)=>{LA.start();if(localStorage.getItem("accessToken"))if("/login"===t.path)o({path:"/"}),LA.done();else{const e=QL();if(e.user.roles&&e.user.roles.length>0)0===t.matched.length?n.name?o({name:n.name}):o("/404"):o();else{const n=aS();try{const{roles:r}=await e.getUserInfo();(await n.generateRoutes(r)).forEach((e=>{DM.addRoute(e)})),o({...t,replace:!0})}catch(r){await e.resetToken(),o(`/login?redirect=${t.path}`),LA.done()}}}else-1!==e.indexOf(t.path)?o():(o(`/login?redirect=${t.path}`),LA.done())})),DM.afterEach((()=>{LA.done()}))}(),SA.use(DM),SA.mount("#app");export{Il as $,zt as A,ya as B,gr as C,Bc as D,l_ as E,eb as F,I as G,Rb as H,Kb as I,v as J,mc as K,nb as L,u as M,vr as N,Ar as O,vo as P,p_ as Q,c_ as R,u_ as S,Fa as T,tb as U,d_ as V,Db as W,pt as X,Zt as Y,un as Z,r_ as _,Cb as a,JL as a$,Gr as a0,Zr as a1,b_ as a2,my as a3,Jr as a4,Xc as a5,Za as a6,$p as a7,kc as a8,zo as a9,Ry as aA,QL as aB,fS as aC,RM as aD,PM as aE,_x as aF,Xx as aG,wx as aH,Ky as aI,MA as aJ,Zn as aK,yl as aL,DM as aM,hx as aN,Ct as aO,aS as aP,mx as aQ,iv as aR,ew as aS,jn as aT,gy as aU,dx as aV,pS as aW,q as aX,Kr as aY,Qx as aZ,XL as a_,db as aa,Cy as ab,N_ as ac,Pl as ad,Wl as ae,Tc as af,Vc as ag,Hc as ah,uy as ai,Ec as aj,au as ak,no as al,xa as am,ps as an,ib as ao,dv as ap,zs as aq,sb as ar,w as as,p as at,Ot as au,co as av,px as aw,bA as ax,fx as ay,eC as az,qw as b,zi as b$,ft as b0,ms as b1,Ab as b2,go as b3,L_ as b4,ab as b5,_c as b6,yc as b7,ob as b8,vm as b9,kp as bA,Vp as bB,gp as bC,o as bD,of as bE,Iw as bF,Pd as bG,C as bH,zc as bI,Ps as bJ,Zx as bK,bt as bL,vy as bM,eS as bN,sc as bO,js as bP,Js as bQ,oi as bR,Qs as bS,Hi as bT,rb as bU,s_ as bV,i_ as bW,cs as bX,Lc as bY,Cc as bZ,Tl as b_,b as ba,vx as bb,m as bc,tS as bd,Ht as be,Xr as bf,_t as bg,Un as bh,Zw as bi,Dw as bj,Ix as bk,nC as bl,jx as bm,jr as bn,ys as bo,Rs as bp,to as bq,tu as br,ng as bs,bc as bt,ts as bu,oo as bv,Mc as bw,Yw as bx,Kw as by,Ow as bz,Fr as c,ZL as c$,Vi as c0,ri as c1,Si as c2,ki as c3,Ys as c4,Ei as c5,Ii as c6,ai as c7,Zs as c8,uc as c9,H as cA,Uw as cB,hc as cC,ss as cD,xb as cE,kb as cF,Yr as cG,Hr as cH,ds as cI,ql as cJ,Pb as cK,gs as cL,qn as cM,fb as cN,Gw as cO,Lb as cP,Xb as cQ,Mb as cR,bb as cS,Zi as cT,wi as cU,Ds as cV,Oi as cW,Is as cX,Yi as cY,Ji as cZ,ui as c_,Al as ca,wc as cb,yd as cc,uv as cd,Cd as ce,Nb as cf,$l as cg,lc as ch,cu as ci,fo as cj,xc as ck,Tr as cl,ji as cm,rc as cn,fc as co,ac as cp,jb as cq,Wb as cr,Jw as cs,rs as ct,x as cu,Ic as cv,qb as cw,kl as cx,T as cy,Hs as cz,Fn as d,j_ as d0,lh as d1,Cg as d2,oe as d3,Nw as d4,vg as d5,gg as d6,Lo as d7,pb as d8,us as d9,Pc as da,Xs as db,bn as dc,Nr as e,wo as f,Et as g,$w as h,Ww as i,Wo as j,Wr as k,Dr as l,po as m,U as n,Qn as o,qo as p,sa as q,Mt as r,Xw as s,X as t,wb as u,Qw as v,cn as w,na as x,_o as y,ns as z}; diff --git a/static/js/index.9UoVjQ1v.js b/static/js/index.9UoVjQ1v.js new file mode 100644 index 0000000000000000000000000000000000000000..82a4b4f5734dd8d9f63bf521297ca702f1cd0688 --- /dev/null +++ b/static/js/index.9UoVjQ1v.js @@ -0,0 +1 @@ +import{b as e,h as s,d as a,a as t,B as l,bc as i,b7 as r,c as n,e as o,n as u,g as c,f as p,a1 as f,k as d,G as m,t as v,a4 as x,_ as g,s as h,bd as b,aB as y,r as C,o as _,a0 as k,w as S,O as w,P as j,l as L}from"./index.9PHSMUIB.js";import{E as $}from"./el-card.DWbysKpS.js";import{E as N,a as B}from"./el-col.DNKSa6YX.js";import{S as E}from"./index.B2Hg7VBR.js";import{_ as A}from"./_plugin-vue_export-helper.BCo6x5W8.js";const M=e({decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:","},precision:{type:Number,default:0},formatter:Function,value:{type:s([Number,Object]),default:0},prefix:String,suffix:String,title:String,valueStyle:{type:s([String,Object,Array])}}),O=a({name:"ElStatistic"});const V=h(g(a({...O,props:M,setup(e,{expose:s}){const a=e,g=t("statistic"),h=l((()=>{const{value:e,formatter:s,precision:t,decimalSeparator:l,groupSeparator:n}=a;if(i(s))return s(e);if(!r(e)||Number.isNaN(e))return e;let[o,u=""]=String(e).split(".");return u=u.padEnd(t,"0").slice(0,t>0?t:0),o=o.replace(/\B(?=(\d{3})+(?!\d))/g,n),[o,u].join(u?l:"")}));return s({displayValue:h}),(e,s)=>(n(),o("div",{class:u(c(g).b())},[e.$slots.title||e.title?(n(),o("div",{key:0,class:u(c(g).e("head"))},[p(e.$slots,"title",{},(()=>[x(v(e.title),1)]))],2)):f("v-if",!0),d("div",{class:u(c(g).e("content"))},[e.$slots.prefix||e.prefix?(n(),o("div",{key:0,class:u(c(g).e("prefix"))},[p(e.$slots,"prefix",{},(()=>[d("span",null,v(e.prefix),1)]))],2)):f("v-if",!0),d("span",{class:u(c(g).e("number")),style:m(e.valueStyle)},v(c(h)),7),e.$slots.suffix||e.suffix?(n(),o("div",{key:1,class:u(c(g).e("suffix"))},[p(e.$slots,"suffix",{},(()=>[d("span",null,v(e.suffix),1)]))],2)):f("v-if",!0)],2)],2))}}),[["__file","statistic.vue"]])),z={href:"https://github.com/gooaclok819/sublinkX",target:"_blank",class:"github-corner","aria-label":"View source on Github"},D={width:"80",height:"80",viewBox:"0 0 250 250",style:{color:"#fff",fill:"#40c9c6"},"aria-hidden":"true"};const G=A({},[["render",function(e,s){return n(),o("a",z,[(n(),o("svg",D,s[0]||(s[0]=[d("path",{d:"M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"},null,-1),d("path",{d:"M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2",fill:"currentColor",style:{"transform-origin":"130px 106px"},class:"octo-arm"},null,-1),d("path",{d:"M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z",fill:"currentColor",class:"octo-body"},null,-1)])))])}],["__scopeId","data-v-b6c728e1"]]);const I={class:"dashboard-container"},P={class:"flex h-full items-center"},Z=["src"],F={class:"flex h-full items-center justify-around"},H={class:"flex items-center"},K={class:"text-[16px] ml-1"},X=A(a({name:"Dashboard",inheritAttrs:!1,__name:"index",setup(e){const s=y(),a=new Date,t=C(0),i=C(0),r=C([{value:0,iconClass:"message",title:"订阅",key:"message"},{value:0,iconClass:"link",title:"节点",key:"upcoming"}]),u=async()=>{const{data:e}=await b({url:"/api/v1/total/sub",method:"get"});t.value=e,r.value[0].value=e},p=async()=>{const{data:e}=await b({url:"/api/v1/total/node",method:"get"});i.value=e,r.value[1].value=e};_((()=>{u(),p()}));const f=l((()=>{const e=a.getHours();return e>=6&&e<8?"晨起披衣出草堂,轩窗已自喜微凉🌅!":e>=8&&e<12?"上午好,"+s.user.nickname+"!":e>=12&&e<18?"下午好,"+s.user.nickname+"!":e>=18&&e<24?"晚上好,"+s.user.nickname+"!":"偷偷向银河要了一把碎星,只等你闭上眼睛撒入你的梦中,晚安🌛!"}));return(e,a)=>{const t=G,l=N,i=E,u=V,p=B,m=$;return n(),o("div",I,[k(t,{class:"github-corner"}),k(m,{shadow:"never"},{default:S((()=>[k(p,{justify:"space-between"},{default:S((()=>[k(l,{span:18,xs:24},{default:S((()=>[d("div",P,[d("img",{class:"w-20 h-20 mr-5 rounded-full",src:c(s).user.avatar+"?imageView2/1/w/80/h/80"},null,8,Z),d("div",null,[d("p",null,v(c(f)),1),a[0]||(a[0]=d("p",{class:"text-sm text-gray"}," 今日天气晴朗,气温在15℃至25℃之间,东南风。 ",-1))])])])),_:1}),k(l,{span:6,xs:24},{default:S((()=>[d("div",F,[(n(!0),o(w,null,j(c(r),(e=>(n(),L(u,{key:e.key,value:e.value},{title:S((()=>[d("div",H,[k(i,{"icon-class":e.iconClass,size:"20px"},null,8,["icon-class"]),d("span",K,v(e.title),1)])])),_:2},1032,["value"])))),128))])])),_:1})])),_:1})])),_:1})])}}}),[["__scopeId","data-v-845b4997"]]);export{X as default}; diff --git a/static/js/index.B2Hg7VBR.js b/static/js/index.B2Hg7VBR.js new file mode 100644 index 0000000000000000000000000000000000000000..0f788caca4f7e94cdd2e90dc34a5759cf5b8d86e --- /dev/null +++ b/static/js/index.B2Hg7VBR.js @@ -0,0 +1 @@ +import{d as e,B as s,c as i,e as t,k as r,g as a,G as l}from"./index.9PHSMUIB.js";import{_ as n}from"./_plugin-vue_export-helper.BCo6x5W8.js";const o=["xlink:href","fill"],p=n(e({__name:"index",props:{prefix:{type:String,default:"icon"},iconClass:{type:String,required:!1,default:""},color:{type:String,default:""},size:{type:String,default:"1em"}},setup(e){const n=e,p=s((()=>`#${n.prefix}-${n.iconClass}`));return(s,n)=>(i(),t("svg",{"aria-hidden":"true",class:"svg-icon",style:l("width:"+e.size+";height:"+e.size)},[r("use",{"xlink:href":a(p),fill:e.color},null,8,o)],4))}}),[["__scopeId","data-v-52fbbe93"]]);export{p as S}; diff --git a/static/js/index.BBNS_uLM.js b/static/js/index.BBNS_uLM.js new file mode 100644 index 0000000000000000000000000000000000000000..e66477f6764b66aca30d6cc72e642933916bbff7 --- /dev/null +++ b/static/js/index.BBNS_uLM.js @@ -0,0 +1 @@ +import{b as e,i as t,d as a,u as l,a as n,r as o,p as r,o as s,c as i,e as u,f as c,n as d,g as p,_ as f,h as v,j as h,k as m,l as g,w as b,m as y,E as x,t as k,q as w,s as _,v as C,x as M,y as S,T as E,z as V,A,B as I,C as $,D as P,F as T,G as L,H as O,I as B,U as N,J as F,K as R,L as z,M as H,N as j,O as D,P as q,Q as W,R as K,S as U,V as X,W as G,X as Y,Y as J,Z,$ as Q,a0 as ee,a1 as te,a2 as ae,a3 as le,a4 as ne,a5 as oe,a6 as re,a7 as se,a8 as ie,a9 as ue,aa as ce,ab as de,ac as pe,ad as fe,ae as ve,af as he,ag as me,ah as ge,ai as be,aj as ye,ak as xe,al as ke,am as we,an as _e,ao as Ce,ap as Me,aq as Se,ar as Ee,as as Ve,at as Ae,au as Ie,av as $e,aw as Pe,ax as Te,ay as Le,az as Oe,aA as Be,aB as Ne,aC as Fe,aD as Re,aE as ze,aF as He,aG as je,aH as De,aI as qe,aJ as We,aK as Ke,aL as Ue,aM as Xe,aN as Ge,aO as Ye,aP as Je,aQ as Ze,aR as Qe,aS as et,aT as tt,aU as at,aV as lt,aW as nt,aX as ot,aY as rt,aZ as st}from"./index.9PHSMUIB.js";import{E as it,a as ut,b as ct,_ as dt,c as pt}from"./el-switch.zYake_dz.js";import{u as ft,E as vt}from"./el-popper.e9kr8u9Q.js";import{E as ht}from"./el-scrollbar.DlPh6Z7D.js";import"./el-tooltip.l0sNRNKZ.js";import{S as mt}from"./index.B2Hg7VBR.js";import{_ as gt}from"./_plugin-vue_export-helper.BCo6x5W8.js";import{g as bt}from"./position.CopxYfyp.js";import{C as yt}from"./index.D7zGuEZp.js";import{d as xt}from"./debounce.i1DMUZzi.js";import{E as kt}from"./index.D6nSmJHY.js";import{d as wt,a as _t,u as Ct}from"./use-dialog.CybRpRek.js";import"./dropdown.CqG_2FXV.js";import"./castArray.BN0gQOTw.js";import"./refs.CNClepWF.js";import"./isUndefined.DgmxjSXK.js";const Mt=Symbol("breadcrumbKey"),St=e({separator:{type:String,default:"/"},separatorIcon:{type:t}}),Et=a({name:"ElBreadcrumb"});var Vt=f(a({...Et,props:St,setup(e){const t=e,{t:a}=l(),f=n("breadcrumb"),v=o();return r(Mt,t),s((()=>{const e=v.value.querySelectorAll(`.${f.e("item")}`);e.length&&e[e.length-1].setAttribute("aria-current","page")})),(e,t)=>(i(),u("div",{ref_key:"breadcrumb",ref:v,class:d(p(f).b()),"aria-label":p(a)("el.breadcrumb.label"),role:"navigation"},[c(e.$slots,"default")],10,["aria-label"]))}}),[["__file","breadcrumb.vue"]]);const At=e({to:{type:v([String,Object]),default:""},replace:Boolean}),It=a({name:"ElBreadcrumbItem"});var $t=f(a({...It,props:At,setup(e){const t=e,a=w(),l=h(Mt,void 0),r=n("breadcrumb"),s=a.appContext.config.globalProperties.$router,f=o(),v=()=>{t.to&&s&&(t.replace?s.replace(t.to):s.push(t.to))};return(e,t)=>{var a,n;return i(),u("span",{class:d(p(r).e("item"))},[m("span",{ref_key:"link",ref:f,class:d([p(r).e("inner"),p(r).is("link",!!e.to)]),role:"link",onClick:v},[c(e.$slots,"default")],2),(null==(a=p(l))?void 0:a.separatorIcon)?(i(),g(p(x),{key:0,class:d(p(r).e("separator"))},{default:b((()=>[(i(),g(y(p(l).separatorIcon)))])),_:1},8,["class"])):(i(),u("span",{key:1,class:d(p(r).e("separator")),role:"presentation"},k(null==(n=p(l))?void 0:n.separator),3))],2)}}}),[["__file","breadcrumb-item.vue"]]);const Pt=_(Vt,{BreadcrumbItem:$t}),Tt=C($t),Lt=a({name:"ElCollapseTransition"});const Ot=_(f(a({...Lt,setup(e){const t=n("collapse-transition"),a=e=>{e.style.maxHeight="",e.style.overflow=e.dataset.oldOverflow,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom},l={beforeEnter(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.style.height&&(e.dataset.elExistsHeight=e.style.height),e.style.maxHeight=0,e.style.paddingTop=0,e.style.paddingBottom=0},enter(e){requestAnimationFrame((()=>{e.dataset.oldOverflow=e.style.overflow,e.dataset.elExistsHeight?e.style.maxHeight=e.dataset.elExistsHeight:0!==e.scrollHeight?e.style.maxHeight=`${e.scrollHeight}px`:e.style.maxHeight=0,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom,e.style.overflow="hidden"}))},afterEnter(e){e.style.maxHeight="",e.style.overflow=e.dataset.oldOverflow},enterCancelled(e){a(e)},beforeLeave(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.dataset.oldOverflow=e.style.overflow,e.style.maxHeight=`${e.scrollHeight}px`,e.style.overflow="hidden"},leave(e){0!==e.scrollHeight&&(e.style.maxHeight=0,e.style.paddingTop=0,e.style.paddingBottom=0)},afterLeave(e){a(e)},leaveCancelled(e){a(e)}};return(e,a)=>(i(),g(E,M({name:p(t).b()},S(l)),{default:b((()=>[c(e.$slots,"default")])),_:3},16,["name"]))}}),[["__file","collapse-transition.vue"]])),Bt=e({color:{type:v(Object),required:!0},vertical:{type:Boolean,default:!1}});let Nt=!1;function Ft(e,t){if(!V)return;const a=function(e){var a;null==(a=t.drag)||a.call(t,e)},l=function(e){var n;document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",l),document.removeEventListener("touchmove",a),document.removeEventListener("touchend",l),document.onselectstart=null,document.ondragstart=null,Nt=!1,null==(n=t.end)||n.call(t,e)},n=function(e){var n;Nt||(e.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",a),document.addEventListener("mouseup",l),document.addEventListener("touchmove",a),document.addEventListener("touchend",l),Nt=!0,null==(n=t.start)||n.call(t,e))};e.addEventListener("mousedown",n),e.addEventListener("touchstart",n,{passive:!1})}const Rt=(e,{bar:t,thumb:a,handleDrag:l})=>{const r=w(),i=n("color-alpha-slider"),u=o(0),c=o(0),d=o();function p(){u.value=function(){if(!a.value)return 0;if(e.vertical)return 0;const t=r.vnode.el,l=e.color.get("alpha");return t?Math.round(l*(t.offsetWidth-a.value.offsetWidth/2)/100):0}(),c.value=function(){if(!a.value)return 0;const t=r.vnode.el;if(!e.vertical)return 0;const l=e.color.get("alpha");return t?Math.round(l*(t.offsetHeight-a.value.offsetHeight/2)/100):0}(),d.value=function(){if(e.color&&e.color.value){const{r:t,g:a,b:l}=e.color.toRgb();return`linear-gradient(to right, rgba(${t}, ${a}, ${l}, 0) 0%, rgba(${t}, ${a}, ${l}, 1) 100%)`}return""}()}s((()=>{if(!t.value||!a.value)return;const e={drag:e=>{l(e)},end:e=>{l(e)}};Ft(t.value,e),Ft(a.value,e),p()})),$((()=>e.color.get("alpha")),(()=>p())),$((()=>e.color.value),(()=>p()));const f=I((()=>[i.b(),i.is("vertical",e.vertical)])),v=I((()=>i.e("bar"))),h=I((()=>i.e("thumb")));return{rootKls:f,barKls:v,barStyle:I((()=>({background:d.value}))),thumbKls:h,thumbStyle:I((()=>({left:P(u.value),top:P(c.value)}))),update:p}},zt=a({name:"ElColorAlphaSlider"});var Ht=f(a({...zt,props:Bt,setup(e,{expose:t}){const a=e,{alpha:n,alphaLabel:o,bar:r,thumb:s,handleDrag:c,handleClick:f,handleKeydown:v}=(e=>{const t=w(),{t:a}=l(),n=A(),o=A(),r=I((()=>e.color.get("alpha"))),s=I((()=>a("el.colorpicker.alphaLabel")));function i(a){if(!o.value||!n.value)return;const l=t.vnode.el.getBoundingClientRect(),{clientX:r,clientY:s}=bt(a);if(e.vertical){let t=s-l.top;t=Math.max(n.value.offsetHeight/2,t),t=Math.min(t,l.height-n.value.offsetHeight/2),e.color.set("alpha",Math.round((t-n.value.offsetHeight/2)/(l.height-n.value.offsetHeight)*100))}else{let t=r-l.left;t=Math.max(n.value.offsetWidth/2,t),t=Math.min(t,l.width-n.value.offsetWidth/2),e.color.set("alpha",Math.round((t-n.value.offsetWidth/2)/(l.width-n.value.offsetWidth)*100))}}function u(t){let a=r.value+t;a=a<0?0:a>100?100:a,e.color.set("alpha",a)}return{thumb:n,bar:o,alpha:r,alphaLabel:s,handleDrag:i,handleClick:function(e){var t;e.target!==n.value&&i(e),null==(t=n.value)||t.focus()},handleKeydown:function(e){const{code:t,shiftKey:a}=e,l=a?10:1;switch(t){case T.left:case T.down:e.preventDefault(),e.stopPropagation(),u(-l);break;case T.right:case T.up:e.preventDefault(),e.stopPropagation(),u(l)}}}})(a),{rootKls:h,barKls:g,barStyle:b,thumbKls:y,thumbStyle:x,update:k}=Rt(a,{bar:r,thumb:s,handleDrag:c});return t({update:k,bar:r,thumb:s}),(e,t)=>(i(),u("div",{class:d(p(h))},[m("div",{ref_key:"bar",ref:r,class:d(p(g)),style:L(p(b)),onClick:p(f)},null,14,["onClick"]),m("div",{ref_key:"thumb",ref:s,class:d(p(y)),style:L(p(x)),"aria-label":p(o),"aria-valuenow":p(n),"aria-orientation":e.vertical?"vertical":"horizontal","aria-valuemin":"0","aria-valuemax":"100",role:"slider",tabindex:"0",onKeydown:p(v)},null,46,["aria-label","aria-valuenow","aria-orientation","onKeydown"])],2))}}),[["__file","alpha-slider.vue"]]);var jt=f(a({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup(e){const t=n("color-hue-slider"),a=w(),l=o(),r=o(),i=o(0),u=o(0),c=I((()=>e.color.get("hue")));function d(t){if(!r.value||!l.value)return;const n=a.vnode.el.getBoundingClientRect(),{clientX:o,clientY:s}=bt(t);let i;if(e.vertical){let e=s-n.top;e=Math.min(e,n.height-l.value.offsetHeight/2),e=Math.max(l.value.offsetHeight/2,e),i=Math.round((e-l.value.offsetHeight/2)/(n.height-l.value.offsetHeight)*360)}else{let e=o-n.left;e=Math.min(e,n.width-l.value.offsetWidth/2),e=Math.max(l.value.offsetWidth/2,e),i=Math.round((e-l.value.offsetWidth/2)/(n.width-l.value.offsetWidth)*360)}e.color.set("hue",i)}function p(){i.value=function(){if(!l.value)return 0;const t=a.vnode.el;if(e.vertical)return 0;const n=e.color.get("hue");return t?Math.round(n*(t.offsetWidth-l.value.offsetWidth/2)/360):0}(),u.value=function(){if(!l.value)return 0;const t=a.vnode.el;if(!e.vertical)return 0;const n=e.color.get("hue");return t?Math.round(n*(t.offsetHeight-l.value.offsetHeight/2)/360):0}()}return $((()=>c.value),(()=>{p()})),s((()=>{if(!r.value||!l.value)return;const e={drag:e=>{d(e)},end:e=>{d(e)}};Ft(r.value,e),Ft(l.value,e),p()})),{bar:r,thumb:l,thumbLeft:i,thumbTop:u,hueValue:c,handleClick:function(e){e.target!==l.value&&d(e)},update:p,ns:t}}}),[["render",function(e,t,a,l,n,o){return i(),u("div",{class:d([e.ns.b(),e.ns.is("vertical",e.vertical)])},[m("div",{ref:"bar",class:d(e.ns.e("bar")),onClick:e.handleClick},null,10,["onClick"]),m("div",{ref:"thumb",class:d(e.ns.e("thumb")),style:L({left:e.thumbLeft+"px",top:e.thumbTop+"px"})},null,6)],2)}],["__file","hue-slider.vue"]]);const Dt=e({modelValue:String,id:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:O,popperClass:{type:String,default:""},tabindex:{type:[String,Number],default:0},teleported:ft.teleported,predefine:{type:v(Array)},validateEvent:{type:Boolean,default:!0},...B(["ariaLabel"])}),qt={[N]:e=>F(e)||R(e),[z]:e=>F(e)||R(e),activeChange:e=>F(e)||R(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},Wt=Symbol("colorPickerContextKey"),Kt=function(e,t,a){return[e,t*a/((e=(2-t)*a)<1?e:2-e)||0,e/2]},Ut=function(e,t){var a;F(a=e)&&a.includes(".")&&1===Number.parseFloat(a)&&(e="100%");const l=function(e){return F(e)&&e.includes("%")}(e);return e=Math.min(t,Math.max(0,Number.parseFloat(`${e}`))),l&&(e=Number.parseInt(""+e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/Number.parseFloat(t)},Xt={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},Gt=e=>{e=Math.min(Math.round(e),255);const t=Math.floor(e/16),a=e%16;return`${Xt[t]||t}${Xt[a]||a}`},Yt=function({r:e,g:t,b:a}){return Number.isNaN(+e)||Number.isNaN(+t)||Number.isNaN(+a)?"":`#${Gt(e)}${Gt(t)}${Gt(a)}`},Jt={A:10,B:11,C:12,D:13,E:14,F:15},Zt=function(e){return 2===e.length?16*(Jt[e[0].toUpperCase()]||+e[0])+(Jt[e[1].toUpperCase()]||+e[1]):Jt[e[1].toUpperCase()]||+e[1]},Qt=(e,t,a)=>{e=Ut(e,255),t=Ut(t,255),a=Ut(a,255);const l=Math.max(e,t,a),n=Math.min(e,t,a);let o;const r=l,s=l-n,i=0===l?0:s/l;if(l===n)o=0;else{switch(l){case e:o=(t-a)/s+(t{this._hue=Math.max(0,Math.min(360,e)),this._saturation=Math.max(0,Math.min(100,t)),this._value=Math.max(0,Math.min(100,a)),this.doOnChange()};if(e.includes("hsl")){const a=e.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter((e=>""!==e)).map(((e,t)=>t>2?Number.parseFloat(e):Number.parseInt(e,10)));if(4===a.length?this._alpha=100*Number.parseFloat(a[3]):3===a.length&&(this._alpha=100),a.length>=3){const{h:e,s:l,v:n}=function(e,t,a){a/=100;let l=t/=100;const n=Math.max(a,.01);return t*=(a*=2)<=1?a:2-a,l*=n<=1?n:2-n,{h:e,s:100*(0===a?2*l/(n+l):2*t/(a+t)),v:(a+t)/2*100}}(a[0],a[1],a[2]);t(e,l,n)}}else if(e.includes("hsv")){const a=e.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter((e=>""!==e)).map(((e,t)=>t>2?Number.parseFloat(e):Number.parseInt(e,10)));4===a.length?this._alpha=100*Number.parseFloat(a[3]):3===a.length&&(this._alpha=100),a.length>=3&&t(a[0],a[1],a[2])}else if(e.includes("rgb")){const a=e.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter((e=>""!==e)).map(((e,t)=>t>2?Number.parseFloat(e):Number.parseInt(e,10)));if(4===a.length?this._alpha=100*Number.parseFloat(a[3]):3===a.length&&(this._alpha=100),a.length>=3){const{h:e,s:l,v:n}=Qt(a[0],a[1],a[2]);t(e,l,n)}}else if(e.includes("#")){const a=e.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(a))return;let l,n,o;3===a.length?(l=Zt(a[0]+a[0]),n=Zt(a[1]+a[1]),o=Zt(a[2]+a[2])):6!==a.length&&8!==a.length||(l=Zt(a.slice(0,2)),n=Zt(a.slice(2,4)),o=Zt(a.slice(4,6))),8===a.length?this._alpha=Zt(a.slice(6))/255*100:3!==a.length&&6!==a.length||(this._alpha=100);const{h:r,s:s,v:i}=Qt(l,n,o);t(r,s,i)}}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:t,_value:a,_alpha:l,format:n}=this;if(this.enableAlpha)switch(n){case"hsl":{const l=Kt(e,t/100,a/100);this.value=`hsla(${e}, ${Math.round(100*l[1])}%, ${Math.round(100*l[2])}%, ${this.get("alpha")/100})`;break}case"hsv":this.value=`hsva(${e}, ${Math.round(t)}%, ${Math.round(a)}%, ${this.get("alpha")/100})`;break;case"hex":this.value=`${Yt(ea(e,t,a))}${Gt(255*l/100)}`;break;default:{const{r:l,g:n,b:o}=ea(e,t,a);this.value=`rgba(${l}, ${n}, ${o}, ${this.get("alpha")/100})`}}else switch(n){case"hsl":{const l=Kt(e,t/100,a/100);this.value=`hsl(${e}, ${Math.round(100*l[1])}%, ${Math.round(100*l[2])}%)`;break}case"hsv":this.value=`hsv(${e}, ${Math.round(t)}%, ${Math.round(a)}%)`;break;case"rgb":{const{r:l,g:n,b:o}=ea(e,t,a);this.value=`rgb(${l}, ${n}, ${o})`;break}default:this.value=Yt(ea(e,t,a))}}}var aa=f(a({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0},enableAlpha:{type:Boolean,required:!0}},setup(e){const t=n("color-predefine"),{currentColor:a}=h(Wt),l=o(r(e.colors,e.color));function r(t,a){return t.map((t=>{const l=new ta;return l.enableAlpha=e.enableAlpha,l.format="rgba",l.fromString(t),l.selected=l.value===a.value,l}))}return $((()=>a.value),(e=>{const t=new ta;t.fromString(e),l.value.forEach((e=>{e.selected=t.compare(e)}))})),j((()=>{l.value=r(e.colors,e.color)})),{rgbaColors:l,handleSelect:function(t){e.color.fromString(e.colors[t])},ns:t}}}),[["render",function(e,t,a,l,n,o){return i(),u("div",{class:d(e.ns.b())},[m("div",{class:d(e.ns.e("colors"))},[(i(!0),u(D,null,q(e.rgbaColors,((t,a)=>(i(),u("div",{key:e.colors[a],class:d([e.ns.e("color-selector"),e.ns.is("alpha",t._alpha<100),{selected:t.selected}]),onClick:t=>e.handleSelect(a)},[m("div",{style:L({backgroundColor:t.value})},null,4)],10,["onClick"])))),128))],2)],2)}],["__file","predefine.vue"]]);var la=f(a({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup(e){const t=n("color-svpanel"),a=w(),l=o(0),r=o(0),i=o("hsl(0, 100%, 50%)"),u=I((()=>({hue:e.color.get("hue"),value:e.color.get("value")})));function c(){const t=e.color.get("saturation"),n=e.color.get("value"),o=a.vnode.el,{clientWidth:s,clientHeight:u}=o;r.value=t*s/100,l.value=(100-n)*u/100,i.value=`hsl(${e.color.get("hue")}, 100%, 50%)`}function d(t){const n=a.vnode.el.getBoundingClientRect(),{clientX:o,clientY:s}=bt(t);let i=o-n.left,u=s-n.top;i=Math.max(0,i),i=Math.min(i,n.width),u=Math.max(0,u),u=Math.min(u,n.height),r.value=i,l.value=u,e.color.set({saturation:i/n.width*100,value:100-u/n.height*100})}return $((()=>u.value),(()=>{c()})),s((()=>{Ft(a.vnode.el,{drag:e=>{d(e)},end:e=>{d(e)}}),c()})),{cursorTop:l,cursorLeft:r,background:i,colorValue:u,handleDrag:d,update:c,ns:t}}}),[["render",function(e,t,a,l,n,o){return i(),u("div",{class:d(e.ns.b()),style:L({backgroundColor:e.background})},[m("div",{class:d(e.ns.e("white"))},null,2),m("div",{class:d(e.ns.e("black"))},null,2),m("div",{class:d(e.ns.e("cursor")),style:L({top:e.cursorTop+"px",left:e.cursorLeft+"px"})},[m("div")],6)],6)}],["__file","sv-panel.vue"]]);const na=a({name:"ElColorPicker"});const oa=_(f(a({...na,props:Dt,emits:qt,setup(e,{expose:t,emit:a}){const c=e,{t:f}=l(),v=n("color"),{formItem:h}=W(),y=K(),w=U(),{inputId:_,isLabeledByFormItem:C}=X(c,{formItemContext:h}),S=o(),E=o(),V=o(),A=o(),P=o(),O=o(),{isFocused:B,handleFocus:F,handleBlur:R}=G(P,{beforeFocus:()=>w.value,beforeBlur(e){var t;return null==(t=A.value)?void 0:t.isFocusInsideContent(e)},afterBlur(){ve(!1),be()}});let z=!0;const H=Y(new ta({enableAlpha:c.showAlpha,format:c.colorFormat||"",value:c.modelValue})),j=o(!1),D=o(!1),q=o(""),ue=I((()=>c.modelValue||D.value?function(e,t){if(!(e instanceof ta))throw new TypeError("color should be instance of _color Class");const{r:a,g:l,b:n}=e.toRgb();return t?`rgba(${a}, ${l}, ${n}, ${e.get("alpha")/100})`:`rgb(${a}, ${l}, ${n})`}(H,c.showAlpha):"transparent")),ce=I((()=>c.modelValue||D.value?H.value:"")),de=I((()=>C.value?void 0:c.ariaLabel||f("el.colorpicker.defaultLabel"))),pe=I((()=>C.value?null==h?void 0:h.labelId:void 0)),fe=I((()=>[v.b("picker"),v.is("disabled",w.value),v.bm("picker",y.value),v.is("focused",B.value)]));function ve(e){j.value=e}const he=xt(ve,100,{leading:!0});function me(){w.value||ve(!0)}function ge(){he(!1),be()}function be(){J((()=>{c.modelValue?H.fromString(c.modelValue):(H.value="",J((()=>{D.value=!1})))}))}function ye(){w.value||he(!j.value)}function xe(){H.fromString(q.value)}function ke(){const e=H.value;a(N,e),a("change",e),c.validateEvent&&(null==h||h.validate("change").catch((e=>ie()))),he(!1),J((()=>{const e=new ta({enableAlpha:c.showAlpha,format:c.colorFormat||"",value:c.modelValue});H.compare(e)||be()}))}function we(){he(!1),a(N,null),a("change",null),null!==c.modelValue&&c.validateEvent&&(null==h||h.validate("change").catch((e=>ie()))),be()}function _e(){j.value&&(ge(),B.value&&Se())}function Ce(e){e.preventDefault(),e.stopPropagation(),ve(!1),be()}function Me(e){switch(e.code){case T.enter:case T.space:e.preventDefault(),e.stopPropagation(),me(),O.value.focus();break;case T.esc:Ce(e)}}function Se(){P.value.focus()}return s((()=>{c.modelValue&&(q.value=ce.value)})),$((()=>c.modelValue),(e=>{e?e&&e!==H.value&&(z=!1,H.fromString(e)):D.value=!1})),$((()=>[c.colorFormat,c.showAlpha]),(()=>{H.enableAlpha=c.showAlpha,H.format=c.colorFormat||H.format,H.doOnChange(),a(N,H.value)})),$((()=>ce.value),(e=>{q.value=e,z&&a("activeChange",e),z=!0})),$((()=>H.value),(()=>{c.modelValue||D.value||(D.value=!0)})),$((()=>j.value),(()=>{J((()=>{var e,t,a;null==(e=S.value)||e.update(),null==(t=E.value)||t.update(),null==(a=V.value)||a.update()}))})),r(Wt,{currentColor:ce}),t({color:H,show:me,hide:ge,focus:Se,blur:function(){P.value.blur()}}),(e,t)=>(i(),g(p(vt),{ref_key:"popper",ref:A,visible:j.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[p(v).be("picker","panel"),p(v).b("dropdown"),e.popperClass],"stop-popper-mouse-event":!1,effect:"light",trigger:"click",teleported:e.teleported,transition:`${p(v).namespace.value}-zoom-in-top`,persistent:"",onHide:e=>ve(!1)},{content:b((()=>[Z((i(),u("div",{onKeydown:Q(Ce,["esc"])},[m("div",{class:d(p(v).be("dropdown","main-wrapper"))},[ee(jt,{ref_key:"hue",ref:S,class:"hue-slider",color:p(H),vertical:""},null,8,["color"]),ee(la,{ref_key:"sv",ref:E,color:p(H)},null,8,["color"])],2),e.showAlpha?(i(),g(Ht,{key:0,ref_key:"alpha",ref:V,color:p(H)},null,8,["color"])):te("v-if",!0),e.predefine?(i(),g(aa,{key:1,ref:"predefine","enable-alpha":e.showAlpha,color:p(H),colors:e.predefine},null,8,["enable-alpha","color","colors"])):te("v-if",!0),m("div",{class:d(p(v).be("dropdown","btns"))},[m("span",{class:d(p(v).be("dropdown","value"))},[ee(p(ae),{ref_key:"inputRef",ref:O,modelValue:q.value,"onUpdate:modelValue":e=>q.value=e,"validate-event":!1,size:"small",onKeyup:Q(xe,["enter"]),onBlur:xe},null,8,["modelValue","onUpdate:modelValue","onKeyup"])],2),ee(p(le),{class:d(p(v).be("dropdown","link-btn")),text:"",size:"small",onClick:we},{default:b((()=>[ne(k(p(f)("el.colorpicker.clear")),1)])),_:1},8,["class"]),ee(p(le),{plain:"",size:"small",class:d(p(v).be("dropdown","btn")),onClick:ke},{default:b((()=>[ne(k(p(f)("el.colorpicker.confirm")),1)])),_:1},8,["class"])],2)],40,["onKeydown"])),[[p(yt),_e]])])),default:b((()=>[m("div",M({id:p(_),ref_key:"triggerRef",ref:P},e.$attrs,{class:p(fe),role:"button","aria-label":p(de),"aria-labelledby":p(pe),"aria-description":p(f)("el.colorpicker.description",{color:e.modelValue||""}),"aria-disabled":p(w),tabindex:p(w)?-1:e.tabindex,onKeydown:Me,onFocus:p(F),onBlur:p(R)}),[p(w)?(i(),u("div",{key:0,class:d(p(v).be("picker","mask"))},null,2)):te("v-if",!0),m("div",{class:d(p(v).be("picker","trigger")),onClick:ye},[m("span",{class:d([p(v).be("picker","color"),p(v).is("alpha",e.showAlpha)])},[m("span",{class:d(p(v).be("picker","color-inner")),style:L({backgroundColor:p(ue)})},[Z(ee(p(x),{class:d([p(v).be("picker","icon"),p(v).is("icon-arrow-down")])},{default:b((()=>[ee(p(oe))])),_:1},8,["class"]),[[re,e.modelValue||D.value]]),Z(ee(p(x),{class:d([p(v).be("picker","empty"),p(v).is("icon-close")])},{default:b((()=>[ee(p(se))])),_:1},8,["class"]),[[re,!e.modelValue&&!D.value]])],6)],2)],2)],16,["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex","onFocus","onBlur"])])),_:1},8,["visible","popper-class","teleported","transition","onHide"]))}}),[["__file","color-picker.vue"]])),ra=e({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:v(String),default:"solid"}}),sa=a({name:"ElDivider"});const ia=_(f(a({...sa,props:ra,setup(e){const t=e,a=n("divider"),l=I((()=>a.cssVar({"border-style":t.borderStyle})));return(e,t)=>(i(),u("div",{class:d([p(a).b(),p(a).m(e.direction)]),style:L(p(l)),role:"separator"},[e.$slots.default&&"vertical"!==e.direction?(i(),u("div",{key:0,class:d([p(a).e("text"),p(a).is(e.contentPosition)])},[c(e.$slots,"default")],2)):te("v-if",!0)],6))}}),[["__file","divider.vue"]])),ua=e({...wt,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"}}),ca=_t,da=a({name:"ElDrawer",inheritAttrs:!1});const pa=_(f(a({...da,props:ua,emits:ca,setup(e,{expose:t}){const a=e,r=ue();ce({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"},I((()=>!!r.title)));const s=o(),f=o(),v=n("drawer"),{t:h}=l(),{afterEnter:y,afterLeave:w,beforeLeave:_,visible:C,rendered:S,titleId:V,bodyId:A,zIndex:$,onModalClick:T,onOpenAutoFocus:L,onCloseAutoFocus:O,onFocusoutPrevented:B,onCloseRequested:N,handleClose:F}=Ct(a,s),R=I((()=>"rtl"===a.direction||"ltr"===a.direction)),z=I((()=>P(a.size)));return t({handleClose:F,afterEnter:y,afterLeave:w}),(e,t)=>(i(),g(p(kt),{to:e.appendTo,disabled:"body"===e.appendTo&&!e.appendToBody},{default:b((()=>[ee(E,{name:p(v).b("fade"),onAfterEnter:p(y),onAfterLeave:p(w),onBeforeLeave:p(_),persisted:""},{default:b((()=>[Z(ee(p(de),{mask:e.modal,"overlay-class":e.modalClass,"z-index":p($),onClick:p(T)},{default:b((()=>[ee(p(pe),{loop:"",trapped:p(C),"focus-trap-el":s.value,"focus-start-el":f.value,onFocusAfterTrapped:p(L),onFocusAfterReleased:p(O),onFocusoutPrevented:p(B),onReleaseRequested:p(N)},{default:b((()=>[m("div",M({ref_key:"drawerRef",ref:s,"aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:p(V),"aria-describedby":p(A)},e.$attrs,{class:[p(v).b(),e.direction,p(C)&&"open"],style:p(R)?"width: "+p(z):"height: "+p(z),role:"dialog",onClick:fe((()=>{}),["stop"])}),[m("span",{ref_key:"focusStartRef",ref:f,class:d(p(v).e("sr-focus")),tabindex:"-1"},null,2),e.withHeader?(i(),u("header",{key:0,class:d(p(v).e("header"))},[e.$slots.title?c(e.$slots,"title",{key:1},(()=>[te(" DEPRECATED SLOT ")])):c(e.$slots,"header",{key:0,close:p(F),titleId:p(V),titleClass:p(v).e("title")},(()=>[e.$slots.title?te("v-if",!0):(i(),u("span",{key:0,id:p(V),role:"heading","aria-level":e.headerAriaLevel,class:d(p(v).e("title"))},k(e.title),11,["id","aria-level"]))])),e.showClose?(i(),u("button",{key:2,"aria-label":p(h)("el.drawer.close"),class:d(p(v).e("close-btn")),type:"button",onClick:p(F)},[ee(p(x),{class:d(p(v).e("close"))},{default:b((()=>[ee(p(se))])),_:1},8,["class"])],10,["aria-label","onClick"])):te("v-if",!0)],2)):te("v-if",!0),p(S)?(i(),u("div",{key:1,id:p(A),class:d(p(v).e("body"))},[c(e.$slots,"default")],10,["id"])):te("v-if",!0),e.$slots.footer?(i(),u("div",{key:2,class:d(p(v).e("footer"))},[c(e.$slots,"footer")],2)):te("v-if",!0)],16,["aria-label","aria-labelledby","aria-describedby","onClick"])])),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])])),_:3},8,["mask","overlay-class","z-index","onClick"]),[[re,p(C)]])])),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])])),_:3},8,["to","disabled"]))}}),[["__file","drawer.vue"]]));let fa=class{constructor(e,t){this.parent=e,this.domNode=t,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,(t=>{t.addEventListener("keydown",(t=>{let a=!1;switch(t.code){case T.down:this.gotoSubIndex(this.subIndex+1),a=!0;break;case T.up:this.gotoSubIndex(this.subIndex-1),a=!0;break;case T.tab:ve(e,"mouseleave");break;case T.enter:case T.space:a=!0,t.currentTarget.click()}return a&&(t.preventDefault(),t.stopPropagation()),!1}))}))}},va=class{constructor(e,t){this.domNode=e,this.submenu=null,this.submenu=null,this.init(t)}init(e){this.domNode.setAttribute("tabindex","0");const t=this.domNode.querySelector(`.${e}-menu`);t&&(this.submenu=new fa(this,t)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",(e=>{let t=!1;switch(e.code){case T.down:ve(e.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),t=!0;break;case T.up:ve(e.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),t=!0;break;case T.tab:ve(e.currentTarget,"mouseleave");break;case T.enter:case T.space:t=!0,e.currentTarget.click()}t&&e.preventDefault()}))}},ha=class{constructor(e,t){this.domNode=e,this.init(t)}init(e){const t=this.domNode.childNodes;Array.from(t).forEach((t=>{1===t.nodeType&&new va(t,e)}))}};var ma=f(a({name:"ElMenuCollapseTransition",setup(){const e=n("menu");return{listeners:{onBeforeEnter:e=>e.style.opacity="0.2",onEnter(t,a){he(t,`${e.namespace.value}-opacity-transition`),t.style.opacity="1",a()},onAfterEnter(t){me(t,`${e.namespace.value}-opacity-transition`),t.style.opacity=""},onBeforeLeave(t){t.dataset||(t.dataset={}),ge(t,e.m("collapse"))?(me(t,e.m("collapse")),t.dataset.oldOverflow=t.style.overflow,t.dataset.scrollWidth=t.clientWidth.toString(),he(t,e.m("collapse"))):(he(t,e.m("collapse")),t.dataset.oldOverflow=t.style.overflow,t.dataset.scrollWidth=t.clientWidth.toString(),me(t,e.m("collapse"))),t.style.width=`${t.scrollWidth}px`,t.style.overflow="hidden"},onLeave(e){he(e,"horizontal-collapse-transition"),e.style.width=`${e.dataset.scrollWidth}px`}}}}}),[["render",function(e,t,a,l,n,o){return i(),g(E,M({mode:"out-in"},e.listeners),{default:b((()=>[c(e.$slots,"default")])),_:3},16)}],["__file","menu-collapse-transition.vue"]]);function ga(e,t){const a=I((()=>{let a=e.parent;const l=[t.value];for(;"ElMenu"!==a.type.name;)a.props.index&&l.unshift(a.props.index),a=a.parent;return l}));return{parentMenu:I((()=>{let t=e.parent;for(;t&&!["ElMenu","ElSubMenu"].includes(t.type.name);)t=t.parent;return t})),indexPath:a}}function ba(e){return I((()=>{const t=e.backgroundColor;return t?new be(t).shade(20).toString():""}))}const ya=(e,t)=>{const a=n("menu");return I((()=>a.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":ba(e).value||"","active-color":e.activeTextColor||"",level:`${t}`})))},xa=e({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:t},expandOpenIcon:{type:t},collapseCloseIcon:{type:t},collapseOpenIcon:{type:t}}),ka="ElSubMenu";var wa=a({name:ka,props:xa,setup(e,{slots:t,expose:a}){const l=w(),{indexPath:i,parentMenu:u}=ga(l,I((()=>e.index))),c=n("menu"),d=n("sub-menu"),p=h("rootMenu");p||ye(ka,"can not inject root menu");const f=h(`subMenu:${u.value.uid}`);f||ye(ka,"can not inject sub menu");const v=o({}),m=o({});let g;const b=o(!1),y=o(),k=o(null),_=I((()=>"horizontal"===T.value&&M.value?"bottom-start":"right-start")),C=I((()=>"horizontal"===T.value&&M.value||"vertical"===T.value&&!p.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?A.value?e.expandOpenIcon:e.expandCloseIcon:oe:e.collapseCloseIcon&&e.collapseOpenIcon?A.value?e.collapseOpenIcon:e.collapseCloseIcon:xe)),M=I((()=>0===f.level)),S=I((()=>{const t=e.teleported;return void 0===t?M.value:t})),E=I((()=>p.props.collapse?`${c.namespace.value}-zoom-in-left`:`${c.namespace.value}-zoom-in-top`)),V=I((()=>"horizontal"===T.value&&M.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"])),A=I((()=>p.openedMenus.includes(e.index))),P=I((()=>{let e=!1;return Object.values(v.value).forEach((t=>{t.active&&(e=!0)})),Object.values(m.value).forEach((t=>{t.active&&(e=!0)})),e})),T=I((()=>p.props.mode)),L=Y({index:e.index,indexPath:i,active:P}),O=ya(p.props,f.level+1),B=I((()=>{var t;return null!=(t=e.popperOffset)?t:p.props.popperOffset})),N=I((()=>{var t;return null!=(t=e.popperClass)?t:p.props.popperClass})),R=I((()=>{var t;return null!=(t=e.showTimeout)?t:p.props.showTimeout})),z=I((()=>{var t;return null!=(t=e.hideTimeout)?t:p.props.hideTimeout})),H=e=>{var t,a,l;e||null==(l=null==(a=null==(t=k.value)?void 0:t.popperRef)?void 0:a.popperInstanceRef)||l.destroy()},j=()=>{"hover"===p.props.menuTrigger&&"horizontal"===p.props.mode||p.props.collapse&&"vertical"===p.props.mode||e.disabled||p.handleSubMenuClick({index:e.index,indexPath:i.value,active:P.value})},q=(t,a=R.value)=>{var l;"focus"!==t.type&&("click"===p.props.menuTrigger&&"horizontal"===p.props.mode||!p.props.collapse&&"vertical"===p.props.mode||e.disabled?f.mouseInChild.value=!0:(f.mouseInChild.value=!0,null==g||g(),({stop:g}=_e((()=>{p.openMenu(e.index,i.value)}),a)),S.value&&(null==(l=u.value.vnode.el)||l.dispatchEvent(new MouseEvent("mouseenter")))))},W=(t=!1)=>{var a;"click"===p.props.menuTrigger&&"horizontal"===p.props.mode||!p.props.collapse&&"vertical"===p.props.mode?f.mouseInChild.value=!1:(null==g||g(),f.mouseInChild.value=!1,({stop:g}=_e((()=>!b.value&&p.closeMenu(e.index,i.value)),z.value)),S.value&&t&&(null==(a=f.handleMouseleave)||a.call(f,!0)))};$((()=>p.props.collapse),(e=>H(Boolean(e))));{const e=e=>{m.value[e.index]=e},t=e=>{delete m.value[e.index]};r(`subMenu:${l.uid}`,{addSubMenu:e,removeSubMenu:t,handleMouseleave:W,mouseInChild:b,level:f.level+1})}return a({opened:A}),s((()=>{p.addSubMenu(L),f.addSubMenu(L)})),ke((()=>{f.removeSubMenu(L),p.removeSubMenu(L)})),()=>{var a;const n=[null==(a=t.title)?void 0:a.call(t),we(x,{class:d.e("icon-arrow"),style:{transform:A.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&p.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>F(C.value)?we(l.appContext.components[C.value]):we(C.value)})],o=p.isMenuPopup?we(vt,{ref:k,visible:A.value,effect:"light",pure:!0,offset:B.value,showArrow:!1,persistent:!0,popperClass:N.value,placement:_.value,teleported:S.value,fallbackPlacements:V.value,transition:E.value,gpuAcceleration:!1},{content:()=>{var e;return we("div",{class:[c.m(T.value),c.m("popup-container"),N.value],onMouseenter:e=>q(e,100),onMouseleave:()=>W(!0),onFocus:e=>q(e,100)},[we("ul",{class:[c.b(),c.m("popup"),c.m(`popup-${_.value}`)],style:O.value},[null==(e=t.default)?void 0:e.call(t)])])},default:()=>we("div",{class:d.e("title"),onClick:j},n)}):we(D,{},[we("div",{class:d.e("title"),ref:y,onClick:j},n),we(Ot,{},{default:()=>{var e;return Z(we("ul",{role:"menu",class:[c.b(),c.m("inline")],style:O.value},[null==(e=t.default)?void 0:e.call(t)]),[[re,A.value]])}})]);return we("li",{class:[d.b(),d.is("active",P.value),d.is("opened",A.value),d.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:A.value,onMouseenter:q,onMouseleave:()=>W(),onFocus:q},[o])}}});const _a=e({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:v(Array),default:()=>Ce([])},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:t,default:()=>Me},popperEffect:{type:v(String),default:"dark"},popperClass:String,showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300}}),Ca=e=>Ae(e)&&e.every((e=>F(e)));var Ma=a({name:"ElMenu",props:_a,emits:{close:(e,t)=>F(e)&&Ca(t),open:(e,t)=>F(e)&&Ca(t),select:(e,t,a,l)=>F(e)&&Ca(t)&&Ve(a)&&(void 0===l||l instanceof Promise)},setup(e,{emit:t,slots:a,expose:l}){const i=w(),u=i.appContext.config.globalProperties.$router,c=o(),d=n("menu"),p=n("sub-menu"),f=o(-1),v=o(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),h=o(e.defaultActive),m=o({}),g=o({}),b=I((()=>"horizontal"===e.mode||"vertical"===e.mode&&e.collapse)),y=(a,l)=>{v.value.includes(a)||(e.uniqueOpened&&(v.value=v.value.filter((e=>l.includes(e)))),v.value.push(a),t("open",a,l))},k=e=>{const t=v.value.indexOf(e);-1!==t&&v.value.splice(t,1)},_=(e,a)=>{k(e),t("close",e,a)},C=({index:e,indexPath:t})=>{v.value.includes(e)?_(e,t):y(e,t)},M=a=>{("horizontal"===e.mode||e.collapse)&&(v.value=[]);const{index:l,indexPath:n}=a;if(!R(l)&&!R(n))if(e.router&&u){const e=a.route||l,o=u.push(e).then((e=>(e||(h.value=l),e)));t("select",l,n,{index:l,indexPath:n,route:e},o)}else h.value=l,t("select",l,n,{index:l,indexPath:n})},S=()=>{var e,t;if(!c.value)return-1;const a=Array.from(null!=(t=null==(e=c.value)?void 0:e.childNodes)?t:[]).filter((e=>"#comment"!==e.nodeName&&("#text"!==e.nodeName||e.nodeValue))),l=getComputedStyle(c.value),n=Number.parseInt(l.paddingLeft,10),o=Number.parseInt(l.paddingRight,10),r=c.value.clientWidth-n-o;let s=0,i=0;return a.forEach(((e,t)=>{s+=(e=>{const t=getComputedStyle(e),a=Number.parseInt(t.marginLeft,10),l=Number.parseInt(t.marginRight,10);return e.offsetWidth+a+l||0})(e),s<=r-64&&(i=t+1)})),i===a.length?-1:i};let E=!0;const V=()=>{if(f.value===S())return;const e=()=>{f.value=-1,J((()=>{f.value=S()}))};E?e():((e,t=33.34)=>{let a;return()=>{a&&clearTimeout(a),a=setTimeout((()=>{e()}),t)}})(e)(),E=!1};let A;$((()=>e.defaultActive),(t=>{m.value[t]||(h.value=""),(t=>{const a=m.value,l=a[t]||h.value&&a[h.value]||a[e.defaultActive];h.value=l?l.index:t})(t)})),$((()=>e.collapse),(e=>{e&&(v.value=[])})),$(m.value,(()=>{const t=h.value&&m.value[h.value];if(!t||"horizontal"===e.mode||e.collapse)return;t.indexPath.forEach((e=>{const t=g.value[e];t&&y(e,t.indexPath)}))})),j((()=>{"horizontal"===e.mode&&e.ellipsis?A=Se(c,V).stop:null==A||A()}));const P=o(!1);{const t=e=>{g.value[e.index]=e},a=e=>{delete g.value[e.index]},l=e=>{m.value[e.index]=e},n=e=>{delete m.value[e.index]};r("rootMenu",Y({props:e,openedMenus:v,items:m,subMenus:g,activeIndex:h,isMenuPopup:b,addMenuItem:l,removeMenuItem:n,addSubMenu:t,removeSubMenu:a,openMenu:y,closeMenu:_,handleMenuItemClick:M,handleSubMenuClick:C})),r(`subMenu:${i.uid}`,{addSubMenu:t,removeSubMenu:a,mouseInChild:P,level:0})}s((()=>{"horizontal"===e.mode&&new ha(i.vnode.el,d.namespace.value)}));l({open:e=>{const{indexPath:t}=g.value[e];t.forEach((e=>y(e,t)))},close:k,handleResize:V});const T=ya(e,0);return()=>{var l,n;let o=null!=(n=null==(l=a.default)?void 0:l.call(a))?n:[];const r=[];if("horizontal"===e.mode&&c.value){const t=Ee(o),a=-1===f.value?t:t.slice(0,f.value),l=-1===f.value?[]:t.slice(f.value);(null==l?void 0:l.length)&&e.ellipsis&&(o=a,r.push(we(wa,{index:"sub-menu-more",class:p.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>we(x,{class:p.e("icon-more")},{default:()=>we(e.ellipsisIcon)}),default:()=>l})))}const s=e.closeOnClickOutside?[[yt,()=>{v.value.length&&(P.value||(v.value.forEach((e=>{return t("close",e,(a=e,g.value[a].indexPath));var a})),v.value=[]))}]]:[],i=Z(we("ul",{key:String(e.collapse),role:"menubar",ref:c,style:T.value,class:{[d.b()]:!0,[d.m(e.mode)]:!0,[d.m("collapse")]:e.collapse}},[...o,...r]),s);return e.collapseTransition&&"vertical"===e.mode?we(ma,(()=>i)):i}}});const Sa=e({index:{type:v([String,null]),default:null},route:{type:v([String,Object])},disabled:Boolean}),Ea="ElMenuItem";var Va=f(a({name:Ea,components:{ElTooltip:vt},props:Sa,emits:{click:e=>F(e.index)&&Ae(e.indexPath)},setup(e,{emit:t}){const a=w(),l=h("rootMenu"),o=n("menu"),r=n("menu-item");l||ye(Ea,"can not inject root menu");const{parentMenu:i,indexPath:u}=ga(a,Ie(e,"index")),c=h(`subMenu:${i.value.uid}`);c||ye(Ea,"can not inject sub menu");const d=I((()=>e.index===l.activeIndex)),p=Y({index:e.index,indexPath:u,active:d});return s((()=>{c.addSubMenu(p),l.addMenuItem(p)})),ke((()=>{c.removeSubMenu(p),l.removeMenuItem(p)})),{parentMenu:i,rootMenu:l,active:d,nsMenu:o,nsMenuItem:r,handleClick:()=>{e.disabled||(l.handleMenuItemClick({index:e.index,indexPath:u.value,route:e.route}),t("click",p))}}}}),[["render",function(e,t,a,l,n,o){const r=$e("el-tooltip");return i(),u("li",{class:d([e.nsMenuItem.b(),e.nsMenuItem.is("active",e.active),e.nsMenuItem.is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:e.handleClick},["ElMenu"===e.parentMenu.type.name&&e.rootMenu.props.collapse&&e.$slots.title?(i(),g(r,{key:0,effect:e.rootMenu.props.popperEffect,placement:"right","fallback-placements":["left"],persistent:""},{content:b((()=>[c(e.$slots,"title")])),default:b((()=>[m("div",{class:d(e.nsMenu.be("tooltip","trigger"))},[c(e.$slots,"default")],2)])),_:3},8,["effect"])):(i(),u(D,{key:1},[c(e.$slots,"default"),c(e.$slots,"title")],64))],10,["onClick"])}],["__file","menu-item.vue"]]);var Aa=f(a({name:"ElMenuItemGroup",props:{title:String},setup:()=>({ns:n("menu-item-group")})}),[["render",function(e,t,a,l,n,o){return i(),u("li",{class:d(e.ns.b())},[m("div",{class:d(e.ns.e("title"))},[e.$slots.title?c(e.$slots,"title",{key:1}):(i(),u(D,{key:0},[ne(k(e.title),1)],64))],2),m("ul",null,[c(e.$slots,"default")])],2)}],["__file","menu-item-group.vue"]]);const Ia=_(Ma,{MenuItem:Va,MenuItemGroup:Aa,SubMenu:wa}),$a=C(Va);C(Aa);const Pa=C(wa),Ta=Pe("tagsView",(()=>{const e=o([]),t=o([]);function a(t){e.value.some((e=>e.path===t.path))||(t.affix?e.value.unshift(t):e.value.push(t))}function l(e){const a=e.name;t.value.includes(a)||e.keepAlive&&t.value.push(a)}function n(t){return new Promise((a=>{for(const[l,n]of e.value.entries())if(n.path===t.path){e.value.splice(l,1);break}a([...e.value])}))}function r(e){const a=e.name;return new Promise((e=>{const l=t.value.indexOf(a);l>-1&&t.value.splice(l,1),e([...t.value])}))}function s(t){return new Promise((a=>{e.value=e.value.filter((e=>(null==e?void 0:e.affix)||e.path===t.path)),a([...e.value])}))}function i(e){const a=e.name;return new Promise((e=>{const l=t.value.indexOf(a);t.value=l>-1?t.value.slice(l,l+1):[],e([...t.value])}))}return{visitedViews:e,cachedViews:t,addVisitedView:a,addCachedView:l,delVisitedView:n,delCachedView:r,delOtherVisitedViews:s,delOtherCachedViews:i,updateVisitedView:function(t){for(let a of e.value)if(a.path===t.path){a=Object.assign(a,t);break}},addView:function(e){a(e),l(e)},delView:function(a){return new Promise((l=>{n(a),r(a),l({visitedViews:[...e.value],cachedViews:[...t.value]})}))},delOtherViews:function(a){return new Promise((l=>{s(a),i(a),l({visitedViews:[...e.value],cachedViews:[...t.value]})}))},delLeftViews:function(a){return new Promise((l=>{const n=e.value.findIndex((e=>e.path===a.path));-1!==n&&(e.value=e.value.filter(((e,a)=>{if(a>=n||(null==e?void 0:e.affix))return!0;const l=t.value.indexOf(e.name);return l>-1&&t.value.splice(l,1),!1})),l({visitedViews:[...e.value]}))}))},delRightViews:function(t){return new Promise((a=>{const l=e.value.findIndex((e=>e.path===t.path));-1!==l&&(e.value=e.value.filter(((e,t)=>{if(t<=l||(null==e?void 0:e.affix))return!0})),a({visitedViews:[...e.value]}))}))},delAllViews:function(){return new Promise((a=>{const l=e.value.filter((e=>null==e?void 0:e.affix));e.value=l,t.value=[],a({visitedViews:[...e.value],cachedViews:[...t.value]})}))},delAllVisitedViews:function(){return new Promise((t=>{const a=e.value.filter((e=>null==e?void 0:e.affix));e.value=a,t([...e.value])}))},delAllCachedViews:function(){return new Promise((e=>{t.value=[],e([...t.value])}))}}})),La=a({__name:"index",setup(e){const{t:t}=Te(),a=I((()=>[{label:t("sizeSelect.default"),value:Le.DEFAULT},{label:t("sizeSelect.large"),value:Le.LARGE},{label:t("sizeSelect.small"),value:Le.SMALL}])),l=Oe();function n(e){l.changeSize(e),Be.success(t("sizeSelect.message.success"))}return(e,t)=>{const o=mt,r=it,s=ut,c=ct;return i(),g(c,{trigger:"click",onCommand:n},{dropdown:b((()=>[ee(s,null,{default:b((()=>[(i(!0),u(D,null,q(p(a),(e=>(i(),g(r,{key:e.value,disabled:p(l).size==e.value,command:e.value},{default:b((()=>[ne(k(e.label),1)])),_:2},1032,["disabled","command"])))),128))])),_:1})])),default:b((()=>[m("div",null,[ee(o,{"icon-class":"size"})])])),_:1})}}}),Oa={class:"flex"},Ba={class:"flex-center h100% p10px"},Na=["src"],Fa=gt(a({__name:"NavbarRight",setup(e){const t=Oe(),a=Ta(),l=Ne(),n=Fe(),o=Re(),r=ze(),s=I((()=>t.device===He.MOBILE)),{isFullscreen:c,toggle:d}=je();function f(){qe.confirm("确定注销并退出系统吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",lockScroll:!1}).then((()=>{l.logout().then((()=>{a.delAllViews()})).then((()=>{r.push(`/login?redirect=${o.fullPath}`)}))}))}return(e,t)=>{const a=mt,o=La,r=vt,v=dt,h=it,g=$e("router-link"),y=ut,x=ct;return i(),u("div",Oa,[p(s)?te("",!0):(i(),u(D,{key:0},[m("div",{class:"setting-item",onClick:t[0]||(t[0]=(...e)=>p(d)&&p(d)(...e))},[ee(a,{"icon-class":p(c)?"fullscreen-exit":"fullscreen"},null,8,["icon-class"])]),ee(r,{content:e.$t("sizeSelect.tooltip"),effect:"dark",placement:"bottom"},{default:b((()=>[ee(o,{class:"setting-item"})])),_:1},8,["content"]),ee(v,{class:"setting-item"})],64)),ee(x,{class:"setting-item",trigger:"click"},{dropdown:b((()=>[ee(y,null,{default:b((()=>[ee(g,{to:"/system/user/set"},{default:b((()=>[ee(h,null,{default:b((()=>[ne(k(e.$t("navbar.userset")),1)])),_:1})])),_:1}),ee(h,{divided:"",onClick:f},{default:b((()=>[ne(k(e.$t("navbar.logout")),1)])),_:1})])),_:1})])),default:b((()=>[m("div",Ba,[m("img",{src:p(l).user.avatar+"?imageView2/1/w/80/h/80",class:"rounded-full mr-10px w24px w24px"},null,8,Na),m("span",null,k(p(l).user.username),1)])])),_:1}),p(De).showSettings?(i(),u("div",{key:1,class:"setting-item",onClick:t[1]||(t[1]=e=>p(n).settingsVisible=!0)},[ee(a,{"icon-class":"setting"})])):te("",!0)])}}}),[["__scopeId","data-v-1f17927c"]]);function Ra(e,t){void 0===t&&(t={});for(var a=function(e){for(var t=[],a=0;a=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122||95===i))break;r+=e[s++]}if(!r)throw new TypeError("Missing parameter name at ".concat(a));t.push({type:"NAME",index:a,value:r}),a=s}else t.push({type:"CLOSE",index:a,value:e[a++]});else t.push({type:"OPEN",index:a,value:e[a++]});else t.push({type:"ESCAPED_CHAR",index:a++,value:e[a++]});else t.push({type:"MODIFIER",index:a,value:e[a++]})}return t.push({type:"END",index:a,value:""}),t}(e),l=t.prefixes,n=void 0===l?"./":l,o=t.delimiter,r=void 0===o?"/#?":o,s=[],i=0,u=0,c="",d=function(e){if(u-1)return!0}return!1}(a)?"[^".concat(Ha(r),"]+?"):"(?:(?!".concat(Ha(a),")[^").concat(Ha(r),"])+?")};ue.meta&&e.meta.title));(function(e){const t=e&&e.name;if(!t)return!1;return t.toString().trim().toLocaleLowerCase()==="Dashboard".toLocaleLowerCase()})(e[0])||(e=[{path:"/dashboard",meta:{title:"dashboard"}}].concat(e)),a.value=e.filter((e=>e.meta&&e.meta.title&&!1!==e.meta.breadcrumb))}function n(e){const{redirect:a,path:l}=e;a?Xe.push(a).catch((e=>{})):Xe.push((e=>{const{params:a}=t;return za(e)(a)})(l)).catch((e=>{}))}return $((()=>t.path),(e=>{e.startsWith("/redirect/")||l()})),Ke((()=>{l()})),(e,t)=>{const l=Tt,o=Pt;return i(),g(o,{class:"flex-y-center"},{default:b((()=>[ee(Ue,{"enter-active-class":"animate__animated animate__fadeInRight"},{default:b((()=>[(i(!0),u(D,null,q(p(a),((e,t)=>(i(),g(l,{key:e.path},{default:b((()=>["noredirect"===e.redirect||t===p(a).length-1?(i(),u("span",Da,k(p(ja)(e.meta.title)),1)):(i(),u("a",{key:1,onClick:fe((t=>n(e)),["prevent"])},k(p(ja)(e.meta.title)),9,qa))])),_:2},1024)))),128))])),_:1})])),_:1})}}}),[["__scopeId","data-v-6937c6a1"]]),Ka=gt(a({__name:"index",props:{isActive:{required:!0,type:Boolean,default:!1}},emits:["toggleClick"],setup(e,{emit:t}){const a=t;function l(){a("toggleClick")}return(t,a)=>{const n=mt;return i(),u("div",{class:"px-[15px] flex items-center justify-center color-[var(--el-text-color-regular)]",onClick:l},[ee(n,{class:d(["hamburger",{"is-active":e.isActive}]),"icon-class":"indent-decrease"},null,8,["class"])])}}}),[["__scopeId","data-v-dc46f6f8"]]),Ua={class:"flex"},Xa=a({__name:"NavbarLeft",setup(e){const t=Oe();function a(){t.toggleSidebar()}return(e,l)=>{const n=Ka,o=Wa;return i(),u("div",Ua,[ee(n,{"is-active":p(t).sidebar.opened,onToggleClick:a},null,8,["is-active"]),ee(o)])}}}),Ga={class:"navbar-container"};const Ya=gt({},[["render",function(e,t){const a=Xa,l=Fa;return i(),u("div",Ga,[ee(a),ee(l)])}],["__scopeId","data-v-706e4188"]]),Ja={class:"flex flex-wrap justify-around w-full h-12"},Za=gt(a({__name:"LayoutSelect",props:{modelValue:String},emits:["update:modelValue"],setup(e,{emit:t}){const a=t;function l(e){a("update:modelValue",e)}return(t,a)=>{const n=vt;return i(),u("div",Ja,[ee(n,{content:"左侧模式",placement:"bottom"},{default:b((()=>[m("div",{class:d(["layout-item left",{"is-active":e.modelValue===p(Ge).LEFT}]),onClick:a[0]||(a[0]=e=>l(p(Ge).LEFT))},a[3]||(a[3]=[m("div",null,null,-1),m("div",null,null,-1)]),2)])),_:1}),ee(n,{content:"顶部模式",placement:"bottom"},{default:b((()=>[m("div",{class:d(["layout-item top",{"is-active":e.modelValue===p(Ge).TOP}]),onClick:a[1]||(a[1]=e=>l(p(Ge).TOP))},a[4]||(a[4]=[m("div",null,null,-1),m("div",null,null,-1)]),2)])),_:1}),ee(n,{content:"混合模式",placement:"bottom"},{default:b((()=>[m("div",{class:d(["layout-item mix",{"is-active":e.modelValue===p(Ge).MIX}]),onClick:a[2]||(a[2]=e=>l(p(Ge).MIX))},a[5]||(a[5]=[m("div",null,null,-1),m("div",null,null,-1)]),2)])),_:1})])}}}),[["__scopeId","data-v-d50a3d59"]]),Qa=gt(a({__name:"ThemeColorPicker",props:{modelValue:String},emits:["update:modelValue"],setup(e,{emit:t}){const a=t,l=["#409EFF","#ff4500","#ff8c00","#90ee90","#00ced1","#1e90ff","#c71585","rgba(255, 69, 0, 0.68)","rgb(255, 120, 0)","hsva(120, 40, 94)"],n=o(e.modelValue);return $(n,(e=>{a("update:modelValue",e)})),(e,t)=>{const a=oa;return i(),g(a,{modelValue:p(n),"onUpdate:modelValue":t[0]||(t[0]=e=>Ye(n)?n.value=e:null),predefine:l,"popper-class":"theme-picker-dropdown"},null,8,["modelValue"])}}}),[["__scopeId","data-v-ba641afc"]]),el={class:"flex-center"},tl={class:"settings-option"},al={class:"text-xs"},ll={class:"settings-option"},nl={class:"text-xs"},ol={class:"settings-option"},rl={class:"text-xs"},sl={class:"settings-option"},il={class:"text-xs"},ul={class:"settings-option"},cl={class:"text-xs"},dl=gt(a({__name:"index",setup(e){const t=Re(),a=Oe(),l=Fe(),n=Je(),r=I({get:()=>l.settingsVisible,set(){l.settingsVisible=!1}});function s(e){l.changeThemeColor(e)}const u=o(l.theme===Ze.DARK),c=e=>{u.value=e,l.changeTheme(u.value?Ze.DARK:Ze.LIGHT)};function d(e){l.changeLayout(e),e===Ge.MIX?t.name&&function(e){const t=function(e,t){let a={};function l(e,t){if(a[e.name]=t,e.children)for(let a=0;a{const a=ia,n=pt,o=Qa,f=Za,v=pa;return i(),g(v,{modelValue:p(r),"onUpdate:modelValue":t[7]||(t[7]=e=>Ye(r)?r.value=e:null),size:"300",title:e.$t("settings.project")},{default:b((()=>[ee(a,null,{default:b((()=>[ne(k(e.$t("settings.theme")),1)])),_:1}),m("div",el,[ee(n,{modelValue:p(u),"onUpdate:modelValue":t[0]||(t[0]=e=>Ye(u)?u.value=e:null),"active-icon":p(Qe),"inactive-icon":p(et),onChange:c},null,8,["modelValue","active-icon","inactive-icon"])]),ee(a,null,{default:b((()=>[ne(k(e.$t("settings.interface")),1)])),_:1}),m("div",tl,[m("span",al,k(e.$t("settings.themeColor")),1),ee(o,{modelValue:p(l).themeColor,"onUpdate:modelValue":[t[1]||(t[1]=e=>p(l).themeColor=e),s]},null,8,["modelValue"])]),m("div",ll,[m("span",nl,k(e.$t("settings.tagsView")),1),ee(n,{modelValue:p(l).tagsView,"onUpdate:modelValue":t[2]||(t[2]=e=>p(l).tagsView=e)},null,8,["modelValue"])]),m("div",ol,[m("span",rl,k(e.$t("settings.fixedHeader")),1),ee(n,{modelValue:p(l).fixedHeader,"onUpdate:modelValue":t[3]||(t[3]=e=>p(l).fixedHeader=e)},null,8,["modelValue"])]),m("div",sl,[m("span",il,k(e.$t("settings.sidebarLogo")),1),ee(n,{modelValue:p(l).sidebarLogo,"onUpdate:modelValue":t[4]||(t[4]=e=>p(l).sidebarLogo=e)},null,8,["modelValue"])]),m("div",ul,[m("span",cl,k(e.$t("settings.watermark")),1),ee(n,{modelValue:p(l).watermarkEnabled,"onUpdate:modelValue":t[5]||(t[5]=e=>p(l).watermarkEnabled=e)},null,8,["modelValue"])]),ee(a,null,{default:b((()=>[ne(k(e.$t("settings.navigation")),1)])),_:1}),ee(f,{modelValue:p(l).layout,"onUpdate:modelValue":[t[6]||(t[6]=e=>p(l).layout=e),d]},null,8,["modelValue"])])),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-ba435d62"]]),pl={class:"app-main"},fl=gt(a({__name:"index",setup(e){const t=I((()=>Ta().cachedViews));return(e,a)=>{const l=$e("router-view");return i(),u("section",pl,[ee(l,null,{default:b((({Component:e,route:a})=>[ee(E,{"enter-active-class":"animate__animated animate__fadeIn",mode:"out-in"},{default:b((()=>[(i(),g(tt,{include:p(t)},[(i(),g(y(e),{key:a.path}))],1032,["include"]))])),_:2},1024)])),_:1})])}}}),[["__scopeId","data-v-33b10881"]]),vl={viewBox:"0 0 1024 1024",width:"1.2em",height:"1.2em"};const hl={name:"ep-close",render:function(e,t){return i(),u("svg",vl,t[0]||(t[0]=[m("path",{fill:"currentColor",d:"M764.288 214.592L512 466.88L259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512L214.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"},null,-1)]))}};function ml(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function gl(e,t){for(var a,l="",n=0,o=-1,r=0,s=0;s<=e.length;++s){if(s2){var i=l.lastIndexOf("/");if(i!==l.length-1){-1===i?(l="",n=0):n=(l=l.slice(0,i)).length-1-l.lastIndexOf("/"),o=s,r=0;continue}}else if(2===l.length||1===l.length){l="",n=0,o=s,r=0;continue}t&&(l.length>0?l+="/..":l="..",n=2)}else l.length>0?l+="/"+e.slice(o+1,s):l=e.slice(o+1,s),n=s-o-1;o=s,r=0}else 46===a&&-1!==r?++r:r=-1}return l}var bl={resolve:function(){for(var e,t="",a=!1,l=arguments.length-1;l>=-1&&!a;l--){var n;l>=0?n=arguments[l]:(void 0===e&&(e=process.cwd()),n=e),ml(n),0!==n.length&&(t=n+"/"+t,a=47===n.charCodeAt(0))}return t=gl(t,!a),a?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(ml(e),0===e.length)return".";var t=47===e.charCodeAt(0),a=47===e.charCodeAt(e.length-1);return 0!==(e=gl(e,!t)).length||t||(e="."),e.length>0&&a&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return ml(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t0&&(void 0===e?e=a:e+="/"+a)}return void 0===e?".":bl.normalize(e)},relative:function(e,t){if(ml(e),ml(t),e===t)return"";if((e=bl.resolve(e))===(t=bl.resolve(t)))return"";for(var a=1;as){if(47===t.charCodeAt(o+u))return t.slice(o+u+1);if(0===u)return t.slice(o+u)}else n>s&&(47===e.charCodeAt(a+u)?i=u:0===u&&(i=0));break}var c=e.charCodeAt(a+u);if(c!==t.charCodeAt(o+u))break;47===c&&(i=u)}var d="";for(u=a+i+1;u<=l;++u)u!==l&&47!==e.charCodeAt(u)||(0===d.length?d+="..":d+="/..");return d.length>0?d+t.slice(o+i):(o+=i,47===t.charCodeAt(o)&&++o,t.slice(o))},_makeLong:function(e){return e},dirname:function(e){if(ml(e),0===e.length)return".";for(var t=e.charCodeAt(0),a=47===t,l=-1,n=!0,o=e.length-1;o>=1;--o)if(47===(t=e.charCodeAt(o))){if(!n){l=o;break}}else n=!1;return-1===l?a?"/":".":a&&1===l?"//":e.slice(0,l)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');ml(e);var a,l=0,n=-1,o=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var r=t.length-1,s=-1;for(a=e.length-1;a>=0;--a){var i=e.charCodeAt(a);if(47===i){if(!o){l=a+1;break}}else-1===s&&(o=!1,s=a+1),r>=0&&(i===t.charCodeAt(r)?-1==--r&&(n=a):(r=-1,n=s))}return l===n?n=s:-1===n&&(n=e.length),e.slice(l,n)}for(a=e.length-1;a>=0;--a)if(47===e.charCodeAt(a)){if(!o){l=a+1;break}}else-1===n&&(o=!1,n=a+1);return-1===n?"":e.slice(l,n)},extname:function(e){ml(e);for(var t=-1,a=0,l=-1,n=!0,o=0,r=e.length-1;r>=0;--r){var s=e.charCodeAt(r);if(47!==s)-1===l&&(n=!1,l=r+1),46===s?-1===t?t=r:1!==o&&(o=1):-1!==t&&(o=-1);else if(!n){a=r+1;break}}return-1===t||-1===l||0===o||1===o&&t===l-1&&t===a+1?"":e.slice(t,l)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var a=t.dir||t.root,l=t.base||(t.name||"")+(t.ext||"");return a?a===t.root?a+l:a+e+l:l}("/",e)},parse:function(e){ml(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var a,l=e.charCodeAt(0),n=47===l;n?(t.root="/",a=1):a=0;for(var o=-1,r=0,s=-1,i=!0,u=e.length-1,c=0;u>=a;--u)if(47!==(l=e.charCodeAt(u)))-1===s&&(i=!1,s=u+1),46===l?-1===o?o=u:1!==c&&(c=1):-1!==o&&(c=-1);else if(!i){r=u+1;break}return-1===o||-1===s||0===c||1===c&&o===s-1&&o===r+1?-1!==s&&(t.base=t.name=0===r&&n?e.slice(1,s):e.slice(r,s)):(0===r&&n?(t.name=e.slice(1,o),t.base=e.slice(1,s)):(t.name=e.slice(r,o),t.base=e.slice(r,s)),t.ext=e.slice(o,s)),r>0?t.dir=e.slice(0,r-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};bl.posix=bl;var yl=bl;const xl=at(yl),kl={class:"tags-container"},wl=gt(a({__name:"index",setup(e){const{proxy:t}=w(),a=ze(),l=Re(),n=Je(),r=Ta(),c=Oe(),{visitedViews:f}=lt(r),v=Fe(),h=I((()=>v.layout)),y=o({path:"",fullPath:"",name:"",title:"",affix:!1,keepAlive:!1}),x=o([]),_=o(0),C=o(0);$(l,(()=>{var e,t;l.meta.title&&r.addView({name:l.name,title:l.meta.title,path:l.path,fullPath:l.fullPath,affix:null==(e=l.meta)?void 0:e.affix,keepAlive:null==(t=l.meta)?void 0:t.keepAlive}),V()}),{immediate:!0});const M=o(!1);function S(e,t="/"){let a=[];return e.forEach((e=>{var l,n,o,r;const s=yl.resolve(t,e.path);if((null==(l=e.meta)?void 0:l.affix)&&a.push({path:s,fullPath:s,name:String(e.name),title:(null==(n=e.meta)?void 0:n.title)||"no-name",affix:null==(o=e.meta)?void 0:o.affix,keepAlive:null==(r=e.meta)?void 0:r.keepAlive}),e.children){const l=S(e.children,t+e.path);l.length>=1&&(a=[...a,...l])}})),a}function E(){const e=S(n.routes);x.value=e;for(const t of e)t.name&&r.addVisitedView(t)}function V(){J((()=>{var e,t;for(const a of f.value)a.path===l.path&&a.fullPath!==l.fullPath&&r.updateVisitedView({name:l.name,title:l.meta.title||"",path:l.path,fullPath:l.fullPath,affix:null==(e=l.meta)?void 0:e.affix,keepAlive:null==(t=l.meta)?void 0:t.keepAlive})}))}function A(e){return e.path===l.path}function P(e){return null==e?void 0:e.affix}function T(){try{return"/dashboard"===y.value.path||y.value.fullPath===r.visitedViews[1].fullPath}catch(e){return!1}}function O(){try{return y.value.fullPath===r.visitedViews[r.visitedViews.length-1].fullPath}catch(e){return!1}}function B(e,t){const l=e.slice(-1)[0];l&&l.fullPath?a.push(l.fullPath):"Dashboard"===(null==t?void 0:t.name)?a.replace({path:"/redirect"+t.fullPath}):a.push("/")}function N(e){r.delView(e).then((t=>{A(e)&&B(t.visitedViews,e)}))}function F(){r.delLeftViews(y.value).then((e=>{e.visitedViews.find((e=>e.path===l.path))||B(e.visitedViews)}))}function R(){r.delRightViews(y.value).then((e=>{e.visitedViews.find((e=>e.path===l.path))||B(e.visitedViews)}))}function z(){a.push(y.value),r.delOtherViews(y.value).then((()=>{V()}))}function H(){M.value=!1}function j(){H()}$(M,(e=>{e?document.body.addEventListener("click",H):document.body.removeEventListener("click",H)}));return $((()=>l.name),(e=>{e&&(e=>{if("mix"!==h.value)return;const t=function(e,t){let a={};function l(e,t){if(a[e.name]=t,e.children)for(let a=0;a{E()})),(e,l)=>{const n=hl,o=$e("router-link"),s=ht,c=mt;return i(),u("div",kl,[ee(s,{class:"scroll-container",vertical:!1,onWheel:fe(j,["prevent"])},{default:b((()=>[(i(!0),u(D,null,q(p(f),(e=>(i(),g(o,{ref_for:!0,ref:"tagRef",key:e.fullPath,class:d("tags-item "+(A(e)?"active":"")),to:{path:e.path,query:e.query},onMouseup:fe((t=>P(e)?"":N(e)),["middle"]),onContextmenu:fe((a=>function(e,a){const l=null==t?void 0:t.$el.getBoundingClientRect().left,n=(null==t?void 0:t.$el.offsetWidth)-105,o=a.clientX-l+15;_.value=o>n?n:o,"mix"===h.value?C.value=a.clientY-50:C.value=a.clientY,M.value=!0,y.value=e}(e,a)),["prevent"])},{default:b((()=>[ne(k(p(ja)(e.title))+" ",1),P(e)?te("",!0):(i(),g(n,{key:0,class:"close-icon",size:"12px",onClick:fe((t=>N(e)),["prevent","stop"])},null,8,["onClick"]))])),_:2},1032,["class","to","onMouseup","onContextmenu"])))),128))])),_:1}),Z(m("ul",{class:"contextmenu",style:L({left:p(_)+"px",top:p(C)+"px"})},[m("li",{onClick:l[0]||(l[0]=e=>function(e){r.delCachedView(e);const{fullPath:t}=e;J((()=>{a.replace({path:"/redirect"+t})}))}(p(y)))},[ee(c,{"icon-class":"refresh"}),l[3]||(l[3]=ne(" 刷新 "))]),P(p(y))?te("",!0):(i(),u("li",{key:0,onClick:l[1]||(l[1]=e=>N(p(y)))},[ee(c,{"icon-class":"close"}),l[4]||(l[4]=ne(" 关闭 "))])),m("li",{onClick:z},[ee(c,{"icon-class":"close_other"}),l[5]||(l[5]=ne(" 关闭其它 "))]),T()?te("",!0):(i(),u("li",{key:1,onClick:F},[ee(c,{"icon-class":"close_left"}),l[6]||(l[6]=ne(" 关闭左侧 "))])),O()?te("",!0):(i(),u("li",{key:2,onClick:R},[ee(c,{"icon-class":"close_right"}),l[7]||(l[7]=ne(" 关闭右侧 "))])),m("li",{onClick:l[2]||(l[2]=e=>{return t=p(y),void r.delAllViews().then((e=>{B(e.visitedViews,t)}));var t})},[ee(c,{"icon-class":"close_all"}),l[8]||(l[8]=ne(" 关闭所有 "))])],4),[[re,p(M)]])])}}}),[["__scopeId","data-v-d974bf46"]]),_l=a({name:"AppLink",inheritAttrs:!1,__name:"index",props:{to:{type:String,required:!0}},setup(e){const t=e,a=I((()=>nt(t.to))),l=I((()=>a.value?"a":"router-link"));return(t,n)=>{return i(),g(y(p(l)),ot(rt((o=e.to,a.value?{href:o,target:"_blank",rel:"noopener noreferrer"}:{to:o}))),{default:b((()=>[c(t.$slots,"default")])),_:3},16);var o}}}),Cl={key:3,class:"ml-1"},Ml=gt(a({__name:"SidebarMenuItemTitle",props:{icon:{type:String,default:""},title:{type:String,default:""}},setup:e=>(t,a)=>{const l=x,n=mt;return i(),u(D,null,[e.icon&&e.icon.startsWith("el-icon")?(i(),g(l,{key:0,class:"sub-el-icon"},{default:b((()=>[(i(),g(y(e.icon.replace("el-icon-",""))))])),_:1})):e.icon?(i(),g(n,{key:1,"icon-class":e.icon},null,8,["icon-class"])):(i(),g(n,{key:2,"icon-class":"menu"})),e.title?(i(),u("span",Cl,k(p(ja)(e.title)),1)):te("",!0)],64)}}),[["__scopeId","data-v-a3441e49"]]),Sl={key:0},El=a({name:"SidebarMenuItem",inheritAttrs:!1,__name:"SidebarMenuItem",props:{item:{type:Object,required:!0},basePath:{type:String,required:!0},isNest:{type:Boolean,default:!1}},setup(e){const t=e,a=o();function l(e=[],t){const l=e.filter((e=>{var t;return!(null==(t=e.meta)?void 0:t.hidden)&&(e.meta.hidden=!1,a.value=e,!0)}));return 1===l.length||0===l.length&&(a.value={...t,path:"",noShowingChildren:!0},!0)}function n(e){if(nt(e))return e;if(nt(t.basePath))return t.basePath;return xl.resolve(t.basePath,e)}return(t,o)=>{var r;const s=Ml,c=$a,f=_l,v=$e("SidebarMenuItem",!0),h=Pa;return e.item.meta&&e.item.meta.hidden?te("",!0):(i(),u("div",Sl,[!l(e.item.children,e.item)||p(a).children&&!p(a).noShowingChildren||(null==(r=e.item.meta)?void 0:r.alwaysShow)?(i(),g(h,{key:1,index:n(e.item.path),teleported:""},{title:b((()=>[e.item.meta?(i(),g(s,{key:0,icon:e.item.meta&&e.item.meta.icon,title:e.item.meta.title},null,8,["icon","title"])):te("",!0)])),default:b((()=>[(i(!0),u(D,null,q(e.item.children,(e=>(i(),g(v,{key:e.path,"is-nest":!0,item:e,"base-path":n(e.path)},null,8,["item","base-path"])))),128))])),_:1},8,["index"])):(i(),u(D,{key:0},[p(a).meta?(i(),g(f,{key:0,to:n(p(a).path)},{default:b((()=>[ee(c,{index:n(p(a).path),class:d({"submenu-title-noDropdown":!e.isNest})},{default:b((()=>[ee(s,{icon:p(a).meta.icon||e.item.meta&&e.item.meta.icon,title:p(a).meta.title},null,8,["icon","title"])])),_:1},8,["index","class"])])),_:1},8,["to"])):te("",!0)],64))]))}}}),Vl={"sidebar-width":"210px","navbar-height":"50px","menu-background":"var(--menu-background)","menu-text":"var(--menu-text)","menu-active-text":"var(--menu-active-text)","menu-hover":"var(--menu-hover)",dark:"_dark_168i3_12"},Al=a({__name:"SidebarMenu",props:{menuList:{required:!0,default:()=>[],type:Array},basePath:{type:String,required:!0}},setup(e){const t=Fe(),a=Oe(),l=Re(),n=I((()=>t.layout)),o=e;function r(e){if(nt(e))return e;if(nt(o.basePath))return o.basePath;return xl.resolve(o.basePath,e)}return(t,o)=>{const s=El,c=Ia;return i(),g(c,{"default-active":p(l).path,collapse:!p(a).sidebar.opened,"background-color":p(Vl)["menu-background"],"text-color":p(Vl)["menu-text"],"active-text-color":p(Vl)["menu-active-text"],"unique-opened":!1,"collapse-transition":!1,mode:"top"===p(n)?"horizontal":"vertical"},{default:b((()=>[(i(!0),u(D,null,q(e.menuList,(e=>(i(),g(s,{key:e.path,item:e,"base-path":r(e.path),"is-collapse":!p(a).sidebar.opened},null,8,["item","base-path","is-collapse"])))),128))])),_:1},8,["default-active","collapse","background-color","text-color","active-text-color","mode"])}}}),Il={key:1},$l={key:0,class:"ml-1"},Pl=a({__name:"SidebarMixTopMenu",setup(e){const t=Oe(),a=Je(),l=ze(),n=I((()=>t.activeTopMenuPath)),r=o([]),c=e=>{t.activeTopMenu(e),a.setMixLeftMenus(e);const l=a.mixLeftMenus;d(l)},d=e=>{if(0===e.length)return;const[t]=e;t.children&&t.children.length>0?d(t.children):t.name&&l.push({name:t.name})};return s((()=>{r.value=a.routes.filter((e=>!e.meta||!e.meta.hidden))})),(e,t)=>{const a=mt,l=$a,o=Ia,s=ht;return i(),g(s,null,{default:b((()=>[ee(o,{mode:"horizontal","default-active":p(n),"background-color":p(Vl)["menu-background"],"text-color":p(Vl)["menu-text"],"active-text-color":p(Vl)["menu-active-text"],onSelect:c},{default:b((()=>[(i(!0),u(D,null,q(p(r),(e=>(i(),g(l,{key:e.path,index:e.path},{title:b((()=>[e.meta&&e.meta.icon?(i(),g(a,{key:0,"icon-class":e.meta.icon},null,8,["icon-class"])):te("",!0),"/"===e.path?(i(),u("span",Il," 首页 ")):(i(),u(D,{key:2},[e.meta&&e.meta.title?(i(),u("span",$l,k(p(ja)(e.meta.title)),1)):te("",!0)],64))])),_:2},1032,["index"])))),128))])),_:1},8,["default-active","background-color","text-color","active-text-color"])])),_:1})}}}),Tl={class:"logo-container"},Ll=["src"],Ol=["src"],Bl={class:"logo-title"},Nl=gt(a({__name:"SidebarLogo",props:{collapse:{type:Boolean,required:!0}},setup(e){const t=Fe(),a=o(new URL("/static/img/logo.D7mmbp4F.png",import.meta.url).href);return(l,n)=>{const o=$e("router-link");return i(),u("div",Tl,[ee(E,{"enter-active-class":"animate__animated animate__fadeInLeft"},{default:b((()=>[e.collapse?(i(),g(o,{key:0,class:"wh-full flex-center",to:"/"},{default:b((()=>[p(t).sidebarLogo?(i(),u("img",{key:0,src:p(a),class:"logo-image"},null,8,Ll)):te("",!0)])),_:1})):(i(),g(o,{key:1,class:"wh-full flex-center",to:"/"},{default:b((()=>[p(t).sidebarLogo?(i(),u("img",{key:0,src:p(a),class:"logo-image"},null,8,Ol)):te("",!0),m("span",Bl,k(p(De).title),1)])),_:1}))])),_:1})])}}}),[["__scopeId","data-v-f28a1798"]]),Fl={key:0,class:"flex w-full"},Rl=gt(a({__name:"index",setup(e){const t=Oe(),a=Fe(),l=Je(),n=I((()=>a.sidebarLogo)),o=I((()=>a.layout));return(e,a)=>{const r=Nl,s=Pl,c=Fa,f=Al,v=ht;return i(),u("div",{class:d({"has-logo":p(n)})},["mix"==p(o)?(i(),u("div",Fl,[p(n)?(i(),g(r,{key:0,collapse:!p(t).sidebar.opened},null,8,["collapse"])):te("",!0),ee(s,{class:"flex-1"}),ee(c)])):(i(),u(D,{key:1},[p(n)?(i(),g(r,{key:0,collapse:!p(t).sidebar.opened},null,8,["collapse"])):te("",!0),ee(v,null,{default:b((()=>[ee(f,{"menu-list":p(l).routes,"base-path":""},null,8,["menu-list"])])),_:1}),"top"===p(o)?(i(),g(c,{key:1})):te("",!0)],64))],2)}}}),[["__scopeId","data-v-86a32831"]]),zl={key:1,class:"mix-container"},Hl={class:"mix-container__left"},jl={class:"sidebar-toggle"},Dl=gt(a({__name:"index",setup(e){const t=Oe(),a=Fe(),l=Je(),n=I((()=>a.fixedHeader)),o=I((()=>a.tagsView)),r=I((()=>a.layout)),s=I((()=>t.activeTopMenuPath)),c=I((()=>l.mixLeftMenus));$((()=>s.value),(e=>{l.setMixLeftMenus(e)}),{deep:!0,immediate:!0});const f=I((()=>({hideSidebar:!t.sidebar.opened,openSidebar:t.sidebar.opened,mobile:t.device===He.MOBILE,"layout-left":"left"===r.value,"layout-top":"top"===r.value,"layout-mix":"mix"===r.value}))),v=st().width;function h(){t.closeSideBar()}function b(){t.toggleSidebar()}return j((()=>{v.value<992?(t.toggleDevice(He.MOBILE),t.closeSideBar()):(t.toggleDevice(He.DESKTOP),v.value>=1200?t.openSideBar():t.closeSideBar())})),(e,a)=>{const l=Rl,v=Al,y=Ka,x=wl,k=fl,w=dl,_=Ya;return i(),u("div",{class:d(["wh-full",p(f)])},[p(f).mobile&&p(f).openSidebar?(i(),u("div",{key:0,class:"wh-full fixed-lt z-999 bg-black bg-opacity-30",onClick:h})):te("",!0),ee(l,{class:"sidebar-container"}),"mix"===p(r)?(i(),u("div",zl,[m("div",Hl,[ee(v,{"menu-list":p(c),"base-path":p(s)},null,8,["menu-list","base-path"]),m("div",jl,[ee(y,{"is-active":p(t).sidebar.opened,onToggleClick:b},null,8,["is-active"])])]),m("div",{class:d([{hasTagsView:p(o)},"main-container"])},[m("div",{class:d({"fixed-header":p(n)})},[p(o)?(i(),g(x,{key:0})):te("",!0)],2),ee(k),p(De).showSettings?(i(),g(w,{key:0})):te("",!0)],2)])):(i(),u("div",{key:2,class:d([{hasTagsView:p(o)},"main-container"])},[m("div",{class:d({"fixed-header":p(n)})},["left"===p(r)?(i(),g(_,{key:0})):te("",!0),p(o)?(i(),g(x,{key:1})):te("",!0)],2),ee(k),p(De).showSettings?(i(),g(w,{key:0})):te("",!0)],2))],2)}}}),[["__scopeId","data-v-1e94c1cf"]]);export{Dl as default}; diff --git a/static/js/index.BfcEpzPY.js b/static/js/index.BfcEpzPY.js new file mode 100644 index 0000000000000000000000000000000000000000..0c13764cd59f093ecae5201c9517e5fedb6ac32b --- /dev/null +++ b/static/js/index.BfcEpzPY.js @@ -0,0 +1 @@ +import{d as e,r as a,a_ as s,aB as l,aC as o,ax as r,aQ as t,aZ as n,B as i,aD as c,N as d,o as p,e as u,k as m,a0 as g,g as f,aO as h,w as v,a$ as w,c as j,aR as x,aS as _,t as y,aH as b,a4 as C,$ as V,ad as K,a2 as k,a3 as q,aM as E}from"./index.9PHSMUIB.js";import{E as $}from"./el-card.DWbysKpS.js";import{E as z,a as A}from"./el-form-item.UpoTeuOf.js";import{E as D}from"./el-image-viewer.Ck07Xbtu.js";import"./el-tooltip.l0sNRNKZ.js";import{E as R}from"./el-popper.e9kr8u9Q.js";import{S as U}from"./index.B2Hg7VBR.js";import{E as B}from"./el-tag.CLWce1kX.js";import{c as L,_ as O}from"./el-switch.zYake_dz.js";import{_ as H}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./castArray.BN0gQOTw.js";import"./_initCloneObject.cf8iq1wq.js";import"./index.D6nSmJHY.js";import"./debounce.i1DMUZzi.js";import"./position.CopxYfyp.js";import"./isUndefined.DgmxjSXK.js";import"./el-scrollbar.DlPh6Z7D.js";import"./dropdown.CqG_2FXV.js";import"./refs.CNClepWF.js";const I={class:"login-container"},M={class:"absolute-lt flex-x-end p-3 w-full"},S={class:"text-center relative"},G={class:"flex-y-center w-full"},N={class:"flex-y-center w-full"},T={class:"flex-y-center w-full"},F=H(e({__name:"index",setup(e){const H=a("");s().then((e=>{H.value=e.data})).catch((e=>{}));const F=l(),J=o(),{t:Q}=r(),Z=a(J.theme===t.DARK),P=a(!0),W=a(!1),X=a(!1),Y=a(),ee=a(z),{height:ae}=n(),se=a({username:"",password:""}),le=i((()=>({username:[{required:!0,trigger:"blur",message:Q("login.message.username.required")}],password:[{required:!0,trigger:"blur",message:Q("login.message.password.required")},{min:6,message:Q("login.message.password.min"),trigger:"blur"}],captchaCode:[{required:!0,trigger:"blur",message:Q("login.message.captchaCode.required")}]})));function oe(){w().then((({data:e})=>{se.value.captchaKey=e.captchaKey,Y.value=e.captchaBase64}))}const re=c();function te(){ee.value.validate((e=>{e&&(W.value=!0,F.login(se.value).then((()=>{const e=re.query,a=e.redirect??"/",s=Object.keys(e).reduce(((a,s)=>("redirect"!==s&&(a[s]=e[s]),a)),{});E.push({path:a,query:s})})).catch((()=>{oe()})).finally((()=>{W.value=!1})))}))}const ne=()=>{const e=J.theme===t.DARK?t.LIGHT:t.DARK;J.changeTheme(e)};function ie(e){e instanceof KeyboardEvent&&(X.value=e.getModifierState("CapsLock"))}return d((()=>{ae.value<600?P.value=!1:P.value=!0})),p((()=>{oe()})),(e,a)=>{const s=L,l=O,o=B,r=U,t=k,n=A,i=R,c=D,d=q,p=z,w=$;return j(),u("div",I,[m("div",M,[g(s,{modelValue:f(Z),"onUpdate:modelValue":a[0]||(a[0]=e=>h(Z)?Z.value=e:null),"inline-prompt":"","active-icon":f(x),"inactive-icon":f(_),onChange:ne},null,8,["modelValue","active-icon","inactive-icon"]),g(l,{class:"ml-2 cursor-pointer"})]),g(w,{class:"!border-none !bg-transparent !rounded-4% w-100 [m("div",S,[m("h2",null,y(f(b).title),1),g(o,{class:"ml-2 absolute-rt"},{default:v((()=>[C(y(f(H)),1)])),_:1})]),g(p,{ref_key:"loginFormRef",ref:ee,model:f(se),rules:f(le),class:"login-form"},{default:v((()=>[g(n,{prop:"username"},{default:v((()=>[m("div",G,[g(r,{"icon-class":"user",class:"mx-2"}),g(t,{ref:"username",modelValue:f(se).username,"onUpdate:modelValue":a[1]||(a[1]=e=>f(se).username=e),placeholder:e.$t("login.username"),name:"username",size:"large",class:"h-[48px]"},null,8,["modelValue","placeholder"])])])),_:1}),g(i,{visible:f(X),content:e.$t("login.capsLock"),placement:"right"},{default:v((()=>[g(n,{prop:"password"},{default:v((()=>[m("div",N,[g(r,{"icon-class":"lock",class:"mx-2"}),g(t,{modelValue:f(se).password,"onUpdate:modelValue":a[2]||(a[2]=e=>f(se).password=e),placeholder:e.$t("login.password"),type:"password",name:"password",onKeyup:[ie,V(te,["enter"])],size:"large",class:"h-[48px] pr-2","show-password":""},null,8,["modelValue","placeholder"])])])),_:1})])),_:1},8,["visible","content"]),g(n,{prop:"captchaCode"},{default:v((()=>[m("div",T,[g(r,{"icon-class":"captcha",class:"mx-2"}),g(t,{modelValue:f(se).captchaCode,"onUpdate:modelValue":a[3]||(a[3]=e=>f(se).captchaCode=e),"auto-complete":"off",size:"large",class:"flex-1",placeholder:e.$t("login.captchaCode"),onKeyup:V(te,["enter"])},null,8,["modelValue","placeholder"]),g(c,{onClick:oe,src:f(Y),class:"rounded-tr-md rounded-br-md cursor-pointer h-[48px]"},null,8,["src"])])])),_:1}),g(d,{loading:f(W),type:"primary",size:"large",class:"w-full",onClick:K(te,["prevent"])},{default:v((()=>[C(y(e.$t("login.login")),1)])),_:1},8,["loading"])])),_:1},8,["model","rules"])])),_:1})])}}}),[["__scopeId","data-v-ba695567"]]);export{F as default}; diff --git a/static/js/index.BrHL87wj.js b/static/js/index.BrHL87wj.js new file mode 100644 index 0000000000000000000000000000000000000000..cd05c998b091bd51577960ca359d4eca52a60994 --- /dev/null +++ b/static/js/index.BrHL87wj.js @@ -0,0 +1 @@ +import{d as a,aD as e,aE as s,e as r,c as t}from"./index.9PHSMUIB.js";const p=a({__name:"index",setup(a){const p=e(),n=s(),{params:d,query:o}=p,{path:u}=d;return n.replace({path:"/"+u,query:o}),(a,e)=>(t(),r("div"))}});export{p as default}; diff --git a/static/js/index.CM09xEA_.js b/static/js/index.CM09xEA_.js new file mode 100644 index 0000000000000000000000000000000000000000..bf355e31d4bb1a20c94acdda3ac88c7585d10969 --- /dev/null +++ b/static/js/index.CM09xEA_.js @@ -0,0 +1 @@ +import{bd as e}from"./index.9PHSMUIB.js";function t(t){const a=new FormData;return a.append("file",t),e({url:"/api/v1/files",method:"post",data:a,headers:{"Content-Type":"multipart/form-data"}})}function a(t){return e({url:"/api/v1/files",method:"delete",params:{filePath:t}})}export{a as d,t as u}; diff --git a/static/js/index.D6nSmJHY.js b/static/js/index.D6nSmJHY.js new file mode 100644 index 0000000000000000000000000000000000000000..395b9f40cc8a35a1b5d6220eaa94a641ab85b8e5 --- /dev/null +++ b/static/js/index.D6nSmJHY.js @@ -0,0 +1 @@ +import{b as e,h as s,_ as t,d as a,f as o,c as l,l as d,dc as r,s as p}from"./index.9PHSMUIB.js";const i=p(t(a({__name:"teleport",props:e({to:{type:s([String,Object]),required:!0},disabled:Boolean}),setup:e=>(e,s)=>e.disabled?o(e.$slots,"default",{key:0}):(l(),d(r,{key:1,to:e.to},[o(e.$slots,"default")],8,["to"]))}),[["__file","teleport.vue"]]));export{i as E}; diff --git a/static/js/index.D7zGuEZp.js b/static/js/index.D7zGuEZp.js new file mode 100644 index 0000000000000000000000000000000000000000..c337fc4131c049da6c672d115349c694641fa0fd --- /dev/null +++ b/static/js/index.D7zGuEZp.js @@ -0,0 +1 @@ +import{z as n,at as e,ck as t}from"./index.9PHSMUIB.js";const o=new Map;if(n){let n;document.addEventListener("mousedown",(e=>n=e)),document.addEventListener("mouseup",(e=>{if(n){for(const t of o.values())for(const{documentHandler:o}of t)o(e,n);n=void 0}}))}function s(n,o){let s=[];return e(o.arg)?s=o.arg:t(o.arg)&&s.push(o.arg),function(e,t){const a=o.instance.popperRef,d=e.target,i=null==t?void 0:t.target,u=!o||!o.instance,c=!d||!i,l=n.contains(d)||n.contains(i),r=n===d,g=s.length&&s.some((n=>null==n?void 0:n.contains(d)))||s.length&&s.includes(i),f=a&&(a.contains(d)||a.contains(i));u||c||l||r||g||f||o.value(e,t)}}const a={beforeMount(n,e){o.has(n)||o.set(n,[]),o.get(n).push({documentHandler:s(n,e),bindingFn:e.value})},updated(n,e){o.has(n)||o.set(n,[]);const t=o.get(n),a=t.findIndex((n=>n.bindingFn===e.oldValue)),d={documentHandler:s(n,e),bindingFn:e.value};a>=0?t.splice(a,1,d):t.push(d)},unmounted(n){o.delete(n)}};export{a as C}; diff --git a/static/js/index.DNYq9Wso.js b/static/js/index.DNYq9Wso.js new file mode 100644 index 0000000000000000000000000000000000000000..532d44b7e8d14badf7eb789e56ec7bae706da292 --- /dev/null +++ b/static/js/index.DNYq9Wso.js @@ -0,0 +1 @@ +var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};function e(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}var n=function(){return function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}}(),i=new(function(){return function(){this.browser=new n,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="undefined"!=typeof window}}());"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(i.wxa=!0,i.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?i.worker=!0:"undefined"==typeof navigator||0===navigator.userAgent.indexOf("Node.js")?(i.node=!0,i.svgSupported=!0):function(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);i&&(n.firefox=!0,n.version=i[1]);r&&(n.ie=!0,n.version=r[1]);o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18);a&&(n.weChat=!0);e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,i);var r="sans-serif",o="12px "+r;var a=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n=0)h=u*n.length;else for(var c=0;c>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[s]+":0",r[l]+":0",i[1-s]+":auto",r[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,a),l=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var h=t[u].getBoundingClientRect(),c=2*u,p=h.left,d=h.top;a.push(p,d),l=l&&o&&p===o[c]&&d===o[c+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=a,e[i]=n?Nt(s,a):Nt(a,s))}(s,a,o);if(l)return l(t,n,r),!0}return!1}function Bt(t){return"CANVAS"===t.nodeName.toUpperCase()}var Ft=/([&<>"'])/g,Gt={"&":"&","<":"<",">":">",'"':""","'":"'"};function Wt(t){return null==t?"":(t+"").replace(Ft,(function(t,e){return Gt[e]}))}var Ht=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Yt=[],Xt=i.browser.firefox&&+i.browser.version.split(".")[0]<39;function Ut(t,e,n,i){return n=n||{},i?Zt(t,e,n):Xt&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):Zt(t,e,n),n}function Zt(t,e,n){if(i.domSupported&&t.getBoundingClientRect){var r=e.clientX,o=e.clientY;if(Bt(t)){var a=t.getBoundingClientRect();return n.zrX=r-a.left,void(n.zrY=o-a.top)}if(Vt(Yt,t,r,o))return n.zrX=Yt[0],void(n.zrY=Yt[1])}n.zrX=n.zrY=0}function jt(t){return t||window.event}function qt(t,e,n){if(null!=(e=jt(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&Ut(t,r,e,n)}else{Ut(t,e,e,n);var o=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;return 3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var a=e.button;return null==e.which&&void 0!==a&&Ht.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function Kt(t,e,n,i){t.addEventListener(e,n,i)}var $t=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function Jt(t){return 2===t.which||3===t.which}var Qt=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o1&&r&&r.length>1){var a=te(r)/te(o);!isFinite(a)&&(a=1),e.pinchScale=a;var s=[((i=r)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}};function ne(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function ie(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function re(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function oe(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function ae(t,e,n,i){void 0===i&&(i=[0,0]);var r=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],h=Math.sin(n),c=Math.cos(n);return t[0]=r*c+s*h,t[1]=-r*h+s*c,t[2]=o*c+l*h,t[3]=-o*h+c*l,t[4]=c*(a-i[0])+h*(u-i[1])+i[0],t[5]=c*(u-i[1])-h*(a-i[0])+i[1],t}function se(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function le(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}var ue=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}(),he=Math.min,ce=Math.max,pe=new ue,de=new ue,fe=new ue,ge=new ue,ye=new ue,ve=new ue,me=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=he(t.x,this.x),n=he(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=ce(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=ce(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=[1,0,0,1,0,0];return oe(r,r,[-e.x,-e.y]),se(r,r,[n,i]),oe(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,r=i.x,o=i.x+i.width,a=i.y,s=i.y+i.height,l=e.x,u=e.x+e.width,h=e.y,c=e.y+e.height,p=!(of&&(f=x,gf&&(f=_,v=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],o=i[3],a=i[4],s=i[5];return e.x=n.x*r+a,e.y=n.y*o+s,e.width=n.width*r,e.height=n.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}pe.x=fe.x=n.x,pe.y=ge.y=n.y,de.x=ge.x=n.x+n.width,de.y=fe.y=n.y+n.height,pe.transform(i),ge.transform(i),de.transform(i),fe.transform(i),e.x=he(pe.x,de.x,fe.x,ge.x),e.y=he(pe.y,de.y,fe.y,ge.y);var l=ce(pe.x,de.x,fe.x,ge.x),u=ce(pe.y,de.y,fe.y,ge.y);e.width=l-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}(),xe="silent";function _e(){$t(this.event)}var be=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return e(n,t),n.prototype.dispose=function(){},n.prototype.setCursor=function(){},n}(Pt),we=function(){return function(t,e){this.x=t,this.y=e}}(),Se=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Me=new me(0,0,0,0),Ie=function(t){function n(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new we(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new be,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new Lt(a),a}return e(n,t),n.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(k(Se,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},n.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=De(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?new we(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},n.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},n.prototype.resize=function(){this._hovered=new we(0,0)},n.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},n.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},n.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},n.prototype.dispatchToElement=function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,o=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:_e}}(e,t,n);i&&(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"==typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},n.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new we(t,e);if(Ce(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new me(t-s,e-s,a,a),u=i.length-1;u>=0;u--){var h=i[u];h===n||h.ignore||h.ignoreCoarsePointer||h.parent&&h.parent.ignoreCoarsePointer||(Me.copy(h.getBoundingRect()),h.transform&&Me.applyTransform(h.transform),Me.intersect(l)&&o.push(h))}if(o.length)for(var c=Math.PI/12,p=2*Math.PI,d=0;d=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=Te(a,n,i))&&(!e.topTarget&&(e.topTarget=a),s!==xe)){e.target=a;break}}}function De(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}k(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){Ie.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=De(this,r,o);if("mouseup"===t&&a||(i=(n=this.findHover(r,o)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||Mt(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));function Ae(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r=0;)r++;return r-e}function ke(t,e,n,i,r){for(i===e&&i++;i>>1])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function Le(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a>>1);o(t,e[n+h])>0?a=h+1:l=h}return l}function Pe(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a>>1);o(t,e[n+h])<0?l=h:a=h+1}return l}function Oe(t,e){var n,i,r=7,o=0,a=[];function s(s){var l=n[s],u=i[s],h=n[s+1],c=i[s+1];i[s]=u+c,s===o-3&&(n[s+1]=n[s+2],i[s+1]=i[s+2]),o--;var p=Pe(t[h],t,l,u,0,e);l+=p,0!==(u-=p)&&0!==(c=Le(t[l+u-1],t,h,c,c-1,e))&&(u<=c?function(n,i,o,s){var l=0;for(l=0;l=7||d>=7);if(f)break;g<0&&(g=0),g+=2}if((r=g)<1&&(r=1),1===i){for(l=0;l=0;l--)t[d+l]=t[p+l];return void(t[c]=a[h])}var f=r;for(;;){var g=0,y=0,v=!1;do{if(e(a[h],t[u])<0){if(t[c--]=t[u--],g++,y=0,0==--i){v=!0;break}}else if(t[c--]=a[h--],y++,g=0,1==--s){v=!0;break}}while((g|y)=0;l--)t[d+l]=t[p+l];if(0===i){v=!0;break}}if(t[c--]=a[h--],1==--s){v=!0;break}if(0!==(y=s-Le(t[u],a,0,s,s-1,e))){for(s-=y,d=(c-=y)+1,p=(h-=y)+1,l=0;l=7||y>=7);if(v)break;f<0&&(f=0),f+=2}(r=f)<1&&(r=1);if(1===s){for(d=(c-=i)+1,p=(u-=i)+1,l=i-1;l>=0;l--)t[d+l]=t[p+l];t[c]=a[h]}else{if(0===s)throw new Error;for(p=c-(s-1),l=0;l1;){var t=o-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]i[t+1])break;s(t)}},forceMergeRuns:function(){for(;o>1;){var t=o-2;t>0&&i[t-1]=32;)e|=1&t,t>>=1;return t+e}(r);do{if((o=Ae(t,n,i,e))s&&(l=s),ke(t,n,n+l,n+o,e),o=l}a.pushRun(n,o),a.mergeRuns(),r-=o,n+=o}while(0!==r);a.forceMergeRuns()}}}var Ne=!1;function Ee(){Ne||(Ne=!0)}function ze(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var Ve,Be=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=ze}return t.prototype.traverse=function(t,e){for(var n=0;n0&&(u.__clipPaths=[]),isNaN(u.z)&&(Ee(),u.z=0),isNaN(u.z2)&&(Ee(),u.z2=0),isNaN(u.zlevel)&&(Ee(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var h=t.getDecalElement&&t.getDecalElement();h&&this._updateAndAddDisplayable(h,e,n);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,n);var p=t.getTextContent();p&&this._updateAndAddDisplayable(p,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}();Ve=i.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};var Fe={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-Fe.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*Fe.bounceIn(2*t):.5*Fe.bounceOut(2*t-1)+.5}},Ge=Math.pow,We=Math.sqrt,He=1e-8,Ye=1e-4,Xe=We(3),Ue=1/3,Ze=ft(),je=ft(),qe=ft();function Ke(t){return t>-1e-8&&tHe||t<-1e-8}function Je(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function Qe(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function tn(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,h=s*s-3*a*l,c=s*l-9*a*u,p=l*l-3*s*u,d=0;if(Ke(h)&&Ke(c)){if(Ke(s))o[0]=0;else(M=-l/s)>=0&&M<=1&&(o[d++]=M)}else{var f=c*c-4*h*p;if(Ke(f)){var g=c/h,y=-g/2;(M=-s/a+g)>=0&&M<=1&&(o[d++]=M),y>=0&&y<=1&&(o[d++]=y)}else if(f>0){var v=We(f),m=h*s+1.5*a*(-c+v),x=h*s+1.5*a*(-c-v);(M=(-s-((m=m<0?-Ge(-m,Ue):Ge(m,Ue))+(x=x<0?-Ge(-x,Ue):Ge(x,Ue))))/(3*a))>=0&&M<=1&&(o[d++]=M)}else{var _=(2*h*s-3*a*c)/(2*We(h*h*h)),b=Math.acos(_)/3,w=We(h),S=Math.cos(b),M=(-s-2*w*S)/(3*a),I=(y=(-s+w*(S+Xe*Math.sin(b)))/(3*a),(-s+w*(S-Xe*Math.sin(b)))/(3*a));M>=0&&M<=1&&(o[d++]=M),y>=0&&y<=1&&(o[d++]=y),I>=0&&I<=1&&(o[d++]=I)}}return d}function en(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(Ke(a)){if($e(o))(h=-s/o)>=0&&h<=1&&(r[l++]=h)}else{var u=o*o-4*a*s;if(Ke(u))r[0]=-o/(2*a);else if(u>0){var h,c=We(u),p=(-o-c)/(2*a);(h=(-o+c)/(2*a))>=0&&h<=1&&(r[l++]=h),p>=0&&p<=1&&(r[l++]=p)}}return l}function nn(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,h=(l-s)*r+s,c=(h-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=h,o[6]=l,o[7]=i}function rn(t,e,n,i,r,o,a,s,l,u,h){var c,p,d,f,g,y=.005,v=Infinity;Ze[0]=l,Ze[1]=u;for(var m=0;m<1;m+=.05)je[0]=Je(t,n,r,a,m),je[1]=Je(e,i,o,s,m),(f=It(Ze,je))=0&&f=0&&y=1?1:tn(0,i,o,1,t,s)&&Je(0,r,a,1,s[0])}}}var fn=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||pt,this.ondestroy=t.ondestroy||pt,this.onrestart=t.onrestart||pt,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=V(t)?t:Fe[t]||dn(t)},t}(),gn=function(){return function(t){this.value=t}}(),yn=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new gn(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),vn=function(){function t(t){this._list=new yn,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var o=n.len(),a=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=n.head;n.remove(s),delete i[s.key],r=s.value,this._lastRemovedEntry=s}a?a.value=e:a=new gn(e),a.key=t,n.insertEntry(a),i[t]=a}return r},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}(),mn={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 xn(t){return(t=Math.round(t))<0?0:t>255?255:t}function _n(t){return t<0?0:t>1?1:t}function bn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?xn(parseFloat(e)/100*255):xn(parseInt(e,10))}function wn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?_n(parseFloat(e)/100):_n(parseFloat(e))}function Sn(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function Mn(t,e,n){return t+(e-t)*n}function In(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function Tn(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var Cn=new vn(20),Dn=null;function An(t,e){Dn&&Tn(Dn,e),Dn=Cn.put(t,Dn||e.slice())}function kn(t,e){if(t){e=e||[];var n=Cn.get(t);if(n)return Tn(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in mn)return Tn(e,mn[i]),An(t,e),e;var r,o=i.length;if("#"===i.charAt(0))return 4===o||5===o?(r=parseInt(i.slice(1,4),16))>=0&&r<=4095?(In(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===o?parseInt(i.slice(4),16)/15:1),An(t,e),e):void In(e,0,0,0,1):7===o||9===o?(r=parseInt(i.slice(1,7),16))>=0&&r<=16777215?(In(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===o?parseInt(i.slice(7),16)/255:1),An(t,e),e):void In(e,0,0,0,1):void 0;var a=i.indexOf("("),s=i.indexOf(")");if(-1!==a&&s+1===o){var l=i.substr(0,a),u=i.substr(a+1,s-(a+1)).split(","),h=1;switch(l){case"rgba":if(4!==u.length)return 3===u.length?In(e,+u[0],+u[1],+u[2],1):In(e,0,0,0,1);h=wn(u.pop());case"rgb":return u.length>=3?(In(e,bn(u[0]),bn(u[1]),bn(u[2]),3===u.length?h:wn(u[3])),An(t,e),e):void In(e,0,0,0,1);case"hsla":return 4!==u.length?void In(e,0,0,0,1):(u[3]=wn(u[3]),Ln(u,e),An(t,e),e);case"hsl":return 3!==u.length?void In(e,0,0,0,1):(Ln(u,e),An(t,e),e);default:return}}In(e,0,0,0,1)}}function Ln(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=wn(t[1]),r=wn(t[2]),o=r<=.5?r*(i+1):r+i-r*i,a=2*r-o;return In(e=e||[],xn(255*Sn(a,o,n+1/3)),xn(255*Sn(a,o,n)),xn(255*Sn(a,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function Pn(t,e){var n=kn(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return En(n,4===n.length?"rgba":"rgb")}}function On(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=e[r],s=e[o],l=i-r;return n[0]=xn(Mn(a[0],s[0],l)),n[1]=xn(Mn(a[1],s[1],l)),n[2]=xn(Mn(a[2],s[2],l)),n[3]=_n(Mn(a[3],s[3],l)),n}}function Rn(t,e,n,i){var r=kn(t);if(t)return r=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var h=((s-i)/6+l/2)/l,c=((s-r)/6+l/2)/l,p=((s-o)/6+l/2)/l;i===s?e=p-c:r===s?e=1/3+h-p:o===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,n,u];return null!=t[3]&&d.push(t[3]),d}}(r),null!=e&&(r[0]=function(t){return(t=Math.round(t))<0?0:t>360?360:t}(e)),null!=n&&(r[1]=wn(n)),null!=i&&(r[2]=wn(i)),En(Ln(r),"rgba")}function Nn(t,e){var n=kn(t);if(n&&null!=e)return n[3]=_n(e),En(n,"rgba")}function En(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function zn(t,e){var n=kn(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var Vn=new vn(100);function Bn(t){if(B(t)){var e=Vn.get(t);return e||(e=Pn(t,-.1),Vn.put(t,e)),e}if(U(t)){var n=I({},t);return n.colorStops=L(t.colorStops,(function(t){return{offset:t.offset,color:Pn(t.color,-.1)}})),n}return t}var Fn=Math.round;function Gn(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=kn(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var Wn=1e-4;function Hn(t){return t-1e-4}function Yn(t){return Fn(1e3*t)/1e3}function Xn(t){return Fn(1e4*t)/1e4}var Un={left:"start",right:"end",center:"middle",middle:"middle"};function Zn(t){return t&&!!t.image}function jn(t){return Zn(t)||function(t){return t&&!!t.svgElement}(t)}function qn(t){return"linear"===t.type}function Kn(t){return"radial"===t.type}function $n(t){return t&&("linear"===t.type||"radial"===t.type)}function Jn(t){return"url(#"+t+")"}function Qn(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function ti(t){var e=t.x||0,n=t.y||0,i=(t.rotation||0)*dt,r=q(t.scaleX,1),o=q(t.scaleY,1),a=t.skewX||0,s=t.skewY||0,l=[];return(e||n)&&l.push("translate("+e+"px,"+n+"px)"),i&&l.push("rotate("+i+")"),1===r&&1===o||l.push("scale("+r+","+o+")"),(a||s)&&l.push("skew("+Fn(a*dt)+"deg, "+Fn(s*dt)+"deg)"),l.join(" ")}var ei=i.hasGlobalWindow&&V(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"undefined"!=typeof Buffer?function(t){return Buffer.from(t).toString("base64")}:function(t){return null},ni=Array.prototype.slice;function ii(t,e,n){return(e-t)*n+t}function ri(t,e,n,i){for(var r=e.length,o=0;oi?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;sa)i.length=a;else for(var s=o;s=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,o=!1,a=6,s=e;if(A(e)){var l=function(t){return A(t&&t[0])?2:1}(e);a=l,(1===l&&!G(e[0])||2===l&&!G(e[0][0]))&&(o=!0)}else if(G(e)&&!Z(e))a=0;else if(B(e))if(isNaN(+e)){var u=kn(e);u&&(s=u,a=3)}else a=0;else if(U(e)){var h=I({},s);h.colorStops=L(e.colorStops,(function(t){return{offset:t.offset,color:kn(t.color)}})),qn(e)?a=4:Kn(e)&&(a=5),s=h}0===r?this.valType=a:a===this.valType&&6!==a||(o=!0),this.discrete=this.discrete||o;var c={time:t,value:s,rawValue:e,percent:0};return n&&(c.easing=n,c.easingFunc=V(n)?n:Fe[n]||dn(n)),i.push(c),c},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=pi(i),l=ci(i),u=0;u=0&&!(l[n].percent<=e);n--);n=d(n,u-2)}else{for(n=p;ne);n++);n=d(n-1,u-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var f=r.percent-i.percent,g=0===f?1:d((e-i.percent)/f,1);r.easingFunc&&(g=r.easingFunc(g));var y=o?this._additiveValue:c?di:t[h];if(!pi(s)&&!c||y||(y=this._additiveValue=[]),this.discrete)t[h]=g<1?i.rawValue:r.rawValue;else if(pi(s))1===s?ri(y,i[a],r[a],g):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a0&&s.addKeyframe(0,ui(l),i),this._trackKeys.push(a)}s.addKeyframe(t,ui(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r1){var a=o.pop();r.addKeyframe(a.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}();function yi(){return(new Date).getTime()}var vi,mi,xi=function(t){function n(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return e(n,t),n.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},n.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},n.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},n.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},n.prototype.update=function(t){for(var e=yi()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},n.prototype._startLoop=function(){var t=this;this._running=!0,Ve((function e(){t._running&&(Ve(e),!t._paused&&t.update())}))},n.prototype.start=function(){this._running||(this._time=yi(),this._pausedTime=0,this._startLoop())},n.prototype.stop=function(){this._running=!1},n.prototype.pause=function(){this._paused||(this._pauseStart=yi(),this._paused=!0)},n.prototype.resume=function(){this._paused&&(this._pausedTime+=yi()-this._pauseStart,this._paused=!1)},n.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},n.prototype.isFinished=function(){return null==this._head},n.prototype.animate=function(t,e){e=e||{},this.start();var n=new gi(t,e.loop);return this.addAnimator(n),n},n}(Pt),_i=i.domSupported,bi=(mi={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:vi=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:L(vi,(function(t){var e=t.replace("mouse","pointer");return mi.hasOwnProperty(e)?e:t}))}),wi=["mousemove","mouseup"],Si=["pointermove","pointerup"],Mi=!1;function Ii(t){var e=t.pointerType;return"pen"===e||"touch"===e}function Ti(t){t&&(t.zrByTouch=!0)}function Ci(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var Di=function(){return function(t,e){this.stopPropagation=pt,this.stopImmediatePropagation=pt,this.preventDefault=pt,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}}(),Ai={mousedown:function(t){t=qt(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=qt(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=qt(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){Ci(this,(t=qt(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){Mi=!0,t=qt(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){Mi||(t=qt(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){Ti(t=qt(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),Ai.mousemove.call(this,t),Ai.mousedown.call(this,t)},touchmove:function(t){Ti(t=qt(this.dom,t)),this.handler.processGesture(t,"change"),Ai.mousemove.call(this,t)},touchend:function(t){Ti(t=qt(this.dom,t)),this.handler.processGesture(t,"end"),Ai.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&Ai.click.call(this,t)},pointerdown:function(t){Ai.mousedown.call(this,t)},pointermove:function(t){Ii(t)||Ai.mousemove.call(this,t)},pointerup:function(t){Ai.mouseup.call(this,t)},pointerout:function(t){Ii(t)||Ai.mouseout.call(this,t)}};k(["click","dblclick","contextmenu"],(function(t){Ai[t]=function(e){e=qt(this.dom,e),this.trigger(t,e)}}));var ki={pointermove:function(t){Ii(t)||ki.mousemove.call(this,t)},pointerup:function(t){ki.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function Li(t,e){var n=e.domHandlers;i.pointerEventsSupported?k(bi.pointer,(function(i){Oi(e,i,(function(e){n[i].call(t,e)}))})):(i.touchEventsSupported&&k(bi.touch,(function(i){Oi(e,i,(function(r){n[i].call(t,r),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}(e)}))})),k(bi.mouse,(function(i){Oi(e,i,(function(r){r=jt(r),e.touching||n[i].call(t,r)}))})))}function Pi(t,e){function n(n){Oi(e,n,(function(i){i=jt(i),Ci(t,i.target)||(i=function(t,e){return qt(t.dom,new Di(t,e),!0)}(t,i),e.domHandlers[n].call(t,i))}),{capture:!0})}i.pointerEventsSupported?k(Si,n):i.touchEventsSupported||k(wi,n)}function Oi(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,Kt(t.domTarget,e,n,i)}function Ri(t){var e,n,i,r,o=t.mounted;for(var a in o)o.hasOwnProperty(a)&&(e=t.domTarget,n=a,i=o[a],r=t.listenerOpts[a],e.removeEventListener(n,i,r));t.mounted={}}var Ni=function(){return function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e}}(),Ei=function(t){function n(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new Ni(e,Ai),_i&&(i._globalHandlerScope=new Ni(document,ki)),Li(i,i._localHandlerScope),i}return e(n,t),n.prototype.dispose=function(){Ri(this._localHandlerScope),_i&&Ri(this._globalHandlerScope)},n.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},n.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,_i&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?Pi(this,e):Ri(e)}},n}(Pt),zi=1;i.hasGlobalWindow&&(zi=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Vi=zi,Bi="#333",Fi="#ccc",Gi=ne,Wi=5e-5;function Hi(t){return t>Wi||t<-5e-5}var Yi=[],Xi=[],Ui=[1,0,0,1,0,0],Zi=Math.abs,ji=function(){function t(){}var e;return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return Hi(this.rotation)||Hi(this.x)||Hi(this.y)||Hi(this.scaleX-1)||Hi(this.scaleY-1)||Hi(this.skewX)||Hi(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||[1,0,0,1,0,0],e?this.getLocalTransform(n):Gi(n),t&&(e?re(n,t,n):ie(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(Gi(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(Yi);var n=Yi[0]<0?-1:1,i=Yi[1]<0?-1:1,r=((Yi[0]-n)*e+n)/Yi[0]||0,o=((Yi[1]-i)*e+i)/Yi[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||[1,0,0,1,0,0],le(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||[1,0,0,1,0,0],re(Xi,t.invTransform,e),e=Xi);var n=this.originX,i=this.originY;(n||i)&&(Ui[4]=n,Ui[5]=i,re(Xi,e,Ui),Xi[4]-=n,Xi[5]-=i,e=Xi),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&Ct(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&Ct(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&Zi(t[0]-1)>1e-10&&Zi(t[3]-1)>1e-10?Math.sqrt(Zi(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){Ki(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,r=t.scaleX,o=t.scaleY,a=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,h=t.y,c=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(n||i||a||s){var d=n+a,f=i+s;e[4]=-d*r-c*f*o,e[5]=-f*o-p*d*r}else e[4]=e[5]=0;return e[0]=r,e[3]=o,e[1]=p*r,e[2]=c*o,l&&ae(e,e,l),e[4]+=n+u,e[5]+=i+h,e},t.initDefaultProps=((e=t.prototype).scaleX=e.scaleY=e.globalScaleRatio=1,void(e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0)),t}(),qi=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function Ki(t,e){for(var n=0;n=0?parseFloat(t)/100*e:parseFloat(t):t}function or(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,h="left",c="top";if(i instanceof Array)l+=rr(i[0],n.width),u+=rr(i[1],n.height),h=null,c=null;else switch(i){case"left":l-=r,u+=s,h="right",c="middle";break;case"right":l+=r+a,u+=s,c="middle";break;case"top":l+=a/2,u-=r,h="center",c="bottom";break;case"bottom":l+=a/2,u+=o+r,h="center";break;case"inside":l+=a/2,u+=s,h="center",c="middle";break;case"insideLeft":l+=r,u+=s,c="middle";break;case"insideRight":l+=a-r,u+=s,h="right",c="middle";break;case"insideTop":l+=a/2,u+=r,h="center";break;case"insideBottom":l+=a/2,u+=o-r,h="center",c="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,h="right";break;case"insideBottomLeft":l+=r,u+=o-r,c="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,h="right",c="bottom"}return(t=t||{}).x=l,t.y=u,t.align=h,t.verticalAlign=c,t}var ar="__zr_normal__",sr=qi.concat(["ignore"]),lr=P(qi,(function(t,e){return t[e]=!0,t}),{ignore:!1}),ur={},hr=new me(0,0,0,0),cr=function(){function t(t){this.id=_(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var u=hr;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(ur,n,u):or(ur,n,u),r.x=ur.x,r.y=ur.y,o=ur.align,a=ur.verticalAlign;var h=n.origin;if(h&&null!=n.rotation){var c=void 0,p=void 0;"center"===h?(c=.5*u.width,p=.5*u.height):(c=rr(h[0],u.width),p=rr(h[1],u.height)),l=!0,r.originX=-r.x+c+(i?0:u.x),r.originY=-r.y+p+(i?0:u.y)}}null!=n.rotation&&(r.rotation=n.rotation);var d=n.offset;d&&(r.x+=d[0],r.y+=d[1],l||(r.originX=-d[0],r.originY=-d[1]));var f=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),y=void 0,v=void 0,m=void 0;f&&this.canBeInsideText()?(y=n.insideFill,v=n.insideStroke,null!=y&&"auto"!==y||(y=this.getInsideTextFill()),null!=v&&"auto"!==v||(v=this.getInsideTextStroke(y),m=!0)):(y=n.outsideFill,v=n.outsideStroke,null!=y&&"auto"!==y||(y=this.getOutsideFill()),null!=v&&"auto"!==v||(v=this.getOutsideStroke(y),m=!0)),(y=y||"#000")===g.fill&&v===g.stroke&&m===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=y,g.stroke=v,g.autoStroke=m,g.align=o,g.verticalAlign=a,e.setDefaultTextStyle(g)),e.__dirty|=1,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Fi:Bi},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&kn(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,En(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},I(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(W(t))for(var n=R(t),i=0;i0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(ar,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===ar;if(this.hasState()||!r){var o=this.currentStates,a=this.stateTransition;if(!(C(o,t)>=0)||!e&&1!==o.length){var s;if(this.stateProxy&&!r&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||r){r||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||i);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!n&&!this.__inHover&&a&&a.duration>0,a);var u=this._textContent,h=this._textGuide;return u&&u.useState(t,e,n,l),h&&h.useState(t,e,n,l),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),s}b("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s0,d);var f=this._textContent,g=this._textGuide;f&&f.useStates(t,e,c),g&&g.useStates(t,e,c),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=C(i,t),o=C(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var p=0;p0||r.force&&!a.length){var w,S=void 0,M=void 0,I=void 0;if(s){M={},p&&(S={});for(_=0;_=0&&(n.splice(i,0,t),this._doAdd(t))}return this},n.prototype.replace=function(t,e){var n=C(this._children,t);return n>=0&&this.replaceAt(e,n),this},n.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},n.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},n.prototype.remove=function(t){var e=this.__zr,n=this._children,i=C(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},n.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function Mr(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return B(t)?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function Ir(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function Tr(t){return t.sort((function(t,e){return t-e})),t}function Cr(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return function(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}(t)}function Dr(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function Ar(t,e){var n=Math.max(Cr(t),Cr(e)),i=t+e;return n>20?i:Ir(i,n)}var kr=9007199254740991;function Lr(t){var e=2*Math.PI;return(t%e+e)%e}function Pr(t){return t>-1e-4&&t=10&&e++,e}function Er(t,e){var n=Nr(t),i=Math.pow(10,n),r=t/i;return t=(r<1.5?1:r<2.5?2:r<4?3:r<7?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t}function zr(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r}function Vr(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-Infinity,n=1,i=0;i=0||r&&C(r,s)<0)){var l=n.getShallow(s,e);null!=l&&(o[t[a][0]]=l)}}return o}}var Co=To([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),Do=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return Co(this,t,e)},t}(),Ao=new vn(50);function ko(t){if("string"==typeof t){var e=Ao.get(t);return e&&e.image}return t}function Lo(t,e,n,i,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=Ao.get(t),a={hostEl:n,cb:i,cbPayload:r};return o?!Oo(e=o.image)&&o.pending.push(a):((e=s.loadImage(t,Po,Po)).__zrImageSrc=t,Ao.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function Po(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=a;l++)s-=a;var u=Ji(n,e);return u>s&&(n="",u=0),s=t-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=s,r.containerWidth=t,r}function zo(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=Ji(t,i);if(o<=n)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?Vo(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;o=Ji(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function Vo(t,e,n,i){for(var r=0,o=0,a=t.length;o0&&f+i.accumWidth>i.width&&(o=e.split("\n"),c=!0),i.accumWidth=f}else{var g=Xo(e,h,i.width,i.breakAll,i.accumWidth);i.accumWidth=g.accumWidth+d,a=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var y=0;y=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}(t)||!!Ho[t]}function Xo(t,e,n,i,r){for(var o=[],a=[],s="",l="",u=0,h=0,c=0;cn:r+h+d>n)?h?(s||l)&&(f?(s||(s=l,l="",h=u=0),o.push(s),a.push(h-u),l+=p,s="",h=u+=d):(l&&(s+=l,l="",u=0),o.push(s),a.push(h),s=p,h=d)):f?(o.push(l),a.push(u),l=p,u=d):(o.push(p),a.push(d)):(h+=d,f?(l+=p,u+=d):(l&&(s+=l,l="",u=0),s+=p))}else l&&(s+=l,h+=u),o.push(s),a.push(h),s="",l="",u=0,h=0}return o.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(h)),1===o.length&&(h+=r),{accumWidth:h,lines:o,linesWidths:a}}var Uo="__zr_style_"+Math.round(10*Math.random()),Zo={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},jo={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Zo[Uo]=!0;var qo=["z","z2","invisible"],Ko=["invisible"],$o=function(t){function n(e){return t.call(this,e)||this}var i;return e(n,t),n.prototype._init=function(e){for(var n=R(e),i=0;i1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(oa[0]=ia(r)*n+t,oa[1]=na(r)*i+e,aa[0]=ia(o)*n+t,aa[1]=na(o)*i+e,u(s,oa,aa),h(l,oa,aa),(r%=ra)<0&&(r+=ra),(o%=ra)<0&&(o+=ra),r>o&&!a?o+=ra:rr&&(sa[0]=ia(d)*n+t,sa[1]=na(d)*i+e,u(s,sa,s),h(l,sa,l))}var ga={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},ya=[],va=[],ma=[],xa=[],_a=[],ba=[],wa=Math.min,Sa=Math.max,Ma=Math.cos,Ia=Math.sin,Ta=Math.abs,Ca=Math.PI,Da=2*Ca,Aa="undefined"!=typeof Float32Array,ka=[];function La(t){return Math.round(t/Ca*1e8)/1e8%2*Ca}function Pa(t,e){var n=La(t[0]);n<0&&(n+=Da);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=Da?r=n+Da:e&&n-r>=Da?r=n-Da:!e&&n>r?r=n+(Da-La(n-r)):e&&n0&&(this._ux=Ta(n/Vi/t)||0,this._uy=Ta(n/Vi/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(ga.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=Ta(t-this._xi),i=Ta(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(ga.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(ga.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(ga.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),ka[0]=i,ka[1]=r,Pa(ka,o),i=ka[0];var a=(r=ka[1])-i;return this.addData(ga.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=Ma(r)*n+t,this._yi=Ia(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(ga.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(ga.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!Aa||(this.data=new Float32Array(e));for(var n=0;nu.length&&(this._expandData(),u=this.data);for(var h=0;h0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){ma[0]=ma[1]=_a[0]=_a[1]=Number.MAX_VALUE,xa[0]=xa[1]=ba[0]=ba[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,o=0;for(t=0;tn||Ta(y)>i||c===e-1)&&(f=Math.sqrt(A*A+y*y),r=g,o=x);break;case ga.C:var v=t[c++],m=t[c++],x=(g=t[c++],t[c++]),_=t[c++],b=t[c++];f=on(r,o,v,m,g,x,_,b,10),r=_,o=b;break;case ga.Q:f=cn(r,o,v=t[c++],m=t[c++],g=t[c++],x=t[c++],10),r=g,o=x;break;case ga.A:var w=t[c++],S=t[c++],M=t[c++],I=t[c++],T=t[c++],C=t[c++],D=C+T;c+=1,d&&(a=Ma(T)*M+w,s=Ia(T)*I+S),f=Sa(M,I)*wa(Da,Math.abs(C)),r=Ma(D)*M+w,o=Ia(D)*I+S;break;case ga.R:a=r=t[c++],s=o=t[c++],f=2*t[c++]+2*t[c++];break;case ga.Z:var A=a-r;y=s-o;f=Math.sqrt(A*A+y*y),r=a,o=s}f>=0&&(l[h++]=f,u+=f)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,h,c,p=this.data,d=this._ux,f=this._uy,g=this._len,y=e<1,v=0,m=0,x=0;if(!y||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=e*this._pathLen))t:for(var _=0;_0&&(t.lineTo(h,c),x=0),b){case ga.M:n=r=p[_++],i=o=p[_++],t.moveTo(r,o);break;case ga.L:a=p[_++],s=p[_++];var S=Ta(a-r),M=Ta(s-o);if(S>d||M>f){if(y){if(v+(j=l[m++])>u){var I=(u-v)/j;t.lineTo(r*(1-I)+a*I,o*(1-I)+s*I);break t}v+=j}t.lineTo(a,s),r=a,o=s,x=0}else{var T=S*S+M*M;T>x&&(h=a,c=s,x=T)}break;case ga.C:var C=p[_++],D=p[_++],A=p[_++],k=p[_++],L=p[_++],P=p[_++];if(y){if(v+(j=l[m++])>u){nn(r,C,A,L,I=(u-v)/j,ya),nn(o,D,k,P,I,va),t.bezierCurveTo(ya[1],va[1],ya[2],va[2],ya[3],va[3]);break t}v+=j}t.bezierCurveTo(C,D,A,k,L,P),r=L,o=P;break;case ga.Q:C=p[_++],D=p[_++],A=p[_++],k=p[_++];if(y){if(v+(j=l[m++])>u){un(r,C,A,I=(u-v)/j,ya),un(o,D,k,I,va),t.quadraticCurveTo(ya[1],va[1],ya[2],va[2]);break t}v+=j}t.quadraticCurveTo(C,D,A,k),r=A,o=k;break;case ga.A:var O=p[_++],R=p[_++],N=p[_++],E=p[_++],z=p[_++],V=p[_++],B=p[_++],F=!p[_++],G=N>E?N:E,W=Ta(N-E)>.001,H=z+V,Y=!1;if(y)v+(j=l[m++])>u&&(H=z+V*(u-v)/j,Y=!0),v+=j;if(W&&t.ellipse?t.ellipse(O,R,N,E,B,z,H,F):t.arc(O,R,G,z,H,F),Y)break t;w&&(n=Ma(z)*N+O,i=Ia(z)*E+R),r=Ma(H)*N+O,o=Ia(H)*E+R;break;case ga.R:n=r=p[_],i=o=p[_+1],a=p[_++],s=p[_++];var X=p[_++],U=p[_++];if(y){if(v+(j=l[m++])>u){var Z=u-v;t.moveTo(a,s),t.lineTo(a+wa(Z,X),s),(Z-=X)>0&&t.lineTo(a+X,s+wa(Z,U)),(Z-=U)>0&&t.lineTo(a+Sa(X-Z,0),s+U),(Z-=X)>0&&t.lineTo(a,s+Sa(U-Z,0));break t}v+=j}t.rect(a,s,X,U);break;case ga.Z:if(y){var j;if(v+(j=l[m++])>u){I=(u-v)/j;t.lineTo(r*(1-I)+n*I,o*(1-I)+i*I);break t}v+=j}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=ga,t.initDefaultProps=((e=t.prototype)._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,void(e._version=0)),t}();function Ra(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0;if(a>e+s&&a>i+s||at+s&&o>n+s||oe+c&&h>i+c&&h>o+c&&h>s+c||ht+c&&u>n+c&&u>r+c&&u>a+c||ue+u&&l>i+u&&l>o+u||lt+u&&s>n+u&&s>r+u||sn||h+ur&&(r+=Ba);var p=Math.atan2(l,s);return p<0&&(p+=Ba),p>=i&&p<=r||p+Ba>=i&&p+Ba<=r}function Ga(t,e,n,i,r,o){if(o>e&&o>i||or?s:0}var Wa=Oa.CMD,Ha=2*Math.PI;var Ya=[-1,-1,-1],Xa=[-1,-1];function Ua(t,e,n,i,r,o,a,s,l,u){if(u>e&&u>i&&u>o&&u>s||u1&&(h=void 0,h=Xa[0],Xa[0]=Xa[1],Xa[1]=h),f=Je(e,i,o,s,Xa[0]),d>1&&(g=Je(e,i,o,s,Xa[1]))),2===d?ve&&s>i&&s>o||s=0&&h<=1&&(r[l++]=h);else{var u=a*a-4*o*s;if(Ke(u))(h=-a/(2*o))>=0&&h<=1&&(r[l++]=h);else if(u>0){var h,c=We(u),p=(-a-c)/(2*o);(h=(-a+c)/(2*o))>=0&&h<=1&&(r[l++]=h),p>=0&&p<=1&&(r[l++]=p)}}return l}(e,i,o,s,Ya);if(0===l)return 0;var u=ln(e,i,o);if(u>=0&&u<=1){for(var h=0,c=an(e,i,o,u),p=0;pn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);Ya[0]=-l,Ya[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=Ha-1e-4){i=0,r=Ha;var h=o?1:-1;return a>=Ya[0]+t&&a<=Ya[1]+t?h:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=Ha,r+=Ha);for(var p=0,d=0;d<2;d++){var f=Ya[d];if(f+t>a){var g=Math.atan2(s,f);h=o?1:-1;g<0&&(g=Ha+g),(g>=i&&g<=r||g+Ha>=i&&g+Ha<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(h=-h),p+=h)}}return p}function qa(t,e,n,i,r){for(var o,a,s,l,u=t.data,h=t.len(),c=0,p=0,d=0,f=0,g=0,y=0;y1&&(n||(c+=Ga(p,d,f,g,i,r))),m&&(f=p=u[y],g=d=u[y+1]),v){case Wa.M:p=f=u[y++],d=g=u[y++];break;case Wa.L:if(n){if(Ra(p,d,u[y],u[y+1],e,i,r))return!0}else c+=Ga(p,d,u[y],u[y+1],i,r)||0;p=u[y++],d=u[y++];break;case Wa.C:if(n){if(Na(p,d,u[y++],u[y++],u[y++],u[y++],u[y],u[y+1],e,i,r))return!0}else c+=Ua(p,d,u[y++],u[y++],u[y++],u[y++],u[y],u[y+1],i,r)||0;p=u[y++],d=u[y++];break;case Wa.Q:if(n){if(Ea(p,d,u[y++],u[y++],u[y],u[y+1],e,i,r))return!0}else c+=Za(p,d,u[y++],u[y++],u[y],u[y+1],i,r)||0;p=u[y++],d=u[y++];break;case Wa.A:var x=u[y++],_=u[y++],b=u[y++],w=u[y++],S=u[y++],M=u[y++];y+=1;var I=!!(1-u[y++]);o=Math.cos(S)*b+x,a=Math.sin(S)*w+_,m?(f=o,g=a):c+=Ga(p,d,o,a,i,r);var T=(i-x)*w/b+x;if(n){if(Fa(x,_,w,S,S+M,I,e,T,r))return!0}else c+=ja(x,_,w,S,S+M,I,T,r);p=Math.cos(S+M)*b+x,d=Math.sin(S+M)*w+_;break;case Wa.R:if(f=p=u[y++],g=d=u[y++],o=f+u[y++],a=g+u[y++],n){if(Ra(f,g,o,g,e,i,r)||Ra(o,g,o,a,e,i,r)||Ra(o,a,f,a,e,i,r)||Ra(f,a,f,g,e,i,r))return!0}else c+=Ga(o,g,o,a,i,r),c+=Ga(f,a,f,g,i,r);break;case Wa.Z:if(n){if(Ra(p,d,f,g,e,i,r))return!0}else c+=Ga(p,d,f,g,i,r);p=f,d=g}}return n||(s=d,l=g,Math.abs(s-l)<1e-4)||(c+=Ga(p,d,f,g,i,r)||0),0!==c}var Ka=T({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Zo),$a={style:T({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},jo.style)},Ja=qi.concat(["invisible","culling","z","z2","zlevel","parent"]),Qa=function(t){function n(e){return t.call(this,e)||this}var i;return e(n,t),n.prototype.update=function(){var e=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new n;r.buildPath===n.prototype.buildPath&&(r.buildPath=function(t){e.buildPath(t,e.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s.5?Bi:e>.2?"#eee":Fi}if(t)return Fi}return Bi},n.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(B(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())===zn(t,0)<.4)return e}},n.prototype.buildPath=function(t,e,n){},n.prototype.pathUpdated=function(){this.__dirty&=-5},n.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},n.prototype.createPathProxy=function(){this.path=new Oa(!1)},n.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},n.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},n.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||4&this.__dirty)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},n.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,n,i){return qa(t,e,!0,n,i)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return qa(t,0,!1,e,n)}(o,t,e)}return!1},n.prototype.dirtyShape=function(){this.__dirty|=4,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},n.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},n.prototype.animateShape=function(t){return this.animate("shape",t)},n.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},n.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},n.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:I(n,t),this.dirtyShape(),this},n.prototype.shapeChanged=function(){return!!(4&this.__dirty)},n.prototype.createStyle=function(t){return ut(Ka,t)},n.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=I({},this.shape))},n.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=I({},i.shape),I(s,n.shape)):(s=I({},r?this.shape:i.shape),I(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=I({},this.shape);for(var u={},h=R(s),c=0;c0},n.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},n.prototype.createStyle=function(t){return ut(ts,t)},n.prototype.setBoundingRect=function(t){this._rect=t},n.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=tr(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},n.initDefaultProps=void(n.prototype.dirtyRectTolerance=10),n}($o);es.prototype.type="tspan";var ns=T({x:0,y:0},Zo),is={style:T({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},jo.style)};var rs=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.createStyle=function(t){return ut(ns,t)},n.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i,r=(i=e.image)&&"string"!=typeof i&&i.width&&i.height?e.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=e[o];return null==a?r[t]:r[t]/r[o]*a},n.prototype.getWidth=function(){return this._getSize("width")},n.prototype.getHeight=function(){return this._getSize("height")},n.prototype.getAnimationStyleProps=function(){return is},n.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new me(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},n}($o);rs.prototype.type="image";var os=Math.round;function as(t,e,n){if(e){var i=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=i,t.x2=r,t.y1=o,t.y2=a;var s=n&&n.lineWidth;return s?(os(2*i)===os(2*r)&&(t.x1=t.x2=ls(i,s,!0)),os(2*o)===os(2*a)&&(t.y1=t.y2=ls(o,s,!0)),t):t}}function ss(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,a=e.height;t.x=i,t.y=r,t.width=o,t.height=a;var s=n&&n.lineWidth;return s?(t.x=ls(i,s,!0),t.y=ls(r,s,!0),t.width=Math.max(ls(i+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(ls(r+a,s,!1)-t.y,0===a?0:1),t):t}}function ls(t,e,n){if(!e)return t;var i=os(2*t);return(i+os(e))%2==0?i/2:(i+(n?1:-1))/2}var us=function(){return function(){this.x=0,this.y=0,this.width=0,this.height=0}}(),hs={},cs=function(t){function n(e){return t.call(this,e)||this}return e(n,t),n.prototype.getDefaultShape=function(){return new us},n.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=ss(hs,e,this.style);n=a.x,i=a.y,r=a.width,o=a.height,a.r=e.r,e=a}else n=e.x,i=e.y,r=e.width,o=e.height;e.r?function(t,e){var n,i,r,o,a,s=e.x,l=e.y,u=e.width,h=e.height,c=e.r;u<0&&(s+=u,u=-u),h<0&&(l+=h,h=-h),"number"==typeof c?n=i=r=o=c:c instanceof Array?1===c.length?n=i=r=o=c[0]:2===c.length?(n=r=c[0],i=o=c[1]):3===c.length?(n=c[0],i=o=c[1],r=c[2]):(n=c[0],i=c[1],r=c[2],o=c[3]):n=i=r=o=0,n+i>u&&(n*=u/(a=n+i),i*=u/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),i+r>h&&(i*=h/(a=i+r),r*=h/a),n+o>h&&(n*=h/(a=n+o),o*=h/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+h-r),0!==r&&t.arc(s+u-r,l+h-r,r,0,Math.PI/2),t.lineTo(s+o,l+h),0!==o&&t.arc(s+o,l+h-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,i,r,o)},n.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},n}(Qa);cs.prototype.type="rect";var ps={fill:"#000"},ds={style:T({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},jo.style)},fs=function(t){function n(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=ps,n.attr(e),n}return e(n,t),n.prototype.childrenRef=function(){return this._children},n.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;ed&&h){var f=Math.floor(d/l);n=n.slice(0,f)}if(t&&a&&null!=c)for(var g=Eo(c,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),y=0;y0,T=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),C=i.calculatedLineHeight,D=0;Dl&&Wo(n,t.substring(l,u),e,s),Wo(n,i[2],e,s,i[1]),l=Ro.lastIndex}lo){b>0?(m.tokens=m.tokens.slice(0,b),y(m,_,x),n.lines=n.lines.slice(0,v+1)):n.lines=n.lines.slice(0,v);break t}var C=w.width,D=null==C||"auto"===C;if("string"==typeof C&&"%"===C.charAt(C.length-1))P.percentWidth=C,h.push(P),P.contentWidth=Ji(P.text,I);else{if(D){var A=w.backgroundColor,k=A&&A.image;k&&Oo(k=ko(k))&&(P.width=Math.max(P.width,k.width*T/k.height))}var L=f&&null!=r?r-_:null;null!=L&&L=0&&"right"===(C=x[T]).align;)this._placeToken(C,t,b,f,I,"right",y),w-=C.width,I-=C.width,T--;for(M+=(n-(M-d)-(g-I)-w)/2;S<=T;)C=x[S],this._placeToken(C,t,b,f,M+C.width/2,"center",y),M+=C.width,S++;f+=b}},n.prototype._placeToken=function(t,e,n,i,r,a,s){var l=e.rich[t.styleName]||{};l.text=t.text;var u=t.verticalAlign,h=i+n/2;"top"===u?h=i+t.height/2:"bottom"===u&&(h=i+n-t.height/2),!t.isLineHolder&&Ts(l)&&this._renderBackground(l,e,"right"===a?r-t.width:"center"===a?r-t.width/2:r,h-t.height/2,t.width,t.height);var c=!!l.backgroundColor,p=t.textPadding;p&&(r=Ms(r,a,p),h-=t.height/2-p[0]-t.innerHeight/2);var d=this._getOrCreateChild(es),f=d.createStyle();d.useStyle(f);var g=this._defaultStyle,y=!1,v=0,m=Ss("fill"in l?l.fill:"fill"in e?e.fill:(y=!0,g.fill)),x=ws("stroke"in l?l.stroke:"stroke"in e?e.stroke:c||s||g.autoStroke&&!y?null:(v=2,g.stroke)),_=l.textShadowBlur>0||e.textShadowBlur>0;f.text=t.text,f.x=r,f.y=h,_&&(f.shadowBlur=l.textShadowBlur||e.textShadowBlur||0,f.shadowColor=l.textShadowColor||e.textShadowColor||"transparent",f.shadowOffsetX=l.textShadowOffsetX||e.textShadowOffsetX||0,f.shadowOffsetY=l.textShadowOffsetY||e.textShadowOffsetY||0),f.textAlign=a,f.textBaseline="middle",f.font=t.font||o,f.opacity=K(l.opacity,e.opacity,1),xs(f,l),x&&(f.lineWidth=K(l.lineWidth,e.lineWidth,v),f.lineDash=q(l.lineDash,e.lineDash),f.lineDashOffset=e.lineDashOffset||0,f.stroke=x),m&&(f.fill=m);var b=t.contentWidth,w=t.contentHeight;d.setBoundingRect(new me(er(f.x,b,f.textAlign),nr(f.y,w,f.textBaseline),b,w))},n.prototype._renderBackground=function(t,e,n,i,r,o){var a,s,l,u=t.backgroundColor,h=t.borderWidth,c=t.borderColor,p=u&&u.image,d=u&&!p,f=t.borderRadius,g=this;if(d||t.lineHeight||h&&c){(a=this._getOrCreateChild(cs)).useStyle(a.createStyle()),a.style.fill=null;var y=a.shape;y.x=n,y.y=i,y.width=r,y.height=o,y.r=f,a.dirtyShape()}if(d)(l=a.style).fill=u||null,l.fillOpacity=q(t.fillOpacity,1);else if(p){(s=this._getOrCreateChild(rs)).onload=function(){g.dirtyStyle()};var v=s.style;v.image=u.image,v.x=n,v.y=i,v.width=r,v.height=o}h&&c&&((l=a.style).lineWidth=h,l.stroke=c,l.strokeOpacity=q(t.strokeOpacity,1),l.lineDash=t.borderDash,l.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var m=(a||s).style;m.shadowBlur=t.shadowBlur||0,m.shadowColor=t.shadowColor||"transparent",m.shadowOffsetX=t.shadowOffsetX||0,m.shadowOffsetY=t.shadowOffsetY||0,m.opacity=K(t.opacity,e.opacity,1)},n.makeFont=function(t){var e="";return _s(t)&&(e=[t.fontStyle,t.fontWeight,ms(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&tt(e)||t.textFont||t.font},n}($o),gs={left:!0,right:1,center:1},ys={top:1,bottom:1,middle:1},vs=["fontStyle","fontWeight","fontSize","fontFamily"];function ms(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?"12px":t+"px":t}function xs(t,e){for(var n=0;n=0,o=!1;if(t instanceof Qa){var a=Ls(t),s=r&&a.selectFill||a.normalFill,l=r&&a.selectStroke||a.normalStroke;if(Gs(s)||Gs(l)){var u=(i=i||{}).style||{};"inherit"===u.fill?(o=!0,i=I({},i),(u=I({},u)).fill=s):!Gs(u.fill)&&Gs(s)?(o=!0,i=I({},i),(u=I({},u)).fill=Bn(s)):!Gs(u.stroke)&&Gs(l)&&(o||(i=I({},i),u=I({},u)),u.stroke=Bn(l)),i.style=u}}if(i&&null==i.z2){o||(i=I({},i));var h=t.z2EmphasisLift;i.z2=t.z2+(null!=h?h:Ns)}return i}(this,0,e,n);if("blur"===t)return function(t,e,n){var i=C(t.currentStates,e)>=0,r=t.style.opacity,o=i?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}}))})),e}function gl(t,e,n){bl(t,!0),Ks(t,Qs),vl(t,e,n)}function yl(t,e,n,i){i?function(t){bl(t,!1)}(t):gl(t,e,n)}function vl(t,e,n){var i=Cs(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var ml=["emphasis","blur","select"],xl={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function _l(t,e,n,i){n=n||"itemStyle";for(var r=0;r1&&(a*=kl(f),s*=kl(f));var g=(r===o?-1:1)*kl((a*a*(s*s)-a*a*(d*d)-s*s*(p*p))/(a*a*(d*d)+s*s*(p*p)))||0,y=g*a*d/s,v=g*-s*p/a,m=(t+n)/2+Pl(c)*y-Ll(c)*v,x=(e+i)/2+Ll(c)*y+Pl(c)*v,_=El([1,0],[(p-y)/a,(d-v)/s]),b=[(p-y)/a,(d-v)/s],w=[(-1*p-y)/a,(-1*d-v)/s],S=El(b,w);if(Nl(b,w)<=-1&&(S=Ol),Nl(b,w)>=1&&(S=0),S<0){var M=Math.round(S/Ol*1e6)/1e6;S=2*Ol+M%2*Ol}h.addData(u,m,x,a,s,_,S,c,o)}var Vl=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,Bl=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var Fl=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.applyTransform=function(t){},n}(Qa);function Gl(t){return null!=t.setData}function Wl(t,e){var n=function(t){var e=new Oa;if(!t)return e;var n,i=0,r=0,o=i,a=r,s=Oa.CMD,l=t.match(Vl);if(!l)return e;for(var u=0;uk*k+L*L&&(M=T,I=C),{cx:M,cy:I,x0:-h,y0:-c,x1:M*(r/b-1),y1:I*(r/b-1)}}function su(t,e){var n,i=iu(e.r,0),r=iu(e.r0||0,0),o=i>0;if(o||r>0){if(o||(i=r,r=0),r>i){var a=i;i=r,r=a}var s=e.startAngle,l=e.endAngle;if(!isNaN(s)&&!isNaN(l)){var u=e.cx,h=e.cy,c=!!e.clockwise,p=eu(l-s),d=p>Kl&&p%Kl;if(d>ou&&(p=d),i>ou)if(p>Kl-ou)t.moveTo(u+i*Jl(s),h+i*$l(s)),t.arc(u,h,i,s,l,!c),r>ou&&(t.moveTo(u+r*Jl(l),h+r*$l(l)),t.arc(u,h,r,l,s,c));else{var f=void 0,g=void 0,y=void 0,v=void 0,m=void 0,x=void 0,_=void 0,b=void 0,w=void 0,S=void 0,M=void 0,I=void 0,T=void 0,C=void 0,D=void 0,A=void 0,k=i*Jl(s),L=i*$l(s),P=r*Jl(l),O=r*$l(l),R=p>ou;if(R){var N=e.cornerRadius;N&&(f=(n=function(t){var e;if(z(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(N))[0],g=n[1],y=n[2],v=n[3]);var E=eu(i-r)/2;if(m=ru(E,y),x=ru(E,v),_=ru(E,f),b=ru(E,g),M=w=iu(m,x),I=S=iu(_,b),(w>ou||S>ou)&&(T=i*Jl(l),C=i*$l(l),D=r*Jl(s),A=r*$l(s),pou){var X=ru(y,M),U=ru(v,M),Z=au(D,A,k,L,i,X,c),j=au(T,C,P,O,i,U,c);t.moveTo(u+Z.cx+Z.x0,h+Z.cy+Z.y0),M0&&t.arc(u+Z.cx,h+Z.cy,X,tu(Z.y0,Z.x0),tu(Z.y1,Z.x1),!c),t.arc(u,h,i,tu(Z.cy+Z.y1,Z.cx+Z.x1),tu(j.cy+j.y1,j.cx+j.x1),!c),U>0&&t.arc(u+j.cx,h+j.cy,U,tu(j.y1,j.x1),tu(j.y0,j.x0),!c))}else t.moveTo(u+k,h+L),t.arc(u,h,i,s,l,!c);else t.moveTo(u+k,h+L);if(r>ou&&R)if(I>ou){X=ru(f,I),Z=au(P,O,T,C,r,-(U=ru(g,I)),c),j=au(k,L,D,A,r,-X,c);t.lineTo(u+Z.cx+Z.x0,h+Z.cy+Z.y0),I0&&t.arc(u+Z.cx,h+Z.cy,U,tu(Z.y0,Z.x0),tu(Z.y1,Z.x1),!c),t.arc(u,h,r,tu(Z.cy+Z.y1,Z.cx+Z.x1),tu(j.cy+j.y1,j.cx+j.x1),c),X>0&&t.arc(u+j.cx,h+j.cy,X,tu(j.y1,j.x1),tu(j.y0,j.x0),!c))}else t.lineTo(u+P,h+O),t.arc(u,h,r,l,s,c);else t.lineTo(u+P,h+O)}else t.moveTo(u,h);t.closePath()}}}var lu=function(){return function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0}}(),uu=function(t){function n(e){return t.call(this,e)||this}return e(n,t),n.prototype.getDefaultShape=function(){return new lu},n.prototype.buildPath=function(t,e){su(t,e)},n.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},n}(Qa);uu.prototype.type="sector";var hu=function(){return function(){this.cx=0,this.cy=0,this.r=0,this.r0=0}}(),cu=function(t){function n(e){return t.call(this,e)||this}return e(n,t),n.prototype.getDefaultShape=function(){return new hu},n.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},n}(Qa);function pu(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i){var o=function(t,e,n,i){var r,o,a,s,l=[],u=[],h=[],c=[];if(i){a=[Infinity,Infinity],s=[-Infinity,-Infinity];for(var p=0,d=t.length;pLu[1]){if(a=!1,r)return a;var u=Math.abs(Lu[0]-ku[1]),h=Math.abs(ku[0]-Lu[1]);Math.min(u,h)>i.len()&&(u0){var c={duration:h.duration,delay:h.delay||0,easing:h.easing,done:o,force:!!o||!!a,setToFinal:!u,scope:t,during:a};l?e.animateFrom(n,c):e.animateTo(n,c)}else e.stopAnimation(),!l&&e.attr(n),a&&a(1),o&&o()}function Fu(t,e,n,i,r,o){Bu("update",t,e,n,i,r,o)}function Gu(t,e,n,i,r,o){Bu("enter",t,e,n,i,r,o)}function Wu(t){if(!t.__zr)return!0;for(var e=0;eMath.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function uh(t){return!t.isGroup}function hh(t,e,n){if(t&&e){var i,r=(i={},t.traverse((function(t){uh(t)&&t.anid&&(i[t.anid]=t)})),i);e.traverse((function(t){if(uh(t)&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),Fu(t,i,n,Cs(t).dataIndex)}}}))}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=I({},t.shape)),e}}function ch(t,e){return L(t,(function(t){var n=t[0];n=Zu(n,e.x),n=ju(n,e.x+e.width);var i=t[1];return i=Zu(i,e.y),[n,i=ju(i,e.y+e.height)]}))}function ph(t,e,n){var i=I({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),T(r,n),new rs(i)):Qu(t.replace("path://",""),i,n,"center")}function dh(t,e,n,i,r){for(var o=0,a=r[r.length-1];o=-1e-6)return!1;var f=t-r,g=e-o,y=gh(f,g,u,h)/d;if(y<0||y>1)return!1;var v=gh(f,g,c,p)/d;return!(v<0||v>1)}function gh(t,e,n,i){return t*i-n*e}function yh(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=B(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&k(R(l),(function(t){ct(s,t)||(s[t]=l[t],s.$vars.push(t))}));var u=Cs(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:T({content:i,encodeHTMLContent:!0,formatterParams:s},r)}}function vh(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function mh(t,e){if(t)if(z(t))for(var n=0;n=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}},createIcon:ph,extendPath:function(t,e){return Ku(t,e)},extendShape:function(t){return Qa.extend(t)},getShapeClass:Ju,getTransform:ah,groupTransition:hh,initProps:Gu,isElementRemoved:Wu,lineLineIntersect:fh,linePolygonIntersect:dh,makeImage:th,makePath:Qu,mergePath:nh,registerShape:$u,removeElement:Hu,removeElementWithFadeOut:Xu,resizePath:ih,setTooltipConfig:yh,subPixelOptimize:oh,subPixelOptimizeLine:rh,subPixelOptimizeRect:function(t){return ss(t.shape,t.shape,t.style),t},transformDirection:lh,traverseElements:mh,updateProps:Fu},Symbol.toStringTag,{value:"Module"}));var _h={};function bh(t,e){for(var n=0;n-1?$h:Qh;function ic(t,e){t=t.toUpperCase(),ec[t]=new Zh(e),tc[t]=e}function rc(t){return ec[t]}ic(Jh,{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:". "}}}}),ic($h,{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 oc=1e3,ac=6e4,sc=36e5,lc=864e5,uc=31536e6,hc={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}"},cc="{yyyy}-{MM}-{dd}",pc={year:"{yyyy}",month:"{yyyy}-{MM}",day:cc,hour:cc+" "+hc.hour,minute:cc+" "+hc.minute,second:cc+" "+hc.second,millisecond:hc.none},dc=["year","month","day","hour","minute","second","millisecond"],fc=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function gc(t,e){return"0000".substr(0,e-(t+="").length)+t}function yc(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function vc(t){return t===yc(t)}function mc(t,e,n,i){var r=Rr(t),o=r[bc(n)](),a=r[wc(n)]()+1,s=Math.floor((a-1)/3)+1,l=r[Sc(n)](),u=r["get"+(n?"UTC":"")+"Day"](),h=r[Mc(n)](),c=(h-1)%12+1,p=r[Ic(n)](),d=r[Tc(n)](),f=r[Cc(n)](),g=h>=12?"pm":"am",y=g.toUpperCase(),v=(i instanceof Zh?i:rc(i||nc)||ec[Qh]).getModel("time"),m=v.get("month"),x=v.get("monthAbbr"),_=v.get("dayOfWeek"),b=v.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,g+"").replace(/{A}/g,y+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,gc(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,m[a-1]).replace(/{MMM}/g,x[a-1]).replace(/{MM}/g,gc(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,gc(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,_[u]).replace(/{ee}/g,b[u]).replace(/{e}/g,u+"").replace(/{HH}/g,gc(h,2)).replace(/{H}/g,h+"").replace(/{hh}/g,gc(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,gc(p,2)).replace(/{m}/g,p+"").replace(/{ss}/g,gc(d,2)).replace(/{s}/g,d+"").replace(/{SSS}/g,gc(f,3)).replace(/{S}/g,f+"")}function xc(t,e){var n=Rr(t),i=n[wc(e)]()+1,r=n[Sc(e)](),o=n[Mc(e)](),a=n[Ic(e)](),s=n[Tc(e)](),l=0===n[Cc(e)](),u=l&&0===s,h=u&&0===a,c=h&&0===o,p=c&&1===r;return p&&1===i?"year":p?"month":c?"day":h?"hour":u?"minute":l?"second":"millisecond"}function _c(t,e,n){var i=G(t)?Rr(t):t;switch(e=e||xc(t,n)){case"year":return i[bc(n)]();case"half-year":return i[wc(n)]()>=6?1:0;case"quarter":return Math.floor((i[wc(n)]()+1)/4);case"month":return i[wc(n)]();case"day":return i[Sc(n)]();case"half-day":return i[Mc(n)]()/24;case"hour":return i[Mc(n)]();case"minute":return i[Ic(n)]();case"second":return i[Tc(n)]();case"millisecond":return i[Cc(n)]()}}function bc(t){return t?"getUTCFullYear":"getFullYear"}function wc(t){return t?"getUTCMonth":"getMonth"}function Sc(t){return t?"getUTCDate":"getDate"}function Mc(t){return t?"getUTCHours":"getHours"}function Ic(t){return t?"getUTCMinutes":"getMinutes"}function Tc(t){return t?"getUTCSeconds":"getSeconds"}function Cc(t){return t?"getUTCMilliseconds":"getMilliseconds"}function Dc(t){return t?"setUTCFullYear":"setFullYear"}function Ac(t){return t?"setUTCMonth":"setMonth"}function kc(t){return t?"setUTCDate":"setDate"}function Lc(t){return t?"setUTCHours":"setHours"}function Pc(t){return t?"setUTCMinutes":"setMinutes"}function Oc(t){return t?"setUTCSeconds":"setSeconds"}function Rc(t){return t?"setUTCMilliseconds":"setMilliseconds"}function Nc(t){if(!Fr(t))return B(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function Ec(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var zc=J;function Vc(t,e,n){function i(t){return t&&tt(t)?t:"-"}function r(t){return!(null==t||isNaN(t)||!isFinite(t))}var o="time"===e,a=t instanceof Date;if(o||a){var s=o?Rr(t):t;if(!isNaN(+s))return mc(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(a)return"-"}if("ordinal"===e)return F(t)?i(t):G(t)&&r(t)?t+"":"-";var l=Br(t);return r(l)?Nc(l):F(t)?i(t):"boolean"==typeof t?t+"":"-"}var Bc=["a","b","c","d","e","f","g"],Fc=function(t,e){return"{"+t+(null==e?"":e)+"}"};function Gc(t,e,n){z(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],o=0;oi||l.newline?(o=0,h=g,a+=s+n,s=p.height):s=Math.max(s,p.height)}else{var y=p.height+(f?-f.y+p.y:0);(c=a+y)>r||l.newline?(o+=s+n,a=0,c=y,s=p.width):s=Math.max(s,p.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=h+n:a=c+n)}))}var jc=Zc;function qc(t,e,n){n=zc(n||0);var i=e.width,r=e.height,o=Mr(t.left,i),a=Mr(t.top,r),s=Mr(t.right,i),l=Mr(t.bottom,r),u=Mr(t.width,i),h=Mr(t.height,r),c=n[2]+n[0],p=n[1]+n[3],d=t.aspect;switch(isNaN(u)&&(u=i-s-p-o),isNaN(h)&&(h=r-l-c-a),null!=d&&(isNaN(u)&&isNaN(h)&&(d>i/r?u=.8*i:h=.8*r),isNaN(u)&&(u=d*h),isNaN(h)&&(h=u/d)),isNaN(o)&&(o=i-s-u-p),isNaN(a)&&(a=r-l-h-c),t.left||t.right){case"center":o=i/2-u/2-n[3];break;case"right":o=i-u-p}switch(t.top||t.bottom){case"middle":case"center":a=r/2-h/2-n[0];break;case"bottom":a=r-h-c}o=o||0,a=a||0,isNaN(u)&&(u=i-p-o-(s||0)),isNaN(h)&&(h=r-c-a-(l||0));var f=new me(o+n[3],a+n[0],u,h);return f.margin=n,f}function Kc(t,e,n,i,r,o){var a,s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||"all";if((o=o||t).x=t.x,o.y=t.y,!s&&!l)return!1;if("raw"===u)a="group"===t.type?new me(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(a=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();(a=a.clone()).applyTransform(h)}var c=qc(T({width:a.width,height:a.height},e),n,i),p=s?c.x-a.x:0,d=l?c.y-a.y:0;return"raw"===u?(o.x=p,o.y=d):(o.x+=p,o.y+=d),o===t&&t.markRedraw(),!0}function $c(t){var e=t.layoutMode||t.constructor.layoutMode;return W(e)?e:e?{type:e}:null}function Jc(t,e,n){var i=n&&n.ignoreSize;!z(i)&&(i=[i,i]);var r=a(Uc[0],0),o=a(Uc[1],1);function a(n,r){var o={},a=0,u={},h=0;if(Yc(n,(function(e){u[e]=t[e]})),Yc(n,(function(t){s(e,t)&&(o[t]=u[t]=e[t]),l(o,t)&&a++,l(u,t)&&h++})),i[r])return l(e,n[1])?u[n[2]]=null:l(e,n[2])&&(u[n[1]]=null),u;if(2!==h&&a){if(a>=2)return o;for(var c=0;c=0;a--)o=S(o,n[a],!0);e.defaultOption=o}return e.defaultOption},n.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return po(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},n.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},n.prototype.getZLevelKey=function(){return""},n.prototype.setZLevel=function(t){this.option.zlevel=t},n.protoInitialize=((i=n.prototype).type="component",i.id="",i.name="",i.mainType="",i.subType="",void(i.componentIndex=0)),n}(Zh);bo(np,Zh),Io(np),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=xo(t);e[i.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var o=xo(n).main;t.hasSubTypes(n)&&e[o]&&(r=e[o](i))}return r}}(np),function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,i,r,o){if(t.length){var a=function(t){var i={},r=[];return k(t,(function(o){var a=n(i,o),s=function(t,e){var n=[];return k(t,(function(t){C(e,t)>=0&&n.push(t)})),n}(a.originalDeps=e(o),t);a.entryCount=s.length,0===a.entryCount&&r.push(o),k(s,(function(t){C(a.predecessor,t)<0&&a.predecessor.push(t);var e=n(i,t);C(e.successor,t)<0&&e.successor.push(o)}))})),{graph:i,noEntryList:r}}(i),s=a.graph,l=a.noEntryList,u={};for(k(t,(function(t){u[t]=!0}));l.length;){var h=l.pop(),c=s[h],p=!!u[h];p&&(r.call(o,h,c.originalDeps.slice()),delete u[h]),k(c.successor,p?f:d)}k(u,(function(){throw new Error("")}))}function d(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function f(t){u[t]=!0,d(t)}}}(np,(function(t){var e=[];k(np.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=L(e,(function(t){return xo(t).main})),"dataset"!==t&&C(e,"dataset")<=0&&e.unshift("dataset");return e}));var ip="";"undefined"!=typeof navigator&&(ip=navigator.platform||"");var rp="rgba(0, 0, 0, 0.2)";const op={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:rp,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:rp,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:rp,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:rp,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:rp,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:rp,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:ip.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 ap=st(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),sp="original",lp="arrayRows",up="objectRows",hp="keyedColumns",cp="typedArray",pp="unknown",dp="column",fp="row",gp=1,yp=2,vp=3,mp=ao();function xp(t,e,n){var i={},r=bp(e);if(!r||!t)return i;var o,a,s=[],l=[],u=e.ecModel,h=mp(u).datasetMap,c=r.uid+"_"+n.seriesLayoutBy;k(t=t.slice(),(function(e,n){var r=W(e)?e:t[n]={name:e};"ordinal"===r.type&&null==o&&(o=n,a=f(r)),i[r.name]=[]}));var p=h.get(c)||h.set(c,{categoryWayDim:a,valueWayDim:0});function d(t,e,n){for(var i=0;ie)return t[i];return t[n-1]}(i,a):n;if((h=h||n)&&h.length){var c=h[l];return r&&(u[r]=c),s.paletteIdx=(l+1)%h.length,c}}var Op="\0_ec_inner",Rp=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new Zh(i),this._locale=new Zh(r),this._optionManager=o},n.prototype.setOption=function(t,e,n){var i=zp(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},n.prototype.resetOption=function(t,e){return this._resetOption(t,zp(e))},n.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):Cp(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=i.getMediaOption(this);a.length&&k(a,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},n.prototype.mergeOption=function(t){this._mergeOption(t,null)},n.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,o=[],a=st(),s=e&&e.replaceMergeMainTypeMap;mp(this).datasetMap=st(),k(t,(function(t,e){null!=t&&(np.hasClass(e)?e&&(o.push(e),a.set(e,!0)):n[e]=null==n[e]?w(t):S(n[e],t,!0))})),s&&s.each((function(t,e){np.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))})),np.topologicalTravel(o,np.getAllClassMainTypes(),(function(e){var o=function(t,e,n){var i=Mp.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}(this,e,jr(t[e])),a=i.get(e),l=a?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll",u=Qr(a,o,l);(function(t,e,n){k(t,(function(t){var i=t.newOption;W(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,i){return e.type?e.type:n?n.subType:i.determineSubType(t,e)}(e,i,t.existing,n))}))})(u,e,np),n[e]=null,i.set(e,null),r.set(e,0);var h,c=[],p=[],d=0;k(u,(function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,a=np.getClass(e,t.keyInfo.subType,!o);if(!a)return;if("tooltip"===e){if(h)return;h=!0}if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var s=I({componentIndex:n},t.keyInfo);I(i=new a(r,this,this,s),s),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(c.push(i.option),p.push(i),d++):(c.push(void 0),p.push(void 0))}),this),n[e]=c,i.set(e,p),r.set(e,d),"series"===e&&Ip(this)}),this),this._seriesIndices||Ip(this)},n.prototype.getOption=function(){var t=w(this.option);return k(t,(function(e,n){if(np.hasClass(n)){for(var i=jr(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!ro(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}})),delete t[Op],t},n.prototype.getTheme=function(){return this._theme},n.prototype.getLocaleModel=function(){return this._locale},n.prototype.setUpdatePayload=function(t){this._payload=t},n.prototype.getUpdatePayload=function(){return this._payload},n.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r=e:"max"===n?t<=e:t===e})(i[a],t,o)||(r=!1)}})),r}var Xp=k,Up=W,Zp=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function jp(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=Zp.length;n=0;g--){var y=t[g];if(s||(p=y.data.rawIndexOf(y.stackedByDimension,c)),p>=0){var v=y.data.getByRawIndex(y.stackResultDimension,p);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&d>=0&&v>0||"samesign"===l&&d<=0&&v<0){d=Ar(d,v),f=v;break}}}return i[0]=d,i[1]=f,i}))}))}var pd,dd,fd,gd,yd,vd=function(){return function(t){this.data=t.data||(t.sourceFormat===hp?{}:[]),this.sourceFormat=t.sourceFormat||pp,this.seriesLayoutBy=t.seriesLayoutBy||dp,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;nu&&(u=d)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""})):void 0},t.prototype.getRawValue=function(t,e){return Ed(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function Bd(t){var e,n;return W(t)?t.type&&(n=t):e=t,{text:e,frag:n}}function Fd(t){return new Gd(t)}var Gd=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var o,a=h(this._modBy),s=this._modDataCount||0,l=h(t&&t.modBy),u=t&&t.modDataCount||0;function h(t){return!(t>=1)&&(t=1),t}a===l&&s===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=l,this._modDataCount=u;var c=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):Infinity,this._progress){var p=this._dueIndex,d=Math.min(null!=c?this._dueIndex+c:Infinity,this._dueEnd);if(!i&&(o||p1&&i>0?s:a}};return o;function a(){return e=t?null:oe},gte:function(t,e){return t>=e}},Zd=function(){function t(t,e){if(!G(e)){Yr("")}this._opFn=Ud[t],this._rvalFloat=Br(e)}return t.prototype.evaluate=function(t){return G(t)?this._opFn(t,this._rvalFloat):this._opFn(Br(t),this._rvalFloat)},t}(),jd=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-Infinity:Infinity}return t.prototype.evaluate=function(t,e){var n=G(t)?t:Br(t),i=G(e)?e:Br(e),r=isNaN(n),o=isNaN(i);if(r&&(n=this._incomparable),o&&(i=this._incomparable),r&&o){var a=B(t),s=B(e);a&&(n=s?t:0),s&&(i=a?e:0)}return ni?-this._resultLT:0},t}(),qd=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=Br(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=Br(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function Kd(t,e){return"eq"===t||"ne"===t?new qd("eq"===t,e):ct(Ud,t)?new Zd(t,e):null}var $d=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return Hd(t,e)},t}();function Jd(t){if(!of(t.sourceFormat)){Yr("")}return t.data}function Qd(t){var e=t.sourceFormat,n=t.data;if(!of(e)){Yr("")}if(e===lp){for(var i=[],r=0,o=n.length;r65535?lf:uf}function ff(t,e,n,i,r){var o=pf[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;ug[1]&&(g[1]=f)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=L(o,(function(t){return t.property})),u=0;uy[1]&&(y[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks[t],r=[];if(!i)return r;null==n&&(n=Infinity);for(var o=Infinity,a=-1,s=0,l=0,u=this.count();l=0&&a<0)&&(o=c,a=h,s=0),h===a&&(r[s++]=l))}return r.length=s,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r=u&&x<=h||isNaN(x))&&(a[s++]=d),d++}p=!0}else if(2===r){f=c[i[0]];var y=c[i[1]],v=t[i[1]][0],m=t[i[1]][1];for(g=0;g=u&&x<=h||isNaN(x))&&(_>=v&&_<=m||isNaN(_))&&(a[s++]=d),d++}p=!0}}if(!p)if(1===r)for(g=0;g=u&&x<=h||isNaN(x))&&(a[s++]=b)}else for(g=0;gt[M][1])&&(w=!1)}w&&(a[s++]=e.getRawIndex(g))}return sy[1]&&(y[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),h=this.getRawIndex(0),c=new(df(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));c[l++]=h;for(var p=1;pn&&(n=i,r=I)}M>0&&M<_-x&&(c[l++]=Math.min(S,r),r=Math.max(S,r)),c[l++]=r,h=r}return c[l++]=this.getRawIndex(s-1),o._count=l,o._indices=c,o.getRawIndex=this._getRawIdx,o},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),h=r._rawExtent[t]=[Infinity,-Infinity],c=new(df(this._rawCount))(Math.ceil(u/s)),p=0,d=0;du-d&&(s=u-d,a.length=s);for(var f=0;fh[1]&&(h[1]=y),c[p++]=v}return r._count=p,r._indices=c,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();ra&&(a=l)}return i=[o,a],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return Hd(t[i],this._dimensions[i])}af={arrayRows:t,objectRows:function(t,e,n,i){return Hd(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return Hd(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),yf=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(mf(n)){var o=n,a=void 0,s=void 0,l=void 0;if(r){var u=i[0];u.prepareSource(),a=(l=u.getSource()).data,s=l.sourceFormat,e=[u._getVersionSign()]}else s=Y(a=o.get("data",!0))?cp:sp,e=[];var h=this._getSourceMetaRawOption()||{},c=l&&l.metaRawOption||{},p=q(h.seriesLayoutBy,c.seriesLayoutBy)||null,d=q(h.sourceHeader,c.sourceHeader),f=q(h.dimensions,c.dimensions);t=p!==c.seriesLayoutBy||!!d!=!!c.sourceHeader||f?[xd(a,{seriesLayoutBy:p,sourceHeader:d,dimensions:f},s)]:[]}else{var g=n;if(r){var y=this._applyTransform(i);t=y.sourceList,e=y.upstreamSignList}else{t=[xd(g.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);if(null!=r){1!==t.length&&xf("")}var o,a=[],s=[];return k(t,(function(t){t.prepareSource();var e=t.getSource(r||0);null==r||e||xf(""),a.push(e),s.push(t._getVersionSign())})),i?e=function(t,e){var n=jr(t),i=n.length;i||Yr("");for(var r=0,o=i;r1||n>0&&!t.noHeader;return k(t.blocks,(function(t){var n=Cf(t);n>=e&&(e=n+ +(i&&(!n||If(t)&&!t.noHeader)))})),e}return 0}function Df(t,e,n,i){var r,o=e.noHeader,a=(r=Cf(e),{html:wf[r],richText:Sf[r]}),s=[],l=e.blocks||[];Q(!l||z(l)),l=l||[];var u=t.orderMode;if(e.sortBlocks&&u){l=l.slice();var h={valueAsc:"asc",valueDesc:"desc"};if(ct(h,u)){var c=new jd(h[u],null);l.sort((function(t,e){return c.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===u&&l.reverse()}k(l,(function(n,r){var o=e.valueFormatter,l=Tf(n)(o?I(I({},t),{valueFormatter:o}):t,n,r>0?a.html:0,i);null!=l&&s.push(l)}));var p="richText"===t.renderMode?s.join(a.richText):Lf(s.join(""),o?n:a.html);if(o)return p;var d=Vc(e.header,"ordinal",t.useUTC),f=bf(i,t.renderMode).nameStyle;return"richText"===t.renderMode?Pf(t,d,f)+a.richText+p:Lf('
'+Wt(d)+"
"+p,n)}function Af(t,e,n,i){var r=t.renderMode,o=e.noName,a=e.noValue,s=!e.markerType,l=e.name,u=t.useUTC,h=e.valueFormatter||t.valueFormatter||function(t){return L(t=z(t)?t:[t],(function(t,e){return Vc(t,z(d)?d[e]:d,u)}))};if(!o||!a){var c=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),p=o?"":Vc(l,"ordinal",u),d=e.valueType,f=a?[]:h(e.value,e.dataIndex),g=!s||!o,y=!s&&o,v=bf(i,r),m=v.nameStyle,x=v.valueStyle;return"richText"===r?(s?"":c)+(o?"":Pf(t,p,m))+(a?"":function(t,e,n,i,r){var o=[r],a=i?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(z(e)?e.join(" "):e,o)}(t,f,g,y,x)):Lf((s?"":c)+(o?"":function(t,e,n){return''+Wt(t)+""}(p,!s,m))+(a?"":function(t,e,n,i){var r=n?"10px":"20px",o=e?"float:right;margin-left:"+r:"";return t=z(t)?t:[t],''+L(t,(function(t){return Wt(t)})).join("  ")+""}(f,g,y,x)),n)}}function kf(t,e,n,i,r,o){if(t)return Tf(t)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function Lf(t,e){return'
'+t+'
'}function Pf(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function Of(t,e){return Wc(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function Rf(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var Nf=function(){function t(){this.richTextStyles={},this._nextStyleNameId=Gr()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,r=function(t,e){var n=B(t)?{color:t,extraCssText:e}:t||{},i=n.color,r=n.type;e=n.extraCssText;var o=n.renderMode||"html";return i?"html"===o?"subItem"===r?'':'':{renderMode:o,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}:""}({color:e,type:t,renderMode:n,markerId:i});return B(r)?r:(this.richTextStyles[i]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};z(e)?k(e,(function(t){return I(n,t)})):I(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();function Ef(t){var e,n,i,r,o=t.series,a=t.dataIndex,s=t.multipleSeries,l=o.getData(),u=l.mapDimensionsAll("defaultedTooltip"),h=u.length,c=o.getRawValue(a),p=z(c),d=Of(o,a);if(h>1||p&&!h){var f=function(t,e,n,i,r){var o=e.getData(),a=P(t,(function(t,e,n){var i=o.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),s=[],l=[],u=[];function h(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(a?u.push(Mf("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return i.length?k(i,(function(t){h(Ed(o,n,t),t)})):k(t,h),{inlineValues:s,inlineValueTypes:l,blocks:u}}(c,o,a,u,d);e=f.inlineValues,n=f.inlineValueTypes,i=f.blocks,r=f.inlineValues[0]}else if(h){var g=l.getDimensionInfo(u[0]);r=e=Ed(l,a,u[0]),n=g.type}else r=e=p?c[0]:c;var y=io(o),v=y&&o.name||"",m=l.getName(a),x=s?v:m;return Mf("section",{header:v,noHeader:s||!y,sortParam:r,blocks:[Mf("nameValue",{markerType:"item",markerColor:d,name:x,noName:!tt(x),value:e,valueType:n,dataIndex:a})].concat(i||[])})}var zf=ao();function Vf(t,e){return t.getName(e)||t.getId(e)}var Bf="__universalTransitionEnabled",Ff=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}var r;return e(n,t),n.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=Fd({count:Wf,reset:Hf}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(zf(this).sourceManager=new yf(this)).prepareSource();var i=this.getInitialData(t,n);Xf(i,this),this.dataTask.context.data=i,zf(this).dataBeforeProcessed=i,Gf(this),this._initSelectedMapFromData(i)},n.prototype.mergeDefaultAndTheme=function(t,e){var n=$c(this),i=n?Qc(t):{},r=this.subType;np.hasClass(r)&&(r+="Series"),S(t,e.getTheme().get(this.subType)),S(t,this.getDefaultOption()),qr(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Jc(t,i,n)},n.prototype.mergeOption=function(t,e){t=S(this.option,t,!0),this.fillDataTextStyle(t.data);var n=$c(this);n&&Jc(this.option,t,n);var i=zf(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);Xf(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,zf(this).dataBeforeProcessed=r,Gf(this),this._initSelectedMapFromData(r)},n.prototype.fillDataTextStyle=function(t){if(t&&!Y(t))for(var e=["show"],n=0;nthis.getShallow("animationThreshold")&&(e=!1),!!e},n.prototype.restoreData=function(){this.dataTask.dirty()},n.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=kp.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},n.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},n.prototype.getProgressive=function(){return this.get("progressive")},n.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},n.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},n.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o=0&&n.push(r)}return n},n.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[Vf(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},n.prototype.isUniversalTransitionEnabled=function(){if(this[Bf])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},n.prototype._innerSelect=function(t,e){var n,i,r=this.option,o=r.selectedMode,a=e.length;if(o&&a)if("series"===o)r.selectedMap="all";else if("multiple"===o){W(r.selectedMap)||(r.selectedMap={});for(var s=r.selectedMap,l=0;l0&&this._innerSelect(t,e)}},n.registerClass=function(t){return np.registerClass(t)},n.protoInitialize=((r=n.prototype).type="series.__base__",r.seriesIndex=0,r.ignoreStyleOnData=!1,r.hasSymbolVisual=!1,r.defaultSymbol="circle",r.visualStyleAccessPath="itemStyle",void(r.visualDrawType="fill")),n}(np);function Gf(t){var e=t.name;io(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return k(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}(t)||e)}function Wf(t){return t.model.getRawData().count()}function Hf(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),Yf}function Yf(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function Xf(t,e){k(lt(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,E(Uf,e))}))}function Uf(t,e){var n=Zf(t);return n&&n.setOutputEnd((e||this).count()),e}function Zf(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}D(Ff,Vd),D(Ff,kp),bo(Ff,np);var jf=function(){function t(){this.group=new yr,this.uid=qh("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();function qf(){var t=ao();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&"reset"}}_o(jf),Io(jf);var Kf=ao(),$f=qf(),Jf=function(){function t(){this.group=new yr,this.uid=qh("viewChart"),this.renderTask=Fd({plan:eg,reset:ng}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&tg(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&tg(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){mh(this.group,t)},t.markUpdateMethod=function(t,e){Kf(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function Qf(t,e,n){t&&wl(t)&&("emphasis"===e?nl:il)(t,n)}function tg(t,e,n){var i=oo(t,e),r=e&&null!=e.highlightKey?function(t){var e=ks[t];return null==e&&As<=32&&(e=ks[t]=As++),e}(e.highlightKey):null;null!=i?k(jr(i),(function(e){Qf(t.getItemGraphicEl(e),n,r)})):t.eachItemGraphicEl((function(t){Qf(t,n,r)}))}function eg(t){return $f(t.model)}function ng(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&Kf(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),ig[l]}_o(Jf),Io(Jf);var ig={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},rg="\0__throttleOriginMethod",og="\0__throttleRate",ag="\0__throttleType";function sg(t,e,n){var i,r,o,a,s,l=0,u=0,h=null;function c(){u=(new Date).getTime(),h=null,t.apply(o,a||[])}e=e||0;var p=function(){for(var t=[],p=0;p=0?c():h=setTimeout(c,-r),l=i};return p.clear=function(){h&&(clearTimeout(h),h=null)},p.debounceNextCall=function(t){s=t},p}function lg(t,e,n,i){var r=t[e];if(r){var o=r[rg]||r,a=r[ag];if(r[og]!==n||a!==i){if(null==n||!i)return t[e]=o;(r=t[e]=sg(o,n,"debounce"===i))[rg]=o,r[ag]=i,r[og]=n}return r}}function ug(t,e){var n=t[e];n&&n[rg]&&(n.clear&&n.clear(),t[e]=n[rg])}var hg=ao(),cg={itemStyle:To(Yh,!0),lineStyle:To(Gh,!0)},pg={lineStyle:"stroke",itemStyle:"fill"};function dg(t,e){var n=t.visualStyleMapper||cg[e];return n||cg.itemStyle}function fg(t,e){var n=t.visualDrawType||pg[e];return n||"fill"}var gg={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=dg(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=fg(t,i),l=o[s],u=V(l)?l:null,h="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||h){var c=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=c,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||V(o.fill)?c:o.fill,o.stroke="auto"===o.stroke||V(o.stroke)?c:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=I({},o);r[s]=u(i),e.setItemVisual(n,"style",r)}}}},yg=new Zh,vg={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=dg(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){yg.option=n[i];var a=r(yg);I(t.ensureUniqueItemVisual(e,"style"),a),yg.option.decal&&(t.setItemVisual(e,"decal",yg.option.decal),yg.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},mg={performRawSeries:!0,overallReset:function(t){var e=st();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),hg(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=hg(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=fg(e,a);r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(t){var a=i[t];if(r.getItemVisual(a,"colorFromPalette")){var l=r.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",h=n.count();l[s]=e.getColorFromPalette(u,o,h)}}))}}))}},xg=Math.PI;var _g=function(){function t(t,e,n,i){this._stageTaskMap=st(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=st();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;k(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{});Q(!(i.reset&&i.overallReset),""),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)}),this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}k(t,(function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,p=h.agentStubMap;p.each((function(t){a(i,t)&&(t.dirty(),c=!0)})),c&&h.dirty(),o.updatePayload(h,n);var d=o.getPerformArgs(h,i.block);p.each((function(t){t.perform(d)})),h.perform(d)&&(r=!0)}else u&&u.each((function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=st(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||Fd({plan:Ig,reset:Tg,count:Ag}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||Fd({reset:bg});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=st(),l=t.seriesType,u=t.getTargetSeries,h=!0,c=!1;function p(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(c=!0,Fd({reset:wg,onDirty:Mg})));n.context={model:t,overallProgress:h},n.agent=o,n.__block=h,r._pipe(t,n)}Q(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,p):u?u(n,i).each(p):(h=!1,k(n.getSeries(),p)),c&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return V(t)&&(t={overallReset:t,seriesType:kg(t)}),t.uid=qh("stageHandler"),e&&(t.visualType=e),t},t}();function bg(t){t.overallReset(t.ecModel,t.api,t.payload)}function wg(t){return t.overallProgress&&Sg}function Sg(){this.agent.dirty(),this.getDownstream().dirty()}function Mg(){this.agent&&this.agent.dirty()}function Ig(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function Tg(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=jr(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?L(e,(function(t,e){return Dg(e)})):Cg}var Cg=Dg(0);function Dg(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o0&&h===r.length-u.length){var c=r.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),Hg=["symbol","symbolSize","symbolRotate","symbolOffset"],Yg=Hg.concat(["symbolKeepAspect"]),Xg={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a=0&&dy(l)?l:.5,t.createRadialGradient(a,s,0,a,s,l)}(t,e,n):function(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=dy(i)?i:0,r=dy(r)?r:1,o=dy(o)?o:0,a=dy(a)?a:0,t.createLinearGradient(i,o,r,a)}(t,e,n),r=e.colorStops,o=0;o0&&(e=i.lineDash,n=i.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:G(e)?[e]:z(e)?e:null:null),o=i.lineDashOffset;if(r){var a=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=L(r,(function(t){return t/a})),o/=a)}return[r,o]}var my=new Oa(!0);function xy(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function _y(t){return"string"==typeof t&&"none"!==t}function by(t){var e=t.fill;return null!=e&&"none"!==e}function wy(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function Sy(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function My(t,e,n){var i=Lo(e.image,e.__image,n);if(Oo(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*dt),o.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(o)}return r}}var Iy=["shadowBlur","shadowOffsetX","shadowOffsetY"],Ty=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function Cy(t,e,n,i,r){var o=!1;if(!i&&e===(n=n||{}))return!1;if(i||e.opacity!==n.opacity){ky(t,r),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?Zo.opacity:a}(i||e.blend!==n.blend)&&(o||(ky(t,r),o=!0),t.globalCompositeOperation=e.blend||Zo.blend);for(var s=0;s0&&t.unfinished);t.unfinished||this._zr.flush()}}},n.prototype.getDom=function(){return this._dom},n.prototype.getId=function(){return this.id},n.prototype.getZr=function(){return this._zr},n.prototype.isSSR=function(){return this._ssr},n.prototype.setOption=function(t,e,n){if(!this[Uy])if(this._disposed)this.id;else{var i,r,o;if(W(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[Uy]=!0,!this._model||e){var a=new Hp(this._api),s=this._theme,l=this._model=new Rp;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},Tv);var u={seriesTransition:o,optionChanged:!0};if(n)this[Zy]={silent:i,updateParams:u},this[Uy]=!1,this.getZr().wakeUp();else{try{tv(this),iv.update.call(this,null,u)}catch(h){throw this[Zy]=null,this[Uy]=!1,h}this._ssr||this._zr.flush(),this[Zy]=null,this[Uy]=!1,sv.call(this,i),lv.call(this,i)}}},n.prototype.setTheme=function(){},n.prototype.getModel=function(){return this._model},n.prototype.getOption=function(){return this._model&&this._model.getOption()},n.prototype.getWidth=function(){return this._zr.getWidth()},n.prototype.getHeight=function(){return this._zr.getHeight()},n.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||i.hasGlobalWindow&&window.devicePixelRatio||1},n.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},n.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},n.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},n.prototype.getSvgDataURL=function(){if(i.svgSupported){var t=this._zr;return k(t.storage.getDisplayList(),(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},n.prototype.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;k(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return k(i,(function(t){t.group.ignore=!1})),o}this.id},n.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=Infinity;if(Lv[n]){var a=o,l=o,u=-Infinity,h=-Infinity,c=[],p=t&&t.pixelRatio||this.getDevicePixelRatio();k(kv,(function(o,s){if(o.group===n){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(w(t)),d=o.getDom().getBoundingClientRect();a=i(d.left,a),l=i(d.top,l),u=r(d.right,u),h=r(d.bottom,h),c.push({dom:p,left:d.left,top:d.top})}}));var d=(u*=p)-(a*=p),f=(h*=p)-(l*=p),g=s.createCanvas(),y=br(g,{renderer:e?"svg":"canvas"});if(y.resize({width:d,height:f}),e){var v="";return k(c,(function(t){var e=t.left-a,n=t.top-l;v+=''+t.dom+""})),y.painter.getSvgRoot().innerHTML=v,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return t.connectedBackgroundColor&&y.add(new cs({shape:{x:0,y:0,width:d,height:f},style:{fill:t.connectedBackgroundColor}})),k(c,(function(t){var e=new rs({style:{x:t.left*p-a,y:t.top*p-l,image:t.dom}});y.add(e)})),y.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}this.id},n.prototype.convertToPixel=function(t,e){return rv(this,"convertToPixel",t,e)},n.prototype.convertFromPixel=function(t,e){return rv(this,"convertFromPixel",t,e)},n.prototype.containPixel=function(t,e){var n;if(!this._disposed)return k(lo(this._model,t),(function(t,i){i.indexOf("Models")>=0&&k(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}}),this)}),this),!!n;this.id},n.prototype.getVisual=function(t,e){var n=lo(this._model,t,{defaultMainType:"series"}),i=n.seriesModel.getData(),r=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?i.indexOfRawIndex(n.dataIndex):null;return null!=r?Zg(i,r,e):jg(i,e)},n.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},n.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},n.prototype._initEvents=function(){var t,e,n,i=this;k(wv,(function(t){var e=function(e){var n,r=i.getModel(),o=e.target;if("globalout"===t?n={}:o&&Jg(o,(function(t){var e=Cs(t);if(e&&null!=e.dataIndex){var i=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return n=i&&i.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return n=I({},e.eventData),!0}),!0),n){var a=n.componentType,s=n.componentIndex;"markLine"!==a&&"markPoint"!==a&&"markArea"!==a||(a="series",s=n.seriesIndex);var l=a&&null!=s&&r.getComponent(a,s),u=l&&i["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];n.event=e,n.type=t,i._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:l,view:u},i.trigger(t,n)}};e.zrEventfulCallAtLast=!0,i._zr.on(t,e,i)})),k(Mv,(function(t,e){i._messageCenter.on(e,(function(t){this.trigger(e,t)}),i)})),k(["selectchanged"],(function(t){i._messageCenter.on(t,(function(e){this.trigger(t,e)}),i)})),t=this._messageCenter,e=this,n=this._api,t.on("selectchanged",(function(t){var i=n.getModel();t.isFromClick?($g("map","selectchanged",e,i,t),$g("pie","selectchanged",e,i,t)):"select"===t.fromAction?($g("map","selected",e,i,t),$g("pie","selected",e,i,t)):"unselect"===t.fromAction&&($g("map","unselected",e,i,t),$g("pie","unselected",e,i,t))}))},n.prototype.isDisposed=function(){return this._disposed},n.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},n.prototype.dispose=function(){if(this._disposed)this.id;else{this._disposed=!0,this.getDom()&&fo(this.getDom(),Ov,"");var t=this,e=t._api,n=t._model;k(t._componentsViews,(function(t){t.dispose(n,e)})),k(t._chartsViews,(function(t){t.dispose(n,e)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete kv[t.id]}},n.prototype.resize=function(t){if(!this[Uy])if(this._disposed)this.id;else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[Zy]&&(null==i&&(i=this[Zy].silent),n=!0,this[Zy]=null),this[Uy]=!0;try{n&&tv(this),iv.update.call(this,{type:"resize",animation:I({duration:0},t&&t.animation)})}catch(r){throw this[Uy]=!1,r}this[Uy]=!1,sv.call(this,i),lv.call(this,i)}}},n.prototype.showLoading=function(t,e){if(this._disposed)this.id;else if(W(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),Av[t]){var n=Av[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},n.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},n.prototype.makeActionFromEvent=function(t){var e=I({},t);return e.type=Mv[t.type],e},n.prototype.dispatchAction=function(t,e){if(this._disposed)this.id;else if(W(e)||(e={silent:!!e}),Sv[t.type]&&this._model)if(this[Uy])this._pendingActions.push(t);else{var n=e.silent;av.call(this,t,n);var r=e.flush;r?this._zr.flush():!1!==r&&i.browser.weChat&&this._throttledZrFlush(),sv.call(this,n),lv.call(this,n)}},n.prototype.updateLabelLayout=function(){Gy.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},n.prototype.appendData=function(t){if(this._disposed)this.id;else{var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},n.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function n(t){for(var e=[],n=t.currentStates,i=0;i0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;e.eachRendered((function(t){if(t.states&&t.states.emphasis){if(Wu(t))return;if(t instanceof Qa&&function(t){var e=Ls(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}(t),t.__dirty){var e=t.prevStates;e&&t.useStates(e)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&n(t)}}))}tv=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),ev(t,!0),ev(t,!1),e.plan()},ev=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;le.get("hoverLayerThreshold")&&!i.node&&!i.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}(t,e),Gy.trigger("series:afterupdate",e,n,l)},yv=function(t){t[jy]=!0,t.getZr().wakeUp()},vv=function(t){t[jy]&&(t.getZr().storage.traverse((function(t){Wu(t)||n(t)})),t[jy]=!1)},fv=function(t){return new(function(n){function i(){return null!==n&&n.apply(this,arguments)||this}return e(i,n),i.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},i.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},i.prototype.enterEmphasis=function(e,n){nl(e,n),yv(t)},i.prototype.leaveEmphasis=function(e,n){il(e,n),yv(t)},i.prototype.enterBlur=function(e){rl(e),yv(t)},i.prototype.leaveBlur=function(e){ol(e),yv(t)},i.prototype.enterSelect=function(e){al(e),yv(t)},i.prototype.leaveSelect=function(e){sl(e),yv(t)},i.prototype.getModel=function(){return t.getModel()},i.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},i.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},i}(Bp))(t)},gv=function(t){function e(t,e){for(var n=0;n=0)){Gv.push(n);var o=_g.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function Hv(t,e){Av[t]=e}var Yv=function(t){var e=(t=w(t)).type;e||Yr("");var n=e.split(":");2!==n.length&&Yr("");var i=!1;"echarts"===n[0]&&(e=n[1],i=!0),t.__isBuiltIn=i,nf.set(e,t)};Fv(Hy,gg),Fv(Yy,vg),Fv(Yy,mg),Fv(Hy,Xg),Fv(Yy,Ug),Fv(7e3,(function(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each((function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=zy(n,e))}));var r=i.getVisual("decal");if(r)i.getVisual("style").decal=zy(r,e)}}))})),Ev(hd),zv(900,(function(t){var e=st();t.eachSeries((function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}})),e.each(cd)})),Hv("default",(function(t,e){T(e=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 n=new yr,i=new cs({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,o=new fs({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new cs({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&((r=new Iu({shape:{startAngle:-xg/2,endAngle:-xg/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*xg/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*xg/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n})),Bv({type:Es,event:Es,update:Es},pt),Bv({type:zs,event:zs,update:zs},pt),Bv({type:Vs,event:Vs,update:Vs},pt),Bv({type:Bs,event:Bs,update:Bs},pt),Bv({type:Fs,event:Fs,update:Fs},pt),Nv("light",Eg),Nv("dark",Gg);var Xv=[],Uv={registerPreprocessor:Ev,registerProcessor:zv,registerPostInit:function(t){Vv("afterinit",t)},registerPostUpdate:function(t){Vv("afterupdate",t)},registerUpdateLifecycle:Vv,registerAction:Bv,registerCoordinateSystem:function(t,e){Gp.register(t,e)},registerLayout:function(t,e){Wv(Cv,t,e,1e3,"layout")},registerVisual:Fv,registerTransform:Yv,registerLoading:Hv,registerMap:function(t,e,n){var i=Wy["registerMap"];i&&i(t,e,n)},registerImpl:function(t,e){Wy[t]=e},PRIORITY:Xy,ComponentModel:np,ComponentView:jf,SeriesModel:Ff,ChartView:Jf,registerComponentModel:function(t){np.registerClass(t)},registerComponentView:function(t){jf.registerClass(t)},registerSeriesModel:function(t){Ff.registerClass(t)},registerChartView:function(t){Jf.registerClass(t)},registerSubTypeDefaulter:function(t,e){np.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){var n;n=e,vr[t]=n}};function Zv(t){z(t)?k(t,(function(t){Zv(t)})):C(Xv,t)>=0||(Xv.push(t),V(t)&&(t={install:t}),t.install(Uv))}function jv(t){return null==t?0:t.length||1}function qv(t){return t}var Kv=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||qv,this._newKeyGetter=i||qv,this.context=r,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a1&&1===c)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===h&&c>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===h&&1===c)this._update&&this._update(u,l),i[s]=null;else if(h>1&&c>1)this._updateManyToMany&&this._updateManyToMany(u,l),i[s]=null;else if(h>1)for(var p=0;p1)for(var a=0;a30}var lm,um,hm,cm,pm,dm,fm,gm=W,ym=L,vm="undefined"==typeof Int32Array?Array:Int32Array,mm=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],xm=["_approximateExtent"],_m=function(){function t(t,e){var n;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 i=!1;rm(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,r=this._idList;if(n.getSource().sourceFormat===sp&&!n.pure)for(var o=[],a=t;a0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(z(r=this.getVisual(e))?r=r.slice():gm(r)&&(r=I({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,gm(e)?I(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){gm(t)?I(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?I(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;Ds(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){k(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:ym(this.dimensions,this._getDimInfo,this),this.hostModel)),pm(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];V(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat($(arguments)))})},t.internalField=(lm=function(t){var e=t._invertedIndicesMap;k(e,(function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new vm(o.categories.length);for(var s=0;s1&&(s+="__ec__"+u),i[e]=s}})),t}();function bm(t,e){md(t)||(t=_d(t));var n=(e=e||{}).coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=st(),o=[],a=function(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return k(e,(function(t){var e;W(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}(t,n,i,e.dimensionsCount),s=e.canOmitUnusedDimensions&&sm(a),l=i===t.dimensionsDefine,u=l?am(t):om(i),h=e.encodeDefine;!h&&e.encodeDefaulter&&(h=e.encodeDefaulter(t,a));for(var c=st(h),p=new hf(a),d=0;d0&&(i.name=r+(o-1)),o++,e.set(r,o)}}(o),new im({source:t,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function wm(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}var Sm=function(){return function(t){this.coordSysDims=[],this.axisMap=st(),this.categoryAxisMap=st(),this.coordSysName=t}}();var Mm={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",ho).models[0],o=t.getReferringComponents("yAxis",ho).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),Im(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),Im(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",ho).models[0];e.coordSysDims=["single"],n.set("single",r),Im(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",ho).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),Im(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),Im(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();k(o.parallelAxisIndex,(function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];n.set(l,s),Im(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))}))}};function Im(t){return"category"===t.get("type")}function Tm(t,e,n){var i,r,o,a=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(t){return!rm(t.schema)}(e)?(r=e.schema,i=r.dimensions,o=e.store):i=e;var l,u,h,c,p=!(!t||!t.get("stack"));if(k(i,(function(t,e){B(t)&&(i[e]=t={name:t}),p&&!t.isExtraCoord&&(a||l||!t.ordinalMeta||(l=t),u||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(u=t))})),!u||a||l||(a=!0),u){h="__\0ecstackresult_"+t.id,c="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var d=u.coordDim,f=u.type,g=0;k(i,(function(t){t.coordDim===d&&g++}));var y={name:h,coordDim:d,coordDimIndex:g,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},v={name:c,coordDim:c,coordDimIndex:g+1,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(o&&(y.storeDimIndex=o.ensureCalculationDimension(c,f),v.storeDimIndex=o.ensureCalculationDimension(h,f)),r.appendCalculationDimension(y),r.appendCalculationDimension(v)):(i.push(y),i.push(v))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:a,stackedOverDimension:c,stackResultDimension:h}}function Cm(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function Dm(t,e){return Cm(t,e)?t.getCalculationInfo("stackResultDimension"):e}function Am(t,e,n){n=n||{};var i,r=e.getSourceManager(),o=!1;t?(o=!0,i=_d(t)):o=(i=r.getSource()).sourceFormat===sp;var a=function(t){var e=t.get("coordinateSystem"),n=new Sm(e),i=Mm[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),s=function(t,e){var n,i=t.get("coordinateSystem"),r=Gp.get(i);return e&&e.coordSysDims&&(n=L(e.coordSysDims,(function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get("type");n.type=Qv(r)}return n}))),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}(e,a),l=n.useEncodeDefaulter,u=V(l)?l:l?E(xp,s,e):null,h=bm(i,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o}),c=function(t,e,n){var i,r;return n&&k(t,(function(t,o){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)})),r||null==i||(t[i].otherDims.itemName=0),i}(h.dimensions,n.createInvertedIndices,a),p=o?null:r.getSharedDataStore(h),d=Tm(e,{schema:h,store:p}),f=new _m(h,e);f.setCalculationInfo(d);var g=null!=c&&function(t){if(t.sourceFormat===sp){var e=function(t){var e=0;for(;ee[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();Io(km);var Lm=0,Pm=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++Lm}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&L(i,Om);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!B(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=st(this.categories))},t}();function Om(t){return W(t)&&null!=t.value?t.value:t+""}function Rm(t){return"interval"===t.type||"log"===t.type}function Nm(t,e,n,i){var r={},o=t[1]-t[0],a=r.interval=Er(o/e);null!=n&&ai&&(a=r.interval=i);var s=r.intervalPrecision=zm(a);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),Vm(t,0,e),Vm(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(r.niceTickExtent=[Ir(Math.ceil(t[0]/a)*a,s),Ir(Math.floor(t[1]/a)*a,s)],t),r}function Em(t){var e=Math.pow(10,Nr(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,Ir(n*e)}function zm(t){return Cr(t)+2}function Vm(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function Bm(t,e){return t>=e[0]&&t<=e[1]}function Fm(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function Gm(t,e){return t*(e[1]-e[0])+e[0]}var Wm=function(t){function n(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new Pm({})),z(i)&&(i=new Pm({categories:L(i,(function(t){return W(t)?t.value:t}))})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return e(n,t),n.prototype.parse=function(t){return null==t?NaN:B(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},n.prototype.contain=function(t){return Bm(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},n.prototype.normalize=function(t){return Fm(t=this._getTickNumber(this.parse(t)),this._extent)},n.prototype.scale=function(t){return t=Math.round(Gm(t,this._extent)),this.getRawOrdinalNumber(t)},n.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},n.prototype.getMinorTicks=function(t){},n.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r=0&&t=0&&t=t},n.prototype.getOrdinalMeta=function(){return this._ordinalMeta},n.prototype.calcNiceTicks=function(){},n.prototype.calcNiceExtent=function(){},n.type="ordinal",n}(km);km.registerClass(Wm);var Hm=Ir,Ym=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return e(n,t),n.prototype.parse=function(t){return t},n.prototype.contain=function(t){return Bm(t,this._extent)},n.prototype.normalize=function(t){return Fm(t,this._extent)},n.prototype.scale=function(t){return Gm(t,this._extent)},n.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},n.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},n.prototype.getInterval=function(){return this._interval},n.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=zm(t)},n.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;n[0]1e4)return[];var s=o.length?o[o.length-1].value:i[1];return n[1]>s&&(t?o.push({value:Hm(s+e,r)}):o.push({value:n[1]})),o},n.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;ri[0]&&h0&&(o=null===o?s:Math.min(o,s))}n[i]=o}}return n}(t),n=[];return k(t,(function(t){var i,r=t.coordinateSystem.getBaseAxis(),o=r.getExtent();if("category"===r.type)i=r.getBandWidth();else if("value"===r.type||"time"===r.type){var a=r.dim+"_"+r.index,s=e[a],l=Math.abs(o[1]-o[0]),u=r.scale.getExtent(),h=Math.abs(u[1]-u[0]);i=s?l/h*s:l}else{var c=t.getData();i=Math.abs(o[1]-o[0])/c.count()}var p=Mr(t.get("barWidth"),i),d=Mr(t.get("barMaxWidth"),i),f=Mr(t.get("barMinWidth")||(ix(t)?.5:1),i),g=t.get("barGap"),y=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:p,barMaxWidth:d,barMinWidth:f,barGap:g,barCategoryGap:y,axisKey:Km(r),stackId:qm(t)})})),Qm(n)}function Qm(t){var e={};k(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var h=t.barMinWidth;h&&(a[s].minWidth=h);var c=t.barGap;null!=c&&(o.gap=c);var p=t.barCategoryGap;null!=p&&(o.categoryGap=p)}));var n={};return k(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=t.categoryGap;if(null==o){var a=R(i).length;o=Math.max(35-4*a,15)+"%"}var s=Mr(o,r),l=Mr(t.gap,1),u=t.remainedWidth,h=t.autoWidthCount,c=(u-s)/(h+(h-1)*l);c=Math.max(c,0),k(i,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+l*i,h--}else{var i=c;e&&ei&&(i=n),i!==c&&(t.width=i,u-=i+l*i,h--)}})),c=(u-s)/(h+(h-1)*l),c=Math.max(c,0);var p,d=0;k(i,(function(t,e){t.width||(t.width=c),p=t,d+=t.width*(1+l)})),p&&(d-=p.width*l);var f=-d/2;k(i,(function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:f,width:t.width},f+=t.width*(1+l)}))})),n}function tx(t,e){var n=$m(t,e),i=Jm(n);k(n,(function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),r=qm(t),o=i[Km(n)][r],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})}))}function ex(t){return{seriesType:t,plan:qf(),reset:function(t){if(nx(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(r.dim)),a=e.getDimensionIndex(e.mapDimension(i.dim)),s=t.get("showBackground",!0),l=e.mapDimension(r.dim),u=e.getCalculationInfo("stackResultDimension"),h=Cm(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),c=r.isHorizontal(),p=function(t,e){var n=e.model.get("startValue");n||(n=0);return e.toGlobalCoord(e.dataToCoord("log"===e.type?n>0?n:1:n))}(0,r),d=ix(t),f=t.get("barMinHeight")||0,g=u&&e.getDimensionIndex(u),y=e.getLayout("size"),v=e.getLayout("offset");return{progress:function(t,e){for(var i,r=t.count,l=d&&Zm(3*r),u=d&&s&&Zm(3*r),m=d&&Zm(r),x=n.master.getRect(),_=c?x.width:x.height,b=e.getStore(),w=0;null!=(i=t.next());){var S=b.get(h?g:o,i),M=b.get(a,i),I=p,T=void 0;h&&(T=+S-b.get(o,i));var C=void 0,D=void 0,A=void 0,k=void 0;if(c){var L=n.dataToPoint([S,M]);if(h)I=n.dataToPoint([T,M])[0];C=I,D=L[1]+v,A=L[0]-I,k=y,Math.abs(A)0)for(var s=0;s=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(z(o)){var h=null==t.level?0:t.level>=0?t.level:o.length+t.level;o=o[h=Math.min(h,o.length-1)]}}return mc(new Date(t.value),o,r,i)}(t,e,n,this.getSetting("locale"),i)},n.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var i=this.getSetting("useUTC"),r=function(t,e,n,i){var r=1e4,o=fc,a=0;function s(t,e,n,r,o,a,s){for(var l=new Date(e),u=e,h=l[r]();u1&&0===u&&o.unshift({value:o[0].value-p})}}for(u=0;u=i[0]&&v<=i[1]&&c++)}var m=(i[1]-i[0])/e;if(c>1.5*m&&p>m/1.5)break;if(u.push(g),c>m||t===o[d])break}h=[]}}var x=O(L(u,(function(t){return O(t,(function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd}))})),(function(t){return t.length>0})),_=[],b=x.length-1;for(d=0;dn&&(this._approxInterval=n);var o=ox.length,a=Math.min(function(t,e,n,i){for(;n>>1;t[r][1]16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function sx(t){return(t/=2592e6)>6?6:t>3?3:t>2?2:1}function lx(t){return(t/=sc)>12?12:t>6?6:t>3.5?4:t>2?2:1}function ux(t,e){return(t/=e?ac:oc)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function hx(t){return Er(t)}function cx(t,e,n){var i=new Date(t);switch(yc(e)){case"year":case"month":i[Ac(n)](0);case"day":i[kc(n)](1);case"hour":i[Lc(n)](0);case"minute":i[Pc(n)](0);case"second":i[Oc(n)](0),i[Rc(n)](0)}return i.getTime()}km.registerClass(rx);var px=km.prototype,dx=Ym.prototype,fx=Ir,gx=Math.floor,yx=Math.ceil,vx=Math.pow,mx=Math.log,xx=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new Ym,e._interval=0,e}return e(n,t),n.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,i=e.getExtent();return L(dx.getTicks.call(this,t),(function(t){var e=t.value,r=Ir(vx(this.base,e));return r=e===n[0]&&this._fixMin?bx(r,i[0]):r,{value:r=e===n[1]&&this._fixMax?bx(r,i[1]):r}}),this)},n.prototype.setExtent=function(t,e){var n=mx(this.base);t=mx(Math.max(0,t))/n,e=mx(Math.max(0,e))/n,dx.setExtent.call(this,t,e)},n.prototype.getExtent=function(){var t=this.base,e=px.getExtent.call(this);e[0]=vx(t,e[0]),e[1]=vx(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=bx(e[0],n[0])),this._fixMax&&(e[1]=bx(e[1],n[1])),e},n.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=mx(t[0])/mx(e),t[1]=mx(t[1])/mx(e),px.unionExtent.call(this,t)},n.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},n.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(Infinity===n||n<=0)){var i,r=(i=n,Math.pow(10,Nr(i)));for(t/n*r<=.5&&(r*=10);!isNaN(r)&&Math.abs(r)<1&&Math.abs(r)>0;)r*=10;var o=[Ir(yx(e[0]/r)*r),Ir(gx(e[1]/r)*r)];this._interval=r,this._niceExtent=o}},n.prototype.calcNiceExtent=function(t){dx.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},n.prototype.parse=function(t){return t},n.prototype.contain=function(t){return Bm(t=mx(t)/mx(this.base),this._extent)},n.prototype.normalize=function(t){return Fm(t=mx(t)/mx(this.base),this._extent)},n.prototype.scale=function(t){return t=Gm(t,this._extent),vx(this.base,t)},n.type="log",n}(km),_x=xx.prototype;function bx(t,e){return fx(t,Cr(e))}_x.getMinorTicks=dx.getMinorTicks,_x.getLabel=dx.getLabel,km.registerClass(xx);var Sx=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]0&&s>0&&!l&&(a=0),a<0&&s<0&&!u&&(s=0));var c=this._determinedMin,p=this._determinedMax;return null!=c&&(a=c,l=!0),null!=p&&(s=p,u=!0),{min:a,max:s,minFixed:l,maxFixed:u,isBlank:h}},t.prototype.modifyDataMinMax=function(t,e){this[Ix[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[Mx[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),Mx={min:"_determinedMin",max:"_determinedMax"},Ix={min:"_dataMin",max:"_dataMax"};function Tx(t,e,n){var i=t.rawExtentInfo;return i||(i=new Sx(t,e,n),t.rawExtentInfo=i,i)}function Cx(t,e){return null==e?null:Z(e)?NaN:t.parse(e)}function Dx(t,e){var n=t.type,i=Tx(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var r=i.min,o=i.max,a=e.ecModel;if(a&&"time"===n){var s=$m("bar",a),l=!1;if(k(s,(function(t){l=l||t.getBaseAxis()===e.axis})),l){var u=Jm(s),h=function(t,e,n,i){var r=n.axis.getExtent(),o=r[1]-r[0],a=function(t,e,n){if(t&&e){var i=t[Km(e)];return null!=i&&null!=n?i[qm(n)]:i}}(i,n.axis);if(void 0===a)return{min:t,max:e};var s=Infinity;k(a,(function(t){s=Math.min(t.offset,s)}));var l=-Infinity;k(a,(function(t){l=Math.max(t.offset+t.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,h=e-t,c=h/(1-(s+l)/o)-h;return e+=c*(l/u),t-=c*(s/u),{min:t,max:e}}(r,o,e,u);r=h.min,o=h.max}}return{extent:[r,o],fixMin:i.minFixed,fixMax:i.maxFixed}}function Ax(t,e){var n=e,i=Dx(t,n),r=i.extent,o=n.get("splitNumber");t instanceof xx&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),l="interval"===a||"time"===a;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:o,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function kx(t,e){if(e=e||t.get("type"))switch(e){case"category":return new Wm({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[Infinity,-Infinity]});case"time":return new rx({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(km.getClass(e)||Ym)}}function Lx(t){var e=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?function(e){return function(n,i){return t.scale.getFormattedLabel(n,i,e)}}(e):B(e)?function(e){return function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}}(e):V(e)?function(e){return function(i,r){return null!=n&&(r=i.value-n),e(Px(t,i),r,null!=i.level?{level:i.level}:null)}}(e):function(e){return t.scale.getLabel(e)}}function Px(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function Ox(t){var e=t.get("interval");return null==e?"auto":e}function Rx(t){return"category"===t.type&&0===Ox(t.getLabelModel())}function Nx(t,e){var n={};return k(t.mapDimensionsAll(e),(function(e){n[Dm(t,e)]=!0})),R(n)}var Ex=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}();function zx(t,e){return Math.abs(t-e)<1e-8}function Vx(t,e,n){var i=0,r=t[0];if(!r)return!1;for(var o=1;on&&(t=r,n=a)}if(t)return function(t){for(var e=0,n=0,i=0,r=t.length,o=t[r-1][0],a=t[r-1][1],s=0;s>1^-(1&s),l=l>>1^-(1&l),r=s+=r,o=l+=o,i.push([s/n,l/n])}return i}function qx(t,e){return L(O((t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;return null==n&&(n=1024),k(e.features,(function(t){var e=t.geometry,i=e.encodeOffsets,r=e.coordinates;if(i)switch(e.type){case"LineString":e.coordinates=jx(r,i,n);break;case"Polygon":case"MultiLineString":Zx(r,i,n);break;case"MultiPolygon":k(r,(function(t,e){return Zx(t,i[e],n)}))}})),e.UTF8Encoding=!1,e}(t)).features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var o=i.coordinates;r.push(new Hx(o[0],o.slice(1)));break;case"MultiPolygon":k(i.coordinates,(function(t){t[0]&&r.push(new Hx(t[0],t.slice(1)))}));break;case"LineString":r.push(new Yx([i.coordinates]));break;case"MultiLineString":r.push(new Yx(i.coordinates))}var a=new Xx(n[e||"name"],r,n.cp);return a.properties=n,a}))}var Kx=ao();function $x(t,e){var n=L(e,(function(e){return t.scale.parse(e)}));return"time"===t.type&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function Jx(t){var e=t.getLabelModel().get("customValues");if(e){var n=Lx(t);return{labels:$x(t,e).map((function(e){var i={value:e};return{formattedLabel:n(i),rawLabel:t.scale.getLabel(i),tickValue:e}}))}}return"category"===t.type?function(t){var e=t.getLabelModel(),n=t_(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=Lx(t);return{labels:L(e,(function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}(t)}function Qx(t,e){var n=t.getTickModel().get("customValues");return n?{ticks:$x(t,n)}:"category"===t.type?function(t,e){var n,i,r=e_(t,"ticks"),o=Ox(e),a=n_(r,o);if(a)return a;e.get("show")&&!t.scale.isBlank()||(n=[]);if(V(o))n=o_(t,o,!0);else if("auto"===o){var s=t_(t,t.getLabelModel());i=s.labelCategoryInterval,n=L(s.labels,(function(t){return t.tickValue}))}else n=r_(t,i=o,!0);return i_(r,o,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:L(t.scale.getTicks(),(function(t){return t.value}))}}function t_(t,e){var n,i,r=e_(t,"labels"),o=Ox(e),a=n_(r,o);return a||(V(o)?n=o_(t,o):(i="auto"===o?function(t){var e=Kx(t).autoInterval;return null!=e?e:Kx(t).autoInterval=t.calculateCategoryInterval()}(t):o,n=r_(t,i)),i_(r,o,{labels:n,labelCategoryInterval:i}))}function e_(t,e){return Kx(t)[e]||(Kx(t)[e]=[])}function n_(t,e){for(var n=0;n1&&h/l>2&&(u=Math.round(Math.ceil(u/l)*l));var c=Rx(t),p=a.get("showMinLabel")||c,d=a.get("showMaxLabel")||c;p&&u!==o[0]&&g(o[0]);for(var f=u;f<=o[1];f+=l)g(f);function g(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return d&&f-l!==o[1]&&g(o[1]),s}function o_(t,e,n){var i=t.scale,r=Lx(t),o=[];return k(i.getTicks(),(function(t){var a=i.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})})),o}var a_=[0,1],s_=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return Dr(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&l_(n=n.slice(),i.count()),Sr(t,a_,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&l_(n=n.slice(),i.count());var r=Sr(t,n,a_,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=L(Qx(this,e).ticks,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this);return function(t,e,n,i){var r=e.length;if(!t.onBand||n||!r)return;var o,a,s=t.getExtent();if(1===r)e[0].coord=s[0],o=e[1]={coord:s[1]};else{var l=e[r-1].tickValue-e[0].tickValue,u=(e[r-1].coord-e[0].coord)/l;k(e,(function(t){t.coord-=u/2})),a=1+t.scale.getExtent()[1]-e[r-1].tickValue,o={coord:e[r-1].coord+u*a},e.push(o)}var h=s[0]>s[1];c(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift());i&&c(s[0],e[0].coord)&&e.unshift({coord:s[0]});c(s[1],o.coord)&&(i?o.coord=s[1]:e.pop());i&&c(o.coord,s[1])&&e.push({coord:s[1]});function c(t,e){return t=Ir(t),e=Ir(e),h?t>e:t0&&t<100||(t=5),L(this.scale.getMinorTicks(t),(function(t){return L(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},t.prototype.getViewLabels=function(){return Jx(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=Lx(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,o=r.getExtent(),a=r.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),h=Math.abs(u*Math.cos(i)),c=Math.abs(u*Math.sin(i)),p=0,d=0;l<=o[1];l+=s){var f,g,y=tr(n({value:l}),e.font,"center","top");f=1.3*y.width,g=1.3*y.height,p=Math.max(p,f,7),d=Math.max(d,g,7)}var v=p/h,m=d/c;isNaN(v)&&(v=Infinity),isNaN(m)&&(m=Infinity);var x=Math.max(0,Math.floor(Math.min(v,m))),_=Kx(t.model),b=t.getExtent(),w=_.lastAutoInterval,S=_.lastTickCount;return null!=w&&null!=S&&Math.abs(w-x)<=1&&Math.abs(S-a)<=1&&w>x&&_.axisExtent0===b[0]&&_.axisExtent1===b[1]?x=w:(_.lastTickCount=a,_.lastAutoInterval=x,_.axisExtent0=b[0],_.axisExtent1=b[1]),x}(this)},t}();function l_(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}var u_=2*Math.PI,h_=Oa.CMD,c_=["top","right","bottom","left"];function p_(t,e,n,i,r){var o=n.width,a=n.height;switch(t){case"top":i.set(n.x+o/2,n.y-e),r.set(0,-1);break;case"bottom":i.set(n.x+o/2,n.y+a+e),r.set(0,1);break;case"left":i.set(n.x-e,n.y+a/2),r.set(-1,0);break;case"right":i.set(n.x+o+e,n.y+a/2),r.set(1,0)}}function d_(t,e,n,i,r,o,a,s,l){a-=t,s-=e;var u=Math.sqrt(a*a+s*s),h=(a/=u)*n+t,c=(s/=u)*n+e;if(Math.abs(i-r)%u_<1e-4)return l[0]=h,l[1]=c,u-n;if(o){var p=i;i=Va(r),r=Va(p)}else i=Va(i),r=Va(r);i>r&&(r+=u_);var d=Math.atan2(s,a);if(d<0&&(d+=u_),d>=i&&d<=r||d+u_>=i&&d+u_<=r)return l[0]=h,l[1]=c,u-n;var f=n*Math.cos(i)+t,g=n*Math.sin(i)+e,y=n*Math.cos(r)+t,v=n*Math.sin(r)+e,m=(f-a)*(f-a)+(g-s)*(g-s),x=(y-a)*(y-a)+(v-s)*(v-s);return m0){e=e/180*Math.PI,x_.fromArray(t[0]),__.fromArray(t[1]),b_.fromArray(t[2]),ue.sub(w_,x_,__),ue.sub(S_,b_,__);var n=w_.len(),i=S_.len();if(!(n<.001||i<.001)){w_.scale(1/n),S_.scale(1/i);var r=w_.dot(S_);if(Math.cos(e)1&&ue.copy(T_,b_),T_.toArray(t[1])}}}}function D_(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,x_.fromArray(t[0]),__.fromArray(t[1]),b_.fromArray(t[2]),ue.sub(w_,__,x_),ue.sub(S_,b_,__);var i=w_.len(),r=S_.len();if(!(i<.001||r<.001))if(w_.scale(1/i),S_.scale(1/r),w_.dot(e)=a)ue.copy(T_,b_);else{T_.scaleAndAdd(S_,o/Math.tan(Math.PI/2-s));var l=b_.x!==__.x?(T_.x-__.x)/(b_.x-__.x):(T_.y-__.y)/(b_.y-__.y);if(isNaN(l))return;l<0?ue.copy(T_,__):l>1&&ue.copy(T_,b_)}T_.toArray(t[1])}}}function A_(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function k_(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=Mt(i[0],i[1]),o=Mt(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=Tt([],i[1],i[0],a/r),l=Tt([],i[1],i[2],a/o),u=Tt([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var h=1;h0&&o&&_(-h/a,0,a);var f,g,y=t[0],v=t[a-1];return m(),f<0&&b(-f,.8),g<0&&b(g,.8),m(),x(f,g,1),x(g,f,-1),m(),f<0&&w(-f),g<0&&w(g),u}function m(){f=y.rect[e]-i,g=r-v.rect[e]-v.rect[n]}function x(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){_(i*n,0,a);var r=i+t;r<0&&b(-r*n,1)}else b(-t*n,1)}}function _(n,i,r){0!==n&&(u=!0);for(var o=i;o0)for(l=0;l0;l--){_(-(o[l-1]*c),l,a)}}}function w(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i0?_(n,0,i+1):_(-n,a-i-1,a),(t-=n)<=0)return}}function N_(t,e,n,i){return R_(t,"y","height",e,n,i)}function E_(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new me(0,0,0,0);function i(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var r=0;r=0&&n.attr(d.oldLayoutSelect),C(u,"emphasis")>=0&&n.attr(d.oldLayoutEmphasis)),Fu(n,s,e,a)}else if(n.attr(s),!Ph(n).valueAnimation){var h=q(n.style.opacity,1);n.style.opacity=0,Gu(n,{style:{opacity:h}},e,a)}if(d.oldLayout=s,n.states.select){var c=d.oldLayoutSelect={};H_(c,s,Y_),H_(c,n.states.select,Y_)}if(n.states.emphasis){var p=d.oldLayoutEmphasis={};H_(p,s,Y_),H_(p,n.states.emphasis,Y_)}Rh(n,a,l,e,e)}if(i&&!i.ignore&&!i.invisible){r=(d=W_(i)).oldLayout;var d,f={points:i.shape.points};r?(i.attr({shape:r}),Fu(i,{shape:f},e)):(i.setShape(f),i.style.strokePercent=0,Gu(i,{style:{strokePercent:1}},e)),d.oldLayout=f}},t}(),U_=ao();var Z_=Math.sin,j_=Math.cos,q_=Math.PI,K_=2*Math.PI,$_=180/q_,J_=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){this._add("C",t,e,n,i,r,o)},t.prototype.quadraticCurveTo=function(t,e,n,i){this._add("Q",t,e,n,i)},t.prototype.arc=function(t,e,n,i,r,o){this.ellipse(t,e,n,n,0,i,r,o)},t.prototype.ellipse=function(t,e,n,i,r,o,a,s){var l=a-o,u=!s,h=Math.abs(l),c=Hn(h-K_)||(u?l>=K_:-l>=K_),p=l>0?l%K_:l%K_+K_,d=!1;d=!!c||!Hn(h)&&p>=q_==!!u;var f=t+n*j_(o),g=e+i*Z_(o);this._start&&this._add("M",f,g);var y=Math.round(r*$_);if(c){var v=1/this._p,m=(u?1:-1)*(K_-v);this._add("A",n,i,y,1,+u,t+n*j_(o+m),e+i*Z_(o+m)),v>.01&&this._add("A",n,i,y,0,+u,f,g)}else{var x=t+n*j_(a),_=e+i*Z_(a);this._add("A",n,i,y,+d,+u,x,_)}},t.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,i,r,o,a,s,l){for(var u=[],h=this._p,c=1;c"}(r,o)+("style"!==r?Wt(a):a||"")+(i?""+n+L(i,(function(e){return t(e)})).join(n)+n:"")+("")}(t)}function hb(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function cb(t,e,n,i){return lb("svg","root",{width:t,height:e,xmlns:rb,"xmlns:xlink":ob,version:"1.1",baseProfile:"full",viewBox:!!i&&"0 0 "+t+" "+e},n)}var pb=0;function db(){return pb++}var fb={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"},gb="transform-origin";function yb(t,e,n){var i=I({},t.shape);I(i,e),t.buildPath(n,i);var r=new J_;return r.reset(Qn(t)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function vb(t,e){var n=e.originX,i=e.originY;(n||i)&&(t[gb]=n+"px "+i+"px")}var mb={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function xb(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function _b(t){return B(t)?fb[t]?"cubic-bezier("+fb[t]+")":dn(t)?t:"":""}function bb(t,e,n,i){var r=t.animators,o=r.length,a=[];if(t instanceof Tu){var s=function(t,e,n){var i,r,o=t.shape.paths,a={};if(k(o,(function(t){var e=hb(n.zrId);e.animation=!0,bb(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,l=R(o),u=l.length;if(u){var h=o[r=l[u-1]];for(var c in h){var p=h[c];a[c]=a[c]||{d:""},a[c].d+=p.d||""}for(var d in s){var f=s[d].animation;f.indexOf(r)>=0&&(i=f)}}})),i){e.d=!1;var s=xb(a,n);return i.replace(r,s)}}(t,e,n);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u0})).length)return xb(h,n)+" "+r[0]+" both"}for(var y in l){(s=g(l[y]))&&a.push(s)}if(a.length){var v=n.zrId+"-cls-"+db();n.cssNodes["."+v]={animation:a.join(",")},e.class=v}}function wb(t,e,n,i){var r=JSON.stringify(t),o=n.cssStyleCache[r];o||(o=n.zrId+"-cls-"+db(),n.cssStyleCache[r]=o,n.cssNodes["."+o+":hover"]=t),e.class=e.class?e.class+" "+o:o}var Sb=Math.round;function Mb(t){return t&&B(t.src)}function Ib(t){return t&&V(t.toDataURL)}function Tb(t,e,n,i){ib((function(r,o){var a="fill"===r||"stroke"===r;a&&$n(o)?zb(e,t,r,i):a&&jn(o)?Vb(n,t,r,i):t[r]=a&&"none"===o?"transparent":o}),e,n,!1),function(t,e,n){var i=t.style;if(function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}(i)){var r=function(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}(t),o=n.shadowCache,a=o[r];if(!a){var s=t.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var h=i.shadowOffsetX||0,c=i.shadowOffsetY||0,p=i.shadowBlur,d=Gn(i.shadowColor),f=d.opacity,g=d.color,y=p/2/l+" "+p/2/u;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=lb("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[lb("feDropShadow","",{dx:h/l,dy:c/u,stdDeviation:y,"flood-color":g,"flood-opacity":f})]),o[r]=a}e.filter=Jn(a)}}(n,t,i)}function Cb(t,e){var n=function(t){if("function"==typeof xr)return xr(t)}(e);n&&(n.each((function(e,n){null!=e&&(t[(ab+n).toLowerCase()]=e+"")})),e.isSilent()&&(t[ab+"silent"]="true"))}function Db(t){return Hn(t[0]-1)&&Hn(t[1])&&Hn(t[2])&&Hn(t[3]-1)}function Ab(t,e,n){if(e&&(!function(t){return Hn(t[4])&&Hn(t[5])}(e)||!Db(e))){var i=1e4;t.transform=Db(e)?"translate("+Sb(e[4]*i)/i+" "+Sb(e[5]*i)/i+")":function(t){return"matrix("+Yn(t[0])+","+Yn(t[1])+","+Yn(t[2])+","+Yn(t[3])+","+Xn(t[4])+","+Xn(t[5])+")"}(e)}}function kb(t,e,n){for(var i=t.points,r=[],o=0;o=0&&a||o;s&&(r=Bn(s))}var l=i.lineWidth;l&&(l/=!i.strokeNoScale&&t.transform?t.transform[0]:1);var u={cursor:"pointer"};r&&(u.fill=r),i.stroke&&(u.stroke=i.stroke),l&&(u["stroke-width"]=l),wb(u,e,n)}}(t,o,e),lb(s,t.id+"",o)}function Eb(t,e){return t instanceof Qa?Nb(t,e):t instanceof rs?function(t,e){var n=t.style,i=n.image;if(i&&!B(i)&&(Mb(i)?i=i.src:Ib(i)&&(i=i.toDataURL())),i){var r=n.x||0,o=n.y||0,a={href:i,width:n.width,height:n.height};return r&&(a.x=r),o&&(a.y=o),Ab(a,t.transform),Tb(a,n,t,e),Cb(a,t),e.animation&&bb(t,a,e),lb("image",t.id+"",a)}}(t,e):t instanceof es?function(t,e){var n=t.style,i=n.text;if(null!=i&&(i+=""),i&&!isNaN(n.x)&&!isNaN(n.y)){var a=n.font||o,s=n.x||0,l=function(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}(n.y||0,ir(a),n.textBaseline),u={"dominant-baseline":"central","text-anchor":Un[n.textAlign]||n.textAlign};if(_s(n)){var h="",c=n.fontStyle,p=ms(n.fontSize);if(!parseFloat(p))return;var d=n.fontFamily||r,f=n.fontWeight;h+="font-size:"+p+";font-family:"+d+";",c&&"normal"!==c&&(h+="font-style:"+c+";"),f&&"normal"!==f&&(h+="font-weight:"+f+";"),u.style=h}else u.style="font: "+a;return i.match(/\s/)&&(u["xml:space"]="preserve"),s&&(u.x=s),l&&(u.y=l),Ab(u,t.transform),Tb(u,n,t,e),Cb(u,t),e.animation&&bb(t,u,e),lb("text",t.id+"",u,void 0,i)}}(t,e):void 0}function zb(t,e,n,i){var r,o=t[n],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(qn(o))r="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!Kn(o))return;r="radialGradient",a.cx=q(o.x,.5),a.cy=q(o.y,.5),a.r=q(o.r,.5)}for(var s=o.colorStops,l=[],u=0,h=s.length;ul?Qb(t,null==n[c+1]?null:n[c+1].elm,n,s,c):tw(t,e,a,l))}(n,i,r):qb(r)?(qb(t.text)&&Ub(n,""),Qb(n,null,r,0,r.length-1)):qb(i)?tw(n,i,0,i.length-1):qb(t.text)&&Ub(n,""):t.text!==e.text&&(qb(i)&&tw(n,i,0,i.length-1),Ub(n,e.text)))}var iw=0,rw=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=function(){},this.configLayer=function(){},this.storage=e,this._opts=n=I({},n),this.root=t,this._id="zr"+iw++,this._oldVNode=cb(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=sb("svg");ew(null,this._oldVNode),i.appendChild(r),t.appendChild(i)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",function(t,e){if($b(t,e))nw(t,e);else{var n=t.elm,i=Yb(n);Jb(e),null!==i&&(Gb(i,e.elm,Xb(n)),tw(i,[t],0,0))}}(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return Eb(t,hb(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._width,i=this._height,r=hb(this._id);r.animation=t.animation,r.willUpdate=t.willUpdate,r.compress=t.compress,r.emphasis=t.emphasis;var o=[],a=this._bgVNode=function(t,e,n,i){var r;if(n&&"none"!==n)if(r=lb("rect","bg",{width:t,height:e,x:"0",y:"0"}),$n(n))zb({fill:n},r.attrs,"fill",i);else if(jn(n))Vb({style:{fill:n},dirty:pt,getBoundingRect:function(){return{width:t,height:e}}},r.attrs,"fill",i);else{var o=Gn(n),a=o.color,s=o.opacity;r.attrs.fill=a,s<1&&(r.attrs["fill-opacity"]=s)}return r}(n,i,this._backgroundColor,r);a&&o.push(a);var s=t.compress?null:this._mainVNode=lb("g","main",{},[]);this._paintList(e,r,s?s.children:o),s&&o.push(s);var l=L(R(r.defs),(function(t){return r.defs[t]}));if(l.length&&o.push(lb("defs","defs",{},l)),t.animation){var u=function(t,e,n){var i=(n=n||{}).newline?"\n":"",r=" {"+i,o=i+"}",a=L(R(t),(function(e){return e+r+L(R(t[e]),(function(n){return n+":"+t[e][n]+";"})).join(i)+o})).join(i),s=L(R(e),(function(t){return"@keyframes "+t+r+L(R(e[t]),(function(n){return n+r+L(R(e[t][n]),(function(i){var r=e[t][n][i];return"d"===i&&(r='path("'+r+'")'),i+":"+r+";"})).join(i)+o})).join(i)+o})).join(i);return a||s?[""].join(i):""}(r.cssNodes,r.cssAnims,{newline:!0});if(u){var h=lb("style","stl",{},[],u);o.push(h)}}return cb(n,i,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},ub(this.renderToVNode({animation:q(t.cssAnimation,!0),emphasis:q(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:q(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var i,r,o=t.length,a=[],s=0,l=0,u=0;u=0&&(!c||!r||c[f]!==r[f]);f--);for(var g=d-1;g>f;g--)i=a[--s-1];for(var y=f+1;y=a)}}for(var h=this.__startIndex;h15)break}n.prevElClipPaths&&u.restore()};if(p)if(0===p.length)s=l.__endIndex;else for(var _=d.dpr,b=0;b0&&t>i[0]){for(s=0;st);s++);a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i0?uw:0),this._needsManuallyCompositing),u.__builtin__||b("ZLevel "+l+" has been used by unkown layer "+u.id),u!==o&&(u.__used=!0,u.__startIndex!==r&&(u.__dirty=!0),u.__startIndex=r,u.incremental?u.__drawIndex=-1:u.__drawIndex=r,e(r),o=u),1&s.__dirty&&!s.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=r))}e(r),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,k(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?S(n[t],e,!0):n[t]=e;for(var i=0;i-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},n.type="series.line",n.dependencies=["grid","polar"],n.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:Infinity,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},n}(Ff);function pw(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=Ed(t,e,n[0]);return null!=r?r+"":null}if(i){for(var o=[],a=0;a=0&&i.push(e[o])}return i.join(" ")}var fw=function(t){function n(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return e(n,t),n.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var o=hy(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=gw,this._symbolType=t,this.add(o)},n.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},n.prototype.getSymbolType=function(){return this._symbolType},n.prototype.getSymbolPath=function(){return this.childAt(0)},n.prototype.highlight=function(){nl(this.childAt(0))},n.prototype.downplay=function(){il(this.childAt(0))},n.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},n.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},n.prototype.updateData=function(t,e,i,r){this.silent=!1;var o=t.getItemVisual(e,"symbol")||"circle",a=t.hostModel,s=n.getSymbolSize(t,e),l=o!==this._symbolType,u=r&&r.disableAnimation;if(l){var h=t.getItemVisual(e,"symbolKeepAspect");this._createSymbol(o,t,e,s,h)}else{(p=this.childAt(0)).silent=!1;var c={scaleX:s[0]/2,scaleY:s[1]/2};u?p.attr(c):Fu(p,c,a,e),Uu(p)}if(this._updateCommon(t,e,s,i,r),l){var p=this.childAt(0);if(!u){c={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:p.style.opacity}};p.scaleX=p.scaleY=0,p.style.opacity=0,Gu(p,c,a,e)}}u&&this.childAt(0).stopAnimation("leave")},n.prototype._updateCommon=function(t,e,n,i,r){var o,a,s,l,u,h,c,p,d,f=this.childAt(0),g=t.hostModel;if(i&&(o=i.emphasisItemStyle,a=i.blurItemStyle,s=i.selectItemStyle,l=i.focus,u=i.blurScope,c=i.labelStatesModels,p=i.hoverScale,d=i.cursorStyle,h=i.emphasisDisabled),!i||t.hasItemOption){var y=i&&i.itemModel?i.itemModel:t.getItemModel(e),v=y.getModel("emphasis");o=v.getModel("itemStyle").getItemStyle(),s=y.getModel(["select","itemStyle"]).getItemStyle(),a=y.getModel(["blur","itemStyle"]).getItemStyle(),l=v.get("focus"),u=v.get("blurScope"),h=v.get("disabled"),c=Mh(y),p=v.getShallow("scale"),d=y.getShallow("cursor")}var m=t.getItemVisual(e,"symbolRotate");f.attr("rotation",(m||0)*Math.PI/180||0);var x=py(t.getItemVisual(e,"symbolOffset"),n);x&&(f.x=x[0],f.y=x[1]),d&&f.attr("cursor",d);var _=t.getItemVisual(e,"style"),b=_.fill;if(f instanceof rs){var w=f.style;f.useStyle(I({image:w.image,x:w.x,y:w.y,width:w.width,height:w.height},_))}else f.__isEmptyBrush?f.useStyle(I({},_)):f.useStyle(_),f.style.decal=null,f.setColor(b,r&&r.symbolInnerColor),f.style.strokeNoScale=!0;var S=t.getItemVisual(e,"liftZ"),M=this._z2;null!=S?null==M&&(this._z2=f.z2,f.z2+=S):null!=M&&(f.z2=M,this._z2=null);var T=r&&r.useNameLabel;Sh(f,c,{labelFetcher:g,labelDataIndex:e,defaultText:function(e){return T?t.getName(e):pw(t,e)},inheritColor:b,defaultOpacity:_.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var C=f.ensureState("emphasis");C.style=o,f.ensureState("select").style=s,f.ensureState("blur").style=a;var D=null==p||!0===p?Math.max(1.1,3/this._sizeY):isFinite(p)&&p>0?+p:1;C.scaleX=this._sizeX*D,C.scaleY=this._sizeY*D,this.setSymbolScale(1),yl(this,l,u,h)},n.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},n.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=Cs(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var a=i.getTextContent();a&&Hu(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();Hu(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},n.getSymbolSize=function(t,e){return cy(t.getItemVisual(e,"symbolSize"))},n}(yr);function gw(t,e){this.parent.drift(t,e)}function yw(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function vw(t){return null==t||W(t)||(t={isIgnore:t}),t||{}}function mw(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:Mh(e),cursorStyle:e.get("cursor")}}var xw=function(){function t(t){this.group=new yr,this._SymbolCtor=t||fw}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=vw(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=mw(t),l={disableAnimation:a},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add((function(i){var r=u(i);if(yw(t,r,i,e)){var a=new o(t,i,s,l);a.setPosition(r),t.setItemGraphicEl(i,a),n.add(a)}})).update((function(h,c){var p=r.getItemGraphicEl(c),d=u(h);if(yw(t,d,h,e)){var f=t.getItemVisual(h,"symbol")||"circle",g=p&&p.getSymbolType&&p.getSymbolType();if(!p||g&&g!==f)n.remove(p),(p=new o(t,h,s,l)).setPosition(d);else{p.updateData(t,h,s,l);var y={x:d[0],y:d[1]};a?p.attr(y):Fu(p,y,i)}n.add(p),t.setItemGraphicEl(h,p)}else n.remove(p)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}),i)})).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=mw(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=vw(n);for(var r=t.start;r0?n=i[0]:i[1]<0&&(n=i[1]);return n}(r,n),a=i.dim,s=r.dim,l=e.mapDimension(s),u=e.mapDimension(a),h="x"===s||"radius"===s?1:0,c=L(t.dimensions,(function(t){return e.mapDimension(t)})),p=!1,d=e.getCalculationInfo("stackResultDimension");return Cm(e,c[0])&&(p=!0,c[0]=d),Cm(e,c[1])&&(p=!0,c[1]=d),{dataDimsForPoint:c,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!p,valueDim:l,baseDim:u,baseDataOffset:h,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function bw(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}var ww=Math.min,Sw=Math.max;function Mw(t,e){return isNaN(t)||isNaN(e)}function Iw(t,e,n,i,r,o,a,s,l){for(var u,h,c,p,d,f,g=n,y=0;y=r||g<0)break;if(Mw(v,m)){if(l){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](v,m),c=v,p=m;else{var x=v-u,_=m-h;if(x*x+_*_<.5){g+=o;continue}if(a>0){for(var b=g+o,w=e[2*b],S=e[2*b+1];w===v&&S===m&&y=i||Mw(w,S))d=v,f=m;else{T=w-u,C=S-h;var k=v-u,L=w-v,P=m-h,O=S-m,R=void 0,N=void 0;if("x"===s){var E=T>0?1:-1;d=v-E*(R=Math.abs(k))*a,f=m,D=v+E*(N=Math.abs(L))*a,A=m}else if("y"===s){var z=C>0?1:-1;d=v,f=m-z*(R=Math.abs(P))*a,D=v,A=m+z*(N=Math.abs(O))*a}else R=Math.sqrt(k*k+P*P),d=v-T*a*(1-(I=(N=Math.sqrt(L*L+O*O))/(N+R))),f=m-C*a*(1-I),A=m+C*a*I,D=ww(D=v+T*a*I,Sw(w,v)),A=ww(A,Sw(S,m)),D=Sw(D,ww(w,v)),f=m-(C=(A=Sw(A,ww(S,m)))-m)*R/N,d=ww(d=v-(T=D-v)*R/N,Sw(u,v)),f=ww(f,Sw(h,m)),D=v+(T=v-(d=Sw(d,ww(u,v))))*N/R,A=m+(C=m-(f=Sw(f,ww(h,m))))*N/R}t.bezierCurveTo(c,p,d,f,v,m),c=D,p=A}else t.lineTo(v,m)}u=v,h=m,g+=o}return y}var Tw=function(){return function(){this.smooth=0,this.smoothConstraint=!0}}(),Cw=function(t){function n(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return e(n,t),n.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},n.prototype.getDefaultShape=function(){return new Tw},n.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&Mw(n[2*r-2],n[2*r-1]);r--);for(;i=0){var y=a?(h-i)*g+i:(u-n)*g+n;return a?[t,y]:[y,t]}n=u,i=h;break;case o.C:u=r[l++],h=r[l++],c=r[l++],p=r[l++],d=r[l++],f=r[l++];var v=a?tn(n,u,c,d,t,s):tn(i,h,p,f,t,s);if(v>0)for(var m=0;m=0){y=a?Je(i,h,p,f,x):Je(n,u,c,d,x);return a?[t,y]:[y,t]}}n=d,i=f}}},n}(Qa),Dw=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n}(Tw),Aw=function(t){function n(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return e(n,t),n.prototype.getDefaultShape=function(){return new Dw},n.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&Mw(n[2*o-2],n[2*o-1]);o--);for(;r=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=kn(e[r]),s=kn(e[o]),l=i-r,u=En([xn(Mn(a[0],s[0],l)),xn(Mn(a[1],s[1],l)),xn(Mn(a[2],s[2],l)),_n(Mn(a[3],s[3],l))],"rgba");return n?{color:u,leftIndex:r,rightIndex:o,value:i}:u}}((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;se){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}}return r}function Fw(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var o=n.getAxesByScale("ordinal")[0];if(o&&(!r||!function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;ai)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return k(o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);s[e]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}function Gw(t,e){return[t[2*e],t[2*e+1]]}function Ww(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e=0;a--){var s=t.getDimensionInfo(i[a].dimension);if("x"===(r=s&&s.coordDim)||"y"===r){o=i[a];break}}if(o){var l=e.getAxis(r),u=L(o.stops,(function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}})),h=u.length,c=o.outerColors.slice();h&&u[0].coord>u[h-1].coord&&(u.reverse(),c.reverse());var p=Bw(u,"x"===r?n.getWidth():n.getHeight()),d=p.length;if(!d&&h)return u[0].coord<0?c[1]?c[1]:u[h-1].color:c[0]?c[0]:u[0].color;var f=p[0].coord-10,g=p[d-1].coord+10,y=g-f;if(y<.001)return"transparent";k(p,(function(t){t.offset=(t.coord-f)/y})),p.push({offset:d?p[d-1].offset:.5,color:c[1]||"transparent"}),p.unshift({offset:d?p[0].offset:.5,color:c[0]||"transparent"});var v=new Du(0,0,0,0,p,!0);return v[r]=f,v[r+"2"]=g,v}}}(a,r,n)||a.getVisual("style")[a.getVisual("drawType")];if(d&&c.type===r.type&&C===this._step){v&&!f?f=this._newPolygon(u,_):f&&!v&&(g.remove(f),f=this._polygon=null),h||this._initOrUpdateEndLabel(t,r,Wc(D));var A=g.getClipPath();if(A)Gu(A,{shape:Hw(this,r,!1,t).shape},t);else g.setClipPath(Hw(this,r,!0,t));b&&p.updateData(a,{isIgnore:S,clipShape:I,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),Rw(this._stackedOnPoints,_)&&Rw(this._points,u)||(y?this._doUpdateAnimation(a,_,r,n,C,m,w):(C&&(u=Vw(u,r,C,w),_&&(_=Vw(_,r,C,w))),d.setShape({points:u}),f&&f.setShape({points:u,stackedOnPoints:_})))}else b&&p.updateData(a,{isIgnore:S,clipShape:I,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),y&&this._initSymbolLabelAnimation(a,r,I),C&&(u=Vw(u,r,C,w),_&&(_=Vw(_,r,C,w))),d=this._newPolyline(u),v?f=this._newPolygon(u,_):f&&(g.remove(f),f=this._polygon=null),h||this._initOrUpdateEndLabel(t,r,Wc(D)),g.setClipPath(Hw(this,r,!0,t));var P=t.getModel("emphasis"),O=P.get("focus"),R=P.get("blurScope"),N=P.get("disabled");(d.useStyle(T(s.getLineStyle(),{fill:"none",stroke:D,lineJoin:"bevel"})),_l(d,t,"lineStyle"),d.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"]))&&(d.getState("emphasis").style.lineWidth=+d.style.lineWidth+1);Cs(d).seriesIndex=t.seriesIndex,yl(d,O,R,N);var E=zw(t.get("smooth")),z=t.get("smoothMonotone");if(d.setShape({smooth:E,smoothMonotone:z,connectNulls:w}),f){var V=a.getCalculationInfo("stackedOnSeries"),B=0;f.useStyle(T(l.getAreaStyle(),{fill:D,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),V&&(B=zw(V.get("smooth"))),f.setShape({smooth:E,stackedOnSmooth:B,smoothMonotone:z,connectNulls:w}),_l(f,t,"areaStyle"),Cs(f).seriesIndex=t.seriesIndex,yl(f,O,R,N)}var F=function(t){i._changePolyState(t)};a.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=F)})),this._polyline.onHoverStateChange=F,this._data=a,this._coordSys=r,this._stackedOnPoints=_,this._points=u,this._step=C,this._valueOrigin=m,t.get("triggerLineEvent")&&(this.packEventData(t,d),f&&this.packEventData(t,f))},n.prototype.packEventData=function(t,e){Cs(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},n.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=oo(r,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var h=t.get("zlevel")||0,c=t.get("z")||0;(s=new fw(r,o)).x=l,s.y=u,s.setZ(h,c);var p=s.getSymbolPath().getTextContent();p&&(p.zlevel=h,p.z=c,p.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else Jf.prototype.highlight.call(this,t,e,n,i)},n.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=oo(r,i);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else Jf.prototype.downplay.call(this,t,e,n,i)},n.prototype._changePolyState=function(t){var e=this._polygon;$s(this._polyline,t),e&&$s(e,t)},n.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new Cw({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},n.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new Aw({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},n.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");V(l)&&(l=l(null));var u=s.get("animationDelay")||0,h=V(u)?u(null):u;t.eachItemGraphicEl((function(t,o){var s=t;if(s){var c=[t.x,t.y],p=void 0,d=void 0,f=void 0;if(n)if(r){var g=n,y=e.pointToCoord(c);i?(p=g.startAngle,d=g.endAngle,f=-y[1]/180*Math.PI):(p=g.r0,d=g.r,f=y[0])}else{var v=n;i?(p=v.x,d=v.x+v.width,f=t.x):(p=v.y+v.height,d=v.y,f=t.y)}var m=d===p?0:(f-p)/(d-p);a&&(m=1-m);var x=V(u)?u(o):l*m+h,_=s.getSymbolPath(),b=_.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:x}),b&&b.animateFrom({style:{opacity:0}},{duration:300,delay:x}),_.disableLabelAnimation=!0}}))},n.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(Ww(t)){var r=t.getData(),o=this._polyline,a=r.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new fs({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=function(t){for(var e,n,i=t.length/2;i>0&&(e=t[2*i-2],n=t[2*i-1],isNaN(e)||isNaN(n));i--);return i-1}(a);l>=0&&(Sh(o,Mh(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?dw(r,n):pw(r,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,o=i?r?"right":"left":"center",a=i?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}(i,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},n.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),h=n.hostModel,c=h.get("connectNulls"),p=o.get("precision"),d=o.get("distance")||0,f=a.getBaseAxis(),g=f.isHorizontal(),y=f.inverse,v=e.shape,m=y?g?v.x:v.y+v.height:g?v.x+v.width:v.y,x=(g?d:0)*(y?-1:1),_=(g?0:-d)*(y?-1:1),b=g?"x":"y",w=function(t,e,n){for(var i,r,o=t.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u=e||i>=e&&r<=e){l=u;break}s=u,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}(u,m,b),S=w.range,M=S[1]-S[0],I=void 0;if(M>=1){if(M>1&&!c){var T=Gw(u,S[0]);s.attr({x:T[0]+x,y:T[1]+_}),r&&(I=h.getRawValue(S[0]))}else{(T=l.getPointOn(m,b))&&s.attr({x:T[0]+x,y:T[1]+_});var C=h.getRawValue(S[0]),D=h.getRawValue(S[1]);r&&(I=yo(n,p,C,D,w.t))}i.lastFrameIndex=S[0]}else{var A=1===t||i.lastFrameIndex>0?S[0]:0;T=Gw(u,A);r&&(I=h.getRawValue(A)),s.attr({x:T[0]+x,y:T[1]+_})}if(r){var k=Ph(s);"function"==typeof k.setLabelText&&k.setLabelText(I)}}},n.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,h=function(t,e,n,i,r,o,a){for(var s=function(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}(t,e),l=[],u=[],h=[],c=[],p=[],d=[],f=[],g=_w(r,e,a),y=t.getLayout("points")||[],v=e.getLayout("points")||[],m=0;m3e3||l&&Ew(p,f)>3e3)return s.stopAnimation(),s.setShape({points:d}),void(l&&(l.stopAnimation(),l.setShape({points:d,stackedOnPoints:f})));s.shape.__points=h.current,s.shape.points=c;var g={shape:{points:d}};h.current!==c&&(g.shape.__points=h.next),s.stopAnimation(),Fu(s,g,u),l&&(l.setShape({points:c,stackedOnPoints:p}),l.stopAnimation(),Fu(l,{shape:{stackedOnPoints:f}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var y=[],v=h.status,m=0;me&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=Infinity,n=0;ne&&(e=o,n=r)}return isFinite(n)?n:NaN},nearest:function(t){return t[0]}},Zw=function(t){return Math.round(t.length/2)};function jw(t){return{seriesType:t,reset:function(t,e,n){var i=t.getData(),r=t.get("sampling"),o=t.coordinateSystem,a=i.count();if(a>10&&"cartesian2d"===o.type&&r){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),h=n.getDevicePixelRatio(),c=Math.abs(u[1]-u[0])*(h||1),p=Math.round(a/c);if(isFinite(p)&&p>1){"lttb"===r&&t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/p));var d=void 0;B(r)?d=Uw[r]:V(r)&&(d=r),d&&t.setData(i.downSample(i.mapDimension(l.dim),1/p,d,Zw))}}}}}var qw=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.getInitialData=function(t,e){return Am(null,this,{useEncodeDefaulter:!0})},n.prototype.getMarkerPosition=function(t,e,n){var i=this.coordinateSystem;if(i&&i.clampData){var r=i.clampData(t),o=i.dataToPoint(r);if(n)k(i.getAxes(),(function(t,n){if("category"===t.type&&null!=e){var i=t.getTicksCoords(),a=t.getTickModel().get("alignWithLabel"),s=r[n],l="x1"===e[n]||"y1"===e[n];if(l&&!a&&(s+=1),i.length<2)return;if(2===i.length)return void(o[n]=t.toGlobalCoord(t.getExtent()[l?1:0]));for(var u=void 0,h=void 0,c=1,p=0;ps){h=(d+u)/2;break}1===p&&(c=f-i[0].tickValue)}null==h&&(u?u&&(h=i[i.length-1].coord):h=i[0].coord),o[n]=t.toGlobalCoord(h)}}));else{var a=this.getData(),s=a.getLayout("offset"),l=a.getLayout("size"),u=i.getBaseAxis().isHorizontal()?0:1;o[u]+=s+l/2}return o}return[NaN,NaN]},n.type="series.__base_bar__",n.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},n}(Ff);Ff.registerClass(qw);var Kw=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.getInitialData=function(){return Am(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},n.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},n.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},n.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},n.type="series.bar",n.dependencies=["grid","polar"],n.defaultOption=Kh(qw.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}),n}(qw),$w=function(){return function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}}(),Jw=function(t){function n(e){var n=t.call(this,e)||this;return n.type="sausage",n}return e(n,t),n.prototype.getDefaultShape=function(){return new $w},n.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,h=e.clockwise,c=2*Math.PI,p=h?u-lo)return!0;o=u}return!1},n.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},n.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},n.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},n.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},n.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},n.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},n.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){Xu(e,t,Cs(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},n.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},n.type="bar",n}(Jf),oS={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=nS(e.x,t.x),s=iS(e.x+e.width,r),l=nS(e.y,t.y),u=iS(e.y+e.height,o),h=sr?s:a,e.y=c&&l>o?u:l,e.width=h?0:s-a,e.height=c?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),h||c},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=iS(e.r,t.r),o=nS(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;if(n<0){i=e.r;e.r=e.r0,e.r0=i}return a}},aS={cartesian2d:function(t,e,n,i,r,o,a,s,l){var u=new cs({shape:I({},i),z2:1});(u.__dataIndex=n,u.name="item",o)&&(u.shape[r?"height":"width"]=0);return u},polar:function(t,e,n,i,r,o,a,s,l){var u=!r&&l?Jw:uu,h=new u({shape:i,z2:1});h.name="item";var c,p,d=dS(r);if(h.calculateTextPosition=(c=d,p=({isRoundCap:u===Jw}||{}).isRoundCap,function(t,e,n){var i=e.position;if(!i||i instanceof Array)return or(t,e,n);var r=c(i),o=null!=e.distance?e.distance:5,a=this.shape,s=a.cx,l=a.cy,u=a.r,h=a.r0,d=(u+h)/2,f=a.startAngle,g=a.endAngle,y=(f+g)/2,v=p?Math.abs(u-h)/2:0,m=Math.cos,x=Math.sin,_=s+u*m(f),b=l+u*x(f),w="left",S="top";switch(r){case"startArc":_=s+(h-o)*m(y),b=l+(h-o)*x(y),w="center",S="top";break;case"insideStartArc":_=s+(h+o)*m(y),b=l+(h+o)*x(y),w="center",S="bottom";break;case"startAngle":_=s+d*m(f)+Qw(f,o+v,!1),b=l+d*x(f)+tS(f,o+v,!1),w="right",S="middle";break;case"insideStartAngle":_=s+d*m(f)+Qw(f,-o+v,!1),b=l+d*x(f)+tS(f,-o+v,!1),w="left",S="middle";break;case"middle":_=s+d*m(y),b=l+d*x(y),w="center",S="middle";break;case"endArc":_=s+(u+o)*m(y),b=l+(u+o)*x(y),w="center",S="bottom";break;case"insideEndArc":_=s+(u-o)*m(y),b=l+(u-o)*x(y),w="center",S="top";break;case"endAngle":_=s+d*m(g)+Qw(g,o+v,!0),b=l+d*x(g)+tS(g,o+v,!0),w="left",S="middle";break;case"insideEndAngle":_=s+d*m(g)+Qw(g,-o+v,!0),b=l+d*x(g)+tS(g,-o+v,!0),w="right",S="middle";break;default:return or(t,e,n)}return(t=t||{}).x=_,t.y=b,t.align=w,t.verticalAlign=S,t}),o){var f=r?"r":"endAngle",g={};h.shape[f]=r?i.r0:i.startAngle,g[f]=i[f],(s?Fu:Gu)(h,{shape:g},o)}return h}};function sS(t,e,n,i,r,o,a,s){var l,u;o?(u={x:i.x,width:i.width},l={y:i.y,height:i.height}):(u={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(a?Fu:Gu)(n,{shape:l},e,r,null),(a?Fu:Gu)(n,{shape:u},e?t.baseAxis.model:null,r)}function lS(t,e){for(var n=0;n0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function dS(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function fS(t,e,n,i,r,o,a,s){var l=e.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var u=t.shape;I(u,eS(i.getModel("itemStyle"),u,!0)),t.setShape(u)}}else{var h=i.get(["itemStyle","borderRadius"])||0;t.setShape("r",h)}t.useStyle(l);var c=i.getShallow("cursor");c&&t.attr("cursor",c);var p=s?a?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?r.height>=0?"bottom":"top":r.width>=0?"right":"left",d=Mh(i);Sh(t,d,{labelFetcher:o,labelDataIndex:n,defaultText:pw(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:p});var f=t.getTextContent();if(s&&f){var g=i.get(["label","position"]);t.textConfig.inside="middle"===g||null,function(t,e,n,i){if(G(i))t.setTextConfig({rotation:i});else if(z(e))t.setTextConfig({rotation:0});else{var r,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=(a+s)/2,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=l;break;case"startAngle":case"insideStartAngle":r=a;break;case"endAngle":case"insideEndAngle":r=s;break;default:return void t.setTextConfig({rotation:0})}var h=1.5*Math.PI-r;"middle"===u&&h>Math.PI/2&&h<1.5*Math.PI&&(h-=Math.PI),t.setTextConfig({rotation:h})}}(t,"outside"===g?p:g,dS(a),i.get(["label","rotate"]))}Oh(f,d,o.getRawValue(n),(function(t){return dw(e,t)}));var y=i.getModel(["emphasis"]);yl(t,y.get("focus"),y.get("blurScope"),y.get("disabled")),_l(t,i),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(r)&&(t.style.fill="none",t.style.stroke="none",k(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}var gS=function(){return function(){}}(),yS=function(t){function n(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return e(n,t),n.prototype.getDefaultShape=function(){return new gS},n.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[h]}return-1}(this,t.offsetX,t.offsetY);Cs(this).dataIndex=e>=0?e:null}),30,!1);function xS(t,e,n){if(Ow(n,"cartesian2d")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}var o=e;return{cx:(r=n.getArea()).cx,cy:r.cy,r0:t?r.r0:o.r0,r:t?r.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}var _S=2*Math.PI,bS=Math.PI/180;function wS(t,e){return qc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function SS(t,e){var n=wS(t,e),i=t.get("center"),r=t.get("radius");z(r)||(r=[0,r]);var o,a,s=Mr(n.width,e.getWidth()),l=Mr(n.height,e.getHeight()),u=Math.min(s,l),h=Mr(r[0],u/2),c=Mr(r[1],u/2),p=t.coordinateSystem;if(p){var d=p.dataToPoint(i);o=d[0]||0,a=d[1]||0}else z(i)||(i=[i,i]),o=Mr(i[0],s)+n.x,a=Mr(i[1],l)+n.y;return{cx:o,cy:a,r0:h,r:c}}function MS(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),i=e.mapDimension("value"),r=wS(t,n),o=SS(t,n),a=o.cx,s=o.cy,l=o.r,u=o.r0,h=-t.get("startAngle")*bS,c=t.get("endAngle"),p=t.get("padAngle")*bS;c="auto"===c?h-_S:-c*bS;var d=t.get("minAngle")*bS+p,f=0;e.each(i,(function(t){!isNaN(t)&&f++}));var g=e.getSum(i),y=Math.PI/(g||f)*2,v=t.get("clockwise"),m=t.get("roseType"),x=t.get("stillShowZeroSum"),_=e.getDataExtent(i);_[0]=0;var b=v?1:-1,w=[h,c],S=b*p/2;Pa(w,!v),h=w[0],c=w[1];var M=IS(t);M.startAngle=h,M.endAngle=c,M.clockwise=v;var I=Math.abs(c-h),T=I,C=0,D=h;if(e.setLayout({viewRect:r,r:l}),e.each(i,(function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:v,cx:a,cy:s,r0:u,r:m?NaN:l});else{(i="area"!==m?0===g&&x?y:t*y:I/f)i?h=o=D+b*i/2:(o=D+S,h=r-S),e.setItemLayout(n,{angle:i,startAngle:o,endAngle:h,clockwise:v,cx:a,cy:s,r0:u,r:m?Sr(t,_,[u,l]):l}),D=r}})),T<_S&&f)if(T<=.001){var A=I/f;e.each(i,(function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n);i.angle=A;var r=0,o=0;An?a:o,h=Math.abs(l.label.y-n);if(h>=u.maxY){var c=l.label.x-e-l.len2*r,p=i+l.len,f=Math.abs(c)t.unconstrainedWidth?null:d:null;i.setStyle("width",f)}var g=i.getBoundingRect();o.width=g.width;var y=(i.style.margin||0)+2.1;o.height=g.height+y,o.y-=(o.height-c)/2}}}function kS(t){return"center"===t.position}function LS(t){var e,n,i=t.getData(),r=[],o=!1,a=(t.get("minShowLabelAngle")||0)*CS,s=i.getLayout("viewRect"),l=i.getLayout("r"),u=s.width,h=s.x,c=s.y,p=s.height;function d(t){t.ignore=!0}i.each((function(t){var s=i.getItemGraphicEl(t),c=s.shape,p=s.getTextContent(),f=s.getTextGuideLine(),g=i.getItemModel(t),y=g.getModel("label"),v=y.get("position")||g.get(["emphasis","label","position"]),m=y.get("distanceToLabelLine"),x=y.get("alignTo"),_=Mr(y.get("edgeDistance"),u),b=y.get("bleedMargin"),w=g.getModel("labelLine"),S=w.get("length");S=Mr(S,u);var M=w.get("length2");if(M=Mr(M,u),Math.abs(c.endAngle-c.startAngle)0?"right":"left":L>0?"left":"right"}var B=Math.PI,F=0,W=y.get("rotate");if(G(W))F=W*(B/180);else if("center"===v)F=0;else if("radial"===W||!0===W){F=L<0?-A+B:-A}else if("tangential"===W&&"outside"!==v&&"outer"!==v){var H=Math.atan2(L,P);H<0&&(H=2*B+H),P>0&&(H=B+H),F=H-B}if(o=!!F,p.x=I,p.y=T,p.rotation=F,p.setStyle({verticalAlign:"middle"}),O){p.setStyle({align:D});var Y=p.states.select;Y&&(Y.x+=p.x,Y.y+=p.y)}else{var X=p.getBoundingRect().clone();X.applyTransform(p.getComputedTransform());var U=(p.style.margin||0)+2.1;X.y-=U/2,X.height+=U,r.push({label:p,labelLine:f,position:v,len:S,len2:M,minTurnAngle:w.get("minTurnAngle"),maxSurfaceAngle:w.get("maxSurfaceAngle"),surfaceNormal:new ue(L,P),linePoints:C,textAlign:D,labelDistance:m,labelAlignTo:x,edgeDistance:_,bleedMargin:b,rect:X,unconstrainedWidth:X.width,labelStyleWidth:p.style.width})}s.setTextConfig({inside:O})}})),!o&&t.get("avoidLabelOverlap")&&function(t,e,n,i,r,o,a,s){for(var l=[],u=[],h=Number.MAX_VALUE,c=-Number.MAX_VALUE,p=0;p0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u=n.r0}},n.type="pie",n}(Jf);function RS(t,e,n){e=z(e)&&{coordDimensions:e}||I({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=bm(i,e).dimensions,o=new _m(r,t);return o.initData(i,n),o}var NS=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}(),ES=ao(),zS=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new NS(N(this.getData,this),N(this.getRawData,this)),this._defaultLabelLine(e)},n.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},n.prototype.getInitialData=function(){return RS(this,{coordDimensions:["value"],encodeDefaulter:E(_p,this)})},n.prototype.getDataParams=function(e){var n=this.getData(),i=ES(n),r=i.seats;if(!r){var o=[];n.each(n.mapDimension("value"),(function(t){o.push(t)})),r=i.seats=function(t,e){var n=P(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];for(var i=Math.pow(10,e),r=L(t,(function(t){return(isNaN(t)?0:t)/n*i*100})),o=100*i,a=L(r,(function(t){return Math.floor(t)})),s=P(a,(function(t,e){return t+e}),0),l=L(r,(function(t,e){return t-a[e]}));su&&(u=l[c],h=c);++a[h],l[h]=0,++s}return L(a,(function(t){return t/i}))}(o,n.hostModel.get("percentPrecision"))}var a=t.prototype.getDataParams.call(this,e);return a.percent=r[e]||0,a.$vars.push("percent"),a},n.prototype._defaultLabelLine=function(t){qr(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},n.type="series.pie",n.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"},n}(Ff);var VS=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.hasSymbolVisual=!0,e}return e(n,t),n.prototype.getInitialData=function(t,e){return Am(null,this,{useEncodeDefaulter:!0})},n.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},n.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},n.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},n.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},n.type="series.scatter",n.dependencies=["grid","polar","geo","singleAxis","calendar"],n.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"}},n}(Ff),BS=function(){return function(){}}(),FS=function(t){function n(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return e(n,t),n.prototype.getDefaultShape=function(){return new BS},n.prototype.reset=function(){this.notClear=!1,this._off=0},n.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<4,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n=0;s--){var l=2*s,u=i[l]-o/2,h=i[l+1]-a/2;if(t>=u&&e>=h&&t<=u+o&&e<=h+a)return s}return-1},n.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},n.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],o=i[1],a=Infinity,s=Infinity,l=-Infinity,u=-Infinity,h=0;h=0&&(l.dataIndex=n+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),WS=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},n.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},n.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},n.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=Xw("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},n.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},n.prototype._getClipShape=function(t){if(t.get("clip",!0)){var e=t.coordinateSystem;return e&&e.getArea&&e.getArea(.1)}},n.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new GS:new xw,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},n.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},n.prototype.dispose=function(){},n.type="scatter",n}(Jf),HS=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.type="grid",n.dependencies=["xAxis","yAxis"],n.layoutMode="box",n.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"},n}(np),YS=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",ho).models[0]},n.type="cartesian2dAxis",n}(np);D(YS,Ex);var XS={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)"]}}},US=S({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},XS),ZS=S({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}}},XS);const jS={category:US,value:ZS,time:S({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},ZS),log:T({logBase:10},ZS)};var qS={value:1,category:1,time:1,log:1};function KS(t,n,i,r){k(qS,(function(o,a){var s=S(S({},jS[a],!0),r,!0),l=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n+"Axis."+a,e}return e(i,t),i.prototype.mergeDefaultAndTheme=function(t,e){var n=$c(this),i=n?Qc(t):{};S(t,e.getTheme().get(a+"Axis")),S(t,this.getDefaultOption()),t.type=$S(t),n&&Jc(t,i,n)},i.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=Pm.createByAxisModel(this))},i.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},i.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},i.type=n+"Axis."+a,i.defaultOption=s,i}(i);t.registerComponentModel(l)})),t.registerSubTypeDefaulter(n+"Axis",$S)}function $S(t){return t.type||(t.data?"category":"value")}var JS=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return L(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),O(this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),QS=["x","y"];function tM(t){return"interval"===t.type||"time"===t.type}var eM=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=QS,e}return e(n,t),n.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(tM(t)&&tM(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,h=r[0]-n[0]*l,c=r[1]-i[0]*u,p=this._transform=[l,0,0,u,h,c];this._invTransform=le([],p)}}},n.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},n.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},n.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},n.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new me(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},n.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return Ct(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},n.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},n.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return Ct(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},n.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},n.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(e[0],e[1])-t,r=Math.min(n[0],n[1])-t,o=Math.max(e[0],e[1])-i+t,a=Math.max(n[0],n[1])-r+t;return new me(i,r,o,a)},n}(JS),nM=function(t){function n(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return e(n,t),n.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},n.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},n.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},n.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},n}(s_);function iM(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,o={},a=r.getAxesOnZeroOf()[0],s=r.position,l=a?"onZero":s,u=r.dim,h=i.getRect(),c=[h.x,h.x+h.width,h.y,h.y+h.height],p={left:0,right:1,top:0,bottom:1,onZero:2},d=e.get("offset")||0,f="x"===u?[c[2]-d,c[3]+d]:[c[0]-d,c[1]+d];if(a){var g=a.toGlobalCoord(a.dataToCoord(0));f[p.onZero]=Math.max(Math.min(g,f[1]),f[0])}o.position=["y"===u?f[p[l]]:c[0],"x"===u?f[p[l]]:c[3]],o.rotation=Math.PI/2*("x"===u?0:1);o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],o.labelOffset=a?f[p[s]]-f[p.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),j(n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var y=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-y:y,o.z2=1,o}function rM(t){return"cartesian2d"===t.get("coordinateSystem")}function oM(t){var e={xAxisModel:null,yAxisModel:null};return k(e,(function(n,i){var r=i.replace(/Model$/,""),o=t.getReferringComponents(r,ho).models[0];e[i]=o})),e}var aM=Math.log;function sM(t,e,n){var i=Ym.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),l=Dx(t,e),u=l.extent,h=l.fixMin,c=l.fixMax;if("log"===t.type){var p=aM(t.base);u=[aM(u[0])/p,aM(u[1])/p]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:h,fixMax:c});var d=i.getExtent.call(t);h&&(u[0]=d[0]),c&&(u[1]=d[1]);var f=i.getInterval.call(t),g=u[0],y=u[1];if(h&&c)f=(y-g)/a;else if(h)for(y=u[0]+f*a;yu[0]&&isFinite(g)&&isFinite(u[0]);)f=Em(f),g=u[1]-f*a;else{t.getTicks().length-1>a&&(f=Em(f));var v=f*a;(g=Ir((y=Math.ceil(u[1]/f)*f)-v))<0&&u[0]>=0?(g=0,y=Ir(v)):y>0&&u[1]<=0&&(y=0,g=-Ir(v))}var m=(r[0].value-o[0].value)/s,x=(r[a].value-o[a].value)/s;i.setExtent.call(t,g+f*m,y+f*x),i.setInterval.call(t,f),(m||x)&&i.setNiceExtent.call(t,g+f,y-f)}var lM=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=QS,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=R(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=t[+n[o]],s=a.model,l=a.scale;Rm(l)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):(Ax(l,s),Rm(l)&&(e=a))}r.length&&(e||Ax((e=r.pop()).scale,e.model),k(r,(function(t){sM(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};k(n.x,(function(t){hM(n,"y",t,r)})),k(n.y,(function(t){hM(n,"x",t,r)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),o=qc(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){k(a,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),function(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}(t,e?o.x:o.y)}))}s(),r&&(k(a,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=function(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,r,o=n.getExtent();r=n instanceof Wm?n.count():(i=n.getTicks()).length;var a,s,l,u,h,c,p,d=t.getLabelModel(),f=Lx(t),g=1;r>40&&(g=Math.ceil(r/40));for(var y=0;y0&&i>0||n<0&&i<0)}(t)}var pM=Math.PI,dM=function(){function t(t,e){this.group=new yr,this.opt=e,this.axisModel=t,T(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new yr({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!fM[t]},t.prototype.add=function(t){fM[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=Lr(e-t);return Pr(o)?(r=n>0?"top":"bottom",i="center"):Pr(o-pM)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),fM={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),a=i.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];a&&(Ct(s,s,a),Ct(l,l,a));var h=I({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),c=new xu({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:h,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});rh(c.shape,c.style.lineWidth),c.anid="line",n.add(c);var p=e.get(["axisLine","symbol"]);if(null!=p){var d=e.get(["axisLine","symbolSize"]);B(p)&&(p=[p,p]),(B(d)||G(d))&&(d=[d,d]);var f=py(e.get(["axisLine","symbolOffset"])||0,d),g=d[0],y=d[1];k([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(e,i){if("none"!==p[i]&&null!=p[i]){var r=hy(p[i],-g/2,-y/2,g,y,h.stroke,!0),o=e.r+e.offset,a=u?l:s;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,i){var r=function(t,e,n,i){var r=n.axis,o=n.getModel("axisTick"),a=o.get("show");"auto"===a&&i.handleAutoShown&&(a=i.handleAutoShown("axisTick"));if(!a||r.scale.isBlank())return;for(var s=o.getModel("lineStyle"),l=i.tickDirection*o.get("length"),u=mM(r.getTicksCoords(),e.transform,l,T(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),h=0;hc[1]?-1:1,d=["start"===s?c[0]-p*h:"end"===s?c[1]+p*h:(c[0]+c[1])/2,vM(s)?t.labelOffset+l*h:0],f=e.get("nameRotate");null!=f&&(f=f*pM/180),vM(s)?o=dM.innerTextLayout(t.rotation,null!=f?f:t.rotation,l):(o=function(t,e,n,i){var r,o,a=Lr(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;Pr(a-pM/2)?(o=l?"bottom":"top",r="center"):Pr(a-1.5*pM)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*pM&&a>pM/2?l?"left":"right":l?"right":"left");return{rotation:a,textAlign:r,textVerticalAlign:o}}(t.rotation,s,f||0,c),null!=(a=t.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=u.getFont(),y=e.get("nameTruncate",!0)||{},v=y.ellipsis,m=j(t.nameTruncateMaxWidth,y.maxWidth,a),x=new fs({x:d[0],y:d[1],rotation:o.rotation,silent:dM.isLabelSilent(e),style:Ih(u,{text:r,font:g,overflow:"truncate",width:m,ellipsis:v,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||o.textAlign,verticalAlign:u.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(yh({el:x,componentModel:e,itemName:r}),x.__fullText=r,x.anid="name",e.get("triggerEvent")){var _=dM.makeAxisEventDataBase(e);_.targetType="axisName",_.name=r,Cs(x).eventData=_}i.add(x),x.updateTransform(),n.add(x),x.decomposeTransform()}}};function gM(t){t&&(t.ignore=!0)}function yM(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=ne([]);return ae(r,r,-t.rotation),n.applyTransform(re([],r,t.getLocalTransform())),i.applyTransform(re([],r,e.getLocalTransform())),n.intersect(i)}}function vM(t){return"middle"===t||"center"===t}function mM(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l=0||t===e}function bM(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[SM(t)]}function wM(t){return!!t.get(["handle","show"])}function SM(t){return t.type+"||"+t.id}var MM={},IM=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(e,n,i,r){this.axisPointerClass&&function(t){var e=bM(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=wM(n);null==o&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a0&&!c.min?c.min=0:null!=c.min&&c.min<0&&!c.max&&(c.max=0);var p=a;null!=c.color&&(p=T({color:c.color},a));var d=S(w(c),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:o,name:c.text,showName:s,nameLocation:"end",nameGap:u,nameTextStyle:p,triggerEvent:h},!1);if(B(l)){var f=d.name;d.name=l.replace("{value}",null!=f?f:"")}else V(l)&&(d.name=l(d.name,d));var g=new Zh(d,null,this.ecModel);return D(g,Ex.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=c},n.prototype.getIndicatorModels=function(){return this._indicatorModels},n.type="radar",n.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:S({lineStyle:{color:"#bbb"}},YM.axisLine),axisLabel:XM(YM.axisLabel,!1),axisTick:XM(YM.axisTick,!1),splitLine:XM(YM.splitLine,!0),splitArea:XM(YM.splitArea,!0),indicator:[]},n}(np),ZM=["axisLine","axisTickLabel","axisName"],jM=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},n.prototype._buildAxes=function(t){var e=t.coordinateSystem;k(L(e.getIndicatorAxes(),(function(t){var n=t.model.get("showName")?t.name:"";return new dM(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})})),(function(t){k(ZM,t.add,t),this.group.add(t.getGroup())}),this)},n.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),r=t.getModel("splitLine"),o=t.getModel("splitArea"),a=r.getModel("lineStyle"),s=o.getModel("areaStyle"),l=r.get("show"),u=o.get("show"),h=a.get("color"),c=s.get("color"),p=z(h)?h:[h],d=z(c)?c:[c],f=[],g=[];if("circle"===i)for(var y=n[0].getTicksCoords(),v=e.cx,m=e.cy,x=0;x3?1.4:r>1?1.2:1.1;nI(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(i);nI(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},n.prototype._pinchHandler=function(t){QM(this._zr,"globalPan")||nI(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},n}(Pt);function nI(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&($t(i.event),iI(t,e,n,i,r))}function iI(t,e,n,i,r){r.isAvailableBehavior=N(rI,null,n,i),t.trigger(e,r)}function rI(t,e,n){var i=n[t];return!t||i&&(!B(i)||e.event[i+"Key"])}function oI(t,e,n){var i=t.target;i.x+=e,i.y+=n,i.dirty()}function aI(t,e,n,i){var r=t.target,o=t.zoomLimit,a=t.zoom=t.zoom||1;if(a*=e,o){var s=o.min||0,l=o.max||Infinity;a=Math.max(Math.min(l,a),s)}var u=a/t.zoom;t.zoom=a,r.x-=(n-r.x)*(u-1),r.y-=(i-r.y)*(u-1),r.scaleX*=u,r.scaleY*=u,r.dirty()}var sI,lI={axisPointer:1,tooltip:1,brush:1};function uI(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!lI.hasOwnProperty(i.mainType)&&r&&r.model!==n}function hI(t){B(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));var e=t;for(9===e.nodeType&&(e=e.firstChild);"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}var cI={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"},pI=R(cI),dI={"alignment-baseline":"textBaseline","stop-color":"stopColor"},fI=R(dI),gI=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=hI(t);this._defsUsePending=[];var i=new yr;this._root=i;var r=[],o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),s=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),bI(n,i,null,!0,!1);for(var l,u,h=n.firstChild;h;)this._parseNode(h,i,r,null,!1,!1),h=h.nextSibling;if(function(t,e){for(var n=0;n=4&&(l={x:parseFloat(c[0]||0),y:parseFloat(c[1]||0),width:parseFloat(c[2]),height:parseFloat(c[3])})}if(l&&null!=a&&null!=s&&(u=kI(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var p=i;(i=new yr).add(p),p.scaleX=p.scaleY=u.scale,p.x=u.x,p.y=u.y}return e.ignoreRootClip||null==a||null==s||i.setClipPath(new cs({shape:{x:0,y:0,width:a,height:s}})),{root:i,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:r}},t.prototype._parseNode=function(t,e,n,i,r,o){var a,s=t.nodeName.toLowerCase(),l=i;if("defs"===s&&(r=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=e;else{if(!r){var u=sI[s];if(u&&ct(sI,s)){a=u.call(this,t,e);var h=t.getAttribute("name");if(h){var c={name:h,namedFrom:null,svgNodeTagLower:s,el:a};n.push(c),"g"===s&&(l=c)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:a});e.add(a)}}var p=yI[s];if(p&&ct(yI,s)){var d=p.call(this,t),f=t.getAttribute("id");f&&(this._defs[f]=d)}}if(a&&a.isGroup)for(var g=t.firstChild;g;)1===g.nodeType?this._parseNode(g,a,n,l,r,o):3===g.nodeType&&o&&this._parseText(g,a),g=g.nextSibling},t.prototype._parseText=function(t,e){var n=new es({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});xI(e,n),bI(t,n,this._defsUsePending,!1,!1),function(t,e){var n=e.__selfStyle;if(n){var i=n.textBaseline,r=i;i&&"auto"!==i?"baseline"===i?r="alphabetic":"before-edge"===i||"text-before-edge"===i?r="top":"after-edge"===i||"text-after-edge"===i?r="bottom":"central"!==i&&"mathematical"!==i||(r="middle"):r="alphabetic",t.style.textBaseline=r}var o=e.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),t.style.textAlign=s)}}(n,e);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=o;var a=n.getBoundingRect();return this._textX+=a.width,e.add(n),n},t.internalField=void(sI={g:function(t,e){var n=new yr;return xI(e,n),bI(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new cs;return xI(e,n),bI(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new Ul;return xI(e,n),bI(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new xu;return xI(e,n),bI(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new jl;return xI(e,n),bI(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=_I(i));var r=new fu({shape:{points:n||[]},silent:!0});return xI(e,r),bI(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute("points");i&&(n=_I(i));var r=new yu({shape:{points:n||[]},silent:!0});return xI(e,r),bI(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new rs;return xI(e,n),bI(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(o);var a=new yr;return xI(e,a),bI(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",a=new yr;return xI(e,a),bI(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),a},path:function(t,e){var n=Hl(t.getAttribute("d")||"");return xI(e,n),bI(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),t}(),yI={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),i=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),o=new Du(e,n,i,r);return vI(t,o),mI(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),i=parseInt(t.getAttribute("r")||"0",10),r=new Au(e,n,i);return vI(t,r),mI(t,r),r}};function vI(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function mI(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var i=n.getAttribute("offset"),r=void 0;r=i&&i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var o={};AI(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function xI(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),T(e.__inheritedStyle,t.__inheritedStyle))}function _I(t){for(var e=II(t),n=[],i=0;i0;o-=2){var a=i[o],s=i[o-1],l=II(a);switch(r=r||[1,0,0,1,0,0],s){case"translate":oe(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":se(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":ae(r,r,-parseFloat(l[0])*CI,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":re(r,[1,0,Math.tan(parseFloat(l[0])*CI),1,0,0],r);break;case"skewY":re(r,[1,Math.tan(parseFloat(l[0])*CI),0,1,0,0],r);break;case"matrix":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5])}}e.setLocalTransform(r)}}(t,e),AI(t,a,s),i||function(t,e,n){for(var i=0;i0,f={api:n,geo:s,mapOrGeoModel:t,data:a,isVisualEncodedByVisualMap:d,isGeo:o,transformInfoRaw:c};"geoJSON"===s.resourceType?this._buildGeoJSON(f):"geoSVG"===s.resourceType&&this._buildSVG(f),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,i)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=st(),n=st(),i=this._regionsGroup,r=t.transformInfoRaw,o=t.mapOrGeoModel,a=t.data,s=t.geo.projection,l=s&&s.stream;function u(t,e){return e&&(t=e(t)),t&&[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]}function h(t){for(var e=[],n=!l&&s&&s.project,i=0;i=0)&&(p=r);var d=a?{normal:{align:"center",verticalAlign:"middle"}}:null;Sh(e,Mh(i),{labelFetcher:p,labelDataIndex:c,defaultText:n},d);var f=e.getTextContent();if(f&&($I(f).ignore=f.ignore,e.textConfig&&a)){var g=e.getBoundingRect().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(a[0]-g.x)/g.width*100+"%",(a[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function iT(t,e,n,i,r,o){t.data?t.data.setItemGraphicEl(o,e):Cs(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:i&&i.option||{}}}function rT(t,e,n,i,r){t.data||yh({el:e,componentModel:r,itemName:n,itemTooltipOption:i.get("tooltip")})}function oT(t,e,n,i,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var o=i.getModel("emphasis"),a=o.get("focus");return yl(e,a,o.get("blurScope"),o.get("disabled")),t.isGeo&&function(t,e,n){var i=Cs(t);i.componentMainType=e.mainType,i.componentIndex=e.componentIndex,i.componentHighDownName=n}(e,r,n),a}function aT(t,e,n){var i,r=[];function o(){i=[]}function a(){i.length&&(r.push(i),i=[])}var s=e({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(t,e){isFinite(t)&&isFinite(e)&&i.push([t,e])},sphere:function(){}});return!n&&s.polygonStart(),k(t,(function(t){s.lineStart();for(var e=0;e-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},n.type="series.map",n.dependencies=["geo"],n.layoutMode="box",n.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"},n}(Ff);function uT(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel(),i=n?"o"+n.id:"i"+t.getMapType();(e[i]=e[i]||[]).push(t)})),k(e,(function(t,e){for(var n,i,r,o=(n=L(t,(function(t){return t.getData()})),i=t[0].get("mapValueCalculation"),r={},k(n,(function(t){t.each(t.mapDimension("value"),(function(e,n){var i="ec-"+t.getName(n);r[i]=r[i]||[],isNaN(e)||r[i].push(e)}))})),n[0].map(n[0].mapDimension("value"),(function(t,e){for(var o="ec-"+n[0].getName(e),a=0,s=Infinity,l=-Infinity,u=r[o].length,h=0;h1?(d.width=p,d.height=p/x):(d.height=p,d.width=p*x),d.y=c[1]-d.height/2,d.x=c[0]-d.width/2;else{var b=t.getBoxLayoutParams();b.aspect=x,d=qc(b,{width:v,height:m})}this.setViewRect(d.x,d.y,d.width,d.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}D(yT,pT);var xT=function(){function t(){this.dimensions=gT}return t.prototype.create=function(t,e){var n=[];function i(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",(function(t,r){var o=t.get("map"),a=new yT(o+r,o,I({nameMap:t.get("nameMap")},i(t)));a.zoomLimit=t.get("scaleLimit"),n.push(a),t.coordinateSystem=a,a.model=t,a.resize=mT,a.resize(t,e)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}}));var r={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}})),k(r,(function(t,r){var o=L(t,(function(t){return t.get("nameMap")})),a=new yT(r,r,I({nameMap:M(o)},i(t[0])));a.zoomLimit=j.apply(null,L(t,(function(t){return t.get("scaleLimit")}))),n.push(a),a.resize=mT,a.resize(t[0],e),k(t,(function(t){t.coordinateSystem=a,function(t,e){k(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}(a,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,i){for(var r=(t||[]).slice(),o=st(),a=0;a=0;){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=function(t,e,n,i){if(e){for(var r=t,o=t,a=o.parentNode.children[0],s=e,l=r.hierNode.modifier,u=o.hierNode.modifier,h=a.hierNode.modifier,c=s.hierNode.modifier;s=LT(s),o=PT(o),s&&o;){r=LT(r),a=PT(a),r.hierNode.ancestor=t;var p=s.hierNode.prelim+c-o.hierNode.prelim-u+i(s,o);p>0&&(RT(OT(s,t,n),t,p),u+=p,l+=p),c+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=r.hierNode.modifier,h+=a.hierNode.modifier}s&&!LT(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=c-l),o&&!PT(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-h,n=t)}return n}(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function DT(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function AT(t){return arguments.length?t:NT}function kT(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function LT(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function PT(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function OT(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function RT(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function NT(t,e){return t.parentNode===e.parentNode?1:2}var ET=function(){return function(){this.parentPoint=[],this.childPoints=[]}}(),zT=function(t){function n(e){return t.call(this,e)||this}return e(n,t),n.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},n.prototype.getDefaultShape=function(){return new ET},n.prototype.buildPath=function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,o=n[0],a=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,h=Mr(e.forkPosition,1),c=[];c[l]=r[l],c[u]=r[u]+(a[u]-r[u])*h,t.moveTo(r[0],r[1]),t.lineTo(c[0],c[1]),t.moveTo(o[0],o[1]),c[l]=o[l],t.lineTo(c[0],c[1]),c[l]=a[l],t.lineTo(c[0],c[1]),t.lineTo(a[0],a[1]);for(var p=1;pm.x)||(_-=Math.PI);var S=b?"left":"right",M=s.getModel("label"),I=M.get("rotate"),C=I*(Math.PI/180),D=y.getTextContent();D&&(y.setTextConfig({position:M.get("position")||S,rotation:null==I?-_:C,origin:"center"}),D.setStyle("verticalAlign","middle"))}var A=s.get(["emphasis","focus"]),k="relative"===A?lt(a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===A?a.getAncestorsIndices():"descendant"===A?a.getDescendantIndices():null;k&&(Cs(n).focus=k),function(t,e,n,i,r,o,a,s){var l=e.getModel(),u=t.get("edgeShape"),h=t.get("layout"),c=t.getOrient(),p=t.get(["lineStyle","curveness"]),d=t.get("edgeForkPosition"),f=l.getModel("lineStyle").getLineStyle(),g=i.__edge;if("curve"===u)e.parentNode&&e.parentNode!==n&&(g||(g=i.__edge=new Su({shape:YT(h,c,p,r,r)})),Fu(g,{shape:YT(h,c,p,o,a)},t));else if("polyline"===u&&"orthogonal"===h&&e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var y=e.children,v=[],m=0;me&&(e=i.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e=0){var i=n.getData().tree.root,r=t.targetNode;if(B(r)&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=i.getNodeById(o)))return{node:r}}}function iC(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function rC(t,e){return C(iC(t),e)>=0}function oC(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}var aC=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return e(n,t),n.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i=new Zh(n,this,this.ecModel),r=eC.createTree(e,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=i),t}))}));var o=0;r.eachNode("preorder",(function(t){t.depth>o&&(o=t.depth)}));var a=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:o;return r.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=a})),r.data},n.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},n.prototype.setZoom=function(t){this.option.zoom=t},n.prototype.setCenter=function(t){this.option.center=t},n.prototype.formatTooltip=function(t,e,n){for(var i=this.getData().tree,r=i.root.children[0],o=i.getNodeByDataIndex(t),a=o.getValue(),s=o.name;o&&o!==r;)s=o.parentNode.name+"."+s,o=o.parentNode;return Mf("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},n.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=oC(i,this),n.collapsed=!i.isExpand,n},n.type="series.tree",n.layoutMode="box",n.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},n}(Ff);function sC(t,e){for(var n,i=[t];n=i.pop();)if(e(n),n.isExpand){var r=n.children;if(r.length)for(var o=r.length-1;o>=0;o--)i.push(r[o])}}function lC(t,e){t.eachSeriesByType("tree",(function(t){!function(t,e){var n=function(t,e){return qc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=n;var i=t.get("layout"),r=0,o=0,a=null;"radial"===i?(r=2*Math.PI,o=Math.min(n.height,n.width)/2,a=AT((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(r=n.width,o=n.height,a=AT());var s=t.getData().tree.root,l=s.children[0];if(l){!function(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,i,r=[e];n=r.pop();)if(i=n.children,n.isExpand&&i.length)for(var o=i.length-1;o>=0;o--){var a=i[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(a)}}(s),function(t,e,n){for(var i,r=[t],o=[];i=r.pop();)if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;sh.getLayout().x&&(h=t),t.depth>c.depth&&(c=t)}));var p=u===h?1:a(u,h)/2,d=p-u.getLayout().x,f=0,g=0,y=0,v=0;if("radial"===i)f=r/(h.getLayout().x+p+d),g=o/(c.depth-1||1),sC(l,(function(t){y=(t.getLayout().x+d)*f,v=(t.depth-1)*g;var e=kT(y,v);t.setLayout({x:e.x,y:e.y,rawX:y,rawY:v},!0)}));else{var m=t.getOrient();"RL"===m||"LR"===m?(g=o/(h.getLayout().x+p+d),f=r/(c.depth-1||1),sC(l,(function(t){v=(t.getLayout().x+d)*g,y="LR"===m?(t.depth-1)*f:r-(t.depth-1)*f,t.setLayout({x:y,y:v},!0)}))):"TB"!==m&&"BT"!==m||(f=r/(h.getLayout().x+p+d),g=o/(c.depth-1||1),sC(l,(function(t){y=(t.getLayout().x+d)*f,v="TB"===m?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:y,y:v},!0)})))}}}(t,e)}))}function uC(t){t.eachSeriesByType("tree",(function(t){var e=t.getData();e.tree.eachNode((function(t){var n=t.getModel().getModel("itemStyle").getItemStyle();I(e.ensureUniqueItemVisual(t.dataIndex,"style"),n)}))}))}var hC=["treemapZoomToNode","treemapRender","treemapMove"];function cC(t){var e=t.getData().tree,n={};e.eachNode((function(e){for(var i=e;i&&i.depth>1;)i=i.parentNode;var r=Lp(t.ecModel,i.name||i.dataIndex+"",n);e.setVisual("decal",r)}))}var pC=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.preventUsingHoverLayer=!0,e}return e(n,t),n.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};dC(n);var i=t.levels||[],r=this.designatedVisualItemStyle={},o=new Zh({itemStyle:r},this,e);i=t.levels=function(t,e){var n,i,r=jr(e.get("color")),o=jr(e.get(["aria","decal","decals"]));if(!r)return;t=t||[],k(t,(function(t){var e=new Zh(t),r=e.get("color"),o=e.get("decal");(e.get(["itemStyle","color"])||r&&"none"!==r)&&(n=!0),(e.get(["itemStyle","decal"])||o&&"none"!==o)&&(i=!0)}));var a=t[0]||(t[0]={});n||(a.color=r.slice());!i&&o&&(a.decal=o.slice());return t}(i,e);var a=L(i||[],(function(t){return new Zh(t,o,e)}),this),s=eC.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=s.getNodeByDataIndex(e),i=n?a[n.depth]:null;return t.parentModel=i||o,t}))}));return s.data},n.prototype.optionUpdated=function(){this.resetViewRoot()},n.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t);return Mf("nameValue",{name:i.getName(t),value:r})},n.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=oC(i,this),n.treePathInfo=n.treeAncestors,n},n.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},I(this.layoutInfo,t)},n.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=st(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},n.prototype.getViewRoot=function(){return this._viewRoot},n.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},n.prototype.enableAriaDecal=function(){cC(this)},n.type="series.treemap",n.layoutMode="box",n.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:.1024,scaleLimit:null,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:[]},n}(Ff);function dC(t){var e=0;k(t.children,(function(t){dC(t);var n=t.value;z(n)&&(n=n[0]),e+=n}));var n=t.value;z(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),z(t.value)?t.value[0]=n:t.value=n}var fC=function(){function t(t){this.group=new yr,t.add(this.group)}return t.prototype.render=function(t,e,n,i){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&n){var a=r.getModel("itemStyle"),s=r.getModel("emphasis"),l=a.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),h={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,h,l),this._renderContent(t,h,a,s,l,u,i),Kc(o,h.pos,h.box)}},t.prototype._prepare=function(t,e,n){for(var i=t;i;i=i.parentNode){var r=no(i.getModel().get("name"),""),o=n.getTextRect(r),a=Math.max(o.width+16,e.emptyItemWidth);e.totalWidth+=a+8,e.renderList.push({node:i,text:r,width:a})}},t.prototype._renderContent=function(t,e,n,i,r,o,a){for(var s,l,u,h,c,p,d,f,g,y=0,v=e.emptyItemWidth,m=t.get(["breadcrumb","height"]),x=(s=e.pos,l=e.box,h=l.width,c=l.height,p=Mr(s.left,h),d=Mr(s.top,c),f=Mr(s.right,h),g=Mr(s.bottom,c),(isNaN(p)||isNaN(parseFloat(s.left)))&&(p=0),(isNaN(f)||isNaN(parseFloat(s.right)))&&(f=h),(isNaN(d)||isNaN(parseFloat(s.top)))&&(d=0),(isNaN(g)||isNaN(parseFloat(s.bottom)))&&(g=c),u=zc(u||0),{width:Math.max(f-p-u[1]-u[3],0),height:Math.max(g-d-u[0]-u[2],0)}),_=e.totalWidth,b=e.renderList,w=i.getModel("itemStyle").getItemStyle(),S=b.length-1;S>=0;S--){var M=b[S],I=M.node,C=M.width,D=M.text;_>x.width&&(_-=C-v,C=v,D=null);var A=new fu({shape:{points:gC(y,0,C,m,S===b.length-1,0===S)},style:T(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new fs({style:Ih(r,{text:D})}),textConfig:{position:"inside"},z2:1e5,onclick:E(a,I)});A.disableLabelAnimation=!0,A.getTextContent().ensureState("emphasis").style=Ih(o,{text:D}),A.ensureState("emphasis").style=w,yl(A,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(A),yC(A,t,I),y+=C+8}},t.prototype.remove=function(){this.group.removeAll()},t}();function gC(t,e,n,i,r,o){var a=[[r?t:t-5,e],[t+n,e],[t+n,e+i],[r?t:t-5,e+i]];return!o&&a.splice(2,0,[t+n+5,e+i/2]),!r&&a.push([t,e+i/2]),a}function yC(t,e,n){Cs(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&oC(n,e)}}var vC=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,i,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:i,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,r=this._storage.length;i3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},n.prototype._onZoom=function(t){var e=t.originX,n=t.originY,i=t.scale;if("animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var o=r.getLayout();if(!o)return;var a,s=new me(o.x,o.y,o.width,o.height),l=this._controllerHost;a=l.zoomLimit;var u=l.zoom=l.zoom||1;if(u*=i,a){var h=a.min||0,c=a.max||Infinity;u=Math.max(Math.min(c,u),h)}var p=u/l.zoom;l.zoom=u;var d=this.seriesModel.layoutInfo,f=[1,0,0,1,0,0];oe(f,f,[-(e-=d.x),-(n-=d.y)]),se(f,f,[p,p]),oe(f,f,[e,n]),s.applyTransform(f),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:s.x,y:s.y,width:s.width,height:s.height}})}},n.prototype._initEvents=function(t){var e=this;t.on("click",(function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var i=e.findTarget(t.offsetX,t.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)e._rootToNode(i);else if("zoomToNode"===n)e._zoomToNode(i);else if("link"===n){var o=r.hostTree.data.getItemModel(r.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&Hc(a,s)}}}}}),this)},n.prototype._renderBreadcrumb=function(t,e,n){var i=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new fC(this.group))).render(t,e,n.node,(function(e){"animating"!==i._state&&(rC(t.getViewRoot(),e)?i._rootToNode({node:e}):i._zoomToNode({node:e}))}))},n.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},n.prototype.dispose=function(){this._clearController()},n.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},n.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},n.prototype.findTarget=function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}}),this),n},n.type="treemap",n}(Jf);var TC=k,CC=W,DC=-1,AC=function(){function t(e){var n=e.mappingMethod,i=e.type,r=this.option=w(e);this.type=i,this.mappingMethod=n,this._normalizeData=BC[n];var o=t.visualHandlers[i];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(kC(r),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,k(e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}(r)):"category"===n?r.categories?function(t){var e=t.categories,n=t.categoryMap={},i=t.visual;if(TC(e,(function(t,e){n[t]=e})),!z(i)){var r=[];W(i)?TC(i,(function(t,e){var i=n[e];r[null!=i?i:DC]=t})):r[-1]=i,i=VC(t,r)}for(var o=e.length-1;o>=0;o--)null==i[o]&&(delete n[e[o]],e.pop())}(r):kC(r,!0):(Q("linear"!==n||r.dataExtent),kC(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return N(this._normalizeData,this)},t.listVisualTypes=function(){return R(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){W(t)?k(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var r,o=z(e)?[]:W(e)?{}:(r=!0,null);return t.eachVisual(e,(function(t,e){var a=n.call(i,t,e);r?o=a:o[e]=a})),o},t.retrieveVisuals=function(e){var n,i={};return e&&TC(t.visualHandlers,(function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)})),n?i:null},t.prepareVisualTypes=function(t){if(z(t))t=t.slice();else{if(!CC(t))return[];var e=[];TC(t,(function(t,n){e.push(n)})),t=e}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,r=Infinity,o=0,a=e.length;ou[1]&&(u[1]=l);var h=e.get("colorMappingBy"),c={type:a.name,dataExtent:u,visual:a.range};"color"!==c.type||"index"!==h&&"id"!==h?c.mappingMethod="linear":(c.mappingMethod="category",c.loop=!0);var p=new AC(c);return GC(p).drColorMappingBy=h,p}(0,r,o,0,u,d);k(d,(function(t,e){if(t.depth>=n.length||t===n[t.depth]){var o=function(t,e,n,i,r,o){var a=I({},e);if(r){var s=r.type,l="color"===s&&GC(r).drColorMappingBy,u="index"===l?i:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));a[s]=r.mapValueToVisual(u)}return a}(r,u,t,e,f,i);HC(t,o,n,i)}}))}else s=YC(u),h.fill=s}}function YC(t){var e=XC(t,"color");if(e){var n=XC(t,"colorAlpha"),i=XC(t,"colorSaturation");return i&&(e=Rn(e,null,null,i)),n&&(e=Nn(e,n)),e}}function XC(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function UC(t,e){var n=t.get(e);return z(n)&&n.length?{name:e,range:n}:null}var ZC=Math.max,jC=Math.min,qC=j,KC=k,$C=["itemStyle","borderWidth"],JC=["itemStyle","gapWidth"],QC=["upperLabel","show"],tD=["upperLabel","height"];const eD={seriesType:"treemap",reset:function(t,e,n,i){var r=n.getWidth(),o=n.getHeight(),a=t.option,s=qc(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=a.size||[],u=Mr(qC(s.width,l[0]),r),h=Mr(qC(s.height,l[1]),o),c=i&&i.type,p=nC(i,["treemapZoomToNode","treemapRootToNode"],t),d="treemapRender"===c||"treemapMove"===c?i.rootRect:null,f=t.getViewRoot(),g=iC(f);if("treemapMove"!==c){var y="treemapZoomToNode"===c?function(t,e,n,i,r){var o,a=(e||{}).node,s=[i,r];if(!a||a===n)return s;var l=i*r,u=l*t.option.zoomToNodeRatio;for(;o=a.parentNode;){for(var h=0,c=o.children,p=0,d=c.length;pkr&&(u=kr),a=o}ua[1]&&(a[1]=e)}))):a=[NaN,NaN];return{sum:i,dataExtent:a}}(e,a,s);if(0===u.sum)return t.viewChildren=[];if(u.sum=function(t,e,n,i,r){if(!i)return n;for(var o=t.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*ei&&(i=a));var l=t.area*t.area,u=e*e*n;return l?ZC(u*i/l,l/(u*r)):Infinity}function rD(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],h=e?t.area/e:0;(r||h>n[l[a]])&&(h=n[l[a]]);for(var c=0,p=t.length;ci&&(i=e);var o=i%2?i+2:i+3;r=[];for(var a=0;a0&&(m[0]=-m[0],m[1]=-m[1]);var _=v[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var b=-Math.atan2(v[1],v[0]);u[0].8?"left":h[0]<-.8?"right":"center",p=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";break;case"start":i.x=-h[0]*f+l[0],i.y=-h[1]*g+l[1],c=h[0]>.8?"right":h[0]<-.8?"left":"center",p=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=f*_+l[0],i.y=l[1]+w,c=v[0]<0?"right":"left",i.originX=-f*_,i.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=x[0],i.y=x[1]+w,c="center",i.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-f*_+u[0],i.y=u[1]+w,c=v[0]>=0?"right":"left",i.originX=f*_,i.originY=-w}i.scaleX=i.scaleY=r,i.setStyle({verticalAlign:i.__verticalAlign||p,align:i.__align||c})}}}function S(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},n}(yr),HD=function(){function t(t){this.group=new yr,this._LineCtor=t||WD}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,i=n.group,r=n._lineData;n._lineData=t,r||i.removeAll();var o=YD(t);t.diff(r).add((function(n){e._doAdd(t,n,o)})).update((function(n,i){e._doUpdate(r,t,i,n,o)})).remove((function(t){i.remove(r.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=YD(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var i=t.start;i=0?i+=u:i-=u:f>=0?i-=u:i+=u}return i}function tA(t,e){var n=[],i=un,r=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge((function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),h=t.getVisual("toSymbol");l.__original||(l.__original=[yt(l[0]),yt(l[1])],l[2]&&l.__original.push(yt(l[2])));var c=l.__original;if(null!=l[2]){if(gt(r[0],c[0]),gt(r[1],c[2]),gt(r[2],c[1]),u&&"none"!==u){var p=wD(t.node1),d=QD(r,c[0],p*e);i(r[0][0],r[1][0],r[2][0],d,n),r[0][0]=n[3],r[1][0]=n[4],i(r[0][1],r[1][1],r[2][1],d,n),r[0][1]=n[3],r[1][1]=n[4]}if(h&&"none"!==h){p=wD(t.node2),d=QD(r,c[1],p*e);i(r[0][0],r[1][0],r[2][0],d,n),r[1][0]=n[1],r[2][0]=n[2],i(r[0][1],r[1][1],r[2][1],d,n),r[1][1]=n[1],r[2][1]=n[2]}gt(l[0],r[0]),gt(l[1],r[2]),gt(l[2],r[1])}else{if(gt(o[0],c[0]),gt(o[1],c[1]),xt(a,o[1],o[0]),wt(a,a),u&&"none"!==u){p=wD(t.node1);mt(o[0],o[0],a,p*e)}if(h&&"none"!==h){p=wD(t.node2);mt(o[1],o[1],a,-p*e)}gt(l[0],o[0]),gt(l[1],o[1])}}))}function eA(t){return"view"===t.type}var nA=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(t,e){var n=new xw,i=new HD,r=this.group;this._controller=new eI(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},n.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(eA(r)){var l={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?s.attr(l):Fu(s,l,t)}tA(t.getGraph(),bD(t));var u=t.getData();o.updateData(u);var h=t.getEdgeData();a.updateData(h),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var c=t.forceLayout,p=t.get(["force","layoutAnimation"]);c&&this._startForceLayoutIteration(c,p);var d=t.get("layout");u.graph.eachNode((function(e){var n=e.dataIndex,r=e.getGraphicEl(),o=e.getModel();if(r){r.off("drag").off("dragend");var a=o.get("draggable");a&&r.on("drag",(function(o){switch(d){case"force":c.warmUp(),!i._layouting&&i._startForceLayoutIteration(c,p),c.setFixed(n),u.setItemLayout(n,[r.x,r.y]);break;case"circular":u.setItemLayout(n,[r.x,r.y]),e.setLayout({fixed:!0},!0),ID(t,"symbolSize",e,[o.offsetX,o.offsetY]),i.updateLayout(t);break;default:u.setItemLayout(n,[r.x,r.y]),xD(t.getGraph(),t),i.updateLayout(t)}})).on("dragend",(function(){c&&c.setUnfixed(n)})),r.setDraggable(a,!!o.get("cursor")),"adjacency"===o.get(["emphasis","focus"])&&(Cs(r).focus=e.getAdjacentDataIndices())}})),u.graph.eachEdge((function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(Cs(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var f="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),g=u.getLayout("cx"),y=u.getLayout("cy");u.graph.eachNode((function(t){CD(t,f,g,y)})),this._firstRender=!1},n.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},n.prototype._startForceLayoutIteration=function(t,e){var n=this;!function i(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())}))}()},n.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!uI(e,n,t)})),eA(t.coordinateSystem)?(r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){oI(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){aI(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(),tA(t.getGraph(),bD(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()}))):r.disable()},n.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=bD(t);e.eachItemGraphicEl((function(t,e){t&&t.setSymbolScale(n)}))},n.prototype.updateLayout=function(t){tA(t.getGraph(),bD(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},n.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},n.type="graph",n}(Jf);function iA(t){return"_EC_"+t}var rA=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[iA(t)]){var i=new oA(t,e);return i.hostGraph=this,this.nodes.push(i),n[iA(t)]=i,i}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[iA(t)]},t.prototype.addEdge=function(t,e,n){var i=this._nodesMap,r=this._edgesMap;if(G(t)&&(t=this.nodes[t]),G(e)&&(e=this.nodes[e]),t instanceof oA||(t=i[iA(t)]),e instanceof oA||(e=i[iA(e)]),t&&e){var o=t.id+"-"+e.id,a=new aA(t,e,n);return a.hostGraph=this,this._directed&&(t.outEdges.push(a),e.inEdges.push(a)),t.edges.push(a),t!==e&&e.edges.push(a),this.edges.push(a),r[o]=a,a}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof oA&&(t=t.id),e instanceof oA&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof oA||(e=this._nodesMap[iA(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o=0&&n.node2.dataIndex>=0}));for(r=0,o=i.length;r=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}function lA(t,e,n,i,r){for(var o=new rA(i),a=0;a "+p)),u++)}var d,f=n.get("coordinateSystem");if("cartesian2d"===f||"polar"===f)d=Am(t,n);else{var g=Gp.get(f),y=g&&g.dimensions||[];C(y,"value")<0&&y.concat(["value"]);var v=bm(t,{coordDimensions:y,encodeDefine:n.getEncode()}).dimensions;(d=new _m(v,n)).initData(t)}var m=new _m(["value"],n);return m.initData(l,s),r&&r(d,m),UT({mainData:d,struct:o,structAttr:"graph",datas:{node:d,edge:m},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}D(oA,sA("hostGraph","data")),D(aA,sA("hostGraph","edgeData"));var uA=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.hasSymbolVisual=!0,e}return e(n,t),n.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new NS(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},n.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},n.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),qr(e,"edgeLabel",["show"])},n.prototype.getInitialData=function(t,e){var n,i=t.edges||t.links||[],r=t.data||t.nodes||[],o=this;if(r&&i){pD(n=this)&&(n.__curvenessList=[],n.__edgeMap={},dD(n));var a=lA(r,i,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t){var e=o._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t}));var n=Zh.prototype.getModel;function i(t,e){var i=n.call(this,t,e);return i.resolveParentPath=r,i}function r(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}e.wrapMethod("getItemModel",(function(t){return t.resolveParentPath=r,t.getModel=i,t}))}));return k(a.edges,(function(t){!function(t,e,n,i){if(pD(n)){var r=fD(t,e,n),o=n.__edgeMap,a=o[gD(r)];o[r]&&!a?o[r].isForward=!0:a&&o[r]&&(a.isForward=!0,o[r].isForward=!1),o[r]=o[r]||[],o[r].push(i)}}(t.node1,t.node2,this,t.dataIndex)}),this),a.data}},n.prototype.getGraph=function(){return this.getData().graph},n.prototype.getEdgeData=function(){return this.getGraph().edgeData},n.prototype.getCategoriesData=function(){return this._categoriesData},n.prototype.formatTooltip=function(t,e,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(t,n),o=i.graph.getEdgeByIndex(t),a=i.getName(o.node1.dataIndex),s=i.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),Mf("nameValue",{name:l.join(" > "),value:r.value,noValue:null==r.value})}return Ef({series:this,dataIndex:t,multipleSeries:e})},n.prototype._updateCategoriesData=function(){var t=L(this.option.categories||[],(function(t){return null!=t.value?t:I({value:0},t)})),e=new _m(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t)}))},n.prototype.setZoom=function(t){this.option.zoom=t},n.prototype.setCenter=function(t){this.option.center=t},n.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},n.type="series.graph",n.dependencies=["grid","polar","geo","singleAxis","calendar"],n.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"}}},n}(Ff),hA={type:"graphRoam",event:"graphRoam",update:"none"};var cA=function(){return function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}}(),pA=function(t){function n(e){var n=t.call(this,e)||this;return n.type="pointer",n}return e(n,t),n.prototype.getDefaultShape=function(){return new cA},n.prototype.buildPath=function(t,e){var n=Math.cos,i=Math.sin,r=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=r/3?1:2),l=e.y-i(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+i(a)*o),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(a)*o,e.y-i(a)*o),t.lineTo(s,l)},n}(Qa);function dA(t,e){var n=null==t?"":t+"";return e&&(B(e)?n=e.replace("{value}",n):V(e)&&(n=e(t))),n}var fA=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),r=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r);return{cx:Mr(n[0],e.getWidth()),cy:Mr(n[1],e.getHeight()),r:Mr(t.get("radius"),o/2)}}(t,n);this._renderMain(t,e,n,i,r),this._data=t.getData()},n.prototype.dispose=function(){},n.prototype._renderMain=function(t,e,n,i,r){var o=this.group,a=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,u=t.getModel("axisLine"),h=u.get("roundCap")?Jw:uu,c=u.get("show"),p=u.getModel("lineStyle"),d=p.get("width"),f=[s,l];Pa(f,!a);for(var g=(l=f[1])-(s=f[0]),y=s,v=[],m=0;c&&m=t&&(0===e?0:i[e-1][0])Math.PI/2&&(V+=Math.PI):"tangential"===z?V=-M-Math.PI/2:G(z)&&(V=z*Math.PI/180),0===V?c.add(new fs({style:Ih(x,{text:O,x:N,y:E,verticalAlign:h<-.8?"top":h>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:R}),silent:!0})):c.add(new fs({style:Ih(x,{text:O,x:N,y:E,verticalAlign:"middle",align:"center"},{inheritColor:R}),silent:!0,originX:N,originY:E,rotation:V}))}if(m.get("show")&&k!==_){P=(P=m.get("distance"))?P+l:l;for(var B=0;B<=b;B++){u=Math.cos(M),h=Math.sin(M);var F=new xu({shape:{x1:u*(f-P)+p,y1:h*(f-P)+d,x2:u*(f-S-P)+p,y2:h*(f-S-P)+d},silent:!0,style:D});"auto"===D.stroke&&F.setStyle({stroke:i((k+B/b)/_)}),c.add(F),M+=T}M-=T}else M+=I}},n.prototype._renderPointer=function(t,e,n,i,r,o,a,s,l){var u=this.group,h=this._data,c=this._progressEls,p=[],d=t.get(["pointer","show"]),f=t.getModel("progress"),g=f.get("show"),y=t.getData(),v=y.mapDimension("value"),m=+t.get("min"),x=+t.get("max"),_=[m,x],b=[o,a];function w(e,n){var i,o=y.getItemModel(e).getModel("pointer"),a=Mr(o.get("width"),r.r),s=Mr(o.get("length"),r.r),l=t.get(["pointer","icon"]),u=o.get("offsetCenter"),h=Mr(u[0],r.r),c=Mr(u[1],r.r),p=o.get("keepAspect");return(i=l?hy(l,h-a/2,c-s,a,s,null,p):new pA({shape:{angle:-Math.PI/2,width:a,r:s,x:h,y:c}})).rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function S(t,e){var n=f.get("roundCap")?Jw:uu,i=f.get("overlap"),a=i?f.get("width"):l/y.count(),u=i?r.r-a:r.r-(t+1)*a,h=i?r.r:r.r-t*a,c=new n({shape:{startAngle:o,endAngle:e,cx:r.cx,cy:r.cy,clockwise:s,r0:u,r:h}});return i&&(c.z2=x-y.get(v,t)%x),c}(g||d)&&(y.diff(h).add((function(e){var n=y.get(v,e);if(d){var i=w(e,o);Gu(i,{rotation:-((isNaN(+n)?b[0]:Sr(n,_,b,!0))+Math.PI/2)},t),u.add(i),y.setItemGraphicEl(e,i)}if(g){var r=S(e,o),a=f.get("clip");Gu(r,{shape:{endAngle:Sr(n,_,b,a)}},t),u.add(r),Ds(t.seriesIndex,y.dataType,e,r),p[e]=r}})).update((function(e,n){var i=y.get(v,e);if(d){var r=h.getItemGraphicEl(n),a=r?r.rotation:o,s=w(e,a);s.rotation=a,Fu(s,{rotation:-((isNaN(+i)?b[0]:Sr(i,_,b,!0))+Math.PI/2)},t),u.add(s),y.setItemGraphicEl(e,s)}if(g){var l=c[n],m=S(e,l?l.shape.endAngle:o),x=f.get("clip");Fu(m,{shape:{endAngle:Sr(i,_,b,x)}},t),u.add(m),Ds(t.seriesIndex,y.dataType,e,m),p[e]=m}})).execute(),y.each((function(t){var e=y.getItemModel(t),n=e.getModel("emphasis"),r=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(d){var s=y.getItemGraphicEl(t),l=y.getItemVisual(t,"style"),u=l.fill;if(s instanceof rs){var h=s.style;s.useStyle(I({image:h.image,x:h.x,y:h.y,width:h.width,height:h.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",i(Sr(y.get(v,t),_,[0,1],!0))),s.z2EmphasisLift=0,_l(s,e),yl(s,r,o,a)}if(g){var c=p[t];c.useStyle(y.getItemVisual(t,"style")),c.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),c.z2EmphasisLift=0,_l(c,e),yl(c,r,o,a)}})),this._progressEls=p)},n.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var i=n.get("size"),r=n.get("icon"),o=n.get("offsetCenter"),a=n.get("keepAspect"),s=hy(r,e.cx-i/2+Mr(o[0],e.r),e.cy-i/2+Mr(o[1],e.r),i,i,null,a);s.z2=n.get("showAbove")?1:0,s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},n.prototype._renderTitleAndDetail=function(t,e,n,i,r){var o=this,a=t.getData(),s=a.mapDimension("value"),l=+t.get("min"),u=+t.get("max"),h=new yr,c=[],p=[],d=t.isAnimationEnabled(),f=t.get(["pointer","showAbove"]);a.diff(this._data).add((function(t){c[t]=new fs({silent:!0}),p[t]=new fs({silent:!0})})).update((function(t,e){c[t]=o._titleEls[e],p[t]=o._detailEls[e]})).execute(),a.each((function(e){var n=a.getItemModel(e),o=a.get(s,e),g=new yr,y=i(Sr(o,[l,u],[0,1],!0)),v=n.getModel("title");if(v.get("show")){var m=v.get("offsetCenter"),x=r.cx+Mr(m[0],r.r),_=r.cy+Mr(m[1],r.r);(D=c[e]).attr({z2:f?0:2,style:Ih(v,{x:x,y:_,text:a.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:y})}),g.add(D)}var b=n.getModel("detail");if(b.get("show")){var w=b.get("offsetCenter"),S=r.cx+Mr(w[0],r.r),M=r.cy+Mr(w[1],r.r),I=Mr(b.get("width"),r.r),T=Mr(b.get("height"),r.r),C=t.get(["progress","show"])?a.getItemVisual(e,"style").fill:y,D=p[e],A=b.get("formatter");D.attr({z2:f?0:2,style:Ih(b,{x:S,y:M,text:dA(o,A),width:isNaN(I)?null:I,height:isNaN(T)?null:T,align:"center",verticalAlign:"middle"},{inheritColor:C})}),Oh(D,{normal:b},o,(function(t){return dA(t,A)})),d&&Rh(D,e,a,t,{getFormattedLabel:function(t,e,n,i,r,a){return dA(a?a.interpolatedValue:o,A)}}),g.add(D)}h.add(g)})),this.group.add(h),this._titleEls=c,this._detailEls=p},n.type="gauge",n}(Jf),gA=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.visualStyleAccessPath="itemStyle",e}return e(n,t),n.prototype.getInitialData=function(t,e){return RS(this,["value"])},n.type="series.gauge",n.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}},n}(Ff);var yA=["itemStyle","opacity"],vA=function(t){function n(e,n){var i=t.call(this)||this,r=i,o=new yu,a=new fs;return r.setTextContent(a),i.setTextGuideLine(o),i.updateData(e,n,!0),i}return e(n,t),n.prototype.updateData=function(t,e,n){var i=this,r=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e),s=o.getModel("emphasis"),l=o.get(yA);l=null==l?1:l,n||Uu(i),i.useStyle(t.getItemVisual(e,"style")),i.style.lineJoin="round",n?(i.setShape({points:a.points}),i.style.opacity=0,Gu(i,{style:{opacity:l}},r,e)):Fu(i,{style:{opacity:l},shape:{points:a.points}},r,e),_l(i,o),this._updateLabel(t,e),yl(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},n.prototype._updateLabel=function(t,e){var n=this,i=this.getTextGuideLine(),r=n.getTextContent(),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"style"),u=l.fill;Sh(r,Mh(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:l.opacity,defaultText:t.getName(e)},{normal:{align:s.textAlign,verticalAlign:s.verticalAlign}}),n.setTextConfig({local:!0,inside:!!s.inside,insideStroke:u,outsideFill:u});var h=s.linePoints;i.setShape({points:h}),n.textGuideLineConfig={anchor:h?new ue(h[0][0],h[0][1]):null},Fu(r,{style:{x:s.x,y:s.y}},o,e),r.attr({rotation:s.rotation,originX:s.x,originY:s.y,z2:10}),L_(n,P_(a),{stroke:u})},n}(fu),mA=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.ignoreLabelLineUpdate=!0,e}return e(n,t),n.prototype.render=function(t,e,n){var i=t.getData(),r=this._data,o=this.group;i.diff(r).add((function(t){var e=new vA(i,t);i.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var n=r.getItemGraphicEl(e);n.updateData(i,t),o.add(n),i.setItemGraphicEl(t,n)})).remove((function(e){Xu(r.getItemGraphicEl(e),t,e)})).execute(),this._data=i},n.prototype.remove=function(){this.group.removeAll(),this._data=null},n.prototype.dispose=function(){},n.type="funnel",n}(Jf),xA=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new NS(N(this.getData,this),N(this.getRawData,this)),this._defaultLabelLine(e)},n.prototype.getInitialData=function(t,e){return RS(this,{coordDimensions:["value"],encodeDefaulter:E(_p,this)})},n.prototype._defaultLabelLine=function(t){qr(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},n.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=n.mapDimension("value"),o=n.getSum(r);return i.percent=o?+(n.get(r,e)/o*100).toFixed(2):0,i.$vars.push("percent"),i},n.type="series.funnel",n.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"}}},n}(Ff);function _A(t,e){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),i=n.mapDimension("value"),r=t.get("sort"),o=function(t,e){return qc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),a=t.get("orient"),s=o.width,l=o.height,u=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,(function(t){return t})),r=[],o="ascending"===e,a=0,s=t.count();a5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&OA(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i?null:{duration:0}})}}};function OA(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var RA=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},n.prototype.mergeOption=function(t){var e=this.option;t&&S(e,t,!0),this._initDimensions()},n.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},n.prototype.setAxisExpand=function(t){k(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},n.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[];k(O(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this),(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))},n.type="parallel",n.dependencies=["parallelAxis"],n.layoutMode="box",n.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},n}(np),NA=function(t){function n(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.axisIndex=o,a}return e(n,t),n.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},n}(s_);function EA(t,e,n,i,r,o){t=t||0;var a=n[1]-n[0];if(null!=r&&(r=VA(r,[0,a])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===i){var s=Math.abs(e[1]-e[0]);s=VA(s,[0,a]),r=o=VA(s,[r,o]),i=0}e[0]=VA(e[0],n),e[1]=VA(e[1],n);var l=zA(e,i);e[i]+=t;var u,h=r||0,c=n.slice();return l.sign<0?c[0]+=h:c[1]-=h,e[i]=VA(e[i],c),u=zA(e,i),null!=r&&(u.sign!==l.sign||u.spano&&(e[1-i]=e[i]+u.sign*o),e}function zA(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function VA(t,e){return Math.min(null!=e[1]?e[1]:Infinity,Math.max(null!=e[0]?e[0]:-Infinity,t))}var BA=k,FA=Math.min,GA=Math.max,WA=Math.floor,HA=Math.ceil,YA=Ir,XA=Math.PI,UA=function(){function t(t,e,n){this.type="parallel",this._axesMap=st(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=t.dimensions,r=t.parallelAxisIndex;BA(i,(function(t,n){var i=r[n],o=e.getComponent("parallelAxis",i),a=this._axesMap.set(t,new NA(t,kx(o),[0,0],o.get("type"),i)),s="category"===a.type;a.onBand=s&&o.get("boundaryGap"),a.inverse=o.get("inverse"),o.axis=a,a.model=o,a.coordinateSystem=o.coordinateSystem=this}),this)},t.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},t.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,r=e.pixelDimIndex,o=t[1-r],a=t[r];return o>=n&&o<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var i=n.getData();BA(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),Ax(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=qc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,i=["x","y"],r=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[r[a]],l=[0,s],u=this.dimensions.length,h=ZA(e.get("axisExpandWidth"),l),c=ZA(e.get("axisExpandCount")||0,[0,u]),p=e.get("axisExpandable")&&u>3&&u>c&&c>1&&h>0&&s>0,d=e.get("axisExpandWindow");d?(t=ZA(d[1]-d[0],l),d[1]=d[0]+t):(t=ZA(h*(c-1),l),(d=[h*(e.get("axisExpandCenter")||WA(u/2))-t/2])[1]=d[0]+t);var f=(s-t)/(u-c);f<3&&(f=0);var g=[WA(YA(d[0]/h,1))+1,HA(YA(d[1]/h,1))-1],y=f/h*d[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:p,axisExpandWidth:h,axisCollapseWidth:f,axisExpandWindow:d,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:y}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each((function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),BA(n,(function(e,n){var o=(i.axisExpandable?qA:jA)(n,i),a={horizontal:{x:o.position,y:i.axisLength},vertical:{x:0,y:o.position}},s={horizontal:XA/2,vertical:0},l=[a[r].x+t.x,a[r].y+t.y],u=s[r],h=[1,0,0,1,0,0];ae(h,h,u),oe(h,h,l),this._axesLayout[e]={position:l,rotation:u,transform:h,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,i){null==n&&(n=0),null==i&&(i=t.count());var r=this._axesMap,o=this.dimensions,a=[],s=[];k(o,(function(e){a.push(t.mapDimension(e)),s.push(r.get(e).model)}));for(var l=this.hasAxisBrushed(),u=n;ur*(1-h[0])?(l="jump",a=s-r*(1-h[2])):(a=s-r*h[1])>=0&&(a=s-r*(1-h[1]))<=0&&(a=0),(a*=e.axisExpandWidth/u)?EA(a,i,o,"all"):l="none";else{var p=i[1]-i[0];(i=[GA(0,o[1]*s/p-p/2)])[1]=FA(o[1],i[0]+p),i[0]=i[1]-p}return{axisExpandWindow:i,behavior:l}},t}();function ZA(t,e){return FA(GA(t,e[0]),e[1])}function jA(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function qA(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,h=!1;return t=0;n--)Tr(e[n])},n.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;i6}(t)||o){if(a&&!o){"single"===s.brushMode&&yk(t);var l=w(s);l.brushType=Ok(l.brushType,a),l.panelId=a===JA?null:a.panelId,o=t._creatingCover=lk(t,l),t._covers.push(o)}if(o){var u=Ek[Ok(t._brushType,a)];o.__brushOption.range=u.getCreatingRange(Ak(t,o,t._track)),i&&(uk(t,o),u.updateCommon(t,o)),hk(t,o),r={isEnd:i}}}else i&&"single"===s.brushMode&&s.removeOnClick&&fk(t,e,n)&&yk(t)&&(r={isEnd:i,removeOnClick:!0});return r}function Ok(t,e){return"auto"===t?e.defaultBrushType:t}var Rk={mousedown:function(t){if(this._dragging)Nk(this,t);else if(!t.target||!t.target.draggable){kk(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=fk(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,o=fk(t,e,n);if(!t._dragging)for(var a=0;a=0&&(o[r[a].depth]=new Zh(r[a],this,e));if(i&&n)return lA(i,n,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getData().getItemLayout(e);if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t})),e.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getGraph().getEdgeByIndex(e).node1.getLayout();if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t}))})).data},n.prototype.setNodePosition=function(t,e){var n=(this.option.data||this.option.nodes)[t];n.localX=e[0],n.localY=e[1]},n.prototype.getGraph=function(){return this.getData().graph},n.prototype.getEdgeData=function(){return this.getGraph().edgeData},n.prototype.formatTooltip=function(t,e,n){function i(t){return isNaN(t)||null==t}if("edge"===n){var r=this.getDataParams(t,n),o=r.data,a=r.value;return Mf("nameValue",{name:o.source+" -- "+o.target,value:a,noValue:i(a)})}var s=this.getGraph().getNodeByIndex(t).getLayout().value,l=this.getDataParams(t,n).data.name;return Mf("nameValue",{name:null!=l?l+"":null,value:s,noValue:i(s)})},n.prototype.optionUpdated=function(){},n.prototype.getDataParams=function(e,n){var i=t.prototype.getDataParams.call(this,e,n);if(null==i.value&&"node"===n){var r=this.getGraph().getNodeByIndex(e).getLayout().value;i.value=r}return i},n.type="series.sankey",n.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},n}(Ff);function Jk(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),i=t.get("nodeGap"),r=function(t,e){return qc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=r;var o=r.width,a=r.height,s=t.getGraph(),l=s.nodes,u=s.edges;!function(t){k(t,(function(t){var e=lL(t.outEdges,sL),n=lL(t.inEdges,sL),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)}))}(l),function(t,e,n,i,r,o,a,s,l){(function(t,e,n,i,r,o,a){for(var s=[],l=[],u=[],h=[],c=0,p=0;p=0;v&&y.depth>d&&(d=y.depth),g.setLayout({depth:v?y.depth:c},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var m=0;mc-1?d:c-1;a&&"left"!==a&&function(t,e,n,i){if("right"===e){for(var r=[],o=t,a=0;o.length;){for(var s=0;s0;o--)eL(s,l*=.99,a),tL(s,r,n,i,a),uL(s,l,a),tL(s,r,n,i,a)}(t,e,o,r,i,a,s),function(t,e){var n="vertical"===e?"x":"y";k(t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]}))})),k(t,(function(t){var e=0,n=0;k(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),k(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}(t,s)}(l,u,n,i,o,a,0!==O(l,(function(t){return 0===t.getLayout().value})).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))}))}function Qk(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function tL(t,e,n,i,r){var o="vertical"===r?"x":"y";k(t,(function(t){var a,s,l;t.sort((function(t,e){return t.getLayout()[o]-e.getLayout()[o]}));for(var u=0,h=t.length,c="vertical"===r?"dx":"dy",p=0;p0&&(a=s.getLayout()[o]+l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[c]+e;if((l=u-e-("vertical"===r?i:n))>0){a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a;for(p=h-2;p>=0;--p)(l=(s=t[p]).getLayout()[o]+s.getLayout()[c]+e-u)>0&&(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}}))}function eL(t,e,n){k(t.slice().reverse(),(function(t){k(t,(function(t){if(t.outEdges.length){var i=lL(t.outEdges,nL,n)/lL(t.outEdges,sL);if(isNaN(i)){var r=t.outEdges.length;i=r?lL(t.outEdges,iL,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-aL(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-aL(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function nL(t,e){return aL(t.node2,e)*t.getValue()}function iL(t,e){return aL(t.node2,e)}function rL(t,e){return aL(t.node1,e)*t.getValue()}function oL(t,e){return aL(t.node1,e)}function aL(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function sL(t){return t.getValue()}function lL(t,e,n){for(var i=0,r=t.length,o=-1;++oo&&(o=e)})),k(n,(function(e){var n=new AC({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),i=e.getModel().get(["itemStyle","color"]);null!=i?(e.setVisual("color",i),e.setVisual("style",{fill:i})):(e.setVisual("color",n),e.setVisual("style",{fill:n}))}))}i.length&&k(i,(function(t){var e=t.getModel().get("lineStyle");t.setVisual("style",e)}))}))}var cL=function(){function t(){}return t.prototype.getInitialData=function(t,e){var n,i,r=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),a=r.get("type"),s=o.get("type");"category"===a?(t.layout="horizontal",n=r.getOrdinalMeta(),i=!0):"category"===s?(t.layout="vertical",n=o.getOrdinalMeta(),i=!0):t.layout=t.layout||"horizontal";var l=["x","y"],u="horizontal"===t.layout?0:1,h=this._baseAxisDim=l[u],c=l[1-u],p=[r,o],d=p[u].get("type"),f=p[1-u].get("type"),g=t.data;if(g&&i){var y=[];k(g,(function(t,e){var n;z(t)?(n=t.slice(),t.unshift(e)):z(t.value)?((n=I({},t)).value=n.value.slice(),t.value.unshift(e)):n=t,y.push(n)})),t.data=y}var v=this.defaultValueDimensions,m=[{name:h,type:Qv(d),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:c,type:Qv(f),dimsDef:v.slice()}];return RS(this,{coordDimensions:m,dimensionsCount:v.length+1,encodeDefaulter:E(xp,m,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),pL=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],e.visualDrawType="stroke",e}return e(n,t),n.type="series.boxplot",n.dependencies=["xAxis","yAxis","grid"],n.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},n}(Ff);D(pL,cL,!0);var dL=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){var i=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===t.get("layout")?1:0;i.diff(o).add((function(t){if(i.hasValue(t)){var e=yL(i.getItemLayout(t),i,t,a,!0);i.setItemGraphicEl(t,e),r.add(e)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?(Uu(n),vL(s,n,i,t)):n=yL(s,i,t,a),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=i},n.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},n.type="boxplot",n}(Jf),fL=function(){return function(){}}(),gL=function(t){function n(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return e(n,t),n.prototype.getDefaultShape=function(){return new fL},n.prototype.buildPath=function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();ig){var _=[v,x];i.push(_)}}}return{boxData:n,outliers:i}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}};var wL=["color","borderColor"],SL=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},n.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},n.prototype.incrementalRender=function(t,e,n,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},n.prototype.eachRendered=function(t){mh(this._progressiveEls||this.group,t)},n.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},n.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,i=this.group,r=e.getLayout("isSimpleBox"),o=t.get("clip",!0),a=t.coordinateSystem,s=a.getArea&&a.getArea();this._data||i.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var a=e.getItemLayout(n);if(o&&CL(s,a))return;var l=TL(a,n,!0);Gu(l,{shape:{points:a.ends}},t,n),DL(l,e,n,r),i.add(l),e.setItemGraphicEl(n,l)}})).update((function(a,l){var u=n.getItemGraphicEl(l);if(e.hasValue(a)){var h=e.getItemLayout(a);o&&CL(s,h)?i.remove(u):(u?(Fu(u,{shape:{points:h.ends}},t,a),Uu(u)):u=TL(h),DL(u,e,a,r),i.add(u),e.setItemGraphicEl(a,u))}else i.remove(u)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=e},n.prototype._renderLarge=function(t){this._clear(),PL(t,this.group);var e=t.get("clip",!0)?Pw(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},n.prototype._incrementalRenderNormal=function(t,e){for(var n,i=e.getData(),r=i.getLayout("isSimpleBox");null!=(n=t.next());){var o=TL(i.getItemLayout(n));DL(o,i,n,r),o.incremental=!0,this.group.add(o),this._progressiveEls.push(o)}},n.prototype._incrementalRenderLarge=function(t,e){PL(e,this.group,this._progressiveEls,!0)},n.prototype.remove=function(t){this._clear()},n.prototype._clear=function(){this.group.removeAll(),this._data=null},n.type="candlestick",n}(Jf),ML=function(){return function(){}}(),IL=function(t){function n(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return e(n,t),n.prototype.getDefaultShape=function(){return new ML},n.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},n}(Qa);function TL(t,e,n){var i=t.ends;return new IL({shape:{points:n?AL(i,t):i},z2:100})}function CL(t,e){for(var n=!0,i=0;i0?"borderColor":"borderColor0"])||n.get(["itemStyle",t>0?"color":"color0"]);0===t&&(r=n.get(["itemStyle","borderColorDoji"]));var o=n.getModel("itemStyle").getItemStyle(wL);e.useStyle(o),e.style.fill=null,e.style.stroke=r}var RL=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],e}return e(n,t),n.prototype.getShadowDim=function(){return"open"},n.prototype.brushSelector=function(t,e,n){var i=e.getItemLayout(t);return i&&n.rect(i.brushRect)},n.type="series.candlestick",n.dependencies=["xAxis","yAxis","grid"],n.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},n}(Ff);function NL(t){t&&z(t.series)&&k(t.series,(function(t){W(t)&&"k"===t.type&&(t.type="candlestick")}))}D(RL,cL,!0);var EL=["itemStyle","borderColor"],zL=["itemStyle","borderColor0"],VL=["itemStyle","borderColorDoji"],BL=["itemStyle","color"],FL=["itemStyle","color0"],GL={seriesType:"candlestick",plan:qf(),performRawSeries:!0,reset:function(t,e){function n(t,e){return e.get(t>0?BL:FL)}function i(t,e){return e.get(0===t?VL:t>0?EL:zL)}if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var r;null!=(r=t.next());){var o=e.getItemModel(r),a=e.getItemLayout(r).sign,s=o.getItemStyle();s.fill=n(a,o),s.stroke=i(a,o)||s.fill,I(e.ensureUniqueItemVisual(r,"style"),s)}}}}},WL={seriesType:"candlestick",plan:qf(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),i=function(t,e){var n,i=t.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),o=Mr(q(t.get("barMaxWidth"),r),r),a=Mr(q(t.get("barMinWidth"),1),r),s=t.get("barWidth");return null!=s?Mr(s,r):Math.max(Math.min(r/2,o),a)}(t,n),r=["x","y"],o=n.getDimensionIndex(n.mapDimension(r[0])),a=L(n.mapDimensionsAll(r[1]),n.getDimensionIndex,n),s=a[0],l=a[1],u=a[2],h=a[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(o<0||a.length<4))return{progress:t.pipelineContext.large?function(n,i){var r,a,c=Zm(4*n.count),p=0,d=[],f=[],g=i.getStore(),y=!!t.get(["itemStyle","borderColorDoji"]);for(;null!=(a=n.next());){var v=g.get(o,a),m=g.get(s,a),x=g.get(l,a),_=g.get(u,a),b=g.get(h,a);isNaN(v)||isNaN(_)||isNaN(b)?(c[p++]=NaN,p+=3):(c[p++]=HL(g,a,m,x,l,y),d[0]=v,d[1]=_,r=e.dataToPoint(d,null,f),c[p++]=r?r[0]:NaN,c[p++]=r?r[1]:NaN,d[1]=b,r=e.dataToPoint(d,null,f),c[p++]=r?r[1]:NaN)}i.setLayout("largePoints",c)}:function(t,n){var r,a=n.getStore();for(;null!=(r=t.next());){var c=a.get(o,r),p=a.get(s,r),d=a.get(l,r),f=a.get(u,r),g=a.get(h,r),y=Math.min(p,d),v=Math.max(p,d),m=M(y,c),x=M(v,c),_=M(f,c),b=M(g,c),w=[];I(w,x,0),I(w,m,1),w.push(C(b),C(x),C(_),C(m));var S=!!n.getItemModel(r).get(["itemStyle","borderColorDoji"]);n.setItemLayout(r,{sign:HL(a,r,p,d,l,S),initBaseline:p>d?x[1]:m[1],ends:w,brushRect:T(f,g,c)})}function M(t,n){var i=[];return i[0]=n,i[1]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function I(t,e,n){var r=e.slice(),o=e.slice();r[0]=oh(r[0]+i/2,1,!1),o[0]=oh(o[0]-i/2,1,!0),n?t.push(r,o):t.push(o,r)}function T(t,e,n){var r=M(t,n),o=M(e,n);return r[0]-=i/2,o[0]-=i/2,{x:r[0],y:r[1],width:i,height:o[1]-r[1]}}function C(t){return t[0]=oh(t[0],1),t}}}}};function HL(t,e,n,i,r,o){return n>i?-1:n0?t.get(r,e-1)<=i?1:-1:1}function YL(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}var XL=function(t){function n(e,n){var i=t.call(this)||this,r=new fw(e,n),o=new yr;return i.add(r),i.add(o),i.updateData(e,n),i}return e(n,t),n.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},n.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=t.rippleNumber,r=this.childAt(1),o=0;o0&&(o=this._getLineLength(i)/l*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){i.stopAnimation();var h=void 0;h=V(u)?u(n):u,i.__t>0&&(h=-o*i.__t),this._animateSymbol(i,o,h,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},n.prototype._animateSymbol=function(t,e,n,i,r){if(e>0){t.__t=0;var o=this,a=t.animate("",i).when(r?2*e:e,{__t:r?2:1}).delay(n).during((function(){o._updateSymbolPosition(t)}));i||a.done((function(){o.remove(t)})),a.start()}},n.prototype._getLineLength=function(t){return Mt(t.__p1,t.__cp1)+Mt(t.__cp1,t.__p2)},n.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},n.prototype.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},n.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t<1?t.__t:2-t.__t,o=[t.x,t.y],a=o.slice(),s=an,l=sn;o[0]=s(e[0],i[0],n[0],r),o[1]=s(e[1],i[1],n[1],r);var u=t.__t<1?l(e[0],i[0],n[0],r):l(n[0],i[0],e[0],1-r),h=t.__t<1?l(e[1],i[1],n[1],r):l(n[1],i[1],e[1],1-r);t.rotation=-Math.atan2(h,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT=0&&!(i[o]<=e);o--);o=Math.min(o,r-2)}else{for(o=a;oe);o++);o=Math.min(o-1,r-2)}var s=(e-i[o])/(i[o+1]-i[o]),l=n[o],u=n[o+1];t.x=l[0]*(1-s)+s*u[0],t.y=l[1]*(1-s)+s*u[1];var h=t.__t<1?u[0]-l[0]:l[0]-u[0],c=t.__t<1?u[1]-l[1]:l[1]-u[1];t.rotation=-Math.atan2(c,h)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},n}(jL),$L=function(){return function(){this.polyline=!1,this.curveness=0,this.segs=[]}}(),JL=function(t){function n(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return e(n,t),n.prototype.reset=function(){this.notClear=!1,this._off=0},n.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},n.prototype.getDefaultShape=function(){return new $L},n.prototype.buildPath=function(t,e){var n,i=e.segs,r=e.curveness;if(e.polyline)for(n=this._off;n0){t.moveTo(i[n++],i[n++]);for(var a=1;a0){var c=(s+u)/2-(l-h)*r,p=(l+h)/2-(u-s)*r;t.quadraticCurveTo(c,p,u,h)}else t.lineTo(u,h)}this.incremental&&(this._off=n,this.notClear=!0)},n.prototype.findDataIndex=function(t,e){var n=this.shape,i=n.segs,r=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s0)for(var u=i[s++],h=i[s++],c=1;c0){if(Ea(u,h,(u+p)/2-(h-d)*r,(h+d)/2-(p-u)*r,p,d,o,t,e))return a}else if(Ra(u,h,p,d,o,t,e))return a;a++}return-1},n.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},n.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape.segs,n=Infinity,i=Infinity,r=-Infinity,o=-Infinity,a=0;a0&&(o.dataIndex=n+t.__startIndex)}))},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),tP={seriesType:"lines",plan:qf(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(r,o){var a=[];if(i){var s=void 0,l=r.end-r.start;if(n){for(var u=0,h=r.start;h0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var u=t.get("clip",!0)&&Pw(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},n.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateLineDraw(i,t).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},n.prototype.incrementalRender=function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},n.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},n.prototype.updateTransform=function(t,e,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=tP.reset(t,e,n);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},n.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,i=this._showEffect(e),r=!!e.get("polyline"),o=e.pipelineContext.large;return n&&i===this._hasEffet&&r===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new QL:new HD(r?i?KL:qL:i?jL:WD),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=o),this.group.add(n.group),n},n.prototype._showEffect=function(t){return!!t.get(["effect","show"])},n.prototype._clearLayer=function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},n.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},n.prototype.dispose=function(t,e){this.remove(t,e)},n.type="lines",n}(Jf),nP="undefined"==typeof Uint32Array?Array:Uint32Array,iP="undefined"==typeof Float64Array?Array:Float64Array;function rP(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=L(e,(function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),M([e,t[0],t[1]])})))}var oP=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.visualStyleAccessPath="lineStyle",e.visualDrawType="stroke",e}return e(n,t),n.prototype.init=function(e){e.data=e.data||[],rP(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},n.prototype.mergeOption=function(e){if(rP(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},n.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=lt(this._flatCoords,e.flatCoords),this._flatCoordsOffset=lt(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},n.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t);return e.option instanceof Array?e.option:e.getShallow("coords")},n.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},n.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;r ")})},n.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},n.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},n.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},n.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},n.type="series.lines",n.dependencies=["grid","polar","geo","calendar"],n.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}},n}(Ff);function aP(t){return t instanceof Array||(t=[t,t]),t}var sP={seriesType:"lines",reset:function(t){var e=aP(t.get("symbol")),n=aP(t.get("symbolSize")),i=t.getData();return i.setVisual("fromSymbol",e&&e[0]),i.setVisual("toSymbol",e&&e[1]),i.setVisual("fromSymbolSize",n&&n[0]),i.setVisual("toSymbolSize",n&&n[1]),{dataEach:i.hasItemOption?function(t,e){var n=t.getItemModel(e),i=aP(n.getShallow("symbol",!0)),r=aP(n.getShallow("symbolSize",!0));i[0]&&t.setItemVisual(e,"fromSymbol",i[0]),i[1]&&t.setItemVisual(e,"toSymbol",i[1]),r[0]&&t.setItemVisual(e,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(e,"toSymbolSize",r[1])}:null}}};var lP=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=s.createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,i,r,o){var a=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,h=this.canvas,c=h.getContext("2d"),p=t.length;h.width=e,h.height=n;for(var d=0;d0){var I=o(v)?s:l;v>0&&(v=v*S+w),x[_++]=I[M],x[_++]=I[M+1],x[_++]=I[M+2],x[_++]=I[M+3]*v*256}else _+=4}return c.putImageData(m,0,0),h},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=s.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,r),i[o++]=r[0],i[o++]=r[1],i[o++]=r[2],i[o++]=r[3];return i},t}();function uP(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var hP=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){var i;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(i=e)}))})),this._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):uP(r)&&this._renderOnGeo(r,t,i,n)},n.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},n.prototype.incrementalRender=function(t,e,n,i){var r=e.coordinateSystem;r&&(uP(r)?this.render(e,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)))},n.prototype.eachRendered=function(t){mh(this._progressiveEls||this.group,t)},n.prototype._renderOnCartesianAndCalendar=function(t,e,n,i,r){var o,a,s,l,u=t.coordinateSystem,h=Ow(u,"cartesian2d");if(h){var c=u.getAxis("x"),p=u.getAxis("y");o=c.getBandWidth()+.5,a=p.getBandWidth()+.5,s=c.scale.getExtent(),l=p.scale.getExtent()}for(var d=this.group,f=t.getData(),g=t.getModel(["emphasis","itemStyle"]).getItemStyle(),y=t.getModel(["blur","itemStyle"]).getItemStyle(),v=t.getModel(["select","itemStyle"]).getItemStyle(),m=t.get(["itemStyle","borderRadius"]),x=Mh(t),_=t.getModel("emphasis"),b=_.get("focus"),w=_.get("blurScope"),S=_.get("disabled"),M=h?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],I=n;Is[1]||Al[1])continue;var k=u.dataToPoint([D,A]);T=new cs({shape:{x:k[0]-o/2,y:k[1]-a/2,width:o,height:a},style:C})}else{if(isNaN(f.get(M[1],I)))continue;T=new cs({z2:1,shape:u.dataToRect([f.get(M[0],I)]).contentShape,style:C})}if(f.hasItemOption){var L=f.getItemModel(I),P=L.getModel("emphasis");g=P.getModel("itemStyle").getItemStyle(),y=L.getModel(["blur","itemStyle"]).getItemStyle(),v=L.getModel(["select","itemStyle"]).getItemStyle(),m=L.get(["itemStyle","borderRadius"]),b=P.get("focus"),w=P.get("blurScope"),S=P.get("disabled"),x=Mh(L)}T.shape.r=m;var O=t.getRawValue(I),R="-";O&&null!=O[2]&&(R=O[2]+""),Sh(T,x,{labelFetcher:t,labelDataIndex:I,defaultOpacity:C.opacity,defaultText:R}),T.ensureState("emphasis").style=g,T.ensureState("blur").style=y,T.ensureState("select").style=v,yl(T,b,w,S),T.incremental=r,r&&(T.states.emphasis.hoverLayer=!0),d.add(T),f.setItemGraphicEl(I,T),this._progressiveEls&&this._progressiveEls.push(T)}},n.prototype._renderOnGeo=function(t,e,n,i){var r=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new lP;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var l=t.getViewRect().clone(),u=t.getRoamTransform();l.applyTransform(u);var h=Math.max(l.x,0),c=Math.max(l.y,0),p=Math.min(l.width+l.x,i.getWidth()),d=Math.min(l.height+l.y,i.getHeight()),f=p-h,g=d-c,y=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],v=a.mapArray(y,(function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=h,r[1]-=c,r.push(i),r})),m=n.getExtent(),x="visualMap.continuous"===n.type?function(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}(m,n.option.range):function(t,e,n){var i=t[1]-t[0],r=(e=L(e,(function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}}))).length,o=0;return function(t){var i;for(i=o;i=0;i--){var a;if((a=e[i].interval)[0]<=t&&t<=a[1]){o=i;break}}return i>=0&&i0?1:-1}(n,o,r,i,c),function(t,e,n,i,r,o,a,s,l,u){var h,c=l.valueDim,p=l.categoryDim,d=Math.abs(n[p.wh]),f=t.getItemVisual(e,"symbolSize");h=z(f)?f.slice():null==f?["100%","100%"]:[f,f];h[p.index]=Mr(h[p.index],d),h[c.index]=Mr(h[c.index],i?d:Math.abs(o)),u.symbolSize=h;var g=u.symbolScale=[h[0]/s,h[1]/s];g[c.index]*=(l.isHorizontal?-1:1)*a}(t,e,r,o,0,c.boundingLength,c.pxSign,u,i,c),function(t,e,n,i,r){var o=t.get(pP)||0;o&&(fP.attr({scaleX:e[0],scaleY:e[1],rotation:n}),fP.updateTransform(),o/=fP.getLineScale(),o*=e[i.valueDim.index]);r.valueLineWidth=o||0}(n,c.symbolScale,l,i,c);var p=c.symbolSize,d=py(n.get("symbolOffset"),p);return function(t,e,n,i,r,o,a,s,l,u,h,c){var p=h.categoryDim,d=h.valueDim,f=c.pxSign,g=Math.max(e[d.index]+s,0),y=g;if(i){var v=Math.abs(l),m=j(t.get("symbolMargin"),"15%")+"",x=!1;m.lastIndexOf("!")===m.length-1&&(x=!0,m=m.slice(0,m.length-1));var _=Mr(m,e[d.index]),b=Math.max(g+2*_,0),w=x?0:2*_,S=Fr(i),M=S?i:PP((v+w)/b);b=g+2*(_=(v-M*g)/2/(x?M:Math.max(M-1,1))),w=x?0:2*_,S||"fixed"===i||(M=u?PP((Math.abs(u)+w)/b):0),y=M*b-w,c.repeatTimes=M,c.symbolMargin=_}var T=f*(y/2),C=c.pathPosition=[];C[p.index]=n[p.wh]/2,C[d.index]="start"===a?T:"end"===a?l-T:l/2,o&&(C[0]+=o[0],C[1]+=o[1]);var D=c.bundlePosition=[];D[p.index]=n[p.xy],D[d.index]=n[d.xy];var A=c.barRectShape=I({},n);A[d.wh]=f*Math.max(Math.abs(n[d.wh]),Math.abs(C[d.index]+T)),A[p.wh]=n[p.wh];var k=c.clipShape={};k[p.xy]=-n[p.xy],k[p.wh]=h.ecSize[p.wh],k[d.xy]=0,k[d.wh]=n[d.wh]}(n,p,r,o,0,d,s,c.valueLineWidth,c.boundingLength,c.repeatCutLength,i,c),c}function vP(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function mP(t){var e=t.symbolPatternSize,n=hy(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function xP(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,h=0,c=o[e.valueDim.index]+a+2*n.symbolMargin;for(AP(t,(function(t){t.__pictorialAnimationIndex=h,t.__pictorialRepeatTimes=u,h0:i<0)&&(r=u-1-t),e[l.index]=c*(r-u/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function _P(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o?kP(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,i):(o=t.__pictorialMainPath=mP(n),r.add(o),kP(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,i))}function bP(t,e,n){var i=I({},e.barRectShape),r=t.__pictorialBarRect;r?kP(r,null,{shape:i},e,n):((r=t.__pictorialBarRect=new cs({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(r))}function wP(t,e,n,i){if(n.symbolClip){var r=t.__pictorialClipPath,o=I({},n.clipShape),a=e.valueDim,s=n.animationModel,l=n.dataIndex;if(r)Fu(r,{shape:o},s,l);else{o[a.wh]=0,r=new cs({shape:o}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r;var u={};u[a.wh]=n.clipShape[a.wh],xh[i?"updateProps":"initProps"](r,{shape:u},s,l)}}}function SP(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=MP,n.isAnimationEnabled=IP,n}function MP(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function IP(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function TP(t,e,n,i){var r=new yr,o=new yr;return r.add(o),r.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?xP(r,e,n):_P(r,0,n),bP(r,n,i),wP(r,e,n,i),r.__pictorialShapeStr=DP(t,n),r.__pictorialSymbolMeta=n,r}function CP(t,e,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent();var o=[];AP(i,(function(t){o.push(t)})),i.__pictorialMainPath&&o.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),k(o,(function(t){Hu(t,{scaleX:0,scaleY:0},n,e,(function(){i.parent&&i.parent.remove(i)}))})),t.setItemGraphicEl(e,null)}function DP(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function AP(t,e,n){k(t.__pictorialBundle.children(),(function(i){i!==t.__pictorialBarRect&&e.call(n,i)}))}function kP(t,e,n,i,r,o){e&&t.attr(e),i.symbolClip&&!r?n&&t.attr(n):n&&xh[r?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,o)}function LP(t,e,n){var i=n.dataIndex,r=n.itemModel,o=r.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=r.getModel(["blur","itemStyle"]).getItemStyle(),l=r.getModel(["select","itemStyle"]).getItemStyle(),u=r.getShallow("cursor"),h=o.get("focus"),c=o.get("blurScope"),p=o.get("scale");AP(t,(function(t){if(t instanceof rs){var e=t.style;t.useStyle(I({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var i=t.ensureState("emphasis");i.style=a,p&&(i.scaleX=1.1*t.scaleX,i.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=l,u&&(t.cursor=u),t.z2=n.z2}));var d=e.valueDim.posDesc[+(n.boundingLength>0)],f=t.__pictorialBarRect;f.ignoreClip=!0,Sh(f,Mh(r),{labelFetcher:e.seriesModel,labelDataIndex:i,defaultText:pw(e.seriesModel.getData(),i),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:d}),yl(t,h,c,o.get("disabled"))}function PP(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var OP=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.hasSymbolVisual=!0,e.defaultSymbol="roundRect",e}return e(n,t),n.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},n.type="series.pictorialBar",n.dependencies=["grid"],n.defaultOption=Kh(qw.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"}}}),n}(qw);var RP=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e._layers=[],e}return e(n,t),n.prototype.render=function(t,e,n){var i=t.getData(),r=this,o=this.group,a=t.getLayerSeries(),s=i.getLayout("layoutInfo"),l=s.rect,u=s.boundaryGap;function h(t){return t.name}o.x=0,o.y=l.y+u[0];var c=new Kv(this._layersSeries||[],a,h,h),p=[];function d(e,n,s){var l=r._layers;if("remove"!==e){for(var u,h,c=[],d=[],f=a[n].indices,g=0;go&&(o=s),i.push(s)}for(var u=0;uo&&(o=c)}return{y0:r,max:o}}(l),h=u.y0,c=n/u.max,p=o.length,d=o[0].indices.length,f=0;fI&&!Pr(C-I)&&C0?(r.virtualPiece?r.virtualPiece.updateData(!1,c,t,e,n):(r.virtualPiece=new VP(c,t,e,n),l.add(r.virtualPiece)),p.piece.off("click"),r.virtualPiece.on("click",(function(t){r._rootToNode(p.parentNode)}))):r.virtualPiece&&(l.remove(r.virtualPiece),r.virtualPiece=null),this._initEvents(),this._oldChildren=h},n.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",(function(e){var n=!1;t.seriesModel.getViewRoot().eachNode((function(i){if(!n&&i.piece&&i.piece===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var o=i.getModel(),a=o.get("link");if(a)Hc(a,o.get("target",!0)||"_blank")}n=!0}}))}))},n.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:BP,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},n.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}},n.type="sunburst",n}(Jf),WP=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.ignoreStyleOnData=!0,e}return e(n,t),n.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};HP(n);var i=this._levelModels=L(t.levels||[],(function(t){return new Zh(t,this,e)}),this),r=eC.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e),o=i[n.depth];return o&&(t.parentModel=o),t}))}));return r.data},n.prototype.optionUpdated=function(){this.resetViewRoot()},n.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=oC(i,this),n},n.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},n.prototype.getViewRoot=function(){return this._viewRoot},n.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},n.prototype.enableAriaDecal=function(){cC(this)},n.type="series.sunburst",n.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"},n}(Ff);function HP(t){var e=0;k(t.children,(function(t){HP(t);var n=t.value;z(n)&&(n=n[0]),e+=n}));var n=t.value;z(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),z(t.value)?t.value[0]=n:t.value=n}var YP=Math.PI/180;function XP(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center"),i=t.get("radius");z(i)||(i=[0,i]),z(e)||(e=[e,e]);var r=n.getWidth(),o=n.getHeight(),a=Math.min(r,o),s=Mr(e[0],r),l=Mr(e[1],o),u=Mr(i[0],a/2),h=Mr(i[1],a/2),c=-t.get("startAngle")*YP,p=t.get("minAngle")*YP,d=t.getData().tree.root,f=t.getViewRoot(),g=f.depth,y=t.get("sort");null!=y&&UP(f,y);var v=0;k(f.children,(function(t){!isNaN(t.getValue())&&v++}));var m=f.getValue(),x=Math.PI/(m||v)*2,_=f.depth>0,b=f.height-(_?-1:1),w=(h-u)/(b||1),S=t.get("clockwise"),M=t.get("stillShowZeroSum"),I=S?1:-1,T=function(e,n){if(e){var i=n;if(e!==d){var r=e.getValue(),o=0===m&&M?x:r*x;o1;)r=r.parentNode;var o=n.getColorFromPalette(r.name||r.dataIndex+"",e);return t.depth>1&&B(o)&&(o=Pn(o,(t.depth-1)/(i-1)*.5)),o}(r,t,i.root.height)),I(n.ensureUniqueItemVisual(r.dataIndex,"style"),o)}))}))}var jP={color:"fill",borderColor:"stroke"},qP={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},KP=ao(),$P=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},n.prototype.getInitialData=function(t,e){return Am(null,this)},n.prototype.getDataParams=function(e,n,i){var r=t.prototype.getDataParams.call(this,e,n);return i&&(r.info=KP(i).info),r},n.type="series.custom",n.dependencies=["grid","polar","geo","singleAxis","calendar"],n.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},n}(Ff);function JP(t,e){return e=e||[0,0],L(["x","y"],(function(n,i){var r=this.getAxis(n),o=e[i],a=t[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))}),this)}function QP(t,e){return e=e||[0,0],L([0,1],(function(n){var i=e[n],r=t[n]/2,o=[],a=[];return o[n]=i-r,a[n]=i+r,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function tO(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function eO(t,e){return e=e||[0,0],L(["Radius","Angle"],(function(n,i){var r=this["get"+n+"Axis"](),o=e[i],a=t[i]/2,s="category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a));return"Angle"===n&&(s=s*Math.PI/180),s}),this)}function nO(t,e,n,i){return t&&(t.legacy||!1!==t.legacy&&!n&&!i&&"tspan"!==e&&("text"===e||ct(t,"text")))}function iO(t,e,n){var i,r,o,a=t;if("text"===e)o=a;else{o={},ct(a,"text")&&(o.text=a.text),ct(a,"rich")&&(o.rich=a.rich),ct(a,"textFill")&&(o.fill=a.textFill),ct(a,"textStroke")&&(o.stroke=a.textStroke),ct(a,"fontFamily")&&(o.fontFamily=a.fontFamily),ct(a,"fontSize")&&(o.fontSize=a.fontSize),ct(a,"fontStyle")&&(o.fontStyle=a.fontStyle),ct(a,"fontWeight")&&(o.fontWeight=a.fontWeight),r={type:"text",style:o,silent:!0},i={};var s=ct(a,"textPosition");n?i.position=s?a.textPosition:"inside":s&&(i.position=a.textPosition),ct(a,"textPosition")&&(i.position=a.textPosition),ct(a,"textOffset")&&(i.offset=a.textOffset),ct(a,"textRotation")&&(i.rotation=a.textRotation),ct(a,"textDistance")&&(i.distance=a.textDistance)}return rO(o,t),k(o.rich,(function(t){rO(t,t)})),{textConfig:i,textContent:r}}function rO(t,e){e&&(e.font=e.textFont||e.font,ct(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),ct(e,"textAlign")&&(t.align=e.textAlign),ct(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),ct(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),ct(e,"textWidth")&&(t.width=e.textWidth),ct(e,"textHeight")&&(t.height=e.textHeight),ct(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),ct(e,"textPadding")&&(t.padding=e.textPadding),ct(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),ct(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),ct(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),ct(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),ct(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),ct(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),ct(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function oO(t,e,n){var i=t;i.textPosition=i.textPosition||n.position||"inside",null!=n.offset&&(i.textOffset=n.offset),null!=n.rotation&&(i.textRotation=n.rotation),null!=n.distance&&(i.textDistance=n.distance);var r=i.textPosition.indexOf("inside")>=0,o=t.fill||"#000";aO(i,e);var a=null==i.textFill;return r?a&&(i.textFill=n.insideFill||"#fff",!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=o),null==i.textStrokeWidth&&(i.textStrokeWidth=2)):(a&&(i.textFill=t.fill||n.outsideFill||"#000"),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=e.text,i.rich=e.rich,k(e.rich,(function(t){aO(t,t)})),i}function aO(t,e){e&&(ct(e,"fill")&&(t.textFill=e.fill),ct(e,"stroke")&&(t.textStroke=e.fill),ct(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),ct(e,"font")&&(t.font=e.font),ct(e,"fontStyle")&&(t.fontStyle=e.fontStyle),ct(e,"fontWeight")&&(t.fontWeight=e.fontWeight),ct(e,"fontSize")&&(t.fontSize=e.fontSize),ct(e,"fontFamily")&&(t.fontFamily=e.fontFamily),ct(e,"align")&&(t.textAlign=e.align),ct(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),ct(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),ct(e,"width")&&(t.textWidth=e.width),ct(e,"height")&&(t.textHeight=e.height),ct(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),ct(e,"padding")&&(t.textPadding=e.padding),ct(e,"borderColor")&&(t.textBorderColor=e.borderColor),ct(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),ct(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),ct(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),ct(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),ct(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),ct(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),ct(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),ct(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),ct(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),ct(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var sO={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},lO=R(sO);P(qi,(function(t,e){return t[e]=1,t}),{}),qi.join(", ");var uO=["","style","shape","extra"],hO=ao();function cO(t,e,n,i,r){var o=t+"Animation",a=Vu(t,i,r)||{},s=hO(e).userDuring;return a.duration>0&&(a.during=s?N(mO,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),I(a,n[o]),a}function pO(t,e,n,i){var r=(i=i||{}).dataIndex,o=i.isInit,a=i.clearStyle,s=n.isAnimationEnabled(),l=hO(t),u=e.style;l.userDuring=e.during;var h={},c={};if(function(t,e,n){for(var i=0;i=0)){var c=t.getAnimationStyleProps(),p=c?c.style:null;if(p){!r&&(r=i.style={});var d=R(n);for(u=0;u0&&t.animateFrom(p,d)}else!function(t,e,n,i,r){if(r){var o=cO("update",t,e,i,n);o.duration>0&&t.animateFrom(r,o)}}(t,e,r||0,n,h);dO(t,e),u?t.dirty():t.markRedraw()}function dO(t,e){for(var n=hO(t).leaveToProps,i=0;i=0){!o&&(o=i[t]={});var p=R(a);for(h=0;hi[1]&&i.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=e.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=t.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a},size:N(eO,t)}}},calendar:function(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}};function EO(t){return t instanceof Qa}function zO(t){return t instanceof $o}var VO=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._data,o=t.getData(),a=this.group,s=HO(t,o,e,n);r||a.removeAll(),o.diff(r).add((function(e){XO(n,null,e,s(e,i),t,a,o)})).remove((function(e){var n=r.getItemGraphicEl(e);n&&fO(n,KP(n).option,t)})).update((function(e,l){var u=r.getItemGraphicEl(l);XO(n,u,e,s(e,i),t,a,o)})).execute();var l=t.get("clip",!0)?Pw(t.coordinateSystem,!1,t):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},n.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},n.prototype.incrementalRender=function(t,e,n,i,r){var o=e.getData(),a=HO(e,o,n,i),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var u=t.start;u=0?e.getStore().get(r,n):void 0}var o=e.get(i.name,n),a=i&&i.ordinalMeta;return a?a.categories[o]:o},styleEmphasis:function(n,i){null==i&&(i=s);var r=m(i,TO).getItemStyle(),o=x(i,TO),a=Ih(o,null,null,!0,!0);a.text=o.getShallow("show")?K(t.getFormattedLabel(i,TO),t.getFormattedLabel(i,CO),pw(e,i)):null;var l=Th(o,null,!0);return b(n,r),r=oO(r,a,l),n&&_(r,n),r.legacy=!0,r},visual:function(t,n){if(null==n&&(n=s),ct(jP,t)){var i=e.getItemVisual(n,"style");return i?i[jP[t]]:null}if(ct(qP,t))return e.getItemVisual(n,t)},barLayout:function(t){if("cartesian2d"===o.type){return function(t){var e=[],n=t.axis,i="axis0";if("category"===n.type){for(var r=n.getBandWidth(),o=0;o=c;f--){var g=e.childAt(f);$O(e,g,r)}}(t,c,n,i,r),a>=0?o.replaceAt(c,a):o.add(c),c}function ZO(t,e,n){var i,r=KP(t),o=e.type,a=e.shape,s=e.style;return n.isUniversalTransitionEnabled()||null!=o&&o!==r.customGraphicType||"path"===o&&((i=a)&&(ct(i,"pathData")||ct(i,"d")))&&eR(a)!==r.customPathData||"image"===o&&ct(s,"image")&&s.image!==r.customImagePath}function jO(t,e,n){var i=e?qO(t,e):t,r=e?KO(t,i,TO):t.style,o=t.type,a=i?i.textConfig:null,s=t.textContent,l=s?e?qO(s,e):s:null;if(r&&(n.isLegacy||nO(r,o,!!a,!!l))){n.isLegacy=!0;var u=iO(r,o,!e);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!e&&l){var h=l;!h.type&&(h.type="text")}var c=e?n[e]:n.normal;c.cfg=a,c.conOpt=l}function qO(t,e){return e?t?t[e]:null:t}function KO(t,e,n){var i=e&&e.style;return null==i&&n===TO&&t&&(i=t.styleEmphasis),i}function $O(t,e,n){e&&fO(e,KP(t).option,n)}function JO(t,e){var n=t&&t.name;return null!=n?n:"e\0\0"+e}function QO(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null,r=null!=e?n.oldChildren[e]:null;UO(n.api,r,n.dataIndex,i,n.seriesModel,n.group)}function tR(t){var e=this.context,n=e.oldChildren[t];n&&fO(n,KP(n).option,e.seriesModel)}function eR(t){return t&&(t.pathData||t.d)}var nR=ao(),iR=w,rR=N,oR=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==o){this._lastValue=r,this._lastStatus=o;var a=this._group,s=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var l={};this.makeElOption(l,r,t,e,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var h=this._moveAnimation=this.determineAnimation(t,e);if(a){var c=E(aR,e,h);this.updatePointerEl(a,l,c),this.updateLabelEl(a,l,c,e)}else a=this._group=new yr,this.createPointerEl(a,l,t,e),this.createLabelEl(a,l,t,e),n.getZr().add(a);hR(a,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=bM(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var o=nR(t).pointerEl=new xh[r.type](iR(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=nR(t).labelEl=new fs(iR(e.label));t.add(r),lR(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=nR(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=nR(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),lR(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=ph(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){$t(t.event)},onmousedown:rR(this._onHandleDragMove,this,0,0),drift:rR(this._onHandleDragMove,this),ondragend:rR(this._onHandleDragEnd,this)}),i.add(r)),hR(r,n,!1),r.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");z(s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,lg(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){aR(this._axisPointerModel,!e&&this._moveAnimation,this._handle,uR(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(uR(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(uR(i)),nR(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),ug(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function aR(t,e,n,i){sR(nR(n).lastProp,i)||(nR(n).lastProp=i,e?Fu(n,i,t):(n.stopAnimation(),n.attr(i)))}function sR(t,e){if(W(t)&&W(e)){var n=!0;return k(e,(function(e,i){n=n&&sR(t[i],e)})),!!n}return t===e}function lR(t,e){t[e.get(["label","show"])?"show":"hide"]()}function uR(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function hR(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}function cR(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e}function pR(t,e,n,i,r){var o=dR(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),a=n.getModel("label"),s=zc(a.get("padding")||0),l=a.getFont(),u=tr(o,l),h=r.position,c=u.width+s[1]+s[3],p=u.height+s[0]+s[2],d=r.align;"right"===d&&(h[0]-=c),"center"===d&&(h[0]-=c/2);var f=r.verticalAlign;"bottom"===f&&(h[1]-=p),"middle"===f&&(h[1]-=p/2),function(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(h,c,p,i);var g=a.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:h[0],y:h[1],style:Ih(a,{text:o,font:l,fill:a.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function dR(t,e,n,i,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:r.precision}),a=r.formatter;if(a){var s={value:Px(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};k(i,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&s.seriesData.push(r)})),B(a)?o=a.replace("{value}",o):V(a)&&(o=a(s))}return o}function fR(t,e,n){var i=[1,0,0,1,0,0];return ae(i,i,n.rotation),oe(i,i,n.position),sh([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function gR(t,e,n,i,r,o){var a=dM.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),pR(e,i,r,o,{position:fR(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function yR(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function vR(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function mR(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}var xR=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=_R(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var h=cR(i),c=bR[s](o,u,l);c.style=h,t.graphicKey=c.type,t.pointer=c}gR(e,t,iM(a.model,n),n,i,r)},n.prototype.getHandleTransform=function(t,e,n){var i=iM(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=fR(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},n.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=_R(o,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var h=(s[1]+s[0])/2,c=[h,h];c[l]=u[l];return{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:c,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},n}(oR);function _R(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var bR={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:yR([e,n[0]],[e,n[1]],wR(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:vR([e-i/2,n[0]],[i,r],wR(t))}}};function wR(t){return"x"===t.dim?0:1}var SR=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="axisPointer",n.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}},n}(np),MR=ao(),IR=k;function TR(t,e,n){if(!i.node){var r=e.getZr();MR(r).records||(MR(r).records={}),function(t,e){if(MR(t).initialized)return;function n(n,i){t.on(n,(function(n){var r=function(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}(e);IR(MR(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),function(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]);n&&(n.dispatchAction=null,e.dispatchAction(n))}(r.pendings,e)}))}MR(t).initialized=!0,n("click",E(DR,"click")),n("mousemove",E(DR,"mousemove")),n("globalout",CR)}(r,e),(MR(r).records[t]||(MR(r).records[t]={})).handler=n}}function CR(t,e,n){t.handler("leave",null,n)}function DR(t,e,n,i){e.handler(t,n,i)}function AR(t,e){if(!i.node){var n=e.getZr();(MR(n).records||{})[t]&&(MR(n).records[t]=null)}}var kR=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";TR("axisPointer",n,(function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},n.prototype.remove=function(t,e){AR("axisPointer",e)},n.prototype.dispose=function(t,e){AR("axisPointer",e)},n.type="axisPointer",n}(jf);function LR(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var o=n.getData(),a=oo(o,t);if(null==a||a<0||z(a))return{point:[]};var s=o.getItemGraphicEl(a),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(t.isStacked){var u=l.getBaseAxis(),h=l.getOtherAxis(u).dim,c=u.dim,p="x"===h||"radius"===h?1:0,d=o.mapDimension(c),f=[];f[p]=o.get(d,a),f[1-p]=o.get(o.getCalculationInfo("stackResultDimension"),a),i=l.dataToPoint(f)||[]}else i=l.dataToPoint(o.getValues(L(l.dimensions,(function(t){return o.mapDimension(t)})),a))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),i=[g.x+g.width/2,g.y+g.height/2]}return{point:i,el:s}}var PR=ao();function OR(t,e,n){var i=t.currTrigger,r=[t.x,t.y],o=t,a=t.dispatchAction||N(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){VR(r)&&(r=LR({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var l=VR(r),u=o.axesInfo,h=s.axesInfo,c="leave"===i||VR(r),p={},d={},f={list:[],map:{}},g={showPointer:E(NR,d),showTooltip:E(ER,f)};k(s.coordSysMap,(function(t,e){var n=l||t.containPoint(r);k(s.coordSysAxesInfo[e],(function(t,e){var i=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(u,t);if(!c&&n&&(!u||o)){var a=o&&o.value;null!=a||l||(a=i.pointToData(r)),null!=a&&RR(t,a,g,!1,p)}}))}));var y={};return k(h,(function(t,e){var n=t.linkGroup;n&&!d[e]&&k(n.axesInfo,(function(e,i){var r=d[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,zR(e),zR(t)))),y[t.key]=o}}))})),k(y,(function(t,e){RR(h[e],t,g,!0,p)})),function(t,e,n){var i=n.axesInfo=[];k(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}(d,h,p),function(t,e,n,i){if(VR(e)||!t.list.length)return void i({type:"hideTip"});var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}(f,r,t,a),function(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",o=PR(i)[r]||{},a=PR(i)[r]={};k(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&k(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t}))}));var s=[],l=[];k(o,(function(t,e){!a[e]&&l.push(t)})),k(a,(function(t,e){!o[e]&&s.push(t)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(h,0,n),p}}function RR(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=function(t,e){var n=e.axis,i=n.dim,r=t,o=[],a=Number.MAX_VALUE,s=-1;return k(e.seriesModels,(function(e,l){var u,h,c=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var p=e.getAxisTooltipData(c,t,n);h=p.dataIndices,u=p.nestestValue}else{if(!(h=e.getData().indicesOfNearest(c[0],t,"category"===n.type?.5:null)).length)return;u=e.getData().get(c[0],h[0])}if(null!=u&&isFinite(u)){var d=t-u,f=Math.abs(d);f<=a&&((f=0&&s<0)&&(a=f,s=d,r=u,o.length=0),k(h,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:r}}(e,t),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==r.seriesIndex&&I(r,s[0]),!i&&t.snap&&o.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,s),n.showTooltip(t,a,l)}else n.showPointer(t,e)}function NR(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function ER(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=SM(l),h=t.map[u];h||(h=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function zR(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function VR(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function BR(t){IM.registerAxisPointerClass("CartesianAxisPointer",xR),t.registerComponentModel(SR),t.registerComponentView(kR),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!z(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=xM(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},OR)}var FR=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o).getExtent(),l=o.dataToCoord(e),u=i.get("type");if(u&&"none"!==u){var h=cR(i),c=GR[u](o,a,l,s);c.style=h,t.graphicKey=c.type,t.pointer=c}var p=function(t,e,n,i,r){var o=e.axis,a=o.dataToCoord(t),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,h,c=i.getRadiusAxis().getExtent();if("radius"===o.dim){var p=[1,0,0,1,0,0];ae(p,p,s),oe(p,p,[i.cx,i.cy]),l=sh([a,-r],p);var d=e.getModel("axisLabel").get("rotate")||0,f=dM.innerTextLayout(s,d*Math.PI/180,-1);u=f.textAlign,h=f.textVerticalAlign}else{var g=c[1];l=i.coordToPoint([g+r,a]);var y=i.cx,v=i.cy;u=Math.abs(l[0]-y)/g<.3?"center":l[0]>y?"left":"right",h=Math.abs(l[1]-v)/g<.3?"middle":l[1]>v?"top":"bottom"}return{position:l,align:u,verticalAlign:h}}(e,n,0,a,i.get(["label","margin"]));pR(t,n,i,r,p)},n}(oR);var GR={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:yR(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var r=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:mR(e.cx,e.cy,i[0],i[1],(-n-r/2)*o,(r/2-n)*o)}:{type:"Sector",shape:mR(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}},WR=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.findAxisModel=function(t){var e;return this.ecModel.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},n.type="polar",n.dependencies=["radiusAxis","angleAxis"],n.defaultOption={z:0,center:["50%","50%"],radius:"80%"},n}(np),HR=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",ho).models[0]},n.type="polarAxis",n}(np);D(HR,Ex);var YR=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="angleAxis",n}(HR),XR=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="radiusAxis",n}(HR),UR=function(t){function n(e,n){return t.call(this,"radius",e,n)||this}return e(n,t),n.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},n}(s_);UR.prototype.dataToRadius=s_.prototype.dataToCoord,UR.prototype.radiusToData=s_.prototype.coordToData;var ZR=ao(),jR=function(t){function n(e,n){return t.call(this,"angle",e,n||[0,360])||this}return e(n,t),n.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},n.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),n=t.scale,i=n.getExtent(),r=n.count();if(i[1]-i[0]<1)return 0;var o=i[0],a=t.dataToCoord(o+1)-t.dataToCoord(o),s=Math.abs(a),l=tr(null==o?"":o+"",e.getFont(),"center","top"),u=Math.max(l.height,7)/s;isNaN(u)&&(u=Infinity);var h=Math.max(0,Math.floor(u)),c=ZR(t.model),p=c.lastAutoInterval,d=c.lastTickCount;return null!=p&&null!=d&&Math.abs(p-h)<=1&&Math.abs(d-r)<=1&&p>h?h=p:(c.lastTickCount=r,c.lastAutoInterval=h),h},n}(s_);jR.prototype.dataToAngle=s_.prototype.dataToCoord,jR.prototype.angleToData=s_.prototype.coordToData;var qR=["radius","angle"],KR=function(){function t(t){this.dimensions=qR,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new UR,this._angleAxis=new jR,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){return this["_"+t+"Axis"]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);i.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var l=Math.atan2(-n,e)/Math.PI*180,u=la;)l+=360*u;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,r=n*n+i*i-1e-4,o=this.r,a=this.r0;return r<=o*o&&r>=a*a}}},t.prototype.convertToPixel=function(t,e,n){return $R(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return $R(e)===this?this.pointToData(n):null},t}();function $R(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}function JR(t,e){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i.scale.setExtent(Infinity,-Infinity),r.scale.setExtent(Infinity,-Infinity),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();k(Nx(e,"radius"),(function(t){r.scale.unionExtentFromData(e,t)})),k(Nx(e,"angle"),(function(t){i.scale.unionExtentFromData(e,t)}))}})),Ax(i.scale,i.model),Ax(r.scale,r.model),"category"===i.type&&!i.onBand){var o=i.getExtent(),a=360/i.scale.count();i.inverse?o[1]+=a:o[1]-=a,i.setExtent(o[0],o[1])}}function QR(t,e){var n;if(t.type=e.get("type"),t.scale=kx(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),function(t){return"angleAxis"===t.mainType}(e)){t.inverse=t.inverse!==e.get("clockwise");var i=e.get("startAngle"),r=null!==(n=e.get("endAngle"))&&void 0!==n?n:i+(t.inverse?-360:360);t.setExtent(i,r)}e.axis=t,t.model=e}var tN={dimensions:qR,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,i){var r=new KR(i+"");r.update=JR;var o=r.getRadiusAxis(),a=r.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");QR(o,s),QR(a,l),function(t,e,n){var i=e.get("center"),r=n.getWidth(),o=n.getHeight();t.cx=Mr(i[0],r),t.cy=Mr(i[1],o);var a=t.getRadiusAxis(),s=Math.min(r,o)/2,l=e.get("radius");null==l?l=[0,"100%"]:z(l)||(l=[0,l]);var u=[Mr(l[0],s),Mr(l[1],s)];a.inverse?a.setExtent(u[1],u[0]):a.setExtent(u[0],u[1])}(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",ho).models[0];t.coordinateSystem=e.coordinateSystem}})),n}},eN=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function nN(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function iN(t){return t.getRadiusAxis().inverse?0:1}function rN(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var oN=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.axisPointerClass="PolarAxisPointer",e}return e(n,t),n.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),s=L(n.getViewLabels(),(function(t){t=w(t);var e=n.scale,i="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(i),t}));rN(s),rN(o),k(eN,(function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||aN[e](this.group,t,i,o,a,r,s)}),this)}},n.type="angleAxis",n}(IM),aN={axisLine:function(t,e,n,i,r,o){var a,s=e.getModel(["axisLine","lineStyle"]),l=n.getAngleAxis(),u=Math.PI/180,h=l.getExtent(),c=iN(n),p=c?0:1,d=360===Math.abs(h[1]-h[0])?"Circle":"Arc";(a=0===o[p]?new xh[d]({shape:{cx:n.cx,cy:n.cy,r:o[c],startAngle:-h[0]*u,endAngle:-h[1]*u,clockwise:l.inverse},style:s.getLineStyle(),z2:1,silent:!0}):new cu({shape:{cx:n.cx,cy:n.cy,r:o[c],r0:o[p]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(a)},axisTick:function(t,e,n,i,r,o){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[iN(n)],u=L(i,(function(t){return new xu({shape:nN(n,[l,l+s],t.coord)})}));t.add(nh(u,{style:T(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=o[iN(n)],h=[],c=0;cf?"left":"right",v=Math.abs(d[1]-g)/p<.3?"middle":d[1]>g?"top":"bottom";if(s&&s[c]){var m=s[c];W(m)&&m.textStyle&&(a=new Zh(m.textStyle,l,l.ecModel))}var x=new fs({silent:dM.isLabelSilent(e),style:Ih(a,{x:d[0],y:d[1],fill:a.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:i.formattedLabel,align:y,verticalAlign:v})});if(t.add(x),h){var _=dM.makeAxisEventDataBase(e);_.targetType="axisLabel",_.value=i.rawLabel,Cs(x).eventData=_}}),this)},splitLine:function(t,e,n,i,r,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],h=0;h=0?"p":"n",C=b;m&&(i[s][I]||(i[s][I]={p:b,n:b}),C=i[s][I][T]);var D=void 0,A=void 0,k=void 0,L=void 0;if("radius"===c.dim){var P=c.dataToCoord(M)-b,O=o.dataToCoord(I);Math.abs(P)=L})}}}))}var fN={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},gN={splitNumber:5},yN=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="polar",n}(jf);function vN(t,e){e=e||{};var n=t.coordinateSystem,i=t.axis,r={},o=i.position,a=i.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};r.position=["vertical"===a?u.vertical[o]:l[0],"horizontal"===a?u.horizontal[o]:l[3]];r.rotation=Math.PI/2*{horizontal:0,vertical:1}[a];r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],t.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),j(e.labelInside,t.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var h=e.rotate;return null==h&&(h=t.get(["axisLabel","rotate"])),r.labelRotation="top"===o?-h:h,r.z2=1,r}var mN=["axisLine","axisTickLabel","axisName"],xN=["splitArea","splitLine"],_N=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.axisPointerClass="SingleAxisPointer",e}return e(n,t),n.prototype.render=function(e,n,i,r){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new yr;var s=vN(e),l=new dM(e,s);k(mN,l.add,l),o.add(this._axisGroup),o.add(l.getGroup()),k(xN,(function(t){e.get([t,"show"])&&bN[t](this,this.group,this._axisGroup,e)}),this),hh(a,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)},n.prototype.remove=function(){DM(this)},n.type="singleAxis",n}(IM),bN={splitLine:function(t,e,n,i){var r=i.axis;if(!r.scale.isBlank()){var o=i.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=s instanceof Array?s:[s];for(var l=a.get("width"),u=i.coordinateSystem.getRect(),h=r.isHorizontal(),c=[],p=0,d=r.getTicksCoords({tickModel:o}),f=[],g=[],y=0;y=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i},t.prototype.convertToPixel=function(t,e,n){return TN(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return TN(e)===this?this.pointToData(n):null},t}();function TN(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var CN={create:function(t,e){var n=[];return t.eachComponent("singleAxis",(function(i,r){var o=new IN(i,t,e);o.name="single_"+r,o.resize(i,e),i.coordinateSystem=o,n.push(o)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",ho).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n},dimensions:MN},DN=["x","y"],AN=["width","height"],kN=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.coordinateSystem,s=ON(a,1-PN(o)),l=a.dataToPoint(e)[0],u=i.get("type");if(u&&"none"!==u){var h=cR(i),c=LN[u](o,l,s);c.style=h,t.graphicKey=c.type,t.pointer=c}gR(e,t,vN(n),n,i,r)},n.prototype.getHandleTransform=function(t,e,n){var i=vN(e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=fR(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},n.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.coordinateSystem,a=PN(r),s=ON(o,a),l=[t.x,t.y];l[a]+=e[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=ON(o,1-a),h=(u[1]+u[0])/2,c=[h,h];return c[a]=l[a],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:c,tooltipOption:{verticalAlign:"middle"}}},n}(oR),LN={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:yR([e,n[0]],[e,n[1]],PN(t))}},shadow:function(t,e,n){var i=t.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:vR([e-i/2,n[0]],[i,r],PN(t))}}};function PN(t){return t.isHorizontal()?0:1}function ON(t,e){var n=t.getRect();return[n[DN[e]],n[DN[e]]+n[AN[e]]]}var RN=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="single",n}(jf);var NN=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(e,n,i){var r=Qc(e);t.prototype.init.apply(this,arguments),EN(e,r)},n.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),EN(this.option,e)},n.prototype.getCellSize=function(){return this.option.cellSize},n.type="calendar",n.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}},n}(np);function EN(t,e){var n,i=t.cellSize;1===(n=z(i)?i:t.cellSize=[i,i]).length&&(n[1]=n[0]);var r=L([0,1],(function(t){return function(t,e){return null!=t[Uc[e][0]]||null!=t[Uc[e][1]]&&null!=t[Uc[e][2]]}(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));Jc(t,e,{type:"box",ignoreSize:r})}var zN=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,o,i),this._renderLines(t,o,a,i),this._renderYearText(t,o,a,i),this._renderMonthText(t,s,a,i),this._renderWeekText(t,s,o,a,i)},n.prototype._renderDayRect=function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),o=i.getCellWidth(),a=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,u=new cs({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:r});n.add(u)}},n.prototype._renderLines=function(t,e,n,i){var r=this,o=t.coordinateSystem,a=t.getModel(["splitLine","lineStyle"]).getLineStyle(),s=t.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,h=0;u.time<=e.end.time;h++){p(u.formatedDate),0===h&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var c=u.date;c.setMonth(c.getMonth()+1),u=o.getDateInfo(c)}function p(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}p(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},n.prototype._getEdgesPoints=function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},n.prototype._drawSplitline=function(t,e,n){var i=new yu({z2:20,shape:{points:t},style:e});n.add(i)},n.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var i=t.coordinateSystem,r=i.getDateInfo(e),o=[],a=0;a<7;a++){var s=i.getNextNDay(r.time,a),l=i.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},n.prototype._formatterLabel=function(t,e){return B(t)&&t?(n=t,k(e,(function(t,e){n=n.replace("{"+e+"}",t)})),n):V(t)?t(e):e.nameMap;var n},n.prototype._yearTextPositionControl=function(t,e,n,i,r){var o=e[0],a=e[1],s=["center","bottom"];"bottom"===i?(a+=r,s=["center","top"]):"left"===i?o-=r:"right"===i?(o+=r,s=["center","top"]):a-=r;var l=0;return"left"!==i&&"right"!==i||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},n.prototype._renderYearText=function(t,e,n,i){var r=t.getModel("yearLabel");if(r.get("show")){var o=r.get("margin"),a=r.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,h="horizontal"===n?0:1,c={top:[l,s[h][1]],bottom:[l,s[1-h][1]],left:[s[1-h][0],u],right:[s[h][0],u]},p=e.start.y;+e.end.y>+e.start.y&&(p=p+"-"+e.end.y);var d=r.get("formatter"),f={start:e.start.y,end:e.end.y,nameMap:p},g=this._formatterLabel(d,f),y=new fs({z2:30,style:Ih(r,{text:g})});y.attr(this._yearTextPositionControl(y,c[a],n,a,o)),i.add(y)}},n.prototype._monthTextPositionControl=function(t,e,n,i,r){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(o="center"),"start"===i&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===i&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},n.prototype._renderMonthText=function(t,e,n,i){var r=t.getModel("monthLabel");if(r.get("show")){var o=r.get("nameMap"),a=r.get("margin"),s=r.get("position"),l=r.get("align"),u=[this._tlpoints,this._blpoints];o&&!B(o)||(o&&(e=rc(o)||e),o=e.get(["time","monthAbbr"])||[]);var h="start"===s?0:1,c="horizontal"===n?0:1;a="start"===s?-a:a;for(var p="center"===l,d=0;d=i.start.time&&n.timea.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var i=Math.floor(n[1].time/VN)-Math.floor(n[0].time/VN)+1,r=new Date(n[0].time),o=r.getDate(),a=n[1].date.getDate();r.setDate(o+i-1);var s=r.getDate();if(s!==a)for(var l=r.getTime()-n[1].time>0?1:-1;(s=r.getDate())!==a&&(r.getTime()-n[1].time)*l>0;)i-=l,r.setDate(s-l);var u=Math.floor((i+n[0].day+6)/7),h=e?1-u:u-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:u,nthWeek:h,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&ei.lweek)return null;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(+i.start.d+r),this.getDateInfo(o)},t.create=function(e,n){var i=[];return e.eachComponent("calendar",(function(e){var n=new t(e);i.push(n),e.coordinateSystem=n})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])})),i},t.dimensions=["time","value"],t}();function FN(t){var e=t.calendarModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem:null}function GN(t,e){var n;return k(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}var WN=["transition","enterFrom","leaveTo"],HN=WN.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function YN(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var i=n?WN:HN,r=0;r=0;l--){var p,d,f;if(f=null!=(d=no((p=n[l]).id,null))?r.get(d):null){var g=f.parent,y=(c=ZN(g),{}),v=Kc(f,p,g===i?{width:o,height:a}:{width:c.width,height:c.height},null,{hv:p.hv,boundingMode:p.bounding},y);if(!ZN(f).isNew&&v){for(var m=p.transition,x={},_=0;_=0)?x[b]=w:f[b]=w}Fu(f,x,t,0)}else f.attr(y)}}},n.prototype._clear=function(){var t=this,e=this._elMap;e.each((function(n){$N(n,ZN(n).option,e,t._lastGraphicModel)})),this._elMap=st()},n.prototype.dispose=function(){this._clear()},n.type="graphic",n}(jf);function qN(t){var e=new(ct(UN,t)?UN[t]:Ju(t))({});return ZN(e).type=t,e}function KN(t,e,n,i){var r=qN(n);return e.add(r),i.set(t,r),ZN(r).id=t,ZN(r).isNew=!0,r}function $N(t,e,n,i){t&&t.parent&&("group"===t.type&&t.traverse((function(t){$N(t,e,n,i)})),fO(t,e,i),n.removeKey(ZN(t).id))}function JN(t,e,n,i){t.isGroup||k([["cursor",$o.prototype.cursor],["zlevel",i||0],["z",n||0],["z2",0]],(function(n){var i=n[0];ct(e,i)?t[i]=q(e[i],n[1]):null==t[i]&&(t[i]=n[1])})),k(R(e),(function(n){if(0===n.indexOf("on")){var i=e[n];t[n]=V(i)?i:null}})),ct(e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}var QN=["x","y","radius","angle","single"],tE=["cartesian2d","polar","singleAxis"];function eE(t){return t+"Axis"}function nE(t,e){var n,i=st(),r=[],o=st();t.eachComponent({mainType:"dataZoom",query:e},(function(t){o.get(t.uid)||s(t)}));do{n=!1,t.eachComponent("dataZoom",a)}while(n);function a(t){!o.get(t.uid)&&function(t){var e=!1;return t.eachTargetAxis((function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)})),e}(t)&&(s(t),n=!0)}function s(t){o.set(t.uid,!0),r.push(t),t.eachTargetAxis((function(t,e){(i.get(t)||i.set(t,[]))[e]=!0}))}return r}function iE(t){var e=t.ecModel,n={infoList:[],infoMap:st()};return t.eachTargetAxis((function(t,i){var r=e.getComponent(eE(t),i);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(r)}}})),n}var rE=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),oE=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e._autoThrottle=!0,e._noTarget=!0,e._rangePropMode=["percent","percent"],e}return e(n,t),n.prototype.init=function(t,e,n){var i=aE(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},n.prototype.mergeOption=function(t){var e=aE(t);S(this.option,t,!0),S(this.settledOption,e,!0),this._doInit(e)},n.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;k([["start","startValue"],["end","endValue"]],(function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},n.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=st();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},n.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return k(QN,(function(n){var i=this.getReferringComponents(eE(n),co);if(i.specified){e=!0;var r=new rE;k(i.models,(function(t){r.add(t.componentIndex)})),t.set(n,r)}}),this),e},n.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r="vertical"===e?"y":"x";o(n.findComponents({mainType:r+"Axis"}),r)}i&&o(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single");function o(e,n){var r=e[0];if(r){var o=new rE;if(o.add(r.componentIndex),t.set(n,o),i=!1,"x"===n||"y"===n){var a=r.getReferringComponents("grid",ho).models[0];a&&k(e,(function(t){r.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",ho).models[0]&&o.add(t.componentIndex)}))}}}i&&k(QN,(function(e){if(i){var r=n.findComponents({mainType:eE(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new rE;o.add(r[0].componentIndex),t.set(e,o),i=!1}}}),this)},n.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},n.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},n.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");k([["start","startValue"],["end","endValue"]],(function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")}))},n.prototype.noTarget=function(){return this._noTarget},n.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,n){null==t&&(t=this.ecModel.getComponent(eE(e),n))}),this),t},n.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,i){k(n.indexList,(function(n){t.call(e,i,n)}))}))},n.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},n.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(eE(t),e)},n.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;k([["start","startValue"],["end","endValue"]],(function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])}),this),this._updateRangeUse(t)},n.prototype.setCalculatedRange=function(t){var e=this.option;k(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},n.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},n.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},n.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;i=0}(e)){var n=eE(this._dimName),i=e.getReferringComponents(n,ho).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return w(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,i=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];hE(["start","end"],(function(l,u){var h=t[l],c=t[l+"Value"];"percent"===r[u]?(null==h&&(h=o[u]),c=i.parse(Sr(h,o,n))):(e=!0,h=Sr(c=null==c?n[u]:i.parse(c),n,o)),s[u]=null==c||isNaN(c)?n[u]:c,a[u]=null==h||isNaN(h)?o[u]:h})),cE(s),cE(a);var l=this._minMaxSpan;function u(t,e,n,r,o){var a=o?"Span":"ValueSpan";EA(0,t,n,"all",l["min"+a],l["max"+a]);for(var s=0;s<2;s++)e[s]=Sr(t[s],n,r,!0),o&&(e[s]=i.parse(e[s]))}return e?u(s,a,n,o,!1):u(a,s,o,n,!0),{valueWindow:s,percentWindow:a}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var i=[Infinity,-Infinity];hE(n,(function(t){!function(t,e,n){e&&k(Nx(e,n),(function(n){var i=e.getApproximateExtent(n);i[0]t[1]&&(t[1]=i[1])}))}(i,t.getData(),e)}));var r=t.getAxisModel(),o=Tx(r.axis.scale,r,i).calculate();return[o.min,o.max]}(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._valueWindow;"none"!==r&&hE(i,(function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var a=e.getStore(),s=L(i,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,n,r,l=0;lo[1];if(h&&!c&&!p)return!0;h&&(r=!0),c&&(e=!0),p&&(n=!0)}return r&&e&&n}))}else hE(i,(function(n){if("empty"===r)t.setData(e=e.map(n,(function(t){return function(t){return t>=o[0]&&t<=o[1]}(t)?t:NaN})));else{var i={};i[n]=o,e.selectRange(i)}}));hE(i,(function(t){e.setApproximateExtent(o,t)}))}}))}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;hE(["min","max"],(function(i){var r=e.get(i+"Span"),o=e.get(i+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=Sr(n[0]+o,n,[0,100],!0):null!=r&&(o=Sr(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=Dr(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}();var dE={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(i,r){var o=t.getComponent(eE(i),r);e(i,r,o,n)}))}))}e((function(t,e,n,i){n.__dzAxisProxy=null}));var n=[];e((function(e,i,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new pE(e,i,o,t),n.push(r.__dzAxisProxy))}));var i=st();return k(n,(function(t){k(t.getTargetSeriesModels(),(function(t){i.set(t.uid,t)}))})),i},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,i){t.getAxisProxy(n,i).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}}))}};var fE=!1;function gE(t){fE||(fE=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,dE),function(t){t.registerAction("dataZoom",(function(t,e){k(nE(e,t),(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function yE(t){t.registerComponentModel(sE),t.registerComponentView(uE),gE(t)}var vE=function(){return function(){}}(),mE={};function xE(t,e){mE[t]=e}function _E(t){return mE[t]}var bE=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;k(this.option.feature,(function(t,n){var i=_E(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),S(t,i.defaultOption))}))},n.type="toolbox",n.layoutMode={type:"box",ignoreSize:!0},n.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"}},n}(np);function wE(t,e){var n=zc(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new cs({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})}var SE=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features={}),u=[];k(s,(function(t,e){u.push(e)})),new Kv(this._featureNames||[],u).add(h).update(h).remove(E(h,null)).execute(),this._featureNames=u,function(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=qc(i,o,r);jc(e.get("orient"),t,e.get("itemGap"),a.width,a.height),Kc(t,i,o,r)}(r,t,n),r.add(wE(r.getBoundingRect(),t)),a||r.eachChild((function(t){var e=t.__title,i=t.ensureState("emphasis"),a=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!V(l)&&e){var u=l.style||(l.style={}),h=tr(e,fs.makeFont(u)),c=t.x+r.x,p=!1;t.y+r.y+o+h.height>n.getHeight()&&(a.position="top",p=!0);var d=p?-5-h.height:o+10;c+h.width/2>n.getWidth()?(a.position=["100%",d],u.align="right"):c-h.width/2<0&&(a.position=[0,d],u.align="left")}}))}function h(h,c){var p,d=u[h],f=u[c],g=s[d],y=new Zh(g,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===d&&(g.title=i.newTitle),d&&!f){if(function(t){return 0===t.indexOf("my")}(d))p={onclick:y.option.onclick,featureName:d};else{var v=_E(d);if(!v)return;p=new v}l[d]=p}else if(!(p=l[f]))return;p.uid=qh("toolbox-feature"),p.model=y,p.ecModel=e,p.api=n;var m=p instanceof vE;d||!f?!y.get("show")||m&&p.unusable?m&&p.remove&&p.remove(e,n):(!function(i,s,l){var u,h,c=i.getModel("iconStyle"),p=i.getModel(["emphasis","iconStyle"]),d=s instanceof vE&&s.getIcons?s.getIcons():i.get("icon"),f=i.get("title")||{};B(d)?(u={})[l]=d:u=d;B(f)?(h={})[l]=f:h=f;var g=i.iconPaths={};k(u,(function(l,u){var d=ph(l,{},{x:-o/2,y:-o/2,width:o,height:o});d.setStyle(c.getItemStyle()),d.ensureState("emphasis").style=p.getItemStyle();var f=new fs({style:{text:h[u],align:p.get("textAlign"),borderRadius:p.get("textBorderRadius"),padding:p.get("textPadding"),fill:null,font:Lh({fontStyle:p.get("textFontStyle"),fontFamily:p.get("textFontFamily"),fontSize:p.get("textFontSize"),fontWeight:p.get("textFontWeight")},e)},ignore:!0});d.setTextContent(f),yh({el:d,componentModel:t,itemName:u,formatterParamsExtra:{title:h[u]}}),d.__title=h[u],d.on("mouseover",(function(){var e=p.getItemStyle(),i=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";f.setStyle({fill:p.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:p.get("textBackgroundColor")}),d.setTextConfig({position:p.get("textPosition")||i}),f.ignore=!t.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==i.get(["iconStatus",u])&&n.leaveEmphasis(this),f.hide()})),("emphasis"===i.get(["iconStatus",u])?nl:il)(d),r.add(d),d.on("click",N(s.onclick,s,e,n,u)),g[u]=d}))}(y,p,d),y.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?nl:il)(i[t])},p instanceof vE&&p.render&&p.render(y,e,n,i)):m&&p.dispose&&p.dispose(e,n)}},n.prototype.updateView=function(t,e,n,i){k(this._features,(function(t){t instanceof vE&&t.updateView&&t.updateView(t.model,e,n,i)}))},n.prototype.remove=function(t,e){k(this._features,(function(n){n instanceof vE&&n.remove&&n.remove(t,e)})),this.group.removeAll()},n.prototype.dispose=function(t,e){k(this._features,(function(n){n instanceof vE&&n.dispose&&n.dispose(t,e)}))},n.type="toolbox",n}(jf);var ME=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.onclick=function(t,e){var n=this.model,r=n.get("name")||t.get("title.0.text")||"echarts",o="svg"===e.getZr().painter.getType(),a=o?"svg":n.get("type",!0)||"png",s=e.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),l=i.browser;if("function"!=typeof MouseEvent||!l.newEdge&&(l.ie||l.edge))if(window.navigator.msSaveOrOpenBlob||o){var u=s.split(","),h=u[0].indexOf("base64")>-1,c=o?decodeURIComponent(u[1]):u[1];h&&(c=window.atob(c));var p=r+"."+a;if(window.navigator.msSaveOrOpenBlob){for(var d=c.length,f=new Uint8Array(d);d--;)f[d]=c.charCodeAt(d);var g=new Blob([f]);window.navigator.msSaveOrOpenBlob(g,p)}else{var y=document.createElement("iframe");document.body.appendChild(y);var v=y.contentWindow,m=v.document;m.open("image/svg+xml","replace"),m.write(c),m.close(),v.focus(),m.execCommand("SaveAs",!0,p),document.body.removeChild(y)}}else{var x=n.get("lang"),_='',b=window.open();b.document.write(_),b.document.title=r}else{var w=document.createElement("a");w.download=r+"."+a,w.target="_blank",w.href=s;var S=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});w.dispatchEvent(S)}},n.getDefaultOption=function(t){return{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:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},n}(vE),IE="__ec_magicType_stack__",TE=[["line","bar"],["stack"]],CE=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return k(t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n},n.getDefaultOption=function(t){return{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:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},n.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(DE[n]){var o,a={series:[]};k(TE,(function(t){C(t,n)>=0&&k(t,(function(t){i.setIconStatus(t,"normal")}))})),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},(function(t){var e=t.subType,r=t.id,o=DE[n](e,r,t,i);o&&(T(o,t.option),a.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim+"Axis",h=t.getReferringComponents(u,ho).models[0].componentIndex;a[u]=a[u]||[];for(var c=0;c<=h;c++)a[u][h]=a[u][h]||{};a[u][h].boundaryGap="bar"===n}}}));var s=n;"stack"===n&&(o=S({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(s="tiled")),e.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:o,featureName:"magicType"})}},n}(vE),DE={line:function(t,e,n,i){if("bar"===t)return S({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return S({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r=n.get("stack")===IE;if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),S({id:e,stack:r?"":IE},i.get(["option","stack"])||{},!0)}};Bv({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var AE=new Array(60).join("-"),kE="\t";function LE(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var PE=new RegExp("[\t]+","g");function OE(t,e){var n=t.split(new RegExp("\n*"+AE+"\n*","g")),i={series:[]};return k(n,(function(t,n){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf(kE)>=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),n=[],i=L(LE(e.shift()).split(PE),(function(t){return{name:t,data:[]}})),r=0;r=0)&&t(r,i._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=ZE[t.brushType](0,n,e);t.__rangeOffset={offset:qE[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){k(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&k(i.coordSyses,(function(i){var r=ZE[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)}))}),this)},t.prototype.setInputRanges=function(t,e){k(t,(function(t){var n,i,r,o,a,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=ZE[t.brushType](0,s.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?qE[t.brushType](l.values,u.offset,(n=l.xyMinMax,i=u.xyMinMax,r=$E(n),o=$E(i),a=[r[0]/o[0],r[1]/o[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):l.values}}),this)},t.prototype.makePanelOpts=function(t,e){return L(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:Vk(i),isTargetByCursor:Fk(i,t,n.coordSysModel),getLinearBrushOtherExtent:Bk(i)}}))},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&C(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=HE(e,t),r=0;rt[1]&&t.reverse(),t}function HE(t,e){return lo(t,e,{includeMainTypes:FE})}var YE={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,o=st(),a={},s={};(n||i||r)&&(k(n,(function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0})),k(i,(function(t){var e=t.axis.grid.model;o.set(e.id,e),s[e.id]=!0})),k(r,(function(t){o.set(t.id,t),a[t.id]=!0,s[t.id]=!0})),o.each((function(t){var r=t.coordinateSystem,o=[];k(r.getCartesians(),(function(t,e){(C(n,t.getAxis("x").model)>=0||C(i,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:UE.grid,xAxisDeclared:a[t.id],yAxisDeclared:s[t.id]})})))},geo:function(t,e){k(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:UE.geo})}))}},XE=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],UE={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(ah(t)),e}},ZE={lineX:E(jE,0),lineY:E(jE,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),o=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),a=[WE([r[0],o[0]]),WE([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,i){var r=[[Infinity,-Infinity],[Infinity,-Infinity]];return{values:L(n,(function(n){var o=t?e.pointToData(n,i):e.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o})),xyMinMax:r}}};function jE(t,e,n,i){var r=n.getAxis(["x","y"][t]),o=WE(L([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))}))),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var qE={lineX:E(KE,0),lineY:E(KE,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return L(t,(function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]}))}};function KE(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function $E(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var JE,QE,tz=k,ez=Zr+"toolbox-dataZoom_",nz=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new sk(n.getZr()),this._brushController.on("brush",N(this._onBrush,this)).mount()),function(t,e,n,i,r){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive);n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new GE(rz(t),e,{include:["grid"]}),s=a.makePanelOpts(r,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,i,n),function(t,e){t.setIconStatus("back",function(t){return VE(t).length}(e)>1?"emphasis":"normal")}(t,e)},n.prototype.onclick=function(t,e,n){iz[n].call(this)},n.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},n.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},n.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new GE(rz(this.model),i,{include:["grid"]}).matchOutputRanges(e,i,(function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(r("x",n,e[0]),r("y",n,e[1])):r({lineX:"x",lineY:"y"}[i],n,e)}})),function(t,e){var n=VE(t);EE(e,(function(e,i){for(var r=n.length-1;r>=0&&!n[r][i];r--);if(r<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var a=o.getPercentRange();n[0][i]={dataZoomId:i,start:a[0],end:a[1]}}}})),n.push(e)}(i,n),this._dispatchZoomAction(n)}function r(t,e,r){var o=e.getAxis(t),a=o.model,s=function(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)})),i}(t,a,i),l=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(r=EA(0,r.slice(),o.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:r[0],endValue:r[1]})}},n.prototype._dispatchZoomAction=function(t){var e=[];tz(t,(function(t,n){e.push(w(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},n.getDefaultOption=function(t){return{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:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},n}(vE),iz={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(function(t){var e=VE(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return EE(n,(function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n]){i[n]=t;break}})),i}(this.ecModel))}};function rz(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}JE="dataZoom",QE=function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],o=lo(t,rz(i));return tz(o.xAxisModels,(function(t){return a(t,"xAxis","xAxisIndex")})),tz(o.yAxisModels,(function(t){return a(t,"yAxis","yAxisIndex")})),r}function a(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:ez+e+o};a[n]=o,r.push(a)}},Q(null==Mp.get(JE)&&QE),Mp.set(JE,QE);var oz=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="tooltip",n.dependencies=["axisPointer"],n.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}},n}(np);function az(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function sz(t){if(i.domSupported)for(var e=document.documentElement.style,n=0,r=t.length;n-1?(u+="top:50%",h+="translateY(-50%) rotate("+(a="left"===s?-225:-45)+"deg)"):(u+="left:50%",h+="translateX(-50%) rotate("+(a="top"===s?225:45)+"deg)");var c=a*Math.PI/180,p=l+r,d=p*Math.abs(Math.cos(c))+p*Math.abs(Math.sin(c)),f=e+" solid "+r+"px;";return'
'}(n,i,r)),B(t))o.innerHTML=t+a;else if(t){o.innerHTML="",z(t)||(t=[t]);for(var s=0;s=0?this._tryShow(n,i):"leave"===e&&this._hide(i))}),this))},n.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},n.prototype.manuallyShowTip=function(t,e,n,r){if(r.from!==this.uid&&!i.node&&n.getDom()){var o=Mz(r,n);this._ticket="";var a=r.dataByCoordSys,s=function(t,e,n){var i=uo(t).queryOptionMap,r=i.keys()[0];if(!r||"series"===r)return;var o=po(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(!a)return;var s,l=n.getViewOfComponentModel(a);if(l.group.traverse((function(e){var n=Cs(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s)return{componentMainType:r,componentIndex:a.componentIndex,el:s}}(r,e,n);if(s){var l=s.el.getBoundingRect().clone();l.applyTransform(s.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:s.el,position:r.position,positionDefault:"bottom"},o)}else if(r.tooltip&&null!=r.x&&null!=r.y){var u=bz;u.x=r.x,u.y=r.y,u.update(),Cs(u).tooltipConfig={name:null,option:r.tooltip},this._tryShow({offsetX:r.x,offsetY:r.y,target:u},o)}else if(a)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:a,tooltipOption:r.tooltipOption},o);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,r))return;var h=LR(r,e),c=h.point[0],p=h.point[1];null!=c&&null!=p&&this._tryShow({offsetX:c,offsetY:p,target:h.el,position:r.position,positionDefault:"bottom"},o)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target},o))}},n.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(Mz(i,n))},n.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s)if("axis"===Sz([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},n.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,t);else if(n){var r,o;if("legend"===Cs(n).ssrType)return;this._lastDataByCoordSys=null,Jg(n,(function(t){return null!=Cs(t).dataIndex?(r=t,!0):null!=Cs(t).tooltipConfig?(o=t,!0):void 0}),!0),r?this._showSeriesItemTooltip(t,r,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},n.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=N(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},n.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=Sz([e.tooltipOption],i),a=this._renderMode,s=[],l=Mf("section",{blocks:[],noHeader:!0}),u=[],h=new Nf;k(t,(function(t){k(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=dR(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),c=Mf("section",{header:o,noHeader:!tt(o),sortBlocks:!0,blocks:[]});l.blocks.push(c),k(t.seriesDataIndices,(function(l){var p=n.getSeriesByIndex(l.seriesIndex),d=l.dataIndexInside,f=p.getDataParams(d);if(!(f.dataIndex<0)){f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=Px(e.axis,{value:r}),f.axisValueLabel=o,f.marker=h.makeTooltipMarker("item",Wc(f.color),a);var g=Bd(p.formatTooltip(d,!0,null)),y=g.frag;if(y){var v=Sz([p],i).get("valueFormatter");c.blocks.push(v?I({valueFormatter:v},y):y)}g.text&&u.push(g.text),s.push(f)}}))}}))})),l.blocks.reverse(),u.reverse();var c=e.position,p=o.get("order"),d=kf(l,h,a,p,n.get("useUTC"),o.get("textStyle"));d&&u.unshift(d);var f="richText"===a?"\n\n":"
",g=u.join(f);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,c,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(o,g,s,Math.random()+"",r[0],r[1],c,null,h)}))},n.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=Cs(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),s=r.dataModel||a,l=r.dataIndex,u=r.dataType,h=s.getData(u),c=this._renderMode,p=t.positionDefault,d=Sz([h.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),f=d.get("trigger");if(null==f||"item"===f){var g=s.getDataParams(l,u),y=new Nf;g.marker=y.makeTooltipMarker("item",Wc(g.color),c);var v=Bd(s.formatTooltip(l,!1,u)),m=d.get("order"),x=d.get("valueFormatter"),_=v.frag,b=_?kf(x?I({valueFormatter:x},_):_,y,c,m,i.get("useUTC"),d.get("textStyle")):v.text,w="item_"+s.name+"_"+l;this._showOrMove(d,(function(){this._showTooltipContent(d,b,g,w,t.offsetX,t.offsetY,t.position,t.target,y)})),n({type:"showTip",dataIndexInside:l,dataIndex:h.getRawIndex(l),seriesIndex:o,from:this.uid})}},n.prototype._showComponentItemTooltip=function(t,e,n){var i="html"===this._renderMode,r=Cs(e),o=r.tooltipConfig.option||{},a=o.encodeHTMLContent;if(B(o)){o={content:o,formatter:o},a=!0}a&&i&&o.content&&((o=w(o)).content=Wt(o.content));var s=[o],l=this._ecModel.getComponent(r.componentMainType,r.componentIndex);l&&s.push(l),s.push({formatter:o.content});var u=t.positionDefault,h=Sz(s,this._tooltipModel,u?{position:u}:null),c=h.get("content"),p=Math.random()+"",d=new Nf;this._showOrMove(h,(function(){var n=w(h.get("formatterParams")||{});this._showTooltipContent(h,c,n,p,t.offsetX,t.offsetY,t.position,e,d)})),n({type:"showTip",from:this.uid})},n.prototype._showTooltipContent=function(t,e,n,i,r,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent;u.setEnterable(t.get("enterable"));var h=t.get("formatter");a=a||t.get("position");var c=e,p=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")).color;if(h)if(B(h)){var d=t.ecModel.get("useUTC"),f=z(n)?n[0]:n;c=h,f&&f.axisType&&f.axisType.indexOf("time")>=0&&(c=mc(f.axisValue,c,d)),c=Gc(c,n,!0)}else if(V(h)){var g=N((function(e,i){e===this._ticket&&(u.setContent(i,l,t,p,a),this._updatePosition(t,a,r,o,u,n,s))}),this);this._ticket=i,c=h(n,i,g)}else c=h;u.setContent(c,l,t,p,a),u.show(t,p),this._updatePosition(t,a,r,o,u,n,s)}},n.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||z(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:z(e)?void 0:{color:i||e.color||e.borderColor}},n.prototype._updatePosition=function(t,e,n,i,r,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),h=t.get("align"),c=t.get("verticalAlign"),p=a&&a.getBoundingRect().clone();if(a&&p.applyTransform(a.transform),V(e)&&(e=e([n,i],o,r.el,p,{viewSize:[s,l],contentSize:u.slice()})),z(e))n=Mr(e[0],s),i=Mr(e[1],l);else if(W(e)){var d=e;d.width=u[0],d.height=u[1];var f=qc(d,{width:s,height:l});n=f.x,i=f.y,h=null,c=null}else if(B(e)&&a){var g=function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+h/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+h+a;break;case"left":s=e.x-r-a,l=e.y+h/2-o/2;break;case"right":s=e.x+u+a,l=e.y+h/2-o/2}return[s,l]}(e,p,u,t.get("borderWidth"));n=g[0],i=g[1]}else{g=function(t,e,n,i,r,o,a){var s=n.getSize(),l=s[0],u=s[1];null!=o&&(t+l+o+2>i?t-=l+o:t+=o);null!=a&&(e+u+a>r?e-=u+a:e+=a);return[t,e]}(n,i,r,s,l,h?null:20,c?null:20);n=g[0],i=g[1]}if(h&&(n-=Iz(h)?u[0]/2:"right"===h?u[0]:0),c&&(i-=Iz(c)?u[1]/2:"bottom"===c?u[1]:0),az(t)){g=function(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(n,i,r,s,l);n=g[0],i=g[1]}r.moveTo(n,i)},n.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&k(n,(function(n,o){var a=n.dataByAxis||[],s=(t[o]||{}).dataByAxis||[];(r=r&&a.length===s.length)&&k(a,(function(t,n){var o=s[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&k(a,(function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),i&&k(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},n.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},n.prototype.dispose=function(t,e){!i.node&&e.getDom()&&(ug(this,"_updatePosition"),this._tooltipContent.dispose(),AR("itemTooltip",e))},n.type="tooltip",n}(jf);function Sz(t,e,n){var i,r=e.ecModel;n?(i=new Zh(n,r,r),i=new Zh(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof Zh&&(a=a.get("tooltip",!0)),B(a)&&(a={formatter:a}),a&&(i=new Zh(a,i,r)))}return i}function Mz(t,e){return t.dispatchAction||N(e.dispatchAction,e)}function Iz(t){return"center"===t||"middle"===t}var Tz=["rect","polygon","keep","clear"];function Cz(t,e){var n=jr(t?t.brush:[]);if(n.length){var i=[];k(n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(i=i.concat(e))}));var r=t&&t.toolbox;z(r)&&(r=r[0]),r||(r={feature:{}},t.toolbox=[r]);var o,a,s=r.feature||(r.feature={}),l=s.brush||(s.brush={}),u=l.type||(l.type=[]);u.push.apply(u,i),a={},k(o=u,(function(t){a[t]=1})),o.length=0,k(a,(function(t,e){o.push(e)})),e&&!u.length&&u.push.apply(u,Tz)}}var Dz=k;function Az(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function kz(t,e,n){var i={};return Dz(e,(function(e){var r,o=i[e]=((r=function(){}).prototype.__hidden=r.prototype,new r);Dz(t[e],(function(t,i){if(AC.isValidType(i)){var r={type:i,visual:t};n&&n(r,e),o[i]=new AC(r),"opacity"===i&&((r=w(r)).type="colorAlpha",o.__hidden.__alphaForOpacity=new AC(r))}}))})),i}function Lz(t,e,n){var i;k(n,(function(t){e.hasOwnProperty(t)&&Az(e[t])&&(i=!0)})),i&&k(n,(function(n){e.hasOwnProperty(n)&&Az(e[n])?t[n]=w(e[n]):delete t[n]}))}var Pz={lineX:Oz(0),lineY:Oz(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&Vx(n.range,t[0],t[1])},rect:function(t,e,n){var i=n.range;if(!t||i.length<=1)return!1;var r=t.x,o=t.y,a=t.width,s=t.height,l=i[0];return!!(Vx(i,r,o)||Vx(i,r+a,o)||Vx(i,r,o+s)||Vx(i,r+a,o+s)||me.create(t).contain(l[0],l[1])||dh(r,o,r+a,o,i)||dh(r,o,r,o+s,i)||dh(r+a,o,r+a,o+s,i)||dh(r,o+s,r+a,o+s,i))||void 0}}};function Oz(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e){var r=i.range;return Rz(e[t],r)}},rect:function(i,r,o){if(i){var a=o.range,s=[i[e[t]],i[e[t]]+i[n[t]]];return s[1]e[0][1]&&(e[0][1]=o[0]),o[1]e[1][1]&&(e[1][1]=o[1])}return e&&Hz(e)}};function Hz(t){return new me(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var Yz=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new sk(e.getZr())).on("brush",N(this._onBrush,this)).mount()},n.prototype.render=function(t,e,n,i){this.model=t,this._updateController(t,e,n,i)},n.prototype.updateTransform=function(t,e,n,i){Vz(e),this._updateController(t,e,n,i)},n.prototype.updateVisual=function(t,e,n,i){this.updateTransform(t,e,n,i)},n.prototype.updateView=function(t,e,n,i){this._updateController(t,e,n,i)},n.prototype._updateController=function(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},n.prototype.dispose=function(){this._brushController.dispose()},n.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:w(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:w(n),$from:e})},n.type="brush",n}(jf),Xz=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.areas=[],e.brushOption={},e}return e(n,t),n.prototype.optionUpdated=function(t,e){var n=this.option;!e&&Lz(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},i.hasOwnProperty("liftZ")||(i.liftZ=5)},n.prototype.setAreas=function(t){t&&(this.areas=L(t,(function(t){return Uz(this.option,t)}),this))},n.prototype.setBrushOption=function(t){this.brushOption=Uz(this.option,t),this.brushType=this.brushOption.brushType},n.type="brush",n.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],n.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},n}(np);function Uz(t,e){return S({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new Zh(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var Zz=["rect","polygon","lineX","lineY","keep","clear"],jz=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.render=function(t,e,n){var i,r,o;e.eachComponent({mainType:"brush"},(function(t){i=t.brushType,r=t.brushOption.brushMode||"single",o=o||!!t.areas.length})),this._brushType=i,this._brushMode=r,k(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===i)?"emphasis":"normal")}))},n.prototype.updateView=function(t,e,n){this.render(t,e,n)},n.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return k(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},n.prototype.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},n.getDefaultOption=function(t){return{show:!0,type:Zz.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:t.getLocaleModel().get(["toolbox","brush","title"])}},n}(vE);var qz=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.layoutMode={type:"box",ignoreSize:!0},e}return e(n,t),n.type="title",n.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"}},n}(np),Kz=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,r=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),s=q(t.get("textBaseline"),t.get("textVerticalAlign")),l=new fs({style:Ih(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),h=t.get("subtext"),c=new fs({style:Ih(o,{text:h,fill:o.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),p=t.get("link"),d=t.get("sublink"),f=t.get("triggerEvent",!0);l.silent=!p&&!f,c.silent=!d&&!f,p&&l.on("click",(function(){Hc(p,"_"+t.get("target"))})),d&&c.on("click",(function(){Hc(d,"_"+t.get("subtarget"))})),Cs(l).eventData=Cs(c).eventData=f?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(l),h&&i.add(c);var g=i.getBoundingRect(),y=t.getBoxLayoutParams();y.width=g.width,y.height=g.height;var v=qc(y,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));a||("middle"===(a=t.get("left")||t.get("right"))&&(a="center"),"right"===a?v.x+=v.width:"center"===a&&(v.x+=v.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?v.y+=v.height:"middle"===s&&(v.y+=v.height/2),s=s||"top"),i.x=v.x,i.y=v.y,i.markRedraw();var m={align:a,verticalAlign:s};l.setStyle(m),c.setStyle(m),g=i.getBoundingRect();var x=v.margin,_=t.getItemStyle(["color","opacity"]);_.fill=t.get("backgroundColor");var b=new cs({shape:{x:g.x-x[3],y:g.y-x[0],width:g.width+x[1]+x[3],height:g.height+x[0]+x[2],r:t.get("borderRadius")},style:_,subPixelOptimize:!0,silent:!0});i.add(b)}},n.type="title",n}(jf);var $z=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.layoutMode="box",e}return e(n,t),n.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},n.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},n.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},n.prototype.getCurrentIndex=function(){return this.option.currentIndex},n.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},n.prototype.setPlayState=function(t){this.option.autoPlay=!!t},n.prototype.getPlayState=function(){return!!this.option.autoPlay},n.prototype._initData=function(){var t,e=this.option,n=e.data||[],i=e.axisType,r=this._names=[];"category"===i?(t=[],k(n,(function(e,n){var i,o=no($r(e),"");W(e)?(i=w(e)).value=n:i=n,t.push(i),r.push(o)}))):t=n;var o={category:"ordinal",time:"time",value:"number"}[i]||"number";(this._data=new _m([{name:"value",type:o}],this)).initData(t,r)},n.prototype.getData=function(){return this._data},n.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},n.type="timeline",n.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:[]},n}(np),Jz=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="timeline.slider",n.defaultOption=Kh($z.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:[]}),n}($z);D(Jz,Vd.prototype);var Qz=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="timeline",n}(jf),tV=function(t){function n(e,n,i,r){var o=t.call(this,e,n,i)||this;return o.type=r||"value",o}return e(n,t),n.prototype.getLabelModel=function(){return this.model.getModel("label")},n.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},n}(s_),eV=Math.PI,nV=ao(),iV=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(t,e){this.api=e},n.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),r=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(i,t);t.formatTooltip=function(t){return Mf("nameValue",{noName:!0,value:a.scale.getLabel({value:t})})},k(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](i,r,a,t)}),this),this._renderAxisLabel(i,o,a,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},n.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},n.prototype.dispose=function(){this._clearTimer()},n.prototype._layout=function(t,e){var n,i,r,o,a=t.get(["label","position"]),s=t.get("orient"),l=function(t,e){return qc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e),u={horizontal:"center",vertical:(n=null==a||"auto"===a?"horizontal"===s?l.y+l.height/2=0||"+"===n?"left":"right"},h={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},c={horizontal:0,vertical:eV/2},p="vertical"===s?l.height:l.width,d=t.getModel("controlStyle"),f=d.get("show",!0),g=f?d.get("itemSize"):0,y=f?d.get("itemGap"):0,v=g+y,m=t.get(["label","rotate"])||0;m=m*eV/180;var x=d.get("position",!0),_=f&&d.get("showPlayBtn",!0),b=f&&d.get("showPrevBtn",!0),w=f&&d.get("showNextBtn",!0),S=0,M=p;"left"===x||"bottom"===x?(_&&(i=[0,0],S+=v),b&&(r=[S,0],S+=v),w&&(o=[M-g,0],M-=v)):(_&&(i=[M-g,0],M-=v),b&&(r=[0,0],S+=v),w&&(o=[M-g,0],M-=v));var I=[S,M];return t.get("inverse")&&I.reverse(),{viewRect:l,mainLength:p,orient:s,rotation:c[s],labelRotation:m,labelPosOpt:n,labelAlign:t.get(["label","align"])||u[s],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||h[s],playPosition:i,prevBtnPosition:r,nextBtnPosition:o,axisExtent:I,controlSize:g,controlGap:y}},n.prototype._position=function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var o=[1,0,0,1,0,0],a=r.x,s=r.y+r.height;oe(o,o,[-a,-s]),ae(o,o,-eV/2),oe(o,o,[a,s]),(r=r.clone()).applyTransform(o)}var l=y(r),u=y(n.getBoundingRect()),h=y(i.getBoundingRect()),c=[n.x,n.y],p=[i.x,i.y];p[0]=c[0]=l[0][0];var d,f=t.labelPosOpt;null==f||B(f)?(v(c,u,l,1,d="+"===f?0:1),v(p,h,l,1,1-d)):(v(c,u,l,1,d=f>=0?0:1),p[1]=c[1]+f);function g(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function y(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function v(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}n.setPosition(c),i.setPosition(p),n.rotation=i.rotation=t.rotation,g(n),g(i)},n.prototype._createAxis=function(t,e){var n=e.getData(),i=e.get("axisType"),r=function(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new Wm({ordinalMeta:t.getCategories(),extent:[Infinity,-Infinity]});case"time":return new rx({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new Ym}}(e,i);r.getTicks=function(){return n.mapArray(["value"],(function(t){return{value:t}}))};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.calcNiceTicks();var a=new tV("value",r,t.axisExtent,i);return a.model=e,a},n.prototype._createGroup=function(t){var e=this[t]=new yr;return this.group.add(e),e},n.prototype._renderAxisLine=function(t,e,n,i){var r=n.getExtent();if(i.get(["lineStyle","show"])){var o=new xu({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:I({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var a=this._progressLine=new xu({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:T({lineCap:"round",lineWidth:o.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(a)}},n.prototype._renderAxisTick=function(t,e,n,i){var r=this,o=i.getData(),a=n.scale.getTicks();this._tickSymbols=[],k(a,(function(t){var a=n.dataToCoord(t.value),s=o.getItemModel(t.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),h=s.getModel(["progress","itemStyle"]),c={x:a,y:0,onclick:N(r._changeTimeline,r,t.value)},p=rV(s,l,e,c);p.ensureState("emphasis").style=u.getItemStyle(),p.ensureState("progress").style=h.getItemStyle(),gl(p);var d=Cs(p);s.get("tooltip")?(d.dataIndex=t.value,d.dataModel=i):d.dataIndex=d.dataModel=null,r._tickSymbols.push(p)}))},n.prototype._renderAxisLabel=function(t,e,n,i){var r=this;if(n.getLabelModel().get("show")){var o=i.getData(),a=n.getViewLabels();this._tickLabels=[],k(a,(function(i){var a=i.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),h=s.getModel(["progress","label"]),c=n.dataToCoord(i.tickValue),p=new fs({x:c,y:0,rotation:t.labelRotation-t.rotation,onclick:N(r._changeTimeline,r,a),silent:!1,style:Ih(l,{text:i.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});p.ensureState("emphasis").style=Ih(u),p.ensureState("progress").style=Ih(h),e.add(p),gl(p),nV(p).dataIndex=a,r._tickLabels.push(p)}))}},n.prototype._renderControl=function(t,e,n,i){var r=t.controlSize,o=t.rotation,a=i.getModel("controlStyle").getItemStyle(),s=i.getModel(["emphasis","controlStyle"]).getItemStyle(),l=i.getPlayState(),u=i.get("inverse",!0);function h(t,n,l,u){if(t){var h=rr(q(i.get(["controlStyle",n+"BtnSize"]),r),r),c=function(t,e,n,i){var r=i.style,o=ph(t.get(["controlStyle",e]),i||{},new me(n[0],n[1],n[2],n[3]));r&&o.setStyle(r);return o}(i,n+"Icon",[0,-h/2,h,h],{x:t[0],y:t[1],originX:r/2,originY:0,rotation:u?-o:0,rectHover:!0,style:a,onclick:l});c.ensureState("emphasis").style=s,e.add(c),gl(c)}}h(t.nextBtnPosition,"next",N(this._changeTimeline,this,u?"-":"+")),h(t.prevBtnPosition,"prev",N(this._changeTimeline,this,u?"+":"-")),h(t.playPosition,l?"stop":"play",N(this._handlePlayClick,this,!l),!0)},n.prototype._renderCurrentPointer=function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=N(s._handlePointerDrag,s),t.ondragend=N(s._handlePointerDragend,s),oV(t,s._progressLine,o,n,i,!0)},onUpdate:function(t){oV(t,s._progressLine,o,n,i)}};this._currentPointer=rV(a,a,this._mainGroup,{},this._currentPointer,l)},n.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},n.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},n.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},n.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],i=Tr(this._axis.getExtent().slice());n>i[1]&&(n=i[1]),n=0&&(a[o]=+a[o].toFixed(c)),[a,h]}var yV={min:E(gV,"min"),max:E(gV,"max"),average:E(gV,"average"),median:E(gV,"median")};function vV(t,e){if(e){var n=t.getData(),i=t.coordinateSystem,r=i&&i.dimensions;if(!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!z(e.coord)&&z(r)){var o=mV(e,n,i,t);if((e=w(e)).type&&yV[e.type]&&o.baseAxis&&o.valueAxis){var a=C(r,o.baseAxis.dim),s=C(r,o.valueAxis.dim),l=yV[e.type](n,o.baseDataDim,o.valueDataDim,a,s);e.coord=l[0],e.value=l[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null!=e.coord&&z(r))for(var u=e.coord,h=0;h<2;h++)yV[u[h]]&&(u[h]=bV(n,n.mapDimension(r[h]),u[h]));else e.coord=[];return e}}function mV(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function xV(t,e){return!(t&&t.containData&&e.coord&&!fV(e))||t.containData(e.coord)}function _V(t,e){return t?function(t,n,i,r){return Hd(r<2?t.coord&&t.coord[r]:t.value,e[r])}:function(t,n,i,r){return Hd(t.value,e[r])}}function bV(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,(function(t,e){isNaN(t)||(i+=t,r++)})),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var wV=ao(),SV=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(){this.markerGroupMap=st()},n.prototype.render=function(t,e,n){var i=this,r=this.markerGroupMap;r.each((function(t){wV(t).keep=!1})),e.eachSeries((function(t){var r=pV.getMarkerModelFromSeries(t,i.type);r&&i.renderSeries(t,r,e,n)})),r.each((function(t){!wV(t).keep&&i.group.remove(t.group)}))},n.prototype.markKeep=function(t){wV(t).keep=!0},n.prototype.toggleBlurSeries=function(t,e){var n=this;k(t,(function(t){var i=pV.getMarkerModelFromSeries(t,n.type);i&&i.getData().eachItemGraphicEl((function(t){t&&(e?rl(t):ol(t))}))}))},n.type="marker",n}(jf);function MV(t,e,n){var i=e.coordinateSystem;t.each((function(r){var o,a=t.getItemModel(r),s=Mr(a.get("x"),n.getWidth()),l=Mr(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(i){var u=t.get(i.dimensions[0],r),h=t.get(i.dimensions[1],r);o=i.dataToPoint([u,h])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),t.setItemLayout(r,o)}))}var IV=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=pV.getMarkerModelFromSeries(t,"markPoint");e&&(MV(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},n.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new xw),u=function(t,e,n){var i;i=t?L(t&&t.dimensions,(function(t){return I(I({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new _m(i,n),o=L(n.get("data"),E(vV,e));t&&(o=O(o,E(xV,t)));var a=_V(!!t,i);return r.initData(o,null,a),r}(r,t,e);e.setData(u),MV(e.getData(),t,i),u.each((function(t){var n=u.getItemModel(t),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(V(i)||V(r)||V(o)||V(s)){var h=e.getRawValue(t),c=e.getDataParams(t);V(i)&&(i=i(h,c)),V(r)&&(r=r(h,c)),V(o)&&(o=o(h,c)),V(s)&&(s=s(h,c))}var p=n.getModel("itemStyle").getItemStyle(),d=jg(a,"color");p.fill||(p.fill=d),u.setItemVisual(t,{symbol:i,symbolSize:r,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:p})})),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl((function(t){t.traverse((function(t){Cs(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},n.type="markPoint",n}(SV);var TV=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.createMarkerModelFromSeries=function(t,e,i){return new n(t,e,i)},n.type="markLine",n.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"},n}(pV),CV=ao(),DV=function(t,e,n,i){var r,o=t.getData();if(z(i))r=i;else{var a=i.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=i.xAxis||null!=i.yAxis){var s=void 0,l=void 0;if(null!=i.yAxis||null!=i.xAxis)s=e.getAxis(null!=i.yAxis?"y":"x"),l=j(i.yAxis,i.xAxis);else{var u=mV(i,o,e,t);s=u.valueAxis,l=bV(o,Dm(o,u.valueDataDim),a)}var h="x"===s.dim?0:1,c=1-h,p=w(i),d={coord:[]};p.type=null,p.coord=[],p.coord[c]=-Infinity,d.coord[c]=Infinity;var f=n.get("precision");f>=0&&G(l)&&(l=+l.toFixed(Math.min(f,20))),p.coord[h]=d.coord[h]=l,r=[p,d,{type:a,valueIndex:i.valueIndex,value:l}]}else r=[]}var g=[vV(t,r[0]),vV(t,r[1]),I({},r[2])];return g[2].type=g[2].type||null,S(g[2],g[0]),S(g[2],g[1]),g};function AV(t){return!isNaN(t)&&!isFinite(t)}function kV(t,e,n,i){var r=1-t,o=i.dimensions[t];return AV(e[r])&&AV(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function LV(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(kV(1,n,i,t)||kV(0,n,i,t)))return!0}return xV(t,e[0])&&xV(t,e[1])}function PV(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=Mr(s.get("x"),r.getWidth()),u=Mr(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var h=a.dimensions,c=t.get(h[0],e),p=t.get(h[1],e);o=a.dataToPoint([c,p])}if(Ow(a,"cartesian2d")){var d=a.getAxis("x"),f=a.getAxis("y");h=a.dimensions;AV(t.get(h[0],e))?o[0]=d.toGlobalCoord(d.getExtent()[n?0:1]):AV(t.get(h[1],e))&&(o[1]=f.toGlobalCoord(f.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];t.setItemLayout(e,o)}var OV=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=pV.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=CV(e).from,o=CV(e).to;r.each((function(e){PV(r,e,!0,t,n),PV(o,e,!1,t,n)})),i.each((function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},n.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new HD);this.group.add(l.group);var u=function(t,e,n){var i;i=t?L(t&&t.dimensions,(function(t){return I(I({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new _m(i,n),o=new _m(i,n),a=new _m([],n),s=L(n.get("data"),E(DV,e,t,n));t&&(s=O(s,E(LV,t)));var l=_V(!!t,i);return r.initData(L(s,(function(t){return t[0]})),null,l),o.initData(L(s,(function(t){return t[1]})),null,l),a.initData(L(s,(function(t){return t[2]}))),a.hasItemOption=!0,{from:r,to:o,line:a}}(r,t,e),h=u.from,c=u.to,p=u.line;CV(e).from=h,CV(e).to=c,e.setData(p);var d=e.get("symbol"),f=e.get("symbolSize"),g=e.get("symbolRotate"),y=e.get("symbolOffset");function v(e,n,r){var o=e.getItemModel(n);PV(e,n,r,t,i);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=jg(a,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:q(o.get("symbolOffset",!0),y[r?0:1]),symbolRotate:q(o.get("symbolRotate",!0),g[r?0:1]),symbolSize:q(o.get("symbolSize"),f[r?0:1]),symbol:q(o.get("symbol",!0),d[r?0:1]),style:s})}z(d)||(d=[d,d]),z(f)||(f=[f,f]),z(g)||(g=[g,g]),z(y)||(y=[y,y]),u.from.each((function(t){v(h,t,!0),v(c,t,!1)})),p.each((function(t){var e=p.getItemModel(t).getModel("lineStyle").getLineStyle();p.setItemLayout(t,[h.getItemLayout(t),c.getItemLayout(t)]),null==e.stroke&&(e.stroke=h.getItemVisual(t,"style").fill),p.setItemVisual(t,{fromSymbolKeepAspect:h.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:h.getItemVisual(t,"symbolOffset"),fromSymbolRotate:h.getItemVisual(t,"symbolRotate"),fromSymbolSize:h.getItemVisual(t,"symbolSize"),fromSymbol:h.getItemVisual(t,"symbol"),toSymbolKeepAspect:c.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:c.getItemVisual(t,"symbolOffset"),toSymbolRotate:c.getItemVisual(t,"symbolRotate"),toSymbolSize:c.getItemVisual(t,"symbolSize"),toSymbol:c.getItemVisual(t,"symbol"),style:e})})),l.updateData(p),u.line.eachItemGraphicEl((function(t){Cs(t).dataModel=e,t.traverse((function(t){Cs(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},n.type="markLine",n}(SV);var RV=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.createMarkerModelFromSeries=function(t,e,i){return new n(t,e,i)},n.type="markArea",n.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},n}(pV),NV=ao(),EV=function(t,e,n,i){var r=i[0],o=i[1];if(r&&o){var a=vV(t,r),s=vV(t,o),l=a.coord,u=s.coord;l[0]=j(l[0],-Infinity),l[1]=j(l[1],-Infinity),u[0]=j(u[0],Infinity),u[1]=j(u[1],Infinity);var h=M([{},a,s]);return h.coord=[a.coord,s.coord],h.x0=a.x,h.y0=a.y,h.x1=s.x,h.y1=s.y,h}};function zV(t){return!isNaN(t)&&!isFinite(t)}function VV(t,e,n,i){var r=1-t;return zV(e[r])&&zV(n[r])}function BV(t,e){var n=e.coord[0],i=e.coord[1],r={coord:n,x:e.x0,y:e.y0},o={coord:i,x:e.x1,y:e.y1};return Ow(t,"cartesian2d")?!(!n||!i||!VV(1,n,i)&&!VV(0,n,i))||function(t,e,n){return!(t&&t.containZone&&e.coord&&n.coord&&!fV(e)&&!fV(n))||t.containZone(e.coord,n.coord)}(t,r,o):xV(t,r)||xV(t,o)}function FV(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=Mr(s.get(n[0]),r.getWidth()),u=Mr(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition){var h=t.getValues(["x0","y0"],e),c=t.getValues(["x1","y1"],e),p=a.clampData(h),d=a.clampData(c),f=[];"x0"===n[0]?f[0]=p[0]>d[0]?c[0]:h[0]:f[0]=p[0]>d[0]?h[0]:c[0],"y0"===n[1]?f[1]=p[1]>d[1]?c[1]:h[1]:f[1]=p[1]>d[1]?h[1]:c[1],o=i.getMarkerPosition(f,n,!0)}else{var g=[m=t.get(n[0],e),x=t.get(n[1],e)];a.clampData&&a.clampData(g,g),o=a.dataToPoint(g,!0)}if(Ow(a,"cartesian2d")){var y=a.getAxis("x"),v=a.getAxis("y"),m=t.get(n[0],e),x=t.get(n[1],e);zV(m)?o[0]=y.toGlobalCoord(y.getExtent()["x0"===n[0]?0:1]):zV(x)&&(o[1]=v.toGlobalCoord(v.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var GV=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],WV=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=pV.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each((function(e){var r=L(GV,(function(r){return FV(i,e,r,t,n)}));i.setItemLayout(e,r),i.getItemGraphicEl(e).setShape("points",r)}))}}),this)},n.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new yr});this.group.add(l.group),this.markKeep(l);var u=function(t,e,n){var i,r,o=["x0","y0","x1","y1"];if(t){var a=L(t&&t.dimensions,(function(t){var n=e.getData();return I(I({},n.getDimensionInfo(n.mapDimension(t))||{}),{name:t,ordinalMeta:null})}));r=L(o,(function(t,e){return{name:t,type:a[e%2].type}})),i=new _m(r,n)}else i=new _m(r=[{name:"value",type:"float"}],n);var s=L(n.get("data"),E(EV,e,t,n));t&&(s=O(s,E(BV,t)));var l=t?function(t,e,n,i){return Hd(t.coord[Math.floor(i/2)][i%2],r[i])}:function(t,e,n,i){return Hd(t.value,r[i])};return i.initData(s,null,l),i.hasItemOption=!0,i}(r,t,e);e.setData(u),u.each((function(e){var n=L(GV,(function(n){return FV(u,e,n,t,i)})),o=r.getAxis("x").scale,s=r.getAxis("y").scale,l=o.getExtent(),h=s.getExtent(),c=[o.parse(u.get("x0",e)),o.parse(u.get("x1",e))],p=[s.parse(u.get("y0",e)),s.parse(u.get("y1",e))];Tr(c),Tr(p);var d=!!(l[0]>c[1]||l[1]p[1]||h[1]=0},n.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},n.type="legend.plain",n.dependencies=["series"],n.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}},n}(np),YV=E,XV=k,UV=yr,ZV=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.newlineDisabled=!1,e}return e(n,t),n.prototype.init=function(){this.group.add(this._contentGroup=new UV),this.group.add(this._selectorGroup=new UV),this._isFirstRender=!0},n.prototype.getContentGroup=function(){return this._contentGroup},n.prototype.getSelectorGroup=function(){return this._selectorGroup},n.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),o=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===o?"right":"left");var a=t.get("selector",!0),s=t.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(r,t,e,n,a,o,s);var l=t.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},h=t.get("padding"),c=qc(l,u,h),p=this.layoutInner(t,r,c,i,a,s),d=qc(T({width:p.width,height:p.height},l),u,h);this.group.x=d.x-p.x,this.group.y=d.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=wE(p,t))}},n.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},n.prototype.renderInner=function(t,e,n,i,r,o,a){var s=this.getContentGroup(),l=st(),u=e.get("selectedMode"),h=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&h.push(t.id)})),XV(e.getData(),(function(r,o){var a=r.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var c=new UV;return c.newline=!0,void s.add(c)}var p=n.getSeriesByName(a)[0];if(!l.get(a))if(p){var d=p.getData(),f=d.getVisual("legendLineStyle")||{},g=d.getVisual("legendIcon"),y=d.getVisual("style"),v=this._createItem(p,a,o,r,e,t,f,y,g,u,i);v.on("click",YV(jV,a,null,i,h)).on("mouseover",YV(KV,p.name,null,i,h)).on("mouseout",YV($V,p.name,null,i,h)),n.ssr&&v.eachChild((function(t){var e=Cs(t);e.seriesIndex=p.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}else n.eachRawSeries((function(s){if(!l.get(a)&&s.legendVisualProvider){var c=s.legendVisualProvider;if(!c.containName(a))return;var p=c.indexOfName(a),d=c.getItemVisual(p,"style"),f=c.getItemVisual(p,"legendIcon"),g=kn(d.fill);g&&0===g[3]&&(g[3]=.2,d=I(I({},d),{fill:En(g,"rgba")}));var y=this._createItem(s,a,o,r,e,t,{},d,f,u,i);y.on("click",YV(jV,null,a,i,h)).on("mouseover",YV(KV,null,a,i,h)).on("mouseout",YV($V,null,a,i,h)),n.ssr&&y.eachChild((function(t){var e=Cs(t);e.seriesIndex=s.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}}),this)}),this),r&&this._createSelector(r,e,i,o,a)},n.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();XV(t,(function(t){var i=t.type,r=new fs({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});o.add(r),Sh(r,{normal:e.getModel("selectorLabel"),emphasis:e.getModel(["emphasis","selectorLabel"])},{defaultText:t.title}),gl(r)}))},n.prototype._createItem=function(t,e,n,i,r,o,a,s,l,u,h){var c=t.visualDrawType,p=r.get("itemWidth"),d=r.get("itemHeight"),f=r.isSelected(e),g=i.get("symbolRotate"),y=i.get("symbolKeepAspect"),v=i.get("icon"),m=function(t,e,n,i,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),XV(t,(function(n,i){"inherit"===t[i]&&(t[i]=e[i])}))}var l=e.getModel("itemStyle"),u=l.getItemStyle(),h=0===t.lastIndexOf("empty",0)?"fill":"stroke",c=l.getShallow("decal");u.decal=c&&"inherit"!==c?zy(c,a):i.decal,"inherit"===u.fill&&(u.fill=i[r]);"inherit"===u.stroke&&(u.stroke=i[h]);"inherit"===u.opacity&&(u.opacity=("fill"===r?i:n).opacity);s(u,i);var p=e.getModel("lineStyle"),d=p.getLineStyle();if(s(d,n),"auto"===u.fill&&(u.fill=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),"auto"===d.stroke&&(d.stroke=i.fill),!o){var f=e.get("inactiveBorderWidth"),g=u[h];u.lineWidth="auto"===f?i.lineWidth>0&&g?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),d.stroke=p.get("inactiveColor"),d.lineWidth=p.get("inactiveWidth")}return{itemStyle:u,lineStyle:d}}(l=v||l||"roundRect",i,a,s,c,f,h),x=new UV,_=i.getModel("textStyle");if(!V(t.getLegendIcon)||v&&"inherit"!==v){var b="inherit"===v&&t.getData().getVisual("symbol")?"inherit"===g?t.getData().getVisual("symbolRotate"):g:0;x.add(function(t){var e=t.icon||"roundRect",n=hy(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2);return n}({itemWidth:p,itemHeight:d,icon:l,iconRotate:b,itemStyle:m.itemStyle,lineStyle:m.lineStyle,symbolKeepAspect:y}))}else x.add(t.getLegendIcon({itemWidth:p,itemHeight:d,icon:l,iconRotate:g,itemStyle:m.itemStyle,lineStyle:m.lineStyle,symbolKeepAspect:y}));var w="left"===o?p+5:-5,S=o,M=r.get("formatter"),I=e;B(M)&&M?I=M.replace("{name}",null!=e?e:""):V(M)&&(I=M(e));var T=f?_.getTextColor():i.get("inactiveColor");x.add(new fs({style:Ih(_,{text:I,x:w,y:d/2,fill:T,align:S,verticalAlign:"middle"},{inheritColor:T})}));var C=new cs({shape:x.getBoundingRect(),style:{fill:"transparent"}}),D=i.getModel("tooltip");return D.get("show")&&yh({el:C,componentModel:r,itemName:e,itemTooltipOption:D.option}),x.add(C),x.eachChild((function(t){t.silent=!0})),C.silent=!u,this.getContentGroup().add(x),gl(x),x.__legendDataIndex=n,x},n.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();jc(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){jc("horizontal",s,t.get("selectorItemGap",!0));var h=s.getBoundingRect(),c=[-h.x,-h.y],p=t.get("selectorButtonGap",!0),d=t.getOrient().index,f=0===d?"width":"height",g=0===d?"height":"width",y=0===d?"y":"x";"end"===o?c[d]+=l[f]+p:u[d]+=h[f]+p,c[1-d]+=l[g]/2-h[g]/2,s.x=c[0],s.y=c[1],a.x=u[0],a.y=u[1];var v={x:0,y:0};return v[f]=l[f]+p+h[f],v[g]=Math.max(l[g],h[g]),v[y]=Math.min(0,h[y]+c[1-d]),v}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},n.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},n.type="legend.plain",n}(jf);function jV(t,e,n,i){$V(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),KV(t,e,n,i)}function qV(t){for(var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;in[r],f=[-c.x,-c.y];e||(f[i]=l[s]);var g=[0,0],y=[-p.x,-p.y],v=q(t.get("pageButtonGap",!0),t.get("itemGap",!0));d&&("end"===t.get("pageButtonPosition",!0)?y[i]+=n[r]-p[r]:g[i]+=p[r]+v);y[1-i]+=c[o]/2-p[o]/2,l.setPosition(f),u.setPosition(g),h.setPosition(y);var m={x:0,y:0};if(m[r]=d?n[r]:c[r],m[o]=Math.max(c[o],p[o]),m[a]=Math.min(0,p[a]+y[1-i]),u.__rectSize=n[r],d){var x={x:0,y:0};x[r]=Math.max(n[r]-p[r]-v,0),x[o]=m[o],u.setClipPath(new cs({shape:x})),u.__rectSize=x[r]}else h.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var _=this._getPageInfo(t);return null!=_.pageIndex&&Fu(l,{x:_.contentPosition[0],y:_.contentPosition[1]},d?t:null),this._updatePageInfoView(t,_),m},n.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},n.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;k(["pagePrev","pageNext"],(function(i){var r=null!=e[i+"DataIndex"],o=n.childOfName(i);o&&(o.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var i=n.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,s=e.pageCount;i&&r&&i.setStyle("text",B(r)?r.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):r({current:a,total:s}))},n.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=rB[r],a=oB[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],h=l.length,c=h?1:0,p={contentPosition:[n.x,n.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return p;var d=m(u);p.contentPosition[r]=-d.s;for(var f=s+1,g=d,y=d,v=null;f<=h;++f)(!(v=m(l[f]))&&y.e>g.s+i||v&&!x(v,g.s))&&(g=y.i>g.i?y:v)&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=g.i),++p.pageCount),y=v;for(f=s-1,g=d,y=d,v=null;f>=-1;--f)(v=m(l[f]))&&x(y,v.s)||!(g.i=e&&t.s<=e+i}},n.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n):0;var e,n},n.type="legend.scroll",n}(ZV);function sB(t){Zv(tB),t.registerComponentModel(eB),t.registerComponentView(aB),function(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}(t)}var lB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="dataZoom.inside",n.defaultOption=Kh(oE.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),n}(oE),uB=ao();function hB(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function cB(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function pB(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}function dB(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=uB(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=st());i.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){k(iE(t).infoList,(function(n){var r=n.model.uid,o=i.get(r)||i.set(r,function(t,e){var n={model:e,containsPoint:E(pB,e),dispatchAction:E(cB,t),dataZoomInfoMap:null,controller:null},i=n.controller=new eI(t.getZr());return k(["pan","zoom","scrollMove"],(function(t){i.on(t,(function(e){var i=[];n.dataZoomInfoMap.each((function(r){if(e.isAvailableBehavior(r.model.option)){var o=(r.getRange||{})[t],a=o&&o(r.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!r.model.get("disabled",!0)&&a&&i.push({dataZoomId:r.model.id,start:a[0],end:a[1]})}})),i.length&&n.dispatchAction(i)}))})),n}(e,n.model));(o.dataZoomInfoMap||(o.dataZoomInfoMap=st())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),i.each((function(t){var e,n=t.controller,r=t.dataZoomInfoMap;if(r){var o=r.keys()[0];null!=o&&(e=r.get(o))}if(e){var a=function(t){var e,n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return t.each((function(t){var o=t.model,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");i[n+a]>i[n+e]&&(e=a),r=r&&o.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}(r);n.enable(a.controlType,a.opt),n.setPointerChecker(t.containsPoint),lg(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else hB(i,t)}))}))}var fB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return e(n,t),n.prototype.render=function(e,n,i){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),function(t,e,n){uB(t).coordSysRecordMap.each((function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)}))}(i,e,{pan:N(gB.pan,this),zoom:N(gB.zoom,this),scrollMove:N(gB.scrollMove,this)}))},n.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},n.prototype._clear=function(){!function(t,e){for(var n=uB(t).coordSysRecordMap,i=n.keys(),r=0;r0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/i.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return EA(0,o,[0,100],0,h.minSpan,h.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:yB((function(t,e,n,i,r,o){var a=vB[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:yB((function(t,e,n,i,r,o){return vB[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta}))};function yB(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s)return EA(t(a,s,e,n,i,r),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}var vB={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}};function mB(t){gE(t),t.registerComponentModel(lB),t.registerComponentView(fB),dB(t)}var xB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="dataZoom.slider",n.layoutMode="box",n.defaultOption=Kh(oE.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"}}}),n}(oE),_B=cs,bB="horizontal",wB="vertical",SB=["line","bar","candlestick","scatter"],MB={easing:"cubicOut",duration:100,delay:0},IB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e._displayables={},e}return e(n,t),n.prototype.init=function(t,e){this.api=e,this._onBrush=N(this._onBrush,this),this._onBrushEnd=N(this._onBrushEnd,this)},n.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),lg(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},n.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},n.prototype._clear=function(){ug(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},n.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new yr;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},n.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?7:0,i=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},o=this._orient===bB?{right:r.width-i.x-i.width,top:r.height-30-7-n,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},a=Qc(t.option);k(["right","top","width","height"],(function(t){"ph"===a[t]&&(a[t]=o[t])}));var s=qc(a,r);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===wB&&this._size.reverse()},n.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==bB||r?n===bB&&r?{scaleY:a?1:-1,scaleX:-1}:n!==wB||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},n.prototype._getViewExtent=function(){return[0,this._size[0]]},n.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new _B({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new _B({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:N(this._onClickPanel,this)}),o=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(r)},n.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),a=o&&r.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var u=r.getDataExtent(a),h=.3*(u[1]-u[0]);u=[u[0]-h,u[1]+h];var c,p=[0,e[1]],d=[0,e[0]],f=[[e[0],0],[0,0]],g=[],y=d[1]/(r.count()-1),v=0,m=Math.round(r.count()/e[0]);r.each([a],(function(t,e){if(m>0&&e%m)v+=y;else{var n=null==t||isNaN(t)||""===t,i=n?0:Sr(t,u,p,!0);n&&!c&&e?(f.push([f[f.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&c&&(f.push([v,0]),g.push([v,0])),f.push([v,i]),g.push([v,i]),v+=y,c=n}})),s=this._shadowPolygonPts=f,l=this._shadowPolylinePts=g}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var x,_,b,w,S,M=this.dataZoomModel,I=0;I<3;I++){var T=(x=1===I,_=void 0,b=void 0,w=void 0,S=void 0,_=M.getModel(x?"selectedDataBackground":"dataBackground"),b=new yr,w=new fu({shape:{points:s},segmentIgnoreThreshold:1,style:_.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),S=new yu({shape:{points:l},segmentIgnoreThreshold:1,style:_.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19}),b.add(w),b.add(S),b);this._displayables.sliderGroup.add(T),this._displayables.dataShadowSegs.push(T)}}}},n.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis((function(r,o){k(t.getAxisProxy(r,o).getTargetSeriesModels(),(function(t){if(!(n||!0!==e&&C(SB,t.get("type"))<0)){var a,s=i.getComponent(eE(r),o).axis,l={x:"y",y:"x",radius:"angle",angle:"radius"}[r],u=t.coordinateSystem;null!=l&&u.getOtherAxis&&(a=u.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),n={thisAxis:s,series:t,thisDim:r,otherDim:l,otherAxisInverse:a}}}),this)}),this),n}},n.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,u=a.get("brushSelect"),h=e.filler=new _B({silent:u,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(h),r.add(new _B({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),k([0,1],(function(e){var o=a.get("handleIcon");!sy[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=hy(o,-1,0,2,2,null,!0);s.attr({cursor:TB(this._orient),draggable:!0,drift:N(this._onDragMove,this,e),ondragend:N(this._onDragEnd,this),onmouseover:N(this._showDataInfo,this,!0),onmouseout:N(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=a.get("handleSize");this._handleHeight=Mr(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),gl(s);var h=a.get("handleColor");null!=h&&(s.style.fill=h),r.add(n[e]=s);var c=a.getModel("textStyle");t.add(i[e]=new fs({silent:!0,invisible:!0,style:Ih(c,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:c.getTextColor(),font:c.getFont()}),z2:10}))}),this);var c=h;if(u){var p=Mr(a.get("moveHandleSize"),o[1]),d=e.moveHandle=new cs({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:p}}),f=.8*p,g=e.moveHandleIcon=hy(a.get("moveHandleIcon"),-f/2,-f/2,f,f,"#fff",!0);g.silent=!0,g.y=o[1]+p/2-.5,d.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(o[1]/2,Math.max(p,10));(c=e.moveZone=new cs({invisible:!0,shape:{y:o[1]-y,height:p+y}})).on("mouseover",(function(){s.enterEmphasis(d)})).on("mouseout",(function(){s.leaveEmphasis(d)})),r.add(d),r.add(g),r.add(c)}c.attr({draggable:!0,cursor:TB(this._orient),drift:N(this._onDragMove,this,"all"),ondragstart:N(this._showDataInfo,this,!0),ondragend:N(this._onDragEnd,this),onmouseover:N(this._showDataInfo,this,!0),onmouseout:N(this._showDataInfo,this,!1)})},n.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[Sr(t[0],[0,100],e,!0),Sr(t[1],[0,100],e,!0)]},n.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];EA(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?Sr(o.minSpan,a,r,!0):null,null!=o.maxSpan?Sr(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=Tr([Sr(i[0],r,a,!0),Sr(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},n.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=Tr(n.slice()),r=this._size;k([0,1],(function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})}),this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var o={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,s=[0,i[0],i[1],r[0]],l=0;le[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},n.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new ue(e,n),this._brushing=!0,this._brushStartTime=+new Date},n.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var i=this._getViewExtent(),r=[0,100];this._range=Tr([Sr(n.x,i,r,!0),Sr(n.x+n.width,i,r,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},n.prototype._onBrush=function(t){this._brushing&&($t(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},n.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new _B({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},n.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?MB:null,start:e[0],end:e[1]})},n.prototype._findCoordRect=function(){var t,e=iE(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},n.type="dataZoom.slider",n}(lE);function TB(t){return"vertical"===t?"ns-resize":"ew-resize"}function CB(t){t.registerComponentModel(xB),t.registerComponentView(IB),gE(t)}var DB=function(t,e,n){var i=w((AB[t]||{})[e]);return n&&z(i)?i[i.length-1]:i},AB={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]}},kB=AC.mapVisual,LB=AC.eachVisual,PB=z,OB=k,RB=Tr,NB=Sr,EB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.stateList=["inRange","outOfRange"],e.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],e.layoutMode={type:"box",ignoreSize:!0},e.dataBound=[-Infinity,Infinity],e.targetVisuals={},e.controllerVisuals={},e}return e(n,t),n.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},n.prototype.optionUpdated=function(t,e){var n=this.option;!e&&Lz(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},n.prototype.resetVisual=function(t){var e=this.stateList;t=N(t,this),this.controllerVisuals=kz(this.option.controller,e,t),this.targetVisuals=kz(this.option.target,e,t)},n.prototype.getItemSymbol=function(){return null},n.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,n){e.push(n)})):e=jr(t),e},n.prototype.eachTargetSeries=function(t,e){k(this.getTargetSeriesIndices(),(function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(e,i)}),this)},n.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries((function(n){n===t&&(e=!0)})),e},n.prototype.formatValueText=function(t,e,n){var i,r=this.option,o=r.precision,a=this.dataBound,s=r.formatter;n=n||["<",">"],z(t)&&(t=t.slice(),i=!0);var l=e?t:i?[u(t[0]),u(t[1])]:u(t);return B(s)?s.replace("{value}",i?l[0]:l).replace("{value2}",i?l[1]:l):V(s)?i?s(t[0],t[1]):s(t):i?t[0]===a[0]?n[0]+" "+l[1]:t[1]===a[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(t){return t===a[0]?"min":t===a[1]?"max":(+t).toFixed(Math.min(o,20))}},n.prototype.resetExtent=function(){var t=this.option,e=RB([t.min,t.max]);this._dataExtent=e},n.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var r=n[i],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return o.storeDimIndex}},n.prototype.getExtent=function(){return this._dataExtent.slice()},n.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});S(i,n),S(r,n);var o=this.isCategory();function a(n){PB(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}a.call(this,i),a.call(this,r),function(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},OB(i,(function(t,e){if(AC.isValidType(e)){var n=DB(e,"inactive",o);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),r=this.getItemSymbol()||"roundRect";OB(this.stateList,(function(a){var s=this.itemSize,l=t[a];l||(l=t[a]={color:o?i:[i]}),null==l.symbol&&(l.symbol=e&&w(e)||(o?r:[r])),null==l.symbolSize&&(l.symbolSize=n&&w(n)||(o?s[0]:[s[0],s[0]])),l.symbol=kB(l.symbol,(function(t){return"none"===t?r:t}));var u=l.symbolSize;if(null!=u){var h=-Infinity;LB(u,(function(t){t>h&&(h=t)})),l.symbolSize=kB(u,(function(t){return NB(t,[0,h],[0,s[0]],!0)}))}}),this)}.call(this,r)},n.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},n.prototype.isCategory=function(){return!!this.option.categories},n.prototype.setSelected=function(t){},n.prototype.getSelected=function(){return null},n.prototype.getValueState=function(t){return null},n.prototype.getVisualMeta=function(t){return null},n.type="visualMap",n.dependencies=["series"],n.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"}},n}(np),zB=[20,140],VB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},n.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=zB[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=zB[1])},n.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):z(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},n.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),k(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)}),this)},n.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},n.prototype.getSelected=function(){var t=this.getExtent(),e=Tr((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},n.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},n.prototype.getVisualMeta=function(t){var e=BB(this,"outOfRange",this.getExtent()),n=BB(this,"inRange",this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,l=e.length;at[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},n.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},n.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new yr("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},n.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels,a=i.itemSize,s=i.getExtent();XB([0,1],(function(l){var u=r[l];u.setStyle("fill",e.handlesColor[l]),u.y=t[l];var h=YB(t[l],[0,a[1]],s,!0),c=this.getControllerVisual(h,"symbolSize");u.scaleX=u.scaleY=c/a[0],u.x=a[0]-c/2;var p=sh(n.handleLabelPoints[l],ah(u,this.group));o[l].setStyle({x:p[0],y:p[1],text:i.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},n.prototype._showIndicator=function(t,e,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var h=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),c=this.getControllerVisual(t,"symbolSize"),p=YB(t,o,s,!0),d=a[0]-c/2,f={x:u.x,y:u.y};u.y=p,u.x=d;var g=sh(l.indicatorLabelPoint,ah(u,this.group)),y=l.indicatorLabel;y.attr("invisible",!1);var v=this._applyTransform("left",l.mainGroup),m="horizontal"===this._orient;y.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:m?v:"middle",align:m?"center":v});var x={x:d,y:p,style:{fill:h}},_={style:{x:g[0],y:g[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var b={duration:100,easing:"cubicInOut",additive:!0};u.x=f.x,u.y=f.y,u.animateTo(x,b),y.animateTo(_,b)}else u.attr(x),y.attr(_);this._firstShowIndicator=!1;var w=this._shapes.handleLabels;if(w)for(var S=0;Sr[1]&&(u[1]=Infinity),e&&(-Infinity===u[0]?this._showIndicator(l,u[1],"< ",a):Infinity===u[1]?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var h=this._hoverLinkDataIndices,c=[];(e||KB(n))&&(c=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var p=function(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;i=0&&(r.dimension=o,i.push(r))}})),t.getData().setVisual("visualMeta",i)}}];function eF(t,e,n,i){for(var r=e.targetVisuals[i],o=AC.prepareVisualTypes(r),a={color:jg(t.getData(),"color")},s=0,l=o.length;s0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(JB,QB),k(tF,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(iF))}function sF(t){t.registerComponentModel(VB),t.registerComponentView(jB),aF(t)}var lF=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e._pieceList=[],e}return e(n,t),n.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],uF[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual((function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=w(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=L(this._pieceList,(function(t){return t=w(t),"inRange"!==e&&(t.visual=null),t})))}))},n.prototype.completeVisualOption=function(){var e=this.option,n={},i=AC.listVisualTypes(),r=this.isCategory();function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}k(e.pieces,(function(t){k(i,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),k(n,(function(t,n){var i=!1;k(this.stateList,(function(t){i=i||o(e,t,n)||o(e.target,t,n)}),this),!i&&k(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=DB(n,"inRange"===t?"active":"inactive",r)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},n.prototype._resetSelected=function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,k(i,(function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)}),this),"single"===n.selectedMode){var o=!1;k(i,(function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(o?r[n]=!1:o=!0)}),this)}},n.prototype.getItemSymbol=function(){return this.get("itemSymbol")},n.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},n.prototype.getPieceList=function(){return this._pieceList},n.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},n.prototype.setSelected=function(t){this.option.selected=w(t)},n.prototype.getValueState=function(t){var e=AC.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},n.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries((function(i){var r=[],o=i.getData();o.each(this.getDataDimensionIndex(o),(function(e,i){AC.findPieceIndex(e,n)===t&&r.push(i)}),this),e.push({seriesId:i.id,dataIndex:r})}),this),e},n.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=-Infinity===n[0]&&Infinity===n[1]?0:(n[0]+n[1])/2}return e},n.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],i=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];-Infinity!==o&&r.unshift({interval:[-Infinity,o]}),Infinity!==(o=r[r.length-1].interval[1])&&r.push({interval:[o,Infinity]})}else r.push({interval:[-Infinity,Infinity]});var a=-Infinity;return k(r,(function(t){var e=t.interval;e&&(e[0]>a&&s([a,e[0]],"outOfRange"),s(e.slice()),a=e[1])}),this),{stops:e,outerColors:n}}function s(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=t(a,o);-Infinity===r[0]?n[0]=s:Infinity===r[1]?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},n.type="visualMap.piecewise",n.defaultOption=Kh(EB.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}),n}(EB),uF={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;for(var o=(i[1]-i[0])/r;+o.toFixed(n)!==o&&n<5;)n++;e.precision=n,o=+o.toFixed(n),e.minOpen&&t.push({interval:[-Infinity,i[0]],close:[0,0]});for(var a=0,s=i[0];a","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function hF(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var cF=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,r=i.getFont(),o=i.getTextColor(),a=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),u=l.endsText,h=j(e.get("showLabel",!0),!u);u&&this._renderEndsText(t,u[0],s,h,a),k(l.viewPieceList,(function(i){var l=i.piece,u=new yr;u.onclick=N(this._onItemClick,this,l),this._enableHoverLink(u,i.indexInModelPieceList);var c=e.getRepresentValue(l);if(this._createItemSymbol(u,c,[0,0,s[0],s[1]]),h){var p=this.visualMapModel.getValueState(c);u.add(new fs({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:a,font:r,fill:o,opacity:"outOfRange"===p?.5:1}}))}t.add(u)}),this),u&&this._renderEndsText(t,u[1],s,h,a),jc(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},n.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",(function(){return i("highlight")})).on("mouseout",(function(){return i("downplay")}));var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:HB(i.findTargetDataIndices(e),i)})}},n.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return WB(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},n.prototype._renderEndsText=function(t,e,n,i,r){if(e){var o=new yr,a=this.visualMapModel.textStyleModel;o.add(new fs({style:Ih(a,{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:e})})),t.add(o)}},n.prototype._getViewData=function(){var t=this.visualMapModel,e=L(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),i=t.get("orient"),r=t.get("inverse");return("horizontal"===i?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},n.prototype._createItemSymbol=function(t,e,n){t.add(hy(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},n.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=n.selectedMode;if(i){var r=w(n.selected),o=e.getSelectedMapKey(t);"single"===i||!0===i?(r[o]=!0,k(r,(function(t,e){r[e]=e===o}))):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},n.type="visualMap.piecewise",n}(FB);function pF(t){t.registerComponentModel(lF),t.registerComponentView(cF),aF(t)}var dF={label:{enabled:!0},decal:{show:!1}},fF=ao(),gF={};function yF(t,e){var n=t.getModel("aria");if(n.get("enabled")){var i=w(dF);S(i.label,t.getLocaleModel().get("aria"),!1),S(n.option,i,!1),function(){if(n.getModel("decal").get("show")){var e=st();t.eachSeries((function(t){if(!t.isColorBySeries()){var n=e.get(t.type);n||(n={},e.set(t.type,n)),fF(t).scope=n}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if(V(e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var i=Lp(e.ecModel,e.name,gF,t.getSeriesCount()),r=n.getVisual("decal");n.setVisual("decal",u(r,i))}else{var o=e.getRawData(),a={},s=fF(e).scope;n.each((function(t){var e=n.getRawIndex(t);a[e]=t}));var l=o.count();o.each((function(t){var i=a[t],r=o.getName(t)||t+"",h=Lp(e.ecModel,r,s,l),c=n.getItemVisual(i,"decal");n.setItemVisual(i,"decal",u(c,h))}))}}function u(t,e){var n=t?I(I({},e),t):e;return n.dirty=!0,n}}))}}(),function(){var i=e.getZr().dom;if(!i)return;var o=t.getLocaleModel().get("aria"),a=n.getModel("label");if(a.option=T(a.option,o),!a.get("enabled"))return;if(a.get("description"))return void i.setAttribute("aria-label",a.get("description"));var s,l=t.getSeriesCount(),u=a.get(["data","maxCount"])||10,h=a.get(["series","maxCount"])||10,c=Math.min(l,h);if(l<1)return;var p=function(){var e=t.get("title");e&&e.length&&(e=e[0]);return e&&e.text}();s=p?r(a.get(["general","withTitle"]),{title:p}):a.get(["general","withoutTitle"]);var d=[];s+=r(l>1?a.get(["series","multiple","prefix"]):a.get(["series","single","prefix"]),{seriesCount:l}),t.eachSeries((function(e,n){if(n1?a.get(["series","multiple",o]):a.get(["series","single",o]),{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:(x=e.subType,_=t.getLocaleModel().get(["series","typeNames"]),_[x]||_.chart)});var s=e.getData();if(s.count()>u)i+=r(a.get(["data","partialData"]),{displayCnt:u});else i+=a.get(["data","allData"]);for(var h=a.get(["data","separator","middle"]),p=a.get(["data","separator","end"]),f=[],g=0;g":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},xF=function(){function t(t){var e;if(null==(this._condVal=B(t)?new RegExp(t):(e=t,"[object RegExp]"===h.call(e)?t:null))){Yr("")}}return t.prototype.evaluate=function(t){var e=typeof t;return B(e)?this._condVal.test(t):!!G(e)&&this._condVal.test(t+"")},t}(),_F=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),bF=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e2&&C.push(e),e=[t,n]}function O(t,n,i,r){RF(t,i)&&RF(n,r)||e.push(t,n,i,r,i,r)}for(var R=0;RW:X2&&C.push(e),C}function EF(t,e,n,i,r,o,a,s,l,u){if(RF(t,n)&&RF(e,i)&&RF(r,a)&&RF(o,s))l.push(a,s);else{var h=2/u,c=h*h,p=a-t,d=s-e,f=Math.sqrt(p*p+d*d);p/=f,d/=f;var g=n-t,y=i-e,v=r-a,m=o-s,x=g*g+y*y,_=v*v+m*m;if(x=0&&_-w*w=0)l.push(a,s);else{var S=[],M=[];nn(t,n,r,a,.5,S),nn(e,i,o,s,.5,M),EF(S[0],M[0],S[1],M[1],S[2],M[2],S[3],M[3],l,u),EF(S[4],M[4],S[5],M[5],S[6],M[6],S[7],M[7],l,u)}}}}function zF(t,e,n){var i=t[e],r=t[1-e],o=Math.abs(i/r),a=Math.ceil(Math.sqrt(o*n)),s=Math.floor(n/a);0===s&&(s=1,a=n);for(var l=[],u=0;u0)for(u=0;uMath.abs(u),c=zF([l,u],h?0:1,e),p=(h?s:u)/c.length,d=0;d1?null:new ue(d*l+t,d*u+e)}function GF(t,e,n){var i=new ue;ue.sub(i,n,e),i.normalize();var r=new ue;return ue.sub(r,t,e),r.dot(i)}function WF(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function HF(t){var e=t.points,n=[],i=[];la(e,n,i);var r=new me(n[0],n[1],i[0]-n[0],i[1]-n[1]),o=r.width,a=r.height,s=r.x,l=r.y,u=new ue,h=new ue;return o>a?(u.x=h.x=s+o/2,u.y=l,h.y=l+a):(u.y=h.y=l+a/2,u.x=s,h.x=s+o),function(t,e,n){for(var i=t.length,r=[],o=0;or,a=zF([i,r],o?0:1,e),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",h=o?"y":"x",c=t[s]/a.length,p=0;p0;l/=2){var u=0,h=0;(t&l)>0&&(u=1),(e&l)>0&&(h=1),s+=l*l*(3*u^h),0===h&&(1===u&&(t=l-1-t,e=l-1-e),a=t,t=e,e=a)}return s}function aG(t){var e=Infinity,n=Infinity,i=-Infinity,r=-Infinity,o=L(t,(function(t){var o=t.getBoundingRect(),a=t.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return e=Math.min(s,e),n=Math.min(l,n),i=Math.max(s,i),r=Math.max(l,r),[s,l]}));return L(o,(function(o,a){return{cp:o,z:oG(o[0],o[1],e,n,i,r),path:t[a]}})).sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function sG(t){return UF(t.path,t.count)}function lG(t){return z(t[0])}function uG(t,e){for(var n=[],i=t.length,r=0;r=0;r--)if(!n[r].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[r].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var hG={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),i=0;i0){var s,l,u=i.getModel("universalTransition").get("delay"),h=Object.assign({setToFinal:!0},a);lG(t)&&(s=t,l=e),lG(e)&&(s=e,l=t);for(var c=s?s===t:t.length>e.length,p=s?uG(l,s):uG(c?e:t,[c?t:e]),d=0,f=0;f1e4))for(var r=n.getIndices(),o=0;o0&&i.group.traverse((function(t){t instanceof Qa&&!t.animators.length&&t.animateFrom({style:{opacity:0}},r)}))}))}function bG(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function wG(t){return z(t)?t.sort().join(","):t}function SG(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function MG(t,e){for(var n=0;n=0&&r.push({dataGroupId:e.oldDataGroupIds[n],data:e.oldData[n],divide:SG(e.oldData[n]),groupIdDim:t.dimension})})),k(jr(t.to),(function(t){var i=MG(n.updatedSeries,t);if(i>=0){var r=n.updatedSeries[i].getData();o.push({dataGroupId:e.oldDataGroupIds[i],data:r,divide:SG(r),groupIdDim:t.dimension})}})),r.length>0&&o.length>0&&_G(r,o,i)}(t,i,n,e)}));else{var o=function(t,e){var n=st(),i=st(),r=st();return k(t.oldSeries,(function(e,n){var o=t.oldDataGroupIds[n],a=t.oldData[n],s=bG(e),l=wG(s);i.set(l,{dataGroupId:o,data:a}),z(s)&&k(s,(function(t){r.set(t,{key:l,dataGroupId:o,data:a})}))})),k(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.get("dataGroupId"),o=t.getData(),a=bG(t),s=wG(a),l=i.get(s);if(l)n.set(s,{oldSeries:[{dataGroupId:l.dataGroupId,divide:SG(l.data),data:l.data}],newSeries:[{dataGroupId:e,divide:SG(o),data:o}]});else if(z(a)){var u=[];k(a,(function(t){var e=i.get(t);e.data&&u.push({dataGroupId:e.dataGroupId,divide:SG(e.data),data:e.data})})),u.length&&n.set(s,{oldSeries:u,newSeries:[{dataGroupId:e,data:o,divide:SG(o)}]})}else{var h=r.get(a);if(h){var c=n.get(h.key);c||(c={oldSeries:[{dataGroupId:h.dataGroupId,data:h.data,divide:SG(h.data)}],newSeries:[]},n.set(h.key,c)),c.newSeries.push({dataGroupId:e,data:o,divide:SG(o)})}}}})),n}(i,n);k(o.keys(),(function(t){var n=o.get(t);_G(n.oldSeries,n.newSeries,e)}))}k(n.updatedSeries,(function(t){t[Bf]&&(t[Bf]=!1)}))}for(var a=t.getSeries(),s=i.oldSeries=[],l=i.oldDataGroupIds=[],u=i.oldData=[],h=0;hc))return!1;var f=o.get(e),s=o.get(t);if(f&&s)return f==t&&s==e;var b=-1,h=!0,p=2&r?new l:void 0;for(o.set(e,t),o.set(t,e);++bp[0]||(p[0]=[l("示例源码 请点击>>>>")]))),_:1}),r(c,{closable:!1,title:"菜单一级"},{default:s((()=>[r(d)])),_:1})])}]]);export{p as default}; diff --git a/static/js/level2.CXm5yCsd.js b/static/js/level2.CXm5yCsd.js new file mode 100644 index 0000000000000000000000000000000000000000..97d8940dbe3fcdd3d96387a679febe0708a67a83 --- /dev/null +++ b/static/js/level2.CXm5yCsd.js @@ -0,0 +1 @@ +import{av as e,c as s,e as t,a0 as r,w as a}from"./index.9PHSMUIB.js";import{E as o}from"./el-alert.IAJrxUBM.js";import{_ as i}from"./_plugin-vue_export-helper.BCo6x5W8.js";const l={style:{padding:"30px"}};const n=i({},[["render",function(i,n){const p=e("router-view"),c=o;return s(),t("div",l,[r(c,{closable:!1,title:"菜单二级",type:"success"},{default:a((()=>[r(p)])),_:1})])}]]);export{n as default}; diff --git a/static/js/level3-1.veb2CjDd.js b/static/js/level3-1.veb2CjDd.js new file mode 100644 index 0000000000000000000000000000000000000000..d716009d058ca5e169f62e987be5fe1c52208f74 --- /dev/null +++ b/static/js/level3-1.veb2CjDd.js @@ -0,0 +1 @@ +import{c as e,e as r,a0 as t}from"./index.9PHSMUIB.js";import{E as o}from"./el-alert.IAJrxUBM.js";import{_ as s}from"./_plugin-vue_export-helper.BCo6x5W8.js";const a={style:{padding:"30px"}};const n=s({},[["render",function(s,n){const p=o;return e(),r("div",a,[t(p,{closable:!1,title:"菜单三级-1",type:"error"})])}]]);export{n as default}; diff --git a/static/js/level3-2.ehpMX2NG.js b/static/js/level3-2.ehpMX2NG.js new file mode 100644 index 0000000000000000000000000000000000000000..8ffe088b21e400fdf2b9c552bcc56454d30f4823 --- /dev/null +++ b/static/js/level3-2.ehpMX2NG.js @@ -0,0 +1 @@ +import{c as e,e as t,a0 as r}from"./index.9PHSMUIB.js";import{E as s}from"./el-alert.IAJrxUBM.js";import{_ as o}from"./_plugin-vue_export-helper.BCo6x5W8.js";const a={style:{padding:"30px"}};const n=o({},[["render",function(o,n){const i=s;return e(),t("div",a,[r(i,{closable:!1,title:"菜单三级-2",type:"warning"})])}]]);export{n as default}; diff --git a/static/js/link.BEFJAS5U.js b/static/js/link.BEFJAS5U.js new file mode 100644 index 0000000000000000000000000000000000000000..c40841f48ab0c92b9fc4c0304193b85b99b0d0c2 --- /dev/null +++ b/static/js/link.BEFJAS5U.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cpath%20d='M611.2%20368%20316.8%20662.4c-6.4%206.4-9.6%2016-9.6%2022.4s3.2%2016%209.6%2022.4%2016%209.6%2022.4%209.6%2016-3.2%2022.4-9.6L656%20412.8c6.4-6.4%209.6-16%209.6-22.4s-3.2-16-9.6-22.4c-12.8-12.8-32-12.8-44.8%200z'/%3e%3cpath%20d='m608%20755.2-99.2%2099.2c-96%2096-249.6%2096-342.4%203.2-92.8-92.8-92.8-246.4%203.2-342.4l99.2-99.2c12.8-12.8%2012.8-32%200-44.8s-32-12.8-44.8%200l-99.2%2099.2C3.2%20592%203.2%20784%20121.6%20902.4%20179.2%20960%20259.2%20992%20336%20992c80%200%20156.8-28.8%20217.6-89.6l99.2-99.2c12.8-12.8%2012.8-32%200-44.8s-32-16-44.8-3.2zm294.4-633.6C844.8%2064%20771.2%2035.2%20688%2035.2h-3.2c-83.2%200-160%2035.2-217.6%2092.8l-96%2096c-12.8%2012.8-12.8%2032%200%2044.8s32%2012.8%2044.8%200l96-96c48-48%20108.8-73.6%20172.8-73.6h3.2c64%200%20121.6%2025.6%20166.4%2070.4%2092.8%2092.8%2092.8%20246.4-3.2%20345.6l-96%2096c-12.8%2012.8-12.8%2032%200%2044.8%206.4%206.4%2016%209.6%2022.4%209.6s16-3.2%2022.4-9.6l96-96c121.6-124.8%20124.8-320%206.4-438.4z'/%3e%3c/svg%3e";export{c as default}; diff --git a/static/js/lock.CY-ba69F.js b/static/js/lock.CY-ba69F.js new file mode 100644 index 0000000000000000000000000000000000000000..5f458a4634e952d66c57eb13ffe41b4071dd9201 --- /dev/null +++ b/static/js/lock.CY-ba69F.js @@ -0,0 +1 @@ +const a="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='1em'%20height='1em'%20viewBox='0%200%201024%201024'%3e%3cpath%20fill='currentColor'%20d='M224%20448a32%2032%200%200%200-32%2032v384a32%2032%200%200%200%2032%2032h576a32%2032%200%200%200%2032-32V480a32%2032%200%200%200-32-32zm0-64h576a96%2096%200%200%201%2096%2096v384a96%2096%200%200%201-96%2096H224a96%2096%200%200%201-96-96V480a96%2096%200%200%201%2096-96'/%3e%3cpath%20fill='currentColor'%20d='M512%20544a32%2032%200%200%201%2032%2032v192a32%2032%200%201%201-64%200V576a32%2032%200%200%201%2032-32m192-160v-64a192%20192%200%201%200-384%200v64zM512%2064a256%20256%200%200%201%20256%20256v128H256V320A256%20256%200%200%201%20512%2064'/%3e%3c/svg%3e";export{a as default}; diff --git a/static/js/menu.CSAxtYMZ.js b/static/js/menu.CSAxtYMZ.js new file mode 100644 index 0000000000000000000000000000000000000000..8db4968fa96957718187e2fa7c81dcf9e00c2e60 --- /dev/null +++ b/static/js/menu.CSAxtYMZ.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cpath%20d='M374.272%20440.832H127.488c-33.792%200-61.44-27.648-61.44-61.44V132.608c0-33.792%2027.648-61.44%2061.44-61.44h247.296c33.792%200%2061.44%2027.648%2061.44%2061.44v247.296c-.512%2033.792-27.648%2060.928-61.952%2060.928zM127.488%20132.608v247.296h247.296V132.608H127.488zM762.88%20492.032c-16.384%200-31.744-6.144-43.52-17.92L544.768%20299.52c-11.776-11.776-17.92-27.136-17.92-43.52s6.144-31.744%2017.92-43.52L719.36%2037.888c11.776-11.776%2027.136-17.92%2043.52-17.92s31.744%206.144%2043.52%2017.92L980.992%20212.48c11.776%2011.776%2017.92%2027.136%2017.92%2043.52s-6.144%2031.744-17.92%2043.52L806.4%20474.112c-11.776%2011.776-27.136%2017.92-43.52%2017.92zm0-410.624L588.288%20256%20762.88%20430.592%20937.472%20256%20762.88%2081.408zM374.272%20952.832H127.488c-33.792%200-61.44-27.648-61.44-61.44V644.096c0-33.792%2027.648-61.44%2061.44-61.44h247.296c33.792%200%2061.44%2027.648%2061.44%2061.44v247.296c-.512%2034.304-27.648%2061.44-61.952%2061.44zM127.488%20644.608v247.296h247.296V644.608H127.488zm758.784%20308.224H638.976c-33.792%200-61.44-27.648-61.44-61.44V644.096c0-33.792%2027.648-61.44%2061.44-61.44h247.296c33.792%200%2061.44%2027.648%2061.44%2061.44v247.296c0%2034.304-27.136%2061.44-61.44%2061.44zM639.488%20644.608v247.296h247.296V644.608H639.488z'/%3e%3c/svg%3e";export{c as default}; diff --git a/static/js/message.DnO64dGf.js b/static/js/message.DnO64dGf.js new file mode 100644 index 0000000000000000000000000000000000000000..95bd840419e437d53e4df34fb7cea34e87dea31d --- /dev/null +++ b/static/js/message.DnO64dGf.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cpath%20d='M0%20512a512%20512%200%201%200%201024%200A512%20512%200%201%200%200%20512z'%20fill='%2350DCB6'/%3e%3cpath%20d='M790.148%20502.822c0-30.856-25.013-55.87-55.869-55.87H483.666c-30.855%200-55.869%2025.014-55.869%2055.87v158.432c0%2030.856%2025.014%2055.87%2055.87%2055.87h229.557a47.894%2047.894%200%200%201%2026.28%207.854l35.81%2023.508c6.37%204.18%2014.834-.388%2014.834-8.007V502.822z'%20fill='%23FFF'%20fill-opacity='.4'/%3e%3cpath%20d='M233.852%20320.848c0-30.856%2025.013-55.869%2055.869-55.869h366.341c30.856%200%2055.87%2025.013%2055.87%2055.869v245.026c0%2030.855-25.014%2055.869-55.87%2055.869h-325.28a47.894%2047.894%200%200%200-26.295%207.865l-55.799%2036.66c-6.369%204.185-14.836-.384-14.836-8.004V320.848z'%20fill='%23FFF'/%3e%3cpath%20d='M323.242%20446.952a34.32%2034.32%200%201%200%2068.64%200%2034.32%2034.32%200%201%200-68.64%200zm115.729%200a34.32%2034.32%200%201%200%2068.64%200%2034.32%2034.32%200%201%200-68.64%200zm115.729%200a34.32%2034.32%200%201%200%2068.639%200%2034.32%2034.32%200%201%200-68.64%200z'%20fill='%2346D7B0'/%3e%3c/svg%3e";export{c as default}; diff --git a/static/js/money.eznkHcT4.js b/static/js/money.eznkHcT4.js new file mode 100644 index 0000000000000000000000000000000000000000..69f87ca38633c540881b14c8ed70557024384ccb --- /dev/null +++ b/static/js/money.eznkHcT4.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cpath%20d='M0%20512a512%20512%200%201%200%201024%200A512%20512%200%201%200%200%20512z'%20fill='%23FF822B'/%3e%3cpath%20d='M324.409%20655.019c180.881%200%20327.51-146.631%20327.51-327.51%200-152.138-103.734-280.047-244.33-316.854C205.813%2052.464%2047.496%20213.018%208.986%20415.982c38.6%20137.898%20165.196%20239.037%20315.422%20239.037z'%20fill='%23FFF'%20fill-opacity='.2'/%3e%3cpath%20d='M512%201024c282.767%200%20512-229.233%20512-512%200-31.766-2.891-62.854-8.434-93.019-87.509-82.881-205.691-133.718-335.742-133.718-269.71%200-488.357%20218.645-488.357%20488.357%200%2054.96%209.084%20107.803%2025.823%20157.104C300.627%20989.489%20402.283%201024%20512%201024z'%20fill='%23FFF'%20fill-opacity='.15'/%3e%3cpath%20d='M732.536%20756.566c36.39%200%2065.89-29.5%2065.89-65.89%200%2036.39%2029.502%2065.89%2065.889%2065.89-17.054%200-65.89%2029.503-65.89%2065.89%200-36.387-29.5-65.89-65.889-65.89zM159.686%20247.28c25.686%200%2046.51-20.823%2046.51-46.51%200%2025.687%2020.823%2046.51%2046.51%2046.51-12.037%200-46.51%2020.824-46.51%2046.51%200-25.686-20.824-46.51-46.51-46.51z'%20fill='%23FFF'%20fill-opacity='.5'/%3e%3cpath%20d='M206.195%20333.323c8.563%200%2015.504-6.94%2015.504-15.503%200%208.562%206.94%2015.503%2015.503%2015.503-4.012%200-15.503%206.941-15.503%2015.504%200-8.563-6.941-15.504-15.504-15.504z'%20fill='%23FFF'%20fill-opacity='.3'/%3e%3cpath%20d='M802.301%20726.987c0%208.11-1.387%2015.686-4.155%2022.728-2.775%207.043-6.713%2013.232-11.829%2018.566-5.116%205.336-11.085%209.494-17.905%2012.486-6.821%202.984-14.281%204.48-22.38%204.48H281.805c-8.1%200-15.773-1.496-23.019-4.48-7.247-2.992-13.641-7.15-19.183-12.486-5.542-5.334-9.912-11.523-13.108-18.566-3.198-7.042-4.796-14.618-4.796-22.728v-319.47c0-16.218%205.648-29.983%2016.945-41.294%2011.296-11.31%2025.044-16.965%2041.243-16.965h464.226c16.199%200%2029.947%205.655%2041.243%2016.965%2011.294%2011.311%2016.945%2025.076%2016.945%2041.295v87.07h-145.15c-16.2%200-29.947%205.548-41.243%2016.645-11.297%2011.098-16.946%2024.755-16.946%2040.974.427%2011.098%202.772%2020.914%207.034%2029.45%203.41%207.256%209.059%2013.872%2016.945%2019.847%207.886%205.976%2019.29%208.964%2034.21%208.964H802.3v116.52zm-86.962-407.18H425.038c23.019-11.95%2044.76-23.474%2065.222-34.571a6020.558%206020.558%200%200%200%2053.072-28.17c17.478-9.39%2031.119-16.646%2040.924-21.768%2014.92-8.109%2028.241-11.844%2039.964-11.203%2011.723.64%2021.634%202.667%2029.734%206.082%209.378%204.694%2017.478%2010.883%2024.298%2018.566l37.087%2071.064zm-86.963%20232.4c0-8.109%202.77-14.938%208.313-20.487%205.542-5.548%2012.362-8.323%2020.462-8.323s14.92%202.775%2020.461%208.323c5.543%205.549%208.313%2012.378%208.313%2020.487%200%208.11-2.77%2015.046-8.313%2020.807-5.542%205.762-12.362%208.644-20.461%208.644-8.1%200-14.92-2.882-20.462-8.644-5.542-5.761-8.313-12.697-8.313-20.807z'%20fill='%23FFF'/%3e%3c/svg%3e";export{c as default}; diff --git a/static/js/monitor.Cm5WDh5_.js b/static/js/monitor.Cm5WDh5_.js new file mode 100644 index 0000000000000000000000000000000000000000..1dadd31e7fec985a5e20d933df403bb6850e92d1 --- /dev/null +++ b/static/js/monitor.Cm5WDh5_.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cdefs%3e%3cstyle%3e@font-face{font-family:rbicon;src:url(chrome-extension://dipiagiiohfljcicegpgffpbnjmgjcnf/fonts/rbicon.woff2)%20format("woff2");font-weight:400;font-style:normal}%3c/style%3e%3c/defs%3e%3cpath%20d='M64%2064v576h832V64H64zM0%200h960v704H0V0z'/%3e%3cpath%20d='M192%20896h576v64H192zm256-256h64v256h-64zm31.232-78.396%20309.99-348.33-47.803-42.548-259.567%20291.67-177.895-222.387L163.21%20438.605l52.224%2037.009%2091.622-129.28z'/%3e%3c/svg%3e";export{e as default}; diff --git a/static/js/moon.BACaCO3C.js b/static/js/moon.BACaCO3C.js new file mode 100644 index 0000000000000000000000000000000000000000..0eea041acb75290f18e0c142c2f18ffe17d5cd3d --- /dev/null +++ b/static/js/moon.BACaCO3C.js @@ -0,0 +1 @@ +const a="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='currentColor'%3e%3cpath%20d='M10%207a7%207%200%200%200%2012%204.9v.1c0%205.523-4.477%2010-10%2010S2%2017.523%202%2012%206.477%202%2012%202h.1A6.98%206.98%200%200%200%2010%207zm-6%205a8%208%200%200%200%2015.062%203.762A9%209%200%200%201%208.238%204.938%207.999%207.999%200%200%200%204%2012z'/%3e%3c/svg%3e";export{a as default}; diff --git a/static/js/node.B7CBv-vw.js b/static/js/node.B7CBv-vw.js new file mode 100644 index 0000000000000000000000000000000000000000..0a46a8264b40a3cce93087df291e74156b6e511e --- /dev/null +++ b/static/js/node.B7CBv-vw.js @@ -0,0 +1 @@ +import{b as e,H as a,U as l,J as o,b7 as s,b6 as d,L as t,r as n,j as u,B as i,bZ as r,R as p,S as v,aa as c,d as b,a as m,c as f,e as y,k as g,Z as h,b_ as V,g as B,aO as k,n as S,ad as C,f as R,a4 as _,t as x,_ as G,Y as E,G as I,I as U,b2 as z,Q as w,V as F,o as K,p as L,X as N,be as $,C as A,a8 as j,s as T,v as Z,bd as q}from"./index.9PHSMUIB.js";const D=e({modelValue:{type:[String,Number,Boolean],default:void 0},size:a,disabled:Boolean,label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),H=e({...D,border:Boolean}),J={[l]:e=>o(e)||s(e)||d(e),[t]:e=>o(e)||s(e)||d(e)},O=Symbol("radioGroupKey"),Q=(e,a)=>{const o=n(),s=u(O,void 0),d=i((()=>!!s)),t=i((()=>r(e.value)?e.label:e.value)),b=i({get:()=>d.value?s.modelValue:e.modelValue,set(n){d.value?s.changeEvent(n):a&&a(l,n),o.value.checked=e.modelValue===t.value}}),m=p(i((()=>null==s?void 0:s.size))),f=v(i((()=>null==s?void 0:s.disabled))),y=n(!1),g=i((()=>f.value||d.value&&b.value!==t.value?-1:0));return c({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},i((()=>d.value&&r(e.value)))),{radioRef:o,isGroup:d,radioGroup:s,focus:y,size:m,disabled:f,tabIndex:g,modelValue:b,actualValue:t}},X=b({name:"ElRadio"});var Y=G(b({...X,props:H,emits:J,setup(e,{emit:a}){const l=e,o=m("radio"),{radioRef:s,radioGroup:d,focus:t,size:n,disabled:u,modelValue:i,actualValue:r}=Q(l,a);function p(){E((()=>a("change",i.value)))}return(e,a)=>{var l;return f(),y("label",{class:S([B(o).b(),B(o).is("disabled",B(u)),B(o).is("focus",B(t)),B(o).is("bordered",e.border),B(o).is("checked",B(i)===B(r)),B(o).m(B(n))])},[g("span",{class:S([B(o).e("input"),B(o).is("disabled",B(u)),B(o).is("checked",B(i)===B(r))])},[h(g("input",{ref_key:"radioRef",ref:s,"onUpdate:modelValue":e=>k(i)?i.value=e:null,class:S(B(o).e("original")),value:B(r),name:e.name||(null==(l=B(d))?void 0:l.name),disabled:B(u),checked:B(i)===B(r),type:"radio",onFocus:e=>t.value=!0,onBlur:e=>t.value=!1,onChange:p,onClick:C((()=>{}),["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","checked","onFocus","onBlur","onClick"]),[[V,B(i)]]),g("span",{class:S(B(o).e("inner"))},null,2)],2),g("span",{class:S(B(o).e("label")),onKeydown:C((()=>{}),["stop"])},[R(e.$slots,"default",{},(()=>[_(x(e.label),1)]))],42,["onKeydown"])],2)}}}),[["__file","radio.vue"]]);const M=e({...D}),P=b({name:"ElRadioButton"});var W=G(b({...P,props:M,setup(e){const a=e,l=m("radio"),{radioRef:o,focus:s,size:d,disabled:t,modelValue:n,radioGroup:u,actualValue:r}=Q(a),p=i((()=>({backgroundColor:(null==u?void 0:u.fill)||"",borderColor:(null==u?void 0:u.fill)||"",boxShadow:(null==u?void 0:u.fill)?`-1px 0 0 0 ${u.fill}`:"",color:(null==u?void 0:u.textColor)||""})));return(e,a)=>{var i;return f(),y("label",{class:S([B(l).b("button"),B(l).is("active",B(n)===B(r)),B(l).is("disabled",B(t)),B(l).is("focus",B(s)),B(l).bm("button",B(d))])},[h(g("input",{ref_key:"radioRef",ref:o,"onUpdate:modelValue":e=>k(n)?n.value=e:null,class:S(B(l).be("button","original-radio")),value:B(r),type:"radio",name:e.name||(null==(i=B(u))?void 0:i.name),disabled:B(t),onFocus:e=>s.value=!0,onBlur:e=>s.value=!1,onClick:C((()=>{}),["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","onFocus","onBlur","onClick"]),[[V,B(n)]]),g("span",{class:S(B(l).be("button","inner")),style:I(B(n)===B(r)?B(p):{}),onKeydown:C((()=>{}),["stop"])},[R(e.$slots,"default",{},(()=>[_(x(e.label),1)]))],46,["onKeydown"])],2)}}}),[["__file","radio-button.vue"]]);const ee=e({id:{type:String,default:void 0},size:a,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},...U(["ariaLabel"])}),ae=J,le=b({name:"ElRadioGroup"});var oe=G(b({...le,props:ee,emits:ae,setup(e,{emit:a}){const o=e,s=m("radio"),d=z(),t=n(),{formItem:u}=w(),{inputId:r,isLabeledByFormItem:p}=F(o,{formItemContext:u});K((()=>{const e=t.value.querySelectorAll("[type=radio]"),a=e[0];!Array.from(e).some((e=>e.checked))&&a&&(a.tabIndex=0)}));const v=i((()=>o.name||d.value));return L(O,N({...$(o),changeEvent:e=>{a(l,e),E((()=>a("change",e)))},name:v})),A((()=>o.modelValue),(()=>{o.validateEvent&&(null==u||u.validate("change").catch((e=>j())))})),(e,a)=>(f(),y("div",{id:B(r),ref_key:"radioGroupRef",ref:t,class:S(B(s).b("group")),role:"radiogroup","aria-label":B(p)?void 0:e.ariaLabel||"radio-group","aria-labelledby":B(p)?B(u).labelId:void 0},[R(e.$slots,"default")],10,["id","aria-label","aria-labelledby"]))}}),[["__file","radio-group.vue"]]);const se=T(Y,{RadioButton:W,RadioGroup:oe}),de=Z(oe);function te(){return q({url:"/api/v1/nodes/get",method:"get"})}function ne(e){return q({url:"/api/v1/nodes/add",method:"post",data:e,headers:{"Content-Type":"multipart/form-data"}})}function ue(e){return q({url:"/api/v1/nodes/update",method:"post",data:e,headers:{"Content-Type":"multipart/form-data"}})}function ie(e){return q({url:"/api/v1/nodes/delete",method:"delete",params:e})}Z(W);export{ne as A,ie as D,se as E,ue as U,de as a,te as g}; diff --git a/static/js/nodes.BvTKFj9V.js b/static/js/nodes.BvTKFj9V.js new file mode 100644 index 0000000000000000000000000000000000000000..bcca60612a80e7313f1f7763886c5ef4f6fe6ab8 --- /dev/null +++ b/static/js/nodes.BvTKFj9V.js @@ -0,0 +1 @@ +import{d as e,r as a,o as l,B as t,c as o,e as s,a0 as u,w as i,k as n,a4 as r,l as m,a1 as p,g as d,t as v,aA as c,Y as f,aI as y,a2 as g,a3 as _}from"./index.9PHSMUIB.js";import{E as k}from"./el-card.DWbysKpS.js";import{E as j,a as w,b as C}from"./el-table-column.haX2jq5s.js";import{E as h}from"./el-tag.CLWce1kX.js";import"./el-select.dUFpYm6H.js";import"./el-scrollbar.DlPh6Z7D.js";import"./el-popper.e9kr8u9Q.js";import"./el-tooltip.l0sNRNKZ.js";import{E as x}from"./el-dialog.Dis4ipFy.js";import{g as b,A as V,U as z,D,E as I,a as E}from"./node.B7CBv-vw.js";import{_ as U}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./isEqual.DDyRMzJ4.js";import"./_initCloneObject.cf8iq1wq.js";import"./debounce.i1DMUZzi.js";import"./index.D7zGuEZp.js";import"./strings.CQ_np2th.js";import"./castArray.BN0gQOTw.js";import"./index.D6nSmJHY.js";import"./isUndefined.DgmxjSXK.js";import"./use-dialog.CybRpRek.js";import"./refs.CNClepWF.js";const B={class:"dialog-footer"},N=U(e({__name:"nodes",setup(e){const U=a([]),N=a(""),S=a(""),A=a(""),O=a(""),T=a(!1),K=a(),L=a(""),R=a("1");async function H(){const{data:e}=await b();U.value=e}l((async()=>{H()}));const q=()=>{L.value="添加节点",N.value="",A.value="",R.value="1",T.value=!0},F=async()=>{let e=N.value.split(/[\r\n,]/);if(e=e.map((e=>e.trim())).filter((e=>""!==e)),"添加节点"==L.value){if("1"===R.value){if(""===A.value.trim())return void c.error("备注不能为空");e&&(N.value=e.join(","),await V({link:N.value.trim(),name:A.value.trim()}))}else for(let a=0;a{G.value=e},Q=()=>{0!==G.value.length&&y.confirm("你是否要删除选中这些 ?","提示",{confirmButtonText:"OK",cancelButtonText:"Cancel",type:"warning"}).then((()=>{for(let e=0;ea.ID!==G.value[e].ID));c({type:"success",message:"删除成功"})}))},Y=a(1),$=a(10),M=e=>{$.value=e},P=e=>{Y.value=e},W=t((()=>{const e=(Y.value-1)*$.value,a=e+$.value;return U.value.slice(e,a)})),X=e=>{(e=>{const a=document.createElement("textarea");a.value=e,document.body.appendChild(a),a.select();try{const e=document.execCommand("copy");c({type:e?"success":"warning",message:e?"复制成功!":"复制失败!"})}catch(l){c({type:"warning",message:"复制失败!"})}finally{document.body.removeChild(a)}})(e.Link)};return(e,a)=>{const l=g,t=I,b=E,V=_,z=x,G=j,Z=h,ee=w,ae=C,le=k;return o(),s("div",null,[u(z,{modelValue:T.value,"onUpdate:modelValue":a[4]||(a[4]=e=>T.value=e),title:L.value,width:"80%"},{footer:i((()=>[n("div",B,[u(V,{onClick:a[3]||(a[3]=e=>T.value=!1)},{default:i((()=>a[9]||(a[9]=[r("关闭")]))),_:1}),u(V,{type:"primary",onClick:F},{default:i((()=>a[10]||(a[10]=[r("确定")]))),_:1})])])),default:i((()=>[u(l,{modelValue:N.value,"onUpdate:modelValue":a[0]||(a[0]=e=>N.value=e),placeholder:"请输入节点多行使用回车或逗号分开,支持base64格式的url订阅",type:"textarea",style:{"margin-bottom":"10px"},autosize:{minRows:2,maxRows:10}},null,8,["modelValue"]),"添加节点"==L.value?(o(),m(b,{key:0,modelValue:R.value,"onUpdate:modelValue":a[1]||(a[1]=e=>R.value=e),class:"ml-4"},{default:i((()=>[u(t,{value:"1",size:"large"},{default:i((()=>a[7]||(a[7]=[r("合并")]))),_:1}),u(t,{value:"2",size:"large"},{default:i((()=>a[8]||(a[8]=[r("分开")]))),_:1})])),_:1},8,["modelValue"])):p("",!0),"2"!=R.value?(o(),m(l,{key:1,modelValue:A.value,"onUpdate:modelValue":a[2]||(a[2]=e=>A.value=e),placeholder:"请输入备注"},null,8,["modelValue"])):p("",!0)])),_:1},8,["modelValue","title"]),u(le,null,{default:i((()=>[u(V,{type:"primary",onClick:q},{default:i((()=>a[11]||(a[11]=[r("添加节点")]))),_:1}),a[18]||(a[18]=n("div",{style:{"margin-bottom":"10px"}},null,-1)),u(ee,{ref_key:"table",ref:K,data:d(W),style:{width:"100%"},onSelectionChange:J},{default:i((()=>[u(G,{type:"selection",fixed:"",prop:"ID",label:"id"}),u(G,{prop:"Name",label:"备注"},{default:i((e=>[u(Z,{type:"success"},{default:i((()=>[r(v(e.row.Name),1)])),_:2},1024)])),_:1}),u(G,{prop:"Link",label:"节点",sortable:"","show-overflow-tooltip":!0}),u(G,{prop:"CreateDate",label:"创建时间",sortable:""}),u(G,{fixed:"right",label:"操作",width:"120"},{default:i((e=>[u(V,{link:"",type:"primary",size:"small",onClick:a=>X(e.row)},{default:i((()=>a[12]||(a[12]=[r("复制")]))),_:2},1032,["onClick"]),u(V,{link:"",type:"primary",size:"small",onClick:a=>(e=>{R.value="1";for(let a=0;aa[13]||(a[13]=[r("编辑")]))),_:2},1032,["onClick"]),u(V,{link:"",type:"primary",size:"small",onClick:a=>{return l=e.row,void y.confirm(`你是否要删除 ${l.Name} ?`,"提示",{confirmButtonText:"OK",cancelButtonText:"Cancel",type:"warning"}).then((async()=>{await D({id:l.ID}),c({type:"success",message:"删除成功"}),H()}));var l}},{default:i((()=>a[14]||(a[14]=[r("删除")]))),_:2},1032,["onClick"])])),_:1})])),_:1},8,["data"]),a[19]||(a[19]=n("div",{style:{"margin-top":"20px"}},null,-1)),u(V,{type:"info",onClick:a[5]||(a[5]=e=>{f((()=>{U.value.forEach((e=>{K.value.toggleRowSelection(e,!0)}))}))})},{default:i((()=>a[15]||(a[15]=[r("全选")]))),_:1}),u(V,{type:"warning",onClick:a[6]||(a[6]=e=>{K.value.clearSelection()})},{default:i((()=>a[16]||(a[16]=[r("取消选择")]))),_:1}),u(V,{type:"danger",onClick:Q},{default:i((()=>a[17]||(a[17]=[r("批量删除")]))),_:1}),a[20]||(a[20]=n("div",{style:{"margin-top":"20px"}},null,-1)),u(ae,{onSizeChange:M,onCurrentChange:P,"current-page":Y.value,"page-size":$.value,layout:"total, sizes, prev, pager, next, jumper","page-sizes":[10,20,30,40],total:U.value.length},null,8,["current-page","page-size","total"])])),_:1})])}}}),[["__scopeId","data-v-e6fb1451"]]);export{N as default}; diff --git a/static/js/order.BSEhtWEN.js b/static/js/order.BSEhtWEN.js new file mode 100644 index 0000000000000000000000000000000000000000..24d990ada401158f64633faf8fde3afdb3159688 --- /dev/null +++ b/static/js/order.BSEhtWEN.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cpath%20d='M0%20512a512%20512%200%201%200%201024%200A512%20512%200%201%200%200%20512z'%20fill='%23F15BB5'/%3e%3cpath%20d='m772%20432.8-7.9-63.3v-.2c-.1-1-.4-2.1-.7-3.1v-.3l-.2-.4-25.7-72.1c-.3-.7-.6-1.5-1-2.2-7-14.4-21.5-23.7-37.5-24h-24.1c-10%200-18.6%207.8-18.9%2017.8-.4%2010.5%208%2019.1%2018.4%2019.1H699c1.9.3%203.4%201.4%204.2%203.1l13.5%2037.9c.7%201.9.4%203.9-.7%205.6-1.1%201.6-3%202.6-5%202.6h-67.3c-3.5%200-6.2-2.8-6.2-6.2v-24.5c0-67.9-55.1-123-123-123s-123%2055.1-123%20123v24.5c0%203.5-2.8%206.2-6.2%206.2h-69.8c-3.4%200-6.2-2.8-6.2-6.2%200-.8.2-1.6.5-2.3l15.5-36.8c.7-2.1%202.5-3.5%204.7-3.9h24.1c10%200%2018.6-7.8%2018.9-17.8.4-10.5-8-19.1-18.4-19.1H330c-16.5.5-31.3%2010.2-38.1%2025.3l-30.6%2072.1v.2c-.2.4-.3.8-.5%201.2v.4c-.3%201-.6%202.1-.7%203.1l-39%20310.8c-6.4%2050.5%2029.5%2096.7%2080.1%20103%203.8.5%207.7.7%2011.5.7h94.5C514.8%20718.5%20680.7%20597.9%20772%20432.8zM440.7%20322.5c0-41%2033.3-74.1%2074.3-73.8%2040.7.3%2073.3%2034.1%2073.3%2074.8V347c0%203.5-2.8%206.2-6.2%206.2H446.9c-3.5%200-6.2-2.8-6.2-6.2v-24.5zm152.7%20257L514%20662.4c-2.3%202.4-6.3%202.5-8.7.2l-.2-.2-79.4-82.9c-15.1-15.1-18.8-38.2-9.3-57.3%2013.4-26.8%2047.7-36.1%2073.3-18.2%202.3%201.6%204.4%203.5%206.4%205.5l9.2%209.2c2.4%202.4%206.3%202.4%208.7%200l9.4-9.4c19.4-19.4%2050.8-19.4%2070.2%200%2019.3%2019.4%2019.3%2050.8-.2%2070.2z'%20fill='%23FFFDF3'/%3e%3cpath%20d='M803.7%20691.6c0-3.8-.3-7.7-.7-11.4l-31-247.4c-91.3%20165.1-257.2%20285.7-364.8%20351h304.1c51%200%2092.4-41.2%2092.4-92.2z'%20fill='%23FFF'%20opacity='.9'/%3e%3c/svg%3e";export{c as default}; diff --git a/static/js/peoples.B_DDm2CM.js b/static/js/peoples.B_DDm2CM.js new file mode 100644 index 0000000000000000000000000000000000000000..3be81ea92d8d66f5eaaf0bda32cb454bc761ae69 --- /dev/null +++ b/static/js/peoples.B_DDm2CM.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cpath%20d='M520.235%20504.577c51.305-33.512%2085.254-91.477%2085.254-157.301%200-103.485-84.273-187.757-187.758-187.757S229.974%20243.79%20229.974%20347.275c0%2065.715%2033.95%20123.68%2085.255%20157.301-47.266%2015.72-90.603%2042.245-126.845%2078.486-61.24%2061.24-94.97%20142.675-94.97%20229.239%200%2013.318%2010.698%2024.016%2024.015%2024.016s24.015-10.699%2024.015-24.016c0-152.28%20123.899-276.177%20276.178-276.177S693.801%20660.02%20693.801%20812.302c0%2013.318%2010.697%2024.016%2024.014%2024.016s24.016-10.699%2024.016-24.016c0-86.564-33.73-168-94.97-229.237-36.024-36.134-79.36-62.768-126.627-78.488zm-242.23-157.192c0-77.067%2062.658-139.726%20139.726-139.726s139.727%2062.658%20139.727%20139.726-62.66%20139.726-139.727%20139.726c-76.958%200-139.726-62.659-139.726-139.726z'/%3e%3cpath%20d='M871.406%20599.002a323.731%20323.731%200%200%200-150.643-119.86c27.072-40.28%2041.481-87.765%2041.045-136.778-.437-59.602-22.706-116.694-62.55-160.795-8.95-9.824-24.124-10.589-33.95-1.637-9.823%208.951-10.587%2024.125-1.637%2033.949%2066.7%2073.575%2067.135%20185.138.983%20259.477-1.528%201.746-2.837%203.71-3.712%205.675-1.2%201.856-2.074%203.93-2.729%206.222-3.492%2012.773%204.15%2025.981%2016.92%2029.474C807.11%20550.097%20892.366%20674.323%20878.065%20809.9c-1.419%2013.208%208.188%2024.998%2021.396%2026.417.873.109%201.746.109%202.51.109%2012.117%200%2022.597-9.17%2023.907-21.504%207.968-75.868-11.353-152.608-54.471-215.921z'/%3e%3c/svg%3e";export{c as default}; diff --git a/static/js/position.CopxYfyp.js b/static/js/position.CopxYfyp.js new file mode 100644 index 0000000000000000000000000000000000000000..b35b5745d620b8af719f58c50d4641af9e76ff40 --- /dev/null +++ b/static/js/position.CopxYfyp.js @@ -0,0 +1 @@ +import{z as t}from"./index.9PHSMUIB.js";const e=(e,n)=>{if(!t||!e||!n)return!1;const i=e.getBoundingClientRect();let o;return o=n instanceof Element?n.getBoundingClientRect():{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},i.topo.top&&i.right>o.left&&i.left{let e,n;return"touchend"===t.type?(n=t.changedTouches[0].clientY,e=t.changedTouches[0].clientX):t.type.startsWith("touch")?(n=t.touches[0].clientY,e=t.touches[0].clientX):(n=t.clientY,e=t.clientX),{clientX:e,clientY:n}};export{n as g,e as i}; diff --git a/static/js/project.BeKcDOO0.js b/static/js/project.BeKcDOO0.js new file mode 100644 index 0000000000000000000000000000000000000000..454378030fe4e78a71588f3b81debc08404cffd5 --- /dev/null +++ b/static/js/project.BeKcDOO0.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cpath%20d='M0%20512a512%20512%200%201%200%201024%200A512%20512%200%201%200%200%20512z'%20fill='%2369ADF4'/%3e%3cpath%20d='m562.058%20278.412%2042.198-12.096q35.292-10.117%2045.409%2025.176l117.221%20408.934q10.117%2035.292-25.176%2045.409l-42.197%2012.096q-35.293%2010.117-45.41-25.176l-117.22-408.934q-10.118-35.292%2025.175-45.41z'%20fill='%23FFF'%20opacity='.4'/%3e%3cpath%20d='M284.134%20263.383c-20.276%200-36.714%2016.437-36.714%2036.714v43.897a7.981%207.981%200%200%200%207.981%207.981h55.47c13.444%200%2024.343%2010.899%2024.343%2024.343s-10.899%2024.343-24.343%2024.343h-55.47a7.981%207.981%200%200%200-7.98%207.981V725.5c0%2020.276%2016.437%2036.714%2036.713%2036.714h43.897c20.276%200%2036.714-16.438%2036.714-36.714V300.097c0-20.277-16.438-36.714-36.714-36.714h-43.897zm152.443%200c-20.276%200-36.714%2016.437-36.714%2036.714v122.912a7.981%207.981%200%200%200%207.981%207.98h49.085c13.444%200%2024.343%2010.9%2024.343%2024.344s-10.9%2024.343-24.343%2024.343h-49.085a7.981%207.981%200%200%200-7.981%207.981V725.5c0%2020.276%2016.438%2036.714%2036.714%2036.714h43.897c20.276%200%2036.714-16.438%2036.714-36.714V300.097c0-20.277-16.438-36.714-36.714-36.714h-43.897z'%20fill='%23FFF'/%3e%3c/svg%3e";export{c as default}; diff --git a/static/js/publish.B4gIpoLD.js b/static/js/publish.B4gIpoLD.js new file mode 100644 index 0000000000000000000000000000000000000000..6d93a5734125248ed309eb8ab607846c32fc8620 --- /dev/null +++ b/static/js/publish.B4gIpoLD.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cpath%20d='M924.146%20233.09v-3.216l-.643-.642v-2.572l-.642-.642v-.643l-.643-.643h-.643l-.642-.642v-.643l-1.93-1.929v-.642l-.642-.643v-1.286h-1.929l-.643-.643h-1.286l-.642-.643v-.642h-.643v-.643h-.643l-.642-.643h-.643v-.642h-2.572v-.643h-5.144l-.642.643h-.643v.642h-1.286l-.643.643h-1.286L112.708%20516c-10.287%203.858-15.431%2014.789-11.574%2025.719%202.572%205.787%207.073%209.644%2012.217%2011.573l235.972%2094.518%2024.433%20135.668c1.93%2010.931%2012.217%2017.36%2022.505%2016.074%204.5-.643%208.358-3.215%2010.931-6.43l87.445-87.444%20178.104%2071.37c10.287%203.858%2021.218-.642%2025.719-10.287l223.756-523.383.642-.643v-7.073l1.288-2.571zM364.113%20610.517%20173.79%20534.646l604.399-230.83-414.077%20306.7zm41.15%20127.952-12.86-74.586%2062.369%2025.076-49.509%2049.51zm264.906-5.143L406.55%20627.877%20858.562%20293.53%20670.17%20733.326z'/%3e%3c/svg%3e";export{l as default}; diff --git a/static/js/refresh.B5ExwFoE.js b/static/js/refresh.B5ExwFoE.js new file mode 100644 index 0000000000000000000000000000000000000000..94fa241c883b525908968750dc9467b104829461 --- /dev/null +++ b/static/js/refresh.B5ExwFoE.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20aria-hidden='true'%20width='1em'%20height='1em'%20viewBox='0%200%20512%20512'%3e%3cpath%20d='m400%20148-21.12-24.57A191.43%20191.43%200%200%200%20240%2064C134%2064%2048%20150%2048%20256s86%20192%20192%20192a192.09%20192.09%200%200%200%20181.07-128'%20fill='none'%20stroke='currentColor'%20stroke-linecap='square'%20stroke-miterlimit='10'%20stroke-width='32'/%3e%3cpath%20d='M464%2068.45V220a4%204%200%200%201-4%204H308.45a4%204%200%200%201-2.83-6.83L457.17%2065.62a4%204%200%200%201%206.83%202.83z'%20fill='currentColor'/%3e%3c/svg%3e";export{e as default}; diff --git a/static/js/refs.CNClepWF.js b/static/js/refs.CNClepWF.js new file mode 100644 index 0000000000000000000000000000000000000000..34d30bd7b8ffed2e5083a87df479a622f75ec610 --- /dev/null +++ b/static/js/refs.CNClepWF.js @@ -0,0 +1 @@ +import{bc as o}from"./index.9PHSMUIB.js";const a=(...a)=>c=>{a.forEach((a=>{o(a)?a(c):a.value=c}))};export{a as c}; diff --git a/static/js/role.DDpGZwDf.js b/static/js/role.DDpGZwDf.js new file mode 100644 index 0000000000000000000000000000000000000000..542295c2dee83939fdbd18feb4059a510395ebf2 --- /dev/null +++ b/static/js/role.DDpGZwDf.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='256'%20height='256'%3e%3cpath%20d='M79.238%20961.896v-25.442c0-109.28%2028.835-214.892%2081.139-297.416%2048.427-76.396%20115.304-131.573%20195.508-161.896A240.785%20240.785%200%200%201%20279.488%20300.5c0-131.538%20104.331-238.535%20232.547-238.535S744.546%20168.962%20744.546%20300.5a240.854%20240.854%200%200%201-76.742%20176.988c190.87%2073.004%20276.992%20277.131%20276.992%20458.966v25.442H79.238zM694.908%20300.5c0-103.43-82.039-187.615-182.873-187.615-100.835%200-182.873%2084.184-182.873%20187.615%200%20103.465%2082.038%20187.65%20182.873%20187.65%20100.834%200%20182.873-84.185%20182.873-187.65zm-79.166%20213.508a226.454%20226.454%200%200%201-103.707%2025.096A225.935%20225.935%200%200%201%20407.912%20513.8C212.888%20564.927%20136.804%20752.854%20129.5%20910.977h765.035c-7.997-167.4-95.227-347.746-278.793-396.97zm-143.411%2037.246h79.407l39.739-8.48-45.242%2065.664%2030.6%20227.527-64.8%2056.908-69.197-56.908%2040.535-227.527-50.78-65.665%2039.738%208.48z'/%3e%3c/svg%3e";export{c as default}; diff --git a/static/js/security.CPhpJrut.js b/static/js/security.CPhpJrut.js new file mode 100644 index 0000000000000000000000000000000000000000..3d92db92364289b62d981474223024cac298401a --- /dev/null +++ b/static/js/security.CPhpJrut.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cpath%20d='m586.667%20494.933-8.534%2040.534L533.333%20416l-19.2%202.133-29.866%2057.6H448l-8.533%2019.2-25.6%2051.2L384%20473.6l-17.067%206.4%2038.4%2093.867H422.4l38.4-78.934h36.267l27.733-51.2L571.733%20569.6h19.2l14.934-74.667h51.2v-19.2h-66.134l-4.266%2019.2zM512%20283.733c-117.333%200-213.333%2096-213.333%20213.334S394.667%20710.4%20512%20710.4s213.333-96%20213.333-213.333c0-119.467-96-213.334-213.333-213.334zm0%20401.067c-104.533%200-189.867-85.333-189.867-189.867S407.467%20305.067%20512%20305.067%20701.867%20390.4%20701.867%20494.933%20616.533%20684.8%20512%20684.8zM893.867%20224c-44.8-14.933-134.4-44.8-179.2-66.133C625.067%20113.067%20590.933%2083.2%20556.8%2057.6%20544%2046.933%20529.067%2042.667%20512%2042.667s-32%204.266-44.8%2012.8c-34.133%2025.6-68.267%2055.466-157.867%20100.266-44.8%2021.334-134.4%2051.2-179.2%2066.134-29.866%2010.666-46.933%2036.266-44.8%2066.133%208.534%2098.133%2032%20288%2089.6%20405.333%2068.267%20134.4%20236.8%20238.934%20302.934%20279.467%2010.666%206.4%2021.333%208.533%2034.133%208.533s23.467-2.133%2034.133-8.533c66.134-40.533%20234.667-145.067%20302.934-279.467%2057.6-117.333%2081.066-307.2%2089.6-401.066%202.133-32-17.067-59.734-44.8-68.267zm-83.2%20450.133C768%20759.467%20672%20846.933%20524.8%20936.533c-4.267%200-8.533%202.134-12.8%202.134s-8.533-2.134-10.667-4.267C352%20846.933%20256%20757.333%20213.333%20674.133%20153.6%20554.667%20132.267%20347.733%20128%20288c-2.133-14.933%2012.8-21.333%2017.067-23.467l17.066-6.4c49.067-17.066%20125.867-42.666%20168.534-64%2081.066-40.533%20119.466-70.4%20151.466-93.866%204.267-4.267%208.534-6.4%2012.8-10.667%200-2.133%206.4-4.267%2014.934-4.267h4.266c8.534%200%2014.934%202.134%2017.067%204.267%204.267%204.267%208.533%206.4%2012.8%2010.667%2029.867%2023.466%2068.267%2053.333%20151.467%2093.866%2042.666%2021.334%20117.333%2046.934%20168.533%2064l17.067%206.4c4.266%202.134%2017.066%206.4%2017.066%2023.467-6.4%2059.733-27.733%20266.667-87.466%20386.133z'/%3e%3c/svg%3e";export{c as default}; diff --git a/static/js/set.DCph2DiX.js b/static/js/set.DCph2DiX.js new file mode 100644 index 0000000000000000000000000000000000000000..ae9fb987a5109399d189b9f885757b84edb6b6a5 --- /dev/null +++ b/static/js/set.DCph2DiX.js @@ -0,0 +1 @@ +import{d as e,ax as a,r as s,aB as t,o as l,c as r,l as u,w as o,a0 as n,k as d,t as m,a1 as p,a4 as i,aA as c,aI as f,c$ as v,d0 as x,a2 as _,a3 as g}from"./index.9PHSMUIB.js";import{E as w}from"./el-card.DWbysKpS.js";import{E as h,a as j}from"./el-col.DNKSa6YX.js";import{E as y}from"./el-image-viewer.Ck07Xbtu.js";import{_ as V}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./index.D6nSmJHY.js";import"./debounce.i1DMUZzi.js";import"./position.CopxYfyp.js";const B=V(e({__name:"set",setup(e){const{t:V}=a(),B=s(),E=t();l((async()=>{B.value=await E.getUserInfo()}));const U=s(""),$=s("");function k(e){U.value&&$.value?$.value.length<6?c.error(V("userset.message.xx2")):f.confirm(V("userset.message.xx3"),V("userset.message.title"),{confirmButtonText:"OK",cancelButtonText:"Cancel",type:"warning"}).then((()=>{v(U.value.trim(),$.value.trim()).then((()=>{c.success(V("userset.message.xx4")+$.value),window.location.reload()}))})):c.error(V("userset.message.xx1"))}return(e,a)=>{const s=h,t=y,l=x,c=_,f=g,v=j,V=w;return r(),u(V,{style:{margin:"10px","text-align":"center"}},{default:o((()=>[n(v,{gutter:20},{default:o((()=>[n(s,{span:18},{default:o((()=>[d("h2",null,m(e.$t("userset.title")),1)])),_:1}),B.value?(r(),u(s,{key:0,span:18},{default:o((()=>[n(l,{value:B.value.username,class:"item"},{default:o((()=>[n(t,{src:B.value.avatar},null,8,["src"])])),_:1},8,["value"])])),_:1})):p("",!0),n(s,{span:18},{default:o((()=>[n(c,{modelValue:U.value,"onUpdate:modelValue":a[0]||(a[0]=e=>U.value=e),placeholder:e.$t("userset.newUsername")},null,8,["modelValue","placeholder"])])),_:1}),n(s,{span:18},{default:o((()=>[n(c,{type:"password",modelValue:$.value,"onUpdate:modelValue":a[1]||(a[1]=e=>$.value=e),placeholder:e.$t("userset.newPassword")},null,8,["modelValue","placeholder"])])),_:1}),n(s,{span:18},{default:o((()=>[n(f,{type:"primary",onClick:k},{default:o((()=>a[2]||(a[2]=[i("修改")]))),_:1})])),_:1})])),_:1})])),_:1})}}}),[["__scopeId","data-v-38e5adf0"]]);export{B as default}; diff --git a/static/js/setting.CfydkD5J.js b/static/js/setting.CfydkD5J.js new file mode 100644 index 0000000000000000000000000000000000000000..e21abc60152067cf8fb9e3b206ddc283a6b96750 --- /dev/null +++ b/static/js/setting.CfydkD5J.js @@ -0,0 +1 @@ +const a="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='currentColor'%3e%3cpath%20d='m12%201%209.5%205.5v11L12%2023l-9.5-5.5v-11L12%201zm0%202.311L4.5%207.653v8.694l7.5%204.342%207.5-4.342V7.653L12%203.311zM12%2016a4%204%200%201%201%200-8%204%204%200%200%201%200%208zm0-2a2%202%200%201%200%200-4%202%202%200%200%200%200%204z'/%3e%3c/svg%3e";export{a as default}; diff --git a/static/js/signature.5Hv-l5jE.js b/static/js/signature.5Hv-l5jE.js new file mode 100644 index 0000000000000000000000000000000000000000..9914fa3b74fa53044ba59bd2ed984fbda08abff7 --- /dev/null +++ b/static/js/signature.5Hv-l5jE.js @@ -0,0 +1 @@ +import{d as e,r as t,o as a,c as n,e as o,k as s,a0 as c,w as l,a4 as r,ad as i,g as u,a1 as d,aA as h,a3 as f}from"./index.9PHSMUIB.js";import{u as v}from"./index.CM09xEA_.js";import{_ as p}from"./_plugin-vue_export-helper.BCo6x5W8.js";const g={class:"canvas-dom"},m=["src"],w=p(e({__name:"signature",setup(e){const p=t(""),w=t();let _,y=!1;const k=e=>{let t;if(e.offsetX){const{offsetX:a,offsetY:n}=e;t=[a,n]}else{const{top:a,left:n}=w.value.getBoundingClientRect();t=[e.touches[0].clientX-n,e.touches[0].clientY-a]}return t};let C=0,R=0;const x=e=>{[C,R]=k(e),y=!0},A=e=>{if(y){const[t,a]=k(e);!function(e,t,a,n,o){o.beginPath(),o.globalAlpha=1,o.lineWidth=2,o.strokeStyle="#000",o.moveTo(e,t),o.lineTo(a,n),o.closePath(),o.stroke()}(C,R,t,a,_),C=t,R=a}},T=()=>{y&&(y=!1)};a((()=>{_=w.value.getContext("2d")}));const U=async()=>{if(E(w.value))return void h({type:"warning",message:"当前签名文件为空"});const e=M(w.value.toDataURL(),"签名.png");if(!e)return;const{data:t}=await v(e);D(),p.value=t.url},D=()=>{_.clearRect(0,0,w.value.width,w.value.height)},E=e=>{const t=document.createElement("canvas");return t.width=e.width,t.height=e.height,e.toDataURL()==t.toDataURL()},L=()=>{if(E(w.value))return void h({type:"warning",message:"当前签名文件为空"});const e=document.createElement("a");e.href=w.value.toDataURL(),e.download="签名";const t=new MouseEvent("click");e.dispatchEvent(t)},M=(e,t)=>{const a=e.split(",");if(!a.length)return;const n=a[0].match(/:(.*?);/);if(n){const e=atob(a[1]);let o=e.length;const s=new Uint8Array(o);for(;o--;)s[o]=e.charCodeAt(o);return new File([s],t,{type:n[1]})}};return(e,t)=>{const a=f;return n(),o("div",g,[t[3]||(t[3]=s("h3",null,"基于canvas实现的签名组件",-1)),s("header",null,[c(a,{type:"primary",onClick:L},{default:l((()=>t[0]||(t[0]=[r("保存为图片")]))),_:1}),c(a,{onClick:U},{default:l((()=>t[1]||(t[1]=[r(" 保存到后端 ")]))),_:1}),c(a,{onClick:D},{default:l((()=>t[2]||(t[2]=[r(" 清空签名 ")]))),_:1})]),s("canvas",{ref_key:"canvas",ref:w,height:"200",width:"500",onMousedown:x,onMousemove:i(A,["stop","prevent"]),onMouseup:T,onTouchstart:x,onTouchmove:i(A,["stop","prevent"]),onTouchend:T},null,544),u(p)?(n(),o("img",{key:0,src:u(p),alt:"签名"},null,8,m)):d("",!0)])}}}),[["__scopeId","data-v-d1ec2ee9"]]);export{w as default}; diff --git a/static/js/size.C48ZYpz_.js b/static/js/size.C48ZYpz_.js new file mode 100644 index 0000000000000000000000000000000000000000..2308704a9badc37bb4961edf6871a28042eab9dd --- /dev/null +++ b/static/js/size.C48ZYpz_.js @@ -0,0 +1 @@ +const v="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='currentColor'%3e%3cpath%20d='M10%206v15H8V6H2V4h14v2h-6zm8%208v7h-2v-7h-3v-2h8v2h-3z'/%3e%3c/svg%3e";export{v as default}; diff --git a/static/js/strings.CQ_np2th.js b/static/js/strings.CQ_np2th.js new file mode 100644 index 0000000000000000000000000000000000000000..7002848db07c7d9c652ed945bbc4a1660311d69c --- /dev/null +++ b/static/js/strings.CQ_np2th.js @@ -0,0 +1 @@ +import{cA as e}from"./index.9PHSMUIB.js";const a=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),c=a=>e(a);export{c,a as e}; diff --git a/static/js/subs.1dXoageE.js b/static/js/subs.1dXoageE.js new file mode 100644 index 0000000000000000000000000000000000000000..9d4c1d40ef67cd7d6ec23bb873b3d8fd7c6910cd --- /dev/null +++ b/static/js/subs.1dXoageE.js @@ -0,0 +1 @@ +import{bd as e,d as t,am as r,r as a,bq as n,o,O as i,aU as l,B as u,c as s,e as d,a0 as c,w as f,a4 as h,P as v,l as p,t as g,k as m,g as y,a1 as C,aA as w,Y as E,aI as _,a2 as M,a3 as S}from"./index.9PHSMUIB.js";import{E as N}from"./el-card.DWbysKpS.js";import{E as b,a as R,c as A,d as k,b as I}from"./el-table-column.haX2jq5s.js";import{E as x}from"./el-tag.CLWce1kX.js";import{E as T,a as P}from"./el-select.dUFpYm6H.js";import"./el-scrollbar.DlPh6Z7D.js";import"./el-popper.e9kr8u9Q.js";import{E as z}from"./el-link.BTv-HaC_.js";import{g as V,E as B,a as O}from"./node.B7CBv-vw.js";import"./el-tooltip.l0sNRNKZ.js";import{E as U,a as D}from"./el-col.DNKSa6YX.js";import{E as L}from"./el-dialog.Dis4ipFy.js";import{g as j}from"./temp.gJIG3-Be.js";import{_ as F}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./isEqual.DDyRMzJ4.js";import"./_initCloneObject.cf8iq1wq.js";import"./debounce.i1DMUZzi.js";import"./index.D7zGuEZp.js";import"./strings.CQ_np2th.js";import"./castArray.BN0gQOTw.js";import"./index.D6nSmJHY.js";import"./isUndefined.DgmxjSXK.js";import"./use-dialog.CybRpRek.js";import"./refs.CNClepWF.js";function H(t){return e({url:"/api/v1/subcription/delete",method:"delete",params:t})}var Q,Y,G,q,K=function(){return K=Object.assign||function(e){for(var t,r=1,a=arguments.length;rt.MAX_VERSION)throw new RangeError("Version value out of range");if(o<-1||o>7)throw new RangeError("Mask value out of range");this.size=4*e+17;for(var i=[],l=0;l7)throw new RangeError("Invalid value");var d,c;for(d=i;;d++){var f=8*t.getNumDataCodewords(d,a),h=o.getTotalBits(e,d);if(h<=f){c=h;break}if(d>=l)throw new RangeError("Data too long")}for(var v=0,p=[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH];v>>3]|=e<<7-(7&t)})),new t(d,a,b,u)},t.prototype.getModule=function(e,t){return 0<=e&&e>>9);var i=21522^(t<<10|r);n(i>>>15==0);for(o=0;o<=5;o++)this.setFunctionModule(8,o,a(i,o));this.setFunctionModule(8,7,a(i,6)),this.setFunctionModule(8,8,a(i,7)),this.setFunctionModule(7,8,a(i,8));for(o=9;o<15;o++)this.setFunctionModule(14-o,8,a(i,o));for(o=0;o<8;o++)this.setFunctionModule(this.size-1-o,8,a(i,o));for(o=8;o<15;o++)this.setFunctionModule(8,this.size-15+o,a(i,o));this.setFunctionModule(8,this.size-8,!0)},t.prototype.drawVersion=function(){if(!(this.version<7)){for(var e=this.version,t=0;t<12;t++)e=e<<1^7973*(e>>>11);var r=this.version<<12|e;n(r>>>18==0);for(t=0;t<18;t++){var o=a(r,t),i=this.size-11+t%3,l=Math.floor(t/3);this.setFunctionModule(i,l,o),this.setFunctionModule(l,i,o)}}},t.prototype.drawFinderPattern=function(e,t){for(var r=-4;r<=4;r++)for(var a=-4;a<=4;a++){var n=Math.max(Math.abs(a),Math.abs(r)),o=e+a,i=t+r;0<=o&&o=u)&&g.push(t[e])}))};for(f=0;f=1;o-=2){6==o&&(o=5);for(var i=0;i>>3],7-(7&r)),r++)}}n(r==8*e.length)},t.prototype.applyMask=function(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(var t=0;t5&&e++:(this.finderPenaltyAddHistory(o,i),a||(e+=this.finderPenaltyCountPatterns(i)*t.PENALTY_N3),a=this.modules[r][l],o=1);e+=this.finderPenaltyTerminateAndCount(a,o,i)*t.PENALTY_N3}for(l=0;l5&&e++:(this.finderPenaltyAddHistory(u,i),a||(e+=this.finderPenaltyCountPatterns(i)*t.PENALTY_N3),a=this.modules[r][l],u=1);e+=this.finderPenaltyTerminateAndCount(a,u,i)*t.PENALTY_N3}for(r=0;rt.MAX_VERSION)throw new RangeError("Version number out of range");var r=(16*e+128)*e+64;if(e>=2){var a=Math.floor(e/7)+2;r-=(25*a-10)*a-55,e>=7&&(r-=36)}return n(208<=r&&r<=29648),r},t.getNumDataCodewords=function(e,r){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][e]},t.reedSolomonComputeDivisor=function(e){if(e<1||e>255)throw new RangeError("Degree out of range");for(var r=[],a=0;a>>8!=0||t>>>8!=0)throw new RangeError("Byte out of range");for(var r=0,a=7;a>=0;a--)r=r<<1^285*(r>>>7),r^=(t>>>a&1)*e;return n(r>>>8==0),r},t.prototype.finderPenaltyCountPatterns=function(e){var t=e[1];n(t<=3*this.size);var r=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(r&&e[0]>=4*t&&e[6]>=t?1:0)+(r&&e[6]>=4*t&&e[0]>=t?1:0)},t.prototype.finderPenaltyTerminateAndCount=function(e,t,r){return e&&(this.finderPenaltyAddHistory(t,r),t=0),t+=this.size,this.finderPenaltyAddHistory(t,r),this.finderPenaltyCountPatterns(r)},t.prototype.finderPenaltyAddHistory=function(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)},t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],t}();function r(e,t,r){if(t<0||t>31||e>>>t!=0)throw new RangeError("Value out of range");for(var a=t-1;a>=0;a--)r.push(e>>>a&1)}function a(e,t){return!!(e>>>t&1)}function n(e){if(!e)throw new Error("Assertion error")}e.QrCode=t;var o=function(){function e(e,t,r){if(this.mode=e,this.numChars=t,this.bitData=r,t<0)throw new RangeError("Invalid argument");this.bitData=r.slice()}return e.makeBytes=function(t){for(var a=[],n=0,o=t;n=1<=t.y+t.h?e:e.map((function(e,r){return(r=t.x+t.w)&&e}))}))}var re,ae,ne={value:{type:String,required:!0,default:""},size:{type:Number,default:100},level:{type:String,default:"L",validator:function(e){return J(e)}},background:{type:String,default:"#fff"},foreground:{type:String,default:"#000"},margin:{type:Number,required:!1,default:0},imageSettings:{type:Object,required:!1,default:function(){return{}}},gradient:{type:Boolean,required:!1,default:!1},gradientType:{type:String,required:!1,default:"linear",validator:function(e){return["linear","radial"].indexOf(e)>-1}},gradientStartColor:{type:String,required:!1,default:"#000"},gradientEndColor:{type:String,required:!1,default:"#fff"}},oe=K(K({},ne),{renderAs:{type:String,required:!1,default:"canvas",validator:function(e){return["canvas","svg"].indexOf(e)>-1}}}),ie=t({name:"QRCodeSvg",props:ne,setup:function(e){var t,o=a(0),i=a(""),l=function(){var r=e.value,a=e.level,n=e.margin>>>0,l=J(a)?a:"L",u=$.QrCode.encodeText(r,W[l]).getModules();if(o.value=u.length+2*n,e.imageSettings.src){var s=ee(u,e.size,n,e.imageSettings);t={x:s.x+n,y:s.y+n,width:s.w,height:s.h},s.excavation&&(u=te(u,s.excavation))}i.value=Z(u,n)},u=function(){if(!e.gradient)return null;var t="linear"===e.gradientType?{x1:"0%",y1:"0%",x2:"100%",y2:"100%"}:{cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%"};return r("linear"===e.gradientType?"linearGradient":"radialGradient",K({id:"qr-gradient"},t),[r("stop",{offset:"0%",style:{stopColor:e.gradientStartColor}}),r("stop",{offset:"100%",style:{stopColor:e.gradientEndColor}})])};return l(),n(l),function(){return r("svg",{width:e.size,height:e.size,"shape-rendering":"crispEdges",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(o.value," ").concat(o.value)},[r("defs",{},[u()]),r("rect",{width:"100%",height:"100%",fill:e.background}),r("path",{fill:e.gradient?"url(#qr-gradient)":e.foreground,d:i.value}),e.imageSettings.src&&r("image",K({href:e.imageSettings.src},t))])}}}),le=t({name:"QRCodeCanvas",props:ne,setup:function(e,t){var l=a(null),u=a(null),s=function(){var t=e.value,r=e.level,a=e.size,n=e.margin,o=e.background,i=e.foreground,s=e.gradient,d=e.gradientType,c=e.gradientStartColor,f=e.gradientEndColor,h=n>>>0,v=J(r)?r:"L",p=l.value;if(p){var g=p.getContext("2d");if(g){var m=$.QrCode.encodeText(t,W[v]).getModules(),y=m.length+2*h,C=u.value,w={x:0,y:0,width:0,height:0},E=e.imageSettings.src&&null!=C&&0!==C.naturalWidth&&0!==C.naturalHeight;if(E){var _=ee(m,e.size,h,e.imageSettings);w={x:_.x+h,y:_.y+h,width:_.w,height:_.h},_.excavation&&(m=te(m,_.excavation))}var M=window.devicePixelRatio||1,S=a/y*M;if(p.height=p.width=a*M,g.scale(S,S),g.fillStyle=o,g.fillRect(0,0,y,y),s){var N=void 0;(N="linear"===d?g.createLinearGradient(0,0,y,y):g.createRadialGradient(y/2,y/2,0,y/2,y/2,y/2)).addColorStop(0,c),N.addColorStop(1,f),g.fillStyle=N}else g.fillStyle=i;X?g.fill(new Path2D(Z(m,h))):m.forEach((function(e,t){e.forEach((function(e,r){e&&g.fillRect(r+h,t+h,1,1)}))})),E&&g.drawImage(C,w.x,w.y,w.width,w.height)}}};o(s),n(s);var d=t.attrs.style;return function(){return r(i,[r("canvas",K(K({},t.attrs),{ref:l,style:K(K({},d),{width:"".concat(e.size,"px"),height:"".concat(e.size,"px")})})),e.imageSettings.src&&r("img",{ref:u,src:e.imageSettings.src,style:{display:"none"},onLoad:s})])}}}),ue=t({name:"Qrcode",render:function(){var e=this.$props,t=e.renderAs,a=e.value,n=e.size,o=e.margin,i=e.level,l=e.background,u=e.foreground,s=e.imageSettings,d=e.gradient,c=e.gradientType,f=e.gradientStartColor,h=e.gradientEndColor;return r("svg"===t?ie:le,{value:a,size:n,margin:o,level:i,background:l,foreground:u,imageSettings:s,gradient:d,gradientType:c,gradientStartColor:f,gradientEndColor:h})},props:oe}),se={exports:{}},de={exports:{}};re="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ae={rotl:function(e,t){return e<>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&ae.rotl(e,8)|4278255360&ae.rotl(e,24);for(var t=0;t0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],r=0,a=0;r>>5]|=e[r]<<24-a%32;return t},wordsToBytes:function(e){for(var t=[],r=0;r<32*e.length;r+=8)t.push(e[r>>>5]>>>24-r%32&255);return t},bytesToHex:function(e){for(var t=[],r=0;r>>4).toString(16)),t.push((15&e[r]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],r=0;r>>6*(3-n)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],r=0,a=0;r>>6-2*a);return t}},de.exports=ae;var ce,fe,he,ve,pe,ge=de.exports,me={utf8:{stringToBytes:function(e){return me.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(me.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],r=0;r>>24)|4278255360&(r[u]<<24|r[u]>>>8);r[a>>>5]|=128<>>9<<4)]=a;var s=pe._ff,d=pe._gg,c=pe._hh,f=pe._ii;for(u=0;u>>0,o=o+v>>>0,i=i+p>>>0,l=l+g>>>0}return ce.endian([n,o,i,l])})._ff=function(e,t,r,a,n,o,i){var l=e+(t&r|~t&a)+(n>>>0)+i;return(l<>>32-o)+t},pe._gg=function(e,t,r,a,n,o,i){var l=e+(t&a|r&~a)+(n>>>0)+i;return(l<>>32-o)+t},pe._hh=function(e,t,r,a,n,o,i){var l=e+(t^r^a)+(n>>>0)+i;return(l<>>32-o)+t},pe._ii=function(e,t,r,a,n,o,i){var l=e+(r^(t|~a))+(n>>>0)+i;return(l<>>32-o)+t},pe._blocksize=16,pe._digestsize=16,se.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var r=ce.wordsToBytes(pe(e,t));return t&&t.asBytes?r:t&&t.asString?ve.bytesToString(r):ce.bytesToHex(r)};const Ee=l(se.exports),_e={class:"dialog-footer"},Me={class:"m-4"},Se={class:"dialog-footer"},Ne={key:0},be={key:0},Re={key:1},Ae=F(t({__name:"subs",setup(t){const r=a([]),n=a(""),l=a(""),F=a(""),Q=a(""),Y=a(""),G=a(!1),q=a(),K=a([]),$=a([]),W=a([]),X=a(!1),J=a([]),Z=a(""),ee=a([]);async function te(){const{data:t}=await e({url:"/api/v1/subcription/get",method:"get"});r.value=t}o((()=>{te(),async function(){const{data:e}=await j();ee.value=e}()})),o((async()=>{const{data:e}=await V();K.value=e}));const re=async()=>{const t=JSON.stringify({clash:n.value.trim(),surge:l.value.trim(),udp:!!W.value.includes("udp"),cert:!!W.value.includes("cert")});var r;"添加订阅"===F.value?(await(r={config:t,name:Q.value.trim(),nodes:$.value.join(",")},e({url:"/api/v1/subcription/add",method:"post",data:r,headers:{"Content-Type":"multipart/form-data"}})),te(),w.success("添加成功")):(await function(t){return e({url:"/api/v1/subcription/update",method:"post",data:t,headers:{"Content-Type":"multipart/form-data"}})}({config:t,name:Q.value.trim(),nodes:$.value.join(","),oldname:Y.value}),te(),w.success("更新成功")),G.value=!1},ae=a([]),ne=e=>{ae.value=e},oe=()=>{F.value="添加订阅",Q.value="",Y.value="",W.value=[],n.value="./template/clash.yaml",l.value="./template/surge.conf",G.value=!0,$.value=[]},ie=()=>{0!==ae.value.length&&_.confirm("你是否要删除选中这些 ?","提示",{confirmButtonText:"OK",cancelButtonText:"Cancel",type:"warning"}).then((()=>{for(let e=0;et.ID!==ae.value[e].ID));w({type:"success",message:"删除成功"})}))},le=a(1),se=a(10),de=e=>{se.value=e},ce=e=>{le.value=e},fe=u((()=>{const e=(le.value-1)*se.value,t=e+se.value;return r.value.slice(e,t)})),he=e=>{const t=document.createElement("textarea");t.value=e,document.body.appendChild(t),t.select();try{const e=document.execCommand("copy");w({type:e?"success":"warning",message:e?"复制成功!":"复制失败!"})}catch(r){w({type:"warning",message:"复制失败!"})}finally{document.body.removeChild(t)}},ve=a(!1),pe=["v2ray","clash","surge"],ge=a({}),me=a(""),ye=a(!1),Ce=a(""),we=(e,t)=>{ye.value=!0,Z.value=e,Ce.value=t},Ae=a("1");return(e,t)=>{const a=M,o=S,u=L,V=x,j=U,ae=D,ke=b,Ie=R,xe=B,Te=O,Pe=T,ze=P,Ve=A,Be=k,Oe=z,Ue=I,De=N;return s(),d("div",null,[c(u,{modelValue:ye.value,"onUpdate:modelValue":t[3]||(t[3]=e=>ye.value=e),width:"300px",style:{"text-align":"center"},title:Ce.value},{default:f((()=>[c(ue,{value:Z.value,size:200,level:"H"},null,8,["value"]),c(a,{modelValue:Z.value,"onUpdate:modelValue":t[0]||(t[0]=e=>Z.value=e)},null,8,["modelValue"]),c(o,{onClick:t[1]||(t[1]=e=>he(Z.value))},{default:f((()=>t[20]||(t[20]=[h("复制")]))),_:1}),c(o,{onClick:t[2]||(t[2]=e=>{return t=Z.value,void window.open(t);var t})},{default:f((()=>t[21]||(t[21]=[h("打开")]))),_:1})])),_:1},8,["modelValue","title"]),c(u,{modelValue:ve.value,"onUpdate:modelValue":t[5]||(t[5]=e=>ve.value=e),title:"客户端(点击二维码获取地址)",style:{"text-align":"center"}},{default:f((()=>[c(ae,null,{default:f((()=>[c(j,null,{default:f((()=>[c(V,{type:"success",size:"large"},{default:f((()=>t[22]||(t[22]=[h("自动识别")]))),_:1}),c(o,{onClick:t[4]||(t[4]=e=>we(me.value,"自动识别客户端"))},{default:f((()=>t[23]||(t[23]=[h("二维码")]))),_:1})])),_:1}),(s(!0),d(i,null,v(ge.value,((e,r)=>(s(),p(j,{style:{"margin-bottom":"10px"}},{default:f((()=>[c(V,{type:"success",size:"large"},{default:f((()=>[h(g(r),1)])),_:2},1024),c(o,{onClick:t=>we(`${e}&client=${r}`,r)},{default:f((()=>t[24]||(t[24]=[h("二维码")]))),_:2},1032,["onClick"])])),_:2},1024)))),256))])),_:1})])),_:1},8,["modelValue"]),c(u,{modelValue:X.value,"onUpdate:modelValue":t[6]||(t[6]=e=>X.value=e),title:"访问记录",width:"80%",draggable:""},{footer:f((()=>[m("div",_e,[c(Ie,{data:J.value,border:"",style:{width:"100%"}},{default:f((()=>[c(ke,{prop:"IP",label:"Ip"}),c(ke,{prop:"Count",label:"总访问次数"}),c(ke,{prop:"Addr",label:"来源"}),c(ke,{prop:"Date",label:"最近时间"})])),_:1},8,["data"])])])),_:1},8,["modelValue"]),c(u,{modelValue:G.value,"onUpdate:modelValue":t[17]||(t[17]=e=>G.value=e),title:F.value},{footer:f((()=>[m("div",Se,[c(o,{onClick:t[16]||(t[16]=e=>G.value=!1)},{default:f((()=>t[35]||(t[35]=[h("关闭")]))),_:1}),c(o,{type:"primary",onClick:re},{default:f((()=>t[36]||(t[36]=[h("确定")]))),_:1})])])),default:f((()=>[c(a,{modelValue:Q.value,"onUpdate:modelValue":t[7]||(t[7]=e=>Q.value=e),placeholder:"请输入订阅名称"},null,8,["modelValue"]),c(ae,null,{default:f((()=>[c(V,{type:"primary"},{default:f((()=>t[25]||(t[25]=[h("clash模版选择")]))),_:1}),c(Te,{modelValue:Ae.value,"onUpdate:modelValue":t[8]||(t[8]=e=>Ae.value=e),class:"ml-4"},{default:f((()=>[c(xe,{value:"1"},{default:f((()=>t[26]||(t[26]=[h("本地")]))),_:1}),c(xe,{value:"2"},{default:f((()=>t[27]||(t[27]=[h("url链接")]))),_:1})])),_:1},8,["modelValue"]),"1"===Ae.value?(s(),p(ze,{key:0,modelValue:n.value,"onUpdate:modelValue":t[9]||(t[9]=e=>n.value=e),placeholder:"clash模版文件"},{default:f((()=>[(s(!0),d(i,null,v(ee.value,(e=>(s(),p(Pe,{key:e.file,label:e.file,value:"./template/"+e.file},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])):(s(),p(a,{key:1,modelValue:n.value,"onUpdate:modelValue":t[10]||(t[10]=e=>n.value=e),placeholder:"clash模版文件"},null,8,["modelValue"]))])),_:1}),c(ae,null,{default:f((()=>[c(V,{type:"primary"},{default:f((()=>t[28]||(t[28]=[h("surge模版选择")]))),_:1}),c(Te,{modelValue:Ae.value,"onUpdate:modelValue":t[11]||(t[11]=e=>Ae.value=e),class:"ml-4"},{default:f((()=>[c(xe,{value:"1"},{default:f((()=>t[29]||(t[29]=[h("本地")]))),_:1}),c(xe,{value:"2"},{default:f((()=>t[30]||(t[30]=[h("url链接")]))),_:1})])),_:1},8,["modelValue"]),"1"===Ae.value?(s(),p(ze,{key:0,modelValue:l.value,"onUpdate:modelValue":t[12]||(t[12]=e=>l.value=e),placeholder:"surge模版文件"},{default:f((()=>[(s(!0),d(i,null,v(ee.value,(e=>(s(),p(Pe,{key:e.file,label:e.file,value:"./template/"+e.file},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])):(s(),p(a,{key:1,modelValue:l.value,"onUpdate:modelValue":t[13]||(t[13]=e=>l.value=e),placeholder:"surge模版文件"},null,8,["modelValue"]))])),_:1}),c(ae,null,{default:f((()=>[c(V,{type:"primary"},{default:f((()=>t[31]||(t[31]=[h("强制开启选项")]))),_:1}),c(Be,{modelValue:W.value,"onUpdate:modelValue":t[14]||(t[14]=e=>W.value=e),style:{margin:"5px"}},{default:f((()=>[c(Ve,{value:"udp"},{default:f((()=>t[32]||(t[32]=[h("udp")]))),_:1}),c(Ve,{value:"cert"},{default:f((()=>t[33]||(t[33]=[h("跳过证书")]))),_:1})])),_:1},8,["modelValue"])])),_:1}),m("div",Me,[t[34]||(t[34]=m("p",null,"选择已有的节点列表",-1)),c(ze,{modelValue:$.value,"onUpdate:modelValue":t[15]||(t[15]=e=>$.value=e),multiple:"",placeholder:"Select",style:{width:"100%"}},{default:f((()=>[(s(!0),d(i,null,v(K.value,(e=>(s(),p(Pe,{key:e.Name,label:e.Name,value:e.Name},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])])),_:1},8,["modelValue","title"]),c(De,null,{default:f((()=>[c(o,{type:"primary",onClick:oe},{default:f((()=>t[37]||(t[37]=[h("添加订阅")]))),_:1}),t[46]||(t[46]=m("div",{style:{"margin-bottom":"10px"}},null,-1)),c(Ie,{ref_key:"table",ref:q,data:y(fe),style:{width:"100%"},stripe:"",onSelectionChange:ne,"row-key":"ID","tree-props":{children:"Nodes"}},{default:f((()=>[c(ke,{type:"selection",fixed:"",prop:"ID",label:"id"}),c(ke,{prop:"Name",label:"订阅名称 / 节点"},{default:f((({row:e})=>[c(V,{type:e.Nodes?"primary":"success"},{default:f((()=>[h(g(e.Name),1)])),_:2},1032,["type"])])),_:1}),c(ke,{prop:"Link",label:"链接","show-overflow-tooltip":!0},{default:f((({row:e})=>[e.Nodes?(s(),d("div",Ne,[c(Oe,{type:"primary",size:"small",onClick:t=>(e=>{let t=location.protocol+"//"+location.hostname+(location.port?":"+location.port:"");ve.value=!0,me.value=`${t}/c/?token=${Ee(e)}`,pe.forEach((r=>{ge.value[r]=`${t}/c/?token=${Ee(e)}`}))})(e.Name)},{default:f((()=>t[38]||(t[38]=[h("客户端")]))),_:2},1032,["onClick"])])):C("",!0)])),_:1}),c(ke,{prop:"CreateDate",label:"创建时间",sortable:""}),c(ke,{label:"操作",width:"120"},{default:f((e=>[e.row.Nodes?(s(),d("div",be,[c(o,{link:"",type:"primary",size:"small",onClick:t=>{return a=e.row,X.value=!0,void E((()=>{r.value.forEach((e=>{e.ID===a.ID&&(J.value=e.SubLogs)}))}));var a}},{default:f((()=>t[39]||(t[39]=[h("记录")]))),_:2},1032,["onClick"]),c(o,{link:"",type:"primary",size:"small",onClick:t=>(e=>{for(let a=0;ae.Name))}var t})(e.row)},{default:f((()=>t[40]||(t[40]=[h("编辑")]))),_:2},1032,["onClick"]),c(o,{link:"",type:"primary",size:"small",onClick:t=>{return r=e.row,void _.confirm(`你是否要删除 ${r.Name} ?`,"提示",{confirmButtonText:"OK",cancelButtonText:"Cancel",type:"warning"}).then((async()=>{await H({id:r.ID}),te(),w({type:"success",message:"删除成功"})}));var r}},{default:f((()=>t[41]||(t[41]=[h("删除")]))),_:2},1032,["onClick"])])):(s(),d("div",Re,[c(o,{link:"",type:"primary",size:"small",onClick:t=>{return r=e.row,void he(r.Link);var r}},{default:f((()=>t[42]||(t[42]=[h("复制")]))),_:2},1032,["onClick"])]))])),_:1})])),_:1},8,["data"]),t[47]||(t[47]=m("div",{style:{"margin-top":"20px"}},null,-1)),c(o,{type:"info",onClick:t[18]||(t[18]=e=>{r.value.forEach((e=>{q.value.toggleRowSelection(e,!0)}))})},{default:f((()=>t[43]||(t[43]=[h("全选")]))),_:1}),c(o,{type:"warning",onClick:t[19]||(t[19]=e=>{q.value.clearSelection()})},{default:f((()=>t[44]||(t[44]=[h("取消选择")]))),_:1}),c(o,{type:"danger",onClick:ie},{default:f((()=>t[45]||(t[45]=[h("批量删除")]))),_:1}),t[48]||(t[48]=m("div",{style:{"margin-top":"20px"}},null,-1)),c(Ue,{onSizeChange:de,onCurrentChange:ce,"current-page":le.value,"page-size":se.value,layout:"total, sizes, prev, pager, next, jumper","page-sizes":[10,20,30,40],total:r.value.length},null,8,["current-page","page-size","total"])])),_:1})])}}}),[["__scopeId","data-v-42072bec"]]);export{Ae as default}; diff --git a/static/js/sunny.Cx4iEVwd.js b/static/js/sunny.Cx4iEVwd.js new file mode 100644 index 0000000000000000000000000000000000000000..9a8b637437884f07e2f9c27e8c4e1edf04bf3edb --- /dev/null +++ b/static/js/sunny.Cx4iEVwd.js @@ -0,0 +1 @@ +const v="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='currentColor'%3e%3cpath%20d='M12%2018a6%206%200%201%201%200-12%206%206%200%200%201%200%2012zm0-2a4%204%200%201%200%200-8%204%204%200%200%200%200%208zM11%201h2v3h-2V1zm0%2019h2v3h-2v-3zM3.515%204.929l1.414-1.414L7.05%205.636%205.636%207.05%203.515%204.93zM16.95%2018.364l1.414-1.414%202.121%202.121-1.414%201.414-2.121-2.121zm2.121-14.85%201.414%201.415-2.121%202.121-1.414-1.414%202.121-2.121zM5.636%2016.95l1.414%201.414-2.121%202.121-1.414-1.414%202.121-2.121zM23%2011v2h-3v-2h3zM4%2011v2H1v-2h3z'/%3e%3c/svg%3e";export{v as default}; diff --git a/static/js/swagger.BGskywol.js b/static/js/swagger.BGskywol.js new file mode 100644 index 0000000000000000000000000000000000000000..2e201a67d9d05ccaf3f4b0d2b4b36c75bc1e7b12 --- /dev/null +++ b/static/js/swagger.BGskywol.js @@ -0,0 +1 @@ +import{_ as e}from"./_plugin-vue_export-helper.BCo6x5W8.js";import{c as r,e as t,k as a}from"./index.9PHSMUIB.js";const s={class:"app-container"};const i=e({},[["render",function(e,i){return r(),t("div",s,i[0]||(i[0]=[a("iframe",{src:"http://vapi.youlai.tech/swagger-ui.html",width:"100%",height:"100%",frameborder:"0"},null,-1)]))}],["__scopeId","data-v-56050cf3"]]);export{i as default}; diff --git a/static/js/system.BjyKXCM4.js b/static/js/system.BjyKXCM4.js new file mode 100644 index 0000000000000000000000000000000000000000..89844f1f716945fcc5d9f6722c8feb605bafafd9 --- /dev/null +++ b/static/js/system.BjyKXCM4.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cpath%20d='M139%20669.6V164.3c0-12.7%2010.3-23.1%2023.1-23.1h694.4c12.7%200%2023.1%2010.4%2023.1%2023.1v248.5h70V164.3c0-51.3-41.8-93.1-93.1-93.1H162c-51.3.1-93%2041.8-93%2093.1v505.3c0%2051.3%2041.8%2093.1%2093.1%2093.1h224.7v-70H162c-12.7%200-23-10.4-23-23.1zm-34.3%20131h282v70h-282z'/%3e%3cpath%20d='m954.9%20599.4-5.1-15c-11.5-33.9-29.4-64.9-53.2-91.9l-10.5-11.9h-83.2l-41.7-72.2-15.6-3.1c-34.8-6.9-71.3-6.9-106.1%200l-15.6%203.1-41.7%2072.2H499l-10.5%2011.9c-23.8%2027.1-41.7%2058-53.2%2091.9l-5.1%2015%2041.7%2072.2-41.7%2072.2%205.1%2015c11.5%2033.9%2029.4%2064.9%2053.2%2091.9l10.5%2011.9h83.2l41.7%2072.2%2015.6%203.1c17.4%203.5%2035.3%205.2%2053.1%205.2s35.6-1.8%2053.1-5.2l15.6-3.1%2041.7-72.2h83.2l10.5-11.9c23.8-27.1%2041.7-58%2053.2-91.9l5.1-15-41.7-72.2%2041.6-72.2zm-76.8%20151.2c-6.4%2014.9-14.5%2029-24.3%2042h-91.2l-45.6%2079c-16.1%201.9-32.4%201.9-48.5%200l-45.6-79h-91.2c-9.8-13-17.9-27-24.3-42l45.6-79.1-45.6-79.1c6.4-14.9%2014.5-29%2024.3-42h91.2l45.6-79c16.1-1.9%2032.4-1.9%2048.5%200l45.6%2079h91.2c9.8%2013%2017.9%2027%2024.3%2042l-45.6%2079.1%2045.6%2079.1z'/%3e%3cpath%20d='M692.7%20560.2c-61.4%200-111.3%2049.9-111.3%20111.3s49.9%20111.3%20111.3%20111.3S804%20732.9%20804%20671.5c0-61.3-49.9-111.3-111.3-111.3zm0%20152.7c-22.8%200-41.3-18.5-41.3-41.3s18.5-41.3%2041.3-41.3%2041.3%2018.5%2041.3%2041.3-18.5%2041.3-41.3%2041.3z'/%3e%3c/svg%3e";export{c as default}; diff --git a/static/js/table.C6Xt0YCE.js b/static/js/table.C6Xt0YCE.js new file mode 100644 index 0000000000000000000000000000000000000000..adcc744181e096e559bd471e90f53473bbb6a2e2 --- /dev/null +++ b/static/js/table.C6Xt0YCE.js @@ -0,0 +1 @@ +const h="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cpath%20d='M0%2064v896h1024V64H0zm384%20576V448h256v192H384zm256%2064v192H384V704h256zm0-512v192H384V192h256zm-320%200v192H64V192h256zM64%20448h256v192H64V448zm640%200h256v192H704V448zm0-64V192h256v192H704zM64%20704h256v192H64V704zm640%20192V704h256v192H704z'/%3e%3c/svg%3e";export{h as default}; diff --git a/static/js/temp.gJIG3-Be.js b/static/js/temp.gJIG3-Be.js new file mode 100644 index 0000000000000000000000000000000000000000..f07e64d9932483413888595ba313a9f44270fb8d --- /dev/null +++ b/static/js/temp.gJIG3-Be.js @@ -0,0 +1 @@ +import{bd as t}from"./index.9PHSMUIB.js";function e(){return t({url:"/api/v1/template/get",method:"get"})}function a(e){return t({url:"/api/v1/template/add",method:"post",data:e,headers:{"Content-Type":"multipart/form-data"}})}function r(e){return t({url:"/api/v1/template/update",method:"post",data:e,headers:{"Content-Type":"multipart/form-data"}})}function o(e){return t({url:"/api/v1/template/delete",method:"post",data:e,headers:{"Content-Type":"multipart/form-data"}})}export{a as A,o as D,r as U,e as g}; diff --git a/static/js/template.iDasYWHy.js b/static/js/template.iDasYWHy.js new file mode 100644 index 0000000000000000000000000000000000000000..9791fdff99ecf45b6e2feae262fa03e5d4d1f14c --- /dev/null +++ b/static/js/template.iDasYWHy.js @@ -0,0 +1 @@ +import{d as e,r as a,o as l,B as t,c as o,e as i,a0 as s,w as u,k as r,a4 as n,g as p,t as m,aA as c,Y as v,aI as d,a2 as f,a3 as g}from"./index.9PHSMUIB.js";import{E as y}from"./el-card.DWbysKpS.js";import{E as _,a as j,b as x}from"./el-table-column.haX2jq5s.js";import{E as C}from"./el-tag.CLWce1kX.js";import"./el-select.dUFpYm6H.js";import"./el-scrollbar.DlPh6Z7D.js";import"./el-popper.e9kr8u9Q.js";import"./el-tooltip.l0sNRNKZ.js";import{E as h}from"./el-dialog.Dis4ipFy.js";import{g as w,A as b,U as k,D as V}from"./temp.gJIG3-Be.js";import{_ as z}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./isEqual.DDyRMzJ4.js";import"./_initCloneObject.cf8iq1wq.js";import"./debounce.i1DMUZzi.js";import"./index.D7zGuEZp.js";import"./strings.CQ_np2th.js";import"./castArray.BN0gQOTw.js";import"./index.D6nSmJHY.js";import"./isUndefined.DgmxjSXK.js";import"./use-dialog.CybRpRek.js";import"./refs.CNClepWF.js";const E={class:"dialog-footer"},U=z(e({__name:"template",setup(e){const z=a([]),U=a(""),B=a(""),I=a(""),S=a(!1),A=a(),O=a(""),T=a("1");async function D(){const{data:e}=await w();z.value=e}l((async()=>{D()}));const K=()=>{O.value="添加模版",B.value="",I.value="",T.value="1",S.value=!0},q=async()=>{"添加模版"==O.value?(await b({filename:B.value.trim(),text:I.value.trim()}),c.success("添加成功")):(await k({filename:B.value.trim(),oldname:U.value.trim(),text:I.value.trim()}),c.success("更新成功")),D(),B.value="",I.value="",S.value=!1},F=a([]),G=e=>{F.value=e},H=()=>{0!==F.value.length&&d.confirm("你是否要删除选中这些 ?","提示",{confirmButtonText:"OK",cancelButtonText:"Cancel",type:"warning"}).then((()=>{for(let e=0;ea.file!==F.value[e].file));c({type:"success",message:"删除成功"})}))},J=a(1),N=a(10),Q=e=>{N.value=e},R=e=>{J.value=e},Y=t((()=>{const e=(J.value-1)*N.value,a=e+N.value;return z.value.slice(e,a)}));return(e,a)=>{const l=f,t=g,w=h,b=_,k=C,T=j,F=x,$=y;return o(),i("div",null,[s(w,{modelValue:S.value,"onUpdate:modelValue":a[3]||(a[3]=e=>S.value=e),title:O.value,width:"80%"},{footer:u((()=>[r("div",E,[s(t,{onClick:a[2]||(a[2]=e=>S.value=!1)},{default:u((()=>a[6]||(a[6]=[n("关闭")]))),_:1}),s(t,{type:"primary",onClick:q},{default:u((()=>a[7]||(a[7]=[n("确定")]))),_:1})])])),default:u((()=>[s(l,{modelValue:I.value,"onUpdate:modelValue":a[0]||(a[0]=e=>I.value=e),placeholder:"模版内容",rows:10,type:"textarea",style:{"margin-bottom":"10px"}},null,8,["modelValue"]),s(l,{modelValue:B.value,"onUpdate:modelValue":a[1]||(a[1]=e=>B.value=e),placeholder:"模版文件名"},null,8,["modelValue"])])),_:1},8,["modelValue","title"]),s($,null,{default:u((()=>[s(t,{type:"primary",onClick:K},{default:u((()=>a[8]||(a[8]=[n("添加模版")]))),_:1}),a[14]||(a[14]=r("div",{style:{"margin-bottom":"10px"}},null,-1)),s(T,{ref_key:"table",ref:A,data:p(Y),style:{width:"100%"},onSelectionChange:G},{default:u((()=>[s(b,{type:"selection",fixed:"",prop:"ID",label:"id"}),s(b,{prop:"file",label:"模版文件名"},{default:u((e=>[s(k,{type:"success"},{default:u((()=>[n(m(e.row.file),1)])),_:2},1024)])),_:1}),s(b,{prop:"create_date",label:"创建时间",sortable:""}),s(b,{fixed:"right",label:"操作",width:"120"},{default:u((e=>[s(t,{link:"",type:"primary",size:"small",onClick:a=>(e=>{for(let a=0;aa[9]||(a[9]=[n("编辑")]))),_:2},1032,["onClick"]),s(t,{link:"",type:"primary",size:"small",onClick:a=>{return l=e.row,void d.confirm(`你是否要删除 ${l.file} ?`,"提示",{confirmButtonText:"OK",cancelButtonText:"Cancel",type:"warning"}).then((async()=>{await V({filename:l.file,type:l.type}),c({type:"success",message:"删除成功"}),D()}));var l}},{default:u((()=>a[10]||(a[10]=[n("删除")]))),_:2},1032,["onClick"])])),_:1})])),_:1},8,["data"]),a[15]||(a[15]=r("div",{style:{"margin-top":"20px"}},null,-1)),s(t,{type:"info",onClick:a[4]||(a[4]=e=>{v((()=>{z.value.forEach((e=>{A.value.toggleRowSelection(e,!0)}))}))})},{default:u((()=>a[11]||(a[11]=[n("全选")]))),_:1}),s(t,{type:"warning",onClick:a[5]||(a[5]=e=>{A.value.clearSelection()})},{default:u((()=>a[12]||(a[12]=[n("取消选择")]))),_:1}),s(t,{type:"danger",onClick:H},{default:u((()=>a[13]||(a[13]=[n("批量删除")]))),_:1}),a[16]||(a[16]=r("div",{style:{"margin-top":"20px"}},null,-1)),s(F,{onSizeChange:Q,onCurrentChange:R,"current-page":J.value,"page-size":N.value,layout:"total, sizes, prev, pager, next, jumper","page-sizes":[10,20,30,40],total:z.value.length},null,8,["current-page","page-size","total"])])),_:1})])}}}),[["__scopeId","data-v-0c7c8c5b"]]);export{U as default}; diff --git a/static/js/todolist.CQls5pqo.js b/static/js/todolist.CQls5pqo.js new file mode 100644 index 0000000000000000000000000000000000000000..a9b77e46425abd092eb08ca4a4a3aa3b03aac112 --- /dev/null +++ b/static/js/todolist.CQls5pqo.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cpath%20d='M0%20512a512%20512%200%201%200%201024%200A512%20512%200%201%200%200%20512z'%20fill='%23FF8F41'/%3e%3cpath%20d='M466.107%20217.091h93.382q29.53%200%2029.53%2029.531v51.08q0%2029.531-29.53%2029.531h-93.381q-29.531%200-29.531-29.53v-51.081q0-29.53%2029.53-29.53zm253.476%20125.01%2040.039-17.701c3.508-1.55%204.021-6.316.924-8.579l-55.735-40.715c-3.096-2.263-7.481-.325-7.89%203.488l-4.477%2041.544-58.874%2080.592%2028.157%2020.568%2057.856-79.197z'%20fill='%23FFF'%20opacity='.4'/%3e%3cpath%20d='M263.383%20521.178a249.016%20249.016%200%201%200%20498.032%200%20249.016%20249.016%200%201%200-498.032%200z'%20fill='%23FFF'/%3e%3cpath%20d='M512.4%20348.383c9.917%200%2017.957%208.04%2017.957%2017.958v143.565l97.432%2055.102c8.634%204.882%2011.674%2015.839%206.792%2024.471-4.882%208.634-15.84%2011.674-24.472%206.791l-106.55-60.258a17.958%2017.958%200%200%201-9.118-15.632V366.341c0-9.917%208.04-17.958%2017.958-17.958z'%20fill='%23FF8F41'/%3e%3cpath%20d='M472.493%20524.371a40.705%2040.705%200%201%200%2081.409%200%2040.705%2040.705%200%201%200-81.41%200z'%20fill='%23FF8338'/%3e%3c/svg%3e";export{l as default}; diff --git a/static/js/tree.ByH7Oq4A.js b/static/js/tree.ByH7Oq4A.js new file mode 100644 index 0000000000000000000000000000000000000000..0c5f3ea3c18c341d54a69170425557809be8e9e3 --- /dev/null +++ b/static/js/tree.ByH7Oq4A.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cpath%20d='M977.455%20558.545h-34.91V453.818c0-44.218-37.236-81.454-81.454-81.454H546.909v-93.091h197.818c25.6%200%2046.546-20.946%2046.546-46.546V93.091c0-25.6-20.946-46.546-46.546-46.546H279.273c-25.6%200-46.546%2020.946-46.546%2046.546v139.636c0%2025.6%2020.946%2046.546%2046.546%2046.546H477.09v93.09H162.909c-44.218%200-81.454%2037.237-81.454%2081.455v104.727h-34.91C20.945%20558.545%200%20579.491%200%20605.091v325.818c0%2025.6%2020.945%2046.546%2046.545%2046.546h139.637c25.6%200%2046.545-20.946%2046.545-46.546V605.091c0-25.6-20.945-46.546-46.545-46.546h-34.91V453.818c0-6.982%204.655-11.636%2011.637-11.636h314.182v116.363h-34.91c-25.6%200-46.545%2020.946-46.545%2046.546v325.818c0%2025.6%2020.946%2046.546%2046.546%2046.546h139.636c25.6%200%2046.546-20.946%2046.546-46.546V605.091c0-25.6-20.946-46.546-46.546-46.546H546.91V442.182h314.182c6.982%200%2011.636%204.654%2011.636%2011.636v104.727h-34.909c-25.6%200-46.545%2020.946-46.545%2046.546v325.818c0%2025.6%2020.945%2046.546%2046.545%2046.546h139.637c25.6%200%2046.545-20.946%2046.545-46.546V605.091c0-25.6-20.945-46.546-46.545-46.546zm-814.546%2069.819v279.272H69.82V628.364h93.09zm395.636%200v279.272h-93.09V628.364h93.09zm-256-418.91v-93.09h418.91v93.09h-418.91zm651.637%20698.182H861.09V628.364h93.09v279.272z'/%3e%3c/svg%3e";export{c as default}; diff --git a/static/js/upload.DkIgLQ_p.js b/static/js/upload.DkIgLQ_p.js new file mode 100644 index 0000000000000000000000000000000000000000..e1df751e4c82dbd4e640e202b1a1a4bccf3de268 --- /dev/null +++ b/static/js/upload.DkIgLQ_p.js @@ -0,0 +1 @@ +import{b as e,h as t,d as a,a as s,B as l,bz as o,bA as n,bB as r,bC as i,a7 as u,bc as d,J as c,c as p,e as f,n as m,g as v,k as y,G as g,f as h,t as b,a1 as k,l as w,w as x,m as $,E as _,_ as F,s as E,aj as R,at as S,K as j,ao as T,bD as C,u as L,S as U,r as P,O as V,P as B,$ as D,ad as O,a0 as q,bE as M,bF as N,bG as A,aL as H,j as I,A as z,bH as K,bI as W,bJ as G,C as J,a8 as X,al as Q,p as Z,au as Y,b3 as ee,x as te,bK as ae,aO as se,aA as le,a4 as oe}from"./index.9PHSMUIB.js";import{b as ne,a as re,E as ie}from"./el-form-item.UpoTeuOf.js";import{E as ue}from"./el-link.BTv-HaC_.js";import{u as de,d as ce}from"./index.CM09xEA_.js";import{i as pe}from"./isEqual.DDyRMzJ4.js";import{_ as fe}from"./_plugin-vue_export-helper.BCo6x5W8.js";import{E as me}from"./el-dialog.Dis4ipFy.js";import"./castArray.BN0gQOTw.js";import"./_initCloneObject.cf8iq1wq.js";import"./index.D6nSmJHY.js";import"./use-dialog.CybRpRek.js";import"./isUndefined.DgmxjSXK.js";import"./refs.CNClepWF.js";function ve(e){return ne(e,5)}const ye=e({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:e=>e>=0&&e<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:t(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:t([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:t(Function),default:e=>`${e}%`}}),ge=a({name:"ElProgress"});const he=E(F(a({...ge,props:ye,setup(e){const t=e,a={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},F=s("progress"),E=l((()=>{const e={width:`${t.percentage}%`,animationDuration:`${t.duration}s`},a=q(t.percentage);return a.includes("gradient")?e.background=a:e.backgroundColor=a,e})),R=l((()=>(t.strokeWidth/t.width*100).toFixed(1))),S=l((()=>["circle","dashboard"].includes(t.type)?Number.parseInt(""+(50-Number.parseFloat(R.value)/2),10):0)),j=l((()=>{const e=S.value,a="dashboard"===t.type;return`\n M 50 50\n m 0 ${a?"":"-"}${e}\n a ${e} ${e} 0 1 1 0 ${a?"-":""}${2*e}\n a ${e} ${e} 0 1 1 0 ${a?"":"-"}${2*e}\n `})),T=l((()=>2*Math.PI*S.value)),C=l((()=>"dashboard"===t.type?.75:1)),L=l((()=>`${-1*T.value*(1-C.value)/2}px`)),U=l((()=>({strokeDasharray:`${T.value*C.value}px, ${T.value}px`,strokeDashoffset:L.value}))),P=l((()=>({strokeDasharray:`${T.value*C.value*(t.percentage/100)}px, ${T.value}px`,strokeDashoffset:L.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"}))),V=l((()=>{let e;return e=t.color?q(t.percentage):a[t.status]||a.default,e})),B=l((()=>"warning"===t.status?o:"line"===t.type?"success"===t.status?n:r:"success"===t.status?i:u)),D=l((()=>"line"===t.type?12+.4*t.strokeWidth:.111111*t.width+2)),O=l((()=>t.format(t.percentage)));const q=e=>{var a;const{color:s}=t;if(d(s))return s(e);if(c(s))return s;{const t=function(e){const t=100/e.length;return e.map(((e,a)=>c(e)?{color:e,percentage:(a+1)*t}:e)).sort(((e,t)=>e.percentage-t.percentage))}(s);for(const a of t)if(a.percentage>e)return a.color;return null==(a=t[t.length-1])?void 0:a.color}};return(e,t)=>(p(),f("div",{class:m([v(F).b(),v(F).m(e.type),v(F).is(e.status),{[v(F).m("without-text")]:!e.showText,[v(F).m("text-inside")]:e.textInside}]),role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"},["line"===e.type?(p(),f("div",{key:0,class:m(v(F).b("bar"))},[y("div",{class:m(v(F).be("bar","outer")),style:g({height:`${e.strokeWidth}px`})},[y("div",{class:m([v(F).be("bar","inner"),{[v(F).bem("bar","inner","indeterminate")]:e.indeterminate},{[v(F).bem("bar","inner","striped")]:e.striped},{[v(F).bem("bar","inner","striped-flow")]:e.stripedFlow}]),style:g(v(E))},[(e.showText||e.$slots.default)&&e.textInside?(p(),f("div",{key:0,class:m(v(F).be("bar","innerText"))},[h(e.$slots,"default",{percentage:e.percentage},(()=>[y("span",null,b(v(O)),1)]))],2)):k("v-if",!0)],6)],6)],2)):(p(),f("div",{key:1,class:m(v(F).b("circle")),style:g({height:`${e.width}px`,width:`${e.width}px`})},[(p(),f("svg",{viewBox:"0 0 100 100"},[y("path",{class:m(v(F).be("circle","track")),d:v(j),stroke:`var(${v(F).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":e.strokeLinecap,"stroke-width":v(R),fill:"none",style:g(v(U))},null,14,["d","stroke","stroke-linecap","stroke-width"]),y("path",{class:m(v(F).be("circle","path")),d:v(j),stroke:v(V),fill:"none",opacity:e.percentage?1:0,"stroke-linecap":e.strokeLinecap,"stroke-width":v(R),style:g(v(P))},null,14,["d","stroke","opacity","stroke-linecap","stroke-width"])]))],6)),!e.showText&&!e.$slots.default||e.textInside?k("v-if",!0):(p(),f("div",{key:2,class:m(v(F).e("text")),style:g({fontSize:`${v(D)}px`})},[h(e.$slots,"default",{percentage:e.percentage},(()=>[e.status?(p(),w(v(_),{key:1},{default:x((()=>[(p(),w($(v(B))))])),_:1})):(p(),f("span",{key:0},b(v(O)),1))]))],6))],10,["aria-valuenow"]))}}),[["__file","progress.vue"]])),be=Symbol("uploadContextKey");class ke extends Error{constructor(e,t,a,s){super(e),this.name="UploadAjaxError",this.status=t,this.method=a,this.url=s}}function we(e,t,a){let s;return s=a.response?`${a.response.error||a.response}`:a.responseText?`${a.responseText}`:`fail to ${t.method} ${e} ${a.status}`,new ke(s,a.status,t.method,e)}const xe=["text","picture","picture-card"];let $e=1;const _e=()=>Date.now()+$e++,Fe=e({action:{type:String,default:"#"},headers:{type:t(Object)},method:{type:String,default:"post"},data:{type:t([Object,Function,Promise]),default:()=>T({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:t(Array),default:()=>T([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:xe,default:"text"},httpRequest:{type:t(Function),default:e=>{"undefined"==typeof XMLHttpRequest&&R("ElUpload","XMLHttpRequest is undefined");const t=new XMLHttpRequest,a=e.action;t.upload&&t.upload.addEventListener("progress",(t=>{const a=t;a.percent=t.total>0?t.loaded/t.total*100:0,e.onProgress(a)}));const s=new FormData;if(e.data)for(const[o,n]of Object.entries(e.data))S(n)&&n.length?s.append(o,...n):s.append(o,n);s.append(e.filename,e.file,e.file.name),t.addEventListener("error",(()=>{e.onError(we(a,e,t))})),t.addEventListener("load",(()=>{if(t.status<200||t.status>=300)return e.onError(we(a,e,t));e.onSuccess(function(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(a){return t}}(t))})),t.open(e.method,a,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const l=e.headers||{};if(l instanceof Headers)l.forEach(((e,a)=>t.setRequestHeader(a,e)));else for(const[o,n]of Object.entries(l))j(n)||t.setRequestHeader(o,String(n));return t.send(s),t}},disabled:Boolean,limit:Number}),Ee=e({...Fe,beforeUpload:{type:t(Function),default:C},beforeRemove:{type:t(Function)},onRemove:{type:t(Function),default:C},onChange:{type:t(Function),default:C},onPreview:{type:t(Function),default:C},onSuccess:{type:t(Function),default:C},onProgress:{type:t(Function),default:C},onError:{type:t(Function),default:C},onExceed:{type:t(Function),default:C},crossorigin:{type:t(String)}}),Re=e({files:{type:t(Array),default:()=>T([])},disabled:{type:Boolean,default:!1},handlePreview:{type:t(Function),default:C},listType:{type:String,values:xe,default:"text"},crossorigin:{type:t(String)}}),Se=a({name:"ElUploadList"});var je=F(a({...Se,props:Re,emits:{remove:e=>!!e},setup(e,{emit:t}){const a=e,{t:o}=L(),r=s("upload"),d=s("icon"),c=s("list"),$=U(),F=P(!1),E=l((()=>[r.b("list"),r.bm("list",a.listType),r.is("disabled",a.disabled)])),R=e=>{t("remove",e)};return(e,t)=>(p(),w(H,{tag:"ul",class:m(v(E)),name:v(c).b()},{default:x((()=>[(p(!0),f(V,null,B(e.files,((t,a)=>(p(),f("li",{key:t.uid||t.name,class:m([v(r).be("list","item"),v(r).is(t.status),{focusing:F.value}]),tabindex:"0",onKeydown:D((e=>!v($)&&R(t)),["delete"]),onFocus:e=>F.value=!0,onBlur:e=>F.value=!1,onClick:e=>F.value=!1},[h(e.$slots,"default",{file:t,index:a},(()=>["picture"===e.listType||"uploading"!==t.status&&"picture-card"===e.listType?(p(),f("img",{key:0,class:m(v(r).be("list","item-thumbnail")),src:t.url,crossorigin:e.crossorigin,alt:""},null,10,["src","crossorigin"])):k("v-if",!0),"uploading"===t.status||"picture-card"!==e.listType?(p(),f("div",{key:1,class:m(v(r).be("list","item-info"))},[y("a",{class:m(v(r).be("list","item-name")),onClick:O((a=>e.handlePreview(t)),["prevent"])},[q(v(_),{class:m(v(d).m("document"))},{default:x((()=>[q(v(M))])),_:1},8,["class"]),y("span",{class:m(v(r).be("list","item-file-name")),title:t.name},b(t.name),11,["title"])],10,["onClick"]),"uploading"===t.status?(p(),w(v(he),{key:0,type:"picture-card"===e.listType?"circle":"line","stroke-width":"picture-card"===e.listType?6:2,percentage:Number(t.percentage),style:g("picture-card"===e.listType?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):k("v-if",!0)],2)):k("v-if",!0),y("label",{class:m(v(r).be("list","item-status-label"))},["text"===e.listType?(p(),w(v(_),{key:0,class:m([v(d).m("upload-success"),v(d).m("circle-check")])},{default:x((()=>[q(v(n))])),_:1},8,["class"])):["picture-card","picture"].includes(e.listType)?(p(),w(v(_),{key:1,class:m([v(d).m("upload-success"),v(d).m("check")])},{default:x((()=>[q(v(i))])),_:1},8,["class"])):k("v-if",!0)],2),v($)?k("v-if",!0):(p(),w(v(_),{key:2,class:m(v(d).m("close")),onClick:e=>R(t)},{default:x((()=>[q(v(u))])),_:2},1032,["class","onClick"])),k(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),k(" This is a bug which needs to be fixed "),k(" TODO: Fix the incorrect navigation interaction "),v($)?k("v-if",!0):(p(),f("i",{key:3,class:m(v(d).m("close-tip"))},b(v(o)("el.upload.deleteTip")),3)),"picture-card"===e.listType?(p(),f("span",{key:4,class:m(v(r).be("list","item-actions"))},[y("span",{class:m(v(r).be("list","item-preview")),onClick:a=>e.handlePreview(t)},[q(v(_),{class:m(v(d).m("zoom-in"))},{default:x((()=>[q(v(N))])),_:1},8,["class"])],10,["onClick"]),v($)?k("v-if",!0):(p(),f("span",{key:0,class:m(v(r).be("list","item-delete")),onClick:e=>R(t)},[q(v(_),{class:m(v(d).m("delete"))},{default:x((()=>[q(v(A))])),_:1},8,["class"])],10,["onClick"]))],2)):k("v-if",!0)]))],42,["onKeydown","onFocus","onBlur","onClick"])))),128)),h(e.$slots,"append")])),_:3},8,["class","name"]))}}),[["__file","upload-list.vue"]]);const Te=e({disabled:{type:Boolean,default:!1}}),Ce={file:e=>S(e)},Le="ElUploadDrag",Ue=a({name:Le});var Pe=F(a({...Ue,props:Te,emits:Ce,setup(e,{emit:t}){I(be)||R(Le,"usage: ");const a=s("upload"),l=P(!1),o=U(),n=e=>{if(o.value)return;l.value=!1,e.stopPropagation();const a=Array.from(e.dataTransfer.files);t("file",a)},r=()=>{o.value||(l.value=!0)};return(e,t)=>(p(),f("div",{class:m([v(a).b("dragger"),v(a).is("dragover",l.value)]),onDrop:O(n,["prevent"]),onDragover:O(r,["prevent"]),onDragleave:O((e=>l.value=!1),["prevent"])},[h(e.$slots,"default")],42,["onDrop","onDragover","onDragleave"]))}}),[["__file","upload-dragger.vue"]]);const Ve=e({...Fe,beforeUpload:{type:t(Function),default:C},onRemove:{type:t(Function),default:C},onStart:{type:t(Function),default:C},onSuccess:{type:t(Function),default:C},onProgress:{type:t(Function),default:C},onError:{type:t(Function),default:C},onExceed:{type:t(Function),default:C}}),Be=a({name:"ElUploadContent",inheritAttrs:!1});var De=F(a({...Be,props:Ve,setup(e,{expose:t}){const a=e,l=s("upload"),o=U(),n=z({}),r=z(),i=e=>{if(0===e.length)return;const{autoUpload:t,limit:s,fileList:l,multiple:o,onStart:n,onExceed:r}=a;if(s&&l.length+e.length>s)r(e,l);else{o||(e=e.slice(0,1));for(const a of e){const e=a;e.uid=_e(),n(e),t&&u(e)}}},u=async e=>{if(r.value.value="",!a.beforeUpload)return c(e);let t,s={};try{const l=a.data,o=a.beforeUpload(e);s=K(a.data)?ve(a.data):a.data,t=await o,K(a.data)&&pe(l,s)&&(s=ve(a.data))}catch(o){t=!1}if(!1===t)return void a.onRemove(e);let l=e;t instanceof Blob&&(l=t instanceof File?t:new File([t],e.name,{type:e.type})),c(Object.assign(l,{uid:e.uid}),s)},c=async(e,t)=>{const{headers:s,data:l,method:o,withCredentials:r,name:i,action:u,onProgress:c,onSuccess:p,onError:f,httpRequest:m}=a;try{t=await(async(e,t)=>d(e)?e(t):e)(null!=t?t:l,e)}catch(h){return void a.onRemove(e)}const{uid:v}=e,y={headers:s||{},withCredentials:r,file:e,data:t,method:o,filename:i,action:u,onProgress:t=>{c(t,e)},onSuccess:t=>{p(t,e),delete n.value[v]},onError:t=>{f(t,e),delete n.value[v]}},g=m(y);n.value[v]=g,g instanceof Promise&&g.then(y.onSuccess,y.onError)},g=e=>{const t=e.target.files;t&&i(Array.from(t))},b=()=>{o.value||(r.value.value="",r.value.click())},k=()=>{b()};return t({abort:e=>{W(n.value).filter(e?([t])=>String(e.uid)===t:()=>!0).forEach((([e,t])=>{t instanceof XMLHttpRequest&&t.abort(),delete n.value[e]}))},upload:u}),(e,t)=>(p(),f("div",{class:m([v(l).b(),v(l).m(e.listType),v(l).is("drag",e.drag),v(l).is("disabled",v(o))]),tabindex:v(o)?"-1":"0",onClick:b,onKeydown:D(O(k,["self"]),["enter","space"])},[e.drag?(p(),w(Pe,{key:0,disabled:v(o),onFile:i},{default:x((()=>[h(e.$slots,"default")])),_:3},8,["disabled"])):h(e.$slots,"default",{key:1}),y("input",{ref_key:"inputRef",ref:r,class:m(v(l).e("input")),name:e.name,disabled:v(o),multiple:e.multiple,accept:e.accept,type:"file",onChange:g,onClick:O((()=>{}),["stop"])},null,42,["name","disabled","multiple","accept","onClick"])],42,["tabindex","onKeydown"]))}}),[["__file","upload-content.vue"]]);const Oe="ElUpload",qe=e=>{var t;(null==(t=e.url)?void 0:t.startsWith("blob:"))&&URL.revokeObjectURL(e.url)},Me=a({name:"ElUpload"});const Ne=E(F(a({...Me,props:Ee,setup(e,{expose:t}){const a=e,s=U(),o=z(),{abort:n,submit:r,clearFiles:i,uploadFiles:u,handleStart:d,handleError:c,handleRemove:m,handleSuccess:y,handleProgress:g,revokeFileObjectURL:b}=((e,t)=>{const a=G(e,"fileList",void 0,{passive:!0}),s=e=>a.value.find((t=>t.uid===e.uid));function l(e){var a;null==(a=t.value)||a.abort(e)}function o(e){a.value=a.value.filter((t=>t!==e))}return J((()=>e.listType),(t=>{"picture-card"!==t&&"picture"!==t||(a.value=a.value.map((t=>{const{raw:s,url:l}=t;if(!l&&s)try{t.url=URL.createObjectURL(s)}catch(o){e.onError(o,t,a.value)}return t})))})),J(a,(e=>{for(const t of e)t.uid||(t.uid=_e()),t.status||(t.status="success")}),{immediate:!0,deep:!0}),{uploadFiles:a,abort:l,clearFiles:function(e=["ready","uploading","success","fail"]){a.value=a.value.filter((t=>!e.includes(t.status)))},handleError:(t,l)=>{const n=s(l);n&&(n.status="fail",o(n),e.onError(t,n,a.value),e.onChange(n,a.value))},handleProgress:(t,l)=>{const o=s(l);o&&(e.onProgress(t,o,a.value),o.status="uploading",o.percentage=Math.round(t.percent))},handleStart:t=>{j(t.uid)&&(t.uid=_e());const s={name:t.name,percentage:0,status:"ready",size:t.size,raw:t,uid:t.uid};if("picture-card"===e.listType||"picture"===e.listType)try{s.url=URL.createObjectURL(t)}catch(l){X(Oe,l.message),e.onError(l,s,a.value)}a.value=[...a.value,s],e.onChange(s,a.value)},handleSuccess:(t,l)=>{const o=s(l);o&&(o.status="success",o.response=t,e.onSuccess(t,o,a.value),e.onChange(o,a.value))},handleRemove:async t=>{const n=t instanceof File?s(t):t;n||R(Oe,"file to be removed not found");const r=t=>{l(t),o(t),e.onRemove(t,a.value),qe(t)};e.beforeRemove?!1!==await e.beforeRemove(n,a.value)&&r(n):r(n)},submit:function(){a.value.filter((({status:e})=>"ready"===e)).forEach((({raw:e})=>{var a;return e&&(null==(a=t.value)?void 0:a.upload(e))}))},revokeFileObjectURL:qe}})(a,o),$=l((()=>"picture-card"===a.listType)),_=l((()=>({...a,fileList:u.value,onStart:d,onProgress:g,onSuccess:y,onError:c,onRemove:m})));return Q((()=>{u.value.forEach(b)})),Z(be,{accept:Y(a,"accept")}),t({abort:n,submit:r,clearFiles:i,handleStart:d,handleRemove:m}),(e,t)=>(p(),f("div",null,[v($)&&e.showFileList?(p(),w(je,{key:0,disabled:v(s),"list-type":e.listType,files:v(u),crossorigin:e.crossorigin,"handle-preview":e.onPreview,onRemove:v(m)},ee({append:x((()=>[q(De,te({ref_key:"uploadRef",ref:o},v(_)),{default:x((()=>[e.$slots.trigger?h(e.$slots,"trigger",{key:0}):k("v-if",!0),!e.$slots.trigger&&e.$slots.default?h(e.$slots,"default",{key:1}):k("v-if",!0)])),_:3},16)])),_:2},[e.$slots.file?{name:"default",fn:x((({file:t,index:a})=>[h(e.$slots,"file",{file:t,index:a})]))}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):k("v-if",!0),!v($)||v($)&&!e.showFileList?(p(),w(De,te({key:1,ref_key:"uploadRef",ref:o},v(_)),{default:x((()=>[e.$slots.trigger?h(e.$slots,"trigger",{key:0}):k("v-if",!0),!e.$slots.trigger&&e.$slots.default?h(e.$slots,"default",{key:1}):k("v-if",!0)])),_:3},16)):k("v-if",!0),e.$slots.trigger?h(e.$slots,"default",{key:2}):k("v-if",!0),h(e.$slots,"tip"),!v($)&&e.showFileList?(p(),w(je,{key:3,disabled:v(s),"list-type":e.listType,files:v(u),crossorigin:e.crossorigin,"handle-preview":e.onPreview,onRemove:v(m)},ee({_:2},[e.$slots.file?{name:"default",fn:x((({file:t,index:a})=>[h(e.$slots,"file",{file:t,index:a})]))}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):k("v-if",!0)]))}}),[["__file","upload.vue"]])),Ae={viewBox:"0 0 1024 1024",width:"1.2em",height:"1.2em"};const He={name:"ep-plus",render:function(e,t){return p(),f("svg",Ae,t[0]||(t[0]=[y("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"},null,-1)]))}},Ie=["src"],ze=fe(a({__name:"SingleUpload",props:{modelValue:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:t}){const a=ae(e,"modelValue",t);async function s(e){const{data:t}=await de(e.file);a.value=t.url}function l(e){return!(e.size>2196608)||(le.warning("上传图片不能大于2M"),!1)}return(e,t)=>{const o=He,n=_,r=Ne;return p(),w(r,{modelValue:v(a),"onUpdate:modelValue":t[0]||(t[0]=e=>se(a)?a.value=e:null),class:"single-uploader","show-file-list":!1,"list-type":"picture-card","before-upload":l,"http-request":s},{default:x((()=>[v(a)?(p(),f("img",{key:0,src:v(a),class:"single-uploader__image"},null,8,Ie)):(p(),w(n,{key:1,class:"single-uploader__icon"},{default:x((()=>[q(o)])),_:1}))])),_:1},8,["modelValue"])}}}),[["__scopeId","data-v-8120521e"]]),Ke=["src"],We=a({__name:"MultiUpload",props:{modelValue:{type:Array,default:()=>[]},limit:{type:Number,default:10}},emits:["update:modelValue"],setup(e,{emit:t}){const a=t,s=e,l=P(""),o=P(!1),n=P([]);async function r(e){const{data:t}=await de(e.file),s=n.value.findIndex((t=>t.uid==e.file.uid));n.value.splice(s,1,{name:t.name,url:t.url}),a("update:modelValue",n.value.map((e=>e.url)))}function i(e){const t=e.url;t&&ce(t).then((()=>{a("update:modelValue",n.value.map((e=>e.url)))}))}function u(e){return!(e.size>2196608)||(le.warning("上传图片不能大于2M"),!1)}J((()=>s.modelValue),(e=>{const t=n.value.map((e=>e.url));t.length>0&&t.length===e.length&&t.every((t=>e.some((e=>e===t))))&&e.every((e=>t.some((t=>t===e))))||(n.value=e.map((e=>({url:e}))))}),{immediate:!0});const d=e=>{l.value=e.url,o.value=!0};return(e,t)=>{const a=He,c=Ne,m=me;return p(),f(V,null,[q(c,{"file-list":v(n),"onUpdate:fileList":t[0]||(t[0]=e=>se(n)?n.value=e:null),"list-type":"picture-card","before-upload":u,"http-request":r,"on-remove":i,"on-preview":d,limit:s.limit},{default:x((()=>[q(a)])),_:1},8,["file-list","limit"]),q(m,{modelValue:v(o),"onUpdate:modelValue":t[1]||(t[1]=e=>se(o)?o.value=e:null)},{default:x((()=>[y("img",{"w-full":"",src:v(l),alt:"Preview Image"},null,8,Ke)])),_:1},8,["modelValue"])],64)}}}),Ge={class:"app-container"},Je=a({__name:"upload",setup(e){const t=P("https://oss.youlai.tech/youlai-boot/2023/05/20/2b6d8b49fa1047348a0a41cef5aaf69e.gif"),a=P(["https://s2.loli.net/2023/05/24/yNsxFC8rLHMZQcK.jpg","https://s2.loli.net/2023/05/24/RuHFMwW4rG5lIqs.jpg","https://s2.loli.net/2023/05/24/ZPiGbcpR91WqInB.jpg","https://s2.loli.net/2023/05/24/e1bcnEq3MFdmlNL.jpg","https://s2.loli.net/2023/05/24/wZTSPj1yDQNcuhU.jpg"]);return(e,s)=>{const l=ue,o=re,n=ie;return p(),f("div",Ge,[q(l,{href:"https://gitee.com/youlaiorg/vue3-element-admin/blob/master/src/views/demo/upload.vue",type:"primary",target:"_blank",class:"mb-10"},{default:x((()=>s[2]||(s[2]=[oe("示例源码 请点击>>>>")]))),_:1}),q(n,null,{default:x((()=>[q(o,{label:"单图上传"},{default:x((()=>[q(ze,{modelValue:v(t),"onUpdate:modelValue":s[0]||(s[0]=e=>se(t)?t.value=e:null)},null,8,["modelValue"])])),_:1}),q(o,{label:"多图上传"},{default:x((()=>[q(We,{modelValue:v(a),"onUpdate:modelValue":s[1]||(s[1]=e=>se(a)?a.value=e:null)},null,8,["modelValue"])])),_:1})])),_:1})])}}});export{Je as default}; diff --git a/static/js/use-dialog.CybRpRek.js b/static/js/use-dialog.CybRpRek.js new file mode 100644 index 0000000000000000000000000000000000000000..8dd2e814c06a854d62b92ce129177195d5f1536f --- /dev/null +++ b/static/js/use-dialog.CybRpRek.js @@ -0,0 +1 @@ +import{b as e,i as o,h as l,U as a,b6 as n,cK as t,b2 as s,r as u,cQ as c,B as r,D as d,cR as i,C as p,Y as f,o as y,q as v,cS as m,an as b,z as C}from"./index.9PHSMUIB.js";import{i as B}from"./isUndefined.DgmxjSXK.js";const g=e({center:Boolean,alignCenter:Boolean,closeIcon:{type:o},draggable:Boolean,overflow:Boolean,fullscreen:Boolean,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),D={close:()=>!0},S=e({...g,appendToBody:Boolean,appendTo:{type:l([String,Object]),default:"body"},beforeClose:{type:l(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:Boolean,headerAriaLevel:{type:String,default:"2"}}),x={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[a]:e=>n(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},F=(e,o)=>{var l;const n=v().emit,{nextZIndex:g}=t();let D="";const S=s(),x=s(),F=u(!1),h=u(!1),I=u(!1),O=u(null!=(l=e.zIndex)?l:g());let A,w;const k=c("namespace",m),z=r((()=>{const o={},l=`--${k.value}-dialog`;return e.fullscreen||(e.top&&(o[`${l}-margin-top`]=e.top),e.width&&(o[`${l}-width`]=d(e.width))),o})),L=r((()=>e.alignCenter?{display:"flex"}:{}));function N(){null==w||w(),null==A||A(),e.openDelay&&e.openDelay>0?({stop:A}=b((()=>M()),e.openDelay)):M()}function j(){null==A||A(),null==w||w(),e.closeDelay&&e.closeDelay>0?({stop:w}=b((()=>P()),e.closeDelay)):P()}function E(){e.beforeClose?e.beforeClose((function(e){e||(h.value=!0,F.value=!1)})):j()}function M(){C&&(F.value=!0)}function P(){F.value=!1}return e.lockScroll&&i(F),p((()=>e.modelValue),(l=>{l?(h.value=!1,N(),I.value=!0,O.value=B(e.zIndex)?g():O.value++,f((()=>{n("open"),o.value&&(o.value.scrollTop=0)}))):F.value&&j()})),p((()=>e.fullscreen),(e=>{o.value&&(e?(D=o.value.style.transform,o.value.style.transform=""):o.value.style.transform=D)})),y((()=>{e.modelValue&&(F.value=!0,I.value=!0,N())})),{afterEnter:function(){n("opened")},afterLeave:function(){n("closed"),n(a,!1),e.destroyOnClose&&(I.value=!1)},beforeLeave:function(){n("close")},handleClose:E,onModalClick:function(){e.closeOnClickModal&&E()},close:j,doClose:P,onOpenAutoFocus:function(){n("openAutoFocus")},onCloseAutoFocus:function(){n("closeAutoFocus")},onCloseRequested:function(){e.closeOnPressEscape&&E()},onFocusoutPrevented:function(e){var o;"pointer"===(null==(o=e.detail)?void 0:o.focusReason)&&e.preventDefault()},titleId:S,bodyId:x,closed:h,style:z,overlayDialogStyle:L,rendered:I,visible:F,zIndex:O}};export{x as a,g as b,D as c,S as d,F as u}; diff --git a/static/js/user.m7vGTRps.js b/static/js/user.m7vGTRps.js new file mode 100644 index 0000000000000000000000000000000000000000..289b57b39cdb48985a969acb3e380763d61f7d3a --- /dev/null +++ b/static/js/user.m7vGTRps.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cpath%20d='M599.378%20958.454H424.62c-165.805%200-296.769%200-296.769-86.024v-17.178c0-161.188%20133.115-292.258%20296.77-292.258h174.756c163.619%200%20296.769%20131.102%20296.769%20292.258v17.178c0%2086.024-137.557%2086.024-296.768%2086.024zm-176.39-346.981c-137.625%200-249.608%20109.935-249.608%20245.098v17.491c0%2035.046%20144.255%2035.046%20249.608%2035.046h177.985c87.207%200%20249.645%200%20249.645-35.046v-17.491c0-135.163-112.018-245.098-249.645-245.098H422.988zm80.266-83.526c-129.923%200-235.555-104.14-235.555-232.12%200-128.015%20105.632-232.119%20235.555-232.119s235.554%20104.104%20235.554%20232.12c0%20127.978-105.7%20232.12-235.554%20232.12zM316.246%20295.098c0%20101.224%2083.91%20183.572%20187.008%20183.572%20103.133%200%20187.042-82.348%20187.042-183.572%200-101.19-83.909-183.502-187.042-183.502-103.134%200-187.008%2082.311-187.008%20183.502zm0%2017.767'/%3e%3c/svg%3e";export{c as default}; diff --git a/static/js/visit.BtczcFYa.js b/static/js/visit.BtczcFYa.js new file mode 100644 index 0000000000000000000000000000000000000000..c1f9f2efa11b0015b82c2b99951c6225d54c3473 --- /dev/null +++ b/static/js/visit.BtczcFYa.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%3e%3cpath%20d='M6.536%20518.536a501.106%20501.106%200%201%200%201002.213%200%20501.106%20501.106%200%201%200-1002.213%200z'%20fill='%23FA6B6D'/%3e%3cpath%20d='M513.09%20262.536c68.63%200%20125.276%2055.558%20125.276%20123.098%200%2067.54-55.557%20123.098-125.277%20123.098-68.63%200-125.276-55.558-125.276-123.098%201.09-68.63%2056.647-123.098%20125.276-123.098zm0%200c68.63%200%20125.276%2055.558%20125.276%20123.098%200%2067.54-55.557%20123.098-125.277%20123.098-68.63%200-125.276-55.558-125.276-123.098%201.09-68.63%2056.647-123.098%20125.276-123.098zm-46.843%20286.502h104.579c89.327%200%20161.225%2070.809%20161.225%20159.047v9.804c0%2034.86-71.898%2035.95-161.225%2035.95h-104.58c-89.327%200-161.225%200-161.225-35.95v-9.804c0-88.238%2072.988-159.047%20161.226-159.047z'%20fill='%23FFF'/%3e%3c/svg%3e";export{c as default}; diff --git a/static/js/wang-editor.CovtB-Ke.js b/static/js/wang-editor.CovtB-Ke.js new file mode 100644 index 0000000000000000000000000000000000000000..553547ab7c95426011f60c7887f76346499d1cc6 --- /dev/null +++ b/static/js/wang-editor.CovtB-Ke.js @@ -0,0 +1 @@ +import{d as e,r as t,A as n,o as r,C as o,c as i,e as a,N as u,bL as s,bK as l,al as c,a0 as f,g as d,aO as p,w as h,a4 as g}from"./index.9PHSMUIB.js";import{E as v}from"./el-link.BTv-HaC_.js";import{u as y}from"./index.CM09xEA_.js";var m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function b(e){var t={exports:{}};return e(t,t.exports),t.exports}var w,E,D=function(e){return e&&e.Math==Math&&e},C=D("object"==typeof globalThis&&globalThis)||D("object"==typeof window&&window)||D("object"==typeof self&&self)||D("object"==typeof m&&m)||function(){return this}()||Function("return this")(),x=Function.prototype,S=x.apply,A=x.bind,O=x.call,k="object"==typeof Reflect&&Reflect.apply||(A?O.bind(S):function(){return O.apply(S,arguments)}),B=Function.prototype,F=B.bind,T=B.call,_=F&&F.bind(T),P=F?function(e){return e&&_(T,e)}:function(e){return e&&function(){return T.apply(e,arguments)}},j=function(e){return"function"==typeof e},N=function(e){try{return!!e()}catch(t){return!0}},I=!N((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),L=Function.prototype.call,R=L.bind?L.bind(L):function(){return L.apply(L,arguments)},M={}.propertyIsEnumerable,z=Object.getOwnPropertyDescriptor,$=z&&!M.call({1:2},1)?function(e){var t=z(this,e);return!!t&&t.enumerable}:M,H={f:$},V=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},U=P({}.toString),W=P("".slice),G=function(e){return W(U(e),8,-1)},q=C.Object,K=P("".split),Y=N((function(){return!q("z").propertyIsEnumerable(0)}))?function(e){return"String"==G(e)?K(e,""):q(e)}:q,X=C.TypeError,Z=function(e){if(null==e)throw X("Can't call method on "+e);return e},J=function(e){return Y(Z(e))},Q=function(e){return"object"==typeof e?null!==e:j(e)},ee={},te=function(e){return j(e)?e:void 0},ne=function(e,t){return arguments.length<2?te(ee[e])||te(C[e]):ee[e]&&ee[e][t]||C[e]&&C[e][t]},re=P({}.isPrototypeOf),oe=ne("navigator","userAgent")||"",ie=C.process,ae=C.Deno,ue=ie&&ie.versions||ae&&ae.version,se=ue&&ue.v8;se&&(E=(w=se.split("."))[0]>0&&w[0]<4?1:+(w[0]+w[1])),!E&&oe&&(!(w=oe.match(/Edge\/(\d+)/))||w[1]>=74)&&(w=oe.match(/Chrome\/(\d+)/))&&(E=+w[1]);var le,ce=E,fe=!!Object.getOwnPropertySymbols&&!N((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ce&&ce<41})),de=fe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,pe=C.Object,he=de?function(e){return"symbol"==typeof e}:function(e){var t=ne("Symbol");return j(t)&&re(t.prototype,pe(e))},ge=C.String,ve=function(e){try{return ge(e)}catch(t){return"Object"}},ye=C.TypeError,me=function(e){if(j(e))return e;throw ye(ve(e)+" is not a function")},be=function(e,t){var n=e[t];return null==n?void 0:me(n)},we=C.TypeError,Ee=Object.defineProperty,De=C["__core-js_shared__"]||function(e,t){try{Ee(C,e,{value:t,configurable:!0,writable:!0})}catch(lP){C[e]=t}return t}("__core-js_shared__",{}),Ce=b((function(e){(e.exports=function(e,t){return De[e]||(De[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),xe=C.Object,Se=function(e){return xe(Z(e))},Ae=P({}.hasOwnProperty),Oe=Object.hasOwn||function(e,t){return Ae(Se(e),t)},ke=0,Be=Math.random(),Fe=P(1..toString),Te=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Fe(++ke+Be,36)},_e=Ce("wks"),Pe=C.Symbol,je=Pe&&Pe.for,Ne=de?Pe:Pe&&Pe.withoutSetter||Te,Ie=function(e){if(!Oe(_e,e)||!fe&&"string"!=typeof _e[e]){var t="Symbol."+e;fe&&Oe(Pe,e)?_e[e]=Pe[e]:_e[e]=de&&je?je(t):Ne(t)}return _e[e]},Le=C.TypeError,Re=Ie("toPrimitive"),Me=function(e){var t=function(e,t){if(!Q(e)||he(e))return e;var n,r=be(e,Re);if(r){if(n=R(r,e,t),!Q(n)||he(n))return n;throw Le("Can't convert object to primitive value")}return function(e){var t,n;if(j(t=e.toString)&&!Q(n=R(t,e)))return n;if(j(t=e.valueOf)&&!Q(n=R(t,e)))return n;throw we("Can't convert object to primitive value")}(e)}(e,"string");return he(t)?t:t+""},ze=C.document,$e=Q(ze)&&Q(ze.createElement),He=function(e){return $e?ze.createElement(e):{}},Ve=!I&&!N((function(){return 7!=Object.defineProperty(He("div"),"a",{get:function(){return 7}}).a})),Ue=Object.getOwnPropertyDescriptor,We=I?Ue:function(e,t){if(e=J(e),t=Me(t),Ve)try{return Ue(e,t)}catch(n){}if(Oe(e,t))return V(!R(H.f,e,t),e[t])},Ge={f:We},qe=/#|\.prototype\./,Ke=function(e,t){var n=Xe[Ye(e)];return n==Je||n!=Ze&&(j(t)?N(t):!!t)},Ye=Ke.normalize=function(e){return String(e).replace(qe,".").toLowerCase()},Xe=Ke.data={},Ze=Ke.NATIVE="N",Je=Ke.POLYFILL="P",Qe=Ke,et=P(P.bind),tt=function(e,t){return me(e),void 0===t?e:et?et(e,t):function(){return e.apply(t,arguments)}},nt=C.String,rt=C.TypeError,ot=function(e){if(Q(e))return e;throw rt(nt(e)+" is not an object")},it=C.TypeError,at=Object.defineProperty,ut=I?at:function(e,t,n){if(ot(e),t=Me(t),ot(n),Ve)try{return at(e,t,n)}catch(r){}if("get"in n||"set"in n)throw it("Accessors not supported");return"value"in n&&(e[t]=n.value),e},st={f:ut},lt=I?function(e,t,n){return st.f(e,t,V(1,n))}:function(e,t,n){return e[t]=n,e},ct=Ge.f,ft=function(e){var t=function(n,r,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,o)}return k(e,this,arguments)};return t.prototype=e.prototype,t},dt=function(e,t){var n,r,o,i,a,u,s,l,c=e.target,f=e.global,d=e.stat,p=e.proto,h=f?C:d?C[c]:(C[c]||{}).prototype,g=f?ee:ee[c]||lt(ee,c,{})[c],v=g.prototype;for(o in t)n=!Qe(f?o:c+(d?".":"#")+o,e.forced)&&h&&Oe(h,o),a=g[o],n&&(u=e.noTargetGet?(l=ct(h,o))&&l.value:h[o]),i=n&&u?u:t[o],n&&typeof a==typeof i||(s=e.bind&&n?tt(i,C):e.wrap&&n?ft(i):p&&j(i)?P(i):i,(e.sham||i&&i.sham||a&&a.sham)&<(s,"sham",!0),lt(g,o,s),p&&(Oe(ee,r=c+"Prototype")||lt(ee,r,{}),lt(ee[r],o,i),e.real&&v&&!v[o]&<(v,o,i)))},pt=Ce("keys"),ht=function(e){return pt[e]||(pt[e]=Te(e))},gt=!N((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),vt=ht("IE_PROTO"),yt=C.Object,mt=yt.prototype,bt=gt?yt.getPrototypeOf:function(e){var t=Se(e);if(Oe(t,vt))return t[vt];var n=t.constructor;return j(n)&&t instanceof n?n.prototype:t instanceof yt?mt:null},wt=C.String,Et=C.TypeError,Dt=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=P(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(r){}return function(n,r){return ot(n),function(e){if("object"==typeof e||j(e))return e;throw Et("Can't set "+wt(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),Ct=Math.ceil,xt=Math.floor,St=function(e){var t=+e;return t!=t||0===t?0:(t>0?xt:Ct)(t)},At=Math.max,Ot=Math.min,kt=function(e,t){var n=St(e);return n<0?At(n+t,0):Ot(n,t)},Bt=Math.min,Ft=function(e){return(t=e.length)>0?Bt(St(t),9007199254740991):0;var t},Tt=function(e){return function(t,n,r){var o,i=J(t),a=Ft(i),u=kt(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},_t={includes:Tt(!0),indexOf:Tt(!1)},Pt={},jt=_t.indexOf,Nt=P([].push),It=function(e,t){var n,r=J(e),o=0,i=[];for(n in r)!Oe(Pt,n)&&Oe(r,n)&&Nt(i,n);for(;t.length>o;)Oe(r,n=t[o++])&&(~jt(i,n)||Nt(i,n));return i},Lt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Rt=Lt.concat("length","prototype"),Mt=Object.getOwnPropertyNames||function(e){return It(e,Rt)},zt={f:Mt},$t={f:Object.getOwnPropertySymbols},Ht=P([].concat),Vt=ne("Reflect","ownKeys")||function(e){var t=zt.f(ot(e)),n=$t.f;return n?Ht(t,n(e)):t},Ut=Object.keys||function(e){return It(e,Lt)},Wt=I?Object.defineProperties:function(e,t){ot(e);for(var n,r=J(t),o=Ut(t),i=o.length,a=0;i>a;)st.f(e,n=o[a++],r[n]);return e},Gt=ne("document","documentElement"),qt=ht("IE_PROTO"),Kt=function(){},Yt=function(e){return"", + "", + "", + "" + ], + "description": "Vue3.0" + } +} diff --git a/webs/.vscode/vue3.2.code-snippets b/webs/.vscode/vue3.2.code-snippets new file mode 100644 index 0000000000000000000000000000000000000000..a083940bab1e08cc061fff7030f89f8b9330e07e --- /dev/null +++ b/webs/.vscode/vue3.2.code-snippets @@ -0,0 +1,17 @@ +{ + "Vue3.2+快速生成模板": { + "scope": "vue", + "prefix": "Vue3.2+", + "body": [ + "", + "", + "", + "", + "", + "" + ], + "description": "Vue3.2+" + } +} diff --git a/webs/.vscode/vue3.3.code-snippets b/webs/.vscode/vue3.3.code-snippets new file mode 100644 index 0000000000000000000000000000000000000000..705e04fb14c6f476982ec2499fcc7e845d0cceb5 --- /dev/null +++ b/webs/.vscode/vue3.3.code-snippets @@ -0,0 +1,21 @@ +{ + "Vue3.3+defineOptions快速生成模板": { + "scope": "vue", + "prefix": "Vue3.3+", + "body": [ + "", + "", + "", + "", + "", + "" + ], + "description": "Vue3.3+defineOptions快速生成模板" + } +} diff --git a/webs/CHANGELOG.md b/webs/CHANGELOG.md new file mode 100644 index 0000000000000000000000000000000000000000..9fdf8d34b7fe90d0f8deeb644a92e3aa0d688e3c --- /dev/null +++ b/webs/CHANGELOG.md @@ -0,0 +1,199 @@ +# 2.9.2 (2024/03/05) +### ✨ feat +- vscode开发扩展推荐 (author by [cshaptx4869](https://github.com/cshaptx4869)) +- 完善基础增删改查Mock接口 (author by [haoxianrui](https://github.com/haoxianrui)) + +### ♻️ refactor +- 修改login密码框功能实现(author by [cshaptx4869](https://github.com/cshaptx4869)) +- 弱化页面进入动画效果(author by [cshaptx4869](https://github.com/cshaptx4869)) +- 取消推荐TypeScript Vue Plugin (author by [cshaptx4869](https://github.com/cshaptx4869)) +- 网站加载动画替换 (author by [haoxianrui](https://github.com/haoxianrui)) +- 优化主题和主题色监听,避免多个页面重复初始化 (author by [haoxianrui](https://github.com/haoxianrui)) + +### 🐛 fix +- AppMain 高度在非固定头部不正确导致出现滚动条问题修复 (author by [haoxianrui](https://github.com/haoxianrui)) +- 修复混合模式开启固定Head时的样式问题 (author by [cshaptx4869](https://github.com/cshaptx4869)) +- 设置面板统一字体大小 (author by [cshaptx4869](https://github.com/cshaptx4869)) + +### 📦️build +- 通过env配置控制mock服务 (author by [cshaptx4869](https://github.com/cshaptx4869)) +- 升级依赖包至最新版本 (author by [haoxianrui](https://github.com/haoxianrui)) +- 定义vite全局常量替换项目标题和版本 (author by [cshaptx4869](https://github.com/cshaptx4869)) + +# 2.9.1 (2024/02/28) +### ♻️ refactor +- 项目配置按钮移入navbar(author by [cshaptx4869](https://github.com/cshaptx4869)) +- 优化user数据定义(author by [cshaptx4869](https://github.com/cshaptx4869)) +- 统一设置栏的 SVG 图标风格 + +### 🐛 fix +- 规整一些开发依赖 (author by [cshaptx4869](https://github.com/cshaptx4869)) +- 修复登录页主题切换问题 (author by [cshaptx4869](https://github.com/cshaptx4869)) + +### 🚀 pref + +- 压缩图片资源 (author by [cshaptx4869](https://github.com/cshaptx4869)) + + +# 2.9.0 (2024/02/25) + +### ✨ feat +- 引入 animate.css 动画库 +- 新增水印和配置 +- 动态路由菜单支持 element plus 的图标 + +### ♻️ refactor +- Layout 布局重构和相关问题修复 +- sass 使用 @use 替代 @import 引入外部文件指令 + +### 🐛 fix +- 修复管理页面部分弹窗无法打开问题 +- 主题颜色设置按钮 hover 等未变化问题修复 + + +# 2.8.1 (2024/01/10) + +### ✨ feat +- 替换 Mock 解决方案 vite-plugin-mock 为 vite-plugin-mock-dev-server 适配 Vite5 + +# 2.8.0 (2023/12/27) + +### ⬆️ chore +- 升级 Vite4 至 Vite5 + +# 2.7.1 (2023/12/12) + +### ♻️ refactor +- 将打包后的文件进行分类 (author by [ityangzhiwen](https://gitee.com/ityangzhiwen)) + +# 2.7.0 (2023/11/19) + +### ♻️ refactor +- 代码重构优化 +- 修改自动导入组件类型声明文件路径 +- 完善 typescript 类型 + +### 🐛 fix +- 修复管理页面部分弹窗无法打开问题 + + +# 2.7.0 (2023/11/19) + +### ♻️ refactor +- 代码重构 +- 修改自动导入组件类型声明文件路径 +- 完善 typescript 类型 + +### 🐛 fix +- 修复管理页面部分弹窗无法打开问题 + + +# 2.6.3 (2023/10/22) + +### ✨ feat +- 菜单管理新增目录只有一级子路由是否始终显示(alwaysShow)和路由页面是否缓存(keepAlive)的配置 +- 接口文档新增 swagger、knife4j +- 引入和支持 tsx + +### ♻️ refactor +- 代码瘦身,整理并删除未使用的 svg +- 控制台样式优化 + +### 🐛 fix +- 菜单栏折叠和展开的图标暗黑模式显示问题修复 + + +# 2.6.2 (2023/10/11) + +### 🐛 fix +- 主题设置未持久化问题 +- UnoCSS 插件无智能提示 + +### ♻️ refactor +- WebSocket 演示样式和代码优化 +- 用户管理代码重构 + +# 2.6.1 (2023/9/4) + +### 🐛 fix +- 导航顶部模式、混合模式样式在固定 Header 出现的样式问题修复 +- 固定 Header 没有持久化问题修复 +- 字典回显兼容 String 和 Number 类型 + +# 2.6.0 (2023/8/24)💥💥💥 + +### ✨ feat +- 导航顶部模式、混合模式支持(author by [april-tong](https://april-tong.com/)) +- 平台文档(内嵌)(author by [april-tong](https://april-tong.com/)) + +# 2.5.0 (2023/8/8) + +### ✨ feat +- 新增 Mock(author by [ygcaicn](https://github.com/ygcaicn)) +- 图标 DEMO(author by [ygcaicn](https://github.com/ygcaicn)) + +### 🐛 fix +- 字典支持 Number 类型 + +# 2.4.1 (2023/7/20) + +### ✨ feat +- 整合 vite-plugin-compression 插件打包优化(3.66MB → 1.58MB) (author by [april-tong](https://april-tong.com/)) +- 字典组件封装(author by [haoxr](https://juejin.cn/user/4187394044331261/posts)) + +### 🐛 fix +- 分页组件hidden无效 +- 签名无法保存至后端 +- Git 提交 stylelint 校验部分机器报错 + +# 2.4.0 (2023/6/17) + +### ✨ feat +- 新增组件标签输入框(author by [april-tong](https://april-tong.com/)) +- 新增组件签名(author by [april-tong](https://april-tong.com/)) +- 新增组件表格(author by [april-tong](https://april-tong.com/)) +- Echarts 图表添加下载功能 author by [april-tong](https://april-tong.com/)) + +### ♻️ refactor +- 限制包管理器为 pnpm 和 node 版本16+ +- 自定义组件自动导入配置 +- 搜索框样式写法优化 + +### 🐛 fix +- 用户导入的部门回显成数字问题修复 + +### ⬆️ chore +- element-plus 版本升级 2.3.5 → 2.3.6 + +# 2.3.1 (2023/5/21) + +### 🔄 refactor +- 组件示例文件名称优化 + +# 2.2.2 (2023/5/11) + +### ✨ feat +- 组件封装示例添加源码地址 +- 角色、菜单、部门、字段按钮添加权限控制 + + +# 2.3.0 (2023/5/12) + +### ⬆️ chore +- vue 版本升级 3.2.45 → 3.3.1 ([CHANGELOG](https://github.com/vuejs/core/blob/main/CHANGELOG.md)) +- vite 版本升级 4.3.1 → 4.3.5 + +### ♻️ refactor +- 使用 vue 3.3 版本新特性 `defineOptions` 在 `setup` 定义组件名称,移除重复的 `script` 标签 + +# 2.2.2 (2023/5/11) + +### ✨ feat +- 用户新增提交添加 `vueUse` 的 `useDebounceFn` 函数实现按钮防抖节流 + + +# 2.2.1 (2023/4/25) + +### 🐛 fix +- 图标选择器组件使用 `onClickOutside` 未排除下拉弹出框元素导致无法输入搜索。 + diff --git a/webs/LICENSE b/webs/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..9825cba022275577efd936680b4598b9fa8f44e5 --- /dev/null +++ b/webs/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021-present 有来开源组织 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/webs/commitlint.config.cjs b/webs/commitlint.config.cjs new file mode 100644 index 0000000000000000000000000000000000000000..89f188ebddf6601d8635550736b663f8057a64a0 --- /dev/null +++ b/webs/commitlint.config.cjs @@ -0,0 +1,93 @@ +module.exports = { + // 继承的规则 + extends: ["@commitlint/config-conventional"], + // 自定义规则 + rules: { + // @see https://commitlint.js.org/#/reference-rules + + // 提交类型枚举,git提交type必须是以下类型 + "type-enum": [ + 2, + "always", + [ + "feat", // 新增功能 + "fix", // 修复缺陷 + "docs", // 文档变更 + "style", // 代码格式(不影响功能,例如空格、分号等格式修正) + "refactor", // 代码重构(不包括 bug 修复、功能新增) + "perf", // 性能优化 + "test", // 添加疏漏测试或已有测试改动 + "build", // 构建流程、外部依赖变更(如升级 npm 包、修改 webpack 配置等) + "ci", // 修改 CI 配置、脚本 + "revert", // 回滚 commit + "chore", // 对构建过程或辅助工具和库的更改(不影响源文件、测试用例) + ], + ], + "subject-case": [0], // subject大小写不做校验 + }, + + prompt: { + messages: { + type: "选择你要提交的类型 :", + scope: "选择一个提交范围(可选):", + customScope: "请输入自定义的提交范围 :", + subject: "填写简短精炼的变更描述 :\n", + body: '填写更加详细的变更描述(可选)。使用 "|" 换行 :\n', + breaking: '列举非兼容性重大的变更(可选)。使用 "|" 换行 :\n', + footerPrefixesSelect: "选择关联issue前缀(可选):", + customFooterPrefix: "输入自定义issue前缀 :", + footer: "列举关联issue (可选) 例如: #31, #I3244 :\n", + generatingByAI: "正在通过 AI 生成你的提交简短描述...", + generatedSelectByAI: "选择一个 AI 生成的简短描述:", + confirmCommit: "是否提交或修改commit ?", + }, + // prettier-ignore + types: [ + { value: "feat", name: "特性: ✨ 新增功能", emoji: ":sparkles:" }, + { value: "fix", name: "修复: 🐛 修复缺陷", emoji: ":bug:" }, + { value: "docs", name: "文档: 📝 文档变更(更新README文件,或者注释)", emoji: ":memo:" }, + { value: "style", name: "格式: 🌈 代码格式(空格、格式化、缺失的分号等)", emoji: ":lipstick:" }, + { value: "refactor", name: "重构: 🔄 代码重构(不修复错误也不添加特性的代码更改)", emoji: ":recycle:" }, + { value: "perf", name: "性能: 🚀 性能优化", emoji: ":zap:" }, + { value: "test", name: "测试: 🧪 添加疏漏测试或已有测试改动", emoji: ":white_check_mark:"}, + { value: "build", name: "构建: 📦️ 构建流程、外部依赖变更(如升级 npm 包、修改 vite 配置等)", emoji: ":package:"}, + { value: "ci", name: "集成: ⚙️ 修改 CI 配置、脚本", emoji: ":ferris_wheel:"}, + { value: "revert", name: "回退: ↩️ 回滚 commit",emoji: ":rewind:"}, + { value: "chore", name: "其他: 🛠️ 对构建过程或辅助工具和库的更改(不影响源文件、测试用例)", emoji: ":hammer:"}, + ], + useEmoji: true, + emojiAlign: "center", + useAI: false, + aiNumber: 1, + themeColorCode: "", + scopes: [], + allowCustomScopes: true, + allowEmptyScopes: true, + customScopesAlign: "bottom", + customScopesAlias: "custom", + emptyScopesAlias: "empty", + upperCaseSubject: false, + markBreakingChangeMode: false, + allowBreakingChanges: ["feat", "fix"], + breaklineNumber: 100, + breaklineChar: "|", + skipQuestions: [], + issuePrefixes: [ + { value: "closed", name: "closed: ISSUES has been processed" }, + ], + customIssuePrefixAlign: "top", + emptyIssuePrefixAlias: "skip", + customIssuePrefixAlias: "custom", + allowCustomIssuePrefix: true, + allowEmptyIssuePrefix: true, + confirmColorize: true, + maxHeaderLength: Infinity, + maxSubjectLength: Infinity, + minSubjectLength: 0, + scopeOverrides: undefined, + defaultBody: "", + defaultIssues: "", + defaultScope: "", + defaultSubject: "", + }, +}; diff --git a/webs/index.html b/webs/index.html new file mode 100644 index 0000000000000000000000000000000000000000..a2d79d7c98b161fefc43e52e058d224df66e62a1 --- /dev/null +++ b/webs/index.html @@ -0,0 +1,58 @@ + + + + + + + sublinkX节点订阅管理系统 + + + +
+
+
+ + + + + diff --git a/webs/licenses/vue-element-admin/LICENSE b/webs/licenses/vue-element-admin/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..3fce3848624352579d30c7c56c7afa01e5125e3e --- /dev/null +++ b/webs/licenses/vue-element-admin/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2017-present PanJiaChen + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/webs/licenses/vue3-element-admin/LICENSE b/webs/licenses/vue3-element-admin/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..9825cba022275577efd936680b4598b9fa8f44e5 --- /dev/null +++ b/webs/licenses/vue3-element-admin/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021-present 有来开源组织 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/webs/mock/auth.mock.ts b/webs/mock/auth.mock.ts new file mode 100644 index 0000000000000000000000000000000000000000..90f08f74c9b4e69d5092c7b3b20f77ce0076dc7d --- /dev/null +++ b/webs/mock/auth.mock.ts @@ -0,0 +1,43 @@ +import { defineMock } from "./base"; + +export default defineMock([ + { + url: "auth/captcha", + method: ["GET"], + body: { + code: "00000", + data: { + captchaKey: "534b8ef2b0a24121bec76391ddd159f9", + captchaBase64: + "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAAkCAIAAADNSmkJAAAFKUlEQVR4Xu2ZXUwcVRiGV70wMWo08V5NvPXCrDbFaGpMaZW2hqQxaoiJTRsaMBCNSYtpa2JTKiFSelFa+Q/QZcMWqEhBlh+htbEpZhMrBQrlJ0hBywLLyrJ0WZbje3bqOvPNLHPWrDvdOE9ONmfe78zkzMs335wzWJhJQrBQweS/wTQ6QWgYHdoIOcecOe05O+t2WkutO+p2ZF3Ksg/YV9ZW6FATYajR3nveg60H9327r3O8c35lHgp+r05dPdJzBL73TPSQ8SaCKIxGLsPlop+K0JHrEkPuoT31e5qGmmjARACF0agYyGVNlyVm/pzZXrN9fHGcBkz0UBid+31u93i3XFFT80vN8cvHqWqih8Lo1NpUqS5vwh3vnd223VQ10UNh9NbyrcFQUK6oCawHUipSqGqiB83oBf+CXFGDMp1mS6OqiR4Ko7FexkpOrqhpHGw82nOUqiZ6KIzGrkRuorW0dJMmOy+hOCfYGzb2RBFv6HRO0gEJw/U7y+pgL1bwmTxexN6sZ31TdEwEhdG+gA+7EqyXpUO1uZH20cWL8hMTRt1N9tBXzCJrOIRoCPJpSO2RAp4HmtCdIfZ+2JWgEBN9LbR28seTGU0Zue1tMLp+YIAMSADzfvbkKX4/eb28j4YODiGin3heqmIlLja5hAUCu+nmGY3JWKvpMAlqNGgebsauBOvlqSX+JEx7p7EbTLen53XlzfmWUioqXikrc68Y8N2juJ/fyVsNChGHEE//rBANYWaZz+TRQqpLaBgNsPfDrgSpbS21YtV87IdjrlkX9JZbt5DOma2t9ITo5F+5glN22WwL/n+yDv00mw06orKxOqQ5+J04hhViwzAXETIcJDVm8uxZqktoGx2Nj9t43Wgaul/ERQiGQvtbWnDWgZYW9CXlQFjZ/7ciyHNn+Z2MexTimIeLz59TiIln0M1e+IbPpOAaDUnEYPTi6iqKxpbycs/qKo1tCslfKcffPn9enuMiPPY1vxO/ckeFQ4h46cdGqUWoidE/y54q5tPY5WDrGzQqIXot4BgchEE57e00IMCw2/1qZSVO/7SjA78o9INzcxsbrL+fnTnDDh9mmZn8F30oG1Hm+nABv5mQMopDS/h1HxtqTzWbABMe9sxpPoe9zezeOo1GELqWhPS8t46M0IAYHbdvR1aHbaOjbjfLz2eFhez6dba4yAfgF30o0BFVE8+Mjh/wFxPI+I5mAEHU6Ls+38vhTFwOBGhMDF8gkFpbC5ffsdv/uBs6dIj19dExEtARVXv9YNbop8NFY3aZ6gRRo+tu3IBHnzmdNCBMXldXJKPfL74WzWUJRE+coDUknqsOdZXQbAJYwluVTbOZI3Qt8GFzMwxyjo3RgBiN4fr+elXVpZGRLWXl6PdOTtJBSlBDUK/lnIrjOlrtqWYTQDJaF6FrTXu9sOa1ysrVoM5HVE1GFxZQcyJ/p+xzv6K/rbr6N6+XDpUBl0tKFIrbz78qWB6YnWFMCBld4XLBms+7df75ook/GNzb0GCV7U1Qfz9p64TyQWNjYD3qe9rj4SMJtQP3MyjSDPzWIRHPjH7X4YAvfXoPuyZf9Pbi3PcuXIh4mp3NllYC6XY79C+jl2o8PBipxjnBttn4MgMNnWgfcRJGPI2OL8hTj3LloIlmRicvBhiNykvecpqoa3RSY4DRcLAwyicuOepVR1JjgNFYHWONHL04czTX0UmNAUYD7Pr+xc4wqTHGaBb2OtZvHUmNYUazcA2J6etdUmOk0f8rTKMTxF91RG0D1SwYGwAAAABJRU5ErkJggg==", + }, + msg: "一切ok", + }, + }, + + { + url: "auth/login", + method: ["POST"], + body: { + code: "00000", + data: { + accessToken: + "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImp0aSI6IjE2YWJkNTlkOTAxNzQwZDliYmI3ZjczODBhZDkyNzNhIiwidXNlcklkIjoyLCJ1c2VybmFtZSI6ImFkbWluIiwiZGVwdElkIjoxLCJkYXRhU2NvcGUiOjEsImF1dGhvcml0aWVzIjpbIlJPTEVfQURNSU4iXSwiZXhwIjoxNjkxMTAzMzgyfQ.P4cuIfmPepl3HuguhMS7NXn5a7IUPpsLbmtA_rHOhHk", + tokenType: "Bearer", + refreshToken: null, + expires: null, + }, + msg: "一切ok", + }, + }, + + { + url: "auth/logout", + method: ["DELETE"], + body: { + code: "00000", + data: {}, + msg: "string", + }, + }, +]); diff --git a/webs/mock/base.ts b/webs/mock/base.ts new file mode 100644 index 0000000000000000000000000000000000000000..438e1c1ced827b307604539462693cf17ad3fcfe --- /dev/null +++ b/webs/mock/base.ts @@ -0,0 +1,10 @@ +import path from "path"; +import { createDefineMock } from "vite-plugin-mock-dev-server"; + +export const defineMock = createDefineMock((mock) => { + // 拼接url + mock.url = path.join( + import.meta.env.VITE_APP_BASE_API + "/api/v1/", + mock.url + ); +}); diff --git a/webs/mock/dept.mock.ts b/webs/mock/dept.mock.ts new file mode 100644 index 0000000000000000000000000000000000000000..eac3aa83f5b29c7d6410da844f15deb5895a09df --- /dev/null +++ b/webs/mock/dept.mock.ts @@ -0,0 +1,147 @@ +import { defineMock } from "./base"; + +export default defineMock([ + { + url: "dept/options", + method: ["GET"], + body: { + code: "00000", + data: [ + { + value: 1, + label: "有来技术", + children: [ + { + value: 2, + label: "研发部门", + }, + { + value: 3, + label: "测试部门", + }, + ], + }, + ], + msg: "一切ok", + }, + }, + + { + url: "dept", + method: ["GET"], + body: { + code: "00000", + data: [ + { + id: 1, + parentId: 0, + name: "有来技术", + sort: 1, + status: 1, + children: [ + { + id: 2, + parentId: 1, + name: "研发部门", + sort: 1, + status: 1, + children: [], + createTime: null, + updateTime: "2022-04-19 12:46", + }, + { + id: 3, + parentId: 1, + name: "测试部门", + sort: 1, + status: 1, + children: [], + createTime: null, + updateTime: "2022-04-19 12:46", + }, + ], + createTime: null, + updateTime: null, + }, + ], + msg: "一切ok", + }, + }, + + // 新增部门 + { + url: "dept", + method: ["POST"], + body({ body }) { + return { + code: "00000", + data: null, + msg: "新增部门" + body.name + "成功", + }; + }, + }, + + // 获取部门表单数据 + { + url: "dept/:id/form", + method: ["GET"], + body: ({ params }) => { + return { + code: "00000", + data: deptMap[params.id], + msg: "一切ok", + }; + }, + }, + + // 修改部门 + { + url: "dept/:id", + method: ["PUT"], + body({ body }) { + return { + code: "00000", + data: null, + msg: "修改部门" + body.name + "成功", + }; + }, + }, + + // 删除部门 + { + url: "dept/:id", + method: ["DELETE"], + body({ params }) { + return { + code: "00000", + data: null, + msg: "删除部门" + params.id + "成功", + }; + }, + }, +]); + +// 部门映射表数据 +const deptMap: Record = { + 1: { + id: 1, + name: "有来技术", + parentId: 0, + status: 1, + sort: 1, + }, + 2: { + id: 2, + name: "研发部门", + parentId: 1, + status: 1, + sort: 1, + }, + 3: { + id: 3, + name: "测试部门", + parentId: 1, + status: 1, + sort: 1, + }, +}; diff --git a/webs/mock/dict.mock.ts b/webs/mock/dict.mock.ts new file mode 100644 index 0000000000000000000000000000000000000000..178a75a2866d0904ca1656b060bf74c466ef89aa --- /dev/null +++ b/webs/mock/dict.mock.ts @@ -0,0 +1,247 @@ +import { defineMock } from "./base"; + +export default defineMock([ + { + url: "dict/:code/options", + method: ["GET"], + body: ({ params }) => { + const typeCode = params.code; + + let list = null; + + if (typeCode == "gender") { + list = [ + { + value: "1", + label: "男", + }, + { + value: "2", + label: "女", + }, + { + value: "0", + label: "未知", + }, + ]; + } + + return { + code: "00000", + data: list, + msg: "一切ok", + }; + }, + }, + + { + url: "dict/types/page", + method: ["GET"], + body: { + code: "00000", + data: { + list: [ + { + id: 1, + name: "性别", + code: "gender", + status: 1, + }, + { + id: 2, + name: "状态", + code: "status", + status: 1, + }, + ], + total: 2, + }, + msg: "一切ok", + }, + }, + + { + url: "dict/page", + method: ["GET"], + body: { + code: "00000", + data: { + list: [ + { + id: 1, + name: "男", + value: "1", + status: 1, + }, + { + id: 2, + name: "女", + value: "2", + status: 1, + }, + { + id: 3, + name: "未知", + value: "0", + status: 1, + }, + ], + total: 3, + }, + msg: "一切ok", + }, + }, + + // 新增字典类型 + { + url: "dict/types", + method: ["POST"], + body({ body }) { + return { + code: "00000", + data: null, + msg: "新增字典类型" + body.name + "成功", + }; + }, + }, + + // 获取字典类型表单数据 + { + url: "dict/types/:id/form", + method: ["GET"], + body: ({ params }) => { + return { + code: "00000", + data: dictTypeMap[params.id], + msg: "一切ok", + }; + }, + }, + + // 修改字典类型 + { + url: "dict/types/:id", + method: ["PUT"], + body({ body }) { + return { + code: "00000", + data: null, + msg: "修改字典类型" + body.name + "成功", + }; + }, + }, + + // 删除字典类型 + { + url: "dict/types/:id", + method: ["DELETE"], + body({ params }) { + return { + code: "00000", + data: null, + msg: "删除字典类型" + params.id + "成功", + }; + }, + }, + + // 新增字典 + { + url: "dict", + method: ["POST"], + body({ body }) { + return { + code: "00000", + data: null, + msg: "新增字典" + body.name + "成功", + }; + }, + }, + + // 获取字典表单数据 + { + url: "dict/:id/form", + method: ["GET"], + body: ({ params }) => { + return { + code: "00000", + data: dictMap[params.id], + msg: "一切ok", + }; + }, + }, + + // 修改字典 + { + url: "dict/:id", + method: ["PUT"], + body({ body }) { + return { + code: "00000", + data: null, + msg: "修改字典类型" + body.name + "成功", + }; + }, + }, + + // 删除字典 + { + url: "dict/:id", + method: ["DELETE"], + body({ params }) { + return { + code: "00000", + data: null, + msg: "删除字典" + params.id + "成功", + }; + }, + }, +]); + +// 字典类型映射表数据 +const dictTypeMap: Record = { + 1: { + id: 1, + name: "性别", + code: "gender", + status: 1, + remark: null, + }, + 2: { + id: 2, + name: "状态", + code: "status", + status: 1, + remark: null, + }, +}; + +// 字典映射表数据 +const dictMap: Record = { + 1: { + id: 1, + typeCode: "gender", + name: "男", + value: "1", + status: 1, + sort: 1, + remark: null, + }, + 2: { + id: 2, + typeCode: "gender", + name: "女", + value: "2", + status: 1, + sort: 2, + remark: null, + }, + 3: { + id: 3, + typeCode: "gender", + name: "未知", + value: "0", + status: 1, + sort: 1, + remark: null, + }, +}; diff --git a/webs/mock/menu.mock.ts b/webs/mock/menu.mock.ts new file mode 100644 index 0000000000000000000000000000000000000000..216063622977f917bc379e34cd0a24e1bc864e17 --- /dev/null +++ b/webs/mock/menu.mock.ts @@ -0,0 +1,1444 @@ +import { defineMock } from "./base"; + +export default defineMock([ + { + url: "menus/routes", + method: ["GET"], + body: { + code: "00000", + data: [ + { + path: "/system", + component: "Layout", + redirect: "/system/user", + name: "/system", + meta: { + title: "系统管理", + icon: "system", + hidden: false, + roles: ["ADMIN"], + }, + children: [ + { + path: "user", + component: "system/user/index", + name: "User", + meta: { + title: "用户管理", + icon: "user", + hidden: false, + roles: ["ADMIN"], + keepAlive: true, + }, + }, + { + path: "role", + component: "system/role/index", + name: "Role", + meta: { + title: "角色管理", + icon: "role", + hidden: false, + roles: ["ADMIN"], + keepAlive: true, + }, + }, + { + path: "menu", + component: "system/menu/index", + name: "Menu", + meta: { + title: "菜单管理", + icon: "menu", + hidden: false, + roles: ["ADMIN"], + keepAlive: true, + }, + }, + { + path: "dept", + component: "system/dept/index", + name: "Dept", + meta: { + title: "部门管理", + icon: "tree", + hidden: false, + roles: ["ADMIN"], + keepAlive: true, + }, + }, + { + path: "dict", + component: "system/dict/index", + name: "Dict", + meta: { + title: "字典管理", + icon: "dict", + hidden: false, + roles: ["ADMIN"], + keepAlive: true, + }, + }, + ], + }, + { + path: "/api", + component: "Layout", + name: "/api", + meta: { + title: "接口文档", + icon: "api", + hidden: false, + roles: ["ADMIN"], + alwaysShow: true, + }, + children: [ + { + path: "apifox", + component: "demo/api/apifox", + name: "Apifox", + meta: { + title: "Apifox", + icon: "api", + hidden: false, + roles: ["ADMIN"], + keepAlive: true, + }, + }, + { + path: "swagger", + component: "demo/api/swagger", + name: "Swagger", + meta: { + title: "Swagger", + icon: "api", + hidden: true, + roles: ["ADMIN"], + keepAlive: true, + }, + }, + { + path: "knife4j", + component: "demo/api/knife4j", + name: "Knife4j", + meta: { + title: "Knife4j", + icon: "api", + hidden: true, + roles: ["ADMIN"], + keepAlive: true, + }, + }, + ], + }, + { + path: "/doc", + component: "Layout", + name: "/doc", + meta: { + title: "平台文档", + icon: "document", + hidden: false, + roles: ["ADMIN"], + }, + children: [ + { + path: "internal-doc", + component: "demo/internal-doc", + name: "InternalDoc", + meta: { + title: "平台文档(内嵌)", + icon: "document", + hidden: false, + roles: ["ADMIN"], + }, + }, + { + path: "https://juejin.cn/post/7228990409909108793", + name: "Https://juejin.cn/post/7228990409909108793", + meta: { + title: "平台文档(外链)", + icon: "link", + hidden: false, + roles: ["ADMIN"], + }, + }, + ], + }, + { + path: "/multi-level", + component: "Layout", + redirect: "/multi-level/multi-level1", + name: "/multiLevel", + meta: { + title: "多级菜单", + icon: "cascader", + hidden: false, + roles: ["ADMIN"], + }, + children: [ + { + path: "multi-level1", + component: "demo/multi-level/level1", + redirect: "/multi-level/multi-level2", + name: "MultiLevel1", + meta: { + title: "菜单一级", + icon: "", + hidden: false, + roles: ["ADMIN"], + keepAlive: true, + }, + children: [ + { + path: "multi-level2", + component: "demo/multi-level/children/level2", + redirect: "/multi-level/multi-level2/multi-level3-1", + name: "MultiLevel2", + meta: { + title: "菜单二级", + icon: "", + hidden: false, + roles: ["ADMIN"], + keepAlive: true, + }, + children: [ + { + path: "multi-level3-1", + component: "demo/multi-level/children/children/level3-1", + name: "MultiLevel31", + meta: { + title: "菜单三级-1", + icon: "", + hidden: false, + roles: ["ADMIN"], + keepAlive: true, + }, + }, + { + path: "multi-level3-2", + component: "demo/multi-level/children/children/level3-2", + name: "MultiLevel32", + meta: { + title: "菜单三级-2", + icon: "", + hidden: false, + roles: ["ADMIN"], + keepAlive: true, + }, + }, + ], + }, + ], + }, + ], + }, + { + path: "/component", + component: "Layout", + name: "/component", + meta: { + title: "组件封装", + icon: "menu", + hidden: false, + roles: ["ADMIN"], + }, + children: [ + { + path: "wang-editor", + component: "demo/wang-editor", + name: "WangEditor", + meta: { + title: "富文本编辑器", + icon: "", + hidden: false, + roles: ["ADMIN"], + keepAlive: true, + }, + }, + { + path: "upload", + component: "demo/upload", + name: "Upload", + meta: { + title: "图片上传", + icon: "", + hidden: false, + roles: ["ADMIN"], + keepAlive: true, + }, + }, + { + path: "icon-selector", + component: "demo/icon-selector", + name: "IconSelector", + meta: { + title: "图标选择器", + icon: "", + hidden: false, + roles: ["ADMIN"], + keepAlive: true, + }, + }, + { + path: "dict-demo", + component: "demo/dict", + name: "DictDemo", + meta: { + title: "字典组件", + icon: "", + hidden: false, + roles: ["ADMIN"], + keepAlive: true, + }, + }, + { + path: "signature", + component: "demo/signature", + name: "Signature", + meta: { + title: "签名", + icon: "", + hidden: false, + roles: ["ADMIN"], + keepAlive: true, + }, + }, + { + path: "table", + component: "demo/table", + name: "Table", + meta: { + title: "表格", + icon: "", + hidden: false, + roles: ["ADMIN"], + keepAlive: true, + }, + }, + ], + }, + { + path: "/function", + component: "Layout", + name: "/function", + meta: { + title: "功能演示", + icon: "menu", + hidden: false, + roles: ["ADMIN"], + }, + children: [ + { + path: "icon-demo", + component: "demo/icons", + name: "IconDemo", + meta: { + title: "Icons", + icon: "el-icon-edit", + hidden: false, + roles: ["ADMIN"], + keepAlive: true, + }, + }, + { + path: "/function/websocket", + component: "demo/websocket", + name: "/function/websocket", + meta: { + title: "Websocket", + icon: "", + hidden: false, + roles: ["ADMIN"], + keepAlive: true, + }, + }, + { + path: "other", + component: "demo/other", + name: "Other", + meta: { + title: "敬请期待...", + icon: "", + hidden: false, + roles: ["ADMIN"], + }, + }, + ], + }, + ], + msg: "一切ok", + }, + }, + + { + url: "menus", + method: ["GET"], + body: { + code: "00000", + data: [ + { + id: 1, + parentId: 0, + name: "系统管理", + type: "CATALOG", + path: "/system", + component: "Layout", + sort: 1, + visible: 1, + icon: "system", + redirect: "/system/user", + perm: null, + children: [ + { + id: 2, + parentId: 1, + name: "用户管理", + type: "MENU", + path: "user", + component: "system/user/index", + sort: 1, + visible: 1, + icon: "user", + redirect: null, + perm: null, + children: [ + { + id: 31, + parentId: 2, + name: "用户新增", + type: "BUTTON", + path: "", + component: null, + sort: 1, + visible: 1, + icon: "", + redirect: "", + perm: "sys:user:add", + children: [], + }, + { + id: 32, + parentId: 2, + name: "用户编辑", + type: "BUTTON", + path: "", + component: null, + sort: 2, + visible: 1, + icon: "", + redirect: "", + perm: "sys:user:edit", + children: [], + }, + { + id: 33, + parentId: 2, + name: "用户删除", + type: "BUTTON", + path: "", + component: null, + sort: 3, + visible: 1, + icon: "", + redirect: "", + perm: "sys:user:delete", + children: [], + }, + { + id: 88, + parentId: 2, + name: "重置密码", + type: "BUTTON", + path: "", + component: null, + sort: 4, + visible: 1, + icon: "", + redirect: null, + perm: "sys:user:reset_pwd", + children: [], + }, + ], + }, + { + id: 3, + parentId: 1, + name: "角色管理", + type: "MENU", + path: "role", + component: "system/role/index", + sort: 2, + visible: 1, + icon: "role", + redirect: null, + perm: null, + children: [ + { + id: 70, + parentId: 3, + name: "角色新增", + type: "BUTTON", + path: "", + component: null, + sort: 1, + visible: 1, + icon: "", + redirect: null, + perm: "sys:role:add", + children: [], + }, + { + id: 71, + parentId: 3, + name: "角色编辑", + type: "BUTTON", + path: "", + component: null, + sort: 2, + visible: 1, + icon: "", + redirect: null, + perm: "sys:role:edit", + children: [], + }, + { + id: 72, + parentId: 3, + name: "角色删除", + type: "BUTTON", + path: "", + component: null, + sort: 3, + visible: 1, + icon: "", + redirect: null, + perm: "sys:role:delete", + children: [], + }, + ], + }, + { + id: 4, + parentId: 1, + name: "菜单管理", + type: "MENU", + path: "menu", + component: "system/menu/index", + sort: 3, + visible: 1, + icon: "menu", + redirect: null, + perm: null, + children: [ + { + id: 73, + parentId: 4, + name: "菜单新增", + type: "BUTTON", + path: "", + component: null, + sort: 1, + visible: 1, + icon: "", + redirect: null, + perm: "sys:menu:add", + children: [], + }, + { + id: 74, + parentId: 4, + name: "菜单编辑", + type: "BUTTON", + path: "", + component: null, + sort: 3, + visible: 1, + icon: "", + redirect: null, + perm: "sys:menu:edit", + children: [], + }, + { + id: 75, + parentId: 4, + name: "菜单删除", + type: "BUTTON", + path: "", + component: null, + sort: 3, + visible: 1, + icon: "", + redirect: null, + perm: "sys:menu:delete", + children: [], + }, + ], + }, + { + id: 5, + parentId: 1, + name: "部门管理", + type: "MENU", + path: "dept", + component: "system/dept/index", + sort: 4, + visible: 1, + icon: "tree", + redirect: null, + perm: null, + children: [ + { + id: 76, + parentId: 5, + name: "部门新增", + type: "BUTTON", + path: "", + component: null, + sort: 1, + visible: 1, + icon: "", + redirect: null, + perm: "sys:dept:add", + children: [], + }, + { + id: 77, + parentId: 5, + name: "部门编辑", + type: "BUTTON", + path: "", + component: null, + sort: 2, + visible: 1, + icon: "", + redirect: null, + perm: "sys:dept:edit", + children: [], + }, + { + id: 78, + parentId: 5, + name: "部门删除", + type: "BUTTON", + path: "", + component: null, + sort: 3, + visible: 1, + icon: "", + redirect: null, + perm: "sys:dept:delete", + children: [], + }, + ], + }, + { + id: 6, + parentId: 1, + name: "字典管理", + type: "MENU", + path: "dict", + component: "system/dict/index", + sort: 5, + visible: 1, + icon: "dict", + redirect: null, + perm: null, + children: [ + { + id: 79, + parentId: 6, + name: "字典类型新增", + type: "BUTTON", + path: "", + component: null, + sort: 1, + visible: 1, + icon: "", + redirect: null, + perm: "sys:dict_type:add", + children: [], + }, + { + id: 81, + parentId: 6, + name: "字典类型编辑", + type: "BUTTON", + path: "", + component: null, + sort: 2, + visible: 1, + icon: "", + redirect: null, + perm: "sys:dict_type:edit", + children: [], + }, + { + id: 84, + parentId: 6, + name: "字典类型删除", + type: "BUTTON", + path: "", + component: null, + sort: 3, + visible: 1, + icon: "", + redirect: null, + perm: "sys:dict_type:delete", + children: [], + }, + { + id: 85, + parentId: 6, + name: "字典数据新增", + type: "BUTTON", + path: "", + component: null, + sort: 4, + visible: 1, + icon: "", + redirect: null, + perm: "sys:dict:add", + children: [], + }, + { + id: 86, + parentId: 6, + name: "字典数据编辑", + type: "BUTTON", + path: "", + component: null, + sort: 5, + visible: 1, + icon: "", + redirect: null, + perm: "sys:dict:edit", + children: [], + }, + { + id: 87, + parentId: 6, + name: "字典数据删除", + type: "BUTTON", + path: "", + component: null, + sort: 6, + visible: 1, + icon: "", + redirect: null, + perm: "sys:dict:delete", + children: [], + }, + ], + }, + ], + }, + { + id: 40, + parentId: 0, + name: "接口文档", + type: "CATALOG", + path: "/api", + component: "Layout", + sort: 7, + visible: 1, + icon: "api", + redirect: "", + perm: null, + children: [ + { + id: 41, + parentId: 40, + name: "Apifox", + type: "MENU", + path: "apifox", + component: "demo/api/apifox", + sort: 1, + visible: 1, + icon: "api", + redirect: "", + perm: null, + children: [], + }, + { + id: 103, + parentId: 40, + name: "Swagger", + type: "MENU", + path: "swagger", + component: "demo/api/swagger", + sort: 2, + visible: 0, + icon: "api", + redirect: "", + perm: null, + children: [], + }, + { + id: 104, + parentId: 40, + name: "Knife4j", + type: "MENU", + path: "knife4j", + component: "demo/api/knife4j", + sort: 3, + visible: 0, + icon: "api", + redirect: "", + perm: null, + children: [], + }, + ], + }, + { + id: 26, + parentId: 0, + name: "平台文档", + type: "CATALOG", + path: "/doc", + component: "Layout", + sort: 8, + visible: 1, + icon: "document", + redirect: null, + perm: null, + children: [ + { + id: 102, + parentId: 26, + name: "平台文档(内嵌)", + type: "EXTLINK", + path: "internal-doc", + component: "demo/internal-doc", + sort: 1, + visible: 1, + icon: "document", + redirect: "", + perm: null, + children: [], + }, + { + id: 30, + parentId: 26, + name: "平台文档(外链)", + type: "EXTLINK", + path: "https://juejin.cn/post/7228990409909108793", + component: "", + sort: 2, + visible: 1, + icon: "link", + redirect: "", + perm: null, + children: [], + }, + ], + }, + { + id: 20, + parentId: 0, + name: "多级菜单", + type: "CATALOG", + path: "/multi-level", + component: "Layout", + sort: 9, + visible: 1, + icon: "cascader", + redirect: "/multi-level/multi-level1", + perm: null, + children: [ + { + id: 21, + parentId: 20, + name: "菜单一级", + type: "MENU", + path: "multi-level1", + component: "demo/multi-level/level1", + sort: 1, + visible: 1, + icon: "", + redirect: "/multi-level/multi-level2", + perm: null, + children: [ + { + id: 22, + parentId: 21, + name: "菜单二级", + type: "MENU", + path: "multi-level2", + component: "demo/multi-level/children/level2", + sort: 1, + visible: 1, + icon: "", + redirect: "/multi-level/multi-level2/multi-level3-1", + perm: null, + children: [ + { + id: 23, + parentId: 22, + name: "菜单三级-1", + type: "MENU", + path: "multi-level3-1", + component: "demo/multi-level/children/children/level3-1", + sort: 1, + visible: 1, + icon: "", + redirect: "", + perm: null, + children: [], + }, + { + id: 24, + parentId: 22, + name: "菜单三级-2", + type: "MENU", + path: "multi-level3-2", + component: "demo/multi-level/children/children/level3-2", + sort: 2, + visible: 1, + icon: "", + redirect: "", + perm: null, + children: [], + }, + ], + }, + ], + }, + ], + }, + { + id: 36, + parentId: 0, + name: "组件封装", + type: "CATALOG", + path: "/component", + component: "Layout", + sort: 10, + visible: 1, + icon: "menu", + redirect: "", + perm: null, + children: [ + { + id: 37, + parentId: 36, + name: "富文本编辑器", + type: "MENU", + path: "wang-editor", + component: "demo/wang-editor", + sort: 1, + visible: 1, + icon: "", + redirect: "", + perm: null, + children: [], + }, + { + id: 38, + parentId: 36, + name: "图片上传", + type: "MENU", + path: "upload", + component: "demo/upload", + sort: 2, + visible: 1, + icon: "", + redirect: "", + perm: null, + children: [], + }, + { + id: 39, + parentId: 36, + name: "图标选择器", + type: "MENU", + path: "icon-selector", + component: "demo/icon-selector", + sort: 3, + visible: 1, + icon: "", + redirect: "", + perm: null, + children: [], + }, + { + id: 95, + parentId: 36, + name: "字典组件", + type: "MENU", + path: "dict-demo", + component: "demo/dict", + sort: 4, + visible: 1, + icon: "", + redirect: "", + perm: null, + children: [], + }, + { + id: 93, + parentId: 36, + name: "签名", + type: "MENU", + path: "signature", + component: "demo/signature", + sort: 6, + visible: 1, + icon: "", + redirect: "", + perm: null, + children: [], + }, + { + id: 94, + parentId: 36, + name: "表格", + type: "MENU", + path: "table", + component: "demo/table", + sort: 7, + visible: 1, + icon: "", + redirect: "", + perm: null, + children: [], + }, + ], + }, + { + id: 89, + parentId: 0, + name: "功能演示", + type: "CATALOG", + path: "/function", + component: "Layout", + sort: 11, + visible: 1, + icon: "menu", + redirect: "", + perm: null, + children: [ + { + id: 97, + parentId: 89, + name: "Icons", + type: "MENU", + path: "icon-demo", + component: "demo/icons", + sort: 2, + visible: 1, + icon: "el-icon-edit", + redirect: "", + perm: null, + children: [], + }, + { + id: 90, + parentId: 89, + name: "Websocket", + type: "MENU", + path: "/function/websocket", + component: "demo/websocket", + sort: 3, + visible: 1, + icon: "", + redirect: "", + perm: null, + children: [], + }, + { + id: 91, + parentId: 89, + name: "敬请期待...", + type: "CATALOG", + path: "other", + component: "demo/other", + sort: 4, + visible: 1, + icon: "", + redirect: "", + perm: null, + children: [], + }, + ], + }, + ], + msg: "一切ok", + }, + }, + + { + url: "menus/options", + method: ["GET"], + body: { + code: "00000", + data: [ + { + value: 1, + label: "系统管理", + children: [ + { + value: 2, + label: "用户管理", + children: [ + { + value: 31, + label: "用户新增", + }, + { + value: 32, + label: "用户编辑", + }, + { + value: 33, + label: "用户删除", + }, + { + value: 88, + label: "重置密码", + }, + ], + }, + { + value: 3, + label: "角色管理", + children: [ + { + value: 70, + label: "角色新增", + }, + { + value: 71, + label: "角色编辑", + }, + { + value: 72, + label: "角色删除", + }, + ], + }, + { + value: 4, + label: "菜单管理", + children: [ + { + value: 73, + label: "菜单新增", + }, + { + value: 74, + label: "菜单编辑", + }, + { + value: 75, + label: "菜单删除", + }, + ], + }, + { + value: 5, + label: "部门管理", + children: [ + { + value: 76, + label: "部门新增", + }, + { + value: 77, + label: "部门编辑", + }, + { + value: 78, + label: "部门删除", + }, + ], + }, + { + value: 6, + label: "字典管理", + children: [ + { + value: 79, + label: "字典类型新增", + }, + { + value: 81, + label: "字典类型编辑", + }, + { + value: 84, + label: "字典类型删除", + }, + { + value: 85, + label: "字典数据新增", + }, + { + value: 86, + label: "字典数据编辑", + }, + { + value: 87, + label: "字典数据删除", + }, + ], + }, + ], + }, + { + value: 40, + label: "接口文档", + children: [ + { + value: 41, + label: "Apifox", + }, + { + value: 103, + label: "Swagger", + }, + { + value: 104, + label: "Knife4j", + }, + ], + }, + { + value: 26, + label: "平台文档", + children: [ + { + value: 102, + label: "平台文档(内嵌)", + }, + { + value: 30, + label: "平台文档(外链)", + }, + ], + }, + { + value: 20, + label: "多级菜单", + children: [ + { + value: 21, + label: "菜单一级", + children: [ + { + value: 22, + label: "菜单二级", + children: [ + { + value: 23, + label: "菜单三级-1", + }, + { + value: 24, + label: "菜单三级-2", + }, + ], + }, + ], + }, + ], + }, + { + value: 36, + label: "组件封装", + children: [ + { + value: 37, + label: "富文本编辑器", + }, + { + value: 38, + label: "图片上传", + }, + { + value: 39, + label: "图标选择器", + }, + { + value: 95, + label: "字典组件", + }, + { + value: 93, + label: "签名", + }, + { + value: 94, + label: "表格", + }, + ], + }, + { + value: 89, + label: "功能演示", + children: [ + { + value: 97, + label: "Icons", + }, + { + value: 90, + label: "Websocket", + }, + { + value: 91, + label: "敬请期待...", + }, + ], + }, + ], + msg: "一切ok", + }, + }, + + // 新增菜单 + { + url: "menus", + method: ["POST"], + body({ body }) { + return { + code: "00000", + data: null, + msg: "新增菜单" + body.name + "成功", + }; + }, + }, + + // 获取菜单表单数据 + { + url: "menus/:id/form", + method: ["GET"], + body: ({ params }) => { + return { + code: "00000", + data: menuMap[params.id], + msg: "一切ok", + }; + }, + }, + + // 修改菜单 + { + url: "menus/:id", + method: ["PUT"], + body({ body }) { + return { + code: "00000", + data: null, + msg: "修改菜单" + body.name + "成功", + }; + }, + }, + + // 删除菜单 + { + url: "menus/:id", + method: ["DELETE"], + body({ params }) { + return { + code: "00000", + data: null, + msg: "删除菜单" + params.id + "成功", + }; + }, + }, +]); + +// 菜单映射表数据 +const menuMap: Record = { + 1: { + id: 1, + parentId: 0, + name: "系统管理", + type: "CATALOG", + path: "/system", + component: "Layout", + perm: null, + visible: 1, + sort: 1, + icon: "system", + redirect: "/system/user", + keepAlive: null, + alwaysShow: null, + }, + 2: { + id: 2, + parentId: 1, + name: "用户管理", + type: "MENU", + path: "user", + component: "system/user/index", + perm: null, + visible: 1, + sort: 1, + icon: "user", + redirect: null, + keepAlive: 1, + alwaysShow: null, + }, + 3: { + id: 3, + parentId: 1, + name: "角色管理", + type: "MENU", + path: "role", + component: "system/role/index", + perm: null, + visible: 1, + sort: 2, + icon: "role", + redirect: null, + keepAlive: 1, + alwaysShow: null, + }, + 4: { + id: 4, + parentId: 1, + name: "菜单管理", + type: "MENU", + path: "menu", + component: "system/menu/index", + perm: null, + visible: 1, + sort: 3, + icon: "menu", + redirect: null, + keepAlive: 1, + alwaysShow: null, + }, + 5: { + id: 5, + parentId: 1, + name: "部门管理", + type: "MENU", + path: "dept", + component: "system/dept/index", + perm: null, + visible: 1, + sort: 4, + icon: "tree", + redirect: null, + keepAlive: 1, + alwaysShow: null, + }, + 6: { + id: 6, + parentId: 1, + name: "字典管理", + type: "MENU", + path: "dict", + component: "system/dict/index", + perm: null, + visible: 1, + sort: 5, + icon: "dict", + redirect: null, + keepAlive: 1, + alwaysShow: null, + }, +}; diff --git a/webs/mock/role.mock.ts b/webs/mock/role.mock.ts new file mode 100644 index 0000000000000000000000000000000000000000..cc870267792556e4c75a195526beb14e4f102d76 --- /dev/null +++ b/webs/mock/role.mock.ts @@ -0,0 +1,335 @@ +import { defineMock } from "./base"; + +export default defineMock([ + { + url: "roles/options", + method: ["GET"], + body: { + code: "00000", + data: [ + { + value: 2, + label: "系统管理员", + }, + { + value: 4, + label: "系统管理员1", + }, + { + value: 5, + label: "系统管理员2", + }, + { + value: 6, + label: "系统管理员3", + }, + { + value: 7, + label: "系统管理员4", + }, + { + value: 8, + label: "系统管理员5", + }, + { + value: 9, + label: "系统管理员6", + }, + { + value: 10, + label: "系统管理员7", + }, + { + value: 11, + label: "系统管理员8", + }, + { + value: 12, + label: "系统管理员9", + }, + { + value: 3, + label: "访问游客", + }, + ], + msg: "一切ok", + }, + }, + + { + url: "roles/page", + method: ["GET"], + body: { + code: "00000", + data: { + list: [ + { + id: 2, + name: "系统管理员", + code: "ADMIN", + status: 1, + sort: 2, + createTime: "2021-03-25 12:39:54", + updateTime: null, + }, + { + id: 3, + name: "访问游客", + code: "GUEST", + status: 1, + sort: 3, + createTime: "2021-05-26 15:49:05", + updateTime: "2019-05-05 16:00:00", + }, + { + id: 4, + name: "系统管理员1", + code: "ADMIN1", + status: 1, + sort: 2, + createTime: "2021-03-25 12:39:54", + updateTime: null, + }, + { + id: 5, + name: "系统管理员2", + code: "ADMIN2", + status: 1, + sort: 2, + createTime: "2021-03-25 12:39:54", + updateTime: null, + }, + { + id: 6, + name: "系统管理员3", + code: "ADMIN3", + status: 1, + sort: 2, + createTime: "2021-03-25 12:39:54", + updateTime: null, + }, + { + id: 7, + name: "系统管理员4", + code: "ADMIN4", + status: 1, + sort: 2, + createTime: "2021-03-25 12:39:54", + updateTime: null, + }, + { + id: 8, + name: "系统管理员5", + code: "ADMIN5", + status: 1, + sort: 2, + createTime: "2021-03-25 12:39:54", + updateTime: null, + }, + { + id: 9, + name: "系统管理员6", + code: "ADMIN6", + status: 1, + sort: 2, + createTime: "2021-03-25 12:39:54", + updateTime: "2023-12-04 11:43:15", + }, + { + id: 10, + name: "系统管理员7", + code: "ADMIN7", + status: 1, + sort: 2, + createTime: "2021-03-25 12:39:54", + updateTime: null, + }, + { + id: 11, + name: "系统管理员8", + code: "ADMIN8", + status: 1, + sort: 2, + createTime: "2021-03-25 12:39:54", + updateTime: null, + }, + ], + total: 10, + }, + msg: "一切ok", + }, + }, + + // 新增角色 + { + url: "roles", + method: ["POST"], + body({ body }) { + return { + code: "00000", + data: null, + msg: "新增角色" + body.name + "成功", + }; + }, + }, + + // 获取角色表单数据 + { + url: "roles/:id/form", + method: ["GET"], + body: ({ params }) => { + return { + code: "00000", + data: roleMap[params.id], + msg: "一切ok", + }; + }, + }, + // 修改角色 + { + url: "roles/:id", + method: ["PUT"], + body({ body }) { + return { + code: "00000", + data: null, + msg: "修改角色" + body.name + "成功", + }; + }, + }, + + // 删除角色 + { + url: "roles/:id", + method: ["DELETE"], + body({ params }) { + return { + code: "00000", + data: null, + msg: "删除角色" + params.id + "成功", + }; + }, + }, + // 获取角色拥有的菜单ID + { + url: "roles/:id/menuIds", + method: ["GET"], + body: ({ params }) => { + return { + code: "00000", + data: [ + 1, 2, 31, 32, 33, 88, 3, 70, 71, 72, 4, 73, 75, 74, 5, 76, 77, 78, 6, + 79, 81, 84, 85, 86, 87, 40, 41, 26, 30, 20, 21, 22, 23, 24, 89, 90, + 91, 36, 37, 38, 39, 93, 94, 95, 97, 102, 89, 90, 91, 93, 94, 95, 97, + 102, 103, 104, + ], + msg: "一切ok", + }; + }, + }, + // 保存角色菜单 + { + url: "roles/:id/menus", + method: ["PUT"], + body: { + code: "00000", + data: null, + msg: "一切ok", + }, + }, +]); + +// 角色映射表数据 +const roleMap: Record = { + 2: { + id: 2, + name: "系统管理员", + code: "ADMIN", + status: 1, + sort: 2, + createTime: "2021-03-25 12:39:54", + updateTime: null, + }, + 3: { + id: 3, + name: "访问游客", + code: "GUEST", + status: 1, + sort: 3, + createTime: "2021-05-26 15:49:05", + updateTime: "2019-05-05 16:00:00", + }, + 4: { + id: 4, + name: "系统管理员1", + code: "ADMIN1", + status: 1, + sort: 2, + createTime: "2021-03-25 12:39:54", + updateTime: null, + }, + 5: { + id: 5, + name: "系统管理员2", + code: "ADMIN2", + status: 1, + sort: 2, + createTime: "2021-03-25 12:39:54", + updateTime: null, + }, + + 6: { + id: 6, + name: "系统管理员3", + code: "ADMIN3", + status: 1, + sort: 2, + createTime: "2021-03-25 12:39:54", + updateTime: null, + }, + 7: { + id: 7, + name: "系统管理员4", + code: "ADMIN4", + status: 1, + sort: 2, + createTime: "2021-03-25 12:39:54", + updateTime: null, + }, + 8: { + id: 8, + name: "系统管理员5", + code: "ADMIN5", + status: 1, + sort: 2, + createTime: "2021-03-25 12:39:54", + updateTime: null, + }, + 9: { + id: 9, + name: "系统管理员6", + code: "ADMIN6", + status: 1, + sort: 2, + createTime: "2021-03-25 12:39:54", + updateTime: "2023-12-04 11:43:15", + }, + 10: { + id: 10, + name: "系统管理员7", + code: "ADMIN7", + status: 1, + sort: 2, + createTime: "2021-03-25 12:39:54", + updateTime: null, + }, + 11: { + id: 11, + name: "系统管理员8", + code: "ADMIN8", + status: 1, + sort: 2, + createTime: "2021-03-25 12:39:54", + updateTime: null, + }, +}; diff --git a/webs/mock/user.mock.ts b/webs/mock/user.mock.ts new file mode 100644 index 0000000000000000000000000000000000000000..9ae42e7b45adcee5700fdce3dbcb4aa83c0c0ce4 --- /dev/null +++ b/webs/mock/user.mock.ts @@ -0,0 +1,175 @@ +import { defineMock } from "./base"; + +export default defineMock([ + { + url: "users/me", + method: ["GET"], + body: { + code: "00000", + data: { + userId: 2, + nickname: "系统管理员", + username: "admin", + avatar: + "", + roles: ["ADMIN"], + perms: [ + "sys:menu:delete", + "sys:dept:edit", + "sys:dict_type:add", + "sys:dict:edit", + "sys:dict:delete", + "sys:dict_type:edit", + "sys:menu:add", + "sys:user:add", + "sys:role:edit", + "sys:dept:delete", + "sys:user:edit", + "sys:user:delete", + "sys:user:reset_pwd", + "sys:dept:add", + "sys:role:delete", + "sys:dict_type:delete", + "sys:menu:edit", + "sys:dict:add", + "sys:role:add", + ], + }, + msg: "一切ok", + }, + }, + + { + url: "users/page", + method: ["GET"], + body: { + code: "00000", + data: { + list: [ + { + id: 2, + username: "admin", + nickname: "系统管理员", + mobile: "17621210366", + gender: 1, + avatar: + "admin.gif", + email: "", + status: 1, + deptId: 1, + roleIds: [2], + }, + { + id: 3, + username: "test", + nickname: "测试小用户", + mobile: "17621210366", + gender: 1, + avatar: + "admin.gif", + email: "youlaitech@163.com", + status: 1, + deptId: 3, + roleIds: [3], + }, + ], + total: 2, + }, + msg: "一切ok", + }, + }, + + // 新增用户 + { + url: "users", + method: ["POST"], + body({ body }) { + return { + code: "00000", + data: null, + msg: "新增用户" + body.nickname + "成功", + }; + }, + }, + + // 获取用户表单数据 + { + url: "users/:userId/form", + method: ["GET"], + body: ({ params }) => { + return { + code: "00000", + data: userMap[params.userId], + msg: "一切ok", + }; + }, + }, + // 修改用户 + { + url: "users/:userId", + method: ["PUT"], + body({ body }) { + return { + code: "00000", + data: null, + msg: "修改用户" + body.nickname + "成功", + }; + }, + }, + + // 删除用户 + { + url: "users/:userId", + method: ["DELETE"], + body({ params }) { + return { + code: "00000", + data: null, + msg: "删除用户" + params.id + "成功", + }; + }, + }, + + // 重置密码 + { + url: "users/:userId/password", + method: ["PATCH"], + body({ query }) { + return { + code: "00000", + data: null, + msg: "重置密码成功,新密码为:" + query.password, + }; + }, + }, +]); + +// 用户映射表数据 +const userMap: Record = { + 2: { + id: 2, + username: "admin", + nickname: "系统管理员", + mobile: "17621210366", + gender: 1, + avatar: + "admin.gif", + email: "", + status: 1, + deptId: 1, + roleIds: [2], + }, + 3: { + id: 3, + username: "test", + nickname: "测试小用户", + mobile: "17621210366", + gender: 1, + avatar: + "admin.gif", + email: "youlaitech@163.com", + status: 1, + deptId: 3, + roleIds: [3], + }, +}; diff --git a/webs/package.json b/webs/package.json new file mode 100644 index 0000000000000000000000000000000000000000..dc999c5e4cec066574c201c8cf70c6bccc655063 --- /dev/null +++ b/webs/package.json @@ -0,0 +1,124 @@ +{ + "name": "sublinkx-admin", + "version": "1.7", + "private": true, + "type": "module", + "scripts": { + "preinstall": "npx only-allow pnpm", + "dev": "vite serve --mode development", + "build": "vite build --mode production && vue-tsc --noEmit", + "prepare": "husky", + "lint:eslint": "eslint --fix --ext .ts,.js,.vue ./src ", + "lint:prettier": "prettier --write \"**/*.{js,cjs,ts,json,tsx,css,less,scss,vue,html,md}\"", + "lint:stylelint": "stylelint \"**/*.{css,scss,vue}\" --fix", + "lint:lint-staged": "lint-staged", + "commit": "git-cz" + }, + "config": { + "commitizen": { + "path": "node_modules/cz-git" + } + }, + "lint-staged": { + "*.{js,ts}": [ + "eslint --fix", + "prettier --write" + ], + "*.{cjs,json}": [ + "prettier --write" + ], + "*.{vue,html}": [ + "eslint --fix", + "prettier --write", + "stylelint --fix" + ], + "*.{scss,css}": [ + "stylelint --fix", + "prettier --write" + ], + "*.md": [ + "prettier --write" + ] + }, + "dependencies": { + "@element-plus/icons-vue": "^2.3.1", + "@vueuse/core": "^10.9.0", + "@wangeditor/editor": "^5.1.23", + "@wangeditor/editor-for-vue": "5.1.10", + "animate.css": "^4.1.1", + "axios": "^1.6.8", + "clipboard": "^2.0.11", + "echarts": "^5.5.0", + "element-plus": "^2.6.1", + "lodash-es": "^4.17.21", + "md5": "^2.3.0", + "net": "^1.0.2", + "nprogress": "^0.2.0", + "path-browserify": "^1.0.1", + "path-to-regexp": "^6.2.1", + "pinia": "^2.1.7", + "pnpm": "^8.15.6", + "qrcode.vue": "^3.4.1", + "sockjs-client": "1.6.1", + "sortablejs": "^1.15.2", + "stompjs": "^2.3.3", + "vue": "^3.4.21", + "vue-i18n": "9.9.1", + "vue-router": "^4.3.0", + "xlsx": "^0.18.5" + }, + "devDependencies": { + "@commitlint/cli": "^18.6.1", + "@commitlint/config-conventional": "^18.6.3", + "@iconify-json/ep": "^1.1.15", + "@types/lodash": "^4.17.0", + "@types/node": "^20.11.30", + "@types/nprogress": "^0.2.3", + "@types/path-browserify": "^1.0.2", + "@types/sockjs-client": "^1.5.4", + "@types/sortablejs": "^1.15.8", + "@types/stompjs": "^2.3.9", + "@typescript-eslint/eslint-plugin": "^7.3.1", + "@typescript-eslint/parser": "^7.3.1", + "@vitejs/plugin-vue": "^5.0.4", + "@vitejs/plugin-vue-jsx": "^3.1.0", + "autoprefixer": "^10.4.18", + "commitizen": "^4.3.0", + "cz-git": "^1.9.0", + "eslint": "^8.57.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-import": "^2.29.1", + "eslint-plugin-prettier": "^5.1.3", + "eslint-plugin-vue": "^9.23.0", + "fast-glob": "^3.3.2", + "husky": "^9.0.11", + "lint-staged": "^15.2.2", + "postcss": "^8.4.36", + "postcss-html": "^1.6.0", + "postcss-scss": "^4.0.9", + "prettier": "^3.2.5", + "sass": "^1.72.0", + "stylelint": "^16.2.1", + "stylelint-config-html": "^1.1.0", + "stylelint-config-recess-order": "^4.6.0", + "stylelint-config-recommended-scss": "^14.0.0", + "stylelint-config-recommended-vue": "^1.5.0", + "stylelint-config-standard": "^36.0.0", + "terser": "^5.29.2", + "typescript": "^5.4.2", + "unocss": "^0.58.6", + "unplugin-auto-import": "^0.17.5", + "unplugin-icons": "^0.18.5", + "unplugin-vue-components": "^0.26.0", + "vite": "^5.2.7", + "vite-plugin-mock-dev-server": "^1.4.7", + "vite-plugin-svg-icons": "^2.0.1", + "vue-tsc": "^2.0.6" + }, + "repository": "https://gitee.com/youlaiorg/vue3-element-admin.git", + "author": "有来开源组织", + "license": "MIT", + "engines": { + "node": ">=18.0.0" + } +} diff --git a/webs/public/avatar.gif b/webs/public/avatar.gif new file mode 100644 index 0000000000000000000000000000000000000000..da683d3e7cab648333b1067c8a5abd49e367710c Binary files /dev/null and b/webs/public/avatar.gif differ diff --git a/webs/public/favicon.ico b/webs/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..9fdbcccac1763defdfa38d8044f7e3896a864e65 Binary files /dev/null and b/webs/public/favicon.ico differ diff --git a/webs/src/App.vue b/webs/src/App.vue new file mode 100644 index 0000000000000000000000000000000000000000..efe51374812c6727e2b445073b8e4c4c1b1789ad --- /dev/null +++ b/webs/src/App.vue @@ -0,0 +1,36 @@ + + + diff --git a/webs/src/api/auth/index.ts b/webs/src/api/auth/index.ts new file mode 100644 index 0000000000000000000000000000000000000000..c8f7c0dfb45d772c3e0eef5bac0e60eb418e14e4 --- /dev/null +++ b/webs/src/api/auth/index.ts @@ -0,0 +1,61 @@ +import request from "@/utils/request"; +import { AxiosPromise } from "axios"; +import { CaptchaResult, LoginData, LoginResult , VersionResult } from "./types"; + +/** + * 登录API + * + * @param data {LoginData} + * @returns + */ +export function loginApi(data: LoginData): AxiosPromise { + const formData = new FormData(); + formData.append("username", data.username); + formData.append("password", data.password); + formData.append("captchaKey", data.captchaKey || ""); + formData.append("captchaCode", data.captchaCode || ""); + return request({ + url: "/api/v1/auth/login", + method: "post", + data: formData, + headers: { + "Content-Type": "multipart/form-data", + }, + }); +} + +/** + * 注销API + */ +export function logoutApi() { + return request({ + url: "/api/v1/auth/logout", + method: "delete", + }); +} + +/** + * 获取验证码 + */ +export function getCaptchaApi(): AxiosPromise { + return request({ + url: "/api/v1/auth/captcha", + method: "get", + }); +} + +// // 获取版本号 +// export function GetVersion():AxiosPromise{ +// return request({ +// url: "/api/v1/version", +// method: "get", +// }); +// } + +// 获取版本号 +export function GetVersion(): AxiosPromise { + return request({ + url: "/api/v1/version", + method: "get", + }); +} diff --git a/webs/src/api/auth/types.ts b/webs/src/api/auth/types.ts new file mode 100644 index 0000000000000000000000000000000000000000..eb5522fc171d084a25198658f90fd4284069c8e7 --- /dev/null +++ b/webs/src/api/auth/types.ts @@ -0,0 +1,66 @@ +/** + * 登录请求参数 + */ +export interface LoginData { + /** + * 用户名 + */ + username: string; + /** + * 密码 + */ + password: string; + + /** + * 验证码缓存key + */ + captchaKey?: string; + + /** + * 验证码 + */ + captchaCode?: string; +} + +/** + * 登录响应 + */ +export interface LoginResult { + /** + * 访问token + */ + accessToken?: string; + /** + * 过期时间(单位:毫秒) + */ + expires?: number; + /** + * 刷新token + */ + refreshToken?: string; + /** + * token 类型 + */ + tokenType?: string; +} + +/** + * 验证码响应 + */ +export interface CaptchaResult { + /** + * 验证码缓存key + */ + captchaKey: string; + /** + * 验证码图片Base64字符串 + */ + captchaBase64: string; +} + +export interface VersionResult { + /** + * 版本号 + */ + version: string; +} \ No newline at end of file diff --git a/webs/src/api/dept/index.ts b/webs/src/api/dept/index.ts new file mode 100644 index 0000000000000000000000000000000000000000..f5e0466d9670b380024446a8646eff7f71d9b80e --- /dev/null +++ b/webs/src/api/dept/index.ts @@ -0,0 +1,77 @@ +import request from "@/utils/request"; +import { AxiosPromise } from "axios"; +import { DeptForm, DeptQuery, DeptVO } from "./types"; + +/** + * 部门树形表格 + * + * @param queryParams + */ +export function listDepts(queryParams?: DeptQuery): AxiosPromise { + return request({ + url: "/api/v1/dept", + method: "get", + params: queryParams, + }); +} + +/** + * 部门下拉列表 + */ +export function getDeptOptions(): AxiosPromise { + return request({ + url: "/api/v1/dept/options", + method: "get", + }); +} + +/** + * 获取部门详情 + * + * @param id + */ +export function getDeptForm(id: number): AxiosPromise { + return request({ + url: "/api/v1/dept/" + id + "/form", + method: "get", + }); +} + +/** + * 新增部门 + * + * @param data + */ +export function addDept(data: DeptForm) { + return request({ + url: "/api/v1/dept", + method: "post", + data: data, + }); +} + +/** + * 修改部门 + * + * @param id + * @param data + */ +export function updateDept(id: number, data: DeptForm) { + return request({ + url: "/api/v1/dept/" + id, + method: "put", + data: data, + }); +} + +/** + * 删除部门 + * + * @param ids + */ +export function deleteDept(ids: string) { + return request({ + url: "/api/v1/dept/" + ids, + method: "delete", + }); +} diff --git a/webs/src/api/dept/types.ts b/webs/src/api/dept/types.ts new file mode 100644 index 0000000000000000000000000000000000000000..408c39c4885ccdc8058690a6b0f4daf169d210bc --- /dev/null +++ b/webs/src/api/dept/types.ts @@ -0,0 +1,71 @@ +/** + * 部门查询参数 + */ +export interface DeptQuery { + keywords?: string; + status?: number; +} + +/** + * 部门类型 + */ +export interface DeptVO { + /** + * 子部门 + */ + children?: DeptVO[]; + /** + * 创建时间 + */ + createTime?: Date; + /** + * 部门ID + */ + id?: number; + /** + * 部门名称 + */ + name?: string; + /** + * 父部门ID + */ + parentId?: number; + /** + * 排序 + */ + sort?: number; + /** + * 状态(1:启用;0:禁用) + */ + status?: number; + /** + * 修改时间 + */ + updateTime?: Date; +} + +/** + * 部门表单类型 + */ +export interface DeptForm { + /** + * 部门ID(新增不填) + */ + id?: number; + /** + * 部门名称 + */ + name?: string; + /** + * 父部门ID + */ + parentId: number; + /** + * 排序 + */ + sort?: number; + /** + * 状态(1:启用;0:禁用) + */ + status?: number; +} diff --git a/webs/src/api/dict/index.ts b/webs/src/api/dict/index.ts new file mode 100644 index 0000000000000000000000000000000000000000..635297ebd148da38e0d682347b8adfbd7db0e5ee --- /dev/null +++ b/webs/src/api/dict/index.ts @@ -0,0 +1,150 @@ +import request from "@/utils/request"; +import { AxiosPromise } from "axios"; +import { + DictTypeQuery, + DictTypePageResult, + DictTypeForm, + DictQuery, + DictForm, + DictPageResult, +} from "./types"; + +/** + * 字典类型分页列表 + * + * @param queryParams + */ +export function getDictTypePage( + queryParams: DictTypeQuery +): AxiosPromise { + return request({ + url: "/api/v1/dict/types/page", + method: "get", + params: queryParams, + }); +} + +/** + * 字典类型表单数据 + * + * @param id + */ +export function getDictTypeForm(id: number): AxiosPromise { + return request({ + url: "/api/v1/dict/types/" + id + "/form", + method: "get", + }); +} + +/** + * 新增字典类型 + * + * @param data + */ +export function addDictType(data: DictTypeForm) { + return request({ + url: "/api/v1/dict/types", + method: "post", + data: data, + }); +} + +/** + * 修改字典类型 + * + * @param id + * @param data + */ +export function updateDictType(id: number, data: DictTypeForm) { + return request({ + url: "/api/v1/dict/types/" + id, + method: "put", + data: data, + }); +} + +/** + * 删除字典类型 + */ +export function deleteDictTypes(ids: string) { + return request({ + url: "/api/v1/dict/types/" + ids, + method: "delete", + }); +} + +/** + * 获取字典类型的数据项 + * + * @param typeCode 字典类型编码 + */ +export function getDictOptions(typeCode: string): AxiosPromise { + return request({ + url: "/api/v1/dict/" + typeCode + "/options", + method: "get", + }); +} + +/** + * 字典分页列表 + */ +export function getDictPage( + queryParams: DictQuery +): AxiosPromise { + return request({ + url: "/api/v1/dict/page", + method: "get", + params: queryParams, + }); +} + +/** + * 获取字典表单数据 + * + * @param id + */ +export function getDictFormData(id: number): AxiosPromise { + return request({ + url: "/api/v1/dict/" + id + "/form", + method: "get", + }); +} + +/** + * 新增字典 + * + * @param data + */ +export function addDict(data: DictForm) { + return request({ + url: "/api/v1/dict", + method: "post", + data: data, + }); +} + +/** + * 修改字典项 + * + * @param id + * @param data + */ +export function updateDict(id: number, data: DictForm) { + return request({ + url: "/api/v1/dict/" + id, + method: "put", + data: data, + }); +} + +/** + * 删除字典 + * + * @param ids 字典项ID,多个以英文逗号(,)分割 + */ +export function deleteDict(ids: string) { + return request({ + url: "/api/v1/dict/" + ids, + method: "delete", + }); +} diff --git a/webs/src/api/dict/types.ts b/webs/src/api/dict/types.ts new file mode 100644 index 0000000000000000000000000000000000000000..315da6d7d84509569c01d274afcc03dec2e3d88a --- /dev/null +++ b/webs/src/api/dict/types.ts @@ -0,0 +1,142 @@ +/** + * 字典类型查询参数 + */ +export interface DictTypeQuery extends PageQuery { + /** + * 关键字(字典类型名称/编码) + */ + keywords?: string; +} + +/** + * 字典类型分页对象 + */ +export interface DictTypePageVO { + /** + * 字典类型ID + */ + id: number; + /** + * 类型编码 + */ + code: string; + /** + * 类型名称 + */ + name: string; + /** + * 状态(1:启用;0:禁用) + */ + status?: number; + /** + * 备注 + */ + remark?: string; +} + +/** + * 字典分页项类型声明 + */ +export type DictTypePageResult = PageResult; + +/** + * 字典表单类型声明 + */ +export interface DictTypeForm { + /** + * 字典类型ID + */ + id?: number; + /** + * 类型名称 + */ + name?: string; + /** + * 类型编码 + */ + code?: string; + /** + * 类型状态:1:启用;0:禁用 + */ + status: number; + /** + * 备注 + */ + remark?: string; +} + +/** + * 字典查询参数 + */ +export interface DictQuery extends PageQuery { + /** + * 字典项名称 + */ + name?: string; + /** + * 字典类型编码 + */ + typeCode?: string; +} + +/** + * 字典分页对象 + */ +export interface DictPageVO { + /** + * 字典ID + */ + id?: number; + /** + * 字典名称 + */ + name?: string; + /** + * 状态(1:启用;0:禁用) + */ + status?: number; + /** + * 字典值 + */ + value?: string; +} + +/** + * 字典分页 + */ +export type DictPageResult = PageResult; + +/** + * 字典表单 + */ +export interface DictForm { + /** + * 字典ID + */ + id?: number; + /** + * 字典名称 + */ + name?: string; + /** + * 排序 + */ + sort?: number; + /** + * 状态(1:启用;0:禁用) + */ + status?: number; + /** + * 类型编码 + */ + typeCode?: string; + /** + * 值 + */ + value?: string; + + /** + * 备注 + */ + remark?: string; +} diff --git a/webs/src/api/file/index.ts b/webs/src/api/file/index.ts new file mode 100644 index 0000000000000000000000000000000000000000..adcc30b9c3f73bec83110a92c7e924f1b54bb524 --- /dev/null +++ b/webs/src/api/file/index.ts @@ -0,0 +1,34 @@ +import request from "@/utils/request"; +import { AxiosPromise } from "axios"; +import { FileInfo } from "./types"; + +/** + * 上传文件 + * + * @param file + */ +export function uploadFileApi(file: File): AxiosPromise { + const formData = new FormData(); + formData.append("file", file); + return request({ + url: "/api/v1/files", + method: "post", + data: formData, + headers: { + "Content-Type": "multipart/form-data", + }, + }); +} + +/** + * 删除文件 + * + * @param filePath 文件完整路径 + */ +export function deleteFileApi(filePath?: string) { + return request({ + url: "/api/v1/files", + method: "delete", + params: { filePath: filePath }, + }); +} diff --git a/webs/src/api/file/types.ts b/webs/src/api/file/types.ts new file mode 100644 index 0000000000000000000000000000000000000000..22b2be55d843789b5d50f64b9cd9566ba6164218 --- /dev/null +++ b/webs/src/api/file/types.ts @@ -0,0 +1,7 @@ +/** + * 文件API类型声明 + */ +export interface FileInfo { + name: string; + url: string; +} diff --git a/webs/src/api/menu/index.ts b/webs/src/api/menu/index.ts new file mode 100644 index 0000000000000000000000000000000000000000..032e0a918d5cd10dea82b919277546d9657d14a9 --- /dev/null +++ b/webs/src/api/menu/index.ts @@ -0,0 +1,87 @@ +import request from "@/utils/request"; +import { AxiosPromise } from "axios"; +import { MenuQuery, MenuVO, MenuForm } from "./types"; + +/** + * 获取路由列表 + */ +export function listRoutes() { + return request({ + url: "/api/v1/menus/routes", + method: "get", + }); +} + +/** + * 获取菜单树形列表 + * + * @param queryParams + */ +export function listMenus(queryParams: MenuQuery): AxiosPromise { + return request({ + url: "/api/v1/menus", + method: "get", + params: queryParams, + }); +} + +/** + * 获取菜单下拉树形列表 + */ +export function getMenuOptions(): AxiosPromise { + return request({ + url: "/api/v1/menus/options", + method: "get", + }); +} + +/** + * 获取菜单表单数据 + * + * @param id + */ +export function getMenuForm(id: number): AxiosPromise { + return request({ + url: "/api/v1/menus/" + id + "/form", + method: "get", + }); +} + +/** + * 添加菜单 + * + * @param data + */ +export function addMenu(data: MenuForm) { + return request({ + url: "/api/v1/menus", + method: "post", + data: data, + }); +} + +/** + * 修改菜单 + * + * @param id + * @param data + */ +export function updateMenu(id: string, data: MenuForm) { + return request({ + url: "/api/v1/menus/" + id, + method: "put", + data: data, + }); +} + +/** + * 删除菜单 + * + * @param id 菜单ID + */ +export function deleteMenu(id: number) { + return request({ + url: "/api/v1/menus/" + id, + method: "delete", + }); +} diff --git a/webs/src/api/menu/types.ts b/webs/src/api/menu/types.ts new file mode 100644 index 0000000000000000000000000000000000000000..38101e8a1bfdc321c2bea8f45c8f968048ee8e3e --- /dev/null +++ b/webs/src/api/menu/types.ts @@ -0,0 +1,124 @@ +import { MenuTypeEnum } from "@/enums/MenuTypeEnum"; + +/** + * 菜单查询参数类型 + */ +export interface MenuQuery { + keywords?: string; +} + +/** + * 菜单视图对象类型 + */ +export interface MenuVO { + /** + * 子菜单 + */ + children?: MenuVO[]; + /** + * 组件路径 + */ + component?: string; + /** + * ICON + */ + icon?: string; + /** + * 菜单ID + */ + id?: number; + /** + * 菜单名称 + */ + name?: string; + /** + * 父菜单ID + */ + parentId?: number; + /** + * 按钮权限标识 + */ + perm?: string; + /** + * 跳转路径 + */ + redirect?: string; + /** + * 路由名称 + */ + routeName?: string; + /** + * 路由相对路径 + */ + routePath?: string; + /** + * 菜单排序(数字越小排名越靠前) + */ + sort?: number; + /** + * 菜单类型 + */ + type?: MenuTypeEnum; + /** + * 菜单是否可见(1:显示;0:隐藏) + */ + visible?: number; +} + +/** + * 菜单表单对象类型 + */ +export interface MenuForm { + /** + * 菜单ID + */ + id?: string; + /** + * 父菜单ID + */ + parentId?: number; + /** + * 菜单名称 + */ + name?: string; + /** + * 菜单是否可见(1:是;0:否;) + */ + visible: number; + icon?: string; + /** + * 排序 + */ + sort: number; + /** + * 组件路径 + */ + component?: string; + /** + * 路由路径 + */ + path?: string; + /** + * 跳转路由路径 + */ + redirect?: string; + + /** + * 菜单类型 + */ + type: MenuTypeEnum; + + /** + * 权限标识 + */ + perm?: string; + /** + * 【菜单】是否开启页面缓存 + */ + keepAlive?: number; + + /** + * 【目录】只有一个子路由是否始终显示 + */ + alwaysShow?: number; +} diff --git a/webs/src/api/role/index.ts b/webs/src/api/role/index.ts new file mode 100644 index 0000000000000000000000000000000000000000..fdbc65cd62defd3bb881970eee7632f7d1de08a7 --- /dev/null +++ b/webs/src/api/role/index.ts @@ -0,0 +1,112 @@ +import request from "@/utils/request"; +import { AxiosPromise } from "axios"; +import { RoleQuery, RolePageResult, RoleForm } from "./types"; + +/** + * 获取角色分页数据 + * + * @param queryParams + */ +export function getRolePage( + queryParams?: RoleQuery +): AxiosPromise { + return request({ + url: "/api/v1/roles/page", + method: "get", + params: queryParams, + }); +} + +/** + * 获取角色下拉数据 + * + * @param queryParams + */ +export function getRoleOptions( + queryParams?: RoleQuery +): AxiosPromise { + return request({ + url: "/api/v1/roles/options", + method: "get", + params: queryParams, + }); +} + +/** + * 获取角色的菜单ID集合 + * + * @param queryParams + */ +export function getRoleMenuIds(roleId: number): AxiosPromise { + return request({ + url: "/api/v1/roles/" + roleId + "/menuIds", + method: "get", + }); +} + +/** + * 分配菜单权限给角色 + * + * @param queryParams + */ +export function updateRoleMenus( + roleId: number, + data: number[] +): AxiosPromise { + return request({ + url: "/api/v1/roles/" + roleId + "/menus", + method: "put", + data: data, + }); +} + +/** + * 获取角色详情 + * + * @param id + */ +export function getRoleForm(id: number): AxiosPromise { + return request({ + url: "/api/v1/roles/" + id + "/form", + method: "get", + }); +} + +/** + * 添加角色 + * + * @param data + */ +export function addRole(data: RoleForm) { + return request({ + url: "/api/v1/roles", + method: "post", + data: data, + }); +} + +/** + * 更新角色 + * + * @param id + * @param data + */ +export function updateRole(id: number, data: RoleForm) { + return request({ + url: "/api/v1/roles/" + id, + method: "put", + data: data, + }); +} + +/** + * 批量删除角色,多个以英文逗号(,)分割 + * + * @param ids + */ +export function deleteRoles(ids: string) { + return request({ + url: "/api/v1/roles/" + ids, + method: "delete", + }); +} diff --git a/webs/src/api/role/types.ts b/webs/src/api/role/types.ts new file mode 100644 index 0000000000000000000000000000000000000000..2d259c7fc4c0bc176d5bf17b4f32cffea49e3ff8 --- /dev/null +++ b/webs/src/api/role/types.ts @@ -0,0 +1,78 @@ +/** + * 角色查询参数 + */ +export interface RoleQuery extends PageQuery { + keywords?: string; +} + +/** + * 角色分页对象 + */ +export interface RolePageVO { + /** + * 角色编码 + */ + code?: string; + + /** + * 角色ID + */ + id?: number; + /** + * 角色名称 + */ + name?: string; + /** + * 排序 + */ + sort?: number; + /** + * 角色状态 + */ + status?: number; + /** + * 创建时间 + */ + createTime?: Date; + /** + * 修改时间 + */ + updateTime?: Date; +} + +/** + * 角色分页 + */ +export type RolePageResult = PageResult; + +/** + * 角色表单对象 + */ +export interface RoleForm { + /** + * 角色ID + */ + id?: number; + + /** + * 角色编码 + */ + code: string; + /** + * 数据权限 + */ + dataScope?: number; + + /** + * 角色名称 + */ + name: string; + /** + * 排序 + */ + sort?: number; + /** + * 角色状态(1-正常;0-停用) + */ + status?: number; +} diff --git a/webs/src/api/subcription/node.ts b/webs/src/api/subcription/node.ts new file mode 100644 index 0000000000000000000000000000000000000000..c3af5d479577092df03d59a78d00de7568d32fb3 --- /dev/null +++ b/webs/src/api/subcription/node.ts @@ -0,0 +1,35 @@ +import request from "@/utils/request"; +export function getNodes(){ + return request({ + url: "/api/v1/nodes/get", + method: "get", + }); +} + +export function AddNodes(data: any){ + return request({ + url: "/api/v1/nodes/add", + method: "post", + data, + headers: { + "Content-Type": "multipart/form-data", + }, + }); +} +export function UpdateNode(data: any){ + return request({ + url: "/api/v1/nodes/update", + method: "post", + data, + headers: { + "Content-Type": "multipart/form-data", + }, + }); +} +export function DelNode(data: any){ + return request({ + url: "/api/v1/nodes/delete", + method: "delete", + params: data, + }); +} diff --git a/webs/src/api/subcription/subs.ts b/webs/src/api/subcription/subs.ts new file mode 100644 index 0000000000000000000000000000000000000000..47d413f0213694fb37086eec98ebe35980c23fc9 --- /dev/null +++ b/webs/src/api/subcription/subs.ts @@ -0,0 +1,36 @@ +import request from "@/utils/request"; +export function getSubs(){ + return request({ + url: "/api/v1/subcription/get", + method: "get", + }); +} + +export function AddSub(data: any){ + return request({ + url: "/api/v1/subcription/add", + method: "post", + data, + headers: { + "Content-Type": "multipart/form-data", + }, + }); +} +export function DelSub(data: any){ + return request({ + url: "/api/v1/subcription/delete", + method: "delete", + params: data, + }); +} + +export function UpdateSub(data: any){ + return request({ + url: "/api/v1/subcription/update", + method: "post", + data, + headers: { + "Content-Type": "multipart/form-data", + }, + }); +} \ No newline at end of file diff --git a/webs/src/api/subcription/temp.ts b/webs/src/api/subcription/temp.ts new file mode 100644 index 0000000000000000000000000000000000000000..a4b70817c37b38b02a47f4eadb105c0395fd4995 --- /dev/null +++ b/webs/src/api/subcription/temp.ts @@ -0,0 +1,39 @@ +import request from "@/utils/request"; + +export function getTemp(){ + return request({ + url: "/api/v1/template/get", + method: "get", + }); +} + +export function AddTemp(data: any){ + return request({ + url: "/api/v1/template/add", + method: "post", + data, + headers: { + "Content-Type": "multipart/form-data", + }, + }); +} +export function UpdateTemp(data: any){ + return request({ + url: "/api/v1/template/update", + method: "post", + data, + headers: { + "Content-Type": "multipart/form-data", + }, + }); +} +export function DelTemp(data: any){ + return request({ + url: "/api/v1/template/delete", + method: "post", + data, + headers: { + "Content-Type": "multipart/form-data", + }, + }); +} diff --git a/webs/src/api/total/index.ts b/webs/src/api/total/index.ts new file mode 100644 index 0000000000000000000000000000000000000000..75a457619d13d74aa08a32bb504be659055cb878 --- /dev/null +++ b/webs/src/api/total/index.ts @@ -0,0 +1,13 @@ +import request from "@/utils/request"; +export function getSubTotal(){ + return request({ + url: "/api/v1/total/sub", + method: "get", + }); +} +export function getNodeTotal(){ + return request({ + url: "/api/v1/total/node", + method: "get", + }); + } \ No newline at end of file diff --git a/webs/src/api/user/index.ts b/webs/src/api/user/index.ts new file mode 100644 index 0000000000000000000000000000000000000000..6390a41247e4d26341b5fb536c70a23eafa5b79e --- /dev/null +++ b/webs/src/api/user/index.ts @@ -0,0 +1,139 @@ +import request from "@/utils/request"; +import { AxiosPromise } from "axios"; +import { UserForm, UserInfo, UserPageVO, UserQuery } from "./types"; + +/** + * 登录成功后获取用户信息(昵称、头像、权限集合和角色集合) + */ +export function getUserInfoApi(): AxiosPromise { + return request({ + url: "/api/v1/users/me", + method: "get", + }); +} + +/** + * 获取用户分页列表 + * + * @param queryParams + */ +export function getUserPage( + queryParams: UserQuery +): AxiosPromise> { + return request({ + url: "/api/v1/users/page", + method: "get", + params: queryParams, + }); +} + +/** + * 获取用户表单详情 + * + * @param userId + */ +export function getUserForm(userId: number): AxiosPromise { + return request({ + url: "/api/v1/users/" + userId + "/form", + method: "get", + }); +} + +/** + * 添加用户 + * + * @param data + */ +export function addUser(data: any) { + return request({ + url: "/api/v1/users", + method: "post", + data: data, + }); +} + +/** + * 修改用户 + * + * @param id + * @param data + */ +export function updateUser(id: number, data: UserForm) { + return request({ + url: "/api/v1/users/" + id, + method: "put", + data: data, + }); +} + +/** + * 修改用户密码 + * + * @param id + * @param password + */ +export function updateUserPassword(username: string, password: string) { + return request({ + url: "/api/v1/users/" + username + `/${password}`, + method: "patch", + }); +} + +/** + * 删除用户 + * + * @param ids + */ +export function deleteUsers(ids: string) { + return request({ + url: "/api/v1/users/" + ids, + method: "delete", + }); +} + +/** + * 下载用户导入模板 + * + * @returns + */ +export function downloadTemplateApi() { + return request({ + url: "/api/v1/users/template", + method: "get", + responseType: "arraybuffer", + }); +} + +/** + * 导出用户 + * + * @param queryParams + * @returns + */ +export function exportUser(queryParams: UserQuery) { + return request({ + url: "/api/v1/users/_export", + method: "get", + params: queryParams, + responseType: "arraybuffer", + }); +} + +/** + * 导入用户 + * + * @param file + */ +export function importUser(deptId: number, file: File) { + const formData = new FormData(); + formData.append("file", file); + return request({ + url: "/api/v1/users/_import", + method: "post", + params: { deptId: deptId }, + data: formData, + headers: { + "Content-Type": "multipart/form-data", + }, + }); +} diff --git a/webs/src/api/user/types.ts b/webs/src/api/user/types.ts new file mode 100644 index 0000000000000000000000000000000000000000..c0060f271079dd7e127008cc338ff8fa81fb604c --- /dev/null +++ b/webs/src/api/user/types.ts @@ -0,0 +1,115 @@ +/** + * 登录用户信息 + */ +export interface UserInfo { + userId?: number; + username?: string; + nickname?: string; + avatar?: string; + roles: string[]; + perms: string[]; +} + +/** + * 用户查询对象类型 + */ +export interface UserQuery extends PageQuery { + keywords?: string; + status?: number; + deptId?: number; + startTime?: string; + endTime?: string; +} + +/** + * 用户分页对象 + */ +export interface UserPageVO { + /** + * 用户头像地址 + */ + avatar?: string; + /** + * 创建时间 + */ + createTime?: Date; + /** + * 部门名称 + */ + deptName?: string; + /** + * 用户邮箱 + */ + email?: string; + /** + * 性别 + */ + genderLabel?: string; + /** + * 用户ID + */ + id?: number; + /** + * 手机号 + */ + mobile?: string; + /** + * 用户昵称 + */ + nickname?: string; + /** + * 角色名称,多个使用英文逗号(,)分割 + */ + roleNames?: string; + /** + * 用户状态(1:启用;0:禁用) + */ + status?: number; + /** + * 用户名 + */ + username?: string; +} + +/** + * 用户表单类型 + */ +export interface UserForm { + /** + * 用户头像 + */ + avatar?: string; + /** + * 部门ID + */ + deptId?: number; + /** + * 邮箱 + */ + email?: string; + /** + * 性别 + */ + gender?: number; + /** + * 用户ID + */ + id?: number; + mobile?: string; + /** + * 昵称 + */ + nickname?: string; + /** + * 角色ID集合 + */ + roleIds?: number[]; + /** + * 用户状态(1:正常;0:禁用) + */ + status?: number; + /** + * 用户名 + */ + username?: string; +} diff --git a/webs/src/assets/1.png b/webs/src/assets/1.png new file mode 100644 index 0000000000000000000000000000000000000000..1243a11cd552541a595057561f7ea564fe0259db Binary files /dev/null and b/webs/src/assets/1.png differ diff --git a/webs/src/assets/2.png b/webs/src/assets/2.png new file mode 100644 index 0000000000000000000000000000000000000000..2b13e59feb18583350da207ff456891734a58511 Binary files /dev/null and b/webs/src/assets/2.png differ diff --git a/webs/src/assets/icons/api.svg b/webs/src/assets/icons/api.svg new file mode 100644 index 0000000000000000000000000000000000000000..0181bdde153f68fb8df9910cdd54f3575464a871 --- /dev/null +++ b/webs/src/assets/icons/api.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/captcha.svg b/webs/src/assets/icons/captcha.svg new file mode 100644 index 0000000000000000000000000000000000000000..8b1da30ea8641e801d358d345e73bc102182b55d --- /dev/null +++ b/webs/src/assets/icons/captcha.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/cascader.svg b/webs/src/assets/icons/cascader.svg new file mode 100644 index 0000000000000000000000000000000000000000..57209bf5fbda6f23cb7a221f842bb53173e60712 --- /dev/null +++ b/webs/src/assets/icons/cascader.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/client.svg b/webs/src/assets/icons/client.svg new file mode 100644 index 0000000000000000000000000000000000000000..7373b3d9df5a32fe00d1b65b56c849044d4786c4 --- /dev/null +++ b/webs/src/assets/icons/client.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/close.svg b/webs/src/assets/icons/close.svg new file mode 100644 index 0000000000000000000000000000000000000000..e99c9788071a6a145cf946b2d261ca8741fc4724 --- /dev/null +++ b/webs/src/assets/icons/close.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/close_all.svg b/webs/src/assets/icons/close_all.svg new file mode 100644 index 0000000000000000000000000000000000000000..20051986440adff91d923f36172059b1a243d53a --- /dev/null +++ b/webs/src/assets/icons/close_all.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/close_left.svg b/webs/src/assets/icons/close_left.svg new file mode 100644 index 0000000000000000000000000000000000000000..fc5cf716ee30f2dcb9469c6eefcfa5b7f35dbd8d --- /dev/null +++ b/webs/src/assets/icons/close_left.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/close_other.svg b/webs/src/assets/icons/close_other.svg new file mode 100644 index 0000000000000000000000000000000000000000..27ffc328dbf7e5b931c03bd46b31caaa8f788a40 --- /dev/null +++ b/webs/src/assets/icons/close_other.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/close_right.svg b/webs/src/assets/icons/close_right.svg new file mode 100644 index 0000000000000000000000000000000000000000..b96dc1c0b9d3b53ae0fa8211c319fe57eddf4d03 --- /dev/null +++ b/webs/src/assets/icons/close_right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/dict.svg b/webs/src/assets/icons/dict.svg new file mode 100644 index 0000000000000000000000000000000000000000..db60220124a8efe5d914183baba74424fd1bce1e --- /dev/null +++ b/webs/src/assets/icons/dict.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/document.svg b/webs/src/assets/icons/document.svg new file mode 100644 index 0000000000000000000000000000000000000000..aaa0574f6f134aafea63c24eea5ecbf4a2920376 --- /dev/null +++ b/webs/src/assets/icons/document.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/download.svg b/webs/src/assets/icons/download.svg new file mode 100644 index 0000000000000000000000000000000000000000..a8077dc3785247ea4371d2050b74ab08739103ff --- /dev/null +++ b/webs/src/assets/icons/download.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/edit.svg b/webs/src/assets/icons/edit.svg new file mode 100644 index 0000000000000000000000000000000000000000..82152b5e55c160aeeb32220797c00b596bbdc0d7 --- /dev/null +++ b/webs/src/assets/icons/edit.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/eye-open.svg b/webs/src/assets/icons/eye-open.svg new file mode 100644 index 0000000000000000000000000000000000000000..b80fd2b686cb62aede0c17a5ea37dda424523467 --- /dev/null +++ b/webs/src/assets/icons/eye-open.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/eye.svg b/webs/src/assets/icons/eye.svg new file mode 100644 index 0000000000000000000000000000000000000000..16ed2d872d1cadeb36fc9101cbf77397fbf4fd70 --- /dev/null +++ b/webs/src/assets/icons/eye.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/fullscreen-exit.svg b/webs/src/assets/icons/fullscreen-exit.svg new file mode 100644 index 0000000000000000000000000000000000000000..2452f2b03fbba397e9e2607c302d5197ff403739 --- /dev/null +++ b/webs/src/assets/icons/fullscreen-exit.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/fullscreen.svg b/webs/src/assets/icons/fullscreen.svg new file mode 100644 index 0000000000000000000000000000000000000000..4b6ee1105c83ed84ec92e28b42b37576de10c2cc --- /dev/null +++ b/webs/src/assets/icons/fullscreen.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/github.svg b/webs/src/assets/icons/github.svg new file mode 100644 index 0000000000000000000000000000000000000000..1adfa4e7c46b25424ce70ffe9abb5dfc6cb73414 --- /dev/null +++ b/webs/src/assets/icons/github.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/homepage.svg b/webs/src/assets/icons/homepage.svg new file mode 100644 index 0000000000000000000000000000000000000000..1e1feabff7567c6c6a7074efc8141cce3ab4ea4d --- /dev/null +++ b/webs/src/assets/icons/homepage.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/indent-decrease.svg b/webs/src/assets/icons/indent-decrease.svg new file mode 100644 index 0000000000000000000000000000000000000000..15075688db2b6c5dedcfe3fe0f5a8ad4a826cbb6 --- /dev/null +++ b/webs/src/assets/icons/indent-decrease.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/ip.svg b/webs/src/assets/icons/ip.svg new file mode 100644 index 0000000000000000000000000000000000000000..a50d9bb5e5ed7e13f7cafff1cf5e8364aa4ccee4 --- /dev/null +++ b/webs/src/assets/icons/ip.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/language.svg b/webs/src/assets/icons/language.svg new file mode 100644 index 0000000000000000000000000000000000000000..e754062da1c60262a56325c0c5c80b178c7478ed --- /dev/null +++ b/webs/src/assets/icons/language.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/link.svg b/webs/src/assets/icons/link.svg new file mode 100644 index 0000000000000000000000000000000000000000..15a5c6205cbec806021406c4e44be2a233eab99e --- /dev/null +++ b/webs/src/assets/icons/link.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/lock.svg b/webs/src/assets/icons/lock.svg new file mode 100644 index 0000000000000000000000000000000000000000..470d48ce7e922cb6c524d46d6ad4b5773a3fe9dd --- /dev/null +++ b/webs/src/assets/icons/lock.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/menu.svg b/webs/src/assets/icons/menu.svg new file mode 100644 index 0000000000000000000000000000000000000000..f5875d3661906e848a1145a71398e24560894aab --- /dev/null +++ b/webs/src/assets/icons/menu.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/message.svg b/webs/src/assets/icons/message.svg new file mode 100644 index 0000000000000000000000000000000000000000..c83af99950f97a8d4163c7625f6216dba817bd7a --- /dev/null +++ b/webs/src/assets/icons/message.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/money.svg b/webs/src/assets/icons/money.svg new file mode 100644 index 0000000000000000000000000000000000000000..db7a2b466fb814c02b7f370a90e96998aca7aa78 --- /dev/null +++ b/webs/src/assets/icons/money.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/monitor.svg b/webs/src/assets/icons/monitor.svg new file mode 100644 index 0000000000000000000000000000000000000000..f153b9c57b6b821be63e1dc69d0b5478542a28d2 --- /dev/null +++ b/webs/src/assets/icons/monitor.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/moon.svg b/webs/src/assets/icons/moon.svg new file mode 100644 index 0000000000000000000000000000000000000000..1b66489b86dce68889fee5c5a527b33e236c51f6 --- /dev/null +++ b/webs/src/assets/icons/moon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/order.svg b/webs/src/assets/icons/order.svg new file mode 100644 index 0000000000000000000000000000000000000000..7ba029e5fbe0baa43f9d22f7a425c589eabe3e0c --- /dev/null +++ b/webs/src/assets/icons/order.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/peoples.svg b/webs/src/assets/icons/peoples.svg new file mode 100644 index 0000000000000000000000000000000000000000..5b21639343408c5a45b6e2f381feef0ee5970842 --- /dev/null +++ b/webs/src/assets/icons/peoples.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/project.svg b/webs/src/assets/icons/project.svg new file mode 100644 index 0000000000000000000000000000000000000000..e74a210245a79850802bcad7f8dfe228ee79ab67 --- /dev/null +++ b/webs/src/assets/icons/project.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/publish.svg b/webs/src/assets/icons/publish.svg new file mode 100644 index 0000000000000000000000000000000000000000..d41061f6e9b29eeceae1738877c334f98e20d4ed --- /dev/null +++ b/webs/src/assets/icons/publish.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/refresh.svg b/webs/src/assets/icons/refresh.svg new file mode 100644 index 0000000000000000000000000000000000000000..e598ed11ba64a336a4019718409e6e70dc65658b --- /dev/null +++ b/webs/src/assets/icons/refresh.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/role.svg b/webs/src/assets/icons/role.svg new file mode 100644 index 0000000000000000000000000000000000000000..5d2527845a3a52bc26811e59945aef7806ffbe55 --- /dev/null +++ b/webs/src/assets/icons/role.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/security.svg b/webs/src/assets/icons/security.svg new file mode 100644 index 0000000000000000000000000000000000000000..0e6433636d0f3dd4a4c8b779f6725edd5ead2826 --- /dev/null +++ b/webs/src/assets/icons/security.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/setting.svg b/webs/src/assets/icons/setting.svg new file mode 100644 index 0000000000000000000000000000000000000000..fbc49451c65dd28e258b1e7183c4cb99b962a420 --- /dev/null +++ b/webs/src/assets/icons/setting.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/size.svg b/webs/src/assets/icons/size.svg new file mode 100644 index 0000000000000000000000000000000000000000..f92f852e7b2ed27dccb56f87a5bb1f9bc417fa4f --- /dev/null +++ b/webs/src/assets/icons/size.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/sunny.svg b/webs/src/assets/icons/sunny.svg new file mode 100644 index 0000000000000000000000000000000000000000..655a72ec8f91fffc02e09a2a4674c4c025a6eee8 --- /dev/null +++ b/webs/src/assets/icons/sunny.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/system.svg b/webs/src/assets/icons/system.svg new file mode 100644 index 0000000000000000000000000000000000000000..2e6045b4122e9eb21224c13fc59ca5537861f2f0 --- /dev/null +++ b/webs/src/assets/icons/system.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/table.svg b/webs/src/assets/icons/table.svg new file mode 100644 index 0000000000000000000000000000000000000000..1a16abb323be7653f3a9659fb25cc4495647c1c6 --- /dev/null +++ b/webs/src/assets/icons/table.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/todolist.svg b/webs/src/assets/icons/todolist.svg new file mode 100644 index 0000000000000000000000000000000000000000..cd55ade74c36fe7d507a6ef00030d97277d78892 --- /dev/null +++ b/webs/src/assets/icons/todolist.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/tree.svg b/webs/src/assets/icons/tree.svg new file mode 100644 index 0000000000000000000000000000000000000000..51aea8f7281ba4bee31bb9b613be1631f53e3514 --- /dev/null +++ b/webs/src/assets/icons/tree.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/user.svg b/webs/src/assets/icons/user.svg new file mode 100644 index 0000000000000000000000000000000000000000..0015cc480385e2c089fbc86df6675cc781a86cfa --- /dev/null +++ b/webs/src/assets/icons/user.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/icons/visit.svg b/webs/src/assets/icons/visit.svg new file mode 100644 index 0000000000000000000000000000000000000000..997f69078a0e11d86852545c7573772d755226c8 --- /dev/null +++ b/webs/src/assets/icons/visit.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webs/src/assets/images/401.gif b/webs/src/assets/images/401.gif new file mode 100644 index 0000000000000000000000000000000000000000..4c930e72a698889a0f5666d8599652c5808cfc70 Binary files /dev/null and b/webs/src/assets/images/401.gif differ diff --git a/webs/src/assets/images/404.png b/webs/src/assets/images/404.png new file mode 100644 index 0000000000000000000000000000000000000000..4e098298787749e55a6dc0321642690b882d130e Binary files /dev/null and b/webs/src/assets/images/404.png differ diff --git a/webs/src/assets/images/404_cloud.png b/webs/src/assets/images/404_cloud.png new file mode 100644 index 0000000000000000000000000000000000000000..a81d8daa2c5a025f0137a27d81ed61ce7064039f Binary files /dev/null and b/webs/src/assets/images/404_cloud.png differ diff --git a/webs/src/assets/images/login-bg-dark.jpg b/webs/src/assets/images/login-bg-dark.jpg new file mode 100644 index 0000000000000000000000000000000000000000..50dc817e8fca2d229f91de8f9ee4a395572ee00a Binary files /dev/null and b/webs/src/assets/images/login-bg-dark.jpg differ diff --git a/webs/src/assets/images/login-bg.jpg b/webs/src/assets/images/login-bg.jpg new file mode 100644 index 0000000000000000000000000000000000000000..993b958e243926e4dd5b1a415c879965117a3419 Binary files /dev/null and b/webs/src/assets/images/login-bg.jpg differ diff --git a/webs/src/assets/logo.png b/webs/src/assets/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..b242b3f7967a1334d9ff513cda8c75179a767e41 Binary files /dev/null and b/webs/src/assets/logo.png differ diff --git a/webs/src/components/AppLink/index.vue b/webs/src/components/AppLink/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..c863d44e32efe26452dc9dbedfb867a95075eced --- /dev/null +++ b/webs/src/components/AppLink/index.vue @@ -0,0 +1,33 @@ + + + diff --git a/webs/src/components/Breadcrumb/index.vue b/webs/src/components/Breadcrumb/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..ea2b1aff20a1cc396823a7914262d0b55b817afe --- /dev/null +++ b/webs/src/components/Breadcrumb/index.vue @@ -0,0 +1,97 @@ + + + + + diff --git a/webs/src/components/Dictionary/index.vue b/webs/src/components/Dictionary/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..b2e01d0f70c572922ea7c2a947d498229c3f7f3a --- /dev/null +++ b/webs/src/components/Dictionary/index.vue @@ -0,0 +1,73 @@ + + + diff --git a/webs/src/components/GithubCorner/index.vue b/webs/src/components/GithubCorner/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..516e0191b354c8daad793ba4d71c310dfde05fd0 --- /dev/null +++ b/webs/src/components/GithubCorner/index.vue @@ -0,0 +1,62 @@ + + + diff --git a/webs/src/components/Hamburger/index.vue b/webs/src/components/Hamburger/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..e544db7f231fd5d32b50158315aea61700b6a63b --- /dev/null +++ b/webs/src/components/Hamburger/index.vue @@ -0,0 +1,39 @@ + + + + diff --git a/webs/src/components/IconSelect/index.vue b/webs/src/components/IconSelect/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..8be55cc2e9ece82492cf465244f6c2a68666220f --- /dev/null +++ b/webs/src/components/IconSelect/index.vue @@ -0,0 +1,200 @@ + + + + + diff --git a/webs/src/components/LangSelect/index.vue b/webs/src/components/LangSelect/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..2f35582ed5e7420116f44f5a39dcea9c4bdf0fbc --- /dev/null +++ b/webs/src/components/LangSelect/index.vue @@ -0,0 +1,47 @@ + + + diff --git a/webs/src/components/Pagination/index.vue b/webs/src/components/Pagination/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..4065131e5d2641b6817a7bf505897ff7252ebf89 --- /dev/null +++ b/webs/src/components/Pagination/index.vue @@ -0,0 +1,79 @@ + + + + + diff --git a/webs/src/components/SizeSelect/index.vue b/webs/src/components/SizeSelect/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..d3e83fe52344355b13a1d542a3e14d0556a1d4f2 --- /dev/null +++ b/webs/src/components/SizeSelect/index.vue @@ -0,0 +1,39 @@ + + + diff --git a/webs/src/components/SvgIcon/index.vue b/webs/src/components/SvgIcon/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..07b65e8ddb62f744a0724db7445ed936874731fb --- /dev/null +++ b/webs/src/components/SvgIcon/index.vue @@ -0,0 +1,45 @@ + + + + + diff --git a/webs/src/components/Upload/MultiUpload.vue b/webs/src/components/Upload/MultiUpload.vue new file mode 100644 index 0000000000000000000000000000000000000000..735f7a3e10c0a561ae4ca9ffd62f0e7c0a818d47 --- /dev/null +++ b/webs/src/components/Upload/MultiUpload.vue @@ -0,0 +1,139 @@ + + + + + diff --git a/webs/src/components/Upload/SingleUpload.vue b/webs/src/components/Upload/SingleUpload.vue new file mode 100644 index 0000000000000000000000000000000000000000..631dc28e5293707fbca8b8fcb71f87e80284cbb8 --- /dev/null +++ b/webs/src/components/Upload/SingleUpload.vue @@ -0,0 +1,77 @@ + + + + + diff --git a/webs/src/components/WangEditor/index.vue b/webs/src/components/WangEditor/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..2f4c6782383fa5971c32eba891d14e5027a7c756 --- /dev/null +++ b/webs/src/components/WangEditor/index.vue @@ -0,0 +1,74 @@ + + + + + diff --git a/webs/src/directive/index.ts b/webs/src/directive/index.ts new file mode 100644 index 0000000000000000000000000000000000000000..9c22eb69f123730bfb405a6e74c88ee538ea0dea --- /dev/null +++ b/webs/src/directive/index.ts @@ -0,0 +1,9 @@ +import type { App } from "vue"; + +import { hasPerm } from "./permission"; + +// 全局注册 directive +export function setupDirective(app: App) { + // 使 v-hasPerm 在所有组件中都可用 + app.directive("hasPerm", hasPerm); +} diff --git a/webs/src/directive/permission/index.ts b/webs/src/directive/permission/index.ts new file mode 100644 index 0000000000000000000000000000000000000000..2bd2c7054f514cf74c2776fa39de656c97213584 --- /dev/null +++ b/webs/src/directive/permission/index.ts @@ -0,0 +1,55 @@ +import { useUserStoreHook } from "@/store/modules/user"; +import { Directive, DirectiveBinding } from "vue"; + +/** + * 按钮权限 + */ +export const hasPerm: Directive = { + mounted(el: HTMLElement, binding: DirectiveBinding) { + // 「超级管理员」拥有所有的按钮权限 + const { roles, perms } = useUserStoreHook().user; + if (roles.includes("ROOT")) { + return true; + } + // 「其他角色」按钮权限校验 + const { value } = binding; + if (value) { + const requiredPerms = value; // DOM绑定需要的按钮权限标识 + + const hasPerm = perms?.some((perm) => { + return requiredPerms.includes(perm); + }); + + if (!hasPerm) { + el.parentNode && el.parentNode.removeChild(el); + } + } else { + throw new Error( + "need perms! Like v-has-perm=\"['sys:user:add','sys:user:edit']\"" + ); + } + }, +}; + +/** + * 角色权限 + */ +export const hasRole: Directive = { + mounted(el: HTMLElement, binding: DirectiveBinding) { + const { value } = binding; + + if (value) { + const requiredRoles = value; // DOM绑定需要的角色编码 + const { roles } = useUserStoreHook().user; + const hasRole = roles.some((perm) => { + return requiredRoles.includes(perm); + }); + + if (!hasRole) { + el.parentNode && el.parentNode.removeChild(el); + } + } else { + throw new Error("need roles! Like v-has-role=\"['admin','test']\""); + } + }, +}; diff --git a/webs/src/enums/DeviceEnum.ts b/webs/src/enums/DeviceEnum.ts new file mode 100644 index 0000000000000000000000000000000000000000..709bcb3c064bdc8bf91dd89bdb0e9c8d9ad94340 --- /dev/null +++ b/webs/src/enums/DeviceEnum.ts @@ -0,0 +1,14 @@ +/** + * 设备枚举 + */ +export const enum DeviceEnum { + /** + * 宽屏设备 + */ + DESKTOP = "desktop", + + /** + * 窄屏设备 + */ + MOBILE = "mobile", +} diff --git a/webs/src/enums/LanguageEnum.ts b/webs/src/enums/LanguageEnum.ts new file mode 100644 index 0000000000000000000000000000000000000000..a50b6555e682ae364935b85ecc690acd3263bd63 --- /dev/null +++ b/webs/src/enums/LanguageEnum.ts @@ -0,0 +1,14 @@ +/** + * 语言枚举 + */ +export const enum LanguageEnum { + /** + * 中文 + */ + ZH_CN = "zh-cn", + + /** + * 英文 + */ + EN = "en", +} diff --git a/webs/src/enums/LayoutEnum.ts b/webs/src/enums/LayoutEnum.ts new file mode 100644 index 0000000000000000000000000000000000000000..68be72e71f059a0f91d1c42bb5b9d18e2870c8f2 --- /dev/null +++ b/webs/src/enums/LayoutEnum.ts @@ -0,0 +1,18 @@ +/** + * 菜单布局枚举 + */ +export const enum LayoutEnum { + /** + * 左侧菜单布局 + */ + LEFT = "left", + /** + * 顶部菜单布局 + */ + TOP = "top", + + /** + * 混合菜单布局 + */ + MIX = "mix", +} diff --git a/webs/src/enums/MenuTypeEnum.ts b/webs/src/enums/MenuTypeEnum.ts new file mode 100644 index 0000000000000000000000000000000000000000..b69942fda9b55504eb1aae58689ed3c6d1fd5cf4 --- /dev/null +++ b/webs/src/enums/MenuTypeEnum.ts @@ -0,0 +1,22 @@ +/** + * 菜单类型枚举 + */ +export const enum MenuTypeEnum { + /** + * 目录 + */ + CATALOG = "CATALOG", + /** + * 菜单 + */ + MENU = "MENU", + + /** + * 按钮 + */ + BUTTON = "BUTTON", + /** + * 外链 + */ + EXTLINK = "EXTLINK", +} diff --git a/webs/src/enums/SidebarStatusEnum.ts b/webs/src/enums/SidebarStatusEnum.ts new file mode 100644 index 0000000000000000000000000000000000000000..a0d877af4b1ad6685555e8444fda921603af0715 --- /dev/null +++ b/webs/src/enums/SidebarStatusEnum.ts @@ -0,0 +1,14 @@ +/** + * 侧边栏状态枚举 + */ +export const enum SidebarStatusEnum { + /** + * 展开 + */ + OPENED = "opened", + + /** + * 关闭 + */ + CLOSED = "closed", +} diff --git a/webs/src/enums/SizeEnum.ts b/webs/src/enums/SizeEnum.ts new file mode 100644 index 0000000000000000000000000000000000000000..e91e913a577e33ced3023818bdacfd33198796e5 --- /dev/null +++ b/webs/src/enums/SizeEnum.ts @@ -0,0 +1,19 @@ +/** + * 布局大小枚举 + */ +export const enum SizeEnum { + /** + * 默认 + */ + DEFAULT = "default", + + /** + * 大型 + */ + LARGE = "large", + + /** + * 小型 + */ + SMALL = "small", +} diff --git a/webs/src/enums/ThemeEnum.ts b/webs/src/enums/ThemeEnum.ts new file mode 100644 index 0000000000000000000000000000000000000000..91458e1606d582346bfc03389d9a963797dc58f6 --- /dev/null +++ b/webs/src/enums/ThemeEnum.ts @@ -0,0 +1,18 @@ +/** + * 主题枚举 + */ +export const enum ThemeEnum { + /** + * 明亮主题 + */ + LIGHT = "light", + /** + * 暗黑主题 + */ + DARK = "dark", + + /** + * 系统自动 + */ + AUTO = "auto", +} diff --git a/webs/src/lang/index.ts b/webs/src/lang/index.ts new file mode 100644 index 0000000000000000000000000000000000000000..dad439568f03efcc5e5954607319a92edaa7fce8 --- /dev/null +++ b/webs/src/lang/index.ts @@ -0,0 +1,25 @@ +import { createI18n } from "vue-i18n"; +import { useAppStoreHook } from "@/store/modules/app"; +// 本地语言包 +import enLocale from "./package/en"; +import zhCnLocale from "./package/zh-cn"; + +const appStore = useAppStoreHook(); + +const messages = { + "zh-cn": { + ...zhCnLocale, + }, + en: { + ...enLocale, + }, +}; + +const i18n = createI18n({ + legacy: false, + locale: appStore.language, + messages: messages, + globalInjection: true, +}); + +export default i18n; diff --git a/webs/src/lang/package/en.ts b/webs/src/lang/package/en.ts new file mode 100644 index 0000000000000000000000000000000000000000..c44170865b09a8db2c398e913b431b221533cf0b --- /dev/null +++ b/webs/src/lang/package/en.ts @@ -0,0 +1,77 @@ +export default { + // 路由国际化 + route: { + dashboard: "Dashboard", + document: "Document", + userset: "ChangePassword", + system:"system management", + nodelist:"Node List", + sublist:"Subscription List", + subcription:"Subscription Management", + templatelist:"Template List", + }, + // 登录页面国际化 + login: { + username: "Username", + password: "Password", + login: "Login", + captchaCode: "Verify Code", + capsLock: "Caps Lock is On", + message: { + username: { + required: "Please enter Username", + }, + password: { + required: "Please enter Password", + min: "The password can not be less than 6 digits", + }, + captchaCode: { + required: "Please enter Verify Code", + }, + }, + }, + // 重置密码页面国际化 + userset:{ + title: "Change Password", + newUsername: "New Username", + newPassword: "New Password", + message: { + title:"Prompt", + xx1:"Username or password cannot be empty", + xx2: "The password length cannot be less than 6 digits", + xx3:"Are you sure you want to reset the password", + xx4:"Password reset successful, new password is:", + }, + }, + // 导航栏国际化 + navbar: { + dashboard: "Dashboard", + logout: "Logout", + userset: "ChangePassword", + }, + sizeSelect: { + tooltip: "Layout Size", + default: "Default", + large: "Large", + small: "Small", + message: { + success: "Switch Layout Size Successful!", + }, + }, + langSelect: { + message: { + success: "Switch Language Successful!", + }, + }, + settings: { + project: "Project Settings", + theme: "Theme", + interface: "Interface", + navigation: "Navigation", + themeColor: "Theme Color", + tagsView: "Tags View", + fixedHeader: "Fixed Header", + sidebarLogo: "Sidebar Logo", + watermark: "Watermark", + }, +}; diff --git a/webs/src/lang/package/zh-cn.ts b/webs/src/lang/package/zh-cn.ts new file mode 100644 index 0000000000000000000000000000000000000000..d99042fbce09f02454ea1e6f4c47297a19ac7c0b --- /dev/null +++ b/webs/src/lang/package/zh-cn.ts @@ -0,0 +1,77 @@ +export default { + // 路由国际化 + route: { + dashboard: "首页", + document: "项目文档", + userset: "修改密码", + system:"系统管理", + nodelist:"节点列表", + sublist:"订阅列表", + subcription:"订阅管理", + templatelist:"模板列表", + }, + // 登录页面国际化 + login: { + username: "用户名", + password: "密码", + login: "登 录", + captchaCode: "验证码", + capsLock: "大写锁定已打开", + message: { + username: { + required: "请输入用户名", + }, + password: { + required: "请输入密码", + min: "密码不能少于6位", + }, + captchaCode: { + required: "请输入验证码", + }, + }, + }, + // 重置密码页面国际化 + userset:{ + title: "修改密码", + newUsername: "新账号", + newPassword: "新密码", + message: { + title:"提示", + xx1:"账号或密码不能为空", + xx2: "密码长度不能小于6位", + xx3:"你确定要重置密码吗", + xx4:"密码重置成功,新密码是:", + }, + }, + // 导航栏国际化 + navbar: { + dashboard: "首页", + logout: "注销登出", + userset: "修改密码", + }, + sizeSelect: { + tooltip: "布局大小", + default: "默认", + large: "大型", + small: "小型", + message: { + success: "切换布局大小成功!", + }, + }, + langSelect: { + message: { + success: "切换语言成功!", + }, + }, + settings: { + project: "项目配置", + theme: "主题设置", + interface: "界面设置", + navigation: "导航设置", + themeColor: "主题颜色", + tagsView: "开启 Tags-View", + fixedHeader: "固定 Header", + sidebarLogo: "侧边栏 Logo", + watermark: "开启水印", + }, +}; diff --git a/webs/src/layout/components/AppMain/index.vue b/webs/src/layout/components/AppMain/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..c8017b28afe749174bca4696c964ea7428ac97c3 --- /dev/null +++ b/webs/src/layout/components/AppMain/index.vue @@ -0,0 +1,82 @@ + + + + + diff --git a/webs/src/layout/components/NavBar/components/NavbarLeft.vue b/webs/src/layout/components/NavBar/components/NavbarLeft.vue new file mode 100644 index 0000000000000000000000000000000000000000..937391f0c963ed3c30c429be17afd61f5f0cccc2 --- /dev/null +++ b/webs/src/layout/components/NavBar/components/NavbarLeft.vue @@ -0,0 +1,19 @@ + + + diff --git a/webs/src/layout/components/NavBar/components/NavbarRight.vue b/webs/src/layout/components/NavBar/components/NavbarRight.vue new file mode 100644 index 0000000000000000000000000000000000000000..d4cac4f40dc4270c6a2197fd48854f7cff24af70 --- /dev/null +++ b/webs/src/layout/components/NavBar/components/NavbarRight.vue @@ -0,0 +1,122 @@ + + + diff --git a/webs/src/layout/components/NavBar/index.vue b/webs/src/layout/components/NavBar/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..084fdc4592ed15f718dec4a8f3db47c4d4839078 --- /dev/null +++ b/webs/src/layout/components/NavBar/index.vue @@ -0,0 +1,18 @@ + + + diff --git a/webs/src/layout/components/Settings/components/LayoutSelect.vue b/webs/src/layout/components/Settings/components/LayoutSelect.vue new file mode 100644 index 0000000000000000000000000000000000000000..0b880c1cac27ddf8fb9ed2f4895c04e53dd80fb6 --- /dev/null +++ b/webs/src/layout/components/Settings/components/LayoutSelect.vue @@ -0,0 +1,108 @@ + + + + + diff --git a/webs/src/layout/components/Settings/components/ThemeColorPicker.vue b/webs/src/layout/components/Settings/components/ThemeColorPicker.vue new file mode 100644 index 0000000000000000000000000000000000000000..5a0d59cd0392f2be647724bf48a0d6525c8c403b --- /dev/null +++ b/webs/src/layout/components/Settings/components/ThemeColorPicker.vue @@ -0,0 +1,41 @@ + + + + + diff --git a/webs/src/layout/components/Settings/index.vue b/webs/src/layout/components/Settings/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..a2e3b46e0740504f8a25988306edc0f95224642c --- /dev/null +++ b/webs/src/layout/components/Settings/index.vue @@ -0,0 +1,145 @@ + + + + + diff --git a/webs/src/layout/components/Sidebar/components/SidebarLogo.vue b/webs/src/layout/components/Sidebar/components/SidebarLogo.vue new file mode 100644 index 0000000000000000000000000000000000000000..90fc081fab3aa776e82dc54dd55423b784724f2a --- /dev/null +++ b/webs/src/layout/components/Sidebar/components/SidebarLogo.vue @@ -0,0 +1,64 @@ + + + + + diff --git a/webs/src/layout/components/Sidebar/components/SidebarMenu.vue b/webs/src/layout/components/Sidebar/components/SidebarMenu.vue new file mode 100644 index 0000000000000000000000000000000000000000..444fa0d777a8885e9a79ba8f19484343e7adcaf6 --- /dev/null +++ b/webs/src/layout/components/Sidebar/components/SidebarMenu.vue @@ -0,0 +1,64 @@ + + + + diff --git a/webs/src/layout/components/Sidebar/components/SidebarMenuItem.vue b/webs/src/layout/components/Sidebar/components/SidebarMenuItem.vue new file mode 100644 index 0000000000000000000000000000000000000000..552fa1758c68f81b8925ddb50dd371197f9280c2 --- /dev/null +++ b/webs/src/layout/components/Sidebar/components/SidebarMenuItem.vue @@ -0,0 +1,191 @@ + + + + diff --git a/webs/src/layout/components/Sidebar/components/SidebarMenuItemTitle.vue b/webs/src/layout/components/Sidebar/components/SidebarMenuItemTitle.vue new file mode 100644 index 0000000000000000000000000000000000000000..4fec81f1ad3b85bc115aa955e016a19768909ce7 --- /dev/null +++ b/webs/src/layout/components/Sidebar/components/SidebarMenuItemTitle.vue @@ -0,0 +1,42 @@ + + + + + diff --git a/webs/src/layout/components/Sidebar/components/SidebarMixTopMenu.vue b/webs/src/layout/components/Sidebar/components/SidebarMixTopMenu.vue new file mode 100644 index 0000000000000000000000000000000000000000..8a03e7d81f188d412ba88fe71901653922e61dd0 --- /dev/null +++ b/webs/src/layout/components/Sidebar/components/SidebarMixTopMenu.vue @@ -0,0 +1,83 @@ + + + + diff --git a/webs/src/layout/components/Sidebar/index.vue b/webs/src/layout/components/Sidebar/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..8956f905f8bf8a72eb092aef4de7727046c312b2 --- /dev/null +++ b/webs/src/layout/components/Sidebar/index.vue @@ -0,0 +1,37 @@ + + + + + diff --git a/webs/src/layout/components/TagsView/index.vue b/webs/src/layout/components/TagsView/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..4255fa68bc954a9e0dc23c163ac5e0b535f7f470 --- /dev/null +++ b/webs/src/layout/components/TagsView/index.vue @@ -0,0 +1,466 @@ + + + + + diff --git a/webs/src/layout/index.vue b/webs/src/layout/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..7d17ec9b26aaff821199bc43ff0c50770bbc3e11 --- /dev/null +++ b/webs/src/layout/index.vue @@ -0,0 +1,343 @@ + + + + + diff --git a/webs/src/main.ts b/webs/src/main.ts new file mode 100644 index 0000000000000000000000000000000000000000..1fa9124a800139d617606329ea75ba6c16403796 --- /dev/null +++ b/webs/src/main.ts @@ -0,0 +1,29 @@ +import { createApp } from "vue"; +import App from "./App.vue"; +import router from "@/router"; +import { setupStore } from "@/store"; +import { setupDirective } from "@/directive"; +import { setupElIcons, setupI18n, setupPermission } from "@/plugins"; + +// 本地SVG图标 +import "virtual:svg-icons-register"; + +// 样式 +import "element-plus/theme-chalk/dark/css-vars.css"; +import "@/styles/index.scss"; +import "uno.css"; +import "animate.css"; + +const app = createApp(App); +// 全局注册 自定义指令(directive) +setupDirective(app); +// 全局注册 状态管理(store) +setupStore(app); +// 全局注册Element-plus图标 +setupElIcons(app); +// 国际化 +setupI18n(app); +// 注册动态路由 +setupPermission(); +app.use(router); +app.mount("#app"); diff --git a/webs/src/plugins/i18n.ts b/webs/src/plugins/i18n.ts new file mode 100644 index 0000000000000000000000000000000000000000..16915cc14fbf9bbe6859d8b32b5129e1b964a239 --- /dev/null +++ b/webs/src/plugins/i18n.ts @@ -0,0 +1,7 @@ +// 国际化 +import i18n from "@/lang/index"; +import type { App } from "vue"; + +export function setupI18n(app: App) { + app.use(i18n); +} diff --git a/webs/src/plugins/icons.ts b/webs/src/plugins/icons.ts new file mode 100644 index 0000000000000000000000000000000000000000..fa85ba1473481fdb54a402885a64028778611feb --- /dev/null +++ b/webs/src/plugins/icons.ts @@ -0,0 +1,9 @@ +import type { App } from "vue"; +import * as ElementPlusIconsVue from "@element-plus/icons-vue"; + +// 注册所有图标 +export function setupElIcons(app: App) { + for (const [key, component] of Object.entries(ElementPlusIconsVue)) { + app.component(key, component); + } +} diff --git a/webs/src/plugins/index.ts b/webs/src/plugins/index.ts new file mode 100644 index 0000000000000000000000000000000000000000..b54ee18abbb0b8baedc794ba4d986f2dadadf4ff --- /dev/null +++ b/webs/src/plugins/index.ts @@ -0,0 +1,3 @@ +export * from "./icons"; +export * from "./i18n"; +export * from "./permission"; diff --git a/webs/src/plugins/permission.ts b/webs/src/plugins/permission.ts new file mode 100644 index 0000000000000000000000000000000000000000..57ce32c9b5944db83993648dc8cdbac592825d39 --- /dev/null +++ b/webs/src/plugins/permission.ts @@ -0,0 +1,60 @@ +import router from "@/router"; +import { useUserStore, usePermissionStore } from "@/store"; +import NProgress from "@/utils/nprogress"; +import { RouteRecordRaw } from "vue-router"; + +export function setupPermission() { + // 白名单路由 + const whiteList = ["/login"]; + + router.beforeEach(async (to, from, next) => { + NProgress.start(); + const hasToken = localStorage.getItem("accessToken"); + if (hasToken) { + if (to.path === "/login") { + // 如果已登录,跳转首页 + next({ path: "/" }); + NProgress.done(); + } else { + const userStore = useUserStore(); + const hasRoles = + userStore.user.roles && userStore.user.roles.length > 0; + if (hasRoles) { + // 未匹配到任何路由,跳转404 + if (to.matched.length === 0) { + from.name ? next({ name: from.name }) : next("/404"); + } else { + next(); + } + } else { + const permissionStore = usePermissionStore(); + try { + const { roles } = await userStore.getUserInfo(); + const accessRoutes = await permissionStore.generateRoutes(roles); + accessRoutes.forEach((route: RouteRecordRaw) => { + router.addRoute(route); + }); + next({ ...to, replace: true }); + } catch (error) { + // 移除 token 并跳转登录页 + await userStore.resetToken(); + next(`/login?redirect=${to.path}`); + NProgress.done(); + } + } + } + } else { + // 未登录可以访问白名单页面 + if (whiteList.indexOf(to.path) !== -1) { + next(); + } else { + next(`/login?redirect=${to.path}`); + NProgress.done(); + } + } + }); + + router.afterEach(() => { + NProgress.done(); + }); +} diff --git a/webs/src/router/index.ts b/webs/src/router/index.ts new file mode 100644 index 0000000000000000000000000000000000000000..d64096bb7dce23a585bce0a475c025c28ce1fa14 --- /dev/null +++ b/webs/src/router/index.ts @@ -0,0 +1,137 @@ +import { KeepAlive } from "vue"; +import { createRouter, createWebHashHistory, RouteRecordRaw } from "vue-router"; + +export const Layout = () => import("@/layout/index.vue"); + +// 静态路由 +export const constantRoutes: RouteRecordRaw[] = [ + { + path: "/redirect", + component: Layout, + meta: { hidden: true }, + children: [ + { + path: "/redirect/:path(.*)", + component: () => import("@/views/redirect/index.vue"), + }, + ], + }, + + { + path: "/login", + component: () => import("@/views/login/index.vue"), + meta: { hidden: true }, + }, + + { + path: "/", + name: "/", + component: Layout, + redirect: "/dashboard", + children: [ + { + path: "dashboard", + component: () => import("@/views/dashboard/index.vue"), + name: "Dashboard", // 用于 keep-alive, 必须与SFC自动推导或者显示声明的组件name一致 + // https://cn.vuejs.org/guide/built-ins/keep-alive.html#include-exclude + meta: { + title: "dashboard", + icon: "homepage", + affix: true, + keepAlive: true, + alwaysShow: false, + }, + }, + { + path: "401", + component: () => import("@/views/error-page/401.vue"), + meta: { hidden: true }, + }, + { + path: "404", + component: () => import("@/views/error-page/404.vue"), + meta: { hidden: true }, + }, + + ], + + + }, + + + + + + + + // 外部链接 + // { + // path: "/external-link", + // component: Layout, + // children: [ { + // component: () => import("@/views/external-link/index.vue"), + // path: "https://www.cnblogs.com/haoxianrui/", + // meta: { title: "外部链接", icon: "link" }, + // }, + // ], + // }, + // 多级嵌套路由 + /* { + path: '/nested', + component: Layout, + redirect: '/nested/level1/level2', + name: 'Nested', + meta: {title: '多级菜单', icon: 'nested'}, + children: [ + { + path: 'level1', + component: () => import('@/views/nested/level1/index.vue'), + name: 'Level1', + meta: {title: '菜单一级'}, + redirect: '/nested/level1/level2', + children: [ + { + path: 'level2', + component: () => import('@/views/nested/level1/level2/index.vue'), + name: 'Level2', + meta: {title: '菜单二级'}, + redirect: '/nested/level1/level2/level3', + children: [ + { + path: 'level3-1', + component: () => import('@/views/nested/level1/level2/level3/index1.vue'), + name: 'Level3-1', + meta: {title: '菜单三级-1'} + }, + { + path: 'level3-2', + component: () => import('@/views/nested/level1/level2/level3/index2.vue'), + name: 'Level3-2', + meta: {title: '菜单三级-2'} + } + ] + } + ] + }, + ] + }*/ +]; + +/** + * 创建路由 + */ +const router = createRouter({ + history: createWebHashHistory(), + routes: constantRoutes, + // 刷新时,滚动条位置还原 + scrollBehavior: () => ({ left: 0, top: 0 }), +}); + +/** + * 重置路由 + */ +export function resetRouter() { + router.replace({ path: "/login" }); +} + +export default router; diff --git a/webs/src/settings.ts b/webs/src/settings.ts new file mode 100644 index 0000000000000000000000000000000000000000..a9a2f6a22fe6d9de2dc34e12a1a95e6c1134fa75 --- /dev/null +++ b/webs/src/settings.ts @@ -0,0 +1,24 @@ +import { SizeEnum } from "./enums/SizeEnum"; +import { LayoutEnum } from "./enums/LayoutEnum"; +import { ThemeEnum } from "./enums/ThemeEnum"; +import { LanguageEnum } from "./enums/LanguageEnum"; + +const { pkg } = __APP_INFO__; + +const defaultSettings: AppSettings = { + title: pkg.name, + version: pkg.version, + showSettings: true, + tagsView: true, + fixedHeader: true, + sidebarLogo: true, + layout: LayoutEnum.LEFT, + theme: ThemeEnum.LIGHT, + size: SizeEnum.DEFAULT, + language: LanguageEnum.ZH_CN, + themeColor: "#409EFF", + watermarkEnabled: false, + watermarkContent: pkg.name, +}; + +export default defaultSettings; diff --git a/webs/src/store/index.ts b/webs/src/store/index.ts new file mode 100644 index 0000000000000000000000000000000000000000..8dd6ea935dbd7436fd0d0868027734fcfa944f68 --- /dev/null +++ b/webs/src/store/index.ts @@ -0,0 +1,16 @@ +import type { App } from "vue"; +import { createPinia } from "pinia"; + +const store = createPinia(); + +// 全局注册 store +export function setupStore(app: App) { + app.use(store); +} + +export * from "./modules/app"; +export * from "./modules/permission"; +export * from "./modules/settings"; +export * from "./modules/tagsView"; +export * from "./modules/user"; +export { store }; diff --git a/webs/src/store/modules/app.ts b/webs/src/store/modules/app.ts new file mode 100644 index 0000000000000000000000000000000000000000..747f9945526a941f235c1f29c248e825723e7175 --- /dev/null +++ b/webs/src/store/modules/app.ts @@ -0,0 +1,94 @@ +import defaultSettings from "@/settings"; + +// 导入 Element Plus 中英文语言包 +import zhCn from "element-plus/es/locale/lang/zh-cn"; +import en from "element-plus/es/locale/lang/en"; +import { store } from "@/store"; +import { DeviceEnum } from "@/enums/DeviceEnum"; +import { SidebarStatusEnum } from "@/enums/SidebarStatusEnum"; + +// setup +export const useAppStore = defineStore("app", () => { + // state + const device = useStorage("device", DeviceEnum.DESKTOP); + const size = useStorage("size", defaultSettings.size); + const language = useStorage("language", defaultSettings.language); + const sidebarStatus = useStorage("sidebarStatus", SidebarStatusEnum.CLOSED); + + const sidebar = reactive({ + opened: sidebarStatus.value === SidebarStatusEnum.OPENED, + withoutAnimation: false, + }); + const activeTopMenuPath = useStorage("activeTopMenuPath", ""); + /** + * 根据语言标识读取对应的语言包 + */ + const locale = computed(() => { + if (language?.value == "en") { + return en; + } else { + return zhCn; + } + }); + + // actions + function toggleSidebar() { + sidebar.opened = !sidebar.opened; + sidebarStatus.value = sidebar.opened + ? SidebarStatusEnum.OPENED + : SidebarStatusEnum.CLOSED; + } + + function closeSideBar() { + sidebar.opened = false; + sidebarStatus.value = SidebarStatusEnum.CLOSED; + } + + function openSideBar() { + sidebar.opened = true; + sidebarStatus.value = SidebarStatusEnum.OPENED; + } + + function toggleDevice(val: string) { + device.value = val; + } + + function changeSize(val: string) { + size.value = val; + } + /** + * 切换语言 + * + * @param val + */ + function changeLanguage(val: string) { + language.value = val; + } + /** + * 混合模式顶部切换 + */ + function activeTopMenu(val: string) { + activeTopMenuPath.value = val; + } + return { + device, + sidebar, + language, + locale, + size, + activeTopMenu, + toggleDevice, + changeSize, + changeLanguage, + toggleSidebar, + closeSideBar, + openSideBar, + activeTopMenuPath, + }; +}); + +// 手动提供给 useStore() 函数 pinia 实例 +// https://pinia.vuejs.org/zh/core-concepts/outside-component-usage.html#using-a-store-outside-of-a-component +export function useAppStoreHook() { + return useAppStore(store); +} diff --git a/webs/src/store/modules/permission.ts b/webs/src/store/modules/permission.ts new file mode 100644 index 0000000000000000000000000000000000000000..175d07cc431a35d7bdd6746a0a65f2a20bc375f2 --- /dev/null +++ b/webs/src/store/modules/permission.ts @@ -0,0 +1,122 @@ +import { RouteRecordRaw } from "vue-router"; +import { constantRoutes } from "@/router"; +import { store } from "@/store"; +import { listRoutes } from "@/api/menu"; + +const modules = import.meta.glob("../../views/**/**.vue"); +const Layout = () => import("@/layout/index.vue"); + +/** + * Use meta.role to determine if the current user has permission + * + * @param roles 用户角色集合 + * @param route 路由 + * @returns + */ +const hasPermission = (roles: string[], route: RouteRecordRaw) => { + if (route.meta && route.meta.roles) { + // 角色【超级管理员】拥有所有权限,忽略校验 + if (roles.includes("ROOT")) { + return true; + } + return roles.some((role) => { + if (route.meta?.roles) { + return route.meta.roles.includes(role); + } + }); + } + return false; +}; + +/** + * 递归过滤有权限的异步(动态)路由 + * + * @param routes 接口返回的异步(动态)路由 + * @param roles 用户角色集合 + * @returns 返回用户有权限的异步(动态)路由 + */ +const filterAsyncRoutes = (routes: RouteRecordRaw[], roles: string[]) => { + const asyncRoutes: RouteRecordRaw[] = []; + + routes.forEach((route) => { + const tmpRoute = { ...route }; // ES6扩展运算符复制新对象 + if (!route.name) { + tmpRoute.name = route.path; + } + // 判断用户(角色)是否有该路由的访问权限 + if (hasPermission(roles, tmpRoute)) { + if (tmpRoute.component?.toString() == "Layout") { + tmpRoute.component = Layout; + } else { + const component = modules[`../../views/${tmpRoute.component}.vue`]; + if (component) { + tmpRoute.component = component; + } else { + tmpRoute.component = modules[`../../views/error-page/404.vue`]; + } + } + + if (tmpRoute.children) { + tmpRoute.children = filterAsyncRoutes(tmpRoute.children, roles); + } + + asyncRoutes.push(tmpRoute); + } + }); + + return asyncRoutes; +}; + +// setup +export const usePermissionStore = defineStore("permission", () => { + // state + const routes = ref([]); + + // actions + function setRoutes(newRoutes: RouteRecordRaw[]) { + routes.value = constantRoutes.concat(newRoutes); + } + /** + * 生成动态路由 + * + * @param roles 用户角色集合 + * @returns + */ + function generateRoutes(roles: string[]) { + return new Promise((resolve, reject) => { + // 接口获取所有路由 + listRoutes() + .then(({ data: asyncRoutes }) => { + // 根据角色获取有访问权限的路由 + const accessedRoutes = filterAsyncRoutes(asyncRoutes, roles); + setRoutes(accessedRoutes); + resolve(accessedRoutes); + }) + .catch((error) => { + reject(error); + }); + }); + } + /** + * 获取与激活的顶部菜单项相关的混合模式左侧菜单集合 + */ + const mixLeftMenus = ref([]); + function setMixLeftMenus(topMenuPath: string) { + const matchedItem = routes.value.find((item) => item.path === topMenuPath); + if (matchedItem && matchedItem.children) { + mixLeftMenus.value = matchedItem.children; + } + } + return { + routes, + setRoutes, + generateRoutes, + mixLeftMenus, + setMixLeftMenus, + }; +}); + +// 非setup +export function usePermissionStoreHook() { + return usePermissionStore(store); +} diff --git a/webs/src/store/modules/settings.ts b/webs/src/store/modules/settings.ts new file mode 100644 index 0000000000000000000000000000000000000000..1a54daae1808778c1cbef4022ace03e11e0036fb --- /dev/null +++ b/webs/src/store/modules/settings.ts @@ -0,0 +1,124 @@ +import defaultSettings from "@/settings"; +import { genMixColor } from "@/utils/color"; +import { setStyleProperty } from "@/utils"; +import { ThemeEnum } from "@/enums/ThemeEnum"; + +type SettingsValue = boolean | string; + +export const useSettingsStore = defineStore("setting", () => { + // 是否显示设置 + const settingsVisible = ref(false); + // 是否显示标签视图 + const tagsView = useStorage("tagsView", defaultSettings.tagsView); + // 是否显示侧边栏logo + const sidebarLogo = useStorage( + "sidebarLogo", + defaultSettings.sidebarLogo + ); + // 是否固定头部 + const fixedHeader = useStorage( + "fixedHeader", + defaultSettings.fixedHeader + ); + // 布局模式:left-左侧模式(默认) top-顶部模式 mix-混合模式 + const layout = useStorage("layout", defaultSettings.layout); + // 主题颜色 + const themeColor = useStorage( + "themeColor", + defaultSettings.themeColor + ); + // 主题:light-亮色(默认) dark-暗色 + const theme = useStorage("theme", defaultSettings.theme); + // 是否开启水印 + const watermarkEnabled = useStorage( + "watermarkEnabled", + defaultSettings.watermarkEnabled + ); + + watch( + [theme, themeColor], + ([newTheme, newThemeColor], [oldTheme, oldThemeColor]) => { + if (newTheme !== oldTheme) { + if (newTheme === ThemeEnum.DARK) { + document.documentElement.classList.add("dark"); + } else { + document.documentElement.classList.remove("dark"); + } + } + + if (newThemeColor !== oldThemeColor) { + const { DEFAULT, dark, light } = genMixColor(newThemeColor); + setStyleProperty(`--el-color-primary`, DEFAULT); + setStyleProperty(`--el-color-primary-dark-2`, dark[2]); + setStyleProperty(`--el-color-primary-light-3`, light[3]); + setStyleProperty(`--el-color-primary-light-5`, light[5]); + setStyleProperty(`--el-color-primary-light-7`, light[7]); + setStyleProperty(`--el-color-primary-light-8`, light[8]); + setStyleProperty(`--el-color-primary-light-9`, light[9]); + } + }, + { + immediate: true, // 立即执行,确保在侦听器创建时执行一次 + } + ); + + const settingsMap: Record> = { + fixedHeader, + tagsView, + sidebarLogo, + layout, + watermarkEnabled, + }; + + function changeSetting({ + key, + value, + }: { + key: string; + value: SettingsValue; + }) { + const setting = settingsMap[key]; + if (setting) { + setting.value = value; + } + } + + /** + * 切换主题 + */ + function changeTheme(val: string) { + theme.value = val; + } + + /** + * 切换主题颜色 + * + * @param color 主题颜色 + * + */ + function changeThemeColor(color: string) { + themeColor.value = color; + } + + /** + * 切换布局 + */ + function changeLayout(val: string) { + layout.value = val; + } + + return { + settingsVisible, + tagsView, + fixedHeader, + sidebarLogo, + layout, + themeColor, + theme, + watermarkEnabled, + changeSetting, + changeTheme, + changeThemeColor, + changeLayout, + }; +}); diff --git a/webs/src/store/modules/tagsView.ts b/webs/src/store/modules/tagsView.ts new file mode 100644 index 0000000000000000000000000000000000000000..9e66c10ecf43838e2564a700c1c056f1f9a40be4 --- /dev/null +++ b/webs/src/store/modules/tagsView.ts @@ -0,0 +1,211 @@ +export const useTagsViewStore = defineStore("tagsView", () => { + const visitedViews = ref([]); + const cachedViews = ref([]); + + /** + * 添加已访问视图到已访问视图列表中 + */ + function addVisitedView(view: TagView) { + // 如果已经存在于已访问的视图列表中,则不再添加 + if (visitedViews.value.some((v) => v.path === view.path)) { + return; + } + // 如果视图是固定的(affix),则在已访问的视图列表的开头添加 + if (view.affix) { + visitedViews.value.unshift(view); + } else { + // 如果视图不是固定的,则在已访问的视图列表的末尾添加 + visitedViews.value.push(view); + } + } + + /** + * 添加缓存视图到缓存视图列表中 + */ + function addCachedView(view: TagView) { + const viewName = view.name; + // 如果缓存视图名称已经存在于缓存视图列表中,则不再添加 + if (cachedViews.value.includes(viewName)) { + return; + } + + // 如果视图需要缓存(keepAlive),则将其路由名称添加到缓存视图列表中 + if (view.keepAlive) { + cachedViews.value.push(viewName); + } + } + + /** + * 从已访问视图列表中删除指定的视图 + */ + function delVisitedView(view: TagView) { + return new Promise((resolve) => { + for (const [i, v] of visitedViews.value.entries()) { + // 找到与指定视图路径匹配的视图,在已访问视图列表中删除该视图 + if (v.path === view.path) { + visitedViews.value.splice(i, 1); + break; + } + } + resolve([...visitedViews.value]); + }); + } + + function delCachedView(view: TagView) { + const viewName = view.name; + return new Promise((resolve) => { + const index = cachedViews.value.indexOf(viewName); + index > -1 && cachedViews.value.splice(index, 1); + resolve([...cachedViews.value]); + }); + } + + function delOtherVisitedViews(view: TagView) { + return new Promise((resolve) => { + visitedViews.value = visitedViews.value.filter((v) => { + return v?.affix || v.path === view.path; + }); + resolve([...visitedViews.value]); + }); + } + + function delOtherCachedViews(view: TagView) { + const viewName = view.name as string; + return new Promise((resolve) => { + const index = cachedViews.value.indexOf(viewName); + if (index > -1) { + cachedViews.value = cachedViews.value.slice(index, index + 1); + } else { + // if index = -1, there is no cached tags + cachedViews.value = []; + } + resolve([...cachedViews.value]); + }); + } + + function updateVisitedView(view: TagView) { + for (let v of visitedViews.value) { + if (v.path === view.path) { + v = Object.assign(v, view); + break; + } + } + } + + function addView(view: TagView) { + addVisitedView(view); + addCachedView(view); + } + + function delView(view: TagView) { + return new Promise((resolve) => { + delVisitedView(view); + delCachedView(view); + resolve({ + visitedViews: [...visitedViews.value], + cachedViews: [...cachedViews.value], + }); + }); + } + + function delOtherViews(view: TagView) { + return new Promise((resolve) => { + delOtherVisitedViews(view); + delOtherCachedViews(view); + resolve({ + visitedViews: [...visitedViews.value], + cachedViews: [...cachedViews.value], + }); + }); + } + + function delLeftViews(view: TagView) { + return new Promise((resolve) => { + const currIndex = visitedViews.value.findIndex( + (v) => v.path === view.path + ); + if (currIndex === -1) { + return; + } + visitedViews.value = visitedViews.value.filter((item, index) => { + if (index >= currIndex || item?.affix) { + return true; + } + + const cacheIndex = cachedViews.value.indexOf(item.name); + if (cacheIndex > -1) { + cachedViews.value.splice(cacheIndex, 1); + } + return false; + }); + resolve({ + visitedViews: [...visitedViews.value], + }); + }); + } + function delRightViews(view: TagView) { + return new Promise((resolve) => { + const currIndex = visitedViews.value.findIndex( + (v) => v.path === view.path + ); + if (currIndex === -1) { + return; + } + visitedViews.value = visitedViews.value.filter((item, index) => { + if (index <= currIndex || item?.affix) { + return true; + } + }); + resolve({ + visitedViews: [...visitedViews.value], + }); + }); + } + + function delAllViews() { + return new Promise((resolve) => { + const affixTags = visitedViews.value.filter((tag) => tag?.affix); + visitedViews.value = affixTags; + cachedViews.value = []; + resolve({ + visitedViews: [...visitedViews.value], + cachedViews: [...cachedViews.value], + }); + }); + } + + function delAllVisitedViews() { + return new Promise((resolve) => { + const affixTags = visitedViews.value.filter((tag) => tag?.affix); + visitedViews.value = affixTags; + resolve([...visitedViews.value]); + }); + } + + function delAllCachedViews() { + return new Promise((resolve) => { + cachedViews.value = []; + resolve([...cachedViews.value]); + }); + } + + return { + visitedViews, + cachedViews, + addVisitedView, + addCachedView, + delVisitedView, + delCachedView, + delOtherVisitedViews, + delOtherCachedViews, + updateVisitedView, + addView, + delView, + delOtherViews, + delLeftViews, + delRightViews, + delAllViews, + delAllVisitedViews, + delAllCachedViews, + }; +}); diff --git a/webs/src/store/modules/user.ts b/webs/src/store/modules/user.ts new file mode 100644 index 0000000000000000000000000000000000000000..f1346a107352a8fe6a983a2888e9930951e67d0a --- /dev/null +++ b/webs/src/store/modules/user.ts @@ -0,0 +1,94 @@ +import { loginApi, logoutApi } from "@/api/auth"; +import { getUserInfoApi } from "@/api/user"; +import { resetRouter } from "@/router"; +import { store } from "@/store"; + +import { LoginData } from "@/api/auth/types"; +import { UserInfo } from "@/api/user/types"; + +export const useUserStore = defineStore("user", () => { + const user = ref({ + roles: [], + perms: [], + }); + + /** + * 登录 + * + * @param {LoginData} + * @returns + */ + function login(loginData: LoginData) { + return new Promise((resolve, reject) => { + loginApi(loginData) + .then((response) => { + const { tokenType, accessToken } = response.data; + localStorage.setItem("accessToken", tokenType + " " + accessToken); // Bearer eyJhbGciOiJIUzI1NiJ9.xxx.xxx + resolve(); + }) + .catch((error) => { + reject(error); + }); + }); + } + + // 获取信息(用户昵称、头像、角色集合、权限集合) + function getUserInfo() { + return new Promise((resolve, reject) => { + getUserInfoApi() + .then(({ data }) => { + if (!data) { + reject("Verification failed, please Login again."); + return; + } + if (!data.roles || data.roles.length <= 0) { + reject("getUserInfo: roles must be a non-null array!"); + return; + } + Object.assign(user.value, { ...data }); + resolve(data); + }) + .catch((error) => { + reject(error); + }); + }); + } + + // user logout + function logout() { + return new Promise((resolve, reject) => { + logoutApi() + .then(() => { + localStorage.setItem("accessToken", ""); + location.reload(); // 清空路由 + resolve(); + }) + .catch((error) => { + reject(error); + }); + }); + } + + // remove token + function resetToken() { + console.log("resetToken"); + return new Promise((resolve) => { + localStorage.setItem("accessToken", ""); + resetRouter(); + resolve(); + }); + } + + return { + user, + login, + getUserInfo, + logout, + resetToken, + }; +}); + +// 非setup +export function useUserStoreHook() { + return useUserStore(store); +} diff --git a/webs/src/styles/index.scss b/webs/src/styles/index.scss new file mode 100644 index 0000000000000000000000000000000000000000..83ff872017173c966beb771638f323c18b1abd2d --- /dev/null +++ b/webs/src/styles/index.scss @@ -0,0 +1,28 @@ +@use "./reset"; + +.app-container { + padding: 10px; +} + +.search-container { + padding: 18px 0 0 10px; + margin-bottom: 10px; + background-color: var(--el-bg-color-overlay); + border: 1px solid var(--el-border-color-light); + border-radius: 4px; + box-shadow: var(--el-box-shadow-light); +} + +.table-container > .el-card__header { + padding: calc(var(--el-card-padding) - 8px) var(--el-card-padding); +} + +.link-type, +.link-type:focus { + color: #337ab7; + cursor: pointer; + + &:hover { + color: rgb(32 160 255); + } +} diff --git a/webs/src/styles/reset.scss b/webs/src/styles/reset.scss new file mode 100644 index 0000000000000000000000000000000000000000..a20f04a53b58f57a2309d54666f534d2a9acb3d9 --- /dev/null +++ b/webs/src/styles/reset.scss @@ -0,0 +1,76 @@ +*, +::before, +::after { + box-sizing: border-box; + border-color: currentcolor; + border-style: solid; + border-width: 0; +} + +#app { + width: 100%; + height: 100%; +} + +html { + box-sizing: border-box; + width: 100%; + height: 100%; + line-height: 1.5; + tab-size: 4; + text-size-adjust: 100%; +} + +body { + width: 100%; + height: 100%; + margin: 0; + font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", + "Microsoft YaHei", "微软雅黑", Arial, sans-serif; + line-height: inherit; + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + text-rendering: optimizelegibility; +} + +a { + color: inherit; + text-decoration: inherit; +} + +img, +svg { + display: inline-block; +} + +svg { + // 因icon大小被设置为和字体大小一致,而span等标签的下边缘会和字体的基线对齐,故需设置一个往下的偏移比例,来纠正视觉上的未对齐效果 + vertical-align: -0.15em; +} + +ul, +li { + padding: 0; + margin: 0; + list-style: none; +} + +*, +*::before, +*::after { + box-sizing: inherit; +} + +a, +a:focus, +a:hover { + color: inherit; + text-decoration: none; + cursor: pointer; +} + +a:focus, +a:active, +div:focus { + outline: none; +} diff --git a/webs/src/styles/variables.module.scss b/webs/src/styles/variables.module.scss new file mode 100644 index 0000000000000000000000000000000000000000..70aa10b5f62a81768eefbf64f754e5b834a38d68 --- /dev/null +++ b/webs/src/styles/variables.module.scss @@ -0,0 +1,10 @@ +/* stylelint-disable property-no-unknown */ +:export { + sidebar-width: $sidebar-width; + navbar-height: $navbar-height; + menu-background: $menu-background; + menu-text: $menu-text; + menu-active-text: $menu-active-text; + menu-hover: $menu-hover; +} +/* stylelint-enable property-no-unknown */ diff --git a/webs/src/styles/variables.scss b/webs/src/styles/variables.scss new file mode 100644 index 0000000000000000000000000000000000000000..7b9b3eb296ca56f75af50281159a853612ee79de --- /dev/null +++ b/webs/src/styles/variables.scss @@ -0,0 +1,29 @@ +/** 全局SCSS变量 */ + +:root { + --menu-background: #304156; + --menu-text: #bfcbd9; + --menu-active-text: var(--el-menu-active-color); + --menu-hover: #263445; + --sidebar-logo-background: #2d3748; +} + +/** 暗黑主题 */ +html.dark { + --menu-background: var(--el-bg-color-overlay); + --menu-text: #fff; + --menu-active-text: var(--el-menu-active-color); + --menu-hover: rgb(0 0 0 / 20%); + --sidebar-logo-background: rgb(0 0 0 / 20%); +} + +$menu-background: var(--menu-background); // 菜单背景色 +$menu-text: var(--menu-text); // 菜单文字颜色 +$menu-active-text: var(--menu-active-text); // 菜单激活文字颜色 +$menu-hover: var(--menu-hover); // 菜单悬停背景色 +$sidebar-logo-background: var(--sidebar-logo-background); // 侧边栏 Logo 背景色 + +$sidebar-width: 210px; // 侧边栏宽度 +$sidebar-width-collapsed: 54px; // 侧边栏收缩宽度 +$navbar-height: 50px; // 导航栏高度 +$tags-view-height: 34px; // TagsView 高度 diff --git a/webs/src/typings/auto-imports.d.ts b/webs/src/typings/auto-imports.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..21e11afdc3871124ec350babe550596a466e5f04 --- /dev/null +++ b/webs/src/typings/auto-imports.d.ts @@ -0,0 +1,1783 @@ +/* eslint-disable */ +/* prettier-ignore */ +// @ts-nocheck +// noinspection JSUnusedGlobalSymbols +// Generated by unplugin-auto-import +export {} +declare global { + const EffectScope: (typeof import("vue"))["EffectScope"]; + const ElForm: (typeof import("element-plus/es"))["ElForm"]; + const ElMessage: (typeof import("element-plus/es"))["ElMessage"]; + const ElMessageBox: (typeof import("element-plus/es"))["ElMessageBox"]; + const ElTree: (typeof import("element-plus/es"))["ElTree"]; + const acceptHMRUpdate: (typeof import("pinia"))["acceptHMRUpdate"]; + const asyncComputed: (typeof import("@vueuse/core"))["asyncComputed"]; + const autoResetRef: (typeof import("@vueuse/core"))["autoResetRef"]; + const computed: (typeof import("vue"))["computed"]; + const computedAsync: (typeof import("@vueuse/core"))["computedAsync"]; + const computedEager: (typeof import("@vueuse/core"))["computedEager"]; + const computedInject: (typeof import("@vueuse/core"))["computedInject"]; + const computedWithControl: (typeof import("@vueuse/core"))["computedWithControl"]; + const controlledComputed: (typeof import("@vueuse/core"))["controlledComputed"]; + const controlledRef: (typeof import("@vueuse/core"))["controlledRef"]; + const createApp: (typeof import("vue"))["createApp"]; + const createEventHook: (typeof import("@vueuse/core"))["createEventHook"]; + const createGlobalState: (typeof import("@vueuse/core"))["createGlobalState"]; + const createInjectionState: (typeof import("@vueuse/core"))["createInjectionState"]; + const createPinia: (typeof import("pinia"))["createPinia"]; + const createReactiveFn: (typeof import("@vueuse/core"))["createReactiveFn"]; + const createReusableTemplate: (typeof import("@vueuse/core"))["createReusableTemplate"]; + const createSharedComposable: (typeof import("@vueuse/core"))["createSharedComposable"]; + const createTemplatePromise: (typeof import("@vueuse/core"))["createTemplatePromise"]; + const createUnrefFn: (typeof import("@vueuse/core"))["createUnrefFn"]; + const customRef: (typeof import("vue"))["customRef"]; + const debouncedRef: (typeof import("@vueuse/core"))["debouncedRef"]; + const debouncedWatch: (typeof import("@vueuse/core"))["debouncedWatch"]; + const defineAsyncComponent: (typeof import("vue"))["defineAsyncComponent"]; + const defineComponent: (typeof import("vue"))["defineComponent"]; + const defineStore: (typeof import("pinia"))["defineStore"]; + const eagerComputed: (typeof import("@vueuse/core"))["eagerComputed"]; + const effectScope: (typeof import("vue"))["effectScope"]; + const extendRef: (typeof import("@vueuse/core"))["extendRef"]; + const getActivePinia: (typeof import("pinia"))["getActivePinia"]; + const getCurrentInstance: (typeof import("vue"))["getCurrentInstance"]; + const getCurrentScope: (typeof import("vue"))["getCurrentScope"]; + const h: (typeof import("vue"))["h"]; + const ignorableWatch: (typeof import("@vueuse/core"))["ignorableWatch"]; + const inject: (typeof import("vue"))["inject"]; + const injectLocal: (typeof import("@vueuse/core"))["injectLocal"]; + const isDefined: (typeof import("@vueuse/core"))["isDefined"]; + const isProxy: (typeof import("vue"))["isProxy"]; + const isReactive: (typeof import("vue"))["isReactive"]; + const isReadonly: (typeof import("vue"))["isReadonly"]; + const isRef: (typeof import("vue"))["isRef"]; + const makeDestructurable: (typeof import("@vueuse/core"))["makeDestructurable"]; + const mapActions: (typeof import("pinia"))["mapActions"]; + const mapGetters: (typeof import("pinia"))["mapGetters"]; + const mapState: (typeof import("pinia"))["mapState"]; + const mapStores: (typeof import("pinia"))["mapStores"]; + const mapWritableState: (typeof import("pinia"))["mapWritableState"]; + const markRaw: (typeof import("vue"))["markRaw"]; + const nextTick: (typeof import("vue"))["nextTick"]; + const onActivated: (typeof import("vue"))["onActivated"]; + const onBeforeMount: (typeof import("vue"))["onBeforeMount"]; + const onBeforeRouteLeave: (typeof import("vue-router"))["onBeforeRouteLeave"]; + const onBeforeRouteUpdate: (typeof import("vue-router"))["onBeforeRouteUpdate"]; + const onBeforeUnmount: (typeof import("vue"))["onBeforeUnmount"]; + const onBeforeUpdate: (typeof import("vue"))["onBeforeUpdate"]; + const onClickOutside: (typeof import("@vueuse/core"))["onClickOutside"]; + const onDeactivated: (typeof import("vue"))["onDeactivated"]; + const onErrorCaptured: (typeof import("vue"))["onErrorCaptured"]; + const onKeyStroke: (typeof import("@vueuse/core"))["onKeyStroke"]; + const onLongPress: (typeof import("@vueuse/core"))["onLongPress"]; + const onMounted: (typeof import("vue"))["onMounted"]; + const onRenderTracked: (typeof import("vue"))["onRenderTracked"]; + const onRenderTriggered: (typeof import("vue"))["onRenderTriggered"]; + const onScopeDispose: (typeof import("vue"))["onScopeDispose"]; + const onServerPrefetch: (typeof import("vue"))["onServerPrefetch"]; + const onStartTyping: (typeof import("@vueuse/core"))["onStartTyping"]; + const onUnmounted: (typeof import("vue"))["onUnmounted"]; + const onUpdated: (typeof import("vue"))["onUpdated"]; + const pausableWatch: (typeof import("@vueuse/core"))["pausableWatch"]; + const provide: (typeof import("vue"))["provide"]; + const provideLocal: (typeof import("@vueuse/core"))["provideLocal"]; + const reactify: (typeof import("@vueuse/core"))["reactify"]; + const reactifyObject: (typeof import("@vueuse/core"))["reactifyObject"]; + const reactive: (typeof import("vue"))["reactive"]; + const reactiveComputed: (typeof import("@vueuse/core"))["reactiveComputed"]; + const reactiveOmit: (typeof import("@vueuse/core"))["reactiveOmit"]; + const reactivePick: (typeof import("@vueuse/core"))["reactivePick"]; + const readonly: (typeof import("vue"))["readonly"]; + const ref: (typeof import("vue"))["ref"]; + const refAutoReset: (typeof import("@vueuse/core"))["refAutoReset"]; + const refDebounced: (typeof import("@vueuse/core"))["refDebounced"]; + const refDefault: (typeof import("@vueuse/core"))["refDefault"]; + const refThrottled: (typeof import("@vueuse/core"))["refThrottled"]; + const refWithControl: (typeof import("@vueuse/core"))["refWithControl"]; + const resolveComponent: (typeof import("vue"))["resolveComponent"]; + const resolveRef: (typeof import("@vueuse/core"))["resolveRef"]; + const resolveUnref: (typeof import("@vueuse/core"))["resolveUnref"]; + const setActivePinia: (typeof import("pinia"))["setActivePinia"]; + const setMapStoreSuffix: (typeof import("pinia"))["setMapStoreSuffix"]; + const shallowReactive: (typeof import("vue"))["shallowReactive"]; + const shallowReadonly: (typeof import("vue"))["shallowReadonly"]; + const shallowRef: (typeof import("vue"))["shallowRef"]; + const storeToRefs: (typeof import("pinia"))["storeToRefs"]; + const syncRef: (typeof import("@vueuse/core"))["syncRef"]; + const syncRefs: (typeof import("@vueuse/core"))["syncRefs"]; + const templateRef: (typeof import("@vueuse/core"))["templateRef"]; + const throttledRef: (typeof import("@vueuse/core"))["throttledRef"]; + const throttledWatch: (typeof import("@vueuse/core"))["throttledWatch"]; + const toRaw: (typeof import("vue"))["toRaw"]; + const toReactive: (typeof import("@vueuse/core"))["toReactive"]; + const toRef: (typeof import("vue"))["toRef"]; + const toRefs: (typeof import("vue"))["toRefs"]; + const toValue: (typeof import("vue"))["toValue"]; + const triggerRef: (typeof import("vue"))["triggerRef"]; + const tryOnBeforeMount: (typeof import("@vueuse/core"))["tryOnBeforeMount"]; + const tryOnBeforeUnmount: (typeof import("@vueuse/core"))["tryOnBeforeUnmount"]; + const tryOnMounted: (typeof import("@vueuse/core"))["tryOnMounted"]; + const tryOnScopeDispose: (typeof import("@vueuse/core"))["tryOnScopeDispose"]; + const tryOnUnmounted: (typeof import("@vueuse/core"))["tryOnUnmounted"]; + const unref: (typeof import("vue"))["unref"]; + const unrefElement: (typeof import("@vueuse/core"))["unrefElement"]; + const until: (typeof import("@vueuse/core"))["until"]; + const useActiveElement: (typeof import("@vueuse/core"))["useActiveElement"]; + const useAnimate: (typeof import("@vueuse/core"))["useAnimate"]; + const useArrayDifference: (typeof import("@vueuse/core"))["useArrayDifference"]; + const useArrayEvery: (typeof import("@vueuse/core"))["useArrayEvery"]; + const useArrayFilter: (typeof import("@vueuse/core"))["useArrayFilter"]; + const useArrayFind: (typeof import("@vueuse/core"))["useArrayFind"]; + const useArrayFindIndex: (typeof import("@vueuse/core"))["useArrayFindIndex"]; + const useArrayFindLast: (typeof import("@vueuse/core"))["useArrayFindLast"]; + const useArrayIncludes: (typeof import("@vueuse/core"))["useArrayIncludes"]; + const useArrayJoin: (typeof import("@vueuse/core"))["useArrayJoin"]; + const useArrayMap: (typeof import("@vueuse/core"))["useArrayMap"]; + const useArrayReduce: (typeof import("@vueuse/core"))["useArrayReduce"]; + const useArraySome: (typeof import("@vueuse/core"))["useArraySome"]; + const useArrayUnique: (typeof import("@vueuse/core"))["useArrayUnique"]; + const useAsyncQueue: (typeof import("@vueuse/core"))["useAsyncQueue"]; + const useAsyncState: (typeof import("@vueuse/core"))["useAsyncState"]; + const useAttrs: (typeof import("vue"))["useAttrs"]; + const useBase64: (typeof import("@vueuse/core"))["useBase64"]; + const useBattery: (typeof import("@vueuse/core"))["useBattery"]; + const useBluetooth: (typeof import("@vueuse/core"))["useBluetooth"]; + const useBreakpoints: (typeof import("@vueuse/core"))["useBreakpoints"]; + const useBroadcastChannel: (typeof import("@vueuse/core"))["useBroadcastChannel"]; + const useBrowserLocation: (typeof import("@vueuse/core"))["useBrowserLocation"]; + const useCached: (typeof import("@vueuse/core"))["useCached"]; + const useClipboard: (typeof import("@vueuse/core"))["useClipboard"]; + const useClipboardItems: (typeof import("@vueuse/core"))["useClipboardItems"]; + const useCloned: (typeof import("@vueuse/core"))["useCloned"]; + const useColorMode: (typeof import("@vueuse/core"))["useColorMode"]; + const useConfirmDialog: (typeof import("@vueuse/core"))["useConfirmDialog"]; + const useCounter: (typeof import("@vueuse/core"))["useCounter"]; + const useCssModule: (typeof import("vue"))["useCssModule"]; + const useCssVar: (typeof import("@vueuse/core"))["useCssVar"]; + const useCssVars: (typeof import("vue"))["useCssVars"]; + const useCurrentElement: (typeof import("@vueuse/core"))["useCurrentElement"]; + const useCycleList: (typeof import("@vueuse/core"))["useCycleList"]; + const useDark: (typeof import("@vueuse/core"))["useDark"]; + const useDateFormat: (typeof import("@vueuse/core"))["useDateFormat"]; + const useDebounce: (typeof import("@vueuse/core"))["useDebounce"]; + const useDebounceFn: (typeof import("@vueuse/core"))["useDebounceFn"]; + const useDebouncedRefHistory: (typeof import("@vueuse/core"))["useDebouncedRefHistory"]; + const useDeviceMotion: (typeof import("@vueuse/core"))["useDeviceMotion"]; + const useDeviceOrientation: (typeof import("@vueuse/core"))["useDeviceOrientation"]; + const useDevicePixelRatio: (typeof import("@vueuse/core"))["useDevicePixelRatio"]; + const useDevicesList: (typeof import("@vueuse/core"))["useDevicesList"]; + const useDisplayMedia: (typeof import("@vueuse/core"))["useDisplayMedia"]; + const useDocumentVisibility: (typeof import("@vueuse/core"))["useDocumentVisibility"]; + const useDraggable: (typeof import("@vueuse/core"))["useDraggable"]; + const useDropZone: (typeof import("@vueuse/core"))["useDropZone"]; + const useElementBounding: (typeof import("@vueuse/core"))["useElementBounding"]; + const useElementByPoint: (typeof import("@vueuse/core"))["useElementByPoint"]; + const useElementHover: (typeof import("@vueuse/core"))["useElementHover"]; + const useElementSize: (typeof import("@vueuse/core"))["useElementSize"]; + const useElementVisibility: (typeof import("@vueuse/core"))["useElementVisibility"]; + const useEventBus: (typeof import("@vueuse/core"))["useEventBus"]; + const useEventListener: (typeof import("@vueuse/core"))["useEventListener"]; + const useEventSource: (typeof import("@vueuse/core"))["useEventSource"]; + const useEyeDropper: (typeof import("@vueuse/core"))["useEyeDropper"]; + const useFavicon: (typeof import("@vueuse/core"))["useFavicon"]; + const useFetch: (typeof import("@vueuse/core"))["useFetch"]; + const useFileDialog: (typeof import("@vueuse/core"))["useFileDialog"]; + const useFileSystemAccess: (typeof import("@vueuse/core"))["useFileSystemAccess"]; + const useFocus: (typeof import("@vueuse/core"))["useFocus"]; + const useFocusWithin: (typeof import("@vueuse/core"))["useFocusWithin"]; + const useFps: (typeof import("@vueuse/core"))["useFps"]; + const useFullscreen: (typeof import("@vueuse/core"))["useFullscreen"]; + const useGamepad: (typeof import("@vueuse/core"))["useGamepad"]; + const useGeolocation: (typeof import("@vueuse/core"))["useGeolocation"]; + const useI18n: (typeof import("vue-i18n"))["useI18n"]; + const useIdle: (typeof import("@vueuse/core"))["useIdle"]; + const useImage: (typeof import("@vueuse/core"))["useImage"]; + const useInfiniteScroll: (typeof import("@vueuse/core"))["useInfiniteScroll"]; + const useIntersectionObserver: (typeof import("@vueuse/core"))["useIntersectionObserver"]; + const useInterval: (typeof import("@vueuse/core"))["useInterval"]; + const useIntervalFn: (typeof import("@vueuse/core"))["useIntervalFn"]; + const useKeyModifier: (typeof import("@vueuse/core"))["useKeyModifier"]; + const useLastChanged: (typeof import("@vueuse/core"))["useLastChanged"]; + const useLink: (typeof import("vue-router"))["useLink"]; + const useLocalStorage: (typeof import("@vueuse/core"))["useLocalStorage"]; + const useMagicKeys: (typeof import("@vueuse/core"))["useMagicKeys"]; + const useManualRefHistory: (typeof import("@vueuse/core"))["useManualRefHistory"]; + const useMediaControls: (typeof import("@vueuse/core"))["useMediaControls"]; + const useMediaQuery: (typeof import("@vueuse/core"))["useMediaQuery"]; + const useMemoize: (typeof import("@vueuse/core"))["useMemoize"]; + const useMemory: (typeof import("@vueuse/core"))["useMemory"]; + const useMounted: (typeof import("@vueuse/core"))["useMounted"]; + const useMouse: (typeof import("@vueuse/core"))["useMouse"]; + const useMouseInElement: (typeof import("@vueuse/core"))["useMouseInElement"]; + const useMousePressed: (typeof import("@vueuse/core"))["useMousePressed"]; + const useMutationObserver: (typeof import("@vueuse/core"))["useMutationObserver"]; + const useNavigatorLanguage: (typeof import("@vueuse/core"))["useNavigatorLanguage"]; + const useNetwork: (typeof import("@vueuse/core"))["useNetwork"]; + const useNow: (typeof import("@vueuse/core"))["useNow"]; + const useObjectUrl: (typeof import("@vueuse/core"))["useObjectUrl"]; + const useOffsetPagination: (typeof import("@vueuse/core"))["useOffsetPagination"]; + const useOnline: (typeof import("@vueuse/core"))["useOnline"]; + const usePageLeave: (typeof import("@vueuse/core"))["usePageLeave"]; + const useParallax: (typeof import("@vueuse/core"))["useParallax"]; + const useParentElement: (typeof import("@vueuse/core"))["useParentElement"]; + const usePerformanceObserver: (typeof import("@vueuse/core"))["usePerformanceObserver"]; + const usePermission: (typeof import("@vueuse/core"))["usePermission"]; + const usePointer: (typeof import("@vueuse/core"))["usePointer"]; + const usePointerLock: (typeof import("@vueuse/core"))["usePointerLock"]; + const usePointerSwipe: (typeof import("@vueuse/core"))["usePointerSwipe"]; + const usePreferredColorScheme: (typeof import("@vueuse/core"))["usePreferredColorScheme"]; + const usePreferredContrast: (typeof import("@vueuse/core"))["usePreferredContrast"]; + const usePreferredDark: (typeof import("@vueuse/core"))["usePreferredDark"]; + const usePreferredLanguages: (typeof import("@vueuse/core"))["usePreferredLanguages"]; + const usePreferredReducedMotion: (typeof import("@vueuse/core"))["usePreferredReducedMotion"]; + const usePrevious: (typeof import("@vueuse/core"))["usePrevious"]; + const useRafFn: (typeof import("@vueuse/core"))["useRafFn"]; + const useRefHistory: (typeof import("@vueuse/core"))["useRefHistory"]; + const useResizeObserver: (typeof import("@vueuse/core"))["useResizeObserver"]; + const useRoute: (typeof import("vue-router"))["useRoute"]; + const useRouter: (typeof import("vue-router"))["useRouter"]; + const useScreenOrientation: (typeof import("@vueuse/core"))["useScreenOrientation"]; + const useScreenSafeArea: (typeof import("@vueuse/core"))["useScreenSafeArea"]; + const useScriptTag: (typeof import("@vueuse/core"))["useScriptTag"]; + const useScroll: (typeof import("@vueuse/core"))["useScroll"]; + const useScrollLock: (typeof import("@vueuse/core"))["useScrollLock"]; + const useSessionStorage: (typeof import("@vueuse/core"))["useSessionStorage"]; + const useShare: (typeof import("@vueuse/core"))["useShare"]; + const useSlots: (typeof import("vue"))["useSlots"]; + const useSorted: (typeof import("@vueuse/core"))["useSorted"]; + const useSpeechRecognition: (typeof import("@vueuse/core"))["useSpeechRecognition"]; + const useSpeechSynthesis: (typeof import("@vueuse/core"))["useSpeechSynthesis"]; + const useStepper: (typeof import("@vueuse/core"))["useStepper"]; + const useStorage: (typeof import("@vueuse/core"))["useStorage"]; + const useStorageAsync: (typeof import("@vueuse/core"))["useStorageAsync"]; + const useStyleTag: (typeof import("@vueuse/core"))["useStyleTag"]; + const useSupported: (typeof import("@vueuse/core"))["useSupported"]; + const useSwipe: (typeof import("@vueuse/core"))["useSwipe"]; + const useTemplateRefsList: (typeof import("@vueuse/core"))["useTemplateRefsList"]; + const useTextDirection: (typeof import("@vueuse/core"))["useTextDirection"]; + const useTextSelection: (typeof import("@vueuse/core"))["useTextSelection"]; + const useTextareaAutosize: (typeof import("@vueuse/core"))["useTextareaAutosize"]; + const useThrottle: (typeof import("@vueuse/core"))["useThrottle"]; + const useThrottleFn: (typeof import("@vueuse/core"))["useThrottleFn"]; + const useThrottledRefHistory: (typeof import("@vueuse/core"))["useThrottledRefHistory"]; + const useTimeAgo: (typeof import("@vueuse/core"))["useTimeAgo"]; + const useTimeout: (typeof import("@vueuse/core"))["useTimeout"]; + const useTimeoutFn: (typeof import("@vueuse/core"))["useTimeoutFn"]; + const useTimeoutPoll: (typeof import("@vueuse/core"))["useTimeoutPoll"]; + const useTimestamp: (typeof import("@vueuse/core"))["useTimestamp"]; + const useTitle: (typeof import("@vueuse/core"))["useTitle"]; + const useToNumber: (typeof import("@vueuse/core"))["useToNumber"]; + const useToString: (typeof import("@vueuse/core"))["useToString"]; + const useToggle: (typeof import("@vueuse/core"))["useToggle"]; + const useTransition: (typeof import("@vueuse/core"))["useTransition"]; + const useUrlSearchParams: (typeof import("@vueuse/core"))["useUrlSearchParams"]; + const useUserMedia: (typeof import("@vueuse/core"))["useUserMedia"]; + const useVModel: (typeof import("@vueuse/core"))["useVModel"]; + const useVModels: (typeof import("@vueuse/core"))["useVModels"]; + const useVibrate: (typeof import("@vueuse/core"))["useVibrate"]; + const useVirtualList: (typeof import("@vueuse/core"))["useVirtualList"]; + const useWakeLock: (typeof import("@vueuse/core"))["useWakeLock"]; + const useWebNotification: (typeof import("@vueuse/core"))["useWebNotification"]; + const useWebSocket: (typeof import("@vueuse/core"))["useWebSocket"]; + const useWebWorker: (typeof import("@vueuse/core"))["useWebWorker"]; + const useWebWorkerFn: (typeof import("@vueuse/core"))["useWebWorkerFn"]; + const useWindowFocus: (typeof import("@vueuse/core"))["useWindowFocus"]; + const useWindowScroll: (typeof import("@vueuse/core"))["useWindowScroll"]; + const useWindowSize: (typeof import("@vueuse/core"))["useWindowSize"]; + const watch: (typeof import("vue"))["watch"]; + const watchArray: (typeof import("@vueuse/core"))["watchArray"]; + const watchAtMost: (typeof import("@vueuse/core"))["watchAtMost"]; + const watchDebounced: (typeof import("@vueuse/core"))["watchDebounced"]; + const watchDeep: (typeof import("@vueuse/core"))["watchDeep"]; + const watchEffect: (typeof import("vue"))["watchEffect"]; + const watchIgnorable: (typeof import("@vueuse/core"))["watchIgnorable"]; + const watchImmediate: (typeof import("@vueuse/core"))["watchImmediate"]; + const watchOnce: (typeof import("@vueuse/core"))["watchOnce"]; + const watchPausable: (typeof import("@vueuse/core"))["watchPausable"]; + const watchPostEffect: (typeof import("vue"))["watchPostEffect"]; + const watchSyncEffect: (typeof import("vue"))["watchSyncEffect"]; + const watchThrottled: (typeof import("@vueuse/core"))["watchThrottled"]; + const watchTriggerable: (typeof import("@vueuse/core"))["watchTriggerable"]; + const watchWithFilter: (typeof import("@vueuse/core"))["watchWithFilter"]; + const whenever: (typeof import("@vueuse/core"))["whenever"]; +} +// for type re-export +declare global { + // @ts-ignore + export type { + Component, + ComponentPublicInstance, + ComputedRef, + ExtractDefaultPropTypes, + ExtractPropTypes, + ExtractPublicPropTypes, + InjectionKey, + PropType, + Ref, + VNode, + WritableComputedRef, + } from "vue"; + import("vue"); +} +// for vue template auto import +import { UnwrapRef } from "vue"; +declare module "vue" { + interface GlobalComponents {} + interface ComponentCustomProperties { + readonly EffectScope: UnwrapRef<(typeof import("vue"))["EffectScope"]>; + readonly ElForm: UnwrapRef<(typeof import("element-plus/es"))["ElForm"]>; + readonly ElMessage: UnwrapRef< + (typeof import("element-plus/es"))["ElMessage"] + >; + readonly ElMessageBox: UnwrapRef< + (typeof import("element-plus/es"))["ElMessageBox"] + >; + readonly ElTree: UnwrapRef<(typeof import("element-plus/es"))["ElTree"]>; + readonly acceptHMRUpdate: UnwrapRef< + (typeof import("pinia"))["acceptHMRUpdate"] + >; + readonly asyncComputed: UnwrapRef< + (typeof import("@vueuse/core"))["asyncComputed"] + >; + readonly autoResetRef: UnwrapRef< + (typeof import("@vueuse/core"))["autoResetRef"] + >; + readonly computed: UnwrapRef<(typeof import("vue"))["computed"]>; + readonly computedAsync: UnwrapRef< + (typeof import("@vueuse/core"))["computedAsync"] + >; + readonly computedEager: UnwrapRef< + (typeof import("@vueuse/core"))["computedEager"] + >; + readonly computedInject: UnwrapRef< + (typeof import("@vueuse/core"))["computedInject"] + >; + readonly computedWithControl: UnwrapRef< + (typeof import("@vueuse/core"))["computedWithControl"] + >; + readonly controlledComputed: UnwrapRef< + (typeof import("@vueuse/core"))["controlledComputed"] + >; + readonly controlledRef: UnwrapRef< + (typeof import("@vueuse/core"))["controlledRef"] + >; + readonly createApp: UnwrapRef<(typeof import("vue"))["createApp"]>; + readonly createEventHook: UnwrapRef< + (typeof import("@vueuse/core"))["createEventHook"] + >; + readonly createGlobalState: UnwrapRef< + (typeof import("@vueuse/core"))["createGlobalState"] + >; + readonly createInjectionState: UnwrapRef< + (typeof import("@vueuse/core"))["createInjectionState"] + >; + readonly createPinia: UnwrapRef<(typeof import("pinia"))["createPinia"]>; + readonly createReactiveFn: UnwrapRef< + (typeof import("@vueuse/core"))["createReactiveFn"] + >; + readonly createReusableTemplate: UnwrapRef< + (typeof import("@vueuse/core"))["createReusableTemplate"] + >; + readonly createSharedComposable: UnwrapRef< + (typeof import("@vueuse/core"))["createSharedComposable"] + >; + readonly createTemplatePromise: UnwrapRef< + (typeof import("@vueuse/core"))["createTemplatePromise"] + >; + readonly createUnrefFn: UnwrapRef< + (typeof import("@vueuse/core"))["createUnrefFn"] + >; + readonly customRef: UnwrapRef<(typeof import("vue"))["customRef"]>; + readonly debouncedRef: UnwrapRef< + (typeof import("@vueuse/core"))["debouncedRef"] + >; + readonly debouncedWatch: UnwrapRef< + (typeof import("@vueuse/core"))["debouncedWatch"] + >; + readonly defineAsyncComponent: UnwrapRef< + (typeof import("vue"))["defineAsyncComponent"] + >; + readonly defineComponent: UnwrapRef< + (typeof import("vue"))["defineComponent"] + >; + readonly defineStore: UnwrapRef<(typeof import("pinia"))["defineStore"]>; + readonly eagerComputed: UnwrapRef< + (typeof import("@vueuse/core"))["eagerComputed"] + >; + readonly effectScope: UnwrapRef<(typeof import("vue"))["effectScope"]>; + readonly extendRef: UnwrapRef<(typeof import("@vueuse/core"))["extendRef"]>; + readonly getActivePinia: UnwrapRef< + (typeof import("pinia"))["getActivePinia"] + >; + readonly getCurrentInstance: UnwrapRef< + (typeof import("vue"))["getCurrentInstance"] + >; + readonly getCurrentScope: UnwrapRef< + (typeof import("vue"))["getCurrentScope"] + >; + readonly h: UnwrapRef<(typeof import("vue"))["h"]>; + readonly ignorableWatch: UnwrapRef< + (typeof import("@vueuse/core"))["ignorableWatch"] + >; + readonly inject: UnwrapRef<(typeof import("vue"))["inject"]>; + readonly injectLocal: UnwrapRef< + (typeof import("@vueuse/core"))["injectLocal"] + >; + readonly isDefined: UnwrapRef<(typeof import("@vueuse/core"))["isDefined"]>; + readonly isProxy: UnwrapRef<(typeof import("vue"))["isProxy"]>; + readonly isReactive: UnwrapRef<(typeof import("vue"))["isReactive"]>; + readonly isReadonly: UnwrapRef<(typeof import("vue"))["isReadonly"]>; + readonly isRef: UnwrapRef<(typeof import("vue"))["isRef"]>; + readonly makeDestructurable: UnwrapRef< + (typeof import("@vueuse/core"))["makeDestructurable"] + >; + readonly mapActions: UnwrapRef<(typeof import("pinia"))["mapActions"]>; + readonly mapGetters: UnwrapRef<(typeof import("pinia"))["mapGetters"]>; + readonly mapState: UnwrapRef<(typeof import("pinia"))["mapState"]>; + readonly mapStores: UnwrapRef<(typeof import("pinia"))["mapStores"]>; + readonly mapWritableState: UnwrapRef< + (typeof import("pinia"))["mapWritableState"] + >; + readonly markRaw: UnwrapRef<(typeof import("vue"))["markRaw"]>; + readonly nextTick: UnwrapRef<(typeof import("vue"))["nextTick"]>; + readonly onActivated: UnwrapRef<(typeof import("vue"))["onActivated"]>; + readonly onBeforeMount: UnwrapRef<(typeof import("vue"))["onBeforeMount"]>; + readonly onBeforeRouteLeave: UnwrapRef< + (typeof import("vue-router"))["onBeforeRouteLeave"] + >; + readonly onBeforeRouteUpdate: UnwrapRef< + (typeof import("vue-router"))["onBeforeRouteUpdate"] + >; + readonly onBeforeUnmount: UnwrapRef< + (typeof import("vue"))["onBeforeUnmount"] + >; + readonly onBeforeUpdate: UnwrapRef< + (typeof import("vue"))["onBeforeUpdate"] + >; + readonly onClickOutside: UnwrapRef< + (typeof import("@vueuse/core"))["onClickOutside"] + >; + readonly onDeactivated: UnwrapRef<(typeof import("vue"))["onDeactivated"]>; + readonly onErrorCaptured: UnwrapRef< + (typeof import("vue"))["onErrorCaptured"] + >; + readonly onKeyStroke: UnwrapRef< + (typeof import("@vueuse/core"))["onKeyStroke"] + >; + readonly onLongPress: UnwrapRef< + (typeof import("@vueuse/core"))["onLongPress"] + >; + readonly onMounted: UnwrapRef<(typeof import("vue"))["onMounted"]>; + readonly onRenderTracked: UnwrapRef< + (typeof import("vue"))["onRenderTracked"] + >; + readonly onRenderTriggered: UnwrapRef< + (typeof import("vue"))["onRenderTriggered"] + >; + readonly onScopeDispose: UnwrapRef< + (typeof import("vue"))["onScopeDispose"] + >; + readonly onServerPrefetch: UnwrapRef< + (typeof import("vue"))["onServerPrefetch"] + >; + readonly onStartTyping: UnwrapRef< + (typeof import("@vueuse/core"))["onStartTyping"] + >; + readonly onUnmounted: UnwrapRef<(typeof import("vue"))["onUnmounted"]>; + readonly onUpdated: UnwrapRef<(typeof import("vue"))["onUpdated"]>; + readonly pausableWatch: UnwrapRef< + (typeof import("@vueuse/core"))["pausableWatch"] + >; + readonly provide: UnwrapRef<(typeof import("vue"))["provide"]>; + readonly provideLocal: UnwrapRef< + (typeof import("@vueuse/core"))["provideLocal"] + >; + readonly reactify: UnwrapRef<(typeof import("@vueuse/core"))["reactify"]>; + readonly reactifyObject: UnwrapRef< + (typeof import("@vueuse/core"))["reactifyObject"] + >; + readonly reactive: UnwrapRef<(typeof import("vue"))["reactive"]>; + readonly reactiveComputed: UnwrapRef< + (typeof import("@vueuse/core"))["reactiveComputed"] + >; + readonly reactiveOmit: UnwrapRef< + (typeof import("@vueuse/core"))["reactiveOmit"] + >; + readonly reactivePick: UnwrapRef< + (typeof import("@vueuse/core"))["reactivePick"] + >; + readonly readonly: UnwrapRef<(typeof import("vue"))["readonly"]>; + readonly ref: UnwrapRef<(typeof import("vue"))["ref"]>; + readonly refAutoReset: UnwrapRef< + (typeof import("@vueuse/core"))["refAutoReset"] + >; + readonly refDebounced: UnwrapRef< + (typeof import("@vueuse/core"))["refDebounced"] + >; + readonly refDefault: UnwrapRef< + (typeof import("@vueuse/core"))["refDefault"] + >; + readonly refThrottled: UnwrapRef< + (typeof import("@vueuse/core"))["refThrottled"] + >; + readonly refWithControl: UnwrapRef< + (typeof import("@vueuse/core"))["refWithControl"] + >; + readonly resolveComponent: UnwrapRef< + (typeof import("vue"))["resolveComponent"] + >; + readonly resolveRef: UnwrapRef< + (typeof import("@vueuse/core"))["resolveRef"] + >; + readonly resolveUnref: UnwrapRef< + (typeof import("@vueuse/core"))["resolveUnref"] + >; + readonly setActivePinia: UnwrapRef< + (typeof import("pinia"))["setActivePinia"] + >; + readonly setMapStoreSuffix: UnwrapRef< + (typeof import("pinia"))["setMapStoreSuffix"] + >; + readonly shallowReactive: UnwrapRef< + (typeof import("vue"))["shallowReactive"] + >; + readonly shallowReadonly: UnwrapRef< + (typeof import("vue"))["shallowReadonly"] + >; + readonly shallowRef: UnwrapRef<(typeof import("vue"))["shallowRef"]>; + readonly storeToRefs: UnwrapRef<(typeof import("pinia"))["storeToRefs"]>; + readonly syncRef: UnwrapRef<(typeof import("@vueuse/core"))["syncRef"]>; + readonly syncRefs: UnwrapRef<(typeof import("@vueuse/core"))["syncRefs"]>; + readonly templateRef: UnwrapRef< + (typeof import("@vueuse/core"))["templateRef"] + >; + readonly throttledRef: UnwrapRef< + (typeof import("@vueuse/core"))["throttledRef"] + >; + readonly throttledWatch: UnwrapRef< + (typeof import("@vueuse/core"))["throttledWatch"] + >; + readonly toRaw: UnwrapRef<(typeof import("vue"))["toRaw"]>; + readonly toReactive: UnwrapRef< + (typeof import("@vueuse/core"))["toReactive"] + >; + readonly toRef: UnwrapRef<(typeof import("vue"))["toRef"]>; + readonly toRefs: UnwrapRef<(typeof import("vue"))["toRefs"]>; + readonly toValue: UnwrapRef<(typeof import("vue"))["toValue"]>; + readonly triggerRef: UnwrapRef<(typeof import("vue"))["triggerRef"]>; + readonly tryOnBeforeMount: UnwrapRef< + (typeof import("@vueuse/core"))["tryOnBeforeMount"] + >; + readonly tryOnBeforeUnmount: UnwrapRef< + (typeof import("@vueuse/core"))["tryOnBeforeUnmount"] + >; + readonly tryOnMounted: UnwrapRef< + (typeof import("@vueuse/core"))["tryOnMounted"] + >; + readonly tryOnScopeDispose: UnwrapRef< + (typeof import("@vueuse/core"))["tryOnScopeDispose"] + >; + readonly tryOnUnmounted: UnwrapRef< + (typeof import("@vueuse/core"))["tryOnUnmounted"] + >; + readonly unref: UnwrapRef<(typeof import("vue"))["unref"]>; + readonly unrefElement: UnwrapRef< + (typeof import("@vueuse/core"))["unrefElement"] + >; + readonly until: UnwrapRef<(typeof import("@vueuse/core"))["until"]>; + readonly useActiveElement: UnwrapRef< + (typeof import("@vueuse/core"))["useActiveElement"] + >; + readonly useAnimate: UnwrapRef< + (typeof import("@vueuse/core"))["useAnimate"] + >; + readonly useArrayDifference: UnwrapRef< + (typeof import("@vueuse/core"))["useArrayDifference"] + >; + readonly useArrayEvery: UnwrapRef< + (typeof import("@vueuse/core"))["useArrayEvery"] + >; + readonly useArrayFilter: UnwrapRef< + (typeof import("@vueuse/core"))["useArrayFilter"] + >; + readonly useArrayFind: UnwrapRef< + (typeof import("@vueuse/core"))["useArrayFind"] + >; + readonly useArrayFindIndex: UnwrapRef< + (typeof import("@vueuse/core"))["useArrayFindIndex"] + >; + readonly useArrayFindLast: UnwrapRef< + (typeof import("@vueuse/core"))["useArrayFindLast"] + >; + readonly useArrayIncludes: UnwrapRef< + (typeof import("@vueuse/core"))["useArrayIncludes"] + >; + readonly useArrayJoin: UnwrapRef< + (typeof import("@vueuse/core"))["useArrayJoin"] + >; + readonly useArrayMap: UnwrapRef< + (typeof import("@vueuse/core"))["useArrayMap"] + >; + readonly useArrayReduce: UnwrapRef< + (typeof import("@vueuse/core"))["useArrayReduce"] + >; + readonly useArraySome: UnwrapRef< + (typeof import("@vueuse/core"))["useArraySome"] + >; + readonly useArrayUnique: UnwrapRef< + (typeof import("@vueuse/core"))["useArrayUnique"] + >; + readonly useAsyncQueue: UnwrapRef< + (typeof import("@vueuse/core"))["useAsyncQueue"] + >; + readonly useAsyncState: UnwrapRef< + (typeof import("@vueuse/core"))["useAsyncState"] + >; + readonly useAttrs: UnwrapRef<(typeof import("vue"))["useAttrs"]>; + readonly useBase64: UnwrapRef<(typeof import("@vueuse/core"))["useBase64"]>; + readonly useBattery: UnwrapRef< + (typeof import("@vueuse/core"))["useBattery"] + >; + readonly useBluetooth: UnwrapRef< + (typeof import("@vueuse/core"))["useBluetooth"] + >; + readonly useBreakpoints: UnwrapRef< + (typeof import("@vueuse/core"))["useBreakpoints"] + >; + readonly useBroadcastChannel: UnwrapRef< + (typeof import("@vueuse/core"))["useBroadcastChannel"] + >; + readonly useBrowserLocation: UnwrapRef< + (typeof import("@vueuse/core"))["useBrowserLocation"] + >; + readonly useCached: UnwrapRef<(typeof import("@vueuse/core"))["useCached"]>; + readonly useClipboard: UnwrapRef< + (typeof import("@vueuse/core"))["useClipboard"] + >; + readonly useClipboardItems: UnwrapRef< + (typeof import("@vueuse/core"))["useClipboardItems"] + >; + readonly useCloned: UnwrapRef<(typeof import("@vueuse/core"))["useCloned"]>; + readonly useColorMode: UnwrapRef< + (typeof import("@vueuse/core"))["useColorMode"] + >; + readonly useConfirmDialog: UnwrapRef< + (typeof import("@vueuse/core"))["useConfirmDialog"] + >; + readonly useCounter: UnwrapRef< + (typeof import("@vueuse/core"))["useCounter"] + >; + readonly useCssModule: UnwrapRef<(typeof import("vue"))["useCssModule"]>; + readonly useCssVar: UnwrapRef<(typeof import("@vueuse/core"))["useCssVar"]>; + readonly useCssVars: UnwrapRef<(typeof import("vue"))["useCssVars"]>; + readonly useCurrentElement: UnwrapRef< + (typeof import("@vueuse/core"))["useCurrentElement"] + >; + readonly useCycleList: UnwrapRef< + (typeof import("@vueuse/core"))["useCycleList"] + >; + readonly useDark: UnwrapRef<(typeof import("@vueuse/core"))["useDark"]>; + readonly useDateFormat: UnwrapRef< + (typeof import("@vueuse/core"))["useDateFormat"] + >; + readonly useDebounce: UnwrapRef< + (typeof import("@vueuse/core"))["useDebounce"] + >; + readonly useDebounceFn: UnwrapRef< + (typeof import("@vueuse/core"))["useDebounceFn"] + >; + readonly useDebouncedRefHistory: UnwrapRef< + (typeof import("@vueuse/core"))["useDebouncedRefHistory"] + >; + readonly useDeviceMotion: UnwrapRef< + (typeof import("@vueuse/core"))["useDeviceMotion"] + >; + readonly useDeviceOrientation: UnwrapRef< + (typeof import("@vueuse/core"))["useDeviceOrientation"] + >; + readonly useDevicePixelRatio: UnwrapRef< + (typeof import("@vueuse/core"))["useDevicePixelRatio"] + >; + readonly useDevicesList: UnwrapRef< + (typeof import("@vueuse/core"))["useDevicesList"] + >; + readonly useDisplayMedia: UnwrapRef< + (typeof import("@vueuse/core"))["useDisplayMedia"] + >; + readonly useDocumentVisibility: UnwrapRef< + (typeof import("@vueuse/core"))["useDocumentVisibility"] + >; + readonly useDraggable: UnwrapRef< + (typeof import("@vueuse/core"))["useDraggable"] + >; + readonly useDropZone: UnwrapRef< + (typeof import("@vueuse/core"))["useDropZone"] + >; + readonly useElementBounding: UnwrapRef< + (typeof import("@vueuse/core"))["useElementBounding"] + >; + readonly useElementByPoint: UnwrapRef< + (typeof import("@vueuse/core"))["useElementByPoint"] + >; + readonly useElementHover: UnwrapRef< + (typeof import("@vueuse/core"))["useElementHover"] + >; + readonly useElementSize: UnwrapRef< + (typeof import("@vueuse/core"))["useElementSize"] + >; + readonly useElementVisibility: UnwrapRef< + (typeof import("@vueuse/core"))["useElementVisibility"] + >; + readonly useEventBus: UnwrapRef< + (typeof import("@vueuse/core"))["useEventBus"] + >; + readonly useEventListener: UnwrapRef< + (typeof import("@vueuse/core"))["useEventListener"] + >; + readonly useEventSource: UnwrapRef< + (typeof import("@vueuse/core"))["useEventSource"] + >; + readonly useEyeDropper: UnwrapRef< + (typeof import("@vueuse/core"))["useEyeDropper"] + >; + readonly useFavicon: UnwrapRef< + (typeof import("@vueuse/core"))["useFavicon"] + >; + readonly useFetch: UnwrapRef<(typeof import("@vueuse/core"))["useFetch"]>; + readonly useFileDialog: UnwrapRef< + (typeof import("@vueuse/core"))["useFileDialog"] + >; + readonly useFileSystemAccess: UnwrapRef< + (typeof import("@vueuse/core"))["useFileSystemAccess"] + >; + readonly useFocus: UnwrapRef<(typeof import("@vueuse/core"))["useFocus"]>; + readonly useFocusWithin: UnwrapRef< + (typeof import("@vueuse/core"))["useFocusWithin"] + >; + readonly useFps: UnwrapRef<(typeof import("@vueuse/core"))["useFps"]>; + readonly useFullscreen: UnwrapRef< + (typeof import("@vueuse/core"))["useFullscreen"] + >; + readonly useGamepad: UnwrapRef< + (typeof import("@vueuse/core"))["useGamepad"] + >; + readonly useGeolocation: UnwrapRef< + (typeof import("@vueuse/core"))["useGeolocation"] + >; + readonly useI18n: UnwrapRef<(typeof import("vue-i18n"))["useI18n"]>; + readonly useIdle: UnwrapRef<(typeof import("@vueuse/core"))["useIdle"]>; + readonly useImage: UnwrapRef<(typeof import("@vueuse/core"))["useImage"]>; + readonly useInfiniteScroll: UnwrapRef< + (typeof import("@vueuse/core"))["useInfiniteScroll"] + >; + readonly useIntersectionObserver: UnwrapRef< + (typeof import("@vueuse/core"))["useIntersectionObserver"] + >; + readonly useInterval: UnwrapRef< + (typeof import("@vueuse/core"))["useInterval"] + >; + readonly useIntervalFn: UnwrapRef< + (typeof import("@vueuse/core"))["useIntervalFn"] + >; + readonly useKeyModifier: UnwrapRef< + (typeof import("@vueuse/core"))["useKeyModifier"] + >; + readonly useLastChanged: UnwrapRef< + (typeof import("@vueuse/core"))["useLastChanged"] + >; + readonly useLink: UnwrapRef<(typeof import("vue-router"))["useLink"]>; + readonly useLocalStorage: UnwrapRef< + (typeof import("@vueuse/core"))["useLocalStorage"] + >; + readonly useMagicKeys: UnwrapRef< + (typeof import("@vueuse/core"))["useMagicKeys"] + >; + readonly useManualRefHistory: UnwrapRef< + (typeof import("@vueuse/core"))["useManualRefHistory"] + >; + readonly useMediaControls: UnwrapRef< + (typeof import("@vueuse/core"))["useMediaControls"] + >; + readonly useMediaQuery: UnwrapRef< + (typeof import("@vueuse/core"))["useMediaQuery"] + >; + readonly useMemoize: UnwrapRef< + (typeof import("@vueuse/core"))["useMemoize"] + >; + readonly useMemory: UnwrapRef<(typeof import("@vueuse/core"))["useMemory"]>; + readonly useMounted: UnwrapRef< + (typeof import("@vueuse/core"))["useMounted"] + >; + readonly useMouse: UnwrapRef<(typeof import("@vueuse/core"))["useMouse"]>; + readonly useMouseInElement: UnwrapRef< + (typeof import("@vueuse/core"))["useMouseInElement"] + >; + readonly useMousePressed: UnwrapRef< + (typeof import("@vueuse/core"))["useMousePressed"] + >; + readonly useMutationObserver: UnwrapRef< + (typeof import("@vueuse/core"))["useMutationObserver"] + >; + readonly useNavigatorLanguage: UnwrapRef< + (typeof import("@vueuse/core"))["useNavigatorLanguage"] + >; + readonly useNetwork: UnwrapRef< + (typeof import("@vueuse/core"))["useNetwork"] + >; + readonly useNow: UnwrapRef<(typeof import("@vueuse/core"))["useNow"]>; + readonly useObjectUrl: UnwrapRef< + (typeof import("@vueuse/core"))["useObjectUrl"] + >; + readonly useOffsetPagination: UnwrapRef< + (typeof import("@vueuse/core"))["useOffsetPagination"] + >; + readonly useOnline: UnwrapRef<(typeof import("@vueuse/core"))["useOnline"]>; + readonly usePageLeave: UnwrapRef< + (typeof import("@vueuse/core"))["usePageLeave"] + >; + readonly useParallax: UnwrapRef< + (typeof import("@vueuse/core"))["useParallax"] + >; + readonly useParentElement: UnwrapRef< + (typeof import("@vueuse/core"))["useParentElement"] + >; + readonly usePerformanceObserver: UnwrapRef< + (typeof import("@vueuse/core"))["usePerformanceObserver"] + >; + readonly usePermission: UnwrapRef< + (typeof import("@vueuse/core"))["usePermission"] + >; + readonly usePointer: UnwrapRef< + (typeof import("@vueuse/core"))["usePointer"] + >; + readonly usePointerLock: UnwrapRef< + (typeof import("@vueuse/core"))["usePointerLock"] + >; + readonly usePointerSwipe: UnwrapRef< + (typeof import("@vueuse/core"))["usePointerSwipe"] + >; + readonly usePreferredColorScheme: UnwrapRef< + (typeof import("@vueuse/core"))["usePreferredColorScheme"] + >; + readonly usePreferredContrast: UnwrapRef< + (typeof import("@vueuse/core"))["usePreferredContrast"] + >; + readonly usePreferredDark: UnwrapRef< + (typeof import("@vueuse/core"))["usePreferredDark"] + >; + readonly usePreferredLanguages: UnwrapRef< + (typeof import("@vueuse/core"))["usePreferredLanguages"] + >; + readonly usePreferredReducedMotion: UnwrapRef< + (typeof import("@vueuse/core"))["usePreferredReducedMotion"] + >; + readonly usePrevious: UnwrapRef< + (typeof import("@vueuse/core"))["usePrevious"] + >; + readonly useRafFn: UnwrapRef<(typeof import("@vueuse/core"))["useRafFn"]>; + readonly useRefHistory: UnwrapRef< + (typeof import("@vueuse/core"))["useRefHistory"] + >; + readonly useResizeObserver: UnwrapRef< + (typeof import("@vueuse/core"))["useResizeObserver"] + >; + readonly useRoute: UnwrapRef<(typeof import("vue-router"))["useRoute"]>; + readonly useRouter: UnwrapRef<(typeof import("vue-router"))["useRouter"]>; + readonly useScreenOrientation: UnwrapRef< + (typeof import("@vueuse/core"))["useScreenOrientation"] + >; + readonly useScreenSafeArea: UnwrapRef< + (typeof import("@vueuse/core"))["useScreenSafeArea"] + >; + readonly useScriptTag: UnwrapRef< + (typeof import("@vueuse/core"))["useScriptTag"] + >; + readonly useScroll: UnwrapRef<(typeof import("@vueuse/core"))["useScroll"]>; + readonly useScrollLock: UnwrapRef< + (typeof import("@vueuse/core"))["useScrollLock"] + >; + readonly useSessionStorage: UnwrapRef< + (typeof import("@vueuse/core"))["useSessionStorage"] + >; + readonly useShare: UnwrapRef<(typeof import("@vueuse/core"))["useShare"]>; + readonly useSlots: UnwrapRef<(typeof import("vue"))["useSlots"]>; + readonly useSorted: UnwrapRef<(typeof import("@vueuse/core"))["useSorted"]>; + readonly useSpeechRecognition: UnwrapRef< + (typeof import("@vueuse/core"))["useSpeechRecognition"] + >; + readonly useSpeechSynthesis: UnwrapRef< + (typeof import("@vueuse/core"))["useSpeechSynthesis"] + >; + readonly useStepper: UnwrapRef< + (typeof import("@vueuse/core"))["useStepper"] + >; + readonly useStorage: UnwrapRef< + (typeof import("@vueuse/core"))["useStorage"] + >; + readonly useStorageAsync: UnwrapRef< + (typeof import("@vueuse/core"))["useStorageAsync"] + >; + readonly useStyleTag: UnwrapRef< + (typeof import("@vueuse/core"))["useStyleTag"] + >; + readonly useSupported: UnwrapRef< + (typeof import("@vueuse/core"))["useSupported"] + >; + readonly useSwipe: UnwrapRef<(typeof import("@vueuse/core"))["useSwipe"]>; + readonly useTemplateRefsList: UnwrapRef< + (typeof import("@vueuse/core"))["useTemplateRefsList"] + >; + readonly useTextDirection: UnwrapRef< + (typeof import("@vueuse/core"))["useTextDirection"] + >; + readonly useTextSelection: UnwrapRef< + (typeof import("@vueuse/core"))["useTextSelection"] + >; + readonly useTextareaAutosize: UnwrapRef< + (typeof import("@vueuse/core"))["useTextareaAutosize"] + >; + readonly useThrottle: UnwrapRef< + (typeof import("@vueuse/core"))["useThrottle"] + >; + readonly useThrottleFn: UnwrapRef< + (typeof import("@vueuse/core"))["useThrottleFn"] + >; + readonly useThrottledRefHistory: UnwrapRef< + (typeof import("@vueuse/core"))["useThrottledRefHistory"] + >; + readonly useTimeAgo: UnwrapRef< + (typeof import("@vueuse/core"))["useTimeAgo"] + >; + readonly useTimeout: UnwrapRef< + (typeof import("@vueuse/core"))["useTimeout"] + >; + readonly useTimeoutFn: UnwrapRef< + (typeof import("@vueuse/core"))["useTimeoutFn"] + >; + readonly useTimeoutPoll: UnwrapRef< + (typeof import("@vueuse/core"))["useTimeoutPoll"] + >; + readonly useTimestamp: UnwrapRef< + (typeof import("@vueuse/core"))["useTimestamp"] + >; + readonly useTitle: UnwrapRef<(typeof import("@vueuse/core"))["useTitle"]>; + readonly useToNumber: UnwrapRef< + (typeof import("@vueuse/core"))["useToNumber"] + >; + readonly useToString: UnwrapRef< + (typeof import("@vueuse/core"))["useToString"] + >; + readonly useToggle: UnwrapRef<(typeof import("@vueuse/core"))["useToggle"]>; + readonly useTransition: UnwrapRef< + (typeof import("@vueuse/core"))["useTransition"] + >; + readonly useUrlSearchParams: UnwrapRef< + (typeof import("@vueuse/core"))["useUrlSearchParams"] + >; + readonly useUserMedia: UnwrapRef< + (typeof import("@vueuse/core"))["useUserMedia"] + >; + readonly useVModel: UnwrapRef<(typeof import("@vueuse/core"))["useVModel"]>; + readonly useVModels: UnwrapRef< + (typeof import("@vueuse/core"))["useVModels"] + >; + readonly useVibrate: UnwrapRef< + (typeof import("@vueuse/core"))["useVibrate"] + >; + readonly useVirtualList: UnwrapRef< + (typeof import("@vueuse/core"))["useVirtualList"] + >; + readonly useWakeLock: UnwrapRef< + (typeof import("@vueuse/core"))["useWakeLock"] + >; + readonly useWebNotification: UnwrapRef< + (typeof import("@vueuse/core"))["useWebNotification"] + >; + readonly useWebSocket: UnwrapRef< + (typeof import("@vueuse/core"))["useWebSocket"] + >; + readonly useWebWorker: UnwrapRef< + (typeof import("@vueuse/core"))["useWebWorker"] + >; + readonly useWebWorkerFn: UnwrapRef< + (typeof import("@vueuse/core"))["useWebWorkerFn"] + >; + readonly useWindowFocus: UnwrapRef< + (typeof import("@vueuse/core"))["useWindowFocus"] + >; + readonly useWindowScroll: UnwrapRef< + (typeof import("@vueuse/core"))["useWindowScroll"] + >; + readonly useWindowSize: UnwrapRef< + (typeof import("@vueuse/core"))["useWindowSize"] + >; + readonly watch: UnwrapRef<(typeof import("vue"))["watch"]>; + readonly watchArray: UnwrapRef< + (typeof import("@vueuse/core"))["watchArray"] + >; + readonly watchAtMost: UnwrapRef< + (typeof import("@vueuse/core"))["watchAtMost"] + >; + readonly watchDebounced: UnwrapRef< + (typeof import("@vueuse/core"))["watchDebounced"] + >; + readonly watchDeep: UnwrapRef<(typeof import("@vueuse/core"))["watchDeep"]>; + readonly watchEffect: UnwrapRef<(typeof import("vue"))["watchEffect"]>; + readonly watchIgnorable: UnwrapRef< + (typeof import("@vueuse/core"))["watchIgnorable"] + >; + readonly watchImmediate: UnwrapRef< + (typeof import("@vueuse/core"))["watchImmediate"] + >; + readonly watchOnce: UnwrapRef<(typeof import("@vueuse/core"))["watchOnce"]>; + readonly watchPausable: UnwrapRef< + (typeof import("@vueuse/core"))["watchPausable"] + >; + readonly watchPostEffect: UnwrapRef< + (typeof import("vue"))["watchPostEffect"] + >; + readonly watchSyncEffect: UnwrapRef< + (typeof import("vue"))["watchSyncEffect"] + >; + readonly watchThrottled: UnwrapRef< + (typeof import("@vueuse/core"))["watchThrottled"] + >; + readonly watchTriggerable: UnwrapRef< + (typeof import("@vueuse/core"))["watchTriggerable"] + >; + readonly watchWithFilter: UnwrapRef< + (typeof import("@vueuse/core"))["watchWithFilter"] + >; + readonly whenever: UnwrapRef<(typeof import("@vueuse/core"))["whenever"]>; + } +} +declare module "@vue/runtime-core" { + interface GlobalComponents {} + interface ComponentCustomProperties { + readonly EffectScope: UnwrapRef<(typeof import("vue"))["EffectScope"]>; + readonly ElForm: UnwrapRef<(typeof import("element-plus/es"))["ElForm"]>; + readonly ElMessage: UnwrapRef< + (typeof import("element-plus/es"))["ElMessage"] + >; + readonly ElMessageBox: UnwrapRef< + (typeof import("element-plus/es"))["ElMessageBox"] + >; + readonly ElTree: UnwrapRef<(typeof import("element-plus/es"))["ElTree"]>; + readonly acceptHMRUpdate: UnwrapRef< + (typeof import("pinia"))["acceptHMRUpdate"] + >; + readonly asyncComputed: UnwrapRef< + (typeof import("@vueuse/core"))["asyncComputed"] + >; + readonly autoResetRef: UnwrapRef< + (typeof import("@vueuse/core"))["autoResetRef"] + >; + readonly computed: UnwrapRef<(typeof import("vue"))["computed"]>; + readonly computedAsync: UnwrapRef< + (typeof import("@vueuse/core"))["computedAsync"] + >; + readonly computedEager: UnwrapRef< + (typeof import("@vueuse/core"))["computedEager"] + >; + readonly computedInject: UnwrapRef< + (typeof import("@vueuse/core"))["computedInject"] + >; + readonly computedWithControl: UnwrapRef< + (typeof import("@vueuse/core"))["computedWithControl"] + >; + readonly controlledComputed: UnwrapRef< + (typeof import("@vueuse/core"))["controlledComputed"] + >; + readonly controlledRef: UnwrapRef< + (typeof import("@vueuse/core"))["controlledRef"] + >; + readonly createApp: UnwrapRef<(typeof import("vue"))["createApp"]>; + readonly createEventHook: UnwrapRef< + (typeof import("@vueuse/core"))["createEventHook"] + >; + readonly createGlobalState: UnwrapRef< + (typeof import("@vueuse/core"))["createGlobalState"] + >; + readonly createInjectionState: UnwrapRef< + (typeof import("@vueuse/core"))["createInjectionState"] + >; + readonly createPinia: UnwrapRef<(typeof import("pinia"))["createPinia"]>; + readonly createReactiveFn: UnwrapRef< + (typeof import("@vueuse/core"))["createReactiveFn"] + >; + readonly createReusableTemplate: UnwrapRef< + (typeof import("@vueuse/core"))["createReusableTemplate"] + >; + readonly createSharedComposable: UnwrapRef< + (typeof import("@vueuse/core"))["createSharedComposable"] + >; + readonly createTemplatePromise: UnwrapRef< + (typeof import("@vueuse/core"))["createTemplatePromise"] + >; + readonly createUnrefFn: UnwrapRef< + (typeof import("@vueuse/core"))["createUnrefFn"] + >; + readonly customRef: UnwrapRef<(typeof import("vue"))["customRef"]>; + readonly debouncedRef: UnwrapRef< + (typeof import("@vueuse/core"))["debouncedRef"] + >; + readonly debouncedWatch: UnwrapRef< + (typeof import("@vueuse/core"))["debouncedWatch"] + >; + readonly defineAsyncComponent: UnwrapRef< + (typeof import("vue"))["defineAsyncComponent"] + >; + readonly defineComponent: UnwrapRef< + (typeof import("vue"))["defineComponent"] + >; + readonly defineStore: UnwrapRef<(typeof import("pinia"))["defineStore"]>; + readonly eagerComputed: UnwrapRef< + (typeof import("@vueuse/core"))["eagerComputed"] + >; + readonly effectScope: UnwrapRef<(typeof import("vue"))["effectScope"]>; + readonly extendRef: UnwrapRef<(typeof import("@vueuse/core"))["extendRef"]>; + readonly getActivePinia: UnwrapRef< + (typeof import("pinia"))["getActivePinia"] + >; + readonly getCurrentInstance: UnwrapRef< + (typeof import("vue"))["getCurrentInstance"] + >; + readonly getCurrentScope: UnwrapRef< + (typeof import("vue"))["getCurrentScope"] + >; + readonly h: UnwrapRef<(typeof import("vue"))["h"]>; + readonly ignorableWatch: UnwrapRef< + (typeof import("@vueuse/core"))["ignorableWatch"] + >; + readonly inject: UnwrapRef<(typeof import("vue"))["inject"]>; + readonly injectLocal: UnwrapRef< + (typeof import("@vueuse/core"))["injectLocal"] + >; + readonly isDefined: UnwrapRef<(typeof import("@vueuse/core"))["isDefined"]>; + readonly isProxy: UnwrapRef<(typeof import("vue"))["isProxy"]>; + readonly isReactive: UnwrapRef<(typeof import("vue"))["isReactive"]>; + readonly isReadonly: UnwrapRef<(typeof import("vue"))["isReadonly"]>; + readonly isRef: UnwrapRef<(typeof import("vue"))["isRef"]>; + readonly makeDestructurable: UnwrapRef< + (typeof import("@vueuse/core"))["makeDestructurable"] + >; + readonly mapActions: UnwrapRef<(typeof import("pinia"))["mapActions"]>; + readonly mapGetters: UnwrapRef<(typeof import("pinia"))["mapGetters"]>; + readonly mapState: UnwrapRef<(typeof import("pinia"))["mapState"]>; + readonly mapStores: UnwrapRef<(typeof import("pinia"))["mapStores"]>; + readonly mapWritableState: UnwrapRef< + (typeof import("pinia"))["mapWritableState"] + >; + readonly markRaw: UnwrapRef<(typeof import("vue"))["markRaw"]>; + readonly nextTick: UnwrapRef<(typeof import("vue"))["nextTick"]>; + readonly onActivated: UnwrapRef<(typeof import("vue"))["onActivated"]>; + readonly onBeforeMount: UnwrapRef<(typeof import("vue"))["onBeforeMount"]>; + readonly onBeforeRouteLeave: UnwrapRef< + (typeof import("vue-router"))["onBeforeRouteLeave"] + >; + readonly onBeforeRouteUpdate: UnwrapRef< + (typeof import("vue-router"))["onBeforeRouteUpdate"] + >; + readonly onBeforeUnmount: UnwrapRef< + (typeof import("vue"))["onBeforeUnmount"] + >; + readonly onBeforeUpdate: UnwrapRef< + (typeof import("vue"))["onBeforeUpdate"] + >; + readonly onClickOutside: UnwrapRef< + (typeof import("@vueuse/core"))["onClickOutside"] + >; + readonly onDeactivated: UnwrapRef<(typeof import("vue"))["onDeactivated"]>; + readonly onErrorCaptured: UnwrapRef< + (typeof import("vue"))["onErrorCaptured"] + >; + readonly onKeyStroke: UnwrapRef< + (typeof import("@vueuse/core"))["onKeyStroke"] + >; + readonly onLongPress: UnwrapRef< + (typeof import("@vueuse/core"))["onLongPress"] + >; + readonly onMounted: UnwrapRef<(typeof import("vue"))["onMounted"]>; + readonly onRenderTracked: UnwrapRef< + (typeof import("vue"))["onRenderTracked"] + >; + readonly onRenderTriggered: UnwrapRef< + (typeof import("vue"))["onRenderTriggered"] + >; + readonly onScopeDispose: UnwrapRef< + (typeof import("vue"))["onScopeDispose"] + >; + readonly onServerPrefetch: UnwrapRef< + (typeof import("vue"))["onServerPrefetch"] + >; + readonly onStartTyping: UnwrapRef< + (typeof import("@vueuse/core"))["onStartTyping"] + >; + readonly onUnmounted: UnwrapRef<(typeof import("vue"))["onUnmounted"]>; + readonly onUpdated: UnwrapRef<(typeof import("vue"))["onUpdated"]>; + readonly pausableWatch: UnwrapRef< + (typeof import("@vueuse/core"))["pausableWatch"] + >; + readonly provide: UnwrapRef<(typeof import("vue"))["provide"]>; + readonly provideLocal: UnwrapRef< + (typeof import("@vueuse/core"))["provideLocal"] + >; + readonly reactify: UnwrapRef<(typeof import("@vueuse/core"))["reactify"]>; + readonly reactifyObject: UnwrapRef< + (typeof import("@vueuse/core"))["reactifyObject"] + >; + readonly reactive: UnwrapRef<(typeof import("vue"))["reactive"]>; + readonly reactiveComputed: UnwrapRef< + (typeof import("@vueuse/core"))["reactiveComputed"] + >; + readonly reactiveOmit: UnwrapRef< + (typeof import("@vueuse/core"))["reactiveOmit"] + >; + readonly reactivePick: UnwrapRef< + (typeof import("@vueuse/core"))["reactivePick"] + >; + readonly readonly: UnwrapRef<(typeof import("vue"))["readonly"]>; + readonly ref: UnwrapRef<(typeof import("vue"))["ref"]>; + readonly refAutoReset: UnwrapRef< + (typeof import("@vueuse/core"))["refAutoReset"] + >; + readonly refDebounced: UnwrapRef< + (typeof import("@vueuse/core"))["refDebounced"] + >; + readonly refDefault: UnwrapRef< + (typeof import("@vueuse/core"))["refDefault"] + >; + readonly refThrottled: UnwrapRef< + (typeof import("@vueuse/core"))["refThrottled"] + >; + readonly refWithControl: UnwrapRef< + (typeof import("@vueuse/core"))["refWithControl"] + >; + readonly resolveComponent: UnwrapRef< + (typeof import("vue"))["resolveComponent"] + >; + readonly resolveRef: UnwrapRef< + (typeof import("@vueuse/core"))["resolveRef"] + >; + readonly resolveUnref: UnwrapRef< + (typeof import("@vueuse/core"))["resolveUnref"] + >; + readonly setActivePinia: UnwrapRef< + (typeof import("pinia"))["setActivePinia"] + >; + readonly setMapStoreSuffix: UnwrapRef< + (typeof import("pinia"))["setMapStoreSuffix"] + >; + readonly shallowReactive: UnwrapRef< + (typeof import("vue"))["shallowReactive"] + >; + readonly shallowReadonly: UnwrapRef< + (typeof import("vue"))["shallowReadonly"] + >; + readonly shallowRef: UnwrapRef<(typeof import("vue"))["shallowRef"]>; + readonly storeToRefs: UnwrapRef<(typeof import("pinia"))["storeToRefs"]>; + readonly syncRef: UnwrapRef<(typeof import("@vueuse/core"))["syncRef"]>; + readonly syncRefs: UnwrapRef<(typeof import("@vueuse/core"))["syncRefs"]>; + readonly templateRef: UnwrapRef< + (typeof import("@vueuse/core"))["templateRef"] + >; + readonly throttledRef: UnwrapRef< + (typeof import("@vueuse/core"))["throttledRef"] + >; + readonly throttledWatch: UnwrapRef< + (typeof import("@vueuse/core"))["throttledWatch"] + >; + readonly toRaw: UnwrapRef<(typeof import("vue"))["toRaw"]>; + readonly toReactive: UnwrapRef< + (typeof import("@vueuse/core"))["toReactive"] + >; + readonly toRef: UnwrapRef<(typeof import("vue"))["toRef"]>; + readonly toRefs: UnwrapRef<(typeof import("vue"))["toRefs"]>; + readonly toValue: UnwrapRef<(typeof import("vue"))["toValue"]>; + readonly triggerRef: UnwrapRef<(typeof import("vue"))["triggerRef"]>; + readonly tryOnBeforeMount: UnwrapRef< + (typeof import("@vueuse/core"))["tryOnBeforeMount"] + >; + readonly tryOnBeforeUnmount: UnwrapRef< + (typeof import("@vueuse/core"))["tryOnBeforeUnmount"] + >; + readonly tryOnMounted: UnwrapRef< + (typeof import("@vueuse/core"))["tryOnMounted"] + >; + readonly tryOnScopeDispose: UnwrapRef< + (typeof import("@vueuse/core"))["tryOnScopeDispose"] + >; + readonly tryOnUnmounted: UnwrapRef< + (typeof import("@vueuse/core"))["tryOnUnmounted"] + >; + readonly unref: UnwrapRef<(typeof import("vue"))["unref"]>; + readonly unrefElement: UnwrapRef< + (typeof import("@vueuse/core"))["unrefElement"] + >; + readonly until: UnwrapRef<(typeof import("@vueuse/core"))["until"]>; + readonly useActiveElement: UnwrapRef< + (typeof import("@vueuse/core"))["useActiveElement"] + >; + readonly useAnimate: UnwrapRef< + (typeof import("@vueuse/core"))["useAnimate"] + >; + readonly useArrayDifference: UnwrapRef< + (typeof import("@vueuse/core"))["useArrayDifference"] + >; + readonly useArrayEvery: UnwrapRef< + (typeof import("@vueuse/core"))["useArrayEvery"] + >; + readonly useArrayFilter: UnwrapRef< + (typeof import("@vueuse/core"))["useArrayFilter"] + >; + readonly useArrayFind: UnwrapRef< + (typeof import("@vueuse/core"))["useArrayFind"] + >; + readonly useArrayFindIndex: UnwrapRef< + (typeof import("@vueuse/core"))["useArrayFindIndex"] + >; + readonly useArrayFindLast: UnwrapRef< + (typeof import("@vueuse/core"))["useArrayFindLast"] + >; + readonly useArrayIncludes: UnwrapRef< + (typeof import("@vueuse/core"))["useArrayIncludes"] + >; + readonly useArrayJoin: UnwrapRef< + (typeof import("@vueuse/core"))["useArrayJoin"] + >; + readonly useArrayMap: UnwrapRef< + (typeof import("@vueuse/core"))["useArrayMap"] + >; + readonly useArrayReduce: UnwrapRef< + (typeof import("@vueuse/core"))["useArrayReduce"] + >; + readonly useArraySome: UnwrapRef< + (typeof import("@vueuse/core"))["useArraySome"] + >; + readonly useArrayUnique: UnwrapRef< + (typeof import("@vueuse/core"))["useArrayUnique"] + >; + readonly useAsyncQueue: UnwrapRef< + (typeof import("@vueuse/core"))["useAsyncQueue"] + >; + readonly useAsyncState: UnwrapRef< + (typeof import("@vueuse/core"))["useAsyncState"] + >; + readonly useAttrs: UnwrapRef<(typeof import("vue"))["useAttrs"]>; + readonly useBase64: UnwrapRef<(typeof import("@vueuse/core"))["useBase64"]>; + readonly useBattery: UnwrapRef< + (typeof import("@vueuse/core"))["useBattery"] + >; + readonly useBluetooth: UnwrapRef< + (typeof import("@vueuse/core"))["useBluetooth"] + >; + readonly useBreakpoints: UnwrapRef< + (typeof import("@vueuse/core"))["useBreakpoints"] + >; + readonly useBroadcastChannel: UnwrapRef< + (typeof import("@vueuse/core"))["useBroadcastChannel"] + >; + readonly useBrowserLocation: UnwrapRef< + (typeof import("@vueuse/core"))["useBrowserLocation"] + >; + readonly useCached: UnwrapRef<(typeof import("@vueuse/core"))["useCached"]>; + readonly useClipboard: UnwrapRef< + (typeof import("@vueuse/core"))["useClipboard"] + >; + readonly useClipboardItems: UnwrapRef< + (typeof import("@vueuse/core"))["useClipboardItems"] + >; + readonly useCloned: UnwrapRef<(typeof import("@vueuse/core"))["useCloned"]>; + readonly useColorMode: UnwrapRef< + (typeof import("@vueuse/core"))["useColorMode"] + >; + readonly useConfirmDialog: UnwrapRef< + (typeof import("@vueuse/core"))["useConfirmDialog"] + >; + readonly useCounter: UnwrapRef< + (typeof import("@vueuse/core"))["useCounter"] + >; + readonly useCssModule: UnwrapRef<(typeof import("vue"))["useCssModule"]>; + readonly useCssVar: UnwrapRef<(typeof import("@vueuse/core"))["useCssVar"]>; + readonly useCssVars: UnwrapRef<(typeof import("vue"))["useCssVars"]>; + readonly useCurrentElement: UnwrapRef< + (typeof import("@vueuse/core"))["useCurrentElement"] + >; + readonly useCycleList: UnwrapRef< + (typeof import("@vueuse/core"))["useCycleList"] + >; + readonly useDark: UnwrapRef<(typeof import("@vueuse/core"))["useDark"]>; + readonly useDateFormat: UnwrapRef< + (typeof import("@vueuse/core"))["useDateFormat"] + >; + readonly useDebounce: UnwrapRef< + (typeof import("@vueuse/core"))["useDebounce"] + >; + readonly useDebounceFn: UnwrapRef< + (typeof import("@vueuse/core"))["useDebounceFn"] + >; + readonly useDebouncedRefHistory: UnwrapRef< + (typeof import("@vueuse/core"))["useDebouncedRefHistory"] + >; + readonly useDeviceMotion: UnwrapRef< + (typeof import("@vueuse/core"))["useDeviceMotion"] + >; + readonly useDeviceOrientation: UnwrapRef< + (typeof import("@vueuse/core"))["useDeviceOrientation"] + >; + readonly useDevicePixelRatio: UnwrapRef< + (typeof import("@vueuse/core"))["useDevicePixelRatio"] + >; + readonly useDevicesList: UnwrapRef< + (typeof import("@vueuse/core"))["useDevicesList"] + >; + readonly useDisplayMedia: UnwrapRef< + (typeof import("@vueuse/core"))["useDisplayMedia"] + >; + readonly useDocumentVisibility: UnwrapRef< + (typeof import("@vueuse/core"))["useDocumentVisibility"] + >; + readonly useDraggable: UnwrapRef< + (typeof import("@vueuse/core"))["useDraggable"] + >; + readonly useDropZone: UnwrapRef< + (typeof import("@vueuse/core"))["useDropZone"] + >; + readonly useElementBounding: UnwrapRef< + (typeof import("@vueuse/core"))["useElementBounding"] + >; + readonly useElementByPoint: UnwrapRef< + (typeof import("@vueuse/core"))["useElementByPoint"] + >; + readonly useElementHover: UnwrapRef< + (typeof import("@vueuse/core"))["useElementHover"] + >; + readonly useElementSize: UnwrapRef< + (typeof import("@vueuse/core"))["useElementSize"] + >; + readonly useElementVisibility: UnwrapRef< + (typeof import("@vueuse/core"))["useElementVisibility"] + >; + readonly useEventBus: UnwrapRef< + (typeof import("@vueuse/core"))["useEventBus"] + >; + readonly useEventListener: UnwrapRef< + (typeof import("@vueuse/core"))["useEventListener"] + >; + readonly useEventSource: UnwrapRef< + (typeof import("@vueuse/core"))["useEventSource"] + >; + readonly useEyeDropper: UnwrapRef< + (typeof import("@vueuse/core"))["useEyeDropper"] + >; + readonly useFavicon: UnwrapRef< + (typeof import("@vueuse/core"))["useFavicon"] + >; + readonly useFetch: UnwrapRef<(typeof import("@vueuse/core"))["useFetch"]>; + readonly useFileDialog: UnwrapRef< + (typeof import("@vueuse/core"))["useFileDialog"] + >; + readonly useFileSystemAccess: UnwrapRef< + (typeof import("@vueuse/core"))["useFileSystemAccess"] + >; + readonly useFocus: UnwrapRef<(typeof import("@vueuse/core"))["useFocus"]>; + readonly useFocusWithin: UnwrapRef< + (typeof import("@vueuse/core"))["useFocusWithin"] + >; + readonly useFps: UnwrapRef<(typeof import("@vueuse/core"))["useFps"]>; + readonly useFullscreen: UnwrapRef< + (typeof import("@vueuse/core"))["useFullscreen"] + >; + readonly useGamepad: UnwrapRef< + (typeof import("@vueuse/core"))["useGamepad"] + >; + readonly useGeolocation: UnwrapRef< + (typeof import("@vueuse/core"))["useGeolocation"] + >; + readonly useI18n: UnwrapRef<(typeof import("vue-i18n"))["useI18n"]>; + readonly useIdle: UnwrapRef<(typeof import("@vueuse/core"))["useIdle"]>; + readonly useImage: UnwrapRef<(typeof import("@vueuse/core"))["useImage"]>; + readonly useInfiniteScroll: UnwrapRef< + (typeof import("@vueuse/core"))["useInfiniteScroll"] + >; + readonly useIntersectionObserver: UnwrapRef< + (typeof import("@vueuse/core"))["useIntersectionObserver"] + >; + readonly useInterval: UnwrapRef< + (typeof import("@vueuse/core"))["useInterval"] + >; + readonly useIntervalFn: UnwrapRef< + (typeof import("@vueuse/core"))["useIntervalFn"] + >; + readonly useKeyModifier: UnwrapRef< + (typeof import("@vueuse/core"))["useKeyModifier"] + >; + readonly useLastChanged: UnwrapRef< + (typeof import("@vueuse/core"))["useLastChanged"] + >; + readonly useLink: UnwrapRef<(typeof import("vue-router"))["useLink"]>; + readonly useLocalStorage: UnwrapRef< + (typeof import("@vueuse/core"))["useLocalStorage"] + >; + readonly useMagicKeys: UnwrapRef< + (typeof import("@vueuse/core"))["useMagicKeys"] + >; + readonly useManualRefHistory: UnwrapRef< + (typeof import("@vueuse/core"))["useManualRefHistory"] + >; + readonly useMediaControls: UnwrapRef< + (typeof import("@vueuse/core"))["useMediaControls"] + >; + readonly useMediaQuery: UnwrapRef< + (typeof import("@vueuse/core"))["useMediaQuery"] + >; + readonly useMemoize: UnwrapRef< + (typeof import("@vueuse/core"))["useMemoize"] + >; + readonly useMemory: UnwrapRef<(typeof import("@vueuse/core"))["useMemory"]>; + readonly useMounted: UnwrapRef< + (typeof import("@vueuse/core"))["useMounted"] + >; + readonly useMouse: UnwrapRef<(typeof import("@vueuse/core"))["useMouse"]>; + readonly useMouseInElement: UnwrapRef< + (typeof import("@vueuse/core"))["useMouseInElement"] + >; + readonly useMousePressed: UnwrapRef< + (typeof import("@vueuse/core"))["useMousePressed"] + >; + readonly useMutationObserver: UnwrapRef< + (typeof import("@vueuse/core"))["useMutationObserver"] + >; + readonly useNavigatorLanguage: UnwrapRef< + (typeof import("@vueuse/core"))["useNavigatorLanguage"] + >; + readonly useNetwork: UnwrapRef< + (typeof import("@vueuse/core"))["useNetwork"] + >; + readonly useNow: UnwrapRef<(typeof import("@vueuse/core"))["useNow"]>; + readonly useObjectUrl: UnwrapRef< + (typeof import("@vueuse/core"))["useObjectUrl"] + >; + readonly useOffsetPagination: UnwrapRef< + (typeof import("@vueuse/core"))["useOffsetPagination"] + >; + readonly useOnline: UnwrapRef<(typeof import("@vueuse/core"))["useOnline"]>; + readonly usePageLeave: UnwrapRef< + (typeof import("@vueuse/core"))["usePageLeave"] + >; + readonly useParallax: UnwrapRef< + (typeof import("@vueuse/core"))["useParallax"] + >; + readonly useParentElement: UnwrapRef< + (typeof import("@vueuse/core"))["useParentElement"] + >; + readonly usePerformanceObserver: UnwrapRef< + (typeof import("@vueuse/core"))["usePerformanceObserver"] + >; + readonly usePermission: UnwrapRef< + (typeof import("@vueuse/core"))["usePermission"] + >; + readonly usePointer: UnwrapRef< + (typeof import("@vueuse/core"))["usePointer"] + >; + readonly usePointerLock: UnwrapRef< + (typeof import("@vueuse/core"))["usePointerLock"] + >; + readonly usePointerSwipe: UnwrapRef< + (typeof import("@vueuse/core"))["usePointerSwipe"] + >; + readonly usePreferredColorScheme: UnwrapRef< + (typeof import("@vueuse/core"))["usePreferredColorScheme"] + >; + readonly usePreferredContrast: UnwrapRef< + (typeof import("@vueuse/core"))["usePreferredContrast"] + >; + readonly usePreferredDark: UnwrapRef< + (typeof import("@vueuse/core"))["usePreferredDark"] + >; + readonly usePreferredLanguages: UnwrapRef< + (typeof import("@vueuse/core"))["usePreferredLanguages"] + >; + readonly usePreferredReducedMotion: UnwrapRef< + (typeof import("@vueuse/core"))["usePreferredReducedMotion"] + >; + readonly usePrevious: UnwrapRef< + (typeof import("@vueuse/core"))["usePrevious"] + >; + readonly useRafFn: UnwrapRef<(typeof import("@vueuse/core"))["useRafFn"]>; + readonly useRefHistory: UnwrapRef< + (typeof import("@vueuse/core"))["useRefHistory"] + >; + readonly useResizeObserver: UnwrapRef< + (typeof import("@vueuse/core"))["useResizeObserver"] + >; + readonly useRoute: UnwrapRef<(typeof import("vue-router"))["useRoute"]>; + readonly useRouter: UnwrapRef<(typeof import("vue-router"))["useRouter"]>; + readonly useScreenOrientation: UnwrapRef< + (typeof import("@vueuse/core"))["useScreenOrientation"] + >; + readonly useScreenSafeArea: UnwrapRef< + (typeof import("@vueuse/core"))["useScreenSafeArea"] + >; + readonly useScriptTag: UnwrapRef< + (typeof import("@vueuse/core"))["useScriptTag"] + >; + readonly useScroll: UnwrapRef<(typeof import("@vueuse/core"))["useScroll"]>; + readonly useScrollLock: UnwrapRef< + (typeof import("@vueuse/core"))["useScrollLock"] + >; + readonly useSessionStorage: UnwrapRef< + (typeof import("@vueuse/core"))["useSessionStorage"] + >; + readonly useShare: UnwrapRef<(typeof import("@vueuse/core"))["useShare"]>; + readonly useSlots: UnwrapRef<(typeof import("vue"))["useSlots"]>; + readonly useSorted: UnwrapRef<(typeof import("@vueuse/core"))["useSorted"]>; + readonly useSpeechRecognition: UnwrapRef< + (typeof import("@vueuse/core"))["useSpeechRecognition"] + >; + readonly useSpeechSynthesis: UnwrapRef< + (typeof import("@vueuse/core"))["useSpeechSynthesis"] + >; + readonly useStepper: UnwrapRef< + (typeof import("@vueuse/core"))["useStepper"] + >; + readonly useStorage: UnwrapRef< + (typeof import("@vueuse/core"))["useStorage"] + >; + readonly useStorageAsync: UnwrapRef< + (typeof import("@vueuse/core"))["useStorageAsync"] + >; + readonly useStyleTag: UnwrapRef< + (typeof import("@vueuse/core"))["useStyleTag"] + >; + readonly useSupported: UnwrapRef< + (typeof import("@vueuse/core"))["useSupported"] + >; + readonly useSwipe: UnwrapRef<(typeof import("@vueuse/core"))["useSwipe"]>; + readonly useTemplateRefsList: UnwrapRef< + (typeof import("@vueuse/core"))["useTemplateRefsList"] + >; + readonly useTextDirection: UnwrapRef< + (typeof import("@vueuse/core"))["useTextDirection"] + >; + readonly useTextSelection: UnwrapRef< + (typeof import("@vueuse/core"))["useTextSelection"] + >; + readonly useTextareaAutosize: UnwrapRef< + (typeof import("@vueuse/core"))["useTextareaAutosize"] + >; + readonly useThrottle: UnwrapRef< + (typeof import("@vueuse/core"))["useThrottle"] + >; + readonly useThrottleFn: UnwrapRef< + (typeof import("@vueuse/core"))["useThrottleFn"] + >; + readonly useThrottledRefHistory: UnwrapRef< + (typeof import("@vueuse/core"))["useThrottledRefHistory"] + >; + readonly useTimeAgo: UnwrapRef< + (typeof import("@vueuse/core"))["useTimeAgo"] + >; + readonly useTimeout: UnwrapRef< + (typeof import("@vueuse/core"))["useTimeout"] + >; + readonly useTimeoutFn: UnwrapRef< + (typeof import("@vueuse/core"))["useTimeoutFn"] + >; + readonly useTimeoutPoll: UnwrapRef< + (typeof import("@vueuse/core"))["useTimeoutPoll"] + >; + readonly useTimestamp: UnwrapRef< + (typeof import("@vueuse/core"))["useTimestamp"] + >; + readonly useTitle: UnwrapRef<(typeof import("@vueuse/core"))["useTitle"]>; + readonly useToNumber: UnwrapRef< + (typeof import("@vueuse/core"))["useToNumber"] + >; + readonly useToString: UnwrapRef< + (typeof import("@vueuse/core"))["useToString"] + >; + readonly useToggle: UnwrapRef<(typeof import("@vueuse/core"))["useToggle"]>; + readonly useTransition: UnwrapRef< + (typeof import("@vueuse/core"))["useTransition"] + >; + readonly useUrlSearchParams: UnwrapRef< + (typeof import("@vueuse/core"))["useUrlSearchParams"] + >; + readonly useUserMedia: UnwrapRef< + (typeof import("@vueuse/core"))["useUserMedia"] + >; + readonly useVModel: UnwrapRef<(typeof import("@vueuse/core"))["useVModel"]>; + readonly useVModels: UnwrapRef< + (typeof import("@vueuse/core"))["useVModels"] + >; + readonly useVibrate: UnwrapRef< + (typeof import("@vueuse/core"))["useVibrate"] + >; + readonly useVirtualList: UnwrapRef< + (typeof import("@vueuse/core"))["useVirtualList"] + >; + readonly useWakeLock: UnwrapRef< + (typeof import("@vueuse/core"))["useWakeLock"] + >; + readonly useWebNotification: UnwrapRef< + (typeof import("@vueuse/core"))["useWebNotification"] + >; + readonly useWebSocket: UnwrapRef< + (typeof import("@vueuse/core"))["useWebSocket"] + >; + readonly useWebWorker: UnwrapRef< + (typeof import("@vueuse/core"))["useWebWorker"] + >; + readonly useWebWorkerFn: UnwrapRef< + (typeof import("@vueuse/core"))["useWebWorkerFn"] + >; + readonly useWindowFocus: UnwrapRef< + (typeof import("@vueuse/core"))["useWindowFocus"] + >; + readonly useWindowScroll: UnwrapRef< + (typeof import("@vueuse/core"))["useWindowScroll"] + >; + readonly useWindowSize: UnwrapRef< + (typeof import("@vueuse/core"))["useWindowSize"] + >; + readonly watch: UnwrapRef<(typeof import("vue"))["watch"]>; + readonly watchArray: UnwrapRef< + (typeof import("@vueuse/core"))["watchArray"] + >; + readonly watchAtMost: UnwrapRef< + (typeof import("@vueuse/core"))["watchAtMost"] + >; + readonly watchDebounced: UnwrapRef< + (typeof import("@vueuse/core"))["watchDebounced"] + >; + readonly watchDeep: UnwrapRef<(typeof import("@vueuse/core"))["watchDeep"]>; + readonly watchEffect: UnwrapRef<(typeof import("vue"))["watchEffect"]>; + readonly watchIgnorable: UnwrapRef< + (typeof import("@vueuse/core"))["watchIgnorable"] + >; + readonly watchImmediate: UnwrapRef< + (typeof import("@vueuse/core"))["watchImmediate"] + >; + readonly watchOnce: UnwrapRef<(typeof import("@vueuse/core"))["watchOnce"]>; + readonly watchPausable: UnwrapRef< + (typeof import("@vueuse/core"))["watchPausable"] + >; + readonly watchPostEffect: UnwrapRef< + (typeof import("vue"))["watchPostEffect"] + >; + readonly watchSyncEffect: UnwrapRef< + (typeof import("vue"))["watchSyncEffect"] + >; + readonly watchThrottled: UnwrapRef< + (typeof import("@vueuse/core"))["watchThrottled"] + >; + readonly watchTriggerable: UnwrapRef< + (typeof import("@vueuse/core"))["watchTriggerable"] + >; + readonly watchWithFilter: UnwrapRef< + (typeof import("@vueuse/core"))["watchWithFilter"] + >; + readonly whenever: UnwrapRef<(typeof import("@vueuse/core"))["whenever"]>; + } +} diff --git a/webs/src/typings/components.d.ts b/webs/src/typings/components.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..c4ce98f17d03a08d4d7ec5a74d2dcec3ea1ff2fd --- /dev/null +++ b/webs/src/typings/components.d.ts @@ -0,0 +1,112 @@ +/* eslint-disable */ +/* prettier-ignore */ +// @ts-nocheck +// Generated by unplugin-vue-components +// Read more: https://github.com/vuejs/core/pull/3399 +export {} + +declare module "vue" { + export interface GlobalComponents { + AppLink: (typeof import("./../components/AppLink/index.vue"))["default"]; + AppMain: (typeof import("./../layout/components/AppMain/index.vue"))["default"]; + BarChart: (typeof import("./../views/dashboard/components/BarChart.vue"))["default"]; + Breadcrumb: (typeof import("./../components/Breadcrumb/index.vue"))["default"]; + DeptTree: (typeof import("./../views/system/user/components/dept-tree.vue"))["default"]; + Dictionary: (typeof import("./../components/Dictionary/index.vue"))["default"]; + DictItem: (typeof import("./../views/system/dict/components/dict-item.vue"))["default"]; + ElAlert: (typeof import("element-plus/es"))["ElAlert"]; + ElBreadcrumb: (typeof import("element-plus/es"))["ElBreadcrumb"]; + ElBreadcrumbItem: (typeof import("element-plus/es"))["ElBreadcrumbItem"]; + ElButton: (typeof import("element-plus/es"))["ElButton"]; + ElCard: (typeof import("element-plus/es"))["ElCard"]; + ElCol: (typeof import("element-plus/es"))["ElCol"]; + ElColorPicker: (typeof import("element-plus/es"))["ElColorPicker"]; + ElConfigProvider: (typeof import("element-plus/es"))["ElConfigProvider"]; + ElDatePicker: (typeof import("element-plus/es"))["ElDatePicker"]; + ElDialog: (typeof import("element-plus/es"))["ElDialog"]; + ElDivider: (typeof import("element-plus/es"))["ElDivider"]; + ElDrawer: (typeof import("element-plus/es"))["ElDrawer"]; + ElDropdown: (typeof import("element-plus/es"))["ElDropdown"]; + ElDropdownItem: (typeof import("element-plus/es"))["ElDropdownItem"]; + ElDropdownMenu: (typeof import("element-plus/es"))["ElDropdownMenu"]; + ElForm: (typeof import("element-plus/es"))["ElForm"]; + ElFormItem: (typeof import("element-plus/es"))["ElFormItem"]; + ElIcon: (typeof import("element-plus/es"))["ElIcon"]; + ElImage: (typeof import("element-plus/es"))["ElImage"]; + ElInput: (typeof import("element-plus/es"))["ElInput"]; + ElInputNumber: (typeof import("element-plus/es"))["ElInputNumber"]; + ElLink: (typeof import("element-plus/es"))["ElLink"]; + ElMenu: (typeof import("element-plus/es"))["ElMenu"]; + ElMenuItem: (typeof import("element-plus/es"))["ElMenuItem"]; + ElOption: (typeof import("element-plus/es"))["ElOption"]; + ElPagination: (typeof import("element-plus/es"))["ElPagination"]; + ElPopover: (typeof import("element-plus/es"))["ElPopover"]; + ElRadio: (typeof import("element-plus/es"))["ElRadio"]; + ElRadioGroup: (typeof import("element-plus/es"))["ElRadioGroup"]; + ElRow: (typeof import("element-plus/es"))["ElRow"]; + ElScrollbar: (typeof import("element-plus/es"))["ElScrollbar"]; + ElSelect: (typeof import("element-plus/es"))["ElSelect"]; + ElStatistic: (typeof import("element-plus/es"))["ElStatistic"]; + ElSubMenu: (typeof import("element-plus/es"))["ElSubMenu"]; + ElSwitch: (typeof import("element-plus/es"))["ElSwitch"]; + ElTable: (typeof import("element-plus/es"))["ElTable"]; + ElTableColumn: (typeof import("element-plus/es"))["ElTableColumn"]; + ElTabPane: (typeof import("element-plus/es"))["ElTabPane"]; + ElTabs: (typeof import("element-plus/es"))["ElTabs"]; + ElTag: (typeof import("element-plus/es"))["ElTag"]; + ElText: (typeof import("element-plus/es"))["ElText"]; + ElTooltip: (typeof import("element-plus/es"))["ElTooltip"]; + ElTree: (typeof import("element-plus/es"))["ElTree"]; + ElTreeSelect: (typeof import("element-plus/es"))["ElTreeSelect"]; + ElUpload: (typeof import("element-plus/es"))["ElUpload"]; + ElWatermark: (typeof import("element-plus/es"))["ElWatermark"]; + FunnelChart: (typeof import("./../views/dashboard/components/FunnelChart.vue"))["default"]; + GithubCorner: (typeof import("./../components/GithubCorner/index.vue"))["default"]; + Hamburger: (typeof import("./../components/Hamburger/index.vue"))["default"]; + IconSelect: (typeof import("./../components/IconSelect/index.vue"))["default"]; + IEpCaretBottom: (typeof import("~icons/ep/caret-bottom"))["default"]; + IEpCaretTop: (typeof import("~icons/ep/caret-top"))["default"]; + IEpClose: (typeof import("~icons/ep/close"))["default"]; + IEpCollection: (typeof import("~icons/ep/collection"))["default"]; + IEpDelete: (typeof import("~icons/ep/delete"))["default"]; + IEpDownload: (typeof import("~icons/ep/download"))["default"]; + IEpEdit: (typeof import("~icons/ep/edit"))["default"]; + IEpPlus: (typeof import("~icons/ep/plus"))["default"]; + IEpPosition: (typeof import("~icons/ep/position"))["default"]; + IEpQuestionFilled: (typeof import("~icons/ep/question-filled"))["default"]; + IEpRefresh: (typeof import("~icons/ep/refresh"))["default"]; + IEpRefreshLeft: (typeof import("~icons/ep/refresh-left"))["default"]; + IEpSearch: (typeof import("~icons/ep/search"))["default"]; + IEpSetting: (typeof import("~icons/ep/setting"))["default"]; + IEpTop: (typeof import("~icons/ep/top"))["default"]; + IEpUploadFilled: (typeof import("~icons/ep/upload-filled"))["default"]; + LangSelect: (typeof import("./../components/LangSelect/index.vue"))["default"]; + LayoutSelect: (typeof import("./../layout/components/Settings/components/LayoutSelect.vue"))["default"]; + MultiUpload: (typeof import("./../components/Upload/MultiUpload.vue"))["default"]; + NavBar: (typeof import("./../layout/components/NavBar/index.vue"))["default"]; + NavbarLeft: (typeof import("./../layout/components/NavBar/components/NavbarLeft.vue"))["default"]; + NavbarRight: (typeof import("./../layout/components/NavBar/components/NavbarRight.vue"))["default"]; + Pagination: (typeof import("./../components/Pagination/index.vue"))["default"]; + PieChart: (typeof import("./../views/dashboard/components/PieChart.vue"))["default"]; + RadarChart: (typeof import("./../views/dashboard/components/RadarChart.vue"))["default"]; + RightPanel: (typeof import("./../components/RightPanel/index.vue"))["default"]; + RouterLink: (typeof import("vue-router"))["RouterLink"]; + RouterView: (typeof import("vue-router"))["RouterView"]; + Settings: (typeof import("./../layout/components/Settings/index.vue"))["default"]; + Sidebar: (typeof import("./../layout/components/Sidebar/index.vue"))["default"]; + SidebarLogo: (typeof import("./../layout/components/Sidebar/components/SidebarLogo.vue"))["default"]; + SidebarMenu: (typeof import("./../layout/components/Sidebar/components/SidebarMenu.vue"))["default"]; + SidebarMenuItem: (typeof import("./../layout/components/Sidebar/components/SidebarMenuItem.vue"))["default"]; + SidebarMenuItemTitle: (typeof import("./../layout/components/Sidebar/components/SidebarMenuItemTitle.vue"))["default"]; + SidebarMixTopMenu: (typeof import("./../layout/components/Sidebar/components/SidebarMixTopMenu.vue"))["default"]; + SingleUpload: (typeof import("./../components/Upload/SingleUpload.vue"))["default"]; + SizeSelect: (typeof import("./../components/SizeSelect/index.vue"))["default"]; + SvgIcon: (typeof import("./../components/SvgIcon/index.vue"))["default"]; + TagsView: (typeof import("./../layout/components/TagsView/index.vue"))["default"]; + ThemeColorPicker: (typeof import("./../layout/components/Settings/components/ThemeColorPicker.vue"))["default"]; + WangEditor: (typeof import("./../components/WangEditor/index.vue"))["default"]; + } + export interface ComponentCustomProperties { + vLoading: (typeof import("element-plus/es"))["ElLoadingDirective"]; + } +} diff --git a/webs/src/typings/env.d.ts b/webs/src/typings/env.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..7ed1377812750c7eb4d82106b340bea9b7fad2ba --- /dev/null +++ b/webs/src/typings/env.d.ts @@ -0,0 +1,40 @@ +// https://cn.vitejs.dev/guide/env-and-mode + +declare module "*.vue" { + import { DefineComponent } from "vue"; + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types + const component: DefineComponent<{}, {}, any>; + export default component; +} + +// TypeScript 类型提示都为 string: https://github.com/vitejs/vite/issues/6930 +interface ImportMetaEnv { + /** 应用端口 */ + VITE_APP_PORT: number; + /** API 基础路径(代理前缀) */ + VITE_APP_BASE_API: string; + /** API 地址 */ + VITE_APP_API_URL: string; + /** 是否开启 Mock 服务 */ + VITE_MOCK_DEV_SERVER: boolean; +} + +interface ImportMeta { + readonly env: ImportMetaEnv; +} + +/** + * 平台的名称、版本、运行所需的`node`版本、依赖、构建时间的类型提示 + */ +declare const __APP_INFO__: { + pkg: { + name: string; + version: string; + engines: { + node: string; + }; + dependencies: Record; + devDependencies: Record; + }; + buildTimestamp: number; +}; diff --git a/webs/src/typings/global.d.ts b/webs/src/typings/global.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..fc27d1fb8f72785089c0a2eb00edb399d955f85a --- /dev/null +++ b/webs/src/typings/global.d.ts @@ -0,0 +1,86 @@ +declare global { + /** + * 分页查询参数 + */ + interface PageQuery { + pageNum: number; + pageSize: number; + } + + /** + * 分页响应对象 + */ + interface PageResult { + /** 数据列表 */ + list: T; + /** 总数 */ + total: number; + } + + /** + * 页签对象 + */ + interface TagView { + /** 页签名称 */ + name: string; + /** 页签标题 */ + title: string; + /** 页签路由路径 */ + path: string; + /** 页签路由完整路径 */ + fullPath: string; + /** 页签图标 */ + icon?: string; + /** 是否固定页签 */ + affix?: boolean; + /** 是否开启缓存 */ + keepAlive?: boolean; + /** 路由查询参数 */ + query?: any; + } + + /** + * 系统设置 + */ + interface AppSettings { + /** 系统标题 */ + title: string; + /** 系统版本 */ + version: string; + /** 是否显示设置 */ + showSettings: boolean; + /** 是否固定头部 */ + fixedHeader: boolean; + /** 是否显示多标签导航 */ + tagsView: boolean; + /** 是否显示侧边栏Logo */ + sidebarLogo: boolean; + /** 导航栏布局(left|top|mix) */ + layout: string; + /** 主题颜色 */ + themeColor: string; + /** 主题模式(dark|light) */ + theme: string; + /** 布局大小(default |large |small) */ + size: string; + /** 语言( zh-cn| en) */ + language: string; + /** 是否开启水印 */ + watermarkEnabled: boolean; + /** 水印内容 */ + watermarkContent: string; + } + + /** + * 组件数据源 + */ + interface OptionType { + /** 值 */ + value: string | number; + /** 文本 */ + label: string; + /** 子列表 */ + children?: OptionType[]; + } +} +export {}; diff --git a/webs/src/typings/router.d.ts b/webs/src/typings/router.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..99e187bfaa32cf3a9d75209b13bbf74f6ad9f375 --- /dev/null +++ b/webs/src/typings/router.d.ts @@ -0,0 +1,22 @@ +import "vue-router"; + +declare module "vue-router" { + // https://router.vuejs.org/zh/guide/advanced/meta.html#typescript + // 可以通过扩展 RouteMeta 接口来输入 meta 字段 + interface RouteMeta { + /** 菜单名称 */ + title?: string; + /** 菜单图标 */ + icon?: string; + /** 菜单是否隐藏 */ + hidden?: boolean; + /** 是否固定页签 */ + affix?: boolean; + /** 是否缓存页面 */ + keepAlive?: boolean; + /** 是否在面包屑上隐藏 */ + breadcrumb?: boolean; + /** 拥有菜单权限的角色编码集合 */ + roles?: string[]; + } +} diff --git a/webs/src/typings/shims-vue.d.ts b/webs/src/typings/shims-vue.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..abbc9312cec44ae07d3ebf700458e3934bd72e97 --- /dev/null +++ b/webs/src/typings/shims-vue.d.ts @@ -0,0 +1 @@ +declare module "xlsx/xlsx.mjs"; diff --git a/webs/src/utils/color.ts b/webs/src/utils/color.ts new file mode 100644 index 0000000000000000000000000000000000000000..25035841d6033340c24114edc677a4d6c0a86f54 --- /dev/null +++ b/webs/src/utils/color.ts @@ -0,0 +1,287 @@ +/** + * 颜色生成 + */ +type RGB = { + r: number; + g: number; + b: number; +}; +type HSL = { + h: number; + s: number; + l: number; +}; +type HEX = + | "0" + | "1" + | "2" + | "3" + | "4" + | "5" + | "6" + | "7" + | "8" + | "9" + | "A" + | "B" + | "C" + | "D" + | "E" + | "F"; + +const RGBUnit = 255; +const HEX_MAP: Record = { + 0: 0, + 1: 1, + 2: 2, + 3: 3, + 4: 4, + 5: 5, + 6: 6, + 7: 7, + 8: 8, + 9: 9, + A: 10, + B: 11, + C: 12, + D: 13, + E: 14, + F: 15, +}; +const rgbWhite = { + r: 255, + g: 255, + b: 255, +}; +const rgbBlack = { + r: 0, + g: 0, + b: 0, +}; + +/** + * RGB颜色转HSL颜色值 + * @param r 红色值 + * @param g 绿色值 + * @param b 蓝色值 + * @returns { h: [0, 360]; s: [0, 1]; l: [0, 1] } + */ +function rgbToHsl(rgb: RGB): HSL { + let { r, g, b } = rgb; + const hsl = { + h: 0, + s: 0, + l: 0, + }; + + // 计算rgb基数 ∈ [0, 1] + r /= RGBUnit; + g /= RGBUnit; + b /= RGBUnit; + const max = Math.max(r, g, b); + const min = Math.min(r, g, b); + + // 计算h + if (max === min) { + hsl.h = 0; + } else if (max === r) { + hsl.h = 60 * ((g - b) / (max - min)) + (g >= b ? 0 : 360); + } else if (max === g) { + hsl.h = 60 * ((b - r) / (max - min)) + 120; + } else { + hsl.h = 60 * ((r - g) / (max - min)) + 240; + } + hsl.h = hsl.h > 360 ? hsl.h - 360 : hsl.h; + + // 计算l + hsl.l = (max + min) / 2; + + // 计算s + if (hsl.l === 0 || max === min) { + // 灰/白/黑 + hsl.s = 0; + } else if (hsl.l > 0 && hsl.l <= 0.5) { + hsl.s = (max - min) / (max + min); + } else { + hsl.s = (max - min) / (2 - (max + min)); + } + + return hsl; +} + +/** + * hsl -> rgb + * @param h [0, 360] + * @param s [0, 1] + * @param l [0, 1] + * @returns RGB + */ +function hslToRgb(hsl: HSL): RGB { + const { h, s, l } = hsl; + const q = l < 0.5 ? l * (1 + s) : l + s - l * s; + const p = 2 * l - q; + const hUnit = h / 360; // 色相转换为 [0, 1] + + const Cr = fillCircleVal(hUnit + 1 / 3); + const Cg = fillCircleVal(hUnit); + const Cb = fillCircleVal(hUnit - 1 / 3); + + // 保持 [0, 1] 环状取值 + function fillCircleVal(val: number): number { + return val < 0 ? val + 1 : val > 1 ? val - 1 : val; + } + + function computedRgb(val: number): number { + let colorVal: number; + if (val < 1 / 6) { + colorVal = p + (q - p) * 6 * val; + } else if (val >= 1 / 6 && val < 1 / 2) { + colorVal = q; + } else if (val >= 1 / 2 && val < 2 / 3) { + colorVal = p + (q - p) * 6 * (2 / 3 - val); + } else { + colorVal = p; + } + return colorVal * 255; + } + + return { + r: Number(computedRgb(Cr).toFixed(0)), + g: Number(computedRgb(Cg).toFixed(0)), + b: Number(computedRgb(Cb).toFixed(0)), + }; +} + +/** + * 16进制颜色转换RGB + * @param color #rrggbb + * @returns RGB + */ +function hexToRGB(hex: string): RGB { + hex = hex.toUpperCase(); + const hexRegExp = /^#([0-9A-F]{6})$/; + if (!hexRegExp.test(hex)) { + throw new Error("请传入合法的16进制颜色值,eg: #FF0000"); + } + + const hexValArr = (hexRegExp.exec(hex)?.[1] || "000000").split( + "" + ) as Array; + + return { + r: HEX_MAP[hexValArr[0]] * 16 + HEX_MAP[hexValArr[1]], + g: HEX_MAP[hexValArr[2]] * 16 + HEX_MAP[hexValArr[3]], + b: HEX_MAP[hexValArr[4]] * 16 + HEX_MAP[hexValArr[5]], + }; +} + +/** + * rgb 转 16进制 + * @param rgb RGB + * @returns #HEX{6} + */ +function rgbToHex(rgb: RGB): string { + const HEX_MAP_REVERSE: Record = {}; + for (const key in HEX_MAP) { + HEX_MAP_REVERSE[HEX_MAP[key as HEX]] = key as HEX; + } + function getRemainderAndQuotient(val: number): string { + val = Math.round(val); + return `${HEX_MAP_REVERSE[Math.floor(val / 16)]}${ + HEX_MAP_REVERSE[val % 16] + }`; + } + + return `#${getRemainderAndQuotient(rgb.r)}${getRemainderAndQuotient( + rgb.g + )}${getRemainderAndQuotient(rgb.b)}`; +} + +// hsl 转 16进制 +function hslToHex(hsl: HSL): string { + return rgbToHex(hslToRgb(hsl)); +} + +// 16进制 转 hsl +function hexToHsl(hex: string): HSL { + return rgbToHsl(hexToRGB(hex)); +} + +// 生成混合色(混黑 + 混白) +function genMixColor(base: string | RGB | HSL): { + DEFAULT: string; + dark: { + 1: string; + 2: string; + 3: string; + 4: string; + 5: string; + 6: string; + 7: string; + 8: string; + 9: string; + }; + light: { + 1: string; + 2: string; + 3: string; + 4: string; + 5: string; + 6: string; + 7: string; + 8: string; + 9: string; + }; +} { + // 基准色统一转换为RGB + if (typeof base === "string") { + base = hexToRGB(base); + } else if ("h" in base) { + base = hslToRgb(base); + } + + // 混合色 + function mix(color: RGB, mixColor: RGB, weight: number): RGB { + return { + r: color.r * (1 - weight) + mixColor.r * weight, + g: color.g * (1 - weight) + mixColor.g * weight, + b: color.b * (1 - weight) + mixColor.b * weight, + }; + } + + return { + DEFAULT: rgbToHex(base), + dark: { + 1: rgbToHex(mix(base, rgbBlack, 0.1)), + 2: rgbToHex(mix(base, rgbBlack, 0.2)), + 3: rgbToHex(mix(base, rgbBlack, 0.3)), + 4: rgbToHex(mix(base, rgbBlack, 0.4)), + 5: rgbToHex(mix(base, rgbBlack, 0.5)), + 6: rgbToHex(mix(base, rgbBlack, 0.6)), + 7: rgbToHex(mix(base, rgbBlack, 0.7)), + 8: rgbToHex(mix(base, rgbBlack, 0.78)), + 9: rgbToHex(mix(base, rgbBlack, 0.85)), + }, + light: { + 1: rgbToHex(mix(base, rgbWhite, 0.1)), + 2: rgbToHex(mix(base, rgbWhite, 0.2)), + 3: rgbToHex(mix(base, rgbWhite, 0.3)), + 4: rgbToHex(mix(base, rgbWhite, 0.4)), + 5: rgbToHex(mix(base, rgbWhite, 0.5)), + 6: rgbToHex(mix(base, rgbWhite, 0.6)), + 7: rgbToHex(mix(base, rgbWhite, 0.7)), + 8: rgbToHex(mix(base, rgbWhite, 0.78)), + 9: rgbToHex(mix(base, rgbWhite, 0.85)), + }, + }; +} + +export { + genMixColor, + rgbToHsl, + rgbToHex, + hslToRgb, + hslToHex, + hexToRGB, + hexToHsl, +}; diff --git a/webs/src/utils/i18n.ts b/webs/src/utils/i18n.ts new file mode 100644 index 0000000000000000000000000000000000000000..17ed904ae2bc670e2d9b82c36cbe4e65fe6c3547 --- /dev/null +++ b/webs/src/utils/i18n.ts @@ -0,0 +1,12 @@ +// translate router.meta.title, be used in breadcrumb sidebar tagsview +import i18n from "@/lang/index"; + +export function translateRouteTitle(title: any) { + // 判断是否存在国际化配置,如果没有原生返回 + const hasKey = i18n.global.te("route." + title); + if (hasKey) { + const translatedTitle = i18n.global.t("route." + title); + return translatedTitle; + } + return title; +} diff --git a/webs/src/utils/index.ts b/webs/src/utils/index.ts new file mode 100644 index 0000000000000000000000000000000000000000..fb42864a78546f1b201c04650f97500d3b487227 --- /dev/null +++ b/webs/src/utils/index.ts @@ -0,0 +1,51 @@ +/** + * Check if an element has a class + * @param {HTMLElement} ele + * @param {string} cls + * @returns {boolean} + */ +export function hasClass(ele: HTMLElement, cls: string) { + return !!ele.className.match(new RegExp("(\\s|^)" + cls + "(\\s|$)")); +} + +/** + * Add class to element + * @param {HTMLElement} ele + * @param {string} cls + */ +export function addClass(ele: HTMLElement, cls: string) { + if (!hasClass(ele, cls)) ele.className += " " + cls; +} + +/** + * Remove class from element + * @param {HTMLElement} ele + * @param {string} cls + */ +export function removeClass(ele: HTMLElement, cls: string) { + if (hasClass(ele, cls)) { + const reg = new RegExp("(\\s|^)" + cls + "(\\s|$)"); + ele.className = ele.className.replace(reg, " "); + } +} + +/** + * 判断是否是外部链接 + * + * @param {string} path + * @returns {Boolean} + */ +export function isExternal(path: string) { + const isExternal = /^(https?:|http?:|mailto:|tel:)/.test(path); + return isExternal; +} + +/** + * 设置Style属性 + * + * @param propName + * @param value + */ +export function setStyleProperty(propName: string, value: string) { + document.documentElement.style.setProperty(propName, value); +} diff --git a/webs/src/utils/nprogress.ts b/webs/src/utils/nprogress.ts new file mode 100644 index 0000000000000000000000000000000000000000..c1d5f2307fc796c47bcefa6c6499952c4ef614ef --- /dev/null +++ b/webs/src/utils/nprogress.ts @@ -0,0 +1,18 @@ +import NProgress from "nprogress"; +import "nprogress/nprogress.css"; + +// 进度条 +NProgress.configure({ + // 动画方式 + easing: "ease", + // 递增进度条的速度 + speed: 500, + // 是否显示加载ico + showSpinner: false, + // 自动递增间隔 + trickleSpeed: 200, + // 初始化时的最小百分比 + minimum: 0.3, +}); + +export default NProgress; diff --git a/webs/src/utils/request.ts b/webs/src/utils/request.ts new file mode 100644 index 0000000000000000000000000000000000000000..3e600f9ebc6d6e7d8fd2ecf25e2d027186c265d8 --- /dev/null +++ b/webs/src/utils/request.ts @@ -0,0 +1,64 @@ +import axios, { InternalAxiosRequestConfig, AxiosResponse } from "axios"; +import { useUserStoreHook } from "@/store/modules/user"; + +// 创建 axios 实例 +const service = axios.create({ + baseURL: import.meta.env.VITE_APP_BASE_API, + timeout: 50000, + headers: { "Content-Type": "application/json;charset=utf-8" }, +}); + +// 请求拦截器 +service.interceptors.request.use( + (config: InternalAxiosRequestConfig) => { + const accessToken = localStorage.getItem("accessToken"); + if (accessToken) { + config.headers.Authorization = accessToken; + } + return config; + }, + (error: any) => { + return Promise.reject(error); + } +); + +// 响应拦截器 +service.interceptors.response.use( + (response: AxiosResponse) => { + const { code, msg } = response.data; + if (code === "00000") { + return response.data; + } + // 响应数据为二进制流处理(Excel导出) + if (response.data instanceof ArrayBuffer) { + return response; + } + + ElMessage.error(msg || "系统出错"); + return Promise.reject(new Error(msg || "Error")); + }, + (error: any) => { + if (error.response.data) { + const { code, msg } = error.response.data; + // token 过期,重新登录 + if (code === "A0230") { + ElMessageBox.confirm("当前页面已失效,请重新登录", "提示", { + confirmButtonText: "确定", + cancelButtonText: "取消", + type: "warning", + }).then(() => { + const userStore = useUserStoreHook(); + userStore.resetToken().then(() => { + location.reload(); + }); + }); + } else { + ElMessage.error(msg || "系统出错"); + } + } + return Promise.reject(error.message); + } +); + +// 导出 axios 实例 +export default service; diff --git a/webs/src/views/dashboard/components/BarChart.vue b/webs/src/views/dashboard/components/BarChart.vue new file mode 100644 index 0000000000000000000000000000000000000000..9e1b67dc94081e1579fe3265d91e0b1f1ab3a1b1 --- /dev/null +++ b/webs/src/views/dashboard/components/BarChart.vue @@ -0,0 +1,202 @@ + + + + + diff --git a/webs/src/views/dashboard/components/FunnelChart.vue b/webs/src/views/dashboard/components/FunnelChart.vue new file mode 100644 index 0000000000000000000000000000000000000000..d29293ca444b2a665047f88adecc052a612d218e --- /dev/null +++ b/webs/src/views/dashboard/components/FunnelChart.vue @@ -0,0 +1,115 @@ + + + + diff --git a/webs/src/views/dashboard/components/PieChart.vue b/webs/src/views/dashboard/components/PieChart.vue new file mode 100644 index 0000000000000000000000000000000000000000..ac011fb9a2b10b471f3256b36965b45c822f32d6 --- /dev/null +++ b/webs/src/views/dashboard/components/PieChart.vue @@ -0,0 +1,89 @@ + + + + diff --git a/webs/src/views/dashboard/components/RadarChart.vue b/webs/src/views/dashboard/components/RadarChart.vue new file mode 100644 index 0000000000000000000000000000000000000000..aca9ac8b5c3db05fb96ba1350320c1b9e3a2b17c --- /dev/null +++ b/webs/src/views/dashboard/components/RadarChart.vue @@ -0,0 +1,109 @@ + + + + diff --git a/webs/src/views/dashboard/index.vue b/webs/src/views/dashboard/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..f9319cf1992d5a4f23e7f55474c7e209707fb2bd --- /dev/null +++ b/webs/src/views/dashboard/index.vue @@ -0,0 +1,139 @@ + + + + + diff --git a/webs/src/views/demo/api/apifox.vue b/webs/src/views/demo/api/apifox.vue new file mode 100644 index 0000000000000000000000000000000000000000..e625213a98fb0a986f8e97eef5aa7b72144da69d --- /dev/null +++ b/webs/src/views/demo/api/apifox.vue @@ -0,0 +1,27 @@ + + + + diff --git a/webs/src/views/demo/api/knife4j.vue b/webs/src/views/demo/api/knife4j.vue new file mode 100644 index 0000000000000000000000000000000000000000..4929cc6cb19d7720eb24bcecc929d2c57a088dbe --- /dev/null +++ b/webs/src/views/demo/api/knife4j.vue @@ -0,0 +1,27 @@ + + + + diff --git a/webs/src/views/demo/api/swagger.vue b/webs/src/views/demo/api/swagger.vue new file mode 100644 index 0000000000000000000000000000000000000000..dd6dc9d8e44ed46f6fdb98b83531d70451cca93d --- /dev/null +++ b/webs/src/views/demo/api/swagger.vue @@ -0,0 +1,27 @@ + + + + diff --git a/webs/src/views/demo/dict.vue b/webs/src/views/demo/dict.vue new file mode 100644 index 0000000000000000000000000000000000000000..fcb6e0607f9537d052335b64a064a7365f25ae9d --- /dev/null +++ b/webs/src/views/demo/dict.vue @@ -0,0 +1,32 @@ + + + + diff --git a/webs/src/views/demo/icon-selector.vue b/webs/src/views/demo/icon-selector.vue new file mode 100644 index 0000000000000000000000000000000000000000..6a419e2fb8538f93ec606518b11652efaaa2cb7b --- /dev/null +++ b/webs/src/views/demo/icon-selector.vue @@ -0,0 +1,17 @@ + + + + diff --git a/webs/src/views/demo/icons.vue b/webs/src/views/demo/icons.vue new file mode 100644 index 0000000000000000000000000000000000000000..5fd397fea1c0fd1d001efc538df46c0256bd2295 --- /dev/null +++ b/webs/src/views/demo/icons.vue @@ -0,0 +1,156 @@ + + + + + diff --git a/webs/src/views/demo/internal-doc.vue b/webs/src/views/demo/internal-doc.vue new file mode 100644 index 0000000000000000000000000000000000000000..df51bacccc4dd1b1ce6026eceae461a7c23b253b --- /dev/null +++ b/webs/src/views/demo/internal-doc.vue @@ -0,0 +1,28 @@ + + diff --git a/webs/src/views/demo/multi-level/children/children/level3-1.vue b/webs/src/views/demo/multi-level/children/children/level3-1.vue new file mode 100644 index 0000000000000000000000000000000000000000..888f58e96d6c0083d00cd5b3f4ad2365eb9a0696 --- /dev/null +++ b/webs/src/views/demo/multi-level/children/children/level3-1.vue @@ -0,0 +1,5 @@ + diff --git a/webs/src/views/demo/multi-level/children/children/level3-2.vue b/webs/src/views/demo/multi-level/children/children/level3-2.vue new file mode 100644 index 0000000000000000000000000000000000000000..a99c98e98c285314bc98f88405fe98cf4cda60f9 --- /dev/null +++ b/webs/src/views/demo/multi-level/children/children/level3-2.vue @@ -0,0 +1,5 @@ + diff --git a/webs/src/views/demo/multi-level/children/level2.vue b/webs/src/views/demo/multi-level/children/level2.vue new file mode 100644 index 0000000000000000000000000000000000000000..abcc3a7e462e8a14b83feda70e45cc95058df1fa --- /dev/null +++ b/webs/src/views/demo/multi-level/children/level2.vue @@ -0,0 +1,7 @@ + diff --git a/webs/src/views/demo/multi-level/level1.vue b/webs/src/views/demo/multi-level/level1.vue new file mode 100644 index 0000000000000000000000000000000000000000..b26146d7b90de8993c7069fee7d096b922d875b9 --- /dev/null +++ b/webs/src/views/demo/multi-level/level1.vue @@ -0,0 +1,15 @@ + diff --git a/webs/src/views/demo/signature.vue b/webs/src/views/demo/signature.vue new file mode 100644 index 0000000000000000000000000000000000000000..c63fc44469b9472b1176317595a755b9e05dc35c --- /dev/null +++ b/webs/src/views/demo/signature.vue @@ -0,0 +1,186 @@ + + + diff --git a/webs/src/views/demo/upload.vue b/webs/src/views/demo/upload.vue new file mode 100644 index 0000000000000000000000000000000000000000..7c8051acbac9e349649370fb9fd1e786662dc04d --- /dev/null +++ b/webs/src/views/demo/upload.vue @@ -0,0 +1,37 @@ + + + diff --git a/webs/src/views/demo/wang-editor.vue b/webs/src/views/demo/wang-editor.vue new file mode 100644 index 0000000000000000000000000000000000000000..d7ff4bb810a6227d0dd9b24ca5d812c8efae5962 --- /dev/null +++ b/webs/src/views/demo/wang-editor.vue @@ -0,0 +1,19 @@ + + + + diff --git a/webs/src/views/demo/websocket.vue b/webs/src/views/demo/websocket.vue new file mode 100644 index 0000000000000000000000000000000000000000..ac0a147c728a5c7c958c47cf9d6e75161d635811 --- /dev/null +++ b/webs/src/views/demo/websocket.vue @@ -0,0 +1,266 @@ + + + + + + diff --git a/webs/src/views/error-page/401.vue b/webs/src/views/error-page/401.vue new file mode 100644 index 0000000000000000000000000000000000000000..79b11aa5a3e0c240806179fd90986bd4781954cf --- /dev/null +++ b/webs/src/views/error-page/401.vue @@ -0,0 +1,113 @@ + + + + + diff --git a/webs/src/views/error-page/404.vue b/webs/src/views/error-page/404.vue new file mode 100644 index 0000000000000000000000000000000000000000..4e68995234164103756efcd6116f8c962656e583 --- /dev/null +++ b/webs/src/views/error-page/404.vue @@ -0,0 +1,276 @@ + + + + + + + + diff --git a/webs/src/views/login/index.vue b/webs/src/views/login/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..cef68f0acb1f4366705361b1a7d7dd4d11b35186 --- /dev/null +++ b/webs/src/views/login/index.vue @@ -0,0 +1,299 @@ + + + + + diff --git a/webs/src/views/redirect/index.vue b/webs/src/views/redirect/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..4215bf69cb697c6034cfe686bb289e0b04d3a5c0 --- /dev/null +++ b/webs/src/views/redirect/index.vue @@ -0,0 +1,15 @@ + + + diff --git a/webs/src/views/subcription/nodes.vue b/webs/src/views/subcription/nodes.vue new file mode 100644 index 0000000000000000000000000000000000000000..4d2f61eae92e63e2fbfbd39a9ccf9dec63a90822 --- /dev/null +++ b/webs/src/views/subcription/nodes.vue @@ -0,0 +1,276 @@ + + + + + \ No newline at end of file diff --git a/webs/src/views/subcription/subs.vue b/webs/src/views/subcription/subs.vue new file mode 100644 index 0000000000000000000000000000000000000000..0ead573842169d4523ca04015e9b1ffa171e1642 --- /dev/null +++ b/webs/src/views/subcription/subs.vue @@ -0,0 +1,457 @@ + + + + + \ No newline at end of file diff --git a/webs/src/views/subcription/template.vue b/webs/src/views/subcription/template.vue new file mode 100644 index 0000000000000000000000000000000000000000..f0633577a14bb4ffbd087140e52e2f1cda0522ab --- /dev/null +++ b/webs/src/views/subcription/template.vue @@ -0,0 +1,218 @@ + + + + +@/api/subcription/temp \ No newline at end of file diff --git a/webs/src/views/system/user/set.vue b/webs/src/views/system/user/set.vue new file mode 100644 index 0000000000000000000000000000000000000000..793d7696c60e2801584772e245980523136fc1c7 --- /dev/null +++ b/webs/src/views/system/user/set.vue @@ -0,0 +1,83 @@ + + + + + + \ No newline at end of file diff --git a/webs/tsconfig.json b/webs/tsconfig.json new file mode 100644 index 0000000000000000000000000000000000000000..6d1e993c36e110aae8605f42732658fcc29c6eb2 --- /dev/null +++ b/webs/tsconfig.json @@ -0,0 +1,35 @@ +{ + "compilerOptions": { + "target": "esnext", + "useDefineForClassFields": true, + "module": "esnext", + "moduleResolution": "node", + "strict": true, + "noLib": false, + "sourceMap": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "lib": ["esnext", "dom"], + "baseUrl": ".", + "allowJs": true, + "paths": { + "@/*": ["src/*"] + }, + "types": ["vite/client", "unplugin-icons/types/vue", "element-plus/global"], + "skipLibCheck": true /* Skip type checking all .d.ts files. */, + "allowSyntheticDefaultImports": true /* 允许默认导入 */, + "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */, + + "jsx": "preserve", + "jsxFactory": "h", + "jsxFragmentFactory": "Fragment" + }, + "include": [ + "src/**/*.ts", + "src/**/*.vue", + "src/typings/**/*.d.ts", + "mock/**/*.ts", + "vite.config.ts" + ], + "exclude": ["node_modules", "dist", "**/*.js"] +} diff --git a/webs/uno.config.ts b/webs/uno.config.ts new file mode 100644 index 0000000000000000000000000000000000000000..b952fe40b79dd4f5af0283fbc6590c4828d7ed0e --- /dev/null +++ b/webs/uno.config.ts @@ -0,0 +1,43 @@ +// uno.config.ts +import { + defineConfig, + presetAttributify, + presetIcons, + presetTypography, + presetUno, + presetWebFonts, + transformerDirectives, + transformerVariantGroup, +} from "unocss"; + +export default defineConfig({ + shortcuts: { + "flex-center": "flex justify-center items-center", + "flex-x-center": "flex justify-center", + "flex-y-center": "flex items-center", + "wh-full": "w-full h-full", + "flex-x-between": "flex items-center justify-between", + "flex-x-end": "flex items-center justify-end", + "absolute-lt": "absolute left-0 top-0", + "absolute-rt": "absolute right-0 top-0 ", + "fixed-lt": "fixed left-0 top-0", + }, + theme: { + colors: { + primary: "var(--el-color-primary)", + primary_dark: "var(--el-color-primary-light-5)", + }, + }, + presets: [ + presetUno(), + presetAttributify(), + presetIcons(), + presetTypography(), + presetWebFonts({ + fonts: { + // ... + }, + }), + ], + transformers: [transformerDirectives(), transformerVariantGroup()], +}); diff --git a/webs/vite.config.ts b/webs/vite.config.ts new file mode 100644 index 0000000000000000000000000000000000000000..0158d46a0242035b849d144d448d9de549ebec66 --- /dev/null +++ b/webs/vite.config.ts @@ -0,0 +1,246 @@ +import vue from "@vitejs/plugin-vue"; +import vueJsx from "@vitejs/plugin-vue-jsx"; +import { UserConfig, ConfigEnv, loadEnv, defineConfig } from "vite"; + +import AutoImport from "unplugin-auto-import/vite"; +import Components from "unplugin-vue-components/vite"; +import { ElementPlusResolver } from "unplugin-vue-components/resolvers"; +import Icons from "unplugin-icons/vite"; +import IconsResolver from "unplugin-icons/resolver"; + +import { createSvgIconsPlugin } from "vite-plugin-svg-icons"; +import mockDevServerPlugin from "vite-plugin-mock-dev-server"; + +import UnoCSS from "unocss/vite"; +import { resolve } from "path"; +import { + name, + version, + engines, + dependencies, + devDependencies, +} from "./package.json"; + +/** 平台的名称、版本、运行所需的`node`版本、依赖、构建时间的类型提示 */ +const __APP_INFO__ = { + pkg: { name, version, engines, dependencies, devDependencies }, + buildTimestamp: Date.now(), +}; + +const pathSrc = resolve(__dirname, "src"); +const isDevelopment = process.env.NODE_ENV +// https://cn.vitejs.dev/config +export default defineConfig(({ mode }: ConfigEnv): UserConfig => { + const env = loadEnv(mode, process.cwd()); + return { + base: isDevelopment == 'development' ? "/":"/static/", + resolve: { + alias: { + "@": pathSrc, + }, + }, + css: { + // CSS 预处理器 + preprocessorOptions: { + // 定义全局 SCSS 变量 + scss: { + javascriptEnabled: true, + additionalData: ` + @use "@/styles/variables.scss" as *; + `, + }, + }, + }, + server: { + // 允许IP访问 + host: "0.0.0.0", + // 应用端口 (默认:3000) + port: Number(env.VITE_APP_PORT), + // 运行是否自动打开浏览器 + open: true, + proxy: { + /** 代理前缀为 /dev-api 的请求 */ + [env.VITE_APP_BASE_API]: { + changeOrigin: true, + // 接口地址 + target: env.VITE_APP_API_URL, + rewrite: (path) => + path.replace(new RegExp("^" + env.VITE_APP_BASE_API), ""), + }, + }, + }, + plugins: [ + vue(), + // jsx、tsx语法支持 + vueJsx(), + // MOCK 服务 + env.VITE_MOCK_DEV_SERVER === "true" ? mockDevServerPlugin() : null, + UnoCSS({ + hmrTopLevelAwait: false, + }), + // 自动导入参考: https://github.com/sxzz/element-plus-best-practices/blob/main/vite.config.ts + AutoImport({ + // 自动导入 Vue 相关函数,如:ref, reactive, toRef 等 + imports: ["vue", "@vueuse/core", "pinia", "vue-router", "vue-i18n"], + resolvers: [ + // 自动导入 Element Plus 相关函数,如:ElMessage, ElMessageBox... (带样式) + ElementPlusResolver(), + // 自动导入图标组件 + IconsResolver({}), + ], + eslintrc: { + // 是否自动生成 eslint 规则,建议生成之后设置 false + enabled: false, + // 指定自动导入函数 eslint 规则的文件 + filepath: "./.eslintrc-auto-import.json", + globalsPropValue: true, + }, + // 是否在 vue 模板中自动导入 + vueTemplate: true, + // 指定自动导入函数TS类型声明文件路径 (false:关闭自动生成) + dts: false, + // dts: "src/typings/auto-imports.d.ts", + }), + Components({ + resolvers: [ + // 自动导入 Element Plus 组件 + ElementPlusResolver(), + // 自动注册图标组件 + IconsResolver({ + // element-plus图标库,其他图标库 https://icon-sets.iconify.design/ + enabledCollections: ["ep"], + }), + ], + // 指定自定义组件位置(默认:src/components) + dirs: ["src/components", "src/**/components"], + // 指定自动导入组件TS类型声明文件路径 (false:关闭自动生成) + dts: false, + // dts: "src/typings/components.d.ts", + }), + Icons({ + // 自动安装图标库 + autoInstall: true, + }), + createSvgIconsPlugin({ + // 指定需要缓存的图标文件夹 + iconDirs: [resolve(pathSrc, "assets/icons")], + // 指定symbolId格式 + symbolId: "icon-[dir]-[name]", + }), + ], + // 预加载项目必需的组件 + optimizeDeps: { + include: [ + "vue", + "vue-router", + "pinia", + "axios", + "@vueuse/core", + "sortablejs", + "path-to-regexp", + "echarts", + "@wangeditor/editor", + "@wangeditor/editor-for-vue", + "vue-i18n", + "path-browserify", + "element-plus/es/components/form/style/css", + "element-plus/es/components/form-item/style/css", + "element-plus/es/components/button/style/css", + "element-plus/es/components/input/style/css", + "element-plus/es/components/input-number/style/css", + "element-plus/es/components/switch/style/css", + "element-plus/es/components/upload/style/css", + "element-plus/es/components/menu/style/css", + "element-plus/es/components/col/style/css", + "element-plus/es/components/icon/style/css", + "element-plus/es/components/row/style/css", + "element-plus/es/components/tag/style/css", + "element-plus/es/components/dialog/style/css", + "element-plus/es/components/loading/style/css", + "element-plus/es/components/radio/style/css", + "element-plus/es/components/radio-group/style/css", + "element-plus/es/components/popover/style/css", + "element-plus/es/components/scrollbar/style/css", + "element-plus/es/components/tooltip/style/css", + "element-plus/es/components/dropdown/style/css", + "element-plus/es/components/dropdown-menu/style/css", + "element-plus/es/components/dropdown-item/style/css", + "element-plus/es/components/sub-menu/style/css", + "element-plus/es/components/menu-item/style/css", + "element-plus/es/components/divider/style/css", + "element-plus/es/components/card/style/css", + "element-plus/es/components/link/style/css", + "element-plus/es/components/breadcrumb/style/css", + "element-plus/es/components/breadcrumb-item/style/css", + "element-plus/es/components/table/style/css", + "element-plus/es/components/tree-select/style/css", + "element-plus/es/components/table-column/style/css", + "element-plus/es/components/select/style/css", + "element-plus/es/components/option/style/css", + "element-plus/es/components/pagination/style/css", + "element-plus/es/components/tree/style/css", + "element-plus/es/components/alert/style/css", + "element-plus/es/components/radio-button/style/css", + "element-plus/es/components/checkbox-group/style/css", + "element-plus/es/components/checkbox/style/css", + "element-plus/es/components/tabs/style/css", + "element-plus/es/components/tab-pane/style/css", + "element-plus/es/components/rate/style/css", + "element-plus/es/components/date-picker/style/css", + "element-plus/es/components/notification/style/css", + "element-plus/es/components/image/style/css", + "element-plus/es/components/statistic/style/css", + "element-plus/es/components/watermark/style/css", + "element-plus/es/components/config-provider/style/css", + "element-plus/es/components/text/style/css", + "element-plus/es/components/drawer/style/css", + "element-plus/es/components/color-picker/style/css", + ], + }, + // 构建配置 + build: { + chunkSizeWarningLimit: 2000, // 消除打包大小超过500kb警告 + minify: "terser", // Vite 2.6.x 以上需要配置 minify: "terser", terserOptions 才能生效 + terserOptions: { + compress: { + keep_infinity: true, // 防止 Infinity 被压缩成 1/0,这可能会导致 Chrome 上的性能问题 + drop_console: true, // 生产环境去除 console + drop_debugger: true, // 生产环境去除 debugger + }, + format: { + comments: false, // 删除注释 + }, + }, + rollupOptions: { + output: { + // manualChunks: { + // "vue-i18n": ["vue-i18n"], + // }, + // 用于从入口点创建的块的打包输出格式[name]表示文件名,[hash]表示该文件内容hash值 + entryFileNames: "js/[name].[hash].js", + // 用于命名代码拆分时创建的共享块的输出命名 + chunkFileNames: "js/[name].[hash].js", + // 用于输出静态资源的命名,[ext]表示文件扩展名 + assetFileNames: (assetInfo: any) => { + const info = assetInfo.name.split("."); + let extType = info[info.length - 1]; + // console.log('文件信息', assetInfo.name) + if ( + /\.(mp4|webm|ogg|mp3|wav|flac|aac)(\?.*)?$/i.test(assetInfo.name) + ) { + extType = "media"; + } else if (/\.(png|jpe?g|gif|svg)(\?.*)?$/.test(assetInfo.name)) { + extType = "img"; + } else if (/\.(woff2?|eot|ttf|otf)(\?.*)?$/i.test(assetInfo.name)) { + extType = "fonts"; + } + return `${extType}/[name].[hash].[ext]`; + }, + }, + }, + }, + define: { + __APP_INFO__: JSON.stringify(__APP_INFO__), + }, + }; +});