diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..389959e --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +.git +.idea \ No newline at end of file diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f7ba128 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,14 @@ +* text=auto + +# Force the following filetypes to have unix eols, so Windows does not break them +*.* text eol=lf + +# Windows forced line-endings +/.idea/* text eol=crlf + +# +## These files are binary and should be left untouched +# + +# (binary is a macro for -text -diff) +*.png binary diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..544c01d --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +storage/logs +.idea +*.log +deploy/docker-compose/conf +deploy/docker-compose/data diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..ca88583 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 Nunu + +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/Makefile b/Makefile new file mode 100644 index 0000000..0f79a3a --- /dev/null +++ b/Makefile @@ -0,0 +1,36 @@ +.PHONY: init +init: + go install github.com/google/wire/cmd/wire@latest + go install github.com/golang/mock/mockgen@latest + go install github.com/swaggo/swag/cmd/swag@latest + +.PHONY: bootstrap +bootstrap: + cd ./deploy/docker-compose && docker compose up -d && cd ../../ + go run ./cmd/migration + nunu run ./cmd/server + +.PHONY: mock +mock: + mockgen -source=internal/service/user.go -destination test/mocks/service/user.go + mockgen -source=internal/repository/user.go -destination test/mocks/repository/user.go + mockgen -source=internal/repository/repository.go -destination test/mocks/repository/repository.go + +.PHONY: test +test: + go test -coverpkg=./internal/handler,./internal/service,./internal/repository -coverprofile=./coverage.out ./test/server/... + go tool cover -html=./coverage.out -o coverage.html + +.PHONY: build +build: + go build -ldflags="-s -w" -o ./bin/server ./cmd/server + cd web && npm run build + +.PHONY: docker +docker: + docker build -f deploy/build/Dockerfile --build-arg APP_RELATIVE_PATH=./cmd/task -t 1.1.1.1:5000/demo-task:v1 . + docker run --rm -i 1.1.1.1:5000/demo-task:v1 + +.PHONY: swag +swag: + swag init -g cmd/server/main.go -o ./docs --parseDependency diff --git a/api/v1/admin.go b/api/v1/admin.go new file mode 100644 index 0000000..9391098 --- /dev/null +++ b/api/v1/admin.go @@ -0,0 +1,228 @@ +package v1 + +type LoginRequest struct { + Username string `json:"username" binding:"required" example:"1234@gmail.com"` + Password string `json:"password" binding:"required" example:"123456"` +} +type LoginResponseData struct { + AccessToken string `json:"accessToken"` +} +type LoginResponse struct { + Response + Data LoginResponseData +} + +type AdminUserDataItem struct { + ID uint `json:"id"` + Username string `json:"username" binding:"required" example:"张三"` + Nickname string `json:"nickname" binding:"required" example:"小Baby"` + Password string `json:"password" binding:"required" example:"123456"` + Email string `json:"email" binding:"required,email" example:"1234@gmail.com"` + Phone string `form:"phone" binding:"" example:"1858888888"` + Roles []string `json:"roles" example:""` + UpdatedAt string `json:"updatedAt"` + CreatedAt string `json:"createdAt"` +} +type GetAdminUsersRequest struct { + Page int `form:"page" binding:"required" example:"1"` + PageSize int `form:"pageSize" binding:"required" example:"10"` + Username string `json:"username" binding:"" example:"张三"` + Nickname string `json:"nickname" binding:"" example:"小Baby"` + Phone string `form:"phone" binding:"" example:"1858888888"` + Email string `form:"email" binding:"" example:"1234@gmail.com"` +} +type GetAdminUserResponseData struct { + ID uint `json:"id"` + Username string `json:"username" example:"张三"` + Nickname string `json:"nickname" example:"小Baby"` + Password string `json:"password" example:"123456"` + Email string `json:"email" example:"1234@gmail.com"` + Phone string `form:"phone" example:"1858888888"` + Roles []string `json:"roles" example:""` + UpdatedAt string `json:"updatedAt"` + CreatedAt string `json:"createdAt"` +} +type GetAdminUserResponse struct { + Response + Data GetAdminUserResponseData +} +type GetAdminUsersResponseData struct { + List []AdminUserDataItem `json:"list"` + Total int64 `json:"total"` +} +type GetAdminUsersResponse struct { + Response + Data GetAdminUsersResponseData +} +type AdminUserCreateRequest struct { + Username string `json:"username" binding:"required" example:"张三"` + Nickname string `json:"nickname" binding:"" example:"小Baby"` + Password string `json:"password" binding:"required" example:"123456"` + Email string `json:"email" binding:"" example:"1234@gmail.com"` + Phone string `form:"phone" binding:"" example:"1858888888"` + Roles []string `json:"roles" example:""` +} +type AdminUserUpdateRequest struct { + ID uint `json:"id"` + Username string `json:"username" binding:"required" example:"张三"` + Nickname string `json:"nickname" binding:"" example:"小Baby"` + Password string `json:"password" binding:"" example:"123456"` + Email string `json:"email" binding:"" example:"1234@gmail.com"` + Phone string `form:"phone" binding:"" example:"1858888888"` + Roles []string `json:"roles" example:""` +} +type AdminUserDeleteRequest struct { + ID uint `form:"id" binding:"required" example:"1"` +} + +type MenuDataItem struct { + ID uint `json:"id,omitempty"` // 唯一id,使用整数表示 + ParentID uint `json:"parentId,omitempty"` // 父级菜单的id,使用整数表示 + Weight int `json:"weight"` // 排序权重 + Path string `json:"path"` // 地址 + Title string `json:"title"` // 展示名称 + Name string `json:"name,omitempty"` // 同路由中的name,唯一标识 + Component string `json:"component,omitempty"` // 绑定的组件 + Locale string `json:"locale,omitempty"` // 本地化标识 + Icon string `json:"icon,omitempty"` // 图标,使用字符串表示 + Redirect string `json:"redirect,omitempty"` // 重定向地址 + KeepAlive bool `json:"keepAlive,omitempty"` // 是否保活 + HideInMenu bool `json:"hideInMenu,omitempty"` // 是否保活 + URL string `json:"url,omitempty"` // iframe模式下的跳转url,不能与path重复 + UpdatedAt string `json:"updatedAt,omitempty"` // 是否保活 +} +type GetMenuResponseData struct { + List []MenuDataItem `json:"list"` +} + +type GetMenuResponse struct { + Response + Data GetMenuResponseData +} + +type MenuCreateRequest struct { + ParentID uint `json:"parentId,omitempty"` // 父级菜单的id,使用整数表示 + Weight int `json:"weight"` // 排序权重 + Path string `json:"path"` // 地址 + Title string `json:"title"` // 展示名称 + Name string `json:"name,omitempty"` // 同路由中的name,唯一标识 + Component string `json:"component,omitempty"` // 绑定的组件 + Locale string `json:"locale,omitempty"` // 本地化标识 + Icon string `json:"icon,omitempty"` // 图标,使用字符串表示 + Redirect string `json:"redirect,omitempty"` // 重定向地址 + KeepAlive bool `json:"keepAlive,omitempty"` // 是否保活 + HideInMenu bool `json:"hideInMenu,omitempty"` // 是否保活 + URL string `json:"url,omitempty"` // iframe模式下的跳转url,不能与path重复 + +} +type MenuUpdateRequest struct { + ID uint `json:"id,omitempty"` // 唯一id,使用整数表示 + ParentID uint `json:"parentId,omitempty"` // 父级菜单的id,使用整数表示 + Weight int `json:"weight"` // 排序权重 + Path string `json:"path"` // 地址 + Title string `json:"title"` // 展示名称 + Name string `json:"name,omitempty"` // 同路由中的name,唯一标识 + Component string `json:"component,omitempty"` // 绑定的组件 + Locale string `json:"locale,omitempty"` // 本地化标识 + Icon string `json:"icon,omitempty"` // 图标,使用字符串表示 + Redirect string `json:"redirect,omitempty"` // 重定向地址 + KeepAlive bool `json:"keepAlive,omitempty"` // 是否保活 + HideInMenu bool `json:"hideInMenu,omitempty"` // 是否保活 + URL string `json:"url,omitempty"` // iframe模式下的跳转url,不能与path重复 + UpdatedAt string `json:"updatedAt"` +} +type MenuDeleteRequest struct { + ID uint `form:"id"` // 唯一id,使用整数表示 +} +type GetRoleListRequest struct { + Page int `form:"page" binding:"required" example:"1"` + PageSize int `form:"pageSize" binding:"required" example:"10"` + Sid string `form:"sid" binding:"" example:"1"` + Name string `form:"name" binding:"" example:"Admin"` +} +type RoleDataItem struct { + ID uint `json:"id"` + Name string `json:"name"` + Sid string `json:"sid"` + UpdatedAt string `json:"updatedAt"` + CreatedAt string `json:"createdAt"` +} +type GetRolesResponseData struct { + List []RoleDataItem `json:"list"` + Total int64 `json:"total"` +} +type GetRolesResponse struct { + Response + Data GetRolesResponseData +} +type RoleCreateRequest struct { + Sid string `form:"sid" binding:"required" example:"1"` + Name string `form:"name" binding:"required" example:"Admin"` +} +type RoleUpdateRequest struct { + ID uint `form:"id" binding:"required" example:"1"` + Sid string `form:"sid" binding:"required" example:"1"` + Name string `form:"name" binding:"required" example:"Admin"` +} +type RoleDeleteRequest struct { + ID uint `form:"id" binding:"required" example:"1"` +} +type PermissionCreateRequest struct { + Sid string `form:"sid" binding:"required" example:"1"` + Name string `form:"name" binding:"required" example:"Admin"` +} +type GetApisRequest struct { + Page int `form:"page" binding:"required" example:"1"` + PageSize int `form:"pageSize" binding:"required" example:"10"` + Group string `form:"group" binding:"" example:"权限管理"` + Name string `form:"name" binding:"" example:"菜单列表"` + Path string `form:"path" binding:"" example:"/v1/test"` + Method string `form:"method" binding:"" example:"GET"` +} +type ApiDataItem struct { + ID uint `json:"id"` + Name string `json:"name"` + Path string `json:"path"` + Method string `json:"method"` + Group string `json:"group"` + UpdatedAt string `json:"updatedAt"` + CreatedAt string `json:"createdAt"` +} +type GetApisResponseData struct { + List []ApiDataItem `json:"list"` + Total int64 `json:"total"` + Groups []string `json:"groups"` +} +type GetApisResponse struct { + Response + Data GetApisResponseData +} +type ApiCreateRequest struct { + Group string `form:"group" binding:"" example:"权限管理"` + Name string `form:"name" binding:"" example:"菜单列表"` + Path string `form:"path" binding:"" example:"/v1/test"` + Method string `form:"method" binding:"" example:"GET"` +} +type ApiUpdateRequest struct { + ID uint `form:"id" binding:"required" example:"1"` + Group string `form:"group" binding:"" example:"权限管理"` + Name string `form:"name" binding:"" example:"菜单列表"` + Path string `form:"path" binding:"" example:"/v1/test"` + Method string `form:"method" binding:"" example:"GET"` +} +type ApiDeleteRequest struct { + ID uint `form:"id" binding:"required" example:"1"` +} +type GetUserPermissionsData struct { + List []string `json:"list"` +} +type GetRolePermissionsRequest struct { + Role string `form:"role" binding:"required" example:"admin"` +} +type GetRolePermissionsData struct { + List []string `json:"list"` +} +type UpdateRolePermissionRequest struct { + Role string `form:"role" binding:"required" example:"admin"` + List []string `form:"list" binding:"required" example:""` +} diff --git a/api/v1/errors.go b/api/v1/errors.go new file mode 100644 index 0000000..87af62d --- /dev/null +++ b/api/v1/errors.go @@ -0,0 +1,14 @@ +package v1 + +var ( + // common errors + ErrSuccess = newError(0, "ok") + ErrBadRequest = newError(400, "参数错误") + ErrUnauthorized = newError(401, "登录失效,请重新登录~") + ErrNotFound = newError(404, "数据不存在") + ErrForbidden = newError(403, "权限不足,请联系管理员开通权限~") + ErrInternalServerError = newError(500, "服务器错误~") + + // more biz errors + ErrUsernameAlreadyUse = newError(1001, "The username is already in use.") +) diff --git a/api/v1/v1.go b/api/v1/v1.go new file mode 100644 index 0000000..c13a6c1 --- /dev/null +++ b/api/v1/v1.go @@ -0,0 +1,51 @@ +package v1 + +import ( + "errors" + "github.com/gin-gonic/gin" + "net/http" +) + +type Response struct { + Code int `json:"code"` + Message string `json:"message"` + Data interface{} `json:"data"` +} + +func HandleSuccess(ctx *gin.Context, data interface{}) { + if data == nil { + data = map[string]interface{}{} + } + resp := Response{Code: errorCodeMap[ErrSuccess], Message: ErrSuccess.Error(), Data: data} + if _, ok := errorCodeMap[ErrSuccess]; !ok { + resp = Response{Code: 0, Message: "", Data: data} + } + ctx.JSON(http.StatusOK, resp) +} + +func HandleError(ctx *gin.Context, httpCode int, err error, data interface{}) { + if data == nil { + data = map[string]string{} + } + resp := Response{Code: errorCodeMap[err], Message: err.Error(), Data: data} + if _, ok := errorCodeMap[err]; !ok { + resp = Response{Code: 500, Message: "unknown error", Data: data} + } + ctx.JSON(httpCode, resp) +} + +type Error struct { + Code int + Message string +} + +var errorCodeMap = map[error]int{} + +func newError(code int, msg string) error { + err := errors.New(msg) + errorCodeMap[err] = code + return err +} +func (e Error) Error() string { + return e.Message +} diff --git a/cmd/migration/main.go b/cmd/migration/main.go new file mode 100644 index 0000000..6255eb7 --- /dev/null +++ b/cmd/migration/main.go @@ -0,0 +1,26 @@ +package main + +import ( + "context" + "flag" + "nunu-layout-admin/cmd/migration/wire" + "nunu-layout-admin/pkg/config" + "nunu-layout-admin/pkg/log" +) + +func main() { + var envConf = flag.String("conf", "config/local.yml", "config path, eg: -conf ./config/local.yml") + flag.Parse() + conf := config.NewConfig(*envConf) + + logger := log.NewLog(conf) + + app, cleanup, err := wire.NewWire(conf, logger) + defer cleanup() + if err != nil { + panic(err) + } + if err = app.Run(context.Background()); err != nil { + panic(err) + } +} diff --git a/cmd/migration/wire/wire.go b/cmd/migration/wire/wire.go new file mode 100644 index 0000000..35a84fd --- /dev/null +++ b/cmd/migration/wire/wire.go @@ -0,0 +1,43 @@ +//go:build wireinject +// +build wireinject + +package wire + +import ( + "github.com/google/wire" + "github.com/spf13/viper" + "nunu-layout-admin/internal/repository" + "nunu-layout-admin/internal/server" + "nunu-layout-admin/pkg/app" + "nunu-layout-admin/pkg/log" + "nunu-layout-admin/pkg/sid" +) + +var repositorySet = wire.NewSet( + repository.NewDB, + //repository.NewRedis, + repository.NewRepository, + repository.NewCasbinEnforcer, +) +var serverSet = wire.NewSet( + server.NewMigrateServer, +) + +// build App +func newApp( + migrateServer *server.MigrateServer, +) *app.App { + return app.NewApp( + app.WithServer(migrateServer), + app.WithName("demo-migrate"), + ) +} + +func NewWire(*viper.Viper, *log.Logger) (*app.App, func(), error) { + panic(wire.Build( + repositorySet, + serverSet, + sid.NewSid, + newApp, + )) +} diff --git a/cmd/migration/wire/wire_gen.go b/cmd/migration/wire/wire_gen.go new file mode 100644 index 0000000..37200e2 --- /dev/null +++ b/cmd/migration/wire/wire_gen.go @@ -0,0 +1,42 @@ +// Code generated by Wire. DO NOT EDIT. + +//go:generate go run -mod=mod github.com/google/wire/cmd/wire +//go:build !wireinject +// +build !wireinject + +package wire + +import ( + "github.com/google/wire" + "github.com/spf13/viper" + "nunu-layout-admin/internal/repository" + "nunu-layout-admin/internal/server" + "nunu-layout-admin/pkg/app" + "nunu-layout-admin/pkg/log" + "nunu-layout-admin/pkg/sid" +) + +// Injectors from wire.go: + +func NewWire(viperViper *viper.Viper, logger *log.Logger) (*app.App, func(), error) { + db := repository.NewDB(viperViper, logger) + sidSid := sid.NewSid() + syncedEnforcer := repository.NewCasbinEnforcer(viperViper, logger, db) + migrateServer := server.NewMigrateServer(db, logger, sidSid, syncedEnforcer) + appApp := newApp(migrateServer) + return appApp, func() { + }, nil +} + +// wire.go: + +var repositorySet = wire.NewSet(repository.NewDB, repository.NewRepository, repository.NewCasbinEnforcer) + +var serverSet = wire.NewSet(server.NewMigrateServer) + +// build App +func newApp( + migrateServer *server.MigrateServer, +) *app.App { + return app.NewApp(app.WithServer(migrateServer), app.WithName("demo-migrate")) +} diff --git a/cmd/server/main.go b/cmd/server/main.go new file mode 100644 index 0000000..554f286 --- /dev/null +++ b/cmd/server/main.go @@ -0,0 +1,46 @@ +package main + +import ( + "context" + "flag" + "fmt" + "nunu-layout-admin/pkg/log" + + "go.uber.org/zap" + "nunu-layout-admin/cmd/server/wire" + "nunu-layout-admin/pkg/config" +) + +// @title Nunu Example API +// @version 1.0.0 +// @description This is a sample server celler server. +// @termsOfService http://swagger.io/terms/ +// @contact.name API Support +// @contact.url http://www.swagger.io/support +// @contact.email support@swagger.io +// @license.name Apache 2.0 +// @license.url http://www.apache.org/licenses/LICENSE-2.0.html +// @host localhost:8000 +// @securityDefinitions.apiKey Bearer +// @in header +// @name Authorization +// @externalDocs.description OpenAPI +// @externalDocs.url https://swagger.io/resources/open-api/ +func main() { + var envConf = flag.String("conf", "config/local.yml", "config path, eg: -conf ./config/local.yml") + flag.Parse() + conf := config.NewConfig(*envConf) + + logger := log.NewLog(conf) + + app, cleanup, err := wire.NewWire(conf, logger) + defer cleanup() + if err != nil { + panic(err) + } + logger.Info("server start", zap.String("host", fmt.Sprintf("http://%s:%d", conf.GetString("http.host"), conf.GetInt("http.port")))) + logger.Info("docs addr", zap.String("addr", fmt.Sprintf("http://%s:%d/swagger/index.html", conf.GetString("http.host"), conf.GetInt("http.port")))) + if err = app.Run(context.Background()); err != nil { + panic(err) + } +} diff --git a/cmd/server/wire/wire.go b/cmd/server/wire/wire.go new file mode 100644 index 0000000..29c2e6b --- /dev/null +++ b/cmd/server/wire/wire.go @@ -0,0 +1,75 @@ +//go:build wireinject +// +build wireinject + +package wire + +import ( + "github.com/google/wire" + "github.com/spf13/viper" + "nunu-layout-admin/internal/handler" + "nunu-layout-admin/internal/job" + "nunu-layout-admin/internal/repository" + "nunu-layout-admin/internal/server" + "nunu-layout-admin/internal/service" + "nunu-layout-admin/pkg/app" + "nunu-layout-admin/pkg/jwt" + "nunu-layout-admin/pkg/log" + "nunu-layout-admin/pkg/server/http" + "nunu-layout-admin/pkg/sid" +) + +var repositorySet = wire.NewSet( + repository.NewDB, + //repository.NewRedis, + repository.NewRepository, + repository.NewTransaction, + repository.NewUserRepository, + repository.NewCasbinEnforcer, + repository.NewAdminRepository, +) + +var serviceSet = wire.NewSet( + service.NewService, + service.NewUserService, + service.NewAdminService, +) + +var handlerSet = wire.NewSet( + handler.NewHandler, + handler.NewUserHandler, + handler.NewAdminHandler, +) + +var jobSet = wire.NewSet( + job.NewJob, + job.NewUserJob, +) +var serverSet = wire.NewSet( + server.NewHTTPServer, + server.NewJobServer, +) + +// build App +func newApp( + httpServer *http.Server, + jobServer *server.JobServer, + // task *server.Task, +) *app.App { + return app.NewApp( + app.WithServer(httpServer, jobServer), + app.WithName("demo-server"), + ) +} + +func NewWire(*viper.Viper, *log.Logger) (*app.App, func(), error) { + panic(wire.Build( + repositorySet, + serviceSet, + handlerSet, + jobSet, + serverSet, + sid.NewSid, + jwt.NewJwt, + newApp, + )) +} diff --git a/cmd/server/wire/wire_gen.go b/cmd/server/wire/wire_gen.go new file mode 100644 index 0000000..00d5bee --- /dev/null +++ b/cmd/server/wire/wire_gen.go @@ -0,0 +1,69 @@ +// Code generated by Wire. DO NOT EDIT. + +//go:generate go run -mod=mod github.com/google/wire/cmd/wire +//go:build !wireinject +// +build !wireinject + +package wire + +import ( + "github.com/google/wire" + "github.com/spf13/viper" + "nunu-layout-admin/internal/handler" + "nunu-layout-admin/internal/job" + "nunu-layout-admin/internal/repository" + "nunu-layout-admin/internal/server" + "nunu-layout-admin/internal/service" + "nunu-layout-admin/pkg/app" + "nunu-layout-admin/pkg/jwt" + "nunu-layout-admin/pkg/log" + "nunu-layout-admin/pkg/server/http" + "nunu-layout-admin/pkg/sid" +) + +// Injectors from wire.go: + +func NewWire(viperViper *viper.Viper, logger *log.Logger) (*app.App, func(), error) { + jwtJWT := jwt.NewJwt(viperViper) + db := repository.NewDB(viperViper, logger) + syncedEnforcer := repository.NewCasbinEnforcer(viperViper, logger, db) + handlerHandler := handler.NewHandler(logger) + repositoryRepository := repository.NewRepository(logger, db, syncedEnforcer) + transaction := repository.NewTransaction(repositoryRepository) + sidSid := sid.NewSid() + serviceService := service.NewService(transaction, logger, sidSid, jwtJWT) + adminRepository := repository.NewAdminRepository(repositoryRepository) + adminService := service.NewAdminService(serviceService, adminRepository) + adminHandler := handler.NewAdminHandler(handlerHandler, adminService) + userRepository := repository.NewUserRepository(repositoryRepository) + userService := service.NewUserService(serviceService, userRepository) + userHandler := handler.NewUserHandler(handlerHandler, userService) + httpServer := server.NewHTTPServer(logger, viperViper, jwtJWT, syncedEnforcer, adminHandler, userHandler) + jobJob := job.NewJob(transaction, logger, sidSid) + userJob := job.NewUserJob(jobJob, userRepository) + jobServer := server.NewJobServer(logger, userJob) + appApp := newApp(httpServer, jobServer) + return appApp, func() { + }, nil +} + +// wire.go: + +var repositorySet = wire.NewSet(repository.NewDB, repository.NewRepository, repository.NewTransaction, repository.NewUserRepository, repository.NewCasbinEnforcer, repository.NewAdminRepository) + +var serviceSet = wire.NewSet(service.NewService, service.NewUserService, service.NewAdminService) + +var handlerSet = wire.NewSet(handler.NewHandler, handler.NewUserHandler, handler.NewAdminHandler) + +var jobSet = wire.NewSet(job.NewJob, job.NewUserJob) + +var serverSet = wire.NewSet(server.NewHTTPServer, server.NewJobServer) + +// build App +func newApp( + httpServer *http.Server, + jobServer *server.JobServer, + +) *app.App { + return app.NewApp(app.WithServer(httpServer, jobServer), app.WithName("demo-server")) +} diff --git a/cmd/task/main.go b/cmd/task/main.go new file mode 100644 index 0000000..f09aea2 --- /dev/null +++ b/cmd/task/main.go @@ -0,0 +1,27 @@ +package main + +import ( + "context" + "flag" + "nunu-layout-admin/cmd/task/wire" + "nunu-layout-admin/pkg/config" + "nunu-layout-admin/pkg/log" +) + +func main() { + var envConf = flag.String("conf", "config/local.yml", "config path, eg: -conf ./config/local.yml") + flag.Parse() + conf := config.NewConfig(*envConf) + + logger := log.NewLog(conf) + logger.Info("start task") + app, cleanup, err := wire.NewWire(conf, logger) + defer cleanup() + if err != nil { + panic(err) + } + if err = app.Run(context.Background()); err != nil { + panic(err) + } + +} diff --git a/cmd/task/wire/wire.go b/cmd/task/wire/wire.go new file mode 100644 index 0000000..d98c0a7 --- /dev/null +++ b/cmd/task/wire/wire.go @@ -0,0 +1,52 @@ +//go:build wireinject +// +build wireinject + +package wire + +import ( + "github.com/google/wire" + "github.com/spf13/viper" + "nunu-layout-admin/internal/repository" + "nunu-layout-admin/internal/server" + "nunu-layout-admin/internal/task" + "nunu-layout-admin/pkg/app" + "nunu-layout-admin/pkg/log" + "nunu-layout-admin/pkg/sid" +) + +var repositorySet = wire.NewSet( + repository.NewDB, + //repository.NewRedis, + repository.NewRepository, + repository.NewTransaction, + repository.NewUserRepository, + repository.NewCasbinEnforcer, +) + +var taskSet = wire.NewSet( + task.NewTask, + task.NewUserTask, +) +var serverSet = wire.NewSet( + server.NewTaskServer, +) + +// build App +func newApp( + task *server.TaskServer, +) *app.App { + return app.NewApp( + app.WithServer(task), + app.WithName("demo-task"), + ) +} + +func NewWire(*viper.Viper, *log.Logger) (*app.App, func(), error) { + panic(wire.Build( + repositorySet, + taskSet, + serverSet, + newApp, + sid.NewSid, + )) +} diff --git a/cmd/task/wire/wire_gen.go b/cmd/task/wire/wire_gen.go new file mode 100644 index 0000000..3e4be45 --- /dev/null +++ b/cmd/task/wire/wire_gen.go @@ -0,0 +1,49 @@ +// Code generated by Wire. DO NOT EDIT. + +//go:generate go run -mod=mod github.com/google/wire/cmd/wire +//go:build !wireinject +// +build !wireinject + +package wire + +import ( + "github.com/google/wire" + "github.com/spf13/viper" + "nunu-layout-admin/internal/repository" + "nunu-layout-admin/internal/server" + "nunu-layout-admin/internal/task" + "nunu-layout-admin/pkg/app" + "nunu-layout-admin/pkg/log" + "nunu-layout-admin/pkg/sid" +) + +// Injectors from wire.go: + +func NewWire(viperViper *viper.Viper, logger *log.Logger) (*app.App, func(), error) { + db := repository.NewDB(viperViper, logger) + syncedEnforcer := repository.NewCasbinEnforcer(viperViper, logger, db) + repositoryRepository := repository.NewRepository(logger, db, syncedEnforcer) + transaction := repository.NewTransaction(repositoryRepository) + sidSid := sid.NewSid() + taskTask := task.NewTask(transaction, logger, sidSid) + userRepository := repository.NewUserRepository(repositoryRepository) + userTask := task.NewUserTask(taskTask, userRepository) + taskServer := server.NewTaskServer(logger, userTask) + appApp := newApp(taskServer) + return appApp, func() { + }, nil +} + +// wire.go: + +var repositorySet = wire.NewSet(repository.NewDB, repository.NewRepository, repository.NewTransaction, repository.NewUserRepository, repository.NewCasbinEnforcer) + +var taskSet = wire.NewSet(task.NewTask, task.NewUserTask) + +var serverSet = wire.NewSet(server.NewTaskServer) + +// build App +func newApp(task2 *server.TaskServer, +) *app.App { + return app.NewApp(app.WithServer(task2), app.WithName("demo-task")) +} diff --git a/config/local.yml b/config/local.yml new file mode 100644 index 0000000..69c6f76 --- /dev/null +++ b/config/local.yml @@ -0,0 +1,37 @@ +env: local +http: + # host: 0.0.0.0 + host: 127.0.0.1 + port: 8000 +security: + api_sign: + app_key: 123456 + app_security: 123456 + jwt: + key: QQYnRFerJTSEcrfB89fw8prOaObmrch8 +data: + db: + user: + driver: sqlite + dsn: storage/nunu-test.db?_busy_timeout=5000 + # user: + # driver: mysql + # dsn: root:123456@tcp(127.0.0.1:3380)/user?charset=utf8mb4&parseTime=True&loc=Local + # user: + # driver: postgres + # dsn: host=localhost user=gorm password=gorm dbname=gorm port=9920 sslmode=disable TimeZone=Asia/Shanghai + redis: + addr: 127.0.0.1:6350 + password: "" + db: 0 + read_timeout: 0.2s + write_timeout: 0.2s + +log: + log_level: debug + encoding: console # json or console + log_file_name: "./storage/logs/server.log" + max_backups: 30 + max_age: 7 + max_size: 1024 + compress: true \ No newline at end of file diff --git a/config/prod.yml b/config/prod.yml new file mode 100644 index 0000000..27027cb --- /dev/null +++ b/config/prod.yml @@ -0,0 +1,37 @@ +env: prod +http: + host: 0.0.0.0 + # host: 127.0.0.1 + port: 8000 +security: + api_sign: + app_key: 123456 + app_security: 123456 + jwt: + key: QQYnRFerJTSEcrfB89fw8prOaObmrch8 +data: + db: + user: + driver: sqlite + dsn: storage/nunu-test.db?_busy_timeout=5000 + # user: + # driver: mysql + # dsn: root:123456@tcp(127.0.0.1:3380)/user?charset=utf8mb4&parseTime=True&loc=Local + # user: + # driver: postgres + # dsn: host=localhost user=gorm password=gorm dbname=gorm port=9920 sslmode=disable TimeZone=Asia/Shanghai + redis: + addr: 127.0.0.1:6350 + password: "" + db: 0 + read_timeout: 0.2s + write_timeout: 0.2s + +log: + log_level: info + encoding: json # json or console + log_file_name: "./storage/logs/server.log" + max_backups: 30 + max_age: 7 + max_size: 1024 + compress: true \ No newline at end of file diff --git a/deploy/build/Dockerfile b/deploy/build/Dockerfile new file mode 100644 index 0000000..51a959e --- /dev/null +++ b/deploy/build/Dockerfile @@ -0,0 +1,34 @@ +ARG REGISTRY=docker.io +FROM ${REGISTRY}/golang:1.19-alpine AS builder +RUN set -eux && sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories + +ARG APP_RELATIVE_PATH + +COPY .. /data/app +WORKDIR /data/app + +RUN rm -rf /data/app/bin/ +RUN export GOPROXY=https://goproxy.cn,direct && go mod tidy && go build -ldflags="-s -w" -o ./bin/server ${APP_RELATIVE_PATH} +RUN mv config /data/app/bin/ + + +FROM ${REGISTRY}/alpine:3.16 +RUN set -eux && sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories + + +RUN apk add tzdata && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ + && echo "Asia/Shanghai" > /etc/timezone \ + && apk del tzdata + + +ARG APP_ENV +ENV APP_ENV=${APP_ENV} + +WORKDIR /data/app +COPY --from=builder /data/app/bin /data/app + +EXPOSE 8000 +ENTRYPOINT [ "./server" ] + +#docker build -t 1.1.1.1:5000/demo-api:v1 --build-arg APP_CONF=config/prod.yml --build-arg APP_RELATIVE_PATH=./cmd/server/... . +#docker run -it --rm --entrypoint=ash 1.1.1.1:5000/demo-api:v1 diff --git a/deploy/docker-compose/docker-compose.yml b/deploy/docker-compose/docker-compose.yml new file mode 100644 index 0000000..a3375f3 --- /dev/null +++ b/deploy/docker-compose/docker-compose.yml @@ -0,0 +1,25 @@ +version: '3' + +services: + user-db: + image: mysql:8.0.31-debian + hostname: user-db + container_name: user-db + ports: + - 3380:3306 + environment: + - MYSQL_ROOT_PASSWORD=123456 + - MYSQL_ROOT_HOST=% + - MYSQL_DATABASE=user + # volumes: + # - ./data/mysql/user:/var/lib/mysql + # - ./conf/mysql/conf.d:/etc/mysql/conf.d + cache-redis: + image: redis:6-alpine + hostname: cache-redis + # volumes: + # - ./data/redis/cache/:/data + # - ./conf/redis/cache/redis.conf:/etc/redis/redis.conf + ports: + - 6350:6379 + command: ["redis-server","/etc/redis/redis.conf"] diff --git a/docs/docs.go b/docs/docs.go new file mode 100644 index 0000000..a6fac7d --- /dev/null +++ b/docs/docs.go @@ -0,0 +1,1625 @@ +// Package docs Code generated by swaggo/swag. DO NOT EDIT +package docs + +import "github.com/swaggo/swag" + +const docTemplate = `{ + "schemes": {{ marshal .Schemes }}, + "swagger": "2.0", + "info": { + "description": "{{escape .Description}}", + "title": "{{.Title}}", + "termsOfService": "http://swagger.io/terms/", + "contact": { + "name": "API Support", + "url": "http://www.swagger.io/support", + "email": "support@swagger.io" + }, + "license": { + "name": "Apache 2.0", + "url": "http://www.apache.org/licenses/LICENSE-2.0.html" + }, + "version": "{{.Version}}" + }, + "host": "{{.Host}}", + "basePath": "{{.BasePath}}", + "paths": { + "/v1/admin/api": { + "put": { + "security": [ + { + "Bearer": [] + } + ], + "description" + "description": "更新API信息", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "API模块" + ], + "summary": "更新API", + "parameters": [ + { + "description": "参数", + "name": "request", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.ApiUpdateRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + }, + "security": [ + { + "Bearer": [] + } + ], + "description" + "post": { + "description": "创建新的API", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "API模块" + ], + "summary": "创建API", + "parameters": [ + { + "description": "参数", + "name": "request", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.ApiCreateRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + "security": [ + { + "Bearer": [] + } + ], + "description": " + }, + "delete": { + "description": "删除指定API", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "API模块" + ], + "summary": "删除API", + "parameters": [ + { + "type": "integer", + "description": "API ID", + "name": "id", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + } + "security": [ + { + "Bearer": [] + } + ], + + }, + "/v1/admin/apis": { + "get": { + "description": "获取API列表", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "API模块" + ], + "summary": "获取API列表", + "parameters": [ + { + "type": "integer", + "description": "页码", + "name": "page", + "in": "query", + "required": true + }, + { + "type": "integer", + "description": "每页数量", + "name": "pageSize", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "API分组", + "name": "group", + "in": "query" + }, + { + "type": "string", + "description": "API名称", + "name": "name", + "in": "query" + }, + { + "type": "string", + "description": "API路径", + "name": "path", + "in": "query" + }, + { + "type": "string", + "description": "请求方法", + "name": "method", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetApisResponse" + } + } + } + "security": [ + { + "Bearer": [] + } + + } + }, + "/v1/admin/menu": { + "put": { + "description": "更新菜单信息", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "菜单模块" + ], + "summary": "更新菜单", + "parameters": [ + { + "description": "参数", + "name": "request", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.MenuUpdateRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + "post": { + "security": [ + { + "Bearer": [] + + } + } + }, + "post": { + "description": "创建新的菜单", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "菜单模块" + ], + "summary": "创建菜单", + "parameters": [ + { + "description": "参数", + "name": "request", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.MenuCreateRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + }, + "delete": { + "security": [ + { + "Bearer": [ + } + } + }, + "delete": { + "description": "删除指定菜单", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "菜单模块" + ], + "summary": "删除菜单", + "parameters": [ + { + "type": "integer", + "description": "菜单ID", + "name": "id", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + } + }, + "/v1/admin/menus": { + "get": { + "security": [ + { + "Bearer": [] + } + ], + "description": "获取管理员菜单列表", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "菜单模块" + ], + "summary": "获取管理员菜单", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetMenuResponse" + } + } + } +/admin/role": { + "put": { + "security": [ + { + " + } + }, + "/v1/admin/role": { + "put": { + "description": "更新角色信息", + "consumes": [ + "application/json" + ], + "application/json" + ], + "tags": [ + + "角色模块" + ], + "summary": "更新角色", + "parameters": [ + { + "description": "参数", + "name": "request", + "in": "body", +body", + "required" + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.RoleUpdateRequest" + } + ], + "用户模块" + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" +" + } + } + } + }, + "post": + } + } + } + }, + "post": { + "description": "创建新的角色", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "角色模块" + ], + "summary": "创建角色", + "parameters": [ + { + "description": "参数", + "name": "request", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.RoleCreateRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + }, + "delete": { + "description": "删除指定角色", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "角色模块" + ], + "summary": "删除角色", + "parameters": [ + { + ], + "description": "角色ID", + "name": "id", + "description": "OK", + "schema": { + "summary": "获取用户信息", + "responses": { + "200": { +"description": "OK", + + "description": "OK", + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + } + } + }, + "/v1/admin/role/permi + } + } + } + }, + "/v1/admin/role/permissions": { + "get": { + "description": "获取指定角色的权限列表", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "权限模块" + ], + "summary": "获取角色权限", + "parameters": [ + { + "type": "string", + "description": "角色名称", + "name": "role", + "name": "role", + + "required": true + } +uired": true + } + + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Ge + ], + "responses": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetRolePermissionsData" + "$ref": "#/definitions/github_com_go-nunu_nunu-layout-advanced_api_v1.GetProfileResponse" + } + } + "put": { + "description": "更新指定角色的权限列表", + "consumes": [ + "application/json" + }, + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "权限模块" + ], + "summary": "更新角色权限", + "parameters": [ + { + "description": "参数", + "name": "request", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.UpdateRolePermissionRequest" + } + } + ], + "responses": { + "200": { +finitions/nunu-layout-admin_api_v1.Response" + } + } + } + } + }, + "/v1/admin/roles": { + "get": { + "security": + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + } + }, + "/v1/admin/roles": { + "get": { + "description": "获取角色列表", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "角色模块" + ], + "summary": "获取角色列表", + "parameters": [ + { + "type": "integer", + "description": "页码", + "name": "page", + "in": "query", + "required": true + }, + { + "type": "integer", + "description": "每页数量", + "name": "pageSize", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "角色ID", + "name": "sid", + "in": "query" + }, + { + "type": "string", + "description": "角色名称", + "name": "name", + "get": { + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetRolesResponse" + } + } + } + } + }, + "/v1/admin/user": { + "put": { + "security": [ + { + "Bearer": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Get + "tags": [ + "用户模块" + ], + "summary": "获取管理用户信息", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetAdminUserResponse" + } + } + } + }, + "put": { + "description": "更新管理员用户信息", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "用户模块" + ], + "summary": "更新管理员用户", + "parameters": [ + { + "description": "参数", + "name": "request", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.AdminUserUpdateRequest" + } + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + }, + "post": { + "description": "创建新的管理员用户", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "用户模块" + ], + "summary": "创建管理员用户", + "parameters": [ + { + "description": "参数", + "name": "request", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.AdminUserCreateRequest" + } +"#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + }, + "d + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + }, + "delete": { + "description": "删除指定管理员用户", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "用户模块" + ], + "summary": "删除管理员用户", + "parameters": [ + { + "type": "integer", + "description": "用户ID", + "name": "id", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + } + }, + "/v1/admin/user/permissions": { + "get": { + "security": [ + { + "Bearer": [] + } + ], + "description": "获取当前用户的权限列表", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "权限模块" + ], +layout-admin_api_v1.GetUserPermissionsData" + } + } + } + } + }, + "/v1/admin/users": { + " + "summary": "获取用户权限", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetUserPermissionsData" + } + } + } + } + }, + "/v1/admin/users": { + "get": { + "description": "获取管理员用户列表", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "用户模块" + ], + "summary": "获取管理员用户列表", + "parameters": [ + { + "type": "integer", + "description": "页码", + "name": "page", + "in": "query", + "required": true + }, + { + "type": "integer", + "description": "每页数量", + "name": "pageSize", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "用户名", + "name": "username", + "in": "query" + }, + { + "type": "string", + "description": "昵称", + "name": "nickname", + "in": "query" + }, + { + "type": "string", + "description": "手机号", + "name": "phone", + "in": "query" + } + }, + "/v1/login": { + "post": { + "consumes": [ + "application/json" + { + "type": "string", + "description": "邮箱", + "name": "email", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetAdminUsersResponse" + } + } + } +"application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "用户模块" + ], + "summary": "账号登录", + "parameters": [ + { + } + "name": "request", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.LoginRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.LoginResponse" + } + } + + } + }, + "/v1/menus": { + "get": { + "security": [ + { + "Bearer": [] + } + ], + "description": "获取当前用户的菜单列表", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "菜单模块" + "200": { + "description": "OK", + "username" + ], + "properties": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetMenuResponse" + } + } + " + } + } + } + }, + "definitions": { + "nunu-layout-admin_api_v1.AdminUserCreateRequest": { + "type": "object", +", + "username" + ], + "required": [ + "password", + "email": { + "email": { + "type": "string", + "example": "1234@gmail.com" + "nickname": { + "type": "string", + "example": "小Baby" + }, + "password": { + "type": "string", + "example": "123456" + }, + "phone": { + "type": "string", + "example": "1858888888" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "" + ] + }, + "username": { + "type": "string", + "example": "张三" + } + } + }, + "nunu-layout-admin_api_v1.AdminUserDataItem": { + "nickname", + "password", + "type": "string" + }, + "em + "username" + ], + "properties": { + "createdAt": { + "type": "string" + }, + "email": { + "type": "string", + "example": "1234@gmail.com" + }, + "id": { + "properties": { + "code": { + "nickname": { + "type": "integer" + }, + }, + "password": { + "type": "string", + "roles": { + }, + "roles": { + "type": "array", + "items": { + } + } + }, + "nunu-layout-admin_api_v1.AdminUserUpdateRequest": { + }, + "example": [ + }, + "updatedAt": { + "type": "st + "" + ] + }, + "updatedAt": { + }, + }, + "username": { + "type": "string" + "type": "string", + "message": { + "type": "string" + "password": { + "required": [ + }, + "nunu-layout-admin_api_v1. + "username" + "type": "object", + "required": [ + }, + "type": "string", + "example": "1234@gmail.com" + "items": { + "id": { + "type": "integer" + }, + "nickname": { + + "example": "小Baby" + }, + "type": "string", + "type": "string", +e": "string", + "example": "1858888888" + }, + "roles": { + "type": "array", + "items + + "roles": { + "type": "array", + }, + "type": "string" + }, + "example": [ + "" + ] + }, + "username": { + "type": "string", + "example": "张三" + "properties": { + "nickname": { + "type": "string", + } + } + }, + "group": { + "type": "string", + "example": "权限管理" + }, + "method": { + "type": "string", + "example": "GET" + }, + "name": { + "type": "string", + "example": "菜单列表" + }, + "path": { + "type": "string", + "example": "/v1/test" + } + } + }, + "nunu-layout-admin_api_v1.ApiDataItem": { + "type": "object", + "properties": { + "createdAt": { + "type": "string" + }, + "group": { + "type": "string" + }, + "method": { + "id" + }, + "name": { + "type": "string" +pe": "string" + }, + "path": { + "t + }, + "path": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "nunu-layout-admin_api_v1.ApiUpdateRequest": { + }, + "userId": { + "id" + "type": "object", + "required": [ + "group": { + ], + "properties": { + "group": { + "id": { + "type": "integer", + "example": 1 + }, + "method": { + "type": "string", + "example": "GET" + }, + "name": { + "type": "string", + "example": "菜单列表" + }, + "path": { + "type": "string", + "example": "/v1/test" + } + } + }, + "nunu-layout-admin_api_v1.GetAdminUserResponse": { + "type": "object", + }, + "data": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetAdminUserResponseData" + }, +_v1.GetAdminUserResponseData" + }, + "message": { + + } + }, + "nunu-layout-admin_api_v1.GetAdminUserResponseData": { + "type": "object", +erResponseData": { + "type": "object", + "properties": { + "c + "properties": { + "createdAt": { + "type": "string" + }, + "email": { + "type": "string", + + "github_com_go-nunu_nunu-layout-advanced_api_v1.LoginRequest": { + "type": "integer" + "example": "1234@gmail.com" + }, + "id": { + "type": "integer" + "example": "小Baby" + + "type": "object", + "required": [ + }, + "type": "string" + "password": { + "roles": { + "properties": { + "items": { + "type": "string" + }, + "example": [ + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetAdminUsersResponseData" + ] + }, + "updatedAt": { +": "string" + }, + "usernam + "type": "string" + }, + "username": { + "type": "string", + "example": "张三" + } + } + "nunu-layout-admin_api_v1.GetAdminUsersResponse": { + "nunu-layout-admin_api_ + ], + }, + "nunu-la + "type": "object", + "type": "string", + "code": { + "type": "integer" + }, + "data": { + "type": "string", + }, + "message": { + "type": "string" + }, + "nunu-layout-admin_api_v1.GetAdminUsersResponseData": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.AdminUserDataItem" + } + }, + "total": { + "type": "integer" + } + } + }, + "nunu-layout-admin_api_v1.GetApisResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "data": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetApisResponseData" + }, + "message": { + "type": "string" + } + } + }, + "nunu-layout-admin_api_v1.GetApisResponseData": { + "type": "object", + "properties": { + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.ApiDataItem" + } + }, + "total": { + "type": "integer" + } + } + }, + "nunu-layout-admin_api_v1.GetMenuResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "data": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetMenuResponseData" + }, + "message": { + "type": "string" + } + } + }, + "nunu-layout-admin_api_v1.GetMenuResponseData": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.MenuDataItem" + } + } + } + }, + "nunu-layout-admin_api_v1.GetRolePermissionsData": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "nunu-layout-admin_api_v1.GetRolesResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "data": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetRolesResponseData" + }, + "message": { + "type": "string" + } + } + } + } + }, + "nunu-layout-admin_api_v1.LoginRequest": { + "type": "object", + "required": [ + } + }, + ], + "properties": { + "password": { + "type": "integer" + } + "type": "integer" + } + } + }, + "nunu-layout-admin_api_v1.GetUserPermissionsData": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "nunu-layout-admin_api_v1.LoginRequest": { + "type": "object", + "required": [ + "password", + "username" + ], + "properties": { + "password": { + "type": "string", + "example": "123456" + }, + "username": { + "type": "string", + "example": "1234@gmail.com" + } + } + }, + "nunu-layout-admin_api_v1.LoginResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "data": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.LoginResponseData" + }, + "message": { + "type": "string" + } + } + }, + "nunu-layout-admin_api_v1.LoginResponseData": { + "type": "object", + "properties": { + "accessToken": { + "type": "string" + } + } + }, + "nunu-layout-admin_api_v1.MenuCreateRequest": { + "type": "object", + "properties": { + "component": { + "description": "绑定的组件", + "type": "string" + }, + "hideInMenu": { + "description": "是否保活", + "type": "boolean" + }, + "icon": { + "description": "图标,使用字符串表示", + "type": "string" + }, + "keepAlive": { + "description": "是否保活", + + } + }, + "nunu-layout-admin_api_v1.GetUserPermissionsData": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "type": "string" + } + "nunu-layout-admin_api_v1.MenuDataItem": { + "type": "object", + "properties": { + "component": { + "description": "绑定的组件", + "type": "string" + }, + "hideInMenu": { + "description": "是否保活", + "type": "boolean" + }, + "icon": { + "description": "图标,使用字符串表示", + "type": "string" + }, + "id": { + "description": "唯一id,使用整数表示", + "type": "integer" + }, + "keepAlive": { + "description": "是否保活", + "type": "boolean" + }, + "locale": { + "description": "本地化标识", + "type": "string" + }, + "name": { + "description": "同路由中的name,唯一标识", + "type": "string" + }, + "parentId": { + "description": "父级菜单的id,使用整数表示", + "type": "integer" + }, + "path": { + "description": "地址", + "type": "string" + }, + "redirect": { + "description": "重定向地址", + "type": "string" + }, + "title": { + "description": "展示名称", + "type": "string" + }, + "updatedAt": { + "description": "是否保活", + "type": "string" + }, + "url": { + "description": "iframe模式下的跳转url,不能与path重复", + "type": "string" + }, + "weight": { + "description": "排序权重", + "type": "integer" + } + } + }, + "nunu-layout-admin_api_v1.MenuUpdateRequest": { + "type": "object", + "properties": { + "component": { + "description": "绑定的组件", + "type": "string" + }, + "hideInMenu": { + "description": "是否保活", + "type": "boolean" + }, + "icon": { + "description": "图标,使用字符串表示", + "type": "string" + }, + "id": { + "description": "唯一id,使用整数表示", + "type": "integer" + }, + "keepAlive": { + "description": "是否保活", + "type": "boolean" + }, + "locale": { + "description": "本地化标识", + "type": "string" + }, + "name": { + "description": "同路由中的name,唯一标识", + "type": "string" + }, + "parentId": { + "description": "父级菜单的id,使用整数表示", + "type": "integer" + }, + "path": { + "description": "地址", + "type": "string" + }, + "redirect": { + "description": "重定向地址", + "type": "string" + }, + "title": { + "description": "展示名称", + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "url": { + "description": "iframe模式下的跳转url,不能与path重复", + "type": "string" + }, + "weight": { + "description": "排序权重", + "type": "integer" + } + } + }, + "nunu-layout-admin_api_v1.Response": { + "data": { + } + } + }, + "type": "string" + "email", + "password" + "password", + "username" + "email": { + "type": "string", + "nunu-layout-admin_api_v1.RoleCreateRequest": { + } + } + "name", + "sid" + "github_com_go-nunu_nunu-layout-advanced_api_v1.Response": { + "type": "object", + "name": { + "type": "string", + "example": "Admin" + }, + "sid": { + "type": "string", + "example": "1" + } + } + }, + "nunu-layout-admin_api_v1.RoleDataItem": { + "type": "object", + "properties": { + "createdAt": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "sid": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "nunu-layout-admin_api_v1.RoleUpdateRequest": { + "type": "object", + "required": [ + "id", + "name", + "sid" + ], + "properties": { + "id": { + "type": "integer", + "example": 1 + }, + "name": { + "type": "string", + "example": "Admin" + }, + "sid": { + "code": { + "example": "1" + } + } + }, + "nunu-layout-admin_api_v1.UpdateRolePermissionRequest": { + "type": "object", + "required": [ + "list", + "role" + ], + "properties": { + "list": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "" + ] + }, + "role": { + "message": { + "example": "admin" + } + } + }, + "github_com_go-nunu_nunu-layout-advanced_api_v1.UpdateProfileRequest": { + "type": "object", + "required": [ + "email" + ], + "properties": { + "email": { + "type": "string", + "example": "1234@gmail.com" + }, + "nickname": { + "type": "string", + "example": "alan" + } + } + } + }, + "securityDefinitions": { + "Bearer": { + "type": "apiKey", + "name": "Authorization", + "in": "header" + } + } +}` + +// SwaggerInfo holds exported Swagger Info so clients can modify it +var SwaggerInfo = &swag.Spec{ + Version: "1.0.0", + Host: "localhost:8000", + BasePath: "", + Schemes: []string{}, + Title: "Nunu Example API", + Description: "This is a sample server celler server.", + InfoInstanceName: "swagger", + SwaggerTemplate: docTemplate, + LeftDelim: "{{", + RightDelim: "}}", +} + +func init() { + swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo) +} diff --git a/docs/swagger.json b/docs/swagger.json new file mode 100644 index 0000000..63b1962 --- /dev/null +++ b/docs/swagger.json @@ -0,0 +1,1584 @@ +{ + "swagger": "2.0", + "info": { + "description": "This is a sample server celler server.", + "title": "Nunu Example API", + "termsOfService": "http://swagger.io/terms/", + "contact": { + "name": "API Support", + "url": "http://www.swagger.io/support", + "email": "support@swagger.io" + }, + "license": { + "name": "Apache 2.0", + "url": "http://www.apache.org/licenses/LICENSE-2.0.html" + }, + "version": "1.0.0" + }, + "host": "localhost:8000", + "paths": { + "/v1/admin/api": { + "put": { + "security": [ + { + "Bearer": [] + } + ], + "description": "更新API信息", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "API模块" + ], + "summary": "更新API", + "parameters": [ + { + "description": "参数", + "name": "request", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.ApiUpdateRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + }, + "post": { + "security": [ + { + "Bearer": [] + } + ], + "description": "创建新的API", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "API模块" + ], + "summary": "创建API", + "parameters": [ + { + "description": "参数", + "name": "request", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.ApiCreateRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + }, + "delete": { + "security": [ + { + "Bearer": [] + } + ], + "description": "删除指定API", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "API模块" + ], + "summary": "删除API", + "parameters": [ + { + "type": "integer", + "description": "API ID", + "name": "id", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + } + }, + "/v1/admin/apis": { + "get": { + "security": [ + { + "Bearer": [] + } + ], + "description": "获取API列表", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "API模块" + ], + "summary": "获取API列表", + "parameters": [ + { + "type": "integer", + "description": "页码", + "name": "page", + "in": "query", + "required": true + }, + { + "type": "integer", + "description": "每页数量", + "name": "pageSize", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "API分组", + "name": "group", + "in": "query" + }, + { + "type": "string", + "description": "API名称", + "name": "name", + "in": "query" + }, + { + "type": "string", + "description": "API路径", + "name": "path", + "in": "query" + }, + { + "type": "string", + "description": "请求方法", + "name": "method", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetApisResponse" + } + } + } + } + }, + "/v1/admin/menu": { + "put": { + "security": [ + { + "Bearer": [] + } + ], + "description": "更新菜单信息", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "菜单模块" + ], + "summary": "更新菜单", + "parameters": [ + { + "description": "参数", + "name": "request", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.MenuUpdateRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + }, + "post": { + "security": [ + { + "Bearer": [] + } + ], + "description": "创建新的菜单", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "菜单模块" + ], + "summary": "创建菜单", + "parameters": [ + { + "description": "参数", + "name": "request", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.MenuCreateRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + }, + "delete": { + "security": [ + { + "Bearer": [] + } + ], + "description": "删除指定菜单", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "菜单模块" + ], + "summary": "删除菜单", + "parameters": [ + { + "type": "integer", + "description": "菜单ID", + "name": "id", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + } + }, + "/v1/admin/menus": { + "get": { + "security": [ + { + "Bearer": [] + } + ], + "description": "获取管理员菜单列表", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "菜单模块" + ], + "summary": "获取管理员菜单", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetMenuResponse" + } + } + } + } + }, + "/v1/admin/role": { + "put": { + "security": [ + { + "Bearer": [] + } + ], + "description": "更新角色信息", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "角色模块" + ], + "summary": "更新角色", + "parameters": [ + { + "description": "参数", + "name": "request", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.RoleUpdateRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + }, + "post": { + "security": [ + { + "Bearer": [] + } + ], + "description": "创建新的角色", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "角色模块" + ], + "summary": "创建角色", + "parameters": [ + { + "description": "参数", + "name": "request", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.RoleCreateRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + }, + "delete": { + "security": [ + { + "Bearer": [] + } + ], + "description": "删除指定角色", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "角色模块" + ], + "summary": "删除角色", + "parameters": [ + { + "type": "integer", + "description": "角色ID", + "name": "id", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + } + }, + "/v1/admin/role/permissions": { + "get": { + "security": [ + { + "Bearer": [] + } + ], + "description": "获取指定角色的权限列表", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "权限模块" + ], + "summary": "获取角色权限", + "parameters": [ + { + "type": "string", + "description": "角色名称", + "name": "role", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetRolePermissionsData" + } + } + } + }, + "put": { + "security": [ + { + "Bearer": [] + } + ], + "description": "更新指定角色的权限列表", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "权限模块" + ], + "summary": "更新角色权限", + "parameters": [ + { + "description": "参数", + "name": "request", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.UpdateRolePermissionRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + } + }, + "/v1/admin/roles": { + "get": { + "security": [ + { + "Bearer": [] + } + ], + "description": "获取角色列表", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "角色模块" + ], + "summary": "获取角色列表", + "parameters": [ + { + "type": "integer", + "description": "页码", + "name": "page", + "in": "query", + "required": true + }, + { + "type": "integer", + "description": "每页数量", + "name": "pageSize", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "角色ID", + "name": "sid", + "in": "query" + }, + { + "type": "string", + "description": "角色名称", + "name": "name", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetRolesResponse" + } + } + } + } + }, + "/v1/admin/user": { + "get": { + "security": [ + { + "Bearer": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "用户模块" + ], + "summary": "获取管理用户信息", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetAdminUserResponse" + } + } + } + }, + "put": { + "security": [ + { + "Bearer": [] + } + ], + "description": "更新管理员用户信息", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "用户模块" + ], + "summary": "更新管理员用户", + "parameters": [ + { + "description": "参数", + "name": "request", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.AdminUserUpdateRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + }, + "post": { + "security": [ + { + "Bearer": [] + } + ], + "description": "创建新的管理员用户", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "用户模块" + ], + "summary": "创建管理员用户", + "parameters": [ + { + "description": "参数", + "name": "request", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.AdminUserCreateRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + }, + "delete": { + "security": [ + { + "Bearer": [] + } + ], + "description": "删除指定管理员用户", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "用户模块" + ], + "summary": "删除管理员用户", + "parameters": [ + { + "type": "integer", + "description": "用户ID", + "name": "id", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.Response" + } + } + } + } + }, + "/v1/admin/user/permissions": { + "get": { + "security": [ + { + "Bearer": [] + } + ], + "description": "获取当前用户的权限列表", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "权限模块" + ], + "summary": "获取用户权限", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetUserPermissionsData" + } + } + } + } + }, + "/v1/admin/users": { + "get": { + "security": [ + { + "Bearer": [] + } + ], + "description": "获取管理员用户列表", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "用户模块" + ], + "summary": "获取管理员用户列表", + "parameters": [ + { + "type": "integer", + "description": "页码", + "name": "page", + "in": "query", + "required": true + }, + { + "type": "integer", + "description": "每页数量", + "name": "pageSize", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "用户名", + "name": "username", + "in": "query" + }, + { + "type": "string", + "description": "昵称", + "name": "nickname", + "in": "query" + }, + { + "type": "string", + "description": "手机号", + "name": "phone", + "in": "query" + }, + { + "type": "string", + "description": "邮箱", + "name": "email", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetAdminUsersResponse" + } + } + } + } + }, + "/v1/login": { + "post": { + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "用户模块" + ], + "summary": "账号登录", + "parameters": [ + { + "description": "params", + "name": "request", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.LoginRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.LoginResponse" + } + } + } + } + }, + "/v1/menus": { + "get": { + "security": [ + { + "Bearer": [] + } + ], + "description": "获取当前用户的菜单列表", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "菜单模块" + ], + "summary": "获取用户菜单", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetMenuResponse" + } + } + } + } + } + }, + "definitions": { + "nunu-layout-admin_api_v1.AdminUserCreateRequest": { + "type": "object", + "required": [ + "password", + "username" + ], + "properties": { + "email": { + "type": "string", + "example": "1234@gmail.com" + }, + "nickname": { + "type": "string", + "example": "小Baby" + }, + "password": { + "type": "string", + "example": "123456" + }, + "phone": { + "type": "string", + "example": "1858888888" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "" + ] + }, + "username": { + "type": "string", + "example": "张三" + } + } + }, + "nunu-layout-admin_api_v1.AdminUserDataItem": { + "type": "object", + "required": [ + "email", + "nickname", + "password", + "username" + ], + "properties": { + "createdAt": { + "type": "string" + }, + "email": { + "type": "string", + "example": "1234@gmail.com" + }, + "id": { + "type": "integer" + }, + "nickname": { + "type": "string", + "example": "小Baby" + }, + "password": { + "type": "string", + "example": "123456" + }, + "phone": { + "type": "string", + "example": "1858888888" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "" + ] + }, + "updatedAt": { + "type": "string" + }, + "username": { + "type": "string", + "example": "张三" + } + } + }, + "nunu-layout-admin_api_v1.AdminUserUpdateRequest": { + "type": "object", + "required": [ + "username" + ], + "properties": { + "email": { + "type": "string", + "example": "1234@gmail.com" + }, + "id": { + "type": "integer" + }, + "nickname": { + "type": "string", + "example": "小Baby" + }, + "password": { + "type": "string", + "example": "123456" + }, + "phone": { + "type": "string", + "example": "1858888888" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "" + ] + }, + "username": { + "type": "string", + "example": "张三" + } + } + }, + "nunu-layout-admin_api_v1.ApiCreateRequest": { + "type": "object", + "properties": { + "group": { + "type": "string", + "example": "权限管理" + }, + "method": { + "type": "string", + "example": "GET" + }, + "name": { + "type": "string", + "example": "菜单列表" + }, + "path": { + "type": "string", + "example": "/v1/test" + } + } + }, + "nunu-layout-admin_api_v1.ApiDataItem": { + "type": "object", + "properties": { + "createdAt": { + "type": "string" + }, + "group": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "method": { + "type": "string" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "nunu-layout-admin_api_v1.ApiUpdateRequest": { + "type": "object", + "required": [ + "id" + ], + "properties": { + "group": { + "type": "string", + "example": "权限管理" + }, + "id": { + "type": "integer", + "example": 1 + }, + "method": { + "type": "string", + "example": "GET" + }, + "name": { + "type": "string", + "example": "菜单列表" + }, + "path": { + "type": "string", + "example": "/v1/test" + } + } + }, + "nunu-layout-admin_api_v1.GetAdminUserResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "data": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetAdminUserResponseData" + }, + "message": { + "type": "string" + } + } + }, + "nunu-layout-admin_api_v1.GetAdminUserResponseData": { + "type": "object", + "properties": { + "createdAt": { + "type": "string" + }, + "email": { + "type": "string", + "example": "1234@gmail.com" + }, + "id": { + "type": "integer" + }, + "nickname": { + "type": "string", + "example": "小Baby" + }, + "password": { + "type": "string", + "example": "123456" + }, + "phone": { + "type": "string", + "example": "1858888888" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "" + ] + }, + "updatedAt": { + "type": "string" + }, + "username": { + "type": "string", + "example": "张三" + } + } + }, + "nunu-layout-admin_api_v1.GetAdminUsersResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "data": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetAdminUsersResponseData" + }, + "message": { + "type": "string" + } + } + }, + "nunu-layout-admin_api_v1.GetAdminUsersResponseData": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.AdminUserDataItem" + } + }, + "total": { + "type": "integer" + } + } + }, + "nunu-layout-admin_api_v1.GetApisResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "data": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetApisResponseData" + }, + "message": { + "type": "string" + } + } + }, + "nunu-layout-admin_api_v1.GetApisResponseData": { + "type": "object", + "properties": { + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.ApiDataItem" + } + }, + "total": { + "type": "integer" + } + } + }, + "nunu-layout-admin_api_v1.GetMenuResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "data": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetMenuResponseData" + }, + "message": { + "type": "string" + } + } + }, + "nunu-layout-admin_api_v1.GetMenuResponseData": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.MenuDataItem" + } + } + } + }, + "nunu-layout-admin_api_v1.GetRolePermissionsData": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "nunu-layout-admin_api_v1.GetRolesResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "data": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.GetRolesResponseData" + }, + "message": { + "type": "string" + } + } + }, + "nunu-layout-admin_api_v1.GetRolesResponseData": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.RoleDataItem" + } + }, + "total": { + "type": "integer" + } + } + }, + "nunu-layout-admin_api_v1.GetUserPermissionsData": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "nunu-layout-admin_api_v1.LoginRequest": { + "type": "object", + "required": [ + "password", + "username" + ], + "properties": { + "password": { + "type": "string", + "example": "123456" + }, + "username": { + "type": "string", + "example": "1234@gmail.com" + } + } + }, + "nunu-layout-admin_api_v1.LoginResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "data": { + "$ref": "#/definitions/nunu-layout-admin_api_v1.LoginResponseData" + }, + "message": { + "type": "string" + } + } + }, + "nunu-layout-admin_api_v1.LoginResponseData": { + "type": "object", + "properties": { + "accessToken": { + "type": "string" + } + } + }, + "nunu-layout-admin_api_v1.MenuCreateRequest": { + "type": "object", + "properties": { + "component": { + "description": "绑定的组件", + "type": "string" + }, + "hideInMenu": { + "description": "是否保活", + "type": "boolean" + }, + "icon": { + "description": "图标,使用字符串表示", + "type": "string" + }, + "keepAlive": { + "description": "是否保活", + "type": "boolean" + }, + "locale": { + "description": "本地化标识", + "type": "string" + }, + "name": { + "description": "同路由中的name,唯一标识", + "type": "string" + }, + "parentId": { + "description": "父级菜单的id,使用整数表示", + "type": "integer" + }, + "path": { + "description": "地址", + "type": "string" + }, + "redirect": { + "description": "重定向地址", + "type": "string" + }, + "title": { + "description": "展示名称", + "type": "string" + }, + "url": { + "description": "iframe模式下的跳转url,不能与path重复", + "type": "string" + }, + "weight": { + "description": "排序权重", + "type": "integer" + } + } + }, + "nunu-layout-admin_api_v1.MenuDataItem": { + "type": "object", + "properties": { + "component": { + "description": "绑定的组件", + "type": "string" + }, + "hideInMenu": { + "description": "是否保活", + "type": "boolean" + }, + "icon": { + "description": "图标,使用字符串表示", + "type": "string" + }, + "id": { + "description": "唯一id,使用整数表示", + "type": "integer" + }, + "keepAlive": { + "description": "是否保活", + "type": "boolean" + }, + "locale": { + "description": "本地化标识", + "type": "string" + }, + "name": { + "description": "同路由中的name,唯一标识", + "type": "string" + }, + "parentId": { + "description": "父级菜单的id,使用整数表示", + "type": "integer" + }, + "path": { + "description": "地址", + "type": "string" + }, + "redirect": { + "description": "重定向地址", + "type": "string" + }, + "title": { + "description": "展示名称", + "type": "string" + }, + "updatedAt": { + "description": "是否保活", + "type": "string" + }, + "url": { + "description": "iframe模式下的跳转url,不能与path重复", + "type": "string" + }, + "weight": { + "description": "排序权重", + "type": "integer" + } + } + }, + "nunu-layout-admin_api_v1.MenuUpdateRequest": { + "type": "object", + "properties": { + "component": { + "description": "绑定的组件", + "type": "string" + }, + "hideInMenu": { + "description": "是否保活", + "type": "boolean" + }, + "icon": { + "description": "图标,使用字符串表示", + "type": "string" + }, + "id": { + "description": "唯一id,使用整数表示", + "type": "integer" + }, + "keepAlive": { + "description": "是否保活", + "type": "boolean" + }, + "locale": { + "description": "本地化标识", + "type": "string" + }, + "name": { + "description": "同路由中的name,唯一标识", + "type": "string" + }, + "parentId": { + "description": "父级菜单的id,使用整数表示", + "type": "integer" + }, + "path": { + "description": "地址", + "type": "string" + }, + "redirect": { + "description": "重定向地址", + "type": "string" + }, + "title": { + "description": "展示名称", + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "url": { + "description": "iframe模式下的跳转url,不能与path重复", + "type": "string" + }, + "weight": { + "description": "排序权重", + "type": "integer" + } + } + }, + "nunu-layout-admin_api_v1.Response": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "data": {}, + "message": { + "type": "string" + } + } + }, + "nunu-layout-admin_api_v1.RoleCreateRequest": { + "type": "object", + "required": [ + "name", + "sid" + ], + "properties": { + "name": { + "type": "string", + "example": "Admin" + }, + "sid": { + "type": "string", + "example": "1" + } + } + }, + "nunu-layout-admin_api_v1.RoleDataItem": { + "type": "object", + "properties": { + "createdAt": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "sid": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "nunu-layout-admin_api_v1.RoleUpdateRequest": { + "type": "object", + "required": [ + "id", + "name", + "sid" + ], + "properties": { + "id": { + "type": "integer", + "example": 1 + }, + "name": { + "type": "string", + "example": "Admin" + }, + "sid": { + "type": "string", + "example": "1" + } + } + }, + "nunu-layout-admin_api_v1.UpdateRolePermissionRequest": { + "type": "object", + "required": [ + "list", + "role" + ], + "properties": { + "list": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "" + ] + }, + "role": { + "type": "string", + "example": "admin" + } + } + } + }, + "securityDefinitions": { + "Bearer": { + "type": "apiKey", + "name": "Authorization", + "in": "header" + } + } +} \ No newline at end of file diff --git a/docs/swagger.yaml b/docs/swagger.yaml new file mode 100644 index 0000000..62b3d70 --- /dev/null +++ b/docs/swagger.yaml @@ -0,0 +1,1041 @@ +definitions: + nunu-layout-admin_api_v1.AdminUserCreateRequest: + properties: + email: + example: 1234@gmail.com + type: string + nickname: + example: 小Baby + type: string + password: + example: "123456" + type: string + phone: + example: "1858888888" + type: string + roles: + example: + - "" + items: + type: string + type: array + username: + example: 张三 + type: string + required: + - password + - username + type: object + nunu-layout-admin_api_v1.AdminUserDataItem: + properties: + createdAt: + type: string + email: + example: 1234@gmail.com + type: string + id: + type: integer + nickname: + example: 小Baby + type: string + password: + example: "123456" + type: string + phone: + example: "1858888888" + type: string + roles: + example: + - "" + items: + type: string + type: array + updatedAt: + type: string + username: + example: 张三 + type: string + required: + - email + - nickname + - password + - username + type: object + nunu-layout-admin_api_v1.AdminUserUpdateRequest: + properties: + email: + example: 1234@gmail.com + type: string + id: + type: integer + nickname: + example: 小Baby + type: string + password: + example: "123456" + type: string + phone: + example: "1858888888" + type: string + roles: + example: + - "" + items: + type: string + type: array + username: + example: 张三 + type: string + required: + - username + type: object + nunu-layout-admin_api_v1.ApiCreateRequest: + properties: + group: + example: 权限管理 + type: string + method: + example: GET + type: string + name: + example: 菜单列表 + type: string + path: + example: /v1/test + type: string + type: object + nunu-layout-admin_api_v1.ApiDataItem: + properties: + createdAt: + type: string + group: + type: string + id: + type: integer + method: + type: string + name: + type: string + path: + type: string + updatedAt: + type: string + type: object + nunu-layout-admin_api_v1.ApiUpdateRequest: + properties: + group: + example: 权限管理 + type: string + id: + example: 1 + type: integer + method: + example: GET + type: string + name: + example: 菜单列表 + type: string + path: + example: /v1/test + type: string + required: + - id + type: object + nunu-layout-admin_api_v1.GetAdminUserResponse: + properties: + code: + type: integer + data: + $ref: '#/definitions/nunu-layout-admin_api_v1.GetAdminUserResponseData' + message: + type: string + type: object + nunu-layout-admin_api_v1.GetAdminUserResponseData: + properties: + createdAt: + type: string + email: + example: 1234@gmail.com + type: string + id: + type: integer + nickname: + example: 小Baby + type: string + password: + example: "123456" + type: string + phone: + example: "1858888888" + type: string + roles: + example: + - "" + items: + type: string + type: array + updatedAt: + type: string + username: + example: 张三 + type: string + type: object + nunu-layout-admin_api_v1.GetAdminUsersResponse: + properties: + code: + type: integer + data: + $ref: '#/definitions/nunu-layout-admin_api_v1.GetAdminUsersResponseData' + message: + type: string + type: object + nunu-layout-admin_api_v1.GetAdminUsersResponseData: + properties: + list: + items: + $ref: '#/definitions/nunu-layout-admin_api_v1.AdminUserDataItem' + type: array + total: + type: integer + type: object + nunu-layout-admin_api_v1.GetApisResponse: + properties: + code: + type: integer + data: + $ref: '#/definitions/nunu-layout-admin_api_v1.GetApisResponseData' + message: + type: string + type: object + nunu-layout-admin_api_v1.GetApisResponseData: + properties: + groups: + items: + type: string + type: array + list: + items: + $ref: '#/definitions/nunu-layout-admin_api_v1.ApiDataItem' + type: array + total: + type: integer + type: object + nunu-layout-admin_api_v1.GetMenuResponse: + properties: + code: + type: integer + data: + $ref: '#/definitions/nunu-layout-admin_api_v1.GetMenuResponseData' + message: + type: string + type: object + nunu-layout-admin_api_v1.GetMenuResponseData: + properties: + list: + items: + $ref: '#/definitions/nunu-layout-admin_api_v1.MenuDataItem' + type: array + type: object + nunu-layout-admin_api_v1.GetRolePermissionsData: + properties: + list: + items: + type: string + type: array + type: object + nunu-layout-admin_api_v1.GetRolesResponse: + properties: + code: + type: integer + data: + $ref: '#/definitions/nunu-layout-admin_api_v1.GetRolesResponseData' + message: + type: string + type: object + nunu-layout-admin_api_v1.GetRolesResponseData: + properties: + list: + items: + $ref: '#/definitions/nunu-layout-admin_api_v1.RoleDataItem' + type: array + total: + type: integer + type: object + nunu-layout-admin_api_v1.GetUserPermissionsData: + properties: + list: + items: + type: string + type: array + type: object + nunu-layout-admin_api_v1.LoginRequest: + properties: + password: + example: "123456" + type: string + username: + example: 1234@gmail.com + type: string + required: + - password + - username + type: object + nunu-layout-admin_api_v1.LoginResponse: + properties: + code: + type: integer + data: + $ref: '#/definitions/nunu-layout-admin_api_v1.LoginResponseData' + message: + type: string + type: object + nunu-layout-admin_api_v1.LoginResponseData: + properties: + accessToken: + type: string + type: object + nunu-layout-admin_api_v1.MenuCreateRequest: + properties: + component: + description: 绑定的组件 + type: string + hideInMenu: + description: 是否保活 + type: boolean + icon: + description: 图标,使用字符串表示 + type: string + keepAlive: + description: 是否保活 + type: boolean + locale: + description: 本地化标识 + type: string + name: + description: 同路由中的name,唯一标识 + type: string + parentId: + description: 父级菜单的id,使用整数表示 + type: integer + path: + description: 地址 + type: string + redirect: + description: 重定向地址 + type: string + title: + description: 展示名称 + type: string + url: + description: iframe模式下的跳转url,不能与path重复 + type: string + weight: + description: 排序权重 + type: integer + type: object + nunu-layout-admin_api_v1.MenuDataItem: + properties: + component: + description: 绑定的组件 + type: string + hideInMenu: + description: 是否保活 + type: boolean + icon: + description: 图标,使用字符串表示 + type: string + id: + description: 唯一id,使用整数表示 + type: integer + keepAlive: + description: 是否保活 + type: boolean + locale: + description: 本地化标识 + type: string + name: + description: 同路由中的name,唯一标识 + type: string + parentId: + description: 父级菜单的id,使用整数表示 + type: integer + path: + description: 地址 + type: string + redirect: + description: 重定向地址 + type: string + title: + description: 展示名称 + type: string + updatedAt: + description: 是否保活 + type: string + url: + description: iframe模式下的跳转url,不能与path重复 + type: string + weight: + description: 排序权重 + type: integer + type: object + nunu-layout-admin_api_v1.MenuUpdateRequest: + properties: + component: + description: 绑定的组件 + type: string + hideInMenu: + description: 是否保活 + type: boolean + icon: + description: 图标,使用字符串表示 + type: string + id: + description: 唯一id,使用整数表示 + type: integer + keepAlive: + description: 是否保活 + type: boolean + locale: + description: 本地化标识 + type: string + name: + description: 同路由中的name,唯一标识 + type: string + parentId: + description: 父级菜单的id,使用整数表示 + type: integer + path: + description: 地址 + type: string + redirect: + description: 重定向地址 + type: string + title: + description: 展示名称 + type: string + updatedAt: + type: string + url: + description: iframe模式下的跳转url,不能与path重复 + type: string + weight: + description: 排序权重 + type: integer + type: object + nunu-layout-admin_api_v1.Response: + properties: + code: + type: integer + data: {} + message: + type: string + type: object + nunu-layout-admin_api_v1.RoleCreateRequest: + properties: + name: + example: Admin + type: string + sid: + example: "1" + type: string + required: + - name + - sid + type: object + nunu-layout-admin_api_v1.RoleDataItem: + properties: + createdAt: + type: string + id: + type: integer + name: + type: string + sid: + type: string + updatedAt: + type: string + type: object + nunu-layout-admin_api_v1.RoleUpdateRequest: + properties: + id: + example: 1 + type: integer + name: + example: Admin + type: string + sid: + example: "1" + type: string + required: + - id + - name + - sid + type: object + nunu-layout-admin_api_v1.UpdateRolePermissionRequest: + properties: + list: + example: + - "" + items: + type: string + type: array + role: + example: admin + type: string + required: + - list + - role + type: object +host: localhost:8000 +info: + contact: + email: support@swagger.io + name: API Support + url: http://www.swagger.io/support + description: This is a sample server celler server. + license: + name: Apache 2.0 + url: http://www.apache.org/licenses/LICENSE-2.0.html + termsOfService: http://swagger.io/terms/ + title: Nunu Example API + version: 1.0.0 +paths: + /v1/admin/api: + delete: + consumes: + - application/json + description: 删除指定API + parameters: + - description: API ID + in: query + name: id + required: true + type: integer + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.Response' + security: + - Bearer: [] + summary: 删除API + tags: + - API模块 + post: + consumes: + - application/json + description: 创建新的API + parameters: + - description: 参数 + in: body + name: request + required: true + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.ApiCreateRequest' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.Response' + security: + - Bearer: [] + summary: 创建API + tags: + - API模块 + put: + consumes: + - application/json + description: 更新API信息 + parameters: + - description: 参数 + in: body + name: request + required: true + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.ApiUpdateRequest' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.Response' + security: + - Bearer: [] + summary: 更新API + tags: + - API模块 + /v1/admin/apis: + get: + consumes: + - application/json + description: 获取API列表 + parameters: + - description: 页码 + in: query + name: page + required: true + type: integer + - description: 每页数量 + in: query + name: pageSize + required: true + type: integer + - description: API分组 + in: query + name: group + type: string + - description: API名称 + in: query + name: name + type: string + - description: API路径 + in: query + name: path + type: string + - description: 请求方法 + in: query + name: method + type: string + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.GetApisResponse' + security: + - Bearer: [] + summary: 获取API列表 + tags: + - API模块 + /v1/admin/menu: + delete: + consumes: + - application/json + description: 删除指定菜单 + parameters: + - description: 菜单ID + in: query + name: id + required: true + type: integer + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.Response' + security: + - Bearer: [] + summary: 删除菜单 + tags: + - 菜单模块 + post: + consumes: + - application/json + description: 创建新的菜单 + parameters: + - description: 参数 + in: body + name: request + required: true + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.MenuCreateRequest' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.Response' + security: + - Bearer: [] + summary: 创建菜单 + tags: + - 菜单模块 + put: + consumes: + - application/json + description: 更新菜单信息 + parameters: + - description: 参数 + in: body + name: request + required: true + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.MenuUpdateRequest' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.Response' + security: + - Bearer: [] + summary: 更新菜单 + tags: + - 菜单模块 + /v1/admin/menus: + get: + consumes: + - application/json + description: 获取管理员菜单列表 + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.GetMenuResponse' + security: + - Bearer: [] + summary: 获取管理员菜单 + tags: + - 菜单模块 + /v1/admin/role: + delete: + consumes: + - application/json + description: 删除指定角色 + parameters: + - description: 角色ID + in: query + name: id + required: true + type: integer + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.Response' + security: + - Bearer: [] + summary: 删除角色 + tags: + - 角色模块 + post: + consumes: + - application/json + description: 创建新的角色 + parameters: + - description: 参数 + in: body + name: request + required: true + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.RoleCreateRequest' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.Response' + security: + - Bearer: [] + summary: 创建角色 + tags: + - 角色模块 + put: + consumes: + - application/json + description: 更新角色信息 + parameters: + - description: 参数 + in: body + name: request + required: true + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.RoleUpdateRequest' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.Response' + security: + - Bearer: [] + summary: 更新角色 + tags: + - 角色模块 + /v1/admin/role/permissions: + get: + consumes: + - application/json + description: 获取指定角色的权限列表 + parameters: + - description: 角色名称 + in: query + name: role + required: true + type: string + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.GetRolePermissionsData' + security: + - Bearer: [] + summary: 获取角色权限 + tags: + - 权限模块 + put: + consumes: + - application/json + description: 更新指定角色的权限列表 + parameters: + - description: 参数 + in: body + name: request + required: true + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.UpdateRolePermissionRequest' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.Response' + security: + - Bearer: [] + summary: 更新角色权限 + tags: + - 权限模块 + /v1/admin/roles: + get: + consumes: + - application/json + description: 获取角色列表 + parameters: + - description: 页码 + in: query + name: page + required: true + type: integer + - description: 每页数量 + in: query + name: pageSize + required: true + type: integer + - description: 角色ID + in: query + name: sid + type: string + - description: 角色名称 + in: query + name: name + type: string + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.GetRolesResponse' + security: + - Bearer: [] + summary: 获取角色列表 + tags: + - 角色模块 + /v1/admin/user: + delete: + consumes: + - application/json + description: 删除指定管理员用户 + parameters: + - description: 用户ID + in: query + name: id + required: true + type: integer + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.Response' + security: + - Bearer: [] + summary: 删除管理员用户 + tags: + - 用户模块 + get: + consumes: + - application/json + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.GetAdminUserResponse' + security: + - Bearer: [] + summary: 获取管理用户信息 + tags: + - 用户模块 + post: + consumes: + - application/json + description: 创建新的管理员用户 + parameters: + - description: 参数 + in: body + name: request + required: true + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.AdminUserCreateRequest' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.Response' + security: + - Bearer: [] + summary: 创建管理员用户 + tags: + - 用户模块 + put: + consumes: + - application/json + description: 更新管理员用户信息 + parameters: + - description: 参数 + in: body + name: request + required: true + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.AdminUserUpdateRequest' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.Response' + security: + - Bearer: [] + summary: 更新管理员用户 + tags: + - 用户模块 + /v1/admin/user/permissions: + get: + consumes: + - application/json + description: 获取当前用户的权限列表 + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.GetUserPermissionsData' + security: + - Bearer: [] + summary: 获取用户权限 + tags: + - 权限模块 + /v1/admin/users: + get: + consumes: + - application/json + description: 获取管理员用户列表 + parameters: + - description: 页码 + in: query + name: page + required: true + type: integer + - description: 每页数量 + in: query + name: pageSize + required: true + type: integer + - description: 用户名 + in: query + name: username + type: string + - description: 昵称 + in: query + name: nickname + type: string + - description: 手机号 + in: query + name: phone + type: string + - description: 邮箱 + in: query + name: email + type: string + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.GetAdminUsersResponse' + security: + - Bearer: [] + summary: 获取管理员用户列表 + tags: + - 用户模块 + /v1/login: + post: + consumes: + - application/json + parameters: + - description: params + in: body + name: request + required: true + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.LoginRequest' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.LoginResponse' + summary: 账号登录 + tags: + - 用户模块 + /v1/menus: + get: + consumes: + - application/json + description: 获取当前用户的菜单列表 + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/nunu-layout-admin_api_v1.GetMenuResponse' + security: + - Bearer: [] + summary: 获取用户菜单 + tags: + - 菜单模块 +securityDefinitions: + Bearer: + in: header + name: Authorization + type: apiKey +swagger: "2.0" diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..016d45a --- /dev/null +++ b/go.mod @@ -0,0 +1,105 @@ +module nunu-layout-admin + +go 1.23.0 + +toolchain go1.24.0 + +require ( + github.com/casbin/casbin/v2 v2.104.0 + github.com/casbin/gorm-adapter/v3 v3.32.0 + github.com/duke-git/lancet/v2 v2.3.0 + github.com/gin-contrib/static v1.1.3 + github.com/gin-gonic/gin v1.10.0 + github.com/glebarez/sqlite v1.11.0 + github.com/go-co-op/gocron v1.28.2 + github.com/golang-jwt/jwt/v5 v5.0.0 + github.com/google/wire v0.5.0 + github.com/redis/go-redis/v9 v9.0.5 + github.com/sony/sonyflake v1.1.0 + github.com/spf13/viper v1.16.0 + github.com/swaggo/files v1.0.1 + github.com/swaggo/gin-swagger v1.6.0 + github.com/swaggo/swag v1.16.4 + go.uber.org/zap v1.26.0 + golang.org/x/crypto v0.36.0 + gopkg.in/natefinch/lumberjack.v2 v2.2.1 + gorm.io/driver/mysql v1.5.7 + gorm.io/driver/postgres v1.5.9 + gorm.io/gorm v1.25.12 +) + +require ( + github.com/KyleBanks/depth v1.2.1 // indirect + github.com/bmatcuk/doublestar/v4 v4.6.1 // indirect + github.com/bytedance/sonic v1.13.2 // indirect + github.com/bytedance/sonic/loader v0.2.4 // indirect + github.com/casbin/govaluate v1.3.0 // indirect + github.com/cespare/xxhash/v2 v2.2.0 // indirect + github.com/cloudwego/base64x v0.1.5 // indirect + github.com/cloudwego/iasm v0.2.0 // indirect + github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect + github.com/dustin/go-humanize v1.0.1 // indirect + github.com/fsnotify/fsnotify v1.6.0 // indirect + github.com/gabriel-vasile/mimetype v1.4.8 // indirect + github.com/gin-contrib/sse v1.0.0 // indirect + github.com/glebarez/go-sqlite v1.21.2 // indirect + github.com/go-openapi/jsonpointer v0.21.1 // indirect + github.com/go-openapi/jsonreference v0.21.0 // indirect + github.com/go-openapi/spec v0.21.0 // indirect + github.com/go-openapi/swag v0.23.1 // 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.25.0 // indirect + github.com/go-sql-driver/mysql v1.7.0 // indirect + github.com/goccy/go-json v0.10.5 // indirect + github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect + github.com/golang-sql/sqlexp v0.1.0 // indirect + github.com/golang/mock v1.6.0 // indirect + github.com/google/uuid v1.3.0 // indirect + github.com/hashicorp/hcl v1.0.0 // indirect + github.com/jackc/pgpassfile v1.0.0 // indirect + github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect + github.com/jackc/pgx/v5 v5.5.5 // indirect + github.com/jackc/puddle/v2 v2.2.1 // indirect + github.com/jinzhu/inflection v1.0.0 // indirect + github.com/jinzhu/now v1.1.5 // indirect + github.com/josharian/intern v1.0.0 // indirect + github.com/json-iterator/go v1.1.12 // indirect + github.com/klauspost/cpuid/v2 v2.2.10 // indirect + github.com/leodido/go-urn v1.4.0 // indirect + github.com/magiconair/properties v1.8.7 // indirect + github.com/mailru/easyjson v0.9.0 // indirect + github.com/mattn/go-isatty v0.0.20 // indirect + github.com/microsoft/go-mssqldb v1.6.0 // indirect + github.com/mitchellh/mapstructure v1.5.0 // indirect + github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect + github.com/modern-go/reflect2 v1.0.2 // indirect + github.com/pelletier/go-toml/v2 v2.2.3 // indirect + github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect + github.com/robfig/cron/v3 v3.0.1 // indirect + github.com/spf13/afero v1.9.5 // indirect + github.com/spf13/cast v1.5.1 // indirect + github.com/spf13/jwalterweatherman v1.1.0 // indirect + github.com/spf13/pflag v1.0.5 // indirect + github.com/subosito/gotenv v1.4.2 // indirect + github.com/twitchyliquid64/golang-asm v0.15.1 // indirect + github.com/ugorji/go/codec v1.2.12 // indirect + go.uber.org/atomic v1.11.0 // indirect + go.uber.org/multierr v1.11.0 // indirect + golang.org/x/arch v0.15.0 // indirect + golang.org/x/exp v0.0.0-20221208152030-732eee02a75a // indirect + golang.org/x/net v0.37.0 // indirect + golang.org/x/sync v0.12.0 // indirect + golang.org/x/sys v0.31.0 // indirect + golang.org/x/text v0.23.0 // indirect + golang.org/x/tools v0.31.0 // indirect + google.golang.org/protobuf v1.36.5 // indirect + gopkg.in/ini.v1 v1.67.0 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect + gorm.io/driver/sqlserver v1.5.3 // indirect + gorm.io/plugin/dbresolver v1.5.3 // indirect + modernc.org/libc v1.22.5 // indirect + modernc.org/mathutil v1.5.0 // indirect + modernc.org/memory v1.5.0 // indirect + modernc.org/sqlite v1.23.1 // indirect +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..e7a15ab --- /dev/null +++ b/go.sum @@ -0,0 +1,829 @@ +cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= +cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= +cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.44.3/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= +cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= +cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= +cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= +cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= +cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= +cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= +cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= +cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= +cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= +cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= +cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= +cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= +cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= +cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= +cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= +cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= +cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= +cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= +cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= +cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= +cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= +cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= +cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= +cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= +cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= +cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= +cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= +cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= +cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= +cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= +dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.4.0/go.mod h1:ON4tFdPTwRcgWEaVDrN3584Ef+b7GgSJaXxe5fW9t4M= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.6.0/go.mod h1:bjGvMhVMb+EEm3VRNQawDMUyMMjo+S5ewNjflkep/0Q= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.6.1/go.mod h1:bjGvMhVMb+EEm3VRNQawDMUyMMjo+S5ewNjflkep/0Q= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.7.1 h1:/iHxaJhsFr0+xVFfbMr5vxz848jyiWuIEDhYq3y5odY= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.7.1/go.mod h1:bjGvMhVMb+EEm3VRNQawDMUyMMjo+S5ewNjflkep/0Q= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.3.0 h1:vcYCAze6p19qBW7MhZybIsqD8sMV8js0NyQM8JDnVtg= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.3.0/go.mod h1:OQeznEEkTZ9OrhHJoDD8ZDq51FHgXjqtP9z6bEwBq9U= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.1.2/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.2.0/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0 h1:sXr+ck84g/ZlZUOZiNELInmMgOsuGwdjjVkEIde0OtY= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0/go.mod h1:okt5dMMTOFjX/aovMlrjvvXoPMBVSPzk9185BT0+eZM= +github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.0.0 h1:yfJe15aSwEQ6Oo6J+gdfdulPNoZ3TEhmbhLIoxZcA+U= +github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.0.0/go.mod h1:Q28U+75mpCaSCDowNEmhIo/rmgdkqmkmzI7N6TGR4UY= +github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v0.8.0 h1:T028gtTPiYt/RMUfs8nVsAL7FDQrfLlrm/NnRG/zcC4= +github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v0.8.0/go.mod h1:cw4zVQgBby0Z5f2v0itn6se2dDP17nTjbZFXW5uPyHA= +github.com/AzureAD/microsoft-authentication-library-for-go v1.0.0/go.mod h1:kgDmCTgBzIEPFElEF+FK0SdjAor06dRq2Go927dnQ6o= +github.com/AzureAD/microsoft-authentication-library-for-go v1.1.0 h1:HCc0+LpPfpCKs6LGGLAhwBARt9632unrVcI6i8s/8os= +github.com/AzureAD/microsoft-authentication-library-for-go v1.1.0/go.mod h1:wP83P5OoQ5p6ip3ScPr0BAq0BvuPAvacpEuSzyouqAI= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= +github.com/KyleBanks/depth v1.2.1 h1:5h8fQADFrWtarTdtDudMmGsC7GPbOAu6RVB3ffsVFHc= +github.com/KyleBanks/depth v1.2.1/go.mod h1:jzSb9d0L43HxTQfT+oSA1EEp2q+ne2uh6XgeJcm8brE= +github.com/bmatcuk/doublestar/v4 v4.6.1 h1:FH9SifrbvJhnlQpztAx++wlkk70QBf0iBWDwNy7PA4I= +github.com/bmatcuk/doublestar/v4 v4.6.1/go.mod h1:xBQ8jztBU6kakFMg+8WGxn0c6z1fTSPVIjEY1Wr7jzc= +github.com/bsm/ginkgo/v2 v2.7.0 h1:ItPMPH90RbmZJt5GtkcNvIRuGEdwlBItdNVoyzaNQao= +github.com/bsm/ginkgo/v2 v2.7.0/go.mod h1:AiKlXPm7ItEHNc/2+OkrNG4E0ITzojb9/xWzvQ9XZ9w= +github.com/bsm/gomega v1.26.0 h1:LhQm+AFcgV2M0WyKroMASzAzCAJVpAxQXv4SaI9a69Y= +github.com/bsm/gomega v1.26.0/go.mod h1:JyEr/xRbxbtgWNi8tIEVPUYZ5Dzef52k01W3YH0H+O0= +github.com/bytedance/sonic v1.12.6 h1:/isNmCUF2x3Sh8RAp/4mh4ZGkcFAX/hLrzrK3AvpRzk= +github.com/bytedance/sonic v1.12.6/go.mod h1:B8Gt/XvtZ3Fqj+iSKMypzymZxw/FVwgIGKzMzT9r/rk= +github.com/bytedance/sonic v1.13.2 h1:8/H1FempDZqC4VqjptGo14QQlJx8VdZJegxs6wwfqpQ= +github.com/bytedance/sonic v1.13.2/go.mod h1:o68xyaF9u2gvVBuGHPlUVCy+ZfmNNO5ETf1+KgkJhz4= +github.com/bytedance/sonic/loader v0.1.1/go.mod h1:ncP89zfokxS5LZrJxl5z0UJcsk4M4yY2JpfqGeCtNLU= +github.com/bytedance/sonic/loader v0.2.1 h1:1GgorWTqf12TA8mma4DDSbaQigE2wOgQo7iCjjJv3+E= +github.com/bytedance/sonic/loader v0.2.1/go.mod h1:ncP89zfokxS5LZrJxl5z0UJcsk4M4yY2JpfqGeCtNLU= +github.com/bytedance/sonic/loader v0.2.4 h1:ZWCw4stuXUsn1/+zQDqeE7JKP+QO47tz7QCNan80NzY= +github.com/bytedance/sonic/loader v0.2.4/go.mod h1:N8A3vUdtUebEY2/VQC0MyhYeKUFosQU6FxH2JmUe6VI= +github.com/casbin/casbin/v2 v2.104.0 h1:qDakyBZ4jUg1VskF1+UzIwkg+uXWcp0u0M9PMm1RsTA= +github.com/casbin/casbin/v2 v2.104.0/go.mod h1:Ee33aqGrmES+GNL17L0h9X28wXuo829wnNUnS0edAco= +github.com/casbin/gorm-adapter/v3 v3.32.0 h1:Au+IOILBIE9clox5BJhI2nA3p9t7Ep1ePlupdGbGfus= +github.com/casbin/gorm-adapter/v3 v3.32.0/go.mod h1:Zre/H8p17mpv5U3EaWgPoxLILLdXO3gHW5aoQQpUDZI= +github.com/casbin/govaluate v1.3.0 h1:VA0eSY0M2lA86dYd5kPPuNZMUD9QkWnOCnavGrw9myc= +github.com/casbin/govaluate v1.3.0/go.mod h1:G/UnbIjZk/0uMNaLwZZmFQrR72tYRZWQkO70si/iR7A= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= +github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= +github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= +github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/cloudwego/base64x v0.1.4 h1:jwCgWpFanWmN8xoIUHa2rtzmkd5J2plF/dnLS6Xd/0Y= +github.com/cloudwego/base64x v0.1.4/go.mod h1:0zlkT4Wn5C6NdauXdJRhSKRlJvmclQ1hhJgA0rcu/8w= +github.com/cloudwego/base64x v0.1.5 h1:XPciSp1xaq2VCSt6lF0phncD4koWyULpl5bUxbfCyP4= +github.com/cloudwego/base64x v0.1.5/go.mod h1:0zlkT4Wn5C6NdauXdJRhSKRlJvmclQ1hhJgA0rcu/8w= +github.com/cloudwego/iasm v0.2.0 h1:1KNIy1I1H9hNNFEEH3DVnI4UujN+1zjpuk6gwHLTssg= +github.com/cloudwego/iasm v0.2.0/go.mod h1:8rXZaNYT2n95jn+zTI1sDr+IgcD2GVs0nlbbQPiEFhY= +github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= +github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78= +github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc= +github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= +github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= +github.com/duke-git/lancet/v2 v2.3.0 h1:Ztie0qOnC4QgGYYqmpmQxbxkPcm54kqFXj1bwhiV8zg= +github.com/duke-git/lancet/v2 v2.3.0/go.mod h1:zGa2R4xswg6EG9I6WnyubDbFO/+A/RROxIbXcwryTsc= +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/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= +github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/frankban/quicktest v1.14.4 h1:g2rn0vABPOOXmZUj+vbmUp0lPoXEMuhTpIluN0XL9UY= +github.com/frankban/quicktest v1.14.4/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= +github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= +github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= +github.com/gabriel-vasile/mimetype v1.4.7 h1:SKFKl7kD0RiPdbht0s7hFtjl489WcQ1VyPW8ZzUMYCA= +github.com/gabriel-vasile/mimetype v1.4.7/go.mod h1:GDlAgAyIRT27BhFl53XNAFtfjzOkLaF35JdEG0P7LtU= +github.com/gabriel-vasile/mimetype v1.4.8 h1:FfZ3gj38NjllZIeJAmMhr+qKL8Wu+nOoI3GqacKw1NM= +github.com/gabriel-vasile/mimetype v1.4.8/go.mod h1:ByKUIKGjh1ODkGM1asKUbQZOLGrPjydw3hYPU2YU9t8= +github.com/gin-contrib/gzip v0.0.6 h1:NjcunTcGAj5CO1gn4N8jHOSIeRFHIbn51z6K+xaN4d4= +github.com/gin-contrib/gzip v0.0.6/go.mod h1:QOJlmV2xmayAjkNS2Y8NQsMneuRShOU/kjovCXNuzzk= +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-contrib/sse v1.0.0 h1:y3bT1mUWUxDpW4JLQg/HnTqV4rozuW4tC9eFKTxYI9E= +github.com/gin-contrib/sse v1.0.0/go.mod h1:zNuFdwarAygJBht0NTKiSi3jRf6RbqeILZ9Sp6Slhe0= +github.com/gin-contrib/static v1.1.3 h1:WLOpkBtMDJ3gATFZgNJyVibFMio/UHonnueqJsQ0w4U= +github.com/gin-contrib/static v1.1.3/go.mod h1:zejpJ/YWp8cZj/6EpiL5f/+skv5daQTNwRx1E8Pci30= +github.com/gin-gonic/gin v1.10.0 h1:nTuyha1TYqgedzytsKYqna+DfLos46nTv2ygFy86HFU= +github.com/gin-gonic/gin v1.10.0/go.mod h1:4PMNQiOhvDRa013RKVbsiNwoyezlm2rm0uX/T7kzp5Y= +github.com/glebarez/go-sqlite v1.21.2 h1:3a6LFC4sKahUunAmynQKLZceZCOzUthkRkEAl9gAXWo= +github.com/glebarez/go-sqlite v1.21.2/go.mod h1:sfxdZyhQjTM2Wry3gVYWaW072Ri1WMdWJi0k6+3382k= +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-co-op/gocron v1.28.2 h1:H9oHUGH+9HZ5mAorbnzRjzXLf4poP+ctZdbtaKRYagc= +github.com/go-co-op/gocron v1.28.2/go.mod h1:39f6KNSGVOU1LO/ZOoZfcSxwlsJDQOKSu8erN0SH48Y= +github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= +github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= +github.com/go-openapi/jsonpointer v0.19.6/go.mod h1:osyAmYz/mB/C3I+WsTTSgw1ONzaLJoLCyoi6/zppojs= +github.com/go-openapi/jsonpointer v0.20.0 h1:ESKJdU9ASRfaPNOPRx12IUyA1vn3R9GiE3KYD14BXdQ= +github.com/go-openapi/jsonpointer v0.20.0/go.mod h1:6PGzBjjIIumbLYysB73Klnms1mwnU4G3YHOECG3CedA= +github.com/go-openapi/jsonpointer v0.21.1 h1:whnzv/pNXtK2FbX/W9yJfRmE2gsmkfahjMKB0fZvcic= +github.com/go-openapi/jsonpointer v0.21.1/go.mod h1:50I1STOfbY1ycR8jGz8DaMeLCdXiI6aDteEdRNNzpdk= +github.com/go-openapi/jsonreference v0.20.0/go.mod h1:Ag74Ico3lPc+zR+qjn4XBUmXymS4zJbYVCZmcgkasdo= +github.com/go-openapi/jsonreference v0.20.2 h1:3sVjiK66+uXK/6oQ8xgcRKcFgQ5KXa2KvnJRumpMGbE= +github.com/go-openapi/jsonreference v0.20.2/go.mod h1:Bl1zwGIM8/wsvqjsOQLJ/SH+En5Ap4rVB5KVcIDZG2k= +github.com/go-openapi/jsonreference v0.21.0 h1:Rs+Y7hSXT83Jacb7kFyjn4ijOuVGSvOdF2+tg1TRrwQ= +github.com/go-openapi/jsonreference v0.21.0/go.mod h1:LmZmgsrTkVg9LG4EaHeY8cBDslNPMo06cago5JNLkm4= +github.com/go-openapi/spec v0.20.9 h1:xnlYNQAwKd2VQRRfwTEI0DcK+2cbuvI/0c7jx3gA8/8= +github.com/go-openapi/spec v0.20.9/go.mod h1:2OpW+JddWPrpXSCIX8eOx7lZ5iyuWj3RYR6VaaBKcWA= +github.com/go-openapi/spec v0.21.0 h1:LTVzPc3p/RzRnkQqLRndbAzjY0d0BCL72A6j3CdL9ZY= +github.com/go-openapi/spec v0.21.0/go.mod h1:78u6VdPw81XU44qEWGhtr982gJ5BWg2c0I5XwVMotYk= +github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= +github.com/go-openapi/swag v0.19.15/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= +github.com/go-openapi/swag v0.22.3/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14= +github.com/go-openapi/swag v0.22.4 h1:QLMzNJnMGPRNDCbySlcj1x01tzU8/9LTTL9hZZZogBU= +github.com/go-openapi/swag v0.22.4/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14= +github.com/go-openapi/swag v0.23.1 h1:lpsStH0n2ittzTnbaSloVZLuB5+fvSY/+hnagBjSNZU= +github.com/go-openapi/swag v0.23.1/go.mod h1:STZs8TbRvEQQKUA+JZNAm3EWlgaOBGpyFDqQnDHMef0= +github.com/go-playground/assert/v2 v2.2.0 h1:JvknZsQTYeFEAhQwI4qEt9cyV5ONwRHC+lYKSsYSR8s= +github.com/go-playground/assert/v2 v2.2.0/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= +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.23.0 h1:/PwmTwZhS0dPkav3cdK9kV1FsAmrL8sThn8IHr/sO+o= +github.com/go-playground/validator/v10 v10.23.0/go.mod h1:dbuPbCMFw/DrkbEynArYaCwl3amGuJotoKCe95atGMM= +github.com/go-playground/validator/v10 v10.25.0 h1:5Dh7cjvzR7BRZadnsVOzPhWsrwUr0nmsZJxEAnFLNO8= +github.com/go-playground/validator/v10 v10.25.0/go.mod h1:GGzBIJMuE98Ic/kJsBXbz1x/7cByt++cQ+YOuDM5wus= +github.com/go-sql-driver/mysql v1.7.0 h1:ueSltNNllEqE3qcWBTD0iQd3IpL/6U+mJxLkazJ7YPc= +github.com/go-sql-driver/mysql v1.7.0/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI= +github.com/goccy/go-json v0.10.4 h1:JSwxQzIqKfmFX1swYPpUThQZp/Ka4wzJdK0LWVytLPM= +github.com/goccy/go-json v0.10.4/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M= +github.com/goccy/go-json v0.10.5 h1:Fq85nIqj+gXn/S5ahsiTlK3TmC85qgirsdTP/+DeaC4= +github.com/goccy/go-json v0.10.5/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M= +github.com/golang-jwt/jwt/v4 v4.4.3/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= +github.com/golang-jwt/jwt/v4 v4.5.0/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= +github.com/golang-jwt/jwt/v5 v5.0.0 h1:1n1XNM9hk7O9mnQoNBGolZvzebBQ7p93ULHRc28XJUE= +github.com/golang-jwt/jwt/v5 v5.0.0/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk= +github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 h1:au07oEsX2xN0ktxqI+Sida1w446QrXBRJ0nee3SNZlA= +github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= +github.com/golang-sql/sqlexp v0.1.0 h1:ZCD6MBpcuOVfGVqsEmY5/4FtYiKz6tSyUv9LPEDei6A= +github.com/golang-sql/sqlexp v0.1.0/go.mod h1:J4ad9Vo8ZCWQ2GMrC4UCQy1JpCbwU9m3EOqtpKwwwHI= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= +github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= +github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc= +github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= +github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= +github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20221118152302-e6195bd50e26 h1:Xim43kblpZXfIBQsbuBVKCudVG457BR2GZFIz3uw3hQ= +github.com/google/pprof v0.0.0-20221118152302-e6195bd50e26/go.mod h1:dDKJzRmX4S37WGHujM7tX//fmj1uioxKzKxz3lo4HJo= +github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/google/subcommands v1.0.1/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3yTrtFlrHVk= +github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= +github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/wire v0.5.0 h1:I7ELFeVBr3yfPIcc8+MWvrjk+3VjbcSzoXm3JVa+jD8= +github.com/google/wire v0.5.0/go.mod h1:ngWDr9Qvq3yZA10YrxfyGELY/AFWGVpy9c1LTRi1EoU= +github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= +github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= +github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= +github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4= +github.com/gorilla/sessions v1.2.1/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM= +github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= +github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= +github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM= +github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= +github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a h1:bbPeKD0xmW/Y25WS6cokEszi5g+S0QxI/d45PkRi7Nk= +github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM= +github.com/jackc/pgx/v5 v5.5.5 h1:amBjrZVmksIdNjxGW/IiIMzxMKZFelXbUoPNb+8sjQw= +github.com/jackc/pgx/v5 v5.5.5/go.mod h1:ez9gk+OAat140fv9ErkZDYFWmXLfV+++K0uAOiwgm1A= +github.com/jackc/puddle/v2 v2.2.1 h1:RhxXJtFG022u4ibrCSMSiu5aOq1i77R3OHKNJj77OAk= +github.com/jackc/puddle/v2 v2.2.1/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4= +github.com/jcmturner/aescts/v2 v2.0.0/go.mod h1:AiaICIRyfYg35RUkr8yESTqvSy7csK90qZ5xfvvsoNs= +github.com/jcmturner/dnsutils/v2 v2.0.0/go.mod h1:b0TnjGOvI/n42bZa+hmXL+kFJZsFT7G4t3HTlQ184QM= +github.com/jcmturner/gofork v1.7.6/go.mod h1:1622LH6i/EZqLloHfE7IeZ0uEJwMSUyQ/nDd82IeqRo= +github.com/jcmturner/goidentity/v6 v6.0.1/go.mod h1:X1YW3bgtvwAXju7V3LCIMpY0Gbxyjn/mY9zx4tFonSg= +github.com/jcmturner/gokrb5/v8 v8.4.4/go.mod h1:1btQEpgT6k+unzCwX1KdWMEwPPkkgBtP+F6aCACiMrs= +github.com/jcmturner/rpc/v2 v2.0.3/go.mod h1:VUJYCIDm3PVOEHw8sgt091/20OJjskO/YJki3ELg/Hc= +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/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= +github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= +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/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= +github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= +github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= +github.com/klauspost/cpuid/v2 v2.2.9 h1:66ze0taIn2H33fBvCkXuv9BmCwDfafmiIVpKV9kKGuY= +github.com/klauspost/cpuid/v2 v2.2.9/go.mod h1:rqkxqrZ1EhYM9G+hXH7YdowN5R5RGN6NK4QwQ3WMXF8= +github.com/klauspost/cpuid/v2 v2.2.10 h1:tBs3QSyvjDyFTq3uoc/9xFpCuOsJQFNPiAhYdw2skhE= +github.com/klauspost/cpuid/v2 v2.2.10/go.mod h1:hqwkgyIinND0mEev00jJYCxPNVRVXFQeu1XKlok6oO0= +github.com/knz/go-libedit v1.10.1/go.mod h1:MZTVkCWyz0oBc7JOWP3wNAzd002ZbM/5hgShxwh4x8M= +github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= +github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= +github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= +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/lib/pq v1.10.2 h1:AqzbZs4ZoCBp+GtejcpCpcxM3zlSMx29dXbUSeVtJb8= +github.com/lib/pq v1.10.2/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= +github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= +github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= +github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= +github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= +github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= +github.com/mailru/easyjson v0.9.0 h1:PrnmzHw7262yW8sTBwxi1PdJA3Iw/EKBa8psRf7d9a4= +github.com/mailru/easyjson v0.9.0/go.mod h1:1+xMtQp2MRNVL/V1bOzuP3aP8VNwRW55fQUto+XFtTU= +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/microsoft/go-mssqldb v1.6.0 h1:mM3gYdVwEPFrlg/Dvr2DNVEgYFG7L42l+dGc67NNNpc= +github.com/microsoft/go-mssqldb v1.6.0/go.mod h1:00mDtPbeQCRGC1HwOOR5K/gr30P1NcEG0vx6Kbv2aJU= +github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= +github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +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/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8= +github.com/montanaflynn/stats v0.7.0/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow= +github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= +github.com/pelletier/go-toml/v2 v2.2.3 h1:YmeHyLY8mFWbdkNWwpr+qIL2bEqT0o95WSdkNHvL12M= +github.com/pelletier/go-toml/v2 v2.2.3/go.mod h1:MfCQTFTvCcUyyvvwm1+G6H/jORL20Xlb6rzQu9GuUkc= +github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 h1:KoWmjvw+nsYOo29YJK9vDA65RGE3NrOnUtO7a+RF9HU= +github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI= +github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/redis/go-redis/v9 v9.0.5 h1:CuQcn5HIEeK7BgElubPP8CGtE0KakrnbBSTLjathl5o= +github.com/redis/go-redis/v9 v9.0.5/go.mod h1:WqMKv5vnQbRuZstUwxQI195wHy+t4PuXDOjzMvcuQHk= +github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= +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/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs= +github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro= +github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= +github.com/rogpeppe/go-internal v1.8.1/go.mod h1:JeRgkft04UBgHMgCIwADu4Pn6Mtm5d4nPKWu0nJ5d+o= +github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8= +github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4= +github.com/sony/sonyflake v1.1.0 h1:wnrEcL3aOkWmPlhScLEGAXKkLAIslnBteNUq4Bw6MM4= +github.com/sony/sonyflake v1.1.0/go.mod h1:LORtCywH/cq10ZbyfhKrHYgAUGH7mOBa76enV9txy/Y= +github.com/spf13/afero v1.9.5 h1:stMpOSZFs//0Lv29HduCmli3GUfpFoF3Y1Q/aXj/wVM= +github.com/spf13/afero v1.9.5/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ= +github.com/spf13/cast v1.5.1 h1:R+kOtfhWQE6TVQzY+4D7wJLBgkdVasCEFxSUBYBYIlA= +github.com/spf13/cast v1.5.1/go.mod h1:b9PdjNptOpzXr7Rq1q9gJML/2cdGQAo69NKzQ10KN48= +github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= +github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= +github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= +github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/viper v1.16.0 h1:rGGH0XDZhdUOryiDWjmIvUSWpbNqisK8Wk0Vyefw8hc= +github.com/spf13/viper v1.16.0/go.mod h1:yg78JgCJcbrQOvV9YLXgkLaZqUidkY9K+Dd1FofRzQg= +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.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= +github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +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.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8= +github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= +github.com/swaggo/files v1.0.1 h1:J1bVJ4XHZNq0I46UU90611i9/YzdrF7x92oX1ig5IdE= +github.com/swaggo/files v1.0.1/go.mod h1:0qXmMNH6sXNf+73t65aKeB+ApmgxdnkQzVTAj2uaMUg= +github.com/swaggo/gin-swagger v1.6.0 h1:y8sxvQ3E20/RCyrXeFfg60r6H0Z+SwpTjMYsMm+zy8M= +github.com/swaggo/gin-swagger v1.6.0/go.mod h1:BG00cCEy294xtVpyIAHG6+e2Qzj/xKlRdOqDkvq0uzo= +github.com/swaggo/swag v1.16.2 h1:28Pp+8DkQoV+HLzLx8RGJZXNGKbFqnuvSbAAtoxiY04= +github.com/swaggo/swag v1.16.2/go.mod h1:6YzXnDcpr0767iOejs318CwYkCQqyGer6BizOg03f+E= +github.com/swaggo/swag v1.16.4 h1:clWJtd9LStiG3VeijiCfOVODP6VpHtKdQy9ELFG3s1A= +github.com/swaggo/swag v1.16.4/go.mod h1:VBsHJRsDvfYvqoiMKnsdwhNV9LEMHgEDZcyVYX0sxPg= +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.12 h1:9LC83zGrHhuUA9l16C9AHXAqEV/2wBQ4nkvumAE65EE= +github.com/ugorji/go/codec v1.2.12/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg= +github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= +github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= +go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= +go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= +go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE= +go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= +go.uber.org/goleak v1.2.0 h1:xqgm/S+aQvhWFTtR0XK3Jvg7z8kGV8P4X14IzwN3Eqk= +go.uber.org/goleak v1.2.0/go.mod h1:XJYK+MuIchqpmGmUSAzotztawfKvYLUIgg7guXrwVUo= +go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= +go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= +go.uber.org/zap v1.26.0 h1:sI7k6L95XOKS281NhVKOFCUNIvv9e0w4BF8N3u+tCRo= +go.uber.org/zap v1.26.0/go.mod h1:dtElttAiwGvoJ/vj4IwHBS/gXsEu/pZ50mUIRWuG0so= +golang.org/x/arch v0.12.0 h1:UsYJhbzPYGsT0HbEdmYcqtCv8UNGvnaL561NnIUvaKg= +golang.org/x/arch v0.12.0/go.mod h1:FEVrYAQjsQXMVJ1nsMoVVXPZg6p2JE2mx8psSWTDQys= +golang.org/x/arch v0.15.0 h1:QtOrQd0bTUnhNVNndMpLHNWrDmYzZ2KDqSrEymqInZw= +golang.org/x/arch v0.15.0/go.mod h1:JmwW7aLIoRUKgaTzhkiEFxvcEiQGyOg9BMonBJUS7EE= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= +golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= +golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= +golang.org/x/crypto v0.12.0/go.mod h1:NF0Gs7EO5K4qLn+Ylc+fih8BSTeIjAP05siRnAh98yw= +golang.org/x/crypto v0.31.0 h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U= +golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk= +golang.org/x/crypto v0.36.0 h1:AnAEvhDddvBdpY+uR+MyHmuZzzNqXSe/GvuDeob5L34= +golang.org/x/crypto v0.36.0/go.mod h1:Y4J0ReaxCR1IMaabaSMugxJES1EpwhBHhv2bDHklZvc= +golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= +golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= +golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= +golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= +golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= +golang.org/x/exp v0.0.0-20221208152030-732eee02a75a h1:4iLhBPcpqFmylhnkbY3W0ONLUYYkDAW9xMFLfxgsvCw= +golang.org/x/exp v0.0.0-20221208152030-732eee02a75a/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc= +golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= +golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= +golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= +golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= +golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= +golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= +golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +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/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= +golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.24.0 h1:ZfthKaKaT4NrhGVZHO1/WDTwGES4De8KtWO0SIbNJMU= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= +golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +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.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= +golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= +golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= +golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI= +golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I= +golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4= +golang.org/x/net v0.37.0 h1:1zLorHbz+LYj7MQlSf1+2tPIIgibq2eL5xkrGk6f+2c= +golang.org/x/net v0.37.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/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/sync v0.10.0 h1:3NQrjDixjgGwUOCaF8w2+VYHv0Ve/vGYSbdkTa98gmQ= +golang.org/x/sync v0.10.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.12.0 h1:MHc5BpPuC30uJk597Ri8TV3CNZcTLu6B6z4lJy+g6Jw= +golang.org/x/sync v0.12.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= +golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/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-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220908164124-27713097b956/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/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA= +golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.31.0 h1:ioabZlmFYtWhL+TRYpcnNlLwhyxaM9kWTDEmfnprqik= +golang.org/x/sys v0.31.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= +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/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= +golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= +golang.org/x/term v0.11.0/go.mod h1:zC9APTIj3jG3FdV/Ons+XE1riIZXG4aZ4GTHiPZJPIU= +golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.6/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.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo= +golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ= +golang.org/x/text v0.23.0 h1:D71I7dUrlY+VX0gQShAThNGHFxZ13dGLBHQLVl1mJlY= +golang.org/x/text v0.23.0/go.mod h1:/BLNzu4aZCJ1+kcD0DNRotWKage4q2rGVAg4o22unh4= +golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190422233926-fe54fb35175b/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= +golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= +golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= +golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= +golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= +golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +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/tools v0.21.1-0.20240508182429-e35e4ccd0d2d h1:vU5i/LfpvrRCpgM/VPfJLg5KjxD3E+hfT1SH+d9zLwg= +golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= +golang.org/x/tools v0.31.0 h1:0EedkvKDbh+qistFTd0Bcwe/YLh4vHwWEkiI0toFIBU= +golang.org/x/tools v0.31.0/go.mod h1:naFTU+Cev749tSJRXJlna0T3WxKvb1kWEx15xA4SdmQ= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= +google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= +google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= +google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= +google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= +google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= +google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= +google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= +google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= +google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= +google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= +google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= +google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= +google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= +google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= +google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= +google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= +google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= +google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.5 h1:tPhr+woSbjfYvY6/GPufUoYizxw1cF/yFoxJ2fmpwlM= +google.golang.org/protobuf v1.36.5/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= +gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= +gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= +gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= +gopkg.in/natefinch/lumberjack.v2 v2.2.1 h1:bBRl1b0OH9s/DuPhuXpNl+VtCaJXFZ5/uEFST95x9zc= +gopkg.in/natefinch/lumberjack.v2 v2.2.1/go.mod h1:YD8tP3GAjkrDg1eZH7EGmyESg/lsYskCTPBJVb9jqSc= +gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/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/mysql v1.5.7 h1:MndhOPYOfEp2rHKgkZIhJ16eVUIRf2HmzgoPmh7FCWo= +gorm.io/driver/mysql v1.5.7/go.mod h1:sEtPWMiqiN1N1cMXoXmBbd8C6/l+TESwriotuRRpkDM= +gorm.io/driver/postgres v1.5.9 h1:DkegyItji119OlcaLjqN11kHoUgZ/j13E0jkJZgD6A8= +gorm.io/driver/postgres v1.5.9/go.mod h1:DX3GReXH+3FPWGrrgffdvCk3DQ1dwDPdmbenSkweRGI= +gorm.io/driver/sqlserver v1.5.3 h1:rjupPS4PVw+rjJkfvr8jn2lJ8BMhT4UW5FwuJY0P3Z0= +gorm.io/driver/sqlserver v1.5.3/go.mod h1:B+CZ0/7oFJ6tAlefsKoyxdgDCXJKSgwS2bMOQZT0I00= +gorm.io/gorm v1.25.7-0.20240204074919-46816ad31dde/go.mod h1:hbnx/Oo0ChWMn1BIhpy1oYozzpM15i4YPuHDmfYtwg8= +gorm.io/gorm v1.25.7/go.mod h1:hbnx/Oo0ChWMn1BIhpy1oYozzpM15i4YPuHDmfYtwg8= +gorm.io/gorm v1.25.12 h1:I0u8i2hWQItBq1WfE0o2+WuL9+8L21K9e2HHSTE/0f8= +gorm.io/gorm v1.25.12/go.mod h1:xh7N7RHfYlNc5EmcI/El95gXusucDrQnHXe0+CgWcLQ= +gorm.io/plugin/dbresolver v1.5.3 h1:wFwINGZZmttuu9h7XpvbDHd8Lf9bb8GNzp/NpAMV2wU= +gorm.io/plugin/dbresolver v1.5.3/go.mod h1:TSrVhaUg2DZAWP3PrHlDlITEJmNOkL0tFTjvTEsQ4XE= +honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= +honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +modernc.org/libc v1.22.5 h1:91BNch/e5B0uPbJFgqbxXuOnxBQjlS//icfQEGmvyjE= +modernc.org/libc v1.22.5/go.mod h1:jj+Z7dTNX8fBScMVNRAYZ/jF91K8fdT2hYMThc3YjBY= +modernc.org/mathutil v1.5.0 h1:rV0Ko/6SfM+8G+yKiyI830l3Wuz1zRutdslNoQ0kfiQ= +modernc.org/mathutil v1.5.0/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= +modernc.org/memory v1.5.0 h1:N+/8c5rE6EqugZwHii4IFsaJ7MUhoWX07J5tC/iI5Ds= +modernc.org/memory v1.5.0/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= +modernc.org/sqlite v1.23.1 h1:nrSBg4aRQQwq59JpvGEQ15tNxoO5pX/kUjcRNwSAGQM= +modernc.org/sqlite v1.23.1/go.mod h1:OrDj17Mggn6MhE+iPbBNf7RGKODDE9NFT0f3EwDzJqk= +nullprogram.com/x/optparse v1.0.0/go.mod h1:KdyPE+Igbe0jQUrVfMqDMeJQIJZEuyV7pjYmp6pbG50= +rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= +rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= +rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/internal/handler/admin.go b/internal/handler/admin.go new file mode 100644 index 0000000..cce0ae1 --- /dev/null +++ b/internal/handler/admin.go @@ -0,0 +1,561 @@ +package handler + +import ( + "github.com/gin-gonic/gin" + "net/http" + v1 "nunu-layout-admin/api/v1" + "nunu-layout-admin/internal/service" +) + +type AdminHandler struct { + *Handler + adminService service.AdminService +} + +func NewAdminHandler( + handler *Handler, + adminService service.AdminService, +) *AdminHandler { + return &AdminHandler{ + Handler: handler, + adminService: adminService, + } +} + +// Login godoc +// @Summary 账号登录 +// @Schemes +// @Description +// @Tags 用户模块 +// @Accept json +// @Produce json +// @Param request body v1.LoginRequest true "params" +// @Success 200 {object} v1.LoginResponse +// @Router /v1/login [post] +func (h *AdminHandler) Login(ctx *gin.Context) { + var req v1.LoginRequest + if err := ctx.ShouldBindJSON(&req); err != nil { + v1.HandleError(ctx, http.StatusBadRequest, v1.ErrBadRequest, nil) + return + } + + token, err := h.adminService.Login(ctx, &req) + if err != nil { + v1.HandleError(ctx, http.StatusUnauthorized, v1.ErrUnauthorized, nil) + return + } + v1.HandleSuccess(ctx, v1.LoginResponseData{ + AccessToken: token, + }) +} + +// GetMenus godoc +// @Summary 获取用户菜单 +// @Schemes +// @Description 获取当前用户的菜单列表 +// @Tags 菜单模块 +// @Accept json +// @Produce json +// @Security Bearer +// @Success 200 {object} v1.GetMenuResponse +// @Router /v1/menus [get] +func (h *AdminHandler) GetMenus(ctx *gin.Context) { + data, err := h.adminService.GetMenus(ctx, GetUserIdFromCtx(ctx)) + if err != nil { + v1.HandleError(ctx, http.StatusBadRequest, v1.ErrBadRequest, nil) + return + } + // 过滤权限菜单 + v1.HandleSuccess(ctx, data) +} + +// GetAdminMenus godoc +// @Summary 获取管理员菜单 +// @Schemes +// @Description 获取管理员菜单列表 +// @Tags 菜单模块 +// @Accept json +// @Produce json +// @Security Bearer +// @Success 200 {object} v1.GetMenuResponse +// @Router /v1/admin/menus [get] +func (h *AdminHandler) GetAdminMenus(ctx *gin.Context) { + data, err := h.adminService.GetAdminMenus(ctx) + if err != nil { + v1.HandleError(ctx, http.StatusBadRequest, v1.ErrBadRequest, nil) + return + } + // 过滤权限菜单 + v1.HandleSuccess(ctx, data) +} + +// GetUserPermissions godoc +// @Summary 获取用户权限 +// @Schemes +// @Description 获取当前用户的权限列表 +// @Tags 权限模块 +// @Accept json +// @Produce json +// @Security Bearer +// @Success 200 {object} v1.GetUserPermissionsData +// @Router /v1/admin/user/permissions [get] +func (h *AdminHandler) GetUserPermissions(ctx *gin.Context) { + data, err := h.adminService.GetUserPermissions(ctx, GetUserIdFromCtx(ctx)) + if err != nil { + v1.HandleError(ctx, http.StatusBadRequest, v1.ErrBadRequest, nil) + return + } + // 过滤权限菜单 + v1.HandleSuccess(ctx, data) +} + +// GetRolePermissions godoc +// @Summary 获取角色权限 +// @Schemes +// @Description 获取指定角色的权限列表 +// @Tags 权限模块 +// @Accept json +// @Produce json +// @Security Bearer +// @Param role query string true "角色名称" +// @Success 200 {object} v1.GetRolePermissionsData +// @Router /v1/admin/role/permissions [get] +func (h *AdminHandler) GetRolePermissions(ctx *gin.Context) { + var req v1.GetRolePermissionsRequest + if err := ctx.ShouldBind(&req); err != nil { + v1.HandleError(ctx, http.StatusBadRequest, v1.ErrBadRequest, nil) + return + } + data, err := h.adminService.GetRolePermissions(ctx, req.Role) + if err != nil { + v1.HandleError(ctx, http.StatusInternalServerError, v1.ErrInternalServerError, nil) + return + } + v1.HandleSuccess(ctx, data) +} + +// UpdateRolePermission godoc +// @Summary 更新角色权限 +// @Schemes +// @Description 更新指定角色的权限列表 +// @Tags 权限模块 +// @Accept json +// @Produce json +// @Security Bearer +// @Param request body v1.UpdateRolePermissionRequest true "参数" +// @Success 200 {object} v1.Response +// @Router /v1/admin/role/permissions [put] +func (h *AdminHandler) UpdateRolePermission(ctx *gin.Context) { + var req v1.UpdateRolePermissionRequest + if err := ctx.ShouldBind(&req); err != nil { + v1.HandleError(ctx, http.StatusBadRequest, v1.ErrBadRequest, nil) + return + } + err := h.adminService.UpdateRolePermission(ctx, &req) + if err != nil { + v1.HandleError(ctx, http.StatusInternalServerError, v1.ErrInternalServerError, nil) + return + } + v1.HandleSuccess(ctx, nil) +} + +// MenuUpdate godoc +// @Summary 更新菜单 +// @Schemes +// @Description 更新菜单信息 +// @Tags 菜单模块 +// @Accept json +// @Produce json +// @Security Bearer +// @Param request body v1.MenuUpdateRequest true "参数" +// @Success 200 {object} v1.Response +// @Router /v1/admin/menu [put] +func (h *AdminHandler) MenuUpdate(ctx *gin.Context) { + var req v1.MenuUpdateRequest + if err := ctx.ShouldBind(&req); err != nil { + v1.HandleError(ctx, http.StatusBadRequest, v1.ErrBadRequest, nil) + return + } + if err := h.adminService.MenuUpdate(ctx, &req); err != nil { + v1.HandleError(ctx, http.StatusInternalServerError, v1.ErrInternalServerError, nil) + return + } + v1.HandleSuccess(ctx, nil) +} + +// MenuCreate godoc +// @Summary 创建菜单 +// @Schemes +// @Description 创建新的菜单 +// @Tags 菜单模块 +// @Accept json +// @Produce json +// @Security Bearer +// @Param request body v1.MenuCreateRequest true "参数" +// @Success 200 {object} v1.Response +// @Router /v1/admin/menu [post] +func (h *AdminHandler) MenuCreate(ctx *gin.Context) { + var req v1.MenuCreateRequest + if err := ctx.ShouldBind(&req); err != nil { + v1.HandleError(ctx, http.StatusBadRequest, v1.ErrBadRequest, nil) + return + } + if err := h.adminService.MenuCreate(ctx, &req); err != nil { + v1.HandleError(ctx, http.StatusInternalServerError, v1.ErrInternalServerError, nil) + return + } + v1.HandleSuccess(ctx, nil) +} + +// MenuDelete godoc +// @Summary 删除菜单 +// @Schemes +// @Description 删除指定菜单 +// @Tags 菜单模块 +// @Accept json +// @Produce json +// @Security Bearer +// @Param id query uint true "菜单ID" +// @Success 200 {object} v1.Response +// @Router /v1/admin/menu [delete] +func (h *AdminHandler) MenuDelete(ctx *gin.Context) { + var req v1.MenuDeleteRequest + if err := ctx.ShouldBind(&req); err != nil { + v1.HandleError(ctx, http.StatusBadRequest, v1.ErrBadRequest, nil) + return + } + if err := h.adminService.MenuDelete(ctx, req.ID); err != nil { + v1.HandleError(ctx, http.StatusInternalServerError, v1.ErrInternalServerError, nil) + return + + } + v1.HandleSuccess(ctx, nil) +} + +// GetRoles godoc +// @Summary 获取角色列表 +// @Schemes +// @Description 获取角色列表 +// @Tags 角色模块 +// @Accept json +// @Produce json +// @Security Bearer +// @Param page query int true "页码" +// @Param pageSize query int true "每页数量" +// @Param sid query string false "角色ID" +// @Param name query string false "角色名称" +// @Success 200 {object} v1.GetRolesResponse +// @Router /v1/admin/roles [get] +func (h *AdminHandler) GetRoles(ctx *gin.Context) { + var req v1.GetRoleListRequest + if err := ctx.ShouldBind(&req); err != nil { + v1.HandleError(ctx, http.StatusBadRequest, v1.ErrBadRequest, nil) + return + } + data, err := h.adminService.GetRoles(ctx, &req) + if err != nil { + v1.HandleError(ctx, http.StatusInternalServerError, v1.ErrInternalServerError, nil) + return + } + + v1.HandleSuccess(ctx, data) +} + +// RoleCreate godoc +// @Summary 创建角色 +// @Schemes +// @Description 创建新的角色 +// @Tags 角色模块 +// @Accept json +// @Produce json +// @Security Bearer +// @Param request body v1.RoleCreateRequest true "参数" +// @Success 200 {object} v1.Response +// @Router /v1/admin/role [post] +func (h *AdminHandler) RoleCreate(ctx *gin.Context) { + var req v1.RoleCreateRequest + if err := ctx.ShouldBind(&req); err != nil { + v1.HandleError(ctx, http.StatusBadRequest, v1.ErrBadRequest, nil) + return + } + if err := h.adminService.RoleCreate(ctx, &req); err != nil { + v1.HandleError(ctx, http.StatusInternalServerError, v1.ErrInternalServerError, nil) + return + } + v1.HandleSuccess(ctx, nil) +} + +// RoleUpdate godoc +// @Summary 更新角色 +// @Schemes +// @Description 更新角色信息 +// @Tags 角色模块 +// @Accept json +// @Produce json +// @Security Bearer +// @Param request body v1.RoleUpdateRequest true "参数" +// @Success 200 {object} v1.Response +// @Router /v1/admin/role [put] +func (h *AdminHandler) RoleUpdate(ctx *gin.Context) { + var req v1.RoleUpdateRequest + if err := ctx.ShouldBind(&req); err != nil { + v1.HandleError(ctx, http.StatusBadRequest, v1.ErrBadRequest, nil) + return + } + if err := h.adminService.RoleUpdate(ctx, &req); err != nil { + v1.HandleError(ctx, http.StatusInternalServerError, v1.ErrInternalServerError, nil) + return + } + v1.HandleSuccess(ctx, nil) +} + +// RoleDelete godoc +// @Summary 删除角色 +// @Schemes +// @Description 删除指定角色 +// @Tags 角色模块 +// @Accept json +// @Produce json +// @Security Bearer +// @Param id query uint true "角色ID" +// @Success 200 {object} v1.Response +// @Router /v1/admin/role [delete] +func (h *AdminHandler) RoleDelete(ctx *gin.Context) { + var req v1.RoleDeleteRequest + if err := ctx.ShouldBind(&req); err != nil { + v1.HandleError(ctx, http.StatusBadRequest, v1.ErrBadRequest, nil) + return + } + if err := h.adminService.RoleDelete(ctx, req.ID); err != nil { + v1.HandleError(ctx, http.StatusInternalServerError, v1.ErrInternalServerError, nil) + return + } + v1.HandleSuccess(ctx, nil) +} + +// GetApis godoc +// @Summary 获取API列表 +// @Schemes +// @Description 获取API列表 +// @Tags API模块 +// @Accept json +// @Produce json +// @Security Bearer +// @Param page query int true "页码" +// @Param pageSize query int true "每页数量" +// @Param group query string false "API分组" +// @Param name query string false "API名称" +// @Param path query string false "API路径" +// @Param method query string false "请求方法" +// @Success 200 {object} v1.GetApisResponse +// @Router /v1/admin/apis [get] +func (h *AdminHandler) GetApis(ctx *gin.Context) { + var req v1.GetApisRequest + if err := ctx.ShouldBind(&req); err != nil { + v1.HandleError(ctx, http.StatusBadRequest, v1.ErrBadRequest, nil) + return + } + data, err := h.adminService.GetApis(ctx, &req) + if err != nil { + v1.HandleError(ctx, http.StatusInternalServerError, v1.ErrInternalServerError, nil) + return + } + + v1.HandleSuccess(ctx, data) +} + +// ApiCreate godoc +// @Summary 创建API +// @Schemes +// @Description 创建新的API +// @Tags API模块 +// @Accept json +// @Produce json +// @Security Bearer +// @Param request body v1.ApiCreateRequest true "参数" +// @Success 200 {object} v1.Response +// @Router /v1/admin/api [post] +func (h *AdminHandler) ApiCreate(ctx *gin.Context) { + var req v1.ApiCreateRequest + if err := ctx.ShouldBind(&req); err != nil { + v1.HandleError(ctx, http.StatusBadRequest, v1.ErrBadRequest, nil) + return + } + if err := h.adminService.ApiCreate(ctx, &req); err != nil { + v1.HandleError(ctx, http.StatusInternalServerError, v1.ErrInternalServerError, nil) + return + } + v1.HandleSuccess(ctx, nil) +} + +// ApiUpdate godoc +// @Summary 更新API +// @Schemes +// @Description 更新API信息 +// @Tags API模块 +// @Accept json +// @Produce json +// @Security Bearer +// @Param request body v1.ApiUpdateRequest true "参数" +// @Success 200 {object} v1.Response +// @Router /v1/admin/api [put] +func (h *AdminHandler) ApiUpdate(ctx *gin.Context) { + var req v1.ApiUpdateRequest + if err := ctx.ShouldBind(&req); err != nil { + v1.HandleError(ctx, http.StatusBadRequest, v1.ErrBadRequest, nil) + return + } + if err := h.adminService.ApiUpdate(ctx, &req); err != nil { + v1.HandleError(ctx, http.StatusInternalServerError, v1.ErrInternalServerError, nil) + return + } + v1.HandleSuccess(ctx, nil) +} + +// ApiDelete godoc +// @Summary 删除API +// @Schemes +// @Description 删除指定API +// @Tags API模块 +// @Accept json +// @Produce json +// @Security Bearer +// @Param id query uint true "API ID" +// @Success 200 {object} v1.Response +// @Router /v1/admin/api [delete] +func (h *AdminHandler) ApiDelete(ctx *gin.Context) { + var req v1.ApiDeleteRequest + if err := ctx.ShouldBind(&req); err != nil { + v1.HandleError(ctx, http.StatusBadRequest, v1.ErrBadRequest, nil) + return + } + if err := h.adminService.ApiDelete(ctx, req.ID); err != nil { + v1.HandleError(ctx, http.StatusInternalServerError, v1.ErrInternalServerError, nil) + return + } + v1.HandleSuccess(ctx, nil) +} + +// AdminUserUpdate godoc +// @Summary 更新管理员用户 +// @Schemes +// @Description 更新管理员用户信息 +// @Tags 用户模块 +// @Accept json +// @Produce json +// @Security Bearer +// @Param request body v1.AdminUserUpdateRequest true "参数" +// @Success 200 {object} v1.Response +// @Router /v1/admin/user [put] +func (h *AdminHandler) AdminUserUpdate(ctx *gin.Context) { + var req v1.AdminUserUpdateRequest + if err := ctx.ShouldBind(&req); err != nil { + v1.HandleError(ctx, http.StatusBadRequest, v1.ErrBadRequest, nil) + return + } + if err := h.adminService.AdminUserUpdate(ctx, &req); err != nil { + v1.HandleError(ctx, http.StatusInternalServerError, v1.ErrInternalServerError, nil) + return + } + v1.HandleSuccess(ctx, nil) +} + +// AdminUserCreate godoc +// @Summary 创建管理员用户 +// @Schemes +// @Description 创建新的管理员用户 +// @Tags 用户模块 +// @Accept json +// @Produce json +// @Security Bearer +// @Param request body v1.AdminUserCreateRequest true "参数" +// @Success 200 {object} v1.Response +// @Router /v1/admin/user [post] +func (h *AdminHandler) AdminUserCreate(ctx *gin.Context) { + var req v1.AdminUserCreateRequest + if err := ctx.ShouldBind(&req); err != nil { + v1.HandleError(ctx, http.StatusBadRequest, v1.ErrBadRequest, nil) + return + } + if err := h.adminService.AdminUserCreate(ctx, &req); err != nil { + v1.HandleError(ctx, http.StatusInternalServerError, v1.ErrInternalServerError, nil) + return + } + v1.HandleSuccess(ctx, nil) +} + +// AdminUserDelete godoc +// @Summary 删除管理员用户 +// @Schemes +// @Description 删除指定管理员用户 +// @Tags 用户模块 +// @Accept json +// @Produce json +// @Security Bearer +// @Param id query uint true "用户ID" +// @Success 200 {object} v1.Response +// @Router /v1/admin/user [delete] +func (h *AdminHandler) AdminUserDelete(ctx *gin.Context) { + var req v1.AdminUserDeleteRequest + if err := ctx.ShouldBind(&req); err != nil { + v1.HandleError(ctx, http.StatusBadRequest, v1.ErrBadRequest, nil) + return + } + if err := h.adminService.AdminUserDelete(ctx, req.ID); err != nil { + v1.HandleError(ctx, http.StatusInternalServerError, v1.ErrInternalServerError, nil) + return + + } + v1.HandleSuccess(ctx, nil) +} + +// GetAdminUsers godoc +// @Summary 获取管理员用户列表 +// @Schemes +// @Description 获取管理员用户列表 +// @Tags 用户模块 +// @Accept json +// @Produce json +// @Security Bearer +// @Param page query int true "页码" +// @Param pageSize query int true "每页数量" +// @Param username query string false "用户名" +// @Param nickname query string false "昵称" +// @Param phone query string false "手机号" +// @Param email query string false "邮箱" +// @Success 200 {object} v1.GetAdminUsersResponse +// @Router /v1/admin/users [get] +func (h *AdminHandler) GetAdminUsers(ctx *gin.Context) { + var req v1.GetAdminUsersRequest + if err := ctx.ShouldBind(&req); err != nil { + v1.HandleError(ctx, http.StatusBadRequest, v1.ErrBadRequest, nil) + return + } + data, err := h.adminService.GetAdminUsers(ctx, &req) + if err != nil { + v1.HandleError(ctx, http.StatusInternalServerError, v1.ErrInternalServerError, nil) + return + } + + v1.HandleSuccess(ctx, data) +} + +// GetAdminUser godoc +// @Summary 获取管理用户信息 +// @Schemes +// @Description +// @Tags 用户模块 +// @Accept json +// @Produce json +// @Security Bearer +// @Success 200 {object} v1.GetAdminUserResponse +// @Router /v1/admin/user [get] +func (h *AdminHandler) GetAdminUser(ctx *gin.Context) { + data, err := h.adminService.GetAdminUser(ctx, GetUserIdFromCtx(ctx)) + if err != nil { + v1.HandleError(ctx, http.StatusInternalServerError, v1.ErrInternalServerError, nil) + return + } + + v1.HandleSuccess(ctx, data) +} diff --git a/internal/handler/handler.go b/internal/handler/handler.go new file mode 100644 index 0000000..d4892e0 --- /dev/null +++ b/internal/handler/handler.go @@ -0,0 +1,26 @@ +package handler + +import ( + "github.com/gin-gonic/gin" + "nunu-layout-admin/pkg/jwt" + "nunu-layout-admin/pkg/log" +) + +type Handler struct { + logger *log.Logger +} + +func NewHandler( + logger *log.Logger, +) *Handler { + return &Handler{ + logger: logger, + } +} +func GetUserIdFromCtx(ctx *gin.Context) uint { + v, exists := ctx.Get("claims") + if !exists { + return 0 + } + return v.(*jwt.MyCustomClaims).UserId +} diff --git a/internal/handler/user.go b/internal/handler/user.go new file mode 100644 index 0000000..2ec73ec --- /dev/null +++ b/internal/handler/user.go @@ -0,0 +1,25 @@ +package handler + +import ( + "github.com/gin-gonic/gin" + "nunu-layout-admin/internal/service" +) + +type UserHandler struct { + *Handler + userService service.UserService +} + +func NewUserHandler( + handler *Handler, + userService service.UserService, +) *UserHandler { + return &UserHandler{ + Handler: handler, + userService: userService, + } +} + +func (h *UserHandler) GetUsers(ctx *gin.Context) { + +} diff --git a/internal/job/job.go b/internal/job/job.go new file mode 100644 index 0000000..77ce0ef --- /dev/null +++ b/internal/job/job.go @@ -0,0 +1,27 @@ +package job + +import ( + "nunu-layout-admin/internal/repository" + "nunu-layout-admin/pkg/jwt" + "nunu-layout-admin/pkg/log" + "nunu-layout-admin/pkg/sid" +) + +type Job struct { + logger *log.Logger + sid *sid.Sid + jwt *jwt.JWT + tm repository.Transaction +} + +func NewJob( + tm repository.Transaction, + logger *log.Logger, + sid *sid.Sid, +) *Job { + return &Job{ + logger: logger, + sid: sid, + tm: tm, + } +} diff --git a/internal/job/user.go b/internal/job/user.go new file mode 100644 index 0000000..8fbce8d --- /dev/null +++ b/internal/job/user.go @@ -0,0 +1,30 @@ +package job + +import ( + "context" + "nunu-layout-admin/internal/repository" +) + +type UserJob interface { + KafkaConsumer(ctx context.Context) error +} + +func NewUserJob( + job *Job, + userRepo repository.UserRepository, +) UserJob { + return &userJob{ + userRepo: userRepo, + Job: job, + } +} + +type userJob struct { + userRepo repository.UserRepository + *Job +} + +func (t userJob) KafkaConsumer(ctx context.Context) error { + // do something + return nil +} diff --git a/internal/middleware/cors.go b/internal/middleware/cors.go new file mode 100644 index 0000000..8ae9c6c --- /dev/null +++ b/internal/middleware/cors.go @@ -0,0 +1,23 @@ +package middleware + +import ( + "github.com/gin-gonic/gin" + "net/http" +) + +func CORSMiddleware() gin.HandlerFunc { + return func(c *gin.Context) { + method := c.Request.Method + c.Header("Access-Control-Allow-Origin", c.GetHeader("Origin")) + c.Header("Access-Control-Allow-Credentials", "true") + + if method == "OPTIONS" { + c.Header("Access-Control-Allow-Methods", c.GetHeader("Access-Control-Request-Method")) + c.Header("Access-Control-Allow-Headers", c.GetHeader("Access-Control-Request-Headers")) + c.Header("Access-Control-Max-Age", "7200") + c.AbortWithStatus(http.StatusNoContent) + return + } + c.Next() + } +} diff --git a/internal/middleware/jwt.go b/internal/middleware/jwt.go new file mode 100644 index 0000000..9d33ccd --- /dev/null +++ b/internal/middleware/jwt.go @@ -0,0 +1,72 @@ +package middleware + +import ( + "github.com/gin-gonic/gin" + "go.uber.org/zap" + "net/http" + "nunu-layout-admin/api/v1" + "nunu-layout-admin/pkg/jwt" + "nunu-layout-admin/pkg/log" +) + +func StrictAuth(j *jwt.JWT, logger *log.Logger) gin.HandlerFunc { + return func(ctx *gin.Context) { + tokenString := ctx.Request.Header.Get("Authorization") + if tokenString == "" { + logger.WithContext(ctx).Warn("No token", zap.Any("data", map[string]interface{}{ + "url": ctx.Request.URL, + "params": ctx.Params, + })) + v1.HandleError(ctx, http.StatusUnauthorized, v1.ErrUnauthorized, nil) + ctx.Abort() + return + } + + claims, err := j.ParseToken(tokenString) + if err != nil { + logger.WithContext(ctx).Error("token error", zap.Any("data", map[string]interface{}{ + "url": ctx.Request.URL, + "params": ctx.Params, + }), zap.Error(err)) + v1.HandleError(ctx, http.StatusUnauthorized, v1.ErrUnauthorized, nil) + ctx.Abort() + return + } + + ctx.Set("claims", claims) + recoveryLoggerFunc(ctx, logger) + ctx.Next() + } +} + +func NoStrictAuth(j *jwt.JWT, logger *log.Logger) gin.HandlerFunc { + return func(ctx *gin.Context) { + tokenString := ctx.Request.Header.Get("Authorization") + if tokenString == "" { + tokenString, _ = ctx.Cookie("accessToken") + } + if tokenString == "" { + tokenString = ctx.Query("accessToken") + } + if tokenString == "" { + ctx.Next() + return + } + + claims, err := j.ParseToken(tokenString) + if err != nil { + ctx.Next() + return + } + + ctx.Set("claims", claims) + recoveryLoggerFunc(ctx, logger) + ctx.Next() + } +} + +func recoveryLoggerFunc(ctx *gin.Context, logger *log.Logger) { + if userInfo, ok := ctx.MustGet("claims").(*jwt.MyCustomClaims); ok { + logger.WithValue(ctx, zap.Any("UserId", userInfo.UserId)) + } +} diff --git a/internal/middleware/log.go b/internal/middleware/log.go new file mode 100644 index 0000000..372ff50 --- /dev/null +++ b/internal/middleware/log.go @@ -0,0 +1,54 @@ +package middleware + +import ( + "bytes" + "github.com/duke-git/lancet/v2/cryptor" + "github.com/duke-git/lancet/v2/random" + "github.com/gin-gonic/gin" + "go.uber.org/zap" + "io" + "nunu-layout-admin/pkg/log" + "time" +) + +func RequestLogMiddleware(logger *log.Logger) gin.HandlerFunc { + return func(ctx *gin.Context) { + // The configuration is initialized once per request + uuid, err := random.UUIdV4() + if err != nil { + return + } + trace := cryptor.Md5String(uuid) + logger.WithValue(ctx, zap.String("trace", trace)) + logger.WithValue(ctx, zap.String("request_method", ctx.Request.Method)) + logger.WithValue(ctx, zap.Any("request_headers", ctx.Request.Header)) + logger.WithValue(ctx, zap.String("request_url", ctx.Request.URL.String())) + if ctx.Request.Body != nil { + bodyBytes, _ := ctx.GetRawData() + ctx.Request.Body = io.NopCloser(bytes.NewBuffer(bodyBytes)) // 关键点 + logger.WithValue(ctx, zap.String("request_params", string(bodyBytes))) + } + logger.WithContext(ctx).Info("Request") + ctx.Next() + } +} +func ResponseLogMiddleware(logger *log.Logger) gin.HandlerFunc { + return func(ctx *gin.Context) { + blw := &bodyLogWriter{body: bytes.NewBufferString(""), ResponseWriter: ctx.Writer} + ctx.Writer = blw + startTime := time.Now() + ctx.Next() + duration := time.Since(startTime).String() + logger.WithContext(ctx).Info("Response", zap.Any("response_body", blw.body.String()), zap.Any("time", duration)) + } +} + +type bodyLogWriter struct { + gin.ResponseWriter + body *bytes.Buffer +} + +func (w bodyLogWriter) Write(b []byte) (int, error) { + w.body.Write(b) + return w.ResponseWriter.Write(b) +} diff --git a/internal/middleware/rbac.go b/internal/middleware/rbac.go new file mode 100644 index 0000000..60e042e --- /dev/null +++ b/internal/middleware/rbac.go @@ -0,0 +1,49 @@ +package middleware + +import ( + "github.com/casbin/casbin/v2" + "github.com/duke-git/lancet/v2/convertor" + "github.com/gin-gonic/gin" + "net/http" + v1 "nunu-layout-admin/api/v1" + "nunu-layout-admin/internal/model" + "nunu-layout-admin/pkg/jwt" +) + +func AuthMiddleware(e *casbin.SyncedEnforcer) gin.HandlerFunc { + return func(ctx *gin.Context) { + // 从上下文获取用户信息(假设通过 JWT 或其他方式设置) + v, exists := ctx.Get("claims") + if !exists { + v1.HandleError(ctx, http.StatusUnauthorized, v1.ErrUnauthorized, nil) + ctx.Abort() + return + } + uid := v.(*jwt.MyCustomClaims).UserId + if convertor.ToString(uid) == model.AdminUserID { + // 防呆设计,超管跳过API权限检查 + ctx.Next() + return + } + + // 获取请求的资源和操作 + sub := convertor.ToString(uid) + obj := model.ApiResourcePrefix + ctx.Request.URL.Path + act := ctx.Request.Method + + // 检查权限 + allowed, err := e.Enforce(sub, obj, act) + if err != nil { + v1.HandleError(ctx, http.StatusForbidden, v1.ErrForbidden, nil) + ctx.Abort() + return + } + if !allowed { + v1.HandleError(ctx, http.StatusForbidden, v1.ErrForbidden, nil) + ctx.Abort() + return + } + + ctx.Next() + } +} diff --git a/internal/middleware/sign.go b/internal/middleware/sign.go new file mode 100644 index 0000000..0afb577 --- /dev/null +++ b/internal/middleware/sign.go @@ -0,0 +1,53 @@ +package middleware + +import ( + "github.com/duke-git/lancet/v2/cryptor" + "github.com/gin-gonic/gin" + "github.com/spf13/viper" + "net/http" + v1 "nunu-layout-admin/api/v1" + "nunu-layout-admin/pkg/log" + "sort" + "strings" +) + +func SignMiddleware(logger *log.Logger, conf *viper.Viper) gin.HandlerFunc { + return func(ctx *gin.Context) { + requiredHeaders := []string{"Timestamp", "Nonce", "Sign", "App-Version"} + + for _, header := range requiredHeaders { + value, ok := ctx.Request.Header[header] + if !ok || len(value) == 0 { + v1.HandleError(ctx, http.StatusBadRequest, v1.ErrBadRequest, nil) + ctx.Abort() + return + } + } + + data := map[string]string{ + "AppKey": conf.GetString("security.api_sign.app_key"), + "Timestamp": ctx.Request.Header.Get("Timestamp"), + "Nonce": ctx.Request.Header.Get("Nonce"), + "AppVersion": ctx.Request.Header.Get("App-Version"), + } + + var keys []string + for k := range data { + keys = append(keys, k) + } + sort.Slice(keys, func(i, j int) bool { return strings.ToLower(keys[i]) < strings.ToLower(keys[j]) }) + + var str string + for _, k := range keys { + str += k + data[k] + } + str += conf.GetString("security.api_sign.app_security") + + if ctx.Request.Header.Get("Sign") != strings.ToUpper(cryptor.Md5String(str)) { + v1.HandleError(ctx, http.StatusBadRequest, v1.ErrBadRequest, nil) + ctx.Abort() + return + } + ctx.Next() + } +} diff --git a/internal/model/admin.go b/internal/model/admin.go new file mode 100644 index 0000000..ed9adf8 --- /dev/null +++ b/internal/model/admin.go @@ -0,0 +1,46 @@ +package model + +import "gorm.io/gorm" + +const ( + AdminRole = "admin" + AdminUserID = "1" + MenuResourcePrefix = "menu:" + ApiResourcePrefix = "api:" + PermSep = "," +) + +type AdminUser struct { + gorm.Model + Username string `gorm:"type:varchar(50);not null;uniqueIndex;comment:'用户名'"` + Nickname string `gorm:"type:varchar(50);not null;comment:'昵称'"` + Password string `gorm:"type:varchar(255);not null;comment:'密码'"` + Email string `gorm:"type:varchar(100);not null;comment:'电子邮件'"` + Phone string `gorm:"type:varchar(20);not null;comment:'手机号'"` +} + +func (m *AdminUser) TableName() string { + return "admin_users" +} + +type Role struct { + gorm.Model + Name string `json:"name" gorm:"column:name;type:varchar(100);uniqueIndex;comment:角色名"` + Sid string `json:"sid" gorm:"column:sid;type:varchar(100);uniqueIndex;comment:角色标识"` +} + +func (m *Role) TableName() string { + return "roles" +} + +type Api struct { + gorm.Model + Group string `gorm:"type:varchar(100);not null;comment:'API分组'"` + Name string `gorm:"type:varchar(100);not null;comment:'API名称'"` + Path string `gorm:"type:varchar(255);not null;comment:'API路径'"` + Method string `gorm:"type:varchar(20);not null;comment:'HTTP方法'"` +} + +func (m *Api) TableName() string { + return "api" +} diff --git a/internal/model/menu.go b/internal/model/menu.go new file mode 100644 index 0000000..c470bcf --- /dev/null +++ b/internal/model/menu.go @@ -0,0 +1,24 @@ +package model + +import "gorm.io/gorm" + +type Menu struct { + gorm.Model + ParentID uint `json:"parentId,omitempty" gorm:"column:parent_id;index;comment:父级菜单的id,使用整数表示"` // 父级菜单的id,使用整数表示 + Path string `json:"path" gorm:"column:path;type:varchar(255);comment:地址"` // 地址 + Title string `json:"title" gorm:"column:title;type:varchar(100);comment:标题,使用字符串表示"` // 标题,使用字符串表示 + Name string `json:"name,omitempty" gorm:"column:name;type:varchar(100);comment:同路由中的name,用于保活"` // 同路由中的name,用于保活 + Component string `json:"component,omitempty" gorm:"column:component;type:varchar(255);comment:绑定的组件"` // 绑定的组件,默认类型:Iframe、RouteView、ComponentError + Locale string `json:"locale,omitempty" gorm:"column:locale;type:varchar(100);comment:本地化标识"` // 本地化标识 + Icon string `json:"icon,omitempty" gorm:"column:icon;type:varchar(100);comment:图标,使用字符串表示"` // 图标,使用字符串表示 + Redirect string `json:"redirect,omitempty" gorm:"column:redirect;type:varchar(255);comment:重定向地址"` // 重定向地址 + URL string `json:"url,omitempty" gorm:"column:url;type:varchar(255);comment:iframe模式下的跳转url"` // iframe模式下的跳转url,不能与path重复 + KeepAlive bool `json:"keepAlive,omitempty" gorm:"column:keep_alive;default:false;comment:是否保活"` // 是否保活 + HideInMenu bool `json:"hideInMenu,omitempty" gorm:"column:hide_in_menu;default:false;comment:是否保活"` // 是否保活 + Target string `json:"target,omitempty" gorm:"column:target;type:varchar(20);comment:全连接跳转模式"` // 全连接跳转模式:'_blank'、'_self'、'_parent' + Weight int `json:"weight" gorm:"column:weight;type:int;default:0;comment:排序权重"` +} + +func (m *Menu) TableName() string { + return "menu" +} diff --git a/internal/model/user.go b/internal/model/user.go new file mode 100644 index 0000000..2272f1b --- /dev/null +++ b/internal/model/user.go @@ -0,0 +1,11 @@ +package model + +import "gorm.io/gorm" + +type User struct { + gorm.Model +} + +func (m *User) TableName() string { + return "user" +} diff --git a/internal/repository/admin.go b/internal/repository/admin.go new file mode 100644 index 0000000..65c7581 --- /dev/null +++ b/internal/repository/admin.go @@ -0,0 +1,327 @@ +package repository + +import ( + "context" + "fmt" + "github.com/duke-git/lancet/v2/convertor" + "go.uber.org/zap" + v1 "nunu-layout-admin/api/v1" + "nunu-layout-admin/internal/model" + "strings" +) + +type AdminRepository interface { + GetAdminUsers(ctx context.Context, req *v1.GetAdminUsersRequest) ([]model.AdminUser, int64, error) + GetAdminUser(ctx context.Context, uid uint) (model.AdminUser, error) + GetAdminUserByUsername(ctx context.Context, username string) (model.AdminUser, error) + AdminUserUpdate(ctx context.Context, m *model.AdminUser) error + AdminUserCreate(ctx context.Context, m *model.AdminUser) error + AdminUserDelete(ctx context.Context, id uint) error + + GetUserPermissions(ctx context.Context, uid uint) ([][]string, error) + GetUserRoles(ctx context.Context, uid uint) ([]string, error) + GetRolePermissions(ctx context.Context, role string) ([][]string, error) + UpdateRolePermission(ctx context.Context, role string, permissions map[string]struct{}) error + UpdateUserRoles(ctx context.Context, uid uint, roles []string) error + DeleteUserRoles(ctx context.Context, uid uint) error + + GetMenuList(ctx context.Context) ([]model.Menu, error) + MenuUpdate(ctx context.Context, m *model.Menu) error + MenuCreate(ctx context.Context, m *model.Menu) error + MenuDelete(ctx context.Context, id uint) error + + GetRoles(ctx context.Context, req *v1.GetRoleListRequest) ([]model.Role, int64, error) + RoleUpdate(ctx context.Context, m *model.Role) error + RoleCreate(ctx context.Context, m *model.Role) error + RoleDelete(ctx context.Context, id uint) error + CasbinRoleDelete(ctx context.Context, role string) error + GetRole(ctx context.Context, id uint) (model.Role, error) + GetRoleBySid(ctx context.Context, sid string) (model.Role, error) + + GetApis(ctx context.Context, req *v1.GetApisRequest) ([]model.Api, int64, error) + GetApiGroups(ctx context.Context) ([]string, error) + ApiUpdate(ctx context.Context, m *model.Api) error + ApiCreate(ctx context.Context, m *model.Api) error + ApiDelete(ctx context.Context, id uint) error +} + +func NewAdminRepository( + repository *Repository, +) AdminRepository { + return &adminRepository{ + Repository: repository, + } +} + +type adminRepository struct { + *Repository +} + +func (r *adminRepository) CasbinRoleDelete(ctx context.Context, role string) error { + _, err := r.e.DeleteRole(role) + return err +} + +func (r *adminRepository) GetRole(ctx context.Context, id uint) (model.Role, error) { + m := model.Role{} + return m, r.DB(ctx).Where("id = ?", id).First(&m).Error +} +func (r *adminRepository) GetRoleBySid(ctx context.Context, sid string) (model.Role, error) { + m := model.Role{} + return m, r.DB(ctx).Where("sid = ?", sid).First(&m).Error +} + +func (r *adminRepository) DeleteUserRoles(ctx context.Context, uid uint) error { + _, err := r.e.DeleteRolesForUser(convertor.ToString(uid)) + return err +} +func (r *adminRepository) UpdateUserRoles(ctx context.Context, uid uint, roles []string) error { + if len(roles) == 0 { + _, err := r.e.DeleteRolesForUser(convertor.ToString(uid)) + return err + } + old, err := r.e.GetRolesForUser(convertor.ToString(uid)) + if err != nil { + return err + } + oldMap := make(map[string]struct{}) + newMap := make(map[string]struct{}) + for _, v := range old { + oldMap[v] = struct{}{} + } + for _, v := range roles { + newMap[v] = struct{}{} + } + addRoles := make([]string, 0) + delRoles := make([]string, 0) + + for key, _ := range oldMap { + if _, exists := newMap[key]; !exists { + delRoles = append(delRoles, key) + } + } + for key, _ := range newMap { + if _, exists := oldMap[key]; !exists { + addRoles = append(addRoles, key) + } + } + if len(addRoles) == 0 && len(delRoles) == 0 { + return nil + } + for _, role := range delRoles { + if _, err := r.e.DeleteRoleForUser(convertor.ToString(uid), role); err != nil { + r.logger.WithContext(ctx).Error("DeleteRoleForUser error", zap.Error(err)) + return err + } + } + + _, err = r.e.AddRolesForUser(convertor.ToString(uid), addRoles) + return err +} + +func (r *adminRepository) GetAdminUserByUsername(ctx context.Context, username string) (model.AdminUser, error) { + m := model.AdminUser{} + return m, r.DB(ctx).Where("username = ?", username).First(&m).Error +} + +func (r *adminRepository) GetAdminUsers(ctx context.Context, req *v1.GetAdminUsersRequest) ([]model.AdminUser, int64, error) { + var list []model.AdminUser + var total int64 + scope := r.DB(ctx).Model(&model.AdminUser{}) + if req.Username != "" { + scope = scope.Where("username LIKE ?", "%"+req.Username+"%") + } + if req.Nickname != "" { + scope = scope.Where("nickname LIKE ?", "%"+req.Nickname+"%") + } + if req.Email != "" { + scope = scope.Where("email LIKE ?", "%"+req.Email+"%") + } + if req.Phone != "" { + scope = scope.Where("phone LIKE ?", "%"+req.Phone+"%") + } + if err := scope.Count(&total).Error; err != nil { + return nil, total, err + } + if err := scope.Offset((req.Page - 1) * req.PageSize).Limit(req.PageSize).Order("id DESC").Find(&list).Error; err != nil { + return nil, total, err + } + return list, total, nil +} + +func (r *adminRepository) GetAdminUser(ctx context.Context, uid uint) (model.AdminUser, error) { + m := model.AdminUser{} + return m, r.DB(ctx).Where("id = ?", uid).First(&m).Error +} + +func (r *adminRepository) AdminUserUpdate(ctx context.Context, m *model.AdminUser) error { + return r.DB(ctx).Where("id = ?", m.ID).Save(m).Error +} + +func (r *adminRepository) AdminUserCreate(ctx context.Context, m *model.AdminUser) error { + return r.DB(ctx).Create(m).Error +} + +func (r *adminRepository) AdminUserDelete(ctx context.Context, id uint) error { + return r.DB(ctx).Where("id = ?", id).Delete(&model.AdminUser{}).Error +} + +func (r *adminRepository) UpdateRolePermission(ctx context.Context, role string, newPermSet map[string]struct{}) error { + if len(newPermSet) == 0 { + return nil + } + // 获取当前角色的所有权限 + oldPermissions, err := r.e.GetPermissionsForUser(role) + if err != nil { + return err + } + + // 将旧权限转换为 map 方便查找 + oldPermSet := make(map[string]struct{}) + for _, perm := range oldPermissions { + if len(perm) == 3 { + oldPermSet[strings.Join([]string{perm[1], perm[2]}, model.PermSep)] = struct{}{} + } + } + + // 找出需要删除的权限 + var removePermissions [][]string + for key, _ := range oldPermSet { + if _, exists := newPermSet[key]; !exists { + removePermissions = append(removePermissions, strings.Split(key, model.PermSep)) + } + } + + // 找出需要添加的权限 + var addPermissions [][]string + for key, _ := range newPermSet { + if _, exists := oldPermSet[key]; !exists { + addPermissions = append(addPermissions, strings.Split(key, model.PermSep)) + } + + } + + // 先移除多余的权限(使用 DeletePermissionForUser 逐条删除) + for _, perm := range removePermissions { + _, err := r.e.DeletePermissionForUser(role, perm...) + if err != nil { + return fmt.Errorf("移除权限失败: %v", err) + } + } + + // 再添加新的权限 + if len(addPermissions) > 0 { + _, err = r.e.AddPermissionsForUser(role, addPermissions...) + if err != nil { + return fmt.Errorf("添加新权限失败: %v", err) + } + } + + return nil +} + +func (r *adminRepository) GetApiGroups(ctx context.Context) ([]string, error) { + res := make([]string, 0) + if err := r.DB(ctx).Model(&model.Api{}).Group("`group`").Pluck("`group`", &res).Error; err != nil { + return nil, err + } + return res, nil +} + +func (r *adminRepository) GetApis(ctx context.Context, req *v1.GetApisRequest) ([]model.Api, int64, error) { + var list []model.Api + var total int64 + scope := r.DB(ctx).Model(&model.Api{}) + if req.Name != "" { + scope = scope.Where("name LIKE ?", "%"+req.Name+"%") + } + if req.Group != "" { + scope = scope.Where("`group` LIKE ?", "%"+req.Group+"%") + } + if req.Path != "" { + scope = scope.Where("path LIKE ?", "%"+req.Path+"%") + } + if req.Method != "" { + scope = scope.Where("method = ?", req.Method) + } + if err := scope.Count(&total).Error; err != nil { + return nil, total, err + } + if err := scope.Offset((req.Page - 1) * req.PageSize).Limit(req.PageSize).Order("`group` ASC").Find(&list).Error; err != nil { + return nil, total, err + } + return list, total, nil +} + +func (r *adminRepository) ApiUpdate(ctx context.Context, m *model.Api) error { + return r.DB(ctx).Where("id = ?", m.ID).Save(m).Error +} + +func (r *adminRepository) ApiCreate(ctx context.Context, m *model.Api) error { + return r.DB(ctx).Create(m).Error +} + +func (r *adminRepository) ApiDelete(ctx context.Context, id uint) error { + return r.DB(ctx).Where("id = ?", id).Delete(&model.Api{}).Error +} + +func (r *adminRepository) GetUserPermissions(ctx context.Context, uid uint) ([][]string, error) { + return r.e.GetImplicitPermissionsForUser(convertor.ToString(uid)) + +} +func (r *adminRepository) GetRolePermissions(ctx context.Context, role string) ([][]string, error) { + return r.e.GetPermissionsForUser(role) +} +func (r *adminRepository) GetUserRoles(ctx context.Context, uid uint) ([]string, error) { + return r.e.GetRolesForUser(convertor.ToString(uid)) +} +func (r *adminRepository) MenuUpdate(ctx context.Context, m *model.Menu) error { + return r.DB(ctx).Where("id = ?", m.ID).Save(m).Error +} + +func (r *adminRepository) MenuCreate(ctx context.Context, m *model.Menu) error { + return r.DB(ctx).Save(m).Error +} + +func (r *adminRepository) MenuDelete(ctx context.Context, id uint) error { + return r.DB(ctx).Where("id = ?", id).Delete(&model.Menu{}).Error +} + +func (r *adminRepository) GetMenuList(ctx context.Context) ([]model.Menu, error) { + var menuList []model.Menu + if err := r.DB(ctx).Order("weight DESC").Find(&menuList).Error; err != nil { + return nil, err + } + return menuList, nil +} + +func (r *adminRepository) RoleUpdate(ctx context.Context, m *model.Role) error { + return r.DB(ctx).Where("id = ?", m.ID).UpdateColumn("name", m.Name).Error +} + +func (r *adminRepository) RoleCreate(ctx context.Context, m *model.Role) error { + return r.DB(ctx).Create(m).Error +} + +func (r *adminRepository) RoleDelete(ctx context.Context, id uint) error { + return r.DB(ctx).Where("id = ?", id).Delete(&model.Role{}).Error +} + +func (r *adminRepository) GetRoles(ctx context.Context, req *v1.GetRoleListRequest) ([]model.Role, int64, error) { + var list []model.Role + var total int64 + scope := r.DB(ctx).Model(&model.Role{}) + if req.Name != "" { + scope = scope.Where("name LIKE ?", "%"+req.Name+"%") + } + if req.Sid != "" { + scope = scope.Where("sid = ?", req.Sid) + } + if err := scope.Count(&total).Error; err != nil { + return nil, total, err + } + if err := scope.Offset((req.Page - 1) * req.PageSize).Limit(req.PageSize).Find(&list).Error; err != nil { + return nil, total, err + } + return list, total, nil +} diff --git a/internal/repository/repository.go b/internal/repository/repository.go new file mode 100644 index 0000000..189329f --- /dev/null +++ b/internal/repository/repository.go @@ -0,0 +1,160 @@ +package repository + +import ( + "context" + "fmt" + "github.com/casbin/casbin/v2" + "github.com/casbin/casbin/v2/model" + gormadapter "github.com/casbin/gorm-adapter/v3" + "github.com/glebarez/sqlite" + "github.com/redis/go-redis/v9" + "github.com/spf13/viper" + "gorm.io/driver/mysql" + "gorm.io/driver/postgres" + "gorm.io/gorm" + "nunu-layout-admin/pkg/log" + "nunu-layout-admin/pkg/zapgorm2" + "time" +) + +const ctxTxKey = "TxKey" + +type Repository struct { + db *gorm.DB + e *casbin.SyncedEnforcer + //rdb *redis.Client + logger *log.Logger +} + +func NewRepository( + logger *log.Logger, + db *gorm.DB, + e *casbin.SyncedEnforcer, + // rdb *redis.Client, +) *Repository { + return &Repository{ + db: db, + e: e, + //rdb: rdb, + logger: logger, + } +} + +type Transaction interface { + Transaction(ctx context.Context, fn func(ctx context.Context) error) error +} + +func NewTransaction(r *Repository) Transaction { + return r +} + +// DB return tx +// If you need to create a Transaction, you must call DB(ctx) and Transaction(ctx,fn) +func (r *Repository) DB(ctx context.Context) *gorm.DB { + v := ctx.Value(ctxTxKey) + if v != nil { + if tx, ok := v.(*gorm.DB); ok { + return tx + } + } + return r.db.WithContext(ctx) +} + +func (r *Repository) Transaction(ctx context.Context, fn func(ctx context.Context) error) error { + return r.db.WithContext(ctx).Transaction(func(tx *gorm.DB) error { + ctx = context.WithValue(ctx, ctxTxKey, tx) + return fn(ctx) + }) +} + +func NewDB(conf *viper.Viper, l *log.Logger) *gorm.DB { + var ( + db *gorm.DB + err error + ) + + logger := zapgorm2.New(l.Logger) + driver := conf.GetString("data.db.user.driver") + dsn := conf.GetString("data.db.user.dsn") + + // GORM doc: https://gorm.io/docs/connecting_to_the_database.html + switch driver { + case "mysql": + db, err = gorm.Open(mysql.Open(dsn), &gorm.Config{ + Logger: logger, + }) + case "postgres": + db, err = gorm.Open(postgres.New(postgres.Config{ + DSN: dsn, + PreferSimpleProtocol: true, // disables implicit prepared statement usage + }), &gorm.Config{}) + case "sqlite": + db, err = gorm.Open(sqlite.Open(dsn), &gorm.Config{}) + default: + panic("unknown db driver") + } + if err != nil { + panic(err) + } + db = db.Debug() + + // Connection Pool config + sqlDB, err := db.DB() + if err != nil { + panic(err) + } + sqlDB.SetMaxIdleConns(10) + sqlDB.SetMaxOpenConns(100) + sqlDB.SetConnMaxLifetime(time.Hour) + return db +} +func NewCasbinEnforcer(conf *viper.Viper, l *log.Logger, db *gorm.DB) *casbin.SyncedEnforcer { + a, _ := gormadapter.NewAdapterByDB(db) + m, err := model.NewModelFromString(` +[request_definition] +r = sub, obj, act + +[policy_definition] +p = sub, obj, act + +[role_definition] +g = _, _ + +[policy_effect] +e = some(where (p.eft == allow)) + +[matchers] +m = g(r.sub, p.sub) && r.obj == p.obj && r.act == p.act +`) + + if err != nil { + panic(err) + } + e, _ := casbin.NewSyncedEnforcer(m, a) + e.StartAutoLoadPolicy(10 * time.Second) // 每10秒自动加载策略,防止启动多服务进程策略不一致 + + // Enable Logger, decide whether to show it in terminal + //e.EnableLog(true) + + // Save the policy back to DB. + e.EnableAutoSave(true) + + return e +} +func NewRedis(conf *viper.Viper) *redis.Client { + rdb := redis.NewClient(&redis.Options{ + Addr: conf.GetString("data.redis.addr"), + Password: conf.GetString("data.redis.password"), + DB: conf.GetInt("data.redis.db"), + }) + + ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second) + defer cancel() + + _, err := rdb.Ping(ctx).Result() + if err != nil { + panic(fmt.Sprintf("redis error: %s", err.Error())) + } + + return rdb +} diff --git a/internal/repository/user.go b/internal/repository/user.go new file mode 100644 index 0000000..904ddf0 --- /dev/null +++ b/internal/repository/user.go @@ -0,0 +1,28 @@ +package repository + +import ( + "context" + "nunu-layout-admin/internal/model" +) + +type UserRepository interface { + GetUser(ctx context.Context, id int64) (*model.User, error) +} + +func NewUserRepository( + repository *Repository, +) UserRepository { + return &userRepository{ + Repository: repository, + } +} + +type userRepository struct { + *Repository +} + +func (r *userRepository) GetUser(ctx context.Context, id int64) (*model.User, error) { + var user model.User + + return &user, nil +} diff --git a/internal/server/http.go b/internal/server/http.go new file mode 100644 index 0000000..fe1229d --- /dev/null +++ b/internal/server/http.go @@ -0,0 +1,101 @@ +package server + +import ( + "github.com/casbin/casbin/v2" + "github.com/gin-contrib/static" + "github.com/gin-gonic/gin" + "github.com/spf13/viper" + swaggerfiles "github.com/swaggo/files" + ginSwagger "github.com/swaggo/gin-swagger" + nethttp "net/http" + "nunu-layout-admin/docs" + "nunu-layout-admin/internal/handler" + "nunu-layout-admin/internal/middleware" + "nunu-layout-admin/pkg/jwt" + "nunu-layout-admin/pkg/log" + "nunu-layout-admin/pkg/server/http" + "nunu-layout-admin/web" +) + +func NewHTTPServer( + logger *log.Logger, + conf *viper.Viper, + jwt *jwt.JWT, + e *casbin.SyncedEnforcer, + adminHandler *handler.AdminHandler, + userHandler *handler.UserHandler, +) *http.Server { + gin.SetMode(gin.DebugMode) + s := http.NewServer( + gin.Default(), + logger, + http.WithServerHost(conf.GetString("http.host")), + http.WithServerPort(conf.GetInt("http.port")), + ) + // 设置前端静态资源 + s.Use(static.Serve("/", static.EmbedFolder(web.Assets(), "dist"))) + s.NoRoute(func(c *gin.Context) { + indexPageData, err := web.Assets().ReadFile("dist/index.html") + if err != nil { + c.String(nethttp.StatusNotFound, "404 page not found") + return + } + c.Data(nethttp.StatusOK, "text/html; charset=utf-8", indexPageData) + }) + // swagger doc + docs.SwaggerInfo.BasePath = "/" + s.GET("/swagger/*any", ginSwagger.WrapHandler( + swaggerfiles.Handler, + //ginSwagger.URL(fmt.Sprintf("http://localhost:%d/swagger/doc.json", conf.GetInt("app.http.port"))), + ginSwagger.DefaultModelsExpandDepth(-1), + ginSwagger.PersistAuthorization(true), + )) + + s.Use( + middleware.CORSMiddleware(), + middleware.ResponseLogMiddleware(logger), + middleware.RequestLogMiddleware(logger), + //middleware.SignMiddleware(log), + ) + + v1 := s.Group("/v1") + { + // No route group has permission + noAuthRouter := v1.Group("/") + { + noAuthRouter.POST("/login", adminHandler.Login) + } + + // Strict permission routing group + strictAuthRouter := v1.Group("/").Use(middleware.StrictAuth(jwt, logger), middleware.AuthMiddleware(e)) + { + strictAuthRouter.GET("/users", userHandler.GetUsers) + + strictAuthRouter.GET("/menus", adminHandler.GetMenus) + strictAuthRouter.GET("/admin/menus", adminHandler.GetAdminMenus) + strictAuthRouter.POST("/admin/menu", adminHandler.MenuCreate) + strictAuthRouter.PUT("/admin/menu", adminHandler.MenuUpdate) + strictAuthRouter.DELETE("/admin/menu", adminHandler.MenuDelete) + + strictAuthRouter.GET("/admin/users", adminHandler.GetAdminUsers) + strictAuthRouter.GET("/admin/user", adminHandler.GetAdminUser) + strictAuthRouter.PUT("/admin/user", adminHandler.AdminUserUpdate) + strictAuthRouter.POST("/admin/user", adminHandler.AdminUserCreate) + strictAuthRouter.DELETE("/admin/user", adminHandler.AdminUserDelete) + strictAuthRouter.GET("/admin/user/permissions", adminHandler.GetUserPermissions) + strictAuthRouter.GET("/admin/role/permissions", adminHandler.GetRolePermissions) + strictAuthRouter.PUT("/admin/role/permission", adminHandler.UpdateRolePermission) + strictAuthRouter.GET("/admin/roles", adminHandler.GetRoles) + strictAuthRouter.POST("/admin/role", adminHandler.RoleCreate) + strictAuthRouter.PUT("/admin/role", adminHandler.RoleUpdate) + strictAuthRouter.DELETE("/admin/role", adminHandler.RoleDelete) + + strictAuthRouter.GET("/admin/apis", adminHandler.GetApis) + strictAuthRouter.POST("/admin/api", adminHandler.ApiCreate) + strictAuthRouter.PUT("/admin/api", adminHandler.ApiUpdate) + strictAuthRouter.DELETE("/admin/api", adminHandler.ApiDelete) + + } + } + return s +} diff --git a/internal/server/job.go b/internal/server/job.go new file mode 100644 index 0000000..020666c --- /dev/null +++ b/internal/server/job.go @@ -0,0 +1,33 @@ +package server + +import ( + "context" + "nunu-layout-admin/internal/job" + "nunu-layout-admin/pkg/log" +) + +type JobServer struct { + log *log.Logger + userJob job.UserJob +} + +func NewJobServer( + log *log.Logger, + userJob job.UserJob, +) *JobServer { + return &JobServer{ + log: log, + userJob: userJob, + } +} + +func (j *JobServer) Start(ctx context.Context) error { + // Tips: If you want job to start as a separate process, just refer to the task implementation and adjust the code accordingly. + + // eg: kafka consumer + err := j.userJob.KafkaConsumer(ctx) + return err +} +func (j *JobServer) Stop(ctx context.Context) error { + return nil +} diff --git a/internal/server/migration.go b/internal/server/migration.go new file mode 100644 index 0000000..ec40406 --- /dev/null +++ b/internal/server/migration.go @@ -0,0 +1,697 @@ +package server + +import ( + "context" + "encoding/json" + "fmt" + "github.com/casbin/casbin/v2" + "go.uber.org/zap" + "golang.org/x/crypto/bcrypt" + "gorm.io/gorm" + "net/http" + v1 "nunu-layout-admin/api/v1" + "nunu-layout-admin/internal/model" + "nunu-layout-admin/pkg/log" + "nunu-layout-admin/pkg/sid" + "os" +) + +type MigrateServer struct { + db *gorm.DB + log *log.Logger + sid *sid.Sid + e *casbin.SyncedEnforcer +} + +func NewMigrateServer( + db *gorm.DB, + log *log.Logger, + sid *sid.Sid, + e *casbin.SyncedEnforcer, +) *MigrateServer { + return &MigrateServer{ + e: e, + db: db, + log: log, + sid: sid, + } +} +func (m *MigrateServer) Start(ctx context.Context) error { + m.db.Migrator().DropTable( + &model.AdminUser{}, + &model.Menu{}, + &model.Role{}, + &model.Api{}, + ) + if err := m.db.AutoMigrate( + &model.AdminUser{}, + &model.Menu{}, + &model.Role{}, + &model.Api{}, + ); err != nil { + m.log.Error("user migrate error", zap.Error(err)) + return err + } + err := m.initialAdminUser(ctx) + if err != nil { + m.log.Error("initialAdminUser error", zap.Error(err)) + } + + err = m.initialMenuData(ctx) + if err != nil { + m.log.Error("initialMenuData error", zap.Error(err)) + } + + err = m.initialApisData(ctx) + if err != nil { + m.log.Error("initialApisData error", zap.Error(err)) + } + + err = m.initialRBAC(ctx) + if err != nil { + m.log.Error("initialRBAC error", zap.Error(err)) + } + + m.log.Info("AutoMigrate success") + os.Exit(0) + return nil +} +func (m *MigrateServer) Stop(ctx context.Context) error { + m.log.Info("AutoMigrate stop") + return nil +} +func (m *MigrateServer) initialAdminUser(ctx context.Context) error { + hashedPassword, err := bcrypt.GenerateFromPassword([]byte("123456"), bcrypt.DefaultCost) + if err != nil { + return err + } + err = m.db.Create(&model.AdminUser{ + Model: gorm.Model{ID: 1}, + Username: "admin", + Password: string(hashedPassword), + Nickname: "Admin", + }).Error + return m.db.Create(&model.AdminUser{ + Model: gorm.Model{ID: 2}, + Username: "user", + Password: string(hashedPassword), + Nickname: "运营人员", + }).Error + +} +func (m *MigrateServer) initialRBAC(ctx context.Context) error { + roles := []model.Role{ + {Sid: model.AdminRole, Name: "超级管理员"}, + {Sid: "1000", Name: "运营人员"}, + {Sid: "1001", Name: "访客"}, + } + if err := m.db.Create(&roles).Error; err != nil { + return err + } + m.e.ClearPolicy() + err := m.e.SavePolicy() + if err != nil { + m.log.Error("m.e.SavePolicy error", zap.Error(err)) + return err + } + _, err = m.e.AddRoleForUser(model.AdminUserID, model.AdminRole) + if err != nil { + m.log.Error("m.e.AddRoleForUser error", zap.Error(err)) + return err + } + menuList := make([]v1.MenuDataItem, 0) + err = json.Unmarshal([]byte(menuData), &menuList) + if err != nil { + m.log.Error("json.Unmarshal error", zap.Error(err)) + return err + } + for _, item := range menuList { + m.addPermissionForRole(model.AdminRole, model.MenuResourcePrefix+item.Path, "read") + } + apiList := make([]model.Api, 0) + err = m.db.Find(&apiList).Error + if err != nil { + m.log.Error("m.db.Find(&apiList).Error error", zap.Error(err)) + return err + } + for _, api := range apiList { + m.addPermissionForRole(model.AdminRole, model.ApiResourcePrefix+api.Path, api.Method) + } + + // 添加运营人员权限 + _, err = m.e.AddRoleForUser("2", "1000") + if err != nil { + m.log.Error("m.e.AddRoleForUser error", zap.Error(err)) + return err + } + m.addPermissionForRole("1000", model.MenuResourcePrefix+"/profile/basic", "read") + m.addPermissionForRole("1000", model.MenuResourcePrefix+"/profile/advanced", "read") + m.addPermissionForRole("1000", model.MenuResourcePrefix+"/profile", "read") + m.addPermissionForRole("1000", model.MenuResourcePrefix+"/dashboard", "read") + m.addPermissionForRole("1000", model.MenuResourcePrefix+"/dashboard/workplace", "read") + m.addPermissionForRole("1000", model.MenuResourcePrefix+"/dashboard/analysis", "read") + m.addPermissionForRole("1000", model.MenuResourcePrefix+"/account/settings", "read") + m.addPermissionForRole("1000", model.MenuResourcePrefix+"/account/center", "read") + m.addPermissionForRole("1000", model.MenuResourcePrefix+"/account", "read") + m.addPermissionForRole("1000", model.ApiResourcePrefix+"/v1/menus", http.MethodGet) + m.addPermissionForRole("1000", model.ApiResourcePrefix+"/v1/admin/user", http.MethodGet) + + return nil +} +func (m *MigrateServer) addPermissionForRole(role, resource, action string) { + _, err := m.e.AddPermissionForUser(role, resource, action) + if err != nil { + m.log.Sugar().Info("为角色 %s 添加权限 %s:%s 失败: %v", role, resource, action, err) + return + } + fmt.Printf("为角色 %s 添加权限: %s %s\n", role, resource, action) +} +func (m *MigrateServer) initialApisData(ctx context.Context) error { + initialApis := []model.Api{ + + {Group: "基础API", Name: "获取用户菜单列表", Path: "/v1/menus", Method: http.MethodGet}, + {Group: "基础API", Name: "获取管理员信息", Path: "/v1/admin/user", Method: http.MethodGet}, + + {Group: "菜单管理", Name: "获取管理菜单", Path: "/v1/admin/menus", Method: http.MethodGet}, + {Group: "菜单管理", Name: "创建菜单", Path: "/v1/admin/menu", Method: http.MethodPost}, + {Group: "菜单管理", Name: "更新菜单", Path: "/v1/admin/menu", Method: http.MethodPut}, + {Group: "菜单管理", Name: "删除菜单", Path: "/v1/admin/menu", Method: http.MethodDelete}, + + {Group: "权限模块", Name: "获取用户权限", Path: "/v1/admin/user/permissions", Method: http.MethodGet}, + {Group: "权限模块", Name: "获取角色权限", Path: "/v1/admin/role/permissions", Method: http.MethodGet}, + {Group: "权限模块", Name: "更新角色权限", Path: "/v1/admin/role/permission", Method: http.MethodPut}, + {Group: "权限模块", Name: "获取角色列表", Path: "/v1/admin/roles", Method: http.MethodGet}, + {Group: "权限模块", Name: "创建角色", Path: "/v1/admin/role", Method: http.MethodPost}, + {Group: "权限模块", Name: "更新角色", Path: "/v1/admin/role", Method: http.MethodPut}, + {Group: "权限模块", Name: "删除角色", Path: "/v1/admin/role", Method: http.MethodDelete}, + + {Group: "权限模块", Name: "获取管理员列表", Path: "/v1/admin/users", Method: http.MethodGet}, + {Group: "权限模块", Name: "更新管理员信息", Path: "/v1/admin/user", Method: http.MethodPut}, + {Group: "权限模块", Name: "创建管理员账号", Path: "/v1/admin/user", Method: http.MethodPost}, + {Group: "权限模块", Name: "删除管理员", Path: "/v1/admin/user", Method: http.MethodDelete}, + + {Group: "权限模块", Name: "获取API列表", Path: "/v1/admin/apis", Method: http.MethodGet}, + {Group: "权限模块", Name: "创建API", Path: "/v1/admin/api", Method: http.MethodPost}, + {Group: "权限模块", Name: "更新API", Path: "/v1/admin/api", Method: http.MethodPut}, + {Group: "权限模块", Name: "删除API", Path: "/v1/admin/api", Method: http.MethodDelete}, + } + + return m.db.Create(&initialApis).Error +} +func (m *MigrateServer) initialMenuData(ctx context.Context) error { + menuList := make([]v1.MenuDataItem, 0) + err := json.Unmarshal([]byte(menuData), &menuList) + if err != nil { + m.log.Error("json.Unmarshal error", zap.Error(err)) + return err + } + menuListDb := make([]model.Menu, 0) + for _, item := range menuList { + menuListDb = append(menuListDb, model.Menu{ + Model: gorm.Model{ + ID: item.ID, + }, + ParentID: item.ParentID, + Path: item.Path, + Title: item.Title, + Name: item.Name, + Component: item.Component, + Locale: item.Locale, + Weight: item.Weight, + Icon: item.Icon, + Redirect: item.Redirect, + URL: item.URL, + KeepAlive: item.KeepAlive, + HideInMenu: item.HideInMenu, + }) + } + return m.db.Create(&menuListDb).Error +} + +var menuData = `[ + { + "id": 18, + "parentId": 15, + "path": "/access/admin", + "title": "管理员账号", + "name": "accessAdmin", + "component": "/access/admin", + "locale": "menu.access.admin" + }, + { + "id": 2, + "parentId": 0, + "title": "分析页", + "icon": "DashboardOutlined", + "component": "/dashboard/analysis", + "path": "/dashboard/analysis", + "name": "DashboardAnalysis", + "keepAlive": true, + "locale": "menu.dashboard.analysis", + "weight": 2 + }, + { + "id": 1, + "parentId": 0, + "title": "仪表盘", + "icon": "DashboardOutlined", + "component": "RouteView", + "redirect": "/dashboard/analysis", + "path": "/dashboard", + "name": "Dashboard", + "locale": "menu.dashboard" + }, + { + "id": 3, + "parentId": 0, + "title": "表单页", + "icon": "FormOutlined", + "component": "RouteView", + "redirect": "/form/basic", + "path": "/form", + "name": "Form", + "locale": "menu.form" + }, + { + "id": 5, + "parentId": 0, + "title": "链接", + "icon": "LinkOutlined", + "component": "RouteView", + "redirect": "/link/iframe", + "path": "/link", + "name": "Link", + "locale": "menu.link" + }, + { + "id": 6, + "parentId": 5, + "title": "AntDesign", + "url": "https://ant.design/", + "component": "Iframe", + "path": "/link/iframe", + "name": "LinkIframe", + "keepAlive": true, + "locale": "menu.link.iframe" + }, + { + "id": 7, + "parentId": 5, + "title": "AntDesignVue", + "url": "https://antdv.com/", + "component": "Iframe", + "path": "/link/antdv", + "name": "LinkAntdv", + "keepAlive": true, + "locale": "menu.link.antdv" + }, + { + "id": 8, + "parentId": 5, + "path": "https://www.baidu.com", + "name": "LinkExternal", + "title": "跳转百度", + "locale": "menu.link.external" + }, + { + "id": 9, + "parentId": 0, + "title": "菜单", + "icon": "BarsOutlined", + "component": "RouteView", + "path": "/menu", + "redirect": "/menu/menu1", + "name": "Menu", + "locale": "menu.menu" + }, + { + "id": 10, + "parentId": 9, + "title": "菜单1", + "component": "/menu/menu1", + "path": "/menu/menu1", + "name": "MenuMenu11", + "keepAlive": true, + "locale": "menu.menu.menu1" + }, + { + "id": 11, + "parentId": 9, + "title": "菜单2", + "component": "/menu/menu2", + "path": "/menu/menu2", + "keepAlive": true, + "locale": "menu.menu.menu2" + }, + { + "id": 12, + "parentId": 9, + "path": "/menu/menu3", + "redirect": "/menu/menu3/menu1", + "title": "菜单1-1", + "component": "RouteView", + "locale": "menu.menu.menu3" + }, + { + "id": 13, + "parentId": 12, + "path": "/menu/menu3/menu1", + "component": "/menu/menu-1-1/menu1", + "title": "菜单1-1-1", + "keepAlive": true, + "locale": "menu.menu3.menu1" + }, + { + "id": 14, + "parentId": 12, + "path": "/menu/menu3/menu2", + "component": "/menu/menu-1-1/menu2", + "title": "菜单1-1-2", + "keepAlive": true, + "locale": "menu.menu3.menu2" + }, + { + "id": 15, + "path": "/access", + "component": "RouteView", + "redirect": "/access/common", + "title": "权限模块", + "name": "Access", + "parentId": 0, + "icon": "ClusterOutlined", + "locale": "menu.access", + "weight": 1 + }, + { + "id": 51, + "parentId": 15, + "path": "/access/role", + "title": "角色管理", + "name": "AccessRoles", + "component": "/access/role", + "locale": "menu.access.roles" + }, +{ + "id": 52, + "parentId": 15, + "path": "/access/menu", + "title": "菜单管理", + "name": "AccessMenu", + "component": "/access/menu", + "locale": "menu.access.menus" + }, +{ + "id": 53, + "parentId": 15, + "path": "/access/api", + "title": "API管理", + "name": "AccessAPI", + "component": "/access/api", + "locale": "menu.access.api" + }, + { + "id": 19, + "parentId": 0, + "title": "异常页", + "icon": "WarningOutlined", + "component": "RouteView", + "redirect": "/exception/403", + "path": "/exception", + "name": "Exception", + "locale": "menu.exception" + }, + { + "id": 20, + "parentId": 19, + "path": "/exception/403", + "title": "403", + "name": "403", + "component": "/exception/403", + "locale": "menu.exception.not-permission" + }, + { + "id": 21, + "parentId": 19, + "path": "/exception/404", + "title": "404", + "name": "404", + "component": "/exception/404", + "locale": "menu.exception.not-find" + }, + { + "id": 22, + "parentId": 19, + "path": "/exception/500", + "title": "500", + "name": "500", + "component": "/exception/500", + "locale": "menu.exception.server-error" + }, + { + "id": 23, + "parentId": 0, + "title": "结果页", + "icon": "CheckCircleOutlined", + "component": "RouteView", + "redirect": "/result/success", + "path": "/result", + "name": "Result", + "locale": "menu.result" + }, + { + "id": 24, + "parentId": 23, + "path": "/result/success", + "title": "成功页", + "name": "ResultSuccess", + "component": "/result/success", + "locale": "menu.result.success" + }, + { + "id": 25, + "parentId": 23, + "path": "/result/fail", + "title": "失败页", + "name": "ResultFail", + "component": "/result/fail", + "locale": "menu.result.fail" + }, + { + "id": 26, + "parentId": 0, + "title": "列表页", + "icon": "TableOutlined", + "component": "RouteView", + "redirect": "/list/card-list", + "path": "/list", + "name": "List", + "locale": "menu.list" + }, + { + "id": 27, + "parentId": 26, + "path": "/list/card-list", + "title": "卡片列表", + "name": "ListCard", + "component": "/list/card-list", + "locale": "menu.list.card-list" + }, + { + "id": 28, + "parentId": 0, + "title": "详情页", + "icon": "ProfileOutlined", + "component": "RouteView", + "redirect": "/profile/basic", + "path": "/profile", + "name": "Profile", + "locale": "menu.profile" + }, + { + "id": 29, + "parentId": 28, + "path": "/profile/basic", + "title": "基础详情页", + "name": "ProfileBasic", + "component": "/profile/basic/index", + "locale": "menu.profile.basic" + }, + { + "id": 30, + "parentId": 26, + "path": "/list/search-list", + "title": "搜索列表", + "name": "SearchList", + "component": "/list/search-list", + "locale": "menu.list.search-list" + }, + { + "id": 31, + "parentId": 30, + "path": "/list/search-list/articles", + "title": "搜索列表(文章)", + "name": "SearchListArticles", + "component": "/list/search-list/articles", + "locale": "menu.list.search-list.articles" + }, + { + "id": 32, + "parentId": 30, + "path": "/list/search-list/projects", + "title": "搜索列表(项目)", + "name": "SearchListProjects", + "component": "/list/search-list/projects", + "locale": "menu.list.search-list.projects" + }, + { + "id": 33, + "parentId": 30, + "path": "/list/search-list/applications", + "title": "搜索列表(应用)", + "name": "SearchListApplications", + "component": "/list/search-list/applications", + "locale": "menu.list.search-list.applications" + }, + { + "id": 34, + "parentId": 26, + "path": "/list/basic-list", + "title": "标准列表", + "name": "BasicCard", + "component": "/list/basic-list", + "locale": "menu.list.basic-list" + }, + { + "id": 35, + "parentId": 28, + "path": "/profile/advanced", + "title": "高级详细页", + "name": "ProfileAdvanced", + "component": "/profile/advanced/index", + "locale": "menu.profile.advanced" + }, + { + "id": 4, + "parentId": 3, + "title": "基础表单", + "component": "/form/basic-form/index", + "path": "/form/basic-form", + "name": "FormBasic", + "keepAlive": false, + "locale": "menu.form.basic-form" + }, + { + "id": 36, + "parentId": 0, + "title": "个人页", + "icon": "UserOutlined", + "component": "RouteView", + "redirect": "/account/center", + "path": "/account", + "name": "Account", + "locale": "menu.account" + }, + { + "id": 37, + "parentId": 36, + "path": "/account/center", + "title": "个人中心", + "name": "AccountCenter", + "component": "/account/center", + "locale": "menu.account.center" + }, + { + "id": 38, + "parentId": 36, + "path": "/account/settings", + "title": "个人设置", + "name": "AccountSettings", + "component": "/account/settings", + "locale": "menu.account.settings" + }, + { + "id": 39, + "parentId": 3, + "title": "分步表单", + "component": "/form/step-form/index", + "path": "/form/step-form", + "name": "FormStep", + "keepAlive": false, + "locale": "menu.form.step-form" + }, + { + "id": 40, + "parentId": 3, + "title": "高级表单", + "component": "/form/advanced-form/index", + "path": "/form/advanced-form", + "name": "FormAdvanced", + "keepAlive": false, + "locale": "menu.form.advanced-form" + }, + { + "id": 41, + "parentId": 26, + "path": "/list/table-list", + "title": "查询表格", + "name": "ConsultTable", + "component": "/list/table-list", + "locale": "menu.list.consult-table" + }, + { + "id": 42, + "parentId": 1, + "title": "监控页", + "component": "/dashboard/monitor", + "path": "/dashboard/monitor", + "name": "DashboardMonitor", + "keepAlive": true, + "locale": "menu.dashboard.monitor" + }, + { + "id": 43, + "parentId": 1, + "title": "工作台", + "component": "/dashboard/workplace", + "path": "/dashboard/workplace", + "name": "DashboardWorkplace", + "keepAlive": true, + "locale": "menu.dashboard.workplace" + }, + { + "id": 44, + "parentId": 26, + "path": "/list/crud-table", + "title": "增删改查表格", + "name": "CrudTable", + "component": "/list/crud-table", + "locale": "menu.list.crud-table" + }, + { + "id": 45, + "parentId": 9, + "path": "/menu/menu4", + "redirect": "/menu/menu4/menu1", + "title": "菜单2-1", + "component": "RouteView", + "locale": "menu.menu.menu4" + }, + { + "id": 46, + "parentId": 45, + "path": "/menu/menu4/menu1", + "component": "/menu/menu-2-1/menu1", + "title": "菜单2-1-1", + "keepAlive": true, + "locale": "menu.menu4.menu1" + }, + { + "id": 47, + "parentId": 45, + "path": "/menu/menu4/menu2", + "component": "/menu/menu-2-1/menu2", + "title": "菜单2-1-2", + "keepAlive": true, + "locale": "menu.menu4.menu2" + } +]` diff --git a/internal/server/task.go b/internal/server/task.go new file mode 100644 index 0000000..9b92649 --- /dev/null +++ b/internal/server/task.go @@ -0,0 +1,55 @@ +package server + +import ( + "context" + "github.com/go-co-op/gocron" + "go.uber.org/zap" + "nunu-layout-admin/internal/task" + "nunu-layout-admin/pkg/log" + "time" +) + +type TaskServer struct { + log *log.Logger + scheduler *gocron.Scheduler + userTask task.UserTask +} + +func NewTaskServer( + log *log.Logger, + userTask task.UserTask, +) *TaskServer { + return &TaskServer{ + log: log, + userTask: userTask, + } +} +func (t *TaskServer) Start(ctx context.Context) error { + gocron.SetPanicHandler(func(jobName string, recoverData interface{}) { + t.log.Error("TaskServer Panic", zap.String("job", jobName), zap.Any("recover", recoverData)) + }) + + // eg: crontab task + t.scheduler = gocron.NewScheduler(time.UTC) + // if you are in China, you will need to change the time zone as follows + // t.scheduler = gocron.NewScheduler(time.FixedZone("PRC", 8*60*60)) + + //_, err := t.scheduler.Every("3s").Do(func() + _, err := t.scheduler.CronWithSeconds("0/3 * * * * *").Do(func() { + err := t.userTask.CheckUser(ctx) + if err != nil { + t.log.Error("CheckUser error", zap.Error(err)) + } + }) + if err != nil { + t.log.Error("CheckUser error", zap.Error(err)) + } + + t.scheduler.StartBlocking() + return nil +} +func (t *TaskServer) Stop(ctx context.Context) error { + t.scheduler.Stop() + t.log.Info("TaskServer stop...") + return nil +} diff --git a/internal/service/admin.go b/internal/service/admin.go new file mode 100644 index 0000000..19f605d --- /dev/null +++ b/internal/service/admin.go @@ -0,0 +1,465 @@ +package service + +import ( + "context" + "errors" + "github.com/duke-git/lancet/v2/convertor" + "go.uber.org/zap" + "golang.org/x/crypto/bcrypt" + "gorm.io/gorm" + v1 "nunu-layout-admin/api/v1" + "nunu-layout-admin/internal/model" + "nunu-layout-admin/internal/repository" + "strings" + "time" +) + +type AdminService interface { + Login(ctx context.Context, req *v1.LoginRequest) (string, error) + GetAdminUsers(ctx context.Context, req *v1.GetAdminUsersRequest) (*v1.GetAdminUsersResponseData, error) + GetAdminUser(ctx context.Context, uid uint) (*v1.GetAdminUserResponseData, error) + AdminUserUpdate(ctx context.Context, req *v1.AdminUserUpdateRequest) error + AdminUserCreate(ctx context.Context, req *v1.AdminUserCreateRequest) error + AdminUserDelete(ctx context.Context, id uint) error + + GetUserPermissions(ctx context.Context, uid uint) (*v1.GetUserPermissionsData, error) + GetRolePermissions(ctx context.Context, role string) (*v1.GetRolePermissionsData, error) + UpdateRolePermission(ctx context.Context, req *v1.UpdateRolePermissionRequest) error + + GetAdminMenus(ctx context.Context) (*v1.GetMenuResponseData, error) + GetMenus(ctx context.Context, uid uint) (*v1.GetMenuResponseData, error) + MenuUpdate(ctx context.Context, req *v1.MenuUpdateRequest) error + MenuCreate(ctx context.Context, req *v1.MenuCreateRequest) error + MenuDelete(ctx context.Context, id uint) error + + GetRoles(ctx context.Context, req *v1.GetRoleListRequest) (*v1.GetRolesResponseData, error) + RoleUpdate(ctx context.Context, req *v1.RoleUpdateRequest) error + RoleCreate(ctx context.Context, req *v1.RoleCreateRequest) error + RoleDelete(ctx context.Context, id uint) error + + GetApis(ctx context.Context, req *v1.GetApisRequest) (*v1.GetApisResponseData, error) + ApiUpdate(ctx context.Context, req *v1.ApiUpdateRequest) error + ApiCreate(ctx context.Context, req *v1.ApiCreateRequest) error + ApiDelete(ctx context.Context, id uint) error +} + +func NewAdminService( + service *Service, + adminRepository repository.AdminRepository, +) AdminService { + return &adminService{ + Service: service, + adminRepository: adminRepository, + } +} + +type adminService struct { + *Service + adminRepository repository.AdminRepository +} + +func (s *adminService) GetAdminUser(ctx context.Context, uid uint) (*v1.GetAdminUserResponseData, error) { + user, err := s.adminRepository.GetAdminUser(ctx, uid) + if err != nil { + return nil, err + } + roles, _ := s.adminRepository.GetUserRoles(ctx, uid) + + return &v1.GetAdminUserResponseData{ + Email: user.Email, + ID: user.ID, + Username: user.Username, + Nickname: user.Nickname, + Phone: user.Phone, + Roles: roles, + CreatedAt: user.CreatedAt.Format("2006-01-02 15:04:05"), + UpdatedAt: user.UpdatedAt.Format("2006-01-02 15:04:05"), + }, nil +} + +func (s *adminService) Login(ctx context.Context, req *v1.LoginRequest) (string, error) { + user, err := s.adminRepository.GetAdminUserByUsername(ctx, req.Username) + if err != nil { + if err == gorm.ErrRecordNotFound { + return "", v1.ErrUnauthorized + } + return "", v1.ErrInternalServerError + } + + err = bcrypt.CompareHashAndPassword([]byte(user.Password), []byte(req.Password)) + if err != nil { + return "", err + } + token, err := s.jwt.GenToken(user.ID, time.Now().Add(time.Hour*24*90)) + if err != nil { + return "", err + } + + return token, nil +} + +func (s *adminService) GetAdminUsers(ctx context.Context, req *v1.GetAdminUsersRequest) (*v1.GetAdminUsersResponseData, error) { + list, total, err := s.adminRepository.GetAdminUsers(ctx, req) + if err != nil { + return nil, err + } + data := &v1.GetAdminUsersResponseData{ + List: make([]v1.AdminUserDataItem, 0), + Total: total, + } + for _, user := range list { + roles, err := s.adminRepository.GetUserRoles(ctx, user.ID) + if err != nil { + s.logger.Error("GetUserRoles error", zap.Error(err)) + continue + } + data.List = append(data.List, v1.AdminUserDataItem{ + Email: user.Email, + ID: user.ID, + Nickname: user.Nickname, + Username: user.Username, + Phone: user.Phone, + Roles: roles, + CreatedAt: user.CreatedAt.Format("2006-01-02 15:04:05"), + UpdatedAt: user.UpdatedAt.Format("2006-01-02 15:04:05"), + }) + } + return data, nil +} + +func (s *adminService) AdminUserUpdate(ctx context.Context, req *v1.AdminUserUpdateRequest) error { + old, _ := s.adminRepository.GetAdminUser(ctx, req.ID) + if req.Password != "" { + hash, err := bcrypt.GenerateFromPassword([]byte(req.Password), bcrypt.DefaultCost) + if err != nil { + return err + } + req.Password = string(hash) + } else { + req.Password = old.Password + } + err := s.adminRepository.UpdateUserRoles(ctx, req.ID, req.Roles) + if err != nil { + return err + } + return s.adminRepository.AdminUserUpdate(ctx, &model.AdminUser{ + Model: gorm.Model{ + ID: req.ID, + }, + Email: req.Email, + Nickname: req.Nickname, + Phone: req.Phone, + Username: req.Username, + }) + +} + +func (s *adminService) AdminUserCreate(ctx context.Context, req *v1.AdminUserCreateRequest) error { + hash, err := bcrypt.GenerateFromPassword([]byte(req.Password), bcrypt.DefaultCost) + if err != nil { + return err + } + req.Password = string(hash) + err = s.adminRepository.AdminUserCreate(ctx, &model.AdminUser{ + Email: req.Email, + Nickname: req.Nickname, + Phone: req.Phone, + Username: req.Username, + Password: req.Password, + }) + if err != nil { + return err + } + user, err := s.adminRepository.GetAdminUserByUsername(ctx, req.Username) + if err != nil { + return err + } + err = s.adminRepository.UpdateUserRoles(ctx, user.ID, req.Roles) + if err != nil { + return err + } + return err + +} + +func (s *adminService) AdminUserDelete(ctx context.Context, id uint) error { + // 删除用户角色 + err := s.adminRepository.DeleteUserRoles(ctx, id) + if err != nil { + return err + } + return s.adminRepository.AdminUserDelete(ctx, id) +} + +func (s *adminService) UpdateRolePermission(ctx context.Context, req *v1.UpdateRolePermissionRequest) error { + permissions := map[string]struct{}{} + for _, v := range req.List { + perm := strings.Split(v, model.PermSep) + if len(perm) == 2 { + permissions[v] = struct{}{} + } + + } + return s.adminRepository.UpdateRolePermission(ctx, req.Role, permissions) +} + +func (s *adminService) GetApis(ctx context.Context, req *v1.GetApisRequest) (*v1.GetApisResponseData, error) { + list, total, err := s.adminRepository.GetApis(ctx, req) + if err != nil { + return nil, err + } + groups, err := s.adminRepository.GetApiGroups(ctx) + if err != nil { + return nil, err + } + data := &v1.GetApisResponseData{ + List: make([]v1.ApiDataItem, 0), + Total: total, + Groups: groups, + } + for _, api := range list { + data.List = append(data.List, v1.ApiDataItem{ + CreatedAt: api.CreatedAt.Format("2006-01-02 15:04:05"), + Group: api.Group, + ID: api.ID, + Method: api.Method, + Name: api.Name, + Path: api.Path, + UpdatedAt: api.UpdatedAt.Format("2006-01-02 15:04:05"), + }) + } + return data, nil +} + +func (s *adminService) ApiUpdate(ctx context.Context, req *v1.ApiUpdateRequest) error { + return s.adminRepository.ApiUpdate(ctx, &model.Api{ + Group: req.Group, + Method: req.Method, + Name: req.Name, + Path: req.Path, + Model: gorm.Model{ + ID: req.ID, + }, + }) +} + +func (s *adminService) ApiCreate(ctx context.Context, req *v1.ApiCreateRequest) error { + return s.adminRepository.ApiCreate(ctx, &model.Api{ + Group: req.Group, + Method: req.Method, + Name: req.Name, + Path: req.Path, + }) +} + +func (s *adminService) ApiDelete(ctx context.Context, id uint) error { + return s.adminRepository.ApiDelete(ctx, id) +} + +func (s *adminService) GetUserPermissions(ctx context.Context, uid uint) (*v1.GetUserPermissionsData, error) { + data := &v1.GetUserPermissionsData{ + List: []string{}, + } + list, err := s.adminRepository.GetUserPermissions(ctx, uid) + if err != nil { + return nil, err + } + for _, v := range list { + if len(v) == 3 { + data.List = append(data.List, strings.Join([]string{v[1], v[2]}, model.PermSep)) + } + } + return data, nil +} +func (s *adminService) GetRolePermissions(ctx context.Context, role string) (*v1.GetRolePermissionsData, error) { + data := &v1.GetRolePermissionsData{ + List: []string{}, + } + list, err := s.adminRepository.GetRolePermissions(ctx, role) + if err != nil { + return nil, err + } + for _, v := range list { + if len(v) == 3 { + data.List = append(data.List, strings.Join([]string{v[1], v[2]}, model.PermSep)) + } + } + return data, nil +} + +func (s *adminService) MenuUpdate(ctx context.Context, req *v1.MenuUpdateRequest) error { + return s.adminRepository.MenuUpdate(ctx, &model.Menu{ + Component: req.Component, + Icon: req.Icon, + KeepAlive: req.KeepAlive, + HideInMenu: req.HideInMenu, + Locale: req.Locale, + Weight: req.Weight, + Name: req.Name, + ParentID: req.ParentID, + Path: req.Path, + Redirect: req.Redirect, + Title: req.Title, + URL: req.URL, + Model: gorm.Model{ + ID: req.ID, + }, + }) +} + +func (s *adminService) MenuCreate(ctx context.Context, req *v1.MenuCreateRequest) error { + return s.adminRepository.MenuCreate(ctx, &model.Menu{ + Component: req.Component, + Icon: req.Icon, + KeepAlive: req.KeepAlive, + HideInMenu: req.HideInMenu, + Locale: req.Locale, + Weight: req.Weight, + Name: req.Name, + ParentID: req.ParentID, + Path: req.Path, + Redirect: req.Redirect, + Title: req.Title, + URL: req.URL, + }) +} + +func (s *adminService) MenuDelete(ctx context.Context, id uint) error { + return s.adminRepository.MenuDelete(ctx, id) +} + +func (s *adminService) GetMenus(ctx context.Context, uid uint) (*v1.GetMenuResponseData, error) { + menuList, err := s.adminRepository.GetMenuList(ctx) + if err != nil { + s.logger.WithContext(ctx).Error("GetMenuList error", zap.Error(err)) + return nil, err + } + data := &v1.GetMenuResponseData{ + List: make([]v1.MenuDataItem, 0), + } + // 获取权限的菜单 + permissions, err := s.adminRepository.GetUserPermissions(ctx, uid) + if err != nil { + return nil, err + } + menuPermMap := map[string]struct{}{} + for _, permission := range permissions { + // 防呆设置,超管可以看到所有菜单 + if convertor.ToString(uid) == model.AdminUserID { + menuPermMap[strings.TrimPrefix(permission[1], model.MenuResourcePrefix)] = struct{}{} + } else { + if len(permission) == 3 && strings.HasPrefix(permission[1], model.MenuResourcePrefix) { + menuPermMap[strings.TrimPrefix(permission[1], model.MenuResourcePrefix)] = struct{}{} + } + } + } + + for _, menu := range menuList { + if _, ok := menuPermMap[menu.Path]; ok { + data.List = append(data.List, v1.MenuDataItem{ + ID: menu.ID, + Name: menu.Name, + Title: menu.Title, + Path: menu.Path, + Component: menu.Component, + Redirect: menu.Redirect, + KeepAlive: menu.KeepAlive, + HideInMenu: menu.HideInMenu, + Locale: menu.Locale, + Weight: menu.Weight, + Icon: menu.Icon, + ParentID: menu.ParentID, + UpdatedAt: menu.UpdatedAt.Format("2006-01-02 15:04:05"), + URL: menu.URL, + }) + } + } + return data, nil +} +func (s *adminService) GetAdminMenus(ctx context.Context) (*v1.GetMenuResponseData, error) { + menuList, err := s.adminRepository.GetMenuList(ctx) + if err != nil { + s.logger.WithContext(ctx).Error("GetMenuList error", zap.Error(err)) + return nil, err + } + data := &v1.GetMenuResponseData{ + List: make([]v1.MenuDataItem, 0), + } + for _, menu := range menuList { + data.List = append(data.List, v1.MenuDataItem{ + ID: menu.ID, + Name: menu.Name, + Title: menu.Title, + Path: menu.Path, + Component: menu.Component, + Redirect: menu.Redirect, + KeepAlive: menu.KeepAlive, + HideInMenu: menu.HideInMenu, + Locale: menu.Locale, + Weight: menu.Weight, + Icon: menu.Icon, + ParentID: menu.ParentID, + UpdatedAt: menu.UpdatedAt.Format("2006-01-02 15:04:05"), + URL: menu.URL, + }) + } + return data, nil +} + +func (s *adminService) RoleUpdate(ctx context.Context, req *v1.RoleUpdateRequest) error { + return s.adminRepository.RoleUpdate(ctx, &model.Role{ + Name: req.Name, + Sid: req.Sid, + Model: gorm.Model{ + ID: req.ID, + }, + }) +} + +func (s *adminService) RoleCreate(ctx context.Context, req *v1.RoleCreateRequest) error { + _, err := s.adminRepository.GetRoleBySid(ctx, req.Sid) + if err != nil { + if errors.Is(err, gorm.ErrRecordNotFound) { + return s.adminRepository.RoleCreate(ctx, &model.Role{ + Name: req.Name, + Sid: req.Sid, + }) + } else { + return err + } + } + return nil +} + +func (s *adminService) RoleDelete(ctx context.Context, id uint) error { + old, err := s.adminRepository.GetRole(ctx, id) + if err != nil { + return err + } + if err := s.adminRepository.CasbinRoleDelete(ctx, old.Sid); err != nil { + return err + } + return s.adminRepository.RoleDelete(ctx, id) +} + +func (s *adminService) GetRoles(ctx context.Context, req *v1.GetRoleListRequest) (*v1.GetRolesResponseData, error) { + list, total, err := s.adminRepository.GetRoles(ctx, req) + if err != nil { + return nil, err + } + data := &v1.GetRolesResponseData{ + List: make([]v1.RoleDataItem, 0), + Total: total, + } + for _, role := range list { + data.List = append(data.List, v1.RoleDataItem{ + ID: role.ID, + Name: role.Name, + Sid: role.Sid, + UpdatedAt: role.UpdatedAt.Format("2006-01-02 15:04:05"), + CreatedAt: role.CreatedAt.Format("2006-01-02 15:04:05"), + }) + + } + return data, nil +} diff --git a/internal/service/service.go b/internal/service/service.go new file mode 100644 index 0000000..b6f3b11 --- /dev/null +++ b/internal/service/service.go @@ -0,0 +1,29 @@ +package service + +import ( + "nunu-layout-admin/internal/repository" + "nunu-layout-admin/pkg/jwt" + "nunu-layout-admin/pkg/log" + "nunu-layout-admin/pkg/sid" +) + +type Service struct { + logger *log.Logger + sid *sid.Sid + jwt *jwt.JWT + tm repository.Transaction +} + +func NewService( + tm repository.Transaction, + logger *log.Logger, + sid *sid.Sid, + jwt *jwt.JWT, +) *Service { + return &Service{ + logger: logger, + sid: sid, + jwt: jwt, + tm: tm, + } +} diff --git a/internal/service/user.go b/internal/service/user.go new file mode 100644 index 0000000..0569cd1 --- /dev/null +++ b/internal/service/user.go @@ -0,0 +1,30 @@ +package service + +import ( + "context" + "nunu-layout-admin/internal/model" + "nunu-layout-admin/internal/repository" +) + +type UserService interface { + GetUser(ctx context.Context, id int64) (*model.User, error) +} + +func NewUserService( + service *Service, + userRepository repository.UserRepository, +) UserService { + return &userService{ + Service: service, + userRepository: userRepository, + } +} + +type userService struct { + *Service + userRepository repository.UserRepository +} + +func (s *userService) GetUser(ctx context.Context, id int64) (*model.User, error) { + return s.userRepository.GetUser(ctx, id) +} diff --git a/internal/task/task.go b/internal/task/task.go new file mode 100644 index 0000000..2dc4de5 --- /dev/null +++ b/internal/task/task.go @@ -0,0 +1,27 @@ +package task + +import ( + "nunu-layout-admin/internal/repository" + "nunu-layout-admin/pkg/jwt" + "nunu-layout-admin/pkg/log" + "nunu-layout-admin/pkg/sid" +) + +type Task struct { + logger *log.Logger + sid *sid.Sid + jwt *jwt.JWT + tm repository.Transaction +} + +func NewTask( + tm repository.Transaction, + logger *log.Logger, + sid *sid.Sid, +) *Task { + return &Task{ + logger: logger, + sid: sid, + tm: tm, + } +} diff --git a/internal/task/user.go b/internal/task/user.go new file mode 100644 index 0000000..9ac68ff --- /dev/null +++ b/internal/task/user.go @@ -0,0 +1,31 @@ +package task + +import ( + "context" + "nunu-layout-admin/internal/repository" +) + +type UserTask interface { + CheckUser(ctx context.Context) error +} + +func NewUserTask( + task *Task, + userRepo repository.UserRepository, +) UserTask { + return &userTask{ + userRepo: userRepo, + Task: task, + } +} + +type userTask struct { + userRepo repository.UserRepository + *Task +} + +func (t userTask) CheckUser(ctx context.Context) error { + // do something + t.logger.Info("CheckUser") + return nil +} diff --git a/pkg/app/app.go b/pkg/app/app.go new file mode 100644 index 0000000..372b17e --- /dev/null +++ b/pkg/app/app.go @@ -0,0 +1,74 @@ +package app + +import ( + "context" + "log" + "nunu-layout-admin/pkg/server" + "os" + "os/signal" + "syscall" +) + +type App struct { + name string + servers []server.Server +} + +type Option func(a *App) + +func NewApp(opts ...Option) *App { + a := &App{} + for _, opt := range opts { + opt(a) + } + return a +} + +func WithServer(servers ...server.Server) Option { + return func(a *App) { + a.servers = servers + } +} + +func WithName(name string) Option { + return func(a *App) { + a.name = name + } +} + +func (a *App) Run(ctx context.Context) error { + var cancel context.CancelFunc + ctx, cancel = context.WithCancel(ctx) + defer cancel() + + signals := make(chan os.Signal, 1) + signal.Notify(signals, syscall.SIGINT, syscall.SIGTERM) + + for _, srv := range a.servers { + go func(srv server.Server) { + err := srv.Start(ctx) + if err != nil { + log.Printf("Server start err: %v", err) + } + }(srv) + } + + select { + case <-signals: + // Received termination signal + log.Println("Received termination signal") + case <-ctx.Done(): + // Context canceled + log.Println("Context canceled") + } + + // Gracefully stop the servers + for _, srv := range a.servers { + err := srv.Stop(ctx) + if err != nil { + log.Printf("Server stop err: %v", err) + } + } + + return nil +} diff --git a/pkg/config/config.go b/pkg/config/config.go new file mode 100644 index 0000000..9969ffa --- /dev/null +++ b/pkg/config/config.go @@ -0,0 +1,26 @@ +package config + +import ( + "fmt" + "github.com/spf13/viper" + "os" +) + +func NewConfig(p string) *viper.Viper { + envConf := os.Getenv("APP_CONF") + if envConf == "" { + envConf = p + } + fmt.Println("load conf file:", envConf) + return getConfig(envConf) +} + +func getConfig(path string) *viper.Viper { + conf := viper.New() + conf.SetConfigFile(path) + err := conf.ReadInConfig() + if err != nil { + panic(err) + } + return conf +} diff --git a/pkg/jwt/jwt.go b/pkg/jwt/jwt.go new file mode 100644 index 0000000..162ab33 --- /dev/null +++ b/pkg/jwt/jwt.go @@ -0,0 +1,63 @@ +package jwt + +import ( + "errors" + "strings" + "time" + + "github.com/golang-jwt/jwt/v5" + "github.com/spf13/viper" +) + +type JWT struct { + key []byte +} + +type MyCustomClaims struct { + UserId uint + jwt.RegisteredClaims +} + +func NewJwt(conf *viper.Viper) *JWT { + return &JWT{key: []byte(conf.GetString("security.jwt.key"))} +} + +func (j *JWT) GenToken(userId uint, expiresAt time.Time) (string, error) { + token := jwt.NewWithClaims(jwt.SigningMethodHS256, MyCustomClaims{ + UserId: userId, + RegisteredClaims: jwt.RegisteredClaims{ + ExpiresAt: jwt.NewNumericDate(expiresAt), + IssuedAt: jwt.NewNumericDate(time.Now()), + NotBefore: jwt.NewNumericDate(time.Now()), + Issuer: "", + Subject: "", + ID: "", + Audience: []string{}, + }, + }) + + // Sign and get the complete encoded token as a string using the key + tokenString, err := token.SignedString(j.key) + if err != nil { + return "", err + } + return tokenString, nil +} + +func (j *JWT) ParseToken(tokenString string) (*MyCustomClaims, error) { + tokenString = strings.TrimPrefix(tokenString, "Bearer ") + if strings.TrimSpace(tokenString) == "" { + return nil, errors.New("token is empty") + } + token, err := jwt.ParseWithClaims(tokenString, &MyCustomClaims{}, func(token *jwt.Token) (interface{}, error) { + return j.key, nil + }) + if err != nil { + return nil, err + } + if claims, ok := token.Claims.(*MyCustomClaims); ok && token.Valid { + return claims, nil + } else { + return nil, err + } +} diff --git a/pkg/log/log.go b/pkg/log/log.go new file mode 100644 index 0000000..a65b86c --- /dev/null +++ b/pkg/log/log.go @@ -0,0 +1,114 @@ +package log + +import ( + "context" + "github.com/gin-gonic/gin" + "github.com/spf13/viper" + "go.uber.org/zap" + "go.uber.org/zap/zapcore" + "gopkg.in/natefinch/lumberjack.v2" + "os" + "time" +) + +const ctxLoggerKey = "zapLogger" + +type Logger struct { + *zap.Logger +} + +func NewLog(conf *viper.Viper) *Logger { + // log address "out.log" User-defined + lp := conf.GetString("log.log_file_name") + lv := conf.GetString("log.log_level") + var level zapcore.Level + //debug 0 { + result = append(result, base62[n%62]) + n /= 62 + } + + // 反转字符串 + for i, j := 0, len(result)-1; i < j; i, j = i+1, j-1 { + result[i], result[j] = result[j], result[i] + } + + return string(result) +} diff --git a/pkg/sid/sid.go b/pkg/sid/sid.go new file mode 100644 index 0000000..b7cb483 --- /dev/null +++ b/pkg/sid/sid.go @@ -0,0 +1,27 @@ +package sid + +import ( + "github.com/sony/sonyflake" +) + +type Sid struct { + sf *sonyflake.Sonyflake +} + +func NewSid() *Sid { + sf := sonyflake.NewSonyflake(sonyflake.Settings{}) + if sf == nil { + panic("sonyflake not created") + } + return &Sid{sf} +} +func (s Sid) GenString() (string, error) { + id, err := s.sf.NextID() + if err != nil { + return "", err + } + return IntToBase62(int(id)), nil +} +func (s Sid) GenUint64() (uint64, error) { + return s.sf.NextID() +} diff --git a/pkg/zapgorm2/zapgorm2.go b/pkg/zapgorm2/zapgorm2.go new file mode 100644 index 0000000..a9438b2 --- /dev/null +++ b/pkg/zapgorm2/zapgorm2.go @@ -0,0 +1,128 @@ +package zapgorm2 + +import ( + "context" + "errors" + "fmt" + "github.com/gin-gonic/gin" + "path/filepath" + "runtime" + "strings" + "time" + + "go.uber.org/zap" + gormlogger "gorm.io/gorm/logger" +) + +const ctxLoggerKey = "zapLogger" + +type Logger struct { + ZapLogger *zap.Logger + SlowThreshold time.Duration + Colorful bool + IgnoreRecordNotFoundError bool + ParameterizedQueries bool + LogLevel gormlogger.LogLevel +} + +func New(zapLogger *zap.Logger) gormlogger.Interface { + return &Logger{ + ZapLogger: zapLogger, + LogLevel: gormlogger.Warn, + SlowThreshold: 100 * time.Millisecond, + Colorful: false, + IgnoreRecordNotFoundError: false, + ParameterizedQueries: false, + } +} + +func (l *Logger) LogMode(level gormlogger.LogLevel) gormlogger.Interface { + newlogger := *l + newlogger.LogLevel = level + return &newlogger +} + +// Info print info +func (l Logger) Info(ctx context.Context, msg string, data ...interface{}) { + if l.LogLevel >= gormlogger.Info { + l.logger(ctx).Sugar().Infof(msg, data...) + } +} + +// Warn print warn messages +func (l Logger) Warn(ctx context.Context, msg string, data ...interface{}) { + if l.LogLevel >= gormlogger.Warn { + l.logger(ctx).Sugar().Warnf(msg, data...) + } +} + +// Error print error messages +func (l Logger) Error(ctx context.Context, msg string, data ...interface{}) { + if l.LogLevel >= gormlogger.Error { + l.logger(ctx).Sugar().Errorf(msg, data...) + } +} + +func (l Logger) Trace(ctx context.Context, begin time.Time, fc func() (string, int64), err error) { + if l.LogLevel <= gormlogger.Silent { + return + } + + elapsed := time.Since(begin) + elapsedStr := fmt.Sprintf("%.3fms", float64(elapsed.Nanoseconds())/1e6) + logger := l.logger(ctx) + switch { + case err != nil && l.LogLevel >= gormlogger.Error && (!errors.Is(err, gormlogger.ErrRecordNotFound) || !l.IgnoreRecordNotFoundError): + sql, rows := fc() + if rows == -1 { + logger.Error("trace", zap.Error(err), zap.String("elapsed", elapsedStr), zap.Int64("rows", rows), zap.String("sql", sql)) + } else { + logger.Error("trace", zap.Error(err), zap.String("elapsed", elapsedStr), zap.Int64("rows", rows), zap.String("sql", sql)) + } + case elapsed > l.SlowThreshold && l.SlowThreshold != 0 && l.LogLevel >= gormlogger.Warn: + sql, rows := fc() + slowLog := fmt.Sprintf("SLOW SQL >= %v", l.SlowThreshold) + if rows == -1 { + logger.Warn("trace", zap.String("slow", slowLog), zap.String("elapsed", elapsedStr), zap.Int64("rows", rows), zap.String("sql", sql)) + } else { + logger.Warn("trace", zap.String("slow", slowLog), zap.String("elapsed", elapsedStr), zap.Int64("rows", rows), zap.String("sql", sql)) + } + case l.LogLevel == gormlogger.Info: + sql, rows := fc() + if rows == -1 { + logger.Info("trace", zap.String("elapsed", elapsedStr), zap.Int64("rows", rows), zap.String("sql", sql)) + } else { + logger.Info("trace", zap.String("elapsed", elapsedStr), zap.Int64("rows", rows), zap.String("sql", sql)) + } + } +} + +var ( + gormPackage = filepath.Join("gorm.io", "gorm") +) + +func (l Logger) logger(ctx context.Context) *zap.Logger { + logger := l.ZapLogger + if ctx != nil { + if c, ok := ctx.(*gin.Context); ok { + ctx = c.Request.Context() + } + zl := ctx.Value(ctxLoggerKey) + ctxLogger, ok := zl.(*zap.Logger) + if ok { + logger = ctxLogger + } + } + + for i := 2; i < 15; i++ { + _, file, _, ok := runtime.Caller(i) + switch { + case !ok: + case strings.HasSuffix(file, "_test.go"): + case strings.Contains(file, gormPackage): + default: + return logger.WithOptions(zap.AddCallerSkip(i - 1)) + } + } + return logger +} diff --git a/scripts/README.md b/scripts/README.md new file mode 100644 index 0000000..edb724e --- /dev/null +++ b/scripts/README.md @@ -0,0 +1,11 @@ +# `/scripts` + +Scripts to perform various build, install, analysis, etc operations. + +These scripts keep the root level Makefile small and simple. + +Examples: + +* https://github.com/kubernetes/helm/tree/master/scripts +* https://github.com/cockroachdb/cockroach/tree/master/scripts +* https://github.com/hashicorp/terraform/tree/master/scripts \ No newline at end of file diff --git a/storage/nunu-test.db b/storage/nunu-test.db new file mode 100644 index 0000000..4213c50 Binary files /dev/null and b/storage/nunu-test.db differ diff --git a/web/.commitlintrc b/web/.commitlintrc new file mode 100644 index 0000000..ace5fdc --- /dev/null +++ b/web/.commitlintrc @@ -0,0 +1,23 @@ +{ + "extends": ["@commitlint/config-conventional"], + "rules": { + "type-enum": [ + 2, + "always", + [ + "init", + "build", + "ci", + "chore", + "docs", + "feat", + "fix", + "perf", + "refactor", + "revert", + "style", + "test" + ] + ] + } +} diff --git a/web/.env b/web/.env new file mode 100644 index 0000000..94d0b4c --- /dev/null +++ b/web/.env @@ -0,0 +1,4 @@ +VITE_APP_NAME=N-Admin +VITE_APP_BASE=/ +VITE_APP_BASE_API=/api +VITE_APP_LOAD_ROUTE_WAY=BACKEND diff --git a/web/.env.development b/web/.env.development new file mode 100644 index 0000000..2119219 --- /dev/null +++ b/web/.env.development @@ -0,0 +1,12 @@ +VITE_APP_BASE_API=http://127.0.0.1:8000 +VITE_APP_BASE_URL=http://127.0.0.1:8000 + +# https://docs.antdv-pro.com/guide/server.html +# The following api is requested when the request parameter includes customDev +VITE_APP_BASE_API_DEV=/dev-api +VITE_APP_BASE_URL_DEV=http://127.0.0.1:6678/api + +VITE_APP_LOAD_ROUTE_WAY=BACKEND + +# The title of your application (string) +VITE_GLOB_APP_TITLE="N-Admin" diff --git a/web/.env.production b/web/.env.production new file mode 100644 index 0000000..1d2527a --- /dev/null +++ b/web/.env.production @@ -0,0 +1,4 @@ +VITE_APP_BASE_API=http://127.0.0.1:8000 +VITE_APP_BASE_URL=http://127.0.0.1:8000 +# The title of your application (string) +VITE_GLOB_APP_TITLE="N-admin" diff --git a/web/.gitignore b/web/.gitignore new file mode 100644 index 0000000..d339def --- /dev/null +++ b/web/.gitignore @@ -0,0 +1,24 @@ +# Nuxt dev/build outputs +.output +.data +.nuxt +.nitro +.cache + +# Node dependencies +node_modules + +# Logs +logs +*.log + +# Misc +.DS_Store +.fleet +.idea +.vscode + +#dist + + + diff --git a/web/.npmrc b/web/.npmrc new file mode 100644 index 0000000..89666ea --- /dev/null +++ b/web/.npmrc @@ -0,0 +1,4 @@ +public-hoist-pattern[]=@vue/runtime-core +public-hoist-pattern[]=eslint-* +public-hoist-pattern[]=@typescript-eslint* +package-manager-strict=false \ No newline at end of file diff --git a/web/CHANGELOG.md b/web/CHANGELOG.md new file mode 100644 index 0000000..76f7755 --- /dev/null +++ b/web/CHANGELOG.md @@ -0,0 +1,1119 @@ +# Changelog + + +## v1.1.0 + +[compare changes](https://github.com/antdv-pro/antdv-pro/compare/v1.0.2...v1.1.0) + +### 🚀 Enhancements + +- Add table-query hook for crud table ([ab64028](https://github.com/antdv-pro/antdv-pro/commit/ab64028)) + +### 🩹 Fixes + +- Eslint-config in vscode ([f8018ac](https://github.com/antdv-pro/antdv-pro/commit/f8018ac)) +- 路由切换可能导致page-container的头部面包屑等区域被意外隐藏 ([03d3ea8](https://github.com/antdv-pro/antdv-pro/commit/03d3ea8)) +- Nested not change ([afa71cd](https://github.com/antdv-pro/antdv-pro/commit/afa71cd)) + +### 💅 Refactors + +- Page container ([0c0cd0d](https://github.com/antdv-pro/antdv-pro/commit/0c0cd0d)) + +### 🏡 Chore + +- Remove icon ([79cb981](https://github.com/antdv-pro/antdv-pro/commit/79cb981)) +- Update deps ([4535f65](https://github.com/antdv-pro/antdv-pro/commit/4535f65)) + +### ❤️ Contributors + +- Aibayanyu20 +- Sun1090 <1090964491@qq.com> +- Wangqifan + +## v1.0.2 + +[compare changes](https://github.com/antdv-pro/antdv-pro/compare/v1.0.1...v1.0.2) + +### 🩹 Fixes + +- Typo ([ba8f474](https://github.com/antdv-pro/antdv-pro/commit/ba8f474)) + +### 🏡 Chore + +- Update deps ([0d41da9](https://github.com/antdv-pro/antdv-pro/commit/0d41da9)) +- Use antfu eslint config replace mist config ([c11224e](https://github.com/antdv-pro/antdv-pro/commit/c11224e)) +- Update deps ([a12b56f](https://github.com/antdv-pro/antdv-pro/commit/a12b56f)) + +### ❤️ Contributors + +- Aibayanyu20 + +## v1.0.1 + +[compare changes](https://github.com/antdv-pro/antdv-pro/compare/v1.0.0...v1.0.1) + +### 🩹 Fixes + +- Fix circular imports ([7ab99da](https://github.com/antdv-pro/antdv-pro/commit/7ab99da)) +- Fix page container dynamic update in advance ([13d9486](https://github.com/antdv-pro/antdv-pro/commit/13d9486)) + +### 🏡 Chore + +- **release:** V1.0.0 ([e7ca880](https://github.com/antdv-pro/antdv-pro/commit/e7ca880)) + +### ❤️ Contributors + +- Aibayanyu20 + +## v1.0.0 + +[compare changes](https://github.com/antdv-pro/antdv-pro/compare/v1.0.0-beta.3...v1.0.0) + +### 🚀 Enhancements + +- Add preload ([6c0e6c9](https://github.com/antdv-pro/antdv-pro/commit/6c0e6c9)) +- Support vite 5 ([e84c7b7](https://github.com/antdv-pro/antdv-pro/commit/e84c7b7)) +- Complete compact-algorithm ([99f2074](https://github.com/antdv-pro/antdv-pro/commit/99f2074)) +- Query table add toolbar ([7fe8f90](https://github.com/antdv-pro/antdv-pro/commit/7fe8f90)) + +### 🩹 Fixes + +- Change ([8bdfd94](https://github.com/antdv-pro/antdv-pro/commit/8bdfd94)) +- Preload error ([c0de1fc](https://github.com/antdv-pro/antdv-pro/commit/c0de1fc)) +- Fix top mode page-container not expand close #127 ([#127](https://github.com/antdv-pro/antdv-pro/issues/127)) +- Eslint error ([39dbe6f](https://github.com/antdv-pro/antdv-pro/commit/39dbe6f)) +- Eslint not support ([d249d98](https://github.com/antdv-pro/antdv-pro/commit/d249d98)) +- Note ([92beb3e](https://github.com/antdv-pro/antdv-pro/commit/92beb3e)) +- X-axis scroll bar appears in top layout mode ([bf2a206](https://github.com/antdv-pro/antdv-pro/commit/bf2a206)) +- Footertoolbar not effect layout ([e025b9c](https://github.com/antdv-pro/antdv-pro/commit/e025b9c)) + +### 🏡 Chore + +- Delete eslintignore replace eslint.config ([baa7747](https://github.com/antdv-pro/antdv-pro/commit/baa7747)) +- Update deps ([6fc6496](https://github.com/antdv-pro/antdv-pro/commit/6fc6496)) +- Change tsconfig ([734e287](https://github.com/antdv-pro/antdv-pro/commit/734e287)) +- Update scripts ([f372ac9](https://github.com/antdv-pro/antdv-pro/commit/f372ac9)) +- Change script ([1e80dd4](https://github.com/antdv-pro/antdv-pro/commit/1e80dd4)) +- Update deps ([0de46db](https://github.com/antdv-pro/antdv-pro/commit/0de46db)) +- Support ssl config ([ca9d37b](https://github.com/antdv-pro/antdv-pro/commit/ca9d37b)) +- Update deps ([b7c557c](https://github.com/antdv-pro/antdv-pro/commit/b7c557c)) +- Update deps ([ff86513](https://github.com/antdv-pro/antdv-pro/commit/ff86513)) +- Update deps ([abaee14](https://github.com/antdv-pro/antdv-pro/commit/abaee14)) +- Add funding ([03ef885](https://github.com/antdv-pro/antdv-pro/commit/03ef885)) +- Change ([ceb08eb](https://github.com/antdv-pro/antdv-pro/commit/ceb08eb)) +- Update vue@3.4.x ([a9e9ac9](https://github.com/antdv-pro/antdv-pro/commit/a9e9ac9)) + +### 🤖 CI + +- Change node version ([540224b](https://github.com/antdv-pro/antdv-pro/commit/540224b)) + +### ❤️ Contributors + +- Aibayanyu20 +- ZhouWei <1244620067@qq.com> +- Undefined ([@undefined-moe](http://github.com/undefined-moe)) +- LinRenJie +- Aibayanyu + +## v1.0.0-beta.3 + +[compare changes](https://github.com/antdv-pro/antdv-pro/compare/v1.0.0-beta.2...v1.0.0-beta.3) + +### 🩹 Fixes + +- Locale error ([df1293d](https://github.com/antdv-pro/antdv-pro/commit/df1293d)) + +### 🏡 Chore + +- Update readme ([27ab14e](https://github.com/antdv-pro/antdv-pro/commit/27ab14e)) +- Update deps ([9946ea4](https://github.com/antdv-pro/antdv-pro/commit/9946ea4)) +- Update deps ([aae9b3a](https://github.com/antdv-pro/antdv-pro/commit/aae9b3a)) +- Unified build output directory #118 ([#118](https://github.com/antdv-pro/antdv-pro/issues/118)) +- Update deps ([75937d6](https://github.com/antdv-pro/antdv-pro/commit/75937d6)) + +### ❤️ Contributors + +- Aibayanyu +- Aibayanyu20 +- Kirk Lin ([@kirklin](http://github.com/kirklin)) + +## v1.0.0-beta.2 + +[compare changes](https://github.com/antdv-pro/antdv-pro/compare/v1.0.0-beta.1...v1.0.0-beta.2) + +### 🚀 Enhancements + +- Add vitest ([ec66360](https://github.com/antdv-pro/antdv-pro/commit/ec66360)) +- Add icp ([ced7249](https://github.com/antdv-pro/antdv-pro/commit/ced7249)) + +### 🩹 Fixes + +- Fix the page not scrolling to the top when switching ([d6a2406](https://github.com/antdv-pro/antdv-pro/commit/d6a2406)) +- Fix locale auto load error ([e441349](https://github.com/antdv-pro/antdv-pro/commit/e441349)) +- Using vite's outDir to unify staticPath ([d5f5448](https://github.com/antdv-pro/antdv-pro/commit/d5f5448)) +- Fix typo ([e68bb8c](https://github.com/antdv-pro/antdv-pro/commit/e68bb8c)) +- Fix i18n hot accept error ([e1da2a8](https://github.com/antdv-pro/antdv-pro/commit/e1da2a8)) +- Card layout misalignment ([1944820](https://github.com/antdv-pro/antdv-pro/commit/1944820)) +- Remove tabs default margin ([8de0518](https://github.com/antdv-pro/antdv-pro/commit/8de0518)) +- Not has multitab prcessing pagecontainer spacing ([a604f9d](https://github.com/antdv-pro/antdv-pro/commit/a604f9d)) +- Icp open blank page ([f0739e2](https://github.com/antdv-pro/antdv-pro/commit/f0739e2)) +- Page show not right close #122 ([#122](https://github.com/antdv-pro/antdv-pro/issues/122)) + +### 🏡 Chore + +- Change version ([742270e](https://github.com/antdv-pro/antdv-pro/commit/742270e)) +- Update deps ([d291e93](https://github.com/antdv-pro/antdv-pro/commit/d291e93)) +- Update deps ([00b693e](https://github.com/antdv-pro/antdv-pro/commit/00b693e)) + +### ❤️ Contributors + +- Aibayanyu +- Jiabochao ([@jiabochao](http://github.com/jiabochao)) +- Undefined ([@undefined-moe](http://github.com/undefined-moe)) +- 萍萍 ([@jiabochao](http://github.com/jiabochao)) +- Aibayanyu20 +- Unknown ([@aibayanyu20](http://github.com/aibayanyu20)) + +## v1.0.0-beta.1 + +[compare changes](https://github.com/antdv-pro/antdv-pro/compare/v0.2.0...v1.0.0-beta.1) + +### 🚀 Enhancements + +- Add antdv-style ([329690f](https://github.com/antdv-pro/antdv-pro/commit/329690f)) +- Mist replace vite ([df6be41](https://github.com/antdv-pro/antdv-pro/commit/df6be41)) +- Delete file ([327ae33](https://github.com/antdv-pro/antdv-pro/commit/327ae33)) +- **setting:** Supported watermark switch ([a441950](https://github.com/antdv-pro/antdv-pro/commit/a441950)) +- Support eager mode ([32d9340](https://github.com/antdv-pro/antdv-pro/commit/32d9340)) + +### 🩹 Fixes + +- Add component name ([a444650](https://github.com/antdv-pro/antdv-pro/commit/a444650)) +- Support vercel deploy ([c78010f](https://github.com/antdv-pro/antdv-pro/commit/c78010f)) +- Support vercel deploy ([c2294aa](https://github.com/antdv-pro/antdv-pro/commit/c2294aa)) +- Change vercel config ([8af11a8](https://github.com/antdv-pro/antdv-pro/commit/8af11a8)) +- Change vercel config ([6f828e5](https://github.com/antdv-pro/antdv-pro/commit/6f828e5)) +- Dev server error ([7ef7e00](https://github.com/antdv-pro/antdv-pro/commit/7ef7e00)) + +### 🏡 Chore + +- Update deps ([524df05](https://github.com/antdv-pro/antdv-pro/commit/524df05)) +- Update `unplugin-config` ([403f3bb](https://github.com/antdv-pro/antdv-pro/commit/403f3bb)) +- Delete multimenu ([5673f06](https://github.com/antdv-pro/antdv-pro/commit/5673f06)) +- Resolve conflict ([5cac11e](https://github.com/antdv-pro/antdv-pro/commit/5cac11e)) +- Change version ([20bb03f](https://github.com/antdv-pro/antdv-pro/commit/20bb03f)) +- Change ([fcac6a0](https://github.com/antdv-pro/antdv-pro/commit/fcac6a0)) +- Change ([550a341](https://github.com/antdv-pro/antdv-pro/commit/550a341)) +- Change ([c2e4cc5](https://github.com/antdv-pro/antdv-pro/commit/c2e4cc5)) +- Change ([1826431](https://github.com/antdv-pro/antdv-pro/commit/1826431)) +- **release:** V1.0.0 ([699a870](https://github.com/antdv-pro/antdv-pro/commit/699a870)) + +### 🤖 CI + +- Support deploy ([5f7cd06](https://github.com/antdv-pro/antdv-pro/commit/5f7cd06)) +- Support deploy ([e53528e](https://github.com/antdv-pro/antdv-pro/commit/e53528e)) +- Change local-dir ([4c278e4](https://github.com/antdv-pro/antdv-pro/commit/4c278e4)) +- Change local-dir ([415fa6a](https://github.com/antdv-pro/antdv-pro/commit/415fa6a)) +- Change deploy ([259b768](https://github.com/antdv-pro/antdv-pro/commit/259b768)) +- Change deploy ([0cc948d](https://github.com/antdv-pro/antdv-pro/commit/0cc948d)) + +### ❤️ Contributors + +- Aibayanyu +- Aibayanyu20 +- 246859 ([@CQUT-Programmer](http://github.com/CQUT-Programmer)) +- Kirk Lin ([@kirklin](http://github.com/kirklin)) + +## v0.2.0 + +[compare changes](https://github.com/antdv-pro/antdv-pro/compare/v0.0.19...v0.2.0) + +### 🚀 Enhancements + +- Add exception page ([e857135](https://github.com/antdv-pro/antdv-pro/commit/e857135)) +- Add mock server ([2fbecaf](https://github.com/antdv-pro/antdv-pro/commit/2fbecaf)) +- 增加结果页路由 ([14d20f8](https://github.com/antdv-pro/antdv-pro/commit/14d20f8)) +- 增加结果页i18n配置 ([0f51c7d](https://github.com/antdv-pro/antdv-pro/commit/0f51c7d)) +- 同步结果页成功页 #28 ([#28](https://github.com/antdv-pro/antdv-pro/issues/28)) +- 增加结果页路由 #29 ([#29](https://github.com/antdv-pro/antdv-pro/issues/29)) +- Add new result page ([ad6463e](https://github.com/antdv-pro/antdv-pro/commit/ad6463e)) +- Add spinning loader to iframe ([c75a3b8](https://github.com/antdv-pro/antdv-pro/commit/c75a3b8)) +- Add spinning loader to iframe ([888d183](https://github.com/antdv-pro/antdv-pro/commit/888d183)) +- Add login redirect ([70293ed](https://github.com/antdv-pro/antdv-pro/commit/70293ed)) +- 增加路由 ([ef72da5](https://github.com/antdv-pro/antdv-pro/commit/ef72da5)) +- 页面 ([39ff6d5](https://github.com/antdv-pro/antdv-pro/commit/39ff6d5)) +- 路由配置 ([2af830c](https://github.com/antdv-pro/antdv-pro/commit/2af830c)) +- Picocolors custom terminal ([2aca5fd](https://github.com/antdv-pro/antdv-pro/commit/2aca5fd)) +- Add basic profile i18n config ([fb2ac66](https://github.com/antdv-pro/antdv-pro/commit/fb2ac66)) +- Add basic profile router ([1e8b9e4](https://github.com/antdv-pro/antdv-pro/commit/1e8b9e4)) +- Add basic profile i18n config ([cba4ba1](https://github.com/antdv-pro/antdv-pro/commit/cba4ba1)) +- 新增列表数据接口 ([11b7c89](https://github.com/antdv-pro/antdv-pro/commit/11b7c89)) +- 新增列表数据请求方法 ([47bbd73](https://github.com/antdv-pro/antdv-pro/commit/47bbd73)) +- Add a tsconfig rule ([ebaee8d](https://github.com/antdv-pro/antdv-pro/commit/ebaee8d)) +- Basic-list page ([dea1394](https://github.com/antdv-pro/antdv-pro/commit/dea1394)) +- Add search list ([c95c6aa](https://github.com/antdv-pro/antdv-pro/commit/c95c6aa)) +- Add dynamic routes ([766b04e](https://github.com/antdv-pro/antdv-pro/commit/766b04e)) +- Init route config ([e9eb147](https://github.com/antdv-pro/antdv-pro/commit/e9eb147)) +- New page ([ea00f70](https://github.com/antdv-pro/antdv-pro/commit/ea00f70)) +- Login view ([b270521](https://github.com/antdv-pro/antdv-pro/commit/b270521)) +- I18n config ([f292469](https://github.com/antdv-pro/antdv-pro/commit/f292469)) +- Page ([89fca03](https://github.com/antdv-pro/antdv-pro/commit/89fca03)) +- Axios loading ([f60c4d7](https://github.com/antdv-pro/antdv-pro/commit/f60c4d7)) +- Loading text prop ([26d96b4](https://github.com/antdv-pro/antdv-pro/commit/26d96b4)) +- Route config ([51cba5d](https://github.com/antdv-pro/antdv-pro/commit/51cba5d)) +- Update version ([5222e8c](https://github.com/antdv-pro/antdv-pro/commit/5222e8c)) +- Account center page ([dfeaf09](https://github.com/antdv-pro/antdv-pro/commit/dfeaf09)) +- Account-center i18n config ([0c38c00](https://github.com/antdv-pro/antdv-pro/commit/0c38c00)) +- Add basic table routes ([d445c08](https://github.com/antdv-pro/antdv-pro/commit/d445c08)) +- Add basic table i18n config ([d0e3385](https://github.com/antdv-pro/antdv-pro/commit/d0e3385)) +- Add basic table demo ([ddb7c13](https://github.com/antdv-pro/antdv-pro/commit/ddb7c13)) +- Add static routes ([9f42e28](https://github.com/antdv-pro/antdv-pro/commit/9f42e28)) +- Account-settings page ([b5f1360](https://github.com/antdv-pro/antdv-pro/commit/b5f1360)) +- I18n config ([c50b840](https://github.com/antdv-pro/antdv-pro/commit/c50b840)) +- Add step-form router ([23603f2](https://github.com/antdv-pro/antdv-pro/commit/23603f2)) +- Add step-form pages ([40baabe](https://github.com/antdv-pro/antdv-pro/commit/40baabe)) +- Add footer-tool-bar components ([7552a18](https://github.com/antdv-pro/antdv-pro/commit/7552a18)) +- Add advanced form router ([3bf0624](https://github.com/antdv-pro/antdv-pro/commit/3bf0624)) +- Add task form ([a4c1c51](https://github.com/antdv-pro/antdv-pro/commit/a4c1c51)) +- Add advanced form ([2fc8cc2](https://github.com/antdv-pro/antdv-pro/commit/2fc8cc2)) +- Add components parent ([fc47099](https://github.com/antdv-pro/antdv-pro/commit/fc47099)) +- Add parent layout ([75f4fd7](https://github.com/antdv-pro/antdv-pro/commit/75f4fd7)) +- Feat list ([412da2d](https://github.com/antdv-pro/antdv-pro/commit/412da2d)) +- Add `unocss-preset-chinese`, `unocss-preset-ease` ([7e5b706](https://github.com/antdv-pro/antdv-pro/commit/7e5b706)) +- Add some files ([431b1eb](https://github.com/antdv-pro/antdv-pro/commit/431b1eb)) +- Add consult-table page ([41ef497](https://github.com/antdv-pro/antdv-pro/commit/41ef497)) +- Add field trend components ([a2ecae7](https://github.com/antdv-pro/antdv-pro/commit/a2ecae7)) +- Add introduce-row first demo ([7a7e540](https://github.com/antdv-pro/antdv-pro/commit/7a7e540)) +- Complete introduce-row demo ([659bcaf](https://github.com/antdv-pro/antdv-pro/commit/659bcaf)) +- Add antv/g2plot package ([41c742e](https://github.com/antdv-pro/antdv-pro/commit/41c742e)) +- Add part of sales-card demo ([ac18ff6](https://github.com/antdv-pro/antdv-pro/commit/ac18ff6)) +- Delete useless code ([acbf99b](https://github.com/antdv-pro/antdv-pro/commit/acbf99b)) +- Complete sales-card demo ([ea9d0cd](https://github.com/antdv-pro/antdv-pro/commit/ea9d0cd)) +- Add 修改侧边栏可伸缩按钮位置 ([12cc61d](https://github.com/antdv-pro/antdv-pro/commit/12cc61d)) +- Add 修改侧边伸缩默认显示 ([4aebe57](https://github.com/antdv-pro/antdv-pro/commit/4aebe57)) +- Add 控制伸缩功能只在侧边布局生效 ([df0738c](https://github.com/antdv-pro/antdv-pro/commit/df0738c)) +- Complete number-info and top-search demo ([b0ceb48](https://github.com/antdv-pro/antdv-pro/commit/b0ceb48)) +- Complete proportion-sales demo ([be3b597](https://github.com/antdv-pro/antdv-pro/commit/be3b597)) +- Complete offline-data demo ([97cf972](https://github.com/antdv-pro/antdv-pro/commit/97cf972)) +- Reconstruct file location ([181e9ba](https://github.com/antdv-pro/antdv-pro/commit/181e9ba)) +- Add part of monitor demo ([0f3ca9d](https://github.com/antdv-pro/antdv-pro/commit/0f3ca9d)) +- Complete part of monitor demo ([f671f56](https://github.com/antdv-pro/antdv-pro/commit/f671f56)) +- Add part of workplace demo ([32958ac](https://github.com/antdv-pro/antdv-pro/commit/32958ac)) +- Complete workplace demo ([257c6b5](https://github.com/antdv-pro/antdv-pro/commit/257c6b5)) +- Complete monitor demo ([7b84c28](https://github.com/antdv-pro/antdv-pro/commit/7b84c28)) +- Change filename ([57a9bb0](https://github.com/antdv-pro/antdv-pro/commit/57a9bb0)) +- Add storage locale ([bf52bbb](https://github.com/antdv-pro/antdv-pro/commit/bf52bbb)) +- Support dynamic router close #93 ([#93](https://github.com/antdv-pro/antdv-pro/issues/93)) +- Add virtual list ([069f27f](https://github.com/antdv-pro/antdv-pro/commit/069f27f)) +- Change text ([4dccc14](https://github.com/antdv-pro/antdv-pro/commit/4dccc14)) +- Add `unplugin-config` ([c6107cf](https://github.com/antdv-pro/antdv-pro/commit/c6107cf)) + +### 🔥 Performance + +- 优化单独监听路由浪费渲染性能 ([05a3d79](https://github.com/antdv-pro/antdv-pro/commit/05a3d79)) + +### 🩹 Fixes + +- Fix iframe transition error ([57311cc](https://github.com/antdv-pro/antdv-pro/commit/57311cc)) +- Delete scroll ([a373517](https://github.com/antdv-pro/antdv-pro/commit/a373517)) +- Add script toJS ([1601334](https://github.com/antdv-pro/antdv-pro/commit/1601334)) +- Result page i18n step2-operator ([c900087](https://github.com/antdv-pro/antdv-pro/commit/c900087)) +- Success result i18n ([412dfeb](https://github.com/antdv-pro/antdv-pro/commit/412dfeb)) +- Router i18n ([d00cf4e](https://github.com/antdv-pro/antdv-pro/commit/d00cf4e)) +- Success page type error ([71aa9ec](https://github.com/antdv-pro/antdv-pro/commit/71aa9ec)) +- Success page type error ([451afd0](https://github.com/antdv-pro/antdv-pro/commit/451afd0)) +- Remove console log ([8c8a2db](https://github.com/antdv-pro/antdv-pro/commit/8c8a2db)) +- 修改路由错误 ([0d5e75c](https://github.com/antdv-pro/antdv-pro/commit/0d5e75c)) +- Dark theme error ([2c08422](https://github.com/antdv-pro/antdv-pro/commit/2c08422)) +- Commit-msg-lint ([2a91560](https://github.com/antdv-pro/antdv-pro/commit/2a91560)) +- Commit-msg-lint ([8e47aae](https://github.com/antdv-pro/antdv-pro/commit/8e47aae)) +- Commit-msg-lint, remove trailing comma ([e578774](https://github.com/antdv-pro/antdv-pro/commit/e578774)) +- 修改错误配置 ([0dc9048](https://github.com/antdv-pro/antdv-pro/commit/0dc9048)) +- Change dir name ([288e11c](https://github.com/antdv-pro/antdv-pro/commit/288e11c)) +- Fix qrcode ([1086a8d](https://github.com/antdv-pro/antdv-pro/commit/1086a8d)) +- Dark mode change error ([67ad773](https://github.com/antdv-pro/antdv-pro/commit/67ad773)) +- Lint error ([f064f70](https://github.com/antdv-pro/antdv-pro/commit/f064f70)) +- Build error ([1c13da1](https://github.com/antdv-pro/antdv-pro/commit/1c13da1)) +- Fix top mode header appear scroll && iframe is not fullscreen ([d07e846](https://github.com/antdv-pro/antdv-pro/commit/d07e846)) +- Change ([6e07288](https://github.com/antdv-pro/antdv-pro/commit/6e07288)) +- Build error ([8563a69](https://github.com/antdv-pro/antdv-pro/commit/8563a69)) +- Menu icon #53 ([#53](https://github.com/antdv-pro/antdv-pro/issues/53)) +- Login theme layout ([63e26a7](https://github.com/antdv-pro/antdv-pro/commit/63e26a7)) +- Rename enum file ([49edbc0](https://github.com/antdv-pro/antdv-pro/commit/49edbc0)) +- Login view change ([e861e47](https://github.com/antdv-pro/antdv-pro/commit/e861e47)) +- Fix page not full ([0caac29](https://github.com/antdv-pro/antdv-pro/commit/0caac29)) +- Router component ([a6e0fcf](https://github.com/antdv-pro/antdv-pro/commit/a6e0fcf)) +- Optimization level ([219646c](https://github.com/antdv-pro/antdv-pro/commit/219646c)) +- I18n symbol #60 ([#60](https://github.com/antdv-pro/antdv-pro/issues/60)) +- Login panel ([34cf8ae](https://github.com/antdv-pro/antdv-pro/commit/34cf8ae)) +- Validate not take effect ([baae131](https://github.com/antdv-pro/antdv-pro/commit/baae131)) +- Validate not take effect ([d132d04](https://github.com/antdv-pro/antdv-pro/commit/d132d04)) +- Add page container ([706087c](https://github.com/antdv-pro/antdv-pro/commit/706087c)) +- Type ([7d8ccde](https://github.com/antdv-pro/antdv-pro/commit/7d8ccde)) +- 将新消息通知中的三个切换按钮的checked状态单独定义 ([c7a44b7](https://github.com/antdv-pro/antdv-pro/commit/c7a44b7)) +- Footer tool bar support dark mode ([aae8cb3](https://github.com/antdv-pro/antdv-pro/commit/aae8cb3)) +- Fix radio-group ([e1a75b1](https://github.com/antdv-pro/antdv-pro/commit/e1a75b1)) +- Fix generate route ([b033198](https://github.com/antdv-pro/antdv-pro/commit/b033198)) +- Fix generate route ([41b50a1](https://github.com/antdv-pro/antdv-pro/commit/41b50a1)) +- Menu hidden header is not full close #71 ([#71](https://github.com/antdv-pro/antdv-pro/issues/71)) +- Build error close #75 ([#75](https://github.com/antdv-pro/antdv-pro/issues/75)) +- Collapsed trigger ([ff8ae6c](https://github.com/antdv-pro/antdv-pro/commit/ff8ae6c)) +- Account-setting avatar size ([069ad16](https://github.com/antdv-pro/antdv-pro/commit/069ad16)) +- Base-loading ui ([dfed9a9](https://github.com/antdv-pro/antdv-pro/commit/dfed9a9)) +- Modify route name to keep unique and basic form path ([69be62f](https://github.com/antdv-pro/antdv-pro/commit/69be62f)) +- Issues#68 ([#68](https://github.com/antdv-pro/antdv-pro/issues/68)) +- Add 删除打印和修正伸缩图标大小 ([22e74a8](https://github.com/antdv-pro/antdv-pro/commit/22e74a8)) +- Add pagination ([a04e223](https://github.com/antdv-pro/antdv-pro/commit/a04e223)) +- Issue#81 ([#81](https://github.com/antdv-pro/antdv-pro/issues/81)) +- Mock server error close #86 ([#86](https://github.com/antdv-pro/antdv-pro/issues/86)) +- Fix win and macos server env ([91bc884](https://github.com/antdv-pro/antdv-pro/commit/91bc884)) +- Dark mode ([1e31431](https://github.com/antdv-pro/antdv-pro/commit/1e31431)) +- Build error ([65bda0e](https://github.com/antdv-pro/antdv-pro/commit/65bda0e)) +- Build error ([3c5bc4b](https://github.com/antdv-pro/antdv-pro/commit/3c5bc4b)) +- Locale storage optimize ([a49d090](https://github.com/antdv-pro/antdv-pro/commit/a49d090)) +- Chart support destroy ([65bdfc7](https://github.com/antdv-pro/antdv-pro/commit/65bdfc7)) +- Change i18n ([8c3f517](https://github.com/antdv-pro/antdv-pro/commit/8c3f517)) +- Build error ([50b5773](https://github.com/antdv-pro/antdv-pro/commit/50b5773)) +- Chart auto fit ([f03bb48](https://github.com/antdv-pro/antdv-pro/commit/f03bb48)) +- Login form logo container layout ([a87df0d](https://github.com/antdv-pro/antdv-pro/commit/a87df0d)) +- Set autocomplete to off ([8ae0024](https://github.com/antdv-pro/antdv-pro/commit/8ae0024)) +- Switch menu stuck & stopped ([8173341](https://github.com/antdv-pro/antdv-pro/commit/8173341)) +- Add router key ([91256e3](https://github.com/antdv-pro/antdv-pro/commit/91256e3)) +- Change route view ([411a4b5](https://github.com/antdv-pro/antdv-pro/commit/411a4b5)) +- Change ([e2d046e](https://github.com/antdv-pro/antdv-pro/commit/e2d046e)) +- Add `defineOptions` to index file ([52e4053](https://github.com/antdv-pro/antdv-pro/commit/52e4053)) + +### 💅 Refactors + +- Change files name ([16f7940](https://github.com/antdv-pro/antdv-pro/commit/16f7940)) + +### 🏡 Chore + +- Add wx group jpg ([fc6481c](https://github.com/antdv-pro/antdv-pro/commit/fc6481c)) +- Update wx group ([2b32fa5](https://github.com/antdv-pro/antdv-pro/commit/2b32fa5)) +- Update dependencies for Nitro as devDependencies ([8480b27](https://github.com/antdv-pro/antdv-pro/commit/8480b27)) +- Update dependencies for Nitro as devDependencies ([6fbafac](https://github.com/antdv-pro/antdv-pro/commit/6fbafac)) +- Remove docs script ([18cf8f5](https://github.com/antdv-pro/antdv-pro/commit/18cf8f5)) +- Add deps ([a014040](https://github.com/antdv-pro/antdv-pro/commit/a014040)) +- Add commit check ([ad43dc1](https://github.com/antdv-pro/antdv-pro/commit/ad43dc1)) +- Add .gitattributes ([cc821f4](https://github.com/antdv-pro/antdv-pro/commit/cc821f4)) +- 删减路径多余空格 ([1617c99](https://github.com/antdv-pro/antdv-pro/commit/1617c99)) +- Change ci ([e4638d8](https://github.com/antdv-pro/antdv-pro/commit/e4638d8)) +- Add start date ([3de8ae4](https://github.com/antdv-pro/antdv-pro/commit/3de8ae4)) +- Types ([fd2f05f](https://github.com/antdv-pro/antdv-pro/commit/fd2f05f)) +- Chore ([6838cab](https://github.com/antdv-pro/antdv-pro/commit/6838cab)) +- Change ([d26935d](https://github.com/antdv-pro/antdv-pro/commit/d26935d)) +- Add current route ([1322f42](https://github.com/antdv-pro/antdv-pro/commit/1322f42)) +- Change components ([29d86c2](https://github.com/antdv-pro/antdv-pro/commit/29d86c2)) +- Change name ([85cabdb](https://github.com/antdv-pro/antdv-pro/commit/85cabdb)) +- **composables/loading:** Loading param note ([e81849a](https://github.com/antdv-pro/antdv-pro/commit/e81849a)) +- Add gitee ([371e5ea](https://github.com/antdv-pro/antdv-pro/commit/371e5ea)) +- BubbleCanvas ts type ([3fdd93b](https://github.com/antdv-pro/antdv-pro/commit/3fdd93b)) +- Change ([49a95a4](https://github.com/antdv-pro/antdv-pro/commit/49a95a4)) +- Change ([70a8034](https://github.com/antdv-pro/antdv-pro/commit/70a8034)) +- Ignore component.d.ts ([4bbd074](https://github.com/antdv-pro/antdv-pro/commit/4bbd074)) +- Ignore component.d.ts ([2ecae5b](https://github.com/antdv-pro/antdv-pro/commit/2ecae5b)) +- Delete excess ([aae0a7f](https://github.com/antdv-pro/antdv-pro/commit/aae0a7f)) +- Del basic table demo ([211e0a4](https://github.com/antdv-pro/antdv-pro/commit/211e0a4)) +- Add account routerlink ([403d3a5](https://github.com/antdv-pro/antdv-pro/commit/403d3a5)) +- Add space to advance form ([80faa7e](https://github.com/antdv-pro/antdv-pro/commit/80faa7e)) +- Change format ([4af5f56](https://github.com/antdv-pro/antdv-pro/commit/4af5f56)) +- Change ([ac15c2a](https://github.com/antdv-pro/antdv-pro/commit/ac15c2a)) +- Font optimization ([18a31b7](https://github.com/antdv-pro/antdv-pro/commit/18a31b7)) +- Change version ([692bd7c](https://github.com/antdv-pro/antdv-pro/commit/692bd7c)) +- Change version ([d45e443](https://github.com/antdv-pro/antdv-pro/commit/d45e443)) +- Change version ([bdafa15](https://github.com/antdv-pro/antdv-pro/commit/bdafa15)) +- Change version ([199bf5d](https://github.com/antdv-pro/antdv-pro/commit/199bf5d)) +- Change version ([6eee4de](https://github.com/antdv-pro/antdv-pro/commit/6eee4de)) +- Change version ([c696770](https://github.com/antdv-pro/antdv-pro/commit/c696770)) +- Change pnpm-lock version ([caedc74](https://github.com/antdv-pro/antdv-pro/commit/caedc74)) +- Change ([747b6c2](https://github.com/antdv-pro/antdv-pro/commit/747b6c2)) +- 修改侧边菜单超出显示样式 ([368ffe0](https://github.com/antdv-pro/antdv-pro/commit/368ffe0)) +- Fix console error ([a08f428](https://github.com/antdv-pro/antdv-pro/commit/a08f428)) +- Use auto import ([4be2127](https://github.com/antdv-pro/antdv-pro/commit/4be2127)) +- **release:** V0.1.0 ([f6f3781](https://github.com/antdv-pro/antdv-pro/commit/f6f3781)) +- Change ([290413e](https://github.com/antdv-pro/antdv-pro/commit/290413e)) +- Change ([80b5b74](https://github.com/antdv-pro/antdv-pro/commit/80b5b74)) +- Change version ([c31dea8](https://github.com/antdv-pro/antdv-pro/commit/c31dea8)) + +### 🎨 Styles + +- Fix card-list style ([6b68f8d](https://github.com/antdv-pro/antdv-pro/commit/6b68f8d)) +- Login change ([4e74769](https://github.com/antdv-pro/antdv-pro/commit/4e74769)) +- Fix style ([8d8a96e](https://github.com/antdv-pro/antdv-pro/commit/8d8a96e)) +- Fix style ([05d072e](https://github.com/antdv-pro/antdv-pro/commit/05d072e)) + +### 🤖 CI + +- Add lint ([a6cbed7](https://github.com/antdv-pro/antdv-pro/commit/a6cbed7)) + +### ❤️ Contributors + +- Aibayanyu +- Kirk Lin ([@kirklin](http://github.com/kirklin)) +- Liosummer <2447629916@qq.com> +- Windlil ([@windlil](http://github.com/windlil)) +- Aibayanyu20 +- Konv Suu <2583695112@qq.com> +- AutismSuperman +- 杜天宇 <17862705909@163.com> +- AShu-guo +- Sun1090 ([@Sun1090](http://github.com/Sun1090)) +- Undefined ([@undefined-moe](http://github.com/undefined-moe)) +- LC1 +- Yizhankui <2669587581@qq.com> +- 张浩杰 ([@HavocZhang](http://github.com/HavocZhang)) +- 一个小瘪三 <10948399+menon-qiqi@user.noreply.gitee.com> +- Qi Yuhang +- Qyh +- Zev Zhu +- Adekang + +## v0.1.0 + +[compare changes](https://github.com/antdv-pro/antdv-pro/compare/v0.0.19...v0.1.0) + +### 🚀 Enhancements + +- Add exception page ([e857135](https://github.com/antdv-pro/antdv-pro/commit/e857135)) +- Add mock server ([2fbecaf](https://github.com/antdv-pro/antdv-pro/commit/2fbecaf)) +- 增加结果页路由 ([14d20f8](https://github.com/antdv-pro/antdv-pro/commit/14d20f8)) +- 增加结果页i18n配置 ([0f51c7d](https://github.com/antdv-pro/antdv-pro/commit/0f51c7d)) +- 同步结果页成功页 #28 ([#28](https://github.com/antdv-pro/antdv-pro/issues/28)) +- 增加结果页路由 #29 ([#29](https://github.com/antdv-pro/antdv-pro/issues/29)) +- Add new result page ([ad6463e](https://github.com/antdv-pro/antdv-pro/commit/ad6463e)) +- Add spinning loader to iframe ([c75a3b8](https://github.com/antdv-pro/antdv-pro/commit/c75a3b8)) +- Add spinning loader to iframe ([888d183](https://github.com/antdv-pro/antdv-pro/commit/888d183)) +- Add login redirect ([70293ed](https://github.com/antdv-pro/antdv-pro/commit/70293ed)) +- 增加路由 ([ef72da5](https://github.com/antdv-pro/antdv-pro/commit/ef72da5)) +- 页面 ([39ff6d5](https://github.com/antdv-pro/antdv-pro/commit/39ff6d5)) +- 路由配置 ([2af830c](https://github.com/antdv-pro/antdv-pro/commit/2af830c)) +- Picocolors custom terminal ([2aca5fd](https://github.com/antdv-pro/antdv-pro/commit/2aca5fd)) +- Add basic profile i18n config ([fb2ac66](https://github.com/antdv-pro/antdv-pro/commit/fb2ac66)) +- Add basic profile router ([1e8b9e4](https://github.com/antdv-pro/antdv-pro/commit/1e8b9e4)) +- Add basic profile i18n config ([cba4ba1](https://github.com/antdv-pro/antdv-pro/commit/cba4ba1)) +- 新增列表数据接口 ([11b7c89](https://github.com/antdv-pro/antdv-pro/commit/11b7c89)) +- 新增列表数据请求方法 ([47bbd73](https://github.com/antdv-pro/antdv-pro/commit/47bbd73)) +- Add a tsconfig rule ([ebaee8d](https://github.com/antdv-pro/antdv-pro/commit/ebaee8d)) +- Basic-list page ([dea1394](https://github.com/antdv-pro/antdv-pro/commit/dea1394)) +- Add search list ([c95c6aa](https://github.com/antdv-pro/antdv-pro/commit/c95c6aa)) +- Add dynamic routes ([766b04e](https://github.com/antdv-pro/antdv-pro/commit/766b04e)) +- Init route config ([e9eb147](https://github.com/antdv-pro/antdv-pro/commit/e9eb147)) +- New page ([ea00f70](https://github.com/antdv-pro/antdv-pro/commit/ea00f70)) +- Login view ([b270521](https://github.com/antdv-pro/antdv-pro/commit/b270521)) +- I18n config ([f292469](https://github.com/antdv-pro/antdv-pro/commit/f292469)) +- Page ([89fca03](https://github.com/antdv-pro/antdv-pro/commit/89fca03)) +- Axios loading ([f60c4d7](https://github.com/antdv-pro/antdv-pro/commit/f60c4d7)) +- Loading text prop ([26d96b4](https://github.com/antdv-pro/antdv-pro/commit/26d96b4)) +- Route config ([51cba5d](https://github.com/antdv-pro/antdv-pro/commit/51cba5d)) +- Update version ([5222e8c](https://github.com/antdv-pro/antdv-pro/commit/5222e8c)) +- Account center page ([dfeaf09](https://github.com/antdv-pro/antdv-pro/commit/dfeaf09)) +- Account-center i18n config ([0c38c00](https://github.com/antdv-pro/antdv-pro/commit/0c38c00)) +- Add basic table routes ([d445c08](https://github.com/antdv-pro/antdv-pro/commit/d445c08)) +- Add basic table i18n config ([d0e3385](https://github.com/antdv-pro/antdv-pro/commit/d0e3385)) +- Add basic table demo ([ddb7c13](https://github.com/antdv-pro/antdv-pro/commit/ddb7c13)) +- Add static routes ([9f42e28](https://github.com/antdv-pro/antdv-pro/commit/9f42e28)) +- Account-settings page ([b5f1360](https://github.com/antdv-pro/antdv-pro/commit/b5f1360)) +- I18n config ([c50b840](https://github.com/antdv-pro/antdv-pro/commit/c50b840)) +- Add step-form router ([23603f2](https://github.com/antdv-pro/antdv-pro/commit/23603f2)) +- Add step-form pages ([40baabe](https://github.com/antdv-pro/antdv-pro/commit/40baabe)) +- Add footer-tool-bar components ([7552a18](https://github.com/antdv-pro/antdv-pro/commit/7552a18)) +- Add advanced form router ([3bf0624](https://github.com/antdv-pro/antdv-pro/commit/3bf0624)) +- Add task form ([a4c1c51](https://github.com/antdv-pro/antdv-pro/commit/a4c1c51)) +- Add advanced form ([2fc8cc2](https://github.com/antdv-pro/antdv-pro/commit/2fc8cc2)) +- Add components parent ([fc47099](https://github.com/antdv-pro/antdv-pro/commit/fc47099)) +- Add parent layout ([75f4fd7](https://github.com/antdv-pro/antdv-pro/commit/75f4fd7)) +- Feat list ([412da2d](https://github.com/antdv-pro/antdv-pro/commit/412da2d)) +- Add `unocss-preset-chinese`, `unocss-preset-ease` ([7e5b706](https://github.com/antdv-pro/antdv-pro/commit/7e5b706)) +- Add some files ([431b1eb](https://github.com/antdv-pro/antdv-pro/commit/431b1eb)) +- Add consult-table page ([41ef497](https://github.com/antdv-pro/antdv-pro/commit/41ef497)) +- Add field trend components ([a2ecae7](https://github.com/antdv-pro/antdv-pro/commit/a2ecae7)) +- Add introduce-row first demo ([7a7e540](https://github.com/antdv-pro/antdv-pro/commit/7a7e540)) +- Complete introduce-row demo ([659bcaf](https://github.com/antdv-pro/antdv-pro/commit/659bcaf)) +- Add antv/g2plot package ([41c742e](https://github.com/antdv-pro/antdv-pro/commit/41c742e)) +- Add part of sales-card demo ([ac18ff6](https://github.com/antdv-pro/antdv-pro/commit/ac18ff6)) +- Delete useless code ([acbf99b](https://github.com/antdv-pro/antdv-pro/commit/acbf99b)) +- Complete sales-card demo ([ea9d0cd](https://github.com/antdv-pro/antdv-pro/commit/ea9d0cd)) +- Add 修改侧边栏可伸缩按钮位置 ([12cc61d](https://github.com/antdv-pro/antdv-pro/commit/12cc61d)) +- Add 修改侧边伸缩默认显示 ([4aebe57](https://github.com/antdv-pro/antdv-pro/commit/4aebe57)) +- Add 控制伸缩功能只在侧边布局生效 ([df0738c](https://github.com/antdv-pro/antdv-pro/commit/df0738c)) +- Complete number-info and top-search demo ([b0ceb48](https://github.com/antdv-pro/antdv-pro/commit/b0ceb48)) +- Complete proportion-sales demo ([be3b597](https://github.com/antdv-pro/antdv-pro/commit/be3b597)) +- Complete offline-data demo ([97cf972](https://github.com/antdv-pro/antdv-pro/commit/97cf972)) +- Reconstruct file location ([181e9ba](https://github.com/antdv-pro/antdv-pro/commit/181e9ba)) +- Add part of monitor demo ([0f3ca9d](https://github.com/antdv-pro/antdv-pro/commit/0f3ca9d)) +- Complete part of monitor demo ([f671f56](https://github.com/antdv-pro/antdv-pro/commit/f671f56)) +- Add part of workplace demo ([32958ac](https://github.com/antdv-pro/antdv-pro/commit/32958ac)) +- Complete workplace demo ([257c6b5](https://github.com/antdv-pro/antdv-pro/commit/257c6b5)) +- Complete monitor demo ([7b84c28](https://github.com/antdv-pro/antdv-pro/commit/7b84c28)) +- Change filename ([57a9bb0](https://github.com/antdv-pro/antdv-pro/commit/57a9bb0)) +- Add storage locale ([bf52bbb](https://github.com/antdv-pro/antdv-pro/commit/bf52bbb)) +- Support dynamic router close #93 ([#93](https://github.com/antdv-pro/antdv-pro/issues/93)) +- Add virtual list ([069f27f](https://github.com/antdv-pro/antdv-pro/commit/069f27f)) +- Change text ([4dccc14](https://github.com/antdv-pro/antdv-pro/commit/4dccc14)) + +### 🔥 Performance + +- 优化单独监听路由浪费渲染性能 ([05a3d79](https://github.com/antdv-pro/antdv-pro/commit/05a3d79)) + +### 🩹 Fixes + +- Fix iframe transition error ([57311cc](https://github.com/antdv-pro/antdv-pro/commit/57311cc)) +- Delete scroll ([a373517](https://github.com/antdv-pro/antdv-pro/commit/a373517)) +- Add script toJS ([1601334](https://github.com/antdv-pro/antdv-pro/commit/1601334)) +- Result page i18n step2-operator ([c900087](https://github.com/antdv-pro/antdv-pro/commit/c900087)) +- Success result i18n ([412dfeb](https://github.com/antdv-pro/antdv-pro/commit/412dfeb)) +- Router i18n ([d00cf4e](https://github.com/antdv-pro/antdv-pro/commit/d00cf4e)) +- Success page type error ([71aa9ec](https://github.com/antdv-pro/antdv-pro/commit/71aa9ec)) +- Success page type error ([451afd0](https://github.com/antdv-pro/antdv-pro/commit/451afd0)) +- Remove console log ([8c8a2db](https://github.com/antdv-pro/antdv-pro/commit/8c8a2db)) +- 修改路由错误 ([0d5e75c](https://github.com/antdv-pro/antdv-pro/commit/0d5e75c)) +- Dark theme error ([2c08422](https://github.com/antdv-pro/antdv-pro/commit/2c08422)) +- Commit-msg-lint ([2a91560](https://github.com/antdv-pro/antdv-pro/commit/2a91560)) +- Commit-msg-lint ([8e47aae](https://github.com/antdv-pro/antdv-pro/commit/8e47aae)) +- Commit-msg-lint, remove trailing comma ([e578774](https://github.com/antdv-pro/antdv-pro/commit/e578774)) +- 修改错误配置 ([0dc9048](https://github.com/antdv-pro/antdv-pro/commit/0dc9048)) +- Change dir name ([288e11c](https://github.com/antdv-pro/antdv-pro/commit/288e11c)) +- Fix qrcode ([1086a8d](https://github.com/antdv-pro/antdv-pro/commit/1086a8d)) +- Dark mode change error ([67ad773](https://github.com/antdv-pro/antdv-pro/commit/67ad773)) +- Lint error ([f064f70](https://github.com/antdv-pro/antdv-pro/commit/f064f70)) +- Build error ([1c13da1](https://github.com/antdv-pro/antdv-pro/commit/1c13da1)) +- Fix top mode header appear scroll && iframe is not fullscreen ([d07e846](https://github.com/antdv-pro/antdv-pro/commit/d07e846)) +- Change ([6e07288](https://github.com/antdv-pro/antdv-pro/commit/6e07288)) +- Build error ([8563a69](https://github.com/antdv-pro/antdv-pro/commit/8563a69)) +- Menu icon #53 ([#53](https://github.com/antdv-pro/antdv-pro/issues/53)) +- Login theme layout ([63e26a7](https://github.com/antdv-pro/antdv-pro/commit/63e26a7)) +- Rename enum file ([49edbc0](https://github.com/antdv-pro/antdv-pro/commit/49edbc0)) +- Login view change ([e861e47](https://github.com/antdv-pro/antdv-pro/commit/e861e47)) +- Fix page not full ([0caac29](https://github.com/antdv-pro/antdv-pro/commit/0caac29)) +- Router component ([a6e0fcf](https://github.com/antdv-pro/antdv-pro/commit/a6e0fcf)) +- Optimization level ([219646c](https://github.com/antdv-pro/antdv-pro/commit/219646c)) +- I18n symbol #60 ([#60](https://github.com/antdv-pro/antdv-pro/issues/60)) +- Login panel ([34cf8ae](https://github.com/antdv-pro/antdv-pro/commit/34cf8ae)) +- Validate not take effect ([baae131](https://github.com/antdv-pro/antdv-pro/commit/baae131)) +- Validate not take effect ([d132d04](https://github.com/antdv-pro/antdv-pro/commit/d132d04)) +- Add page container ([706087c](https://github.com/antdv-pro/antdv-pro/commit/706087c)) +- Type ([7d8ccde](https://github.com/antdv-pro/antdv-pro/commit/7d8ccde)) +- 将新消息通知中的三个切换按钮的checked状态单独定义 ([c7a44b7](https://github.com/antdv-pro/antdv-pro/commit/c7a44b7)) +- Footer tool bar support dark mode ([aae8cb3](https://github.com/antdv-pro/antdv-pro/commit/aae8cb3)) +- Fix radio-group ([e1a75b1](https://github.com/antdv-pro/antdv-pro/commit/e1a75b1)) +- Fix generate route ([b033198](https://github.com/antdv-pro/antdv-pro/commit/b033198)) +- Fix generate route ([41b50a1](https://github.com/antdv-pro/antdv-pro/commit/41b50a1)) +- Menu hidden header is not full close #71 ([#71](https://github.com/antdv-pro/antdv-pro/issues/71)) +- Build error close #75 ([#75](https://github.com/antdv-pro/antdv-pro/issues/75)) +- Collapsed trigger ([ff8ae6c](https://github.com/antdv-pro/antdv-pro/commit/ff8ae6c)) +- Account-setting avatar size ([069ad16](https://github.com/antdv-pro/antdv-pro/commit/069ad16)) +- Base-loading ui ([dfed9a9](https://github.com/antdv-pro/antdv-pro/commit/dfed9a9)) +- Modify route name to keep unique and basic form path ([69be62f](https://github.com/antdv-pro/antdv-pro/commit/69be62f)) +- Issues#68 ([#68](https://github.com/antdv-pro/antdv-pro/issues/68)) +- Add 删除打印和修正伸缩图标大小 ([22e74a8](https://github.com/antdv-pro/antdv-pro/commit/22e74a8)) +- Add pagination ([a04e223](https://github.com/antdv-pro/antdv-pro/commit/a04e223)) +- Issue#81 ([#81](https://github.com/antdv-pro/antdv-pro/issues/81)) +- Mock server error close #86 ([#86](https://github.com/antdv-pro/antdv-pro/issues/86)) +- Fix win and macos server env ([91bc884](https://github.com/antdv-pro/antdv-pro/commit/91bc884)) +- Dark mode ([1e31431](https://github.com/antdv-pro/antdv-pro/commit/1e31431)) +- Build error ([65bda0e](https://github.com/antdv-pro/antdv-pro/commit/65bda0e)) +- Build error ([3c5bc4b](https://github.com/antdv-pro/antdv-pro/commit/3c5bc4b)) +- Locale storage optimize ([a49d090](https://github.com/antdv-pro/antdv-pro/commit/a49d090)) +- Chart support destroy ([65bdfc7](https://github.com/antdv-pro/antdv-pro/commit/65bdfc7)) +- Change i18n ([8c3f517](https://github.com/antdv-pro/antdv-pro/commit/8c3f517)) +- Build error ([50b5773](https://github.com/antdv-pro/antdv-pro/commit/50b5773)) +- Chart auto fit ([f03bb48](https://github.com/antdv-pro/antdv-pro/commit/f03bb48)) +- Login form logo container layout ([a87df0d](https://github.com/antdv-pro/antdv-pro/commit/a87df0d)) +- Set autocomplete to off ([8ae0024](https://github.com/antdv-pro/antdv-pro/commit/8ae0024)) +- Switch menu stuck & stopped ([8173341](https://github.com/antdv-pro/antdv-pro/commit/8173341)) +- Add router key ([91256e3](https://github.com/antdv-pro/antdv-pro/commit/91256e3)) +- Change route view ([411a4b5](https://github.com/antdv-pro/antdv-pro/commit/411a4b5)) +- Change ([e2d046e](https://github.com/antdv-pro/antdv-pro/commit/e2d046e)) + +### 💅 Refactors + +- Change files name ([16f7940](https://github.com/antdv-pro/antdv-pro/commit/16f7940)) + +### 🏡 Chore + +- Add wx group jpg ([fc6481c](https://github.com/antdv-pro/antdv-pro/commit/fc6481c)) +- Update wx group ([2b32fa5](https://github.com/antdv-pro/antdv-pro/commit/2b32fa5)) +- Update dependencies for Nitro as devDependencies ([8480b27](https://github.com/antdv-pro/antdv-pro/commit/8480b27)) +- Update dependencies for Nitro as devDependencies ([6fbafac](https://github.com/antdv-pro/antdv-pro/commit/6fbafac)) +- Remove docs script ([18cf8f5](https://github.com/antdv-pro/antdv-pro/commit/18cf8f5)) +- Add deps ([a014040](https://github.com/antdv-pro/antdv-pro/commit/a014040)) +- Add commit check ([ad43dc1](https://github.com/antdv-pro/antdv-pro/commit/ad43dc1)) +- Add .gitattributes ([cc821f4](https://github.com/antdv-pro/antdv-pro/commit/cc821f4)) +- 删减路径多余空格 ([1617c99](https://github.com/antdv-pro/antdv-pro/commit/1617c99)) +- Change ci ([e4638d8](https://github.com/antdv-pro/antdv-pro/commit/e4638d8)) +- Add start date ([3de8ae4](https://github.com/antdv-pro/antdv-pro/commit/3de8ae4)) +- Types ([fd2f05f](https://github.com/antdv-pro/antdv-pro/commit/fd2f05f)) +- Chore ([6838cab](https://github.com/antdv-pro/antdv-pro/commit/6838cab)) +- Change ([d26935d](https://github.com/antdv-pro/antdv-pro/commit/d26935d)) +- Add current route ([1322f42](https://github.com/antdv-pro/antdv-pro/commit/1322f42)) +- Change components ([29d86c2](https://github.com/antdv-pro/antdv-pro/commit/29d86c2)) +- Change name ([85cabdb](https://github.com/antdv-pro/antdv-pro/commit/85cabdb)) +- **composables/loading:** Loading param note ([e81849a](https://github.com/antdv-pro/antdv-pro/commit/e81849a)) +- Add gitee ([371e5ea](https://github.com/antdv-pro/antdv-pro/commit/371e5ea)) +- BubbleCanvas ts type ([3fdd93b](https://github.com/antdv-pro/antdv-pro/commit/3fdd93b)) +- Change ([49a95a4](https://github.com/antdv-pro/antdv-pro/commit/49a95a4)) +- Change ([70a8034](https://github.com/antdv-pro/antdv-pro/commit/70a8034)) +- Ignore component.d.ts ([4bbd074](https://github.com/antdv-pro/antdv-pro/commit/4bbd074)) +- Ignore component.d.ts ([2ecae5b](https://github.com/antdv-pro/antdv-pro/commit/2ecae5b)) +- Delete excess ([aae0a7f](https://github.com/antdv-pro/antdv-pro/commit/aae0a7f)) +- Del basic table demo ([211e0a4](https://github.com/antdv-pro/antdv-pro/commit/211e0a4)) +- Add account routerlink ([403d3a5](https://github.com/antdv-pro/antdv-pro/commit/403d3a5)) +- Add space to advance form ([80faa7e](https://github.com/antdv-pro/antdv-pro/commit/80faa7e)) +- Change format ([4af5f56](https://github.com/antdv-pro/antdv-pro/commit/4af5f56)) +- Change ([ac15c2a](https://github.com/antdv-pro/antdv-pro/commit/ac15c2a)) +- Font optimization ([18a31b7](https://github.com/antdv-pro/antdv-pro/commit/18a31b7)) +- Change version ([692bd7c](https://github.com/antdv-pro/antdv-pro/commit/692bd7c)) +- Change version ([d45e443](https://github.com/antdv-pro/antdv-pro/commit/d45e443)) +- Change version ([bdafa15](https://github.com/antdv-pro/antdv-pro/commit/bdafa15)) +- Change version ([199bf5d](https://github.com/antdv-pro/antdv-pro/commit/199bf5d)) +- Change version ([6eee4de](https://github.com/antdv-pro/antdv-pro/commit/6eee4de)) +- Change version ([c696770](https://github.com/antdv-pro/antdv-pro/commit/c696770)) +- Change pnpm-lock version ([caedc74](https://github.com/antdv-pro/antdv-pro/commit/caedc74)) +- Change ([747b6c2](https://github.com/antdv-pro/antdv-pro/commit/747b6c2)) +- 修改侧边菜单超出显示样式 ([368ffe0](https://github.com/antdv-pro/antdv-pro/commit/368ffe0)) +- Fix console error ([a08f428](https://github.com/antdv-pro/antdv-pro/commit/a08f428)) +- Use auto import ([4be2127](https://github.com/antdv-pro/antdv-pro/commit/4be2127)) + +### 🎨 Styles + +- Fix card-list style ([6b68f8d](https://github.com/antdv-pro/antdv-pro/commit/6b68f8d)) +- Login change ([4e74769](https://github.com/antdv-pro/antdv-pro/commit/4e74769)) +- Fix style ([8d8a96e](https://github.com/antdv-pro/antdv-pro/commit/8d8a96e)) +- Fix style ([05d072e](https://github.com/antdv-pro/antdv-pro/commit/05d072e)) + +### 🤖 CI + +- Add lint ([a6cbed7](https://github.com/antdv-pro/antdv-pro/commit/a6cbed7)) + +### ❤️ Contributors + +- Liosummer <2447629916@qq.com> +- Windlil ([@windlil](http://github.com/windlil)) +- Aibayanyu20 +- Aibayanyu +- Konv Suu <2583695112@qq.com> +- AutismSuperman +- 杜天宇 <17862705909@163.com> +- AShu-guo +- Sun1090 ([@Sun1090](http://github.com/Sun1090)) +- Undefined ([@undefined-moe](http://github.com/undefined-moe)) +- LC1 +- Kirk Lin ([@kirklin](http://github.com/kirklin)) +- Yizhankui <2669587581@qq.com> +- 张浩杰 ([@HavocZhang](http://github.com/HavocZhang)) +- 一个小瘪三 <10948399+menon-qiqi@user.noreply.gitee.com> +- Qi Yuhang +- Qyh +- Zev Zhu +- Adekang + +## v0.0.19 + +[compare changes](https://undefined/undefined/compare/v0.0.18...v0.0.19) + +### 🚀 Enhancements + +- Add copy setting config (7677dbf) +- Add LICENSE (97dadb0) +- Support does not depend on name to keep alive (82394bb) +- Add github and doc link (d80f78a) + +### 🩹 Fixes + +- Eslint warning close #13 (#13) + +### 🏡 Chore + +- Change version (215b0a0) +- Change version (37b121c) +- Fix conflict (5b6463b) +- Change eslint ignore (38cad2c) + +### ❤️ Contributors + +- Aibayanyu20 +- Aibayanyu + +## v0.0.18 + +[compare changes](https://undefined/undefined/compare/v0.0.17...v0.0.18) + +### 🚀 Enhancements + +- Global config (e314b34) +- Support customDev mode (11c6c06) +- Add dynamic animation list close #10 (#10) +- Add Dockerfile (0619785) + +### 🩹 Fixes + +- Loading error (94efff8) +- Delete modal typo (0c3f7c3) +- Header content overflow issue (e7dd087) +- Change dockerfile (4ba22e5) +- Change api (059549e) + +### 🏡 Chore + +- Change version (46b422b) +- Change version (af2549e) +- Change readme (4d9221c) + +### ❤️ Contributors + +- Aibayanyu20 +- Kai + +## v0.0.17 + +[compare changes](https://undefined/undefined/compare/v0.0.16...v0.0.17) + +### 🚀 Enhancements + +- Add useMessage && useModal && useNotifaction replace message && modal && notifaction (d0c031a) +- Replace request config (4be8824) + +### 🩹 Fixes + +- Typo (14c93ef) +- Typo (ca14d96) + +### ❤️ Contributors + +- Aibayanyu20 + +## v0.0.16 + +[compare changes](https://undefined/undefined/compare/v0.0.15...v0.0.16) + +### 🚀 Enhancements + +- Update version (2d7162d) + +### 🩹 Fixes + +- Remove tab more (4b4b092) +- Style warning (f6a863c) +- Fix split error (ad77483) + +### 🏡 Chore + +- Update version (e231627) +- Change version (4223747) + +### ❤️ Contributors + +- Aibayanyu +- Aibayanyu20 + +## v0.0.15 + +[compare changes](https://undefined/undefined/compare/v0.0.14...v0.0.15) + + +### 🚀 Enhancements + + - Add locale (7adbce1) + - Menu support i18n (74baf00) + - Title support title (aea9fd9) + +### 🩹 Fixes + + - Fix split menu change error (da34522) + - Menu title error (a13462e) + - Menu title error (5a70263) + +### 🏡 Chore + + - Change version (f327491) + +### ❤️ Contributors + +- Aibayanyu20 + +## v0.0.14 + +[compare changes](https://undefined/undefined/compare/v0.0.13...v0.0.14) + + +### 🚀 Enhancements + + - Support split menu mode (86a9273) + +### 🩹 Fixes + + - Context menu refresh current (2d8dca4) + - Optimize the animation effect (f0ed9a3) + - HeaderHeight is not take effect (73ca87b) + - Fix css error (6fe1276) + +### ❤️ Contributors + +- Aibayanyu20 +- Aibayanyu + +## v0.0.13 + +[compare changes](https://undefined/undefined/compare/v0.0.12...v0.0.13) + + +### 🚀 Enhancements + + - Support dynamic routes (2164119) + - Support dynamic load way in env (5dd538d) + +### 🏡 Chore + + - Add readme (5d048e3) + +### ❤️ Contributors + +- Aibayanyu + +## v0.0.12 + +[compare changes](https://undefined/undefined/compare/v0.0.11...v0.0.12) + + +### 🚀 Enhancements + + - Add access mode (e89acfe) + +### 🩹 Fixes + + - Loading experience optimization (136aa7b) + - Change loading in router guard (8479d60) + - Typo (29430fa) + - Typo (6358062) + - Loading delay (c842062) + - Query dom (46cfb14) + - Logout cache (1e18c85) + +### 🏡 Chore + + - Bump version (b20d4b1) + - Change version (afe7e7f) + - Fix auto import components ts types (a68d41c) + - Change plugin version (32edfae) + +### ❤️ Contributors + +- Aibayanyu +- Aibayanyu20 +- Kai + +## v0.0.11 + +[compare changes](https://undefined/undefined/compare/v0.0.10...v0.0.11) + + +### 🚀 Enhancements + + - Add request control token (43bc593) + - Add request control token (f71c2e4) + - Support accordion mode (6d9c8df) + +### 🩹 Fixes + + - Typo (96f8220) + - Store state error (aa6c605) + +### 🏡 Chore + + - Migrate package version (6486f57) + - Change (a1ee980) + - Update version (6863493) + - Update version (69e8b1f) + - Change vue-i18n (7923e2b) + - Update version (5d74cd6) + +### 🤖 CI + + - Add issue close workflow (5278a99) + +### ❤️ Contributors + +- Zev Zhu +- Aibayanyu +- 杜天宇 <17862705909@163.com> +- Aibayanyu20 + +## v0.0.10 + +[compare changes](https://undefined/undefined/compare/v0.0.9...v0.0.10) + + +### 🩹 Fixes + + - Fix close left and right error (eea8854) + +### ❤️ Contributors + +- Aibayanyu + +## v0.0.9 + +[compare changes](https://undefined/undefined/compare/v0.0.8...v0.0.9) + + +### 🚀 Enhancements + + - Add context right menu (390022d) + - Use size small (ac962b0) + - Add contenxt menu (f720551) + +### 🩹 Fixes + + - Height error (ae945b9) + +### 🏡 Chore + + - Change author (3faac73) + +### 🤖 CI + + - Rename package.json (4bd1cde) + +### ❤️ Contributors + +- Aibayanyu +- Zhuzhengjian +- Zev Zhu + +## v0.0.8 + +[compare changes](https://undefined/undefined/compare/v0.0.7...v0.0.8) + + +### 🚀 Enhancements + + - Add pagecontainer (f3ecd48) + +### 🩹 Fixes + + - Color primary (661f7b3) + +### ❤️ Contributors + +- Aibayanyu + +## v0.0.7 + +[compare changes](https://undefined/undefined/compare/v0.0.6...v0.0.7) + + +### 🩹 Fixes + + - Import error (1ba59d5) + - Rename (9362480) + +### 🏡 Chore + + - Migrate version (1eebf00) + +### 🤖 CI + + - Change (5a12b81) + +### ❤️ Contributors + +- Aibayanyu + +## v0.0.6 + +[compare changes](https://undefined/undefined/compare/v0.0.5...v0.0.6) + + +### 🏡 Chore + + - Migrate ant-design-vue (0d02def) + - Migrate version (946b304) + +### ❤️ Contributors + +- Aibayanyu + +## v0.0.5 + +[compare changes](https://undefined/undefined/compare/v0.0.4...v0.0.5) + + +### 🚀 Enhancements + + - Add select lang (0bc02ae) + +### 🏡 Chore + + - Change (68464cb) + +### ❤️ Contributors + +- Aibayanyu + +## v0.0.4 + +[compare changes](https://undefined/undefined/compare/v0.0.3...v0.0.4) + + +### 🏡 Chore + + - Change pkg (65d4d49) + - Change (45b44fb) + - Change (7608a96) + +### ❤️ Contributors + +- Aibayanyu ([@mist-design](http://github.com/mist-design)) + +## v0.0.3 + +[compare changes](https://undefined/undefined/compare/v0.0.2...v0.0.3) + + +### 🚀 Enhancements + + - Add keepalive config (0021ed4) + +### 🩹 Fixes + + - Remove transition (6e1b836) + - Transition error (25bed59) + - Analysis is not take effect (ef0e5ec) + +### 🏡 Chore + + - Change version (03787ae) + - Change version (5e161ce) + +### 🤖 CI + + - Add workflow (438b594) + +### ❤️ Contributors + +- Aibayanyu ([@mist-design](http://github.com/mist-design)) + +## vtrue + +[compare changes](https://undefined/undefined/compare/v0.0.2...vtrue) + + +### 🚀 Enhancements + + - Add keepalive config (0021ed4) + +### 🩹 Fixes + + - Remove transition (6e1b836) + - Transition error (25bed59) + - Analysis is not take effect (ef0e5ec) + +### 🤖 CI + + - Add workflow (438b594) + +### ❤️ Contributors + +- Aibayanyu ([@mist-design](http://github.com/mist-design)) + diff --git a/web/Dockerfile b/web/Dockerfile new file mode 100644 index 0000000..8009d44 --- /dev/null +++ b/web/Dockerfile @@ -0,0 +1,8 @@ +FROM nginx + +RUN rm /etc/nginx/conf.d/default.conf + +ADD default.conf /etc/nginx/conf.d/default.conf +COPY dist/ /usr/share/nginx/html/ +RUN chmod 775 -R /usr/share/nginx/html +EXPOSE 80/tcp \ No newline at end of file diff --git a/web/LICENSE b/web/LICENSE new file mode 100644 index 0000000..06cef5f --- /dev/null +++ b/web/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) [2023] [Antdv Pro] + +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/web/README.md b/web/README.md new file mode 100644 index 0000000..8fca6bc --- /dev/null +++ b/web/README.md @@ -0,0 +1,102 @@ +
VbenAdmin Logo

+ + +

Antdv Pro

+ +
+ +![gitee](https://gitee.com/antdv-pro/antdv-pro/badge/star.svg) +![github](https://img.shields.io/github/stars/antdv-pro/antdv-pro?style=social) + +**English** | [简体中文](./README.zh-CN.md) + + +## Introduction + +AntdvPro is a complete set of enterprise-level mid-backend front-end/design solutions based on Vue3, Vite4, ant-design-vue4, Pinia, UnoCSS and Typescript. It refers to the design pattern of Ali react version antd-pro, using the latest and most popular The front-end technology stack has built-in dynamic routing, multi-theme, multi-layout and other functions, which can help you quickly build enterprise-level mid-background product prototypes. + + +## Features + +* pnpm: Using the latest pnpm as a package management tool, it can greatly reduce the size of node_modules, speed up the installation speed of packages, and can also share dependencies to reduce disk usage. +* vite: vite as a front-end development tool, it can greatly speed up the start-up speed of the project, and also supports hot updates, which can greatly improve development efficiency. +* vue3: vue3.3.x as the front-end framework, the basic code is written in script-setup, with less code and low maintenance cost. +* nitro mock: Use nitro as the server's mock data, decoupled from the project, and more flexible and easy to use. +* ant-design-vue4: ant-design-vue4 as the UI framework, the author of admin-pro is also a core member of ant-design-vue, which can provide long-term maintenance support. +* pinia: pinia as a state management tool, it can greatly improve the readability and maintainability of the code, and also supports Typescript. +* UnoCSS: Atomic CSS framework, reduce the troubles caused by thinking about some common class names, and improve our development efficiency. +* Code specification: We have encapsulated a set of eslint-based code specification configuration files, which can be used out of the box to unify the problems brought by different teams. +* Theme: The design specifications of antd-pro of the react version are used, and a set of theme modes based on vue are developed. On this basis, some new functions are added to meet various different needs as much as possible. +* Request function: Based on axios, a set of request functions with complete types and some basic interceptor encapsulations are encapsulated. You only need to make corresponding implementation adjustments according to the requirements to meet the different needs of various projects. +* Mobile compatibility: We have tried our best to make the basic framework compatible with the mobile terminal mode, but because our main goal is the enterprise-level mid-background product, we have not made too much adaptation to the mobile terminal. If your project needs to adapt to the mobile terminal, you can refer to our code for corresponding adjustments. + + +## Preview + +[antdv-pro](https://antdv-pro.com) - Test Account: admin/admin + +[antdv-pro-docs](https://docs.antdv-pro.com) - Documentation + +## Community + +QQ Group: apply wechat group + +Wechat: aibayanyu2022 + +Discord: [discord](https://discord.gg/tPb4G6gXmm) + +WeChatGroup: apply wechat group to add author wechat + + + + +## Useage + +```bash + +# Install degit +npm i -g degit + +# Pull the code +degit antdv-pro/antdv-pro [your project name] + +# Switch to the project directory +cd [your project name] + +# Install +pnpm install + +# Development +pnpm dev +``` + +## Contribute + +We are very welcome to have you participate in our open source project. + + +**Pull Request:** + +1. Fork code! +2. Create your own branch: `git checkout -b feat-xxxx` +3. Submit your changes: `git commit -am 'feat(function): add xxxxx'` +4. Push your branch: `git push origin feat-xxxx` +5. submit`pull request` + +Thank you to all the people who already contributed to antdv-pro! + + + + + +## Support + +If you like our project, you can support us by clicking the "Star" button in the upper right corner. Your support is my motivation. Thank you ~ + +Thanks to the open source project license provided by [Jetbrains](https://www.jetbrains.com/?from=antdv-pro). + +## Sponsor + +If you like our project, you can sponsor us to help us maintain the project better. + +[Alipay/Wechat](https://docs.antdv-pro.com/other/sponsor.html) diff --git a/web/README.zh-CN.md b/web/README.zh-CN.md new file mode 100644 index 0000000..c6c0552 --- /dev/null +++ b/web/README.zh-CN.md @@ -0,0 +1,103 @@ +
VbenAdmin Logo

+ + +

Antdv Pro

+ +
+ +![gitee](https://gitee.com/antdv-pro/antdv-pro/badge/star.svg) +![github](https://img.shields.io/github/stars/antdv-pro/antdv-pro?style=social) + + +[English](./README.md) | **简体中文** + + +## 介绍 + +AntdvPro是一个基于Vue3、Vite4、ant-design-vue4、Pinia、UnoCSS和Typescript的一整套企业级中后台前端/设计解决方案,它参考了阿里react版本antd-pro的设计模式,使用了最新最流行的前端技术栈,内置了动态路由、多主题、多布局等功能,可以帮助你快速搭建企业级中后台产品原型。 + + +## 特性 + +* pnpm:使用了最新的pnpm作为包管理工具,它可以大大减少node_modules的体积,加快包的安装速度,同时还可以共享依赖,减少磁盘占用。 +* vite:vite作为前端开发工具,它可以大大加快项目的启动速度,同时还支持热更新,可以大大提高开发效率。 +* vue3:vue3.3.x作为前端框架,基础代码全部使用script-setup的写法,代码量少维护成本低。 +* nitro mock:采用nitro作为服务端的mock数据,从工程中解耦处理,更加灵活易用。 +* ant-design-vue4:ant-design-vue4作为UI框架,admin-pro的作者也是ant-design-vue的核心成员,可提供长期的维护支持。 +* pinia:pinia作为状态管理工具,它可以大大提高代码的可读性和可维护性,同时还支持Typescript。 +* UnoCSS:原子化的CSS框架,减少我们去想一些通用类名带来的烦恼,提升我们的开发效率。 +* 代码规范:我们封装了一套基于eslint的代码规范配置文件,开箱即用,统一不同团队所带来的问题。 +* 主题:延用了react版本的antd-pro的设计规范,开发了一套基于vue的主题模式,在此基础上增加了一些新的功能,尽可能的满足各种不同的需求。 +* 请求函数:基于axios封装了一套具有完善类型的请求函数,以及一些基础的拦截器的封装,只需要按照需求做对应的实现调整就能满足各种项目带来的不一样的需求。 +* 移动端兼容:基础框架部分我们尽可能的对移动端的模式进行了兼容处理,但是由于我们的主要目标是企业级中后台产品,所以我们并没有对移动端做过多的适配,如果你的项目需要移动端的适配,可以参考我们的代码进行相应的调整。 + + +## 演示 + +[antdv-pro](https://antdv-pro.com) - 测试账号:admin/admin + +[antdv-pro-docs](https://docs.antdv-pro.com) - 在线文档地址 + + +## 社区 + +QQ群: 申请微信群 + +微信: [aibayanyu2022](https://u.wechat.com/MASIsAa8353Hi4e59-aBPaA) + +Discord: [discord](https://discord.gg/tPb4G6gXmm) + +微信群: 申请微信群加作者微信 + + +## 使用 + +```bash + +# 安装degit +npm i -g degit + +# 拉取代码 +degit antdv-pro/antdv-pro [your project name] + +# 切换到项目目录 +cd [your project name] + +# 安装依赖 + +pnpm install + +# 启动项目 +pnpm dev +``` + +## 贡献 + +非常欢迎您参与到我们的开源项目中来~ + +**PR流程:** + +1. Fork 代码! +2. 创建自己的分支: `git checkout -b feat-xxxx` +3. 提交你的修改: `git commit -am 'feat(function): add xxxxx'` +4. 推送您的分支: `git push origin feat-xxxx` +5. 提交`pull request` + +感谢所有为`antdv-pro`做出贡献的小伙伴儿们! + + + + + + +## 支持 + +如果你觉得这个项目对你有帮助,你可以点右上角 "Star" 支持一下,你的支持就是我的动力,谢谢~ + +感谢[Jetbrains](https://www.jetbrains.com/?from=antdv-pro).提供的开源项目许可证支持 + +## 赞助 + +如果你觉得这个项目对你有帮助,你可以点击下方链接对我进行赞助,谢谢~ + +[赞助](https://docs.antdv-pro.com/other/sponsor.html) diff --git a/web/default.conf b/web/default.conf new file mode 100644 index 0000000..669e195 --- /dev/null +++ b/web/default.conf @@ -0,0 +1,27 @@ +server { + listen 80; + server_name _; + # gzip config + gzip on; + gzip_min_length 1k; + gzip_comp_level 9; + gzip_types text/plain text/css text/javascript application/json application/javascript application/x-javascript application/xml; + gzip_vary on; + gzip_disable "MSIE [1-6]\."; + + root /usr/share/nginx/html; + include /etc/nginx/mime.types; + + location / { + try_files $uri $uri/ /index.html; + } + + location /api { + # rewrite ^/api(.*)$ $1 break; + proxy_pass https://api.antdv-pro.com; + client_max_body_size 100M; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + } +} diff --git a/web/dist/_app.config.js b/web/dist/_app.config.js new file mode 100644 index 0000000..4d51266 --- /dev/null +++ b/web/dist/_app.config.js @@ -0,0 +1 @@ +window.__PRODUCTION__N__ADMIN__CONF__={"VITE_GLOB_APP_TITLE":"N-admin"};Object.freeze(window.__PRODUCTION__N__ADMIN__CONF__);Object.defineProperty(window, "__PRODUCTION__N__ADMIN__CONF__", {configurable: false,writable: false,}); \ No newline at end of file diff --git a/web/dist/assets/401-C6PeSXhU.js b/web/dist/assets/401-C6PeSXhU.js new file mode 100644 index 0000000..e60fd3c --- /dev/null +++ b/web/dist/assets/401-C6PeSXhU.js @@ -0,0 +1 @@ +import{a9 as n,aa as e,a2 as c,k as u,G as _,ac as p}from"./vue-Dl1fzmsf.js";import{a6 as l,H as i}from"./antd-vtmm7CAy.js";const k={__name:"401",setup(m){const a=p();function o(){a.replace({path:"/login"})}return(f,t)=>{const s=i,r=l;return c(),n(r,{status:"404",title:"401","sub-title":"登录已过期,请重新登陆"},{extra:e(()=>[u(s,{type:"primary",onClick:o},{default:e(()=>t[0]||(t[0]=[_(" 跳转登录 ")])),_:1})]),_:1})}}};export{k as default}; diff --git a/web/dist/assets/403-B6htc2SF.js b/web/dist/assets/403-B6htc2SF.js new file mode 100644 index 0000000..6ee78fe --- /dev/null +++ b/web/dist/assets/403-B6htc2SF.js @@ -0,0 +1 @@ +import{ac as c,a2 as n,a9 as u,aa as a,k as p,G as _}from"./vue-Dl1fzmsf.js";import{H as i,a6 as l}from"./antd-vtmm7CAy.js";const x={__name:"403",setup(m){const e=c();function o(){e.replace({path:"/"})}return(f,t)=>{const s=i,r=l;return n(),u(r,{status:"403",title:"403","sub-title":"Sorry, you don't have access to this page."},{extra:a(()=>[p(s,{type:"primary",onClick:o},{default:a(()=>t[0]||(t[0]=[_(" Back to home ")])),_:1})]),_:1})}}};export{x as default}; diff --git a/web/dist/assets/404-BF6vYG99.js b/web/dist/assets/404-BF6vYG99.js new file mode 100644 index 0000000..822f15f --- /dev/null +++ b/web/dist/assets/404-BF6vYG99.js @@ -0,0 +1 @@ +import{ac as n,a2 as c,a9 as u,aa as e,k as p,G as _}from"./vue-Dl1fzmsf.js";import{H as i,a6 as l}from"./antd-vtmm7CAy.js";const x={__name:"404",setup(m){const a=n();function o(){a.replace({path:"/"})}return(d,t)=>{const s=i,r=l;return c(),u(r,{status:"404",title:"404","sub-title":"Sorry, the page you visited does not exist."},{extra:e(()=>[p(s,{type:"primary",onClick:o},{default:e(()=>t[0]||(t[0]=[_(" Back Home ")])),_:1})]),_:1})}}};export{x as default}; diff --git a/web/dist/assets/500-3ZsQY5rx.js b/web/dist/assets/500-3ZsQY5rx.js new file mode 100644 index 0000000..42aa46f --- /dev/null +++ b/web/dist/assets/500-3ZsQY5rx.js @@ -0,0 +1 @@ +import{ac as n,a2 as c,a9 as u,aa as e,k as p,G as _}from"./vue-Dl1fzmsf.js";import{H as i,a6 as l}from"./antd-vtmm7CAy.js";const d={__name:"500",setup(m){const a=n();function r(){a.replace({path:"/"})}return(f,t)=>{const o=i,s=l;return c(),u(s,{status:"500",title:"500","sub-title":"Sorry, the server is reporting an error."},{extra:e(()=>[p(o,{type:"primary",onClick:r},{default:e(()=>t[0]||(t[0]=[_(" Back Home ")])),_:1})]),_:1})}}};export{d as default}; diff --git a/web/dist/assets/active-chart-CPzqf4Dv.css b/web/dist/assets/active-chart-CPzqf4Dv.css new file mode 100644 index 0000000..c9153fa --- /dev/null +++ b/web/dist/assets/active-chart-CPzqf4Dv.css @@ -0,0 +1 @@ +.activeChart[data-v-c858f221]{position:relative}.activeChartGrid p[data-v-c858f221]{position:absolute;top:80px}.activeChartGrid p[data-v-c858f221]:last-child{top:115px}.activeChartLegend[data-v-c858f221]{position:relative;height:20px;margin-top:8px;font-size:0;line-height:20px}.activeChartLegend span[data-v-c858f221]{display:inline-block;width:33.33%;font-size:12px;text-align:center}.activeChartLegend span[data-v-c858f221]:first-child{text-align:left}.activeChartLegend span[data-v-c858f221]:last-child{text-align:right}.dashedLine[data-v-c858f221]{position:relative;top:-70px;left:-3px;height:1px}.dashedLine .line[data-v-c858f221]{position:absolute;top:0;left:0;width:100%;height:100%;background-image:linear-gradient(to right,transparent 50%,#e9e9e9 50%);background-size:6px}.dashedLine[data-v-c858f221]:last-child{top:-36px} diff --git a/web/dist/assets/active-chart-D-Rbify1.js b/web/dist/assets/active-chart-D-Rbify1.js new file mode 100644 index 0000000..ab17c7b --- /dev/null +++ b/web/dist/assets/active-chart-D-Rbify1.js @@ -0,0 +1 @@ +import{T as y}from"./index-sUMRYBhU.js";import{_ as D}from"./index-C-JhWVfG.js";import{aD as M}from"./antd-vtmm7CAy.js";import{f as u,o as C,j as A,a2 as T,a3 as k,k as B,a4 as t,ad as r,u as n}from"./vue-Dl1fzmsf.js";import"./vec2-4Cx-bOHg.js";const w={class:"activeChart"},F={style:{marginTop:"32px"}},L={class:"activeChartGrid"},q={class:"activeChartLegend"},N={__name:"active-chart",setup(S){const e=u([]),i=u([]);let o,l,c;function g(a){return a<10?`0${a}`:a}function d(){e.value=[],i.value=[];for(let a=0;a<24;a+=1)e.value.push({x:`${g(a)}:00`,y:Math.floor(Math.random()*200)+a*50}),i.value.push(Math.floor(Math.random()*200)+a*50);o==null||o.changeData(i.value)}function f(){l=requestAnimationFrame(()=>{c=window.setTimeout(()=>{d(),f()},1e3)})}const m=u();return C(()=>{o=new y(m.value,{height:84,data:i.value,smooth:!0,autoFit:!0}),o.render(),f(),d()}),A(()=>{clearTimeout(c),l&&cancelAnimationFrame(l),o==null||o.destroy(),o=void 0}),(a,s)=>{var v,p,h,_;const x=M;return T(),k("div",w,[B(x,{title:"目标评估",value:"有望达到预期"}),t("div",F,[t("div",{ref_key:"tinyAreaContainer",ref:m},null,512)]),t("div",null,[t("div",L,[t("p",null,r(((v=[...n(e)].sort()[n(e).length-1])==null?void 0:v.y)+200)+" 亿元",1),t("p",null,r((p=[...n(e)].sort()[Math.floor(n(e).length/2)])==null?void 0:p.y)+" 亿元",1)]),s[0]||(s[0]=t("div",{class:"dashedLine"},[t("div",{class:"line"})],-1)),s[1]||(s[1]=t("div",{class:"dashedLine"},[t("div",{class:"line"})],-1))]),t("div",q,[s[2]||(s[2]=t("span",null,"00:00",-1)),t("span",null,r((h=n(e)[Math.floor(n(e).length/2)])==null?void 0:h.x),1),t("span",null,r((_=n(e)[n(e).length-1])==null?void 0:_.x),1)])])}}},I=D(N,[["__scopeId","data-v-c858f221"]]);export{I as default}; diff --git a/web/dist/assets/admin-Nl2XFEZr.js b/web/dist/assets/admin-Nl2XFEZr.js new file mode 100644 index 0000000..5f95116 --- /dev/null +++ b/web/dist/assets/admin-Nl2XFEZr.js @@ -0,0 +1 @@ +import{_ as xe}from"./index-1DQ9lz7_.js";import{u as be,q as Ce,s as Ue,t as Ie,v as Se}from"./index-C-JhWVfG.js";import{g as Ae}from"./admin-x2Ewtnku.js";import{a7 as ze,R as Oe,a8 as Le,B as Be,a0 as Me,a1 as Pe,a9 as Re,H as Ve,S as je,aa as De,V as $e,ab as qe,t as Fe,M as Ne,D as He,a3 as Te,ac as Ee,ad as Ge,ae as Je,a2 as Ke,u as Qe,v as We,w as Xe,n as Ye}from"./antd-vtmm7CAy.js";import{s as U,r as L,f as I,c as J,w as Ze,o as ea,a8 as aa,a2 as c,a9 as h,aa as n,k as e,u as t,G as _,H as K,a3 as S,F as Q,aj as W,ad as X,ae as w,a4 as na}from"./vue-Dl1fzmsf.js";import"./context-Dawj80bg.js";const ta={key:0,flex:"","gap-2":""},la={key:1,flex:"","gap-2":""},oa=["onClick"],sa=["onClick"],_a={__name:"admin",setup(ua){const x=be(),B=U([{title:"#",dataIndex:"id"},{title:"用户名",dataIndex:"username"},{title:"昵称",dataIndex:"nickname"},{title:"手机号",dataIndex:"phone"},{title:"邮箱",dataIndex:"email"},{title:"角色",dataIndex:"roles"},{title:"创建时间",dataIndex:"createdAt"},{title:"更新时间",dataIndex:"updatedAt"},{title:"操作",dataIndex:"action"}]),g=U(!1),m=L({pageSize:10,pageSizeOptions:["10","20","30","40"],current:1,total:100,showSizeChanger:!0,showQuickJumper:!0,showTotal:o=>`总数据位:${o}`,onChange(o,a){m.pageSize=a,m.current=o,k()}}),$=U([]),M=U({}),d=L({id:null,username:"",nickname:"",email:"",phone:"",roles:[]}),s=L({id:0,username:"",nickname:"",password:"",changePassword:!1,email:"",phone:"",roles:[]}),q=()=>{Object.assign(s,{id:0,username:"",nickname:"",password:"",changePassword:!1,email:"",phone:"",roles:[]})},Y={username:[{required:!0,message:"请输入用户名"}],password:[{required:!0,message:"请设置密码"}],roles:[{required:!0,message:"请分配角色"}]},b=I(["large"]),Z=I([{key:"large",label:"默认",title:"默认"},{key:"middle",label:"中等",title:"中等"},{key:"small",label:"紧凑",title:"紧凑"}]);U([]);const v=I(!1),ee=J(()=>B.value.map(o=>o.dataIndex==="action"?{label:o.title,value:o.dataIndex,disabled:!0}:{label:o.title,value:o.dataIndex})),P=I(!1),f=J(()=>B.value.map(o=>o.dataIndex)),p=L({indeterminate:!1,checkAll:!0,checkList:f.value}),ae=()=>{v.value=!1};async function k(){if(!g.value){g.value=!0;try{const{data:o}=await Ae({page:m.current,pageSize:m.pageSize});M.value=o.list.reduce((i,u)=>(i[u.sid]=u.name,i),{});const{data:a}=await Ce({...d,page:m.current,pageSize:m.pageSize});$.value=a.list??[],m.total=a.total??0}catch(o){console.log(o)}finally{g.value=!1}}}async function R(){m.current=1,await k()}async function ne(){Object.assign(d,{id:null,username:"",nickname:"",password:"",changePassword:!1,email:"",phone:"",roles:[]}),await k()}function te(){v.value=!1,R()}async function le(o){q(),v.value=!0}async function oe(o){q(),Object.assign(s,o),v.value=!0}async function se(o){const a=x.loading("删除中......");try{(await Ue({id:o.id})).code===0&&await k(),x.success("删除成功")}catch(i){console.log(i)}finally{a()}}function ue(o){b.value[0]=o.key}function A(o){return B.value.filter(a=>!!o.includes(a.dataIndex))}const C=I(A(f.value));function ie(o){Object.assign(p,{checkList:o.target.checked?f.value:[],indeterminate:!0}),C.value=o.target.checked?A(f.value):C.value.filter(a=>a.dataIndex==="action")}Ze(()=>p.checkList,o=>{p.indeterminate=!!o.length&&o.length{k()});async function ce(){const o=x.loading("提交中......");try{let a={};s.id>0?a=await Ie({...s}):a=await Se({...s}),a.code===0&&(await k(),v.value=!1,s.id>0?x.success("更新成功"):x.success("创建成功"))}catch(a){console.log(a)}finally{o()}}return(o,a)=>{const i=Me,u=Pe,r=Re,y=Ve,V=je,F=De,N=$e,j=qe,D=Fe,pe=Ne,H=He,me=Te,_e=Ee,fe=Ge,ge=Je,T=aa("LockOutlined"),E=Ke,ve=Qe,ke=We,ye=Xe,he=Ye,we=xe;return c(),h(we,null,{default:n(()=>[e(j,{"mb-4":""},{default:n(()=>[e(N,{model:t(d)},{default:n(()=>[e(F,{gutter:[15,0]},{default:n(()=>[e(r,{span:8},{default:n(()=>[e(u,{name:"id",label:"用户ID"},{default:n(()=>[e(i,{value:t(d).id,"onUpdate:value":a[0]||(a[0]=l=>t(d).id=l)},null,8,["value"])]),_:1})]),_:1}),e(r,{span:8},{default:n(()=>[e(u,{name:"username",label:"用户名称"},{default:n(()=>[e(i,{value:t(d).username,"onUpdate:value":a[1]||(a[1]=l=>t(d).username=l)},null,8,["value"])]),_:1})]),_:1}),e(r,{span:8},{default:n(()=>[e(u,{name:"nickname",label:"用户名称"},{default:n(()=>[e(i,{value:t(d).nickname,"onUpdate:value":a[2]||(a[2]=l=>t(d).nickname=l)},null,8,["value"])]),_:1})]),_:1}),e(r,{span:8},{default:n(()=>[e(u,{name:"email",label:"邮箱"},{default:n(()=>[e(i,{value:t(d).email,"onUpdate:value":a[3]||(a[3]=l=>t(d).email=l)},null,8,["value"])]),_:1})]),_:1}),e(r,{span:8},{default:n(()=>[e(u,{name:"phone",label:"手机号"},{default:n(()=>[e(i,{value:t(d).phone,"onUpdate:value":a[4]||(a[4]=l=>t(d).phone=l)},null,8,["value"])]),_:1})]),_:1}),e(r,{span:8},{default:n(()=>[e(V,{flex:"","justify-end":"","w-full":""},{default:n(()=>[e(y,{loading:t(g),type:"primary",onClick:R},{default:n(()=>a[17]||(a[17]=[_(" 查询 ")])),_:1},8,["loading"]),e(y,{loading:t(g),onClick:ne},{default:n(()=>a[18]||(a[18]=[_(" 重置 ")])),_:1},8,["loading"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(j,{title:"用户列表"},{extra:n(()=>[e(V,{size:"middle"},{default:n(()=>[e(y,{type:"primary",onClick:le},{icon:n(()=>[e(t(ze))]),default:n(()=>[a[19]||(a[19]=_(" 新增 "))]),_:1}),e(D,{title:"刷新"},{default:n(()=>[e(t(Oe),{onClick:R})]),_:1}),e(D,{title:"密度"},{default:n(()=>[e(H,{trigger:"click"},{overlay:n(()=>[e(pe,{"selected-keys":t(b),"onUpdate:selectedKeys":a[5]||(a[5]=l=>K(b)?b.value=l:null),items:t(Z),onClick:ue},null,8,["selected-keys","items"])]),default:n(()=>[e(t(Le))]),_:1})]),_:1}),e(D,{title:"列设置"},{default:n(()=>[e(H,{open:t(P),"onUpdate:open":a[8]||(a[8]=l=>K(P)?P.value=l:null),trigger:"click"},{overlay:n(()=>[e(j,null,{title:n(()=>[e(me,{checked:t(p).checkAll,"onUpdate:checked":a[6]||(a[6]=l=>t(p).checkAll=l),indeterminate:t(p).indeterminate,onChange:ie},{default:n(()=>a[20]||(a[20]=[_(" 列选择 ")])),_:1},8,["checked","indeterminate"])]),extra:n(()=>[e(y,{type:"link",onClick:de},{default:n(()=>a[21]||(a[21]=[_(" 重置 ")])),_:1})]),default:n(()=>[e(_e,{value:t(p).checkList,"onUpdate:value":a[7]||(a[7]=l=>t(p).checkList=l),options:t(ee),style:{display:"flex","flex-direction":"column"},onChange:re},null,8,["value","options"])]),_:1})]),default:n(()=>[e(t(Be))]),_:1},8,["open"])]),_:1})]),_:1})]),default:n(()=>[e(ge,{loading:t(g),columns:t(C),"data-source":t($),pagination:t(m),size:t(b)[0]},{bodyCell:n(l=>{var z,G;return[((z=l==null?void 0:l.column)==null?void 0:z.dataIndex)==="roles"?(c(),S("div",ta,[(c(!0),S(Q,null,W(l.record.roles,O=>(c(),h(fe,{key:O},{default:n(()=>[_(X(t(M)[O]),1)]),_:2},1024))),128))])):w("",!0),((G=l==null?void 0:l.column)==null?void 0:G.dataIndex)==="action"?(c(),S("div",la,[na("a",{onClick:O=>oe(l==null?void 0:l.record)}," 编辑 ",8,oa),(l==null?void 0:l.record.id)>1?(c(),S("a",{key:0,"c-error":"",onClick:O=>se(l==null?void 0:l.record)}," 删除 ",8,sa)):w("",!0)])):w("",!0)]}),_:1},8,["loading","columns","data-source","pagination","size"])]),_:1}),e(he,{title:t(s).id>0?"编辑":"添加用户",width:500,open:t(v),"body-style":{paddingBottom:"80px"},"footer-style":{textAlign:"right"},onClose:te},{extra:n(()=>[e(V,null,{default:n(()=>[e(y,{onClick:ae},{default:n(()=>a[22]||(a[22]=[_("取消")])),_:1}),e(y,{type:"primary",onClick:ce},{default:n(()=>a[23]||(a[23]=[_("提交")])),_:1})]),_:1})]),default:n(()=>[e(N,{model:t(s),rules:Y,layout:"horizontal","label-col":{style:{width:"85px"}}},{default:n(()=>[e(F,{gutter:16},{default:n(()=>[e(r,{span:24},{default:n(()=>[e(u,{label:"用户名",name:"username"},{default:n(()=>[e(i,{value:t(s).username,"onUpdate:value":a[9]||(a[9]=l=>t(s).username=l),placeholder:"用户名"},null,8,["value"])]),_:1})]),_:1}),t(s).id?w("",!0):(c(),h(r,{key:0,span:24},{default:n(()=>[e(u,{label:"密码",name:"password"},{default:n(()=>[e(E,{value:t(s).password,"onUpdate:value":a[10]||(a[10]=l=>t(s).password=l),placeholder:"新密码"},{prefix:n(()=>[e(T,{class:"site-form-item-icon"})]),_:1},8,["value"])]),_:1})]),_:1})),e(r,{span:24},{default:n(()=>[e(u,{label:"昵称",name:"nickname"},{default:n(()=>[e(i,{value:t(s).nickname,"onUpdate:value":a[11]||(a[11]=l=>t(s).nickname=l),placeholder:"昵称"},null,8,["value"])]),_:1})]),_:1}),e(r,{span:24},{default:n(()=>[e(u,{label:"邮箱",name:"email"},{default:n(()=>[e(i,{value:t(s).email,"onUpdate:value":a[12]||(a[12]=l=>t(s).email=l),placeholder:"邮箱"},null,8,["value"])]),_:1})]),_:1}),e(r,{span:24},{default:n(()=>[e(u,{label:"手机号",name:"phone"},{default:n(()=>[e(i,{value:t(s).phone,"onUpdate:value":a[13]||(a[13]=l=>t(s).phone=l),placeholder:"手机号"},null,8,["value"])]),_:1})]),_:1}),e(r,{span:24},{default:n(()=>[e(u,{label:"分配角色",name:"roles"},{default:n(()=>[e(ke,{value:t(s).roles,"onUpdate:value":a[14]||(a[14]=l=>t(s).roles=l),mode:"tags",style:{width:"100%"},placeholder:"选择需要分配的角色"},{default:n(()=>[(c(!0),S(Q,null,W(t(M),(l,z)=>(c(),h(ve,{value:z},{default:n(()=>[_(X(l),1)]),_:2},1032,["value"]))),256))]),_:1},8,["value"])]),_:1})]),_:1}),t(s).id?(c(),h(r,{key:1,span:24},{default:n(()=>[e(u,{label:"设置新密码"},{default:n(()=>[e(ye,{checked:t(s).changePassword,"onUpdate:checked":a[15]||(a[15]=l=>t(s).changePassword=l)},null,8,["checked"])]),_:1}),t(s).changePassword?(c(),h(u,{key:0,label:"新密码",name:"password"},{default:n(()=>[e(E,{value:t(s).password,"onUpdate:value":a[16]||(a[16]=l=>t(s).password=l),placeholder:"新密码"},{prefix:n(()=>[e(T,{class:"site-form-item-icon"})]),_:1},8,["value"])]),_:1})):w("",!0)]),_:1})):w("",!0)]),_:1})]),_:1},8,["model"])]),_:1},8,["title","open"])]),_:1})}}};export{_a as default}; diff --git a/web/dist/assets/admin-x2Ewtnku.js b/web/dist/assets/admin-x2Ewtnku.js new file mode 100644 index 0000000..05e5a46 --- /dev/null +++ b/web/dist/assets/admin-x2Ewtnku.js @@ -0,0 +1 @@ +import{D as i,j as t,E as n,F as r}from"./index-C-JhWVfG.js";function s(e){return i("/v1/admin/roles",e)}function o(e){return t("/v1/admin/role",e)}function u(e){return n("/v1/admin/role",e)}function p(e){return r("/v1/admin/role",e)}function d(e){return i("/v1/admin/role/permissions",e)}function m(e){return n("/v1/admin/role/permission",e)}function A(e){return i("/v1/admin/apis",e)}function l(e){return t("/v1/admin/api",e)}function c(e){return n("/v1/admin/api",e)}function f(e){return r("/v1/admin/api",e)}export{A as a,d as b,l as c,f as d,p as e,u as f,s as g,o as h,m as i,c as u}; diff --git a/web/dist/assets/antd-vtmm7CAy.js b/web/dist/assets/antd-vtmm7CAy.js new file mode 100644 index 0000000..785605a --- /dev/null +++ b/web/dist/assets/antd-vtmm7CAy.js @@ -0,0 +1,444 @@ +import{F as et,i as Xt,C as WB,T as P1,d as ee,r as ht,o as We,a as ur,b as wr,w as de,g as _n,c as z,e as Ue,p as qe,f as ne,u as Ht,s as q,h as Ve,j as Xe,t as GB,k as i,l as Nl,m as Vn,n as NU,q as sn,v as Lr,x as pa,y as rt,z as Ne,A as lr,B as rO,D as r0,E as a0,G as va,H as UB,I as xo,J as xn,K as LU,L as l0,M as VU,N as RU,O as C1,P as WU,Q as GU}from"./vue-Dl1fzmsf.js";function Ro(e){"@babel/helpers - typeof";return Ro=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ro(e)}function UU(e,t){if(Ro(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Ro(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function qU(e){var t=UU(e,"string");return Ro(t)=="symbol"?t:t+""}function kU(e,t,n){return(t=qU(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function H(e){for(var t=1;ttypeof e=="function",YU=Array.isArray,QU=e=>typeof e=="string",ZU=e=>e!==null&&typeof e=="object",JU=/^on[^a-z]/,KU=e=>JU.test(e),o0=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},eq=/-(\w)/g,li=o0(e=>e.replace(eq,(t,n)=>n?n.toUpperCase():"")),tq=/\B([A-Z])/g,nq=o0(e=>e.replace(tq,"-$1").toLowerCase()),rq=o0(e=>e.charAt(0).toUpperCase()+e.slice(1)),aq=Object.prototype.hasOwnProperty,lO=(e,t)=>aq.call(e,t);function lq(e,t,n,r){const a=e[n];if(a!=null){const l=lO(a,"default");if(l&&r===void 0){const o=a.default;r=a.type!==Function&&XU(o)?o():o}a.type===Boolean&&(!lO(t,n)&&!l?r=!1:r===""&&(r=!0))}return r}function xa(e){return typeof e=="number"?`${e}px`:e}function bl(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return typeof e=="function"?e(t):e??n}function oq(e){let t;const n=new Promise(a=>{t=e(()=>{a(!0)})}),r=()=>{t==null||t()};return r.then=(a,l)=>n.then(a,l),r.promise=n,r}function re(){const e=[];for(let t=0;t0},e.prototype.connect_=function(){!S4||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),fq?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!S4||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,a=dq.some(function(l){return!!~r.indexOf(l)});a&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),kB=function(e,t){for(var n=0,r=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof Ll(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new Sq(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Ll(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new $q(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),YB=typeof WeakMap<"u"?new WeakMap:new qB,QB=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=pq.getInstance(),r=new wq(t,n,this);YB.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){QB.prototype[e]=function(){var t;return(t=YB.get(this))[e].apply(t,arguments)}});var ZB=function(){return typeof qc.ResizeObserver<"u"?qc.ResizeObserver:QB}();const $4=e=>e!=null&&e!=="",lt=(e,t)=>{const n=g({},e);return Object.keys(t).forEach(r=>{const a=n[r];if(a)a.type||a.default?a.default=t[r]:a.def?a.def(t[r]):n[r]={type:a,default:t[r]};else throw new Error(`not have ${r} prop`)}),n},JB=e=>{const t=Object.keys(e),n={},r={},a={};for(let l=0,o=t.length;l0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n={},r=/;(?![^(]*\))/g,a=/:(.+)/;return typeof e=="object"?e:(e.split(r).forEach(function(l){if(l){const o=l.split(a);if(o.length>1){const c=t?li(o[0].trim()):o[0].trim();n[c]=o[1].trim()}}}),n)},pl=(e,t)=>e[t]!==void 0,KB=Symbol("skipFlatten"),bt=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const n=Array.isArray(e)?e:[e],r=[];return n.forEach(a=>{Array.isArray(a)?r.push(...bt(a,t)):a&&a.type===et?a.key===KB?r.push(a):r.push(...bt(a.children,t)):a&&Xt(a)?t&&!z1(a)?r.push(a):t||r.push(a):$4(a)&&r.push(a)}),r},eN=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(Xt(e))return e.type===et?t==="default"?bt(e.children):[]:e.children&&e.children[t]?bt(e.children[t](n)):[];{const r=e.$slots[t]&&e.$slots[t](n);return bt(r)}},$n=e=>{var t;let n=((t=e==null?void 0:e.vnode)===null||t===void 0?void 0:t.el)||e&&(e.$el||e);for(;n&&!n.tagName;)n=n.nextSibling;return n},Cq=e=>{const t={};if(e.$&&e.$.vnode){const n=e.$.vnode.props||{};Object.keys(e.$props).forEach(r=>{const a=e.$props[r],l=nq(r);(a!==void 0||l in n)&&(t[r]=a)})}else if(Xt(e)&&typeof e.type=="object"){const n=e.props||{},r={};Object.keys(n).forEach(l=>{r[li(l)]=n[l]});const a=e.type.props||{};Object.keys(a).forEach(l=>{const o=lq(a,r,l,r[l]);(o!==void 0||l in r)&&(t[l]=o)})}return t},tN=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,a;if(e.$){const l=e[t];if(l!==void 0)return typeof l=="function"&&r?l(n):l;a=e.$slots[t],a=r&&a?a(n):a}else if(Xt(e)){const l=e.props&&e.props[t];if(l!==void 0&&e.props!==null)return typeof l=="function"&&r?l(n):l;e.type===et?a=e.children:e.children&&e.children[t]&&(a=e.children[t],a=r&&a?a(n):a)}return Array.isArray(a)&&(a=bt(a),a=a.length===1?a[0]:a,a=a.length===0?void 0:a),a};function iO(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,n={};return e.$?n=g(g({},n),e.$attrs):n=g(g({},n),e.props),JB(n)[t?"onEvents":"events"]}function xq(e){const n=((Xt(e)?e.props:e.$attrs)||{}).class||{};let r={};return typeof n=="string"?n.split(" ").forEach(a=>{r[a.trim()]=!0}):Array.isArray(n)?re(n).split(" ").forEach(a=>{r[a.trim()]=!0}):r=g(g({},r),n),r}function nN(e,t){let r=((Xt(e)?e.props:e.$attrs)||{}).style||{};return typeof r=="string"&&(r=Pq(r,t)),r}function zq(e){return e.length===1&&e[0].type===et}function z1(e){return e&&(e.type===WB||e.type===et&&e.children.length===0||e.type===P1&&e.children.trim()==="")}function Mq(e){return e&&e.type===P1}function Mt(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const t=[];return e.forEach(n=>{Array.isArray(n)?t.push(...n):(n==null?void 0:n.type)===et?t.push(...Mt(n.children)):t.push(n)}),t.filter(n=>!z1(n))}function po(e){if(e){const t=Mt(e);return t.length?t:void 0}else return e}function Wt(e){return Array.isArray(e)&&e.length===1&&(e=e[0]),e&&e.__v_isVNode&&typeof e.type!="symbol"}function At(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"default";var r,a;return(r=t[n])!==null&&r!==void 0?r:(a=e[n])===null||a===void 0?void 0:a.call(e)}const yr=ee({compatConfig:{MODE:3},name:"ResizeObserver",props:{disabled:Boolean,onResize:Function},emits:["resize"],setup(e,t){let{slots:n}=t;const r=ht({width:0,height:0,offsetHeight:0,offsetWidth:0});let a=null,l=null;const o=()=>{l&&(l.disconnect(),l=null)},c=s=>{const{onResize:f}=e,p=s[0].target,{width:v,height:b}=p.getBoundingClientRect(),{offsetWidth:m,offsetHeight:h}=p,y=Math.floor(v),S=Math.floor(b);if(r.width!==y||r.height!==S||r.offsetWidth!==m||r.offsetHeight!==h){const O={width:y,height:S,offsetWidth:m,offsetHeight:h};g(r,O),f&&Promise.resolve().then(()=>{f(g(g({},O),{offsetWidth:m,offsetHeight:h}),p)})}},u=_n(),d=()=>{const{disabled:s}=e;if(s){o();return}const f=$n(u);f!==a&&(o(),a=f),!l&&f&&(l=new ZB(c),l.observe(f))};return We(()=>{d()}),ur(()=>{d()}),wr(()=>{o()}),de(()=>e.disabled,()=>{d()},{flush:"post"}),()=>{var s;return(s=n.default)===null||s===void 0?void 0:s.call(n)[0]}}});let rN=e=>setTimeout(e,16),aN=e=>clearTimeout(e);typeof window<"u"&&"requestAnimationFrame"in window&&(rN=e=>window.requestAnimationFrame(e),aN=e=>window.cancelAnimationFrame(e));let cO=0;const i0=new Map;function lN(e){i0.delete(e)}function Re(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;cO+=1;const n=cO;function r(a){if(a===0)lN(n),e();else{const l=rN(()=>{r(a-1)});i0.set(n,l)}}return r(t),n}Re.cancel=e=>{const t=i0.get(e);return lN(t),aN(t)};const dn=function(){for(var e=arguments.length,t=new Array(e),n=0;n{const t=e;return t.install=function(n){n.component(t.displayName||t.name,e)},e};function La(){return{type:[Function,Array]}}function Ee(e){return{type:Object,default:e}}function $e(e){return{type:Boolean,default:e}}function ce(e){return{type:Function,default:e}}function wt(e,t){return{validator:()=>!0,default:e}}function gr(){return{validator:()=>!0}}function st(e){return{type:Array,default:e}}function Le(e){return{type:String,default:e}}function Ye(e,t){return e?{type:e,default:t}:wt(t)}let kt=!1;try{const e=Object.defineProperty({},"passive",{get(){kt=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch{}function wn(e,t,n,r){if(e&&e.addEventListener){let a=r;a===void 0&&kt&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(a={passive:!1}),e.addEventListener(t,n,a)}return{remove:()=>{e&&e.removeEventListener&&e.removeEventListener(t,n)}}}const c0="anticon",oN=Symbol("GlobalFormContextKey"),Tq=e=>{qe(oN,e)},_q=()=>Ue(oN,{validateMessages:z(()=>{})}),Eq=()=>({iconPrefixCls:String,getTargetContainer:{type:Function},getPopupContainer:{type:Function},prefixCls:String,getPrefixCls:{type:Function},renderEmpty:{type:Function},transformCellText:{type:Function},csp:Ee(),input:Ee(),autoInsertSpaceInButton:{type:Boolean,default:void 0},locale:Ee(),pageHeader:Ee(),componentSize:{type:String},componentDisabled:{type:Boolean,default:void 0},direction:{type:String,default:"ltr"},space:Ee(),virtual:{type:Boolean,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},form:Ee(),pagination:Ee(),theme:Ee(),select:Ee(),wave:Ee()}),u0=Symbol("configProvider"),iN={getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:z(()=>c0),getPopupContainer:z(()=>()=>document.body),direction:z(()=>"ltr")},s0=()=>Ue(u0,iN),Hq=e=>qe(u0,e),cN=Symbol("DisabledContextKey"),Rn=()=>Ue(cN,ne(void 0)),uN=e=>{const t=Rn();return qe(cN,z(()=>{var n;return(n=e.value)!==null&&n!==void 0?n:t.value})),e},sN={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages"},Aq={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},dN={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Xc={lang:g({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},Aq),timePickerLocale:g({},dN)},gn="${label} is not a valid ${type}",or={locale:"en",Pagination:sN,DatePicker:Xc,TimePicker:dN,Calendar:Xc,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:gn,method:gn,array:gn,object:gn,number:gn,date:gn,boolean:gn,integer:gn,float:gn,regexp:gn,email:gn,url:gn,hex:gn},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"}},d0=ee({compatConfig:{MODE:3},name:"LocaleReceiver",props:{componentName:String,defaultLocale:{type:[Object,Function]},children:{type:Function}},setup(e,t){let{slots:n}=t;const r=Ue("localeData",{}),a=z(()=>{const{componentName:o="global",defaultLocale:c}=e,u=c||or[o||"global"],{antLocale:d}=r,s=o&&d?d[o]:{};return g(g({},typeof u=="function"?u():u),s||{})}),l=z(()=>{const{antLocale:o}=r,c=o&&o.locale;return o&&o.exist&&!c?or.locale:c});return()=>{const o=e.children||n.default,{antLocale:c}=r;return o==null?void 0:o(a.value,l.value,c)}}});function Pr(e,t,n){const r=Ue("localeData",{});return[z(()=>{const{antLocale:l}=r,o=Ht(t)||or[e||"global"],c=e&&l?l[e]:{};return g(g(g({},typeof o=="function"?o():o),c||{}),Ht(n)||{})})]}function f0(e){for(var t=0,n,r=0,a=e.length;a>=4;++r,a-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}const uO="%";class Iq{constructor(t){this.cache=new Map,this.instanceId=t}get(t){return this.cache.get(Array.isArray(t)?t.join(uO):t)||null}update(t,n){const r=Array.isArray(t)?t.join(uO):t,a=this.cache.get(r),l=n(a);l===null?this.cache.delete(r):this.cache.set(r,l)}}const fN="data-token-hash",Ia="data-css-hash",yl="__cssinjs_instance__";function Wo(){const e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){const t=document.body.querySelectorAll(`style[${Ia}]`)||[],{firstChild:n}=document.head;Array.from(t).forEach(a=>{a[yl]=a[yl]||e,a[yl]===e&&document.head.insertBefore(a,n)});const r={};Array.from(document.querySelectorAll(`style[${Ia}]`)).forEach(a=>{var l;const o=a.getAttribute(Ia);r[o]?a[yl]===e&&((l=a.parentNode)===null||l===void 0||l.removeChild(a)):r[o]=!0})}return new Iq(e)}const pN=Symbol("StyleContextKey"),Dq=()=>{var e,t,n;const r=_n();let a;if(r&&r.appContext){const l=(n=(t=(e=r.appContext)===null||e===void 0?void 0:e.config)===null||t===void 0?void 0:t.globalProperties)===null||n===void 0?void 0:n.__ANTDV_CSSINJS_CACHE__;l?a=l:(a=Wo(),r.appContext.config.globalProperties&&(r.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__=a))}else a=Wo();return a},vN={cache:Wo(),defaultCache:!0,hashPriority:"low"},M1=()=>{const e=Dq();return Ue(pN,q(g(g({},vN),{cache:e})))},Fq=e=>{const t=M1(),n=q(g(g({},vN),{cache:Wo()}));return de([()=>Ht(e),t],()=>{const r=g({},t.value),a=Ht(e);Object.keys(a).forEach(o=>{const c=a[o];a[o]!==void 0&&(r[o]=c)});const{cache:l}=a;r.cache=r.cache||Wo(),r.defaultCache=!l&&t.value.defaultCache,n.value=r},{immediate:!0}),qe(pN,n),n},Bq=()=>({autoClear:$e(),mock:Le(),cache:Ee(),defaultCache:$e(),hashPriority:Le(),container:Ye(),ssrInline:$e(),transformers:st(),linters:st()});tn(ee({name:"AStyleProvider",inheritAttrs:!1,props:Bq(),setup(e,t){let{slots:n}=t;return Fq(e),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}));function mN(e,t,n,r){const a=M1(),l=q(""),o=q();Ve(()=>{l.value=[e,...t.value].join("%")});const c=u=>{a.value.cache.update(u,d=>{const[s=0,f]=d||[];return s-1===0?(r==null||r(f,!1),null):[s-1,f]})};return de(l,(u,d)=>{d&&c(d),a.value.cache.update(u,s=>{const[f=0,p]=s||[],b=p||n();return[f+1,b]}),o.value=a.value.cache.get(l.value)[1]},{immediate:!0}),Xe(()=>{c(l.value)}),o}function fn(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function la(e,t){return e&&e.contains?e.contains(t):!1}const sO="data-vc-order",Nq="vc-util-key",w4=new Map;function gN(){let{mark:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e?e.startsWith("data-")?e:`data-${e}`:Nq}function j1(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function Lq(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function hN(e){return Array.from((w4.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function bN(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!fn())return null;const{csp:n,prepend:r}=t,a=document.createElement("style");a.setAttribute(sO,Lq(r)),n!=null&&n.nonce&&(a.nonce=n==null?void 0:n.nonce),a.innerHTML=e;const l=j1(t),{firstChild:o}=l;if(r){if(r==="queue"){const c=hN(l).filter(u=>["prepend","prependQueue"].includes(u.getAttribute(sO)));if(c.length)return l.insertBefore(a,c[c.length-1].nextSibling),a}l.insertBefore(a,o)}else l.appendChild(a);return a}function yN(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=j1(t);return hN(n).find(r=>r.getAttribute(gN(t))===e)}function Yc(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=yN(e,t);n&&j1(t).removeChild(n)}function Vq(e,t){const n=w4.get(e);if(!n||!la(document,n)){const r=bN("",t),{parentNode:a}=r;w4.set(e,a),e.removeChild(r)}}function Go(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var r,a,l;const o=j1(n);Vq(o,n);const c=yN(t,n);if(c)return!((r=n.csp)===null||r===void 0)&&r.nonce&&c.nonce!==((a=n.csp)===null||a===void 0?void 0:a.nonce)&&(c.nonce=(l=n.csp)===null||l===void 0?void 0:l.nonce),c.innerHTML!==e&&(c.innerHTML=e),c;const u=bN(e,n);return u.setAttribute(gN(n),t),u}function Rq(e,t){if(e.length!==t.length)return!1;for(let n=0;n1&&arguments[1]!==void 0?arguments[1]:!1,r={map:this.cache};return t.forEach(a=>{var l;r?r=(l=r==null?void 0:r.map)===null||l===void 0?void 0:l.get(a):r=void 0}),r!=null&&r.value&&n&&(r.value[1]=this.cacheCallTimes++),r==null?void 0:r.value}get(t){var n;return(n=this.internalGet(t,!0))===null||n===void 0?void 0:n[0]}has(t){return!!this.internalGet(t)}set(t,n){if(!this.has(t)){if(this.size()+1>Vl.MAX_CACHE_SIZE+Vl.MAX_CACHE_OFFSET){const[a]=this.keys.reduce((l,o)=>{const[,c]=l;return this.internalGet(o)[1]{if(l===t.length-1)r.set(a,{value:[n,this.cacheCallTimes++]});else{const o=r.get(a);o?o.map||(o.map=new Map):r.set(a,{map:new Map}),r=r.get(a).map}})}deleteByPath(t,n){var r;const a=t.get(n[0]);if(n.length===1)return a.map?t.set(n[0],{map:a.map}):t.delete(n[0]),(r=a.value)===null||r===void 0?void 0:r[0];const l=this.deleteByPath(a.map,n.slice(1));return(!a.map||a.map.size===0)&&!a.value&&t.delete(n[0]),l}delete(t){if(this.has(t))return this.keys=this.keys.filter(n=>!Rq(n,t)),this.deleteByPath(this.cache,t)}}Vl.MAX_CACHE_SIZE=20;Vl.MAX_CACHE_OFFSET=5;let dO={};function Wq(e,t){}function Gq(e,t){}function ON(e,t,n){!t&&!dO[n]&&(e(!1,n),dO[n]=!0)}function p0(e,t){ON(Wq,e,t)}function Uq(e,t){ON(Gq,e,t)}function qq(){}let ir=qq,fO=0;class SN{constructor(t){this.derivatives=Array.isArray(t)?t:[t],this.id=fO,t.length===0&&ir(t.length>0),fO+=1}getDerivativeToken(t){return this.derivatives.reduce((n,r)=>r(t,n),void 0)}}const es=new Vl;function $N(e){const t=Array.isArray(e)?e:[e];return es.has(t)||es.set(t,new SN(t)),es.get(t)}const pO=new WeakMap;function Qc(e){let t=pO.get(e)||"";return t||(Object.keys(e).forEach(n=>{const r=e[n];t+=n,r instanceof SN?t+=r.id:r&&typeof r=="object"?t+=Qc(r):t+=r}),pO.set(e,t)),t}function kq(e,t){return f0(`${t}_${Qc(e)}`)}const zo=`random-${Date.now()}-${Math.random()}`.replace(/\./g,""),wN="_bAmBoO_";function Xq(e,t,n){var r,a;if(fn()){Go(e,zo);const l=document.createElement("div");l.style.position="fixed",l.style.left="0",l.style.top="0",t==null||t(l),document.body.appendChild(l);const o=n?n(l):(r=getComputedStyle(l).content)===null||r===void 0?void 0:r.includes(wN);return(a=l.parentNode)===null||a===void 0||a.removeChild(l),Yc(zo),o}return!1}let ts;function Yq(){return ts===void 0&&(ts=Xq(`@layer ${zo} { .${zo} { content: "${wN}"!important; } }`,e=>{e.className=zo})),ts}const vO={},Qq="css",za=new Map;function Zq(e){za.set(e,(za.get(e)||0)+1)}function Jq(e,t){typeof document<"u"&&document.querySelectorAll(`style[${fN}="${e}"]`).forEach(r=>{var a;r[yl]===t&&((a=r.parentNode)===null||a===void 0||a.removeChild(r))})}const Kq=0;function ek(e,t){za.set(e,(za.get(e)||0)-1);const n=Array.from(za.keys()),r=n.filter(a=>(za.get(a)||0)<=0);n.length-r.length>Kq&&r.forEach(a=>{Jq(a,t),za.delete(a)})}const tk=(e,t,n,r)=>{const a=n.getDerivativeToken(e);let l=g(g({},a),t);return r&&(l=r(l)),l};function nk(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ne({});const r=M1(),a=z(()=>g({},...t.value)),l=z(()=>Qc(a.value)),o=z(()=>Qc(n.value.override||vO));return mN("token",z(()=>[n.value.salt||"",e.value.id,l.value,o.value]),()=>{const{salt:u="",override:d=vO,formatToken:s,getComputedToken:f}=n.value,p=f?f(a.value,d,e.value):tk(a.value,d,e.value,s),v=kq(p,u);p._tokenKey=v,Zq(v);const b=`${Qq}-${f0(v)}`;return p._hashId=b,[p,b]},u=>{var d;ek(u[0]._tokenKey,(d=r.value)===null||d===void 0?void 0:d.cache.instanceId)})}var rk={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},PN="comm",CN="rule",xN="decl",ak="@import",lk="@keyframes",ok="@layer",zN=Math.abs,v0=String.fromCharCode;function MN(e){return e.trim()}function bc(e,t,n){return e.replace(t,n)}function ik(e,t,n){return e.indexOf(t,n)}function Uo(e,t){return e.charCodeAt(t)|0}function Rl(e,t,n){return e.slice(t,n)}function mr(e){return e.length}function ck(e){return e.length}function Vi(e,t){return t.push(e),e}var T1=1,Wl=1,jN=0,Wn=0,_t=0,to="";function m0(e,t,n,r,a,l,o,c){return{value:e,root:t,parent:n,type:r,props:a,children:l,line:T1,column:Wl,length:o,return:"",siblings:c}}function uk(){return _t}function sk(){return _t=Wn>0?Uo(to,--Wn):0,Wl--,_t===10&&(Wl=1,T1--),_t}function nr(){return _t=Wn2||qo(_t)>3?"":" "}function vk(e,t){for(;--t&&nr()&&!(_t<48||_t>102||_t>57&&_t<65||_t>70&&_t<97););return _1(e,yc()+(t<6&&ia()==32&&nr()==32))}function P4(e){for(;nr();)switch(_t){case e:return Wn;case 34:case 39:e!==34&&e!==39&&P4(_t);break;case 40:e===41&&P4(e);break;case 92:nr();break}return Wn}function mk(e,t){for(;nr()&&e+_t!==57;)if(e+_t===84&&ia()===47)break;return"/*"+_1(t,Wn-1)+"*"+v0(e===47?e:nr())}function gk(e){for(;!qo(ia());)nr();return _1(e,Wn)}function hk(e){return fk(Oc("",null,null,null,[""],e=dk(e),0,[0],e))}function Oc(e,t,n,r,a,l,o,c,u){for(var d=0,s=0,f=o,p=0,v=0,b=0,m=1,h=1,y=1,S=0,O="",w=a,$=l,x=r,P=O;h;)switch(b=S,S=nr()){case 40:if(b!=108&&Uo(P,f-1)==58){ik(P+=bc(ns(S),"&","&\f"),"&\f",zN(d?c[d-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:P+=ns(S);break;case 9:case 10:case 13:case 32:P+=pk(b);break;case 92:P+=vk(yc()-1,7);continue;case 47:switch(ia()){case 42:case 47:Vi(bk(mk(nr(),yc()),t,n,u),u),(qo(b||1)==5||qo(ia()||1)==5)&&mr(P)&&Rl(P,-1,void 0)!==" "&&(P+=" ");break;default:P+="/"}break;case 123*m:c[d++]=mr(P)*y;case 125*m:case 59:case 0:switch(S){case 0:case 125:h=0;case 59+s:y==-1&&(P=bc(P,/\f/g,"")),v>0&&(mr(P)-f||m===0&&b===47)&&Vi(v>32?gO(P+";",r,n,f-1,u):gO(bc(P," ","")+";",r,n,f-2,u),u);break;case 59:P+=";";default:if(Vi(x=mO(P,t,n,d,s,a,c,O,w=[],$=[],f,l),l),S===123)if(s===0)Oc(P,t,x,x,w,l,f,c,$);else switch(p===99&&Uo(P,3)===110?100:p){case 100:case 108:case 109:case 115:Oc(e,x,x,r&&Vi(mO(e,x,x,0,0,a,c,O,a,w=[],f,$),$),a,$,f,c,r?w:$);break;default:Oc(P,x,x,x,[""],$,0,c,$)}}d=s=v=0,m=y=1,O=P="",f=o;break;case 58:f=1+mr(P),v=b;default:if(m<1){if(S==123)--m;else if(S==125&&m++==0&&sk()==125)continue}switch(P+=v0(S),S*m){case 38:y=s>0?1:(P+="\f",-1);break;case 44:c[d++]=(mr(P)-1)*y,y=1;break;case 64:ia()===45&&(P+=ns(nr())),p=ia(),s=f=mr(O=P+=gk(yc())),S++;break;case 45:b===45&&mr(P)==2&&(m=0)}}return l}function mO(e,t,n,r,a,l,o,c,u,d,s,f){for(var p=a-1,v=a===0?l:[""],b=ck(v),m=0,h=0,y=0;m0?v[S]+" "+O:bc(O,/&\f/g,v[S])))&&(u[y++]=w);return m0(e,t,n,a===0?CN:c,u,d,s,f)}function bk(e,t,n,r){return m0(e,t,n,PN,v0(uk()),Rl(e,2,-2),0,r)}function gO(e,t,n,r,a){return m0(e,t,n,xN,Rl(e,0,r),Rl(e,r+1,-1),r,a)}function C4(e,t){for(var n="",r=0;r{const[l,o]=a.split(":");Da[l]=o});const r=document.querySelector(`style[${hO}]`);r&&(TN=!1,(e=r.parentNode)===null||e===void 0||e.removeChild(r)),document.body.removeChild(t)}}function $k(e){return Sk(),!!Da[e]}function wk(e){const t=Da[e];let n=null;if(t&&fn())if(TN)n=Ok;else{const r=document.querySelector(`style[${Ia}="${Da[e]}"]`);r?n=r.innerHTML:delete Da[e]}return[n,t]}const bO=fn(),Pk="_skip_check_",_N="_multi_value_";function yO(e){return C4(hk(e),yk).replace(/\{%%%\:[^;];}/g,";")}function Ck(e){return typeof e=="object"&&e&&(Pk in e||_N in e)}function xk(e,t,n){if(!t)return e;const r=`.${t}`,a=n==="low"?`:where(${r})`:r;return e.split(",").map(o=>{var c;const u=o.trim().split(/\s+/);let d=u[0]||"";const s=((c=d.match(/^\w+/))===null||c===void 0?void 0:c[0])||"";return d=`${s}${a}${d.slice(s.length)}`,[d,...u.slice(1)].join(" ")}).join(",")}const OO=new Set,x4=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{root:n,injectHash:r,parentSelectors:a}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]};const{hashId:l,layer:o,path:c,hashPriority:u,transformers:d=[],linters:s=[]}=t;let f="",p={};function v(h){const y=h.getName(l);if(!p[y]){const[S]=x4(h.style,t,{root:!1,parentSelectors:a});p[y]=`@keyframes ${h.getName(l)}${S}`}}function b(h){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return h.forEach(S=>{Array.isArray(S)?b(S,y):S&&y.push(S)}),y}if(b(Array.isArray(e)?e:[e]).forEach(h=>{const y=typeof h=="string"&&!n?{}:h;if(typeof y=="string")f+=`${y} +`;else if(y._keyframe)v(y);else{const S=d.reduce((O,w)=>{var $;return(($=w==null?void 0:w.visit)===null||$===void 0?void 0:$.call(w,O))||O},y);Object.keys(S).forEach(O=>{var w;const $=S[O];if(typeof $=="object"&&$&&(O!=="animationName"||!$._keyframe)&&!Ck($)){let x=!1,P=O.trim(),M=!1;(n||r)&&l?P.startsWith("@")?x=!0:P=xk(O,l,u):n&&!l&&(P==="&"||P==="")&&(P="",M=!0);const[j,T]=x4($,t,{root:M,injectHash:x,parentSelectors:[...a,P]});p=g(g({},p),T),f+=`${P}${j}`}else{let x=function(M,j){const T=M.replace(/[A-Z]/g,F=>`-${F.toLowerCase()}`);let E=j;!rk[M]&&typeof E=="number"&&E!==0&&(E=`${E}px`),M==="animationName"&&(j!=null&&j._keyframe)&&(v(j),E=j.getName(l)),f+=`${T}:${E};`};const P=(w=$==null?void 0:$.value)!==null&&w!==void 0?w:$;typeof $=="object"&&($!=null&&$[_N])&&Array.isArray(P)?P.forEach(M=>{x(O,M)}):x(O,P)}})}}),!n)f=`{${f}}`;else if(o&&Yq()){const h=o.split(",");f=`@layer ${h[h.length-1].trim()} {${f}}`,h.length>1&&(f=`@layer ${o}{%%%:%}${f}`)}return[f,p]};function zk(e,t){return f0(`${e.join("%")}${t}`)}function z4(e,t){const n=M1(),r=z(()=>e.value.token._tokenKey),a=z(()=>[r.value,...e.value.path]);let l=bO;return mN("style",a,()=>{const{path:o,hashId:c,layer:u,nonce:d,clientOnly:s,order:f=0}=e.value,p=a.value.join("|");if($k(p)){const[P,M]=wk(p);if(P)return[P,r.value,M,{},s,f]}const v=t(),{hashPriority:b,container:m,transformers:h,linters:y,cache:S}=n.value,[O,w]=x4(v,{hashId:c,hashPriority:b,layer:u,path:o.join("-"),transformers:h,linters:y}),$=yO(O),x=zk(a.value,$);if(l){const P={mark:Ia,prepend:"queue",attachTo:m,priority:f},M=typeof d=="function"?d():d;M&&(P.csp={nonce:M});const j=Go($,x,P);j[yl]=S.instanceId,j.setAttribute(fN,r.value),Object.keys(w).forEach(T=>{OO.has(T)||(OO.add(T),Go(yO(w[T]),`_effect-${T}`,{mark:Ia,prepend:"queue",attachTo:m}))})}return[$,r.value,x,w,s,f]},(o,c)=>{let[,,u]=o;(c||n.value.autoClear)&&bO&&Yc(u,{mark:Ia})}),o=>o}class Ze{constructor(t,n){this._keyframe=!0,this.name=t,this.style=n}getName(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return t?`${t}-${this.name}`:this.name}}function ll(e){return e.notSplit=!0,e}ll(["borderTop","borderBottom"]),ll(["borderTop"]),ll(["borderBottom"]),ll(["borderLeft","borderRight"]),ll(["borderLeft"]),ll(["borderRight"]);const Mk="4.2.6",ko=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];function Vt(e,t){jk(e)&&(e="100%");var n=Tk(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Ri(e){return Math.min(1,Math.max(0,e))}function jk(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Tk(e){return typeof e=="string"&&e.indexOf("%")!==-1}function EN(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Wi(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Ea(e){return e.length===1?"0"+e:String(e)}function _k(e,t,n){return{r:Vt(e,255)*255,g:Vt(t,255)*255,b:Vt(n,255)*255}}function SO(e,t,n){e=Vt(e,255),t=Vt(t,255),n=Vt(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),l=0,o=0,c=(r+a)/2;if(r===a)o=0,l=0;else{var u=r-a;switch(o=c>.5?u/(2-r-a):u/(r+a),r){case e:l=(t-n)/u+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Ek(e,t,n){var r,a,l;if(e=Vt(e,360),t=Vt(t,100),n=Vt(n,100),t===0)a=n,l=n,r=n;else{var o=n<.5?n*(1+t):n+t-n*t,c=2*n-o;r=rs(c,o,e+1/3),a=rs(c,o,e),l=rs(c,o,e-1/3)}return{r:r*255,g:a*255,b:l*255}}function M4(e,t,n){e=Vt(e,255),t=Vt(t,255),n=Vt(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),l=0,o=r,c=r-a,u=r===0?0:c/r;if(r===a)l=0;else{switch(r){case e:l=(t-n)/c+(t>16,g:(e&65280)>>8,b:e&255}}var T4={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function vl(e){var t={r:0,g:0,b:0},n=1,r=null,a=null,l=null,o=!1,c=!1;return typeof e=="string"&&(e=Nk(e)),typeof e=="object"&&(Mr(e.r)&&Mr(e.g)&&Mr(e.b)?(t=_k(e.r,e.g,e.b),o=!0,c=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Mr(e.h)&&Mr(e.s)&&Mr(e.v)?(r=Wi(e.s),a=Wi(e.v),t=Hk(e.h,r,a),o=!0,c="hsv"):Mr(e.h)&&Mr(e.s)&&Mr(e.l)&&(r=Wi(e.s),l=Wi(e.l),t=Ek(e.h,r,l),o=!0,c="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=EN(n),{ok:o,format:e.format||c,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var Fk="[-\\+]?\\d+%?",Bk="[-\\+]?\\d*\\.\\d+%?",ca="(?:".concat(Bk,")|(?:").concat(Fk,")"),as="[\\s|\\(]+(".concat(ca,")[,|\\s]+(").concat(ca,")[,|\\s]+(").concat(ca,")\\s*\\)?"),ls="[\\s|\\(]+(".concat(ca,")[,|\\s]+(").concat(ca,")[,|\\s]+(").concat(ca,")[,|\\s]+(").concat(ca,")\\s*\\)?"),Jn={CSS_UNIT:new RegExp(ca),rgb:new RegExp("rgb"+as),rgba:new RegExp("rgba"+ls),hsl:new RegExp("hsl"+as),hsla:new RegExp("hsla"+ls),hsv:new RegExp("hsv"+as),hsva:new RegExp("hsva"+ls),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Nk(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(T4[e])e=T4[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Jn.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Jn.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Jn.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Jn.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Jn.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Jn.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Jn.hex8.exec(e),n?{r:bn(n[1]),g:bn(n[2]),b:bn(n[3]),a:$O(n[4]),format:t?"name":"hex8"}:(n=Jn.hex6.exec(e),n?{r:bn(n[1]),g:bn(n[2]),b:bn(n[3]),format:t?"name":"hex"}:(n=Jn.hex4.exec(e),n?{r:bn(n[1]+n[1]),g:bn(n[2]+n[2]),b:bn(n[3]+n[3]),a:$O(n[4]+n[4]),format:t?"name":"hex8"}:(n=Jn.hex3.exec(e),n?{r:bn(n[1]+n[1]),g:bn(n[2]+n[2]),b:bn(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Mr(e){return!!Jn.CSS_UNIT.exec(String(e))}var vt=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=Dk(t)),this.originalInput=t;var a=vl(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:a.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=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,a,l=t.r/255,o=t.g/255,c=t.b/255;return l<=.03928?n=l/12.92:n=Math.pow((l+.055)/1.055,2.4),o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),c<=.03928?a=c/12.92:a=Math.pow((c+.055)/1.055,2.4),.2126*n+.7152*r+.0722*a},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=EN(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=M4(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=M4(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),a=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(a,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=SO(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=SO(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),a=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(a,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),j4(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Ak(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},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 t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Vt(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(Vt(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+j4(this.r,this.g,this.b,!1),n=0,r=Object.entries(T4);n=0,l=!n&&a&&(t.startsWith("hex")||t==="name");return l?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},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){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=Ri(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=Ri(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=Ri(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=Ri(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),a=new e(t).toRgb(),l=n/100,o={r:(a.r-r.r)*l+r.r,g:(a.g-r.g)*l+r.g,b:(a.b-r.b)*l+r.b,a:(a.a-r.a)*l+r.a};return new e(o)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),a=360/n,l=[this];for(r.h=(r.h-(a*t>>1)+720)%360;--t;)r.h=(r.h+a)%360,l.push(new e(r));return l},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,a=n.s,l=n.v,o=[],c=1/t;t--;)o.push(new e({h:r,s:a,v:l})),l=(l+c)%1;return o},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(),r=new e(t).toRgb(),a=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/a,g:(n.g*n.a+r.g*r.a*(1-n.a))/a,b:(n.b*n.a+r.b*r.a*(1-n.a))/a,a})},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(),r=n.h,a=[this],l=360/t,o=1;o=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-Gi*t:Math.round(e.h)+Gi*t:r=n?Math.round(e.h)+Gi*t:Math.round(e.h)-Gi*t,r<0?r+=360:r>=360&&(r-=360),r}function xO(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-wO*t:t===AN?r=e.s+wO:r=e.s+Lk*t,r>1&&(r=1),n&&t===HN&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function zO(e,t,n){var r;return n?r=e.v+Vk*t:r=e.v-Rk*t,r>1&&(r=1),Number(r.toFixed(2))}function Vr(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=vl(e),a=HN;a>0;a-=1){var l=PO(r),o=Ui(vl({h:CO(l,a,!0),s:xO(l,a,!0),v:zO(l,a,!0)}));n.push(o)}n.push(Ui(r));for(var c=1;c<=AN;c+=1){var u=PO(r),d=Ui(vl({h:CO(u,c),s:xO(u,c),v:zO(u,c)}));n.push(d)}return t.theme==="dark"?Wk.map(function(s){var f=s.index,p=s.opacity,v=Ui(Gk(vl(t.backgroundColor||"#141414"),vl(n[f]),p*100));return v}):n}var xl={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Mo={},os={};Object.keys(xl).forEach(function(e){Mo[e]=Vr(xl[e]),Mo[e].primary=Mo[e][5],os[e]=Vr(xl[e],{theme:"dark",backgroundColor:"#141414"}),os[e].primary=os[e][5]});var Uk=Mo.gold,qk=Mo.blue;const IN=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function kk(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const g0={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},E1=g(g({},g0),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, +'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', +'Noto Color Emoji'`,fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1});function DN(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:a,colorWarning:l,colorError:o,colorInfo:c,colorPrimary:u,colorBgBase:d,colorTextBase:s}=e,f=n(u),p=n(a),v=n(l),b=n(o),m=n(c),h=r(d,s);return g(g({},h),{colorPrimaryBg:f[1],colorPrimaryBgHover:f[2],colorPrimaryBorder:f[3],colorPrimaryBorderHover:f[4],colorPrimaryHover:f[5],colorPrimary:f[6],colorPrimaryActive:f[7],colorPrimaryTextHover:f[8],colorPrimaryText:f[9],colorPrimaryTextActive:f[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:b[1],colorErrorBgHover:b[2],colorErrorBorder:b[3],colorErrorBorderHover:b[4],colorErrorHover:b[5],colorError:b[6],colorErrorActive:b[7],colorErrorTextHover:b[8],colorErrorText:b[9],colorErrorTextActive:b[10],colorWarningBg:v[1],colorWarningBgHover:v[2],colorWarningBorder:v[3],colorWarningBorderHover:v[4],colorWarningHover:v[4],colorWarning:v[6],colorWarningActive:v[7],colorWarningTextHover:v[8],colorWarningText:v[9],colorWarningTextActive:v[10],colorInfoBg:m[1],colorInfoBgHover:m[2],colorInfoBorder:m[3],colorInfoBorderHover:m[4],colorInfoHover:m[4],colorInfo:m[6],colorInfoActive:m[7],colorInfoTextHover:m[8],colorInfoText:m[9],colorInfoTextActive:m[10],colorBgMask:new vt("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const Xk=e=>{let t=e,n=e,r=e,a=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?a=4:e>=8&&(a=6),{borderRadius:e>16?16:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:a}};function Yk(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:a}=e;return g({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:a+1},Xk(r))}const jr=(e,t)=>new vt(e).setAlpha(t).toRgbString(),vo=(e,t)=>new vt(e).darken(t).toHexString(),Qk=e=>{const t=Vr(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},Zk=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:jr(r,.88),colorTextSecondary:jr(r,.65),colorTextTertiary:jr(r,.45),colorTextQuaternary:jr(r,.25),colorFill:jr(r,.15),colorFillSecondary:jr(r,.06),colorFillTertiary:jr(r,.04),colorFillQuaternary:jr(r,.02),colorBgLayout:vo(n,4),colorBgContainer:vo(n,0),colorBgElevated:vo(n,0),colorBgSpotlight:jr(r,.85),colorBorder:vo(n,15),colorBorderSecondary:vo(n,6)}};function Jk(e){const t=new Array(10).fill(null).map((n,r)=>{const a=r-1,l=e*Math.pow(2.71828,a/5),o=r>1?Math.floor(l):Math.ceil(l);return Math.floor(o/2)*2});return t[1]=e,t.map(n=>{const r=n+8;return{size:n,lineHeight:r/n}})}const FN=e=>{const t=Jk(e),n=t.map(a=>a.size),r=t.map(a=>a.lineHeight);return{fontSizeSM:n[0],fontSize:n[1],fontSizeLG:n[2],fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:r[1],lineHeightLG:r[2],lineHeightSM:r[0],lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function H1(e){const t=Object.keys(g0).map(n=>{const r=Vr(e[n]);return new Array(10).fill(1).reduce((a,l,o)=>(a[`${n}-${o+1}`]=r[o],a),{})}).reduce((n,r)=>(n=g(g({},n),r),n),{});return g(g(g(g(g(g(g({},e),t),DN(e,{generateColorPalettes:Qk,generateNeutralColorPalettes:Zk})),FN(e.fontSize)),kk(e)),IN(e)),Yk(e))}function is(e){return e>=0&&e<=255}function qi(e,t){const{r:n,g:r,b:a,a:l}=new vt(e).toRgb();if(l<1)return e;const{r:o,g:c,b:u}=new vt(t).toRgb();for(let d=.01;d<=1;d+=.01){const s=Math.round((n-o*(1-d))/d),f=Math.round((r-c*(1-d))/d),p=Math.round((a-u*(1-d))/d);if(is(s)&&is(f)&&is(p))return new vt({r:s,g:f,b:p,a:Math.round(d*100)/100}).toRgbString()}return new vt({r:n,g:r,b:a,a:1}).toRgbString()}var Kk=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{delete r[v]});const a=g(g({},n),r),l=480,o=576,c=768,u=992,d=1200,s=1600,f=2e3;return g(g(g({},a),{colorLink:a.colorInfoText,colorLinkHover:a.colorInfoHover,colorLinkActive:a.colorInfoActive,colorFillContent:a.colorFillSecondary,colorFillContentHover:a.colorFill,colorFillAlter:a.colorFillQuaternary,colorBgContainerDisabled:a.colorFillTertiary,colorBorderBg:a.colorBgContainer,colorSplit:qi(a.colorBorderSecondary,a.colorBgContainer),colorTextPlaceholder:a.colorTextQuaternary,colorTextDisabled:a.colorTextQuaternary,colorTextHeading:a.colorText,colorTextLabel:a.colorTextSecondary,colorTextDescription:a.colorTextTertiary,colorTextLightSolid:a.colorWhite,colorHighlight:a.colorError,colorBgTextHover:a.colorFillSecondary,colorBgTextActive:a.colorFill,colorIcon:a.colorTextTertiary,colorIconHover:a.colorText,colorErrorOutline:qi(a.colorErrorBg,a.colorBgContainer),colorWarningOutline:qi(a.colorWarningBg,a.colorBgContainer),fontSizeIcon:a.fontSizeSM,lineWidth:a.lineWidth,controlOutlineWidth:a.lineWidth*2,controlInteractiveSize:a.controlHeight/2,controlItemBgHover:a.colorFillTertiary,controlItemBgActive:a.colorPrimaryBg,controlItemBgActiveHover:a.colorPrimaryBgHover,controlItemBgActiveDisabled:a.colorFill,controlTmpOutline:a.colorFillQuaternary,controlOutline:qi(a.colorPrimaryBg,a.colorBgContainer),lineType:a.lineType,borderRadius:a.borderRadius,borderRadiusXS:a.borderRadiusXS,borderRadiusSM:a.borderRadiusSM,borderRadiusLG:a.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:a.sizeXXS,paddingXS:a.sizeXS,paddingSM:a.sizeSM,padding:a.size,paddingMD:a.sizeMD,paddingLG:a.sizeLG,paddingXL:a.sizeXL,paddingContentHorizontalLG:a.sizeLG,paddingContentVerticalLG:a.sizeMS,paddingContentHorizontal:a.sizeMS,paddingContentVertical:a.sizeSM,paddingContentHorizontalSM:a.size,paddingContentVerticalSM:a.sizeXS,marginXXS:a.sizeXXS,marginXS:a.sizeXS,marginSM:a.sizeSM,margin:a.size,marginMD:a.sizeMD,marginLG:a.sizeLG,marginXL:a.sizeXL,marginXXL:a.sizeXXL,boxShadow:` + 0 1px 2px 0 rgba(0, 0, 0, 0.03), + 0 1px 6px -1px rgba(0, 0, 0, 0.02), + 0 2px 4px 0 rgba(0, 0, 0, 0.02) + `,boxShadowSecondary:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowTertiary:` + 0 1px 2px 0 rgba(0, 0, 0, 0.03), + 0 1px 6px -1px rgba(0, 0, 0, 0.02), + 0 2px 4px 0 rgba(0, 0, 0, 0.02) + `,screenXS:l,screenXSMin:l,screenXSMax:o-1,screenSM:o,screenSMMin:o,screenSMMax:c-1,screenMD:c,screenMDMin:c,screenMDMax:u-1,screenLG:u,screenLGMin:u,screenLGMax:d-1,screenXL:d,screenXLMin:d,screenXLMax:s-1,screenXXL:s,screenXXLMin:s,screenXXLMax:f-1,screenXXXL:f,screenXXXLMin:f,boxShadowPopoverArrow:"3px 3px 7px rgba(0, 0, 0, 0.1)",boxShadowCard:` + 0 1px 2px -2px ${new vt("rgba(0, 0, 0, 0.16)").toRgbString()}, + 0 3px 6px 0 ${new vt("rgba(0, 0, 0, 0.12)").toRgbString()}, + 0 5px 12px 4px ${new vt("rgba(0, 0, 0, 0.09)").toRgbString()} + `,boxShadowDrawerRight:` + -6px 0 16px 0 rgba(0, 0, 0, 0.08), + -3px 0 6px -4px rgba(0, 0, 0, 0.12), + -9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerLeft:` + 6px 0 16px 0 rgba(0, 0, 0, 0.08), + 3px 0 6px -4px rgba(0, 0, 0, 0.12), + 9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerUp:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerDown:` + 0 -6px 16px 0 rgba(0, 0, 0, 0.08), + 0 -3px 6px -4px rgba(0, 0, 0, 0.12), + 0 -9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}const h0=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),b0=(e,t,n,r,a)=>{const l=e/2,o=0,c=l,u=n*1/Math.sqrt(2),d=l-n*(1-1/Math.sqrt(2)),s=l-t*(1/Math.sqrt(2)),f=n*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),p=2*l-s,v=f,b=2*l-u,m=d,h=2*l-o,y=c,S=l*Math.sqrt(2)+n*(Math.sqrt(2)-2),O=n*(Math.sqrt(2)-1);return{pointerEvents:"none",width:e,height:e,overflow:"hidden","&::after":{content:'""',position:"absolute",width:S,height:S,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${t}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:a,zIndex:0,background:"transparent"},"&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:e,height:e/2,background:r,clipPath:{_multi_value_:!0,value:[`polygon(${O}px 100%, 50% ${O}px, ${2*l-O}px 100%, ${O}px 100%)`,`path('M ${o} ${c} A ${n} ${n} 0 0 0 ${u} ${d} L ${s} ${f} A ${t} ${t} 0 0 1 ${p} ${v} L ${b} ${m} A ${n} ${n} 0 0 0 ${h} ${y} Z')`]},content:'""'}}};function BN(e,t){return ko.reduce((n,r)=>{const a=e[`${r}-1`],l=e[`${r}-3`],o=e[`${r}-6`],c=e[`${r}-7`];return g(g({},n),t(r,{lightColor:a,lightBorderColor:l,darkColor:o,textColor:c}))},{})}const zn={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},tt=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),oi=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),cr=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),tX=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),nX=(e,t)=>{const{fontFamily:n,fontSize:r}=e,a=`[class^="${t}"], [class*=" ${t}"]`;return{[a]:{fontFamily:n,fontSize:r,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[a]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},Rr=e=>({outline:`${e.lineWidthBold}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Wr=e=>({"&:focus-visible":g({},Rr(e))});function Je(e,t,n){return r=>{const a=z(()=>r==null?void 0:r.value),[l,o,c]=kr(),{getPrefixCls:u,iconPrefixCls:d}=s0(),s=z(()=>u()),f=z(()=>({theme:l.value,token:o.value,hashId:c.value,path:["Shared",s.value]}));z4(f,()=>[{"&":tX(o.value)}]);const p=z(()=>({theme:l.value,token:o.value,hashId:c.value,path:[e,a.value,d.value]}));return[z4(p,()=>{const{token:v,flush:b}=aX(o.value),m=typeof n=="function"?n(v):n,h=g(g({},m),o.value[e]),y=`.${a.value}`,S=Ge(v,{componentCls:y,prefixCls:a.value,iconCls:`.${d.value}`,antCls:`.${s.value}`},h),O=t(S,{hashId:c.value,prefixCls:a.value,rootPrefixCls:s.value,iconPrefixCls:d.value,overrideComponentToken:o.value[e]});return b(e,h),[nX(o.value,a.value),O]}),c]}}const NN=typeof CSSINJS_STATISTIC<"u";let _4=!0;function Ge(){for(var e=arguments.length,t=new Array(e),n=0;n{Object.keys(a).forEach(o=>{Object.defineProperty(r,o,{configurable:!0,enumerable:!0,get:()=>a[o]})})}),_4=!0,r}function rX(){}function aX(e){let t,n=e,r=rX;return NN&&(t=new Set,n=new Proxy(e,{get(a,l){return _4&&t.add(l),a[l]}}),r=(a,l)=>{Array.from(t)}),{token:n,keys:t,flush:r}}const lX=$N(H1),Zc={token:E1,hashed:!0},LN=Symbol("DesignTokenContext"),E4=q(),oX=e=>{qe(LN,e),de(e,()=>{E4.value=Ht(e),GB(E4)},{immediate:!0,deep:!0})},iX=ee({props:{value:Ee()},setup(e,t){let{slots:n}=t;return oX(z(()=>e.value)),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}});function kr(){const e=Ue(LN,z(()=>E4.value||Zc)),t=z(()=>`${Mk}-${e.value.hashed||""}`),n=z(()=>e.value.theme||lX),r=nk(n,z(()=>[E1,e.value.token]),z(()=>({salt:t.value,override:g({override:e.value.token},e.value.components),formatToken:eX})));return[n,z(()=>r.value[0]),z(()=>e.value.hashed?r.value[1]:"")]}const y0=ee({compatConfig:{MODE:3},setup(){const[,e]=kr(),t=z(()=>new vt(e.value.colorBgBase).toHsl().l<.5?{opacity:.65}:{});return()=>i("svg",{style:t.value,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},[i("g",{fill:"none","fill-rule":"evenodd"},[i("g",{transform:"translate(24 31.67)"},[i("ellipse",{"fill-opacity":".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"},null),i("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"},null),i("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"},null),i("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"},null),i("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"},null)]),i("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"},null),i("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},[i("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"},null),i("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"},null)])])])}});y0.PRESENTED_IMAGE_DEFAULT=!0;const VN=ee({compatConfig:{MODE:3},setup(){const[,e]=kr(),t=z(()=>{const{colorFill:n,colorFillTertiary:r,colorFillQuaternary:a,colorBgContainer:l}=e.value;return{borderColor:new vt(n).onBackground(l).toHexString(),shadowColor:new vt(r).onBackground(l).toHexString(),contentColor:new vt(a).onBackground(l).toHexString()}});return()=>i("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},[i("g",{transform:"translate(0 1)",fill:"none","fill-rule":"evenodd"},[i("ellipse",{fill:t.value.shadowColor,cx:"32",cy:"33",rx:"32",ry:"7"},null),i("g",{"fill-rule":"nonzero",stroke:t.value.borderColor},[i("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"},null),i("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:t.value.contentColor},null)])])])}});VN.PRESENTED_IMAGE_SIMPLE=!0;const cX=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:a,fontSize:l,lineHeight:o}=e;return{[t]:{marginInline:r,fontSize:l,lineHeight:o,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{height:"100%",margin:"auto"}},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:a,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},uX=Je("Empty",e=>{const{componentCls:t,controlHeightLG:n}=e,r=Ge(e,{emptyImgCls:`${t}-img`,emptyImgHeight:n*2.5,emptyImgHeightMD:n,emptyImgHeightSM:n*.875});return[cX(r)]});var sX=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a({prefixCls:String,imageStyle:Ee(),image:wt(),description:wt()}),O0=ee({name:"AEmpty",compatConfig:{MODE:3},inheritAttrs:!1,props:dX(),setup(e,t){let{slots:n={},attrs:r}=t;const{direction:a,prefixCls:l}=je("empty",e),[o,c]=uX(l);return()=>{var u,d;const s=l.value,f=g(g({},e),r),{image:p=((u=n.image)===null||u===void 0?void 0:u.call(n))||Nl(y0),description:v=((d=n.description)===null||d===void 0?void 0:d.call(n))||void 0,imageStyle:b,class:m=""}=f,h=sX(f,["image","description","imageStyle","class"]),y=typeof p=="function"?p():p,S=typeof y=="object"&&"type"in y&&y.type.PRESENTED_IMAGE_SIMPLE;return o(i(d0,{componentName:"Empty",children:O=>{const w=typeof v<"u"?v:O.description,$=typeof w=="string"?w:"empty";let x=null;return typeof y=="string"?x=i("img",{alt:$,src:y},null):x=y,i("div",H({class:re(s,m,c.value,{[`${s}-normal`]:S,[`${s}-rtl`]:a.value==="rtl"})},h),[i("div",{class:`${s}-image`,style:b},[x]),w&&i("p",{class:`${s}-description`},[w]),n.default&&i("div",{class:`${s}-footer`},[Mt(n.default())])])}},null))}}});O0.PRESENTED_IMAGE_DEFAULT=()=>Nl(y0);O0.PRESENTED_IMAGE_SIMPLE=()=>Nl(VN);const Ma=tn(O0),S0=e=>{const{prefixCls:t}=je("empty",e);return(r=>{switch(r){case"Table":case"List":return i(Ma,{image:Ma.PRESENTED_IMAGE_SIMPLE},null);case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return i(Ma,{image:Ma.PRESENTED_IMAGE_SIMPLE,class:`${t.value}-small`},null);default:return i(Ma,null,null)}})(e.componentName)};function fX(e){return i(S0,{componentName:e},null)}const RN=Symbol("SizeContextKey"),WN=()=>Ue(RN,ne(void 0)),GN=e=>{const t=WN();return qe(RN,z(()=>e.value||t.value)),e},je=(e,t)=>{const n=WN(),r=Rn(),a=Ue(u0,g(g({},iN),{renderEmpty:P=>Nl(S0,{componentName:P})})),l=z(()=>a.getPrefixCls(e,t.prefixCls)),o=z(()=>{var P,M;return(P=t.direction)!==null&&P!==void 0?P:(M=a.direction)===null||M===void 0?void 0:M.value}),c=z(()=>{var P;return(P=t.iconPrefixCls)!==null&&P!==void 0?P:a.iconPrefixCls.value}),u=z(()=>a.getPrefixCls()),d=z(()=>{var P;return(P=a.autoInsertSpaceInButton)===null||P===void 0?void 0:P.value}),s=a.renderEmpty,f=a.space,p=a.pageHeader,v=a.form,b=z(()=>{var P,M;return(P=t.getTargetContainer)!==null&&P!==void 0?P:(M=a.getTargetContainer)===null||M===void 0?void 0:M.value}),m=z(()=>{var P,M,j;return(M=(P=t.getContainer)!==null&&P!==void 0?P:t.getPopupContainer)!==null&&M!==void 0?M:(j=a.getPopupContainer)===null||j===void 0?void 0:j.value}),h=z(()=>{var P,M;return(P=t.dropdownMatchSelectWidth)!==null&&P!==void 0?P:(M=a.dropdownMatchSelectWidth)===null||M===void 0?void 0:M.value}),y=z(()=>{var P;return(t.virtual===void 0?((P=a.virtual)===null||P===void 0?void 0:P.value)!==!1:t.virtual!==!1)&&h.value!==!1}),S=z(()=>t.size||n.value),O=z(()=>{var P,M,j;return(P=t.autocomplete)!==null&&P!==void 0?P:(j=(M=a.input)===null||M===void 0?void 0:M.value)===null||j===void 0?void 0:j.autocomplete}),w=z(()=>{var P;return(P=t.disabled)!==null&&P!==void 0?P:r.value}),$=z(()=>{var P;return(P=t.csp)!==null&&P!==void 0?P:a.csp}),x=z(()=>{var P,M;return(P=t.wave)!==null&&P!==void 0?P:(M=a.wave)===null||M===void 0?void 0:M.value});return{configProvider:a,prefixCls:l,direction:o,size:S,getTargetContainer:b,getPopupContainer:m,space:f,pageHeader:p,form:v,autoInsertSpaceInButton:d,renderEmpty:s,virtual:y,dropdownMatchSelectWidth:h,rootPrefixCls:u,getPrefixCls:a.getPrefixCls,autocomplete:O,csp:$,iconPrefixCls:c,disabled:w,select:a.select,wave:x}};function at(e,t){const n=g({},e);for(let r=0;rt||l>e&&o=t&&c>=n?l-e-r:o>t&&cn?o-t+a:0}var TO=function(e,t){var n=window,r=t.scrollMode,a=t.block,l=t.inline,o=t.boundary,c=t.skipOverflowHiddenElements,u=typeof o=="function"?o:function(ye){return ye!==o};if(!MO(e))throw new TypeError("Invalid target");for(var d,s,f=document.scrollingElement||document.documentElement,p=[],v=e;MO(v)&&u(v);){if((v=(s=(d=v).parentElement)==null?d.getRootNode().host||null:s)===f){p.push(v);break}v!=null&&v===document.body&&cs(v)&&!cs(document.documentElement)||v!=null&&cs(v,c)&&p.push(v)}for(var b=n.visualViewport?n.visualViewport.width:innerWidth,m=n.visualViewport?n.visualViewport.height:innerHeight,h=window.scrollX||pageXOffset,y=window.scrollY||pageYOffset,S=e.getBoundingClientRect(),O=S.height,w=S.width,$=S.top,x=S.right,P=S.bottom,M=S.left,j=a==="start"||a==="nearest"?$:a==="end"?P:$+O/2,T=l==="center"?M+w/2:l==="end"?x:M,E=[],F=0;F=0&&M>=0&&P<=m&&x<=b&&$>=D&&P<=I&&M>=B&&x<=V)return E;var R=getComputedStyle(A),L=parseInt(R.borderLeftWidth,10),U=parseInt(R.borderTopWidth,10),Y=parseInt(R.borderRightWidth,10),k=parseInt(R.borderBottomWidth,10),Z=0,K=0,te="offsetWidth"in A?A.offsetWidth-A.clientWidth-L-Y:0,J="offsetHeight"in A?A.offsetHeight-A.clientHeight-U-k:0,X="offsetWidth"in A?A.offsetWidth===0?0:N/A.offsetWidth:0,Q="offsetHeight"in A?A.offsetHeight===0?0:_/A.offsetHeight:0;if(f===A)Z=a==="start"?j:a==="end"?j-m:a==="nearest"?ki(y,y+m,m,U,k,y+j,y+j+O,O):j-m/2,K=l==="start"?T:l==="center"?T-b/2:l==="end"?T-b:ki(h,h+b,b,L,Y,h+T,h+T+w,w),Z=Math.max(0,Z+y),K=Math.max(0,K+h);else{Z=a==="start"?j-D-U:a==="end"?j-I+k+J:a==="nearest"?ki(D,I,_,U,k+J,j,j+O,O):j-(D+_/2)+J/2,K=l==="start"?T-B-L:l==="center"?T-(B+N/2)+te/2:l==="end"?T-V+Y+te:ki(B,V,N,L,Y+te,T,T+w,w);var oe=A.scrollLeft,ue=A.scrollTop;j+=ue-(Z=Math.max(0,Math.min(ue+Z/Q,A.scrollHeight-_/Q+J))),T+=oe-(K=Math.max(0,Math.min(oe+K/X,A.scrollWidth-N/X+te)))}E.push({el:A,top:Z,left:K})}return E};function UN(e){return e===Object(e)&&Object.keys(e).length!==0}function pX(e,t){t===void 0&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach(function(r){var a=r.el,l=r.top,o=r.left;a.scroll&&n?a.scroll({top:l,left:o,behavior:t}):(a.scrollTop=l,a.scrollLeft=o)})}function vX(e){return e===!1?{block:"end",inline:"nearest"}:UN(e)?e:{block:"start",inline:"nearest"}}function mX(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(UN(t)&&typeof t.behavior=="function")return t.behavior(n?TO(e,t):[]);if(n){var r=vX(t);return pX(TO(e,r),r.behavior)}}function gX(e,t,n,r){const a=n-t;return e/=r/2,e<1?a/2*e*e*e+t:a/2*((e-=2)*e*e+2)+t}function H4(e){return e!=null&&e===e.window}function hX(e,t){var n,r;if(typeof window>"u")return 0;const a="scrollTop";let l=0;return H4(e)?l=e.scrollY:e instanceof Document?l=e.documentElement[a]:(e instanceof HTMLElement||e)&&(l=e[a]),e&&!H4(e)&&typeof l!="number"&&(l=(r=((n=e.ownerDocument)!==null&&n!==void 0?n:e).documentElement)===null||r===void 0?void 0:r[a]),l}function bX(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:r,duration:a=450}=t,l=n(),o=hX(l),c=Date.now(),u=()=>{const s=Date.now()-c,f=gX(s>a?a:s,o,e,a);H4(l)?l.scrollTo(window.scrollX,f):l instanceof Document?l.documentElement.scrollTop=f:l.scrollTop=f,s=0||(a[n]=e[n]);return a}function _O(e){return((t=e)!=null&&typeof t=="object"&&Array.isArray(t)===!1)==1&&Object.prototype.toString.call(e)==="[object Object]";var t}var YN=Object.prototype,QN=YN.toString,OX=YN.hasOwnProperty,ZN=/^\s*function (\w+)/;function EO(e){var t,n=(t=e==null?void 0:e.type)!==null&&t!==void 0?t:e;if(n){var r=n.toString().match(ZN);return r?r[1]:""}return""}var Va=function(e){var t,n;return _O(e)!==!1&&typeof(t=e.constructor)=="function"&&_O(n=t.prototype)!==!1&&n.hasOwnProperty("isPrototypeOf")!==!1},SX=function(e){return e},Zt=SX,Xo=function(e,t){return OX.call(e,t)},$X=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e},Gl=Array.isArray||function(e){return QN.call(e)==="[object Array]"},Ul=function(e){return QN.call(e)==="[object Function]"},Jc=function(e){return Va(e)&&Xo(e,"_vueTypes_name")},JN=function(e){return Va(e)&&(Xo(e,"type")||["_vueTypes_name","validator","default","required"].some(function(t){return Xo(e,t)}))};function $0(e,t){return Object.defineProperty(e.bind(t),"__original",{value:e})}function Xa(e,t,n){var r;n===void 0&&(n=!1);var a=!0,l="";r=Va(e)?e:{type:e};var o=Jc(r)?r._vueTypes_name+" - ":"";if(JN(r)&&r.type!==null){if(r.type===void 0||r.type===!0||!r.required&&t===void 0)return a;Gl(r.type)?(a=r.type.some(function(f){return Xa(f,t,!0)===!0}),l=r.type.map(function(f){return EO(f)}).join(" or ")):a=(l=EO(r))==="Array"?Gl(t):l==="Object"?Va(t):l==="String"||l==="Number"||l==="Boolean"||l==="Function"?function(f){if(f==null)return"";var p=f.constructor.toString().match(ZN);return p?p[1]:""}(t)===l:t instanceof r.type}if(!a){var c=o+'value "'+t+'" should be of type "'+l+'"';return n===!1?(Zt(c),!1):c}if(Xo(r,"validator")&&Ul(r.validator)){var u=Zt,d=[];if(Zt=function(f){d.push(f)},a=r.validator(t),Zt=u,!a){var s=(d.length>1?"* ":"")+d.join(` +* `);return d.length=0,n===!1?(Zt(s),a):s}}return a}function Mn(e,t){var n=Object.defineProperties(t,{_vueTypes_name:{value:e,writable:!0},isRequired:{get:function(){return this.required=!0,this}},def:{value:function(a){return a!==void 0||this.default?Ul(a)||Xa(this,a,!0)===!0?(this.default=Gl(a)?function(){return[].concat(a)}:Va(a)?function(){return Object.assign({},a)}:a,this):(Zt(this._vueTypes_name+' - invalid default value: "'+a+'"'),this):this}}}),r=n.validator;return Ul(r)&&(n.validator=$0(r,n)),n}function Or(e,t){var n=Mn(e,t);return Object.defineProperty(n,"validate",{value:function(r){return Ul(this.validator)&&Zt(this._vueTypes_name+` - calling .validate() will overwrite the current custom validator function. Validator info: +`+JSON.stringify(this)),this.validator=$0(r,this),this}})}function HO(e,t,n){var r,a,l=(r=t,a={},Object.getOwnPropertyNames(r).forEach(function(f){a[f]=Object.getOwnPropertyDescriptor(r,f)}),Object.defineProperties({},a));if(l._vueTypes_name=e,!Va(n))return l;var o,c,u=n.validator,d=XN(n,["validator"]);if(Ul(u)){var s=l.validator;s&&(s=(c=(o=s).__original)!==null&&c!==void 0?c:o),l.validator=$0(s?function(f){return s.call(this,f)&&u.call(this,f)}:u,l)}return Object.assign(l,d)}function A1(e){return e.replace(/^(?!\s*$)/gm," ")}var wX=function(){return Or("any",{})},PX=function(){return Or("function",{type:Function})},CX=function(){return Or("boolean",{type:Boolean})},xX=function(){return Or("string",{type:String})},zX=function(){return Or("number",{type:Number})},MX=function(){return Or("array",{type:Array})},jX=function(){return Or("object",{type:Object})},TX=function(){return Mn("integer",{type:Number,validator:function(e){return $X(e)}})},_X=function(){return Mn("symbol",{validator:function(e){return typeof e=="symbol"}})};function EX(e,t){if(t===void 0&&(t="custom validation failed"),typeof e!="function")throw new TypeError("[VueTypes error]: You must provide a function as argument");return Mn(e.name||"<>",{validator:function(n){var r=e(n);return r||Zt(this._vueTypes_name+" - "+t),r}})}function HX(e){if(!Gl(e))throw new TypeError("[VueTypes error]: You must provide an array as argument.");var t='oneOf - value should be one of "'+e.join('", "')+'".',n=e.reduce(function(r,a){if(a!=null){var l=a.constructor;r.indexOf(l)===-1&&r.push(l)}return r},[]);return Mn("oneOf",{type:n.length>0?n:void 0,validator:function(r){var a=e.indexOf(r)!==-1;return a||Zt(t),a}})}function AX(e){if(!Gl(e))throw new TypeError("[VueTypes error]: You must provide an array as argument");for(var t=!1,n=[],r=0;r0&&n.some(function(u){return o.indexOf(u)===-1})){var c=n.filter(function(u){return o.indexOf(u)===-1});return Zt(c.length===1?'shape - required property "'+c[0]+'" is not defined.':'shape - required properties "'+c.join('", "')+'" are not defined.'),!1}return o.every(function(u){if(t.indexOf(u)===-1)return l._vueTypes_isLoose===!0||(Zt('shape - shape definition does not include a "'+u+'" property. Allowed keys: "'+t.join('", "')+'".'),!1);var d=Xa(e[u],a[u],!0);return typeof d=="string"&&Zt('shape - "'+u+`" property validation error: + `+A1(d)),d===!0})}});return Object.defineProperty(r,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(r,"loose",{get:function(){return this._vueTypes_isLoose=!0,this}}),r}var fr=function(){function e(){}return e.extend=function(t){var n=this;if(Gl(t))return t.forEach(function(f){return n.extend(f)}),this;var r=t.name,a=t.validate,l=a!==void 0&&a,o=t.getter,c=o!==void 0&&o,u=XN(t,["name","validate","getter"]);if(Xo(this,r))throw new TypeError('[VueTypes error]: Type "'+r+'" already defined');var d,s=u.type;return Jc(s)?(delete u.type,Object.defineProperty(this,r,c?{get:function(){return HO(r,s,u)}}:{value:function(){var f,p=HO(r,s,u);return p.validator&&(p.validator=(f=p.validator).bind.apply(f,[p].concat([].slice.call(arguments)))),p}})):(d=c?{get:function(){var f=Object.assign({},u);return l?Or(r,f):Mn(r,f)},enumerable:!0}:{value:function(){var f,p,v=Object.assign({},u);return f=l?Or(r,v):Mn(r,v),v.validator&&(f.validator=(p=v.validator).bind.apply(p,[f].concat([].slice.call(arguments)))),f},enumerable:!0},Object.defineProperty(this,r,d))},qN(e,null,[{key:"any",get:function(){return wX()}},{key:"func",get:function(){return PX().def(this.defaults.func)}},{key:"bool",get:function(){return CX().def(this.defaults.bool)}},{key:"string",get:function(){return xX().def(this.defaults.string)}},{key:"number",get:function(){return zX().def(this.defaults.number)}},{key:"array",get:function(){return MX().def(this.defaults.array)}},{key:"object",get:function(){return jX().def(this.defaults.object)}},{key:"integer",get:function(){return TX().def(this.defaults.integer)}},{key:"symbol",get:function(){return _X()}}]),e}();function KN(e){var t;return e===void 0&&(e={func:function(){},bool:!0,string:"",number:0,array:function(){return[]},object:function(){return{}},integer:0}),(t=function(n){function r(){return n.apply(this,arguments)||this}return kN(r,n),qN(r,null,[{key:"sensibleDefaults",get:function(){return Sc({},this.defaults)},set:function(a){this.defaults=a!==!1?Sc({},a!==!0?a:e):{}}}]),r}(fr)).defaults=Sc({},e),t}fr.defaults={},fr.custom=EX,fr.oneOf=HX,fr.instanceOf=DX,fr.oneOfType=AX,fr.arrayOf=IX,fr.objectOf=FX,fr.shape=BX,fr.utils={validate:function(e,t){return Xa(t,e,!0)===!0},toType:function(e,t,n){return n===void 0&&(n=!1),n?Or(e,t):Mn(e,t)}};(function(e){function t(){return e.apply(this,arguments)||this}return kN(t,e),t})(KN());const G=KN({func:void 0,bool:void 0,string:void 0,number:void 0,array:void 0,object:void 0,integer:void 0});G.extend([{name:"looseBool",getter:!0,type:Boolean,default:void 0},{name:"style",getter:!0,type:[String,Object],default:void 0},{name:"VueNode",getter:!0,type:null}]);function NX(e){return e.default=void 0,e}const yt=(e,t,n)=>{p0(e,`[ant-design-vue: ${t}] ${n}`)};function AO(e,t){const{key:n}=e;let r;return"value"in e&&({value:r}=e),n??(r!==void 0?r:`rc-index-key-${t}`)}function eL(e,t){const{label:n,value:r,options:a}=e||{};return{label:n||(t?"children":"label"),value:r||"value",options:a||"options"}}function LX(e){let{fieldNames:t,childrenAsData:n}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=[],{label:a,value:l,options:o}=eL(t,!1);function c(u,d){u.forEach(s=>{const f=s[a];if(d||!(o in s)){const p=s[l];r.push({key:AO(s,r.length),groupOption:d,data:s,label:f,value:p})}else{let p=f;p===void 0&&n&&(p=s.label),r.push({key:AO(s,r.length),group:!0,data:s,label:p}),c(s[o],!0)}})}return c(e,!1),r}function A4(e){const t=g({},e);return"props"in t||Object.defineProperty(t,"props",{get(){return t}}),t}function VX(e,t){if(!t||!t.length)return null;let n=!1;function r(l,o){let[c,...u]=o;if(!c)return[l];const d=l.split(c);return n=n||d.length>1,d.reduce((s,f)=>[...s,...r(f,u)],[]).filter(s=>s)}const a=r(e,t);return n?a:null}function RX(){return""}function WX(e){return e?e.ownerDocument:window.document}function tL(){}const GX=()=>({action:G.oneOfType([G.string,G.arrayOf(G.string)]).def([]),showAction:G.any.def([]),hideAction:G.any.def([]),getPopupClassNameFromAlign:G.any.def(RX),onPopupVisibleChange:Function,afterPopupVisibleChange:G.func.def(tL),popup:G.any,arrow:G.bool.def(!0),popupStyle:{type:Object,default:void 0},prefixCls:G.string.def("rc-trigger-popup"),popupClassName:G.string.def(""),popupPlacement:String,builtinPlacements:G.object,popupTransitionName:String,popupAnimation:G.any,mouseEnterDelay:G.number.def(0),mouseLeaveDelay:G.number.def(.1),zIndex:Number,focusDelay:G.number.def(0),blurDelay:G.number.def(.15),getPopupContainer:Function,getDocument:G.func.def(WX),forceRender:{type:Boolean,default:void 0},destroyPopupOnHide:{type:Boolean,default:!1},mask:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},popupAlign:G.object.def(()=>({})),popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},maskTransitionName:String,maskAnimation:String,stretch:String,alignPoint:{type:Boolean,default:void 0},autoDestroy:{type:Boolean,default:!1},mobile:Object,getTriggerDOMNode:Function}),w0={visible:Boolean,prefixCls:String,zIndex:Number,destroyPopupOnHide:Boolean,forceRender:Boolean,arrow:{type:Boolean,default:!0},animation:[String,Object],transitionName:String,stretch:{type:String},align:{type:Object},point:{type:Object},getRootDomNode:{type:Function},getClassNameFromAlign:{type:Function},onAlign:{type:Function},onMouseenter:{type:Function},onMouseleave:{type:Function},onMousedown:{type:Function},onTouchstart:{type:Function}},UX=g(g({},w0),{mobile:{type:Object}}),qX=g(g({},w0),{mask:Boolean,mobile:{type:Object},maskAnimation:String,maskTransitionName:String});function P0(e){let{prefixCls:t,animation:n,transitionName:r}=e;return n?{name:`${t}-${n}`}:r?{name:r}:{}}function nL(e){const{prefixCls:t,visible:n,zIndex:r,mask:a,maskAnimation:l,maskTransitionName:o}=e;if(!a)return null;let c={};return(o||l)&&(c=P0({prefixCls:t,transitionName:o,animation:l})),i(sn,H({appear:!0},c),{default:()=>[Vn(i("div",{style:{zIndex:r},class:`${t}-mask`},null),[[NU("if"),n]])]})}nL.displayName="Mask";const kX=ee({compatConfig:{MODE:3},name:"MobilePopupInner",inheritAttrs:!1,props:UX,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup(e,t){let{expose:n,slots:r}=t;const a=ne();return n({forceAlign:()=>{},getElement:()=>a.value}),()=>{var l;const{zIndex:o,visible:c,prefixCls:u,mobile:{popupClassName:d,popupStyle:s,popupMotion:f={},popupRender:p}={}}=e,v=g({zIndex:o},s);let b=bt((l=r.default)===null||l===void 0?void 0:l.call(r));b.length>1&&(b=i("div",{class:`${u}-content`},[b])),p&&(b=p(b));const m=re(u,d);return i(sn,H({ref:a},f),{default:()=>[c?i("div",{class:m,style:v},[b]):null]})}}});var XX=function(e,t,n,r){function a(l){return l instanceof n?l:new n(function(o){o(l)})}return new(n||(n=Promise))(function(l,o){function c(s){try{d(r.next(s))}catch(f){o(f)}}function u(s){try{d(r.throw(s))}catch(f){o(f)}}function d(s){s.done?l(s.value):a(s.value).then(c,u)}d((r=r.apply(e,t||[])).next())})};const IO=["measure","align",null,"motion"],YX=(e,t)=>{const n=q(null),r=q(),a=q(!1);function l(u){a.value||(n.value=u)}function o(){Re.cancel(r.value)}function c(u){o(),r.value=Re(()=>{let d=n.value;switch(n.value){case"align":d="motion";break;case"motion":d="stable";break}l(d),u==null||u()})}return de(e,()=>{l("measure")},{immediate:!0,flush:"post"}),We(()=>{de(n,()=>{switch(n.value){case"measure":t();break}n.value&&(r.value=Re(()=>XX(void 0,void 0,void 0,function*(){const u=IO.indexOf(n.value),d=IO[u+1];d&&u!==-1&&l(d)})))},{immediate:!0,flush:"post"})}),Xe(()=>{a.value=!0,o()}),[n,c]},QX=e=>{const t=q({width:0,height:0});function n(a){t.value={width:a.offsetWidth,height:a.offsetHeight}}return[z(()=>{const a={};if(e.value){const{width:l,height:o}=t.value;e.value.indexOf("height")!==-1&&o?a.height=`${o}px`:e.value.indexOf("minHeight")!==-1&&o&&(a.minHeight=`${o}px`),e.value.indexOf("width")!==-1&&l?a.width=`${l}px`:e.value.indexOf("minWidth")!==-1&&l&&(a.minWidth=`${l}px`)}return a}),n]};function DO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function FO(e){for(var t=1;t=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function yY(e,t,n,r){var a=Ke.clone(e),l={width:t.width,height:t.height};return r.adjustX&&a.left=n.left&&a.left+l.width>n.right&&(l.width-=a.left+l.width-n.right),r.adjustX&&a.left+l.width>n.right&&(a.left=Math.max(n.right-l.width,n.left)),r.adjustY&&a.top=n.top&&a.top+l.height>n.bottom&&(l.height-=a.top+l.height-n.bottom),r.adjustY&&a.top+l.height>n.bottom&&(a.top=Math.max(n.bottom-l.height,n.top)),Ke.mix(a,l)}function M0(e){var t,n,r;if(!Ke.isWindow(e)&&e.nodeType!==9)t=Ke.offset(e),n=Ke.outerWidth(e),r=Ke.outerHeight(e);else{var a=Ke.getWindow(e);t={left:Ke.getWindowScrollLeft(a),top:Ke.getWindowScrollTop(a)},n=Ke.viewportWidth(a),r=Ke.viewportHeight(a)}return t.width=n,t.height=r,t}function UO(e,t){var n=t.charAt(0),r=t.charAt(1),a=e.width,l=e.height,o=e.left,c=e.top;return n==="c"?c+=l/2:n==="b"&&(c+=l),r==="c"?o+=a/2:r==="r"&&(o+=a),{left:o,top:c}}function Yi(e,t,n,r,a){var l=UO(t,n[1]),o=UO(e,n[0]),c=[o.left-l.left,o.top-l.top];return{left:Math.round(e.left-c[0]+r[0]-a[0]),top:Math.round(e.top-c[1]+r[1]-a[1])}}function qO(e,t,n){return e.leftn.right}function kO(e,t,n){return e.topn.bottom}function OY(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height=n.right||r.top>=n.bottom}function j0(e,t,n){var r=n.target||t,a=M0(r),l=!$Y(r,n.overflow&&n.overflow.alwaysByViewport);return sL(e,a,n,l)}j0.__getOffsetParent=B4;j0.__getVisibleRectForElement=z0;function wY(e,t,n){var r,a,l=Ke.getDocument(e),o=l.defaultView||l.parentWindow,c=Ke.getWindowScrollLeft(o),u=Ke.getWindowScrollTop(o),d=Ke.viewportWidth(o),s=Ke.viewportHeight(o);"pageX"in t?r=t.pageX:r=c+t.clientX,"pageY"in t?a=t.pageY:a=u+t.clientY;var f={left:r,top:a,width:0,height:0},p=r>=0&&r<=c+d&&a>=0&&a<=u+s,v=[n.points[0],"cc"];return sL(e,f,FO(FO({},n),{},{points:v}),p)}function mt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,a=e;if(Array.isArray(e)&&(a=Mt(e)[0]),!a)return null;const l=Lr(a,t,r);return l.props=n?g(g({},l.props),t):l.props,ir(typeof l.props.class!="object"),l}function PY(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return e.map(r=>mt(r,t,n))}function CY(e,t,n){pa(Lr(e,g({},t)),n)}const dL=e=>(e||[]).some(t=>Xt(t)?!(t.type===WB||t.type===et&&!dL(t.children)):!0)?e:null;function D1(e,t,n,r){var a;const l=(a=e[t])===null||a===void 0?void 0:a.call(e,n);return dL(l)?l:r==null?void 0:r()}const F1=e=>{if(!e)return!1;if(e.offsetParent)return!0;if(e.getBBox){const t=e.getBBox();if(t.width||t.height)return!0}if(e.getBoundingClientRect){const t=e.getBoundingClientRect();if(t.width||t.height)return!0}return!1};function xY(e,t){return e===t?!0:!e||!t?!1:"pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t?e.clientX===t.clientX&&e.clientY===t.clientY:!1}function zY(e,t){e!==document.activeElement&&la(t,e)&&typeof e.focus=="function"&&e.focus()}function QO(e,t){let n=null,r=null;function a(o){let[{target:c}]=o;if(!document.documentElement.contains(c))return;const{width:u,height:d}=c.getBoundingClientRect(),s=Math.floor(u),f=Math.floor(d);(n!==s||r!==f)&&Promise.resolve().then(()=>{t({width:s,height:f})}),n=s,r=f}const l=new ZB(a);return e&&l.observe(e),()=>{l.disconnect()}}const MY=(e,t)=>{let n=!1,r=null;function a(){clearTimeout(r)}function l(o){if(!n||o===!0){if(e()===!1)return;n=!0,a(),r=setTimeout(()=>{n=!1},t.value)}else a(),r=setTimeout(()=>{n=!1,l()},t.value)}return[l,()=>{n=!1,a()}]};function jY(){this.__data__=[],this.size=0}function ci(e,t){return e===t||e!==e&&t!==t}function B1(e,t){for(var n=e.length;n--;)if(ci(e[n][0],t))return n;return-1}var TY=Array.prototype,_Y=TY.splice;function EY(e){var t=this.__data__,n=B1(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():_Y.call(t,n,1),--this.size,!0}function HY(e){var t=this.__data__,n=B1(t,e);return n<0?void 0:t[n][1]}function AY(e){return B1(this.__data__,e)>-1}function IY(e,t){var n=this.__data__,r=B1(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Xr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++tc))return!1;var d=l.get(e),s=l.get(t);if(d&&s)return d==t&&s==e;var f=-1,p=!0,v=n&IQ?new ql:void 0;for(l.set(e,t),l.set(t,e);++f-1&&e%1==0&&e-1&&e%1==0&&e<=uZ}var sZ="[object Arguments]",dZ="[object Array]",fZ="[object Boolean]",pZ="[object Date]",vZ="[object Error]",mZ="[object Function]",gZ="[object Map]",hZ="[object Number]",bZ="[object Object]",yZ="[object RegExp]",OZ="[object Set]",SZ="[object String]",$Z="[object WeakMap]",wZ="[object ArrayBuffer]",PZ="[object DataView]",CZ="[object Float32Array]",xZ="[object Float64Array]",zZ="[object Int8Array]",MZ="[object Int16Array]",jZ="[object Int32Array]",TZ="[object Uint8Array]",_Z="[object Uint8ClampedArray]",EZ="[object Uint16Array]",HZ="[object Uint32Array]",$t={};$t[CZ]=$t[xZ]=$t[zZ]=$t[MZ]=$t[jZ]=$t[TZ]=$t[_Z]=$t[EZ]=$t[HZ]=!0;$t[sZ]=$t[dZ]=$t[wZ]=$t[fZ]=$t[PZ]=$t[pZ]=$t[vZ]=$t[mZ]=$t[gZ]=$t[hZ]=$t[bZ]=$t[yZ]=$t[OZ]=$t[SZ]=$t[$Z]=!1;function AZ(e){return jn(e)&&A0(e.length)&&!!$t[Cr(e)]}function V1(e){return function(t){return e(t)}}var yL=typeof exports=="object"&&exports&&!exports.nodeType&&exports,jo=yL&&typeof module=="object"&&module&&!module.nodeType&&module,IZ=jo&&jo.exports===yL,ms=IZ&&fL.process,Yl=function(){try{var e=jo&&jo.require&&jo.require("util").types;return e||ms&&ms.binding&&ms.binding("util")}catch{}}(),aS=Yl&&Yl.isTypedArray,R1=aS?V1(aS):AZ,DZ=Object.prototype,FZ=DZ.hasOwnProperty;function OL(e,t){var n=Yt(e),r=!n&&kl(e),a=!n&&!r&&Xl(e),l=!n&&!r&&!a&&R1(e),o=n||r||a||l,c=o?eZ(e.length,String):[],u=c.length;for(var d in e)(t||FZ.call(e,d))&&!(o&&(d=="length"||a&&(d=="offset"||d=="parent")||l&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||L1(d,u)))&&c.push(d);return c}var BZ=Object.prototype;function ui(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||BZ;return e===n}function SL(e,t){return function(n){return e(t(n))}}var NZ=SL(Object.keys,Object),LZ=Object.prototype,VZ=LZ.hasOwnProperty;function $L(e){if(!ui(e))return NZ(e);var t=[];for(var n in Object(e))VZ.call(e,n)&&n!="constructor"&&t.push(n);return t}function ma(e){return e!=null&&A0(e.length)&&!T0(e)}function Za(e){return ma(e)?OL(e):$L(e)}function N4(e){return mL(e,Za,H0)}var RZ=1,WZ=Object.prototype,GZ=WZ.hasOwnProperty;function UZ(e,t,n,r,a,l){var o=n&RZ,c=N4(e),u=c.length,d=N4(t),s=d.length;if(u!=s&&!o)return!1;for(var f=u;f--;){var p=c[f];if(!(o?p in t:GZ.call(t,p)))return!1}var v=l.get(e),b=l.get(t);if(v&&b)return v==t&&b==e;var m=!0;l.set(e,t),l.set(t,e);for(var h=o;++f{const{disabled:p,target:v,align:b,onAlign:m}=e;if(!p&&v&&l.value){const h=l.value;let y;const S=pS(v),O=vS(v);a.value.element=S,a.value.point=O,a.value.align=b;const{activeElement:w}=document;return S&&F1(S)?y=j0(h,S,b):O&&(y=wY(h,O,b)),zY(w,h),m&&y&&m(h,y),!0}return!1},z(()=>e.monitorBufferTime)),u=ne({cancel:()=>{}}),d=ne({cancel:()=>{}}),s=()=>{const p=e.target,v=pS(p),b=vS(p);l.value!==d.value.element&&(d.value.cancel(),d.value.element=l.value,d.value.cancel=QO(l.value,o)),(a.value.element!==v||!xY(a.value.point,b)||!I0(a.value.align,e.align))&&(o(),u.value.element!==v&&(u.value.cancel(),u.value.element=v,u.value.cancel=QO(v,o)))};We(()=>{rt(()=>{s()})}),ur(()=>{rt(()=>{s()})}),de(()=>e.disabled,p=>{p?c():o()},{immediate:!0,flush:"post"});const f=ne(null);return de(()=>e.monitorWindowResize,p=>{p?f.value||(f.value=wn(window,"resize",o)):f.value&&(f.value.remove(),f.value=null)},{flush:"post"}),wr(()=>{u.value.cancel(),d.value.cancel(),f.value&&f.value.remove(),c()}),n({forceAlign:()=>o(!0)}),()=>{const p=r==null?void 0:r.default();return p?mt(p[0],{ref:l},!0,!0):null}}});dn("bottomLeft","bottomRight","topLeft","topRight");const rJ=e=>e!==void 0&&(e==="topLeft"||e==="topRight")?"slide-down":"slide-up",Gr=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return g(e?{name:e,appear:!0,enterFromClass:`${e}-enter ${e}-enter-prepare ${e}-enter-start`,enterActiveClass:`${e}-enter ${e}-enter-prepare`,enterToClass:`${e}-enter ${e}-enter-active`,leaveFromClass:` ${e}-leave`,leaveActiveClass:`${e}-leave ${e}-leave-active`,leaveToClass:`${e}-leave ${e}-leave-active`}:{css:!1},t)},G1=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return g(e?{name:e,appear:!0,appearActiveClass:`${e}`,appearToClass:`${e}-appear ${e}-appear-active`,enterFromClass:`${e}-appear ${e}-enter ${e}-appear-prepare ${e}-enter-prepare`,enterActiveClass:`${e}`,enterToClass:`${e}-enter ${e}-appear ${e}-appear-active ${e}-enter-active`,leaveActiveClass:`${e} ${e}-leave`,leaveToClass:`${e}-leave-active`}:{css:!1},t)},Sr=(e,t,n)=>n!==void 0?n:`${e}-${t}`,aJ=ee({compatConfig:{MODE:3},name:"PopupInner",inheritAttrs:!1,props:w0,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup(e,t){let{expose:n,attrs:r,slots:a}=t;const l=q(),o=q(),c=q(),[u,d]=QX(Ne(e,"stretch")),s=()=>{e.stretch&&d(e.getRootDomNode())},f=q(!1);let p;de(()=>e.visible,x=>{clearTimeout(p),x?p=setTimeout(()=>{f.value=e.visible}):f.value=!1},{immediate:!0});const[v,b]=YX(f,s),m=q(),h=()=>e.point?e.point:e.getRootDomNode,y=()=>{var x;(x=l.value)===null||x===void 0||x.forceAlign()},S=(x,P)=>{var M;const j=e.getClassNameFromAlign(P),T=c.value;c.value!==j&&(c.value=j),v.value==="align"&&(T!==j?Promise.resolve().then(()=>{y()}):b(()=>{var E;(E=m.value)===null||E===void 0||E.call(m)}),(M=e.onAlign)===null||M===void 0||M.call(e,x,P))},O=z(()=>{const x=typeof e.animation=="object"?e.animation:P0(e);return["onAfterEnter","onAfterLeave"].forEach(P=>{const M=x[P];x[P]=j=>{b(),v.value="stable",M==null||M(j)}}),x}),w=()=>new Promise(x=>{m.value=x});de([O,v],()=>{!O.value&&v.value==="motion"&&b()},{immediate:!0}),n({forceAlign:y,getElement:()=>o.value.$el||o.value});const $=z(()=>{var x;return!(!((x=e.align)===null||x===void 0)&&x.points&&(v.value==="align"||v.value==="stable"))});return()=>{var x;const{zIndex:P,align:M,prefixCls:j,destroyPopupOnHide:T,onMouseenter:E,onMouseleave:F,onTouchstart:A=()=>{},onMousedown:W}=e,_=v.value,N=[g(g({},u.value),{zIndex:P,opacity:_==="motion"||_==="stable"||!f.value?null:0,pointerEvents:!f.value&&_!=="stable"?"none":null}),r.style];let D=bt((x=a.default)===null||x===void 0?void 0:x.call(a,{visible:e.visible}));D.length>1&&(D=i("div",{class:`${j}-content`},[D]));const V=re(j,r.class,c.value,!e.arrow&&`${j}-arrow-hidden`),B=f.value||!e.visible?Gr(O.value.name,O.value):{};return i(sn,H(H({ref:o},B),{},{onBeforeEnter:w}),{default:()=>!T||e.visible?Vn(i(nJ,{target:h(),key:"popup",ref:l,monitorWindowResize:!0,disabled:$.value,align:M,onAlign:S},{default:()=>i("div",{class:V,onMouseenter:E,onMouseleave:F,onMousedown:rO(W,["capture"]),[kt?"onTouchstartPassive":"onTouchstart"]:rO(A,["capture"]),style:N},[D])}),[[lr,f.value]]):null})}}}),lJ=ee({compatConfig:{MODE:3},name:"Popup",inheritAttrs:!1,props:qX,setup(e,t){let{attrs:n,slots:r,expose:a}=t;const l=q(!1),o=q(!1),c=q(),u=q();return de([()=>e.visible,()=>e.mobile],()=>{l.value=e.visible,e.visible&&e.mobile&&(o.value=!0)},{immediate:!0,flush:"post"}),a({forceAlign:()=>{var d;(d=c.value)===null||d===void 0||d.forceAlign()},getElement:()=>{var d;return(d=c.value)===null||d===void 0?void 0:d.getElement()}}),()=>{const d=g(g(g({},e),n),{visible:l.value}),s=o.value?i(kX,H(H({},d),{},{mobile:e.mobile,ref:c}),{default:r.default}):i(aJ,H(H({},d),{},{ref:c}),{default:r.default});return i("div",{ref:u},[i(nL,d,null),s])}}});function oJ(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function mS(e,t,n){const r=e[t]||{};return g(g({},r),n)}function iJ(e,t,n,r){const{points:a}=n,l=Object.keys(e);for(let o=0;o0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=typeof e=="function"?e(this.$data,this.$props):e;if(this.getDerivedStateFromProps){const r=this.getDerivedStateFromProps(Cq(this),g(g({},this.$data),n));if(r===null)return;n=g(g({},n),r||{})}g(this.$data,n),this._.isMounted&&this.$forceUpdate(),rt(()=>{t&&t()})},__emit(){const e=[].slice.call(arguments,0);let t=e[0];t=`on${t[0].toUpperCase()}${t.substring(1)}`;const n=this.$props[t]||this.$attrs[t];if(e.length&&n)if(Array.isArray(n))for(let r=0,a=n.length;r1&&arguments[1]!==void 0?arguments[1]:{inTriggerContext:!0};qe(PL,{inTriggerContext:t.inTriggerContext,shouldRender:z(()=>{const{sPopupVisible:n,popupRef:r,forceRender:a,autoDestroy:l}=e||{};let o=!1;return(n||r||a)&&(o=!0),!n&&l&&(o=!1),o})})},cJ=()=>{D0({},{inTriggerContext:!1});const e=Ue(PL,{shouldRender:z(()=>!1),inTriggerContext:!1});return{shouldRender:z(()=>e.shouldRender.value||e.inTriggerContext===!1)}},CL=ee({compatConfig:{MODE:3},name:"Portal",inheritAttrs:!1,props:{getContainer:G.func.isRequired,didUpdate:Function},setup(e,t){let{slots:n}=t,r=!0,a;const{shouldRender:l}=cJ();function o(){l.value&&(a=e.getContainer())}r0(()=>{r=!1,o()}),We(()=>{a||o()});const c=de(l,()=>{l.value&&!a&&(a=e.getContainer()),a&&c()});return ur(()=>{rt(()=>{var u;l.value&&((u=e.didUpdate)===null||u===void 0||u.call(e,e))})}),()=>{var u;return l.value?r?(u=n.default)===null||u===void 0?void 0:u.call(n):a?i(a0,{to:a},n):null:null}}});let gs;function n1(e){if(typeof document>"u")return 0;if(gs===void 0){const t=document.createElement("div");t.style.width="100%",t.style.height="200px";const n=document.createElement("div"),r=n.style;r.position="absolute",r.top="0",r.left="0",r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",n.appendChild(t),document.body.appendChild(n);const a=t.offsetWidth;n.style.overflow="scroll";let l=t.offsetWidth;a===l&&(l=n.clientWidth),document.body.removeChild(n),gs=a-l}return gs}function gS(e){const t=e.match(/^(.*)px$/),n=Number(t==null?void 0:t[1]);return Number.isNaN(n)?n1():n}function uJ(e){if(typeof document>"u"||!e||!(e instanceof Element))return{width:0,height:0};const{width:t,height:n}=getComputedStyle(e,"::-webkit-scrollbar");return{width:gS(t),height:gS(n)}}const sJ=`vc-util-locker-${Date.now()}`;let hS=0;function dJ(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}function fJ(e){const t=z(()=>!!e&&!!e.value);hS+=1;const n=`${sJ}_${hS}`;Ve(r=>{if(fn()){if(t.value){const a=n1(),l=dJ();Go(` +html body { + overflow-y: hidden; + ${l?`width: calc(100% - ${a}px);`:""} +}`,n)}else Yc(n);r(()=>{Yc(n)})}},{flush:"post"})}let Sa=0;const $c=fn(),bS=e=>{if(!$c)return null;if(e){if(typeof e=="string")return document.querySelectorAll(e)[0];if(typeof e=="function")return e();if(typeof e=="object"&&e instanceof window.HTMLElement)return e}return document.body},F0=ee({compatConfig:{MODE:3},name:"PortalWrapper",inheritAttrs:!1,props:{wrapperClassName:String,forceRender:{type:Boolean,default:void 0},getContainer:G.any,visible:{type:Boolean,default:void 0},autoLock:$e(),didUpdate:Function},setup(e,t){let{slots:n}=t;const r=q(),a=q(),l=q(),o=q(1),c=fn()&&document.createElement("div"),u=()=>{var v,b;r.value===c&&((b=(v=r.value)===null||v===void 0?void 0:v.parentNode)===null||b===void 0||b.removeChild(r.value)),r.value=null};let d=null;const s=function(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)||r.value&&!r.value.parentNode?(d=bS(e.getContainer),d?(d.appendChild(r.value),!0):!1):!0},f=()=>$c?(r.value||(r.value=c,s(!0)),p(),r.value):null,p=()=>{const{wrapperClassName:v}=e;r.value&&v&&v!==r.value.className&&(r.value.className=v)};return ur(()=>{p(),s()}),fJ(z(()=>e.autoLock&&e.visible&&fn()&&(r.value===document.body||r.value===c))),We(()=>{let v=!1;de([()=>e.visible,()=>e.getContainer],(b,m)=>{let[h,y]=b,[S,O]=m;$c&&(d=bS(e.getContainer),d===document.body&&(h&&!S?Sa+=1:v&&(Sa-=1))),v&&(typeof y=="function"&&typeof O=="function"?y.toString()!==O.toString():y!==O)&&u(),v=!0},{immediate:!0,flush:"post"}),rt(()=>{s()||(l.value=Re(()=>{o.value+=1}))})}),Xe(()=>{const{visible:v}=e;$c&&d===document.body&&(Sa=v&&Sa?Sa-1:Sa),u(),Re.cancel(l.value)}),()=>{const{forceRender:v,visible:b}=e;let m=null;const h={getOpenCount:()=>Sa,getContainer:f};return o.value&&(v||b||a.value)&&(m=i(CL,{getContainer:f,ref:a,didUpdate:e.didUpdate},{default:()=>{var y;return(y=n.default)===null||y===void 0?void 0:y.call(n,h)}})),m}}}),pJ=["onClick","onMousedown","onTouchstart","onMouseenter","onMouseleave","onFocus","onBlur","onContextmenu"],si=ee({compatConfig:{MODE:3},name:"Trigger",mixins:[wL],inheritAttrs:!1,props:GX(),setup(e){const t=z(()=>{const{popupPlacement:a,popupAlign:l,builtinPlacements:o}=e;return a&&o?mS(o,a,l):l}),n=q(null),r=a=>{n.value=a};return{vcTriggerContext:Ue("vcTriggerContext",{}),popupRef:n,setPopupRef:r,triggerRef:q(null),align:t,focusTime:null,clickOutsideHandler:null,contextmenuOutsideHandler1:null,contextmenuOutsideHandler2:null,touchOutsideHandler:null,attachId:null,delayTimer:null,hasPopupMouseDown:!1,preClickTime:null,preTouchTime:null,mouseDownTimeout:null,childOriginEvents:{}}},data(){const e=this.$props;let t;return this.popupVisible!==void 0?t=!!e.popupVisible:t=!!e.defaultPopupVisible,pJ.forEach(n=>{this[`fire${n}`]=r=>{this.fireEvents(n,r)}}),{prevPopupVisible:t,sPopupVisible:t,point:null}},watch:{popupVisible(e){e!==void 0&&(this.prevPopupVisible=this.sPopupVisible,this.sPopupVisible=e)}},created(){qe("vcTriggerContext",{onPopupMouseDown:this.onPopupMouseDown,onPopupMouseenter:this.onPopupMouseenter,onPopupMouseleave:this.onPopupMouseleave}),D0(this)},deactivated(){this.setPopupVisible(!1)},mounted(){this.$nextTick(()=>{this.updatedCal()})},updated(){this.$nextTick(()=>{this.updatedCal()})},beforeUnmount(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),Re.cancel(this.attachId)},methods:{updatedCal(){const e=this.$props;if(this.$data.sPopupVisible){let n;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextmenuToShow())&&(n=e.getDocument(this.getRootDomNode()),this.clickOutsideHandler=wn(n,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(n=n||e.getDocument(this.getRootDomNode()),this.touchOutsideHandler=wn(n,"touchstart",this.onDocumentClick,kt?{passive:!1}:!1)),!this.contextmenuOutsideHandler1&&this.isContextmenuToShow()&&(n=n||e.getDocument(this.getRootDomNode()),this.contextmenuOutsideHandler1=wn(n,"scroll",this.onContextmenuClose)),!this.contextmenuOutsideHandler2&&this.isContextmenuToShow()&&(this.contextmenuOutsideHandler2=wn(window,"blur",this.onContextmenuClose))}else this.clearOutsideHandler()},onMouseenter(e){const{mouseEnterDelay:t}=this.$props;this.fireEvents("onMouseenter",e),this.delaySetPopupVisible(!0,t,t?null:e)},onMouseMove(e){this.fireEvents("onMousemove",e),this.setPoint(e)},onMouseleave(e){this.fireEvents("onMouseleave",e),this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay)},onPopupMouseenter(){const{vcTriggerContext:e={}}=this;e.onPopupMouseenter&&e.onPopupMouseenter(),this.clearDelayTimer()},onPopupMouseleave(e){var t;if(e&&e.relatedTarget&&!e.relatedTarget.setTimeout&&la((t=this.popupRef)===null||t===void 0?void 0:t.getElement(),e.relatedTarget))return;this.isMouseLeaveToHide()&&this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay);const{vcTriggerContext:n={}}=this;n.onPopupMouseleave&&n.onPopupMouseleave(e)},onFocus(e){this.fireEvents("onFocus",e),this.clearDelayTimer(),this.isFocusToShow()&&(this.focusTime=Date.now(),this.delaySetPopupVisible(!0,this.$props.focusDelay))},onMousedown(e){this.fireEvents("onMousedown",e),this.preClickTime=Date.now()},onTouchstart(e){this.fireEvents("onTouchstart",e),this.preTouchTime=Date.now()},onBlur(e){la(e.target,e.relatedTarget||document.activeElement)||(this.fireEvents("onBlur",e),this.clearDelayTimer(),this.isBlurToHide()&&this.delaySetPopupVisible(!1,this.$props.blurDelay))},onContextmenu(e){e.preventDefault(),this.fireEvents("onContextmenu",e),this.setPopupVisible(!0,e)},onContextmenuClose(){this.isContextmenuToShow()&&this.close()},onClick(e){if(this.fireEvents("onClick",e),this.focusTime){let n;if(this.preClickTime&&this.preTouchTime?n=Math.min(this.preClickTime,this.preTouchTime):this.preClickTime?n=this.preClickTime:this.preTouchTime&&(n=this.preTouchTime),Math.abs(n-this.focusTime)<20)return;this.focusTime=0}this.preClickTime=0,this.preTouchTime=0,this.isClickToShow()&&(this.isClickToHide()||this.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault(),e&&e.domEvent&&e.domEvent.preventDefault();const t=!this.$data.sPopupVisible;(this.isClickToHide()&&!t||t&&this.isClickToShow())&&this.setPopupVisible(!this.$data.sPopupVisible,e)},onPopupMouseDown(){const{vcTriggerContext:e={}}=this;this.hasPopupMouseDown=!0,clearTimeout(this.mouseDownTimeout),this.mouseDownTimeout=setTimeout(()=>{this.hasPopupMouseDown=!1},0),e.onPopupMouseDown&&e.onPopupMouseDown(...arguments)},onDocumentClick(e){if(this.$props.mask&&!this.$props.maskClosable)return;const t=e.target,n=this.getRootDomNode(),r=this.getPopupDomNode();(!la(n,t)||this.isContextMenuOnly())&&!la(r,t)&&!this.hasPopupMouseDown&&this.delaySetPopupVisible(!1,.1)},getPopupDomNode(){var e;return((e=this.popupRef)===null||e===void 0?void 0:e.getElement())||null},getRootDomNode(){var e,t,n,r;const{getTriggerDOMNode:a}=this.$props;if(a){const l=((t=(e=this.triggerRef)===null||e===void 0?void 0:e.$el)===null||t===void 0?void 0:t.nodeName)==="#comment"?null:$n(this.triggerRef);return $n(a(l))}try{const l=((r=(n=this.triggerRef)===null||n===void 0?void 0:n.$el)===null||r===void 0?void 0:r.nodeName)==="#comment"?null:$n(this.triggerRef);if(l)return l}catch{}return $n(this)},handleGetPopupClassFromAlign(e){const t=[],n=this.$props,{popupPlacement:r,builtinPlacements:a,prefixCls:l,alignPoint:o,getPopupClassNameFromAlign:c}=n;return r&&a&&t.push(iJ(a,l,e,o)),c&&t.push(c(e)),t.join(" ")},getPopupAlign(){const e=this.$props,{popupPlacement:t,popupAlign:n,builtinPlacements:r}=e;return t&&r?mS(r,t,n):n},getComponent(){const e={};this.isMouseEnterToShow()&&(e.onMouseenter=this.onPopupMouseenter),this.isMouseLeaveToHide()&&(e.onMouseleave=this.onPopupMouseleave),e.onMousedown=this.onPopupMouseDown,e[kt?"onTouchstartPassive":"onTouchstart"]=this.onPopupMouseDown;const{handleGetPopupClassFromAlign:t,getRootDomNode:n,$attrs:r}=this,{prefixCls:a,destroyPopupOnHide:l,popupClassName:o,popupAnimation:c,popupTransitionName:u,popupStyle:d,mask:s,maskAnimation:f,maskTransitionName:p,zIndex:v,stretch:b,alignPoint:m,mobile:h,arrow:y,forceRender:S}=this.$props,{sPopupVisible:O,point:w}=this.$data,$=g(g({prefixCls:a,arrow:y,destroyPopupOnHide:l,visible:O,point:m?w:null,align:this.align,animation:c,getClassNameFromAlign:t,stretch:b,getRootDomNode:n,mask:s,zIndex:v,transitionName:u,maskAnimation:f,maskTransitionName:p,class:o,style:d,onAlign:r.onPopupAlign||tL},e),{ref:this.setPopupRef,mobile:h,forceRender:S});return i(lJ,$,{default:this.$slots.popup||(()=>tN(this,"popup"))})},attachParent(e){Re.cancel(this.attachId);const{getPopupContainer:t,getDocument:n}=this.$props,r=this.getRootDomNode();let a;t?(r||t.length===0)&&(a=t(r)):a=n(this.getRootDomNode()).body,a?a.appendChild(e):this.attachId=Re(()=>{this.attachParent(e)})},getContainer(){const{$props:e}=this,{getDocument:t}=e,n=t(this.getRootDomNode()).createElement("div");return n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%",this.attachParent(n),n},setPopupVisible(e,t){const{alignPoint:n,sPopupVisible:r,onPopupVisibleChange:a}=this;this.clearDelayTimer(),r!==e&&(pl(this,"popupVisible")||this.setState({sPopupVisible:e,prevPopupVisible:r}),a&&a(e)),n&&t&&e&&this.setPoint(t)},setPoint(e){const{alignPoint:t}=this.$props;!t||!e||this.setState({point:{pageX:e.pageX,pageY:e.pageY}})},handlePortalUpdate(){this.prevPopupVisible!==this.sPopupVisible&&this.afterPopupVisibleChange(this.sPopupVisible)},delaySetPopupVisible(e,t,n){const r=t*1e3;if(this.clearDelayTimer(),r){const a=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=setTimeout(()=>{this.setPopupVisible(e,a),this.clearDelayTimer()},r)}else this.setPopupVisible(e,n)},clearDelayTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)},clearOutsideHandler(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextmenuOutsideHandler1&&(this.contextmenuOutsideHandler1.remove(),this.contextmenuOutsideHandler1=null),this.contextmenuOutsideHandler2&&(this.contextmenuOutsideHandler2.remove(),this.contextmenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)},createTwoChains(e){let t=()=>{};const n=iO(this);return this.childOriginEvents[e]&&n[e]?this[`fire${e}`]:(t=this.childOriginEvents[e]||n[e]||t,t)},isClickToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("click")!==-1||t.indexOf("click")!==-1},isContextMenuOnly(){const{action:e}=this.$props;return e==="contextmenu"||e.length===1&&e[0]==="contextmenu"},isContextmenuToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("contextmenu")!==-1||t.indexOf("contextmenu")!==-1},isClickToHide(){const{action:e,hideAction:t}=this.$props;return e.indexOf("click")!==-1||t.indexOf("click")!==-1},isMouseEnterToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("hover")!==-1||t.indexOf("mouseenter")!==-1},isMouseLeaveToHide(){const{action:e,hideAction:t}=this.$props;return e.indexOf("hover")!==-1||t.indexOf("mouseleave")!==-1},isFocusToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("focus")!==-1||t.indexOf("focus")!==-1},isBlurToHide(){const{action:e,hideAction:t}=this.$props;return e.indexOf("focus")!==-1||t.indexOf("blur")!==-1},forcePopupAlign(){var e;this.$data.sPopupVisible&&((e=this.popupRef)===null||e===void 0||e.forceAlign())},fireEvents(e,t){this.childOriginEvents[e]&&this.childOriginEvents[e](t);const n=this.$props[e]||this.$attrs[e];n&&n(t)},close(){this.setPopupVisible(!1)}},render(){const{$attrs:e}=this,t=Mt(eN(this)),{alignPoint:n,getPopupContainer:r}=this.$props,a=t[0];this.childOriginEvents=iO(a);const l={key:"trigger"};this.isContextmenuToShow()?l.onContextmenu=this.onContextmenu:l.onContextmenu=this.createTwoChains("onContextmenu"),this.isClickToHide()||this.isClickToShow()?(l.onClick=this.onClick,l.onMousedown=this.onMousedown,l[kt?"onTouchstartPassive":"onTouchstart"]=this.onTouchstart):(l.onClick=this.createTwoChains("onClick"),l.onMousedown=this.createTwoChains("onMousedown"),l[kt?"onTouchstartPassive":"onTouchstart"]=this.createTwoChains("onTouchstart")),this.isMouseEnterToShow()?(l.onMouseenter=this.onMouseenter,n&&(l.onMousemove=this.onMouseMove)):l.onMouseenter=this.createTwoChains("onMouseenter"),this.isMouseLeaveToHide()?l.onMouseleave=this.onMouseleave:l.onMouseleave=this.createTwoChains("onMouseleave"),this.isFocusToShow()||this.isBlurToHide()?(l.onFocus=this.onFocus,l.onBlur=this.onBlur):(l.onFocus=this.createTwoChains("onFocus"),l.onBlur=d=>{d&&(!d.relatedTarget||!la(d.target,d.relatedTarget))&&this.createTwoChains("onBlur")(d)});const o=re(a&&a.props&&a.props.class,e.class);o&&(l.class=o);const c=mt(a,g(g({},l),{ref:"triggerRef"}),!0,!0),u=i(F0,{key:"portal",getContainer:r&&(()=>r(this.getRootDomNode())),didUpdate:this.handlePortalUpdate,visible:this.$data.sPopupVisible},{default:this.getComponent});return i(et,null,[c,u])}});var vJ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const t=e===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}}}},gJ=ee({name:"SelectTrigger",inheritAttrs:!1,props:{dropdownAlign:Object,visible:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},dropdownClassName:String,dropdownStyle:G.object,placement:String,empty:{type:Boolean,default:void 0},prefixCls:String,popupClassName:String,animation:String,transitionName:String,getPopupContainer:Function,dropdownRender:Function,containerWidth:Number,dropdownMatchSelectWidth:G.oneOfType([Number,Boolean]).def(!0),popupElement:G.any,direction:String,getTriggerDOMNode:Function,onPopupVisibleChange:Function,onPopupMouseEnter:Function,onPopupFocusin:Function,onPopupFocusout:Function},setup(e,t){let{slots:n,attrs:r,expose:a}=t;const l=z(()=>{const{dropdownMatchSelectWidth:c}=e;return mJ(c)}),o=ne();return a({getPopupElement:()=>o.value}),()=>{const c=g(g({},e),r),{empty:u=!1}=c,d=vJ(c,["empty"]),{visible:s,dropdownAlign:f,prefixCls:p,popupElement:v,dropdownClassName:b,dropdownStyle:m,direction:h="ltr",placement:y,dropdownMatchSelectWidth:S,containerWidth:O,dropdownRender:w,animation:$,transitionName:x,getPopupContainer:P,getTriggerDOMNode:M,onPopupVisibleChange:j,onPopupMouseEnter:T,onPopupFocusin:E,onPopupFocusout:F}=d,A=`${p}-dropdown`;let W=v;w&&(W=w({menuNode:v,props:e}));const _=$?`${A}-${$}`:x,N=g({minWidth:`${O}px`},m);return typeof S=="number"?N.width=`${S}px`:S&&(N.width=`${O}px`),i(si,H(H({},e),{},{showAction:j?["click"]:[],hideAction:j?["click"]:[],popupPlacement:y||(h==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:l.value,prefixCls:A,popupTransitionName:_,popupAlign:f,popupVisible:s,getPopupContainer:P,popupClassName:re(b,{[`${A}-empty`]:u}),popupStyle:N,getTriggerDOMNode:M,onPopupVisibleChange:j}),{default:n.default,popup:()=>i("div",{ref:o,onMouseenter:T,onFocusin:E,onFocusout:F},[W])})}}}),fe={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){const{keyCode:n}=t;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=fe.F1&&n<=fe.F12)return!1;switch(n){case fe.ALT:case fe.CAPS_LOCK:case fe.CONTEXT_MENU:case fe.CTRL:case fe.DOWN:case fe.END:case fe.ESC:case fe.HOME:case fe.INSERT:case fe.LEFT:case fe.MAC_FF_META:case fe.META:case fe.NUMLOCK:case fe.NUM_CENTER:case fe.PAGE_DOWN:case fe.PAGE_UP:case fe.PAUSE:case fe.PRINT_SCREEN:case fe.RIGHT:case fe.SHIFT:case fe.UP:case fe.WIN_KEY:case fe.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=fe.ZERO&&t<=fe.NINE||t>=fe.NUM_ZERO&&t<=fe.NUM_MULTIPLY||t>=fe.A&&t<=fe.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case fe.SPACE:case fe.QUESTION_MARK:case fe.NUM_PLUS:case fe.NUM_MINUS:case fe.NUM_PERIOD:case fe.NUM_DIVISION:case fe.SEMICOLON:case fe.DASH:case fe.EQUALS:case fe.COMMA:case fe.PERIOD:case fe.SLASH:case fe.APOSTROPHE:case fe.SINGLE_QUOTE:case fe.OPEN_SQUARE_BRACKET:case fe.BACKSLASH:case fe.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Wa=(e,t)=>{let{slots:n}=t;var r;const{class:a,customizeIcon:l,customizeIconProps:o,onMousedown:c,onClick:u}=e;let d;return typeof l=="function"?d=l(o):d=Xt(l)?Lr(l):l,i("span",{class:a,onMousedown:s=>{s.preventDefault(),c&&c(s)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:u,"aria-hidden":!0},[d!==void 0?d:i("span",{class:a.split(/\s+/).map(s=>`${s}-icon`)},[(r=n.default)===null||r===void 0?void 0:r.call(n)])])};Wa.inheritAttrs=!1;Wa.displayName="TransBtn";Wa.props={class:String,customizeIcon:G.any,customizeIconProps:G.any,onMousedown:Function,onClick:Function};var hJ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{r.value&&r.value.focus()},blur:()=>{r.value&&r.value.blur()},input:r,setSelectionRange:(u,d,s)=>{var f;(f=r.value)===null||f===void 0||f.setSelectionRange(u,d,s)},select:()=>{var u;(u=r.value)===null||u===void 0||u.select()},getSelectionStart:()=>{var u;return(u=r.value)===null||u===void 0?void 0:u.selectionStart},getSelectionEnd:()=>{var u;return(u=r.value)===null||u===void 0?void 0:u.selectionEnd},getScrollTop:()=>{var u;return(u=r.value)===null||u===void 0?void 0:u.scrollTop}}),()=>{const{tag:u,value:d}=e,s=hJ(e,["tag","value"]);return i(u,H(H({},s),{},{ref:r,value:d}),null)}}});function yS(e){const t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.scrollX||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.scrollY||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}function yJ(e){return Array.prototype.slice.apply(e).map(n=>`${n}: ${e.getPropertyValue(n)};`).join("")}function OJ(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return typeof r>"u"||r===null||(t+=`${n}: ${e[n]};`),t},"")}var SJ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ae.value,c],()=>{c.value||(o.value=e.value)},{immediate:!0});const u=P=>{n("change",P)},d=P=>{c.value=!0,P.target.composing=!0,n("compositionstart",P)},s=P=>{c.value=!1,P.target.composing=!1,n("compositionend",P);const M=document.createEvent("HTMLEvents");M.initEvent("input",!0,!0),P.target.dispatchEvent(M),u(P)},f=P=>{if(c.value&&e.lazy){o.value=P.target.value;return}n("input",P)},p=P=>{n("blur",P)},v=P=>{n("focus",P)},b=()=>{l.value&&l.value.focus()},m=()=>{l.value&&l.value.blur()},h=P=>{n("keydown",P)},y=P=>{n("keyup",P)},S=(P,M,j)=>{var T;(T=l.value)===null||T===void 0||T.setSelectionRange(P,M,j)},O=()=>{var P;(P=l.value)===null||P===void 0||P.select()};a({focus:b,blur:m,input:z(()=>{var P;return(P=l.value)===null||P===void 0?void 0:P.input}),setSelectionRange:S,select:O,getSelectionStart:()=>{var P;return(P=l.value)===null||P===void 0?void 0:P.getSelectionStart()},getSelectionEnd:()=>{var P;return(P=l.value)===null||P===void 0?void 0:P.getSelectionEnd()},getScrollTop:()=>{var P;return(P=l.value)===null||P===void 0?void 0:P.getScrollTop()}});const w=P=>{n("mousedown",P)},$=P=>{n("paste",P)},x=z(()=>e.style&&typeof e.style!="string"?OJ(e.style):e.style);return()=>{const P=SJ(e,["style","lazy"]);return i(bJ,H(H(H({},P),r),{},{style:x.value,onInput:f,onChange:u,onBlur:p,onFocus:v,ref:l,value:o.value,onCompositionstart:d,onCompositionend:s,onKeyup:y,onKeydown:h,onPaste:$,onMousedown:w}),null)}}}),$J={inputRef:G.any,prefixCls:String,id:String,inputElement:G.VueNode,disabled:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,editable:{type:Boolean,default:void 0},activeDescendantId:String,value:String,open:{type:Boolean,default:void 0},tabindex:G.oneOfType([G.number,G.string]),attrs:G.object,onKeydown:{type:Function},onMousedown:{type:Function},onChange:{type:Function},onPaste:{type:Function},onCompositionstart:{type:Function},onCompositionend:{type:Function},onFocus:{type:Function},onBlur:{type:Function}},xL=ee({compatConfig:{MODE:3},name:"SelectInput",inheritAttrs:!1,props:$J,setup(e){let t=null;const n=Ue("VCSelectContainerEvent");return()=>{var r;const{prefixCls:a,id:l,inputElement:o,disabled:c,tabindex:u,autofocus:d,autocomplete:s,editable:f,activeDescendantId:p,value:v,onKeydown:b,onMousedown:m,onChange:h,onPaste:y,onCompositionstart:S,onCompositionend:O,onFocus:w,onBlur:$,open:x,inputRef:P,attrs:M}=e;let j=o||i(di,null,null);const T=j.props||{},{onKeydown:E,onInput:F,onFocus:A,onBlur:W,onMousedown:_,onCompositionstart:N,onCompositionend:D,style:V}=T;return j=mt(j,g(g(g(g(g({type:"search"},T),{id:l,ref:P,disabled:c,tabindex:u,lazy:!1,autocomplete:s||"off",autofocus:d,class:re(`${a}-selection-search-input`,(r=j==null?void 0:j.props)===null||r===void 0?void 0:r.class),role:"combobox","aria-expanded":x,"aria-haspopup":"listbox","aria-owns":`${l}_list`,"aria-autocomplete":"list","aria-controls":`${l}_list`,"aria-activedescendant":p}),M),{value:f?v:"",readonly:!f,unselectable:f?null:"on",style:g(g({},V),{opacity:f?null:0}),onKeydown:I=>{b(I),E&&E(I)},onMousedown:I=>{m(I),_&&_(I)},onInput:I=>{h(I),F&&F(I)},onCompositionstart(I){S(I),N&&N(I)},onCompositionend(I){O(I),D&&D(I)},onPaste:y,onFocus:function(){clearTimeout(t),A&&A(arguments.length<=0?void 0:arguments[0]),w&&w(arguments.length<=0?void 0:arguments[0]),n==null||n.focus(arguments.length<=0?void 0:arguments[0])},onBlur:function(){for(var I=arguments.length,B=new Array(I),R=0;R{W&&W(B[0]),$&&$(B[0]),n==null||n.blur(B[0])},100)}}),j.type==="textarea"?{}:{type:"search"}),!0,!0),j}}}),wJ=`accept acceptcharset accesskey action allowfullscreen allowtransparency +alt async autocomplete autofocus autoplay capture cellpadding cellspacing challenge +charset checked classid classname colspan cols content contenteditable contextmenu +controls coords crossorigin data datetime default defer dir disabled download draggable +enctype form formaction formenctype formmethod formnovalidate formtarget frameborder +headers height hidden high href hreflang htmlfor for httpequiv icon id inputmode integrity +is keyparams keytype kind label lang list loop low manifest marginheight marginwidth max maxlength media +mediagroup method min minlength multiple muted name novalidate nonce open +optimum pattern placeholder poster preload radiogroup readonly rel required +reversed role rowspan rows sandbox scope scoped scrolling seamless selected +shape size sizes span spellcheck src srcdoc srclang srcset start step style +summary tabindex target title type usemap value width wmode wrap`,PJ=`onCopy onCut onPaste onCompositionend onCompositionstart onCompositionupdate onKeydown + onKeypress onKeyup onFocus onBlur onChange onInput onSubmit onClick onContextmenu onDoubleclick onDblclick + onDrag onDragend onDragenter onDragexit onDragleave onDragover onDragstart onDrop onMousedown + onMouseenter onMouseleave onMousemove onMouseout onMouseover onMouseup onSelect onTouchcancel + onTouchend onTouchmove onTouchstart onTouchstartPassive onTouchmovePassive onScroll onWheel onAbort onCanplay onCanplaythrough + onDurationchange onEmptied onEncrypted onEnded onError onLoadeddata onLoadedmetadata + onLoadstart onPause onPlay onPlaying onProgress onRatechange onSeeked onSeeking onStalled onSuspend onTimeupdate onVolumechange onWaiting onLoad onError`,OS=`${wJ} ${PJ}`.split(/[\s\n]+/),CJ="aria-",xJ="data-";function SS(e,t){return e.indexOf(t)===0}function ga(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=g({},t);const r={};return Object.keys(e).forEach(a=>{(n.aria&&(a==="role"||SS(a,CJ))||n.data&&SS(a,xJ)||n.attr&&(OS.includes(a)||OS.includes(a.toLowerCase())))&&(r[a]=e[a])}),r}const zL=Symbol("OverflowContextProviderKey"),W4=ee({compatConfig:{MODE:3},name:"OverflowContextProvider",inheritAttrs:!1,props:{value:{type:Object}},setup(e,t){let{slots:n}=t;return qe(zL,z(()=>e.value)),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),zJ=()=>Ue(zL,z(()=>null));var MJ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ae.responsive&&!e.display),l=ne();r({itemNodeRef:l});function o(c){e.registerSize(e.itemKey,c)}return wr(()=>{o(null)}),()=>{var c;const{prefixCls:u,invalidate:d,item:s,renderItem:f,responsive:p,registerSize:v,itemKey:b,display:m,order:h,component:y="div"}=e,S=MJ(e,["prefixCls","invalidate","item","renderItem","responsive","registerSize","itemKey","display","order","component"]),O=(c=n.default)===null||c===void 0?void 0:c.call(n),w=f&&s!==ol?f(s):O;let $;d||($={opacity:a.value?0:1,height:a.value?0:ol,overflowY:a.value?"hidden":ol,order:p?h:ol,pointerEvents:a.value?"none":ol,position:a.value?"absolute":ol});const x={};return a.value&&(x["aria-hidden"]=!0),i(yr,{disabled:!p,onResize:P=>{let{offsetWidth:M}=P;o(M)}},{default:()=>i(y,H(H(H({class:re(!d&&u),style:$},x),S),{},{ref:l}),{default:()=>[w]})})}}});var hs=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var l;if(!a.value){const{component:f="div"}=e,p=hs(e,["component"]);return i(f,H(H({},p),r),{default:()=>[(l=n.default)===null||l===void 0?void 0:l.call(n)]})}const o=a.value,{className:c}=o,u=hs(o,["className"]),{class:d}=r,s=hs(r,["class"]);return i(W4,{value:null},{default:()=>[i(wc,H(H(H({class:re(c,d)},u),s),e),n)]})}}});var TJ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a({id:String,prefixCls:String,data:Array,itemKey:[String,Number,Function],itemWidth:{type:Number,default:10},renderItem:Function,renderRawItem:Function,maxCount:[Number,String],renderRest:Function,renderRawRest:Function,suffix:G.any,component:String,itemComponent:G.any,onVisibleChange:Function,ssr:String,onMousedown:Function,role:String}),Fr=ee({name:"Overflow",inheritAttrs:!1,props:EJ(),emits:["visibleChange"],setup(e,t){let{attrs:n,emit:r,slots:a}=t;const l=z(()=>e.ssr==="full"),o=q(null),c=z(()=>o.value||0),u=q(new Map),d=q(0),s=q(0),f=q(0),p=q(null),v=q(null),b=z(()=>v.value===null&&l.value?Number.MAX_SAFE_INTEGER:v.value||0),m=q(!1),h=z(()=>`${e.prefixCls}-item`),y=z(()=>Math.max(d.value,s.value)),S=z(()=>!!(e.data.length&&e.maxCount===ML)),O=z(()=>e.maxCount===jL),w=z(()=>S.value||typeof e.maxCount=="number"&&e.data.length>e.maxCount),$=z(()=>{let _=e.data;return S.value?o.value===null&&l.value?_=e.data:_=e.data.slice(0,Math.min(e.data.length,c.value/e.itemWidth)):typeof e.maxCount=="number"&&(_=e.data.slice(0,e.maxCount)),_}),x=z(()=>S.value?e.data.slice(b.value+1):e.data.slice($.value.length)),P=(_,N)=>{var D;return typeof e.itemKey=="function"?e.itemKey(_):(D=e.itemKey&&(_==null?void 0:_[e.itemKey]))!==null&&D!==void 0?D:N},M=z(()=>e.renderItem||(_=>_)),j=(_,N)=>{v.value=_,N||(m.value=_{o.value=N.clientWidth},E=(_,N)=>{const D=new Map(u.value);N===null?D.delete(_):D.set(_,N),u.value=D},F=(_,N)=>{d.value=s.value,s.value=N},A=(_,N)=>{f.value=N},W=_=>u.value.get(P($.value[_],_));return de([c,u,s,f,()=>e.itemKey,$],()=>{if(c.value&&y.value&&$.value){let _=f.value;const N=$.value.length,D=N-1;if(!N){j(0),p.value=null;return}for(let V=0;Vc.value){j(V-1),p.value=_-I-f.value+s.value;break}}e.suffix&&W(0)+f.value>c.value&&(p.value=null)}}),()=>{const _=m.value&&!!x.value.length,{itemComponent:N,renderRawItem:D,renderRawRest:V,renderRest:I,prefixCls:B="rc-overflow",suffix:R,component:L="div",id:U,onMousedown:Y}=e,{class:k,style:Z}=n,K=TJ(n,["class","style"]);let te={};p.value!==null&&S.value&&(te={position:"absolute",left:`${p.value}px`,top:0});const J={prefixCls:h.value,responsive:S.value,component:N,invalidate:O.value},X=D?(ye,Oe)=>{const pe=P(ye,Oe);return i(W4,{key:pe,value:g(g({},J),{order:Oe,item:ye,itemKey:pe,registerSize:E,display:Oe<=b.value})},{default:()=>[D(ye,Oe)]})}:(ye,Oe)=>{const pe=P(ye,Oe);return i(wc,H(H({},J),{},{order:Oe,key:pe,item:ye,renderItem:M.value,itemKey:pe,registerSize:E,display:Oe<=b.value}),null)};let Q=()=>null;const oe={order:_?b.value:Number.MAX_SAFE_INTEGER,className:`${h.value} ${h.value}-rest`,registerSize:F,display:_};if(V)V&&(Q=()=>i(W4,{value:g(g({},J),oe)},{default:()=>[V(x.value)]}));else{const ye=I||_J;Q=()=>i(wc,H(H({},J),oe),{default:()=>typeof ye=="function"?ye(x.value):ye})}const ue=()=>{var ye;return i(L,H({id:U,class:re(!O.value&&B,k),style:Z,onMousedown:Y,role:e.role},K),{default:()=>[$.value.map(X),w.value?Q():null,R&&i(wc,H(H({},J),{},{order:b.value,class:`${h.value}-suffix`,registerSize:A,display:!0,style:te}),{default:()=>R}),(ye=a.default)===null||ye===void 0?void 0:ye.call(a)]})};return i(yr,{disabled:!S.value,onResize:T},{default:ue})}}});Fr.Item=jJ;Fr.RESPONSIVE=ML;Fr.INVALIDATE=jL;const HJ=Symbol("TreeSelectLegacyContextPropsKey");function B0(){return Ue(HJ,{})}const AJ={id:String,prefixCls:String,values:G.array,open:{type:Boolean,default:void 0},searchValue:String,inputRef:G.any,placeholder:G.any,disabled:{type:Boolean,default:void 0},mode:String,showSearch:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,activeDescendantId:String,tabindex:G.oneOfType([G.number,G.string]),compositionStatus:Boolean,removeIcon:G.any,choiceTransitionName:String,maxTagCount:G.oneOfType([G.number,G.string]),maxTagTextLength:Number,maxTagPlaceholder:G.any.def(()=>e=>`+ ${e.length} ...`),tagRender:Function,onToggleOpen:{type:Function},onRemove:Function,onInputChange:Function,onInputPaste:Function,onInputKeyDown:Function,onInputMouseDown:Function,onInputCompositionStart:Function,onInputCompositionEnd:Function},$S=e=>{e.preventDefault(),e.stopPropagation()},IJ=ee({name:"MultipleSelectSelector",inheritAttrs:!1,props:AJ,setup(e){const t=q(),n=q(0),r=q(!1),a=B0(),l=z(()=>`${e.prefixCls}-selection`),o=z(()=>e.open||e.mode==="tags"?e.searchValue:""),c=z(()=>e.mode==="tags"||e.showSearch&&(e.open||r.value)),u=ne("");Ve(()=>{u.value=o.value}),We(()=>{de(u,()=>{n.value=t.value.scrollWidth},{flush:"post",immediate:!0})});function d(b,m,h,y,S){return i("span",{class:re(`${l.value}-item`,{[`${l.value}-item-disabled`]:h}),title:typeof b=="string"||typeof b=="number"?b.toString():void 0},[i("span",{class:`${l.value}-item-content`},[m]),y&&i(Wa,{class:`${l.value}-item-remove`,onMousedown:$S,onClick:S,customizeIcon:e.removeIcon},{default:()=>[va("×")]})])}function s(b,m,h,y,S,O){var w;const $=P=>{$S(P),e.onToggleOpen(!open)};let x=O;return a.keyEntities&&(x=((w=a.keyEntities[b])===null||w===void 0?void 0:w.node)||{}),i("span",{key:b,onMousedown:$},[e.tagRender({label:m,value:b,disabled:h,closable:y,onClose:S,option:x})])}function f(b){const{disabled:m,label:h,value:y,option:S}=b,O=!e.disabled&&!m;let w=h;if(typeof e.maxTagTextLength=="number"&&(typeof h=="string"||typeof h=="number")){const x=String(w);x.length>e.maxTagTextLength&&(w=`${x.slice(0,e.maxTagTextLength)}...`)}const $=x=>{var P;x&&x.stopPropagation(),(P=e.onRemove)===null||P===void 0||P.call(e,b)};return typeof e.tagRender=="function"?s(y,w,m,O,$,S):d(h,w,m,O,$)}function p(b){const{maxTagPlaceholder:m=y=>`+ ${y.length} ...`}=e,h=typeof m=="function"?m(b):m;return d(h,h,!1)}const v=b=>{const m=b.target.composing;u.value=b.target.value,m||e.onInputChange(b)};return()=>{const{id:b,prefixCls:m,values:h,open:y,inputRef:S,placeholder:O,disabled:w,autofocus:$,autocomplete:x,activeDescendantId:P,tabindex:M,compositionStatus:j,onInputPaste:T,onInputKeyDown:E,onInputMouseDown:F,onInputCompositionStart:A,onInputCompositionEnd:W}=e,_=i("div",{class:`${l.value}-search`,style:{width:n.value+"px"},key:"input"},[i(xL,{inputRef:S,open:y,prefixCls:m,id:b,inputElement:null,disabled:w,autofocus:$,autocomplete:x,editable:c.value,activeDescendantId:P,value:u.value,onKeydown:E,onMousedown:F,onChange:v,onPaste:T,onCompositionstart:A,onCompositionend:W,tabindex:M,attrs:ga(e,!0),onFocus:()=>r.value=!0,onBlur:()=>r.value=!1},null),i("span",{ref:t,class:`${l.value}-search-mirror`,"aria-hidden":!0},[u.value,va(" ")])]),N=i(Fr,{prefixCls:`${l.value}-overflow`,data:h,renderItem:f,renderRest:p,suffix:_,itemKey:"key",maxCount:e.maxTagCount,key:"overflow"},null);return i(et,null,[N,!h.length&&!o.value&&!j&&i("span",{class:`${l.value}-placeholder`},[O])])}}}),DJ={inputElement:G.any,id:String,prefixCls:String,values:G.array,open:{type:Boolean,default:void 0},searchValue:String,inputRef:G.any,placeholder:G.any,compositionStatus:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},mode:String,showSearch:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,activeDescendantId:String,tabindex:G.oneOfType([G.number,G.string]),activeValue:String,backfill:{type:Boolean,default:void 0},optionLabelRender:Function,onInputChange:Function,onInputPaste:Function,onInputKeyDown:Function,onInputMouseDown:Function,onInputCompositionStart:Function,onInputCompositionEnd:Function},N0=ee({name:"SingleSelector",setup(e){const t=q(!1),n=z(()=>e.mode==="combobox"),r=z(()=>n.value||e.showSearch),a=z(()=>{let s=e.searchValue||"";return n.value&&e.activeValue&&!t.value&&(s=e.activeValue),s}),l=B0();de([n,()=>e.activeValue],()=>{n.value&&(t.value=!1)},{immediate:!0});const o=z(()=>e.mode!=="combobox"&&!e.open&&!e.showSearch?!1:!!a.value||e.compositionStatus),c=z(()=>{const s=e.values[0];return s&&(typeof s.label=="string"||typeof s.label=="number")?s.label.toString():void 0}),u=()=>{if(e.values[0])return null;const s=o.value?{visibility:"hidden"}:void 0;return i("span",{class:`${e.prefixCls}-selection-placeholder`,style:s},[e.placeholder])},d=s=>{s.target.composing||(t.value=!0,e.onInputChange(s))};return()=>{var s,f,p,v;const{inputElement:b,prefixCls:m,id:h,values:y,inputRef:S,disabled:O,autofocus:w,autocomplete:$,activeDescendantId:x,open:P,tabindex:M,optionLabelRender:j,onInputKeyDown:T,onInputMouseDown:E,onInputPaste:F,onInputCompositionStart:A,onInputCompositionEnd:W}=e,_=y[0];let N=null;if(_&&l.customSlots){const D=(s=_.key)!==null&&s!==void 0?s:_.value,V=((f=l.keyEntities[D])===null||f===void 0?void 0:f.node)||{};N=l.customSlots[(p=V.slots)===null||p===void 0?void 0:p.title]||l.customSlots.title||_.label,typeof N=="function"&&(N=N(V))}else N=j&&_?j(_.option):_==null?void 0:_.label;return i(et,null,[i("span",{class:`${m}-selection-search`},[i(xL,{inputRef:S,prefixCls:m,id:h,open:P,inputElement:b,disabled:O,autofocus:w,autocomplete:$,editable:r.value,activeDescendantId:x,value:a.value,onKeydown:T,onMousedown:E,onChange:d,onPaste:F,onCompositionstart:A,onCompositionend:W,tabindex:M,attrs:ga(e,!0)},null)]),!n.value&&_&&!o.value&&i("span",{class:`${m}-selection-item`,title:c.value},[i(et,{key:(v=_.key)!==null&&v!==void 0?v:_.value},[N])]),u()])}}});N0.props=DJ;N0.inheritAttrs=!1;function FJ(e){return![fe.ESC,fe.SHIFT,fe.BACKSPACE,fe.TAB,fe.WIN_KEY,fe.ALT,fe.META,fe.WIN_KEY_RIGHT,fe.CTRL,fe.SEMICOLON,fe.EQUALS,fe.CAPS_LOCK,fe.CONTEXT_MENU,fe.F1,fe.F2,fe.F3,fe.F4,fe.F5,fe.F6,fe.F7,fe.F8,fe.F9,fe.F10,fe.F11,fe.F12].includes(e)}function TL(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=null,n;Xe(()=>{clearTimeout(n)});function r(a){(a||t===null)&&(t=a),clearTimeout(n),n=setTimeout(()=>{t=null},e)}return[()=>t,r]}function Jo(){const e=t=>{e.current=t};return e}const BJ=ee({name:"Selector",inheritAttrs:!1,props:{id:String,prefixCls:String,showSearch:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},values:G.array,multiple:{type:Boolean,default:void 0},mode:String,searchValue:String,activeValue:String,inputElement:G.any,autofocus:{type:Boolean,default:void 0},activeDescendantId:String,tabindex:G.oneOfType([G.number,G.string]),disabled:{type:Boolean,default:void 0},placeholder:G.any,removeIcon:G.any,maxTagCount:G.oneOfType([G.number,G.string]),maxTagTextLength:Number,maxTagPlaceholder:G.any,tagRender:Function,optionLabelRender:Function,tokenWithEnter:{type:Boolean,default:void 0},choiceTransitionName:String,onToggleOpen:{type:Function},onSearch:Function,onSearchSubmit:Function,onRemove:Function,onInputKeyDown:{type:Function},domRef:Function},setup(e,t){let{expose:n}=t;const r=Jo(),a=ne(!1),[l,o]=TL(0),c=y=>{const{which:S}=y;(S===fe.UP||S===fe.DOWN)&&y.preventDefault(),e.onInputKeyDown&&e.onInputKeyDown(y),S===fe.ENTER&&e.mode==="tags"&&!a.value&&!e.open&&e.onSearchSubmit(y.target.value),FJ(S)&&e.onToggleOpen(!0)},u=()=>{o(!0)};let d=null;const s=y=>{e.onSearch(y,!0,a.value)!==!1&&e.onToggleOpen(!0)},f=()=>{a.value=!0},p=y=>{a.value=!1,e.mode!=="combobox"&&s(y.target.value)},v=y=>{let{target:{value:S}}=y;if(e.tokenWithEnter&&d&&/[\r\n]/.test(d)){const O=d.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");S=S.replace(O,d)}d=null,s(S)},b=y=>{const{clipboardData:S}=y;d=S.getData("text")},m=y=>{let{target:S}=y;S!==r.current&&(document.body.style.msTouchAction!==void 0?setTimeout(()=>{r.current.focus()}):r.current.focus())},h=y=>{const S=l();y.target!==r.current&&!S&&y.preventDefault(),(e.mode!=="combobox"&&(!e.showSearch||!S)||!e.open)&&(e.open&&e.onSearch("",!0,!1),e.onToggleOpen())};return n({focus:()=>{r.current.focus()},blur:()=>{r.current.blur()}}),()=>{const{prefixCls:y,domRef:S,mode:O}=e,w={inputRef:r,onInputKeyDown:c,onInputMouseDown:u,onInputChange:v,onInputPaste:b,compositionStatus:a.value,onInputCompositionStart:f,onInputCompositionEnd:p},$=O==="multiple"||O==="tags"?i(IJ,H(H({},e),w),null):i(N0,H(H({},e),w),null);return i("div",{ref:S,class:`${y}-selector`,onClick:m,onMousedown:h},[$])}}});function NJ(e,t,n){function r(a){var l,o,c;let u=a.target;u.shadowRoot&&a.composed&&(u=a.composedPath()[0]||u);const d=[(l=e[0])===null||l===void 0?void 0:l.value,(c=(o=e[1])===null||o===void 0?void 0:o.value)===null||c===void 0?void 0:c.getPopupElement()];t.value&&d.every(s=>s&&!s.contains(u)&&s!==u)&&n(!1)}We(()=>{window.addEventListener("mousedown",r)}),Xe(()=>{window.removeEventListener("mousedown",r)})}function LJ(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10;const t=q(!1);let n;const r=()=>{clearTimeout(n)};return We(()=>{r()}),[t,(l,o)=>{r(),n=setTimeout(()=>{t.value=l,o&&o()},e)},r]}const _L=Symbol("BaseSelectContextKey");function VJ(e){return qe(_L,e)}function RJ(){return Ue(_L,{})}const L0=()=>{if(typeof navigator>"u"||typeof window>"u")return!1;const e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substring(0,4))};function EL(e){if(!UB(e))return ht(e);const t=new Proxy({},{get(n,r,a){return Reflect.get(e.value,r,a)},set(n,r,a){return e.value[r]=a,!0},deleteProperty(n,r){return Reflect.deleteProperty(e.value,r)},has(n,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return ht(t)}var WJ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a({prefixCls:String,id:String,omitDomProps:Array,displayValues:Array,onDisplayValuesChange:Function,activeValue:String,activeDescendantId:String,onActiveValueChange:Function,searchValue:String,onSearch:Function,onSearchSplit:Function,maxLength:Number,OptionList:G.any,emptyOptions:Boolean}),HL=()=>({showSearch:{type:Boolean,default:void 0},tagRender:{type:Function},optionLabelRender:{type:Function},direction:{type:String},tabindex:Number,autofocus:Boolean,notFoundContent:G.any,placeholder:G.any,onClear:Function,choiceTransitionName:String,mode:String,disabled:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},onDropdownVisibleChange:{type:Function},getInputElement:{type:Function},getRawInputElement:{type:Function},maxTagTextLength:Number,maxTagCount:{type:[String,Number]},maxTagPlaceholder:G.any,tokenSeparators:{type:Array},allowClear:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:void 0},inputIcon:G.any,clearIcon:G.any,removeIcon:G.any,animation:String,transitionName:String,dropdownStyle:{type:Object},dropdownClassName:String,dropdownMatchSelectWidth:{type:[Boolean,Number],default:void 0},dropdownRender:{type:Function},dropdownAlign:Object,placement:{type:String},getPopupContainer:{type:Function},showAction:{type:Array},onBlur:{type:Function},onFocus:{type:Function},onKeyup:Function,onKeydown:Function,onMousedown:Function,onPopupScroll:Function,onInputKeyDown:Function,onMouseenter:Function,onMouseleave:Function,onClick:Function}),qJ=()=>g(g({},UJ()),HL());function AL(e){return e==="tags"||e==="multiple"}const kJ=ee({compatConfig:{MODE:3},name:"BaseSelect",inheritAttrs:!1,props:lt(qJ(),{showAction:[],notFoundContent:"Not Found"}),setup(e,t){let{attrs:n,expose:r,slots:a}=t;const l=z(()=>AL(e.mode)),o=z(()=>e.showSearch!==void 0?e.showSearch:l.value||e.mode==="combobox"),c=q(!1);We(()=>{c.value=L0()});const u=B0(),d=q(null),s=Jo(),f=q(null),p=q(null),v=q(null),b=ne(!1),[m,h,y]=LJ();r({focus:()=>{var X;(X=p.value)===null||X===void 0||X.focus()},blur:()=>{var X;(X=p.value)===null||X===void 0||X.blur()},scrollTo:X=>{var Q;return(Q=v.value)===null||Q===void 0?void 0:Q.scrollTo(X)}});const w=z(()=>{var X;if(e.mode!=="combobox")return e.searchValue;const Q=(X=e.displayValues[0])===null||X===void 0?void 0:X.value;return typeof Q=="string"||typeof Q=="number"?String(Q):""}),$=e.open!==void 0?e.open:e.defaultOpen,x=q($),P=q($),M=X=>{x.value=e.open!==void 0?e.open:X,P.value=x.value};de(()=>e.open,()=>{M(e.open)});const j=z(()=>!e.notFoundContent&&e.emptyOptions);Ve(()=>{P.value=x.value,(e.disabled||j.value&&P.value&&e.mode==="combobox")&&(P.value=!1)});const T=z(()=>j.value?!1:P.value),E=X=>{const Q=X!==void 0?X:!P.value;P.value!==Q&&!e.disabled&&(M(Q),e.onDropdownVisibleChange&&e.onDropdownVisibleChange(Q),!Q&&L.value&&(L.value=!1,h(!1,()=>{B.value=!1,b.value=!1})))},F=z(()=>(e.tokenSeparators||[]).some(X=>[` +`,`\r +`].includes(X))),A=(X,Q,oe)=>{var ue,ye;let Oe=!0,pe=X;(ue=e.onActiveValueChange)===null||ue===void 0||ue.call(e,null);const we=oe?null:VX(X,e.tokenSeparators);return e.mode!=="combobox"&&we&&(pe="",(ye=e.onSearchSplit)===null||ye===void 0||ye.call(e,we),E(!1),Oe=!1),e.onSearch&&w.value!==pe&&e.onSearch(pe,{source:Q?"typing":"effect"}),Oe},W=X=>{var Q;!X||!X.trim()||(Q=e.onSearch)===null||Q===void 0||Q.call(e,X,{source:"submit"})};de(P,()=>{!P.value&&!l.value&&e.mode!=="combobox"&&A("",!1,!1)},{immediate:!0,flush:"post"}),de(()=>e.disabled,()=>{x.value&&e.disabled&&M(!1),e.disabled&&!b.value&&h(!1)},{immediate:!0});const[_,N]=TL(),D=function(X){var Q;const oe=_(),{which:ue}=X;if(ue===fe.ENTER&&(e.mode!=="combobox"&&X.preventDefault(),P.value||E(!0)),N(!!w.value),ue===fe.BACKSPACE&&!oe&&l.value&&!w.value&&e.displayValues.length){const we=[...e.displayValues];let se=null;for(let ie=we.length-1;ie>=0;ie-=1){const he=we[ie];if(!he.disabled){we.splice(ie,1),se=he;break}}se&&e.onDisplayValuesChange(we,{type:"remove",values:[se]})}for(var ye=arguments.length,Oe=new Array(ye>1?ye-1:0),pe=1;pe1?Q-1:0),ue=1;ue{const Q=e.displayValues.filter(oe=>oe!==X);e.onDisplayValuesChange(Q,{type:"remove",values:[X]})},B=q(!1),R=function(){h(!0),e.disabled||(e.onFocus&&!B.value&&e.onFocus(...arguments),e.showAction&&e.showAction.includes("focus")&&E(!0)),B.value=!0},L=ne(!1),U=function(){if(L.value||(b.value=!0,h(!1,()=>{B.value=!1,b.value=!1,E(!1)}),e.disabled))return;const X=w.value;X&&(e.mode==="tags"?e.onSearch(X,{source:"submit"}):e.mode==="multiple"&&e.onSearch("",{source:"blur"})),e.onBlur&&e.onBlur(...arguments)},Y=()=>{L.value=!0},k=()=>{L.value=!1};qe("VCSelectContainerEvent",{focus:R,blur:U});const Z=[];We(()=>{Z.forEach(X=>clearTimeout(X)),Z.splice(0,Z.length)}),Xe(()=>{Z.forEach(X=>clearTimeout(X)),Z.splice(0,Z.length)});const K=function(X){var Q,oe;const{target:ue}=X,ye=(Q=f.value)===null||Q===void 0?void 0:Q.getPopupElement();if(ye&&ye.contains(ue)){const se=setTimeout(()=>{var ie;const he=Z.indexOf(se);he!==-1&&Z.splice(he,1),y(),!c.value&&!ye.contains(document.activeElement)&&((ie=p.value)===null||ie===void 0||ie.focus())});Z.push(se)}for(var Oe=arguments.length,pe=new Array(Oe>1?Oe-1:0),we=1;we{};return We(()=>{de(T,()=>{var X;if(T.value){const Q=Math.ceil((X=d.value)===null||X===void 0?void 0:X.offsetWidth);te.value!==Q&&!Number.isNaN(Q)&&(te.value=Q)}},{immediate:!0,flush:"post"})}),NJ([d,f],T,E),VJ(EL(g(g({},xo(e)),{open:P,triggerOpen:T,showSearch:o,multiple:l,toggleOpen:E}))),()=>{const X=g(g({},e),n),{prefixCls:Q,id:oe,open:ue,defaultOpen:ye,mode:Oe,showSearch:pe,searchValue:we,onSearch:se,allowClear:ie,clearIcon:he,showArrow:Ce,inputIcon:Pe,disabled:xe,loading:Be,getInputElement:le,getPopupContainer:ae,placement:me,animation:Te,transitionName:_e,dropdownStyle:De,dropdownClassName:ve,dropdownMatchSelectWidth:ge,dropdownRender:be,dropdownAlign:ze,showAction:Ie,direction:Me,tokenSeparators:He,tagRender:ke,optionLabelRender:ot,onPopupScroll:Qe,onDropdownVisibleChange:nt,onFocus:it,onBlur:zt,onKeyup:jt,onKeydown:Et,onMousedown:Pt,onClear:Ut,omitDomProps:nn,getRawInputElement:En,displayValues:kn,onDisplayValuesChange:rn,emptyOptions:ya,activeDescendantId:Se,activeValue:Fe,OptionList:Ae}=X,pt=WJ(X,["prefixCls","id","open","defaultOpen","mode","showSearch","searchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","disabled","loading","getInputElement","getPopupContainer","placement","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","optionLabelRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyup","onKeydown","onMousedown","onClear","omitDomProps","getRawInputElement","displayValues","onDisplayValuesChange","emptyOptions","activeDescendantId","activeValue","OptionList"]),Tt=Oe==="combobox"&&le&&le()||null,Ct=typeof En=="function"&&En(),an=g({},pt);let Bt;Ct&&(Bt=Yn=>{E(Yn)}),GJ.forEach(Yn=>{delete an[Yn]}),nn==null||nn.forEach(Yn=>{delete an[Yn]});const dr=Ce!==void 0?Ce:Be||!l.value&&Oe!=="combobox";let mn;dr&&(mn=i(Wa,{class:re(`${Q}-arrow`,{[`${Q}-arrow-loading`]:Be}),customizeIcon:Pe,customizeIconProps:{loading:Be,searchValue:w.value,open:P.value,focused:m.value,showSearch:o.value}},null));let Hn;const Ot=()=>{Ut==null||Ut(),rn([],{type:"clear",values:kn}),A("",!1,!1)};!xe&&ie&&(kn.length||w.value)&&(Hn=i(Wa,{class:`${Q}-clear`,onMousedown:Ot,customizeIcon:he},{default:()=>[va("×")]}));const Xn=i(Ae,{ref:v},g(g({},u.customSlots),{option:a.option})),An=re(Q,n.class,{[`${Q}-focused`]:m.value,[`${Q}-multiple`]:l.value,[`${Q}-single`]:!l.value,[`${Q}-allow-clear`]:ie,[`${Q}-show-arrow`]:dr,[`${Q}-disabled`]:xe,[`${Q}-loading`]:Be,[`${Q}-open`]:P.value,[`${Q}-customize-input`]:Tt,[`${Q}-show-search`]:o.value}),Jr=i(gJ,{ref:f,disabled:xe,prefixCls:Q,visible:T.value,popupElement:Xn,containerWidth:te.value,animation:Te,transitionName:_e,dropdownStyle:De,dropdownClassName:ve,direction:Me,dropdownMatchSelectWidth:ge,dropdownRender:be,dropdownAlign:ze,placement:me,getPopupContainer:ae,empty:ya,getTriggerDOMNode:()=>s.current,onPopupVisibleChange:Bt,onPopupMouseEnter:J,onPopupFocusin:Y,onPopupFocusout:k},{default:()=>Ct?Wt(Ct)&&mt(Ct,{ref:s},!1,!0):i(BJ,H(H({},e),{},{domRef:s,prefixCls:Q,inputElement:Tt,ref:p,id:oe,showSearch:o.value,mode:Oe,activeDescendantId:Se,tagRender:ke,optionLabelRender:ot,values:kn,open:P.value,onToggleOpen:E,activeValue:Fe,searchValue:w.value,onSearch:A,onSearchSubmit:W,onRemove:I,tokenWithEnter:F.value}),null)});let Kr;return Ct?Kr=Jr:Kr=i("div",H(H({},an),{},{class:An,ref:d,onMousedown:K,onKeydown:D,onKeyup:V}),[m.value&&!P.value&&i("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},[`${kn.map(Yn=>{let{label:al,value:Qn}=Yn;return["number","string"].includes(typeof al)?al:Qn}).join(", ")}`]),Jr,mn,Hn]),Kr}}}),U1=(e,t)=>{let{height:n,offset:r,prefixCls:a,onInnerResize:l}=e,{slots:o}=t;var c;let u={},d={display:"flex",flexDirection:"column"};return r!==void 0&&(u={height:`${n}px`,position:"relative",overflow:"hidden"},d=g(g({},d),{transform:`translateY(${r}px)`,position:"absolute",left:0,right:0,top:0})),i("div",{style:u},[i(yr,{onResize:s=>{let{offsetHeight:f}=s;f&&l&&l()}},{default:()=>[i("div",{style:d,class:re({[`${a}-holder-inner`]:a})},[(c=o.default)===null||c===void 0?void 0:c.call(o)])]})])};U1.displayName="Filter";U1.inheritAttrs=!1;U1.props={prefixCls:String,height:Number,offset:Number,onInnerResize:Function};const IL=(e,t)=>{let{setRef:n}=e,{slots:r}=t;var a;const l=bt((a=r.default)===null||a===void 0?void 0:a.call(r));return l&&l.length?Lr(l[0],{ref:n}):l};IL.props={setRef:{type:Function,default:()=>{}}};const XJ=20;function wS(e){return"touches"in e?e.touches[0].pageY:e.pageY}const YJ=ee({compatConfig:{MODE:3},name:"ScrollBar",inheritAttrs:!1,props:{prefixCls:String,scrollTop:Number,scrollHeight:Number,height:Number,count:Number,onScroll:{type:Function},onStartMove:{type:Function},onStopMove:{type:Function}},setup(){return{moveRaf:null,scrollbarRef:Jo(),thumbRef:Jo(),visibleTimeout:null,state:ht({dragging:!1,pageY:null,startTop:null,visible:!1})}},watch:{scrollTop:{handler(){this.delayHidden()},flush:"post"}},mounted(){var e,t;(e=this.scrollbarRef.current)===null||e===void 0||e.addEventListener("touchstart",this.onScrollbarTouchStart,kt?{passive:!1}:!1),(t=this.thumbRef.current)===null||t===void 0||t.addEventListener("touchstart",this.onMouseDown,kt?{passive:!1}:!1)},beforeUnmount(){this.removeEvents(),clearTimeout(this.visibleTimeout)},methods:{delayHidden(){clearTimeout(this.visibleTimeout),this.state.visible=!0,this.visibleTimeout=setTimeout(()=>{this.state.visible=!1},2e3)},onScrollbarTouchStart(e){e.preventDefault()},onContainerMouseDown(e){e.stopPropagation(),e.preventDefault()},patchEvents(){window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("mouseup",this.onMouseUp),this.thumbRef.current.addEventListener("touchmove",this.onMouseMove,kt?{passive:!1}:!1),this.thumbRef.current.addEventListener("touchend",this.onMouseUp)},removeEvents(){window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("mouseup",this.onMouseUp),this.scrollbarRef.current.removeEventListener("touchstart",this.onScrollbarTouchStart,kt?{passive:!1}:!1),this.thumbRef.current&&(this.thumbRef.current.removeEventListener("touchstart",this.onMouseDown,kt?{passive:!1}:!1),this.thumbRef.current.removeEventListener("touchmove",this.onMouseMove,kt?{passive:!1}:!1),this.thumbRef.current.removeEventListener("touchend",this.onMouseUp)),Re.cancel(this.moveRaf)},onMouseDown(e){const{onStartMove:t}=this.$props;g(this.state,{dragging:!0,pageY:wS(e),startTop:this.getTop()}),t(),this.patchEvents(),e.stopPropagation(),e.preventDefault()},onMouseMove(e){const{dragging:t,pageY:n,startTop:r}=this.state,{onScroll:a}=this.$props;if(Re.cancel(this.moveRaf),t){const l=wS(e)-n,o=r+l,c=this.getEnableScrollRange(),u=this.getEnableHeightRange(),d=u?o/u:0,s=Math.ceil(d*c);this.moveRaf=Re(()=>{a(s)})}},onMouseUp(){const{onStopMove:e}=this.$props;this.state.dragging=!1,e(),this.removeEvents()},getSpinHeight(){const{height:e,scrollHeight:t}=this.$props;let n=e/t*100;return n=Math.max(n,XJ),n=Math.min(n,e/2),Math.floor(n)},getEnableScrollRange(){const{scrollHeight:e,height:t}=this.$props;return e-t||0},getEnableHeightRange(){const{height:e}=this.$props,t=this.getSpinHeight();return e-t||0},getTop(){const{scrollTop:e}=this.$props,t=this.getEnableScrollRange(),n=this.getEnableHeightRange();return e===0||t===0?0:e/t*n},showScroll(){const{height:e,scrollHeight:t}=this.$props;return t>e}},render(){const{dragging:e,visible:t}=this.state,{prefixCls:n}=this.$props,r=this.getSpinHeight()+"px",a=this.getTop()+"px",l=this.showScroll(),o=l&&t;return i("div",{ref:this.scrollbarRef,class:re(`${n}-scrollbar`,{[`${n}-scrollbar-show`]:l}),style:{width:"8px",top:0,bottom:0,right:0,position:"absolute",display:o?void 0:"none"},onMousedown:this.onContainerMouseDown,onMousemove:this.delayHidden},[i("div",{ref:this.thumbRef,class:re(`${n}-scrollbar-thumb`,{[`${n}-scrollbar-thumb-moving`]:e}),style:{width:"100%",height:r,top:a,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:"99px",cursor:"pointer",userSelect:"none"},onMousedown:this.onMouseDown},null)])}});function QJ(e,t,n,r){const a=new Map,l=new Map,o=ne(Symbol("update"));de(e,()=>{o.value=Symbol("update")});let c;function u(){Re.cancel(c)}function d(){u(),c=Re(()=>{a.forEach((f,p)=>{if(f&&f.offsetParent){const{offsetHeight:v}=f;l.get(p)!==v&&(o.value=Symbol("update"),l.set(p,f.offsetHeight))}})})}function s(f,p){const v=t(f);a.get(v),p?(a.set(v,p.$el||p),d()):a.delete(v)}return wr(()=>{u()}),[s,d,l,o]}function ZJ(e,t,n,r,a,l,o,c){let u;return d=>{if(d==null){c();return}Re.cancel(u);const s=t.value,f=r.itemHeight;if(typeof d=="number")o(d);else if(d&&typeof d=="object"){let p;const{align:v}=d;"index"in d?{index:p}=d:p=s.findIndex(h=>a(h)===d.key);const{offset:b=0}=d,m=(h,y)=>{if(h<0||!e.value)return;const S=e.value.clientHeight;let O=!1,w=y;if(S){const $=y||v;let x=0,P=0,M=0;const j=Math.min(s.length,p);for(let F=0;F<=j;F+=1){const A=a(s[F]);P=x;const W=n.get(A);M=P+(W===void 0?f:W),x=M,F===p&&W===void 0&&(O=!0)}const T=e.value.scrollTop;let E=null;switch($){case"top":E=P-b;break;case"bottom":E=M-S+b;break;default:{const F=T+S;PF&&(w="bottom")}}E!==null&&E!==T&&o(E)}u=Re(()=>{O&&l(),m(h-1,w)},2)};m(5)}}}const JJ=typeof navigator=="object"&&/Firefox/i.test(navigator.userAgent),DL=(e,t)=>{let n=!1,r=null;function a(){clearTimeout(r),n=!0,r=setTimeout(()=>{n=!1},50)}return function(l){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const c=l<0&&e.value||l>0&&t.value;return o&&c?(clearTimeout(r),n=!1):(!c||n)&&a(),!n&&c}};function KJ(e,t,n,r){let a=0,l=null,o=null,c=!1;const u=DL(t,n);function d(f){if(!e.value)return;Re.cancel(l);const{deltaY:p}=f;a+=p,o=p,!u(p)&&(JJ||f.preventDefault(),l=Re(()=>{r(a*(c?10:1)),a=0}))}function s(f){e.value&&(c=f.detail===o)}return[d,s]}const eK=14/15;function tK(e,t,n){let r=!1,a=0,l=null,o=null;const c=()=>{l&&(l.removeEventListener("touchmove",u),l.removeEventListener("touchend",d))},u=p=>{if(r){const v=Math.ceil(p.touches[0].pageY);let b=a-v;a=v,n(b)&&p.preventDefault(),clearInterval(o),o=setInterval(()=>{b*=eK,(!n(b,!0)||Math.abs(b)<=.1)&&clearInterval(o)},16)}},d=()=>{r=!1,c()},s=p=>{c(),p.touches.length===1&&!r&&(r=!0,a=Math.ceil(p.touches[0].pageY),l=p.target,l.addEventListener("touchmove",u,{passive:!1}),l.addEventListener("touchend",d))},f=()=>{};We(()=>{document.addEventListener("touchmove",f,{passive:!1}),de(e,p=>{t.value.removeEventListener("touchstart",s),c(),clearInterval(o),p&&t.value.addEventListener("touchstart",s,{passive:!1})},{immediate:!0})}),Xe(()=>{document.removeEventListener("touchmove",f)})}var nK=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const d=t+u,s=a(c,d,{}),f=o(c);return i(IL,{key:f,setRef:p=>r(c,p)},{default:()=>[s]})})}const FL=ee({compatConfig:{MODE:3},name:"List",inheritAttrs:!1,props:{prefixCls:String,data:G.array,height:Number,itemHeight:Number,fullHeight:{type:Boolean,default:void 0},itemKey:{type:[String,Number,Function],required:!0},component:{type:[String,Object]},virtual:{type:Boolean,default:void 0},children:Function,onScroll:Function,onMousedown:Function,onMouseenter:Function,onVisibleChange:Function},setup(e,t){let{expose:n}=t;const r=z(()=>{const{height:I,itemHeight:B,virtual:R}=e;return!!(R!==!1&&I&&B)}),a=z(()=>{const{height:I,itemHeight:B,data:R}=e;return r.value&&R&&B*R.length>I}),l=ht({scrollTop:0,scrollMoving:!1}),o=z(()=>e.data||rK),c=q([]);de(o,()=>{c.value=xn(o.value).slice()},{immediate:!0});const u=q(I=>{});de(()=>e.itemKey,I=>{typeof I=="function"?u.value=I:u.value=B=>B==null?void 0:B[I]},{immediate:!0});const d=q(),s=q(),f=q(),p=I=>u.value(I),v={getKey:p};function b(I){let B;typeof I=="function"?B=I(l.scrollTop):B=I;const R=x(B);d.value&&(d.value.scrollTop=R),l.scrollTop=R}const[m,h,y,S]=QJ(c,p),O=ht({scrollHeight:void 0,start:0,end:0,offset:void 0}),w=q(0);We(()=>{rt(()=>{var I;w.value=((I=s.value)===null||I===void 0?void 0:I.offsetHeight)||0})}),ur(()=>{rt(()=>{var I;w.value=((I=s.value)===null||I===void 0?void 0:I.offsetHeight)||0})}),de([r,c],()=>{r.value||g(O,{scrollHeight:void 0,start:0,end:c.value.length-1,offset:void 0})},{immediate:!0}),de([r,c,w,a],()=>{r.value&&!a.value&&g(O,{scrollHeight:w.value,start:0,end:c.value.length-1,offset:void 0}),d.value&&(l.scrollTop=d.value.scrollTop)},{immediate:!0}),de([a,r,()=>l.scrollTop,c,S,()=>e.height,w],()=>{if(!r.value||!a.value)return;let I=0,B,R,L;const U=c.value.length,Y=c.value,k=l.scrollTop,{itemHeight:Z,height:K}=e,te=k+K;for(let J=0;J=k&&(B=J,R=I),L===void 0&&ue>te&&(L=J),I=ue}B===void 0&&(B=0,R=0,L=Math.ceil(K/Z)),L===void 0&&(L=U-1),L=Math.min(L+1,U),g(O,{scrollHeight:I,start:B,end:L,offset:R})},{immediate:!0});const $=z(()=>O.scrollHeight-e.height);function x(I){let B=I;return Number.isNaN($.value)||(B=Math.min(B,$.value)),B=Math.max(B,0),B}const P=z(()=>l.scrollTop<=0),M=z(()=>l.scrollTop>=$.value),j=DL(P,M);function T(I){b(I)}function E(I){var B;const{scrollTop:R}=I.currentTarget;R!==l.scrollTop&&b(R),(B=e.onScroll)===null||B===void 0||B.call(e,I)}const[F,A]=KJ(r,P,M,I=>{b(B=>B+I)});tK(r,d,(I,B)=>j(I,B)?!1:(F({preventDefault(){},deltaY:I}),!0));function W(I){r.value&&I.preventDefault()}const _=()=>{d.value&&(d.value.removeEventListener("wheel",F,kt?{passive:!1}:!1),d.value.removeEventListener("DOMMouseScroll",A),d.value.removeEventListener("MozMousePixelScroll",W))};Ve(()=>{rt(()=>{d.value&&(_(),d.value.addEventListener("wheel",F,kt?{passive:!1}:!1),d.value.addEventListener("DOMMouseScroll",A),d.value.addEventListener("MozMousePixelScroll",W))})}),Xe(()=>{_()});const N=ZJ(d,c,y,e,p,h,b,()=>{var I;(I=f.value)===null||I===void 0||I.delayHidden()});n({scrollTo:N});const D=z(()=>{let I=null;return e.height&&(I=g({[e.fullHeight?"height":"maxHeight"]:e.height+"px"},aK),r.value&&(I.overflowY="hidden",l.scrollMoving&&(I.pointerEvents="none"))),I});return de([()=>O.start,()=>O.end,c],()=>{if(e.onVisibleChange){const I=c.value.slice(O.start,O.end+1);e.onVisibleChange(I,c.value)}},{flush:"post"}),{state:l,mergedData:c,componentStyle:D,onFallbackScroll:E,onScrollBar:T,componentRef:d,useVirtual:r,calRes:O,collectHeight:h,setInstance:m,sharedConfig:v,scrollBarRef:f,fillerInnerRef:s,delayHideScrollBar:()=>{var I;(I=f.value)===null||I===void 0||I.delayHidden()}}},render(){const e=g(g({},this.$props),this.$attrs),{prefixCls:t="rc-virtual-list",height:n,itemHeight:r,fullHeight:a,data:l,itemKey:o,virtual:c,component:u="div",onScroll:d,children:s=this.$slots.default,style:f,class:p}=e,v=nK(e,["prefixCls","height","itemHeight","fullHeight","data","itemKey","virtual","component","onScroll","children","style","class"]),b=re(t,p),{scrollTop:m}=this.state,{scrollHeight:h,offset:y,start:S,end:O}=this.calRes,{componentStyle:w,onFallbackScroll:$,onScrollBar:x,useVirtual:P,collectHeight:M,sharedConfig:j,setInstance:T,mergedData:E,delayHideScrollBar:F}=this;return i("div",H({style:g(g({},f),{position:"relative"}),class:b},v),[i(u,{class:`${t}-holder`,style:w,ref:"componentRef",onScroll:$,onMouseenter:F},{default:()=>[i(U1,{prefixCls:t,height:h,offset:y,onInnerResize:M,ref:"fillerInnerRef"},{default:()=>lK(E,S,O,T,s,j)})]}),P&&i(YJ,{ref:"scrollBarRef",prefixCls:t,scrollTop:m,height:n,scrollHeight:h,count:E.length,onScroll:x,onStartMove:()=>{this.state.scrollMoving=!0},onStopMove:()=>{this.state.scrollMoving=!1}},null)])}});function BL(e,t,n){const r=ne(e());return de(t,(a,l)=>{n?n(a,l)&&(r.value=e()):r.value=e()}),r}function oK(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}const NL=Symbol("SelectContextKey");function iK(e){return qe(NL,e)}function cK(){return Ue(NL,{})}var uK=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a`${a.prefixCls}-item`),c=BL(()=>l.flattenOptions,[()=>a.open,()=>l.flattenOptions],$=>$[0]),u=Jo(),d=$=>{$.preventDefault()},s=$=>{u.current&&u.current.scrollTo(typeof $=="number"?{index:$}:$)},f=function($){let x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const P=c.value.length;for(let M=0;M1&&arguments[1]!==void 0?arguments[1]:!1;p.activeIndex=$;const P={source:x?"keyboard":"mouse"},M=c.value[$];if(!M){l.onActiveValue(null,-1,P);return}l.onActiveValue(M.value,$,P)};de([()=>c.value.length,()=>a.searchValue],()=>{v(l.defaultActiveFirstOption!==!1?f(0):-1)},{immediate:!0});const b=$=>l.rawValues.has($)&&a.mode!=="combobox";de([()=>a.open,()=>a.searchValue],()=>{if(!a.multiple&&a.open&&l.rawValues.size===1){const $=Array.from(l.rawValues)[0],x=xn(c.value).findIndex(P=>{let{data:M}=P;return M[l.fieldNames.value]===$});x!==-1&&(v(x),rt(()=>{s(x)}))}a.open&&rt(()=>{var $;($=u.current)===null||$===void 0||$.scrollTo(void 0)})},{immediate:!0,flush:"post"});const m=$=>{$!==void 0&&l.onSelect($,{selected:!l.rawValues.has($)}),a.multiple||a.toggleOpen(!1)},h=$=>typeof $.label=="function"?$.label():$.label;function y($){const x=c.value[$];if(!x)return null;const P=x.data||{},{value:M}=P,{group:j}=x,T=ga(P,!0),E=h(x);return x?i("div",H(H({"aria-label":typeof E=="string"&&!j?E:null},T),{},{key:$,role:j?"presentation":"option",id:`${a.id}_list_${$}`,"aria-selected":b(M)}),[M]):null}return n({onKeydown:$=>{const{which:x,ctrlKey:P}=$;switch(x){case fe.N:case fe.P:case fe.UP:case fe.DOWN:{let M=0;if(x===fe.UP?M=-1:x===fe.DOWN?M=1:oK()&&P&&(x===fe.N?M=1:x===fe.P&&(M=-1)),M!==0){const j=f(p.activeIndex+M,M);s(j),v(j,!0)}break}case fe.ENTER:{const M=c.value[p.activeIndex];M&&!M.data.disabled?m(M.value):m(void 0),a.open&&$.preventDefault();break}case fe.ESC:a.toggleOpen(!1),a.open&&$.stopPropagation()}},onKeyup:()=>{},scrollTo:$=>{s($)}}),()=>{const{id:$,notFoundContent:x,onPopupScroll:P}=a,{menuItemSelectedIcon:M,fieldNames:j,virtual:T,listHeight:E,listItemHeight:F}=l,A=r.option,{activeIndex:W}=p,_=Object.keys(j).map(N=>j[N]);return c.value.length===0?i("div",{role:"listbox",id:`${$}_list`,class:`${o.value}-empty`,onMousedown:d},[x]):i(et,null,[i("div",{role:"listbox",id:`${$}_list`,style:{height:0,width:0,overflow:"hidden"}},[y(W-1),y(W),y(W+1)]),i(FL,{itemKey:"key",ref:u,data:c.value,height:E,itemHeight:F,fullHeight:!1,onMousedown:d,onScroll:P,virtual:T},{default:(N,D)=>{var V;const{group:I,groupOption:B,data:R,value:L}=N,{key:U}=R,Y=typeof N.label=="function"?N.label():N.label;if(I){const he=(V=R.title)!==null&&V!==void 0?V:PS(Y)&&Y;return i("div",{class:re(o.value,`${o.value}-group`),title:he},[A?A(R):Y!==void 0?Y:U])}const{disabled:k,title:Z,children:K,style:te,class:J,className:X}=R,Q=uK(R,["disabled","title","children","style","class","className"]),oe=at(Q,_),ue=b(L),ye=`${o.value}-option`,Oe=re(o.value,ye,J,X,{[`${ye}-grouped`]:B,[`${ye}-active`]:W===D&&!k,[`${ye}-disabled`]:k,[`${ye}-selected`]:ue}),pe=h(N),we=!M||typeof M=="function"||ue,se=typeof pe=="number"?pe:pe||L;let ie=PS(se)?se.toString():void 0;return Z!==void 0&&(ie=Z),i("div",H(H({},oe),{},{"aria-selected":ue,class:Oe,title:ie,onMousemove:he=>{Q.onMousemove&&Q.onMousemove(he),!(W===D||k)&&v(D)},onClick:he=>{k||m(L),Q.onClick&&Q.onClick(he)},style:te}),[i("div",{class:`${ye}-content`},[A?A(R):se]),Wt(M)||ue,we&&i(Wa,{class:`${o.value}-option-state`,customizeIcon:M,customizeIconProps:{isSelected:ue}},{default:()=>[ue?"✓":null]})])}})])}}});var dK=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a1&&arguments[1]!==void 0?arguments[1]:!1;return bt(e).map((r,a)=>{var l;if(!Wt(r)||!r.type)return null;const{type:{isSelectOptGroup:o},key:c,children:u,props:d}=r;if(t||!o)return fK(r);const s=u&&u.default?u.default():void 0,f=(d==null?void 0:d.label)||((l=u.label)===null||l===void 0?void 0:l.call(u))||c;return g(g({key:`__RC_SELECT_GRP__${c===null?a:String(c)}__`},d),{label:f,options:LL(s||[])})}).filter(r=>r)}function pK(e,t,n){const r=q(),a=q(),l=q(),o=q([]);return de([e,t],()=>{e.value?o.value=xn(e.value).slice():o.value=LL(t.value)},{immediate:!0,deep:!0}),Ve(()=>{const c=o.value,u=new Map,d=new Map,s=n.value;function f(p){let v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(let b=0;b0&&arguments[0]!==void 0?arguments[0]:ne("");const t=`rc_select_${mK()}`;return e.value||t}function VL(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function bs(e,t){return VL(e).join("").toUpperCase().includes(t)}const hK=(e,t,n,r,a)=>z(()=>{const l=n.value,o=a==null?void 0:a.value,c=r==null?void 0:r.value;if(!l||c===!1)return e.value;const{options:u,label:d,value:s}=t.value,f=[],p=typeof c=="function",v=l.toUpperCase(),b=p?c:(h,y)=>o?bs(y[o],v):y[u]?bs(y[d!=="children"?d:"label"],v):bs(y[s],v),m=p?h=>A4(h):h=>h;return e.value.forEach(h=>{if(h[u]){if(b(l,m(h)))f.push(h);else{const S=h[u].filter(O=>b(l,m(O)));S.length&&f.push(g(g({},h),{[u]:S}))}return}b(l,m(h))&&f.push(h)}),f}),bK=(e,t)=>{const n=q({values:new Map,options:new Map});return[z(()=>{const{values:l,options:o}=n.value,c=e.value.map(s=>{var f;return s.label===void 0?g(g({},s),{label:(f=l.get(s.value))===null||f===void 0?void 0:f.label}):s}),u=new Map,d=new Map;return c.forEach(s=>{u.set(s.value,s),d.set(s.value,t.value.get(s.value)||o.get(s.value))}),n.value.values=u,n.value.options=d,c}),l=>t.value.get(l)||n.value.options.get(l)]};function Ft(e,t){const{defaultValue:n,value:r=ne()}=t||{};let a=typeof e=="function"?e():e;r.value!==void 0&&(a=Ht(r)),n!==void 0&&(a=typeof n=="function"?n():n);const l=ne(a),o=ne(a);Ve(()=>{let u=r.value!==void 0?r.value:l.value;t.postState&&(u=t.postState(u)),o.value=u});function c(u){const d=o.value;l.value=u,xn(o.value)!==u&&t.onChange&&t.onChange(u,d)}return de(r,()=>{l.value=r.value}),[o,c]}function ft(e){const t=typeof e=="function"?e():e,n=ne(t);function r(a){n.value=a}return[n,r]}const yK=["inputValue"];function RL(){return g(g({},HL()),{prefixCls:String,id:String,backfill:{type:Boolean,default:void 0},fieldNames:Object,inputValue:String,searchValue:String,onSearch:Function,autoClearSearchValue:{type:Boolean,default:void 0},onSelect:Function,onDeselect:Function,filterOption:{type:[Boolean,Function],default:void 0},filterSort:Function,optionFilterProp:String,optionLabelProp:String,options:Array,defaultActiveFirstOption:{type:Boolean,default:void 0},virtual:{type:Boolean,default:void 0},listHeight:Number,listItemHeight:Number,menuItemSelectedIcon:G.any,mode:String,labelInValue:{type:Boolean,default:void 0},value:G.any,defaultValue:G.any,onChange:Function,children:Array})}function OK(e){return!e||typeof e!="object"}const SK=ee({compatConfig:{MODE:3},name:"VcSelect",inheritAttrs:!1,props:lt(RL(),{prefixCls:"vc-select",autoClearSearchValue:!0,listHeight:200,listItemHeight:20,dropdownMatchSelectWidth:!0}),setup(e,t){let{expose:n,attrs:r,slots:a}=t;const l=gK(Ne(e,"id")),o=z(()=>AL(e.mode)),c=z(()=>!!(!e.options&&e.children)),u=z(()=>e.filterOption===void 0&&e.mode==="combobox"?!1:e.filterOption),d=z(()=>eL(e.fieldNames,c.value)),[s,f]=Ft("",{value:z(()=>e.searchValue!==void 0?e.searchValue:e.inputValue),postState:J=>J||""}),p=pK(Ne(e,"options"),Ne(e,"children"),d),{valueOptions:v,labelOptions:b,options:m}=p,h=J=>VL(J).map(Q=>{var oe,ue;let ye,Oe,pe,we;OK(Q)?ye=Q:(pe=Q.key,Oe=Q.label,ye=(oe=Q.value)!==null&&oe!==void 0?oe:pe);const se=v.value.get(ye);return se&&(Oe===void 0&&(Oe=se==null?void 0:se[e.optionLabelProp||d.value.label]),pe===void 0&&(pe=(ue=se==null?void 0:se.key)!==null&&ue!==void 0?ue:ye),we=se==null?void 0:se.disabled),{label:Oe,value:ye,key:pe,disabled:we,option:se}}),[y,S]=Ft(e.defaultValue,{value:Ne(e,"value")}),O=z(()=>{var J;const X=h(y.value);return e.mode==="combobox"&&!(!((J=X[0])===null||J===void 0)&&J.value)?[]:X}),[w,$]=bK(O,v),x=z(()=>{if(!e.mode&&w.value.length===1){const J=w.value[0];if(J.value===null&&(J.label===null||J.label===void 0))return[]}return w.value.map(J=>{var X;return g(g({},J),{label:(X=typeof J.label=="function"?J.label():J.label)!==null&&X!==void 0?X:J.value})})}),P=z(()=>new Set(w.value.map(J=>J.value)));Ve(()=>{var J;if(e.mode==="combobox"){const X=(J=w.value[0])===null||J===void 0?void 0:J.value;X!=null&&f(String(X))}},{flush:"post"});const M=(J,X)=>{const Q=X??J;return{[d.value.value]:J,[d.value.label]:Q}},j=q();Ve(()=>{if(e.mode!=="tags"){j.value=m.value;return}const J=m.value.slice(),X=Q=>v.value.has(Q);[...w.value].sort((Q,oe)=>Q.value{const oe=Q.value;X(oe)||J.push(M(oe,Q.label))}),j.value=J});const T=hK(j,d,s,u,Ne(e,"optionFilterProp")),E=z(()=>e.mode!=="tags"||!s.value||T.value.some(J=>J[e.optionFilterProp||"value"]===s.value)?T.value:[M(s.value),...T.value]),F=z(()=>e.filterSort?[...E.value].sort((J,X)=>e.filterSort(J,X)):E.value),A=z(()=>LX(F.value,{fieldNames:d.value,childrenAsData:c.value})),W=J=>{const X=h(J);if(S(X),e.onChange&&(X.length!==w.value.length||X.some((Q,oe)=>{var ue;return((ue=w.value[oe])===null||ue===void 0?void 0:ue.value)!==(Q==null?void 0:Q.value)}))){const Q=e.labelInValue?X.map(ue=>g(g({},ue),{originLabel:ue.label,label:typeof ue.label=="function"?ue.label():ue.label})):X.map(ue=>ue.value),oe=X.map(ue=>A4($(ue.value)));e.onChange(o.value?Q:Q[0],o.value?oe:oe[0])}},[_,N]=ft(null),[D,V]=ft(0),I=z(()=>e.defaultActiveFirstOption!==void 0?e.defaultActiveFirstOption:e.mode!=="combobox"),B=function(J,X){let{source:Q="keyboard"}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};V(X),e.backfill&&e.mode==="combobox"&&J!==null&&Q==="keyboard"&&N(String(J))},R=(J,X)=>{const Q=()=>{var oe;const ue=$(J),ye=ue==null?void 0:ue[d.value.label];return[e.labelInValue?{label:typeof ye=="function"?ye():ye,originLabel:ye,value:J,key:(oe=ue==null?void 0:ue.key)!==null&&oe!==void 0?oe:J}:J,A4(ue)]};if(X&&e.onSelect){const[oe,ue]=Q();e.onSelect(oe,ue)}else if(!X&&e.onDeselect){const[oe,ue]=Q();e.onDeselect(oe,ue)}},L=(J,X)=>{let Q;const oe=o.value?X.selected:!0;oe?Q=o.value?[...w.value,J]:[J]:Q=w.value.filter(ue=>ue.value!==J),W(Q),R(J,oe),e.mode==="combobox"?N(""):(!o.value||e.autoClearSearchValue)&&(f(""),N(""))},U=(J,X)=>{W(J),(X.type==="remove"||X.type==="clear")&&X.values.forEach(Q=>{R(Q.value,!1)})},Y=(J,X)=>{var Q;if(f(J),N(null),X.source==="submit"){const oe=(J||"").trim();if(oe){const ue=Array.from(new Set([...P.value,oe]));W(ue),R(oe,!0),f("")}return}X.source!=="blur"&&(e.mode==="combobox"&&W(J),(Q=e.onSearch)===null||Q===void 0||Q.call(e,J))},k=J=>{let X=J;e.mode!=="tags"&&(X=J.map(oe=>{const ue=b.value.get(oe);return ue==null?void 0:ue.value}).filter(oe=>oe!==void 0));const Q=Array.from(new Set([...P.value,...X]));W(Q),Q.forEach(oe=>{R(oe,!0)})},Z=z(()=>e.virtual!==!1&&e.dropdownMatchSelectWidth!==!1);iK(EL(g(g({},p),{flattenOptions:A,onActiveValue:B,defaultActiveFirstOption:I,onSelect:L,menuItemSelectedIcon:Ne(e,"menuItemSelectedIcon"),rawValues:P,fieldNames:d,virtual:Z,listHeight:Ne(e,"listHeight"),listItemHeight:Ne(e,"listItemHeight"),childrenAsData:c})));const K=ne();n({focus(){var J;(J=K.value)===null||J===void 0||J.focus()},blur(){var J;(J=K.value)===null||J===void 0||J.blur()},scrollTo(J){var X;(X=K.value)===null||X===void 0||X.scrollTo(J)}});const te=z(()=>at(e,["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"]));return()=>i(kJ,H(H(H({},te.value),r),{},{id:l,prefixCls:e.prefixCls,ref:K,omitDomProps:yK,mode:e.mode,displayValues:x.value,onDisplayValuesChange:U,searchValue:s.value,onSearch:Y,onSearchSplit:k,dropdownMatchSelectWidth:e.dropdownMatchSelectWidth,OptionList:sK,emptyOptions:!A.value.length,activeValue:_.value,activeDescendantId:`${l}_list_${D.value}`}),a)}}),V0=()=>null;V0.isSelectOption=!0;V0.displayName="ASelectOption";const R0=()=>null;R0.isSelectOptGroup=!0;R0.displayName="ASelectOptGroup";var $K={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},wK=Symbol("iconContext"),W0=function(){return Ue(wK,{prefixCls:ne("anticon"),rootClassName:ne(""),csp:ne()})};function G0(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function PK(e,t){return e&&e.contains?e.contains(t):!1}var xS="data-vc-order",CK="vc-icon-key",G4=new Map;function WL(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):CK}function U0(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function xK(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function GL(e){return Array.from((G4.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function UL(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!G0())return null;var n=t.csp,r=t.prepend,a=document.createElement("style");a.setAttribute(xS,xK(r)),n&&n.nonce&&(a.nonce=n.nonce),a.innerHTML=e;var l=U0(t),o=l.firstChild;if(r){if(r==="queue"){var c=GL(l).filter(function(u){return["prepend","prependQueue"].includes(u.getAttribute(xS))});if(c.length)return l.insertBefore(a,c[c.length-1].nextSibling),a}l.insertBefore(a,o)}else l.appendChild(a);return a}function zK(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=U0(t);return GL(n).find(function(r){return r.getAttribute(WL(t))===e})}function MK(e,t){var n=G4.get(e);if(!n||!PK(document,n)){var r=UL("",t),a=r.parentNode;G4.set(e,a),e.removeChild(r)}}function jK(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=U0(n);MK(r,n);var a=zK(t,n);if(a)return n.csp&&n.csp.nonce&&a.nonce!==n.csp.nonce&&(a.nonce=n.csp.nonce),a.innerHTML!==e&&(a.innerHTML=e),a;var l=UL(e,n);return l.setAttribute(WL(n),t),l}function zS(e){for(var t=1;t * { + line-height: 1; +} + +.anticon svg { + display: inline-block; +} + +.anticon::before { + display: none; +} + +.anticon .anticon-icon { + display: block; +} + +.anticon[tabindex] { + cursor: pointer; +} + +.anticon-spin::before, +.anticon-spin { + display: inline-block; + -webkit-animation: loadingCircle 1s infinite linear; + animation: loadingCircle 1s infinite linear; +} + +@-webkit-keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +@keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +`;function XL(e){return e&&e.getRootNode&&e.getRootNode()}function HK(e){return G0()?XL(e)instanceof ShadowRoot:!1}function AK(e){return HK(e)?XL(e):null}var IK=function(){var t=W0(),n=t.prefixCls,r=t.csp,a=_n(),l=EK;n&&(l=l.replace(/anticon/g,n.value)),rt(function(){if(G0()){var o=a.vnode.el,c=AK(o);jK(l,"@ant-design-vue-icons",{prepend:!0,csp:r.value,attachTo:c})}})},DK=["icon","primaryColor","secondaryColor"];function FK(e,t){if(e==null)return{};var n=BK(e,t),r,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function BK(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,l;for(l=0;l=0)&&(n[a]=e[a]);return n}function Pc(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function eee(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,l;for(l=0;l=0)&&(n[a]=e[a]);return n}q0(qk.primary);var C=function(t,n){var r,a=_S({},t,n.attrs),l=a.class,o=a.icon,c=a.spin,u=a.rotate,d=a.tabindex,s=a.twoToneColor,f=a.onClick,p=KK(a,kK),v=W0(),b=v.prefixCls,m=v.rootClassName,h=(r={},wo(r,m.value,!!m.value),wo(r,b.value,!0),wo(r,"".concat(b.value,"-").concat(o.name),!!o.name),wo(r,"".concat(b.value,"-spin"),!!c||o.name==="loading"),r),y=d;y===void 0&&f&&(y=-1);var S=u?{msTransform:"rotate(".concat(u,"deg)"),transform:"rotate(".concat(u,"deg)")}:void 0,O=kL(s),w=XK(O,2),$=w[0],x=w[1];return i("span",_S({role:"img","aria-label":o.name},p,{onClick:f,class:[h,l],tabindex:y}),[i(ha,{icon:o,primaryColor:$,secondaryColor:x,style:S},null),i(QL,null,null)])};C.props={spin:Boolean,rotate:Number,icon:Object,twoToneColor:[String,Array]};C.displayName="AntdIcon";C.inheritAttrs=!1;C.getTwoToneColor=YL;C.setTwoToneColor=q0;function ES(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{};const{loading:n,multiple:r,prefixCls:a,hasFeedback:l,feedbackIcon:o,showArrow:c}=e,u=e.suffixIcon||t.suffixIcon&&t.suffixIcon(),d=e.clearIcon||t.clearIcon&&t.clearIcon(),s=e.menuItemSelectedIcon||t.menuItemSelectedIcon&&t.menuItemSelectedIcon(),f=e.removeIcon||t.removeIcon&&t.removeIcon(),p=d??i(Gt,null,null),v=y=>i(et,null,[c!==!1&&y,l&&o]);let b=null;if(u!==void 0)b=v(u);else if(n)b=v(i(pn,{spin:!0},null));else{const y=`${a}-suffix`;b=S=>{let{open:O,showSearch:w}=S;return v(O&&w?i(no,{class:y},null):i(Ja,{class:y},null))}}let m=null;s!==void 0?m=s:r?m=i(Ka,null,null):m=null;let h=null;return f!==void 0?h=f:h=i(vn,null,null),{clearIcon:p,suffixIcon:b,itemIcon:m,removeIcon:h}}function k0(e){const t=Symbol("contextKey");return{useProvide:(a,l)=>{const o=ht({});return qe(t,o),Ve(()=>{g(o,a,l||{})}),o},useInject:()=>Ue(t,e)||{}}}const r1=Symbol("ContextProps"),a1=Symbol("InternalContextProps"),pee=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:z(()=>!0);const n=ne(new Map),r=(l,o)=>{n.value.set(l,o),n.value=new Map(n.value)},a=l=>{n.value.delete(l),n.value=new Map(n.value)};de([t,n],()=>{}),qe(r1,e),qe(a1,{addFormItemField:r,removeFormItemField:a})},q4={id:z(()=>{}),onFieldBlur:()=>{},onFieldChange:()=>{},clearValidate:()=>{}},k4={addFormItemField:()=>{},removeFormItemField:()=>{}},en=()=>{const e=Ue(a1,k4),t=Symbol("FormItemFieldKey"),n=_n();return e.addFormItemField(t,n.type),Xe(()=>{e.removeFormItemField(t)}),qe(a1,k4),qe(r1,q4),Ue(r1,q4)},X4=ee({compatConfig:{MODE:3},name:"AFormItemRest",setup(e,t){let{slots:n}=t;return qe(a1,k4),qe(r1,q4),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),Tn=k0({}),l1=ee({name:"NoFormStatus",setup(e,t){let{slots:n}=t;return Tn.useProvide({}),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}});function ar(e,t,n){return re({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:n})}const el=(e,t)=>t||e,vee=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},mee=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item`]:{"&:empty":{display:"none"}}}}},ZL=Je("Space",e=>[mee(e),vee(e)]);var gee="[object Symbol]";function q1(e){return typeof e=="symbol"||jn(e)&&Cr(e)==gee}function k1(e,t){for(var n=-1,r=e==null?0:e.length,a=Array(r);++n0){if(++t>=Eee)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Dee(e){return function(){return e}}var o1=function(){try{var e=Qa(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Fee=o1?function(e,t){return o1(e,"toString",{configurable:!0,enumerable:!1,value:Dee(t),writable:!0})}:X0,KL=Iee(Fee);function Bee(e,t){for(var n=-1,r=e==null?0:e.length;++n-1}function Q0(e,t,n){t=="__proto__"&&o1?o1(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Vee=Object.prototype,Ree=Vee.hasOwnProperty;function X1(e,t,n){var r=e[t];(!(Ree.call(e,t)&&ci(r,n))||n===void 0&&!(t in e))&&Q0(e,t,n)}function tl(e,t,n,r){var a=!n;n||(n={});for(var l=-1,o=t.length;++l1?n[a-1]:void 0,o=a>2?n[2]:void 0;for(l=e.length>3&&typeof l=="function"?(a--,l):void 0,o&&Wee(n[0],n[1],o)&&(l=a<3?void 0:l,a=1),t=Object(t);++ra?0:a+t),n=n>a?a:n,n<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var l=Array(a);++r=r?e:oV(e,t,n)}var mte="\\ud800-\\udfff",gte="\\u0300-\\u036f",hte="\\ufe20-\\ufe2f",bte="\\u20d0-\\u20ff",yte=gte+hte+bte,Ote="\\ufe0e\\ufe0f",Ste="\\u200d",$te=RegExp("["+Ste+mte+yte+Ote+"]");function iV(e){return $te.test(e)}function wte(e){return e.split("")}var cV="\\ud800-\\udfff",Pte="\\u0300-\\u036f",Cte="\\ufe20-\\ufe2f",xte="\\u20d0-\\u20ff",zte=Pte+Cte+xte,Mte="\\ufe0e\\ufe0f",jte="["+cV+"]",Y4="["+zte+"]",Q4="\\ud83c[\\udffb-\\udfff]",Tte="(?:"+Y4+"|"+Q4+")",uV="[^"+cV+"]",sV="(?:\\ud83c[\\udde6-\\uddff]){2}",dV="[\\ud800-\\udbff][\\udc00-\\udfff]",_te="\\u200d",fV=Tte+"?",pV="["+Mte+"]?",Ete="(?:"+_te+"(?:"+[uV,sV,dV].join("|")+")"+pV+fV+")*",Hte=pV+fV+Ete,Ate="(?:"+[uV+Y4+"?",Y4,sV,dV,jte].join("|")+")",Ite=RegExp(Q4+"(?="+Q4+")|"+Ate+Hte,"g");function Dte(e){return e.match(Ite)||[]}function Fte(e){return iV(e)?Dte(e):wte(e)}function Bte(e){return function(t){t=ro(t);var n=iV(t)?Fte(t):void 0,r=n?n[0]:t.charAt(0),a=n?vte(n,1).join(""):t.slice(1);return r[e]()+a}}var Nte=Bte("toUpperCase");function Lte(e){return Nte(ro(e).toLowerCase())}function Vte(e,t,n,r){for(var a=-1,l=e==null?0:e.length;++a=t?e:t)),e}function KNe(e,t,n){return n===void 0&&(n=t,t=void 0),n!==void 0&&(n=jl(n),n=n===n?n:0),t!==void 0&&(t=jl(t),t=t===t?t:0),jne(jl(e),t,n)}function Tne(e,t){return e&&tl(t,Za(t),e)}function _ne(e,t){return e&&tl(t,fi(t),e)}var MV=typeof exports=="object"&&exports&&!exports.nodeType&&exports,YS=MV&&typeof module=="object"&&module&&!module.nodeType&&module,Ene=YS&&YS.exports===MV,QS=Ene?sr.Buffer:void 0,ZS=QS?QS.allocUnsafe:void 0;function jV(e,t){if(t)return e.slice();var n=e.length,r=ZS?ZS(n):new e.constructor(n);return e.copy(r),r}function Hne(e,t){return tl(e,H0(e),t)}var Ane=Object.getOwnPropertySymbols,TV=Ane?function(e){for(var t=[];e;)E0(t,H0(e)),e=t3(e);return t}:gL;function Ine(e,t){return tl(e,TV(e),t)}function _V(e){return mL(e,fi,TV)}var Dne=Object.prototype,Fne=Dne.hasOwnProperty;function Bne(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&Fne.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function n3(e){var t=new e.constructor(e.byteLength);return new t1(t).set(new t1(e)),t}function Nne(e,t){var n=t?n3(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var Lne=/\w*$/;function Vne(e){var t=new e.constructor(e.source,Lne.exec(e));return t.lastIndex=e.lastIndex,t}var JS=Gn?Gn.prototype:void 0,KS=JS?JS.valueOf:void 0;function Rne(e){return KS?Object(KS.call(e)):{}}function EV(e,t){var n=t?n3(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Wne="[object Boolean]",Gne="[object Date]",Une="[object Map]",qne="[object Number]",kne="[object RegExp]",Xne="[object Set]",Yne="[object String]",Qne="[object Symbol]",Zne="[object ArrayBuffer]",Jne="[object DataView]",Kne="[object Float32Array]",ere="[object Float64Array]",tre="[object Int8Array]",nre="[object Int16Array]",rre="[object Int32Array]",are="[object Uint8Array]",lre="[object Uint8ClampedArray]",ore="[object Uint16Array]",ire="[object Uint32Array]";function cre(e,t,n){var r=e.constructor;switch(t){case Zne:return n3(e);case Wne:case Gne:return new r(+e);case Jne:return Nne(e,n);case Kne:case ere:case tre:case nre:case rre:case are:case lre:case ore:case ire:return EV(e,n);case Une:return new r;case qne:case Yne:return new r(e);case kne:return Vne(e);case Xne:return new r;case Qne:return Rne(e)}}function HV(e){return typeof e.constructor=="function"&&!ui(e)?jee(t3(e)):{}}var ure="[object Map]";function sre(e){return jn(e)&&Nn(e)==ure}var e$=Yl&&Yl.isMap,dre=e$?V1(e$):sre,fre="[object Set]";function pre(e){return jn(e)&&Nn(e)==fre}var t$=Yl&&Yl.isSet,vre=t$?V1(t$):pre,mre=1,gre=2,hre=4,AV="[object Arguments]",bre="[object Array]",yre="[object Boolean]",Ore="[object Date]",Sre="[object Error]",IV="[object Function]",$re="[object GeneratorFunction]",wre="[object Map]",Pre="[object Number]",DV="[object Object]",Cre="[object RegExp]",xre="[object Set]",zre="[object String]",Mre="[object Symbol]",jre="[object WeakMap]",Tre="[object ArrayBuffer]",_re="[object DataView]",Ere="[object Float32Array]",Hre="[object Float64Array]",Are="[object Int8Array]",Ire="[object Int16Array]",Dre="[object Int32Array]",Fre="[object Uint8Array]",Bre="[object Uint8ClampedArray]",Nre="[object Uint16Array]",Lre="[object Uint32Array]",St={};St[AV]=St[bre]=St[Tre]=St[_re]=St[yre]=St[Ore]=St[Ere]=St[Hre]=St[Are]=St[Ire]=St[Dre]=St[wre]=St[Pre]=St[DV]=St[Cre]=St[xre]=St[zre]=St[Mre]=St[Fre]=St[Bre]=St[Nre]=St[Lre]=!0;St[Sre]=St[IV]=St[jre]=!1;function _o(e,t,n,r,a,l){var o,c=t&mre,u=t&gre,d=t&hre;if(n&&(o=a?n(e,r,a,l):n(e)),o!==void 0)return o;if(!Kt(e))return e;var s=Yt(e);if(s){if(o=Bne(e),!c)return Y0(e,o)}else{var f=Nn(e),p=f==IV||f==$re;if(Xl(e))return jV(e,c);if(f==DV||f==AV||p&&!a){if(o=u||p?{}:HV(e),!c)return u?Ine(e,_ne(o,e)):Hne(e,Tne(o,e))}else{if(!St[f])return a?e:{};o=cre(e,f,c)}}l||(l=new rr);var v=l.get(e);if(v)return v;l.set(e,o),vre(e)?e.forEach(function(h){o.add(_o(h,t,n,h,e,l))}):dre(e)&&e.forEach(function(h,y){o.set(y,_o(h,t,n,y,e,l))});var b=d?u?_V:N4:u?fi:Za,m=s?void 0:b(e);return Bee(m||e,function(h,y){m&&(y=h,h=e[y]),X1(o,y,_o(h,t,n,y,e,l))}),o}var Vre=1,Rre=4;function Cc(e){return _o(e,Vre|Rre)}var Wre=1,Gre=2;function Ure(e,t,n,r){var a=n.length,l=a;if(e==null)return!l;for(e=Object(e);a--;){var o=n[a];if(o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++a=t||P<0||f&&M>=l}function y(){var x=ys();if(h(x))return S(x);c=setTimeout(y,m(x))}function S(x){return c=void 0,p&&r?v(x):(r=a=void 0,o)}function O(){c!==void 0&&clearTimeout(c),d=0,r=u=a=c=void 0}function w(){return c===void 0?o:S(ys())}function $(){var x=ys(),P=h(x);if(r=arguments,a=this,u=x,P){if(c===void 0)return b(u);if(f)return clearTimeout(c),c=setTimeout(y,t),v(u)}return c===void 0&&(c=setTimeout(y,t)),o}return $.cancel=O,$.flush=w,$}function Z4(e,t,n){(n!==void 0&&!ci(e[t],n)||n===void 0&&!(t in e))&&Q0(e,t,n)}function VV(e){return jn(e)&&ma(e)}function J4(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function fae(e){return tl(e,fi(e))}function pae(e,t,n,r,a,l,o){var c=J4(e,n),u=J4(t,n),d=o.get(u);if(d){Z4(e,n,d);return}var s=l?l(c,u,n+"",e,t,o):void 0,f=s===void 0;if(f){var p=Yt(u),v=!p&&Xl(u),b=!p&&!v&&R1(u);s=u,p||v||b?Yt(c)?s=c:VV(c)?s=Y0(c):v?(f=!1,s=jV(u,!0)):b?(f=!1,s=EV(u,!0)):s=[]:Q1(u)||kl(u)?(s=c,kl(c)?s=fae(c):(!Kt(c)||T0(c))&&(s=HV(u))):f=!1}f&&(o.set(u,s),a(s,u,r,l,o),o.delete(u)),Z4(e,n,s)}function l3(e,t,n,r,a){e!==t&&LV(t,function(l,o){if(a||(a=new rr),Kt(l))pae(e,t,o,n,l3,r,a);else{var c=r?r(J4(e,o),l,o+"",e,t,a):void 0;c===void 0&&(c=l),Z4(e,o,c)}},fi)}var eLe=J0(function(e,t,n,r){l3(e,t,n,r)});function vae(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function mae(e){return function(t,n,r){var a=Object(t);if(!ma(t)){var l=r3(n);t=Za(t),n=function(c){return l(a[c],c,a)}}var o=e(t,n,r);return o>-1?a[l?t[o]:o]:void 0}}var gae=Math.max;function hae(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var a=n==null?0:Mee(n);return a<0&&(a=gae(r+a,0)),eV(e,r3(t),a)}var bae=mae(hae);function yae(e){for(var t=-1,n=e==null?0:e.length,r={};++t=120&&s.length>=120?new ql(o&&s):void 0}s=e[0];var f=-1,p=c[0];e:for(;++f1),l}),tl(e,_V(e),n),r&&(n=_o(n,Aae|Iae|Dae,Hae));for(var a=t.length;a--;)Eae(n,t[a]);return n});function Bae(e,t,n,r){if(!Kt(e))return e;t=ao(t,e);for(var a=-1,l=t.length,o=l-1,c=e;c!=null&&++a-1;)c!==e&&n$.call(c,u,1),n$.call(e,u,1);return e}function Gae(e,t){return e&&e.length&&t&&t.length?Wae(e,t):e}var cLe=Z0(Gae),Uae="Expected a function";function uLe(e,t,n){var r=!0,a=!0;if(typeof e!="function")throw new TypeError(Uae);return Kt(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),a3(e,t,{leading:r,maxWait:t,trailing:a})}var qae=1/0,kae=Ml&&1/_0(new Ml([,-0]))[1]==qae?function(e){return new Ml(e)}:_ee,Xae=200;function Yae(e,t,n){var r=-1,a=nV,l=e.length,o=!0,c=[],u=c;if(l>=Xae){var d=kae(e);if(d)return _0(d);o=!1,a=e1,u=new ql}else u=c;e:for(;++r({compactSize:String,compactDirection:G.oneOf(dn("horizontal","vertical")).def("horizontal"),isFirstItem:$e(),isLastItem:$e()}),Z1=k0(null),oo=(e,t)=>{const n=Z1.useInject(),r=z(()=>{if(!n||RV(n))return"";const{compactDirection:a,isFirstItem:l,isLastItem:o}=n,c=a==="vertical"?"-vertical-":"-";return re({[`${e.value}-compact${c}item`]:!0,[`${e.value}-compact${c}first-item`]:l,[`${e.value}-compact${c}last-item`]:o,[`${e.value}-compact${c}item-rtl`]:t.value==="rtl"})});return{compactSize:z(()=>n==null?void 0:n.compactSize),compactDirection:z(()=>n==null?void 0:n.compactDirection),compactItemClassnames:r}},Ko=ee({name:"NoCompactStyle",setup(e,t){let{slots:n}=t;return Z1.useProvide(null),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),Jae=()=>({prefixCls:String,size:{type:String},direction:G.oneOf(dn("horizontal","vertical")).def("horizontal"),align:G.oneOf(dn("start","end","center","baseline")),block:{type:Boolean,default:void 0}}),Kae=ee({name:"CompactItem",props:Zae(),setup(e,t){let{slots:n}=t;return Z1.useProvide(e),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),K4=ee({name:"ASpaceCompact",inheritAttrs:!1,props:Jae(),setup(e,t){let{attrs:n,slots:r}=t;const{prefixCls:a,direction:l}=je("space-compact",e),o=Z1.useInject(),[c,u]=ZL(a),d=z(()=>re(a.value,u.value,{[`${a.value}-rtl`]:l.value==="rtl",[`${a.value}-block`]:e.block,[`${a.value}-vertical`]:e.direction==="vertical"}));return()=>{var s;const f=bt(((s=r.default)===null||s===void 0?void 0:s.call(r))||[]);return f.length===0?null:c(i("div",H(H({},n),{},{class:[d.value,n.class]}),[f.map((p,v)=>{var b;const m=p&&p.key||`${a.value}-item-${v}`,h=!o||RV(o);return i(Kae,{key:m,compactSize:(b=e.size)!==null&&b!==void 0?b:"middle",compactDirection:e.direction,isFirstItem:v===0&&(h||(o==null?void 0:o.isFirstItem)),isLastItem:v===f.length-1&&(h||(o==null?void 0:o.isLastItem))},{default:()=>[p]})})]))}}}),ele=e=>({animationDuration:e,animationFillMode:"both"}),tle=e=>({animationDuration:e,animationFillMode:"both"}),J1=function(e,t,n,r){const l=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` + ${l}${e}-enter, + ${l}${e}-appear + `]:g(g({},ele(r)),{animationPlayState:"paused"}),[`${l}${e}-leave`]:g(g({},tle(r)),{animationPlayState:"paused"}),[` + ${l}${e}-enter${e}-enter-active, + ${l}${e}-appear${e}-appear-active + `]:{animationName:t,animationPlayState:"running"},[`${l}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},nle=new Ze("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),rle=new Ze("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),ale=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,a=t?"&":"";return[J1(r,nle,rle,e.motionDurationMid,t),{[` + ${a}${r}-enter, + ${a}${r}-appear + `]:{opacity:0,animationTimingFunction:"linear"},[`${a}${r}-leave`]:{animationTimingFunction:"linear"}}]},lle=new Ze("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ole=new Ze("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),ile=new Ze("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),cle=new Ze("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),ule=new Ze("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),sle=new Ze("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),dle=new Ze("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),fle=new Ze("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),ple={"move-up":{inKeyframes:dle,outKeyframes:fle},"move-down":{inKeyframes:lle,outKeyframes:ole},"move-left":{inKeyframes:ile,outKeyframes:cle},"move-right":{inKeyframes:ule,outKeyframes:sle}},Ql=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:l}=ple[t];return[J1(r,a,l,e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},K1=new Ze("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),eu=new Ze("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),tu=new Ze("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),nu=new Ze("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),vle=new Ze("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),mle=new Ze("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),gle=new Ze("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),hle=new Ze("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),ble={"slide-up":{inKeyframes:K1,outKeyframes:eu},"slide-down":{inKeyframes:tu,outKeyframes:nu},"slide-left":{inKeyframes:vle,outKeyframes:mle},"slide-right":{inKeyframes:gle,outKeyframes:hle}},$r=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:l}=ble[t];return[J1(r,a,l,e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},o3=new Ze("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),yle=new Ze("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),r$=new Ze("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),a$=new Ze("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),Ole=new Ze("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),Sle=new Ze("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),$le=new Ze("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),wle=new Ze("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),Ple=new Ze("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),Cle=new Ze("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),xle=new Ze("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),zle=new Ze("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),Mle={zoom:{inKeyframes:o3,outKeyframes:yle},"zoom-big":{inKeyframes:r$,outKeyframes:a$},"zoom-big-fast":{inKeyframes:r$,outKeyframes:a$},"zoom-left":{inKeyframes:$le,outKeyframes:wle},"zoom-right":{inKeyframes:Ple,outKeyframes:Cle},"zoom-up":{inKeyframes:Ole,outKeyframes:Sle},"zoom-down":{inKeyframes:xle,outKeyframes:zle}},pi=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:l}=Mle[t];return[J1(r,a,l,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},ru=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),l$=e=>{const{controlPaddingHorizontal:t}=e;return{position:"relative",display:"block",minHeight:e.controlHeight,padding:`${(e.controlHeight-e.fontSize*e.lineHeight)/2}px ${t}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,boxSizing:"border-box"}},jle=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`;return[{[`${n}-dropdown`]:g(g({},tt(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` + &${t}-slide-up-enter${t}-slide-up-enter-active${n}-dropdown-placement-bottomLeft, + &${t}-slide-up-appear${t}-slide-up-appear-active${n}-dropdown-placement-bottomLeft + `]:{animationName:K1},[` + &${t}-slide-up-enter${t}-slide-up-enter-active${n}-dropdown-placement-topLeft, + &${t}-slide-up-appear${t}-slide-up-appear-active${n}-dropdown-placement-topLeft + `]:{animationName:tu},[`&${t}-slide-up-leave${t}-slide-up-leave-active${n}-dropdown-placement-bottomLeft`]:{animationName:eu},[`&${t}-slide-up-leave${t}-slide-up-leave-active${n}-dropdown-placement-topLeft`]:{animationName:nu},"&-hidden":{display:"none"},"&-empty":{color:e.colorTextDisabled},[`${r}-empty`]:g(g({},l$(e)),{color:e.colorTextDisabled}),[`${r}`]:g(g({},l$(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":g({flex:"auto"},zn),"&-state":{flex:"none"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.controlItemBgHover},[`&-selected:not(${r}-option-disabled)`]:{color:e.colorText,fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive,[`${r}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},$r(e,"slide-up"),$r(e,"slide-down"),Ql(e,"move-up"),Ql(e,"move-down")]},il=2;function GV(e){let{controlHeightSM:t,controlHeight:n,lineWidth:r}=e;const a=(n-t)/2-r,l=Math.ceil(a/2);return[a,l]}function Ss(e,t){const{componentCls:n,iconCls:r}=e,a=`${n}-selection-overflow`,l=e.controlHeightSM,[o]=GV(e),c=t?`${n}-${t}`:"";return{[`${n}-multiple${c}`]:{fontSize:e.fontSize,[a]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${o-il}px ${il*2}px`,borderRadius:e.borderRadius,[`${n}-show-search&`]:{cursor:"text"},[`${n}-disabled&`]:{background:e.colorBgContainerDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${il}px 0`,lineHeight:`${l}px`,content:'"\\a0"'}},[` + &${n}-show-arrow ${n}-selector, + &${n}-allow-clear ${n}-selector + `]:{paddingInlineEnd:e.fontSizeIcon+e.controlPaddingHorizontal},[`${n}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:l,marginTop:il,marginBottom:il,lineHeight:`${l-e.lineWidth*2}px`,background:e.colorFillSecondary,border:`${e.lineWidth}px solid ${e.colorSplit}`,borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,userSelect:"none",marginInlineEnd:il*2,paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS/2,[`${n}-disabled&`]:{color:e.colorTextDisabled,borderColor:e.colorBorder,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":g(g({},oi()),{display:"inline-block",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${r}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${a}-item + ${a}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.inputPaddingHorizontalBase-o,"\n &-input,\n &-mirror\n ":{height:l,fontFamily:e.fontFamily,lineHeight:`${l}px`,transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}}function Tle(e){const{componentCls:t}=e,n=Ge(e,{controlHeight:e.controlHeightSM,controlHeightSM:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),[,r]=GV(e);return[Ss(e),Ss(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInlineStart:e.controlPaddingHorizontalSM-e.lineWidth,insetInlineEnd:"auto"},[`${t}-selection-search`]:{marginInlineStart:r}}},Ss(Ge(e,{fontSize:e.fontSizeLG,controlHeight:e.controlHeightLG,controlHeightSM:e.controlHeight,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius}),"lg")]}function $s(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:a}=e,l=e.controlHeight-e.lineWidth*2,o=Math.ceil(e.fontSize*1.25),c=t?`${n}-${t}`:"";return{[`${n}-single${c}`]:{fontSize:e.fontSize,[`${n}-selector`]:g(g({},tt(e)),{display:"flex",borderRadius:a,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%"}},[` + ${n}-selection-item, + ${n}-selection-placeholder + `]:{padding:0,lineHeight:`${l}px`,transition:`all ${e.motionDurationSlow}`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${l}px`}},[`${n}-selection-item`]:{position:"relative",userSelect:"none"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:after`,`${n}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` + &${n}-show-arrow ${n}-selection-item, + &${n}-show-arrow ${n}-selection-placeholder + `]:{paddingInlineEnd:o},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:e.controlHeight,padding:`0 ${r}px`,[`${n}-selection-search-input`]:{height:l},"&:after":{lineHeight:`${l}px`}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${r}px`,"&:after":{display:"none"}}}}}}}function _le(e){const{componentCls:t}=e,n=e.controlPaddingHorizontalSM-e.lineWidth;return[$s(e),$s(Ge(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${n}px`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:n+e.fontSize*1.5},[` + &${t}-show-arrow ${t}-selection-item, + &${t}-show-arrow ${t}-selection-placeholder + `]:{paddingInlineEnd:e.fontSize*1.5}}}},$s(Ge(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}function Ele(e,t,n){const{focusElCls:r,focus:a,borderElCls:l}=n,o=l?"> *":"",c=["hover",a?"focus":null,"active"].filter(Boolean).map(u=>`&:${u} ${o}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:-e.lineWidth},"&-item":g(g({[c]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${o}`]:{zIndex:0}})}}function Hle(e,t,n){const{borderElCls:r}=n,a=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${a}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${a}, &${e}-sm ${a}, &${e}-lg ${a}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${a}, &${e}-sm ${a}, &${e}-lg ${a}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function vi(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:g(g({},Ele(e,r,t)),Hle(n,r,t))}}const Ale=e=>{const{componentCls:t}=e;return{position:"relative",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${t}-disabled&`]:{color:e.colorTextDisabled,background:e.colorBgContainerDisabled,cursor:"not-allowed",[`${t}-multiple&`]:{background:e.colorBgContainerDisabled},input:{cursor:"not-allowed"}}}},ws=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:r,borderHoverColor:a,outlineColor:l,antCls:o}=t,c=n?{[`${r}-selector`]:{borderColor:a}}:{};return{[e]:{[`&:not(${r}-disabled):not(${r}-customize-input):not(${o}-pagination-size-changer)`]:g(g({},c),{[`${r}-focused& ${r}-selector`]:{borderColor:a,boxShadow:`0 0 0 ${t.controlOutlineWidth}px ${l}`,borderInlineEndWidth:`${t.controlLineWidth}px !important`,outline:0},[`&:hover ${r}-selector`]:{borderColor:a,borderInlineEndWidth:`${t.controlLineWidth}px !important`}})}}},Ile=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},Dle=e=>{const{componentCls:t,inputPaddingHorizontalBase:n,iconCls:r}=e;return{[t]:g(g({},tt(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${t}-customize-input) ${t}-selector`]:g(g({},Ale(e)),Ile(e)),[`${t}-selection-item`]:g({flex:1,fontWeight:"normal"},zn),[`${t}-selection-placeholder`]:g(g({},zn),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${t}-arrow`]:g(g({},oi()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[r]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${t}-suffix)`]:{pointerEvents:"auto"}},[`${t}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:e.colorBgContainer,cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${t}-clear`]:{opacity:1}}}),[`${t}-has-feedback`]:{[`${t}-clear`]:{insetInlineEnd:n+e.fontSize+e.paddingXXS}}}},Fle=e=>{const{componentCls:t}=e;return[{[t]:{[`&-borderless ${t}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${t}-in-form-item`]:{width:"100%"}}},Dle(e),_le(e),Tle(e),jle(e),{[`${t}-rtl`]:{direction:"rtl"}},ws(t,Ge(e,{borderHoverColor:e.colorPrimaryHover,outlineColor:e.controlOutline})),ws(`${t}-status-error`,Ge(e,{borderHoverColor:e.colorErrorHover,outlineColor:e.colorErrorOutline}),!0),ws(`${t}-status-warning`,Ge(e,{borderHoverColor:e.colorWarningHover,outlineColor:e.colorWarningOutline}),!0),vi(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},Ble=Je("Select",(e,t)=>{let{rootPrefixCls:n}=t;const r=Ge(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.paddingSM-1});return[Fle(r)]},e=>({zIndexPopup:e.zIndexPopupBase+50})),i3=()=>g(g({},at(RL(),["inputIcon","mode","getInputElement","getRawInputElement","backfill"])),{value:Ye([Array,Object,String,Number]),defaultValue:Ye([Array,Object,String,Number]),notFoundContent:G.any,suffixIcon:G.any,itemIcon:G.any,size:Le(),mode:Le(),bordered:$e(!0),transitionName:String,choiceTransitionName:Le(""),popupClassName:String,dropdownClassName:String,placement:Le(),status:Le(),"onUpdate:value":ce()}),o$="SECRET_COMBOBOX_MODE_DO_NOT_USE",On=ee({compatConfig:{MODE:3},name:"ASelect",Option:V0,OptGroup:R0,inheritAttrs:!1,props:lt(i3(),{listHeight:256,listItemHeight:24}),SECRET_COMBOBOX_MODE_DO_NOT_USE:o$,slots:Object,setup(e,t){let{attrs:n,emit:r,slots:a,expose:l}=t;const o=ne(),c=en(),u=Tn.useInject(),d=z(()=>el(u.status,e.status)),s=()=>{var L;(L=o.value)===null||L===void 0||L.focus()},f=()=>{var L;(L=o.value)===null||L===void 0||L.blur()},p=L=>{var U;(U=o.value)===null||U===void 0||U.scrollTo(L)},v=z(()=>{const{mode:L}=e;if(L!=="combobox")return L===o$?"combobox":L}),{prefixCls:b,direction:m,configProvider:h,renderEmpty:y,size:S,getPrefixCls:O,getPopupContainer:w,disabled:$,select:x}=je("select",e),{compactSize:P,compactItemClassnames:M}=oo(b,m),j=z(()=>P.value||S.value),T=Rn(),E=z(()=>{var L;return(L=$.value)!==null&&L!==void 0?L:T.value}),[F,A]=Ble(b),W=z(()=>O()),_=z(()=>e.placement!==void 0?e.placement:m.value==="rtl"?"bottomRight":"bottomLeft"),N=z(()=>Sr(W.value,rJ(_.value),e.transitionName)),D=z(()=>re({[`${b.value}-lg`]:j.value==="large",[`${b.value}-sm`]:j.value==="small",[`${b.value}-rtl`]:m.value==="rtl",[`${b.value}-borderless`]:!e.bordered,[`${b.value}-in-form-item`]:u.isFormItemInput},ar(b.value,d.value,u.hasFeedback),M.value,A.value)),V=function(){for(var L=arguments.length,U=new Array(L),Y=0;Y{r("blur",L),c.onFieldBlur()};l({blur:f,focus:s,scrollTo:p});const B=z(()=>v.value==="multiple"||v.value==="tags"),R=z(()=>e.showArrow!==void 0?e.showArrow:e.loading||!(B.value||v.value==="combobox"));return()=>{var L,U,Y,k;const{notFoundContent:Z,listHeight:K=256,listItemHeight:te=24,popupClassName:J,dropdownClassName:X,virtual:Q,dropdownMatchSelectWidth:oe,id:ue=c.id.value,placeholder:ye=(L=a.placeholder)===null||L===void 0?void 0:L.call(a),showArrow:Oe}=e,{hasFeedback:pe,feedbackIcon:we}=u;let se;Z!==void 0?se=Z:a.notFoundContent?se=a.notFoundContent():v.value==="combobox"?se=null:se=(y==null?void 0:y("Select"))||i(S0,{componentName:"Select"},null);const{suffixIcon:ie,itemIcon:he,removeIcon:Ce,clearIcon:Pe}=fee(g(g({},e),{multiple:B.value,prefixCls:b.value,hasFeedback:pe,feedbackIcon:we,showArrow:R.value}),a),xe=at(e,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered","status"]),Be=re(J||X,{[`${b.value}-dropdown-${m.value}`]:m.value==="rtl"},A.value);return F(i(SK,H(H(H({ref:o,virtual:Q,dropdownMatchSelectWidth:oe},xe),n),{},{showSearch:(U=e.showSearch)!==null&&U!==void 0?U:(Y=x==null?void 0:x.value)===null||Y===void 0?void 0:Y.showSearch,placeholder:ye,listHeight:K,listItemHeight:te,mode:v.value,prefixCls:b.value,direction:m.value,inputIcon:ie,menuItemSelectedIcon:he,removeIcon:Ce,clearIcon:Pe,notFoundContent:se,class:[D.value,n.class],getPopupContainer:w==null?void 0:w.value,dropdownClassName:Be,onChange:V,onBlur:I,id:ue,dropdownRender:xe.dropdownRender||a.dropdownRender,transitionName:N.value,children:(k=a.default)===null||k===void 0?void 0:k.call(a),tagRender:e.tagRender||a.tagRender,optionLabelRender:a.optionLabel,maxTagPlaceholder:e.maxTagPlaceholder||a.maxTagPlaceholder,showArrow:pe||Oe,disabled:E.value}),{option:a.option}))}}});On.install=function(e){return e.component(On.name,On),e.component(On.Option.displayName,On.Option),e.component(On.OptGroup.displayName,On.OptGroup),e};const dLe=On.Option;On.OptGroup;var Nle={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"};function i$(e){for(var t=1;t({backgroundColor:e,border:`${r.lineWidth}px ${r.lineType} ${t}`,[`${a}-icon`]:{color:n}}),Kle=e=>{const{componentCls:t,motionDurationSlow:n,marginXS:r,marginSM:a,fontSize:l,fontSizeLG:o,lineHeight:c,borderRadiusLG:u,motionEaseInOutCirc:d,alertIconSizeLG:s,colorText:f,paddingContentVerticalSM:p,alertPaddingHorizontal:v,paddingMD:b,paddingContentHorizontalLG:m}=e;return{[t]:g(g({},tt(e)),{position:"relative",display:"flex",alignItems:"center",padding:`${p}px ${v}px`,wordWrap:"break-word",borderRadius:u,[`&${t}-rtl`]:{direction:"rtl"},[`${t}-content`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:r,lineHeight:0},"&-description":{display:"none",fontSize:l,lineHeight:c},"&-message":{color:f},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${n} ${d}, opacity ${n} ${d}, + padding-top ${n} ${d}, padding-bottom ${n} ${d}, + margin-bottom ${n} ${d}`},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${t}-with-description`]:{alignItems:"flex-start",paddingInline:m,paddingBlock:b,[`${t}-icon`]:{marginInlineEnd:a,fontSize:s,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:r,color:f,fontSize:o},[`${t}-description`]:{display:"block"}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},eoe=e=>{const{componentCls:t,colorSuccess:n,colorSuccessBorder:r,colorSuccessBg:a,colorWarning:l,colorWarningBorder:o,colorWarningBg:c,colorError:u,colorErrorBorder:d,colorErrorBg:s,colorInfo:f,colorInfoBorder:p,colorInfoBg:v}=e;return{[t]:{"&-success":Ki(a,r,n,e,t),"&-info":Ki(v,p,f,e,t),"&-warning":Ki(c,o,l,e,t),"&-error":g(g({},Ki(s,d,u,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},toe=e=>{const{componentCls:t,iconCls:n,motionDurationMid:r,marginXS:a,fontSizeIcon:l,colorIcon:o,colorIconHover:c}=e;return{[t]:{"&-action":{marginInlineStart:a},[`${t}-close-icon`]:{marginInlineStart:a,padding:0,overflow:"hidden",fontSize:l,lineHeight:`${l}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:o,transition:`color ${r}`,"&:hover":{color:c}}},"&-close-text":{color:o,transition:`color ${r}`,"&:hover":{color:c}}}}},noe=e=>[Kle(e),eoe(e),toe(e)],roe=Je("Alert",e=>{const{fontSizeHeading3:t}=e,n=Ge(e,{alertIconSizeLG:t,alertPaddingHorizontal:12});return[noe(n)]}),aoe={success:Un,info:Qr,error:Gt,warning:qn},loe={success:mi,info:hi,error:bi,warning:gi},ooe=dn("success","info","warning","error"),ioe=()=>({type:G.oneOf(ooe),closable:{type:Boolean,default:void 0},closeText:G.any,message:G.any,description:G.any,afterClose:Function,showIcon:{type:Boolean,default:void 0},prefixCls:String,banner:{type:Boolean,default:void 0},icon:G.any,closeIcon:G.any,onClose:Function}),coe=ee({compatConfig:{MODE:3},name:"AAlert",inheritAttrs:!1,props:ioe(),setup(e,t){let{slots:n,emit:r,attrs:a,expose:l}=t;const{prefixCls:o,direction:c}=je("alert",e),[u,d]=roe(o),s=q(!1),f=q(!1),p=q(),v=y=>{y.preventDefault();const S=p.value;S.style.height=`${S.offsetHeight}px`,S.style.height=`${S.offsetHeight}px`,s.value=!0,r("close",y)},b=()=>{var y;s.value=!1,f.value=!0,(y=e.afterClose)===null||y===void 0||y.call(e)},m=z(()=>{const{type:y}=e;return y!==void 0?y:e.banner?"warning":"info"});l({animationEnd:b});const h=q({});return()=>{var y,S,O,w,$,x,P,M,j,T;const{banner:E,closeIcon:F=(y=n.closeIcon)===null||y===void 0?void 0:y.call(n)}=e;let{closable:A,showIcon:W}=e;const _=(S=e.closeText)!==null&&S!==void 0?S:(O=n.closeText)===null||O===void 0?void 0:O.call(n),N=(w=e.description)!==null&&w!==void 0?w:($=n.description)===null||$===void 0?void 0:$.call(n),D=(x=e.message)!==null&&x!==void 0?x:(P=n.message)===null||P===void 0?void 0:P.call(n),V=(M=e.icon)!==null&&M!==void 0?M:(j=n.icon)===null||j===void 0?void 0:j.call(n),I=(T=n.action)===null||T===void 0?void 0:T.call(n);W=E&&W===void 0?!0:W;const B=(N?loe:aoe)[m.value]||null;_&&(A=!0);const R=o.value,L=re(R,{[`${R}-${m.value}`]:!0,[`${R}-closing`]:s.value,[`${R}-with-description`]:!!N,[`${R}-no-icon`]:!W,[`${R}-banner`]:!!E,[`${R}-closable`]:A,[`${R}-rtl`]:c.value==="rtl",[d.value]:!0}),U=A?i("button",{type:"button",onClick:v,class:`${R}-close-icon`,tabindex:0},[_?i("span",{class:`${R}-close-text`},[_]):F===void 0?i(vn,null,null):F]):null,Y=V&&(Wt(V)?mt(V,{class:`${R}-icon`}):i("span",{class:`${R}-icon`},[V]))||i(B,{class:`${R}-icon`},null),k=Gr(`${R}-motion`,{appear:!1,css:!0,onAfterLeave:b,onBeforeLeave:Z=>{Z.style.maxHeight=`${Z.offsetHeight}px`},onLeave:Z=>{Z.style.maxHeight="0px"}});return u(f.value?null:i(sn,k,{default:()=>[Vn(i("div",H(H({role:"alert"},a),{},{style:[a.style,h.value],class:[a.class,L],"data-show":!s.value,ref:p}),[W?Y:null,i("div",{class:`${R}-content`},[D?i("div",{class:`${R}-message`},[D]):null,N?i("div",{class:`${R}-description`},[N]):null]),I?i("div",{class:`${R}-action`},[I]):null,U]),[[lr,!s.value]])]}))}}}),fLe=tn(coe),Ar=["xxxl","xxl","xl","lg","md","sm","xs"],uoe=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`,xxxl:`{min-width: ${e.screenXXXL}px}`});function c3(){const[,e]=kr();return z(()=>{const t=uoe(e.value),n=new Map;let r=-1,a={};return{matchHandlers:{},dispatch(l){return a=l,n.forEach(o=>o(a)),n.size>=1},subscribe(l){return n.size||this.register(),r+=1,n.set(r,l),l(a),r},unsubscribe(l){n.delete(l),n.size||this.unregister()},unregister(){Object.keys(t).forEach(l=>{const o=t[l],c=this.matchHandlers[o];c==null||c.mql.removeListener(c==null?void 0:c.listener)}),n.clear()},register(){Object.keys(t).forEach(l=>{const o=t[l],c=d=>{let{matches:s}=d;this.dispatch(g(g({},a),{[l]:s}))},u=window.matchMedia(o);u.addListener(c),this.matchHandlers[o]={mql:u,listener:c},c(u)})},responsiveMap:t}})}function yi(){const e=q({});let t=null;const n=c3();return We(()=>{t=n.value.subscribe(r=>{e.value=r})}),wr(()=>{n.value.unsubscribe(t)}),e}function yn(e){const t=q();return Ve(()=>{t.value=e()},{flush:"sync"}),t}const soe=e=>{const{antCls:t,componentCls:n,iconCls:r,avatarBg:a,avatarColor:l,containerSize:o,containerSizeLG:c,containerSizeSM:u,textFontSize:d,textFontSizeLG:s,textFontSizeSM:f,borderRadius:p,borderRadiusLG:v,borderRadiusSM:b,lineWidth:m,lineType:h}=e,y=(S,O,w)=>({width:S,height:S,lineHeight:`${S-m*2}px`,borderRadius:"50%",[`&${n}-square`]:{borderRadius:w},[`${n}-string`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transformOrigin:"0 center"},[`&${n}-icon`]:{fontSize:O,[`> ${r}`]:{margin:0}}});return{[n]:g(g(g(g({},tt(e)),{position:"relative",display:"inline-block",overflow:"hidden",color:l,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:a,border:`${m}px ${h} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),y(o,d,p)),{"&-lg":g({},y(c,s,v)),"&-sm":g({},y(u,f,b)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},doe=e=>{const{componentCls:t,groupBorderColor:n,groupOverlapping:r,groupSpace:a}=e;return{[`${t}-group`]:{display:"inline-flex",[`${t}`]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:r}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:a}}}},UV=Je("Avatar",e=>{const{colorTextLightSolid:t,colorTextPlaceholder:n}=e,r=Ge(e,{avatarBg:n,avatarColor:t});return[soe(r),doe(r)]},e=>{const{controlHeight:t,controlHeightLG:n,controlHeightSM:r,fontSize:a,fontSizeLG:l,fontSizeXL:o,fontSizeHeading3:c,marginXS:u,marginXXS:d,colorBorderBg:s}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:r,textFontSize:Math.round((l+o)/2),textFontSizeLG:c,textFontSizeSM:a,groupSpace:d,groupOverlapping:-u,groupBorderColor:s}}),qV=Symbol("AvatarContextKey"),foe=()=>Ue(qV,{}),poe=e=>qe(qV,e),voe=()=>({prefixCls:String,shape:{type:String,default:"circle"},size:{type:[Number,String,Object],default:()=>"default"},src:String,srcset:String,icon:G.any,alt:String,gap:Number,draggable:{type:Boolean,default:void 0},crossOrigin:String,loadError:{type:Function}}),Eo=ee({compatConfig:{MODE:3},name:"AAvatar",inheritAttrs:!1,props:voe(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const a=q(!0),l=q(!1),o=q(1),c=q(null),u=q(null),{prefixCls:d}=je("avatar",e),[s,f]=UV(d),p=foe(),v=z(()=>e.size==="default"?p.size:e.size),b=yi(),m=yn(()=>{if(typeof e.size!="object")return;const O=Ar.find($=>b.value[$]);return e.size[O]}),h=O=>m.value?{width:`${m.value}px`,height:`${m.value}px`,lineHeight:`${m.value}px`,fontSize:`${O?m.value/2:18}px`}:{},y=()=>{if(!c.value||!u.value)return;const O=c.value.offsetWidth,w=u.value.offsetWidth;if(O!==0&&w!==0){const{gap:$=4}=e;$*2{const{loadError:O}=e;(O==null?void 0:O())!==!1&&(a.value=!1)};return de(()=>e.src,()=>{rt(()=>{a.value=!0,o.value=1})}),de(()=>e.gap,()=>{rt(()=>{y()})}),We(()=>{rt(()=>{y(),l.value=!0})}),()=>{var O,w;const{shape:$,src:x,alt:P,srcset:M,draggable:j,crossOrigin:T}=e,E=(O=p.shape)!==null&&O!==void 0?O:$,F=At(n,e,"icon"),A=d.value,W={[`${r.class}`]:!!r.class,[A]:!0,[`${A}-lg`]:v.value==="large",[`${A}-sm`]:v.value==="small",[`${A}-${E}`]:!0,[`${A}-image`]:x&&a.value,[`${A}-icon`]:F,[f.value]:!0},_=typeof v.value=="number"?{width:`${v.value}px`,height:`${v.value}px`,lineHeight:`${v.value}px`,fontSize:F?`${v.value/2}px`:"18px"}:{},N=(w=n.default)===null||w===void 0?void 0:w.call(n);let D;if(x&&a.value)D=i("img",{draggable:j,src:x,srcset:M,onError:S,alt:P,crossorigin:T},null);else if(F)D=F;else if(l.value||o.value!==1){const V=`scale(${o.value}) translateX(-50%)`,I={msTransform:V,WebkitTransform:V,transform:V},B=typeof v.value=="number"?{lineHeight:`${v.value}px`}:{};D=i(yr,{onResize:y},{default:()=>[i("span",{class:`${A}-string`,ref:c,style:g(g({},B),I)},[N])]})}else D=i("span",{class:`${A}-string`,ref:c,style:{opacity:0}},[N]);return s(i("span",H(H({},r),{},{ref:u,class:W,style:[_,h(!!F),r.style]}),[D]))}}}),In={adjustX:1,adjustY:1},Dn=[0,0],kV={left:{points:["cr","cl"],overflow:In,offset:[-4,0],targetOffset:Dn},right:{points:["cl","cr"],overflow:In,offset:[4,0],targetOffset:Dn},top:{points:["bc","tc"],overflow:In,offset:[0,-4],targetOffset:Dn},bottom:{points:["tc","bc"],overflow:In,offset:[0,4],targetOffset:Dn},topLeft:{points:["bl","tl"],overflow:In,offset:[0,-4],targetOffset:Dn},leftTop:{points:["tr","tl"],overflow:In,offset:[-4,0],targetOffset:Dn},topRight:{points:["br","tr"],overflow:In,offset:[0,-4],targetOffset:Dn},rightTop:{points:["tl","tr"],overflow:In,offset:[4,0],targetOffset:Dn},bottomRight:{points:["tr","br"],overflow:In,offset:[0,4],targetOffset:Dn},rightBottom:{points:["bl","br"],overflow:In,offset:[4,0],targetOffset:Dn},bottomLeft:{points:["tl","bl"],overflow:In,offset:[0,4],targetOffset:Dn},leftBottom:{points:["br","bl"],overflow:In,offset:[-4,0],targetOffset:Dn}},moe={prefixCls:String,id:String,overlayInnerStyle:G.any},goe=ee({compatConfig:{MODE:3},name:"TooltipContent",props:moe,setup(e,t){let{slots:n}=t;return()=>{var r;return i("div",{class:`${e.prefixCls}-inner`,id:e.id,role:"tooltip",style:e.overlayInnerStyle},[(r=n.overlay)===null||r===void 0?void 0:r.call(n)])}}});var hoe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{}),overlayStyle:{type:Object,default:void 0},overlayClassName:String,prefixCls:G.string.def("rc-tooltip"),mouseEnterDelay:G.number.def(.1),mouseLeaveDelay:G.number.def(.1),getPopupContainer:Function,destroyTooltipOnHide:{type:Boolean,default:!1},align:G.object.def(()=>({})),arrowContent:G.any.def(null),tipId:String,builtinPlacements:G.object,overlayInnerStyle:{type:Object,default:void 0},popupVisible:{type:Boolean,default:void 0},onVisibleChange:Function,onPopupAlign:Function,arrow:{type:Boolean,default:!0}},setup(e,t){let{slots:n,attrs:r,expose:a}=t;const l=q(),o=()=>{const{prefixCls:s,tipId:f,overlayInnerStyle:p}=e;return[e.arrow?i("div",{class:`${s}-arrow`,key:"arrow"},[At(n,e,"arrowContent")]):null,i(goe,{key:"content",prefixCls:s,id:f,overlayInnerStyle:p},{overlay:n.overlay})]};a({getPopupDomNode:()=>l.value.getPopupDomNode(),triggerDOM:l,forcePopupAlign:()=>{var s;return(s=l.value)===null||s===void 0?void 0:s.forcePopupAlign()}});const u=q(!1),d=q(!1);return Ve(()=>{const{destroyTooltipOnHide:s}=e;if(typeof s=="boolean")u.value=s;else if(s&&typeof s=="object"){const{keepParent:f}=s;u.value=f===!0,d.value=f===!1}}),()=>{const{overlayClassName:s,trigger:f,mouseEnterDelay:p,mouseLeaveDelay:v,overlayStyle:b,prefixCls:m,afterVisibleChange:h,transitionName:y,animation:S,placement:O,align:w,destroyTooltipOnHide:$,defaultVisible:x}=e,P=hoe(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible"]),M=g({},P);e.visible!==void 0&&(M.popupVisible=e.visible);const j=g(g(g({popupClassName:s,prefixCls:m,action:f,builtinPlacements:kV,popupPlacement:O,popupAlign:w,afterPopupVisibleChange:h,popupTransitionName:y,popupAnimation:S,defaultPopupVisible:x,destroyPopupOnHide:u.value,autoDestroy:d.value,mouseLeaveDelay:v,popupStyle:b,mouseEnterDelay:p},M),r),{onPopupVisibleChange:e.onVisibleChange||v$,onPopupAlign:e.onPopupAlign||v$,ref:l,arrow:!!e.arrow,popup:o()});return i(si,j,{default:n.default})}}}),u3=()=>({trigger:[String,Array],open:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},placement:String,color:String,transitionName:String,overlayStyle:Ee(),overlayInnerStyle:Ee(),overlayClassName:String,openClassName:String,prefixCls:String,mouseEnterDelay:Number,mouseLeaveDelay:Number,getPopupContainer:Function,arrowPointAtCenter:{type:Boolean,default:void 0},arrow:{type:[Boolean,Object],default:!0},autoAdjustOverflow:{type:[Boolean,Object],default:void 0},destroyTooltipOnHide:{type:Boolean,default:void 0},align:Ee(),builtinPlacements:Ee(),children:Array,onVisibleChange:Function,"onUpdate:visible":Function,onOpenChange:Function,"onUpdate:open":Function}),yoe={adjustX:1,adjustY:1},m$={adjustX:0,adjustY:0},Ooe=[0,0];function g$(e){return typeof e=="boolean"?e?yoe:m$:g(g({},m$),e)}function XV(e){const{arrowWidth:t=4,horizontalArrowShift:n=16,verticalArrowShift:r=8,autoAdjustOverflow:a,arrowPointAtCenter:l}=e,o={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(n+t),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(r+t)]},topRight:{points:["br","tc"],offset:[n+t,-4]},rightTop:{points:["tl","cr"],offset:[4,-(r+t)]},bottomRight:{points:["tr","bc"],offset:[n+t,4]},rightBottom:{points:["bl","cr"],offset:[4,r+t]},bottomLeft:{points:["tl","bc"],offset:[-(n+t),4]},leftBottom:{points:["br","cl"],offset:[-4,r+t]}};return Object.keys(o).forEach(c=>{o[c]=l?g(g({},o[c]),{overflow:g$(a),targetOffset:Ooe}):g(g({},kV[c]),{overflow:g$(a)}),o[c].ignoreShake=!0}),o}function e2(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];for(let t=0,n=e.length;t`${e}-inverse`),$oe=["success","processing","error","default","warning"];function YV(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[...Soe,...ko].includes(e):ko.includes(e)}function woe(e){return $oe.includes(e)}function Poe(e,t){const n=YV(t),r=re({[`${e}-${t}`]:t&&n}),a={},l={};return t&&!n&&(a.background=t,l["--antd-arrow-background-color"]=t),{className:r,overlayStyle:a,arrowStyle:l}}function ec(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return e.map(n=>`${t}${n}`).join(",")}const QV=8;function ZV(e){const t=QV,{sizePopupArrow:n,contentRadius:r,borderRadiusOuter:a,limitVerticalRadius:l}=e,o=n/2-Math.ceil(a*(Math.sqrt(2)-1)),c=(r>12?r+2:12)-o,u=l?t-o:c;return{dropdownArrowOffset:c,dropdownArrowOffsetVertical:u}}function JV(e,t){const{componentCls:n,sizePopupArrow:r,marginXXS:a,borderRadiusXS:l,borderRadiusOuter:o,boxShadowPopoverArrow:c}=e,{colorBg:u,showArrowCls:d,contentRadius:s=e.borderRadiusLG,limitVerticalRadius:f}=t,{dropdownArrowOffsetVertical:p,dropdownArrowOffset:v}=ZV({sizePopupArrow:r,contentRadius:s,borderRadiusOuter:o,limitVerticalRadius:f}),b=r/2+a;return{[n]:{[`${n}-arrow`]:[g(g({position:"absolute",zIndex:1,display:"block"},b0(r,l,o,u,c)),{"&:before":{background:u}})],[[`&-placement-top ${n}-arrow`,`&-placement-topLeft ${n}-arrow`,`&-placement-topRight ${n}-arrow`].join(",")]:{bottom:0,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:v}},[`&-placement-topRight ${n}-arrow`]:{right:{_skip_check_:!0,value:v}},[[`&-placement-bottom ${n}-arrow`,`&-placement-bottomLeft ${n}-arrow`,`&-placement-bottomRight ${n}-arrow`].join(",")]:{top:0,transform:"translateY(-100%)"},[`&-placement-bottom ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:v}},[`&-placement-bottomRight ${n}-arrow`]:{right:{_skip_check_:!0,value:v}},[[`&-placement-left ${n}-arrow`,`&-placement-leftTop ${n}-arrow`,`&-placement-leftBottom ${n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:0},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${n}-arrow`]:{top:p},[`&-placement-leftBottom ${n}-arrow`]:{bottom:p},[[`&-placement-right ${n}-arrow`,`&-placement-rightTop ${n}-arrow`,`&-placement-rightBottom ${n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:0},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${n}-arrow`]:{top:p},[`&-placement-rightBottom ${n}-arrow`]:{bottom:p},[ec(["&-placement-topLeft","&-placement-top","&-placement-topRight"].map(m=>m+=":not(&-arrow-hidden)"),d)]:{paddingBottom:b},[ec(["&-placement-bottomLeft","&-placement-bottom","&-placement-bottomRight"].map(m=>m+=":not(&-arrow-hidden)"),d)]:{paddingTop:b},[ec(["&-placement-leftTop","&-placement-left","&-placement-leftBottom"].map(m=>m+=":not(&-arrow-hidden)"),d)]:{paddingRight:{_skip_check_:!0,value:b}},[ec(["&-placement-rightTop","&-placement-right","&-placement-rightBottom"].map(m=>m+=":not(&-arrow-hidden)"),d)]:{paddingLeft:{_skip_check_:!0,value:b}}}}}const Coe=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:a,tooltipBorderRadius:l,zIndexPopup:o,controlHeight:c,boxShadowSecondary:u,paddingSM:d,paddingXS:s,tooltipRadiusOuter:f}=e;return[{[t]:g(g(g(g({},tt(e)),{position:"absolute",zIndex:o,display:"block","&":[{width:"max-content"},{width:"intrinsic"}],maxWidth:n,visibility:"visible","&-hidden":{display:"none"},"--antd-arrow-background-color":a,[`${t}-inner`]:{minWidth:c,minHeight:c,padding:`${d/2}px ${s}px`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:a,borderRadius:l,boxShadow:u},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(l,QV)}},[`${t}-content`]:{position:"relative"}}),BN(e,(p,v)=>{let{darkColor:b}=v;return{[`&${t}-${p}`]:{[`${t}-inner`]:{backgroundColor:b},[`${t}-arrow`]:{"--antd-arrow-background-color":b}}}})),{"&-rtl":{direction:"rtl"}})},JV(Ge(e,{borderRadiusOuter:f}),{colorBg:"var(--antd-arrow-background-color)",showArrowCls:"",contentRadius:l,limitVerticalRadius:!0}),{[`${t}-pure`]:{position:"relative",maxWidth:"none"}}]},xoe=(e,t)=>Je("Tooltip",r=>{if((t==null?void 0:t.value)===!1)return[];const{borderRadius:a,colorTextLightSolid:l,colorBgDefault:o,borderRadiusOuter:c}=r,u=Ge(r,{tooltipMaxWidth:250,tooltipColor:l,tooltipBorderRadius:a,tooltipBg:o,tooltipRadiusOuter:c>4?4:c});return[Coe(u),pi(r,"zoom-big-fast")]},r=>{let{zIndexPopupBase:a,colorBgSpotlight:l}=r;return{zIndexPopup:a+70,colorBgDefault:l}})(e),zoe=(e,t)=>{const n={},r=g({},e);return t.forEach(a=>{e&&a in e&&(n[a]=e[a],delete r[a])}),{picked:n,omitted:r}},Moe=()=>g(g({},u3()),{title:G.any}),KV=()=>({trigger:"hover",align:{},placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0}),joe=ee({compatConfig:{MODE:3},name:"ATooltip",inheritAttrs:!1,props:lt(Moe(),{trigger:"hover",align:{},placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0}),slots:Object,setup(e,t){let{slots:n,emit:r,attrs:a,expose:l}=t;const{prefixCls:o,getPopupContainer:c,direction:u,rootPrefixCls:d}=je("tooltip",e),s=z(()=>{var T;return(T=e.open)!==null&&T!==void 0?T:e.visible}),f=ne(e2([e.open,e.visible])),p=ne();let v;de(s,T=>{Re.cancel(v),v=Re(()=>{f.value=!!T})});const b=()=>{var T;const E=(T=e.title)!==null&&T!==void 0?T:n.title;return!E&&E!==0},m=T=>{const E=b();s.value===void 0&&(f.value=E?!1:T),E||(r("update:visible",T),r("visibleChange",T),r("update:open",T),r("openChange",T))};l({getPopupDomNode:()=>p.value.getPopupDomNode(),open:f,forcePopupAlign:()=>{var T;return(T=p.value)===null||T===void 0?void 0:T.forcePopupAlign()}});const y=z(()=>{var T;const{builtinPlacements:E,autoAdjustOverflow:F,arrow:A,arrowPointAtCenter:W}=e;let _=W;return typeof A=="object"&&(_=(T=A.pointAtCenter)!==null&&T!==void 0?T:W),E||XV({arrowPointAtCenter:_,autoAdjustOverflow:F})}),S=T=>T||T==="",O=T=>{const E=T.type;if(typeof E=="object"&&T.props&&((E.__ANT_BUTTON===!0||E==="button")&&S(T.props.disabled)||E.__ANT_SWITCH===!0&&(S(T.props.disabled)||S(T.props.loading))||E.__ANT_RADIO===!0&&S(T.props.disabled))){const{picked:F,omitted:A}=zoe(nN(T),["position","left","right","top","bottom","float","display","zIndex"]),W=g(g({display:"inline-block"},F),{cursor:"not-allowed",lineHeight:1,width:T.props&&T.props.block?"100%":void 0}),_=g(g({},A),{pointerEvents:"none"}),N=mt(T,{style:_},!0);return i("span",{style:W,class:`${o.value}-disabled-compatible-wrapper`},[N])}return T},w=()=>{var T,E;return(T=e.title)!==null&&T!==void 0?T:(E=n.title)===null||E===void 0?void 0:E.call(n)},$=(T,E)=>{const F=y.value,A=Object.keys(F).find(W=>{var _,N;return F[W].points[0]===((_=E.points)===null||_===void 0?void 0:_[0])&&F[W].points[1]===((N=E.points)===null||N===void 0?void 0:N[1])});if(A){const W=T.getBoundingClientRect(),_={top:"50%",left:"50%"};A.indexOf("top")>=0||A.indexOf("Bottom")>=0?_.top=`${W.height-E.offset[1]}px`:(A.indexOf("Top")>=0||A.indexOf("bottom")>=0)&&(_.top=`${-E.offset[1]}px`),A.indexOf("left")>=0||A.indexOf("Right")>=0?_.left=`${W.width-E.offset[0]}px`:(A.indexOf("right")>=0||A.indexOf("Left")>=0)&&(_.left=`${-E.offset[0]}px`),T.style.transformOrigin=`${_.left} ${_.top}`}},x=z(()=>Poe(o.value,e.color)),P=z(()=>a["data-popover-inject"]),[M,j]=xoe(o,z(()=>!P.value));return()=>{var T,E;const{openClassName:F,overlayClassName:A,overlayStyle:W,overlayInnerStyle:_}=e;let N=(E=Mt((T=n.default)===null||T===void 0?void 0:T.call(n)))!==null&&E!==void 0?E:null;N=N.length===1?N[0]:N;let D=f.value;if(s.value===void 0&&b()&&(D=!1),!N)return null;const V=O(Wt(N)&&!zq(N)?N:i("span",null,[N])),I=re({[F||`${o.value}-open`]:!0,[V.props&&V.props.class]:V.props&&V.props.class}),B=re(A,{[`${o.value}-rtl`]:u.value==="rtl"},x.value.className,j.value),R=g(g({},x.value.overlayStyle),_),L=x.value.arrowStyle,U=g(g(g({},a),e),{prefixCls:o.value,arrow:!!e.arrow,getPopupContainer:c==null?void 0:c.value,builtinPlacements:y.value,visible:D,ref:p,overlayClassName:B,overlayStyle:g(g({},L),W),overlayInnerStyle:R,onVisibleChange:m,onPopupAlign:$,transitionName:Sr(d.value,"zoom-big-fast",e.transitionName)});return M(i(boe,U,{default:()=>[f.value?mt(V,{class:I}):V],arrowContent:()=>i("span",{class:`${o.value}-arrow-content`},null),overlay:w}))}}}),br=tn(joe),Toe=e=>{const{componentCls:t,popoverBg:n,popoverColor:r,width:a,fontWeightStrong:l,popoverPadding:o,boxShadowSecondary:c,colorTextHeading:u,borderRadiusLG:d,zIndexPopup:s,marginXS:f,colorBgElevated:p}=e;return[{[t]:g(g({},tt(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:s,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--antd-arrow-background-color":p,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:n,backgroundClip:"padding-box",borderRadius:d,boxShadow:c,padding:o},[`${t}-title`]:{minWidth:a,marginBottom:f,color:u,fontWeight:l},[`${t}-inner-content`]:{color:r}})},JV(e,{colorBg:"var(--antd-arrow-background-color)"}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",[`${t}-content`]:{display:"inline-block"}}}]},_oe=e=>{const{componentCls:t}=e;return{[t]:ko.map(n=>{const r=e[`${n}-6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},Eoe=e=>{const{componentCls:t,lineWidth:n,lineType:r,colorSplit:a,paddingSM:l,controlHeight:o,fontSize:c,lineHeight:u,padding:d}=e,s=o-Math.round(c*u),f=s/2,p=s/2-n,v=d;return{[t]:{[`${t}-inner`]:{padding:0},[`${t}-title`]:{margin:0,padding:`${f}px ${v}px ${p}px`,borderBottom:`${n}px ${r} ${a}`},[`${t}-inner-content`]:{padding:`${l}px ${v}px`}}}},Hoe=Je("Popover",e=>{const{colorBgElevated:t,colorText:n,wireframe:r}=e,a=Ge(e,{popoverBg:t,popoverColor:n,popoverPadding:12});return[Toe(a),_oe(a),r&&Eoe(a),pi(a,"zoom-big")]},e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+30,width:177}}),Aoe=()=>g(g({},u3()),{content:wt(),title:wt()}),Ioe=ee({compatConfig:{MODE:3},name:"APopover",inheritAttrs:!1,props:lt(Aoe(),g(g({},KV()),{trigger:"hover",placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1})),setup(e,t){let{expose:n,slots:r,attrs:a}=t;const l=ne();ir(e.visible===void 0),n({getPopupDomNode:()=>{var p,v;return(v=(p=l.value)===null||p===void 0?void 0:p.getPopupDomNode)===null||v===void 0?void 0:v.call(p)}});const{prefixCls:o,configProvider:c}=je("popover",e),[u,d]=Hoe(o),s=z(()=>c.getPrefixCls()),f=()=>{var p,v;const{title:b=Mt((p=r.title)===null||p===void 0?void 0:p.call(r)),content:m=Mt((v=r.content)===null||v===void 0?void 0:v.call(r))}=e,h=!!(Array.isArray(b)?b.length:b),y=!!(Array.isArray(m)?m.length:b);return!h&&!y?null:i(et,null,[h&&i("div",{class:`${o.value}-title`},[b]),i("div",{class:`${o.value}-inner-content`},[m])])};return()=>{const p=re(e.overlayClassName,d.value);return u(i(br,H(H(H({},at(e,["title","content"])),a),{},{prefixCls:o.value,ref:l,overlayClassName:p,transitionName:Sr(s.value,"zoom-big",e.transitionName),"data-popover-inject":!0}),{title:f,default:r.default}))}}}),eR=tn(Ioe),Doe=()=>({prefixCls:String,maxCount:Number,maxStyle:{type:Object,default:void 0},maxPopoverPlacement:{type:String,default:"top"},maxPopoverTrigger:String,size:{type:[Number,String,Object],default:"default"},shape:{type:String,default:"circle"}}),t2=ee({compatConfig:{MODE:3},name:"AAvatarGroup",inheritAttrs:!1,props:Doe(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:a,direction:l}=je("avatar",e),o=z(()=>`${a.value}-group`),[c,u]=UV(a);return Ve(()=>{const d={size:e.size,shape:e.shape};poe(d)}),()=>{const{maxPopoverPlacement:d="top",maxCount:s,maxStyle:f,maxPopoverTrigger:p="hover",shape:v}=e,b={[o.value]:!0,[`${o.value}-rtl`]:l.value==="rtl",[`${r.class}`]:!!r.class,[u.value]:!0},m=At(n,e),h=bt(m).map((S,O)=>mt(S,{key:`avatar-key-${O}`})),y=h.length;if(s&&s[i(Eo,{style:f,shape:v},{default:()=>[`+${y-s}`]})]})),c(i("div",H(H({},r),{},{class:b,style:r.style}),[S]))}return c(i("div",H(H({},r),{},{class:b,style:r.style}),[h]))}}});Eo.Group=t2;Eo.install=function(e){return e.component(Eo.name,Eo),e.component(t2.name,t2),e};const n2=e=>!isNaN(parseFloat(e))&&isFinite(e),cl={adjustX:1,adjustY:1},ul=[0,0],Foe={topLeft:{points:["bl","tl"],overflow:cl,offset:[0,-4],targetOffset:ul},topCenter:{points:["bc","tc"],overflow:cl,offset:[0,-4],targetOffset:ul},topRight:{points:["br","tr"],overflow:cl,offset:[0,-4],targetOffset:ul},bottomLeft:{points:["tl","bl"],overflow:cl,offset:[0,4],targetOffset:ul},bottomCenter:{points:["tc","bc"],overflow:cl,offset:[0,4],targetOffset:ul},bottomRight:{points:["tr","br"],overflow:cl,offset:[0,4],targetOffset:ul}};var Boe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ae.visible,v=>{v!==void 0&&(l.value=v)});const o=ne();a({triggerRef:o});const c=v=>{e.visible===void 0&&(l.value=!1),r("overlayClick",v)},u=v=>{e.visible===void 0&&(l.value=v),r("visibleChange",v)},d=()=>{var v;const b=(v=n.overlay)===null||v===void 0?void 0:v.call(n),m={prefixCls:`${e.prefixCls}-menu`,onClick:c};return i(et,{key:KB},[e.arrow&&i("div",{class:`${e.prefixCls}-arrow`},null),mt(b,m,!1)])},s=z(()=>{const{minOverlayWidthMatchTrigger:v=!e.alignPoint}=e;return v}),f=()=>{var v;const b=(v=n.default)===null||v===void 0?void 0:v.call(n);return l.value&&b?mt(b[0],{class:e.openClassName||`${e.prefixCls}-open`},!1):b},p=z(()=>!e.hideAction&&e.trigger.indexOf("contextmenu")!==-1?["click"]:e.hideAction);return()=>{const{prefixCls:v,arrow:b,showAction:m,overlayStyle:h,trigger:y,placement:S,align:O,getPopupContainer:w,transitionName:$,animation:x,overlayClassName:P}=e,M=Boe(e,["prefixCls","arrow","showAction","overlayStyle","trigger","placement","align","getPopupContainer","transitionName","animation","overlayClassName"]);return i(si,H(H({},M),{},{prefixCls:v,ref:o,popupClassName:re(P,{[`${v}-show-arrow`]:b}),popupStyle:h,builtinPlacements:Foe,action:y,showAction:m,hideAction:p.value||[],popupPlacement:S,popupAlign:O,popupTransitionName:$,popupAnimation:x,popupVisible:l.value,stretch:s.value?"minWidth":"",onPopupVisibleChange:u,getPopupContainer:w}),{popup:d,default:f})}}}),Noe=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0}}}}},Loe=Je("Wave",e=>[Noe(e)]);function Voe(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}function Ps(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&Voe(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function Roe(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return Ps(t)?t:Ps(n)?n:Ps(r)?r:null}function Cs(e){return Number.isNaN(e)?0:e}const Woe=ee({props:{target:Ee(),className:String},setup(e){const t=q(null),[n,r]=ft(null),[a,l]=ft([]),[o,c]=ft(0),[u,d]=ft(0),[s,f]=ft(0),[p,v]=ft(0),[b,m]=ft(!1);function h(){const{target:P}=e,M=getComputedStyle(P);r(Roe(P));const j=M.position==="static",{borderLeftWidth:T,borderTopWidth:E}=M;c(j?P.offsetLeft:Cs(-parseFloat(T))),d(j?P.offsetTop:Cs(-parseFloat(E))),f(P.offsetWidth),v(P.offsetHeight);const{borderTopLeftRadius:F,borderTopRightRadius:A,borderBottomLeftRadius:W,borderBottomRightRadius:_}=M;l([F,A,_,W].map(N=>Cs(parseFloat(N))))}let y,S,O;const w=()=>{clearTimeout(O),Re.cancel(S),y==null||y.disconnect()},$=()=>{var P;const M=(P=t.value)===null||P===void 0?void 0:P.parentElement;M&&(pa(null,M),M.parentElement&&M.parentElement.removeChild(M))};We(()=>{w(),O=setTimeout(()=>{$()},5e3);const{target:P}=e;P&&(S=Re(()=>{h(),m(!0)}),typeof ResizeObserver<"u"&&(y=new ResizeObserver(h),y.observe(P)))}),Xe(()=>{w()});const x=P=>{P.propertyName==="opacity"&&$()};return()=>{if(!b.value)return null;const P={left:`${o.value}px`,top:`${u.value}px`,width:`${s.value}px`,height:`${p.value}px`,borderRadius:a.value.map(M=>`${M}px`).join(" ")};return n&&(P["--wave-color"]=n.value),i(sn,{appear:!0,name:"wave-motion",appearFromClass:"wave-motion-appear",appearActiveClass:"wave-motion-appear",appearToClass:"wave-motion-appear wave-motion-appear-active"},{default:()=>[i("div",{ref:t,class:e.className,style:P,onTransitionend:x},null)]})}}});function Goe(e,t){const n=document.createElement("div");return n.style.position="absolute",n.style.left="0px",n.style.top="0px",e==null||e.insertBefore(n,e==null?void 0:e.firstChild),pa(i(Woe,{target:e,className:t},null),n),()=>{pa(null,n),n.parentElement&&n.parentElement.removeChild(n)}}function Uoe(e,t){const n=_n();let r;function a(){var l;const o=$n(n);r==null||r(),!(!((l=t==null?void 0:t.value)===null||l===void 0)&&l.disabled||!o)&&(r=Goe(o,e.value))}return Xe(()=>{r==null||r()}),a}const s3=ee({compatConfig:{MODE:3},name:"Wave",props:{disabled:Boolean},setup(e,t){let{slots:n}=t;const r=_n(),{prefixCls:a,wave:l}=je("wave",e),[,o]=Loe(a),c=Uoe(z(()=>re(a.value,o.value)),l);let u;const d=()=>{$n(r).removeEventListener("click",u,!0)};return We(()=>{de(()=>e.disabled,()=>{d(),rt(()=>{const s=$n(r);s==null||s.removeEventListener("click",u,!0),!(!s||s.nodeType!==1||e.disabled)&&(u=f=>{f.target.tagName==="INPUT"||!F1(f.target)||!s.getAttribute||s.getAttribute("disabled")||s.disabled||s.className.includes("disabled")||s.className.includes("-leave")||c()},s.addEventListener("click",u,!0))})},{immediate:!0,flush:"post"})}),Xe(()=>{d()}),()=>{var s;return(s=n.default)===null||s===void 0?void 0:s.call(n)[0]}}});function i1(e){return e==="danger"?{danger:!0}:{type:e}}const nR=()=>({prefixCls:String,type:String,htmlType:{type:String,default:"button"},shape:{type:String},size:{type:String},loading:{type:[Boolean,Object],default:()=>!1},disabled:{type:Boolean,default:void 0},ghost:{type:Boolean,default:void 0},block:{type:Boolean,default:void 0},danger:{type:Boolean,default:void 0},icon:G.any,href:String,target:String,title:String,onClick:La(),onMousedown:La()}),h$=e=>{e&&(e.style.width="0px",e.style.opacity="0",e.style.transform="scale(0)")},b$=e=>{rt(()=>{e&&(e.style.width=`${e.scrollWidth}px`,e.style.opacity="1",e.style.transform="scale(1)")})},y$=e=>{e&&e.style&&(e.style.width=null,e.style.opacity=null,e.style.transform=null)},qoe=ee({compatConfig:{MODE:3},name:"LoadingIcon",props:{prefixCls:String,loading:[Boolean,Object],existIcon:Boolean},setup(e){return()=>{const{existIcon:t,prefixCls:n,loading:r}=e;if(t)return i("span",{class:`${n}-loading-icon`},[i(pn,null,null)]);const a=!!r;return i(sn,{name:`${n}-loading-icon-motion`,onBeforeEnter:h$,onEnter:b$,onAfterEnter:y$,onBeforeLeave:b$,onLeave:l=>{setTimeout(()=>{h$(l)})},onAfterLeave:y$},{default:()=>[a?i("span",{class:`${n}-loading-icon`},[i(pn,null,null)]):null]})}}}),O$=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),koe=e=>{const{componentCls:t,fontSize:n,lineWidth:r,colorPrimaryHover:a,colorErrorHover:l}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-r,[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},O$(`${t}-primary`,a),O$(`${t}-danger`,l)]}};function Xoe(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:-e.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Yoe(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Qoe(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:g(g({},Xoe(e,t)),Yoe(e.componentCls,t))}}const Zoe=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:400,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:e.lineHeight,color:e.colorText,"> span":{display:"inline-block"},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},"> a":{color:"currentColor"},"&:not(:disabled)":g({},Wr(e)),[`&-icon-only${t}-compact-item`]:{flex:"none"},[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:e.lineWidth,height:`calc(100% + ${e.lineWidth*2}px)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:`calc(100% + ${e.lineWidth*2}px)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},Ur=(e,t)=>({"&:not(:disabled)":{"&:hover":e,"&:active":t}}),Joe=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Koe=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.controlHeight/2,paddingInlineEnd:e.controlHeight/2}),r2=e=>({cursor:"not-allowed",borderColor:e.colorBorder,color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,boxShadow:"none"}),c1=(e,t,n,r,a,l,o)=>({[`&${e}-background-ghost`]:g(g({color:t||void 0,backgroundColor:"transparent",borderColor:n||void 0,boxShadow:"none"},Ur(g({backgroundColor:"transparent"},l),g({backgroundColor:"transparent"},o))),{"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:a||void 0}})}),d3=e=>({"&:disabled":g({},r2(e))}),rR=e=>g({},d3(e)),u1=e=>({"&:disabled":{cursor:"not-allowed",color:e.colorTextDisabled}}),aR=e=>g(g(g(g(g({},rR(e)),{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`}),Ur({color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),c1(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:g(g(g({color:e.colorError,borderColor:e.colorError},Ur({color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),c1(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),d3(e))}),eie=e=>g(g(g(g(g({},rR(e)),{color:e.colorTextLightSolid,backgroundColor:e.colorPrimary,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`}),Ur({color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryHover},{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryActive})),c1(e.componentCls,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:g(g(g({backgroundColor:e.colorError,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`},Ur({backgroundColor:e.colorErrorHover},{backgroundColor:e.colorErrorActive})),c1(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),d3(e))}),tie=e=>g(g({},aR(e)),{borderStyle:"dashed"}),nie=e=>g(g(g({color:e.colorLink},Ur({color:e.colorLinkHover},{color:e.colorLinkActive})),u1(e)),{[`&${e.componentCls}-dangerous`]:g(g({color:e.colorError},Ur({color:e.colorErrorHover},{color:e.colorErrorActive})),u1(e))}),rie=e=>g(g(g({},Ur({color:e.colorText,backgroundColor:e.colorBgTextHover},{color:e.colorText,backgroundColor:e.colorBgTextActive})),u1(e)),{[`&${e.componentCls}-dangerous`]:g(g({color:e.colorError},u1(e)),Ur({color:e.colorErrorHover,backgroundColor:e.colorErrorBg},{color:e.colorErrorHover,backgroundColor:e.colorErrorBg}))}),aie=e=>g(g({},r2(e)),{[`&${e.componentCls}:hover`]:g({},r2(e))}),lie=e=>{const{componentCls:t}=e;return{[`${t}-default`]:aR(e),[`${t}-primary`]:eie(e),[`${t}-dashed`]:tie(e),[`${t}-link`]:nie(e),[`${t}-text`]:rie(e),[`${t}-disabled`]:aie(e)}},f3=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,iconCls:r,controlHeight:a,fontSize:l,lineHeight:o,lineWidth:c,borderRadius:u,buttonPaddingHorizontal:d}=e,s=Math.max(0,(a-l*o)/2-c),f=d-c,p=`${n}-icon-only`;return[{[`${n}${t}`]:{fontSize:l,height:a,padding:`${s}px ${f}px`,borderRadius:u,[`&${p}`]:{width:a,paddingInlineStart:0,paddingInlineEnd:0,[`&${n}-round`]:{width:"auto"},"> span":{transform:"scale(1.143)"}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`&:not(${p}) ${n}-loading-icon > ${r}`]:{marginInlineEnd:e.marginXS}}},{[`${n}${n}-circle${t}`]:Joe(e)},{[`${n}${n}-round${t}`]:Koe(e)}]},oie=e=>f3(e),iie=e=>{const t=Ge(e,{controlHeight:e.controlHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:8,borderRadius:e.borderRadiusSM});return f3(t,`${e.componentCls}-sm`)},cie=e=>{const t=Ge(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG});return f3(t,`${e.componentCls}-lg`)},uie=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},sie=Je("Button",e=>{const{controlTmpOutline:t,paddingContentHorizontal:n}=e,r=Ge(e,{colorOutlineDefault:t,buttonPaddingHorizontal:n});return[Zoe(r),iie(r),oie(r),cie(r),uie(r),lie(r),koe(r),vi(e,{focus:!1}),Qoe(e)]}),die=()=>({prefixCls:String,size:{type:String}}),lR=k0(),a2=ee({compatConfig:{MODE:3},name:"AButtonGroup",props:die(),setup(e,t){let{slots:n}=t;const{prefixCls:r,direction:a}=je("btn-group",e),[,,l]=kr();lR.useProvide(ht({size:z(()=>e.size)}));const o=z(()=>{const{size:c}=e;let u="";switch(c){case"large":u="lg";break;case"small":u="sm";break;case"middle":case void 0:break;default:yt(!c,"Button.Group","Invalid prop `size`.")}return{[`${r.value}`]:!0,[`${r.value}-${u}`]:u,[`${r.value}-rtl`]:a.value==="rtl",[l.value]:!0}});return()=>{var c;return i("div",{class:o.value},[bt((c=n.default)===null||c===void 0?void 0:c.call(n))])}}}),S$=/^[\u4e00-\u9fa5]{2}$/,$$=S$.test.bind(S$);function tc(e){return e==="text"||e==="link"}const Rt=ee({compatConfig:{MODE:3},name:"AButton",inheritAttrs:!1,__ANT_BUTTON:!0,props:lt(nR(),{type:"default"}),slots:Object,setup(e,t){let{slots:n,attrs:r,emit:a,expose:l}=t;const{prefixCls:o,autoInsertSpaceInButton:c,direction:u,size:d}=je("btn",e),[s,f]=sie(o),p=lR.useInject(),v=Rn(),b=z(()=>{var _;return(_=e.disabled)!==null&&_!==void 0?_:v.value}),m=q(null),h=q(void 0);let y=!1;const S=q(!1),O=q(!1),w=z(()=>c.value!==!1),{compactSize:$,compactItemClassnames:x}=oo(o,u),P=z(()=>typeof e.loading=="object"&&e.loading.delay?e.loading.delay||!0:!!e.loading);de(P,_=>{clearTimeout(h.value),typeof P.value=="number"?h.value=setTimeout(()=>{S.value=_},P.value):S.value=_},{immediate:!0});const M=z(()=>{const{type:_,shape:N="default",ghost:D,block:V,danger:I}=e,B=o.value,R={large:"lg",small:"sm",middle:void 0},L=$.value||(p==null?void 0:p.size)||d.value,U=L&&R[L]||"";return[x.value,{[f.value]:!0,[`${B}`]:!0,[`${B}-${N}`]:N!=="default"&&N,[`${B}-${_}`]:_,[`${B}-${U}`]:U,[`${B}-loading`]:S.value,[`${B}-background-ghost`]:D&&!tc(_),[`${B}-two-chinese-chars`]:O.value&&w.value,[`${B}-block`]:V,[`${B}-dangerous`]:!!I,[`${B}-rtl`]:u.value==="rtl"}]}),j=()=>{const _=m.value;if(!_||c.value===!1)return;const N=_.textContent;y&&$$(N)?O.value||(O.value=!0):O.value&&(O.value=!1)},T=_=>{if(S.value||b.value){_.preventDefault();return}a("click",_)},E=_=>{a("mousedown",_)},F=(_,N)=>{const D=N?" ":"";if(_.type===P1){let V=_.children.trim();return $$(V)&&(V=V.split("").join(D)),i("span",null,[V])}return _};return Ve(()=>{yt(!(e.ghost&&tc(e.type)),"Button","`link` or `text` button can't be a `ghost` button.")}),We(j),ur(j),Xe(()=>{h.value&&clearTimeout(h.value)}),l({focus:()=>{var _;(_=m.value)===null||_===void 0||_.focus()},blur:()=>{var _;(_=m.value)===null||_===void 0||_.blur()}}),()=>{var _,N;const{icon:D=(_=n.icon)===null||_===void 0?void 0:_.call(n)}=e,V=bt((N=n.default)===null||N===void 0?void 0:N.call(n));y=V.length===1&&!D&&!tc(e.type);const{type:I,htmlType:B,href:R,title:L,target:U}=e,Y=S.value?"loading":D,k=g(g({},r),{title:L,disabled:b.value,class:[M.value,r.class,{[`${o.value}-icon-only`]:V.length===0&&!!Y}],onClick:T,onMousedown:E});b.value||delete k.disabled;const Z=D&&!S.value?D:i(qoe,{existIcon:!!D,prefixCls:o.value,loading:!!S.value},null),K=V.map(J=>F(J,y&&w.value));if(R!==void 0)return s(i("a",H(H({},k),{},{href:R,target:U,ref:m}),[Z,K]));let te=i("button",H(H({},k),{},{ref:m,type:B}),[Z,K]);if(!tc(I)){const J=function(){return te}();te=i(s3,{ref:"wave",disabled:!!S.value},{default:()=>[J]})}return s(te)}}});Rt.Group=a2;Rt.install=function(e){return e.component(Rt.name,Rt),e.component(a2.name,a2),e};const oR=()=>({arrow:Ye([Boolean,Object]),trigger:{type:[Array,String]},menu:Ee(),overlay:G.any,visible:$e(),open:$e(),disabled:$e(),danger:$e(),autofocus:$e(),align:Ee(),getPopupContainer:Function,prefixCls:String,transitionName:String,placement:String,overlayClassName:String,overlayStyle:Ee(),forceRender:$e(),mouseEnterDelay:Number,mouseLeaveDelay:Number,openClassName:String,minOverlayWidthMatchTrigger:$e(),destroyPopupOnHide:$e(),onVisibleChange:{type:Function},"onUpdate:visible":{type:Function},onOpenChange:{type:Function},"onUpdate:open":{type:Function}}),xs=nR(),fie=()=>g(g({},oR()),{type:xs.type,size:String,htmlType:xs.htmlType,href:String,disabled:$e(),prefixCls:String,icon:G.any,title:String,loading:xs.loading,onClick:La()});var pie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};function w$(e){for(var t=1;t{const{componentCls:t,antCls:n,paddingXS:r,opacityLoading:a}=e;return{[`${t}-button`]:{whiteSpace:"nowrap",[`&${n}-btn-group > ${n}-btn`]:{[`&-loading, &-loading + ${n}-btn`]:{cursor:"default",pointerEvents:"none",opacity:a},[`&:last-child:not(:first-child):not(${n}-btn-icon-only)`]:{paddingInline:r}}}}},gie=e=>{const{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:a}=e,l=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${l}`]:{[`&${l}-danger:not(${l}-disabled)`]:{color:r,"&:hover":{color:a,backgroundColor:r}}}}}},hie=e=>{const{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:a,dropdownArrowOffset:l,sizePopupArrow:o,antCls:c,iconCls:u,motionDurationMid:d,dropdownPaddingVertical:s,fontSize:f,dropdownEdgeChildPadding:p,colorTextDisabled:v,fontSizeIcon:b,controlPaddingHorizontal:m,colorBgElevated:h,boxShadowPopoverArrow:y}=e;return[{[t]:g(g({},tt(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:"block","&::before":{position:"absolute",insetBlock:-a+o/2,zIndex:-9999,opacity:1e-4,content:'""'},[`${t}-wrap`]:{position:"relative",[`${c}-btn > ${u}-down`]:{fontSize:b},[`${u}-down::before`]:{transition:`transform ${d}`}},[`${t}-wrap-open`]:{[`${u}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[` + &-show-arrow${t}-placement-topLeft, + &-show-arrow${t}-placement-top, + &-show-arrow${t}-placement-topRight + `]:{paddingBottom:a},[` + &-show-arrow${t}-placement-bottomLeft, + &-show-arrow${t}-placement-bottom, + &-show-arrow${t}-placement-bottomRight + `]:{paddingTop:a},[`${t}-arrow`]:g({position:"absolute",zIndex:1,display:"block"},b0(o,e.borderRadiusXS,e.borderRadiusOuter,h,y)),[` + &-placement-top > ${t}-arrow, + &-placement-topLeft > ${t}-arrow, + &-placement-topRight > ${t}-arrow + `]:{bottom:a,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${t}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft > ${t}-arrow`]:{left:{_skip_check_:!0,value:l}},[`&-placement-topRight > ${t}-arrow`]:{right:{_skip_check_:!0,value:l}},[` + &-placement-bottom > ${t}-arrow, + &-placement-bottomLeft > ${t}-arrow, + &-placement-bottomRight > ${t}-arrow + `]:{top:a,transform:"translateY(-100%)"},[`&-placement-bottom > ${t}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateY(-100%) translateX(-50%)"},[`&-placement-bottomLeft > ${t}-arrow`]:{left:{_skip_check_:!0,value:l}},[`&-placement-bottomRight > ${t}-arrow`]:{right:{_skip_check_:!0,value:l}},[`&${c}-slide-down-enter${c}-slide-down-enter-active${t}-placement-bottomLeft, + &${c}-slide-down-appear${c}-slide-down-appear-active${t}-placement-bottomLeft, + &${c}-slide-down-enter${c}-slide-down-enter-active${t}-placement-bottom, + &${c}-slide-down-appear${c}-slide-down-appear-active${t}-placement-bottom, + &${c}-slide-down-enter${c}-slide-down-enter-active${t}-placement-bottomRight, + &${c}-slide-down-appear${c}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:K1},[`&${c}-slide-up-enter${c}-slide-up-enter-active${t}-placement-topLeft, + &${c}-slide-up-appear${c}-slide-up-appear-active${t}-placement-topLeft, + &${c}-slide-up-enter${c}-slide-up-enter-active${t}-placement-top, + &${c}-slide-up-appear${c}-slide-up-appear-active${t}-placement-top, + &${c}-slide-up-enter${c}-slide-up-enter-active${t}-placement-topRight, + &${c}-slide-up-appear${c}-slide-up-appear-active${t}-placement-topRight`]:{animationName:tu},[`&${c}-slide-down-leave${c}-slide-down-leave-active${t}-placement-bottomLeft, + &${c}-slide-down-leave${c}-slide-down-leave-active${t}-placement-bottom, + &${c}-slide-down-leave${c}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:eu},[`&${c}-slide-up-leave${c}-slide-up-leave-active${t}-placement-topLeft, + &${c}-slide-up-leave${c}-slide-up-leave-active${t}-placement-top, + &${c}-slide-up-leave${c}-slide-up-leave-active${t}-placement-topRight`]:{animationName:nu}})},{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul,li":{listStyle:"none"},ul:{marginInline:"0.3em"}},[`${t}, ${t}-menu-submenu`]:{[n]:g(g({padding:p,listStyleType:"none",backgroundColor:h,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},Wr(e)),{[`${n}-item-group-title`]:{padding:`${s}px ${m}px`,color:e.colorTextDescription,transition:`all ${d}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center",borderRadius:e.borderRadiusSM},[`${n}-item-icon`]:{minWidth:f,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${d}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${n}-item, ${n}-submenu-title`]:g(g({clear:"both",margin:0,padding:`${s}px ${m}px`,color:e.colorText,fontWeight:"normal",fontSize:f,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${d}`,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},Wr(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:v,cursor:"not-allowed","&:hover":{color:v,backgroundColor:h,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${e.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:b,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${e.marginXS}px`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:m+e.fontSizeSM},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:v,backgroundColor:h,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})}},[$r(e,"slide-up"),$r(e,"slide-down"),Ql(e,"move-up"),Ql(e,"move-down"),pi(e,"zoom-big")]]},iR=Je("Dropdown",(e,t)=>{let{rootPrefixCls:n}=t;const{marginXXS:r,sizePopupArrow:a,controlHeight:l,fontSize:o,lineHeight:c,paddingXXS:u,componentCls:d,borderRadiusOuter:s,borderRadiusLG:f}=e,p=(l-o*c)/2,{dropdownArrowOffset:v}=ZV({sizePopupArrow:a,contentRadius:f,borderRadiusOuter:s}),b=Ge(e,{menuCls:`${d}-menu`,rootPrefixCls:n,dropdownArrowDistance:a/2+r,dropdownArrowOffset:v,dropdownPaddingVertical:p,dropdownEdgeChildPadding:u});return[hie(b),mie(b),gie(b)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));var bie=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{a("update:visible",p),a("visibleChange",p),a("update:open",p),a("openChange",p)},{prefixCls:o,direction:c,getPopupContainer:u}=je("dropdown",e),d=z(()=>`${o.value}-button`),[s,f]=iR(o);return()=>{var p,v;const b=g(g({},e),r),{type:m="default",disabled:h,danger:y,loading:S,htmlType:O,class:w="",overlay:$=(p=n.overlay)===null||p===void 0?void 0:p.call(n),trigger:x,align:P,open:M,visible:j,onVisibleChange:T,placement:E=c.value==="rtl"?"bottomLeft":"bottomRight",href:F,title:A,icon:W=((v=n.icon)===null||v===void 0?void 0:v.call(n))||i(io,null,null),mouseEnterDelay:_,mouseLeaveDelay:N,overlayClassName:D,overlayStyle:V,destroyPopupOnHide:I,onClick:B,"onUpdate:open":R}=b,L=bie(b,["type","disabled","danger","loading","htmlType","class","overlay","trigger","align","open","visible","onVisibleChange","placement","href","title","icon","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","onClick","onUpdate:open"]),U={align:P,disabled:h,trigger:h?[]:x,placement:E,getPopupContainer:u==null?void 0:u.value,onOpenChange:l,mouseEnterDelay:_,mouseLeaveDelay:N,open:M??j,overlayClassName:D,overlayStyle:V,destroyPopupOnHide:I},Y=i(Rt,{danger:y,type:m,disabled:h,loading:S,onClick:B,htmlType:O,href:F,title:A},{default:n.default}),k=i(Rt,{danger:y,type:m,icon:W},null);return s(i(yie,H(H({},L),{},{class:re(d.value,w,f.value)}),{default:()=>[n.leftButton?n.leftButton({button:Y}):Y,i(Br,U,{default:()=>[n.rightButton?n.rightButton({button:k}):k],overlay:()=>$})]}))}}});var Oie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};function P$(e){for(var t=1;tUe(cR,void 0),sR=e=>{var t,n,r;const{prefixCls:a,mode:l,selectable:o,validator:c,onClick:u,expandIcon:d}=uR()||{};qe(cR,{prefixCls:z(()=>{var s,f;return(f=(s=e.prefixCls)===null||s===void 0?void 0:s.value)!==null&&f!==void 0?f:a==null?void 0:a.value}),mode:z(()=>{var s,f;return(f=(s=e.mode)===null||s===void 0?void 0:s.value)!==null&&f!==void 0?f:l==null?void 0:l.value}),selectable:z(()=>{var s,f;return(f=(s=e.selectable)===null||s===void 0?void 0:s.value)!==null&&f!==void 0?f:o==null?void 0:o.value}),validator:(t=e.validator)!==null&&t!==void 0?t:c,onClick:(n=e.onClick)!==null&&n!==void 0?n:u,expandIcon:(r=e.expandIcon)!==null&&r!==void 0?r:d==null?void 0:d.value})},Br=ee({compatConfig:{MODE:3},name:"ADropdown",inheritAttrs:!1,props:lt(oR(),{mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft",trigger:"hover"}),slots:Object,setup(e,t){let{slots:n,attrs:r,emit:a}=t;const{prefixCls:l,rootPrefixCls:o,direction:c,getPopupContainer:u}=je("dropdown",e),[d,s]=iR(l),f=z(()=>{const{placement:h="",transitionName:y}=e;return y!==void 0?y:h.includes("top")?`${o.value}-slide-down`:`${o.value}-slide-up`});sR({prefixCls:z(()=>`${l.value}-menu`),expandIcon:z(()=>i("span",{class:`${l.value}-menu-submenu-arrow`},[i(qr,{class:`${l.value}-menu-submenu-arrow-icon`},null)])),mode:z(()=>"vertical"),selectable:z(()=>!1),onClick:()=>{},validator:h=>{}});const p=()=>{var h,y,S;const O=e.overlay||((h=n.overlay)===null||h===void 0?void 0:h.call(n)),w=Array.isArray(O)?O[0]:O;if(!w)return null;const $=w.props||{};yt(!$.mode||$.mode==="vertical","Dropdown",`mode="${$.mode}" is not supported for Dropdown's Menu.`);const{selectable:x=!1,expandIcon:P=(S=(y=w.children)===null||y===void 0?void 0:y.expandIcon)===null||S===void 0?void 0:S.call(y)}=$,M=typeof P<"u"&&Wt(P)?P:i("span",{class:`${l.value}-menu-submenu-arrow`},[i(qr,{class:`${l.value}-menu-submenu-arrow-icon`},null)]);return Wt(w)?mt(w,{mode:"vertical",selectable:x,expandIcon:()=>M}):w},v=z(()=>{const h=e.placement;if(!h)return c.value==="rtl"?"bottomRight":"bottomLeft";if(h.includes("Center")){const y=h.slice(0,h.indexOf("Center"));return yt(!h.includes("Center"),"Dropdown",`You are using '${h}' placement in Dropdown, which is deprecated. Try to use '${y}' instead.`),y}return h}),b=z(()=>typeof e.visible=="boolean"?e.visible:e.open),m=h=>{a("update:visible",h),a("visibleChange",h),a("update:open",h),a("openChange",h)};return()=>{var h,y;const{arrow:S,trigger:O,disabled:w,overlayClassName:$}=e,x=(h=n.default)===null||h===void 0?void 0:h.call(n)[0],P=mt(x,g({class:re((y=x==null?void 0:x.props)===null||y===void 0?void 0:y.class,{[`${l.value}-rtl`]:c.value==="rtl"},`${l.value}-trigger`)},w?{disabled:w}:{})),M=re($,s.value,{[`${l.value}-rtl`]:c.value==="rtl"}),j=w?[]:O;let T;j&&j.includes("contextmenu")&&(T=!0);const E=XV({arrowPointAtCenter:typeof S=="object"&&S.pointAtCenter,autoAdjustOverflow:!0}),F=at(g(g(g({},e),r),{visible:b.value,builtinPlacements:E,overlayClassName:M,arrow:!!S,alignPoint:T,prefixCls:l.value,getPopupContainer:u==null?void 0:u.value,transitionName:f.value,trigger:j,onVisibleChange:m,placement:v.value}),["overlay","onUpdate:visible"]);return d(i(tR,F,{default:()=>[P],overlay:p}))}}});Br.Button=s1;var $ie=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a({prefixCls:String,href:String,separator:G.any,dropdownProps:Ee(),overlay:G.any,onClick:La()}),d1=ee({compatConfig:{MODE:3},name:"ABreadcrumbItem",inheritAttrs:!1,__ANT_BREADCRUMB_ITEM:!0,props:wie(),slots:Object,setup(e,t){let{slots:n,attrs:r,emit:a}=t;const{prefixCls:l}=je("breadcrumb",e),o=(u,d)=>{const s=At(n,e,"overlay");return s?i(Br,H(H({},e.dropdownProps),{},{overlay:s,placement:"bottom"}),{default:()=>[i("span",{class:`${d}-overlay-link`},[u,i(Ja,null,null)])]}):u},c=u=>{a("click",u)};return()=>{var u;const d=(u=At(n,e,"separator"))!==null&&u!==void 0?u:"/",s=At(n,e),{class:f,style:p}=r,v=$ie(r,["class","style"]);let b;return e.href!==void 0?b=i("a",H({class:`${l.value}-link`,onClick:c},v),[s]):b=i("span",H({class:`${l.value}-link`,onClick:c},v),[s]),b=o(b,l.value),s!=null?i("li",{class:f,style:p},[b,d&&i("span",{class:`${l.value}-separator`},[d])]):null}}});function Pie(e,t,n,r){let a;if(a!==void 0)return!!a;if(e===t)return!0;if(typeof e!="object"||!e||typeof t!="object"||!t)return!1;const l=Object.keys(e),o=Object.keys(t);if(l.length!==o.length)return!1;const c=Object.prototype.hasOwnProperty.bind(t);for(let u=0;u{qe(dR,e)},Zr=()=>Ue(dR),pR=Symbol("ForceRenderKey"),Cie=e=>{qe(pR,e)},vR=()=>Ue(pR,!1),mR=Symbol("menuFirstLevelContextKey"),gR=e=>{qe(mR,e)},xie=()=>Ue(mR,!0),f1=ee({compatConfig:{MODE:3},name:"MenuContextProvider",inheritAttrs:!1,props:{mode:{type:String,default:void 0},overflowDisabled:{type:Boolean,default:void 0}},setup(e,t){let{slots:n}=t;const r=Zr(),a=g({},r);return e.mode!==void 0&&(a.mode=Ne(e,"mode")),e.overflowDisabled!==void 0&&(a.overflowDisabled=Ne(e,"overflowDisabled")),fR(a),()=>{var l;return(l=n.default)===null||l===void 0?void 0:l.call(n)}}}),hR=Symbol("siderCollapsed"),bR=Symbol("siderHookProvider"),nc="$$__vc-menu-more__key",yR=Symbol("KeyPathContext"),p3=()=>Ue(yR,{parentEventKeys:z(()=>[]),parentKeys:z(()=>[]),parentInfo:{}}),zie=(e,t,n)=>{const{parentEventKeys:r,parentKeys:a}=p3(),l=z(()=>[...r.value,e]),o=z(()=>[...a.value,t]);return qe(yR,{parentEventKeys:l,parentKeys:o,parentInfo:n}),o},OR=Symbol("measure"),C$=ee({compatConfig:{MODE:3},setup(e,t){let{slots:n}=t;return qe(OR,!0),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),v3=()=>Ue(OR,!1);function SR(e){const{mode:t,rtl:n,inlineIndent:r}=Zr();return z(()=>t.value!=="inline"?null:n.value?{paddingRight:`${e.value*r.value}px`}:{paddingLeft:`${e.value*r.value}px`})}let Mie=0;const jie=()=>({id:String,role:String,disabled:Boolean,danger:Boolean,title:{type:[String,Boolean],default:void 0},icon:G.any,onMouseenter:Function,onMouseleave:Function,onClick:Function,onKeydown:Function,onFocus:Function,originItemValue:Ee()}),Zl=ee({compatConfig:{MODE:3},name:"AMenuItem",inheritAttrs:!1,props:jie(),slots:Object,setup(e,t){let{slots:n,emit:r,attrs:a}=t;const l=_n(),o=v3(),c=typeof l.vnode.key=="symbol"?String(l.vnode.key):l.vnode.key;yt(typeof l.vnode.key!="symbol","MenuItem",`MenuItem \`:key="${String(c)}"\` not support Symbol type`);const u=`menu_item_${++Mie}_$$_${c}`,{parentEventKeys:d,parentKeys:s}=p3(),{prefixCls:f,activeKeys:p,disabled:v,changeActiveKeys:b,rtl:m,inlineCollapsed:h,siderCollapsed:y,onItemClick:S,selectedKeys:O,registerMenuInfo:w,unRegisterMenuInfo:$}=Zr(),x=xie(),P=q(!1),M=z(()=>[...s.value,c]);w(u,{eventKey:u,key:c,parentEventKeys:d,parentKeys:s,isLeaf:!0}),Xe(()=>{$(u)}),de(p,()=>{P.value=!!p.value.find(R=>R===c)},{immediate:!0});const T=z(()=>v.value||e.disabled),E=z(()=>O.value.includes(c)),F=z(()=>{const R=`${f.value}-item`;return{[`${R}`]:!0,[`${R}-danger`]:e.danger,[`${R}-active`]:P.value,[`${R}-selected`]:E.value,[`${R}-disabled`]:T.value}}),A=R=>({key:c,eventKey:u,keyPath:M.value,eventKeyPath:[...d.value,u],domEvent:R,item:g(g({},e),a)}),W=R=>{if(T.value)return;const L=A(R);r("click",R),S(L)},_=R=>{T.value||(b(M.value),r("mouseenter",R))},N=R=>{T.value||(b([]),r("mouseleave",R))},D=R=>{if(r("keydown",R),R.which===fe.ENTER){const L=A(R);r("click",R),S(L)}},V=R=>{b(M.value),r("focus",R)},I=(R,L)=>{const U=i("span",{class:`${f.value}-title-content`},[L]);return(!R||Wt(L)&&L.type==="span")&&L&&h.value&&x&&typeof L=="string"?i("div",{class:`${f.value}-inline-collapsed-noicon`},[L.charAt(0)]):U},B=SR(z(()=>M.value.length));return()=>{var R,L,U,Y,k;if(o)return null;const Z=(R=e.title)!==null&&R!==void 0?R:(L=n.title)===null||L===void 0?void 0:L.call(n),K=bt((U=n.default)===null||U===void 0?void 0:U.call(n)),te=K.length;let J=Z;typeof Z>"u"?J=x&&te?K:"":Z===!1&&(J="");const X={title:J};!y.value&&!h.value&&(X.title=null,X.open=!1);const Q={};e.role==="option"&&(Q["aria-selected"]=E.value);const oe=(Y=e.icon)!==null&&Y!==void 0?Y:(k=n.icon)===null||k===void 0?void 0:k.call(n,e);return i(br,H(H({},X),{},{placement:m.value?"left":"right",overlayClassName:`${f.value}-inline-collapsed-tooltip`}),{default:()=>[i(Fr.Item,H(H(H({component:"li"},a),{},{id:e.id,style:g(g({},a.style||{}),B.value),class:[F.value,{[`${a.class}`]:!!a.class,[`${f.value}-item-only-child`]:(oe?te+1:te)===1}],role:e.role||"menuitem",tabindex:e.disabled?null:-1,"data-menu-id":c,"aria-disabled":e.disabled},Q),{},{onMouseenter:_,onMouseleave:N,onClick:W,onKeydown:D,onFocus:V,title:typeof Z=="string"?Z:void 0}),{default:()=>[mt(typeof oe=="function"?oe(e.originItemValue):oe,{class:`${f.value}-item-icon`},!1),I(oe,K)]})]})}}}),ua={adjustX:1,adjustY:1},Tie={topLeft:{points:["bl","tl"],overflow:ua,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:ua,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:ua,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:ua,offset:[4,0]}},_ie={topLeft:{points:["bl","tl"],overflow:ua,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:ua,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:ua,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:ua,offset:[4,0]}},Eie={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},x$=ee({compatConfig:{MODE:3},name:"PopupTrigger",inheritAttrs:!1,props:{prefixCls:String,mode:String,visible:Boolean,popupClassName:String,popupOffset:Array,disabled:Boolean,onVisibleChange:Function},slots:Object,emits:["visibleChange"],setup(e,t){let{slots:n,emit:r}=t;const a=q(!1),{getPopupContainer:l,rtl:o,subMenuOpenDelay:c,subMenuCloseDelay:u,builtinPlacements:d,triggerSubMenuAction:s,forceSubMenuRender:f,motion:p,defaultMotions:v,rootClassName:b}=Zr(),m=vR(),h=z(()=>o.value?g(g({},_ie),d.value):g(g({},Tie),d.value)),y=z(()=>Eie[e.mode]),S=q();de(()=>e.visible,$=>{Re.cancel(S.value),S.value=Re(()=>{a.value=$})},{immediate:!0}),Xe(()=>{Re.cancel(S.value)});const O=$=>{r("visibleChange",$)},w=z(()=>{var $,x;const P=p.value||(($=v.value)===null||$===void 0?void 0:$[e.mode])||((x=v.value)===null||x===void 0?void 0:x.other),M=typeof P=="function"?P():P;return M?Gr(M.name,{css:!0}):void 0});return()=>{const{prefixCls:$,popupClassName:x,mode:P,popupOffset:M,disabled:j}=e;return i(si,{prefixCls:$,popupClassName:re(`${$}-popup`,{[`${$}-rtl`]:o.value},x,b.value),stretch:P==="horizontal"?"minWidth":null,getPopupContainer:l.value,builtinPlacements:h.value,popupPlacement:y.value,popupVisible:a.value,popupAlign:M&&{offset:M},action:j?[]:[s.value],mouseEnterDelay:c.value,mouseLeaveDelay:u.value,onPopupVisibleChange:O,forceRender:m||f.value,popupAnimation:w.value},{popup:n.popup,default:n.default})}}}),m3=(e,t)=>{let{slots:n,attrs:r}=t;var a;const{prefixCls:l,mode:o}=Zr();return i("ul",H(H({},r),{},{class:re(l.value,`${l.value}-sub`,`${l.value}-${o.value==="inline"?"inline":"vertical"}`),"data-menu-list":!0}),[(a=n.default)===null||a===void 0?void 0:a.call(n)])};m3.displayName="SubMenuList";const Hie=ee({compatConfig:{MODE:3},name:"InlineSubMenuList",inheritAttrs:!1,props:{id:String,open:Boolean,keyPath:Array},setup(e,t){let{slots:n}=t;const r=z(()=>"inline"),{motion:a,mode:l,defaultMotions:o}=Zr(),c=z(()=>l.value===r.value),u=ne(!c.value),d=z(()=>c.value?e.open:!1);de(l,()=>{c.value&&(u.value=!1)},{flush:"post"});const s=z(()=>{var f,p;const v=a.value||((f=o.value)===null||f===void 0?void 0:f[r.value])||((p=o.value)===null||p===void 0?void 0:p.other),b=typeof v=="function"?v():v;return g(g({},b),{appear:e.keyPath.length<=1})});return()=>{var f;return u.value?null:i(f1,{mode:r.value},{default:()=>[i(sn,s.value,{default:()=>[Vn(i(m3,{id:e.id},{default:()=>[(f=n.default)===null||f===void 0?void 0:f.call(n)]}),[[lr,d.value]])]})]})}}});let z$=0;const Aie=()=>({icon:G.any,title:G.any,disabled:Boolean,level:Number,popupClassName:String,popupOffset:Array,internalPopupClose:Boolean,eventKey:String,expandIcon:Function,theme:String,onMouseenter:Function,onMouseleave:Function,onTitleClick:Function,originItemValue:Ee()}),Jl=ee({compatConfig:{MODE:3},name:"ASubMenu",inheritAttrs:!1,props:Aie(),slots:Object,setup(e,t){let{slots:n,attrs:r,emit:a}=t;var l,o;gR(!1);const c=v3(),u=_n(),d=typeof u.vnode.key=="symbol"?String(u.vnode.key):u.vnode.key;yt(typeof u.vnode.key!="symbol","SubMenu",`SubMenu \`:key="${String(d)}"\` not support Symbol type`);const s=$4(d)?d:`sub_menu_${++z$}_$$_not_set_key`,f=(l=e.eventKey)!==null&&l!==void 0?l:$4(d)?`sub_menu_${++z$}_$$_${d}`:s,{parentEventKeys:p,parentInfo:v,parentKeys:b}=p3(),m=z(()=>[...b.value,s]),h=q([]),y={eventKey:f,key:s,parentEventKeys:p,childrenEventKeys:h,parentKeys:b};(o=v.childrenEventKeys)===null||o===void 0||o.value.push(f),Xe(()=>{var ie;v.childrenEventKeys&&(v.childrenEventKeys.value=(ie=v.childrenEventKeys)===null||ie===void 0?void 0:ie.value.filter(he=>he!=f))}),zie(f,s,y);const{prefixCls:S,activeKeys:O,disabled:w,changeActiveKeys:$,mode:x,inlineCollapsed:P,openKeys:M,overflowDisabled:j,onOpenChange:T,registerMenuInfo:E,unRegisterMenuInfo:F,selectedSubMenuKeys:A,expandIcon:W,theme:_}=Zr(),N=d!=null,D=!c&&(vR()||!N);Cie(D),(c&&N||!c&&!N||D)&&(E(f,y),Xe(()=>{F(f)}));const V=z(()=>`${S.value}-submenu`),I=z(()=>w.value||e.disabled),B=q(),R=q(),L=z(()=>M.value.includes(s)),U=z(()=>!j.value&&L.value),Y=z(()=>A.value.includes(s)),k=q(!1);de(O,()=>{k.value=!!O.value.find(ie=>ie===s)},{immediate:!0});const Z=ie=>{I.value||(a("titleClick",ie,s),x.value==="inline"&&T(s,!L.value))},K=ie=>{I.value||($(m.value),a("mouseenter",ie))},te=ie=>{I.value||($([]),a("mouseleave",ie))},J=SR(z(()=>m.value.length)),X=ie=>{x.value!=="inline"&&T(s,ie)},Q=()=>{$(m.value)},oe=f&&`${f}-popup`,ue=z(()=>re(S.value,`${S.value}-${e.theme||_.value}`,e.popupClassName)),ye=(ie,he)=>{if(!he)return P.value&&!b.value.length&&ie&&typeof ie=="string"?i("div",{class:`${S.value}-inline-collapsed-noicon`},[ie.charAt(0)]):i("span",{class:`${S.value}-title-content`},[ie]);const Ce=Wt(ie)&&ie.type==="span";return i(et,null,[mt(typeof he=="function"?he(e.originItemValue):he,{class:`${S.value}-item-icon`},!1),Ce?ie:i("span",{class:`${S.value}-title-content`},[ie])])},Oe=z(()=>x.value!=="inline"&&m.value.length>1?"vertical":x.value),pe=z(()=>x.value==="horizontal"?"vertical":x.value),we=z(()=>Oe.value==="horizontal"?"vertical":Oe.value),se=()=>{var ie,he;const Ce=V.value,Pe=(ie=e.icon)!==null&&ie!==void 0?ie:(he=n.icon)===null||he===void 0?void 0:he.call(n,e),xe=e.expandIcon||n.expandIcon||W.value,Be=ye(At(n,e,"title"),Pe);return i("div",{style:J.value,class:`${Ce}-title`,tabindex:I.value?null:-1,ref:B,title:typeof Be=="string"?Be:null,"data-menu-id":s,"aria-expanded":U.value,"aria-haspopup":!0,"aria-controls":oe,"aria-disabled":I.value,onClick:Z,onFocus:Q},[Be,x.value!=="horizontal"&&xe?xe(g(g({},e),{isOpen:U.value})):i("i",{class:`${Ce}-arrow`},null)])};return()=>{var ie;if(c)return N?(ie=n.default)===null||ie===void 0?void 0:ie.call(n):null;const he=V.value;let Ce=()=>null;if(!j.value&&x.value!=="inline"){const Pe=x.value==="horizontal"?[0,8]:[10,0];Ce=()=>i(x$,{mode:Oe.value,prefixCls:he,visible:!e.internalPopupClose&&U.value,popupClassName:ue.value,popupOffset:e.popupOffset||Pe,disabled:I.value,onVisibleChange:X},{default:()=>[se()],popup:()=>i(f1,{mode:we.value},{default:()=>[i(m3,{id:oe,ref:R},{default:n.default})]})})}else Ce=()=>i(x$,null,{default:se});return i(f1,{mode:pe.value},{default:()=>[i(Fr.Item,H(H({component:"li"},r),{},{role:"none",class:re(he,`${he}-${x.value}`,r.class,{[`${he}-open`]:U.value,[`${he}-active`]:k.value,[`${he}-selected`]:Y.value,[`${he}-disabled`]:I.value}),onMouseenter:K,onMouseleave:te,"data-submenu-id":s}),{default:()=>i(et,null,[Ce(),!j.value&&i(Hie,{id:oe,open:U.value,keyPath:m.value},{default:n.default})])})]})}}});function $R(e,t){return e.classList?e.classList.contains(t):` ${e.className} `.indexOf(` ${t} `)>-1}function l2(e,t){e.classList?e.classList.add(t):$R(e,t)||(e.className=`${e.className} ${t}`)}function o2(e,t){if(e.classList)e.classList.remove(t);else if($R(e,t)){const n=e.className;e.className=` ${n} `.replace(` ${t} `," ")}}const au=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant-motion-collapse",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return{name:e,appear:t,css:!0,onBeforeEnter:n=>{n.style.height="0px",n.style.opacity="0",l2(n,e)},onEnter:n=>{rt(()=>{n.style.height=`${n.scrollHeight}px`,n.style.opacity="1"})},onAfterEnter:n=>{n&&(o2(n,e),n.style.height=null,n.style.opacity=null)},onBeforeLeave:n=>{l2(n,e),n.style.height=`${n.offsetHeight}px`,n.style.opacity=null},onLeave:n=>{setTimeout(()=>{n.style.height="0px",n.style.opacity="0"})},onAfterLeave:n=>{n&&(o2(n,e),n.style&&(n.style.height=null,n.style.opacity=null))}}},Iie=()=>({title:G.any,originItemValue:Ee()}),p1=ee({compatConfig:{MODE:3},name:"AMenuItemGroup",inheritAttrs:!1,props:Iie(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:a}=Zr(),l=z(()=>`${a.value}-item-group`),o=v3();return()=>{var c,u;return o?(c=n.default)===null||c===void 0?void 0:c.call(n):i("li",H(H({},r),{},{onClick:d=>d.stopPropagation(),class:l.value}),[i("div",{title:typeof e.title=="string"?e.title:void 0,class:`${l.value}-title`},[At(n,e,"title")]),i("ul",{class:`${l.value}-list`},[(u=n.default)===null||u===void 0?void 0:u.call(n)])])}}}),Die=()=>({prefixCls:String,dashed:Boolean}),v1=ee({compatConfig:{MODE:3},name:"AMenuDivider",props:Die(),setup(e){const{prefixCls:t}=Zr(),n=z(()=>({[`${t.value}-item-divider`]:!0,[`${t.value}-item-divider-dashed`]:!!e.dashed}));return()=>i("li",{class:n.value},null)}});var Fie=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{if(r&&typeof r=="object"){const l=r,{label:o,children:c,key:u,type:d}=l,s=Fie(l,["label","children","key","type"]),f=u??`tmp-${a}`,p=n?n.parentKeys.slice():[],v=[],b={eventKey:f,key:f,parentEventKeys:ne(p),parentKeys:ne(p),childrenEventKeys:ne(v),isLeaf:!1};if(c||d==="group"){if(d==="group"){const h=i2(c,t,n);return i(p1,H(H({key:f},s),{},{title:o,originItemValue:r}),{default:()=>[h]})}t.set(f,b),n&&n.childrenEventKeys.push(f);const m=i2(c,t,{childrenEventKeys:v,parentKeys:[].concat(p,f)});return i(Jl,H(H({key:f},s),{},{title:o,originItemValue:r}),{default:()=>[m]})}return d==="divider"?i(v1,H({key:f},s),null):(b.isLeaf=!0,t.set(f,b),i(Zl,H(H({key:f},s),{},{originItemValue:r}),{default:()=>[o]}))}return null}).filter(r=>r)}function Bie(e){const t=q([]),n=q(!1),r=q(new Map);return de(()=>e.items,()=>{const a=new Map;n.value=!1,e.items?(n.value=!0,t.value=i2(e.items,a)):t.value=void 0,r.value=a},{immediate:!0,deep:!0}),{itemsNodes:t,store:r,hasItmes:n}}const Nie=e=>{const{componentCls:t,motionDurationSlow:n,menuHorizontalHeight:r,colorSplit:a,lineWidth:l,lineType:o,menuItemPaddingInline:c}=e;return{[`${t}-horizontal`]:{lineHeight:`${r}px`,border:0,borderBottom:`${l}px ${o} ${a}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:c},[`> ${t}-item:hover, + > ${t}-item-active, + > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},Lie=e=>{let{componentCls:t,menuArrowOffset:n}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical, + ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${n})`},"&::after":{transform:`rotate(45deg) translateY(${n})`}}}}},M$=e=>g({},Rr(e)),j$=(e,t)=>{const{componentCls:n,colorItemText:r,colorItemTextSelected:a,colorGroupTitle:l,colorItemBg:o,colorSubItemBg:c,colorItemBgSelected:u,colorActiveBarHeight:d,colorActiveBarWidth:s,colorActiveBarBorderSize:f,motionDurationSlow:p,motionEaseInOut:v,motionEaseOut:b,menuItemPaddingInline:m,motionDurationMid:h,colorItemTextHover:y,lineType:S,colorSplit:O,colorItemTextDisabled:w,colorDangerItemText:$,colorDangerItemTextHover:x,colorDangerItemTextSelected:P,colorDangerItemBgActive:M,colorDangerItemBgSelected:j,colorItemBgHover:T,menuSubMenuBg:E,colorItemTextSelectedHorizontal:F,colorItemBgSelectedHorizontal:A}=e;return{[`${n}-${t}`]:{color:r,background:o,[`&${n}-root:focus-visible`]:g({},M$(e)),[`${n}-item-group-title`]:{color:l},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:a}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${w} !important`},[`${n}-item:hover, ${n}-submenu-title:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:y}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:T},"&:active":{backgroundColor:u}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:T},"&:active":{backgroundColor:u}}},[`${n}-item-danger`]:{color:$,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:x}},[`&${n}-item:active`]:{background:M}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:a,[`&${n}-item-danger`]:{color:P},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:u,[`&${n}-item-danger`]:{backgroundColor:j}},[`${n}-item, ${n}-submenu-title`]:{[`&:not(${n}-item-disabled):focus-visible`]:g({},M$(e))},[`&${n}-submenu > ${n}`]:{backgroundColor:E},[`&${n}-popup > ${n}`]:{backgroundColor:o},[`&${n}-horizontal`]:g(g({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:f,marginTop:-f,marginBottom:0,borderRadius:0,"&::after":{position:"absolute",insetInline:m,bottom:0,borderBottom:`${d}px solid transparent`,transition:`border-color ${p} ${v}`,content:'""'},"&:hover, &-active, &-open":{"&::after":{borderBottomWidth:d,borderBottomColor:F}},"&-selected":{color:F,backgroundColor:A,"&::after":{borderBottomWidth:d,borderBottomColor:F}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${f}px ${S} ${O}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:c},[`${n}-item, ${n}-submenu-title`]:f&&s?{width:`calc(100% + ${f}px)`}:{},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${s}px solid ${a}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${h} ${b}`,`opacity ${h} ${b}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:P}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${h} ${v}`,`opacity ${h} ${v}`].join(",")}}}}}},T$=e=>{const{componentCls:t,menuItemHeight:n,itemMarginInline:r,padding:a,menuArrowSize:l,marginXS:o,marginXXS:c}=e,u=a+l+o;return{[`${t}-item`]:{position:"relative"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`,paddingInline:a,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:c,width:`calc(100% - ${r*2}px)`},[`${t}-submenu`]:{paddingBottom:.02},[`> ${t}-item, + > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`},[`${t}-item-group-list ${t}-submenu-title, + ${t}-submenu-title`]:{paddingInlineEnd:u}}},Vie=e=>{const{componentCls:t,iconCls:n,menuItemHeight:r,colorTextLightSolid:a,dropdownWidth:l,controlHeightLG:o,motionDurationMid:c,motionEaseOut:u,paddingXL:d,fontSizeSM:s,fontSizeLG:f,motionDurationSlow:p,paddingXS:v,boxShadowSecondary:b}=e,m={height:r,lineHeight:`${r}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":g({[`&${t}-root`]:{boxShadow:"none"}},T$(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:g(g({},T$(e)),{boxShadow:b})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:l,maxHeight:`calc(100vh - ${o*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${p}`,`background ${p}`,`padding ${c} ${u}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:m,[`& ${t}-item-group-title`]:{paddingInlineStart:d}},[`${t}-item`]:m}},{[`${t}-inline-collapsed`]:{width:r*2,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:f,textAlign:"center"}}},[`> ${t}-item, + > ${t}-item-group > ${t}-item-group-list > ${t}-item, + > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title, + > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${s}px)`,textOverflow:"clip",[` + ${t}-submenu-arrow, + ${t}-submenu-expand-icon + `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:f,lineHeight:`${r}px`,"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:a}},[`${t}-item-group-title`]:g(g({},zn),{paddingInline:v})}}]},_$=e=>{const{componentCls:t,fontSize:n,motionDurationSlow:r,motionDurationMid:a,motionEaseInOut:l,motionEaseOut:o,iconCls:c,controlHeightSM:u}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${r}`,`background ${r}`,`padding ${r} ${l}`].join(","),[`${t}-item-icon, ${c}`]:{minWidth:n,fontSize:n,transition:[`font-size ${a} ${o}`,`margin ${r} ${l}`,`color ${r}`].join(","),"+ span":{marginInlineStart:u-n,opacity:1,transition:[`opacity ${r} ${l}`,`margin ${r}`,`color ${r}`].join(",")}},[`${t}-item-icon`]:g({},oi()),[`&${t}-item-only-child`]:{[`> ${c}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},E$=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:a,menuArrowSize:l,menuArrowOffset:o}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:l,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:l*.6,height:l*.15,backgroundColor:"currentcolor",borderRadius:a,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${o})`},"&::after":{transform:`rotate(-45deg) translateY(${o})`}}}}},Rie=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:a,motionDurationMid:l,motionEaseInOut:o,lineHeight:c,paddingXS:u,padding:d,colorSplit:s,lineWidth:f,zIndexPopup:p,borderRadiusLG:v,radiusSubMenuItem:b,menuArrowSize:m,menuArrowOffset:h,lineType:y,menuPanelMaskInset:S}=e;return[{"":{[`${n}`]:g(g({},cr()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:g(g(g(g(g(g(g({},tt(e)),cr()),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${a} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.radiusItem},[`${n}-item-group-title`]:{padding:`${u}px ${d}px`,fontSize:r,lineHeight:c,transition:`all ${a}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${a} ${o}`,`background ${a} ${o}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${a} ${o}`,`background ${a} ${o}`,`padding ${l} ${o}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${a} ${o}`,`padding ${a} ${o}`].join(",")},[`${n}-title-content`]:{transition:`color ${a}`},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:s,borderStyle:y,borderWidth:0,borderTopWidth:f,marginBlock:f,padding:0,"&-dashed":{borderStyle:"dashed"}}}),_$(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${r*2}px ${d}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:p,background:"transparent",borderRadius:v,boxShadow:"none",transformOrigin:"0 0","&::before":{position:"absolute",inset:`${S}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:S},[`> ${n}`]:g(g(g({borderRadius:v},_$(e)),E$(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:b},[`${n}-submenu-title::after`]:{transition:`transform ${a} ${o}`}})}}),E$(e)),{[`&-inline-collapsed ${n}-submenu-arrow, + &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${h})`},"&::after":{transform:`rotate(45deg) translateX(-${h})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(-${m*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${h})`},"&::before":{transform:`rotate(45deg) translateX(${h})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},Wie=(e,t)=>Je("Menu",(r,a)=>{let{overrideComponentToken:l}=a;if((t==null?void 0:t.value)===!1)return[];const{colorBgElevated:o,colorPrimary:c,colorError:u,colorErrorHover:d,colorTextLightSolid:s}=r,{controlHeightLG:f,fontSize:p}=r,v=p/7*5,b=Ge(r,{menuItemHeight:f,menuItemPaddingInline:r.margin,menuArrowSize:v,menuHorizontalHeight:f*1.15,menuArrowOffset:`${v*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:o}),m=new vt(s).setAlpha(.65).toRgbString(),h=Ge(b,{colorItemText:m,colorItemTextHover:s,colorGroupTitle:m,colorItemTextSelected:s,colorItemBg:"#001529",colorSubItemBg:"#000c17",colorItemBgActive:"transparent",colorItemBgSelected:c,colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemTextDisabled:new vt(s).setAlpha(.25).toRgbString(),colorDangerItemText:u,colorDangerItemTextHover:d,colorDangerItemTextSelected:s,colorDangerItemBgActive:u,colorDangerItemBgSelected:u,menuSubMenuBg:"#001529",colorItemTextSelectedHorizontal:s,colorItemBgSelectedHorizontal:c},g({},l));return[Rie(b),Nie(b),Vie(b),j$(b,"light"),j$(h,"dark"),Lie(b),ru(b),$r(b,"slide-up"),$r(b,"slide-down"),pi(b,"zoom-big")]},r=>{const{colorPrimary:a,colorError:l,colorTextDisabled:o,colorErrorBg:c,colorText:u,colorTextDescription:d,colorBgContainer:s,colorFillAlter:f,colorFillContent:p,lineWidth:v,lineWidthBold:b,controlItemBgActive:m,colorBgTextHover:h}=r;return{dropdownWidth:160,zIndexPopup:r.zIndexPopupBase+50,radiusItem:r.borderRadiusLG,radiusSubMenuItem:r.borderRadiusSM,colorItemText:u,colorItemTextHover:u,colorItemTextHoverHorizontal:a,colorGroupTitle:d,colorItemTextSelected:a,colorItemTextSelectedHorizontal:a,colorItemBg:s,colorItemBgHover:h,colorItemBgActive:p,colorSubItemBg:f,colorItemBgSelected:m,colorItemBgSelectedHorizontal:"transparent",colorActiveBarWidth:0,colorActiveBarHeight:b,colorActiveBarBorderSize:v,colorItemTextDisabled:o,colorDangerItemText:l,colorDangerItemTextHover:l,colorDangerItemTextSelected:l,colorDangerItemBgActive:c,colorDangerItemBgSelected:c,itemMarginInline:r.marginXXS}})(e),Gie=()=>({id:String,prefixCls:String,items:Array,disabled:Boolean,inlineCollapsed:Boolean,disabledOverflow:Boolean,forceSubMenuRender:Boolean,openKeys:Array,selectedKeys:Array,activeKey:String,selectable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},tabindex:{type:[Number,String]},motion:Object,role:String,theme:{type:String,default:"light"},mode:{type:String,default:"vertical"},inlineIndent:{type:Number,default:24},subMenuOpenDelay:{type:Number,default:0},subMenuCloseDelay:{type:Number,default:.1},builtinPlacements:{type:Object},triggerSubMenuAction:{type:String,default:"hover"},getPopupContainer:Function,expandIcon:Function,onOpenChange:Function,onSelect:Function,onDeselect:Function,onClick:[Function,Array],onFocus:Function,onBlur:Function,onMousedown:Function,"onUpdate:openKeys":Function,"onUpdate:selectedKeys":Function,"onUpdate:activeKey":Function}),H$=[],Cn=ee({compatConfig:{MODE:3},name:"AMenu",inheritAttrs:!1,props:Gie(),slots:Object,setup(e,t){let{slots:n,emit:r,attrs:a}=t;const{direction:l,getPrefixCls:o}=je("menu",e),c=uR(),u=z(()=>{var K;return o("menu",e.prefixCls||((K=c==null?void 0:c.prefixCls)===null||K===void 0?void 0:K.value))}),[d,s]=Wie(u,z(()=>!c)),f=q(new Map),p=Ue(hR,ne(void 0)),v=z(()=>p.value!==void 0?p.value:e.inlineCollapsed),{itemsNodes:b}=Bie(e),m=q(!1);We(()=>{m.value=!0}),Ve(()=>{yt(!(e.inlineCollapsed===!0&&e.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),yt(!(p.value!==void 0&&e.inlineCollapsed===!0),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead.")});const h=ne([]),y=ne([]),S=ne({});de(f,()=>{const K={};for(const te of f.value.values())K[te.key]=te;S.value=K},{flush:"post"}),Ve(()=>{if(e.activeKey!==void 0){let K=[];const te=e.activeKey?S.value[e.activeKey]:void 0;te&&e.activeKey!==void 0?K=Os([].concat(Ht(te.parentKeys),e.activeKey)):K=[],gl(h.value,K)||(h.value=K)}}),de(()=>e.selectedKeys,K=>{K&&(y.value=K.slice())},{immediate:!0,deep:!0});const O=ne([]);de([S,y],()=>{let K=[];y.value.forEach(te=>{const J=S.value[te];J&&(K=K.concat(Ht(J.parentKeys)))}),K=Os(K),gl(O.value,K)||(O.value=K)},{immediate:!0});const w=K=>{if(e.selectable){const{key:te}=K,J=y.value.includes(te);let X;e.multiple?J?X=y.value.filter(oe=>oe!==te):X=[...y.value,te]:X=[te];const Q=g(g({},K),{selectedKeys:X});gl(X,y.value)||(e.selectedKeys===void 0&&(y.value=X),r("update:selectedKeys",X),J&&e.multiple?r("deselect",Q):r("select",Q))}T.value!=="inline"&&!e.multiple&&$.value.length&&A(H$)},$=ne([]);de(()=>e.openKeys,function(){let K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$.value;gl($.value,K)||($.value=K.slice())},{immediate:!0,deep:!0});let x;const P=K=>{clearTimeout(x),x=setTimeout(()=>{e.activeKey===void 0&&(h.value=K),r("update:activeKey",K[K.length-1])})},M=z(()=>!!e.disabled),j=z(()=>l.value==="rtl"),T=ne("vertical"),E=q(!1);Ve(()=>{var K;(e.mode==="inline"||e.mode==="vertical")&&v.value?(T.value="vertical",E.value=v.value):(T.value=e.mode,E.value=!1),!((K=c==null?void 0:c.mode)===null||K===void 0)&&K.value&&(T.value=c.mode.value)});const F=z(()=>T.value==="inline"),A=K=>{$.value=K,r("update:openKeys",K),r("openChange",K)},W=ne($.value),_=q(!1);de($,()=>{F.value&&(W.value=$.value)},{immediate:!0}),de(F,()=>{if(!_.value){_.value=!0;return}F.value?$.value=W.value:A(H$)},{immediate:!0});const N=z(()=>({[`${u.value}`]:!0,[`${u.value}-root`]:!0,[`${u.value}-${T.value}`]:!0,[`${u.value}-inline-collapsed`]:E.value,[`${u.value}-rtl`]:j.value,[`${u.value}-${e.theme}`]:!0})),D=z(()=>o()),V=z(()=>({horizontal:{name:`${D.value}-slide-up`},inline:au(`${D.value}-motion-collapse`),other:{name:`${D.value}-zoom-big`}}));gR(!0);const I=function(){let K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const te=[],J=f.value;return K.forEach(X=>{const{key:Q,childrenEventKeys:oe}=J.get(X);te.push(Q,...I(Ht(oe)))}),te},B=K=>{var te;r("click",K),w(K),(te=c==null?void 0:c.onClick)===null||te===void 0||te.call(c)},R=(K,te)=>{var J;const X=((J=S.value[K])===null||J===void 0?void 0:J.childrenEventKeys)||[];let Q=$.value.filter(oe=>oe!==K);if(te)Q.push(K);else if(T.value!=="inline"){const oe=I(Ht(X));Q=Os(Q.filter(ue=>!oe.includes(ue)))}gl($,Q)||A(Q)},L=(K,te)=>{f.value.set(K,te),f.value=new Map(f.value)},U=K=>{f.value.delete(K),f.value=new Map(f.value)},Y=ne(0),k=z(()=>{var K;return e.expandIcon||n.expandIcon||!((K=c==null?void 0:c.expandIcon)===null||K===void 0)&&K.value?te=>{let J=e.expandIcon||n.expandIcon;return J=typeof J=="function"?J(te):J,mt(J,{class:`${u.value}-submenu-expand-icon`},!1)}:null});fR({prefixCls:u,activeKeys:h,openKeys:$,selectedKeys:y,changeActiveKeys:P,disabled:M,rtl:j,mode:T,inlineIndent:z(()=>e.inlineIndent),subMenuCloseDelay:z(()=>e.subMenuCloseDelay),subMenuOpenDelay:z(()=>e.subMenuOpenDelay),builtinPlacements:z(()=>e.builtinPlacements),triggerSubMenuAction:z(()=>e.triggerSubMenuAction),getPopupContainer:z(()=>e.getPopupContainer),inlineCollapsed:E,theme:z(()=>e.theme),siderCollapsed:p,defaultMotions:z(()=>m.value?V.value:null),motion:z(()=>m.value?e.motion:null),overflowDisabled:q(void 0),onOpenChange:R,onItemClick:B,registerMenuInfo:L,unRegisterMenuInfo:U,selectedSubMenuKeys:O,expandIcon:k,forceSubMenuRender:z(()=>e.forceSubMenuRender),rootClassName:s});const Z=()=>{var K;return b.value||bt((K=n.default)===null||K===void 0?void 0:K.call(n))};return()=>{var K;const te=Z(),J=Y.value>=te.length-1||T.value!=="horizontal"||e.disabledOverflow,X=oe=>T.value!=="horizontal"||e.disabledOverflow?oe:oe.map((ue,ye)=>i(f1,{key:ue.key,overflowDisabled:ye>Y.value},{default:()=>ue})),Q=((K=n.overflowedIndicator)===null||K===void 0?void 0:K.call(n))||i(io,null,null);return d(i(Fr,H(H({},a),{},{onMousedown:e.onMousedown,prefixCls:`${u.value}-overflow`,component:"ul",itemComponent:Zl,class:[N.value,a.class,s.value],role:"menu",id:e.id,data:X(te),renderRawItem:oe=>oe,renderRawRest:oe=>{const ue=oe.length,ye=ue?te.slice(-ue):null;return i(et,null,[i(Jl,{eventKey:nc,key:nc,title:Q,disabled:J,internalPopupClose:ue===0},{default:()=>ye}),i(C$,null,{default:()=>[i(Jl,{eventKey:nc,key:nc,title:Q,disabled:J,internalPopupClose:ue===0},{default:()=>ye})]})])},maxCount:T.value!=="horizontal"||e.disabledOverflow?Fr.INVALIDATE:Fr.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:oe=>{Y.value=oe}}),{default:()=>[i(a0,{to:"body"},{default:()=>[i("div",{style:{display:"none"},"aria-hidden":!0},[i(C$,null,{default:()=>[X(Z())]})])]})]}))}}});Cn.install=function(e){return e.component(Cn.name,Cn),e.component(Zl.name,Zl),e.component(Jl.name,Jl),e.component(v1.name,v1),e.component(p1.name,p1),e};Cn.Item=Zl;Cn.Divider=v1;Cn.SubMenu=Jl;Cn.ItemGroup=p1;const Uie=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:g(g({},tt(e)),{color:e.breadcrumbBaseColor,fontSize:e.breadcrumbFontSize,[n]:{fontSize:e.breadcrumbIconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:g({color:e.breadcrumbLinkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${e.paddingXXS}px`,borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",marginInline:-e.marginXXS,"&:hover":{color:e.breadcrumbLinkColorHover,backgroundColor:e.colorBgTextHover}},Wr(e)),"li:last-child":{color:e.breadcrumbLastItemColor,[`& > ${t}-separator`]:{display:"none"}},[`${t}-separator`]:{marginInline:e.breadcrumbSeparatorMargin,color:e.breadcrumbSeparatorColor},[`${t}-link`]:{[` + > ${n} + span, + > ${n} + a + `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",padding:`0 ${e.paddingXXS}px`,marginInline:-e.marginXXS,[`> ${n}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.breadcrumbLinkColorHover,backgroundColor:e.colorBgTextHover,a:{color:e.breadcrumbLinkColorHover}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},qie=Je("Breadcrumb",e=>{const t=Ge(e,{breadcrumbBaseColor:e.colorTextDescription,breadcrumbFontSize:e.fontSize,breadcrumbIconFontSize:e.fontSize,breadcrumbLinkColor:e.colorTextDescription,breadcrumbLinkColorHover:e.colorText,breadcrumbLastItemColor:e.colorText,breadcrumbSeparatorMargin:e.marginXS,breadcrumbSeparatorColor:e.colorTextDescription});return[Uie(t)]}),kie=()=>({prefixCls:String,routes:{type:Array},params:G.any,separator:G.any,itemRender:{type:Function}});function Xie(e,t){if(!e.breadcrumbName)return null;const n=Object.keys(t).join("|");return e.breadcrumbName.replace(new RegExp(`:(${n})`,"g"),(a,l)=>t[l]||a)}function A$(e){const{route:t,params:n,routes:r,paths:a}=e,l=r.indexOf(t)===r.length-1,o=Xie(t,n);return l?i("span",null,[o]):i("a",{href:`#/${a.join("/")}`},[o])}const Ho=ee({compatConfig:{MODE:3},name:"ABreadcrumb",inheritAttrs:!1,props:kie(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:a,direction:l}=je("breadcrumb",e),[o,c]=qie(a),u=(f,p)=>(f=(f||"").replace(/^\//,""),Object.keys(p).forEach(v=>{f=f.replace(`:${v}`,p[v])}),f),d=(f,p,v)=>{const b=[...f],m=u(p||"",v);return m&&b.push(m),b},s=f=>{let{routes:p=[],params:v={},separator:b,itemRender:m=A$}=f;const h=[];return p.map(y=>{const S=u(y.path,v);S&&h.push(S);const O=[...h];let w=null;y.children&&y.children.length&&(w=i(Cn,{items:y.children.map(x=>({key:x.path||x.breadcrumbName,label:m({route:x,params:v,routes:p,paths:d(O,x.path,v)})}))},null));const $={separator:b};return w&&($.overlay=w),i(d1,H(H({},$),{},{key:S||y.breadcrumbName}),{default:()=>[m({route:y,params:v,routes:p,paths:O})]})})};return()=>{var f;let p;const{routes:v,params:b={}}=e,m=bt(At(n,e)),h=(f=At(n,e,"separator"))!==null&&f!==void 0?f:"/",y=e.itemRender||n.itemRender||A$;v&&v.length>0?p=s({routes:v,params:b,separator:h,itemRender:y}):m.length&&(p=m.map((O,w)=>(ir(typeof O.type=="object"&&(O.type.__ANT_BREADCRUMB_ITEM||O.type.__ANT_BREADCRUMB_SEPARATOR)),Lr(O,{separator:h,key:w}))));const S={[a.value]:!0,[`${a.value}-rtl`]:l.value==="rtl",[`${r.class}`]:!!r.class,[c.value]:!0};return o(i("nav",H(H({},r),{},{class:S}),[i("ol",null,[p])]))}}});var Yie=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a({prefixCls:String}),c2=ee({compatConfig:{MODE:3},name:"ABreadcrumbSeparator",__ANT_BREADCRUMB_SEPARATOR:!0,inheritAttrs:!1,props:Qie(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:a}=je("breadcrumb",e);return()=>{var l;const{separator:o,class:c}=r,u=Yie(r,["separator","class"]),d=bt((l=n.default)===null||l===void 0?void 0:l.call(n));return i("span",H({class:[`${a.value}-separator`,c]},u),[d.length>0?d:"/"])}}});Ho.Item=d1;Ho.Separator=c2;Ho.install=function(e){return e.component(Ho.name,Ho),e.component(d1.name,d1),e.component(c2.name,c2),e};var wR=60,PR=wR*60,CR=PR*24,Zie=CR*7,Kl=1e3,zs=wR*Kl,I$=PR*Kl,Jie=CR*Kl,Kie=Zie*Kl,lu="millisecond",Ol="second",Sl="minute",$l="hour",Kn="day",Fa="week",cn="month",m1="quarter",er="year",wl="date",xR="YYYY-MM-DDTHH:mm:ssZ",D$="Invalid Date",ece=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,tce=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;const nce={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var n=["th","st","nd","rd"],r=t%100;return"["+t+(n[(r-20)%10]||n[r]||n[0])+"]"}};var u2=function(t,n,r){var a=String(t);return!a||a.length>=n?t:""+Array(n+1-a.length).join(r)+t},rce=function(t){var n=-t.utcOffset(),r=Math.abs(n),a=Math.floor(r/60),l=r%60;return(n<=0?"+":"-")+u2(a,2,"0")+":"+u2(l,2,"0")},ace=function e(t,n){if(t.date()1)return e(o[0])}else{var c=t.name;Ba[c]=t,a=c}return!r&&a&&(Ao=a),a||!r&&Ao},ut=function(t,n){if(g3(t))return t.clone();var r=typeof n=="object"?n:{};return r.date=t,r.args=arguments,new ou(r)},uce=function(t,n){return ut(t,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})},gt=cce;gt.l=g1;gt.i=g3;gt.w=uce;var sce=function(t){var n=t.date,r=t.utc;if(n===null)return new Date(NaN);if(gt.u(n))return new Date;if(n instanceof Date)return new Date(n);if(typeof n=="string"&&!/Z$/i.test(n)){var a=n.match(ece);if(a){var l=a[2]-1||0,o=(a[7]||"0").substring(0,3);return r?new Date(Date.UTC(a[1],l,a[3]||1,a[4]||0,a[5]||0,a[6]||0,o)):new Date(a[1],l,a[3]||1,a[4]||0,a[5]||0,a[6]||0,o)}}return new Date(n)},ou=function(){function e(n){this.$L=g1(n.locale,null,!0),this.parse(n),this.$x=this.$x||n.x||{},this[zR]=!0}var t=e.prototype;return t.parse=function(r){this.$d=sce(r),this.init()},t.init=function(){var r=this.$d;this.$y=r.getFullYear(),this.$M=r.getMonth(),this.$D=r.getDate(),this.$W=r.getDay(),this.$H=r.getHours(),this.$m=r.getMinutes(),this.$s=r.getSeconds(),this.$ms=r.getMilliseconds()},t.$utils=function(){return gt},t.isValid=function(){return this.$d.toString()!==D$},t.isSame=function(r,a){var l=ut(r);return this.startOf(a)<=l&&l<=this.endOf(a)},t.isAfter=function(r,a){return ut(r)25){var o=n(this).startOf(er).add(1,er).date(l),c=n(this).endOf(Fa);if(o.isBefore(c))return 1}var u=n(this).startOf(er).date(l),d=u.startOf(Fa).subtract(1,lu),s=this.diff(d,Fa,!0);return s<0?n(this).startOf("week").week():Math.ceil(s)},r.weeks=function(a){return a===void 0&&(a=null),this.week(a)}},gce=function(e,t){var n=t.prototype;n.weekYear=function(){var r=this.month(),a=this.week(),l=this.year();return a===1&&r===11?l+1:r===0&&a>=52?l-1:l}},hce=function(e,t){var n=t.prototype;n.quarter=function(l){return this.$utils().u(l)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+(l-1)*3)};var r=n.add;n.add=function(l,o){l=Number(l);var c=this.$utils().p(o);return c===m1?this.add(l*3,cn):r.bind(this)(l,o)};var a=n.startOf;n.startOf=function(l,o){var c=this.$utils(),u=c.u(o)?!0:o,d=c.p(l);if(d===m1){var s=this.quarter()-1;return u?this.month(s*3).startOf(cn).startOf(Kn):this.month(s*3+2).endOf(cn).endOf(Kn)}return a.bind(this)(l,o)}},bce=function(e,t){var n=t.prototype,r=n.format;n.format=function(a){var l=this,o=this.$locale();if(!this.isValid())return r.bind(this)(a);var c=this.$utils(),u=a||xR,d=u.replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(s){switch(s){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return o.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return o.ordinal(l.week(),"W");case"w":case"ww":return c.s(l.week(),s==="w"?1:2,"0");case"W":case"WW":return c.s(l.isoWeek(),s==="W"?1:2,"0");case"k":case"kk":return c.s(String(l.$H===0?24:l.$H),s==="k"?1:2,"0");case"X":return Math.floor(l.$d.getTime()/1e3);case"x":return l.$d.getTime();case"z":return"["+l.offsetName()+"]";case"zzz":return"["+l.offsetName("long")+"]";default:return s}});return r.bind(this)(d)}};var yce=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,F$=/\d/,ho=/\d\d/,Oce=/\d{3}/,Sce=/\d{4}/,Zn=/\d\d?/,$ce=/[+-]?\d+/,wce=/[+-]\d\d:?(\d\d)?|Z/,bo=/\d*[^-_:/,()\s\d]+/,da={},TR=function(t){return t=+t,t+(t>68?1900:2e3)};function Pce(e){if(!e||e==="Z")return 0;var t=e.match(/([+-]|\d\d)/g),n=+(t[1]*60)+(+t[2]||0);return n===0?0:t[0]==="+"?-n:n}var qt=function(t){return function(n){this[t]=+n}},B$=[wce,function(e){var t=this.zone||(this.zone={});t.offset=Pce(e)}],Ms=function(t){var n=da[t];return n&&(n.indexOf?n:n.s.concat(n.f))},N$=function(t,n){var r,a=da,l=a.meridiem;if(!l)r=t===(n?"pm":"PM");else for(var o=1;o<=24;o+=1)if(t.indexOf(l(o,0,n))>-1){r=o>12;break}return r},Cce={A:[bo,function(e){this.afternoon=N$(e,!1)}],a:[bo,function(e){this.afternoon=N$(e,!0)}],Q:[F$,function(e){this.month=(e-1)*3+1}],S:[F$,function(e){this.milliseconds=+e*100}],SS:[ho,function(e){this.milliseconds=+e*10}],SSS:[Oce,function(e){this.milliseconds=+e}],s:[Zn,qt("seconds")],ss:[Zn,qt("seconds")],m:[Zn,qt("minutes")],mm:[Zn,qt("minutes")],H:[Zn,qt("hours")],h:[Zn,qt("hours")],HH:[Zn,qt("hours")],hh:[Zn,qt("hours")],D:[Zn,qt("day")],DD:[ho,qt("day")],Do:[bo,function(e){var t=da,n=t.ordinal,r=e.match(/\d+/);if(this.day=r[0],!!n)for(var a=1;a<=31;a+=1)n(a).replace(/\[|\]/g,"")===e&&(this.day=a)}],w:[Zn,qt("week")],ww:[ho,qt("week")],M:[Zn,qt("month")],MM:[ho,qt("month")],MMM:[bo,function(e){var t=Ms("months"),n=Ms("monthsShort"),r=(n||t.map(function(a){return a.slice(0,3)})).indexOf(e)+1;if(r<1)throw new Error;this.month=r%12||r}],MMMM:[bo,function(e){var t=Ms("months"),n=t.indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],Y:[$ce,qt("year")],YY:[ho,function(e){this.year=TR(e)}],YYYY:[Sce,qt("year")],Z:B$,ZZ:B$};function xce(e){var t=e.afternoon;if(t!==void 0){var n=e.hours;t?n<12&&(e.hours+=12):n===12&&(e.hours=0),delete e.afternoon}}function zce(e){e=pce(e,da&&da.formats);for(var t=e.match(yce),n=t.length,r=0;r-1)return new Date((n==="X"?1e3:1)*t);var l=zce(n),o=l(t),c=o.year,u=o.month,d=o.day,s=o.hours,f=o.minutes,p=o.seconds,v=o.milliseconds,b=o.zone,m=o.week,h=new Date,y=d||(!c&&!u?h.getDate():1),S=c||h.getFullYear(),O=0;c&&!u||(O=u>0?u-1:h.getMonth());var w=s||0,$=f||0,x=p||0,P=v||0;if(b)return new Date(Date.UTC(S,O,y,w,$,x,P+b.offset*60*1e3));if(r)return new Date(Date.UTC(S,O,y,w,$,x,P));var M;return M=new Date(S,O,y,w,$,x,P),m&&(M=a(M).week(m).toDate()),M}catch{return new Date("")}};const jce=function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(TR=e.parseTwoDigitYear);var r=t.prototype,a=r.parse;r.parse=function(l){var o=l.date,c=l.utc,u=l.args;this.$u=c;var d=u[1];if(typeof d=="string"){var s=u[2]===!0,f=u[3]===!0,p=s||f,v=u[2];f&&(v=u[2]),da=this.$locale(),!s&&v&&(da=n.Ls[v]),this.$d=Mce(o,d,c,n),this.init(),v&&v!==!0&&(this.$L=this.locale(v).$L),p&&o!=this.format(d)&&(this.$d=new Date("")),da={}}else if(d instanceof Array)for(var b=d.length,m=1;m<=b;m+=1){u[1]=d[m-1];var h=n.apply(this,u);if(h.isValid()){this.$d=h.$d,this.$L=h.$L,this.init();break}m===b&&(this.$d=new Date(""))}else a.call(this,l)}};ut.extend(jce);ut.extend(bce);ut.extend(dce);ut.extend(vce);ut.extend(mce);ut.extend(gce);ut.extend(hce);ut.extend((e,t)=>{const n=t.prototype,r=n.format;n.format=function(l){const o=(l||"").replace("Wo","wo");return r.bind(this)(o)}});const Tce={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},$a=e=>Tce[e]||e.split("_")[0],L$=()=>{Uq(!1,"Not match any format. Please help to fire a issue about this.")},_ce=/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|k{1,2}|S/g;function V$(e,t,n){const r=[...new Set(e.split(n))];let a=0;for(let l=0;lt)return o;a+=n.length}}const R$=(e,t)=>{if(!e)return null;if(ut.isDayjs(e))return e;const n=t.matchAll(_ce);let r=ut(e,t);if(n===null)return r;for(const a of n){const l=a[0],o=a.index;if(l==="Q"){const c=e.slice(o-1,o),u=V$(e,o,c).match(/\d+/)[0];r=r.quarter(parseInt(u))}if(l.toLowerCase()==="wo"){const c=e.slice(o-1,o),u=V$(e,o,c).match(/\d+/)[0];r=r.week(parseInt(u))}l.toLowerCase()==="ww"&&(r=r.week(parseInt(e.slice(o,o+l.length)))),l.toLowerCase()==="w"&&(r=r.week(parseInt(e.slice(o,o+l.length+1))))}return r},_R={getNow:()=>ut(),getFixedDate:e=>ut(e,["YYYY-M-DD","YYYY-MM-DD"]),getEndDate:e=>e.endOf("month"),getWeekDay:e=>{const t=e.locale("en");return t.weekday()+t.localeData().firstDayOfWeek()},getYear:e=>e.year(),getMonth:e=>e.month(),getDate:e=>e.date(),getHour:e=>e.hour(),getMinute:e=>e.minute(),getSecond:e=>e.second(),addYear:(e,t)=>e.add(t,"year"),addMonth:(e,t)=>e.add(t,"month"),addDate:(e,t)=>e.add(t,"day"),setYear:(e,t)=>e.year(t),setMonth:(e,t)=>e.month(t),setDate:(e,t)=>e.date(t),setHour:(e,t)=>e.hour(t),setMinute:(e,t)=>e.minute(t),setSecond:(e,t)=>e.second(t),isAfter:(e,t)=>e.isAfter(t),isValidate:e=>e.isValid(),locale:{getWeekFirstDay:e=>ut().locale($a(e)).localeData().firstDayOfWeek(),getWeekFirstDate:(e,t)=>t.locale($a(e)).weekday(0),getWeek:(e,t)=>t.locale($a(e)).week(),getShortWeekDays:e=>ut().locale($a(e)).localeData().weekdaysMin(),getShortMonths:e=>ut().locale($a(e)).localeData().monthsShort(),format:(e,t,n)=>t.locale($a(e)).format(n),parse:(e,t,n)=>{const r=$a(e);for(let a=0;aArray.isArray(e)?e.map(n=>R$(n,t)):R$(e,t),toString:(e,t)=>Array.isArray(e)?e.map(n=>ut.isDayjs(n)?n.format(t):n):ut.isDayjs(e)?e.format(t):e};function xt(e){const t=LU();return g(g({},e),t)}const ER=Symbol("PanelContextProps"),h3=e=>{qe(ER,e)},xr=()=>Ue(ER,{}),rc={visibility:"hidden"};function ba(e,t){let{slots:n}=t;var r;const a=xt(e),{prefixCls:l,prevIcon:o="‹",nextIcon:c="›",superPrevIcon:u="«",superNextIcon:d="»",onSuperPrev:s,onSuperNext:f,onPrev:p,onNext:v}=a,{hideNextBtn:b,hidePrevBtn:m}=xr();return i("div",{class:l},[s&&i("button",{type:"button",onClick:s,tabindex:-1,class:`${l}-super-prev-btn`,style:m.value?rc:{}},[u]),p&&i("button",{type:"button",onClick:p,tabindex:-1,class:`${l}-prev-btn`,style:m.value?rc:{}},[o]),i("div",{class:`${l}-view`},[(r=n.default)===null||r===void 0?void 0:r.call(n)]),v&&i("button",{type:"button",onClick:v,tabindex:-1,class:`${l}-next-btn`,style:b.value?rc:{}},[c]),f&&i("button",{type:"button",onClick:f,tabindex:-1,class:`${l}-super-next-btn`,style:b.value?rc:{}},[d])])}ba.displayName="Header";ba.inheritAttrs=!1;function b3(e){const t=xt(e),{prefixCls:n,generateConfig:r,viewDate:a,onPrevDecades:l,onNextDecades:o}=t,{hideHeader:c}=xr();if(c)return null;const u=`${n}-header`,d=r.getYear(a),s=Math.floor(d/Ir)*Ir,f=s+Ir-1;return i(ba,H(H({},t),{},{prefixCls:u,onSuperPrev:l,onSuperNext:o}),{default:()=>[s,va("-"),f]})}b3.displayName="DecadeHeader";b3.inheritAttrs=!1;function HR(e,t,n,r,a){let l=e.setHour(t,n);return l=e.setMinute(l,r),l=e.setSecond(l,a),l}function xc(e,t,n){if(!n)return t;let r=t;return r=e.setHour(r,e.getHour(n)),r=e.setMinute(r,e.getMinute(n)),r=e.setSecond(r,e.getSecond(n)),r}function Ece(e,t,n,r,a,l){const o=Math.floor(e/r)*r;if(o{W.stopPropagation(),F||r(E)},onMouseenter:()=>{!F&&y&&y(E)},onMouseleave:()=>{!F&&S&&S(E)}},[p?p(E):i("div",{class:`${w}-inner`},[f(E)])]))}$.push(i("tr",{key:x,class:u&&u(M)},[P]))}return i("div",{class:`${t}-body`},[i("table",{class:`${t}-content`},[h&&i("thead",null,[i("tr",null,[h])]),i("tbody",null,[$])])])}nl.displayName="PanelBody";nl.inheritAttrs=!1;const s2=3,W$=4;function y3(e){const t=xt(e),n=tr-1,{prefixCls:r,viewDate:a,generateConfig:l}=t,o=`${r}-cell`,c=l.getYear(a),u=Math.floor(c/tr)*tr,d=Math.floor(c/Ir)*Ir,s=d+Ir-1,f=l.setYear(a,d-Math.ceil((s2*W$*tr-Ir)/2)),p=v=>{const b=l.getYear(v),m=b+n;return{[`${o}-in-view`]:d<=b&&m<=s,[`${o}-selected`]:b===u}};return i(nl,H(H({},t),{},{rowNum:W$,colNum:s2,baseDate:f,getCellText:v=>{const b=l.getYear(v);return`${b}-${b+n}`},getCellClassName:p,getCellDate:(v,b)=>l.addYear(v,b*tr)}),null)}y3.displayName="DecadeBody";y3.inheritAttrs=!1;const ac=new Map;function Ace(e,t){let n;function r(){F1(e)?t():n=Re(()=>{r()})}return r(),()=>{Re.cancel(n)}}function d2(e,t,n){if(ac.get(e)&&Re.cancel(ac.get(e)),n<=0){ac.set(e,Re(()=>{e.scrollTop=t}));return}const a=(t-e.scrollTop)/n*10;ac.set(e,Re(()=>{e.scrollTop+=a,e.scrollTop!==t&&d2(e,t,n-10)}))}function co(e,t){let{onLeftRight:n,onCtrlLeftRight:r,onUpDown:a,onPageUpDown:l,onEnter:o}=t;const{which:c,ctrlKey:u,metaKey:d}=e;switch(c){case fe.LEFT:if(u||d){if(r)return r(-1),!0}else if(n)return n(-1),!0;break;case fe.RIGHT:if(u||d){if(r)return r(1),!0}else if(n)return n(1),!0;break;case fe.UP:if(a)return a(-1),!0;break;case fe.DOWN:if(a)return a(1),!0;break;case fe.PAGE_UP:if(l)return l(-1),!0;break;case fe.PAGE_DOWN:if(l)return l(1),!0;break;case fe.ENTER:if(o)return o(),!0;break}return!1}function AR(e,t,n,r){let a=e;if(!a)switch(t){case"time":a=r?"hh:mm:ss a":"HH:mm:ss";break;case"week":a="gggg-wo";break;case"month":a="YYYY-MM";break;case"quarter":a="YYYY-[Q]Q";break;case"year":a="YYYY";break;default:a=n?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return a}function IR(e,t,n){const r=e==="time"?8:10,a=typeof t=="function"?t(n.getNow()).length:t.length;return Math.max(r,a)+2}let yo=null;const lc=new Set;function Ice(e){return!yo&&typeof window<"u"&&window.addEventListener&&(yo=t=>{[...lc].forEach(n=>{n(t)})},window.addEventListener("mousedown",yo)),lc.add(e),()=>{lc.delete(e),lc.size===0&&(window.removeEventListener("mousedown",yo),yo=null)}}function Dce(e){var t;const n=e.target;return e.composed&&n.shadowRoot&&((t=e.composedPath)===null||t===void 0?void 0:t.call(e)[0])||n}const Fce=e=>e==="month"||e==="date"?"year":e,Bce=e=>e==="date"?"month":e,Nce=e=>e==="month"||e==="date"?"quarter":e,Lce=e=>e==="date"?"week":e,Vce={year:Fce,month:Bce,quarter:Nce,week:Lce,time:null,date:null};function DR(e,t){return e.some(n=>n&&n.contains(t))}const tr=10,Ir=tr*10;function O3(e){const t=xt(e),{prefixCls:n,onViewDateChange:r,generateConfig:a,viewDate:l,operationRef:o,onSelect:c,onPanelChange:u}=t,d=`${n}-decade-panel`;o.value={onKeydown:p=>co(p,{onLeftRight:v=>{c(a.addYear(l,v*tr),"key")},onCtrlLeftRight:v=>{c(a.addYear(l,v*Ir),"key")},onUpDown:v=>{c(a.addYear(l,v*tr*s2),"key")},onEnter:()=>{u("year",l)}})};const s=p=>{const v=a.addYear(l,p*Ir);r(v),u(null,v)},f=p=>{c(p,"mouse"),u("year",p)};return i("div",{class:d},[i(b3,H(H({},t),{},{prefixCls:n,onPrevDecades:()=>{s(-1)},onNextDecades:()=>{s(1)}}),null),i(y3,H(H({},t),{},{prefixCls:n,onSelect:f}),null)])}O3.displayName="DecadePanel";O3.inheritAttrs=!1;const zc=7;function rl(e,t){if(!e&&!t)return!0;if(!e||!t)return!1}function Rce(e,t,n){const r=rl(t,n);if(typeof r=="boolean")return r;const a=Math.floor(e.getYear(t)/10),l=Math.floor(e.getYear(n)/10);return a===l}function iu(e,t,n){const r=rl(t,n);return typeof r=="boolean"?r:e.getYear(t)===e.getYear(n)}function f2(e,t){return Math.floor(e.getMonth(t)/3)+1}function FR(e,t,n){const r=rl(t,n);return typeof r=="boolean"?r:iu(e,t,n)&&f2(e,t)===f2(e,n)}function S3(e,t,n){const r=rl(t,n);return typeof r=="boolean"?r:iu(e,t,n)&&e.getMonth(t)===e.getMonth(n)}function Dr(e,t,n){const r=rl(t,n);return typeof r=="boolean"?r:e.getYear(t)===e.getYear(n)&&e.getMonth(t)===e.getMonth(n)&&e.getDate(t)===e.getDate(n)}function Wce(e,t,n){const r=rl(t,n);return typeof r=="boolean"?r:e.getHour(t)===e.getHour(n)&&e.getMinute(t)===e.getMinute(n)&&e.getSecond(t)===e.getSecond(n)}function BR(e,t,n,r){const a=rl(n,r);return typeof a=="boolean"?a:e.locale.getWeek(t,n)===e.locale.getWeek(t,r)}function Tl(e,t,n){return Dr(e,t,n)&&Wce(e,t,n)}function oc(e,t,n,r){return!t||!n||!r?!1:!Dr(e,t,r)&&!Dr(e,n,r)&&e.isAfter(r,t)&&e.isAfter(n,r)}function Gce(e,t,n){const r=t.locale.getWeekFirstDay(e),a=t.setDate(n,1),l=t.getWeekDay(a);let o=t.addDate(a,r-l);return t.getMonth(o)===t.getMonth(n)&&t.getDate(o)>1&&(o=t.addDate(o,-7)),o}function Io(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(t){case"year":return n.addYear(e,r*10);case"quarter":case"month":return n.addYear(e,r);default:return n.addMonth(e,r)}}function Lt(e,t){let{generateConfig:n,locale:r,format:a}=t;return typeof a=="function"?a(e):n.locale.format(r.locale,e,a)}function NR(e,t){let{generateConfig:n,locale:r,formatList:a}=t;return!e||typeof a[0]=="function"?null:n.locale.parse(r.locale,e,a)}function p2(e){let{cellDate:t,mode:n,disabledDate:r,generateConfig:a}=e;if(!r)return!1;const l=(o,c,u)=>{let d=c;for(;d<=u;){let s;switch(o){case"date":{if(s=a.setDate(t,d),!r(s))return!1;break}case"month":{if(s=a.setMonth(t,d),!p2({cellDate:s,mode:"month",generateConfig:a,disabledDate:r}))return!1;break}case"year":{if(s=a.setYear(t,d),!p2({cellDate:s,mode:"year",generateConfig:a,disabledDate:r}))return!1;break}}d+=1}return!0};switch(n){case"date":case"week":return r(t);case"month":{const c=a.getDate(a.getEndDate(t));return l("date",1,c)}case"quarter":{const o=Math.floor(a.getMonth(t)/3)*3,c=o+2;return l("month",o,c)}case"year":return l("month",0,11);case"decade":{const o=a.getYear(t),c=Math.floor(o/tr)*tr,u=c+tr-1;return l("year",c,u)}}}function $3(e){const t=xt(e),{hideHeader:n}=xr();if(n.value)return null;const{prefixCls:r,generateConfig:a,locale:l,value:o,format:c}=t,u=`${r}-header`;return i(ba,{prefixCls:u},{default:()=>[o?Lt(o,{locale:l,format:c,generateConfig:a}):" "]})}$3.displayName="TimeHeader";$3.inheritAttrs=!1;const ic=ee({name:"TimeUnitColumn",props:["prefixCls","units","onSelect","value","active","hideDisabledOptions"],setup(e){const{open:t}=xr(),n=q(null),r=ne(new Map),a=ne();return de(()=>e.value,()=>{const l=r.value.get(e.value);l&&t.value!==!1&&d2(n.value,l.offsetTop,120)}),Xe(()=>{var l;(l=a.value)===null||l===void 0||l.call(a)}),de(t,()=>{var l;(l=a.value)===null||l===void 0||l.call(a),rt(()=>{if(t.value){const o=r.value.get(e.value);o&&(a.value=Ace(o,()=>{d2(n.value,o.offsetTop,0)}))}})},{immediate:!0,flush:"post"}),()=>{const{prefixCls:l,units:o,onSelect:c,value:u,active:d,hideDisabledOptions:s}=e,f=`${l}-cell`;return i("ul",{class:re(`${l}-column`,{[`${l}-column-active`]:d}),ref:n,style:{position:"relative"}},[o.map(p=>s&&p.disabled?null:i("li",{key:p.value,ref:v=>{r.value.set(p.value,v)},class:re(f,{[`${f}-disabled`]:p.disabled,[`${f}-selected`]:u===p.value}),onClick:()=>{p.disabled||c(p.value)}},[i("div",{class:`${f}-inner`},[p.label])]))])}}});function LR(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",r=String(e);for(;r.length{(n.startsWith("data-")||n.startsWith("aria-")||n==="role"||n==="name")&&!n.startsWith("data-__")&&(t[n]=e[n])}),t}function ct(e,t){return e?e[t]:null}function Bn(e,t,n){const r=[ct(e,0),ct(e,1)];return r[n]=typeof t=="function"?t(r[n]):t,!r[0]&&!r[1]?null:r}function js(e,t,n,r){const a=[];for(let l=e;l<=t;l+=n)a.push({label:LR(l,2),value:l,disabled:(r||[]).includes(l)});return a}const qce=ee({compatConfig:{MODE:3},name:"TimeBody",inheritAttrs:!1,props:["generateConfig","prefixCls","operationRef","activeColumnIndex","value","showHour","showMinute","showSecond","use12Hours","hourStep","minuteStep","secondStep","disabledHours","disabledMinutes","disabledSeconds","disabledTime","hideDisabledOptions","onSelect"],setup(e){const t=z(()=>e.value?e.generateConfig.getHour(e.value):-1),n=z(()=>e.use12Hours?t.value>=12:!1),r=z(()=>e.use12Hours?t.value%12:t.value),a=z(()=>e.value?e.generateConfig.getMinute(e.value):-1),l=z(()=>e.value?e.generateConfig.getSecond(e.value):-1),o=ne(e.generateConfig.getNow()),c=ne(),u=ne(),d=ne();l0(()=>{o.value=e.generateConfig.getNow()}),Ve(()=>{if(e.disabledTime){const h=e.disabledTime(o);[c.value,u.value,d.value]=[h.disabledHours,h.disabledMinutes,h.disabledSeconds]}else[c.value,u.value,d.value]=[e.disabledHours,e.disabledMinutes,e.disabledSeconds]});const s=(h,y,S,O)=>{let w=e.value||e.generateConfig.getNow();const $=Math.max(0,y),x=Math.max(0,S),P=Math.max(0,O);return w=HR(e.generateConfig,w,!e.use12Hours||!h?$:$+12,x,P),w},f=z(()=>{var h;return js(0,23,(h=e.hourStep)!==null&&h!==void 0?h:1,c.value&&c.value())}),p=z(()=>{if(!e.use12Hours)return[!1,!1];const h=[!0,!0];return f.value.forEach(y=>{let{disabled:S,value:O}=y;S||(O>=12?h[1]=!1:h[0]=!1)}),h}),v=z(()=>e.use12Hours?f.value.filter(n.value?h=>h.value>=12:h=>h.value<12).map(h=>{const y=h.value%12,S=y===0?"12":LR(y,2);return g(g({},h),{label:S,value:y})}):f.value),b=z(()=>{var h;return js(0,59,(h=e.minuteStep)!==null&&h!==void 0?h:1,u.value&&u.value(t.value))}),m=z(()=>{var h;return js(0,59,(h=e.secondStep)!==null&&h!==void 0?h:1,d.value&&d.value(t.value,a.value))});return()=>{const{prefixCls:h,operationRef:y,activeColumnIndex:S,showHour:O,showMinute:w,showSecond:$,use12Hours:x,hideDisabledOptions:P,onSelect:M}=e,j=[],T=`${h}-content`,E=`${h}-time-panel`;y.value={onUpDown:W=>{const _=j[S];if(_){const N=_.units.findIndex(V=>V.value===_.value),D=_.units.length;for(let V=1;V{M(s(n.value,W,a.value,l.value),"mouse")}),F(w,i(ic,{key:"minute"},null),a.value,b.value,W=>{M(s(n.value,r.value,W,l.value),"mouse")}),F($,i(ic,{key:"second"},null),l.value,m.value,W=>{M(s(n.value,r.value,a.value,W),"mouse")});let A=-1;return typeof n.value=="boolean"&&(A=n.value?1:0),F(x===!0,i(ic,{key:"12hours"},null),A,[{label:"AM",value:0,disabled:p.value[0]},{label:"PM",value:1,disabled:p.value[1]}],W=>{M(s(!!W,r.value,a.value,l.value),"mouse")}),i("div",{class:T},[j.map(W=>{let{node:_}=W;return _})])}}}),kce=e=>e.filter(t=>t!==!1).length;function cu(e){const t=xt(e),{generateConfig:n,format:r="HH:mm:ss",prefixCls:a,active:l,operationRef:o,showHour:c,showMinute:u,showSecond:d,use12Hours:s=!1,onSelect:f,value:p}=t,v=`${a}-time-panel`,b=ne(),m=ne(-1),h=kce([c,u,d,s]);return o.value={onKeydown:y=>co(y,{onLeftRight:S=>{m.value=(m.value+S+h)%h},onUpDown:S=>{m.value===-1?m.value=0:b.value&&b.value.onUpDown(S)},onEnter:()=>{f(p||n.getNow(),"key"),m.value=-1}}),onBlur:()=>{m.value=-1}},i("div",{class:re(v,{[`${v}-active`]:l})},[i($3,H(H({},t),{},{format:r,prefixCls:a}),null),i(qce,H(H({},t),{},{prefixCls:a,activeColumnIndex:m.value,operationRef:b}),null)])}cu.displayName="TimePanel";cu.inheritAttrs=!1;function uu(e){let{cellPrefixCls:t,generateConfig:n,rangedValue:r,hoverRangedValue:a,isInView:l,isSameCell:o,offsetCell:c,today:u,value:d}=e;function s(f){const p=c(f,-1),v=c(f,1),b=ct(r,0),m=ct(r,1),h=ct(a,0),y=ct(a,1),S=oc(n,h,y,f);function O(j){return o(b,j)}function w(j){return o(m,j)}const $=o(h,f),x=o(y,f),P=(S||x)&&(!l(p)||w(p)),M=(S||$)&&(!l(v)||O(v));return{[`${t}-in-view`]:l(f),[`${t}-in-range`]:oc(n,b,m,f),[`${t}-range-start`]:O(f),[`${t}-range-end`]:w(f),[`${t}-range-start-single`]:O(f)&&!m,[`${t}-range-end-single`]:w(f)&&!b,[`${t}-range-start-near-hover`]:O(f)&&(o(p,h)||oc(n,h,y,p)),[`${t}-range-end-near-hover`]:w(f)&&(o(v,y)||oc(n,h,y,v)),[`${t}-range-hover`]:S,[`${t}-range-hover-start`]:$,[`${t}-range-hover-end`]:x,[`${t}-range-hover-edge-start`]:P,[`${t}-range-hover-edge-end`]:M,[`${t}-range-hover-edge-start-near-range`]:P&&o(p,m),[`${t}-range-hover-edge-end-near-range`]:M&&o(v,b),[`${t}-today`]:o(u,f),[`${t}-selected`]:o(d,f)}}return s}const WR=Symbol("RangeContextProps"),Xce=e=>{qe(WR,e)},Oi=()=>Ue(WR,{rangedValue:ne(),hoverRangedValue:ne(),inRange:ne(),panelPosition:ne()}),Yce=ee({compatConfig:{MODE:3},name:"PanelContextProvider",inheritAttrs:!1,props:{value:{type:Object,default:()=>({})}},setup(e,t){let{slots:n}=t;const r={rangedValue:ne(e.value.rangedValue),hoverRangedValue:ne(e.value.hoverRangedValue),inRange:ne(e.value.inRange),panelPosition:ne(e.value.panelPosition)};return Xce(r),de(()=>e.value,()=>{Object.keys(e.value).forEach(a=>{r[a]&&(r[a].value=e.value[a])})}),()=>{var a;return(a=n.default)===null||a===void 0?void 0:a.call(n)}}});function su(e){const t=xt(e),{prefixCls:n,generateConfig:r,prefixColumn:a,locale:l,rowCount:o,viewDate:c,value:u,dateRender:d}=t,{rangedValue:s,hoverRangedValue:f}=Oi(),p=Gce(l.locale,r,c),v=`${n}-cell`,b=r.locale.getWeekFirstDay(l.locale),m=r.getNow(),h=[],y=l.shortWeekDays||(r.locale.getShortWeekDays?r.locale.getShortWeekDays(l.locale):[]);a&&h.push(i("th",{key:"empty","aria-label":"empty cell"},null));for(let w=0;wDr(r,w,$),isInView:w=>S3(r,w,c),offsetCell:(w,$)=>r.addDate(w,$)}),O=d?w=>d({current:w,today:m}):void 0;return i(nl,H(H({},t),{},{rowNum:o,colNum:zc,baseDate:p,getCellNode:O,getCellText:r.getDate,getCellClassName:S,getCellDate:r.addDate,titleCell:w=>Lt(w,{locale:l,format:"YYYY-MM-DD",generateConfig:r}),headerCells:h}),null)}su.displayName="DateBody";su.inheritAttrs=!1;su.props=["prefixCls","generateConfig","value?","viewDate","locale","rowCount","onSelect","dateRender?","disabledDate?","prefixColumn?","rowClassName?"];function w3(e){const t=xt(e),{prefixCls:n,generateConfig:r,locale:a,viewDate:l,onNextMonth:o,onPrevMonth:c,onNextYear:u,onPrevYear:d,onYearClick:s,onMonthClick:f}=t,{hideHeader:p}=xr();if(p.value)return null;const v=`${n}-header`,b=a.shortMonths||(r.locale.getShortMonths?r.locale.getShortMonths(a.locale):[]),m=r.getMonth(l),h=i("button",{type:"button",key:"year",onClick:s,tabindex:-1,class:`${n}-year-btn`},[Lt(l,{locale:a,format:a.yearFormat,generateConfig:r})]),y=i("button",{type:"button",key:"month",onClick:f,tabindex:-1,class:`${n}-month-btn`},[a.monthFormat?Lt(l,{locale:a,format:a.monthFormat,generateConfig:r}):b[m]]),S=a.monthBeforeYear?[y,h]:[h,y];return i(ba,H(H({},t),{},{prefixCls:v,onSuperPrev:d,onPrev:c,onNext:o,onSuperNext:u}),{default:()=>[S]})}w3.displayName="DateHeader";w3.inheritAttrs=!1;const Qce=6;function Si(e){const t=xt(e),{prefixCls:n,panelName:r="date",keyboardConfig:a,active:l,operationRef:o,generateConfig:c,value:u,viewDate:d,onViewDateChange:s,onPanelChange:f,onSelect:p}=t,v=`${n}-${r}-panel`;o.value={onKeydown:h=>co(h,g({onLeftRight:y=>{p(c.addDate(u||d,y),"key")},onCtrlLeftRight:y=>{p(c.addYear(u||d,y),"key")},onUpDown:y=>{p(c.addDate(u||d,y*zc),"key")},onPageUpDown:y=>{p(c.addMonth(u||d,y),"key")}},a))};const b=h=>{const y=c.addYear(d,h);s(y),f(null,y)},m=h=>{const y=c.addMonth(d,h);s(y),f(null,y)};return i("div",{class:re(v,{[`${v}-active`]:l})},[i(w3,H(H({},t),{},{prefixCls:n,value:u,viewDate:d,onPrevYear:()=>{b(-1)},onNextYear:()=>{b(1)},onPrevMonth:()=>{m(-1)},onNextMonth:()=>{m(1)},onMonthClick:()=>{f("month",d)},onYearClick:()=>{f("year",d)}}),null),i(su,H(H({},t),{},{onSelect:h=>p(h,"mouse"),prefixCls:n,value:u,viewDate:d,rowCount:Qce}),null)])}Si.displayName="DatePanel";Si.inheritAttrs=!1;const G$=Uce("date","time");function P3(e){const t=xt(e),{prefixCls:n,operationRef:r,generateConfig:a,value:l,defaultValue:o,disabledTime:c,showTime:u,onSelect:d}=t,s=`${n}-datetime-panel`,f=ne(null),p=ne({}),v=ne({}),b=typeof u=="object"?g({},u):{};function m(O){const w=G$.indexOf(f.value)+O;return G$[w]||null}const h=O=>{v.value.onBlur&&v.value.onBlur(O),f.value=null};r.value={onKeydown:O=>{if(O.which===fe.TAB){const w=m(O.shiftKey?-1:1);return f.value=w,w&&O.preventDefault(),!0}if(f.value){const w=f.value==="date"?p:v;return w.value&&w.value.onKeydown&&w.value.onKeydown(O),!0}return[fe.LEFT,fe.RIGHT,fe.UP,fe.DOWN].includes(O.which)?(f.value="date",!0):!1},onBlur:h,onClose:h};const y=(O,w)=>{let $=O;w==="date"&&!l&&b.defaultValue?($=a.setHour($,a.getHour(b.defaultValue)),$=a.setMinute($,a.getMinute(b.defaultValue)),$=a.setSecond($,a.getSecond(b.defaultValue))):w==="time"&&!l&&o&&($=a.setYear($,a.getYear(o)),$=a.setMonth($,a.getMonth(o)),$=a.setDate($,a.getDate(o))),d&&d($,"mouse")},S=c?c(l||null):{};return i("div",{class:re(s,{[`${s}-active`]:f.value})},[i(Si,H(H({},t),{},{operationRef:p,active:f.value==="date",onSelect:O=>{y(xc(a,O,!l&&typeof u=="object"?u.defaultValue:null),"date")}}),null),i(cu,H(H(H(H({},t),{},{format:void 0},b),S),{},{disabledTime:null,defaultValue:void 0,operationRef:v,active:f.value==="time",onSelect:O=>{y(O,"time")}}),null)])}P3.displayName="DatetimePanel";P3.inheritAttrs=!1;function C3(e){const t=xt(e),{prefixCls:n,generateConfig:r,locale:a,value:l}=t,o=`${n}-cell`,c=s=>i("td",{key:"week",class:re(o,`${o}-week`)},[r.locale.getWeek(a.locale,s)]),u=`${n}-week-panel-row`,d=s=>re(u,{[`${u}-selected`]:BR(r,a.locale,l,s)});return i(Si,H(H({},t),{},{panelName:"week",prefixColumn:c,rowClassName:d,keyboardConfig:{onLeftRight:null}}),null)}C3.displayName="WeekPanel";C3.inheritAttrs=!1;function x3(e){const t=xt(e),{prefixCls:n,generateConfig:r,locale:a,viewDate:l,onNextYear:o,onPrevYear:c,onYearClick:u}=t,{hideHeader:d}=xr();if(d.value)return null;const s=`${n}-header`;return i(ba,H(H({},t),{},{prefixCls:s,onSuperPrev:c,onSuperNext:o}),{default:()=>[i("button",{type:"button",onClick:u,class:`${n}-year-btn`},[Lt(l,{locale:a,format:a.yearFormat,generateConfig:r})])]})}x3.displayName="MonthHeader";x3.inheritAttrs=!1;const GR=3,Zce=4;function z3(e){const t=xt(e),{prefixCls:n,locale:r,value:a,viewDate:l,generateConfig:o,monthCellRender:c}=t,{rangedValue:u,hoverRangedValue:d}=Oi(),s=`${n}-cell`,f=uu({cellPrefixCls:s,value:a,generateConfig:o,rangedValue:u.value,hoverRangedValue:d.value,isSameCell:(m,h)=>S3(o,m,h),isInView:()=>!0,offsetCell:(m,h)=>o.addMonth(m,h)}),p=r.shortMonths||(o.locale.getShortMonths?o.locale.getShortMonths(r.locale):[]),v=o.setMonth(l,0),b=c?m=>c({current:m,locale:r}):void 0;return i(nl,H(H({},t),{},{rowNum:Zce,colNum:GR,baseDate:v,getCellNode:b,getCellText:m=>r.monthFormat?Lt(m,{locale:r,format:r.monthFormat,generateConfig:o}):p[o.getMonth(m)],getCellClassName:f,getCellDate:o.addMonth,titleCell:m=>Lt(m,{locale:r,format:"YYYY-MM",generateConfig:o})}),null)}z3.displayName="MonthBody";z3.inheritAttrs=!1;function M3(e){const t=xt(e),{prefixCls:n,operationRef:r,onViewDateChange:a,generateConfig:l,value:o,viewDate:c,onPanelChange:u,onSelect:d}=t,s=`${n}-month-panel`;r.value={onKeydown:p=>co(p,{onLeftRight:v=>{d(l.addMonth(o||c,v),"key")},onCtrlLeftRight:v=>{d(l.addYear(o||c,v),"key")},onUpDown:v=>{d(l.addMonth(o||c,v*GR),"key")},onEnter:()=>{u("date",o||c)}})};const f=p=>{const v=l.addYear(c,p);a(v),u(null,v)};return i("div",{class:s},[i(x3,H(H({},t),{},{prefixCls:n,onPrevYear:()=>{f(-1)},onNextYear:()=>{f(1)},onYearClick:()=>{u("year",c)}}),null),i(z3,H(H({},t),{},{prefixCls:n,onSelect:p=>{d(p,"mouse"),u("date",p)}}),null)])}M3.displayName="MonthPanel";M3.inheritAttrs=!1;function j3(e){const t=xt(e),{prefixCls:n,generateConfig:r,locale:a,viewDate:l,onNextYear:o,onPrevYear:c,onYearClick:u}=t,{hideHeader:d}=xr();if(d.value)return null;const s=`${n}-header`;return i(ba,H(H({},t),{},{prefixCls:s,onSuperPrev:c,onSuperNext:o}),{default:()=>[i("button",{type:"button",onClick:u,class:`${n}-year-btn`},[Lt(l,{locale:a,format:a.yearFormat,generateConfig:r})])]})}j3.displayName="QuarterHeader";j3.inheritAttrs=!1;const Jce=4,Kce=1;function T3(e){const t=xt(e),{prefixCls:n,locale:r,value:a,viewDate:l,generateConfig:o}=t,{rangedValue:c,hoverRangedValue:u}=Oi(),d=`${n}-cell`,s=uu({cellPrefixCls:d,value:a,generateConfig:o,rangedValue:c.value,hoverRangedValue:u.value,isSameCell:(p,v)=>FR(o,p,v),isInView:()=>!0,offsetCell:(p,v)=>o.addMonth(p,v*3)}),f=o.setDate(o.setMonth(l,0),1);return i(nl,H(H({},t),{},{rowNum:Kce,colNum:Jce,baseDate:f,getCellText:p=>Lt(p,{locale:r,format:r.quarterFormat||"[Q]Q",generateConfig:o}),getCellClassName:s,getCellDate:(p,v)=>o.addMonth(p,v*3),titleCell:p=>Lt(p,{locale:r,format:"YYYY-[Q]Q",generateConfig:o})}),null)}T3.displayName="QuarterBody";T3.inheritAttrs=!1;function _3(e){const t=xt(e),{prefixCls:n,operationRef:r,onViewDateChange:a,generateConfig:l,value:o,viewDate:c,onPanelChange:u,onSelect:d}=t,s=`${n}-quarter-panel`;r.value={onKeydown:p=>co(p,{onLeftRight:v=>{d(l.addMonth(o||c,v*3),"key")},onCtrlLeftRight:v=>{d(l.addYear(o||c,v),"key")},onUpDown:v=>{d(l.addYear(o||c,v),"key")}})};const f=p=>{const v=l.addYear(c,p);a(v),u(null,v)};return i("div",{class:s},[i(j3,H(H({},t),{},{prefixCls:n,onPrevYear:()=>{f(-1)},onNextYear:()=>{f(1)},onYearClick:()=>{u("year",c)}}),null),i(T3,H(H({},t),{},{prefixCls:n,onSelect:p=>{d(p,"mouse")}}),null)])}_3.displayName="QuarterPanel";_3.inheritAttrs=!1;function E3(e){const t=xt(e),{prefixCls:n,generateConfig:r,viewDate:a,onPrevDecade:l,onNextDecade:o,onDecadeClick:c}=t,{hideHeader:u}=xr();if(u.value)return null;const d=`${n}-header`,s=r.getYear(a),f=Math.floor(s/sa)*sa,p=f+sa-1;return i(ba,H(H({},t),{},{prefixCls:d,onSuperPrev:l,onSuperNext:o}),{default:()=>[i("button",{type:"button",onClick:c,class:`${n}-decade-btn`},[f,va("-"),p])]})}E3.displayName="YearHeader";E3.inheritAttrs=!1;const v2=3,U$=4;function H3(e){const t=xt(e),{prefixCls:n,value:r,viewDate:a,locale:l,generateConfig:o}=t,{rangedValue:c,hoverRangedValue:u}=Oi(),d=`${n}-cell`,s=o.getYear(a),f=Math.floor(s/sa)*sa,p=f+sa-1,v=o.setYear(a,f-Math.ceil((v2*U$-sa)/2)),b=h=>{const y=o.getYear(h);return f<=y&&y<=p},m=uu({cellPrefixCls:d,value:r,generateConfig:o,rangedValue:c.value,hoverRangedValue:u.value,isSameCell:(h,y)=>iu(o,h,y),isInView:b,offsetCell:(h,y)=>o.addYear(h,y)});return i(nl,H(H({},t),{},{rowNum:U$,colNum:v2,baseDate:v,getCellText:o.getYear,getCellClassName:m,getCellDate:o.addYear,titleCell:h=>Lt(h,{locale:l,format:"YYYY",generateConfig:o})}),null)}H3.displayName="YearBody";H3.inheritAttrs=!1;const sa=10;function A3(e){const t=xt(e),{prefixCls:n,operationRef:r,onViewDateChange:a,generateConfig:l,value:o,viewDate:c,sourceMode:u,onSelect:d,onPanelChange:s}=t,f=`${n}-year-panel`;r.value={onKeydown:v=>co(v,{onLeftRight:b=>{d(l.addYear(o||c,b),"key")},onCtrlLeftRight:b=>{d(l.addYear(o||c,b*sa),"key")},onUpDown:b=>{d(l.addYear(o||c,b*v2),"key")},onEnter:()=>{s(u==="date"?"date":"month",o||c)}})};const p=v=>{const b=l.addYear(c,v*10);a(b),s(null,b)};return i("div",{class:f},[i(E3,H(H({},t),{},{prefixCls:n,onPrevDecade:()=>{p(-1)},onNextDecade:()=>{p(1)},onDecadeClick:()=>{s("decade",c)}}),null),i(H3,H(H({},t),{},{prefixCls:n,onSelect:v=>{s(u==="date"?"date":"month",v),d(v,"mouse")}}),null)])}A3.displayName="YearPanel";A3.inheritAttrs=!1;function UR(e,t,n){return n?i("div",{class:`${e}-footer-extra`},[n(t)]):null}function qR(e){let{prefixCls:t,components:n={},needConfirmButton:r,onNow:a,onOk:l,okDisabled:o,showNow:c,locale:u}=e,d,s;if(r){const f=n.button||"button";a&&c!==!1&&(d=i("li",{class:`${t}-now`},[i("a",{class:`${t}-now-btn`,onClick:a},[u.now])])),s=r&&i("li",{class:`${t}-ok`},[i(f,{disabled:o,onClick:p=>{p.stopPropagation(),l&&l()}},{default:()=>[u.ok]})])}return!d&&!s?null:i("ul",{class:`${t}-ranges`},[d,s])}function e1e(){return ee({name:"PickerPanel",inheritAttrs:!1,props:{prefixCls:String,locale:Object,generateConfig:Object,value:Object,defaultValue:Object,pickerValue:Object,defaultPickerValue:Object,disabledDate:Function,mode:String,picker:{type:String,default:"date"},tabindex:{type:[Number,String],default:0},showNow:{type:Boolean,default:void 0},showTime:[Boolean,Object],showToday:Boolean,renderExtraFooter:Function,dateRender:Function,hideHeader:{type:Boolean,default:void 0},onSelect:Function,onChange:Function,onPanelChange:Function,onMousedown:Function,onPickerValueChange:Function,onOk:Function,components:Object,direction:String,hourStep:{type:Number,default:1},minuteStep:{type:Number,default:1},secondStep:{type:Number,default:1}},setup(e,t){let{attrs:n}=t;const r=z(()=>e.picker==="date"&&!!e.showTime||e.picker==="time"),a=z(()=>24%e.hourStep===0),l=z(()=>60%e.minuteStep===0),o=z(()=>60%e.secondStep===0),c=xr(),{operationRef:u,onSelect:d,hideRanges:s,defaultOpenValue:f}=c,{inRange:p,panelPosition:v,rangedValue:b,hoverRangedValue:m}=Oi(),h=ne({}),[y,S]=Ft(null,{value:Ne(e,"value"),defaultValue:e.defaultValue,postState:D=>!D&&(f!=null&&f.value)&&e.picker==="time"?f.value:D}),[O,w]=Ft(null,{value:Ne(e,"pickerValue"),defaultValue:e.defaultPickerValue||y.value,postState:D=>{const{generateConfig:V,showTime:I,defaultValue:B}=e,R=V.getNow();return D?!y.value&&e.showTime?typeof I=="object"?xc(V,Array.isArray(D)?D[0]:D,I.defaultValue||R):B?xc(V,Array.isArray(D)?D[0]:D,B):xc(V,Array.isArray(D)?D[0]:D,R):D:R}}),$=D=>{w(D),e.onPickerValueChange&&e.onPickerValueChange(D)},x=D=>{const V=Vce[e.picker];return V?V(D):D},[P,M]=Ft(()=>e.picker==="time"?"time":x("date"),{value:Ne(e,"mode")});de(()=>e.picker,()=>{M(e.picker)});const j=ne(P.value),T=D=>{j.value=D},E=(D,V)=>{const{onPanelChange:I,generateConfig:B}=e,R=x(D||P.value);T(P.value),M(R),I&&(P.value!==R||Tl(B,O.value,O.value))&&I(V,R)},F=function(D,V){let I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{picker:B,generateConfig:R,onSelect:L,onChange:U,disabledDate:Y}=e;(P.value===B||I)&&(S(D),L&&L(D),d&&d(D,V),U&&!Tl(R,D,y.value)&&!(Y!=null&&Y(D))&&U(D))},A=D=>h.value&&h.value.onKeydown?([fe.LEFT,fe.RIGHT,fe.UP,fe.DOWN,fe.PAGE_UP,fe.PAGE_DOWN,fe.ENTER].includes(D.which)&&D.preventDefault(),h.value.onKeydown(D)):!1,W=D=>{h.value&&h.value.onBlur&&h.value.onBlur(D)},_=()=>{const{generateConfig:D,hourStep:V,minuteStep:I,secondStep:B}=e,R=D.getNow(),L=Ece(D.getHour(R),D.getMinute(R),D.getSecond(R),a.value?V:1,l.value?I:1,o.value?B:1),U=HR(D,R,L[0],L[1],L[2]);F(U,"submit")},N=z(()=>{const{prefixCls:D,direction:V}=e;return re(`${D}-panel`,{[`${D}-panel-has-range`]:b&&b.value&&b.value[0]&&b.value[1],[`${D}-panel-has-range-hover`]:m&&m.value&&m.value[0]&&m.value[1],[`${D}-panel-rtl`]:V==="rtl"})});return h3(g(g({},c),{mode:P,hideHeader:z(()=>{var D;return e.hideHeader!==void 0?e.hideHeader:(D=c.hideHeader)===null||D===void 0?void 0:D.value}),hidePrevBtn:z(()=>p.value&&v.value==="right"),hideNextBtn:z(()=>p.value&&v.value==="left")})),de(()=>e.value,()=>{e.value&&w(e.value)}),()=>{const{prefixCls:D="ant-picker",locale:V,generateConfig:I,disabledDate:B,picker:R="date",tabindex:L=0,showNow:U,showTime:Y,showToday:k,renderExtraFooter:Z,onMousedown:K,onOk:te,components:J}=e;u&&v.value!=="right"&&(u.value={onKeydown:A,onClose:()=>{h.value&&h.value.onClose&&h.value.onClose()}});let X;const Q=g(g(g({},n),e),{operationRef:h,prefixCls:D,viewDate:O.value,value:y.value,onViewDateChange:$,sourceMode:j.value,onPanelChange:E,disabledDate:B});switch(delete Q.onChange,delete Q.onSelect,P.value){case"decade":X=i(O3,H(H({},Q),{},{onSelect:(Oe,pe)=>{$(Oe),F(Oe,pe)}}),null);break;case"year":X=i(A3,H(H({},Q),{},{onSelect:(Oe,pe)=>{$(Oe),F(Oe,pe)}}),null);break;case"month":X=i(M3,H(H({},Q),{},{onSelect:(Oe,pe)=>{$(Oe),F(Oe,pe)}}),null);break;case"quarter":X=i(_3,H(H({},Q),{},{onSelect:(Oe,pe)=>{$(Oe),F(Oe,pe)}}),null);break;case"week":X=i(C3,H(H({},Q),{},{onSelect:(Oe,pe)=>{$(Oe),F(Oe,pe)}}),null);break;case"time":delete Q.showTime,X=i(cu,H(H(H({},Q),typeof Y=="object"?Y:null),{},{onSelect:(Oe,pe)=>{$(Oe),F(Oe,pe)}}),null);break;default:Y?X=i(P3,H(H({},Q),{},{onSelect:(Oe,pe)=>{$(Oe),F(Oe,pe)}}),null):X=i(Si,H(H({},Q),{},{onSelect:(Oe,pe)=>{$(Oe),F(Oe,pe)}}),null)}let oe,ue;s!=null&&s.value||(oe=UR(D,P.value,Z),ue=qR({prefixCls:D,components:J,needConfirmButton:r.value,okDisabled:!y.value||B&&B(y.value),locale:V,showNow:U,onNow:r.value&&_,onOk:()=>{y.value&&(F(y.value,"submit",!0),te&&te(y.value))}}));let ye;if(k&&P.value==="date"&&R==="date"&&!Y){const Oe=I.getNow(),pe=`${D}-today-btn`,we=B&&B(Oe);ye=i("a",{class:re(pe,we&&`${pe}-disabled`),"aria-disabled":we,onClick:()=>{we||F(Oe,"mouse",!0)}},[V.today])}return i("div",{tabindex:L,class:re(N.value,n.class),style:n.style,onKeydown:A,onBlur:W,onMousedown:K},[X,oe||ue||ye?i("div",{class:`${D}-footer`},[oe,ue,ye]):null])}}})}const t1e=e1e(),kR=e=>i(t1e,e),n1e={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function XR(e,t){let{slots:n}=t;const{prefixCls:r,popupStyle:a,visible:l,dropdownClassName:o,dropdownAlign:c,transitionName:u,getPopupContainer:d,range:s,popupPlacement:f,direction:p}=xt(e),v=`${r}-dropdown`;return i(si,{showAction:[],hideAction:[],popupPlacement:f!==void 0?f:p==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:n1e,prefixCls:v,popupTransitionName:u,popupAlign:c,popupVisible:l,popupClassName:re(o,{[`${v}-range`]:s,[`${v}-rtl`]:p==="rtl"}),popupStyle:a,getPopupContainer:d},{default:n.default,popup:n.popupElement})}const YR=ee({name:"PresetPanel",props:{prefixCls:String,presets:{type:Array,default:()=>[]},onClick:Function,onHover:Function},setup(e){return()=>e.presets.length?i("div",{class:`${e.prefixCls}-presets`},[i("ul",null,[e.presets.map((t,n)=>{let{label:r,value:a}=t;return i("li",{key:n,onClick:l=>{l.stopPropagation(),e.onClick(a)},onMouseenter:()=>{var l;(l=e.onHover)===null||l===void 0||l.call(e,a)},onMouseleave:()=>{var l;(l=e.onHover)===null||l===void 0||l.call(e,null)}},[r])})])]):null}});function m2(e){let{open:t,value:n,isClickOutside:r,triggerOpen:a,forwardKeydown:l,onKeydown:o,blurToCancel:c,onSubmit:u,onCancel:d,onFocus:s,onBlur:f}=e;const p=q(!1),v=q(!1),b=q(!1),m=q(!1),h=q(!1),y=z(()=>({onMousedown:()=>{p.value=!0,a(!0)},onKeydown:O=>{if(o(O,()=>{h.value=!0}),!h.value){switch(O.which){case fe.ENTER:{t.value?u()!==!1&&(p.value=!0):a(!0),O.preventDefault();return}case fe.TAB:{p.value&&t.value&&!O.shiftKey?(p.value=!1,O.preventDefault()):!p.value&&t.value&&!l(O)&&O.shiftKey&&(p.value=!0,O.preventDefault());return}case fe.ESC:{p.value=!0,d();return}}!t.value&&![fe.SHIFT].includes(O.which)?a(!0):p.value||l(O)}},onFocus:O=>{p.value=!0,v.value=!0,s&&s(O)},onBlur:O=>{if(b.value||!r(document.activeElement)){b.value=!1;return}c.value?setTimeout(()=>{let{activeElement:w}=document;for(;w&&w.shadowRoot;)w=w.shadowRoot.activeElement;r(w)&&d()},0):t.value&&(a(!1),m.value&&u()),v.value=!1,f&&f(O)}}));de(t,()=>{m.value=!1}),de(n,()=>{m.value=!0});const S=q();return We(()=>{S.value=Ice(O=>{const w=Dce(O);if(t.value){const $=r(w);$?(!v.value||$)&&a(!1):(b.value=!0,Re(()=>{b.value=!1}))}})}),Xe(()=>{S.value&&S.value()}),[y,{focused:v,typing:p}]}function g2(e){let{valueTexts:t,onTextChange:n}=e;const r=ne("");function a(o){r.value=o,n(o)}function l(){r.value=t.value[0]}return de(()=>[...t.value],function(o){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];o.join("||")!==c.join("||")&&t.value.every(u=>u!==r.value)&&l()},{immediate:!0}),[r,a,l]}function h1(e,t){let{formatList:n,generateConfig:r,locale:a}=t;const l=BL(()=>{if(!e.value)return[[""],""];let u="";const d=[];for(let s=0;sd[0]!==u[0]||!gl(d[1],u[1])),o=z(()=>l.value[0]),c=z(()=>l.value[1]);return[o,c]}function h2(e,t){let{formatList:n,generateConfig:r,locale:a}=t;const l=ne(null);let o;function c(f){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Re.cancel(o),p){l.value=f;return}o=Re(()=>{l.value=f})}const[,u]=h1(l,{formatList:n,generateConfig:r,locale:a});function d(f){c(f)}function s(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;c(null,f)}return de(e,()=>{s(!0)}),Xe(()=>{Re.cancel(o)}),[u,d,s]}function QR(e,t){return z(()=>e!=null&&e.value?e.value:t!=null&&t.value?(p0(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.keys(t.value).map(r=>{const a=t.value[r],l=typeof a=="function"?a():a;return{label:r,value:l}})):[])}function r1e(){return ee({name:"Picker",inheritAttrs:!1,props:["prefixCls","id","tabindex","dropdownClassName","dropdownAlign","popupStyle","transitionName","generateConfig","locale","inputReadOnly","allowClear","autofocus","showTime","showNow","showHour","showMinute","showSecond","picker","format","use12Hours","value","defaultValue","open","defaultOpen","defaultOpenValue","suffixIcon","presets","clearIcon","disabled","disabledDate","placeholder","getPopupContainer","panelRender","inputRender","onChange","onOpenChange","onPanelChange","onFocus","onBlur","onMousedown","onMouseup","onMouseenter","onMouseleave","onContextmenu","onClick","onKeydown","onSelect","direction","autocomplete","showToday","renderExtraFooter","dateRender","minuteStep","hourStep","secondStep","hideDisabledOptions"],setup(e,t){let{attrs:n,expose:r}=t;const a=ne(null),l=z(()=>e.presets),o=QR(l),c=z(()=>{var B;return(B=e.picker)!==null&&B!==void 0?B:"date"}),u=z(()=>c.value==="date"&&!!e.showTime||c.value==="time"),d=z(()=>VR(AR(e.format,c.value,e.showTime,e.use12Hours))),s=ne(null),f=ne(null),p=ne(null),[v,b]=Ft(null,{value:Ne(e,"value"),defaultValue:e.defaultValue}),m=ne(v.value),h=B=>{m.value=B},y=ne(null),[S,O]=Ft(!1,{value:Ne(e,"open"),defaultValue:e.defaultOpen,postState:B=>e.disabled?!1:B,onChange:B=>{e.onOpenChange&&e.onOpenChange(B),!B&&y.value&&y.value.onClose&&y.value.onClose()}}),[w,$]=h1(m,{formatList:d,generateConfig:Ne(e,"generateConfig"),locale:Ne(e,"locale")}),[x,P,M]=g2({valueTexts:w,onTextChange:B=>{const R=NR(B,{locale:e.locale,formatList:d.value,generateConfig:e.generateConfig});R&&(!e.disabledDate||!e.disabledDate(R))&&h(R)}}),j=B=>{const{onChange:R,generateConfig:L,locale:U}=e;h(B),b(B),R&&!Tl(L,v.value,B)&&R(B,B?Lt(B,{generateConfig:L,locale:U,format:d.value[0]}):"")},T=B=>{e.disabled&&B||O(B)},E=B=>S.value&&y.value&&y.value.onKeydown?y.value.onKeydown(B):!1,F=function(){e.onMouseup&&e.onMouseup(...arguments),a.value&&(a.value.focus(),T(!0))},[A,{focused:W,typing:_}]=m2({blurToCancel:u,open:S,value:x,triggerOpen:T,forwardKeydown:E,isClickOutside:B=>!DR([s.value,f.value,p.value],B),onSubmit:()=>!m.value||e.disabledDate&&e.disabledDate(m.value)?!1:(j(m.value),T(!1),M(),!0),onCancel:()=>{T(!1),h(v.value),M()},onKeydown:(B,R)=>{var L;(L=e.onKeydown)===null||L===void 0||L.call(e,B,R)},onFocus:B=>{var R;(R=e.onFocus)===null||R===void 0||R.call(e,B)},onBlur:B=>{var R;(R=e.onBlur)===null||R===void 0||R.call(e,B)}});de([S,w],()=>{S.value||(h(v.value),!w.value.length||w.value[0]===""?P(""):$.value!==x.value&&M())}),de(c,()=>{S.value||M()}),de(v,()=>{h(v.value)});const[N,D,V]=h2(x,{formatList:d,generateConfig:Ne(e,"generateConfig"),locale:Ne(e,"locale")}),I=(B,R)=>{(R==="submit"||R!=="key"&&!u.value)&&(j(B),T(!1))};return h3({operationRef:y,hideHeader:z(()=>c.value==="time"),onSelect:I,open:S,defaultOpenValue:Ne(e,"defaultOpenValue"),onDateMouseenter:D,onDateMouseleave:V}),r({focus:()=>{a.value&&a.value.focus()},blur:()=>{a.value&&a.value.blur()}}),()=>{const{prefixCls:B="rc-picker",id:R,tabindex:L,dropdownClassName:U,dropdownAlign:Y,popupStyle:k,transitionName:Z,generateConfig:K,locale:te,inputReadOnly:J,allowClear:X,autofocus:Q,picker:oe="date",defaultOpenValue:ue,suffixIcon:ye,clearIcon:Oe,disabled:pe,placeholder:we,getPopupContainer:se,panelRender:ie,onMousedown:he,onMouseenter:Ce,onMouseleave:Pe,onContextmenu:xe,onClick:Be,onSelect:le,direction:ae,autocomplete:me="off"}=e,Te=g(g(g({},e),n),{class:re({[`${B}-panel-focused`]:!_.value}),style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null});let _e=i("div",{class:`${B}-panel-layout`},[i(YR,{prefixCls:B,presets:o.value,onClick:Me=>{j(Me),T(!1)}},null),i(kR,H(H({},Te),{},{generateConfig:K,value:m.value,locale:te,tabindex:-1,onSelect:Me=>{le==null||le(Me),h(Me)},direction:ae,onPanelChange:(Me,He)=>{const{onPanelChange:ke}=e;V(!0),ke==null||ke(Me,He)}}),null)]);ie&&(_e=ie(_e));const De=i("div",{class:`${B}-panel-container`,ref:s,onMousedown:Me=>{Me.preventDefault()}},[_e]);let ve;ye&&(ve=i("span",{class:`${B}-suffix`},[ye]));let ge;X&&v.value&&!pe&&(ge=i("span",{onMousedown:Me=>{Me.preventDefault(),Me.stopPropagation()},onMouseup:Me=>{Me.preventDefault(),Me.stopPropagation(),j(null),T(!1)},class:`${B}-clear`,role:"button"},[Oe||i("span",{class:`${B}-clear-btn`},null)]));const be=g(g(g(g({id:R,tabindex:L,disabled:pe,readonly:J||typeof d.value[0]=="function"||!_.value,value:N.value||x.value,onInput:Me=>{P(Me.target.value)},autofocus:Q,placeholder:we,ref:a,title:x.value},A.value),{size:IR(oe,d.value[0],K)}),RR(e)),{autocomplete:me}),ze=e.inputRender?e.inputRender(be):i("input",be,null),Ie=ae==="rtl"?"bottomRight":"bottomLeft";return i("div",{ref:p,class:re(B,n.class,{[`${B}-disabled`]:pe,[`${B}-focused`]:W.value,[`${B}-rtl`]:ae==="rtl"}),style:n.style,onMousedown:he,onMouseup:F,onMouseenter:Ce,onMouseleave:Pe,onContextmenu:xe,onClick:Be},[i("div",{class:re(`${B}-input`,{[`${B}-input-placeholder`]:!!N.value}),ref:f},[ze,ve,ge]),i(XR,{visible:S.value,popupStyle:k,prefixCls:B,dropdownClassName:U,dropdownAlign:Y,getPopupContainer:se,transitionName:Z,popupPlacement:Ie,direction:ae},{default:()=>[i("div",{style:{pointerEvents:"none",position:"absolute",top:0,bottom:0,left:0,right:0}},null)],popupElement:()=>De})])}}})}const a1e=r1e();function l1e(e,t){let{picker:n,locale:r,selectedValue:a,disabledDate:l,disabled:o,generateConfig:c}=e;const u=z(()=>ct(a.value,0)),d=z(()=>ct(a.value,1));function s(m){return c.value.locale.getWeekFirstDate(r.value.locale,m)}function f(m){const h=c.value.getYear(m),y=c.value.getMonth(m);return h*100+y}function p(m){const h=c.value.getYear(m),y=f2(c.value,m);return h*10+y}return[m=>{var h;if(l&&(!((h=l==null?void 0:l.value)===null||h===void 0)&&h.call(l,m)))return!0;if(o[1]&&d)return!Dr(c.value,m,d.value)&&c.value.isAfter(m,d.value);if(t.value[1]&&d.value)switch(n.value){case"quarter":return p(m)>p(d.value);case"month":return f(m)>f(d.value);case"week":return s(m)>s(d.value);default:return!Dr(c.value,m,d.value)&&c.value.isAfter(m,d.value)}return!1},m=>{var h;if(!((h=l.value)===null||h===void 0)&&h.call(l,m))return!0;if(o[0]&&u)return!Dr(c.value,m,d.value)&&c.value.isAfter(u.value,m);if(t.value[0]&&u.value)switch(n.value){case"quarter":return p(m)Rce(r,o,c));case"quarter":case"month":return l((o,c)=>iu(r,o,c));default:return l((o,c)=>S3(r,o,c))}}function i1e(e,t,n,r){const a=ct(e,0),l=ct(e,1);if(t===0)return a;if(a&&l)switch(o1e(a,l,n,r)){case"same":return a;case"closing":return a;default:return Io(l,n,r,-1)}return a}function c1e(e){let{values:t,picker:n,defaultDates:r,generateConfig:a}=e;const l=ne([ct(r,0),ct(r,1)]),o=ne(null),c=z(()=>ct(t.value,0)),u=z(()=>ct(t.value,1)),d=v=>l.value[v]?l.value[v]:ct(o.value,v)||i1e(t.value,v,n.value,a.value)||c.value||u.value||a.value.getNow(),s=ne(null),f=ne(null);Ve(()=>{s.value=d(0),f.value=d(1)});function p(v,b){if(v){let m=Bn(o.value,v,b);l.value=Bn(l.value,null,b)||[null,null];const h=(b+1)%2;ct(t.value,h)||(m=Bn(m,v,h)),o.value=m}else(c.value||u.value)&&(o.value=null)}return[s,f,p]}function ZR(e){return VU()?(RU(e),!0):!1}function u1e(e){return typeof e=="function"?e():Ht(e)}function I3(e){var t;const n=u1e(e);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function s1e(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;_n()?We(e):t?e():rt(e)}function JR(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=q(),r=()=>n.value=!!e();return r(),s1e(r,t),n}var Ts;const KR=typeof window<"u";KR&&(!((Ts=window==null?void 0:window.navigator)===null||Ts===void 0)&&Ts.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);const eW=KR?window:void 0;var d1e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a2&&arguments[2]!==void 0?arguments[2]:{};const{window:r=eW}=n,a=d1e(n,["window"]);let l;const o=JR(()=>r&&"ResizeObserver"in r),c=()=>{l&&(l.disconnect(),l=void 0)},u=de(()=>I3(e),s=>{c(),o.value&&r&&s&&(l=new ResizeObserver(t),l.observe(s,a))},{immediate:!0,flush:"post"}),d=()=>{c(),u()};return ZR(d),{isSupported:o,stop:d}}function Oo(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{width:0,height:0},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{box:r="content-box"}=n,a=q(t.width),l=q(t.height);return f1e(e,o=>{let[c]=o;const u=r==="border-box"?c.borderBoxSize:r==="content-box"?c.contentBoxSize:c.devicePixelContentBoxSize;u?(a.value=u.reduce((d,s)=>{let{inlineSize:f}=s;return d+f},0),l.value=u.reduce((d,s)=>{let{blockSize:f}=s;return d+f},0)):(a.value=c.contentRect.width,l.value=c.contentRect.height)},n),de(()=>I3(e),o=>{a.value=o?t.width:0,l.value=o?t.height:0}),{width:a,height:l}}function q$(e,t){return e&&e[0]&&e[1]&&t.isAfter(e[0],e[1])?[e[1],e[0]]:e}function k$(e,t,n,r){return!!(e||r&&r[t]||n[(t+1)%2])}function p1e(){return ee({name:"RangerPicker",inheritAttrs:!1,props:["prefixCls","id","popupStyle","dropdownClassName","transitionName","dropdownAlign","getPopupContainer","generateConfig","locale","placeholder","autofocus","disabled","format","picker","showTime","showNow","showHour","showMinute","showSecond","use12Hours","separator","value","defaultValue","defaultPickerValue","open","defaultOpen","disabledDate","disabledTime","dateRender","panelRender","ranges","allowEmpty","allowClear","suffixIcon","clearIcon","pickerRef","inputReadOnly","mode","renderExtraFooter","onChange","onOpenChange","onPanelChange","onCalendarChange","onFocus","onBlur","onMousedown","onMouseup","onMouseenter","onMouseleave","onClick","onOk","onKeydown","components","order","direction","activePickerIndex","autocomplete","minuteStep","hourStep","secondStep","hideDisabledOptions","disabledMinutes","presets","prevIcon","nextIcon","superPrevIcon","superNextIcon"],setup(e,t){let{attrs:n,expose:r}=t;const a=z(()=>e.picker==="date"&&!!e.showTime||e.picker==="time"),l=z(()=>e.presets),o=z(()=>e.ranges),c=QR(l,o),u=ne({}),d=ne(null),s=ne(null),f=ne(null),p=ne(null),v=ne(null),b=ne(null),m=ne(null),h=ne(null),y=z(()=>VR(AR(e.format,e.picker,e.showTime,e.use12Hours))),[S,O]=Ft(0,{value:Ne(e,"activePickerIndex")}),w=ne(null),$=z(()=>{const{disabled:Se}=e;return Array.isArray(Se)?Se:[Se||!1,Se||!1]}),[x,P]=Ft(null,{value:Ne(e,"value"),defaultValue:e.defaultValue,postState:Se=>e.picker==="time"&&!e.order?Se:q$(Se,e.generateConfig)}),[M,j,T]=c1e({values:x,picker:Ne(e,"picker"),defaultDates:e.defaultPickerValue,generateConfig:Ne(e,"generateConfig")}),[E,F]=Ft(x.value,{postState:Se=>{let Fe=Se;if($.value[0]&&$.value[1])return Fe;for(let Ae=0;Ae<2;Ae+=1)$.value[Ae]&&!ct(Fe,Ae)&&!ct(e.allowEmpty,Ae)&&(Fe=Bn(Fe,e.generateConfig.getNow(),Ae));return Fe}}),[A,W]=Ft([e.picker,e.picker],{value:Ne(e,"mode")});de(()=>e.picker,()=>{W([e.picker,e.picker])});const _=(Se,Fe)=>{var Ae;W(Se),(Ae=e.onPanelChange)===null||Ae===void 0||Ae.call(e,Fe,Se)},[N,D]=l1e({picker:Ne(e,"picker"),selectedValue:E,locale:Ne(e,"locale"),disabled:$,disabledDate:Ne(e,"disabledDate"),generateConfig:Ne(e,"generateConfig")},u),[V,I]=Ft(!1,{value:Ne(e,"open"),defaultValue:e.defaultOpen,postState:Se=>$.value[S.value]?!1:Se,onChange:Se=>{var Fe;(Fe=e.onOpenChange)===null||Fe===void 0||Fe.call(e,Se),!Se&&w.value&&w.value.onClose&&w.value.onClose()}}),B=z(()=>V.value&&S.value===0),R=z(()=>V.value&&S.value===1),L=ne(0),U=ne(0),Y=ne(0),{width:k}=Oo(d);de([V,k],()=>{!V.value&&d.value&&(Y.value=k.value)});const{width:Z}=Oo(s),{width:K}=Oo(h),{width:te}=Oo(f),{width:J}=Oo(v);de([S,V,Z,K,te,J,()=>e.direction],()=>{U.value=0,S.value?f.value&&v.value&&(U.value=te.value+J.value,Z.value&&K.value&&U.value>Z.value-K.value-(e.direction==="rtl"||h.value.offsetLeft>U.value?0:h.value.offsetLeft)&&(L.value=U.value)):S.value===0&&(L.value=0)},{immediate:!0});const X=ne();function Q(Se,Fe){if(Se)clearTimeout(X.value),u.value[Fe]=!0,O(Fe),I(Se),V.value||T(null,Fe);else if(S.value===Fe){I(Se);const Ae=u.value;X.value=setTimeout(()=>{Ae===u.value&&(u.value={})})}}function oe(Se){Q(!0,Se),setTimeout(()=>{const Fe=[b,m][Se];Fe.value&&Fe.value.focus()},0)}function ue(Se,Fe){let Ae=Se,pt=ct(Ae,0),Tt=ct(Ae,1);const{generateConfig:Ct,locale:an,picker:Bt,order:dr,onCalendarChange:mn,allowEmpty:Hn,onChange:Ot,showTime:Xn}=e;pt&&Tt&&Ct.isAfter(pt,Tt)&&(Bt==="week"&&!BR(Ct,an.locale,pt,Tt)||Bt==="quarter"&&!FR(Ct,pt,Tt)||Bt!=="week"&&Bt!=="quarter"&&Bt!=="time"&&!(Xn?Tl(Ct,pt,Tt):Dr(Ct,pt,Tt))?(Fe===0?(Ae=[pt,null],Tt=null):(pt=null,Ae=[null,Tt]),u.value={[Fe]:!0}):(Bt!=="time"||dr!==!1)&&(Ae=q$(Ae,Ct))),F(Ae);const An=Ae&&Ae[0]?Lt(Ae[0],{generateConfig:Ct,locale:an,format:y.value[0]}):"",Jr=Ae&&Ae[1]?Lt(Ae[1],{generateConfig:Ct,locale:an,format:y.value[0]}):"";mn&&mn(Ae,[An,Jr],{range:Fe===0?"start":"end"});const Kr=k$(pt,0,$.value,Hn),Yn=k$(Tt,1,$.value,Hn);(Ae===null||Kr&&Yn)&&(P(Ae),Ot&&(!Tl(Ct,ct(x.value,0),pt)||!Tl(Ct,ct(x.value,1),Tt))&&Ot(Ae,[An,Jr]));let Qn=null;Fe===0&&!$.value[1]?Qn=1:Fe===1&&!$.value[0]&&(Qn=0),Qn!==null&&Qn!==S.value&&(!u.value[Qn]||!ct(Ae,Qn))&&ct(Ae,Fe)?oe(Qn):Q(!1,Fe)}const ye=Se=>V&&w.value&&w.value.onKeydown?w.value.onKeydown(Se):!1,Oe={formatList:y,generateConfig:Ne(e,"generateConfig"),locale:Ne(e,"locale")},[pe,we]=h1(z(()=>ct(E.value,0)),Oe),[se,ie]=h1(z(()=>ct(E.value,1)),Oe),he=(Se,Fe)=>{const Ae=NR(Se,{locale:e.locale,formatList:y.value,generateConfig:e.generateConfig});Ae&&!(Fe===0?N:D)(Ae)&&(F(Bn(E.value,Ae,Fe)),T(Ae,Fe))},[Ce,Pe,xe]=g2({valueTexts:pe,onTextChange:Se=>he(Se,0)}),[Be,le,ae]=g2({valueTexts:se,onTextChange:Se=>he(Se,1)}),[me,Te]=ft(null),[_e,De]=ft(null),[ve,ge,be]=h2(Ce,Oe),[ze,Ie,Me]=h2(Be,Oe),He=Se=>{De(Bn(E.value,Se,S.value)),S.value===0?ge(Se):Ie(Se)},ke=()=>{De(Bn(E.value,null,S.value)),S.value===0?be():Me()},ot=(Se,Fe)=>({forwardKeydown:ye,onBlur:Ae=>{var pt;(pt=e.onBlur)===null||pt===void 0||pt.call(e,Ae)},isClickOutside:Ae=>!DR([s.value,f.value,p.value,d.value],Ae),onFocus:Ae=>{var pt;O(Se),(pt=e.onFocus)===null||pt===void 0||pt.call(e,Ae)},triggerOpen:Ae=>{Q(Ae,Se)},onSubmit:()=>{if(!E.value||e.disabledDate&&e.disabledDate(E.value[Se]))return!1;ue(E.value,Se),Fe()},onCancel:()=>{Q(!1,Se),F(x.value),Fe()}}),[Qe,{focused:nt,typing:it}]=m2(g(g({},ot(0,xe)),{blurToCancel:a,open:B,value:Ce,onKeydown:(Se,Fe)=>{var Ae;(Ae=e.onKeydown)===null||Ae===void 0||Ae.call(e,Se,Fe)}})),[zt,{focused:jt,typing:Et}]=m2(g(g({},ot(1,ae)),{blurToCancel:a,open:R,value:Be,onKeydown:(Se,Fe)=>{var Ae;(Ae=e.onKeydown)===null||Ae===void 0||Ae.call(e,Se,Fe)}})),Pt=Se=>{var Fe;(Fe=e.onClick)===null||Fe===void 0||Fe.call(e,Se),!V.value&&!b.value.contains(Se.target)&&!m.value.contains(Se.target)&&($.value[0]?$.value[1]||oe(1):oe(0))},Ut=Se=>{var Fe;(Fe=e.onMousedown)===null||Fe===void 0||Fe.call(e,Se),V.value&&(nt.value||jt.value)&&!b.value.contains(Se.target)&&!m.value.contains(Se.target)&&Se.preventDefault()},nn=z(()=>{var Se;return!((Se=x.value)===null||Se===void 0)&&Se[0]?Lt(x.value[0],{locale:e.locale,format:"YYYYMMDDHHmmss",generateConfig:e.generateConfig}):""}),En=z(()=>{var Se;return!((Se=x.value)===null||Se===void 0)&&Se[1]?Lt(x.value[1],{locale:e.locale,format:"YYYYMMDDHHmmss",generateConfig:e.generateConfig}):""});de([V,pe,se],()=>{V.value||(F(x.value),!pe.value.length||pe.value[0]===""?Pe(""):we.value!==Ce.value&&xe(),!se.value.length||se.value[0]===""?le(""):ie.value!==Be.value&&ae())}),de([nn,En],()=>{F(x.value)}),r({focus:()=>{b.value&&b.value.focus()},blur:()=>{b.value&&b.value.blur(),m.value&&m.value.blur()}});const kn=z(()=>V.value&&_e.value&&_e.value[0]&&_e.value[1]&&e.generateConfig.isAfter(_e.value[1],_e.value[0])?_e.value:null);function rn(){let Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{generateConfig:Ae,showTime:pt,dateRender:Tt,direction:Ct,disabledTime:an,prefixCls:Bt,locale:dr}=e;let mn=pt;if(pt&&typeof pt=="object"&&pt.defaultValue){const Ot=pt.defaultValue;mn=g(g({},pt),{defaultValue:ct(Ot,S.value)||void 0})}let Hn=null;return Tt&&(Hn=Ot=>{let{current:Xn,today:An}=Ot;return Tt({current:Xn,today:An,info:{range:S.value?"end":"start"}})}),i(Yce,{value:{inRange:!0,panelPosition:Se,rangedValue:me.value||E.value,hoverRangedValue:kn.value}},{default:()=>[i(kR,H(H(H({},e),Fe),{},{dateRender:Hn,showTime:mn,mode:A.value[S.value],generateConfig:Ae,style:void 0,direction:Ct,disabledDate:S.value===0?N:D,disabledTime:Ot=>an?an(Ot,S.value===0?"start":"end"):!1,class:re({[`${Bt}-panel-focused`]:S.value===0?!it.value:!Et.value}),value:ct(E.value,S.value),locale:dr,tabIndex:-1,onPanelChange:(Ot,Xn)=>{S.value===0&&be(!0),S.value===1&&Me(!0),_(Bn(A.value,Xn,S.value),Bn(E.value,Ot,S.value));let An=Ot;Se==="right"&&A.value[S.value]===Xn&&(An=Io(An,Xn,Ae,-1)),T(An,S.value)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:S.value===0?ct(E.value,1):ct(E.value,0)}),null)]})}const ya=(Se,Fe)=>{const Ae=Bn(E.value,Se,S.value);Fe==="submit"||Fe!=="key"&&!a.value?(ue(Ae,S.value),S.value===0?be():Me()):F(Ae)};return h3({operationRef:w,hideHeader:z(()=>e.picker==="time"),onDateMouseenter:He,onDateMouseleave:ke,hideRanges:z(()=>!0),onSelect:ya,open:V}),()=>{const{prefixCls:Se="rc-picker",id:Fe,popupStyle:Ae,dropdownClassName:pt,transitionName:Tt,dropdownAlign:Ct,getPopupContainer:an,generateConfig:Bt,locale:dr,placeholder:mn,autofocus:Hn,picker:Ot="date",showTime:Xn,separator:An="~",disabledDate:Jr,panelRender:Kr,allowClear:Yn,suffixIcon:al,clearIcon:Qn,inputReadOnly:Xu,renderExtraFooter:jU,onMouseenter:TU,onMouseleave:_U,onMouseup:EU,onOk:Yy,components:HU,direction:fo,autocomplete:Qy="off"}=e,AU=fo==="rtl"?{right:`${U.value}px`}:{left:`${U.value}px`};function IU(){let ln;const ea=UR(Se,A.value[S.value],jU),eO=qR({prefixCls:Se,components:HU,needConfirmButton:a.value,okDisabled:!ct(E.value,S.value)||Jr&&Jr(E.value[S.value]),locale:dr,onOk:()=>{ct(E.value,S.value)&&(ue(E.value,S.value),Yy&&Yy(E.value))}});if(Ot!=="time"&&!Xn){const ta=S.value===0?M.value:j.value,BU=Io(ta,Ot,Bt),Ju=A.value[S.value]===Ot,tO=rn(Ju?"left":!1,{pickerValue:ta,onPickerValueChange:Ku=>{T(Ku,S.value)}}),nO=rn("right",{pickerValue:BU,onPickerValueChange:Ku=>{T(Io(Ku,Ot,Bt,-1),S.value)}});fo==="rtl"?ln=i(et,null,[nO,Ju&&tO]):ln=i(et,null,[tO,Ju&&nO])}else ln=rn();let Zu=i("div",{class:`${Se}-panel-layout`},[i(YR,{prefixCls:Se,presets:c.value,onClick:ta=>{ue(ta,null),Q(!1,S.value)},onHover:ta=>{Te(ta)}},null),i("div",null,[i("div",{class:`${Se}-panels`},[ln]),(ea||eO)&&i("div",{class:`${Se}-footer`},[ea,eO])])]);return Kr&&(Zu=Kr(Zu)),i("div",{class:`${Se}-panel-container`,style:{marginLeft:`${L.value}px`},ref:s,onMousedown:ta=>{ta.preventDefault()}},[Zu])}const DU=i("div",{class:re(`${Se}-range-wrapper`,`${Se}-${Ot}-range-wrapper`),style:{minWidth:`${Y.value}px`}},[i("div",{ref:h,class:`${Se}-range-arrow`,style:AU},null),IU()]);let Zy;al&&(Zy=i("span",{class:`${Se}-suffix`},[al]));let Jy;Yn&&(ct(x.value,0)&&!$.value[0]||ct(x.value,1)&&!$.value[1])&&(Jy=i("span",{onMousedown:ln=>{ln.preventDefault(),ln.stopPropagation()},onMouseup:ln=>{ln.preventDefault(),ln.stopPropagation();let ea=x.value;$.value[0]||(ea=Bn(ea,null,0)),$.value[1]||(ea=Bn(ea,null,1)),ue(ea,null),Q(!1,S.value)},class:`${Se}-clear`},[Qn||i("span",{class:`${Se}-clear-btn`},null)]));const Ky={size:IR(Ot,y.value[0],Bt)};let Yu=0,Qu=0;f.value&&p.value&&v.value&&(S.value===0?Qu=f.value.offsetWidth:(Yu=U.value,Qu=p.value.offsetWidth));const FU=fo==="rtl"?{right:`${Yu}px`}:{left:`${Yu}px`};return i("div",H({ref:d,class:re(Se,`${Se}-range`,n.class,{[`${Se}-disabled`]:$.value[0]&&$.value[1],[`${Se}-focused`]:S.value===0?nt.value:jt.value,[`${Se}-rtl`]:fo==="rtl"}),style:n.style,onClick:Pt,onMouseenter:TU,onMouseleave:_U,onMousedown:Ut,onMouseup:EU},RR(e)),[i("div",{class:re(`${Se}-input`,{[`${Se}-input-active`]:S.value===0,[`${Se}-input-placeholder`]:!!ve.value}),ref:f},[i("input",H(H(H({id:Fe,disabled:$.value[0],readonly:Xu||typeof y.value[0]=="function"||!it.value,value:ve.value||Ce.value,onInput:ln=>{Pe(ln.target.value)},autofocus:Hn,placeholder:ct(mn,0)||"",ref:b},Qe.value),Ky),{},{autocomplete:Qy}),null)]),i("div",{class:`${Se}-range-separator`,ref:v},[An]),i("div",{class:re(`${Se}-input`,{[`${Se}-input-active`]:S.value===1,[`${Se}-input-placeholder`]:!!ze.value}),ref:p},[i("input",H(H(H({disabled:$.value[1],readonly:Xu||typeof y.value[0]=="function"||!Et.value,value:ze.value||Be.value,onInput:ln=>{le(ln.target.value)},placeholder:ct(mn,1)||"",ref:m},zt.value),Ky),{},{autocomplete:Qy}),null)]),i("div",{class:`${Se}-active-bar`,style:g(g({},FU),{width:`${Qu}px`,position:"absolute"})},null),Zy,Jy,i(XR,{visible:V.value,popupStyle:Ae,prefixCls:Se,dropdownClassName:pt,dropdownAlign:Ct,getPopupContainer:an,transitionName:Tt,range:!0,direction:fo},{default:()=>[i("div",{style:{pointerEvents:"none",position:"absolute",top:0,bottom:0,left:0,right:0}},null)],popupElement:()=>DU})])}}})}const v1e=p1e();var m1e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ae.checked,()=>{l.value=e.checked}),a({focus(){var s;(s=o.value)===null||s===void 0||s.focus()},blur(){var s;(s=o.value)===null||s===void 0||s.blur()}});const c=ne(),u=s=>{if(e.disabled)return;e.checked===void 0&&(l.value=s.target.checked),s.shiftKey=c.value;const f={target:g(g({},e),{checked:s.target.checked}),stopPropagation(){s.stopPropagation()},preventDefault(){s.preventDefault()},nativeEvent:s};e.checked!==void 0&&(o.value.checked=!!e.checked),r("change",f),c.value=!1},d=s=>{r("click",s),c.value=s.shiftKey};return()=>{const{prefixCls:s,name:f,id:p,type:v,disabled:b,readonly:m,tabindex:h,autofocus:y,value:S,required:O}=e,w=m1e(e,["prefixCls","name","id","type","disabled","readonly","tabindex","autofocus","value","required"]),{class:$,onFocus:x,onBlur:P,onKeydown:M,onKeypress:j,onKeyup:T}=n,E=g(g({},w),n),F=Object.keys(E).reduce((_,N)=>((N.startsWith("data-")||N.startsWith("aria-")||N==="role")&&(_[N]=E[N]),_),{}),A=re(s,$,{[`${s}-checked`]:l.value,[`${s}-disabled`]:b}),W=g(g({name:f,id:p,type:v,readonly:m,disabled:b,tabindex:h,class:`${s}-input`,checked:!!l.value,autofocus:y,value:S},F),{onChange:u,onClick:d,onFocus:x,onBlur:P,onKeydown:M,onKeypress:j,onKeyup:T,required:O});return i("span",{class:A},[i("input",H({ref:o},W),null),i("span",{class:`${s}-inner`},null)])}}}),nW=Symbol("radioGroupContextKey"),h1e=e=>{qe(nW,e)},b1e=()=>Ue(nW,void 0),rW=Symbol("radioOptionTypeContextKey"),y1e=e=>{qe(rW,e)},O1e=()=>Ue(rW,void 0),S1e=new Ze("antRadioEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}}),$1e=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:g(g({},tt(e)),{display:"inline-block",fontSize:0,[`&${r}-rtl`]:{direction:"rtl"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},w1e=e=>{const{componentCls:t,radioWrapperMarginRight:n,radioCheckedColor:r,radioSize:a,motionDurationSlow:l,motionDurationMid:o,motionEaseInOut:c,motionEaseInOutCirc:u,radioButtonBg:d,colorBorder:s,lineWidth:f,radioDotSize:p,colorBgContainerDisabled:v,colorTextDisabled:b,paddingXS:m,radioDotDisabledColor:h,lineType:y,radioDotDisabledSize:S,wireframe:O,colorWhite:w}=e,$=`${t}-inner`;return{[`${t}-wrapper`]:g(g({},tt(e)),{position:"relative",display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${f}px ${y} ${r}`,borderRadius:"50%",visibility:"hidden",animationName:S1e,animationDuration:l,animationTimingFunction:c,animationFillMode:"both",content:'""'},[t]:g(g({},tt(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center"}),[`${t}-wrapper:hover &, + &:hover ${$}`]:{borderColor:r},[`${t}-input:focus-visible + ${$}`]:g({},Rr(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:a,height:a,marginBlockStart:a/-2,marginInlineStart:a/-2,backgroundColor:O?r:w,borderBlockStart:0,borderInlineStart:0,borderRadius:a,transform:"scale(0)",opacity:0,transition:`all ${l} ${u}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:a,height:a,backgroundColor:d,borderColor:s,borderStyle:"solid",borderWidth:f,borderRadius:"50%",transition:`all ${o}`},[`${t}-input`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,insetBlockEnd:0,insetInlineStart:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[$]:{borderColor:r,backgroundColor:O?d:r,"&::after":{transform:`scale(${p/a})`,opacity:1,transition:`all ${l} ${u}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[$]:{backgroundColor:v,borderColor:s,cursor:"not-allowed","&::after":{backgroundColor:h}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:b,cursor:"not-allowed"},[`&${t}-checked`]:{[$]:{"&::after":{transform:`scale(${S/a})`}}}},[`span${t} + *`]:{paddingInlineStart:m,paddingInlineEnd:m}})}},P1e=e=>{const{radioButtonColor:t,controlHeight:n,componentCls:r,lineWidth:a,lineType:l,colorBorder:o,motionDurationSlow:c,motionDurationMid:u,radioButtonPaddingHorizontal:d,fontSize:s,radioButtonBg:f,fontSizeLG:p,controlHeightLG:v,controlHeightSM:b,paddingXS:m,borderRadius:h,borderRadiusSM:y,borderRadiusLG:S,radioCheckedColor:O,radioButtonCheckedBg:w,radioButtonHoverColor:$,radioButtonActiveColor:x,radioSolidCheckedColor:P,colorTextDisabled:M,colorBgContainerDisabled:j,radioDisabledButtonCheckedColor:T,radioDisabledButtonCheckedBg:E}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:d,paddingBlock:0,color:t,fontSize:s,lineHeight:`${n-a*2}px`,background:f,border:`${a}px ${l} ${o}`,borderBlockStartWidth:a+.02,borderInlineStartWidth:0,borderInlineEndWidth:a,cursor:"pointer",transition:[`color ${u}`,`background ${u}`,`border-color ${u}`,`box-shadow ${u}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-a,insetInlineStart:-a,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:a,paddingInline:0,backgroundColor:o,transition:`background-color ${c}`,content:'""'}},"&:first-child":{borderInlineStart:`${a}px ${l} ${o}`,borderStartStartRadius:h,borderEndStartRadius:h},"&:last-child":{borderStartEndRadius:h,borderEndEndRadius:h},"&:first-child:last-child":{borderRadius:h},[`${r}-group-large &`]:{height:v,fontSize:p,lineHeight:`${v-a*2}px`,"&:first-child":{borderStartStartRadius:S,borderEndStartRadius:S},"&:last-child":{borderStartEndRadius:S,borderEndEndRadius:S}},[`${r}-group-small &`]:{height:b,paddingInline:m-a,paddingBlock:0,lineHeight:`${b-a*2}px`,"&:first-child":{borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y}},"&:hover":{position:"relative",color:O},"&:has(:focus-visible)":g({},Rr(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:O,background:w,borderColor:O,"&::before":{backgroundColor:O},"&:first-child":{borderColor:O},"&:hover":{color:$,borderColor:$,"&::before":{backgroundColor:$}},"&:active":{color:x,borderColor:x,"&::before":{backgroundColor:x}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:P,background:O,borderColor:O,"&:hover":{color:P,background:$,borderColor:$},"&:active":{color:P,background:x,borderColor:x}},"&-disabled":{color:M,backgroundColor:j,borderColor:o,cursor:"not-allowed","&:first-child, &:hover":{color:M,backgroundColor:j,borderColor:o}},[`&-disabled${r}-button-wrapper-checked`]:{color:T,backgroundColor:E,borderColor:o,boxShadow:"none"}}}},aW=Je("Radio",e=>{const{padding:t,lineWidth:n,controlItemBgActiveDisabled:r,colorTextDisabled:a,colorBgContainer:l,fontSizeLG:o,controlOutline:c,colorPrimaryHover:u,colorPrimaryActive:d,colorText:s,colorPrimary:f,marginXS:p,controlOutlineWidth:v,colorTextLightSolid:b,wireframe:m}=e,h=`0 0 0 ${v}px ${c}`,y=h,S=o,O=4,w=S-O*2,$=m?w:S-(O+n)*2,x=f,P=s,M=u,j=d,T=t-n,A=Ge(e,{radioFocusShadow:h,radioButtonFocusShadow:y,radioSize:S,radioDotSize:$,radioDotDisabledSize:w,radioCheckedColor:x,radioDotDisabledColor:a,radioSolidCheckedColor:b,radioButtonBg:l,radioButtonCheckedBg:l,radioButtonColor:P,radioButtonHoverColor:M,radioButtonActiveColor:j,radioButtonPaddingHorizontal:T,radioDisabledButtonCheckedBg:r,radioDisabledButtonCheckedColor:a,radioWrapperMarginRight:p});return[$1e(A),w1e(A),P1e(A)]});var C1e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a({prefixCls:String,checked:$e(),disabled:$e(),isGroup:$e(),value:G.any,name:String,id:String,autofocus:$e(),onChange:ce(),onFocus:ce(),onBlur:ce(),onClick:ce(),"onUpdate:checked":ce(),"onUpdate:value":ce()}),un=ee({compatConfig:{MODE:3},name:"ARadio",inheritAttrs:!1,props:lW(),setup(e,t){let{emit:n,expose:r,slots:a,attrs:l}=t;const o=en(),c=Tn.useInject(),u=O1e(),d=b1e(),s=Rn(),f=z(()=>{var M;return(M=m.value)!==null&&M!==void 0?M:s.value}),p=ne(),{prefixCls:v,direction:b,disabled:m}=je("radio",e),h=z(()=>(d==null?void 0:d.optionType.value)==="button"||u==="button"?`${v.value}-button`:v.value),y=Rn(),[S,O]=aW(v);r({focus:()=>{p.value.focus()},blur:()=>{p.value.blur()}});const x=M=>{const j=M.target.checked;n("update:checked",j),n("update:value",j),n("change",M),o.onFieldChange()},P=M=>{n("change",M),d&&d.onChange&&d.onChange(M)};return()=>{var M;const j=d,{prefixCls:T,id:E=o.id.value}=e,F=C1e(e,["prefixCls","id"]),A=g(g({prefixCls:h.value,id:E},at(F,["onUpdate:checked","onUpdate:value"])),{disabled:(M=m.value)!==null&&M!==void 0?M:y.value});j?(A.name=j.name.value,A.onChange=P,A.checked=e.value===j.value.value,A.disabled=f.value||j.disabled.value):A.onChange=x;const W=re({[`${h.value}-wrapper`]:!0,[`${h.value}-wrapper-checked`]:A.checked,[`${h.value}-wrapper-disabled`]:A.disabled,[`${h.value}-wrapper-rtl`]:b.value==="rtl",[`${h.value}-wrapper-in-form-item`]:c.isFormItemInput},l.class,O.value);return S(i("label",H(H({},l),{},{class:W}),[i(tW,H(H({},A),{},{type:"radio",ref:p}),null),a.default&&i("span",null,[a.default()])]))}}}),x1e=()=>({prefixCls:String,value:G.any,size:Le(),options:st(),disabled:$e(),name:String,buttonStyle:Le("outline"),id:String,optionType:Le("default"),onChange:ce(),"onUpdate:value":ce()}),z1e=ee({compatConfig:{MODE:3},name:"ARadioGroup",inheritAttrs:!1,props:x1e(),setup(e,t){let{slots:n,emit:r,attrs:a}=t;const l=en(),{prefixCls:o,direction:c,size:u}=je("radio",e),[d,s]=aW(o),f=ne(e.value),p=ne(!1);return de(()=>e.value,b=>{f.value=b,p.value=!1}),h1e({onChange:b=>{const m=f.value,{value:h}=b.target;"value"in e||(f.value=h),!p.value&&h!==m&&(p.value=!0,r("update:value",h),r("change",b),l.onFieldChange()),rt(()=>{p.value=!1})},value:f,disabled:z(()=>e.disabled),name:z(()=>e.name),optionType:z(()=>e.optionType)}),()=>{var b;const{options:m,buttonStyle:h,id:y=l.id.value}=e,S=`${o.value}-group`,O=re(S,`${S}-${h}`,{[`${S}-${u.value}`]:u.value,[`${S}-rtl`]:c.value==="rtl"},a.class,s.value);let w=null;return m&&m.length>0?w=m.map($=>{if(typeof $=="string"||typeof $=="number")return i(un,{key:$,prefixCls:o.value,disabled:e.disabled,value:$,checked:f.value===$},{default:()=>[$]});const{value:x,disabled:P,label:M}=$;return i(un,{key:`radio-group-value-options-${x}`,prefixCls:o.value,disabled:P||e.disabled,value:x,checked:f.value===x},{default:()=>[M]})}):w=(b=n.default)===null||b===void 0?void 0:b.call(n),d(i("div",H(H({},a),{},{class:O,id:y}),[w]))}}}),M1e=ee({compatConfig:{MODE:3},name:"ARadioButton",inheritAttrs:!1,props:lW(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:a}=je("radio",e);return y1e("button"),()=>{var l;return i(un,H(H(H({},r),e),{},{prefixCls:a.value}),{default:()=>[(l=n.default)===null||l===void 0?void 0:l.call(n)]})}}});un.Group=z1e;un.Button=M1e;un.install=function(e){return e.component(un.name,un),e.component(un.Group.name,un.Group),e.component(un.Button.name,un.Button),e};const oW=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),uo=e=>({borderColor:e.inputBorderHoverColor,borderInlineEndWidth:e.lineWidth}),Ga=e=>({borderColor:e.inputBorderHoverColor,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`,borderInlineEndWidth:e.lineWidth,outline:0}),iW=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":g({},uo(Ge(e,{inputBorderHoverColor:e.colorBorder})))}),cW=e=>{const{inputPaddingVerticalLG:t,fontSizeLG:n,lineHeightLG:r,borderRadiusLG:a,inputPaddingHorizontalLG:l}=e;return{padding:`${t}px ${l}px`,fontSize:n,lineHeight:r,borderRadius:a}},D3=e=>({padding:`${e.inputPaddingVerticalSM}px ${e.controlPaddingHorizontalSM-1}px`,borderRadius:e.borderRadiusSM}),du=(e,t)=>{const{componentCls:n,colorError:r,colorWarning:a,colorErrorOutline:l,colorWarningOutline:o,colorErrorBorderHover:c,colorWarningBorderHover:u}=e;return{[`&-status-error:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:r,"&:hover":{borderColor:c},"&:focus, &-focused":g({},Ga(Ge(e,{inputBorderActiveColor:r,inputBorderHoverColor:r,controlOutline:l}))),[`${n}-prefix`]:{color:r}},[`&-status-warning:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:a,"&:hover":{borderColor:u},"&:focus, &-focused":g({},Ga(Ge(e,{inputBorderActiveColor:a,inputBorderHoverColor:a,controlOutline:o}))),[`${n}-prefix`]:{color:a}}}},so=e=>g(g({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${e.inputPaddingVertical}px ${e.inputPaddingHorizontal}px`,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,backgroundColor:e.colorBgContainer,backgroundImage:"none",borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:e.colorBorder,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},oW(e.colorTextPlaceholder)),{"&:hover":g({},uo(e)),"&:focus, &-focused":g({},Ga(e)),"&-disabled, &[disabled]":g({},iW(e)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":g({},cW(e)),"&-sm":g({},D3(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),uW=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:g({},cW(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:g({},D3(e)),[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${e.inputPaddingHorizontal}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,textAlign:"center",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`-${e.inputPaddingVertical+1}px -${e.inputPaddingHorizontal}px`,[`&${n}-select-single:not(${n}-select-customize-input)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${e.lineWidth}px ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px -${e.inputPaddingHorizontal}px`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${t}`]:{float:"inline-start",width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:g(g({display:"block"},cr()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`& > ${t}-affix-wrapper`]:{display:"inline-flex"},[`& > ${n}-picker-range`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-e.lineWidth,borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${n}-select > ${n}-select-selector, + & > ${n}-select-auto-complete ${t}, + & > ${n}-cascader-picker ${t}, + & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child, + & > ${n}-select:first-child > ${n}-select-selector, + & > ${n}-select-auto-complete:first-child ${t}, + & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, + & > ${n}-select:last-child > ${n}-select-selector, + & > ${n}-cascader-picker:last-child ${t}, + & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:-e.lineWidth,[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}}),[`&&-sm ${n}-btn`]:{fontSize:e.fontSizeSM,height:e.controlHeightSM,lineHeight:"normal"},[`&&-lg ${n}-btn`]:{fontSize:e.fontSizeLG,height:e.controlHeightLG,lineHeight:"normal"},[`&&-lg ${n}-select-single ${n}-select-selector`]:{height:`${e.controlHeightLG}px`,[`${n}-select-selection-item, ${n}-select-selection-placeholder`]:{lineHeight:`${e.controlHeightLG-2}px`},[`${n}-select-selection-search-input`]:{height:`${e.controlHeightLG}px`}},[`&&-sm ${n}-select-single ${n}-select-selector`]:{height:`${e.controlHeightSM}px`,[`${n}-select-selection-item, ${n}-select-selection-placeholder`]:{lineHeight:`${e.controlHeightSM-2}px`},[`${n}-select-selection-search-input`]:{height:`${e.controlHeightSM}px`}}}},j1e=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r}=e,l=(n-r*2-16)/2;return{[t]:g(g(g(g({},tt(e)),so(e)),du(e,t)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:l,paddingBottom:l}}})}},T1e=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${e.inputAffixPadding}px`}},"&-textarea-with-clear-btn":{padding:"0 !important",border:"0 !important",[`${t}-clear-icon`]:{position:"absolute",insetBlockStart:e.paddingXS,insetInlineEnd:e.paddingXS,zIndex:1}}}},_1e=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:a,colorIcon:l,colorIconHover:o,iconCls:c}=e;return{[`${t}-affix-wrapper`]:g(g(g(g(g({},so(e)),{display:"inline-flex",[`&:not(${t}-affix-wrapper-disabled):hover`]:g(g({},uo(e)),{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&:focus":{boxShadow:"none !important"}},"&::before":{width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),T1e(e)),{[`${c}${t}-password-icon`]:{color:l,cursor:"pointer",transition:`all ${a}`,"&:hover":{color:o}}}),du(e,`${t}-affix-wrapper`))}},E1e=e=>{const{componentCls:t,colorError:n,colorSuccess:r,borderRadiusLG:a,borderRadiusSM:l}=e;return{[`${t}-group`]:g(g(g({},tt(e)),uW(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:a}},"&-sm":{[`${t}-group-addon`]:{borderRadius:l}},"&-status-error":{[`${t}-group-addon`]:{color:n,borderColor:n}},"&-status-warning":{[`${t}-group-addon:last-child`]:{color:r,borderColor:r}}}})}},H1e=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.lineHeightLG-2e-4},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:-e.lineWidth,borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button, + > ${t}, + ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}};function $i(e){return Ge(e,{inputAffixPadding:e.paddingXXS,inputPaddingVertical:Math.max(Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,3),inputPaddingVerticalLG:Math.ceil((e.controlHeightLG-e.fontSizeLG*e.lineHeightLG)/2*10)/10-e.lineWidth,inputPaddingVerticalSM:Math.max(Math.round((e.controlHeightSM-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,0),inputPaddingHorizontal:e.paddingSM-e.lineWidth,inputPaddingHorizontalSM:e.paddingXS-e.lineWidth,inputPaddingHorizontalLG:e.controlPaddingHorizontal-e.lineWidth,inputBorderHoverColor:e.colorPrimaryHover,inputBorderActiveColor:e.colorPrimaryHover})}const A1e=e=>{const{componentCls:t,inputPaddingHorizontal:n,paddingLG:r}=e,a=`${t}-textarea`;return{[a]:{position:"relative",[`${a}-suffix`]:{position:"absolute",top:0,insetInlineEnd:n,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto"},"&-status-error,\n &-status-warning,\n &-status-success,\n &-status-validating":{[`&${a}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:r}}},"&-show-count":{[`> ${t}`]:{height:"100%"},"&::after":{color:e.colorTextDescription,whiteSpace:"nowrap",content:"attr(data-count)",pointerEvents:"none",float:"right"}},"&-rtl":{"&::after":{float:"left"}}}}},F3=Je("Input",e=>{const t=$i(e);return[j1e(t),A1e(t),_1e(t),E1e(t),H1e(t),vi(t)]}),_s=(e,t,n,r)=>{const{lineHeight:a}=e,l=Math.floor(n*a)+2,o=Math.max((t-l)/2,0),c=Math.max(t-l-o,0);return{padding:`${o}px ${r}px ${c}px`}},I1e=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerPanelCellHeight:a,motionDurationSlow:l,borderRadiusSM:o,motionDurationMid:c,controlItemBgHover:u,lineWidth:d,lineType:s,colorPrimary:f,controlItemBgActive:p,colorTextLightSolid:v,controlHeightSM:b,pickerDateHoverRangeBorderColor:m,pickerCellBorderGap:h,pickerBasicCellHoverWithRangeColor:y,pickerPanelCellWidth:S,colorTextDisabled:O,colorBgContainerDisabled:w}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:a,transform:"translateY(-50%)",transition:`all ${l}`,content:'""'},[r]:{position:"relative",zIndex:2,display:"inline-block",minWidth:a,height:a,lineHeight:`${a}px`,borderRadius:o,transition:`background ${c}, border ${c}`},[`&:hover:not(${n}-in-view), + &:hover:not(${n}-selected):not(${n}-range-start):not(${n}-range-end):not(${n}-range-hover-start):not(${n}-range-hover-end)`]:{[r]:{background:u}},[`&-in-view${n}-today ${r}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${d}px ${s} ${f}`,borderRadius:o,content:'""'}},[`&-in-view${n}-in-range`]:{position:"relative","&::before":{background:p}},[`&-in-view${n}-selected ${r}, + &-in-view${n}-range-start ${r}, + &-in-view${n}-range-end ${r}`]:{color:v,background:f},[`&-in-view${n}-range-start:not(${n}-range-start-single), + &-in-view${n}-range-end:not(${n}-range-end-single)`]:{"&::before":{background:p}},[`&-in-view${n}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${n}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${n}-range-hover-start:not(${n}-in-range):not(${n}-range-start):not(${n}-range-end), + &-in-view${n}-range-hover-end:not(${n}-in-range):not(${n}-range-start):not(${n}-range-end), + &-in-view${n}-range-hover-start${n}-range-start-single, + &-in-view${n}-range-hover-start${n}-range-start${n}-range-end${n}-range-end-near-hover, + &-in-view${n}-range-hover-end${n}-range-start${n}-range-end${n}-range-start-near-hover, + &-in-view${n}-range-hover-end${n}-range-end-single, + &-in-view${n}-range-hover:not(${n}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:b,borderTop:`${d}px dashed ${m}`,borderBottom:`${d}px dashed ${m}`,transform:"translateY(-50%)",transition:`all ${l}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:h},[`&-in-view${n}-in-range${n}-range-hover::before, + &-in-view${n}-range-start${n}-range-hover::before, + &-in-view${n}-range-end${n}-range-hover::before, + &-in-view${n}-range-start:not(${n}-range-start-single)${n}-range-hover-start::before, + &-in-view${n}-range-end:not(${n}-range-end-single)${n}-range-hover-end::before, + ${t}-panel + > :not(${t}-date-panel) + &-in-view${n}-in-range${n}-range-hover-start::before, + ${t}-panel + > :not(${t}-date-panel) + &-in-view${n}-in-range${n}-range-hover-end::before`]:{background:y},[`&-in-view${n}-range-start:not(${n}-range-start-single):not(${n}-range-end) ${r}`]:{borderStartStartRadius:o,borderEndStartRadius:o,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${n}-range-end:not(${n}-range-end-single):not(${n}-range-start) ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o},[`&-range-hover${n}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${n}-range-hover:first-child::after, + tr > &-in-view${n}-range-hover-end:first-child::after, + &-in-view${n}-start${n}-range-hover-edge-start${n}-range-hover-edge-start-near-range::after, + &-in-view${n}-range-hover-edge-start:not(${n}-range-hover-edge-start-near-range)::after, + &-in-view${n}-range-hover-start::after`]:{insetInlineStart:(S-a)/2,borderInlineStart:`${d}px dashed ${m}`,borderStartStartRadius:d,borderEndStartRadius:d},[`tr > &-in-view${n}-range-hover:last-child::after, + tr > &-in-view${n}-range-hover-start:last-child::after, + &-in-view${n}-end${n}-range-hover-edge-end${n}-range-hover-edge-end-near-range::after, + &-in-view${n}-range-hover-edge-end:not(${n}-range-hover-edge-end-near-range)::after, + &-in-view${n}-range-hover-end::after`]:{insetInlineEnd:(S-a)/2,borderInlineEnd:`${d}px dashed ${m}`,borderStartEndRadius:d,borderEndEndRadius:d},"&-disabled":{color:O,pointerEvents:"none",[r]:{background:"transparent"},"&::before":{background:w}},[`&-disabled${n}-today ${r}::before`]:{borderColor:O}}},D1e=e=>{const{componentCls:t,pickerCellInnerCls:n,pickerYearMonthCellWidth:r,pickerControlIconSize:a,pickerPanelCellWidth:l,paddingSM:o,paddingXS:c,paddingXXS:u,colorBgContainer:d,lineWidth:s,lineType:f,borderRadiusLG:p,colorPrimary:v,colorTextHeading:b,colorSplit:m,pickerControlIconBorderWidth:h,colorIcon:y,pickerTextHeight:S,motionDurationMid:O,colorIconHover:w,fontWeightStrong:$,pickerPanelCellHeight:x,pickerCellPaddingVertical:P,colorTextDisabled:M,colorText:j,fontSize:T,pickerBasicCellHoverWithRangeColor:E,motionDurationSlow:F,pickerPanelWithoutTimeCellHeight:A,pickerQuarterPanelContentHeight:W,colorLink:_,colorLinkActive:N,colorLinkHover:D,pickerDateHoverRangeBorderColor:V,borderRadiusSM:I,colorTextLightSolid:B,borderRadius:R,controlItemBgHover:L,pickerTimePanelColumnHeight:U,pickerTimePanelColumnWidth:Y,pickerTimePanelCellHeight:k,controlItemBgActive:Z,marginXXS:K}=e,te=l*7+o*2+4,J=(te-c*2)/3-r-o;return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:d,border:`${s}px ${f} ${m}`,borderRadius:p,outline:"none","&-focused":{borderColor:v},"&-rtl":{direction:"rtl",[`${t}-prev-icon, + ${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon, + ${t}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:te},"&-header":{display:"flex",padding:`0 ${c}px`,color:b,borderBottom:`${s}px ${f} ${m}`,"> *":{flex:"none"},button:{padding:0,color:y,lineHeight:`${S}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${O}`},"> button":{minWidth:"1.6em",fontSize:T,"&:hover":{color:w}},"&-view":{flex:"auto",fontWeight:$,lineHeight:`${S}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:c},"&:hover":{color:v}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:a,height:a,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:a,height:a,border:"0 solid currentcolor",borderBlockStartWidth:h,borderBlockEndWidth:0,borderInlineStartWidth:h,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(a/2),insetInlineStart:Math.ceil(a/2),display:"inline-block",width:a,height:a,border:"0 solid currentcolor",borderBlockStartWidth:h,borderBlockEndWidth:0,borderInlineStartWidth:h,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:x,fontWeight:"normal"},th:{height:x+P*2,color:j,verticalAlign:"middle"}},"&-cell":g({padding:`${P}px 0`,color:M,cursor:"pointer","&-in-view":{color:j}},I1e(e)),[`&-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-start ${n}, + &-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-end ${n}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:E,transition:`all ${F}`,content:'""'}},[`&-date-panel + ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-start + ${n}::after`]:{insetInlineEnd:-(l-x)/2,insetInlineStart:0},[`&-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-end ${n}::after`]:{insetInlineEnd:0,insetInlineStart:-(l-x)/2},[`&-range-hover${t}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-content`]:{height:A*4},[n]:{padding:`0 ${c}px`}},"&-quarter-panel":{[`${t}-content`]:{height:W}},[`&-panel ${t}-footer`]:{borderTop:`${s}px ${f} ${m}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${S-2*s}px`,textAlign:"center","&-extra":{padding:`0 ${o}`,lineHeight:`${S-2*s}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${s}px ${f} ${m}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:_,"&:hover":{color:D},"&:active":{color:N},[`&${t}-today-btn-disabled`]:{color:M,cursor:"not-allowed"}},"&-decade-panel":{[n]:{padding:`0 ${c/2}px`},[`${t}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-body`]:{padding:`0 ${c}px`},[n]:{width:r},[`${t}-cell-range-hover-start::after`]:{insetInlineStart:J,borderInlineStart:`${s}px dashed ${V}`,borderStartStartRadius:I,borderBottomStartRadius:I,borderStartEndRadius:0,borderBottomEndRadius:0,[`${t}-panel-rtl &`]:{insetInlineEnd:J,borderInlineEnd:`${s}px dashed ${V}`,borderStartStartRadius:0,borderBottomStartRadius:0,borderStartEndRadius:I,borderBottomEndRadius:I}},[`${t}-cell-range-hover-end::after`]:{insetInlineEnd:J,borderInlineEnd:`${s}px dashed ${V}`,borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:R,borderEndEndRadius:R,[`${t}-panel-rtl &`]:{insetInlineStart:J,borderInlineStart:`${s}px dashed ${V}`,borderStartStartRadius:R,borderEndStartRadius:R,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-week-panel":{[`${t}-body`]:{padding:`${c}px ${o}px`},[`${t}-cell`]:{[`&:hover ${n}, + &-selected ${n}, + ${n}`]:{background:"transparent !important"}},"&-row":{td:{transition:`background ${O}`,"&:first-child":{borderStartStartRadius:I,borderEndStartRadius:I},"&:last-child":{borderStartEndRadius:I,borderEndEndRadius:I}},"&:hover td":{background:L},"&-selected td,\n &-selected:hover td":{background:v,[`&${t}-cell-week`]:{color:new vt(B).setAlpha(.5).toHexString()},[`&${t}-cell-today ${n}::before`]:{borderColor:B},[n]:{color:B}}}},"&-date-panel":{[`${t}-body`]:{padding:`${c}px ${o}px`},[`${t}-content`]:{width:l*7,th:{width:l}}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${s}px ${f} ${m}`},[`${t}-date-panel, + ${t}-time-panel`]:{transition:`opacity ${F}`},"&-active":{[`${t}-date-panel, + ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${t}-content`]:{display:"flex",flex:"auto",height:U},"&-column":{flex:"1 0 auto",width:Y,margin:`${u}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${O}`,overflowX:"hidden","&::after":{display:"block",height:U-k,content:'""'},"&:not(:first-child)":{borderInlineStart:`${s}px ${f} ${m}`},"&-active":{background:new vt(Z).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:K,[`${t}-time-panel-cell-inner`]:{display:"block",width:Y-2*K,height:k,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(Y-k)/2,color:j,lineHeight:`${k}px`,borderRadius:I,cursor:"pointer",transition:`background ${O}`,"&:hover":{background:L}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:Z}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:M,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${t}-time-panel-column:after`]:{height:U-k+u*2}}}},F1e=e=>{const{componentCls:t,colorBgContainer:n,colorError:r,colorErrorOutline:a,colorWarning:l,colorWarningOutline:o}=e;return{[t]:{[`&-status-error${t}`]:{"&, &:not([disabled]):hover":{backgroundColor:n,borderColor:r},"&-focused, &:focus":g({},Ga(Ge(e,{inputBorderActiveColor:r,inputBorderHoverColor:r,controlOutline:a}))),[`${t}-active-bar`]:{background:r}},[`&-status-warning${t}`]:{"&, &:not([disabled]):hover":{backgroundColor:n,borderColor:l},"&-focused, &:focus":g({},Ga(Ge(e,{inputBorderActiveColor:l,inputBorderHoverColor:l,controlOutline:o}))),[`${t}-active-bar`]:{background:l}}}}},B1e=e=>{const{componentCls:t,antCls:n,boxShadowPopoverArrow:r,controlHeight:a,fontSize:l,inputPaddingHorizontal:o,colorBgContainer:c,lineWidth:u,lineType:d,colorBorder:s,borderRadius:f,motionDurationMid:p,colorBgContainerDisabled:v,colorTextDisabled:b,colorTextPlaceholder:m,controlHeightLG:h,fontSizeLG:y,controlHeightSM:S,inputPaddingHorizontalSM:O,paddingXS:w,marginXS:$,colorTextDescription:x,lineWidthBold:P,lineHeight:M,colorPrimary:j,motionDurationSlow:T,zIndexPopup:E,paddingXXS:F,paddingSM:A,pickerTextHeight:W,controlItemBgActive:_,colorPrimaryBorder:N,sizePopupArrow:D,borderRadiusXS:V,borderRadiusOuter:I,colorBgElevated:B,borderRadiusLG:R,boxShadowSecondary:L,borderRadiusSM:U,colorSplit:Y,controlItemBgHover:k,presetsWidth:Z,presetsMaxWidth:K}=e;return[{[t]:g(g(g({},tt(e)),_s(e,a,l,o)),{position:"relative",display:"inline-flex",alignItems:"center",background:c,lineHeight:1,border:`${u}px ${d} ${s}`,borderRadius:f,transition:`border ${p}, box-shadow ${p}`,"&:hover, &-focused":g({},uo(e)),"&-focused":g({},Ga(e)),[`&${t}-disabled`]:{background:v,borderColor:s,cursor:"not-allowed",[`${t}-suffix`]:{color:b}},[`&${t}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":g(g({},so(e)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${t}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:m}}},"&-large":g(g({},_s(e,h,y,o)),{[`${t}-input > input`]:{fontSize:y}}),"&-small":g({},_s(e,S,l,O)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:w/2,color:b,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:$}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:b,lineHeight:1,background:c,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${p}, color ${p}`,"> *":{verticalAlign:"top"},"&:hover":{color:x}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:y,color:b,fontSize:y,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:x},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-clear`]:{insetInlineEnd:o},"&:hover":{[`${t}-clear`]:{opacity:1}},[`${t}-active-bar`]:{bottom:-u,height:P,marginInlineStart:o,background:j,opacity:0,transition:`all ${T} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${w}px`,lineHeight:1},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:O},[`${t}-active-bar`]:{marginInlineStart:O}}},"&-dropdown":g(g(g({},tt(e)),D1e(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:E,[`&${t}-dropdown-hidden`]:{display:"none"},[`&${t}-dropdown-placement-bottomLeft`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topLeft, + &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topRight, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:tu},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomRight, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:K1},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft, + &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:nu},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:eu},[`${t}-panel > ${t}-time-panel`]:{paddingTop:F},[`${t}-ranges`]:{marginBottom:0,padding:`${F}px ${A}px`,overflow:"hidden",lineHeight:`${W-2*u-w/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${t}-preset > ${n}-tag-blue`]:{color:j,background:_,borderColor:N,cursor:"pointer"},[`${t}-ok`]:{marginInlineStart:"auto"}},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:g({position:"absolute",zIndex:1,display:"none",marginInlineStart:o*1.5,transition:`left ${T} ease-out`},b0(D,V,I,B,r)),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:B,borderRadius:R,boxShadow:L,transition:`margin ${T}`,[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:Z,maxWidth:K,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:w,borderInlineEnd:`${u}px ${d} ${Y}`,li:g(g({},zn),{borderRadius:U,paddingInline:w,paddingBlock:(S-Math.round(l*M))/2,cursor:"pointer",transition:`all ${T}`,"+ li":{marginTop:$},"&:hover":{background:k}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${t}-panel`]:{borderWidth:`0 0 ${u}px`},"&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, + table`]:{textAlign:"center"},"&-focused":{borderColor:s}}}}),"&-dropdown-range":{padding:`${D*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},$r(e,"slide-up"),$r(e,"slide-down"),Ql(e,"move-up"),Ql(e,"move-down")]},N1e=e=>{const{componentCls:n,controlHeightLG:r,controlHeightSM:a,colorPrimary:l,paddingXXS:o}=e;return{pickerCellCls:`${n}-cell`,pickerCellInnerCls:`${n}-cell-inner`,pickerTextHeight:r,pickerPanelCellWidth:a*1.5,pickerPanelCellHeight:a,pickerDateHoverRangeBorderColor:new vt(l).lighten(20).toHexString(),pickerBasicCellHoverWithRangeColor:new vt(l).lighten(35).toHexString(),pickerPanelWithoutTimeCellHeight:r*1.65,pickerYearMonthCellWidth:r*1.5,pickerTimePanelColumnHeight:28*8,pickerTimePanelColumnWidth:r*1.4,pickerTimePanelCellHeight:28,pickerQuarterPanelContentHeight:r*1.4,pickerCellPaddingVertical:o,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5}},sW=Je("DatePicker",e=>{const t=Ge($i(e),N1e(e));return[B1e(t),F1e(t),vi(e,{focusElCls:`${e.componentCls}-focused`})]},e=>({presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}));function L1e(e){const t=q(),n=q(!1);function r(){for(var a=arguments.length,l=new Array(a),o=0;o{e(...l)}))}return Xe(()=>{n.value=!0,Re.cancel(t.value)}),r}function V1e(e){const t=q([]),n=q(typeof e=="function"?e():e),r=L1e(()=>{let l=n.value;t.value.forEach(o=>{l=o(l)}),t.value=[],n.value=l});function a(l){t.value.push(l),r()}return[n,a]}const R1e=ee({compatConfig:{MODE:3},name:"TabNode",props:{id:{type:String},prefixCls:{type:String},tab:{type:Object},active:{type:Boolean},closable:{type:Boolean},editable:{type:Object},onClick:{type:Function},onResize:{type:Function},renderWrapper:{type:Function},removeAriaLabel:{type:String},onFocus:{type:Function}},emits:["click","resize","remove","focus"],setup(e,t){let{expose:n,attrs:r}=t;const a=ne();function l(u){var d;!((d=e.tab)===null||d===void 0)&&d.disabled||e.onClick(u)}n({domRef:a});function o(u){var d;u.preventDefault(),u.stopPropagation(),e.editable.onEdit("remove",{key:(d=e.tab)===null||d===void 0?void 0:d.key,event:u})}const c=z(()=>{var u;return e.editable&&e.closable!==!1&&!(!((u=e.tab)===null||u===void 0)&&u.disabled)});return()=>{var u;const{prefixCls:d,id:s,active:f,tab:{key:p,tab:v,disabled:b,closeIcon:m},renderWrapper:h,removeAriaLabel:y,editable:S,onFocus:O}=e,w=`${d}-tab`,$=i("div",{key:p,ref:a,class:re(w,{[`${w}-with-remove`]:c.value,[`${w}-active`]:f,[`${w}-disabled`]:b}),style:r.style,onClick:l},[i("div",{role:"tab","aria-selected":f,id:s&&`${s}-tab-${p}`,class:`${w}-btn`,"aria-controls":s&&`${s}-panel-${p}`,"aria-disabled":b,tabindex:b?null:0,onClick:x=>{x.stopPropagation(),l(x)},onKeydown:x=>{[fe.SPACE,fe.ENTER].includes(x.which)&&(x.preventDefault(),l(x))},onFocus:O},[typeof v=="function"?v():v]),c.value&&i("button",{type:"button","aria-label":y||"remove",tabindex:0,class:`${w}-remove`,onClick:x=>{x.stopPropagation(),o(x)}},[(m==null?void 0:m())||((u=S.removeIcon)===null||u===void 0?void 0:u.call(S))||"×"])]);return h?h($):$}}}),X$={width:0,height:0,left:0,top:0};function W1e(e,t){const n=ne(new Map);return Ve(()=>{var r,a;const l=new Map,o=e.value,c=t.value.get((r=o[0])===null||r===void 0?void 0:r.key)||X$,u=c.left+c.width;for(let d=0;d{const{prefixCls:l,editable:o,locale:c}=e;return!o||o.showAdd===!1?null:i("button",{ref:a,type:"button",class:`${l}-nav-add`,style:r.style,"aria-label":(c==null?void 0:c.addAriaLabel)||"Add tab",onClick:u=>{o.onEdit("add",{event:u})}},[o.addIcon?o.addIcon():"+"])}}}),G1e={prefixCls:{type:String},id:{type:String},tabs:{type:Object},rtl:{type:Boolean},tabBarGutter:{type:Number},activeKey:{type:[String,Number]},mobile:{type:Boolean},moreIcon:G.any,moreTransitionName:{type:String},editable:{type:Object},locale:{type:Object,default:void 0},removeAriaLabel:String,onTabClick:{type:Function},popupClassName:String,getPopupContainer:ce()},U1e=ee({compatConfig:{MODE:3},name:"OperationNode",inheritAttrs:!1,props:G1e,emits:["tabClick"],slots:Object,setup(e,t){let{attrs:n,slots:r}=t;const[a,l]=ft(!1),[o,c]=ft(null),u=v=>{const b=e.tabs.filter(y=>!y.disabled);let m=b.findIndex(y=>y.key===o.value)||0;const h=b.length;for(let y=0;y{const{which:b}=v;if(!a.value){[fe.DOWN,fe.SPACE,fe.ENTER].includes(b)&&(l(!0),v.preventDefault());return}switch(b){case fe.UP:u(-1),v.preventDefault();break;case fe.DOWN:u(1),v.preventDefault();break;case fe.ESC:l(!1);break;case fe.SPACE:case fe.ENTER:o.value!==null&&e.onTabClick(o.value,v);break}},s=z(()=>`${e.id}-more-popup`),f=z(()=>o.value!==null?`${s.value}-${o.value}`:null),p=(v,b)=>{v.preventDefault(),v.stopPropagation(),e.editable.onEdit("remove",{key:b,event:v})};return We(()=>{de(o,()=>{const v=document.getElementById(f.value);v&&v.scrollIntoView&&v.scrollIntoView(!1)},{flush:"post",immediate:!0})}),de(a,()=>{a.value||c(null)}),sR({}),()=>{var v;const{prefixCls:b,id:m,tabs:h,locale:y,mobile:S,moreIcon:O=((v=r.moreIcon)===null||v===void 0?void 0:v.call(r))||i(io,null,null),moreTransitionName:w,editable:$,tabBarGutter:x,rtl:P,onTabClick:M,popupClassName:j}=e;if(!h.length)return null;const T=`${b}-dropdown`,E=y==null?void 0:y.dropdownAriaLabel,F={[P?"marginRight":"marginLeft"]:x};h.length||(F.visibility="hidden",F.order=1);const A=re({[`${T}-rtl`]:P,[`${j}`]:!0}),W=S?null:i(tR,{prefixCls:T,trigger:["hover"],visible:a.value,transitionName:w,onVisibleChange:l,overlayClassName:A,mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:e.getPopupContainer},{overlay:()=>i(Cn,{onClick:_=>{let{key:N,domEvent:D}=_;M(N,D),l(!1)},id:s.value,tabindex:-1,role:"listbox","aria-activedescendant":f.value,selectedKeys:[o.value],"aria-label":E!==void 0?E:"expanded dropdown"},{default:()=>[h.map(_=>{var N,D;const V=$&&_.closable!==!1&&!_.disabled;return i(Zl,{key:_.key,id:`${s.value}-${_.key}`,role:"option","aria-controls":m&&`${m}-panel-${_.key}`,disabled:_.disabled},{default:()=>[i("span",null,[typeof _.tab=="function"?_.tab():_.tab]),V&&i("button",{type:"button","aria-label":e.removeAriaLabel||"remove",tabindex:0,class:`${T}-menu-item-remove`,onClick:I=>{I.stopPropagation(),p(I,_.key)}},[((N=_.closeIcon)===null||N===void 0?void 0:N.call(_))||((D=$.removeIcon)===null||D===void 0?void 0:D.call($))||"×"])]})})]}),default:()=>i("button",{type:"button",class:`${b}-nav-more`,style:F,tabindex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":s.value,id:`${m}-more`,"aria-expanded":a.value,onKeydown:d},[O])});return i("div",{class:re(`${b}-nav-operations`,n.class),style:n.style},[W,i(dW,{prefixCls:b,locale:y,editable:$},null)])}}}),fW=Symbol("tabsContextKey"),q1e=e=>{qe(fW,e)},pW=()=>Ue(fW,{tabs:ne([]),prefixCls:ne()}),k1e=.1,Y$=.01,Mc=20,Q$=Math.pow(.995,Mc);function X1e(e,t){const[n,r]=ft(),[a,l]=ft(0),[o,c]=ft(0),[u,d]=ft(),s=ne();function f($){const{screenX:x,screenY:P}=$.touches[0];r({x,y:P}),clearInterval(s.value)}function p($){if(!n.value)return;$.preventDefault();const{screenX:x,screenY:P}=$.touches[0],M=x-n.value.x,j=P-n.value.y;t(M,j),r({x,y:P});const T=Date.now();c(T-a.value),l(T),d({x:M,y:j})}function v(){if(!n.value)return;const $=u.value;if(r(null),d(null),$){const x=$.x/o.value,P=$.y/o.value,M=Math.abs(x),j=Math.abs(P);if(Math.max(M,j){if(Math.abs(T)T?(M=x,b.value="x"):(M=P,b.value="y"),t(-M,-M)&&$.preventDefault()}const h=ne({onTouchStart:f,onTouchMove:p,onTouchEnd:v,onWheel:m});function y($){h.value.onTouchStart($)}function S($){h.value.onTouchMove($)}function O($){h.value.onTouchEnd($)}function w($){h.value.onWheel($)}We(()=>{var $,x;document.addEventListener("touchmove",S,{passive:!1}),document.addEventListener("touchend",O,{passive:!1}),($=e.value)===null||$===void 0||$.addEventListener("touchstart",y,{passive:!1}),(x=e.value)===null||x===void 0||x.addEventListener("wheel",w,{passive:!1})}),Xe(()=>{document.removeEventListener("touchmove",S),document.removeEventListener("touchend",O)})}function Z$(e,t){const n=ne(e);function r(a){const l=typeof a=="function"?a(n.value):a;l!==n.value&&t(l,n.value),n.value=l}return[n,r]}const B3=()=>{const e=ne(new Map),t=n=>r=>{e.value.set(n,r)};return l0(()=>{e.value=new Map}),[t,e]},J$={width:0,height:0,left:0,top:0,right:0},Y1e=()=>({id:{type:String},tabPosition:{type:String},activeKey:{type:[String,Number]},rtl:{type:Boolean},animated:Ee(),editable:Ee(),moreIcon:G.any,moreTransitionName:{type:String},mobile:{type:Boolean},tabBarGutter:{type:Number},renderTabBar:{type:Function},locale:Ee(),popupClassName:String,getPopupContainer:ce(),onTabClick:{type:Function},onTabScroll:{type:Function}}),Q1e=(e,t)=>{const{offsetWidth:n,offsetHeight:r,offsetTop:a,offsetLeft:l}=e,{width:o,height:c,x:u,y:d}=e.getBoundingClientRect();return Math.abs(o-n)<1?[o,c,u-t.x,d-t.y]:[n,r,l,a]},K$=ee({compatConfig:{MODE:3},name:"TabNavList",inheritAttrs:!1,props:Y1e(),slots:Object,emits:["tabClick","tabScroll"],setup(e,t){let{attrs:n,slots:r}=t;const{tabs:a,prefixCls:l}=pW(),o=q(),c=q(),u=q(),d=q(),[s,f]=B3(),p=z(()=>e.tabPosition==="top"||e.tabPosition==="bottom"),[v,b]=Z$(0,(se,ie)=>{p.value&&e.onTabScroll&&e.onTabScroll({direction:se>ie?"left":"right"})}),[m,h]=Z$(0,(se,ie)=>{!p.value&&e.onTabScroll&&e.onTabScroll({direction:se>ie?"top":"bottom"})}),[y,S]=ft(0),[O,w]=ft(0),[$,x]=ft(null),[P,M]=ft(null),[j,T]=ft(0),[E,F]=ft(0),[A,W]=V1e(new Map),_=W1e(a,A),N=z(()=>`${l.value}-nav-operations-hidden`),D=q(0),V=q(0);Ve(()=>{p.value?e.rtl?(D.value=0,V.value=Math.max(0,y.value-$.value)):(D.value=Math.min(0,$.value-y.value),V.value=0):(D.value=Math.min(0,P.value-O.value),V.value=0)});const I=se=>seV.value?V.value:se,B=q(),[R,L]=ft(),U=()=>{L(Date.now())},Y=()=>{clearTimeout(B.value)},k=(se,ie)=>{se(he=>I(he+ie))};X1e(o,(se,ie)=>{if(p.value){if($.value>=y.value)return!1;k(b,se)}else{if(P.value>=O.value)return!1;k(h,ie)}return Y(),U(),!0}),de(R,()=>{Y(),R.value&&(B.value=setTimeout(()=>{L(0)},100))});const Z=function(){let se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activeKey;const ie=_.value.get(se)||{width:0,height:0,left:0,right:0,top:0};if(p.value){let he=v.value;e.rtl?ie.rightv.value+$.value&&(he=ie.right+ie.width-$.value):ie.left<-v.value?he=-ie.left:ie.left+ie.width>-v.value+$.value&&(he=-(ie.left+ie.width-$.value)),h(0),b(I(he))}else{let he=m.value;ie.top<-m.value?he=-ie.top:ie.top+ie.height>-m.value+P.value&&(he=-(ie.top+ie.height-P.value)),b(0),h(I(he))}},K=q(0),te=q(0);Ve(()=>{let se,ie,he,Ce,Pe,xe;const Be=_.value;["top","bottom"].includes(e.tabPosition)?(se="width",Ce=$.value,Pe=y.value,xe=j.value,ie=e.rtl?"right":"left",he=Math.abs(v.value)):(se="height",Ce=P.value,Pe=y.value,xe=E.value,ie="top",he=-m.value);let le=Ce;Pe+xe>Ce&&Pehe+le){Te=De-1;break}}let _e=0;for(let De=me-1;De>=0;De-=1)if((Be.get(ae[De].key)||J$)[ie]{W(()=>{var se;const ie=new Map,he=(se=c.value)===null||se===void 0?void 0:se.getBoundingClientRect();return a.value.forEach(Ce=>{let{key:Pe}=Ce;const xe=f.value.get(Pe),Be=(xe==null?void 0:xe.$el)||xe;if(Be){const[le,ae,me,Te]=Q1e(Be,he);ie.set(Pe,{width:le,height:ae,left:me,top:Te})}}),ie})};de(()=>a.value.map(se=>se.key).join("%%"),()=>{J()},{flush:"post"});const X=()=>{var se,ie,he,Ce,Pe;const xe=((se=o.value)===null||se===void 0?void 0:se.offsetWidth)||0,Be=((ie=o.value)===null||ie===void 0?void 0:ie.offsetHeight)||0,le=((he=d.value)===null||he===void 0?void 0:he.$el)||{},ae=le.offsetWidth||0,me=le.offsetHeight||0;x(xe),M(Be),T(ae),F(me);const Te=(((Ce=c.value)===null||Ce===void 0?void 0:Ce.offsetWidth)||0)-ae,_e=(((Pe=c.value)===null||Pe===void 0?void 0:Pe.offsetHeight)||0)-me;S(Te),w(_e),J()},Q=z(()=>[...a.value.slice(0,K.value),...a.value.slice(te.value+1)]),[oe,ue]=ft(),ye=z(()=>_.value.get(e.activeKey)),Oe=q(),pe=()=>{Re.cancel(Oe.value)};de([ye,p,()=>e.rtl],()=>{const se={};ye.value&&(p.value?(e.rtl?se.right=xa(ye.value.right):se.left=xa(ye.value.left),se.width=xa(ye.value.width)):(se.top=xa(ye.value.top),se.height=xa(ye.value.height))),pe(),Oe.value=Re(()=>{ue(se)})}),de([()=>e.activeKey,ye,_,p],()=>{Z()},{flush:"post"}),de([()=>e.rtl,()=>e.tabBarGutter,()=>e.activeKey,()=>a.value],()=>{X()},{flush:"post"});const we=se=>{let{position:ie,prefixCls:he,extra:Ce}=se;if(!Ce)return null;const Pe=Ce==null?void 0:Ce({position:ie});return Pe?i("div",{class:`${he}-extra-content`},[Pe]):null};return Xe(()=>{Y(),pe()}),()=>{const{id:se,animated:ie,activeKey:he,rtl:Ce,editable:Pe,locale:xe,tabPosition:Be,tabBarGutter:le,onTabClick:ae}=e,{class:me,style:Te}=n,_e=l.value,De=!!Q.value.length,ve=`${_e}-nav-wrap`;let ge,be,ze,Ie;p.value?Ce?(be=v.value>0,ge=v.value+$.value{const{key:Qe}=ke;return i(R1e,{id:se,prefixCls:_e,key:Qe,tab:ke,style:ot===0?void 0:Me,closable:ke.closable,editable:Pe,active:Qe===he,removeAriaLabel:xe==null?void 0:xe.removeAriaLabel,ref:s(Qe),onClick:nt=>{ae(Qe,nt)},onFocus:()=>{Z(Qe),U(),o.value&&(Ce||(o.value.scrollLeft=0),o.value.scrollTop=0)}},r)});return i("div",{role:"tablist",class:re(`${_e}-nav`,me),style:Te,onKeydown:()=>{U()}},[i(we,{position:"left",prefixCls:_e,extra:r.leftExtra},null),i(yr,{onResize:X},{default:()=>[i("div",{class:re(ve,{[`${ve}-ping-left`]:ge,[`${ve}-ping-right`]:be,[`${ve}-ping-top`]:ze,[`${ve}-ping-bottom`]:Ie}),ref:o},[i(yr,{onResize:X},{default:()=>[i("div",{ref:c,class:`${_e}-nav-list`,style:{transform:`translate(${v.value}px, ${m.value}px)`,transition:R.value?"none":void 0}},[He,i(dW,{ref:d,prefixCls:_e,locale:xe,editable:Pe,style:g(g({},He.length===0?void 0:Me),{visibility:De?"hidden":null})},null),i("div",{class:re(`${_e}-ink-bar`,{[`${_e}-ink-bar-animated`]:ie.inkBar}),style:oe.value},null)])]})])]}),i(U1e,H(H({},e),{},{removeAriaLabel:xe==null?void 0:xe.removeAriaLabel,ref:u,prefixCls:_e,tabs:Q.value,class:!De&&N.value}),WV(r,["moreIcon"])),i(we,{position:"right",prefixCls:_e,extra:r.rightExtra},null),i(we,{position:"right",prefixCls:_e,extra:r.tabBarExtraContent},null)])}}}),Z1e=ee({compatConfig:{MODE:3},name:"TabPanelList",inheritAttrs:!1,props:{activeKey:{type:[String,Number]},id:{type:String},rtl:{type:Boolean},animated:{type:Object,default:void 0},tabPosition:{type:String},destroyInactiveTabPane:{type:Boolean}},setup(e){const{tabs:t,prefixCls:n}=pW();return()=>{const{id:r,activeKey:a,animated:l,tabPosition:o,rtl:c,destroyInactiveTabPane:u}=e,d=l.tabPane,s=n.value,f=t.value.findIndex(p=>p.key===a);return i("div",{class:`${s}-content-holder`},[i("div",{class:[`${s}-content`,`${s}-content-${o}`,{[`${s}-content-animated`]:d}],style:f&&d?{[c?"marginRight":"marginLeft"]:`-${f}00%`}:null},[t.value.map(p=>mt(p.node,{key:p.key,prefixCls:s,tabKey:p.key,id:r,animated:d,active:p.key===a,destroyInactiveTabPane:u}))])])}}});var J1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};function ew(e){for(var t=1;t{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[$r(e,"slide-up"),$r(e,"slide-down")]]},tue=e=>{const{componentCls:t,tabsCardHorizontalPadding:n,tabsCardHeadBackground:r,tabsCardGutter:a,colorSplit:l}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${e.lineWidth}px ${e.lineType} ${l}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:e.colorPrimary,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:`${a}px`}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:`${a}px`}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadiusLG}px 0 0 ${e.borderRadiusLG}px`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},nue=e=>{const{componentCls:t,tabsHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:g(g({},tt(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${r}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":g(g({},zn),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${e.paddingXXS}px ${e.paddingSM}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},rue=e=>{const{componentCls:t,margin:n,colorSplit:r}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:`0 0 ${n}px 0`,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${e.lineWidth}px ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, + right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, + > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:`${n}px`,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:e.controlHeight*1.25,[`${t}-tab`]:{padding:`${e.paddingXS}px ${e.paddingLG}px`,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:`${e.margin}px 0 0 0`},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${e.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-e.lineWidth},borderRight:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},aue=e=>{const{componentCls:t,padding:n}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXS}px 0`,fontSize:e.fontSize}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${n}px 0`,fontSize:e.fontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXXS*1.5}px ${n}px`}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${e.borderRadius}px ${e.borderRadius}px`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${e.borderRadius}px ${e.borderRadius}px 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadius}px ${e.borderRadius}px 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadius}px 0 0 ${e.borderRadius}px`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXS}px ${n}px ${e.paddingXXS*1.5}px`}}}}}},lue=e=>{const{componentCls:t,tabsActiveColor:n,tabsHoverColor:r,iconCls:a,tabsHorizontalGutter:l}=e,o=`${t}-tab`;return{[o]:{position:"relative",display:"inline-flex",alignItems:"center",padding:`${e.paddingSM}px 0`,fontSize:`${e.fontSize}px`,background:"transparent",border:0,outline:"none",cursor:"pointer","&-btn, &-remove":g({"&:focus:not(:focus-visible), &:active":{color:n}},Wr(e)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-e.marginXXS},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${o}-active ${o}-btn`]:{color:e.colorPrimary,textShadow:e.tabsActiveTextShadow},[`&${o}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${o}-disabled ${o}-btn, &${o}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${o}-remove ${a}`]:{margin:0},[a]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${o} + ${o}`]:{margin:{_skip_check_:!0,value:`0 0 0 ${l}px`}}}},oue=e=>{const{componentCls:t,tabsHorizontalGutter:n,iconCls:r,tabsCardGutter:a}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:`0 0 0 ${n}px`},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${e.marginSM}px`}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${e.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${e.marginXXS}px`},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:`${a}px`},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},iue=e=>{const{componentCls:t,tabsCardHorizontalPadding:n,tabsCardHeight:r,tabsCardGutter:a,tabsHoverColor:l,tabsActiveColor:o,colorSplit:c}=e;return{[t]:g(g(g(g({},tt(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:g({minWidth:`${r}px`,marginLeft:{_skip_check_:!0,value:`${a}px`},padding:`0 ${e.paddingXS}px`,background:"transparent",border:`${e.lineWidth}px ${e.lineType} ${c}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:l},"&:active, &:focus:not(:focus-visible)":{color:o}},Wr(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.colorPrimary,pointerEvents:"none"}}),lue(e)),{[`${t}-content`]:{position:"relative",display:"flex",width:"100%","&-animated":{transition:"margin 0.3s"}},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none",flex:"none",width:"100%"}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},cue=Je("Tabs",e=>{const t=e.controlHeightLG,n=Ge(e,{tabsHoverColor:e.colorPrimaryHover,tabsActiveColor:e.colorPrimaryActive,tabsCardHorizontalPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,tabsCardHeight:t,tabsCardGutter:e.marginXXS/2,tabsHorizontalGutter:32,tabsCardHeadBackground:e.colorFillAlter,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120});return[aue(n),oue(n),rue(n),nue(n),tue(n),iue(n),eue(n)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));let tw=0;const vW=()=>({prefixCls:{type:String},id:{type:String},popupClassName:String,getPopupContainer:ce(),activeKey:{type:[String,Number]},defaultActiveKey:{type:[String,Number]},direction:Le(),animated:Ye([Boolean,Object]),renderTabBar:ce(),tabBarGutter:{type:Number},tabBarStyle:Ee(),tabPosition:Le(),destroyInactiveTabPane:$e(),hideAdd:Boolean,type:Le(),size:Le(),centered:Boolean,onEdit:ce(),onChange:ce(),onTabClick:ce(),onTabScroll:ce(),"onUpdate:activeKey":ce(),locale:Ee(),onPrevClick:ce(),onNextClick:ce(),tabBarExtraContent:G.any});function uue(e){return e.map(t=>{if(Wt(t)){const n=g({},t.props||{});for(const[p,v]of Object.entries(n))delete n[p],n[li(p)]=v;const r=t.children||{},a=t.key!==void 0?t.key:void 0,{tab:l=r.tab,disabled:o,forceRender:c,closable:u,animated:d,active:s,destroyInactiveTabPane:f}=n;return g(g({key:a},n),{node:t,closeIcon:r.closeIcon,tab:l,disabled:o===""||o,forceRender:c===""||c,closable:u===""||u,animated:d===""||d,active:s===""||s,destroyInactiveTabPane:f===""||f})}return null}).filter(t=>t)}const sue=ee({compatConfig:{MODE:3},name:"InternalTabs",inheritAttrs:!1,props:g(g({},lt(vW(),{tabPosition:"top",animated:{inkBar:!0,tabPane:!1}})),{tabs:st()}),slots:Object,setup(e,t){let{attrs:n,slots:r}=t;yt(e.onPrevClick===void 0&&e.onNextClick===void 0,"Tabs","`onPrevClick / @prevClick` and `onNextClick / @nextClick` has been removed. Please use `onTabScroll / @tabScroll` instead."),yt(e.tabBarExtraContent===void 0,"Tabs","`tabBarExtraContent` prop has been removed. Please use `rightExtra` slot instead."),yt(r.tabBarExtraContent===void 0,"Tabs","`tabBarExtraContent` slot is deprecated. Please use `rightExtra` slot instead.");const{prefixCls:a,direction:l,size:o,rootPrefixCls:c,getPopupContainer:u}=je("tabs",e),[d,s]=cue(a),f=z(()=>l.value==="rtl"),p=z(()=>{const{animated:P,tabPosition:M}=e;return P===!1||["left","right"].includes(M)?{inkBar:!1,tabPane:!1}:P===!0?{inkBar:!0,tabPane:!0}:g({inkBar:!0,tabPane:!1},typeof P=="object"?P:{})}),[v,b]=ft(!1);We(()=>{b(L0())});const[m,h]=Ft(()=>{var P;return(P=e.tabs[0])===null||P===void 0?void 0:P.key},{value:z(()=>e.activeKey),defaultValue:e.defaultActiveKey}),[y,S]=ft(()=>e.tabs.findIndex(P=>P.key===m.value));Ve(()=>{var P;let M=e.tabs.findIndex(j=>j.key===m.value);M===-1&&(M=Math.max(0,Math.min(y.value,e.tabs.length-1)),h((P=e.tabs[M])===null||P===void 0?void 0:P.key)),S(M)});const[O,w]=Ft(null,{value:z(()=>e.id)}),$=z(()=>v.value&&!["left","right"].includes(e.tabPosition)?"top":e.tabPosition);We(()=>{e.id||(w(`rc-tabs-${tw}`),tw+=1)});const x=(P,M)=>{var j,T;(j=e.onTabClick)===null||j===void 0||j.call(e,P,M);const E=P!==m.value;h(P),E&&((T=e.onChange)===null||T===void 0||T.call(e,P))};return q1e({tabs:z(()=>e.tabs),prefixCls:a}),()=>{const{id:P,type:M,tabBarGutter:j,tabBarStyle:T,locale:E,destroyInactiveTabPane:F,renderTabBar:A=r.renderTabBar,onTabScroll:W,hideAdd:_,centered:N}=e,D={id:O.value,activeKey:m.value,animated:p.value,tabPosition:$.value,rtl:f.value,mobile:v.value};let V;M==="editable-card"&&(V={onEdit:(L,U)=>{let{key:Y,event:k}=U;var Z;(Z=e.onEdit)===null||Z===void 0||Z.call(e,L==="add"?k:Y,L)},removeIcon:()=>i(vn,null,null),addIcon:r.addIcon?r.addIcon:()=>i(fu,null,null),showAdd:_!==!0});let I;const B=g(g({},D),{moreTransitionName:`${c.value}-slide-up`,editable:V,locale:E,tabBarGutter:j,onTabClick:x,onTabScroll:W,style:T,getPopupContainer:u.value,popupClassName:re(e.popupClassName,s.value)});A?I=A(g(g({},B),{DefaultTabBar:K$})):I=i(K$,B,WV(r,["moreIcon","leftExtra","rightExtra","tabBarExtraContent"]));const R=a.value;return d(i("div",H(H({},n),{},{id:P,class:re(R,`${R}-${$.value}`,{[s.value]:!0,[`${R}-${o.value}`]:o.value,[`${R}-card`]:["card","editable-card"].includes(M),[`${R}-editable-card`]:M==="editable-card",[`${R}-centered`]:N,[`${R}-mobile`]:v.value,[`${R}-editable`]:M==="editable-card",[`${R}-rtl`]:f.value},n.class)}),[I,i(Z1e,H(H({destroyInactiveTabPane:F},D),{},{animated:p.value}),null)]))}}}),_l=ee({compatConfig:{MODE:3},name:"ATabs",inheritAttrs:!1,props:lt(vW(),{tabPosition:"top",animated:{inkBar:!0,tabPane:!1}}),slots:Object,setup(e,t){let{attrs:n,slots:r,emit:a}=t;const l=o=>{a("update:activeKey",o),a("change",o)};return()=>{var o;const c=uue(bt((o=r.default)===null||o===void 0?void 0:o.call(r)));return i(sue,H(H(H({},at(e,["onUpdate:activeKey"])),n),{},{onChange:l,tabs:c}),r)}}}),due=()=>({tab:G.any,disabled:{type:Boolean},forceRender:{type:Boolean},closable:{type:Boolean},animated:{type:Boolean},active:{type:Boolean},destroyInactiveTabPane:{type:Boolean},prefixCls:{type:String},tabKey:{type:[String,Number]},id:{type:String}}),b2=ee({compatConfig:{MODE:3},name:"ATabPane",inheritAttrs:!1,__ANT_TAB_PANE:!0,props:due(),slots:Object,setup(e,t){let{attrs:n,slots:r}=t;const a=ne(e.forceRender);de([()=>e.active,()=>e.destroyInactiveTabPane],()=>{e.active?a.value=!0:e.destroyInactiveTabPane&&(a.value=!1)},{immediate:!0});const l=z(()=>e.active?{}:e.animated?{visibility:"hidden",height:0,overflowY:"hidden"}:{display:"none"});return()=>{var o;const{prefixCls:c,forceRender:u,id:d,active:s,tabKey:f}=e;return i("div",{id:d&&`${d}-panel-${f}`,role:"tabpanel",tabindex:s?0:-1,"aria-labelledby":d&&`${d}-tab-${f}`,"aria-hidden":!s,style:[l.value,n.style],class:[`${c}-tabpane`,s&&`${c}-tabpane-active`,n.class]},[(s||a.value||u)&&((o=r.default)===null||o===void 0?void 0:o.call(r))])}}});_l.TabPane=b2;_l.install=function(e){return e.component(_l.name,_l),e.component(b2.name,b2),e};const fue=e=>{const{antCls:t,componentCls:n,cardHeadHeight:r,cardPaddingBase:a,cardHeadTabsMarginBottom:l}=e;return g(g({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${a}px`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,background:"transparent",borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},cr()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":g(g({display:"inline-block",flex:1},zn),{[` + > ${n}-typography, + > ${n}-typography-edit-content + `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:l,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`}}})},pue=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:a}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` + ${a}px 0 0 0 ${n}, + 0 ${a}px 0 0 ${n}, + ${a}px ${a}px 0 0 ${n}, + ${a}px 0 0 0 ${n} inset, + 0 ${a}px 0 0 ${n} inset; + `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},vue=e=>{const{componentCls:t,iconCls:n,cardActionsLiMargin:r,cardActionsIconSize:a,colorBorderSecondary:l}=e;return g(g({margin:0,padding:0,listStyle:"none",background:e.colorBgContainer,borderTop:`${e.lineWidth}px ${e.lineType} ${l}`,display:"flex",borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px `},cr()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.cardActionsIconSize*2,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:`${e.fontSize*e.lineHeight}px`,transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:a,lineHeight:`${a*e.lineHeight}px`}},"&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${l}`}}})},mue=e=>g(g({margin:`-${e.marginXXS}px 0`,display:"flex"},cr()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":g({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},zn),"&-description":{color:e.colorTextDescription}}),gue=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${n}px`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${e.padding}px ${n}px`}}},hue=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},bue=e=>{const{componentCls:t,cardShadow:n,cardHeadPadding:r,colorBorderSecondary:a,boxShadow:l,cardPaddingBase:o}=e;return{[t]:g(g({},tt(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:l},[`${t}-head`]:fue(e),[`${t}-extra`]:{marginInlineStart:"auto",color:"",fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:g({padding:o,borderRadius:` 0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},cr()),[`${t}-grid`]:pue(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%"},img:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`}},[`${t}-actions`]:vue(e),[`${t}-meta`]:mue(e)}),[`${t}-bordered`]:{border:`${e.lineWidth}px ${e.lineType} ${a}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:n}},[`${t}-contain-grid`]:{[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:-e.lineWidth,marginInlineStart:-e.lineWidth,padding:0}},[`${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:r}}},[`${t}-type-inner`]:gue(e),[`${t}-loading`]:hue(e),[`${t}-rtl`]:{direction:"rtl"}}},yue=e=>{const{componentCls:t,cardPaddingSM:n,cardHeadHeightSM:r}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${n}px`,fontSize:e.fontSize,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{minHeight:r,paddingTop:0,display:"flex",alignItems:"center"}}}}},Oue=Je("Card",e=>{const t=Ge(e,{cardShadow:e.boxShadowCard,cardHeadHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,cardHeadHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardHeadTabsMarginBottom:-e.padding-e.lineWidth,cardActionsLiMargin:`${e.paddingSM}px 0`,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[bue(t),yue(t)]}),Sue=()=>({prefixCls:String,width:{type:[Number,String]}}),N3=ee({compatConfig:{MODE:3},name:"SkeletonTitle",props:Sue(),setup(e){return()=>{const{prefixCls:t,width:n}=e,r=typeof n=="number"?`${n}px`:n;return i("h3",{class:t,style:{width:r}},null)}}}),$ue=()=>({prefixCls:String,width:{type:[Number,String,Array]},rows:Number}),wue=ee({compatConfig:{MODE:3},name:"SkeletonParagraph",props:$ue(),setup(e){const t=n=>{const{width:r,rows:a=2}=e;if(Array.isArray(r))return r[n];if(a-1===n)return r};return()=>{const{prefixCls:n,rows:r}=e,a=[...Array(r)].map((l,o)=>{const c=t(o);return i("li",{key:o,style:{width:typeof c=="number"?`${c}px`:c}},null)});return i("ul",{class:n},[a])}}}),pu=()=>({prefixCls:String,size:[String,Number],shape:String,active:{type:Boolean,default:void 0}}),wi=e=>{const{prefixCls:t,size:n,shape:r}=e,a=re({[`${t}-lg`]:n==="large",[`${t}-sm`]:n==="small"}),l=re({[`${t}-circle`]:r==="circle",[`${t}-square`]:r==="square",[`${t}-round`]:r==="round"}),o=typeof n=="number"?{width:`${n}px`,height:`${n}px`,lineHeight:`${n}px`}:{};return i("span",{class:re(t,a,l),style:o},null)};wi.displayName="SkeletonElement";const Pue=new Ze("ant-skeleton-loading",{"0%":{transform:"translateX(-37.5%)"},"100%":{transform:"translateX(37.5%)"}}),vu=e=>({height:e,lineHeight:`${e}px`}),El=e=>g({width:e},vu(e)),Cue=e=>({position:"relative",zIndex:0,overflow:"hidden",background:"transparent","&::after":{position:"absolute",top:0,insetInlineEnd:"-150%",bottom:0,insetInlineStart:"-150%",background:e.skeletonLoadingBackground,animationName:Pue,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite",content:'""'}}),Es=e=>g({width:e*5,minWidth:e*5},vu(e)),xue=e=>{const{skeletonAvatarCls:t,color:n,controlHeight:r,controlHeightLG:a,controlHeightSM:l}=e;return{[`${t}`]:g({display:"inline-block",verticalAlign:"top",background:n},El(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:g({},El(a)),[`${t}${t}-sm`]:g({},El(l))}},zue=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:a,controlHeightSM:l,color:o}=e;return{[`${r}`]:g({display:"inline-block",verticalAlign:"top",background:o,borderRadius:n},Es(t)),[`${r}-lg`]:g({},Es(a)),[`${r}-sm`]:g({},Es(l))}},nw=e=>g({width:e},vu(e)),Mue=e=>{const{skeletonImageCls:t,imageSizeBase:n,color:r,borderRadiusSM:a}=e;return{[`${t}`]:g(g({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:a},nw(n*2)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:g(g({},nw(n)),{maxWidth:n*4,maxHeight:n*4}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},Hs=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},As=e=>g({width:e*2,minWidth:e*2},vu(e)),jue=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:a,controlHeightSM:l,color:o}=e;return g(g(g(g(g({[`${n}`]:g({display:"inline-block",verticalAlign:"top",background:o,borderRadius:t,width:r*2,minWidth:r*2},As(r))},Hs(e,r,n)),{[`${n}-lg`]:g({},As(a))}),Hs(e,a,`${n}-lg`)),{[`${n}-sm`]:g({},As(l))}),Hs(e,l,`${n}-sm`))},Tue=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:a,skeletonButtonCls:l,skeletonInputCls:o,skeletonImageCls:c,controlHeight:u,controlHeightLG:d,controlHeightSM:s,color:f,padding:p,marginSM:v,borderRadius:b,skeletonTitleHeight:m,skeletonBlockRadius:h,skeletonParagraphLineHeight:y,controlHeightXS:S,skeletonParagraphMarginTop:O}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:p,verticalAlign:"top",[`${n}`]:g({display:"inline-block",verticalAlign:"top",background:f},El(u)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:g({},El(d)),[`${n}-sm`]:g({},El(s))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:m,background:f,borderRadius:h,[`+ ${a}`]:{marginBlockStart:s}},[`${a}`]:{padding:0,"> li":{width:"100%",height:y,listStyle:"none",background:f,borderRadius:h,"+ li":{marginBlockStart:S}}},[`${a}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${a} > li`]:{borderRadius:b}}},[`${t}-with-avatar ${t}-content`]:{[`${r}`]:{marginBlockStart:v,[`+ ${a}`]:{marginBlockStart:O}}},[`${t}${t}-element`]:g(g(g(g({display:"inline-block",width:"auto"},jue(e)),xue(e)),zue(e)),Mue(e)),[`${t}${t}-block`]:{width:"100%",[`${l}`]:{width:"100%"},[`${o}`]:{width:"100%"}},[`${t}${t}-active`]:{[` + ${r}, + ${a} > li, + ${n}, + ${l}, + ${o}, + ${c} + `]:g({},Cue(e))}}},Pi=Je("Skeleton",e=>{const{componentCls:t}=e,n=Ge(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:e.controlHeight*1.5,skeletonTitleHeight:e.controlHeight/2,skeletonBlockRadius:e.borderRadiusSM,skeletonParagraphLineHeight:e.controlHeight/2,skeletonParagraphMarginTop:e.marginLG+e.marginXXS,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.color} 25%, ${e.colorGradientEnd} 37%, ${e.color} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[Tue(n)]},e=>{const{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n}}),_ue=()=>({active:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},prefixCls:String,avatar:{type:[Boolean,Object],default:void 0},title:{type:[Boolean,Object],default:void 0},paragraph:{type:[Boolean,Object],default:void 0},round:{type:Boolean,default:void 0}});function Is(e){return e&&typeof e=="object"?e:{}}function Eue(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Hue(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function Aue(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const Qt=ee({compatConfig:{MODE:3},name:"ASkeleton",props:lt(_ue(),{avatar:!1,title:!0,paragraph:!0}),setup(e,t){let{slots:n}=t;const{prefixCls:r,direction:a}=je("skeleton",e),[l,o]=Pi(r);return()=>{var c;const{loading:u,avatar:d,title:s,paragraph:f,active:p,round:v}=e,b=r.value;if(u||e.loading===void 0){const m=!!d||d==="",h=!!s||s==="",y=!!f||f==="";let S;if(m){const $=g(g({prefixCls:`${b}-avatar`},Eue(h,y)),Is(d));S=i("div",{class:`${b}-header`},[i(wi,$,null)])}let O;if(h||y){let $;if(h){const P=g(g({prefixCls:`${b}-title`},Hue(m,y)),Is(s));$=i(N3,P,null)}let x;if(y){const P=g(g({prefixCls:`${b}-paragraph`},Aue(m,h)),Is(f));x=i(wue,P,null)}O=i("div",{class:`${b}-content`},[$,x])}const w=re(b,{[`${b}-with-avatar`]:m,[`${b}-active`]:p,[`${b}-rtl`]:a.value==="rtl",[`${b}-round`]:v,[o.value]:!0});return l(i("div",{class:w},[S,O]))}return(c=n.default)===null||c===void 0?void 0:c.call(n)}}}),Iue=()=>g(g({},pu()),{size:String,block:Boolean}),mW=ee({compatConfig:{MODE:3},name:"ASkeletonButton",props:lt(Iue(),{size:"default"}),setup(e){const{prefixCls:t}=je("skeleton",e),[n,r]=Pi(t),a=z(()=>re(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active,[`${t.value}-block`]:e.block},r.value));return()=>n(i("div",{class:a.value},[i(wi,H(H({},e),{},{prefixCls:`${t.value}-button`}),null)]))}}),gW=ee({compatConfig:{MODE:3},name:"ASkeletonInput",props:g(g({},at(pu(),["shape"])),{size:String,block:Boolean}),setup(e){const{prefixCls:t}=je("skeleton",e),[n,r]=Pi(t),a=z(()=>re(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active,[`${t.value}-block`]:e.block},r.value));return()=>n(i("div",{class:a.value},[i(wi,H(H({},e),{},{prefixCls:`${t.value}-input`}),null)]))}}),Due="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",hW=ee({compatConfig:{MODE:3},name:"ASkeletonImage",props:at(pu(),["size","shape","active"]),setup(e){const{prefixCls:t}=je("skeleton",e),[n,r]=Pi(t),a=z(()=>re(t.value,`${t.value}-element`,r.value));return()=>n(i("div",{class:a.value},[i("div",{class:`${t.value}-image`},[i("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",class:`${t.value}-image-svg`},[i("path",{d:Due,class:`${t.value}-image-path`},null)])])]))}}),Fue=()=>g(g({},pu()),{shape:String}),bW=ee({compatConfig:{MODE:3},name:"ASkeletonAvatar",props:lt(Fue(),{size:"default",shape:"circle"}),setup(e){const{prefixCls:t}=je("skeleton",e),[n,r]=Pi(t),a=z(()=>re(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active},r.value));return()=>n(i("div",{class:a.value},[i(wi,H(H({},e),{},{prefixCls:`${t.value}-avatar`}),null)]))}});Qt.Button=mW;Qt.Avatar=bW;Qt.Input=gW;Qt.Image=hW;Qt.Title=N3;Qt.install=function(e){return e.component(Qt.name,Qt),e.component(Qt.Button.name,mW),e.component(Qt.Avatar.name,bW),e.component(Qt.Input.name,gW),e.component(Qt.Image.name,hW),e.component(Qt.Title.name,N3),e};const{TabPane:Bue}=_l,Nue=()=>({prefixCls:String,title:G.any,extra:G.any,bordered:{type:Boolean,default:!0},bodyStyle:{type:Object,default:void 0},headStyle:{type:Object,default:void 0},loading:{type:Boolean,default:!1},hoverable:{type:Boolean,default:!1},type:{type:String},size:{type:String},actions:G.any,tabList:{type:Array},tabBarExtraContent:G.any,activeTabKey:String,defaultActiveTabKey:String,cover:G.any,onTabChange:{type:Function}}),Do=ee({compatConfig:{MODE:3},name:"ACard",inheritAttrs:!1,props:Nue(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:a,direction:l,size:o}=je("card",e),[c,u]=Oue(a),d=p=>p.map((b,m)=>Xt(b)&&!z1(b)||!Xt(b)?i("li",{style:{width:`${100/p.length}%`},key:`action-${m}`},[i("span",null,[b])]):null),s=p=>{var v;(v=e.onTabChange)===null||v===void 0||v.call(e,p)},f=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],v;return p.forEach(b=>{b&&Q1(b.type)&&b.type.__ANT_CARD_GRID&&(v=!0)}),v};return()=>{var p,v,b,m,h,y;const{headStyle:S={},bodyStyle:O={},loading:w,bordered:$=!0,type:x,tabList:P,hoverable:M,activeTabKey:j,defaultActiveTabKey:T,tabBarExtraContent:E=po((p=n.tabBarExtraContent)===null||p===void 0?void 0:p.call(n)),title:F=po((v=n.title)===null||v===void 0?void 0:v.call(n)),extra:A=po((b=n.extra)===null||b===void 0?void 0:b.call(n)),actions:W=po((m=n.actions)===null||m===void 0?void 0:m.call(n)),cover:_=po((h=n.cover)===null||h===void 0?void 0:h.call(n))}=e,N=bt((y=n.default)===null||y===void 0?void 0:y.call(n)),D=a.value,V={[`${D}`]:!0,[u.value]:!0,[`${D}-loading`]:w,[`${D}-bordered`]:$,[`${D}-hoverable`]:!!M,[`${D}-contain-grid`]:f(N),[`${D}-contain-tabs`]:P&&P.length,[`${D}-${o.value}`]:o.value,[`${D}-type-${x}`]:!!x,[`${D}-rtl`]:l.value==="rtl"},I=i(Qt,{loading:!0,active:!0,paragraph:{rows:4},title:!1},{default:()=>[N]}),B=j!==void 0,R={size:"large",[B?"activeKey":"defaultActiveKey"]:B?j:T,onChange:s,class:`${D}-head-tabs`};let L;const U=P&&P.length?i(_l,R,{default:()=>[P.map(K=>{const{tab:te,slots:J}=K,X=J==null?void 0:J.tab;yt(!J,"Card","tabList slots is deprecated, Please use `customTab` instead.");let Q=te!==void 0?te:n[X]?n[X](K):null;return Q=D1(n,"customTab",K,()=>[Q]),i(Bue,{tab:Q,key:K.key,disabled:K.disabled},null)})],rightExtra:E?()=>E:null}):null;(F||A||U)&&(L=i("div",{class:`${D}-head`,style:S},[i("div",{class:`${D}-head-wrapper`},[F&&i("div",{class:`${D}-head-title`},[F]),A&&i("div",{class:`${D}-extra`},[A])]),U]));const Y=_?i("div",{class:`${D}-cover`},[_]):null,k=i("div",{class:`${D}-body`,style:O},[w?I:N]),Z=W&&W.length?i("ul",{class:`${D}-actions`},[d(W)]):null;return c(i("div",H(H({ref:"cardContainerRef"},r),{},{class:[V,r.class]}),[L,Y,N&&N.length?k:null,Z]))}}}),Lue=()=>({prefixCls:String,title:gr(),description:gr(),avatar:gr()}),y2=ee({compatConfig:{MODE:3},name:"ACardMeta",props:Lue(),slots:Object,setup(e,t){let{slots:n}=t;const{prefixCls:r}=je("card",e);return()=>{const a={[`${r.value}-meta`]:!0},l=At(n,e,"avatar"),o=At(n,e,"title"),c=At(n,e,"description"),u=l?i("div",{class:`${r.value}-meta-avatar`},[l]):null,d=o?i("div",{class:`${r.value}-meta-title`},[o]):null,s=c?i("div",{class:`${r.value}-meta-description`},[c]):null,f=d||s?i("div",{class:`${r.value}-meta-detail`},[d,s]):null;return i("div",{class:a},[u,f])}}}),Vue=()=>({prefixCls:String,hoverable:{type:Boolean,default:!0}}),O2=ee({compatConfig:{MODE:3},name:"ACardGrid",__ANT_CARD_GRID:!0,props:Vue(),setup(e,t){let{slots:n}=t;const{prefixCls:r}=je("card",e),a=z(()=>({[`${r.value}-grid`]:!0,[`${r.value}-grid-hoverable`]:e.hoverable}));return()=>{var l;return i("div",{class:a.value},[(l=n.default)===null||l===void 0?void 0:l.call(n)])}}});Do.Meta=y2;Do.Grid=O2;Do.install=function(e){return e.component(Do.name,Do),e.component(y2.name,y2),e.component(O2.name,O2),e};const yW=Symbol("TreeContextKey"),Rue=ee({compatConfig:{MODE:3},name:"TreeContext",props:{value:{type:Object}},setup(e,t){let{slots:n}=t;return qe(yW,z(()=>e.value)),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),L3=()=>Ue(yW,z(()=>({}))),OW=Symbol("KeysStateKey"),Wue=e=>{qe(OW,e)},SW=()=>Ue(OW,{expandedKeys:q([]),selectedKeys:q([]),loadedKeys:q([]),loadingKeys:q([]),checkedKeys:q([]),halfCheckedKeys:q([]),expandedKeysSet:z(()=>new Set),selectedKeysSet:z(()=>new Set),loadedKeysSet:z(()=>new Set),loadingKeysSet:z(()=>new Set),checkedKeysSet:z(()=>new Set),halfCheckedKeysSet:z(()=>new Set),flattenNodes:q([])}),Gue=e=>{let{prefixCls:t,level:n,isStart:r,isEnd:a}=e;const l=`${t}-indent-unit`,o=[];for(let c=0;c({prefixCls:String,focusable:{type:Boolean,default:void 0},activeKey:[Number,String],tabindex:Number,children:G.any,treeData:{type:Array},fieldNames:{type:Object},showLine:{type:[Boolean,Object],default:void 0},showIcon:{type:Boolean,default:void 0},icon:G.any,selectable:{type:Boolean,default:void 0},expandAction:[String,Boolean],disabled:{type:Boolean,default:void 0},multiple:{type:Boolean,default:void 0},checkable:{type:Boolean,default:void 0},checkStrictly:{type:Boolean,default:void 0},draggable:{type:[Function,Boolean]},defaultExpandParent:{type:Boolean,default:void 0},autoExpandParent:{type:Boolean,default:void 0},defaultExpandAll:{type:Boolean,default:void 0},defaultExpandedKeys:{type:Array},expandedKeys:{type:Array},defaultCheckedKeys:{type:Array},checkedKeys:{type:[Object,Array]},defaultSelectedKeys:{type:Array},selectedKeys:{type:Array},allowDrop:{type:Function},dropIndicatorRender:{type:Function},onFocus:{type:Function},onBlur:{type:Function},onKeydown:{type:Function},onContextmenu:{type:Function},onClick:{type:Function},onDblclick:{type:Function},onScroll:{type:Function},onExpand:{type:Function},onCheck:{type:Function},onSelect:{type:Function},onLoad:{type:Function},loadData:{type:Function},loadedKeys:{type:Array},onMouseenter:{type:Function},onMouseleave:{type:Function},onRightClick:{type:Function},onDragstart:{type:Function},onDragenter:{type:Function},onDragover:{type:Function},onDragleave:{type:Function},onDragend:{type:Function},onDrop:{type:Function},onActiveChange:{type:Function},filterTreeNode:{type:Function},motion:G.any,switcherIcon:G.any,height:Number,itemHeight:Number,virtual:{type:Boolean,default:void 0},direction:{type:String},rootClassName:String,rootStyle:Object});var que=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a"`v-slot:"+le+"` ")}`;const l=q(!1),o=L3(),{expandedKeysSet:c,selectedKeysSet:u,loadedKeysSet:d,loadingKeysSet:s,checkedKeysSet:f,halfCheckedKeysSet:p}=SW(),{dragOverNodeKey:v,dropPosition:b,keyEntities:m}=o.value,h=z(()=>jc(e.eventKey,{expandedKeysSet:c.value,selectedKeysSet:u.value,loadedKeysSet:d.value,loadingKeysSet:s.value,checkedKeysSet:f.value,halfCheckedKeysSet:p.value,dragOverNodeKey:v,dropPosition:b,keyEntities:m})),y=yn(()=>h.value.expanded),S=yn(()=>h.value.selected),O=yn(()=>h.value.checked),w=yn(()=>h.value.loaded),$=yn(()=>h.value.loading),x=yn(()=>h.value.halfChecked),P=yn(()=>h.value.dragOver),M=yn(()=>h.value.dragOverGapTop),j=yn(()=>h.value.dragOverGapBottom),T=yn(()=>h.value.pos),E=q(),F=z(()=>{const{eventKey:le}=e,{keyEntities:ae}=o.value,{children:me}=ae[le]||{};return!!(me||[]).length}),A=z(()=>{const{isLeaf:le}=e,{loadData:ae}=o.value,me=F.value;return le===!1?!1:le||!ae&&!me||ae&&w.value&&!me}),W=z(()=>A.value?null:y.value?rw:aw),_=z(()=>{const{disabled:le}=e,{disabled:ae}=o.value;return!!(ae||le)}),N=z(()=>{const{checkable:le}=e,{checkable:ae}=o.value;return!ae||le===!1?!1:ae}),D=z(()=>{const{selectable:le}=e,{selectable:ae}=o.value;return typeof le=="boolean"?le:ae}),V=z(()=>{const{data:le,active:ae,checkable:me,disableCheckbox:Te,disabled:_e,selectable:De}=e;return g(g({active:ae,checkable:me,disableCheckbox:Te,disabled:_e,selectable:De},le),{dataRef:le,data:le,isLeaf:A.value,checked:O.value,expanded:y.value,loading:$.value,selected:S.value,halfChecked:x.value})}),I=_n(),B=z(()=>{const{eventKey:le}=e,{keyEntities:ae}=o.value,{parent:me}=ae[le]||{};return g(g({},Tc(g({},e,h.value))),{parent:me})}),R=ht({eventData:B,eventKey:z(()=>e.eventKey),selectHandle:E,pos:T,key:I.vnode.key});a(R);const L=le=>{const{onNodeDoubleClick:ae}=o.value;ae(le,B.value)},U=le=>{if(_.value)return;const{onNodeSelect:ae}=o.value;le.preventDefault(),ae(le,B.value)},Y=le=>{if(_.value)return;const{disableCheckbox:ae}=e,{onNodeCheck:me}=o.value;if(!N.value||ae)return;le.preventDefault();const Te=!O.value;me(le,B.value,Te)},k=le=>{const{onNodeClick:ae}=o.value;ae(le,B.value),D.value?U(le):Y(le)},Z=le=>{const{onNodeMouseEnter:ae}=o.value;ae(le,B.value)},K=le=>{const{onNodeMouseLeave:ae}=o.value;ae(le,B.value)},te=le=>{const{onNodeContextMenu:ae}=o.value;ae(le,B.value)},J=le=>{const{onNodeDragStart:ae}=o.value;le.stopPropagation(),l.value=!0,ae(le,R);try{le.dataTransfer.setData("text/plain","")}catch{}},X=le=>{const{onNodeDragEnter:ae}=o.value;le.preventDefault(),le.stopPropagation(),ae(le,R)},Q=le=>{const{onNodeDragOver:ae}=o.value;le.preventDefault(),le.stopPropagation(),ae(le,R)},oe=le=>{const{onNodeDragLeave:ae}=o.value;le.stopPropagation(),ae(le,R)},ue=le=>{const{onNodeDragEnd:ae}=o.value;le.stopPropagation(),l.value=!1,ae(le,R)},ye=le=>{const{onNodeDrop:ae}=o.value;le.preventDefault(),le.stopPropagation(),l.value=!1,ae(le,R)},Oe=le=>{const{onNodeExpand:ae}=o.value;$.value||ae(le,B.value)},pe=()=>{const{data:le}=e,{draggable:ae}=o.value;return!!(ae&&(!ae.nodeDraggable||ae.nodeDraggable(le)))},we=()=>{const{draggable:le,prefixCls:ae}=o.value;return le&&(le!=null&&le.icon)?i("span",{class:`${ae}-draggable-icon`},[le.icon]):null},se=()=>{var le,ae,me;const{switcherIcon:Te=r.switcherIcon||((le=o.value.slots)===null||le===void 0?void 0:le[(me=(ae=e.data)===null||ae===void 0?void 0:ae.slots)===null||me===void 0?void 0:me.switcherIcon])}=e,{switcherIcon:_e}=o.value,De=Te||_e;return typeof De=="function"?De(V.value):De},ie=()=>{const{loadData:le,onNodeLoad:ae}=o.value;$.value||le&&y.value&&!A.value&&!F.value&&!w.value&&ae(B.value)};We(()=>{ie()}),ur(()=>{ie()});const he=()=>{const{prefixCls:le}=o.value,ae=se();if(A.value)return ae!==!1?i("span",{class:re(`${le}-switcher`,`${le}-switcher-noop`)},[ae]):null;const me=re(`${le}-switcher`,`${le}-switcher_${y.value?rw:aw}`);return ae!==!1?i("span",{onClick:Oe,class:me},[ae]):null},Ce=()=>{var le,ae;const{disableCheckbox:me}=e,{prefixCls:Te}=o.value,_e=_.value;return N.value?i("span",{class:re(`${Te}-checkbox`,O.value&&`${Te}-checkbox-checked`,!O.value&&x.value&&`${Te}-checkbox-indeterminate`,(_e||me)&&`${Te}-checkbox-disabled`),onClick:Y},[(ae=(le=o.value).customCheckable)===null||ae===void 0?void 0:ae.call(le)]):null},Pe=()=>{const{prefixCls:le}=o.value;return i("span",{class:re(`${le}-iconEle`,`${le}-icon__${W.value||"docu"}`,$.value&&`${le}-icon_loading`)},null)},xe=()=>{const{disabled:le,eventKey:ae}=e,{draggable:me,dropLevelOffset:Te,dropPosition:_e,prefixCls:De,indent:ve,dropIndicatorRender:ge,dragOverNodeKey:be,direction:ze}=o.value;return!le&&me!==!1&&be===ae?ge({dropPosition:_e,dropLevelOffset:Te,indent:ve,prefixCls:De,direction:ze}):null},Be=()=>{var le,ae,me,Te,_e,De;const{icon:ve=r.icon,data:ge}=e,be=r.title||((le=o.value.slots)===null||le===void 0?void 0:le[(me=(ae=e.data)===null||ae===void 0?void 0:ae.slots)===null||me===void 0?void 0:me.title])||((Te=o.value.slots)===null||Te===void 0?void 0:Te.title)||e.title,{prefixCls:ze,showIcon:Ie,icon:Me,loadData:He}=o.value,ke=_.value,ot=`${ze}-node-content-wrapper`;let Qe;if(Ie){const zt=ve||((_e=o.value.slots)===null||_e===void 0?void 0:_e[(De=ge==null?void 0:ge.slots)===null||De===void 0?void 0:De.icon])||Me;Qe=zt?i("span",{class:re(`${ze}-iconEle`,`${ze}-icon__customize`)},[typeof zt=="function"?zt(V.value):zt]):Pe()}else He&&$.value&&(Qe=Pe());let nt;typeof be=="function"?nt=be(V.value):nt=be,nt=nt===void 0?kue:nt;const it=i("span",{class:`${ze}-title`},[nt]);return i("span",{ref:E,title:typeof be=="string"?be:"",class:re(`${ot}`,`${ot}-${W.value||"normal"}`,!ke&&(S.value||l.value)&&`${ze}-node-selected`),onMouseenter:Z,onMouseleave:K,onContextmenu:te,onClick:k,onDblclick:L},[Qe,it,xe()])};return()=>{const le=g(g({},e),n),{eventKey:ae,isLeaf:me,isStart:Te,isEnd:_e,domRef:De,active:ve,data:ge,onMousemove:be,selectable:ze}=le,Ie=que(le,["eventKey","isLeaf","isStart","isEnd","domRef","active","data","onMousemove","selectable"]),{prefixCls:Me,filterTreeNode:He,keyEntities:ke,dropContainerKey:ot,dropTargetKey:Qe,draggingNodeKey:nt}=o.value,it=_.value,zt=ga(Ie,{aria:!0,data:!0}),{level:jt}=ke[ae]||{},Et=_e[_e.length-1],Pt=pe(),Ut=!it&&Pt,nn=nt===ae,En=ze!==void 0?{"aria-selected":!!ze}:void 0;return i("div",H(H({ref:De,class:re(n.class,`${Me}-treenode`,{[`${Me}-treenode-disabled`]:it,[`${Me}-treenode-switcher-${y.value?"open":"close"}`]:!me,[`${Me}-treenode-checkbox-checked`]:O.value,[`${Me}-treenode-checkbox-indeterminate`]:x.value,[`${Me}-treenode-selected`]:S.value,[`${Me}-treenode-loading`]:$.value,[`${Me}-treenode-active`]:ve,[`${Me}-treenode-leaf-last`]:Et,[`${Me}-treenode-draggable`]:Ut,dragging:nn,"drop-target":Qe===ae,"drop-container":ot===ae,"drag-over":!it&&P.value,"drag-over-gap-top":!it&&M.value,"drag-over-gap-bottom":!it&&j.value,"filter-node":He&&He(B.value)}),style:n.style,draggable:Ut,"aria-grabbed":nn,onDragstart:Ut?J:void 0,onDragenter:Pt?X:void 0,onDragover:Pt?Q:void 0,onDragleave:Pt?oe:void 0,onDrop:Pt?ye:void 0,onDragend:Pt?ue:void 0,onMousemove:be},En),zt),[i(Gue,{prefixCls:Me,level:jt,isStart:Te,isEnd:_e},null),we(),he(),Ce(),Be()])}}});function pr(e,t){if(!e)return[];const n=e.slice(),r=n.indexOf(t);return r>=0&&n.splice(r,1),n}function _r(e,t){const n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function V3(e){return e.split("-")}function PW(e,t){return`${e}-${t}`}function Xue(e){return e&&e.type&&e.type.isTreeNode}function Yue(e,t){const n=[],r=t[e];function a(){(arguments.length>0&&arguments[0]!==void 0?arguments[0]:[]).forEach(o=>{let{key:c,children:u}=o;n.push(c),a(u)})}return a(r.children),n}function Que(e){if(e.parent){const t=V3(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function Zue(e){const t=V3(e.pos);return Number(t[t.length-1])===0}function lw(e,t,n,r,a,l,o,c,u,d){var s;const{clientX:f,clientY:p}=e,{top:v,height:b}=e.target.getBoundingClientRect(),h=((d==="rtl"?-1:1)*(((a==null?void 0:a.x)||0)-f)-12)/r;let y=c[n.eventKey];if(pA.key===y.key),E=T<=0?0:T-1,F=o[E].key;y=c[F]}const S=y.key,O=y,w=y.key;let $=0,x=0;if(!u.has(S))for(let T=0;T-1.5?l({dragNode:P,dropNode:M,dropPosition:1})?$=1:j=!1:l({dragNode:P,dropNode:M,dropPosition:0})?$=0:l({dragNode:P,dropNode:M,dropPosition:1})?$=1:j=!1:l({dragNode:P,dropNode:M,dropPosition:1})?$=1:j=!1,{dropPosition:$,dropLevelOffset:x,dropTargetKey:y.key,dropTargetPos:y.pos,dragOverNodeKey:w,dropContainerKey:$===0?null:((s=y.parent)===null||s===void 0?void 0:s.key)||null,dropAllowed:j}}function ow(e,t){if(!e)return;const{multiple:n}=t;return n?e.slice():e.length?[e[0]]:e}function Ds(e){if(!e)return null;let t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(typeof e=="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return null;return t}function $2(e,t){const n=new Set;function r(a){if(n.has(a))return;const l=t[a];if(!l)return;n.add(a);const{parent:o,node:c}=l;c.disabled||o&&r(o.key)}return(e||[]).forEach(a=>{r(a)}),[...n]}var Jue=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a0&&arguments[0]!==void 0?arguments[0]:[];return Mt(n).map(a=>{var l,o,c,u;if(!Xue(a))return null;const d=a.children||{},s=a.key,f={};for(const[T,E]of Object.entries(a.props))f[li(T)]=E;const{isLeaf:p,checkable:v,selectable:b,disabled:m,disableCheckbox:h}=f,y={isLeaf:p||p===""||void 0,checkable:v||v===""||void 0,selectable:b||b===""||void 0,disabled:m||m===""||void 0,disableCheckbox:h||h===""||void 0},S=g(g({},f),y),{title:O=(l=d.title)===null||l===void 0?void 0:l.call(d,S),icon:w=(o=d.icon)===null||o===void 0?void 0:o.call(d,S),switcherIcon:$=(c=d.switcherIcon)===null||c===void 0?void 0:c.call(d,S)}=f,x=Jue(f,["title","icon","switcherIcon"]),P=(u=d.default)===null||u===void 0?void 0:u.call(d),M=g(g(g({},x),{title:O,icon:w,switcherIcon:$,key:s,isLeaf:p}),y),j=t(P);return j.length&&(M.children=j),M})}return t(e)}function Kue(e,t,n){const{_title:r,key:a,children:l}=mu(n),o=new Set(t===!0?[]:t),c=[];function u(d){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return d.map((f,p)=>{const v=PW(s?s.pos:"0",p),b=Ci(f[a],v);let m;for(let y=0;yp[l]:typeof l=="function"&&(s=p=>l(p)):s=(p,v)=>Ci(p[c],v);function f(p,v,b,m){const h=p?p[d]:e,y=p?PW(b.pos,v):"0",S=p?[...m,p]:[];if(p){const O=s(p,y),w={node:p,index:v,pos:y,key:O,parentPos:b.node?b.pos:null,level:b.level+1,nodes:S};t(w)}h&&h.forEach((O,w)=>{f(O,w,{node:p,pos:y,level:b?b.level+1:-1},S)})}f(null)}function R3(e){let{initWrapper:t,processEntity:n,onProcessFinished:r,externalGetKey:a,childrenPropName:l,fieldNames:o}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=arguments.length>2?arguments[2]:void 0;const u=a||c,d={},s={};let f={posEntities:d,keyEntities:s};return t&&(f=t(f)||f),ese(e,p=>{const{node:v,index:b,pos:m,key:h,parentPos:y,level:S,nodes:O}=p,w={node:v,nodes:O,index:b,key:h,pos:m,level:S},$=Ci(h,m);d[m]=w,s[$]=w,w.parent=d[y],w.parent&&(w.parent.children=w.parent.children||[],w.parent.children.push(w)),n&&n(w,f)},{externalGetKey:u,childrenPropName:l,fieldNames:o}),r&&r(f),f}function jc(e,t){let{expandedKeysSet:n,selectedKeysSet:r,loadedKeysSet:a,loadingKeysSet:l,checkedKeysSet:o,halfCheckedKeysSet:c,dragOverNodeKey:u,dropPosition:d,keyEntities:s}=t;const f=s[e];return{eventKey:e,expanded:n.has(e),selected:r.has(e),loaded:a.has(e),loading:l.has(e),checked:o.has(e),halfChecked:c.has(e),pos:String(f?f.pos:""),parent:f.parent,dragOver:u===e&&d===0,dragOverGapTop:u===e&&d===-1,dragOverGapBottom:u===e&&d===1}}function Tc(e){const{data:t,expanded:n,selected:r,checked:a,loaded:l,loading:o,halfChecked:c,dragOver:u,dragOverGapTop:d,dragOverGapBottom:s,pos:f,active:p,eventKey:v}=e,b=g(g({dataRef:t},t),{expanded:n,selected:r,checked:a,loaded:l,loading:o,halfChecked:c,dragOver:u,dragOverGapTop:d,dragOverGapBottom:s,pos:f,active:p,eventKey:v,key:v});return"props"in b||Object.defineProperty(b,"props",{get(){return e}}),b}function CW(e,t){const n=new Set;return e.forEach(r=>{t.has(r)||n.add(r)}),n}function tse(e){const{disabled:t,disableCheckbox:n,checkable:r}=e||{};return!!(t||n)||r===!1}function nse(e,t,n,r){const a=new Set(e),l=new Set;for(let c=0;c<=n;c+=1)(t.get(c)||new Set).forEach(d=>{const{key:s,node:f,children:p=[]}=d;a.has(s)&&!r(f)&&p.filter(v=>!r(v.node)).forEach(v=>{a.add(v.key)})});const o=new Set;for(let c=n;c>=0;c-=1)(t.get(c)||new Set).forEach(d=>{const{parent:s,node:f}=d;if(r(f)||!d.parent||o.has(d.parent.key))return;if(r(d.parent.node)){o.add(s.key);return}let p=!0,v=!1;(s.children||[]).filter(b=>!r(b.node)).forEach(b=>{let{key:m}=b;const h=a.has(m);p&&!h&&(p=!1),!v&&(h||l.has(m))&&(v=!0)}),p&&a.add(s.key),v&&l.add(s.key),o.add(s.key)});return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(CW(l,a))}}function rse(e,t,n,r,a){const l=new Set(e);let o=new Set(t);for(let u=0;u<=r;u+=1)(n.get(u)||new Set).forEach(s=>{const{key:f,node:p,children:v=[]}=s;!l.has(f)&&!o.has(f)&&!a(p)&&v.filter(b=>!a(b.node)).forEach(b=>{l.delete(b.key)})});o=new Set;const c=new Set;for(let u=r;u>=0;u-=1)(n.get(u)||new Set).forEach(s=>{const{parent:f,node:p}=s;if(a(p)||!s.parent||c.has(s.parent.key))return;if(a(s.parent.node)){c.add(f.key);return}let v=!0,b=!1;(f.children||[]).filter(m=>!a(m.node)).forEach(m=>{let{key:h}=m;const y=l.has(h);v&&!y&&(v=!1),!b&&(y||o.has(h))&&(b=!0)}),v||l.delete(f.key),b&&o.add(f.key),c.add(f.key)});return{checkedKeys:Array.from(l),halfCheckedKeys:Array.from(CW(o,l))}}function Hl(e,t,n,r,a,l){let o;l?o=l:o=tse;const c=new Set(e.filter(d=>!!n[d]));let u;return t===!0?u=nse(c,a,r,o):u=rse(c,t.halfCheckedKeys,a,r,o),u}function xW(e){const t=ne(0),n=q();return Ve(()=>{const r=new Map;let a=0;const l=e.value||{};for(const o in l)if(Object.prototype.hasOwnProperty.call(l,o)){const c=l[o],{level:u}=c;let d=r.get(u);d||(d=new Set,r.set(u,d)),d.add(c),a=Math.max(a,u)}t.value=a,n.value=r}),{maxLevel:t,levelEntities:n}}var ase={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};function iw(e){for(var t=1;tfn()&&window.document.documentElement,MW=e=>{if(fn()&&window.document.documentElement){const t=Array.isArray(e)?e:[e],{documentElement:n}=window.document;return t.some(r=>r in n.style)}return!1},ose=(e,t)=>{if(!MW(e))return!1;const n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r};function W3(e,t){return!Array.isArray(e)&&t!==void 0?ose(e,t):MW(e)}let cc;const ise=()=>{if(!zW())return!1;if(cc!==void 0)return cc;const e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),cc=e.scrollHeight===1,document.body.removeChild(e),cc},jW=()=>{const e=q(!1);return We(()=>{e.value=ise()}),e},TW=Symbol("rowContextKey"),cse=e=>{qe(TW,e)},use=()=>Ue(TW,{gutter:z(()=>{}),wrap:z(()=>{}),supportFlexGap:z(()=>{})}),sse=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around ":{justifyContent:"space-around"},"&-space-evenly ":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},dse=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},fse=(e,t)=>{const{componentCls:n,gridColumns:r}=e,a={};for(let l=r;l>=0;l--)l===0?(a[`${n}${t}-${l}`]={display:"none"},a[`${n}-push-${l}`]={insetInlineStart:"auto"},a[`${n}-pull-${l}`]={insetInlineEnd:"auto"},a[`${n}${t}-push-${l}`]={insetInlineStart:"auto"},a[`${n}${t}-pull-${l}`]={insetInlineEnd:"auto"},a[`${n}${t}-offset-${l}`]={marginInlineEnd:0},a[`${n}${t}-order-${l}`]={order:0}):(a[`${n}${t}-${l}`]={display:"block",flex:`0 0 ${l/r*100}%`,maxWidth:`${l/r*100}%`},a[`${n}${t}-push-${l}`]={insetInlineStart:`${l/r*100}%`},a[`${n}${t}-pull-${l}`]={insetInlineEnd:`${l/r*100}%`},a[`${n}${t}-offset-${l}`]={marginInlineStart:`${l/r*100}%`},a[`${n}${t}-order-${l}`]={order:l});return a},P2=(e,t)=>fse(e,t),pse=(e,t,n)=>({[`@media (min-width: ${t}px)`]:g({},P2(e,n))}),vse=Je("Grid",e=>[sse(e)]),mse=Je("Grid",e=>{const t=Ge(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[dse(t),P2(t,""),P2(t,"-xs"),Object.keys(n).map(r=>pse(t,n[r],r)).reduce((r,a)=>g(g({},r),a),{})]}),gse=()=>({align:Ye([String,Object]),justify:Ye([String,Object]),prefixCls:String,gutter:Ye([Number,Array,Object],0),wrap:{type:Boolean,default:void 0}}),G3=ee({compatConfig:{MODE:3},name:"ARow",inheritAttrs:!1,props:gse(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:a,direction:l}=je("row",e),[o,c]=vse(a);let u;const d=c3(),s=ne({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),f=ne({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),p=O=>z(()=>{if(typeof e[O]=="string")return e[O];if(typeof e[O]!="object")return"";for(let w=0;w{u=d.value.subscribe(O=>{f.value=O;const w=e.gutter||0;(!Array.isArray(w)&&typeof w=="object"||Array.isArray(w)&&(typeof w[0]=="object"||typeof w[1]=="object"))&&(s.value=O)})}),Xe(()=>{d.value.unsubscribe(u)});const h=z(()=>{const O=[void 0,void 0],{gutter:w=0}=e;return(Array.isArray(w)?w:[w,void 0]).forEach((x,P)=>{if(typeof x=="object")for(let M=0;Me.wrap)});const y=z(()=>re(a.value,{[`${a.value}-no-wrap`]:e.wrap===!1,[`${a.value}-${b.value}`]:b.value,[`${a.value}-${v.value}`]:v.value,[`${a.value}-rtl`]:l.value==="rtl"},r.class,c.value)),S=z(()=>{const O=h.value,w={},$=O[0]!=null&&O[0]>0?`${O[0]/-2}px`:void 0,x=O[1]!=null&&O[1]>0?`${O[1]/-2}px`:void 0;return $&&(w.marginLeft=$,w.marginRight=$),m.value?w.rowGap=`${O[1]}px`:x&&(w.marginTop=x,w.marginBottom=x),w});return()=>{var O;return o(i("div",H(H({},r),{},{class:y.value,style:g(g({},S.value),r.style)}),[(O=n.default)===null||O===void 0?void 0:O.call(n)]))}}});function Ha(){return Ha=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _c(e,t,n){return bse()?_c=Reflect.construct.bind():_c=function(a,l,o){var c=[null];c.push.apply(c,l);var u=Function.bind.apply(a,c),d=new u;return o&&ei(d,o.prototype),d},_c.apply(null,arguments)}function yse(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function x2(e){var t=typeof Map=="function"?new Map:void 0;return x2=function(r){if(r===null||!yse(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,a)}function a(){return _c(r,arguments,C2(this).constructor)}return a.prototype=Object.create(r.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ei(a,r)},x2(e)}var Ose=/%[sdj%]/g,Sse=function(){};function z2(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function Pn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=l)return c;switch(c){case"%s":return String(n[a++]);case"%d":return Number(n[a++]);case"%j":try{return JSON.stringify(n[a++])}catch{return"[Circular]"}break;default:return c}});return o}return e}function $se(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function It(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||$se(t)&&typeof e=="string"&&!e)}function wse(e,t,n){var r=[],a=0,l=e.length;function o(c){r.push.apply(r,c||[]),a++,a===l&&n(r)}e.forEach(function(c){t(c,o)})}function cw(e,t,n){var r=0,a=e.length;function l(o){if(o&&o.length){n(o);return}var c=r;r=r+1,c()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Po={integer:function(t){return Po.number(t)&&parseInt(t,10)===t},float:function(t){return Po.number(t)&&!Po.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Po.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(fw.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(jse())},hex:function(t){return typeof t=="string"&&!!t.match(fw.hex)}},Tse=function(t,n,r,a,l){if(t.required&&n===void 0){_W(t,n,r,a,l);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],c=t.type;o.indexOf(c)>-1?Po[c](n)||a.push(Pn(l.messages.types[c],t.fullField,t.type)):c&&typeof n!==t.type&&a.push(Pn(l.messages.types[c],t.fullField,t.type))},_se=function(t,n,r,a,l){var o=typeof t.len=="number",c=typeof t.min=="number",u=typeof t.max=="number",d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=n,f=null,p=typeof n=="number",v=typeof n=="string",b=Array.isArray(n);if(p?f="number":v?f="string":b&&(f="array"),!f)return!1;b&&(s=n.length),v&&(s=n.replace(d,"_").length),o?s!==t.len&&a.push(Pn(l.messages[f].len,t.fullField,t.len)):c&&!u&&st.max?a.push(Pn(l.messages[f].max,t.fullField,t.max)):c&&u&&(st.max)&&a.push(Pn(l.messages[f].range,t.fullField,t.min,t.max))},sl="enum",Ese=function(t,n,r,a,l){t[sl]=Array.isArray(t[sl])?t[sl]:[],t[sl].indexOf(n)===-1&&a.push(Pn(l.messages[sl],t.fullField,t[sl].join(", ")))},Hse=function(t,n,r,a,l){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||a.push(Pn(l.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var o=new RegExp(t.pattern);o.test(n)||a.push(Pn(l.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},dt={required:_W,whitespace:Mse,type:Tse,range:_se,enum:Ese,pattern:Hse},Ase=function(t,n,r,a,l){var o=[],c=t.required||!t.required&&a.hasOwnProperty(t.field);if(c){if(It(n,"string")&&!t.required)return r();dt.required(t,n,a,o,l,"string"),It(n,"string")||(dt.type(t,n,a,o,l),dt.range(t,n,a,o,l),dt.pattern(t,n,a,o,l),t.whitespace===!0&&dt.whitespace(t,n,a,o,l))}r(o)},Ise=function(t,n,r,a,l){var o=[],c=t.required||!t.required&&a.hasOwnProperty(t.field);if(c){if(It(n)&&!t.required)return r();dt.required(t,n,a,o,l),n!==void 0&&dt.type(t,n,a,o,l)}r(o)},Dse=function(t,n,r,a,l){var o=[],c=t.required||!t.required&&a.hasOwnProperty(t.field);if(c){if(n===""&&(n=void 0),It(n)&&!t.required)return r();dt.required(t,n,a,o,l),n!==void 0&&(dt.type(t,n,a,o,l),dt.range(t,n,a,o,l))}r(o)},Fse=function(t,n,r,a,l){var o=[],c=t.required||!t.required&&a.hasOwnProperty(t.field);if(c){if(It(n)&&!t.required)return r();dt.required(t,n,a,o,l),n!==void 0&&dt.type(t,n,a,o,l)}r(o)},Bse=function(t,n,r,a,l){var o=[],c=t.required||!t.required&&a.hasOwnProperty(t.field);if(c){if(It(n)&&!t.required)return r();dt.required(t,n,a,o,l),It(n)||dt.type(t,n,a,o,l)}r(o)},Nse=function(t,n,r,a,l){var o=[],c=t.required||!t.required&&a.hasOwnProperty(t.field);if(c){if(It(n)&&!t.required)return r();dt.required(t,n,a,o,l),n!==void 0&&(dt.type(t,n,a,o,l),dt.range(t,n,a,o,l))}r(o)},Lse=function(t,n,r,a,l){var o=[],c=t.required||!t.required&&a.hasOwnProperty(t.field);if(c){if(It(n)&&!t.required)return r();dt.required(t,n,a,o,l),n!==void 0&&(dt.type(t,n,a,o,l),dt.range(t,n,a,o,l))}r(o)},Vse=function(t,n,r,a,l){var o=[],c=t.required||!t.required&&a.hasOwnProperty(t.field);if(c){if(n==null&&!t.required)return r();dt.required(t,n,a,o,l,"array"),n!=null&&(dt.type(t,n,a,o,l),dt.range(t,n,a,o,l))}r(o)},Rse=function(t,n,r,a,l){var o=[],c=t.required||!t.required&&a.hasOwnProperty(t.field);if(c){if(It(n)&&!t.required)return r();dt.required(t,n,a,o,l),n!==void 0&&dt.type(t,n,a,o,l)}r(o)},Wse="enum",Gse=function(t,n,r,a,l){var o=[],c=t.required||!t.required&&a.hasOwnProperty(t.field);if(c){if(It(n)&&!t.required)return r();dt.required(t,n,a,o,l),n!==void 0&&dt[Wse](t,n,a,o,l)}r(o)},Use=function(t,n,r,a,l){var o=[],c=t.required||!t.required&&a.hasOwnProperty(t.field);if(c){if(It(n,"string")&&!t.required)return r();dt.required(t,n,a,o,l),It(n,"string")||dt.pattern(t,n,a,o,l)}r(o)},qse=function(t,n,r,a,l){var o=[],c=t.required||!t.required&&a.hasOwnProperty(t.field);if(c){if(It(n,"date")&&!t.required)return r();if(dt.required(t,n,a,o,l),!It(n,"date")){var u;n instanceof Date?u=n:u=new Date(n),dt.type(t,u,a,o,l),u&&dt.range(t,u.getTime(),a,o,l)}}r(o)},kse=function(t,n,r,a,l){var o=[],c=Array.isArray(n)?"array":typeof n;dt.required(t,n,a,o,l,c),r(o)},Fs=function(t,n,r,a,l){var o=t.type,c=[],u=t.required||!t.required&&a.hasOwnProperty(t.field);if(u){if(It(n,o)&&!t.required)return r();dt.required(t,n,a,c,l,o),It(n,o)||dt.type(t,n,a,c,l)}r(c)},Xse=function(t,n,r,a,l){var o=[],c=t.required||!t.required&&a.hasOwnProperty(t.field);if(c){if(It(n)&&!t.required)return r();dt.required(t,n,a,o,l)}r(o)},Fo={string:Ase,method:Ise,number:Dse,boolean:Fse,regexp:Bse,integer:Nse,float:Lse,array:Vse,object:Rse,enum:Gse,pattern:Use,date:qse,url:Fs,hex:Fs,email:Fs,required:kse,any:Xse};function M2(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var j2=M2(),xi=function(){function e(n){this.rules=null,this._messages=j2,this.define(n)}var t=e.prototype;return t.define=function(r){var a=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(l){var o=r[l];a.rules[l]=Array.isArray(o)?o:[o]})},t.messages=function(r){return r&&(this._messages=dw(M2(),r)),this._messages},t.validate=function(r,a,l){var o=this;a===void 0&&(a={}),l===void 0&&(l=function(){});var c=r,u=a,d=l;if(typeof u=="function"&&(d=u,u={}),!this.rules||Object.keys(this.rules).length===0)return d&&d(null,c),Promise.resolve(c);function s(m){var h=[],y={};function S(w){if(Array.isArray(w)){var $;h=($=h).concat.apply($,w)}else h.push(w)}for(var O=0;O3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!EW(e,t.slice(0,-1))?e:HW(e,t,n,r)}function T2(e){return fa(e)}function Qse(e,t){return EW(e,t)}function Zse(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Yse(e,t,n,r)}function Jse(e,t){return e&&e.some(n=>e4e(n,t))}function pw(e){return typeof e=="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function AW(e,t){const n=Array.isArray(e)?[...e]:g({},e);return t&&Object.keys(t).forEach(r=>{const a=n[r],l=t[r],o=pw(a)&&pw(l);n[r]=o?AW(a,l||{}):l}),n}function Kse(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;rAW(a,l),e)}function vw(e,t){let n={};return t.forEach(r=>{const a=Qse(e,r);n=Zse(n,r,a)}),n}function e4e(e,t){return!e||!t||e.length!==t.length?!1:e.every((n,r)=>t[r]===n)}const hn="'${name}' is not a valid ${type}",gu={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:hn,method:hn,array:hn,object:hn,number:hn,date:hn,boolean:hn,integer:hn,float:hn,regexp:hn,email:hn,url:hn,hex:hn},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}};var hu=function(e,t,n,r){function a(l){return l instanceof n?l:new n(function(o){o(l)})}return new(n||(n=Promise))(function(l,o){function c(s){try{d(r.next(s))}catch(f){o(f)}}function u(s){try{d(r.throw(s))}catch(f){o(f)}}function d(s){s.done?l(s.value):a(s.value).then(c,u)}d((r=r.apply(e,t||[])).next())})};const t4e=xi;function n4e(e,t){return e.replace(/\$\{\w+\}/g,n=>{const r=n.slice(2,-1);return t[r]})}function _2(e,t,n,r,a){return hu(this,void 0,void 0,function*(){const l=g({},n);delete l.ruleIndex,delete l.trigger;let o=null;l&&l.type==="array"&&l.defaultField&&(o=l.defaultField,delete l.defaultField);const c=new t4e({[e]:[l]}),u=Kse({},gu,r.validateMessages);c.messages(u);let d=[];try{yield Promise.resolve(c.validate({[e]:t},g({},r)))}catch(p){p.errors?d=p.errors.map((v,b)=>{let{message:m}=v;return Wt(m)?Lr(m,{key:`error_${b}`}):m}):(console.error(p),d=[u.default()])}if(!d.length&&o)return(yield Promise.all(t.map((v,b)=>_2(`${e}.${b}`,v,o,r,a)))).reduce((v,b)=>[...v,...b],[]);const s=g(g(g({},n),{name:e,enum:(n.enum||[]).join(", ")}),a);return d.map(p=>typeof p=="string"?n4e(p,s):p)})}function IW(e,t,n,r,a,l){const o=e.join("."),c=n.map((d,s)=>{const f=d.validator,p=g(g({},d),{ruleIndex:s});return f&&(p.validator=(v,b,m)=>{let h=!1;const S=f(v,b,function(){for(var O=arguments.length,w=new Array(O),$=0;${h||m(...w)})});h=S&&typeof S.then=="function"&&typeof S.catch=="function",h&&S.then(()=>{m()}).catch(O=>{m(O||" ")})}),p}).sort((d,s)=>{let{warningOnly:f,ruleIndex:p}=d,{warningOnly:v,ruleIndex:b}=s;return!!f==!!v?p-b:f?1:-1});let u;if(a===!0)u=new Promise((d,s)=>hu(this,void 0,void 0,function*(){for(let f=0;f_2(o,t,s,r,l).then(f=>({errors:f,rule:s})));u=(a?a4e(d):r4e(d)).then(s=>Promise.reject(s))}return u.catch(d=>d),u}function r4e(e){return hu(this,void 0,void 0,function*(){return Promise.all(e).then(t=>[].concat(...t))})}function a4e(e){return hu(this,void 0,void 0,function*(){let t=0;return new Promise(n=>{e.forEach(r=>{r.then(a=>{a.errors.length&&n([a]),t+=1,t===e.length&&n([])})})})})}const DW=Symbol("formContextKey"),FW=e=>{qe(DW,e)},U3=()=>Ue(DW,{name:z(()=>{}),labelAlign:z(()=>"right"),vertical:z(()=>!1),addField:(e,t)=>{},removeField:e=>{},model:z(()=>{}),rules:z(()=>{}),colon:z(()=>{}),labelWrap:z(()=>{}),labelCol:z(()=>{}),requiredMark:z(()=>!1),validateTrigger:z(()=>{}),onValidate:()=>{},validateMessages:z(()=>gu)}),BW=Symbol("formItemPrefixContextKey"),l4e=e=>{qe(BW,e)},o4e=()=>Ue(BW,{prefixCls:z(()=>"")});function i4e(e){return typeof e=="number"?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}const c4e=()=>({span:[String,Number],order:[String,Number],offset:[String,Number],push:[String,Number],pull:[String,Number],xs:{type:[String,Number,Object],default:void 0},sm:{type:[String,Number,Object],default:void 0},md:{type:[String,Number,Object],default:void 0},lg:{type:[String,Number,Object],default:void 0},xl:{type:[String,Number,Object],default:void 0},xxl:{type:[String,Number,Object],default:void 0},prefixCls:String,flex:[String,Number]}),u4e=["xs","sm","md","lg","xl","xxl"],bu=ee({compatConfig:{MODE:3},name:"ACol",inheritAttrs:!1,props:c4e(),setup(e,t){let{slots:n,attrs:r}=t;const{gutter:a,supportFlexGap:l,wrap:o}=use(),{prefixCls:c,direction:u}=je("col",e),[d,s]=mse(c),f=z(()=>{const{span:v,order:b,offset:m,push:h,pull:y}=e,S=c.value;let O={};return u4e.forEach(w=>{let $={};const x=e[w];typeof x=="number"?$.span=x:typeof x=="object"&&($=x||{}),O=g(g({},O),{[`${S}-${w}-${$.span}`]:$.span!==void 0,[`${S}-${w}-order-${$.order}`]:$.order||$.order===0,[`${S}-${w}-offset-${$.offset}`]:$.offset||$.offset===0,[`${S}-${w}-push-${$.push}`]:$.push||$.push===0,[`${S}-${w}-pull-${$.pull}`]:$.pull||$.pull===0,[`${S}-rtl`]:u.value==="rtl"})}),re(S,{[`${S}-${v}`]:v!==void 0,[`${S}-order-${b}`]:b,[`${S}-offset-${m}`]:m,[`${S}-push-${h}`]:h,[`${S}-pull-${y}`]:y},O,r.class,s.value)}),p=z(()=>{const{flex:v}=e,b=a.value,m={};if(b&&b[0]>0){const h=`${b[0]/2}px`;m.paddingLeft=h,m.paddingRight=h}if(b&&b[1]>0&&!l.value){const h=`${b[1]/2}px`;m.paddingTop=h,m.paddingBottom=h}return v&&(m.flex=i4e(v),o.value===!1&&!m.minWidth&&(m.minWidth=0)),m});return()=>{var v;return d(i("div",H(H({},r),{},{class:f.value,style:[p.value,r.style]}),[(v=n.default)===null||v===void 0?void 0:v.call(n)]))}}});var s4e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};function mw(e){for(var t=1;t{let{slots:n,emit:r,attrs:a}=t;var l,o,c,u,d;const{prefixCls:s,htmlFor:f,labelCol:p,labelAlign:v,colon:b,required:m,requiredMark:h}=g(g({},e),a),[y]=Pr("Form"),S=(l=e.label)!==null&&l!==void 0?l:(o=n.label)===null||o===void 0?void 0:o.call(n);if(!S)return null;const{vertical:O,labelAlign:w,labelCol:$,labelWrap:x,colon:P}=U3(),M=p||($==null?void 0:$.value)||{},j=v||(w==null?void 0:w.value),T=`${s}-item-label`,E=re(T,j==="left"&&`${T}-left`,M.class,{[`${T}-wrap`]:!!x.value});let F=S;const A=b===!0||(P==null?void 0:P.value)!==!1&&b!==!1;if(A&&!O.value&&typeof S=="string"&&S.trim()!==""&&(F=S.replace(/[:|:]\s*$/,"")),e.tooltip||n.tooltip){const N=i("span",{class:`${s}-item-tooltip`},[i(br,{title:e.tooltip},{default:()=>[i(yu,null,null)]})]);F=i(et,null,[F,n.tooltip?(c=n.tooltip)===null||c===void 0?void 0:c.call(n,{class:`${s}-item-tooltip`}):N])}h==="optional"&&!m&&(F=i(et,null,[F,i("span",{class:`${s}-item-optional`},[((u=y.value)===null||u===void 0?void 0:u.optional)||((d=or.Form)===null||d===void 0?void 0:d.optional)])]));const _=re({[`${s}-item-required`]:m,[`${s}-item-required-mark-optional`]:h==="optional",[`${s}-item-no-colon`]:!A});return i(bu,H(H({},M),{},{class:E}),{default:()=>[i("label",{for:f,class:_,title:typeof S=="string"?S:"",onClick:N=>r("click",N)},[F])]})};q3.displayName="FormItemLabel";q3.inheritAttrs=!1;const f4e=e=>{const{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, + opacity ${e.motionDurationSlow} ${e.motionEaseInOut}, + transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}},p4e=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},label:{fontSize:e.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),gw=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},v4e=e=>{const{componentCls:t}=e;return{[e.componentCls]:g(g(g({},tt(e)),p4e(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":g({},gw(e,e.controlHeightSM)),"&-large":g({},gw(e,e.controlHeightLG))})}},m4e=e=>{const{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:a}=e;return{[t]:g(g({},tt(e)),{marginBottom:e.marginLG,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, + &-hidden.${a}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{display:"inline-block",flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${e.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:e.controlHeight,color:e.colorTextHeading,fontSize:e.fontSize,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:e.colorError,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:e.marginXXS/2,marginInlineEnd:e.marginXS},[`&${t}-no-colon::after`]:{content:'" "'}}},[`${t}-control`]:{display:"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${a}-col-'"]):not([class*="' ${a}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:o3,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},g4e=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label.${r}-col-24 + ${n}-control`]:{minWidth:"unset"}}}},h4e=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",flexWrap:"nowrap",marginInlineEnd:e.margin,marginBottom:0,"&-with-help":{marginBottom:e.marginLG},[`> ${n}-label, + > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},hl=e=>({margin:0,padding:`0 0 ${e.paddingXS}px`,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{display:"none"}}}),b4e=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${n} ${n}-label`]:hl(e),[t]:{[n]:{flexWrap:"wrap",[`${n}-label, + ${n}-control`]:{flex:"0 0 100%",maxWidth:"100%"}}}}},y4e=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-vertical`]:{[n]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${t}-item-control`]:{width:"100%"}}},[`${t}-vertical ${n}-label, + .${r}-col-24${n}-label, + .${r}-col-xl-24${n}-label`]:hl(e),[`@media (max-width: ${e.screenXSMax}px)`]:[b4e(e),{[t]:{[`.${r}-col-xs-24${n}-label`]:hl(e)}}],[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{[`.${r}-col-sm-24${n}-label`]:hl(e)}},[`@media (max-width: ${e.screenMDMax}px)`]:{[t]:{[`.${r}-col-md-24${n}-label`]:hl(e)}},[`@media (max-width: ${e.screenLGMax}px)`]:{[t]:{[`.${r}-col-lg-24${n}-label`]:hl(e)}}}},k3=Je("Form",(e,t)=>{let{rootPrefixCls:n}=t;const r=Ge(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:n});return[v4e(r),m4e(r),f4e(r),g4e(r),h4e(r),y4e(r),ru(r),o3]}),O4e=ee({compatConfig:{MODE:3},name:"ErrorList",inheritAttrs:!1,props:["errors","help","onErrorVisibleChanged","helpStatus","warnings"],setup(e,t){let{attrs:n}=t;const{prefixCls:r,status:a}=o4e(),l=z(()=>`${r.value}-item-explain`),o=z(()=>!!(e.errors&&e.errors.length)),c=ne(a.value),[,u]=k3(r);return de([o,a],()=>{o.value&&(c.value=a.value)}),()=>{var d,s;const f=au(`${r.value}-show-help-item`),p=G1(`${r.value}-show-help-item`,f);return p.role="alert",p.class=[u.value,l.value,n.class,`${r.value}-show-help`],i(sn,H(H({},Gr(`${r.value}-show-help`)),{},{onAfterEnter:()=>e.onErrorVisibleChanged(!0),onAfterLeave:()=>e.onErrorVisibleChanged(!1)}),{default:()=>[Vn(i(C1,H(H({},p),{},{tag:"div"}),{default:()=>[(s=e.errors)===null||s===void 0?void 0:s.map((v,b)=>i("div",{key:b,class:c.value?`${l.value}-${c.value}`:""},[v]))]}),[[lr,!!(!((d=e.errors)===null||d===void 0)&&d.length)]])]})}}}),S4e=ee({compatConfig:{MODE:3},slots:Object,inheritAttrs:!1,props:["prefixCls","errors","hasFeedback","onDomErrorVisibleChange","wrapperCol","help","extra","status","marginBottom","onErrorVisibleChanged"],setup(e,t){let{slots:n}=t;const r=U3(),{wrapperCol:a}=r,l=g({},r);return delete l.labelCol,delete l.wrapperCol,FW(l),l4e({prefixCls:z(()=>e.prefixCls),status:z(()=>e.status)}),()=>{var o,c,u;const{prefixCls:d,wrapperCol:s,marginBottom:f,onErrorVisibleChanged:p,help:v=(o=n.help)===null||o===void 0?void 0:o.call(n),errors:b=Mt((c=n.errors)===null||c===void 0?void 0:c.call(n)),extra:m=(u=n.extra)===null||u===void 0?void 0:u.call(n)}=e,h=`${d}-item`,y=s||(a==null?void 0:a.value)||{},S=re(`${h}-control`,y.class);return i(bu,H(H({},y),{},{class:S}),{default:()=>{var O;return i(et,null,[i("div",{class:`${h}-control-input`},[i("div",{class:`${h}-control-input-content`},[(O=n.default)===null||O===void 0?void 0:O.call(n)])]),f!==null||b.length?i("div",{style:{display:"flex",flexWrap:"nowrap"}},[i(O4e,{errors:b,help:v,class:`${h}-explain-connected`,onErrorVisibleChanged:p},null),!!f&&i("div",{style:{width:0,height:`${f}px`}},null)]):null,m?i("div",{class:`${h}-extra`},[m]):null])}})}}});function $4e(e){const t=q(e.value.slice());let n=null;return Ve(()=>{clearTimeout(n),n=setTimeout(()=>{t.value=e.value},e.value.length?0:10)}),t}dn("success","warning","error","validating","");const w4e={success:Un,warning:qn,error:Gt,validating:pn};function Bs(e,t,n){let r=e;const a=t;let l=0;try{for(let o=a.length;l({htmlFor:String,prefixCls:String,label:G.any,help:G.any,extra:G.any,labelCol:{type:Object},wrapperCol:{type:Object},hasFeedback:{type:Boolean,default:!1},colon:{type:Boolean,default:void 0},labelAlign:String,prop:{type:[String,Number,Array]},name:{type:[String,Number,Array]},rules:[Array,Object],autoLink:{type:Boolean,default:!0},required:{type:Boolean,default:void 0},validateFirst:{type:Boolean,default:void 0},validateStatus:G.oneOf(dn("","success","warning","error","validating")),validateTrigger:{type:[String,Array]},messageVariables:{type:Object},hidden:Boolean,noStyle:Boolean,tooltip:String});let C4e=0;const x4e="form_item",z4e=ee({compatConfig:{MODE:3},name:"AFormItem",inheritAttrs:!1,__ANT_NEW_FORM_ITEM:!0,props:P4e(),slots:Object,setup(e,t){let{slots:n,attrs:r,expose:a}=t;e.prop;const l=`form-item-${++C4e}`,{prefixCls:o}=je("form",e),[c,u]=k3(o),d=q(),s=U3(),f=z(()=>e.name||e.prop),p=q([]),v=q(!1),b=q(),m=z(()=>{const k=f.value;return T2(k)}),h=z(()=>{if(m.value.length){const k=s.name.value,Z=m.value.join("_");return k?`${k}_${Z}`:`${x4e}_${Z}`}else return}),y=()=>{const k=s.model.value;if(!(!k||!f.value))return Bs(k,m.value,!0).v},S=z(()=>y()),O=q(Cc(S.value)),w=z(()=>{let k=e.validateTrigger!==void 0?e.validateTrigger:s.validateTrigger.value;return k=k===void 0?"change":k,fa(k)}),$=z(()=>{let k=s.rules.value;const Z=e.rules,K=e.required!==void 0?{required:!!e.required,trigger:w.value}:[],te=Bs(k,m.value);k=k?te.o[te.k]||te.v:[];const J=[].concat(Z||k||[]);return bae(J,X=>X.required)?J:J.concat(K)}),x=z(()=>{const k=$.value;let Z=!1;return k&&k.length&&k.every(K=>K.required?(Z=!0,!1):!0),Z||e.required}),P=q();Ve(()=>{P.value=e.validateStatus});const M=z(()=>{let k={};return typeof e.label=="string"?k.label=e.label:e.name&&(k.label=String(e.name)),e.messageVariables&&(k=g(g({},k),e.messageVariables)),k}),j=k=>{if(m.value.length===0)return;const{validateFirst:Z=!1}=e,{triggerName:K}=k||{};let te=$.value;if(K&&(te=te.filter(X=>{const{trigger:Q}=X;return!Q&&!w.value.length?!0:fa(Q||w.value).includes(K)})),!te.length)return Promise.resolve();const J=IW(m.value,S.value,te,g({validateMessages:s.validateMessages.value},k),Z,M.value);return P.value="validating",p.value=[],J.catch(X=>X).then(function(){let X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(P.value==="validating"){const Q=X.filter(oe=>oe&&oe.errors.length);P.value=Q.length?"error":"success",p.value=Q.map(oe=>oe.errors),s.onValidate(f.value,!p.value.length,p.value.length?xn(p.value[0]):null)}}),J},T=()=>{j({triggerName:"blur"})},E=()=>{if(v.value){v.value=!1;return}j({triggerName:"change"})},F=()=>{P.value=e.validateStatus,v.value=!1,p.value=[]},A=()=>{var k;P.value=e.validateStatus,v.value=!0,p.value=[];const Z=s.model.value||{},K=S.value,te=Bs(Z,m.value,!0);Array.isArray(K)?te.o[te.k]=[].concat((k=O.value)!==null&&k!==void 0?k:[]):te.o[te.k]=O.value,rt(()=>{v.value=!1})},W=z(()=>e.htmlFor===void 0?h.value:e.htmlFor),_=()=>{const k=W.value;if(!k||!b.value)return;const Z=b.value.$el.querySelector(`[id="${k}"]`);Z&&Z.focus&&Z.focus()};a({onFieldBlur:T,onFieldChange:E,clearValidate:F,resetField:A}),pee({id:h,onFieldBlur:()=>{e.autoLink&&T()},onFieldChange:()=>{e.autoLink&&E()},clearValidate:F},z(()=>!!(e.autoLink&&s.model.value&&f.value)));let N=!1;de(f,k=>{k?N||(N=!0,s.addField(l,{fieldValue:S,fieldId:h,fieldName:f,resetField:A,clearValidate:F,namePath:m,validateRules:j,rules:$})):(N=!1,s.removeField(l))},{immediate:!0}),Xe(()=>{s.removeField(l)});const D=$4e(p),V=z(()=>e.validateStatus!==void 0?e.validateStatus:D.value.length?"error":P.value),I=z(()=>({[`${o.value}-item`]:!0,[u.value]:!0,[`${o.value}-item-has-feedback`]:V.value&&e.hasFeedback,[`${o.value}-item-has-success`]:V.value==="success",[`${o.value}-item-has-warning`]:V.value==="warning",[`${o.value}-item-has-error`]:V.value==="error",[`${o.value}-item-is-validating`]:V.value==="validating",[`${o.value}-item-hidden`]:e.hidden})),B=ht({});Tn.useProvide(B),Ve(()=>{let k;if(e.hasFeedback){const Z=V.value&&w4e[V.value];k=Z?i("span",{class:re(`${o.value}-item-feedback-icon`,`${o.value}-item-feedback-icon-${V.value}`)},[i(Z,null,null)]):null}g(B,{status:V.value,hasFeedback:e.hasFeedback,feedbackIcon:k,isFormItemInput:!0})});const R=q(null),L=q(!1),U=()=>{if(d.value){const k=getComputedStyle(d.value);R.value=parseInt(k.marginBottom,10)}};We(()=>{de(L,()=>{L.value&&U()},{flush:"post",immediate:!0})});const Y=k=>{k||(R.value=null)};return()=>{var k,Z;if(e.noStyle)return(k=n.default)===null||k===void 0?void 0:k.call(n);const K=(Z=e.help)!==null&&Z!==void 0?Z:n.help?Mt(n.help()):null,te=!!(K!=null&&Array.isArray(K)&&K.length||D.value.length);return L.value=te,c(i("div",{class:[I.value,te?`${o.value}-item-with-help`:"",r.class],ref:d},[i(G3,H(H({},r),{},{class:`${o.value}-item-row`,key:"row"}),{default:()=>{var J,X;return i(et,null,[i(q3,H(H({},e),{},{htmlFor:W.value,required:x.value,requiredMark:s.requiredMark.value,prefixCls:o.value,onClick:_,label:e.label}),{label:n.label,tooltip:n.tooltip}),i(S4e,H(H({},e),{},{errors:K!=null?fa(K):D.value,marginBottom:R.value,prefixCls:o.value,status:V.value,ref:b,help:K,extra:(J=e.extra)!==null&&J!==void 0?J:(X=n.extra)===null||X===void 0?void 0:X.call(n),onErrorVisibleChanged:Y}),{default:n.default})])}}),!!R.value&&i("div",{class:`${o.value}-margin-offset`,style:{marginBottom:`-${R.value}px`}},null)]))}}});function NW(e){let t=!1,n=e.length;const r=[];return e.length?new Promise((a,l)=>{e.forEach((o,c)=>{o.catch(u=>(t=!0,u)).then(u=>{n-=1,r[c]=u,!(n>0)&&(t&&l(r),a(r))})})}):Promise.resolve([])}function hw(e){let t=!1;return e&&e.length&&e.every(n=>n.required?(t=!0,!1):!0),t}function bw(e){return e==null?[]:Array.isArray(e)?e:[e]}function Ns(e,t,n){let r=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");const a=t.split(".");let l=0;for(let o=a.length;l1&&arguments[1]!==void 0?arguments[1]:ne({}),n=arguments.length>2?arguments[2]:void 0;const r=Cc(Ht(e)),a=ht({}),l=q([]),o=O=>{g(Ht(e),g(g({},Cc(r)),O)),rt(()=>{Object.keys(a).forEach(w=>{a[w]={autoLink:!1,required:hw(Ht(t)[w])}})})},c=function(){let O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],w=arguments.length>1?arguments[1]:void 0;return w.length?O.filter($=>{const x=bw($.trigger||"change");return Pae(x,w).length}):O};let u=null;const d=function(O){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$=arguments.length>2?arguments[2]:void 0;const x=[],P={};for(let T=0;T({name:E,errors:[],warnings:[]})).catch(W=>{const _=[],N=[];return W.forEach(D=>{let{rule:{warningOnly:V},errors:I}=D;V?N.push(...I):_.push(...I)}),_.length?Promise.reject({name:E,errors:_,warnings:N}):{name:E,errors:_,warnings:N}}))}const M=NW(x);u=M;const j=M.then(()=>u===M?Promise.resolve(P):Promise.reject([])).catch(T=>{const E=T.filter(F=>F&&F.errors.length);return E.length?Promise.reject({values:P,errorFields:E,outOfDate:u!==M}):Promise.resolve(P)});return j.catch(T=>T),j},s=function(O,w,$){let x=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const P=IW([O],w,$,g({validateMessages:gu},x),!!x.validateFirst);return a[O]?(a[O].validateStatus="validating",P.catch(M=>M).then(function(){let M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];var j;if(a[O].validateStatus==="validating"){const T=M.filter(E=>E&&E.errors.length);a[O].validateStatus=T.length?"error":"success",a[O].help=T.length?T.map(E=>E.errors):null,(j=n==null?void 0:n.onValidate)===null||j===void 0||j.call(n,O,!T.length,T.length?xn(a[O].help[0]):null)}}),P):P.catch(M=>M)},f=(O,w)=>{let $=[],x=!0;O?Array.isArray(O)?$=O:$=[O]:(x=!1,$=l.value);const P=d($,w||{},x);return P.catch(M=>M),P},p=O=>{let w=[];O?Array.isArray(O)?w=O:w=[O]:w=l.value,w.forEach($=>{a[$]&&g(a[$],{validateStatus:"",help:null})})},v=O=>{const w={autoLink:!1},$=[],x=Array.isArray(O)?O:[O];for(let P=0;P{const w=[];l.value.forEach($=>{const x=Ns(O,$,!1),P=Ns(b,$,!1);(m&&(n==null?void 0:n.immediate)&&x.isValid||!I0(x.v,P.v))&&w.push($)}),f(w,{trigger:"change"}),m=!1,b=Cc(xn(O))},y=n==null?void 0:n.debounce;let S=!0;return de(t,()=>{l.value=t?Object.keys(Ht(t)):[],!S&&n&&n.validateOnRuleChange&&f(),S=!1},{deep:!0,immediate:!0}),de(l,()=>{const O={};l.value.forEach(w=>{O[w]=g({},a[w],{autoLink:!1,required:hw(Ht(t)[w])}),delete a[w]});for(const w in a)Object.prototype.hasOwnProperty.call(a,w)&&delete a[w];g(a,O)},{immediate:!0}),de(e,y&&y.wait?a3(h,y.wait,Fae(y,["wait"])):h,{immediate:n&&!!n.immediate,deep:!0}),{modelRef:e,rulesRef:t,initialModel:r,validateInfos:a,resetFields:o,validate:f,validateField:s,mergeValidateInfo:v,clearValidate:p}}const j4e=()=>({layout:G.oneOf(dn("horizontal","inline","vertical")),labelCol:Ee(),wrapperCol:Ee(),colon:$e(),labelAlign:Le(),labelWrap:$e(),prefixCls:String,requiredMark:Ye([String,Boolean]),hideRequiredMark:$e(),model:G.object,rules:Ee(),validateMessages:Ee(),validateOnRuleChange:$e(),scrollToFirstError:wt(),onSubmit:ce(),name:String,validateTrigger:Ye([String,Array]),size:Le(),disabled:$e(),onValuesChange:ce(),onFieldsChange:ce(),onFinish:ce(),onFinishFailed:ce(),onValidate:ce()});function T4e(e,t){return I0(fa(e),fa(t))}const ja=ee({compatConfig:{MODE:3},name:"AForm",inheritAttrs:!1,props:lt(j4e(),{layout:"horizontal",hideRequiredMark:!1,colon:!0}),Item:z4e,useForm:M4e,setup(e,t){let{emit:n,slots:r,expose:a,attrs:l}=t;const{prefixCls:o,direction:c,form:u,size:d,disabled:s}=je("form",e),f=z(()=>e.requiredMark===""||e.requiredMark),p=z(()=>{var D;return f.value!==void 0?f.value:u&&((D=u.value)===null||D===void 0?void 0:D.requiredMark)!==void 0?u.value.requiredMark:!e.hideRequiredMark});GN(d),uN(s);const v=z(()=>{var D,V;return(D=e.colon)!==null&&D!==void 0?D:(V=u.value)===null||V===void 0?void 0:V.colon}),{validateMessages:b}=_q(),m=z(()=>g(g(g({},gu),b.value),e.validateMessages)),[h,y]=k3(o),S=z(()=>re(o.value,{[`${o.value}-${e.layout}`]:!0,[`${o.value}-hide-required-mark`]:p.value===!1,[`${o.value}-rtl`]:c.value==="rtl",[`${o.value}-${d.value}`]:d.value},y.value)),O=ne(),w={},$=(D,V)=>{w[D]=V},x=D=>{delete w[D]},P=D=>{const V=!!D,I=V?fa(D).map(T2):[];return V?Object.values(w).filter(B=>I.findIndex(R=>T4e(R,B.fieldName.value))>-1):Object.values(w)},M=D=>{e.model&&P(D).forEach(V=>{V.resetField()})},j=D=>{P(D).forEach(V=>{V.clearValidate()})},T=D=>{const{scrollToFirstError:V}=e;if(n("finishFailed",D),V&&D.errorFields.length){let I={};typeof V=="object"&&(I=V),F(D.errorFields[0].name,I)}},E=function(){return _(...arguments)},F=function(D){let V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const I=P(D?[D]:void 0);if(I.length){const B=I[0].fieldId.value,R=B?document.getElementById(B):null;R&&mX(R,g({scrollMode:"if-needed",block:"nearest"},V))}},A=function(){let D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(D===!0){const V=[];return Object.values(w).forEach(I=>{let{namePath:B}=I;V.push(B.value)}),vw(e.model,V)}else return vw(e.model,D)},W=(D,V)=>{if(!e.model)return Promise.reject("Form `model` is required for validateFields to work.");const I=!!D,B=I?fa(D).map(T2):[],R=[];Object.values(w).forEach(Y=>{var k;if(I||B.push(Y.namePath.value),!(!((k=Y.rules)===null||k===void 0)&&k.value.length))return;const Z=Y.namePath.value;if(!I||Jse(B,Z)){const K=Y.validateRules(g({validateMessages:m.value},V));R.push(K.then(()=>({name:Z,errors:[],warnings:[]})).catch(te=>{const J=[],X=[];return te.forEach(Q=>{let{rule:{warningOnly:oe},errors:ue}=Q;oe?X.push(...ue):J.push(...ue)}),J.length?Promise.reject({name:Z,errors:J,warnings:X}):{name:Z,errors:J,warnings:X}}))}});const L=NW(R);O.value=L;const U=L.then(()=>O.value===L?Promise.resolve(A(B)):Promise.reject([])).catch(Y=>{const k=Y.filter(Z=>Z&&Z.errors.length);return Promise.reject({values:A(B),errorFields:k,outOfDate:O.value!==L})});return U.catch(Y=>Y),U},_=function(){return W(...arguments)},N=D=>{D.preventDefault(),D.stopPropagation(),n("submit",D),e.model&&W().then(I=>{n("finish",I)}).catch(I=>{T(I)})};return a({resetFields:M,clearValidate:j,validateFields:W,getFieldsValue:A,validate:E,scrollToField:F}),FW({model:z(()=>e.model),name:z(()=>e.name),labelAlign:z(()=>e.labelAlign),labelCol:z(()=>e.labelCol),labelWrap:z(()=>e.labelWrap),wrapperCol:z(()=>e.wrapperCol),vertical:z(()=>e.layout==="vertical"),colon:v,requiredMark:p,validateTrigger:z(()=>e.validateTrigger),rules:z(()=>e.rules),addField:$,removeField:x,onValidate:(D,V,I)=>{n("validate",D,V,I)},validateMessages:m}),de(()=>e.rules,()=>{e.validateOnRuleChange&&W()}),()=>{var D;return h(i("form",H(H({},l),{},{onSubmit:N,class:[S.value,l.class]}),[(D=r.default)===null||D===void 0?void 0:D.call(r)]))}}});ja.useInjectFormItemContext=en;ja.ItemRest=X4;ja.install=function(e){return e.component(ja.name,ja),e.component(ja.Item.name,ja.Item),e.component(X4.name,X4),e};const _4e=new Ze("antCheckboxEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}}),E4e=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:g(g({},tt(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:g(g({},tt(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:g(g({},tt(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:g({},Rr(e))},[`${t}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.checkboxSize/14*5,height:e.checkboxSize/14*8,border:`${e.lineWidthBold}px solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[t]:{"&-indeterminate":{[`${t}-inner`]:{"&:after":{top:"50%",insetInlineStart:"50%",width:e.fontSizeLG/2,height:e.fontSizeLG/2,backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${n}:hover ${t}:after`]:{visibility:"visible"},[` + ${n}:not(${n}-disabled), + ${t}:not(${t}-disabled) + `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}},"&:after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderRadius:e.borderRadiusSM,visibility:"hidden",border:`${e.lineWidthBold}px solid ${e.colorPrimary}`,animationName:_4e,animationDuration:e.motionDurationSlow,animationTimingFunction:"ease-in-out",animationFillMode:"backwards",content:'""',transition:`all ${e.motionDurationSlow}`}},[` + ${n}-checked:not(${n}-disabled), + ${t}-checked:not(${t}-disabled) + `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}:after`]:{borderColor:e.colorPrimaryHover}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function LW(e,t){const n=Ge(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[E4e(n)]}const VW=Je("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[LW(n,e)]}),H4e=()=>({name:String,prefixCls:String,options:st([]),disabled:Boolean,id:String}),A4e=()=>g(g({},H4e()),{defaultValue:st(),value:st(),onChange:ce(),"onUpdate:value":ce()}),I4e=()=>({prefixCls:String,defaultChecked:$e(),checked:$e(),disabled:$e(),isGroup:$e(),value:G.any,name:String,id:String,indeterminate:$e(),type:Le("checkbox"),autofocus:$e(),onChange:ce(),"onUpdate:checked":ce(),onClick:ce(),skipGroup:$e(!1)}),D4e=()=>g(g({},I4e()),{indeterminate:$e(!1)}),RW=Symbol("CheckboxGroupContext");var yw=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a(b==null?void 0:b.disabled.value)||s.value);Ve(()=>{!e.skipGroup&&b&&b.registerValue(m,e.value)}),Xe(()=>{b&&b.cancelValue(m)}),We(()=>{ir(!!(e.checked!==void 0||b||e.value===void 0))});const y=$=>{const x=$.target.checked;n("update:checked",x),n("change",$),o.onFieldChange()},S=ne();return l({focus:()=>{var $;($=S.value)===null||$===void 0||$.focus()},blur:()=>{var $;($=S.value)===null||$===void 0||$.blur()}}),()=>{var $;const x=bt(($=a.default)===null||$===void 0?void 0:$.call(a)),{indeterminate:P,skipGroup:M,id:j=o.id.value}=e,T=yw(e,["indeterminate","skipGroup","id"]),{onMouseenter:E,onMouseleave:F,onInput:A,class:W,style:_}=r,N=yw(r,["onMouseenter","onMouseleave","onInput","class","style"]),D=g(g(g(g({},T),{id:j,prefixCls:u.value}),N),{disabled:h.value});b&&!M?(D.onChange=function(){for(var R=arguments.length,L=new Array(R),U=0;U`${c.value}-group`),[s,f]=VW(d),p=ne((e.value===void 0?e.defaultValue:e.value)||[]);de(()=>e.value,()=>{p.value=e.value||[]});const v=z(()=>e.options.map(w=>typeof w=="string"||typeof w=="number"?{label:w,value:w}:w)),b=ne(Symbol()),m=ne(new Map),h=w=>{m.value.delete(w),b.value=Symbol()},y=(w,$)=>{m.value.set(w,$),b.value=Symbol()},S=ne(new Map);return de(b,()=>{const w=new Map;for(const $ of m.value.values())w.set($,!0);S.value=w}),qe(RW,{cancelValue:h,registerValue:y,toggleOption:w=>{const $=p.value.indexOf(w.value),x=[...p.value];$===-1?x.push(w.value):x.splice($,1),e.value===void 0&&(p.value=x);const P=x.filter(M=>S.value.has(M)).sort((M,j)=>{const T=v.value.findIndex(F=>F.value===M),E=v.value.findIndex(F=>F.value===j);return T-E});a("update:value",P),a("change",P),o.onFieldChange()},mergedValue:p,name:z(()=>e.name),disabled:z(()=>e.disabled)}),l({mergedValue:p}),()=>{var w;const{id:$=o.id.value}=e;let x=null;return v.value&&v.value.length>0&&(x=v.value.map(P=>{var M;return i(Nr,{prefixCls:c.value,key:P.value.toString(),disabled:"disabled"in P?P.disabled:e.disabled,indeterminate:P.indeterminate,value:P.value,checked:p.value.indexOf(P.value)!==-1,onChange:P.onChange,class:`${d.value}-item`},{default:()=>[n.label!==void 0?(M=n.label)===null||M===void 0?void 0:M.call(n,P):P.label]})})),s(i("div",H(H({},r),{},{class:[d.value,{[`${d.value}-rtl`]:u.value==="rtl"},r.class,f.value],id:$}),[x||((w=n.default)===null||w===void 0?void 0:w.call(n))]))}}});Nr.Group=E2;Nr.install=function(e){return e.component(Nr.name,Nr),e.component(E2.name,E2),e};const pLe=tn(bu);let Ec=g({},or.Modal);function F4e(e){e?Ec=g(g({},Ec),e):Ec=g({},or.Modal)}function B4e(){return Ec}const H2="internalMark",Hc=ee({compatConfig:{MODE:3},name:"ALocaleProvider",props:{locale:{type:Object},ANT_MARK__:String},setup(e,t){let{slots:n}=t;ir(e.ANT_MARK__===H2);const r=ht({antLocale:g(g({},e.locale),{exist:!0}),ANT_MARK__:H2});return qe("localeData",r),de(()=>e.locale,a=>{F4e(a&&a.Modal),r.antLocale=g(g({},a),{exist:!0})},{immediate:!0}),()=>{var a;return(a=n.default)===null||a===void 0?void 0:a.call(n)}}});Hc.install=function(e){return e.component(Hc.name,Hc),e};const N4e=tn(Hc),WW=ee({name:"Notice",inheritAttrs:!1,props:["prefixCls","duration","updateMark","noticeKey","closeIcon","closable","props","onClick","onClose","holder","visible"],setup(e,t){let{attrs:n,slots:r}=t,a,l=!1;const o=z(()=>e.duration===void 0?4.5:e.duration),c=()=>{o.value&&!l&&(a=setTimeout(()=>{d()},o.value*1e3))},u=()=>{a&&(clearTimeout(a),a=null)},d=f=>{f&&f.stopPropagation(),u();const{onClose:p,noticeKey:v}=e;p&&p(v)},s=()=>{u(),c()};return We(()=>{c()}),wr(()=>{l=!0,u()}),de([o,()=>e.updateMark,()=>e.visible],(f,p)=>{let[v,b,m]=f,[h,y,S]=p;(v!==h||b!==y||m!==S&&S)&&s()},{flush:"post"}),()=>{var f,p;const{prefixCls:v,closable:b,closeIcon:m=(f=r.closeIcon)===null||f===void 0?void 0:f.call(r),onClick:h,holder:y}=e,{class:S,style:O}=n,w=`${v}-notice`,$=Object.keys(n).reduce((P,M)=>((M.startsWith("data-")||M.startsWith("aria-")||M==="role")&&(P[M]=n[M]),P),{}),x=i("div",H({class:re(w,S,{[`${w}-closable`]:b}),style:O,onMouseenter:u,onMouseleave:c,onClick:h},$),[i("div",{class:`${w}-content`},[(p=r.default)===null||p===void 0?void 0:p.call(r)]),b?i("a",{tabindex:0,onClick:d,class:`${w}-close`},[m||i("span",{class:`${w}-close-x`},null)]):null]);return y?i(a0,{to:y},{default:()=>x}):x}}});var L4e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:s,animation:f="fade"}=e;let p=e.transitionName;return!p&&f&&(p=`${s}-${f}`),G1(p)}),u=(s,f)=>{const p=s.key||Sw(),v=g(g({},s),{key:p}),{maxCount:b}=e,m=o.value.map(y=>y.notice.key).indexOf(p),h=o.value.concat();m!==-1?h.splice(m,1,{notice:v,holderCallback:f}):(b&&o.value.length>=b&&(v.key=h[0].notice.key,v.updateMark=Sw(),v.userPassKey=p,h.shift()),h.push({notice:v,holderCallback:f})),o.value=h},d=s=>{o.value=xn(o.value).filter(f=>{let{notice:{key:p,userPassKey:v}}=f;return(v||p)!==s})};return r({add:u,remove:d,notices:o}),()=>{var s;const{prefixCls:f,closeIcon:p=(s=a.closeIcon)===null||s===void 0?void 0:s.call(a,{prefixCls:f})}=e,v=o.value.map((m,h)=>{let{notice:y,holderCallback:S}=m;const O=h===o.value.length-1?y.updateMark:void 0,{key:w,userPassKey:$}=y,{content:x}=y,P=g(g(g({prefixCls:f,closeIcon:typeof p=="function"?p({prefixCls:f}):p},y),y.props),{key:w,noticeKey:$||w,updateMark:O,onClose:M=>{var j;d(M),(j=y.onClose)===null||j===void 0||j.call(y)},onClick:y.onClick});return S?i("div",{key:w,class:`${f}-hook-holder`,ref:M=>{typeof w>"u"||(M?(l.set(w,M),S(M,P)):l.delete(w))}},null):i(WW,H(H({},P),{},{class:re(P.class,e.hashId)}),{default:()=>[typeof x=="function"?x({prefixCls:f}):x]})}),b={[f]:1,[n.class]:!!n.class,[e.hashId]:!0};return i("div",{class:b,style:n.style||{top:"65px",left:"50%"}},[i(C1,H({tag:"div"},c.value),{default:()=>[v]})])}}});b1.newInstance=function(t,n){const r=t||{},{name:a="notification",getContainer:l,appContext:o,prefixCls:c,rootPrefixCls:u,transitionName:d,hasTransitionName:s,useStyle:f}=r,p=L4e(r,["name","getContainer","appContext","prefixCls","rootPrefixCls","transitionName","hasTransitionName","useStyle"]),v=document.createElement("div");l?l().appendChild(v):document.body.appendChild(v);const b=ee({compatConfig:{MODE:3},name:"NotificationWrapper",setup(h,y){let{attrs:S}=y;const O=q(),w=z(()=>Nt.getPrefixCls(a,c)),[,$]=f(w);return We(()=>{n({notice(x){var P;(P=O.value)===null||P===void 0||P.add(x)},removeNotice(x){var P;(P=O.value)===null||P===void 0||P.remove(x)},destroy(){pa(null,v),v.parentNode&&v.parentNode.removeChild(v)},component:O})}),()=>{const x=Nt,P=x.getRootPrefixCls(u,w.value),M=s?d:`${w.value}-${d}`;return i(Il,H(H({},x),{},{prefixCls:P}),{default:()=>[i(b1,H(H({ref:O},S),{},{prefixCls:w.value,transitionName:M,hashId:$.value}),null)]})}}}),m=i(b,p);m.appContext=o||m.appContext,pa(m,v)};let $w=0;const R4e=Date.now();function ww(){const e=$w;return $w+=1,`rcNotification_${R4e}_${e}`}const W4e=ee({name:"HookNotification",inheritAttrs:!1,props:["prefixCls","transitionName","animation","maxCount","closeIcon","hashId","remove","notices","getStyles","getClassName","onAllRemoved","getContainer"],setup(e,t){let{attrs:n,slots:r}=t;const a=new Map,l=z(()=>e.notices),o=z(()=>{let s=e.transitionName;if(!s&&e.animation)switch(typeof e.animation){case"string":s=e.animation;break;case"function":s=e.animation().name;break;case"object":s=e.animation.name;break;default:s=`${e.prefixCls}-fade`;break}return G1(s)}),c=s=>e.remove(s),u=ne({});de(l,()=>{const s={};Object.keys(u.value).forEach(f=>{s[f]=[]}),e.notices.forEach(f=>{const{placement:p="topRight"}=f.notice;p&&(s[p]=s[p]||[],s[p].push(f))}),u.value=s});const d=z(()=>Object.keys(u.value));return()=>{var s;const{prefixCls:f,closeIcon:p=(s=r.closeIcon)===null||s===void 0?void 0:s.call(r,{prefixCls:f})}=e,v=d.value.map(b=>{var m,h;const y=u.value[b],S=(m=e.getClassName)===null||m===void 0?void 0:m.call(e,b),O=(h=e.getStyles)===null||h===void 0?void 0:h.call(e,b),w=y.map((P,M)=>{let{notice:j,holderCallback:T}=P;const E=M===l.value.length-1?j.updateMark:void 0,{key:F,userPassKey:A}=j,{content:W}=j,_=g(g(g({prefixCls:f,closeIcon:typeof p=="function"?p({prefixCls:f}):p},j),j.props),{key:F,noticeKey:A||F,updateMark:E,onClose:N=>{var D;c(N),(D=j.onClose)===null||D===void 0||D.call(j)},onClick:j.onClick});return T?i("div",{key:F,class:`${f}-hook-holder`,ref:N=>{typeof F>"u"||(N?(a.set(F,N),T(N,_)):a.delete(F))}},null):i(WW,H(H({},_),{},{class:re(_.class,e.hashId)}),{default:()=>[typeof W=="function"?W({prefixCls:f}):W]})}),$={[f]:1,[`${f}-${b}`]:1,[n.class]:!!n.class,[e.hashId]:!0,[S]:!!S};function x(){var P;y.length>0||(Reflect.deleteProperty(u.value,b),(P=e.onAllRemoved)===null||P===void 0||P.call(e))}return i("div",{key:b,class:$,style:n.style||O||{top:"65px",left:"50%"}},[i(C1,H(H({tag:"div"},o.value),{},{onAfterLeave:x}),{default:()=>[w]})])});return i(CL,{getContainer:e.getContainer},{default:()=>[v]})}}});var G4e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);adocument.body;let Pw=0;function q4e(){const e={};for(var t=arguments.length,n=new Array(t),r=0;r{a&&Object.keys(a).forEach(l=>{const o=a[l];o!==void 0&&(e[l]=o)})}),e}function GW(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{getContainer:t=U4e,motion:n,prefixCls:r,maxCount:a,getClassName:l,getStyles:o,onAllRemoved:c}=e,u=G4e(e,["getContainer","motion","prefixCls","maxCount","getClassName","getStyles","onAllRemoved"]),d=q([]),s=q(),f=(y,S)=>{const O=y.key||ww(),w=g(g({},y),{key:O}),$=d.value.map(P=>P.notice.key).indexOf(O),x=d.value.concat();$!==-1?x.splice($,1,{notice:w,holderCallback:S}):(a&&d.value.length>=a&&(w.key=x[0].notice.key,w.updateMark=ww(),w.userPassKey=O,x.shift()),x.push({notice:w,holderCallback:S})),d.value=x},p=y=>{d.value=d.value.filter(S=>{let{notice:{key:O,userPassKey:w}}=S;return(w||O)!==y})},v=()=>{d.value=[]},b=()=>i(W4e,{ref:s,prefixCls:r,maxCount:a,notices:d.value,remove:p,getClassName:l,getStyles:o,animation:n,hashId:e.hashId,onAllRemoved:c,getContainer:t},null),m=q([]),h={open:y=>{const S=q4e(u,y);(S.key===null||S.key===void 0)&&(S.key=`vc-notification-${Pw}`,Pw+=1),m.value=[...m.value,{type:"open",config:S}]},close:y=>{m.value=[...m.value,{type:"close",key:y}]},destroy:()=>{m.value=[...m.value,{type:"destroy"}]}};return de(m,()=>{m.value.length&&(m.value.forEach(y=>{switch(y.type){case"open":f(y.config);break;case"close":p(y.key);break;case"destroy":v();break}}),m.value=[])}),[h,b]}const k4e=e=>{const{componentCls:t,iconCls:n,boxShadowSecondary:r,colorBgElevated:a,colorSuccess:l,colorError:o,colorWarning:c,colorInfo:u,fontSizeLG:d,motionEaseInOutCirc:s,motionDurationSlow:f,marginXS:p,paddingXS:v,borderRadiusLG:b,zIndexPopup:m,messageNoticeContentPadding:h}=e,y=new Ze("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:v,transform:"translateY(0)",opacity:1}}),S=new Ze("MessageMoveOut",{"0%":{maxHeight:e.height,padding:v,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}});return[{[t]:g(g({},tt(e)),{position:"fixed",top:p,left:"50%",transform:"translateX(-50%)",width:"100%",pointerEvents:"none",zIndex:m,[`${t}-move-up`]:{animationFillMode:"forwards"},[` + ${t}-move-up-appear, + ${t}-move-up-enter + `]:{animationName:y,animationDuration:f,animationPlayState:"paused",animationTimingFunction:s},[` + ${t}-move-up-appear${t}-move-up-appear-active, + ${t}-move-up-enter${t}-move-up-enter-active + `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:S,animationDuration:f,animationPlayState:"paused",animationTimingFunction:s},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[`${t}-notice`]:{padding:v,textAlign:"center",[n]:{verticalAlign:"text-bottom",marginInlineEnd:p,fontSize:d},[`${t}-notice-content`]:{display:"inline-block",padding:h,background:a,borderRadius:b,boxShadow:r,pointerEvents:"all"},[`${t}-success ${n}`]:{color:l},[`${t}-error ${n}`]:{color:o},[`${t}-warning ${n}`]:{color:c},[` + ${t}-info ${n}, + ${t}-loading ${n}`]:{color:u}}},{[`${t}-notice-pure-panel`]:{padding:0,textAlign:"start"}}]},UW=Je("Message",e=>{const t=Ge(e,{messageNoticeContentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`});return[k4e(t)]},e=>({height:150,zIndexPopup:e.zIndexPopupBase+10})),X4e={info:i(Qr,null,null),success:i(Un,null,null),error:i(Gt,null,null),warning:i(qn,null,null),loading:i(pn,null,null)},Y4e=ee({name:"PureContent",inheritAttrs:!1,props:["prefixCls","type","icon"],setup(e,t){let{slots:n}=t;return()=>{var r;return i("div",{class:re(`${e.prefixCls}-custom-content`,`${e.prefixCls}-${e.type}`)},[e.icon||X4e[e.type],i("span",null,[(r=n.default)===null||r===void 0?void 0:r.call(n)])])}}});var Q4e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);al("message",e.prefixCls)),[,u]=UW(c),d=()=>{var m;const h=(m=e.top)!==null&&m!==void 0?m:Z4e;return{left:"50%",transform:"translateX(-50%)",top:typeof h=="number"?`${h}px`:h}},s=()=>re(u.value,e.rtl?`${c.value}-rtl`:""),f=()=>{var m;return P0({prefixCls:c.value,animation:(m=e.animation)!==null&&m!==void 0?m:"move-up",transitionName:e.transitionName})},p=i("span",{class:`${c.value}-close-x`},[i(vn,{class:`${c.value}-close-icon`},null)]),[v,b]=GW({getStyles:d,prefixCls:c.value,getClassName:s,motion:f,closable:!1,closeIcon:p,duration:(r=e.duration)!==null&&r!==void 0?r:J4e,getContainer:(a=e.staticGetContainer)!==null&&a!==void 0?a:o.value,maxCount:e.maxCount,onAllRemoved:e.onAllRemoved});return n(g(g({},v),{prefixCls:c,hashId:u})),b}});let Cw=0;function e2e(e){const t=q(null),n=Symbol("messageHolderKey"),r=u=>{var d;(d=t.value)===null||d===void 0||d.close(u)},a=u=>{if(!t.value){const $=()=>{};return $.then=()=>{},$}const{open:d,prefixCls:s,hashId:f}=t.value,p=`${s}-notice`,{content:v,icon:b,type:m,key:h,class:y,onClose:S}=u,O=Q4e(u,["content","icon","type","key","class","onClose"]);let w=h;return w==null&&(Cw+=1,w=`antd-message-${Cw}`),oq($=>(d(g(g({},O),{key:w,content:()=>i(Y4e,{prefixCls:s,type:m,icon:typeof b=="function"?b():b},{default:()=>[typeof v=="function"?v():v]}),placement:"top",class:re(m&&`${p}-${m}`,f,y),onClose:()=>{S==null||S(),$()}})),()=>{r(w)}))},o={open:a,destroy:u=>{var d;u!==void 0?r(u):(d=t.value)===null||d===void 0||d.destroy()}};return["info","success","warning","error","loading"].forEach(u=>{const d=(s,f,p)=>{let v;s&&typeof s=="object"&&"content"in s?v=s:v={content:s};let b,m;typeof f=="function"?m=f:(b=f,m=p);const h=g(g({onClose:m,duration:b},v),{type:u});return a(h)};o[u]=d}),[o,()=>i(K4e,H(H({key:n},e),{},{ref:t}),null)]}function qW(e){return e2e(e)}let kW=3,XW,Jt,t2e=1,YW="",QW="move-up",ZW=!1,JW=()=>document.body,KW,eG=!1;function n2e(){return t2e++}function r2e(e){e.top!==void 0&&(XW=e.top,Jt=null),e.duration!==void 0&&(kW=e.duration),e.prefixCls!==void 0&&(YW=e.prefixCls),e.getContainer!==void 0&&(JW=e.getContainer,Jt=null),e.transitionName!==void 0&&(QW=e.transitionName,Jt=null,ZW=!0),e.maxCount!==void 0&&(KW=e.maxCount,Jt=null),e.rtl!==void 0&&(eG=e.rtl)}function a2e(e,t){if(Jt){t(Jt);return}b1.newInstance({appContext:e.appContext,prefixCls:e.prefixCls||YW,rootPrefixCls:e.rootPrefixCls,transitionName:QW,hasTransitionName:ZW,style:{top:XW},getContainer:JW||e.getPopupContainer,maxCount:KW,name:"message",useStyle:UW},n=>{if(Jt){t(Jt);return}Jt=n,t(n)})}const tG={info:Qr,success:Un,error:Gt,warning:qn,loading:pn},l2e=Object.keys(tG);function o2e(e){const t=e.duration!==void 0?e.duration:kW,n=e.key||n2e(),r=new Promise(l=>{const o=()=>(typeof e.onClose=="function"&&e.onClose(),l(!0));a2e(e,c=>{c.notice({key:n,duration:t,style:e.style||{},class:e.class,content:u=>{let{prefixCls:d}=u;const s=tG[e.type],f=s?i(s,null,null):"",p=re(`${d}-custom-content`,{[`${d}-${e.type}`]:e.type,[`${d}-rtl`]:eG===!0});return i("div",{class:p},[typeof e.icon=="function"?e.icon():e.icon||f,i("span",null,[typeof e.content=="function"?e.content():e.content])])},onClose:o,onClick:e.onClick})})}),a=()=>{Jt&&Jt.removeNotice(n)};return a.then=(l,o)=>r.then(l,o),a.promise=r,a}function i2e(e){return Object.prototype.toString.call(e)==="[object Object]"&&!!e.content}const ti={open:o2e,config:r2e,destroy(e){if(Jt)if(e){const{removeNotice:t}=Jt;t(e)}else{const{destroy:t}=Jt;t(),Jt=null}}};function c2e(e,t){e[t]=(n,r,a)=>i2e(n)?e.open(g(g({},n),{type:t})):(typeof r=="function"&&(a=r,r=void 0),e.open({content:n,duration:r,type:t,onClose:a}))}l2e.forEach(e=>c2e(ti,e));ti.warn=ti.warning;ti.useMessage=qW;const u2e=e=>{const{componentCls:t,width:n,notificationMarginEdge:r}=e,a=new Ze("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),l=new Ze("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),o=new Ze("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:n},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${t}-top, &${t}-bottom`]:{marginInline:0},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:a}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:l}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:r,[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:o}}}},s2e=e=>{const{iconCls:t,componentCls:n,boxShadowSecondary:r,fontSizeLG:a,notificationMarginBottom:l,borderRadiusLG:o,colorSuccess:c,colorInfo:u,colorWarning:d,colorError:s,colorTextHeading:f,notificationBg:p,notificationPadding:v,notificationMarginEdge:b,motionDurationMid:m,motionEaseInOut:h,fontSize:y,lineHeight:S,width:O,notificationIconSize:w}=e,$=`${n}-notice`,x=new Ze("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:O},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),P=new Ze("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:l,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[n]:g(g(g(g({},tt(e)),{position:"fixed",zIndex:e.zIndexPopup,marginInlineEnd:b,[`${n}-hook-holder`]:{position:"relative"},[`&${n}-top, &${n}-bottom`]:{[`${n}-notice`]:{marginInline:"auto auto"}},[`&${n}-topLeft, &${n}-bottomLeft`]:{[`${n}-notice`]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${n}-fade-enter, ${n}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:h,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${n}-fade-leave`]:{animationTimingFunction:h,animationFillMode:"both",animationDuration:m,animationPlayState:"paused"},[`${n}-fade-enter${n}-fade-enter-active, ${n}-fade-appear${n}-fade-appear-active`]:{animationName:x,animationPlayState:"running"},[`${n}-fade-leave${n}-fade-leave-active`]:{animationName:P,animationPlayState:"running"}}),u2e(e)),{"&-rtl":{direction:"rtl",[`${n}-notice-btn`]:{float:"left"}}})},{[$]:{position:"relative",width:O,maxWidth:`calc(100vw - ${b*2}px)`,marginBottom:l,marginInlineStart:"auto",padding:v,overflow:"hidden",lineHeight:S,wordWrap:"break-word",background:p,borderRadius:o,boxShadow:r,[`${n}-close-icon`]:{fontSize:y,cursor:"pointer"},[`${$}-message`]:{marginBottom:e.marginXS,color:f,fontSize:a,lineHeight:e.lineHeightLG},[`${$}-description`]:{fontSize:y},[`&${$}-closable ${$}-message`]:{paddingInlineEnd:e.paddingLG},[`${$}-with-icon ${$}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.marginSM+w,fontSize:a},[`${$}-with-icon ${$}-description`]:{marginInlineStart:e.marginSM+w,fontSize:y},[`${$}-icon`]:{position:"absolute",fontSize:w,lineHeight:0,[`&-success${t}`]:{color:c},[`&-info${t}`]:{color:u},[`&-warning${t}`]:{color:d},[`&-error${t}`]:{color:s}},[`${$}-close`]:{position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent}},[`${$}-btn`]:{float:"right",marginTop:e.marginSM}}},{[`${$}-pure-panel`]:{margin:0}}]},nG=Je("Notification",e=>{const t=e.paddingMD,n=e.paddingLG,r=Ge(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`,notificationMarginBottom:e.margin,notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationIconSize:e.fontSizeLG*e.lineHeightLG,notificationCloseButtonSize:e.controlHeightLG*.55});return[s2e(r)]},e=>({zIndexPopup:e.zIndexPopupBase+50,width:384}));function d2e(e,t){return i("span",{class:`${e}-close-x`},[i(vn,{class:`${e}-close-icon`},null)])}i(Qr,null,null),i(Un,null,null),i(Gt,null,null),i(qn,null,null),i(pn,null,null);const f2e={success:Un,info:Qr,error:Gt,warning:qn};function p2e(e){let{prefixCls:t,icon:n,type:r,message:a,description:l,btn:o}=e,c=null;if(n)c=i("span",{class:`${t}-icon`},[bl(n)]);else if(r){const u=f2e[r];c=i(u,{class:`${t}-icon ${t}-icon-${r}`},null)}return i("div",{class:re({[`${t}-with-icon`]:c}),role:"alert"},[c,i("div",{class:`${t}-message`},[a]),i("div",{class:`${t}-description`},[l]),o&&i("div",{class:`${t}-btn`},[o])])}function rG(e,t,n){let r;switch(t=typeof t=="number"?`${t}px`:t,n=typeof n=="number"?`${n}px`:n,e){case"top":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":r={left:0,top:t,bottom:"auto"};break;case"topRight":r={right:0,top:t,bottom:"auto"};break;case"bottom":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":r={left:0,top:"auto",bottom:n};break;default:r={right:0,top:"auto",bottom:n};break}return r}function v2e(e){return{name:`${e}-fade`}}var m2e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ae.prefixCls||r("notification")),o=p=>{var v,b;return rG(p,(v=e.top)!==null&&v!==void 0?v:xw,(b=e.bottom)!==null&&b!==void 0?b:xw)},[,c]=nG(l),u=()=>re(c.value,{[`${l.value}-rtl`]:e.rtl}),d=()=>v2e(l.value),[s,f]=GW({prefixCls:l.value,getStyles:o,getClassName:u,motion:d,closable:!0,closeIcon:d2e(l.value),duration:g2e,getContainer:()=>{var p,v;return((p=e.getPopupContainer)===null||p===void 0?void 0:p.call(e))||((v=a.value)===null||v===void 0?void 0:v.call(a))||document.body},maxCount:e.maxCount,hashId:c.value,onAllRemoved:e.onAllRemoved});return n(g(g({},s),{prefixCls:l.value,hashId:c})),f}});function b2e(e){const t=q(null),n=Symbol("notificationHolderKey"),r=c=>{if(!t.value)return;const{open:u,prefixCls:d,hashId:s}=t.value,f=`${d}-notice`,{message:p,description:v,icon:b,type:m,btn:h,class:y}=c,S=m2e(c,["message","description","icon","type","btn","class"]);return u(g(g({placement:"topRight"},S),{content:()=>i(p2e,{prefixCls:f,icon:typeof b=="function"?b():b,type:m,message:typeof p=="function"?p():p,description:typeof v=="function"?v():v,btn:typeof h=="function"?h():h},null),class:re(m&&`${f}-${m}`,s,y)}))},l={open:r,destroy:c=>{var u,d;c!==void 0?(u=t.value)===null||u===void 0||u.close(c):(d=t.value)===null||d===void 0||d.destroy()}};return["success","info","warning","error"].forEach(c=>{l[c]=u=>r(g(g({},u),{type:c}))}),[l,()=>i(h2e,H(H({key:n},e),{},{ref:t}),null)]}function aG(e){return b2e(e)}const Ta={};let lG=4.5,oG="24px",iG="24px",A2="",cG="topRight",uG=()=>document.body,sG=null,I2=!1,dG;function y2e(e){const{duration:t,placement:n,bottom:r,top:a,getContainer:l,closeIcon:o,prefixCls:c}=e;c!==void 0&&(A2=c),t!==void 0&&(lG=t),n!==void 0&&(cG=n),r!==void 0&&(iG=typeof r=="number"?`${r}px`:r),a!==void 0&&(oG=typeof a=="number"?`${a}px`:a),l!==void 0&&(uG=l),o!==void 0&&(sG=o),e.rtl!==void 0&&(I2=e.rtl),e.maxCount!==void 0&&(dG=e.maxCount)}function O2e(e,t){let{prefixCls:n,placement:r=cG,getContainer:a=uG,top:l,bottom:o,closeIcon:c=sG,appContext:u}=e;const{getPrefixCls:d}=E2e(),s=d("notification",n||A2),f=`${s}-${r}-${I2}`,p=Ta[f];if(p){Promise.resolve(p).then(b=>{t(b)});return}const v=re(`${s}-${r}`,{[`${s}-rtl`]:I2===!0});b1.newInstance({name:"notification",prefixCls:n||A2,useStyle:nG,class:v,style:rG(r,l??oG,o??iG),appContext:u,getContainer:a,closeIcon:b=>{let{prefixCls:m}=b;return i("span",{class:`${m}-close-x`},[bl(c,{},i(vn,{class:`${m}-close-icon`},null))])},maxCount:dG,hasTransitionName:!0},b=>{Ta[f]=b,t(b)})}const S2e={success:mi,info:hi,error:bi,warning:gi};function $2e(e){const{icon:t,type:n,description:r,message:a,btn:l}=e,o=e.duration===void 0?lG:e.duration;O2e(e,c=>{c.notice({content:u=>{let{prefixCls:d}=u;const s=`${d}-notice`;let f=null;if(t)f=()=>i("span",{class:`${s}-icon`},[bl(t)]);else if(n){const p=S2e[n];f=()=>i(p,{class:`${s}-icon ${s}-icon-${n}`},null)}return i("div",{class:f?`${s}-with-icon`:""},[f&&f(),i("div",{class:`${s}-message`},[!r&&f?i("span",{class:`${s}-message-single-line-auto-margin`},null):null,bl(a)]),i("div",{class:`${s}-description`},[bl(r)]),l?i("span",{class:`${s}-btn`},[bl(l)]):null])},duration:o,closable:!0,onClose:e.onClose,onClick:e.onClick,key:e.key,style:e.style||{},class:e.class})})}const eo={open:$2e,close(e){Object.keys(Ta).forEach(t=>Promise.resolve(Ta[t]).then(n=>{n.removeNotice(e)}))},config:y2e,destroy(){Object.keys(Ta).forEach(e=>{Promise.resolve(Ta[e]).then(t=>{t.destroy()}),delete Ta[e]})}},w2e=["success","info","warning","error"];w2e.forEach(e=>{eo[e]=t=>eo.open(g(g({},t),{type:e}))});eo.warn=eo.warning;eo.useNotification=aG;const P2e=`-ant-${Date.now()}-${Math.random()}`;function C2e(e,t){const n={},r=(o,c)=>{let u=o.clone();return u=(c==null?void 0:c(u))||u,u.toRgbString()},a=(o,c)=>{const u=new vt(o),d=Vr(u.toRgbString());n[`${c}-color`]=r(u),n[`${c}-color-disabled`]=d[1],n[`${c}-color-hover`]=d[4],n[`${c}-color-active`]=d[6],n[`${c}-color-outline`]=u.clone().setAlpha(.2).toRgbString(),n[`${c}-color-deprecated-bg`]=d[0],n[`${c}-color-deprecated-border`]=d[2]};if(t.primaryColor){a(t.primaryColor,"primary");const o=new vt(t.primaryColor),c=Vr(o.toRgbString());c.forEach((d,s)=>{n[`primary-${s+1}`]=d}),n["primary-color-deprecated-l-35"]=r(o,d=>d.lighten(35)),n["primary-color-deprecated-l-20"]=r(o,d=>d.lighten(20)),n["primary-color-deprecated-t-20"]=r(o,d=>d.tint(20)),n["primary-color-deprecated-t-50"]=r(o,d=>d.tint(50)),n["primary-color-deprecated-f-12"]=r(o,d=>d.setAlpha(d.getAlpha()*.12));const u=new vt(c[0]);n["primary-color-active-deprecated-f-30"]=r(u,d=>d.setAlpha(d.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=r(u,d=>d.darken(2))}return t.successColor&&a(t.successColor,"success"),t.warningColor&&a(t.warningColor,"warning"),t.errorColor&&a(t.errorColor,"error"),t.infoColor&&a(t.infoColor,"info"),` + :root { + ${Object.keys(n).map(o=>`--${e}-${o}: ${n[o]};`).join(` +`)} + } + `.trim()}function x2e(e,t){const n=C2e(e,t);fn()&&Go(n,`${P2e}-dynamic-theme`)}const z2e=e=>{const[t,n]=kr();return z4(z(()=>({theme:t.value,token:n.value,hashId:"",path:["ant-design-icons",e.value]})),()=>[{[`.${e.value}`]:g(g({},oi()),{[`.${e.value} .${e.value}-icon`]:{display:"block"}})}])};function M2e(e,t){const n=z(()=>(e==null?void 0:e.value)||{}),r=z(()=>n.value.inherit===!1||!(t!=null&&t.value)?Zc:t.value);return z(()=>{if(!(e!=null&&e.value))return t==null?void 0:t.value;const l=g({},r.value.components);return Object.keys(e.value.components||{}).forEach(o=>{l[o]=g(g({},l[o]),e.value.components[o])}),g(g(g({},r.value),n.value),{token:g(g({},r.value.token),n.value.token),components:l})})}var j2e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{g(Nt,X3),Nt.prefixCls=Al(),Nt.iconPrefixCls=fG(),Nt.getPrefixCls=(e,t)=>t||(e?`${Nt.prefixCls}-${e}`:Nt.prefixCls),Nt.getRootPrefixCls=()=>Nt.prefixCls?Nt.prefixCls:Al()});let Ls;const _2e=e=>{Ls&&Ls(),Ls=Ve(()=>{g(X3,ht(e)),g(Nt,ht(e))}),e.theme&&x2e(Al(),e.theme)},E2e=()=>({getPrefixCls:(e,t)=>t||(e?`${Al()}-${e}`:Al()),getIconPrefixCls:fG,getRootPrefixCls:()=>Nt.prefixCls?Nt.prefixCls:Al()}),Il=ee({compatConfig:{MODE:3},name:"AConfigProvider",inheritAttrs:!1,props:Eq(),setup(e,t){let{slots:n}=t;const r=s0(),a=(_,N)=>{const{prefixCls:D="ant"}=e;if(N)return N;const V=D||r.getPrefixCls("");return _?`${V}-${_}`:V},l=z(()=>e.iconPrefixCls||r.iconPrefixCls.value||c0),o=z(()=>l.value!==r.iconPrefixCls.value),c=z(()=>{var _;return e.csp||((_=r.csp)===null||_===void 0?void 0:_.value)}),u=z2e(l),d=M2e(z(()=>e.theme),z(()=>{var _;return(_=r.theme)===null||_===void 0?void 0:_.value})),s=_=>(e.renderEmpty||n.renderEmpty||r.renderEmpty||fX)(_),f=z(()=>{var _,N;return(_=e.autoInsertSpaceInButton)!==null&&_!==void 0?_:(N=r.autoInsertSpaceInButton)===null||N===void 0?void 0:N.value}),p=z(()=>{var _;return e.locale||((_=r.locale)===null||_===void 0?void 0:_.value)});de(p,()=>{X3.locale=p.value},{immediate:!0});const v=z(()=>{var _;return e.direction||((_=r.direction)===null||_===void 0?void 0:_.value)}),b=z(()=>{var _,N;return(_=e.space)!==null&&_!==void 0?_:(N=r.space)===null||N===void 0?void 0:N.value}),m=z(()=>{var _,N;return(_=e.virtual)!==null&&_!==void 0?_:(N=r.virtual)===null||N===void 0?void 0:N.value}),h=z(()=>{var _,N;return(_=e.dropdownMatchSelectWidth)!==null&&_!==void 0?_:(N=r.dropdownMatchSelectWidth)===null||N===void 0?void 0:N.value}),y=z(()=>{var _;return e.getTargetContainer!==void 0?e.getTargetContainer:(_=r.getTargetContainer)===null||_===void 0?void 0:_.value}),S=z(()=>{var _;return e.getPopupContainer!==void 0?e.getPopupContainer:(_=r.getPopupContainer)===null||_===void 0?void 0:_.value}),O=z(()=>{var _;return e.pageHeader!==void 0?e.pageHeader:(_=r.pageHeader)===null||_===void 0?void 0:_.value}),w=z(()=>{var _;return e.input!==void 0?e.input:(_=r.input)===null||_===void 0?void 0:_.value}),$=z(()=>{var _;return e.pagination!==void 0?e.pagination:(_=r.pagination)===null||_===void 0?void 0:_.value}),x=z(()=>{var _;return e.form!==void 0?e.form:(_=r.form)===null||_===void 0?void 0:_.value}),P=z(()=>{var _;return e.select!==void 0?e.select:(_=r.select)===null||_===void 0?void 0:_.value}),M=z(()=>e.componentSize),j=z(()=>e.componentDisabled),T=z(()=>{var _,N;return(_=e.wave)!==null&&_!==void 0?_:(N=r.wave)===null||N===void 0?void 0:N.value}),E={csp:c,autoInsertSpaceInButton:f,locale:p,direction:v,space:b,virtual:m,dropdownMatchSelectWidth:h,getPrefixCls:a,iconPrefixCls:l,theme:z(()=>{var _,N;return(_=d.value)!==null&&_!==void 0?_:(N=r.theme)===null||N===void 0?void 0:N.value}),renderEmpty:s,getTargetContainer:y,getPopupContainer:S,pageHeader:O,input:w,pagination:$,form:x,select:P,componentSize:M,componentDisabled:j,transformCellText:z(()=>e.transformCellText),wave:T},F=z(()=>{const _=d.value||{},{algorithm:N,token:D}=_,V=j2e(_,["algorithm","token"]),I=N&&(!Array.isArray(N)||N.length>0)?$N(N):void 0;return g(g({},V),{theme:I,token:g(g({},E1),D)})}),A=z(()=>{var _,N;let D={};return p.value&&(D=((_=p.value.Form)===null||_===void 0?void 0:_.defaultValidateMessages)||((N=or.Form)===null||N===void 0?void 0:N.defaultValidateMessages)||{}),e.form&&e.form.validateMessages&&(D=g(g({},D),e.form.validateMessages)),D});Hq(E),Tq({validateMessages:A}),GN(M),uN(j);const W=_=>{var N,D;let V=o.value?u((N=n.default)===null||N===void 0?void 0:N.call(n)):(D=n.default)===null||D===void 0?void 0:D.call(n);if(e.theme){const I=function(){return V}();V=i(iX,{value:F.value},{default:()=>[I]})}return i(N4e,{locale:p.value||_,ANT_MARK__:H2},{default:()=>[V]})};return Ve(()=>{v.value&&(ti.config({rtl:v.value==="rtl"}),eo.config({rtl:v.value==="rtl"}))}),()=>i(d0,{children:(_,N,D)=>W(D)},null)}});Il.config=_2e;Il.install=function(e){e.component(Il.name,Il)};const H2e=(e,t)=>{let{attrs:n,slots:r}=t;return i(Rt,H(H({size:"small",type:"primary"},e),n),r)},sc=(e,t,n)=>{const r=rq(n);return{[`${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},A2e=e=>BN(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:l,darkColor:o}=n;return{[`${e.componentCls}-${t}`]:{color:r,background:l,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}}),I2e=e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a}=e,l=r-n,o=t-n;return{[a]:g(g({},tt(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:`${e.tagLineHeight}px`,whiteSpace:"nowrap",background:e.tagDefaultBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.tagDefaultColor},[`${a}-close-icon`]:{marginInlineStart:o,color:e.colorTextDescription,fontSize:e.tagIconSize,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},pG=Je("Tag",e=>{const{fontSize:t,lineHeight:n,lineWidth:r,fontSizeIcon:a}=e,l=Math.round(t*n),o=e.fontSizeSM,c=l-r*2,u=e.colorFillAlter,d=e.colorText,s=Ge(e,{tagFontSize:o,tagLineHeight:c,tagDefaultBg:u,tagDefaultColor:d,tagIconSize:a-2*r,tagPaddingHorizontal:8,tagBorderlessBg:e.colorFillTertiary});return[I2e(s),A2e(s),sc(s,"success","Success"),sc(s,"processing","Info"),sc(s,"error","Error"),sc(s,"warning","Warning")]}),D2e=()=>({prefixCls:String,checked:{type:Boolean,default:void 0},onChange:{type:Function},onClick:{type:Function},"onUpdate:checked":Function}),D2=ee({compatConfig:{MODE:3},name:"ACheckableTag",inheritAttrs:!1,props:D2e(),setup(e,t){let{slots:n,emit:r,attrs:a}=t;const{prefixCls:l}=je("tag",e),[o,c]=pG(l),u=s=>{const{checked:f}=e;r("update:checked",!f),r("change",!f),r("click",s)},d=z(()=>re(l.value,c.value,{[`${l.value}-checkable`]:!0,[`${l.value}-checkable-checked`]:e.checked}));return()=>{var s;return o(i("span",H(H({},a),{},{class:[d.value,a.class],onClick:u}),[(s=n.default)===null||s===void 0?void 0:s.call(n)]))}}}),F2e=()=>({prefixCls:String,color:{type:String},closable:{type:Boolean,default:!1},closeIcon:G.any,visible:{type:Boolean,default:void 0},onClose:{type:Function},onClick:La(),"onUpdate:visible":Function,icon:G.any,bordered:{type:Boolean,default:!0}}),Bo=ee({compatConfig:{MODE:3},name:"ATag",inheritAttrs:!1,props:F2e(),slots:Object,setup(e,t){let{slots:n,emit:r,attrs:a}=t;const{prefixCls:l,direction:o}=je("tag",e),[c,u]=pG(l),d=q(!0);Ve(()=>{e.visible!==void 0&&(d.value=e.visible)});const s=b=>{b.stopPropagation(),r("update:visible",!1),r("close",b),!b.defaultPrevented&&e.visible===void 0&&(d.value=!1)},f=z(()=>YV(e.color)||woe(e.color)),p=z(()=>re(l.value,u.value,{[`${l.value}-${e.color}`]:f.value,[`${l.value}-has-color`]:e.color&&!f.value,[`${l.value}-hidden`]:!d.value,[`${l.value}-rtl`]:o.value==="rtl",[`${l.value}-borderless`]:!e.bordered})),v=b=>{r("click",b)};return()=>{var b,m,h;const{icon:y=(b=n.icon)===null||b===void 0?void 0:b.call(n),color:S,closeIcon:O=(m=n.closeIcon)===null||m===void 0?void 0:m.call(n),closable:w=!1}=e,$=()=>w?O?i("span",{class:`${l.value}-close-icon`,onClick:s},[O]):i(vn,{class:`${l.value}-close-icon`,onClick:s},null):null,x={backgroundColor:S&&!f.value?S:void 0},P=y||null,M=(h=n.default)===null||h===void 0?void 0:h.call(n),j=P?i(et,null,[P,i("span",null,[M])]):M,T=e.onClick!==void 0,E=i("span",H(H({},a),{},{onClick:v,class:[p.value,a.class],style:[x,a.style]}),[j,$()]);return c(T?i(s3,null,{default:()=>[E]}):E)}}});Bo.CheckableTag=D2;Bo.install=function(e){return e.component(Bo.name,Bo),e.component(D2.name,D2),e};function B2e(e,t){let{slots:n,attrs:r}=t;return i(Bo,H(H({color:"blue"},e),r),n)}var N2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};function zw(e){for(var t=1;tE.value||M.value),[W,_]=sW($),N=ne();m({focus:()=>{var te;(te=N.value)===null||te===void 0||te.focus()},blur:()=>{var te;(te=N.value)===null||te===void 0||te.blur()}});const D=te=>S.valueFormat?e.toString(te,S.valueFormat):te,V=(te,J)=>{const X=D(te);y("update:value",X),y("change",X,J),O.onFieldChange()},I=te=>{y("update:open",te),y("openChange",te)},B=te=>{y("focus",te)},R=te=>{y("blur",te),O.onFieldBlur()},L=(te,J)=>{const X=D(te);y("panelChange",X,J)},U=te=>{const J=D(te);y("ok",J)},[Y]=Pr("DatePicker",Xc),k=z(()=>S.value?S.valueFormat?e.toDate(S.value,S.valueFormat):S.value:S.value===""?void 0:S.value),Z=z(()=>S.defaultValue?S.valueFormat?e.toDate(S.defaultValue,S.valueFormat):S.defaultValue:S.defaultValue===""?void 0:S.defaultValue),K=z(()=>S.defaultPickerValue?S.valueFormat?e.toDate(S.defaultPickerValue,S.valueFormat):S.defaultPickerValue:S.defaultPickerValue===""?void 0:S.defaultPickerValue);return()=>{var te,J,X,Q,oe,ue;const ye=g(g({},Y.value),S.locale),Oe=g(g({},S),h),{bordered:pe=!0,placeholder:we,suffixIcon:se=(te=b.suffixIcon)===null||te===void 0?void 0:te.call(b),showToday:ie=!0,transitionName:he,allowClear:Ce=!0,dateRender:Pe=b.dateRender,renderExtraFooter:xe=b.renderExtraFooter,monthCellRender:Be=b.monthCellRender||S.monthCellContentRender||b.monthCellContentRender,clearIcon:le=(J=b.clearIcon)===null||J===void 0?void 0:J.call(b),id:ae=O.id.value}=Oe,me=U2e(Oe,["bordered","placeholder","suffixIcon","showToday","transitionName","allowClear","dateRender","renderExtraFooter","monthCellRender","clearIcon","id"]),Te=Oe.showTime===""?!0:Oe.showTime,{format:_e}=Oe;let De={};d&&(De.picker=d);const ve=d||Oe.picker||"date";De=g(g(g({},De),Te?O1(g({format:_e,picker:ve},typeof Te=="object"?Te:{})):{}),ve==="time"?O1(g(g({format:_e},me),{picker:ve})):{});const ge=$.value,be=i(et,null,[se||(d==="time"?i(Mi,null,null):i(zi,null,null)),w.hasFeedback&&w.feedbackIcon]);return W(i(a1e,H(H(H({monthCellRender:Be,dateRender:Pe,renderExtraFooter:xe,ref:N,placeholder:W2e(ye,ve,we),suffixIcon:be,dropdownAlign:vG(x.value,S.placement),clearIcon:le||i(Gt,null,null),allowClear:Ce,transitionName:he||`${j.value}-slide-up`},me),De),{},{id:ae,picker:ve,value:k.value,defaultValue:Z.value,defaultPickerValue:K.value,showToday:ie,locale:ye.lang,class:re({[`${ge}-${A.value}`]:A.value,[`${ge}-borderless`]:!pe},ar(ge,el(w.status,S.status),w.hasFeedback),h.class,_.value,F.value),disabled:T.value,prefixCls:ge,getPopupContainer:h.getCalendarContainer||P.value,generateConfig:e,prevIcon:((X=b.prevIcon)===null||X===void 0?void 0:X.call(b))||i("span",{class:`${ge}-prev-icon`},null),nextIcon:((Q=b.nextIcon)===null||Q===void 0?void 0:Q.call(b))||i("span",{class:`${ge}-next-icon`},null),superPrevIcon:((oe=b.superPrevIcon)===null||oe===void 0?void 0:oe.call(b))||i("span",{class:`${ge}-super-prev-icon`},null),superNextIcon:((ue=b.superNextIcon)===null||ue===void 0?void 0:ue.call(b))||i("span",{class:`${ge}-super-next-icon`},null),components:hG,direction:x.value,dropdownClassName:re(_.value,S.popupClassName,S.dropdownClassName),onChange:V,onOpenChange:I,onFocus:B,onBlur:R,onPanelChange:L,onOk:U}),null))}}})}const r=n(void 0,"ADatePicker"),a=n("week","AWeekPicker"),l=n("month","AMonthPicker"),o=n("year","AYearPicker"),c=n("time","TimePicker"),u=n("quarter","AQuarterPicker");return{DatePicker:r,WeekPicker:a,MonthPicker:l,YearPicker:o,TimePicker:c,QuarterPicker:u}}var k2e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};function jw(e){for(var t=1;tS.value||m.value),[$,x]=sW(p),P=ne();l({focus:()=>{var B;(B=P.value)===null||B===void 0||B.focus()},blur:()=>{var B;(B=P.value)===null||B===void 0||B.blur()}});const M=B=>d.valueFormat?e.toString(B,d.valueFormat):B,j=(B,R)=>{const L=M(B);u("update:value",L),u("change",L,R),s.onFieldChange()},T=B=>{u("update:open",B),u("openChange",B)},E=B=>{u("focus",B)},F=B=>{u("blur",B),s.onFieldBlur()},A=(B,R)=>{const L=M(B);u("panelChange",L,R)},W=B=>{const R=M(B);u("ok",R)},_=(B,R,L)=>{const U=M(B);u("calendarChange",U,R,L)},[N]=Pr("DatePicker",Xc),D=z(()=>d.value&&d.valueFormat?e.toDate(d.value,d.valueFormat):d.value),V=z(()=>d.defaultValue&&d.valueFormat?e.toDate(d.defaultValue,d.valueFormat):d.defaultValue),I=z(()=>d.defaultPickerValue&&d.valueFormat?e.toDate(d.defaultPickerValue,d.valueFormat):d.defaultPickerValue);return()=>{var B,R,L,U,Y,k,Z;const K=g(g({},N.value),d.locale),te=g(g({},d),c),{prefixCls:J,bordered:X=!0,placeholder:Q,suffixIcon:oe=(B=o.suffixIcon)===null||B===void 0?void 0:B.call(o),picker:ue="date",transitionName:ye,allowClear:Oe=!0,dateRender:pe=o.dateRender,renderExtraFooter:we=o.renderExtraFooter,separator:se=(R=o.separator)===null||R===void 0?void 0:R.call(o),clearIcon:ie=(L=o.clearIcon)===null||L===void 0?void 0:L.call(o),id:he=s.id.value}=te,Ce=Y2e(te,["prefixCls","bordered","placeholder","suffixIcon","picker","transitionName","allowClear","dateRender","renderExtraFooter","separator","clearIcon","id"]);delete Ce["onUpdate:value"],delete Ce["onUpdate:open"];const{format:Pe,showTime:xe}=te;let Be={};Be=g(g(g({},Be),xe?O1(g({format:Pe,picker:ue},xe)):{}),ue==="time"?O1(g(g({format:Pe},at(Ce,["disabledTime"])),{picker:ue})):{});const le=p.value,ae=i(et,null,[oe||(ue==="time"?i(Mi,null,null):i(zi,null,null)),f.hasFeedback&&f.feedbackIcon]);return $(i(v1e,H(H(H({dateRender:pe,renderExtraFooter:we,separator:se||i("span",{"aria-label":"to",class:`${le}-separator`},[i(Ou,null,null)]),ref:P,dropdownAlign:vG(v.value,d.placement),placeholder:G2e(K,ue,Q),suffixIcon:ae,clearIcon:ie||i(Gt,null,null),allowClear:Oe,transitionName:ye||`${h.value}-slide-up`},Ce),Be),{},{disabled:y.value,id:he,value:D.value,defaultValue:V.value,defaultPickerValue:I.value,picker:ue,class:re({[`${le}-${w.value}`]:w.value,[`${le}-borderless`]:!X},ar(le,el(f.status,d.status),f.hasFeedback),c.class,x.value,O.value),locale:K.lang,prefixCls:le,getPopupContainer:c.getCalendarContainer||b.value,generateConfig:e,prevIcon:((U=o.prevIcon)===null||U===void 0?void 0:U.call(o))||i("span",{class:`${le}-prev-icon`},null),nextIcon:((Y=o.nextIcon)===null||Y===void 0?void 0:Y.call(o))||i("span",{class:`${le}-next-icon`},null),superPrevIcon:((k=o.superPrevIcon)===null||k===void 0?void 0:k.call(o))||i("span",{class:`${le}-super-prev-icon`},null),superNextIcon:((Z=o.superNextIcon)===null||Z===void 0?void 0:Z.call(o))||i("span",{class:`${le}-super-next-icon`},null),components:hG,direction:v.value,dropdownClassName:re(x.value,d.popupClassName,d.dropdownClassName),onChange:j,onOpenChange:T,onFocus:E,onBlur:F,onPanelChange:A,onOk:W,onCalendarChange:_}),null))}}})}const hG={button:H2e,rangeItem:B2e};function Z2e(e){return e?Array.isArray(e)?e:[e]:[]}function O1(e){const{format:t,picker:n,showHour:r,showMinute:a,showSecond:l,use12Hours:o}=e,c=Z2e(t)[0],u=g({},e);return c&&typeof c=="string"&&(!c.includes("s")&&l===void 0&&(u.showSecond=!1),!c.includes("m")&&a===void 0&&(u.showMinute=!1),!c.includes("H")&&!c.includes("h")&&r===void 0&&(u.showHour=!1),(c.includes("a")||c.includes("A"))&&o===void 0&&(u.use12Hours=!0)),n==="time"?u:(typeof c=="function"&&delete u.format,{showTime:u})}function bG(e,t){const{DatePicker:n,WeekPicker:r,MonthPicker:a,YearPicker:l,TimePicker:o,QuarterPicker:c}=q2e(e,t),u=Q2e(e,t);return{DatePicker:n,WeekPicker:r,MonthPicker:a,YearPicker:l,TimePicker:o,QuarterPicker:c,RangePicker:u}}const{DatePicker:Vs,WeekPicker:Rs,MonthPicker:Ws,YearPicker:J2e,TimePicker:K2e,QuarterPicker:Gs,RangePicker:Us}=bG(_R),vLe=g(Vs,{WeekPicker:Rs,MonthPicker:Ws,YearPicker:J2e,RangePicker:Us,TimePicker:K2e,QuarterPicker:Gs,install:e=>(e.component(Vs.name,Vs),e.component(Us.name,Us),e.component(Ws.name,Ws),e.component(Rs.name,Rs),e.component(Gs.name,Gs),e)});function dc(e){return e!=null}const qs=e=>{const{itemPrefixCls:t,component:n,span:r,labelStyle:a,contentStyle:l,bordered:o,label:c,content:u,colon:d}=e,s=n;return o?i(s,{class:[{[`${t}-item-label`]:dc(c),[`${t}-item-content`]:dc(u)}],colSpan:r},{default:()=>[dc(c)&&i("span",{style:a},[c]),dc(u)&&i("span",{style:l},[u])]}):i(s,{class:[`${t}-item`],colSpan:r},{default:()=>[i("div",{class:`${t}-item-container`},[(c||c===0)&&i("span",{class:[`${t}-item-label`,{[`${t}-item-no-colon`]:!d}],style:a},[c]),(u||u===0)&&i("span",{class:`${t}-item-content`,style:l},[u])])]})},e0e=e=>{const t=(d,s,f)=>{let{colon:p,prefixCls:v,bordered:b}=s,{component:m,type:h,showLabel:y,showContent:S,labelStyle:O,contentStyle:w}=f;return d.map(($,x)=>{var P,M;const j=$.props||{},{prefixCls:T=v,span:E=1,labelStyle:F=j["label-style"],contentStyle:A=j["content-style"],label:W=(M=(P=$.children)===null||P===void 0?void 0:P.label)===null||M===void 0?void 0:M.call(P)}=j,_=eN($),N=xq($),D=nN($),{key:V}=$;return typeof m=="string"?i(qs,{key:`${h}-${String(V)||x}`,class:N,style:D,labelStyle:g(g({},O),F),contentStyle:g(g({},w),A),span:E,colon:p,component:m,itemPrefixCls:T,bordered:b,label:y?W:null,content:S?_:null},null):[i(qs,{key:`label-${String(V)||x}`,class:N,style:g(g(g({},O),D),F),span:1,colon:p,component:m[0],itemPrefixCls:T,bordered:b,label:W},null),i(qs,{key:`content-${String(V)||x}`,class:N,style:g(g(g({},w),D),A),span:E*2-1,component:m[1],itemPrefixCls:T,bordered:b,content:_},null)]})},{prefixCls:n,vertical:r,row:a,index:l,bordered:o}=e,{labelStyle:c,contentStyle:u}=Ue(OG,{labelStyle:ne({}),contentStyle:ne({})});return r?i(et,null,[i("tr",{key:`label-${l}`,class:`${n}-row`},[t(a,e,{component:"th",type:"label",showLabel:!0,labelStyle:c.value,contentStyle:u.value})]),i("tr",{key:`content-${l}`,class:`${n}-row`},[t(a,e,{component:"td",type:"content",showContent:!0,labelStyle:c.value,contentStyle:u.value})])]):i("tr",{key:l,class:`${n}-row`},[t(a,e,{component:o?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0,labelStyle:c.value,contentStyle:u.value})])},t0e=e=>{const{componentCls:t,descriptionsSmallPadding:n,descriptionsDefaultPadding:r,descriptionsMiddlePadding:a,descriptionsBg:l}=e;return{[`&${t}-bordered`]:{[`${t}-view`]:{border:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"> table":{tableLayout:"auto",borderCollapse:"collapse"}},[`${t}-item-label, ${t}-item-content`]:{padding:r,borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`${t}-item-label`]:{backgroundColor:l,"&::after":{display:"none"}},[`${t}-row`]:{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBottom:"none"}},[`&${t}-middle`]:{[`${t}-item-label, ${t}-item-content`]:{padding:a}},[`&${t}-small`]:{[`${t}-item-label, ${t}-item-content`]:{padding:n}}}}},n0e=e=>{const{componentCls:t,descriptionsExtraColor:n,descriptionItemPaddingBottom:r,descriptionsItemLabelColonMarginRight:a,descriptionsItemLabelColonMarginLeft:l,descriptionsTitleMarginBottom:o}=e;return{[t]:g(g(g({},tt(e)),t0e(e)),{"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",alignItems:"center",marginBottom:o},[`${t}-title`]:g(g({},zn),{flex:"auto",color:e.colorText,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}),[`${t}-extra`]:{marginInlineStart:"auto",color:n,fontSize:e.fontSize},[`${t}-view`]:{width:"100%",borderRadius:e.borderRadiusLG,table:{width:"100%",tableLayout:"fixed"}},[`${t}-row`]:{"> th, > td":{paddingBottom:r},"&:last-child":{borderBottom:"none"}},[`${t}-item-label`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${l}px ${a}px`},[`&${t}-item-no-colon::after`]:{content:'""'}},[`${t}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${t}-item-content`]:{display:"table-cell",flex:1,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${t}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${t}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${t}-item-content`]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingXS}}}})}},r0e=Je("Descriptions",e=>{const t=e.colorFillAlter,n=e.fontSizeSM*e.lineHeightSM,r=e.colorText,a=`${e.paddingXS}px ${e.padding}px`,l=`${e.padding}px ${e.paddingLG}px`,o=`${e.paddingSM}px ${e.paddingLG}px`,c=e.padding,u=e.marginXS,d=e.marginXXS/2,s=Ge(e,{descriptionsBg:t,descriptionsTitleMarginBottom:n,descriptionsExtraColor:r,descriptionItemPaddingBottom:c,descriptionsSmallPadding:a,descriptionsDefaultPadding:l,descriptionsMiddlePadding:o,descriptionsItemLabelColonMarginRight:u,descriptionsItemLabelColonMarginLeft:d});return[n0e(s)]});G.any;const a0e=()=>({prefixCls:String,label:G.any,labelStyle:{type:Object,default:void 0},contentStyle:{type:Object,default:void 0},span:{type:Number,default:1}}),l0e=ee({compatConfig:{MODE:3},name:"ADescriptionsItem",props:a0e(),setup(e,t){let{slots:n}=t;return()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),yG={xxxl:3,xxl:3,xl:3,lg:3,md:3,sm:2,xs:1};function o0e(e,t){if(typeof e=="number")return e;if(typeof e=="object")for(let n=0;nt)&&(r=mt(e,{span:t})),r}function i0e(e,t){const n=bt(e),r=[];let a=[],l=t;return n.forEach((o,c)=>{var u;const d=(u=o.props)===null||u===void 0?void 0:u.span,s=d||1;if(c===n.length-1){a.push(Tw(o,l,d)),r.push(a);return}s({prefixCls:String,bordered:{type:Boolean,default:void 0},size:{type:String,default:"default"},title:G.any,extra:G.any,column:{type:[Number,Object],default:()=>yG},layout:String,colon:{type:Boolean,default:void 0},labelStyle:{type:Object,default:void 0},contentStyle:{type:Object,default:void 0}}),OG=Symbol("descriptionsContext"),So=ee({compatConfig:{MODE:3},name:"ADescriptions",inheritAttrs:!1,props:c0e(),slots:Object,Item:l0e,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:a,direction:l}=je("descriptions",e);let o;const c=ne({}),[u,d]=r0e(a),s=c3();r0(()=>{o=s.value.subscribe(p=>{typeof e.column=="object"&&(c.value=p)})}),Xe(()=>{s.value.unsubscribe(o)}),qe(OG,{labelStyle:Ne(e,"labelStyle"),contentStyle:Ne(e,"contentStyle")});const f=z(()=>o0e(e.column,c.value));return()=>{var p,v,b;const{size:m,bordered:h=!1,layout:y="horizontal",colon:S=!0,title:O=(p=n.title)===null||p===void 0?void 0:p.call(n),extra:w=(v=n.extra)===null||v===void 0?void 0:v.call(n)}=e,$=(b=n.default)===null||b===void 0?void 0:b.call(n),x=i0e($,f.value);return u(i("div",H(H({},r),{},{class:[a.value,{[`${a.value}-${m}`]:m!=="default",[`${a.value}-bordered`]:!!h,[`${a.value}-rtl`]:l.value==="rtl"},r.class,d.value]}),[(O||w)&&i("div",{class:`${a.value}-header`},[O&&i("div",{class:`${a.value}-title`},[O]),w&&i("div",{class:`${a.value}-extra`},[w])]),i("div",{class:`${a.value}-view`},[i("table",null,[i("tbody",null,[x.map((P,M)=>i(e0e,{key:M,index:M,colon:S,prefixCls:a.value,vertical:y==="vertical",bordered:h,row:P},null))])])])]))}}});So.install=function(e){return e.component(So.name,So),e.component(So.Item.name,So.Item),e};const u0e=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:a}=e;return{[t]:g(g({},tt(e)),{borderBlockStart:`${a}px solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",margin:`0 ${e.dividerVerticalGutterMargin}px`,verticalAlign:"middle",borderTop:0,borderInlineStart:`${a}px solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.dividerHorizontalWithTextGutterMargin}px 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${a}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:"5%"},"&::after":{width:"95%"}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:"95%"},"&::after":{width:"5%"}},[`${t}-inner-text`]:{display:"inline-block",padding:"0 1em"},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${a}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},s0e=Je("Divider",e=>{const t=Ge(e,{dividerVerticalGutterMargin:e.marginXS,dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG});return[u0e(t)]},{sizePaddingEdgeHorizontal:0}),d0e=()=>({prefixCls:String,type:{type:String,default:"horizontal"},dashed:{type:Boolean,default:!1},orientation:{type:String,default:"center"},plain:{type:Boolean,default:!1},orientationMargin:[String,Number]}),f0e=ee({name:"ADivider",inheritAttrs:!1,compatConfig:{MODE:3},props:d0e(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:a,direction:l}=je("divider",e),[o,c]=s0e(a),u=z(()=>e.orientation==="left"&&e.orientationMargin!=null),d=z(()=>e.orientation==="right"&&e.orientationMargin!=null),s=z(()=>{const{type:v,dashed:b,plain:m}=e,h=a.value;return{[h]:!0,[c.value]:!!c.value,[`${h}-${v}`]:!0,[`${h}-dashed`]:!!b,[`${h}-plain`]:!!m,[`${h}-rtl`]:l.value==="rtl",[`${h}-no-default-orientation-margin-left`]:u.value,[`${h}-no-default-orientation-margin-right`]:d.value}}),f=z(()=>{const v=typeof e.orientationMargin=="number"?`${e.orientationMargin}px`:e.orientationMargin;return g(g({},u.value&&{marginLeft:v}),d.value&&{marginRight:v})}),p=z(()=>e.orientation.length>0?"-"+e.orientation:e.orientation);return()=>{var v;const b=bt((v=n.default)===null||v===void 0?void 0:v.call(n));return o(i("div",H(H({},r),{},{class:[s.value,b.length?`${a.value}-with-text ${a.value}-with-text${p.value}`:"",r.class],role:"separator"}),[b.length?i("span",{class:`${a.value}-inner-text`,style:f.value},[b]):null]))}}}),mLe=tn(f0e);Br.Button=s1;Br.install=function(e){return e.component(Br.name,Br),e.component(s1.name,s1),e};const SG=()=>({prefixCls:String,width:G.oneOfType([G.string,G.number]),height:G.oneOfType([G.string,G.number]),style:{type:Object,default:void 0},class:String,rootClassName:String,rootStyle:Ee(),placement:{type:String},wrapperClassName:String,level:{type:[String,Array]},levelMove:{type:[Number,Function,Array]},duration:String,ease:String,showMask:{type:Boolean,default:void 0},maskClosable:{type:Boolean,default:void 0},maskStyle:{type:Object,default:void 0},afterVisibleChange:Function,keyboard:{type:Boolean,default:void 0},contentWrapperStyle:st(),autofocus:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},motion:ce(),maskMotion:Ee()}),p0e=()=>g(g({},SG()),{forceRender:{type:Boolean,default:void 0},getContainer:G.oneOfType([G.string,G.func,G.object,G.looseBool])}),v0e=()=>g(g({},SG()),{getContainer:Function,getOpenCount:Function,scrollLocker:G.any,inline:Boolean});function m0e(e){return Array.isArray(e)?e:[e]}const g0e={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"};Object.keys(g0e).filter(e=>{if(typeof document>"u")return!1;const t=document.getElementsByTagName("html")[0];return e in(t?t.style:{})})[0];const h0e=!(typeof window<"u"&&window.document&&window.document.createElement);var b0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{rt(()=>{var y;const{open:S,getContainer:O,showMask:w,autofocus:$}=e,x=O==null?void 0:O();b(e),S&&(x&&(x.parentNode,document.body),rt(()=>{$&&s()}),w&&((y=e.scrollLocker)===null||y===void 0||y.lock()))})}),de(()=>e.level,()=>{b(e)},{flush:"post"}),de(()=>e.open,()=>{const{open:y,getContainer:S,scrollLocker:O,showMask:w,autofocus:$}=e,x=S==null?void 0:S();x&&(x.parentNode,document.body),y?($&&s(),w&&(O==null||O.lock())):O==null||O.unLock()},{flush:"post"}),wr(()=>{var y;const{open:S}=e;S&&(document.body.style.touchAction=""),(y=e.scrollLocker)===null||y===void 0||y.unLock()}),de(()=>e.placement,y=>{y&&(u.value=null)});const s=()=>{var y,S;(S=(y=l.value)===null||y===void 0?void 0:y.focus)===null||S===void 0||S.call(y)},f=y=>{n("close",y)},p=y=>{y.keyCode===fe.ESC&&(y.stopPropagation(),f(y))},v=()=>{const{open:y,afterVisibleChange:S}=e;S&&S(!!y)},b=y=>{let{level:S,getContainer:O}=y;if(h0e)return;const w=O==null?void 0:O(),$=w?w.parentNode:null;d=[],S==="all"?($?Array.prototype.slice.call($.children):[]).forEach(P=>{P.nodeName!=="SCRIPT"&&P.nodeName!=="STYLE"&&P.nodeName!=="LINK"&&P!==w&&d.push(P)}):S&&m0e(S).forEach(x=>{document.querySelectorAll(x).forEach(P=>{d.push(P)})})},m=y=>{n("handleClick",y)},h=q(!1);return de(l,()=>{rt(()=>{h.value=!0})}),()=>{var y,S;const{width:O,height:w,open:$,prefixCls:x,placement:P,level:M,levelMove:j,ease:T,duration:E,getContainer:F,onChange:A,afterVisibleChange:W,showMask:_,maskClosable:N,maskStyle:D,keyboard:V,getOpenCount:I,scrollLocker:B,contentWrapperStyle:R,style:L,class:U,rootClassName:Y,rootStyle:k,maskMotion:Z,motion:K,inline:te}=e,J=b0e(e,["width","height","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","keyboard","getOpenCount","scrollLocker","contentWrapperStyle","style","class","rootClassName","rootStyle","maskMotion","motion","inline"]),X=$&&h.value,Q=re(x,{[`${x}-${P}`]:!0,[`${x}-open`]:X,[`${x}-inline`]:te,"no-mask":!_,[Y]:!0}),oe=typeof K=="function"?K(P):K;return i("div",H(H({},at(J,["autofocus"])),{},{tabindex:-1,class:Q,style:k,ref:l,onKeydown:X&&V?p:void 0}),[i(sn,Z,{default:()=>[_&&Vn(i("div",{class:`${x}-mask`,onClick:N?f:void 0,style:D,ref:o},null),[[lr,X]])]}),i(sn,H(H({},oe),{},{onAfterEnter:v,onAfterLeave:v}),{default:()=>[Vn(i("div",{class:`${x}-content-wrapper`,style:[R],ref:a},[i("div",{class:[`${x}-content`,U],style:L,ref:u},[(y=r.default)===null||y===void 0?void 0:y.call(r)]),r.handler?i("div",{onClick:m,ref:c},[(S=r.handler)===null||S===void 0?void 0:S.call(r)]):null]),[[lr,X]])]})])}}});var Ew=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{},showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",keyboard:!0,forceRender:!1,autofocus:!0}),emits:["handleClick","close"],setup(e,t){let{emit:n,slots:r}=t;const a=ne(null),l=c=>{n("handleClick",c)},o=c=>{n("close",c)};return()=>{const{getContainer:c,wrapperClassName:u,rootClassName:d,rootStyle:s,forceRender:f}=e,p=Ew(e,["getContainer","wrapperClassName","rootClassName","rootStyle","forceRender"]);let v=null;if(!c)return i(_w,H(H({},p),{},{rootClassName:d,rootStyle:s,open:e.open,onClose:o,onHandleClick:l,inline:!0}),r);const b=!!r.handler||f;return(b||e.open||a.value)&&(v=i(F0,{autoLock:!0,visible:e.open,forceRender:b,getContainer:c,wrapperClassName:u},{default:m=>{var{visible:h,afterClose:y}=m,S=Ew(m,["visible","afterClose"]);return i(_w,H(H(H({ref:a},p),S),{},{rootClassName:d,rootStyle:s,open:h!==void 0?h:e.open,afterVisibleChange:y!==void 0?y:e.afterVisibleChange,onClose:o,onHandleClick:l}),r)}})),v}}}),O0e=e=>{const{componentCls:t,motionDurationSlow:n}=e,r={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${n}`}}};return{[t]:{[`${t}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${n}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${t}-panel-motion`]:{"&-left":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}},S0e=e=>{const{componentCls:t,zIndexPopup:n,colorBgMask:r,colorBgElevated:a,motionDurationSlow:l,motionDurationMid:o,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:s,lineWidth:f,lineType:p,colorSplit:v,marginSM:b,colorIcon:m,colorIconHover:h,colorText:y,fontWeightStrong:S,drawerFooterPaddingVertical:O,drawerFooterPaddingHorizontal:w}=e,$=`${t}-content-wrapper`;return{[t]:{position:"fixed",inset:0,zIndex:n,pointerEvents:"none","&-pure":{position:"relative",background:a,[`&${t}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${t}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${t}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${t}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${t}-mask`]:{position:"absolute",inset:0,zIndex:n,background:r,pointerEvents:"auto"},[$]:{position:"absolute",zIndex:n,transition:`all ${l}`,"&-hidden":{display:"none"}},[`&-left > ${$}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${$}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${$}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${$}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${t}-content`]:{width:"100%",height:"100%",overflow:"auto",background:a,pointerEvents:"auto"},[`${t}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${t}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${c}px ${u}px`,fontSize:d,lineHeight:s,borderBottom:`${f}px ${p} ${v}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${t}-extra`]:{flex:"none"},[`${t}-close`]:{display:"inline-block",marginInlineEnd:b,color:m,fontWeight:S,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${o}`,textRendering:"auto","&:focus, &:hover":{color:h,textDecoration:"none"}},[`${t}-title`]:{flex:1,margin:0,color:y,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:s},[`${t}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto"},[`${t}-footer`]:{flexShrink:0,padding:`${O}px ${w}px`,borderTop:`${f}px ${p} ${v}`},"&-rtl":{direction:"rtl"}}}},$0e=Je("Drawer",e=>{const t=Ge(e,{drawerFooterPaddingVertical:e.paddingXS,drawerFooterPaddingHorizontal:e.padding});return[S0e(t),O0e(t)]},e=>({zIndexPopup:e.zIndexPopupBase}));var w0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a({autofocus:{type:Boolean,default:void 0},closable:{type:Boolean,default:void 0},closeIcon:G.any,destroyOnClose:{type:Boolean,default:void 0},forceRender:{type:Boolean,default:void 0},getContainer:{type:[String,Function,Boolean,Object],default:void 0},maskClosable:{type:Boolean,default:void 0},mask:{type:Boolean,default:void 0},maskStyle:Ee(),rootClassName:String,rootStyle:Ee(),size:{type:String},drawerStyle:Ee(),headerStyle:Ee(),bodyStyle:Ee(),contentWrapperStyle:{type:Object,default:void 0},title:G.any,visible:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},width:G.oneOfType([G.string,G.number]),height:G.oneOfType([G.string,G.number]),zIndex:Number,prefixCls:String,push:G.oneOfType([G.looseBool,{type:Object}]),placement:G.oneOf(P0e),keyboard:{type:Boolean,default:void 0},extra:G.any,footer:G.any,footerStyle:Ee(),level:G.any,levelMove:{type:[Number,Array,Function]},handle:G.any,afterVisibleChange:Function,onAfterVisibleChange:Function,onAfterOpenChange:Function,"onUpdate:visible":Function,"onUpdate:open":Function,onClose:Function}),x0e=ee({compatConfig:{MODE:3},name:"ADrawer",inheritAttrs:!1,props:lt(C0e(),{closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:Hw}),slots:Object,setup(e,t){let{emit:n,slots:r,attrs:a}=t;const l=q(!1),o=q(!1),c=q(null),u=q(!1),d=q(!1),s=z(()=>{var I;return(I=e.open)!==null&&I!==void 0?I:e.visible});de(s,()=>{s.value?u.value=!0:d.value=!1},{immediate:!0}),de([s,u],()=>{s.value&&u.value&&(d.value=!0)},{immediate:!0});const f=Ue("parentDrawerOpts",null),{prefixCls:p,getPopupContainer:v,direction:b}=je("drawer",e),[m,h]=$0e(p),y=z(()=>e.getContainer===void 0&&(v!=null&&v.value)?()=>v.value(document.body):e.getContainer);yt(!e.afterVisibleChange,"Drawer","`afterVisibleChange` prop is deprecated, please use `@afterVisibleChange` event instead"),qe("parentDrawerOpts",{setPush:()=>{l.value=!0},setPull:()=>{l.value=!1,rt(()=>{w()})}}),We(()=>{s.value&&f&&f.setPush()}),wr(()=>{f&&f.setPull()}),de(d,()=>{f&&(d.value?f.setPush():f.setPull())},{flush:"post"});const w=()=>{var I,B;(B=(I=c.value)===null||I===void 0?void 0:I.domFocus)===null||B===void 0||B.call(I)},$=I=>{n("update:visible",!1),n("update:open",!1),n("close",I)},x=I=>{var B;I||(o.value===!1&&(o.value=!0),e.destroyOnClose&&(u.value=!1)),(B=e.afterVisibleChange)===null||B===void 0||B.call(e,I),n("afterVisibleChange",I),n("afterOpenChange",I)},P=z(()=>{const{push:I,placement:B}=e;let R;return typeof I=="boolean"?R=I?Hw.distance:0:R=I.distance,R=parseFloat(String(R||0)),B==="left"||B==="right"?`translateX(${B==="left"?R:-R}px)`:B==="top"||B==="bottom"?`translateY(${B==="top"?R:-R}px)`:null}),M=z(()=>{var I;return(I=e.width)!==null&&I!==void 0?I:e.size==="large"?736:378}),j=z(()=>{var I;return(I=e.height)!==null&&I!==void 0?I:e.size==="large"?736:378}),T=z(()=>{const{mask:I,placement:B}=e;if(!d.value&&!I)return{};const R={};return B==="left"||B==="right"?R.width=n2(M.value)?`${M.value}px`:M.value:R.height=n2(j.value)?`${j.value}px`:j.value,R}),E=z(()=>{const{zIndex:I,contentWrapperStyle:B}=e,R=T.value;return[{zIndex:I,transform:l.value?P.value:void 0},g({},B),R]}),F=I=>{const{closable:B,headerStyle:R}=e,L=At(r,e,"extra"),U=At(r,e,"title");return!U&&!B?null:i("div",{class:re(`${I}-header`,{[`${I}-header-close-only`]:B&&!U&&!L}),style:R},[i("div",{class:`${I}-header-title`},[A(I),U&&i("div",{class:`${I}-title`},[U])]),L&&i("div",{class:`${I}-extra`},[L])])},A=I=>{var B;const{closable:R}=e,L=r.closeIcon?(B=r.closeIcon)===null||B===void 0?void 0:B.call(r):e.closeIcon;return R&&i("button",{key:"closer",onClick:$,"aria-label":"Close",class:`${I}-close`},[L===void 0?i(vn,null,null):L])},W=I=>{var B;if(o.value&&!e.forceRender&&!u.value)return null;const{bodyStyle:R,drawerStyle:L}=e;return i("div",{class:`${I}-wrapper-body`,style:L},[F(I),i("div",{key:"body",class:`${I}-body`,style:R},[(B=r.default)===null||B===void 0?void 0:B.call(r)]),_(I)])},_=I=>{const B=At(r,e,"footer");if(!B)return null;const R=`${I}-footer`;return i("div",{class:R,style:e.footerStyle},[B])},N=z(()=>re({"no-mask":!e.mask,[`${p.value}-rtl`]:b.value==="rtl"},e.rootClassName,h.value)),D=z(()=>Gr(Sr(p.value,"mask-motion"))),V=I=>Gr(Sr(p.value,`panel-motion-${I}`));return()=>{const{width:I,height:B,placement:R,mask:L,forceRender:U}=e,Y=w0e(e,["width","height","placement","mask","forceRender"]),k=g(g(g({},a),at(Y,["size","closeIcon","closable","destroyOnClose","drawerStyle","headerStyle","bodyStyle","title","push","onAfterVisibleChange","onClose","onUpdate:visible","onUpdate:open","visible"])),{forceRender:U,onClose:$,afterVisibleChange:x,handler:!1,prefixCls:p.value,open:d.value,showMask:L,placement:R,ref:c});return m(i(Ko,null,{default:()=>[i(y0e,H(H({},k),{},{maskMotion:D.value,motion:V,width:M.value,height:j.value,getContainer:y.value,rootClassName:N.value,rootStyle:e.rootStyle,contentWrapperStyle:E.value}),{handler:e.handle?()=>e.handle:r.handle,default:()=>W(p.value)})]}))}}}),gLe=tn(x0e);var z0e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"};function Aw(e){for(var t=1;te!=null&&(Array.isArray(e)?Mt(e).length:!0);function Z3(e){return No(e.prefix)||No(e.suffix)||No(e.allowClear)}function Ac(e){return No(e.addonBefore)||No(e.addonAfter)}function F2(e){return typeof e>"u"||e===null?"":String(e)}function Lo(e,t,n,r){if(!n)return;const a=t;if(t.type==="click"){Object.defineProperty(a,"target",{writable:!0}),Object.defineProperty(a,"currentTarget",{writable:!0});const l=e.cloneNode(!0);a.target=l,a.currentTarget=l,l.value="",n(a);return}if(r!==void 0){Object.defineProperty(a,"target",{writable:!0}),Object.defineProperty(a,"currentTarget",{writable:!0}),a.target=e,a.currentTarget=e,e.value=r,n(a);return}n(a)}function $G(e,t){if(!e)return;e.focus(t);const{cursor:n}=t||{};if(n){const r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}const _0e=()=>({addonBefore:G.any,addonAfter:G.any,prefix:G.any,suffix:G.any,clearIcon:G.any,affixWrapperClassName:String,groupClassName:String,wrapperClassName:String,inputClassName:String,allowClear:{type:Boolean,default:void 0}}),wG=()=>g(g({},_0e()),{value:{type:[String,Number,Symbol],default:void 0},defaultValue:{type:[String,Number,Symbol],default:void 0},inputElement:G.any,prefixCls:String,disabled:{type:Boolean,default:void 0},focused:{type:Boolean,default:void 0},triggerFocus:Function,readonly:{type:Boolean,default:void 0},handleReset:Function,hidden:{type:Boolean,default:void 0}}),PG=()=>g(g({},wG()),{id:String,placeholder:{type:[String,Number]},autocomplete:String,type:Le("text"),name:String,size:{type:String},autofocus:{type:Boolean,default:void 0},lazy:{type:Boolean,default:!0},maxlength:Number,loading:{type:Boolean,default:void 0},bordered:{type:Boolean,default:void 0},showCount:{type:[Boolean,Object]},htmlSize:Number,onPressEnter:Function,onKeydown:Function,onKeyup:Function,onFocus:Function,onBlur:Function,onChange:Function,onInput:Function,"onUpdate:value":Function,onCompositionstart:Function,onCompositionend:Function,valueModifiers:Object,hidden:{type:Boolean,default:void 0},status:String}),E0e=ee({name:"BaseInput",inheritAttrs:!1,props:wG(),setup(e,t){let{slots:n,attrs:r}=t;const a=ne(),l=c=>{var u;if(!((u=a.value)===null||u===void 0)&&u.contains(c.target)){const{triggerFocus:d}=e;d==null||d()}},o=()=>{var c;const{allowClear:u,value:d,disabled:s,readonly:f,handleReset:p,suffix:v=n.suffix,prefixCls:b}=e;if(!u)return null;const m=!s&&!f&&d,h=`${b}-clear-icon`,y=((c=n.clearIcon)===null||c===void 0?void 0:c.call(n))||"*";return i("span",{onClick:p,onMousedown:S=>S.preventDefault(),class:re({[`${h}-hidden`]:!m,[`${h}-has-suffix`]:!!v},h),role:"button",tabindex:-1},[y])};return()=>{var c,u;const{focused:d,value:s,disabled:f,allowClear:p,readonly:v,hidden:b,prefixCls:m,prefix:h=(c=n.prefix)===null||c===void 0?void 0:c.call(n),suffix:y=(u=n.suffix)===null||u===void 0?void 0:u.call(n),addonAfter:S=n.addonAfter,addonBefore:O=n.addonBefore,inputElement:w,affixWrapperClassName:$,wrapperClassName:x,groupClassName:P}=e;let M=mt(w,{value:s,hidden:b});if(Z3({prefix:h,suffix:y,allowClear:p})){const j=`${m}-affix-wrapper`,T=re(j,{[`${j}-disabled`]:f,[`${j}-focused`]:d,[`${j}-readonly`]:v,[`${j}-input-with-clear-btn`]:y&&p&&s},!Ac({addonAfter:S,addonBefore:O})&&r.class,$),E=(y||p)&&i("span",{class:`${m}-suffix`},[o(),y]);M=i("span",{class:T,style:r.style,hidden:!Ac({addonAfter:S,addonBefore:O})&&b,onMousedown:l,ref:a},[h&&i("span",{class:`${m}-prefix`},[h]),mt(w,{style:null,value:s,hidden:null}),E])}if(Ac({addonAfter:S,addonBefore:O})){const j=`${m}-group`,T=`${j}-addon`,E=re(`${m}-wrapper`,j,x),F=re(`${m}-group-wrapper`,r.class,P);return i("span",{class:F,style:r.style,hidden:b},[i("span",{class:E},[O&&i("span",{class:T},[O]),mt(M,{style:null,hidden:null}),S&&i("span",{class:T},[S])])])}return M}}});var H0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ae.value,()=>{o.value=e.value}),de(()=>e.disabled,()=>{e.disabled&&(c.value=!1)});const s=P=>{u.value&&$G(u.value.input,P)},f=()=>{var P;(P=u.value.input)===null||P===void 0||P.blur()},p=(P,M,j)=>{var T;(T=u.value.input)===null||T===void 0||T.setSelectionRange(P,M,j)},v=()=>{var P;(P=u.value.input)===null||P===void 0||P.select()};a({focus:s,blur:f,input:z(()=>{var P;return(P=u.value.input)===null||P===void 0?void 0:P.input}),stateValue:o,setSelectionRange:p,select:v});const b=P=>{l("change",P)},m=(P,M)=>{o.value!==P&&(e.value===void 0?o.value=P:rt(()=>{var j;u.value.input.value!==o.value&&((j=d.value)===null||j===void 0||j.$forceUpdate())}),rt(()=>{M&&M()}))},h=P=>{const{value:M}=P.target;if(o.value===M)return;const j=P.target.value;Lo(u.value.input,P,b),m(j)},y=P=>{P.keyCode===13&&l("pressEnter",P),l("keydown",P)},S=P=>{c.value=!0,l("focus",P)},O=P=>{c.value=!1,l("blur",P)},w=P=>{Lo(u.value.input,P,b),m("",()=>{s()})},$=()=>{var P,M;const{addonBefore:j=n.addonBefore,addonAfter:T=n.addonAfter,disabled:E,valueModifiers:F={},htmlSize:A,autocomplete:W,prefixCls:_,inputClassName:N,prefix:D=(P=n.prefix)===null||P===void 0?void 0:P.call(n),suffix:V=(M=n.suffix)===null||M===void 0?void 0:M.call(n),allowClear:I,type:B="text"}=e,R=at(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","bordered","htmlSize","lazy","showCount","valueModifiers","showCount","affixWrapperClassName","groupClassName","inputClassName","wrapperClassName"]),L=g(g(g({},R),r),{autocomplete:W,onChange:h,onInput:h,onFocus:S,onBlur:O,onKeydown:y,class:re(_,{[`${_}-disabled`]:E},N,!Ac({addonAfter:T,addonBefore:j})&&!Z3({prefix:D,suffix:V,allowClear:I})&&r.class),ref:u,key:"ant-input",size:A,type:B,lazy:e.lazy});return F.lazy&&delete L.onInput,L.autofocus||delete L.autofocus,i(di,at(L,["size"]),null)},x=()=>{var P;const{maxlength:M,suffix:j=(P=n.suffix)===null||P===void 0?void 0:P.call(n),showCount:T,prefixCls:E}=e,F=Number(M)>0;if(j||T){const A=[...F2(o.value)].length,W=typeof T=="object"?T.formatter({count:A,maxlength:M}):`${A}${F?` / ${M}`:""}`;return i(et,null,[!!T&&i("span",{class:re(`${E}-show-count-suffix`,{[`${E}-show-count-has-suffix`]:!!j})},[W]),j])}return null};return We(()=>{}),()=>{const{prefixCls:P,disabled:M}=e,j=H0e(e,["prefixCls","disabled"]);return i(E0e,H(H(H({},j),r),{},{ref:d,prefixCls:P,inputElement:$(),handleReset:w,value:F2(o.value),focused:c.value,triggerFocus:s,suffix:x(),disabled:M}),n)}}}),Su=()=>at(PG(),["wrapperClassName","groupClassName","inputClassName","affixWrapperClassName"]),CG=()=>g(g({},at(Su(),["prefix","addonBefore","addonAfter","suffix"])),{rows:Number,autosize:{type:[Boolean,Object],default:void 0},autoSize:{type:[Boolean,Object],default:void 0},onResize:{type:Function},onCompositionstart:La(),onCompositionend:La(),valueModifiers:Object});var I0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ael(u.status,e.status)),{direction:s,prefixCls:f,size:p,autocomplete:v}=je("input",e),{compactSize:b,compactItemClassnames:m}=oo(f,s),h=z(()=>b.value||p.value),[y,S]=F3(f),O=Rn();a({focus:A=>{var W;(W=o.value)===null||W===void 0||W.focus(A)},blur:()=>{var A;(A=o.value)===null||A===void 0||A.blur()},input:o,setSelectionRange:(A,W,_)=>{var N;(N=o.value)===null||N===void 0||N.setSelectionRange(A,W,_)},select:()=>{var A;(A=o.value)===null||A===void 0||A.select()}});const M=ne([]),j=()=>{M.value.push(setTimeout(()=>{var A,W,_,N;!((A=o.value)===null||A===void 0)&&A.input&&((W=o.value)===null||W===void 0?void 0:W.input.getAttribute("type"))==="password"&&(!((_=o.value)===null||_===void 0)&&_.input.hasAttribute("value"))&&((N=o.value)===null||N===void 0||N.input.removeAttribute("value"))}))};We(()=>{j()}),l0(()=>{M.value.forEach(A=>clearTimeout(A))}),Xe(()=>{M.value.forEach(A=>clearTimeout(A))});const T=A=>{j(),l("blur",A),c.onFieldBlur()},E=A=>{j(),l("focus",A)},F=A=>{l("update:value",A.target.value),l("change",A),l("input",A),c.onFieldChange()};return()=>{var A,W,_,N,D,V;const{hasFeedback:I,feedbackIcon:B}=u,{allowClear:R,bordered:L=!0,prefix:U=(A=n.prefix)===null||A===void 0?void 0:A.call(n),suffix:Y=(W=n.suffix)===null||W===void 0?void 0:W.call(n),addonAfter:k=(_=n.addonAfter)===null||_===void 0?void 0:_.call(n),addonBefore:Z=(N=n.addonBefore)===null||N===void 0?void 0:N.call(n),id:K=(D=c.id)===null||D===void 0?void 0:D.value}=e,te=I0e(e,["allowClear","bordered","prefix","suffix","addonAfter","addonBefore","id"]),J=(I||Y)&&i(et,null,[Y,I&&B]),X=f.value,Q=Z3({prefix:U,suffix:Y})||!!I,oe=n.clearIcon||(()=>i(Gt,null,null));return y(i(A0e,H(H(H({},r),at(te,["onUpdate:value","onChange","onInput"])),{},{onChange:F,id:K,disabled:(V=e.disabled)!==null&&V!==void 0?V:O.value,ref:o,prefixCls:X,autocomplete:v.value,onBlur:T,onFocus:E,prefix:U,suffix:J,allowClear:R,addonAfter:k&&i(Ko,null,{default:()=>[i(l1,null,{default:()=>[k]})]}),addonBefore:Z&&i(Ko,null,{default:()=>[i(l1,null,{default:()=>[Z]})]}),class:[r.class,m.value],inputClassName:re({[`${X}-sm`]:h.value==="small",[`${X}-lg`]:h.value==="large",[`${X}-rtl`]:s.value==="rtl",[`${X}-borderless`]:!L},!Q&&ar(X,d.value),S.value),affixWrapperClassName:re({[`${X}-affix-wrapper-sm`]:h.value==="small",[`${X}-affix-wrapper-lg`]:h.value==="large",[`${X}-affix-wrapper-rtl`]:s.value==="rtl",[`${X}-affix-wrapper-borderless`]:!L},ar(`${X}-affix-wrapper`,d.value,I),S.value),wrapperClassName:re({[`${X}-group-rtl`]:s.value==="rtl"},S.value),groupClassName:re({[`${X}-group-wrapper-sm`]:h.value==="small",[`${X}-group-wrapper-lg`]:h.value==="large",[`${X}-group-wrapper-rtl`]:s.value==="rtl"},ar(`${X}-group-wrapper`,d.value,I),S.value)}),g(g({},n),{clearIcon:oe})))}}}),D0e=ee({compatConfig:{MODE:3},name:"AInputGroup",inheritAttrs:!1,props:{prefixCls:String,size:{type:String},compact:{type:Boolean,default:void 0}},setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:a,direction:l,getPrefixCls:o}=je("input-group",e),c=Tn.useInject();Tn.useProvide(c,{isFormItemInput:!1});const u=z(()=>o("input")),[d,s]=F3(u),f=z(()=>{const p=a.value;return{[`${p}`]:!0,[s.value]:!0,[`${p}-lg`]:e.size==="large",[`${p}-sm`]:e.size==="small",[`${p}-compact`]:e.compact,[`${p}-rtl`]:l.value==="rtl"}});return()=>{var p;return d(i("span",H(H({},r),{},{class:re(f.value,r.class)}),[(p=n.default)===null||p===void 0?void 0:p.call(n)]))}}});var F0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var $;($=o.value)===null||$===void 0||$.focus()},blur:()=>{var $;($=o.value)===null||$===void 0||$.blur()}});const s=$=>{l("update:value",$.target.value),$&&$.target&&$.type==="click"&&l("search",$.target.value,$),l("change",$)},f=$=>{var x;document.activeElement===((x=o.value)===null||x===void 0?void 0:x.input)&&$.preventDefault()},p=$=>{var x,P;l("search",(P=(x=o.value)===null||x===void 0?void 0:x.input)===null||P===void 0?void 0:P.stateValue,$)},v=$=>{c.value||e.loading||p($)},b=$=>{c.value=!0,l("compositionstart",$)},m=$=>{c.value=!1,l("compositionend",$)},{prefixCls:h,getPrefixCls:y,direction:S,size:O}=je("input-search",e),w=z(()=>y("input",e.inputPrefixCls));return()=>{var $,x,P,M;const{disabled:j,loading:T,addonAfter:E=($=n.addonAfter)===null||$===void 0?void 0:$.call(n),suffix:F=(x=n.suffix)===null||x===void 0?void 0:x.call(n)}=e,A=F0e(e,["disabled","loading","addonAfter","suffix"]);let{enterButton:W=(M=(P=n.enterButton)===null||P===void 0?void 0:P.call(n))!==null&&M!==void 0?M:!1}=e;W=W||W==="";const _=typeof W=="boolean"?i(no,null,null):null,N=`${h.value}-button`,D=Array.isArray(W)?W[0]:W;let V;const I=D.type&&Q1(D.type)&&D.type.__ANT_BUTTON;if(I||D.tagName==="button")V=mt(D,g({onMousedown:f,onClick:p,key:"enterButton"},I?{class:N,size:O.value}:{}),!1);else{const R=_&&!W;V=i(Rt,{class:N,type:W?"primary":void 0,size:O.value,disabled:j,key:"enterButton",onMousedown:f,onClick:p,loading:T,icon:R?_:null},{default:()=>[R?null:_||W]})}E&&(V=[V,E]);const B=re(h.value,{[`${h.value}-rtl`]:S.value==="rtl",[`${h.value}-${O.value}`]:!!O.value,[`${h.value}-with-button`]:!!W},r.class);return i(Dt,H(H(H({ref:o},at(A,["onUpdate:value","onSearch","enterButton"])),r),{},{onPressEnter:v,onCompositionstart:b,onCompositionend:m,size:O.value,prefixCls:w.value,addonAfter:V,suffix:F,onChange:s,class:B,disabled:j}),n)}}}),Dw=e=>e!=null&&(Array.isArray(e)?Mt(e).length:!0);function N0e(e){return Dw(e.addonBefore)||Dw(e.addonAfter)}const L0e=["text","input"],V0e=ee({compatConfig:{MODE:3},name:"ClearableLabeledInput",inheritAttrs:!1,props:{prefixCls:String,inputType:G.oneOf(dn("text","input")),value:wt(),defaultValue:wt(),allowClear:{type:Boolean,default:void 0},element:wt(),handleReset:Function,disabled:{type:Boolean,default:void 0},direction:{type:String},size:{type:String},suffix:wt(),prefix:wt(),addonBefore:wt(),addonAfter:wt(),readonly:{type:Boolean,default:void 0},focused:{type:Boolean,default:void 0},bordered:{type:Boolean,default:!0},triggerFocus:{type:Function},hidden:Boolean,status:String,hashId:String},setup(e,t){let{slots:n,attrs:r}=t;const a=Tn.useInject(),l=c=>{const{value:u,disabled:d,readonly:s,handleReset:f,suffix:p=n.suffix}=e,v=!d&&!s&&u,b=`${c}-clear-icon`;return i(Gt,{onClick:f,onMousedown:m=>m.preventDefault(),class:re({[`${b}-hidden`]:!v,[`${b}-has-suffix`]:!!p},b),role:"button"},null)},o=(c,u)=>{const{value:d,allowClear:s,direction:f,bordered:p,hidden:v,status:b,addonAfter:m=n.addonAfter,addonBefore:h=n.addonBefore,hashId:y}=e,{status:S,hasFeedback:O}=a;if(!s)return mt(u,{value:d,disabled:e.disabled});const w=re(`${c}-affix-wrapper`,`${c}-affix-wrapper-textarea-with-clear-btn`,ar(`${c}-affix-wrapper`,el(S,b),O),{[`${c}-affix-wrapper-rtl`]:f==="rtl",[`${c}-affix-wrapper-borderless`]:!p,[`${r.class}`]:!N0e({addonAfter:m,addonBefore:h})&&r.class},y);return i("span",{class:w,style:r.style,hidden:v},[mt(u,{style:null,value:d,disabled:e.disabled}),l(c)])};return()=>{var c;const{prefixCls:u,inputType:d,element:s=(c=n.element)===null||c===void 0?void 0:c.call(n)}=e;return d===L0e[0]?o(u,s):null}}}),R0e=` + min-height:0 !important; + max-height:none !important; + height:0 !important; + visibility:hidden !important; + overflow:hidden !important; + position:absolute !important; + z-index:-1000 !important; + top:0 !important; + right:0 !important; + pointer-events: none !important; +`,W0e=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],ks={};let Fn;function G0e(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&ks[n])return ks[n];const r=window.getComputedStyle(e),a=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),l=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),o=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),u={sizingStyle:W0e.map(d=>`${d}:${r.getPropertyValue(d)}`).join(";"),paddingSize:l,borderSize:o,boxSizing:a};return t&&n&&(ks[n]=u),u}function U0e(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Fn||(Fn=document.createElement("textarea"),Fn.setAttribute("tab-index","-1"),Fn.setAttribute("aria-hidden","true"),document.body.appendChild(Fn)),e.getAttribute("wrap")?Fn.setAttribute("wrap",e.getAttribute("wrap")):Fn.removeAttribute("wrap");const{paddingSize:a,borderSize:l,boxSizing:o,sizingStyle:c}=G0e(e,t);Fn.setAttribute("style",`${c};${R0e}`),Fn.value=e.value||e.placeholder||"";let u,d,s,f=Fn.scrollHeight;if(o==="border-box"?f+=l:o==="content-box"&&(f-=a),n!==null||r!==null){Fn.value=" ";const v=Fn.scrollHeight-a;n!==null&&(u=v*n,o==="border-box"&&(u=u+a+l),f=Math.max(u,f)),r!==null&&(d=v*r,o==="border-box"&&(d=d+a+l),s=f>d?"":"hidden",f=Math.min(d,f))}const p={height:`${f}px`,overflowY:s,resize:"none"};return u&&(p.minHeight=`${u}px`),d&&(p.maxHeight=`${d}px`),p}const Xs=0,Ys=1,Qs=2,q0e=ee({compatConfig:{MODE:3},name:"ResizableTextArea",inheritAttrs:!1,props:CG(),setup(e,t){let{attrs:n,emit:r,expose:a}=t,l,o;const c=ne(),u=ne({}),d=ne(Qs);Xe(()=>{Re.cancel(l),Re.cancel(o)});const s=()=>{try{if(c.value&&document.activeElement===c.value.input){const x=c.value.getSelectionStart(),P=c.value.getSelectionEnd(),M=c.value.getScrollTop();c.value.setSelectionRange(x,P),c.value.setScrollTop(M)}}catch{}},f=ne(),p=ne();Ve(()=>{const x=e.autoSize||e.autosize;x?(f.value=x.minRows,p.value=x.maxRows):(f.value=void 0,p.value=void 0)});const v=z(()=>!!(e.autoSize||e.autosize)),b=()=>{d.value=Xs};de([()=>e.value,f,p,v],()=>{v.value&&b()},{immediate:!0});const m=ne();de([d,c],()=>{if(c.value)if(d.value===Xs)d.value=Ys;else if(d.value===Ys){const x=U0e(c.value.input,!1,f.value,p.value);d.value=Qs,m.value=x}else s()},{immediate:!0,flush:"post"});const h=_n(),y=ne(),S=()=>{Re.cancel(y.value)},O=x=>{d.value===Qs&&(r("resize",x),v.value&&(S(),y.value=Re(()=>{b()})))};Xe(()=>{S()}),a({resizeTextarea:()=>{b()},textArea:z(()=>{var x;return(x=c.value)===null||x===void 0?void 0:x.input}),instance:h}),ir(e.autosize===void 0);const $=()=>{const{prefixCls:x,disabled:P}=e,M=at(e,["prefixCls","onPressEnter","autoSize","autosize","defaultValue","allowClear","type","maxlength","valueModifiers"]),j=re(x,n.class,{[`${x}-disabled`]:P}),T=v.value?m.value:null,E=[n.style,u.value,T],F=g(g(g({},M),n),{style:E,class:j});return(d.value===Xs||d.value===Ys)&&E.push({overflowX:"hidden",overflowY:"hidden"}),F.autofocus||delete F.autofocus,F.rows===0&&delete F.rows,i(yr,{onResize:O,disabled:!v.value},{default:()=>[i(di,H(H({},F),{},{ref:c,tag:"textarea"}),null)]})};return()=>$()}});function xG(e,t){return[...e||""].slice(0,t).join("")}function Fw(e,t,n,r){let a=n;return e?a=xG(n,r):[...t||""].lengthr&&(a=t),a}const zG=ee({compatConfig:{MODE:3},name:"ATextarea",inheritAttrs:!1,props:CG(),setup(e,t){let{attrs:n,expose:r,emit:a}=t;var l;const o=en(),c=Tn.useInject(),u=z(()=>el(c.status,e.status)),d=q((l=e.value)!==null&&l!==void 0?l:e.defaultValue),s=q(),f=q(""),{prefixCls:p,size:v,direction:b}=je("input",e),[m,h]=F3(p),y=Rn(),S=z(()=>e.showCount===""||e.showCount||!1),O=z(()=>Number(e.maxlength)>0),w=q(!1),$=q(),x=q(0),P=I=>{w.value=!0,$.value=f.value,x.value=I.currentTarget.selectionStart,a("compositionstart",I)},M=I=>{var B;w.value=!1;let R=I.currentTarget.value;if(O.value){const L=x.value>=e.maxlength+1||x.value===((B=$.value)===null||B===void 0?void 0:B.length);R=Fw(L,$.value,R,e.maxlength)}R!==f.value&&(F(R),Lo(I.currentTarget,I,_,R)),a("compositionend",I)},j=_n();de(()=>e.value,()=>{var I;"value"in j.vnode.props,d.value=(I=e.value)!==null&&I!==void 0?I:""});const T=I=>{var B;$G((B=s.value)===null||B===void 0?void 0:B.textArea,I)},E=()=>{var I,B;(B=(I=s.value)===null||I===void 0?void 0:I.textArea)===null||B===void 0||B.blur()},F=(I,B)=>{d.value!==I&&(e.value===void 0?d.value=I:rt(()=>{var R,L,U;s.value.textArea.value!==f.value&&((U=(R=s.value)===null||R===void 0?void 0:(L=R.instance).update)===null||U===void 0||U.call(L))}),rt(()=>{B&&B()}))},A=I=>{I.keyCode===13&&a("pressEnter",I),a("keydown",I)},W=I=>{const{onBlur:B}=e;B==null||B(I),o.onFieldBlur()},_=I=>{a("update:value",I.target.value),a("change",I),a("input",I),o.onFieldChange()},N=I=>{Lo(s.value.textArea,I,_),F("",()=>{T()})},D=I=>{let B=I.target.value;if(d.value!==B){if(O.value){const R=I.target,L=R.selectionStart>=e.maxlength+1||R.selectionStart===B.length||!R.selectionStart;B=Fw(L,f.value,B,e.maxlength)}Lo(I.currentTarget,I,_,B),F(B)}},V=()=>{var I,B;const{class:R}=n,{bordered:L=!0}=e,U=g(g(g({},at(e,["allowClear"])),n),{class:[{[`${p.value}-borderless`]:!L,[`${R}`]:R&&!S.value,[`${p.value}-sm`]:v.value==="small",[`${p.value}-lg`]:v.value==="large"},ar(p.value,u.value),h.value],disabled:y.value,showCount:null,prefixCls:p.value,onInput:D,onChange:D,onBlur:W,onKeydown:A,onCompositionstart:P,onCompositionend:M});return!((I=e.valueModifiers)===null||I===void 0)&&I.lazy&&delete U.onInput,i(q0e,H(H({},U),{},{id:(B=U==null?void 0:U.id)!==null&&B!==void 0?B:o.id.value,ref:s,maxlength:e.maxlength,lazy:e.lazy}),null)};return r({focus:T,blur:E,resizableTextArea:s}),Ve(()=>{let I=F2(d.value);!w.value&&O.value&&(e.value===null||e.value===void 0)&&(I=xG(I,e.maxlength)),f.value=I}),()=>{var I;const{maxlength:B,bordered:R=!0,hidden:L}=e,{style:U,class:Y}=n,k=g(g(g({},e),n),{prefixCls:p.value,inputType:"text",handleReset:N,direction:b.value,bordered:R,style:S.value?void 0:U,hashId:h.value,disabled:(I=e.disabled)!==null&&I!==void 0?I:y.value});let Z=i(V0e,H(H({},k),{},{value:f.value,status:e.status}),{element:V});if(S.value||c.hasFeedback){const K=[...f.value].length;let te="";typeof S.value=="object"?te=S.value.formatter({value:f.value,count:K,maxlength:B}):te=`${K}${O.value?` / ${B}`:""}`,Z=i("div",{hidden:L,class:re(`${p.value}-textarea`,{[`${p.value}-textarea-rtl`]:b.value==="rtl",[`${p.value}-textarea-show-count`]:S.value,[`${p.value}-textarea-in-form-item`]:c.isFormItemInput},`${p.value}-textarea-show-count`,Y,h.value),style:U,"data-count":typeof te!="object"?te:void 0},[Z,c.hasFeedback&&i("span",{class:`${p.value}-textarea-suffix`},[c.feedbackIcon])])}return m(Z)}}});var k0e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};function Bw(e){for(var t=1;te?i(ji,null,null):i($u,null,null),e3e=ee({compatConfig:{MODE:3},name:"AInputPassword",inheritAttrs:!1,props:g(g({},Su()),{prefixCls:String,inputPrefixCls:String,action:{type:String,default:"click"},visibilityToggle:{type:Boolean,default:!0},visible:{type:Boolean,default:void 0},"onUpdate:visible":Function,iconRender:Function}),setup(e,t){let{slots:n,attrs:r,expose:a,emit:l}=t;const o=q(!1),c=()=>{const{disabled:h}=e;h||(o.value=!o.value,l("update:visible",o.value))};Ve(()=>{e.visible!==void 0&&(o.value=!!e.visible)});const u=q();a({focus:()=>{var h;(h=u.value)===null||h===void 0||h.focus()},blur:()=>{var h;(h=u.value)===null||h===void 0||h.blur()}});const f=h=>{const{action:y,iconRender:S=n.iconRender||K0e}=e,O=J0e[y]||"",w=S(o.value),$={[O]:c,class:`${h}-icon`,key:"passwordIcon",onMousedown:x=>{x.preventDefault()},onMouseup:x=>{x.preventDefault()}};return mt(Wt(w)?w:i("span",null,[w]),$)},{prefixCls:p,getPrefixCls:v}=je("input-password",e),b=z(()=>v("input",e.inputPrefixCls)),m=()=>{const{size:h,visibilityToggle:y}=e,S=Z0e(e,["size","visibilityToggle"]),O=y&&f(p.value),w=re(p.value,r.class,{[`${p.value}-${h}`]:!!h}),$=g(g(g({},at(S,["suffix","iconRender","action"])),r),{type:o.value?"text":"password",class:w,prefixCls:b.value,suffix:O});return h&&($.size=h),i(Dt,H({ref:u},$),n)};return()=>m()}});Dt.Group=D0e;Dt.Search=B0e;Dt.TextArea=zG;Dt.Password=e3e;Dt.install=function(e){return e.component(Dt.name,Dt),e.component(Dt.Group.name,Dt.Group),e.component(Dt.Search.name,Dt.Search),e.component(Dt.TextArea.name,Dt.TextArea),e.component(Dt.Password.name,Dt.Password),e};function J3(){return{keyboard:{type:Boolean,default:void 0},mask:{type:Boolean,default:void 0},afterClose:Function,closable:{type:Boolean,default:void 0},maskClosable:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},destroyOnClose:{type:Boolean,default:void 0},mousePosition:G.shape({x:Number,y:Number}).loose,title:G.any,footer:G.any,transitionName:String,maskTransitionName:String,animation:G.any,maskAnimation:G.any,wrapStyle:{type:Object,default:void 0},bodyStyle:{type:Object,default:void 0},maskStyle:{type:Object,default:void 0},prefixCls:String,wrapClassName:String,rootClassName:String,width:[String,Number],height:[String,Number],zIndex:Number,bodyProps:G.any,maskProps:G.any,wrapProps:G.any,getContainer:G.any,dialogStyle:{type:Object,default:void 0},dialogClass:String,closeIcon:G.any,forceRender:{type:Boolean,default:void 0},getOpenCount:Function,focusTriggerAfterClose:{type:Boolean,default:void 0},onClose:Function,modalRender:Function}}function Lw(e,t,n){let r=t;return!r&&n&&(r=`${e}-${n}`),r}let Vw=-1;function t3e(){return Vw+=1,Vw}function Rw(e,t){let n=e[`page${t?"Y":"X"}Offset`];const r=`scroll${t?"Top":"Left"}`;if(typeof n!="number"){const a=e.document;n=a.documentElement[r],typeof n!="number"&&(n=a.body[r])}return n}function n3e(e){const t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,a=r.defaultView||r.parentWindow;return n.left+=Rw(a),n.top+=Rw(a,!0),n}const r3e={width:0,height:0,overflow:"hidden",outline:"none"},a3e={outline:"none"},l3e=ee({compatConfig:{MODE:3},name:"DialogContent",inheritAttrs:!1,props:g(g({},J3()),{motionName:String,ariaId:String,onVisibleChanged:Function,onMousedown:Function,onMouseup:Function}),setup(e,t){let{expose:n,slots:r,attrs:a}=t;const l=ne(),o=ne(),c=ne();n({focus:()=>{var p;(p=l.value)===null||p===void 0||p.focus({preventScroll:!0})},changeActive:p=>{const{activeElement:v}=document;p&&v===o.value?l.value.focus({preventScroll:!0}):!p&&v===l.value&&o.value.focus({preventScroll:!0})}});const u=ne(),d=z(()=>{const{width:p,height:v}=e,b={};return p!==void 0&&(b.width=typeof p=="number"?`${p}px`:p),v!==void 0&&(b.height=typeof v=="number"?`${v}px`:v),u.value&&(b.transformOrigin=u.value),b}),s=()=>{rt(()=>{if(c.value){const p=n3e(c.value);u.value=e.mousePosition?`${e.mousePosition.x-p.left}px ${e.mousePosition.y-p.top}px`:""}})},f=p=>{e.onVisibleChanged(p)};return()=>{var p,v,b,m;const{prefixCls:h,footer:y=(p=r.footer)===null||p===void 0?void 0:p.call(r),title:S=(v=r.title)===null||v===void 0?void 0:v.call(r),ariaId:O,closable:w,closeIcon:$=(b=r.closeIcon)===null||b===void 0?void 0:b.call(r),onClose:x,bodyStyle:P,bodyProps:M,onMousedown:j,onMouseup:T,visible:E,modalRender:F=r.modalRender,destroyOnClose:A,motionName:W}=e;let _;y&&(_=i("div",{class:`${h}-footer`},[y]));let N;S&&(N=i("div",{class:`${h}-header`},[i("div",{class:`${h}-title`,id:O},[S])]));let D;w&&(D=i("button",{type:"button",onClick:x,"aria-label":"Close",class:`${h}-close`},[$||i("span",{class:`${h}-close-x`},null)]));const V=i("div",{class:`${h}-content`},[D,N,i("div",H({class:`${h}-body`,style:P},M),[(m=r.default)===null||m===void 0?void 0:m.call(r)]),_]),I=Gr(W);return i(sn,H(H({},I),{},{onBeforeEnter:s,onAfterEnter:()=>f(!0),onAfterLeave:()=>f(!1)}),{default:()=>[E||!A?Vn(i("div",H(H({},a),{},{ref:c,key:"dialog-element",role:"document",style:[d.value,a.style],class:[h,a.class],onMousedown:j,onMouseup:T}),[i("div",{tabindex:0,ref:l,style:a3e},[F?F({originVNode:V}):V]),i("div",{tabindex:0,ref:o,style:r3e},null)]),[[lr,E]]):null]})}}}),o3e=ee({compatConfig:{MODE:3},name:"DialogMask",props:{prefixCls:String,visible:Boolean,motionName:String,maskProps:Object},setup(e,t){return()=>{const{prefixCls:n,visible:r,maskProps:a,motionName:l}=e,o=Gr(l);return i(sn,o,{default:()=>[Vn(i("div",H({class:`${n}-mask`},a),null),[[lr,r]])]})}}}),Ww=ee({compatConfig:{MODE:3},name:"VcDialog",inheritAttrs:!1,props:lt(g(g({},J3()),{getOpenCount:Function,scrollLocker:Object}),{mask:!0,visible:!1,keyboard:!0,closable:!0,maskClosable:!0,destroyOnClose:!1,prefixCls:"rc-dialog",getOpenCount:()=>null,focusTriggerAfterClose:!0}),setup(e,t){let{attrs:n,slots:r}=t;const a=q(),l=q(),o=q(),c=q(e.visible),u=q(`vcDialogTitle${t3e()}`),d=y=>{var S,O;if(y)la(l.value,document.activeElement)||(a.value=document.activeElement,(S=o.value)===null||S===void 0||S.focus());else{const w=c.value;if(c.value=!1,e.mask&&a.value&&e.focusTriggerAfterClose){try{a.value.focus({preventScroll:!0})}catch{}a.value=null}w&&((O=e.afterClose)===null||O===void 0||O.call(e))}},s=y=>{var S;(S=e.onClose)===null||S===void 0||S.call(e,y)},f=q(!1),p=q(),v=()=>{clearTimeout(p.value),f.value=!0},b=()=>{p.value=setTimeout(()=>{f.value=!1})},m=y=>{if(!e.maskClosable)return null;f.value?f.value=!1:l.value===y.target&&s(y)},h=y=>{if(e.keyboard&&y.keyCode===fe.ESC){y.stopPropagation(),s(y);return}e.visible&&y.keyCode===fe.TAB&&o.value.changeActive(!y.shiftKey)};return de(()=>e.visible,()=>{e.visible&&(c.value=!0)},{flush:"post"}),Xe(()=>{var y;clearTimeout(p.value),(y=e.scrollLocker)===null||y===void 0||y.unLock()}),Ve(()=>{var y,S;(y=e.scrollLocker)===null||y===void 0||y.unLock(),c.value&&((S=e.scrollLocker)===null||S===void 0||S.lock())}),()=>{const{prefixCls:y,mask:S,visible:O,maskTransitionName:w,maskAnimation:$,zIndex:x,wrapClassName:P,rootClassName:M,wrapStyle:j,closable:T,maskProps:E,maskStyle:F,transitionName:A,animation:W,wrapProps:_,title:N=r.title}=e,{style:D,class:V}=n;return i("div",H({class:[`${y}-root`,M]},ga(e,{data:!0})),[i(o3e,{prefixCls:y,visible:S&&O,motionName:Lw(y,w,$),style:g({zIndex:x},F),maskProps:E},null),i("div",H({tabIndex:-1,onKeydown:h,class:re(`${y}-wrap`,P),ref:l,onClick:m,role:"dialog","aria-labelledby":N?u.value:null,style:g(g({zIndex:x},j),{display:c.value?null:"none"})},_),[i(l3e,H(H({},at(e,["scrollLocker"])),{},{style:D,class:V,onMousedown:v,onMouseup:b,ref:o,closable:T,ariaId:u.value,prefixCls:y,visible:O,onClose:s,onVisibleChanged:d,motionName:Lw(y,A,W)}),r)])])}}}),i3e=J3(),c3e=ee({compatConfig:{MODE:3},name:"DialogWrap",inheritAttrs:!1,props:lt(i3e,{visible:!1}),setup(e,t){let{attrs:n,slots:r}=t;const a=ne(e.visible);return D0({},{inTriggerContext:!1}),de(()=>e.visible,()=>{e.visible&&(a.value=!0)},{flush:"post"}),()=>{const{visible:l,getContainer:o,forceRender:c,destroyOnClose:u=!1,afterClose:d}=e;let s=g(g(g({},e),n),{ref:"_component",key:"dialog"});return o===!1?i(Ww,H(H({},s),{},{getOpenCount:()=>2}),r):!c&&u&&!a.value?null:i(F0,{autoLock:!0,visible:l,forceRender:c,getContainer:o},{default:f=>(s=g(g(g({},s),f),{afterClose:()=>{d==null||d(),a.value=!1}}),i(Ww,s,r))})}}});var u3e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"};function Gw(e){for(var t=1;t{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}${e.antCls}-zoom-enter, ${t}${e.antCls}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${e.antCls}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:g(g({},Yw("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:g(g({},Yw("fixed")),{overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:ale(e)}]},O3e=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap`]:{zIndex:e.zIndexPopupBase,position:"fixed",inset:0,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"},[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax})`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${e.marginXS} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:g(g({},tt(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${e.margin*2}px)`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.modalHeadingColor,fontWeight:e.fontWeightStrong,fontSize:e.modalHeaderTitleFontSize,lineHeight:e.modalHeaderTitleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.modalContentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadowSecondary,pointerEvents:"auto",padding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`},[`${t}-close`]:g({position:"absolute",top:(e.modalHeaderCloseSize-e.modalCloseBtnSize)/2,insetInlineEnd:(e.modalHeaderCloseSize-e.modalCloseBtnSize)/2,zIndex:e.zIndexPopupBase+10,padding:0,color:e.modalCloseColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalConfirmIconSize,height:e.modalConfirmIconSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"block",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${e.modalCloseBtnSize}px`,textAlign:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.wireframe?"transparent":e.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:e.wireframe?"transparent":e.colorFillContentHover}},Wr(e)),[`${t}-header`]:{color:e.colorText,background:e.modalHeaderBg,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,marginBottom:e.marginXS},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word"},[`${t}-footer`]:{textAlign:"end",background:e.modalFooterBg,marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn:not(${e.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content, + ${t}-body, + ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},S3e=e=>{const{componentCls:t}=e,n=`${t}-confirm`;return{[n]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${n}-body-wrapper`]:g({},cr()),[`${n}-body`]:{display:"flex",flexWrap:"wrap",alignItems:"center",[`${n}-title`]:{flex:"0 0 100%",display:"block",overflow:"hidden",color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.modalHeaderTitleFontSize,lineHeight:e.modalHeaderTitleLineHeight,[`+ ${n}-content`]:{marginBlockStart:e.marginXS,flexBasis:"100%",maxWidth:`calc(100% - ${e.modalConfirmIconSize+e.marginSM}px)`}},[`${n}-content`]:{color:e.colorText,fontSize:e.fontSize},[`> ${e.iconCls}`]:{flex:"none",marginInlineEnd:e.marginSM,fontSize:e.modalConfirmIconSize,[`+ ${n}-title`]:{flex:1},[`+ ${n}-title + ${n}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.marginSM}}},[`${n}-btns`]:{textAlign:"end",marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${n}-error ${n}-body > ${e.iconCls}`]:{color:e.colorError},[`${n}-warning ${n}-body > ${e.iconCls}, + ${n}-confirm ${n}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${n}-info ${n}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${n}-success ${n}-body > ${e.iconCls}`]:{color:e.colorSuccess},[`${t}-zoom-leave ${t}-btns`]:{pointerEvents:"none"}}},$3e=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},w3e=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-confirm`;return{[t]:{[`${t}-content`]:{padding:0},[`${t}-header`]:{padding:e.modalHeaderPadding,borderBottom:`${e.modalHeaderBorderWidth}px ${e.modalHeaderBorderStyle} ${e.modalHeaderBorderColorSplit}`,marginBottom:0},[`${t}-body`]:{padding:e.modalBodyPadding},[`${t}-footer`]:{padding:`${e.modalFooterPaddingVertical}px ${e.modalFooterPaddingHorizontal}px`,borderTop:`${e.modalFooterBorderWidth}px ${e.modalFooterBorderStyle} ${e.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`,marginTop:0}},[r]:{[`${n}-modal-body`]:{padding:`${e.padding*2}px ${e.padding*2}px ${e.paddingLG}px`},[`${r}-body`]:{[`> ${e.iconCls}`]:{marginInlineEnd:e.margin,[`+ ${r}-title + ${r}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.margin}}},[`${r}-btns`]:{marginTop:e.marginLG}}}},P3e=Je("Modal",e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5,a=Ge(e,{modalBodyPadding:e.paddingLG,modalHeaderBg:e.colorBgElevated,modalHeaderPadding:`${t}px ${e.paddingLG}px`,modalHeaderBorderWidth:e.lineWidth,modalHeaderBorderStyle:e.lineType,modalHeaderTitleLineHeight:r,modalHeaderTitleFontSize:n,modalHeaderBorderColorSplit:e.colorSplit,modalHeaderCloseSize:r*n+t*2,modalContentBg:e.colorBgElevated,modalHeadingColor:e.colorTextHeading,modalCloseColor:e.colorTextDescription,modalFooterBg:"transparent",modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterPaddingVertical:e.paddingXS,modalFooterPaddingHorizontal:e.padding,modalFooterBorderWidth:e.lineWidth,modalConfirmTitleFontSize:e.fontSizeLG,modalIconHoverColor:e.colorIconHover,modalConfirmIconSize:e.fontSize*e.lineHeight,modalCloseBtnSize:e.controlHeightLG*.55});return[O3e(a),S3e(a),$3e(a),y3e(a),e.wireframe&&w3e(a),pi(a,"zoom")]});var C3e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};function Qw(e){for(var t=1;tNumber.MAX_SAFE_INTEGER)return String(B2()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(eNumber.MAX_SAFE_INTEGER)return new _a(Number.MAX_SAFE_INTEGER);if(r0&&arguments[0]!==void 0?arguments[0]:!0)?this.isInvalidate()?"":l8(this.number):this.origin}}class Pl{constructor(t){if(this.origin="",MG(t)){this.empty=!0;return}if(this.origin=String(t),t==="-"||Number.isNaN(t)){this.nan=!0;return}let n=t;if(a8(n)&&(n=Number(n)),n=typeof n=="string"?n:l8(n),o8(n)){const r=Vo(n);this.negative=r.negative;const a=r.trimStr.split(".");this.integer=BigInt(a[0]);const l=a[1]||"0";this.decimal=BigInt(l),this.decimalLen=l.length}else this.nan=!0}getMark(){return this.negative?"-":""}getIntegerStr(){return this.integer.toString()}getDecimalStr(){return this.decimal.toString().padStart(this.decimalLen,"0")}alignDecimal(t){const n=`${this.getMark()}${this.getIntegerStr()}${this.getDecimalStr().padEnd(t,"0")}`;return BigInt(n)}negate(){const t=new Pl(this.toString());return t.negative=!t.negative,t}add(t){if(this.isInvalidate())return new Pl(t);const n=new Pl(t);if(n.isInvalidate())return this;const r=Math.max(this.getDecimalStr().length,n.getDecimalStr().length),a=this.alignDecimal(r),l=n.alignDecimal(r),o=(a+l).toString(),{negativeStr:c,trimStr:u}=Vo(o),d=`${c}${u.padStart(r+1,"0")}`;return new Pl(`${d.slice(0,-r)}.${d.slice(-r)}`)}isEmpty(){return this.empty}isNaN(){return this.nan}isInvalidate(){return this.isEmpty()||this.isNaN()}equals(t){return this.toString()===(t==null?void 0:t.toString())}lessEquals(t){return this.add(t.negate().toString()).toNumber()<=0}toNumber(){return this.isNaN()?NaN:Number(this.toString())}toString(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0)?this.isInvalidate()?"":Vo(`${this.getMark()}${this.getIntegerStr()}.${this.getDecimalStr()}`).fullStr:this.origin}}function vr(e){return B2()?new Pl(e):new _a(e)}function N2(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";const{negativeStr:a,integerStr:l,decimalStr:o}=Vo(e),c=`${t}${o}`,u=`${a}${l}`;if(n>=0){const d=Number(o[n]);if(d>=5&&!r){const s=vr(e).add(`${a}0.${"0".repeat(n)}${10-d}`);return N2(s.toString(),t,n,r)}return n===0?u:`${u}${t}${o.padEnd(n,"0").slice(0,n)}`}return c===".0"?u:`${u}${c}`}const z3e=200,M3e=600,j3e=ee({compatConfig:{MODE:3},name:"StepHandler",inheritAttrs:!1,props:{prefixCls:String,upDisabled:Boolean,downDisabled:Boolean,onStep:ce()},slots:Object,setup(e,t){let{slots:n,emit:r}=t;const a=ne(),l=(c,u)=>{c.preventDefault(),r("step",u);function d(){r("step",u),a.value=setTimeout(d,z3e)}a.value=setTimeout(d,M3e)},o=()=>{clearTimeout(a.value)};return Xe(()=>{o()}),()=>{if(L0())return null;const{prefixCls:c,upDisabled:u,downDisabled:d}=e,s=`${c}-handler`,f=re(s,`${s}-up`,{[`${s}-up-disabled`]:u}),p=re(s,`${s}-down`,{[`${s}-down-disabled`]:d}),v={unselectable:"on",role:"button",onMouseup:o,onMouseleave:o},{upNode:b,downNode:m}=n;return i("div",{class:`${s}-wrap`},[i("span",H(H({},v),{},{onMousedown:h=>{l(h,!0)},"aria-label":"Increase Value","aria-disabled":u,class:f}),[(b==null?void 0:b())||i("span",{unselectable:"on",class:`${c}-handler-up-inner`},null)]),i("span",H(H({},v),{},{onMousedown:h=>{l(h,!1)},"aria-label":"Decrease Value","aria-disabled":d,class:p}),[(m==null?void 0:m())||i("span",{unselectable:"on",class:`${c}-handler-down-inner`},null)])])}}});function T3e(e,t){const n=ne(null);function r(){try{const{selectionStart:l,selectionEnd:o,value:c}=e.value,u=c.substring(0,l),d=c.substring(o);n.value={start:l,end:o,value:c,beforeTxt:u,afterTxt:d}}catch{}}function a(){if(e.value&&n.value&&t.value)try{const{value:l}=e.value,{beforeTxt:o,afterTxt:c,start:u}=n.value;let d=l.length;if(l.endsWith(c))d=l.length-n.value.afterTxt.length;else if(l.startsWith(o))d=o.length;else{const s=o[u-1],f=l.indexOf(s,u-1);f!==-1&&(d=f+1)}e.value.setSelectionRange(d,d)}catch(l){`${l.message}`}}return[r,a]}const _3e=()=>{const e=q(0),t=()=>{Re.cancel(e.value)};return Xe(()=>{t()}),n=>{t(),e.value=Re(()=>{n()})}};var E3e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ae||t.isEmpty()?t.toString():t.toNumber(),Jw=e=>{const t=vr(e);return t.isInvalidate()?null:t},jG=()=>({stringMode:$e(),defaultValue:Ye([String,Number]),value:Ye([String,Number]),prefixCls:Le(),min:Ye([String,Number]),max:Ye([String,Number]),step:Ye([String,Number],1),tabindex:Number,controls:$e(!0),readonly:$e(),disabled:$e(),autofocus:$e(),keyboard:$e(!0),parser:ce(),formatter:ce(),precision:Number,decimalSeparator:String,onInput:ce(),onChange:ce(),onPressEnter:ce(),onStep:ce(),onBlur:ce(),onFocus:ce()}),H3e=ee({compatConfig:{MODE:3},name:"InnerInputNumber",inheritAttrs:!1,props:g(g({},jG()),{lazy:Boolean}),slots:Object,setup(e,t){let{attrs:n,slots:r,emit:a,expose:l}=t;const o=q(),c=q(!1),u=q(!1),d=q(!1),s=q(vr(e.value));function f(L){e.value===void 0&&(s.value=L)}const p=(L,U)=>{if(!U)return e.precision>=0?e.precision:Math.max(ni(L),ni(e.step))},v=L=>{const U=String(L);if(e.parser)return e.parser(U);let Y=U;return e.decimalSeparator&&(Y=Y.replace(e.decimalSeparator,".")),Y.replace(/[^\w.-]+/g,"")},b=q(""),m=(L,U)=>{if(e.formatter)return e.formatter(L,{userTyping:U,input:String(b.value)});let Y=typeof L=="number"?l8(L):L;if(!U){const k=p(Y,U);if(o8(Y)&&(e.decimalSeparator||k>=0)){const Z=e.decimalSeparator||".";Y=N2(Y,Z,k)}}return Y},h=(()=>{const L=e.value;return s.value.isInvalidate()&&["string","number"].includes(typeof L)?Number.isNaN(L)?"":L:m(s.value.toString(),!1)})();b.value=h;function y(L,U){b.value=m(L.isInvalidate()?L.toString(!1):L.toString(!U),U)}const S=z(()=>Jw(e.max)),O=z(()=>Jw(e.min)),w=z(()=>!S.value||!s.value||s.value.isInvalidate()?!1:S.value.lessEquals(s.value)),$=z(()=>!O.value||!s.value||s.value.isInvalidate()?!1:s.value.lessEquals(O.value)),[x,P]=T3e(o,c),M=L=>S.value&&!L.lessEquals(S.value)?S.value:O.value&&!O.value.lessEquals(L)?O.value:null,j=L=>!M(L),T=(L,U)=>{var Y;let k=L,Z=j(k)||k.isEmpty();if(!k.isEmpty()&&!U&&(k=M(k)||k,Z=!0),!e.readonly&&!e.disabled&&Z){const K=k.toString(),te=p(K,U);return te>=0&&(k=vr(N2(K,".",te))),k.equals(s.value)||(f(k),(Y=e.onChange)===null||Y===void 0||Y.call(e,k.isEmpty()?null:Zw(e.stringMode,k)),e.value===void 0&&y(k,U)),k}return s.value},E=_3e(),F=L=>{var U;if(x(),b.value=L,!d.value){const Y=v(L),k=vr(Y);k.isNaN()||T(k,!0)}(U=e.onInput)===null||U===void 0||U.call(e,L),E(()=>{let Y=L;e.parser||(Y=L.replace(/。/g,".")),Y!==L&&F(Y)})},A=()=>{d.value=!0},W=()=>{d.value=!1,F(o.value.value)},_=L=>{F(L.target.value)},N=L=>{var U,Y;if(L&&w.value||!L&&$.value)return;u.value=!1;let k=vr(e.step);L||(k=k.negate());const Z=(s.value||vr(0)).add(k.toString()),K=T(Z,!1);(U=e.onStep)===null||U===void 0||U.call(e,Zw(e.stringMode,K),{offset:e.step,type:L?"up":"down"}),(Y=o.value)===null||Y===void 0||Y.focus()},D=L=>{const U=vr(v(b.value));let Y=U;U.isNaN()?Y=s.value:Y=T(U,L),e.value!==void 0?y(s.value,!1):Y.isNaN()||y(Y,!1)},V=()=>{u.value=!0},I=L=>{var U;const{which:Y}=L;u.value=!0,Y===fe.ENTER&&(d.value||(u.value=!1),D(!1),(U=e.onPressEnter)===null||U===void 0||U.call(e,L)),e.keyboard!==!1&&!d.value&&[fe.UP,fe.DOWN].includes(Y)&&(N(fe.UP===Y),L.preventDefault())},B=()=>{u.value=!1},R=L=>{D(!1),c.value=!1,u.value=!1,a("blur",L)};return de(()=>e.precision,()=>{s.value.isInvalidate()||y(s.value,!1)},{flush:"post"}),de(()=>e.value,()=>{const L=vr(e.value);s.value=L;const U=vr(v(b.value));(!L.equals(U)||!u.value||e.formatter)&&y(L,u.value)},{flush:"post"}),de(b,()=>{e.formatter&&P()},{flush:"post"}),de(()=>e.disabled,L=>{L&&(c.value=!1)}),l({focus:()=>{var L;(L=o.value)===null||L===void 0||L.focus()},blur:()=>{var L;(L=o.value)===null||L===void 0||L.blur()}}),()=>{const L=g(g({},n),e),{prefixCls:U="rc-input-number",min:Y,max:k,step:Z=1,defaultValue:K,value:te,disabled:J,readonly:X,keyboard:Q,controls:oe=!0,autofocus:ue,stringMode:ye,parser:Oe,formatter:pe,precision:we,decimalSeparator:se,onChange:ie,onInput:he,onPressEnter:Ce,onStep:Pe,lazy:xe,class:Be,style:le}=L,ae=E3e(L,["prefixCls","min","max","step","defaultValue","value","disabled","readonly","keyboard","controls","autofocus","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","lazy","class","style"]),{upHandler:me,downHandler:Te}=r,_e=`${U}-input`,De={};return xe?De.onChange=_:De.onInput=_,i("div",{class:re(U,Be,{[`${U}-focused`]:c.value,[`${U}-disabled`]:J,[`${U}-readonly`]:X,[`${U}-not-a-number`]:s.value.isNaN(),[`${U}-out-of-range`]:!s.value.isInvalidate()&&!j(s.value)}),style:le,onKeydown:I,onKeyup:B},[oe&&i(j3e,{prefixCls:U,upDisabled:w.value,downDisabled:$.value,onStep:N},{upNode:me,downNode:Te}),i("div",{class:`${_e}-wrap`},[i("input",H(H(H({autofocus:ue,autocomplete:"off",role:"spinbutton","aria-valuemin":Y,"aria-valuemax":k,"aria-valuenow":s.value.isInvalidate()?null:s.value.toString(),step:Z},ae),{},{ref:o,class:_e,value:b.value,disabled:J,readonly:X,onFocus:ve=>{c.value=!0,a("focus",ve)}},De),{},{onBlur:R,onCompositionstart:A,onCompositionend:W,onBeforeinput:V}),null)])])}}});function Zs(e){return e!=null}const A3e=e=>{const{componentCls:t,lineWidth:n,lineType:r,colorBorder:a,borderRadius:l,fontSizeLG:o,controlHeightLG:c,controlHeightSM:u,colorError:d,inputPaddingHorizontalSM:s,colorTextDescription:f,motionDurationMid:p,colorPrimary:v,controlHeight:b,inputPaddingHorizontal:m,colorBgContainer:h,colorTextDisabled:y,borderRadiusSM:S,borderRadiusLG:O,controlWidth:w,handleVisible:$}=e;return[{[t]:g(g(g(g({},tt(e)),so(e)),du(e,t)),{display:"inline-block",width:w,margin:0,padding:0,border:`${n}px ${r} ${a}`,borderRadius:l,"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:o,borderRadius:O,[`input${t}-input`]:{height:c-2*n}},"&-sm":{padding:0,borderRadius:S,[`input${t}-input`]:{height:u-2*n,padding:`0 ${s}px`}},"&:hover":g({},uo(e)),"&-focused":g({},Ga(e)),"&-disabled":g(g({},iW(e)),{[`${t}-input`]:{cursor:"not-allowed"}}),"&-out-of-range":{input:{color:d}},"&-group":g(g(g({},tt(e)),uW(e)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:O}},"&-sm":{[`${t}-group-addon`]:{borderRadius:S}}}}),[t]:{"&-input":g(g({width:"100%",height:b-2*n,padding:`0 ${m}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:l,outline:0,transition:`all ${p} linear`,appearance:"textfield",color:e.colorText,fontSize:"inherit",verticalAlign:"top"},oW(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[t]:{[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{opacity:1},[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleWidth,height:"100%",background:h,borderStartStartRadius:0,borderStartEndRadius:l,borderEndEndRadius:l,borderEndStartRadius:0,opacity:$===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${p} linear ${p}`,[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` + ${t}-handler-up-inner, + ${t}-handler-down-inner + `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:f,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${n}px ${r} ${a}`,transition:`all ${p} linear`,"&:active":{background:e.colorFillAlter},"&:hover":{height:"60%",[` + ${t}-handler-up-inner, + ${t}-handler-down-inner + `]:{color:v}},"&-up-inner, &-down-inner":g(g({},oi()),{color:f,transition:`all ${p} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:l},[`${t}-handler-down`]:{borderBlockStart:`${n}px ${r} ${a}`,borderEndEndRadius:l},"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[` + ${t}-handler-up-disabled, + ${t}-handler-down-disabled + `]:{cursor:"not-allowed"},[` + ${t}-handler-up-disabled:hover &-handler-up-inner, + ${t}-handler-down-disabled:hover &-handler-down-inner + `]:{color:y}}},{[`${t}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${t}-handler-down`]:{borderBlockStartWidth:0}}}]},I3e=e=>{const{componentCls:t,inputPaddingHorizontal:n,inputAffixPadding:r,controlWidth:a,borderRadiusLG:l,borderRadiusSM:o}=e;return{[`${t}-affix-wrapper`]:g(g(g({},so(e)),du(e,`${t}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:a,padding:0,paddingInlineStart:n,"&-lg":{borderRadius:l},"&-sm":{borderRadius:o},[`&:not(${t}-affix-wrapper-disabled):hover`]:g(g({},uo(e)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},[`input${t}-input`]:{padding:0},"&::before":{width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:r},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:n,marginInlineStart:r}}})}},D3e=Je("InputNumber",e=>{const t=$i(e);return[A3e(t),I3e(t),vi(t)]},e=>({controlWidth:90,handleWidth:e.controlHeightSM-e.lineWidth*2,handleFontSize:e.fontSize/2,handleVisible:"auto"}));var F3e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ag(g({},Kw),{size:Le(),bordered:$e(!0),placeholder:String,name:String,id:String,type:String,addonBefore:G.any,addonAfter:G.any,prefix:G.any,"onUpdate:value":Kw.onChange,valueModifiers:Object,status:Le()}),Js=ee({compatConfig:{MODE:3},name:"AInputNumber",inheritAttrs:!1,props:B3e(),slots:Object,setup(e,t){let{emit:n,expose:r,attrs:a,slots:l}=t;var o;const c=en(),u=Tn.useInject(),d=z(()=>el(u.status,e.status)),{prefixCls:s,size:f,direction:p,disabled:v}=je("input-number",e),{compactSize:b,compactItemClassnames:m}=oo(s,p),h=Rn(),y=z(()=>{var A;return(A=v.value)!==null&&A!==void 0?A:h.value}),[S,O]=D3e(s),w=z(()=>b.value||f.value),$=q((o=e.value)!==null&&o!==void 0?o:e.defaultValue),x=q(!1);de(()=>e.value,()=>{$.value=e.value});const P=q(null),M=()=>{var A;(A=P.value)===null||A===void 0||A.focus()};r({focus:M,blur:()=>{var A;(A=P.value)===null||A===void 0||A.blur()}});const T=A=>{e.value===void 0&&($.value=A),n("update:value",A),n("change",A),c.onFieldChange()},E=A=>{x.value=!1,n("blur",A),c.onFieldBlur()},F=A=>{x.value=!0,n("focus",A)};return()=>{var A,W,_,N;const{hasFeedback:D,isFormItemInput:V,feedbackIcon:I}=u,B=(A=e.id)!==null&&A!==void 0?A:c.id.value,R=g(g(g({},a),e),{id:B,disabled:y.value}),{class:L,bordered:U,readonly:Y,style:k,addonBefore:Z=(W=l.addonBefore)===null||W===void 0?void 0:W.call(l),addonAfter:K=(_=l.addonAfter)===null||_===void 0?void 0:_.call(l),prefix:te=(N=l.prefix)===null||N===void 0?void 0:N.call(l),valueModifiers:J={}}=R,X=F3e(R,["class","bordered","readonly","style","addonBefore","addonAfter","prefix","valueModifiers"]),Q=s.value,oe=re({[`${Q}-lg`]:w.value==="large",[`${Q}-sm`]:w.value==="small",[`${Q}-rtl`]:p.value==="rtl",[`${Q}-readonly`]:Y,[`${Q}-borderless`]:!U,[`${Q}-in-form-item`]:V},ar(Q,d.value),L,m.value,O.value);let ue=i(H3e,H(H({},at(X,["size","defaultValue"])),{},{ref:P,lazy:!!J.lazy,value:$.value,class:oe,prefixCls:Q,readonly:Y,onChange:T,onBlur:E,onFocus:F}),{upHandler:l.upIcon?()=>i("span",{class:`${Q}-handler-up-inner`},[l.upIcon()]):()=>i(wu,{class:`${Q}-handler-up-inner`},null),downHandler:l.downIcon?()=>i("span",{class:`${Q}-handler-down-inner`},[l.downIcon()]):()=>i(Ja,{class:`${Q}-handler-down-inner`},null)});const ye=Zs(Z)||Zs(K),Oe=Zs(te);if(Oe||D){const pe=re(`${Q}-affix-wrapper`,ar(`${Q}-affix-wrapper`,d.value,D),{[`${Q}-affix-wrapper-focused`]:x.value,[`${Q}-affix-wrapper-disabled`]:y.value,[`${Q}-affix-wrapper-sm`]:w.value==="small",[`${Q}-affix-wrapper-lg`]:w.value==="large",[`${Q}-affix-wrapper-rtl`]:p.value==="rtl",[`${Q}-affix-wrapper-readonly`]:Y,[`${Q}-affix-wrapper-borderless`]:!U,[`${L}`]:!ye&&L},O.value);ue=i("div",{class:pe,style:k,onClick:M},[Oe&&i("span",{class:`${Q}-prefix`},[te]),ue,D&&i("span",{class:`${Q}-suffix`},[I])])}if(ye){const pe=`${Q}-group`,we=`${pe}-addon`,se=Z?i("div",{class:we},[Z]):null,ie=K?i("div",{class:we},[K]):null,he=re(`${Q}-wrapper`,pe,{[`${pe}-rtl`]:p.value==="rtl"},O.value),Ce=re(`${Q}-group-wrapper`,{[`${Q}-group-wrapper-sm`]:w.value==="small",[`${Q}-group-wrapper-lg`]:w.value==="large",[`${Q}-group-wrapper-rtl`]:p.value==="rtl"},ar(`${s}-group-wrapper`,d.value,D),L,O.value);ue=i("div",{class:Ce,style:k},[i("div",{class:he},[se&&i(Ko,null,{default:()=>[i(l1,null,{default:()=>[se]})]}),ue,ie&&i(Ko,null,{default:()=>[i(l1,null,{default:()=>[ie]})]})])])}return S(mt(ue,{style:k}))}}}),hLe=g(Js,{install:e=>(e.component(Js.name,Js),e)}),N3e=e=>{const{componentCls:t,colorBgContainer:n,colorBgBody:r,colorText:a}=e;return{[`${t}-sider-light`]:{background:n,[`${t}-sider-trigger`]:{color:a,background:n},[`${t}-sider-zero-width-trigger`]:{color:a,background:n,border:`1px solid ${r}`,borderInlineStart:0}}}},L3e=e=>{const{antCls:t,componentCls:n,colorText:r,colorTextLightSolid:a,colorBgHeader:l,colorBgBody:o,colorBgTrigger:c,layoutHeaderHeight:u,layoutHeaderPaddingInline:d,layoutHeaderColor:s,layoutFooterPadding:f,layoutTriggerHeight:p,layoutZeroTriggerSize:v,motionDurationMid:b,motionDurationSlow:m,fontSize:h,borderRadius:y}=e;return{[n]:g(g({display:"flex",flex:"auto",flexDirection:"column",color:r,minHeight:0,background:o,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},[`${n}-header`]:{height:u,paddingInline:d,color:s,lineHeight:`${u}px`,background:l,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:f,color:r,fontSize:h,background:o},[`${n}-content`]:{flex:"auto",minHeight:0},[`${n}-sider`]:{position:"relative",minWidth:0,background:l,transition:`all ${b}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:p},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:p,color:a,lineHeight:`${p}px`,textAlign:"center",background:c,cursor:"pointer",transition:`all ${b}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:u,insetInlineEnd:-v,zIndex:1,width:v,height:v,color:a,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:l,borderStartStartRadius:0,borderStartEndRadius:y,borderEndEndRadius:y,borderEndStartRadius:0,cursor:"pointer",transition:`background ${m} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${m}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-v,borderStartStartRadius:y,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:y}}}}},N3e(e)),{"&-rtl":{direction:"rtl"}})}},V3e=Je("Layout",e=>{const{colorText:t,controlHeightSM:n,controlHeight:r,controlHeightLG:a,marginXXS:l}=e,o=a*1.25,c=Ge(e,{layoutHeaderHeight:r*2,layoutHeaderPaddingInline:o,layoutHeaderColor:t,layoutFooterPadding:`${n}px ${o}px`,layoutTriggerHeight:a+l*2,layoutZeroTriggerSize:a});return[L3e(c)]},e=>{const{colorBgLayout:t}=e;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140"}}),i8=()=>({prefixCls:String,hasSider:{type:Boolean,default:void 0},tagName:String});function Pu(e){let{suffixCls:t,tagName:n,name:r}=e;return a=>ee({compatConfig:{MODE:3},name:r,props:i8(),setup(o,c){let{slots:u}=c;const{prefixCls:d}=je(t,o);return()=>{const s=g(g({},o),{prefixCls:d.value,tagName:n});return i(a,s,u)}}})}const c8=ee({compatConfig:{MODE:3},props:i8(),setup(e,t){let{slots:n}=t;return()=>i(e.tagName,{class:e.prefixCls},n)}}),R3e=ee({compatConfig:{MODE:3},inheritAttrs:!1,props:i8(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:a,direction:l}=je("",e),[o,c]=V3e(a),u=ne([]);qe(bR,{addSider:f=>{u.value=[...u.value,f]},removeSider:f=>{u.value=u.value.filter(p=>p!==f)}});const s=z(()=>{const{prefixCls:f,hasSider:p}=e;return{[c.value]:!0,[`${f}`]:!0,[`${f}-has-sider`]:typeof p=="boolean"?p:u.value.length>0,[`${f}-rtl`]:l.value==="rtl"}});return()=>{const{tagName:f}=e;return o(i(f,g(g({},r),{class:[s.value,r.class]}),n))}}}),Ks=Pu({suffixCls:"layout",tagName:"section",name:"ALayout"})(R3e),Ic=Pu({suffixCls:"layout-header",tagName:"header",name:"ALayoutHeader"})(c8),Dc=Pu({suffixCls:"layout-footer",tagName:"footer",name:"ALayoutFooter"})(c8),Fc=Pu({suffixCls:"layout-content",tagName:"main",name:"ALayoutContent"})(c8);var W3e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};function eP(e){for(var t=1;t({prefixCls:String,collapsible:{type:Boolean,default:void 0},collapsed:{type:Boolean,default:void 0},defaultCollapsed:{type:Boolean,default:void 0},reverseArrow:{type:Boolean,default:void 0},zeroWidthTriggerStyle:{type:Object,default:void 0},trigger:G.any,width:G.oneOfType([G.number,G.string]),collapsedWidth:G.oneOfType([G.number,G.string]),breakpoint:G.oneOf(dn("xs","sm","md","lg","xl","xxl","xxxl")),theme:G.oneOf(dn("light","dark")).def("dark"),onBreakpoint:Function,onCollapse:Function}),q3e=(()=>{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),Bc=ee({compatConfig:{MODE:3},name:"ALayoutSider",inheritAttrs:!1,props:lt(U3e(),{collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80}),emits:["breakpoint","update:collapsed","collapse"],setup(e,t){let{emit:n,attrs:r,slots:a}=t;const{prefixCls:l}=je("layout-sider",e),o=Ue(bR,void 0),c=q(!!(e.collapsed!==void 0?e.collapsed:e.defaultCollapsed)),u=q(!1);de(()=>e.collapsed,()=>{c.value=!!e.collapsed}),qe(hR,c);const d=(m,h)=>{e.collapsed===void 0&&(c.value=m),n("update:collapsed",m),n("collapse",m,h)},s=q(m=>{u.value=m.matches,n("breakpoint",m.matches),c.value!==m.matches&&d(m.matches,"responsive")});let f;function p(m){return s.value(m)}const v=q3e("ant-sider-");o&&o.addSider(v),We(()=>{de(()=>e.breakpoint,()=>{try{f==null||f.removeEventListener("change",p)}catch{f==null||f.removeListener(p)}if(typeof window<"u"){const{matchMedia:m}=window;if(m&&e.breakpoint&&e.breakpoint in tP){f=m(`(max-width: ${tP[e.breakpoint]})`);try{f.addEventListener("change",p)}catch{f.addListener(p)}p(f)}}},{immediate:!0})}),Xe(()=>{try{f==null||f.removeEventListener("change",p)}catch{f==null||f.removeListener(p)}o&&o.removeSider(v)});const b=()=>{d(!c.value,"clickTrigger")};return()=>{var m,h;const y=l.value,{collapsedWidth:S,width:O,reverseArrow:w,zeroWidthTriggerStyle:$,trigger:x=(m=a.trigger)===null||m===void 0?void 0:m.call(a),collapsible:P,theme:M}=e,j=c.value?S:O,T=n2(j)?`${j}px`:String(j),E=parseFloat(String(S||0))===0?i("span",{onClick:b,class:re(`${y}-zero-width-trigger`,`${y}-zero-width-trigger-${w?"right":"left"}`),style:$},[x||i(Cu,null,null)]):null,F={expanded:w?i(qr,null,null):i(Ua,null,null),collapsed:w?i(Ua,null,null):i(qr,null,null)},A=c.value?"collapsed":"expanded",W=F[A],_=x!==null?E||i("div",{class:`${y}-trigger`,onClick:b,style:{width:T}},[x||W]):null,N=[r.style,{flex:`0 0 ${T}`,maxWidth:T,minWidth:T,width:T}],D=re(y,`${y}-${M}`,{[`${y}-collapsed`]:!!c.value,[`${y}-has-trigger`]:P&&x!==null&&!E,[`${y}-below`]:!!u.value,[`${y}-zero-width`]:parseFloat(T)===0},r.class);return i("aside",H(H({},r),{},{class:D,style:N}),[i("div",{class:`${y}-children`},[(h=a.default)===null||h===void 0?void 0:h.call(a)]),P||u.value&&E?_:null])}}}),bLe=Ic,yLe=Dc,OLe=Bc,SLe=Fc,$Le=g(Ks,{Header:Ic,Footer:Dc,Content:Fc,Sider:Bc,install:e=>(e.component(Ks.name,Ks),e.component(Ic.name,Ic),e.component(Dc.name,Dc),e.component(Bc.name,Bc),e.component(Fc.name,Fc),e)});function k3e(e,t,n){var r=n||{},a=r.noTrailing,l=a===void 0?!1:a,o=r.noLeading,c=o===void 0?!1:o,u=r.debounceMode,d=u===void 0?void 0:u,s,f=!1,p=0;function v(){s&&clearTimeout(s)}function b(h){var y=h||{},S=y.upcomingOnly,O=S===void 0?!1:S;v(),f=!O}function m(){for(var h=arguments.length,y=new Array(h),S=0;Se?c?(p=Date.now(),l||(s=setTimeout(d?x:$,e))):$():l!==!0&&(s=setTimeout(d?x:$,d===void 0?e-w:e))}return m.cancel=b,m}function X3e(e,t,n){var r={},a=r.atBegin,l=a===void 0?!1:a;return k3e(e,t,{debounceMode:l!==!1})}const Y3e=new Ze("antSpinMove",{to:{opacity:1}}),Q3e=new Ze("antRotate",{to:{transform:"rotate(405deg)"}}),Z3e=e=>({[`${e.componentCls}`]:g(g({},tt(e)),{position:"absolute",display:"none",color:e.colorPrimary,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${e.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${e.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-e.spinDotSize/2},[`${e.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(e.spinDotSize-e.fontSize)/2+2,textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSize/2)-10},"&-sm":{[`${e.componentCls}-dot`]:{margin:-e.spinDotSizeSM/2},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeSM-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeSM/2)-10}},"&-lg":{[`${e.componentCls}-dot`]:{margin:-(e.spinDotSizeLG/2)},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeLG-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeLG/2)-10}}},[`${e.componentCls}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${e.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${e.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:e.spinDotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(e.spinDotSize-e.marginXXS/2)/2,height:(e.spinDotSize-e.marginXXS/2)/2,backgroundColor:e.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:Y3e,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:Q3e,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeSM,i:{width:(e.spinDotSizeSM-e.marginXXS/2)/2,height:(e.spinDotSizeSM-e.marginXXS/2)/2}},[`&-lg ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeLG,i:{width:(e.spinDotSizeLG-e.marginXXS)/2,height:(e.spinDotSizeLG-e.marginXXS)/2}},[`&${e.componentCls}-show-text ${e.componentCls}-text`]:{display:"block"}})}),J3e=Je("Spin",e=>{const t=Ge(e,{spinDotDefault:e.colorTextDescription,spinDotSize:e.controlHeightLG/2,spinDotSizeSM:e.controlHeightLG*.35,spinDotSizeLG:e.controlHeight});return[Z3e(t)]},{contentHeight:400});var K3e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a({prefixCls:String,spinning:{type:Boolean,default:void 0},size:String,wrapperClassName:String,tip:G.any,delay:Number,indicator:G.any});let Nc=null;function t8e(e,t){return!!e&&!!t&&!isNaN(Number(t))}function n8e(e){const t=e.indicator;Nc=typeof t=="function"?t:()=>i(t,null,null)}const Dl=ee({compatConfig:{MODE:3},name:"ASpin",inheritAttrs:!1,props:lt(e8e(),{size:"default",spinning:!0,wrapperClassName:""}),setup(e,t){let{attrs:n,slots:r}=t;const{prefixCls:a,size:l,direction:o}=je("spin",e),[c,u]=J3e(a),d=q(e.spinning&&!t8e(e.spinning,e.delay));let s;return de([()=>e.spinning,()=>e.delay],()=>{s==null||s.cancel(),s=X3e(e.delay,()=>{d.value=e.spinning}),s==null||s()},{immediate:!0,flush:"post"}),Xe(()=>{s==null||s.cancel()}),()=>{var f,p;const{class:v}=n,b=K3e(n,["class"]),{tip:m=(f=r.tip)===null||f===void 0?void 0:f.call(r)}=e,h=(p=r.default)===null||p===void 0?void 0:p.call(r),y={[u.value]:!0,[a.value]:!0,[`${a.value}-sm`]:l.value==="small",[`${a.value}-lg`]:l.value==="large",[`${a.value}-spinning`]:d.value,[`${a.value}-show-text`]:!!m,[`${a.value}-rtl`]:o.value==="rtl",[v]:!!v};function S(w){const $=`${w}-dot`;let x=At(r,e,"indicator");return x===null?null:(Array.isArray(x)&&(x=x.length===1?x[0]:x),Xt(x)?Lr(x,{class:$}):Nc&&Xt(Nc())?Lr(Nc(),{class:$}):i("span",{class:`${$} ${w}-dot-spin`},[i("i",{class:`${w}-dot-item`},null),i("i",{class:`${w}-dot-item`},null),i("i",{class:`${w}-dot-item`},null),i("i",{class:`${w}-dot-item`},null)]))}const O=i("div",H(H({},b),{},{class:y,"aria-live":"polite","aria-busy":d.value}),[S(a.value),m?i("div",{class:`${a.value}-text`},[m]):null]);if(h&&Mt(h).length){const w={[`${a.value}-container`]:!0,[`${a.value}-blur`]:d.value};return c(i("div",{class:[`${a.value}-nested-loading`,e.wrapperClassName,u.value]},[d.value&&i("div",{key:"loading"},[O]),i("div",{class:w,key:"container"},[h])]))}return c(O)}}});Dl.setDefaultIndicator=n8e;Dl.install=function(e){return e.component(Dl.name,Dl),e};var r8e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};function nP(e){for(var t=1;t{const a=g(g(g({},e),{size:"small"}),n);return i(On,a,r)}}}),c8e=ee({name:"MiddleSelect",inheritAttrs:!1,props:i3(),Option:On.Option,setup(e,t){let{attrs:n,slots:r}=t;return()=>{const a=g(g(g({},e),{size:"middle"}),n);return i(On,a,r)}}}),wa=ee({compatConfig:{MODE:3},name:"Pager",inheritAttrs:!1,props:{rootPrefixCls:String,page:Number,active:{type:Boolean,default:void 0},last:{type:Boolean,default:void 0},locale:G.object,showTitle:{type:Boolean,default:void 0},itemRender:{type:Function,default:()=>{}},onClick:{type:Function},onKeypress:{type:Function}},eimt:["click","keypress"],setup(e,t){let{emit:n,attrs:r}=t;const a=()=>{n("click",e.page)},l=o=>{n("keypress",o,a,e.page)};return()=>{const{showTitle:o,page:c,itemRender:u}=e,{class:d,style:s}=r,f=`${e.rootPrefixCls}-item`,p=re(f,`${f}-${e.page}`,{[`${f}-active`]:e.active,[`${f}-disabled`]:!e.page},d);return i("li",{onClick:a,onKeypress:l,title:o?String(c):null,tabindex:"0",class:p,style:s},[u({page:c,type:"page",originalElement:i("a",{rel:"nofollow"},[c])})])}}}),Ca={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},u8e=ee({compatConfig:{MODE:3},props:{disabled:{type:Boolean,default:void 0},changeSize:Function,quickGo:Function,selectComponentClass:G.any,current:Number,pageSizeOptions:G.array.def(["10","20","50","100"]),pageSize:Number,buildOptionText:Function,locale:G.object,rootPrefixCls:String,selectPrefixCls:String,goButton:G.any},setup(e){const t=ne(""),n=z(()=>!t.value||isNaN(t.value)?void 0:Number(t.value)),r=u=>`${u.value} ${e.locale.items_per_page}`,a=u=>{const{value:d}=u.target;t.value!==d&&(t.value=d)},l=u=>{const{goButton:d,quickGo:s,rootPrefixCls:f}=e;if(!(d||t.value===""))if(u.relatedTarget&&(u.relatedTarget.className.indexOf(`${f}-item-link`)>=0||u.relatedTarget.className.indexOf(`${f}-item`)>=0)){t.value="";return}else s(n.value),t.value=""},o=u=>{t.value!==""&&(u.keyCode===Ca.ENTER||u.type==="click")&&(e.quickGo(n.value),t.value="")},c=z(()=>{const{pageSize:u,pageSizeOptions:d}=e;return d.some(s=>s.toString()===u.toString())?d:d.concat([u.toString()]).sort((s,f)=>{const p=isNaN(Number(s))?0:Number(s),v=isNaN(Number(f))?0:Number(f);return p-v})});return()=>{const{rootPrefixCls:u,locale:d,changeSize:s,quickGo:f,goButton:p,selectComponentClass:v,selectPrefixCls:b,pageSize:m,disabled:h}=e,y=`${u}-options`;let S=null,O=null,w=null;if(!s&&!f)return null;if(s&&v){const $=e.buildOptionText||r,x=c.value.map((P,M)=>i(v.Option,{key:M,value:P},{default:()=>[$({value:P})]}));S=i(v,{disabled:h,prefixCls:b,showSearch:!1,class:`${y}-size-changer`,optionLabelProp:"children",value:(m||c.value[0]).toString(),onChange:P=>s(Number(P)),getPopupContainer:P=>P.parentNode},{default:()=>[x]})}return f&&(p&&(w=typeof p=="boolean"?i("button",{type:"button",onClick:o,onKeyup:o,disabled:h,class:`${y}-quick-jumper-button`},[d.jump_to_confirm]):i("span",{onClick:o,onKeyup:o},[p])),O=i("div",{class:`${y}-quick-jumper`},[d.jump_to,i(di,{disabled:h,type:"text",value:t.value,onInput:a,onChange:a,onKeyup:o,onBlur:l},null),d.page,w])),i("li",{class:`${y}`},[S,O])}}}),s8e={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页"};var d8e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a"u"?t.statePageSize:e;return Math.floor((n.total-1)/r)+1}const v8e=ee({compatConfig:{MODE:3},name:"Pagination",mixins:[wL],inheritAttrs:!1,props:{disabled:{type:Boolean,default:void 0},prefixCls:G.string.def("rc-pagination"),selectPrefixCls:G.string.def("rc-select"),current:Number,defaultCurrent:G.number.def(1),total:G.number.def(0),pageSize:Number,defaultPageSize:G.number.def(10),hideOnSinglePage:{type:Boolean,default:!1},showSizeChanger:{type:Boolean,default:void 0},showLessItems:{type:Boolean,default:!1},selectComponentClass:G.any,showPrevNextJumpers:{type:Boolean,default:!0},showQuickJumper:G.oneOfType([G.looseBool,G.object]).def(!1),showTitle:{type:Boolean,default:!0},pageSizeOptions:G.arrayOf(G.oneOfType([G.number,G.string])),buildOptionText:Function,showTotal:Function,simple:{type:Boolean,default:void 0},locale:G.object.def(s8e),itemRender:G.func.def(p8e),prevIcon:G.any,nextIcon:G.any,jumpPrevIcon:G.any,jumpNextIcon:G.any,totalBoundaryShowSizeChanger:G.number.def(50)},data(){const e=this.$props;let t=e2([this.current,this.defaultCurrent]);const n=e2([this.pageSize,this.defaultPageSize]);return t=Math.min(t,Tr(n,void 0,e)),{stateCurrent:t,stateCurrentInputValue:t,statePageSize:n}},watch:{current(e){this.setState({stateCurrent:e,stateCurrentInputValue:e})},pageSize(e){const t={};let n=this.stateCurrent;const r=Tr(e,this.$data,this.$props);n=n>r?r:n,pl(this,"current")||(t.stateCurrent=n,t.stateCurrentInputValue=n),t.statePageSize=e,this.setState(t)},stateCurrent(e,t){this.$nextTick(()=>{if(this.$refs.paginationNode){const n=this.$refs.paginationNode.querySelector(`.${this.prefixCls}-item-${t}`);n&&document.activeElement===n&&n.blur()}})},total(){const e={},t=Tr(this.pageSize,this.$data,this.$props);if(pl(this,"current")){const n=Math.min(this.current,t);e.stateCurrent=n,e.stateCurrentInputValue=n}else{let n=this.stateCurrent;n===0&&t>0?n=1:n=Math.min(this.stateCurrent,t),e.stateCurrent=n}this.setState(e)}},methods:{getJumpPrevPage(){return Math.max(1,this.stateCurrent-(this.showLessItems?3:5))},getJumpNextPage(){return Math.min(Tr(void 0,this.$data,this.$props),this.stateCurrent+(this.showLessItems?3:5))},getItemIcon(e,t){const{prefixCls:n}=this.$props;return tN(this,e,this.$props)||i("button",{type:"button","aria-label":t,class:`${n}-item-link`},null)},getValidValue(e){const t=e.target.value,n=Tr(void 0,this.$data,this.$props),{stateCurrentInputValue:r}=this.$data;let a;return t===""?a=t:isNaN(Number(t))?a=r:t>=n?a=n:a=Number(t),a},isValid(e){return f8e(e)&&e!==this.stateCurrent},shouldDisplayQuickJumper(){const{showQuickJumper:e,pageSize:t,total:n}=this.$props;return n<=t?!1:e},handleKeyDown(e){(e.keyCode===Ca.ARROW_UP||e.keyCode===Ca.ARROW_DOWN)&&e.preventDefault()},handleKeyUp(e){const t=this.getValidValue(e),n=this.stateCurrentInputValue;t!==n&&this.setState({stateCurrentInputValue:t}),e.keyCode===Ca.ENTER?this.handleChange(t):e.keyCode===Ca.ARROW_UP?this.handleChange(t-1):e.keyCode===Ca.ARROW_DOWN&&this.handleChange(t+1)},changePageSize(e){let t=this.stateCurrent;const n=t,r=Tr(e,this.$data,this.$props);t=t>r?r:t,r===0&&(t=this.stateCurrent),typeof e=="number"&&(pl(this,"pageSize")||this.setState({statePageSize:e}),pl(this,"current")||this.setState({stateCurrent:t,stateCurrentInputValue:t})),this.__emit("update:pageSize",e),t!==n&&this.__emit("update:current",t),this.__emit("showSizeChange",t,e),this.__emit("change",t,e)},handleChange(e){const{disabled:t}=this.$props;let n=e;if(this.isValid(n)&&!t){const r=Tr(void 0,this.$data,this.$props);return n>r?n=r:n<1&&(n=1),pl(this,"current")||this.setState({stateCurrent:n,stateCurrentInputValue:n}),this.__emit("update:current",n),this.__emit("change",n,this.statePageSize),n}return this.stateCurrent},prev(){this.hasPrev()&&this.handleChange(this.stateCurrent-1)},next(){this.hasNext()&&this.handleChange(this.stateCurrent+1)},jumpPrev(){this.handleChange(this.getJumpPrevPage())},jumpNext(){this.handleChange(this.getJumpNextPage())},hasPrev(){return this.stateCurrent>1},hasNext(){return this.stateCurrentn},runIfEnter(e,t){if(e.key==="Enter"||e.charCode===13){e.preventDefault();for(var n=arguments.length,r=new Array(n>2?n-2:0),a=2;a0?y-1:0,N=y+1=W*2&&y!==3&&(P[0]=i(wa,{locale:a,rootPrefixCls:e,onClick:this.handleChange,onKeypress:this.runIfEnter,key:k,page:k,class:`${e}-item-after-jump-prev`,active:!1,showTitle:this.showTitle,itemRender:s},null),P.unshift(M)),x-y>=W*2&&y!==x-2&&(P[P.length-1]=i(wa,{locale:a,rootPrefixCls:e,onClick:this.handleChange,onKeypress:this.runIfEnter,key:Z,page:Z,class:`${e}-item-before-jump-next`,active:!1,showTitle:this.showTitle,itemRender:s},null),P.push(j)),k!==1&&P.unshift(T),Z!==x&&P.push(E)}let I=null;u&&(I=i("li",{class:`${e}-total-text`},[u(r,[r===0?0:(y-1)*S+1,y*S>r?r:y*S])]));const B=!D||!x,R=!V||!x,L=this.buildOptionText||this.$slots.buildOptionText;return i("ul",H(H({unselectable:"on",ref:"paginationNode"},$),{},{class:re({[`${e}`]:!0,[`${e}-disabled`]:t},w)}),[I,i("li",{title:c?a.prev_page:null,onClick:this.prev,tabindex:B?null:0,onKeypress:this.runIfEnterPrev,class:re(`${e}-prev`,{[`${e}-disabled`]:B}),"aria-disabled":B},[this.renderPrev(_)]),P,i("li",{title:c?a.next_page:null,onClick:this.next,tabindex:R?null:0,onKeypress:this.runIfEnterNext,class:re(`${e}-next`,{[`${e}-disabled`]:R}),"aria-disabled":R},[this.renderNext(N)]),i(u8e,{disabled:t,locale:a,rootPrefixCls:e,selectComponentClass:b,selectPrefixCls:m,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:y,pageSize:S,pageSizeOptions:h,buildOptionText:L||null,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:A},null)])}}),m8e=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`&${t}-mini`]:{[` + &:hover ${t}-item:not(${t}-item-active), + &:active ${t}-item:not(${t}-item-active), + &:hover ${t}-item-link, + &:active ${t}-item-link + `]:{backgroundColor:"transparent"}},[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.paginationItemDisabledBgActive,"&:hover, &:active":{backgroundColor:e.paginationItemDisabledBgActive},a:{color:e.paginationItemDisabledColorActive}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},g8e=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`},[`&${t}-mini ${t}-item`]:{minWidth:e.paginationItemSizeSM,height:e.paginationItemSizeSM,margin:0,lineHeight:`${e.paginationItemSizeSM-2}px`},[`&${t}-mini ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.paginationItemSizeSM,height:e.paginationItemSizeSM,margin:0,lineHeight:`${e.paginationItemSizeSM}px`,[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}},[` + &${t}-mini ${t}-prev ${t}-item-link, + &${t}-mini ${t}-next ${t}-item-link + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.paginationItemSizeSM,marginInlineEnd:0,lineHeight:`${e.paginationItemSizeSM}px`},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.paginationMiniOptionsSizeChangerTop},"&-quick-jumper":{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`,input:g(g({},D3(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},h8e=e=>{const{componentCls:t}=e;return{[` + &${t}-simple ${t}-prev, + &${t}-simple ${t}-next + `]:{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`,verticalAlign:"top",[`${t}-item-link`]:{height:e.paginationItemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.paginationItemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:e.marginXS,padding:`0 ${e.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:e.paginationItemInputBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${e.inputOutlineOffset}px 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},b8e=e=>{const{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},"&:focus-visible":g({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},Rr(e))},[` + ${t}-prev, + ${t}-jump-prev, + ${t}-jump-next + `]:{marginInlineEnd:e.marginXS},[` + ${t}-prev, + ${t}-next, + ${t}-jump-prev, + ${t}-jump-next + `]:{display:"inline-block",minWidth:e.paginationItemSize,height:e.paginationItemSize,color:e.colorText,fontFamily:e.paginationFontFamily,lineHeight:`${e.paginationItemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:focus-visible ${t}-item-link`]:g({},Rr(e)),[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:`${e.controlHeight}px`,verticalAlign:"top",input:g(g({},so(e)),{width:e.controlHeightLG*1.25,height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},y8e=e=>{const{componentCls:t}=e;return{[`${t}-item`]:g(g({display:"inline-block",minWidth:e.paginationItemSize,height:e.paginationItemSize,marginInlineEnd:e.marginXS,fontFamily:e.paginationFontFamily,lineHeight:`${e.paginationItemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${e.paginationItemPaddingInline}px`,color:e.colorText,transition:"none","&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}}},Wr(e)),{"&-active":{fontWeight:e.paginationFontWeightActive,backgroundColor:e.paginationItemBgActive,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}})}},O8e=e=>{const{componentCls:t}=e;return{[t]:g(g(g(g(g(g(g(g({},tt(e)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.paginationItemSize,marginInlineEnd:e.marginXS,lineHeight:`${e.paginationItemSize-2}px`,verticalAlign:"middle"}}),y8e(e)),b8e(e)),h8e(e)),g8e(e)),m8e(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},S8e=e=>{const{componentCls:t}=e;return{[`${t}${t}-disabled`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.paginationItemDisabledBgActive}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[t]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.paginationItemBg},[`${t}-item-link`]:{backgroundColor:e.paginationItemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.paginationItemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.paginationItemBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.paginationItemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},$8e=Je("Pagination",e=>{const t=Ge(e,{paginationItemSize:e.controlHeight,paginationFontFamily:e.fontFamily,paginationItemBg:e.colorBgContainer,paginationItemBgActive:e.colorBgContainer,paginationFontWeightActive:e.fontWeightStrong,paginationItemSizeSM:e.controlHeightSM,paginationItemInputBg:e.colorBgContainer,paginationMiniOptionsSizeChangerTop:0,paginationItemDisabledBgActive:e.controlItemBgActiveDisabled,paginationItemDisabledColorActive:e.colorTextDisabled,paginationItemLinkBg:e.colorBgContainer,inputOutlineOffset:"0 0",paginationMiniOptionsMarginInlineStart:e.marginXXS/2,paginationMiniQuickJumperInputWidth:e.controlHeightLG*1.1,paginationItemPaddingInline:e.marginXXS*1.5,paginationEllipsisLetterSpacing:e.marginXXS/2,paginationSlashMarginInlineStart:e.marginXXS,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},$i(e));return[O8e(t),e.wireframe&&S8e(t)]});var w8e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a({total:Number,defaultCurrent:Number,disabled:$e(),current:Number,defaultPageSize:Number,pageSize:Number,hideOnSinglePage:$e(),showSizeChanger:$e(),pageSizeOptions:st(),buildOptionText:ce(),showQuickJumper:Ye([Boolean,Object]),showTotal:ce(),size:Le(),simple:$e(),locale:Object,prefixCls:String,selectPrefixCls:String,totalBoundaryShowSizeChanger:Number,selectComponentClass:String,itemRender:ce(),role:String,responsive:Boolean,showLessItems:$e(),onChange:ce(),onShowSizeChange:ce(),"onUpdate:current":ce(),"onUpdate:pageSize":ce()}),C8e=ee({compatConfig:{MODE:3},name:"APagination",inheritAttrs:!1,props:P8e(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:a,configProvider:l,direction:o,size:c}=je("pagination",e),[u,d]=$8e(a),s=z(()=>l.getPrefixCls("select",e.selectPrefixCls)),f=yi(),[p]=Pr("Pagination",sN,Ne(e,"locale")),v=b=>{const m=i("span",{class:`${b}-item-ellipsis`},[va("•••")]),h=i("button",{class:`${b}-item-link`,type:"button",tabindex:-1},[o.value==="rtl"?i(qr,null,null):i(Ua,null,null)]),y=i("button",{class:`${b}-item-link`,type:"button",tabindex:-1},[o.value==="rtl"?i(Ua,null,null):i(qr,null,null)]),S=i("a",{rel:"nofollow",class:`${b}-item-link`},[i("div",{class:`${b}-item-container`},[o.value==="rtl"?i(ai,{class:`${b}-item-link-icon`},null):i(ri,{class:`${b}-item-link-icon`},null),m])]),O=i("a",{rel:"nofollow",class:`${b}-item-link`},[i("div",{class:`${b}-item-container`},[o.value==="rtl"?i(ri,{class:`${b}-item-link-icon`},null):i(ai,{class:`${b}-item-link-icon`},null),m])]);return{prevIcon:h,nextIcon:y,jumpPrevIcon:S,jumpNextIcon:O}};return()=>{var b;const{itemRender:m=n.itemRender,buildOptionText:h=n.buildOptionText,selectComponentClass:y,responsive:S}=e,O=w8e(e,["itemRender","buildOptionText","selectComponentClass","responsive"]),w=c.value==="small"||!!(!((b=f.value)===null||b===void 0)&&b.xs&&!c.value&&S),$=g(g(g(g(g({},O),v(a.value)),{prefixCls:a.value,selectPrefixCls:s.value,selectComponentClass:y||(w?i8e:c8e),locale:p.value,buildOptionText:h}),r),{class:re({[`${a.value}-mini`]:w,[`${a.value}-rtl`]:o.value==="rtl"},r.class,d.value),itemRender:m});return u(i(v8e,$,null))}}}),TG=tn(C8e),x8e=()=>({avatar:G.any,description:G.any,prefixCls:String,title:G.any}),z8e=ee({compatConfig:{MODE:3},name:"AListItemMeta",props:x8e(),displayName:"AListItemMeta",__ANT_LIST_ITEM_META:!0,slots:Object,setup(e,t){let{slots:n}=t;const{prefixCls:r}=je("list",e);return()=>{var a,l,o,c,u,d;const s=`${r.value}-item-meta`,f=(a=e.title)!==null&&a!==void 0?a:(l=n.title)===null||l===void 0?void 0:l.call(n),p=(o=e.description)!==null&&o!==void 0?o:(c=n.description)===null||c===void 0?void 0:c.call(n),v=(u=e.avatar)!==null&&u!==void 0?u:(d=n.avatar)===null||d===void 0?void 0:d.call(n),b=i("div",{class:`${r.value}-item-meta-content`},[f&&i("h4",{class:`${r.value}-item-meta-title`},[f]),p&&i("div",{class:`${r.value}-item-meta-description`},[p])]);return i("div",{class:s},[v&&i("div",{class:`${r.value}-item-meta-avatar`},[v]),(f||p)&&b])}}}),_G=Symbol("ListContextKey");var M8e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a({prefixCls:String,extra:G.any,actions:G.array,grid:Object,colStyle:{type:Object,default:void 0}}),T8e=ee({compatConfig:{MODE:3},name:"AListItem",inheritAttrs:!1,Meta:z8e,props:j8e(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{itemLayout:a,grid:l}=Ue(_G,{grid:ne(),itemLayout:ne()}),{prefixCls:o}=je("list",e),c=()=>{var d;const s=((d=n.default)===null||d===void 0?void 0:d.call(n))||[];let f;return s.forEach(p=>{Mq(p)&&!z1(p)&&(f=!0)}),f&&s.length>1},u=()=>{var d,s;const f=(d=e.extra)!==null&&d!==void 0?d:(s=n.extra)===null||s===void 0?void 0:s.call(n);return a.value==="vertical"?!!f:!c()};return()=>{var d,s,f,p,v;const{class:b}=r,m=M8e(r,["class"]),h=o.value,y=(d=e.extra)!==null&&d!==void 0?d:(s=n.extra)===null||s===void 0?void 0:s.call(n),S=(f=n.default)===null||f===void 0?void 0:f.call(n);let O=(p=e.actions)!==null&&p!==void 0?p:bt((v=n.actions)===null||v===void 0?void 0:v.call(n));O=O&&!Array.isArray(O)?[O]:O;const w=O&&O.length>0&&i("ul",{class:`${h}-item-action`,key:"actions"},[O.map((P,M)=>i("li",{key:`${h}-item-action-${M}`},[P,M!==O.length-1&&i("em",{class:`${h}-item-action-split`},null)]))]),$=l.value?"div":"li",x=i($,H(H({},m),{},{class:re(`${h}-item`,{[`${h}-item-no-flex`]:!u()},b)}),{default:()=>[a.value==="vertical"&&y?[i("div",{class:`${h}-item-main`,key:"content"},[S,w]),i("div",{class:`${h}-item-extra`,key:"extra"},[y])]:[S,w,mt(y,{key:"extra"})]]});return l.value?i(bu,{flex:1,style:e.colStyle},{default:()=>[x]}):x}}}),_8e=e=>{const{listBorderedCls:t,componentCls:n,paddingLG:r,margin:a,padding:l,listItemPaddingSM:o,marginLG:c,borderRadiusLG:u}=e;return{[`${t}`]:{border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:u,[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:r},[`${n}-pagination`]:{margin:`${a}px ${c}px`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:o}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:`${l}px ${r}px`}}}},E8e=e=>{const{componentCls:t,screenSM:n,screenMD:r,marginLG:a,marginSM:l,margin:o}=e;return{[`@media screen and (max-width:${r})`]:{[`${t}`]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:a}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:a}}}},[`@media screen and (max-width: ${n})`]:{[`${t}`]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:l}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${o}px`}}}}}},H8e=e=>{const{componentCls:t,antCls:n,controlHeight:r,minHeight:a,paddingSM:l,marginLG:o,padding:c,listItemPadding:u,colorPrimary:d,listItemPaddingSM:s,listItemPaddingLG:f,paddingXS:p,margin:v,colorText:b,colorTextDescription:m,motionDurationSlow:h,lineWidth:y}=e;return{[`${t}`]:g(g({},tt(e)),{position:"relative","*":{outline:"none"},[`${t}-header, ${t}-footer`]:{background:"transparent",paddingBlock:l},[`${t}-pagination`]:{marginBlockStart:o,textAlign:"end",[`${n}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:a,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:u,color:b,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:c},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:b},[`${t}-item-meta-title`]:{marginBottom:e.marginXXS,color:b,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:b,transition:`all ${h}`,"&:hover":{color:d}}},[`${t}-item-meta-description`]:{color:m,fontSize:e.fontSize,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${p}px`,color:m,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:y,height:Math.ceil(e.fontSize*e.lineHeight)-e.marginXXS*2,transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${c}px 0`,color:m,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:c,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${n}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:v,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:o},[`${t}-item-meta`]:{marginBlockEnd:c,[`${t}-item-meta-title`]:{marginBlockEnd:l,color:b,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:c,marginInlineStart:"auto","> li":{padding:`0 ${c}px`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:r},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:f},[`${t}-sm ${t}-item`]:{padding:s},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},A8e=Je("List",e=>{const t=Ge(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG,listItemPadding:`${e.paddingContentVertical}px ${e.paddingContentHorizontalLG}px`,listItemPaddingSM:`${e.paddingContentVerticalSM}px ${e.paddingContentHorizontal}px`,listItemPaddingLG:`${e.paddingContentVerticalLG}px ${e.paddingContentHorizontalLG}px`});return[H8e(t),_8e(t),E8e(t)]},{contentWidth:220}),I8e=()=>({bordered:$e(),dataSource:st(),extra:gr(),grid:Ee(),itemLayout:String,loading:Ye([Boolean,Object]),loadMore:gr(),pagination:Ye([Boolean,Object]),prefixCls:String,rowKey:Ye([String,Number,Function]),renderItem:ce(),size:String,split:$e(),header:gr(),footer:gr(),locale:Ee()}),Pa=ee({compatConfig:{MODE:3},name:"AList",inheritAttrs:!1,Item:T8e,props:lt(I8e(),{dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;var a,l;qe(_G,{grid:Ne(e,"grid"),itemLayout:Ne(e,"itemLayout")});const o={current:1,total:0},{prefixCls:c,direction:u,renderEmpty:d}=je("list",e),[s,f]=A8e(c),p=z(()=>e.pagination&&typeof e.pagination=="object"?e.pagination:{}),v=ne((a=p.value.defaultCurrent)!==null&&a!==void 0?a:1),b=ne((l=p.value.defaultPageSize)!==null&&l!==void 0?l:10);de(p,()=>{"current"in p.value&&(v.value=p.value.current),"pageSize"in p.value&&(b.value=p.value.pageSize)});const m=[],h=A=>(W,_)=>{v.value=W,b.value=_,p.value[A]&&p.value[A](W,_)},y=h("onChange"),S=h("onShowSizeChange"),O=z(()=>typeof e.loading=="boolean"?{spinning:e.loading}:e.loading),w=z(()=>O.value&&O.value.spinning),$=z(()=>{let A="";switch(e.size){case"large":A="lg";break;case"small":A="sm";break}return A}),x=z(()=>({[`${c.value}`]:!0,[`${c.value}-vertical`]:e.itemLayout==="vertical",[`${c.value}-${$.value}`]:$.value,[`${c.value}-split`]:e.split,[`${c.value}-bordered`]:e.bordered,[`${c.value}-loading`]:w.value,[`${c.value}-grid`]:!!e.grid,[`${c.value}-rtl`]:u.value==="rtl"})),P=z(()=>{const A=g(g(g({},o),{total:e.dataSource.length,current:v.value,pageSize:b.value}),e.pagination||{}),W=Math.ceil(A.total/A.pageSize);return A.current>W&&(A.current=W),A}),M=z(()=>{let A=[...e.dataSource];return e.pagination&&e.dataSource.length>(P.value.current-1)*P.value.pageSize&&(A=[...e.dataSource].splice((P.value.current-1)*P.value.pageSize,P.value.pageSize)),A}),j=yi(),T=yn(()=>{for(let A=0;A{if(!e.grid)return;const A=T.value&&e.grid[T.value]?e.grid[T.value]:e.grid.column;if(A)return{width:`${100/A}%`,maxWidth:`${100/A}%`}}),F=(A,W)=>{var _;const N=(_=e.renderItem)!==null&&_!==void 0?_:n.renderItem;if(!N)return null;let D;const V=typeof e.rowKey;return V==="function"?D=e.rowKey(A):V==="string"||V==="number"?D=A[e.rowKey]:D=A.key,D||(D=`list-item-${W}`),m[W]=D,N({item:A,index:W})};return()=>{var A,W,_,N,D,V,I,B;const R=(A=e.loadMore)!==null&&A!==void 0?A:(W=n.loadMore)===null||W===void 0?void 0:W.call(n),L=(_=e.footer)!==null&&_!==void 0?_:(N=n.footer)===null||N===void 0?void 0:N.call(n),U=(D=e.header)!==null&&D!==void 0?D:(V=n.header)===null||V===void 0?void 0:V.call(n),Y=bt((I=n.default)===null||I===void 0?void 0:I.call(n)),k=!!(R||e.pagination||L),Z=re(g(g({},x.value),{[`${c.value}-something-after-last-item`]:k}),r.class,f.value),K=e.pagination?i("div",{class:`${c.value}-pagination`},[i(TG,H(H({},P.value),{},{onChange:y,onShowSizeChange:S}),null)]):null;let te=w.value&&i("div",{style:{minHeight:"53px"}},null);if(M.value.length>0){m.length=0;const X=M.value.map((oe,ue)=>F(oe,ue)),Q=X.map((oe,ue)=>i("div",{key:m[ue],style:E.value},[oe]));te=e.grid?i(G3,{gutter:e.grid.gutter},{default:()=>[Q]}):i("ul",{class:`${c.value}-items`},[X])}else!Y.length&&!w.value&&(te=i("div",{class:`${c.value}-empty-text`},[((B=e.locale)===null||B===void 0?void 0:B.emptyText)||d("List")]));const J=P.value.position||"bottom";return s(i("div",H(H({},r),{},{class:Z}),[(J==="top"||J==="both")&&K,U&&i("div",{class:`${c.value}-header`},[U]),i(Dl,O.value,{default:()=>[te,Y]}),L&&i("div",{class:`${c.value}-footer`},[L]),R||(J==="bottom"||J==="both")&&K]))}}});Pa.install=function(e){return e.component(Pa.name,Pa),e.component(Pa.Item.name,Pa.Item),e.component(Pa.Item.Meta.name,Pa.Item.Meta),e};var D8e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{L2={x:e.pageX,y:e.pageY},setTimeout(()=>L2=null,100)};zW()&&wn(document.documentElement,"click",F8e,!0);const B8e=()=>({prefixCls:String,visible:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},confirmLoading:{type:Boolean,default:void 0},title:G.any,closable:{type:Boolean,default:void 0},closeIcon:G.any,onOk:Function,onCancel:Function,"onUpdate:visible":Function,"onUpdate:open":Function,onChange:Function,afterClose:Function,centered:{type:Boolean,default:void 0},width:[String,Number],footer:G.any,okText:G.any,okType:String,cancelText:G.any,icon:G.any,maskClosable:{type:Boolean,default:void 0},forceRender:{type:Boolean,default:void 0},okButtonProps:Ee(),cancelButtonProps:Ee(),destroyOnClose:{type:Boolean,default:void 0},wrapClassName:String,maskTransitionName:String,transitionName:String,getContainer:{type:[String,Function,Boolean,Object],default:void 0},zIndex:Number,bodyStyle:Ee(),maskStyle:Ee(),mask:{type:Boolean,default:void 0},keyboard:{type:Boolean,default:void 0},wrapProps:Object,focusTriggerAfterClose:{type:Boolean,default:void 0},modalRender:Function,mousePosition:Ee()}),Ln=ee({compatConfig:{MODE:3},name:"AModal",inheritAttrs:!1,props:lt(B8e(),{width:520,confirmLoading:!1,okType:"primary"}),setup(e,t){let{emit:n,slots:r,attrs:a}=t;const[l]=Pr("Modal"),{prefixCls:o,rootPrefixCls:c,direction:u,getPopupContainer:d}=je("modal",e),[s,f]=P3e(o);ir(e.visible===void 0);const p=m=>{n("update:visible",!1),n("update:open",!1),n("cancel",m),n("change",!1)},v=m=>{n("ok",m)},b=()=>{var m,h;const{okText:y=(m=r.okText)===null||m===void 0?void 0:m.call(r),okType:S,cancelText:O=(h=r.cancelText)===null||h===void 0?void 0:h.call(r),confirmLoading:w}=e;return i(et,null,[i(Rt,H({onClick:p},e.cancelButtonProps),{default:()=>[O||l.value.cancelText]}),i(Rt,H(H({},i1(S)),{},{loading:w,onClick:v},e.okButtonProps),{default:()=>[y||l.value.okText]})])};return()=>{var m,h;const{prefixCls:y,visible:S,open:O,wrapClassName:w,centered:$,getContainer:x,closeIcon:P=(m=r.closeIcon)===null||m===void 0?void 0:m.call(r),focusTriggerAfterClose:M=!0}=e,j=D8e(e,["prefixCls","visible","open","wrapClassName","centered","getContainer","closeIcon","focusTriggerAfterClose"]),T=re(w,{[`${o.value}-centered`]:!!$,[`${o.value}-wrap-rtl`]:u.value==="rtl"});return s(i(c3e,H(H(H({},j),a),{},{rootClassName:f.value,class:re(f.value,a.class),getContainer:x||(d==null?void 0:d.value),prefixCls:o.value,wrapClassName:T,visible:O??S,onClose:p,focusTriggerAfterClose:M,transitionName:Sr(c.value,"zoom",e.transitionName),maskTransitionName:Sr(c.value,"fade",e.maskTransitionName),mousePosition:(h=j.mousePosition)!==null&&h!==void 0?h:L2}),g(g({},r),{footer:r.footer||b,closeIcon:()=>i("span",{class:`${o.value}-close-x`},[P||i(vn,{class:`${o.value}-close-icon`},null)])})))}}}),N8e=()=>{const e=q(!1);return Xe(()=>{e.value=!0}),e},L8e={type:{type:String},actionFn:Function,close:Function,autofocus:Boolean,prefixCls:String,buttonProps:Ee(),emitEvent:Boolean,quitOnNullishReturnValue:Boolean};function aP(e){return!!(e&&e.then)}const V2=ee({compatConfig:{MODE:3},name:"ActionButton",props:L8e,setup(e,t){let{slots:n}=t;const r=q(!1),a=q(),l=q(!1);let o;const c=N8e();We(()=>{e.autofocus&&(o=setTimeout(()=>{var f,p;return(p=(f=$n(a.value))===null||f===void 0?void 0:f.focus)===null||p===void 0?void 0:p.call(f)}))}),Xe(()=>{clearTimeout(o)});const u=function(){for(var f,p=arguments.length,v=new Array(p),b=0;b{aP(f)&&(l.value=!0,f.then(function(){c.value||(l.value=!1),u(...arguments),r.value=!1},p=>(c.value||(l.value=!1),r.value=!1,Promise.reject(p))))},s=f=>{const{actionFn:p}=e;if(r.value)return;if(r.value=!0,!p){u();return}let v;if(e.emitEvent){if(v=p(f),e.quitOnNullishReturnValue&&!aP(v)){r.value=!1,u(f);return}}else if(p.length)v=p(e.close),r.value=!1;else if(v=p(),!v){u();return}d(v)};return()=>{const{type:f,prefixCls:p,buttonProps:v}=e;return i(Rt,H(H(H({},i1(f)),{},{onClick:s,loading:l.value,prefixCls:p},v),{},{ref:a}),n)}}});function dl(e){return typeof e=="function"?e():e}const EG=ee({name:"ConfirmDialog",inheritAttrs:!1,props:["icon","onCancel","onOk","close","closable","zIndex","afterClose","visible","open","keyboard","centered","getContainer","maskStyle","okButtonProps","cancelButtonProps","okType","prefixCls","okCancel","width","mask","maskClosable","okText","cancelText","autoFocusButton","transitionName","maskTransitionName","type","title","content","direction","rootPrefixCls","bodyStyle","closeIcon","modalRender","focusTriggerAfterClose","wrapClassName","confirmPrefixCls","footer"],setup(e,t){let{attrs:n}=t;const[r]=Pr("Modal");return()=>{const{icon:a,onCancel:l,onOk:o,close:c,okText:u,closable:d=!1,zIndex:s,afterClose:f,keyboard:p,centered:v,getContainer:b,maskStyle:m,okButtonProps:h,cancelButtonProps:y,okCancel:S,width:O=416,mask:w=!0,maskClosable:$=!1,type:x,open:P,title:M,content:j,direction:T,closeIcon:E,modalRender:F,focusTriggerAfterClose:A,rootPrefixCls:W,bodyStyle:_,wrapClassName:N,footer:D}=e;let V=a;if(!a&&a!==null)switch(x){case"info":V=i(Qr,null,null);break;case"success":V=i(Un,null,null);break;case"error":V=i(Gt,null,null);break;default:V=i(qn,null,null)}const I=e.okType||"primary",B=e.prefixCls||"ant-modal",R=`${B}-confirm`,L=n.style||{},U=S??x==="confirm",Y=e.autoFocusButton===null?!1:e.autoFocusButton||"ok",k=`${B}-confirm`,Z=re(k,`${k}-${e.type}`,{[`${k}-rtl`]:T==="rtl"},n.class),K=r.value,te=U&&i(V2,{actionFn:l,close:c,autofocus:Y==="cancel",buttonProps:y,prefixCls:`${W}-btn`},{default:()=>[dl(e.cancelText)||K.cancelText]});return i(Ln,{prefixCls:B,class:Z,wrapClassName:re({[`${k}-centered`]:!!v},N),onCancel:J=>c==null?void 0:c({triggerCancel:!0},J),open:P,title:"",footer:"",transitionName:Sr(W,"zoom",e.transitionName),maskTransitionName:Sr(W,"fade",e.maskTransitionName),mask:w,maskClosable:$,maskStyle:m,style:L,bodyStyle:_,width:O,zIndex:s,afterClose:f,keyboard:p,centered:v,getContainer:b,closable:d,closeIcon:E,modalRender:F,focusTriggerAfterClose:A},{default:()=>[i("div",{class:`${R}-body-wrapper`},[i("div",{class:`${R}-body`},[dl(V),M===void 0?null:i("span",{class:`${R}-title`},[dl(M)]),i("div",{class:`${R}-content`},[dl(j)])]),D!==void 0?dl(D):i("div",{class:`${R}-btns`},[te,i(V2,{type:I,actionFn:o,close:c,autofocus:Y==="ok",buttonProps:h,prefixCls:`${W}-btn`},{default:()=>[dl(u)||(U?K.okText:K.justOkText)]})])])]})}}}),Aa=[],Ti=e=>{const t=document.createDocumentFragment();let n=g(g({},at(e,["parentContext","appContext"])),{close:l,open:!0}),r=null;function a(){r&&(pa(null,t),r=null);for(var d=arguments.length,s=new Array(d),f=0;fv&&v.triggerCancel);e.onCancel&&p&&e.onCancel(()=>{},...s.slice(1));for(let v=0;v{typeof e.afterClose=="function"&&e.afterClose(),a.apply(this,s)}}),n.visible&&delete n.visible,o(n)}function o(d){typeof d=="function"?n=d(n):n=g(g({},n),d),r&&CY(r,n,t)}const c=d=>{const s=Nt,f=s.prefixCls,p=d.prefixCls||`${f}-modal`,v=s.iconPrefixCls,b=B4e();return i(Il,H(H({},s),{},{prefixCls:f}),{default:()=>[i(EG,H(H({},d),{},{rootPrefixCls:f,prefixCls:p,iconPrefixCls:v,locale:b,cancelText:d.cancelText||b.cancelText}),null)]})};function u(d){const s=i(c,g({},d));return s.appContext=e.parentContext||e.appContext||s.appContext,pa(s,t),s}return r=u(n),Aa.push(l),{destroy:l,update:o}};function HG(e){return g(g({},e),{type:"warning"})}function AG(e){return g(g({},e),{type:"info"})}function IG(e){return g(g({},e),{type:"success"})}function DG(e){return g(g({},e),{type:"error"})}function FG(e){return g(g({},e),{type:"confirm"})}const V8e=()=>({config:Object,afterClose:Function,destroyAction:Function,open:Boolean}),R8e=ee({name:"HookModal",inheritAttrs:!1,props:lt(V8e(),{config:{width:520,okType:"primary"}}),setup(e,t){let{expose:n}=t;var r;const a=z(()=>e.open),l=z(()=>e.config),{direction:o,getPrefixCls:c}=s0(),u=c("modal"),d=c(),s=()=>{var b,m;e==null||e.afterClose(),(m=(b=l.value).afterClose)===null||m===void 0||m.call(b)},f=function(){e.destroyAction(...arguments)};n({destroy:f});const p=(r=l.value.okCancel)!==null&&r!==void 0?r:l.value.type==="confirm",[v]=Pr("Modal",or.Modal);return()=>i(EG,H(H({prefixCls:u,rootPrefixCls:d},l.value),{},{close:f,open:a.value,afterClose:s,okText:l.value.okText||(p?v==null?void 0:v.value.okText:v==null?void 0:v.value.justOkText),direction:l.value.direction||o.value,cancelText:l.value.cancelText||(v==null?void 0:v.value.cancelText)}),null)}});let lP=0;const W8e=ee({name:"ElementsHolder",inheritAttrs:!1,setup(e,t){let{expose:n}=t;const r=q([]);return n({addModal:l=>(r.value.push(l),r.value=r.value.slice(),()=>{r.value=r.value.filter(o=>o!==l)})}),()=>r.value.map(l=>l())}});function BG(){const e=q(null),t=q([]);de(t,()=>{t.value.length&&([...t.value].forEach(o=>{o()}),t.value=[])},{immediate:!0});const n=l=>function(c){var u;lP+=1;const d=q(!0),s=q(null),f=q(Ht(c)),p=q({});de(()=>c,O=>{h(g(g({},UB(O)?O.value:O),p.value))});const v=function(){d.value=!1;for(var O=arguments.length,w=new Array(O),$=0;$P&&P.triggerCancel);f.value.onCancel&&x&&f.value.onCancel(()=>{},...w.slice(1))};let b;const m=()=>i(R8e,{key:`modal-${lP}`,config:l(f.value),ref:s,open:d.value,destroyAction:v,afterClose:()=>{b==null||b()}},null);b=(u=e.value)===null||u===void 0?void 0:u.addModal(m),b&&Aa.push(b);const h=O=>{f.value=g(g({},f.value),O)};return{destroy:()=>{s.value?v():t.value=[...t.value,v]},update:O=>{p.value=O,s.value?h(O):t.value=[...t.value,()=>h(O)]}}},r=z(()=>({info:n(AG),success:n(IG),error:n(DG),warning:n(HG),confirm:n(FG)})),a=Symbol("modalHolderKey");return[r.value,()=>i(W8e,{key:a,ref:e},null)]}function NG(e){return Ti(HG(e))}Ln.useModal=BG;Ln.info=function(t){return Ti(AG(t))};Ln.success=function(t){return Ti(IG(t))};Ln.error=function(t){return Ti(DG(t))};Ln.warning=NG;Ln.warn=NG;Ln.confirm=function(t){return Ti(FG(t))};Ln.destroyAll=function(){for(;Aa.length;){const t=Aa.pop();t&&t()}};Ln.install=function(e){return e.component(Ln.name,Ln),e};const LG=e=>{const{value:t,formatter:n,precision:r,decimalSeparator:a,groupSeparator:l="",prefixCls:o}=e;let c;if(typeof n=="function")c=n({value:t});else{const u=String(t),d=u.match(/^(-?)(\d*)(\.(\d+))?$/);if(!d)c=u;else{const s=d[1];let f=d[2]||"0",p=d[4]||"";f=f.replace(/\B(?=(\d{3})+(?!\d))/g,l),typeof r=="number"&&(p=p.padEnd(r,"0").slice(0,r>0?r:0)),p&&(p=`${a}${p}`),c=[i("span",{key:"int",class:`${o}-content-value-int`},[s,f]),p&&i("span",{key:"decimal",class:`${o}-content-value-decimal`},[p])]}}return i("span",{class:`${o}-content-value`},[c])};LG.displayName="StatisticNumber";const G8e=e=>{const{componentCls:t,marginXXS:n,padding:r,colorTextDescription:a,statisticTitleFontSize:l,colorTextHeading:o,statisticContentFontSize:c,statisticFontFamily:u}=e;return{[`${t}`]:g(g({},tt(e)),{[`${t}-title`]:{marginBottom:n,color:a,fontSize:l},[`${t}-skeleton`]:{paddingTop:r},[`${t}-content`]:{color:o,fontSize:c,fontFamily:u,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:n},[`${t}-content-suffix`]:{marginInlineStart:n}}})}},U8e=Je("Statistic",e=>{const{fontSizeHeading3:t,fontSize:n,fontFamily:r}=e,a=Ge(e,{statisticTitleFontSize:n,statisticContentFontSize:t,statisticFontFamily:r});return[G8e(a)]}),VG=()=>({prefixCls:String,decimalSeparator:String,groupSeparator:String,format:String,value:Ye([Number,String,Object]),valueStyle:{type:Object,default:void 0},valueRender:ce(),formatter:wt(),precision:Number,prefix:gr(),suffix:gr(),title:gr(),loading:$e()}),oa=ee({compatConfig:{MODE:3},name:"AStatistic",inheritAttrs:!1,props:lt(VG(),{decimalSeparator:".",groupSeparator:",",loading:!1}),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:a,direction:l}=je("statistic",e),[o,c]=U8e(a);return()=>{var u,d,s,f,p,v,b;const{value:m=0,valueStyle:h,valueRender:y}=e,S=a.value,O=(u=e.title)!==null&&u!==void 0?u:(d=n.title)===null||d===void 0?void 0:d.call(n),w=(s=e.prefix)!==null&&s!==void 0?s:(f=n.prefix)===null||f===void 0?void 0:f.call(n),$=(p=e.suffix)!==null&&p!==void 0?p:(v=n.suffix)===null||v===void 0?void 0:v.call(n),x=(b=e.formatter)!==null&&b!==void 0?b:n.formatter;let P=i(LG,H({"data-for-update":Date.now()},g(g({},e),{prefixCls:S,value:m,formatter:x})),null);return y&&(P=y(P)),o(i("div",H(H({},r),{},{class:[S,{[`${S}-rtl`]:l.value==="rtl"},r.class,c.value]}),[O&&i("div",{class:`${S}-title`},[O]),i(Qt,{paragraph:!1,loading:e.loading},{default:()=>[i("div",{style:h,class:`${S}-content`},[w&&i("span",{class:`${S}-content-prefix`},[w]),P,$&&i("span",{class:`${S}-content-suffix`},[$])])]})]))}}}),q8e=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function k8e(e,t){let n=e;const r=/\[[^\]]*]/g,a=(t.match(r)||[]).map(u=>u.slice(1,-1)),l=t.replace(r,"[]"),o=q8e.reduce((u,d)=>{let[s,f]=d;if(u.includes(s)){const p=Math.floor(n/f);return n-=p*f,u.replace(new RegExp(`${s}+`,"g"),v=>{const b=v.length;return p.toString().padStart(b,"0")})}return u},l);let c=0;return o.replace(r,()=>{const u=a[c];return c+=1,u})}function X8e(e,t){const{format:n=""}=t,r=new Date(e).getTime(),a=Date.now(),l=Math.max(r-a,0);return k8e(l,n)}const Y8e=1e3/30;function e4(e){return new Date(e).getTime()}const Q8e=()=>g(g({},VG()),{value:Ye([Number,String,Object]),format:String,onFinish:Function,onChange:Function}),Z8e=ee({compatConfig:{MODE:3},name:"AStatisticCountdown",props:lt(Q8e(),{format:"HH:mm:ss"}),setup(e,t){let{emit:n,slots:r}=t;const a=ne(),l=ne(),o=()=>{const{value:f}=e;e4(f)>=Date.now()?c():u()},c=()=>{if(a.value)return;const f=e4(e.value);a.value=setInterval(()=>{l.value.$forceUpdate(),f>Date.now()&&n("change",f-Date.now()),o()},Y8e)},u=()=>{const{value:f}=e;a.value&&(clearInterval(a.value),a.value=void 0,e4(f){let{value:p,config:v}=f;const{format:b}=e;return X8e(p,g(g({},v),{format:b}))},s=f=>f;return We(()=>{o()}),ur(()=>{o()}),Xe(()=>{u()}),()=>{const f=e.value;return i(oa,H({ref:l},g(g({},at(e,["onFinish","onChange"])),{value:f,valueRender:s,formatter:d})),r)}}});oa.Countdown=Z8e;oa.install=function(e){return e.component(oa.name,oa),e.component(oa.Countdown.name,oa.Countdown),e};const wLe=oa.Countdown;var J8e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"};function oP(e){for(var t=1;t{const{keyCode:v}=p;v===fe.ENTER&&p.preventDefault()},u=p=>{const{keyCode:v}=p;v===fe.ENTER&&r("click",p)},d=p=>{r("click",p)},s=()=>{o.value&&o.value.focus()},f=()=>{o.value&&o.value.blur()};return We(()=>{e.autofocus&&s()}),l({focus:s,blur:f}),()=>{var p;const{noStyle:v,disabled:b}=e,m=nde(e,["noStyle","disabled"]);let h={};return v||(h=g({},rde)),b&&(h.pointerEvents="none"),i("div",H(H(H({role:"button",tabindex:0,ref:o},m),a),{},{onClick:d,onKeydown:c,onKeyup:u,style:g(g({},h),a.style||{})}),[(p=n.default)===null||p===void 0?void 0:p.call(n)])}}}),ade={small:8,middle:16,large:24},lde=()=>({prefixCls:String,size:{type:[String,Number,Array]},direction:G.oneOf(dn("horizontal","vertical")).def("horizontal"),align:G.oneOf(dn("start","end","center","baseline")),wrap:$e()});function ode(e){return typeof e=="string"?ade[e]:e||0}const Lc=ee({compatConfig:{MODE:3},name:"ASpace",inheritAttrs:!1,props:lde(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:a,space:l,direction:o}=je("space",e),[c,u]=ZL(a),d=jW(),s=z(()=>{var y,S,O;return(O=(y=e.size)!==null&&y!==void 0?y:(S=l==null?void 0:l.value)===null||S===void 0?void 0:S.size)!==null&&O!==void 0?O:"small"}),f=ne(),p=ne();de(s,()=>{[f.value,p.value]=(Array.isArray(s.value)?s.value:[s.value,s.value]).map(y=>ode(y))},{immediate:!0});const v=z(()=>e.align===void 0&&e.direction==="horizontal"?"center":e.align),b=z(()=>re(a.value,u.value,`${a.value}-${e.direction}`,{[`${a.value}-rtl`]:o.value==="rtl",[`${a.value}-align-${v.value}`]:v.value})),m=z(()=>o.value==="rtl"?"marginLeft":"marginRight"),h=z(()=>{const y={};return d.value&&(y.columnGap=`${f.value}px`,y.rowGap=`${p.value}px`),g(g({},y),e.wrap&&{flexWrap:"wrap",marginBottom:`${-p.value}px`})});return()=>{var y,S;const{wrap:O,direction:w="horizontal"}=e,$=(y=n.default)===null||y===void 0?void 0:y.call(n),x=Mt($),P=x.length;if(P===0)return null;const M=(S=n.split)===null||S===void 0?void 0:S.call(n),j=`${a.value}-item`,T=f.value,E=P-1;return i("div",H(H({},r),{},{class:[b.value,r.class],style:[h.value,r.style]}),[x.map((F,A)=>{let W=$.indexOf(F);W===-1&&(W=`$$space-${A}`);let _={};return d.value||(w==="vertical"?A{const{componentCls:t,iconCls:n,zIndexPopup:r,colorText:a,colorWarning:l,marginXS:o,fontSize:c,fontWeightStrong:u,lineHeight:d}=e;return{[t]:{zIndex:r,[`${t}-inner-content`]:{color:a},[`${t}-message`]:{position:"relative",marginBottom:o,color:a,fontSize:c,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${n}`]:{color:l,fontSize:c,flex:"none",lineHeight:1,paddingTop:(Math.round(c*d)-c)/2},"&-title":{flex:"auto",marginInlineStart:o},"&-title-only":{fontWeight:u}},[`${t}-description`]:{position:"relative",marginInlineStart:c+o,marginBottom:o,color:a,fontSize:c},[`${t}-buttons`]:{textAlign:"end",button:{marginInlineStart:o}}}}},cde=Je("Popconfirm",e=>ide(e),e=>{const{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}});var ude=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ag(g({},u3()),{prefixCls:String,content:wt(),title:wt(),description:wt(),okType:Le("primary"),disabled:{type:Boolean,default:!1},okText:wt(),cancelText:wt(),icon:wt(),okButtonProps:Ee(),cancelButtonProps:Ee(),showCancel:{type:Boolean,default:!0},onConfirm:Function,onCancel:Function}),dde=ee({compatConfig:{MODE:3},name:"APopconfirm",inheritAttrs:!1,props:lt(sde(),g(g({},KV()),{trigger:"click",placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0,okType:"primary",disabled:!1})),slots:Object,setup(e,t){let{slots:n,emit:r,expose:a,attrs:l}=t;const o=ne();ir(e.visible===void 0),a({getPopupDomNode:()=>{var x,P;return(P=(x=o.value)===null||x===void 0?void 0:x.getPopupDomNode)===null||P===void 0?void 0:P.call(x)}});const[c,u]=Ft(!1,{value:Ne(e,"open")}),d=(x,P)=>{e.open===void 0&&u(x),r("update:open",x),r("openChange",x,P)},s=x=>{d(!1,x)},f=x=>{var P;return(P=e.onConfirm)===null||P===void 0?void 0:P.call(e,x)},p=x=>{var P;d(!1,x),(P=e.onCancel)===null||P===void 0||P.call(e,x)},v=x=>{x.keyCode===fe.ESC&&c&&d(!1,x)},b=x=>{const{disabled:P}=e;P||d(x)},{prefixCls:m,getPrefixCls:h}=je("popconfirm",e),y=z(()=>h()),S=z(()=>h("btn")),[O]=cde(m),[w]=Pr("Popconfirm",or.Popconfirm),$=()=>{var x,P,M,j,T;const{okButtonProps:E,cancelButtonProps:F,title:A=(x=n.title)===null||x===void 0?void 0:x.call(n),description:W=(P=n.description)===null||P===void 0?void 0:P.call(n),cancelText:_=(M=n.cancel)===null||M===void 0?void 0:M.call(n),okText:N=(j=n.okText)===null||j===void 0?void 0:j.call(n),okType:D,icon:V=((T=n.icon)===null||T===void 0?void 0:T.call(n))||i(qn,null,null),showCancel:I=!0}=e,{cancelButton:B,okButton:R}=n,L=g({onClick:p,size:"small"},F),U=g(g(g({onClick:f},i1(D)),{size:"small"}),E);return i("div",{class:`${m.value}-inner-content`},[i("div",{class:`${m.value}-message`},[V&&i("span",{class:`${m.value}-message-icon`},[V]),i("div",{class:[`${m.value}-message-title`,{[`${m.value}-message-title-only`]:!!W}]},[A])]),W&&i("div",{class:`${m.value}-description`},[W]),i("div",{class:`${m.value}-buttons`},[I?B?B(L):i(Rt,L,{default:()=>[_||w.value.cancelText]}):null,R?R(U):i(V2,{buttonProps:g(g({size:"small"},i1(D)),E),actionFn:f,close:s,prefixCls:S.value,quitOnNullishReturnValue:!0,emitEvent:!0},{default:()=>[N||w.value.okText]})])])};return()=>{var x;const{placement:P,overlayClassName:M,trigger:j="click"}=e,T=ude(e,["placement","overlayClassName","trigger"]),E=at(T,["title","content","cancelText","okText","onUpdate:open","onConfirm","onCancel","prefixCls"]),F=re(m.value,M);return O(i(eR,H(H(H({},E),l),{},{trigger:j,placement:P,onOpenChange:b,open:c.value,overlayClassName:F,transitionName:Sr(y.value,"zoom-big",e.transitionName),ref:o,"data-popover-inject":!0}),{default:()=>[PY(((x=n.default)===null||x===void 0?void 0:x.call(n))||[],{onKeydown:A=>{v(A)}},!1)],content:$}))}}}),PLe=tn(dde),fde=["normal","exception","active","success"],xu=()=>({prefixCls:String,type:Le(),percent:Number,format:ce(),status:Le(),showInfo:$e(),strokeWidth:Number,strokeLinecap:Le(),strokeColor:wt(),trailColor:String,width:Number,success:Ee(),gapDegree:Number,gapPosition:Le(),size:Ye([String,Number,Array]),steps:Number,successPercent:Number,title:String,progressStatus:Le()});function Na(e){return!e||e<0?0:e>100?100:e}function S1(e){let{success:t,successPercent:n}=e,r=n;return t&&"progress"in t&&(yt(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),r=t.progress),t&&"percent"in t&&(r=t.percent),r}function pde(e){let{percent:t,success:n,successPercent:r}=e;const a=Na(S1({success:n,successPercent:r}));return[a,Na(Na(t)-a)]}function vde(e){let{success:t={},strokeColor:n}=e;const{strokeColor:r}=t;return[r||xl.green,n||null]}const zu=(e,t,n)=>{var r,a,l,o;let c=-1,u=-1;if(t==="step"){const d=n.steps,s=n.strokeWidth;typeof e=="string"||typeof e>"u"?(c=e==="small"?2:14,u=s??8):typeof e=="number"?[c,u]=[e,e]:[c=14,u=8]=e,c*=d}else if(t==="line"){const d=n==null?void 0:n.strokeWidth;typeof e=="string"||typeof e>"u"?u=d||(e==="small"?6:8):typeof e=="number"?[c,u]=[e,e]:[c=-1,u=8]=e}else(t==="circle"||t==="dashboard")&&(typeof e=="string"||typeof e>"u"?[c,u]=e==="small"?[60,60]:[120,120]:typeof e=="number"?[c,u]=[e,e]:(c=(a=(r=e[0])!==null&&r!==void 0?r:e[1])!==null&&a!==void 0?a:120,u=(o=(l=e[0])!==null&&l!==void 0?l:e[1])!==null&&o!==void 0?o:120));return{width:c,height:u}};var mde=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ag(g({},xu()),{strokeColor:wt(),direction:Le()}),hde=e=>{let t=[];return Object.keys(e).forEach(n=>{const r=parseFloat(n.replace(/%/g,""));isNaN(r)||t.push({key:r,value:e[n]})}),t=t.sort((n,r)=>n.key-r.key),t.map(n=>{let{key:r,value:a}=n;return`${a} ${r}%`}).join(", ")},bde=(e,t)=>{const{from:n=xl.blue,to:r=xl.blue,direction:a=t==="rtl"?"to left":"to right"}=e,l=mde(e,["from","to","direction"]);if(Object.keys(l).length!==0){const o=hde(l);return{backgroundImage:`linear-gradient(${a}, ${o})`}}return{backgroundImage:`linear-gradient(${a}, ${n}, ${r})`}},yde=ee({compatConfig:{MODE:3},name:"ProgressLine",inheritAttrs:!1,props:gde(),setup(e,t){let{slots:n,attrs:r}=t;const a=z(()=>{const{strokeColor:v,direction:b}=e;return v&&typeof v!="string"?bde(v,b):{backgroundColor:v}}),l=z(()=>e.strokeLinecap==="square"||e.strokeLinecap==="butt"?0:void 0),o=z(()=>e.trailColor?{backgroundColor:e.trailColor}:void 0),c=z(()=>{var v;return(v=e.size)!==null&&v!==void 0?v:[-1,e.strokeWidth||(e.size==="small"?6:8)]}),u=z(()=>zu(c.value,"line",{strokeWidth:e.strokeWidth})),d=z(()=>{const{percent:v}=e;return g({width:`${Na(v)}%`,height:`${u.value.height}px`,borderRadius:l.value},a.value)}),s=z(()=>S1(e)),f=z(()=>{const{success:v}=e;return{width:`${Na(s.value)}%`,height:`${u.value.height}px`,borderRadius:l.value,backgroundColor:v==null?void 0:v.strokeColor}}),p={width:u.value.width<0?"100%":u.value.width,height:`${u.value.height}px`};return()=>{var v;return i(et,null,[i("div",H(H({},r),{},{class:[`${e.prefixCls}-outer`,r.class],style:[r.style,p]}),[i("div",{class:`${e.prefixCls}-inner`,style:o.value},[i("div",{class:`${e.prefixCls}-bg`,style:d.value},null),s.value!==void 0?i("div",{class:`${e.prefixCls}-success-bg`,style:f.value},null):null])]),(v=n.default)===null||v===void 0?void 0:v.call(n)])}}}),RG={percent:0,prefixCls:"vc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1},WG=e=>{const t=ne(null);return ur(()=>{const n=Date.now();let r=!1;e.value.forEach(a=>{const l=(a==null?void 0:a.$el)||a;if(!l)return;r=!0;const o=l.style;o.transitionDuration=".3s, .3s, .3s, .06s",t.value&&n-t.value<100&&(o.transitionDuration="0s, 0s")}),r&&(t.value=Date.now())}),e},GG={gapDegree:Number,gapPosition:{type:String},percent:{type:[Array,Number]},prefixCls:String,strokeColor:{type:[Object,String,Array]},strokeLinecap:{type:String},strokeWidth:Number,trailColor:String,trailWidth:Number,transition:String};var Ode=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{percent:f}=e;return Array.isArray(f)?f:[f]}),n=z(()=>{const{prefixCls:f,strokeLinecap:p,strokeWidth:v,transition:b}=e;let m=0;return t.value.map((h,y)=>{let S=1;switch(p){case"round":S=1-v/100;break;case"square":S=1-v/2/100;break;default:S=1;break}const O={strokeDasharray:`${h*S}px, 100px`,strokeDashoffset:`-${m}px`,transition:b||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},w=r.value[y]||r.value[r.value.length-1];return m+=h,{key:y,d:u.value,"stroke-linecap":p,stroke:w,"stroke-width":v,"fill-opacity":"0",class:`${f}-line-path`,style:O}})}),r=z(()=>{const{strokeColor:f}=e;return Array.isArray(f)?f:[f]}),[a,l]=B3();WG(l);const o=z(()=>e.strokeWidth/2),c=z(()=>100-e.strokeWidth/2),u=z(()=>`M ${e.strokeLinecap==="round"?o.value:0},${o.value} + L ${e.strokeLinecap==="round"?c.value:100},${o.value}`),d=z(()=>`0 0 100 ${e.strokeWidth}`),s=z(()=>({d:u.value,"stroke-linecap":e.strokeLinecap,stroke:e.trailColor,"stroke-width":e.trailWidth||e.strokeWidth,"fill-opacity":"0",class:`${e.prefixCls}-line-trail`}));return()=>{const{percent:f,prefixCls:p,strokeColor:v,strokeLinecap:b,strokeWidth:m,trailColor:h,trailWidth:y,transition:S}=e,O=Ode(e,["percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","trailColor","trailWidth","transition"]);return delete O.gapPosition,i("svg",H({class:`${p}-line`,viewBox:d.value,preserveAspectRatio:"none"},O),[i("path",s.value,null),n.value.map((w,$)=>i("path",H({ref:a($)},w),null))])}}});var Sde=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a4&&arguments[4]!==void 0?arguments[4]:0,l=arguments.length>5?arguments[5]:void 0;const o=50-r/2;let c=0,u=-o,d=0,s=-2*o;switch(l){case"left":c=-o,u=0,d=2*o,s=0;break;case"right":c=o,u=0,d=-2*o,s=0;break;case"bottom":u=o,s=2*o;break}const f=`M 50,50 m ${c},${u} + a ${o},${o} 0 1 1 ${d},${-s} + a ${o},${o} 0 1 1 ${-d},${s}`,p=Math.PI*2*o,v={stroke:n,strokeDasharray:`${t/100*(p-a)}px ${p}px`,strokeDashoffset:`-${a/2+e/100*(p-a)}px`,transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s"};return{pathString:f,pathStyle:v}}const $de=ee({compatConfig:{MODE:3},name:"VCCircle",props:lt(GG,RG),setup(e){uP+=1;const t=ne(uP),n=z(()=>dP(e.percent)),r=z(()=>dP(e.strokeColor)),[a,l]=B3();WG(l);const o=()=>{const{prefixCls:c,strokeWidth:u,strokeLinecap:d,gapDegree:s,gapPosition:f}=e;let p=0;return n.value.map((v,b)=>{const m=r.value[b]||r.value[r.value.length-1],h=Object.prototype.toString.call(m)==="[object Object]"?`url(#${c}-gradient-${t.value})`:"",{pathString:y,pathStyle:S}=fP(p,v,m,u,s,f);p+=v;const O={key:b,d:y,stroke:h,"stroke-linecap":d,"stroke-width":u,opacity:v===0?0:1,"fill-opacity":"0",class:`${c}-circle-path`,style:S};return i("path",H({ref:a(b)},O),null)})};return()=>{const{prefixCls:c,strokeWidth:u,trailWidth:d,gapDegree:s,gapPosition:f,trailColor:p,strokeLinecap:v,strokeColor:b}=e,m=Sde(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","strokeColor"]),{pathString:h,pathStyle:y}=fP(0,100,p,u,s,f);delete m.percent;const S=r.value.find(w=>Object.prototype.toString.call(w)==="[object Object]"),O={d:h,stroke:p,"stroke-linecap":v,"stroke-width":d||u,"fill-opacity":"0",class:`${c}-circle-trail`,style:y};return i("svg",H({class:`${c}-circle`,viewBox:"0 0 100 100"},m),[S&&i("defs",null,[i("linearGradient",{id:`${c}-gradient-${t.value}`,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},[Object.keys(S).sort((w,$)=>sP(w)-sP($)).map((w,$)=>i("stop",{key:$,offset:w,"stop-color":S[w]},null))])]),i("path",O,null),o().reverse()])}}}),wde=()=>g(g({},xu()),{strokeColor:wt()}),Pde=3,Cde=e=>Pde/e*100,xde=ee({compatConfig:{MODE:3},name:"ProgressCircle",inheritAttrs:!1,props:lt(wde(),{trailColor:null}),setup(e,t){let{slots:n,attrs:r}=t;const a=z(()=>{var m;return(m=e.width)!==null&&m!==void 0?m:120}),l=z(()=>{var m;return(m=e.size)!==null&&m!==void 0?m:[a.value,a.value]}),o=z(()=>zu(l.value,"circle")),c=z(()=>{if(e.gapDegree||e.gapDegree===0)return e.gapDegree;if(e.type==="dashboard")return 75}),u=z(()=>({width:`${o.value.width}px`,height:`${o.value.height}px`,fontSize:`${o.value.width*.15+6}px`})),d=z(()=>{var m;return(m=e.strokeWidth)!==null&&m!==void 0?m:Math.max(Cde(o.value.width),6)}),s=z(()=>e.gapPosition||e.type==="dashboard"&&"bottom"||void 0),f=z(()=>pde(e)),p=z(()=>Object.prototype.toString.call(e.strokeColor)==="[object Object]"),v=z(()=>vde({success:e.success,strokeColor:e.strokeColor})),b=z(()=>({[`${e.prefixCls}-inner`]:!0,[`${e.prefixCls}-circle-gradient`]:p.value}));return()=>{var m;const h=i($de,{percent:f.value,strokeWidth:d.value,trailWidth:d.value,strokeColor:v.value,strokeLinecap:e.strokeLinecap,trailColor:e.trailColor,prefixCls:e.prefixCls,gapDegree:c.value,gapPosition:s.value},null);return i("div",H(H({},r),{},{class:[b.value,r.class],style:[r.style,u.value]}),[o.value.width<=20?i(br,null,{default:()=>[i("span",null,[h])],title:n.default}):i(et,null,[h,(m=n.default)===null||m===void 0?void 0:m.call(n)])])}}}),zde=()=>g(g({},xu()),{steps:Number,strokeColor:Ye(),trailColor:String}),Mde=ee({compatConfig:{MODE:3},name:"Steps",props:zde(),setup(e,t){let{slots:n}=t;const r=z(()=>Math.round(e.steps*((e.percent||0)/100))),a=z(()=>{var c;return(c=e.size)!==null&&c!==void 0?c:[e.size==="small"?2:14,e.strokeWidth||8]}),l=z(()=>zu(a.value,"step",{steps:e.steps,strokeWidth:e.strokeWidth||8})),o=z(()=>{const{steps:c,strokeColor:u,trailColor:d,prefixCls:s}=e,f=[];for(let p=0;p{var c;return i("div",{class:`${e.prefixCls}-steps-outer`},[o.value,(c=n.default)===null||c===void 0?void 0:c.call(n)])}}}),jde=new Ze("antProgressActive",{"0%":{transform:"translateX(-100%) scaleX(0)",opacity:.1},"20%":{transform:"translateX(-100%) scaleX(0)",opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}}),Tde=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:g(g({},tt(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize,marginInlineEnd:e.marginXS,marginBottom:e.marginXS},[`${t}-outer`]:{display:"inline-block",width:"100%"},[`&${t}-show-info`]:{[`${t}-outer`]:{marginInlineEnd:`calc(-2em - ${e.marginXS}px)`,paddingInlineEnd:`calc(2em + ${e.paddingXS}px)`}},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:e.progressRemainingColor,borderRadius:e.progressLineRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorInfo}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",backgroundColor:e.colorInfo,borderRadius:e.progressLineRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",width:"2em",marginInlineStart:e.marginXS,color:e.progressInfoTextColor,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.progressLineRadius,opacity:0,animationName:jde,animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},_de=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.progressRemainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.colorText,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:`${e.fontSize/e.fontSizeSM}em`}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},Ede=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.progressRemainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.colorInfo}}}}}},Hde=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${n}`]:{fontSize:e.fontSizeSM}}}},Ade=Je("Progress",e=>{const t=e.marginXXS/2,n=Ge(e,{progressLineRadius:100,progressInfoTextColor:e.colorText,progressDefaultColor:e.colorInfo,progressRemainingColor:e.colorFillSecondary,progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[Tde(n),_de(n),Ede(n),Hde(n)]});var Ide=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);aArray.isArray(e.strokeColor)?e.strokeColor[0]:e.strokeColor),d=z(()=>{const{percent:b=0}=e,m=S1(e);return parseInt(m!==void 0?m.toString():b.toString(),10)}),s=z(()=>{const{status:b}=e;return!fde.includes(b)&&d.value>=100?"success":b||"normal"}),f=z(()=>{const{type:b,showInfo:m,size:h}=e,y=a.value;return{[y]:!0,[`${y}-inline-circle`]:b==="circle"&&zu(h,"circle").width<=20,[`${y}-${b==="dashboard"&&"circle"||b}`]:!0,[`${y}-status-${s.value}`]:!0,[`${y}-show-info`]:m,[`${y}-${h}`]:h,[`${y}-rtl`]:l.value==="rtl",[c.value]:!0}}),p=z(()=>typeof e.strokeColor=="string"||Array.isArray(e.strokeColor)?e.strokeColor:void 0),v=()=>{const{showInfo:b,format:m,type:h,percent:y,title:S}=e,O=S1(e);if(!b)return null;let w;const $=m||(n==null?void 0:n.format)||(P=>`${P}%`),x=h==="line";return m||n!=null&&n.format||s.value!=="exception"&&s.value!=="success"?w=$(Na(y),Na(O)):s.value==="exception"?w=x?i(Gt,null,null):i(vn,null,null):s.value==="success"&&(w=x?i(Un,null,null):i(Ka,null,null)),i("span",{class:`${a.value}-text`,title:S===void 0&&typeof w=="string"?w:void 0},[w])};return()=>{const{type:b,steps:m,title:h}=e,{class:y}=r,S=Ide(r,["class"]),O=v();let w;return b==="line"?w=m?i(Mde,H(H({},e),{},{strokeColor:p.value,prefixCls:a.value,steps:m}),{default:()=>[O]}):i(yde,H(H({},e),{},{strokeColor:u.value,prefixCls:a.value,direction:l.value}),{default:()=>[O]}):(b==="circle"||b==="dashboard")&&(w=i(xde,H(H({},e),{},{prefixCls:a.value,strokeColor:u.value,progressStatus:s.value}),{default:()=>[O]})),o(i("div",H(H({role:"progressbar"},S),{},{class:[f.value,y],title:h}),[w]))}}}),UG=tn(Dde);var Fde={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};function pP(e){for(var t=1;ti("svg",{width:"252",height:"294"},[i("defs",null,[i("path",{d:"M0 .387h251.772v251.772H0z"},null)]),i("g",{fill:"none","fill-rule":"evenodd"},[i("g",{transform:"translate(0 .012)"},[i("mask",{fill:"#fff"},null),i("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"},null)]),i("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"},null),i("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF","stroke-width":"2"},null),i("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"},null),i("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"},null),i("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF","stroke-width":"2"},null),i("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"},null),i("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF","stroke-width":"2"},null),i("path",{stroke:"#FFF","stroke-width":"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"},null),i("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"},null),i("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1890FF"},null),i("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"},null),i("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"},null),i("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"},null),i("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"},null),i("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"},null),i("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"},null),i("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"},null),i("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"},null),i("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"},null),i("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"},null),i("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"},null),i("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"},null),i("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"},null),i("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"},null),i("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"},null),i("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"},null),i("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"},null),i("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"},null),i("path",{stroke:"#DB836E","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"},null),i("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7","stroke-width":"1.101","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7","stroke-width":"1.101","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"},null),i("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"},null),i("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"},null),i("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"},null),i("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"},null),i("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"},null),i("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"},null),i("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"},null),i("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"},null),i("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"},null),i("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"},null),i("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7","stroke-width":"1.101","stroke-linecap":"round","stroke-linejoin":"round"},null)])]),Rde=()=>i("svg",{width:"254",height:"294"},[i("defs",null,[i("path",{d:"M0 .335h253.49v253.49H0z"},null),i("path",{d:"M0 293.665h253.49V.401H0z"},null)]),i("g",{fill:"none","fill-rule":"evenodd"},[i("g",{transform:"translate(0 .067)"},[i("mask",{fill:"#fff"},null),i("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"},null)]),i("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"},null),i("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF","stroke-width":"2"},null),i("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"},null),i("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"},null),i("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"},null),i("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"},null),i("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"},null),i("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"},null),i("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"},null),i("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"},null),i("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"},null),i("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"},null),i("path",{stroke:"#DB836E","stroke-width":"1.063","stroke-linecap":"round","stroke-linejoin":"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"},null),i("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E","stroke-width":"1.063","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7","stroke-width":"1.136","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"},null),i("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"},null),i("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"},null),i("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"},null),i("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"},null),i("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"},null),i("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"},null),i("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"},null),i("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"},null),i("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"},null),i("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"},null),i("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"},null),i("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8","stroke-width":"1.032","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"},null),i("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"},null),i("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"},null),i("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"},null),i("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"},null),i("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"},null),i("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"},null),i("mask",{fill:"#fff"},null),i("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"},null),i("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"},null),i("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"},null),i("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"},null),i("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5","stroke-width":"1.124","stroke-linecap":"round","stroke-linejoin":"round",mask:"url(#d)"},null),i("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"},null),i("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"},null),i("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6","stroke-width":"1.124","stroke-linecap":"round","stroke-linejoin":"round",mask:"url(#d)"},null),i("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"},null),i("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"},null),i("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"},null)])]),Wde=()=>i("svg",{width:"251",height:"294"},[i("g",{fill:"none","fill-rule":"evenodd"},[i("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"},null),i("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"},null),i("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF","stroke-width":"2"},null),i("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"},null),i("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"},null),i("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF","stroke-width":"2"},null),i("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"},null),i("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF","stroke-width":"2"},null),i("path",{stroke:"#FFF","stroke-width":"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"},null),i("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"},null),i("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"},null),i("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"},null),i("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"},null),i("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"},null),i("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"},null),i("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"},null),i("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"},null),i("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"},null),i("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"},null),i("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"},null),i("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7","stroke-width":".932","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"},null),i("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"},null),i("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"},null),i("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"},null),i("path",{stroke:"#DB836E","stroke-width":"1.145","stroke-linecap":"round","stroke-linejoin":"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"},null),i("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"},null),i("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E","stroke-width":"1.145","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"},null),i("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552","stroke-width":"1.526","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E","stroke-width":"1.145","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7","stroke-width":"1.114","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E","stroke-width":".795","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"},null),i("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E","stroke-width":".75","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"},null),i("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"},null),i("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"},null),i("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"},null),i("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"},null),i("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"},null),i("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"},null),i("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),i("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"},null),i("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"},null),i("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"},null),i("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null)])]),Gde=e=>{const{componentCls:t,lineHeightHeading3:n,iconCls:r,padding:a,paddingXL:l,paddingXS:o,paddingLG:c,marginXS:u,lineHeight:d}=e;return{[t]:{padding:`${c*2}px ${l}px`,"&-rtl":{direction:"rtl"}},[`${t} ${t}-image`]:{width:e.imageWidth,height:e.imageHeight,margin:"auto"},[`${t} ${t}-icon`]:{marginBottom:c,textAlign:"center",[`& > ${r}`]:{fontSize:e.resultIconFontSize}},[`${t} ${t}-title`]:{color:e.colorTextHeading,fontSize:e.resultTitleFontSize,lineHeight:n,marginBlock:u,textAlign:"center"},[`${t} ${t}-subtitle`]:{color:e.colorTextDescription,fontSize:e.resultSubtitleFontSize,lineHeight:d,textAlign:"center"},[`${t} ${t}-content`]:{marginTop:c,padding:`${c}px ${a*2.5}px`,backgroundColor:e.colorFillAlter},[`${t} ${t}-extra`]:{margin:e.resultExtraMargin,textAlign:"center","& > *":{marginInlineEnd:o,"&:last-child":{marginInlineEnd:0}}}}},Ude=e=>{const{componentCls:t,iconCls:n}=e;return{[`${t}-success ${t}-icon > ${n}`]:{color:e.resultSuccessIconColor},[`${t}-error ${t}-icon > ${n}`]:{color:e.resultErrorIconColor},[`${t}-info ${t}-icon > ${n}`]:{color:e.resultInfoIconColor},[`${t}-warning ${t}-icon > ${n}`]:{color:e.resultWarningIconColor}}},qde=e=>[Gde(e),Ude(e)],kde=e=>qde(e),Xde=Je("Result",e=>{const{paddingLG:t,fontSizeHeading3:n}=e,r=e.fontSize,a=`${t}px 0 0 0`,l=e.colorInfo,o=e.colorError,c=e.colorSuccess,u=e.colorWarning,d=Ge(e,{resultTitleFontSize:n,resultSubtitleFontSize:r,resultIconFontSize:n*3,resultExtraMargin:a,resultInfoIconColor:l,resultErrorIconColor:o,resultSuccessIconColor:c,resultWarningIconColor:u});return[kde(d)]},{imageWidth:250,imageHeight:295}),Yde={success:Un,error:Gt,info:qn,warning:Mu},_i={404:Vde,500:Rde,403:Wde},Qde=Object.keys(_i),Zde=()=>({prefixCls:String,icon:G.any,status:{type:[Number,String],default:"info"},title:G.any,subTitle:G.any,extra:G.any}),Jde=(e,t)=>{let{status:n,icon:r}=t;if(Qde.includes(`${n}`)){const o=_i[n];return i("div",{class:`${e}-icon ${e}-image`},[i(o,null,null)])}const a=Yde[n],l=r||i(a,null,null);return i("div",{class:`${e}-icon`},[l])},Kde=(e,t)=>t&&i("div",{class:`${e}-extra`},[t]),Fl=ee({compatConfig:{MODE:3},name:"AResult",inheritAttrs:!1,props:Zde(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:a,direction:l}=je("result",e),[o,c]=Xde(a),u=z(()=>re(a.value,c.value,`${a.value}-${e.status}`,{[`${a.value}-rtl`]:l.value==="rtl"}));return()=>{var d,s,f,p,v,b,m,h;const y=(d=e.title)!==null&&d!==void 0?d:(s=n.title)===null||s===void 0?void 0:s.call(n),S=(f=e.subTitle)!==null&&f!==void 0?f:(p=n.subTitle)===null||p===void 0?void 0:p.call(n),O=(v=e.icon)!==null&&v!==void 0?v:(b=n.icon)===null||b===void 0?void 0:b.call(n),w=(m=e.extra)!==null&&m!==void 0?m:(h=n.extra)===null||h===void 0?void 0:h.call(n),$=a.value;return o(i("div",H(H({},r),{},{class:[u.value,r.class]}),[Jde($,{status:e.status,icon:O}),i("div",{class:`${$}-title`},[y]),S&&i("div",{class:`${$}-subtitle`},[S]),Kde($,w),n.default&&i("div",{class:`${$}-content`},[n.default()])]))}}});Fl.PRESENTED_IMAGE_403=_i[403];Fl.PRESENTED_IMAGE_404=_i[404];Fl.PRESENTED_IMAGE_500=_i[500];Fl.install=function(e){return e.component(Fl.name,Fl),e};const CLe=tn(G3);function mP(e){return typeof e=="string"}function e6e(){}const qG=()=>({prefixCls:String,itemWidth:String,active:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},status:Le(),iconPrefix:String,icon:G.any,adjustMarginRight:String,stepNumber:Number,stepIndex:Number,description:G.any,title:G.any,subTitle:G.any,progressDot:NX(G.oneOfType([G.looseBool,G.func])),tailContent:G.any,icons:G.shape({finish:G.any,error:G.any}).loose,onClick:ce(),onStepClick:ce(),stepIcon:ce(),itemRender:ce(),__legacy:$e()}),kG=ee({compatConfig:{MODE:3},name:"Step",inheritAttrs:!1,props:qG(),setup(e,t){let{slots:n,emit:r,attrs:a}=t;const l=c=>{r("click",c),r("stepClick",e.stepIndex)},o=c=>{let{icon:u,title:d,description:s}=c;const{prefixCls:f,stepNumber:p,status:v,iconPrefix:b,icons:m,progressDot:h=n.progressDot,stepIcon:y=n.stepIcon}=e;let S;const O=re(`${f}-icon`,`${b}icon`,{[`${b}icon-${u}`]:u&&mP(u),[`${b}icon-check`]:!u&&v==="finish"&&(m&&!m.finish||!m),[`${b}icon-cross`]:!u&&v==="error"&&(m&&!m.error||!m)}),w=i("span",{class:`${f}-icon-dot`},null);return h?typeof h=="function"?S=i("span",{class:`${f}-icon`},[h({iconDot:w,index:p-1,status:v,title:d,description:s,prefixCls:f})]):S=i("span",{class:`${f}-icon`},[w]):u&&!mP(u)?S=i("span",{class:`${f}-icon`},[u]):m&&m.finish&&v==="finish"?S=i("span",{class:`${f}-icon`},[m.finish]):m&&m.error&&v==="error"?S=i("span",{class:`${f}-icon`},[m.error]):u||v==="finish"||v==="error"?S=i("span",{class:O},null):S=i("span",{class:`${f}-icon`},[p]),y&&(S=y({index:p-1,status:v,title:d,description:s,node:S})),S};return()=>{var c,u,d,s;const{prefixCls:f,itemWidth:p,active:v,status:b="wait",tailContent:m,adjustMarginRight:h,disabled:y,title:S=(c=n.title)===null||c===void 0?void 0:c.call(n),description:O=(u=n.description)===null||u===void 0?void 0:u.call(n),subTitle:w=(d=n.subTitle)===null||d===void 0?void 0:d.call(n),icon:$=(s=n.icon)===null||s===void 0?void 0:s.call(n),onClick:x,onStepClick:P}=e,M=b||"wait",j=re(`${f}-item`,`${f}-item-${M}`,{[`${f}-item-custom`]:$,[`${f}-item-active`]:v,[`${f}-item-disabled`]:y===!0}),T={};p&&(T.width=p),h&&(T.marginRight=h);const E={onClick:x||e6e};P&&!y&&(E.role="button",E.tabindex=0,E.onClick=l);const F=i("div",H(H({},at(a,["__legacy"])),{},{class:[j,a.class],style:[a.style,T]}),[i("div",H(H({},E),{},{class:`${f}-item-container`}),[i("div",{class:`${f}-item-tail`},[m]),i("div",{class:`${f}-item-icon`},[o({icon:$,title:S,description:O})]),i("div",{class:`${f}-item-content`},[i("div",{class:`${f}-item-title`},[S,w&&i("div",{title:typeof w=="string"?w:void 0,class:`${f}-item-subtitle`},[w])]),O&&i("div",{class:`${f}-item-description`},[O])])])]);return e.itemRender?e.itemRender(F):F}}});var t6e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a[]),icons:G.shape({finish:G.any,error:G.any}).loose,stepIcon:ce(),isInline:G.looseBool,itemRender:ce()},emits:["change"],setup(e,t){let{slots:n,emit:r}=t;const a=c=>{const{current:u}=e;u!==c&&r("change",c)},l=(c,u,d)=>{const{prefixCls:s,iconPrefix:f,status:p,current:v,initial:b,icons:m,stepIcon:h=n.stepIcon,isInline:y,itemRender:S,progressDot:O=n.progressDot}=e,w=y||O,$=g(g({},c),{class:""}),x=b+u,P={active:x===v,stepNumber:x+1,stepIndex:x,key:x,prefixCls:s,iconPrefix:f,progressDot:w,stepIcon:h,icons:m,onStepClick:a};return p==="error"&&u===v-1&&($.class=`${s}-next-error`),$.status||(x===v?$.status=p:xS($,M)),i(kG,H(H(H({},$),P),{},{__legacy:!1}),null))},o=(c,u)=>l(g({},c.props),u,d=>mt(c,d));return()=>{var c;const{prefixCls:u,direction:d,type:s,labelPlacement:f,iconPrefix:p,status:v,size:b,current:m,progressDot:h=n.progressDot,initial:y,icons:S,items:O,isInline:w,itemRender:$}=e,x=t6e(e,["prefixCls","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","initial","icons","items","isInline","itemRender"]),P=s==="navigation",M=w||h,j=w?"horizontal":d,T=w?void 0:b,E=M?"vertical":f,F=re(u,`${u}-${d}`,{[`${u}-${T}`]:T,[`${u}-label-${E}`]:j==="horizontal",[`${u}-dot`]:!!M,[`${u}-navigation`]:P,[`${u}-inline`]:w});return i("div",H({class:F},x),[O.filter(A=>A).map((A,W)=>l(A,W)),Mt((c=n.default)===null||c===void 0?void 0:c.call(n)).map(o)])}}}),r6e=e=>{const{componentCls:t,stepsIconCustomTop:n,stepsIconCustomSize:r,stepsIconCustomFontSize:a}=e;return{[`${t}-item-custom`]:{[`> ${t}-item-container > ${t}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${t}-icon`]:{top:n,width:r,height:r,fontSize:a,lineHeight:`${r}px`}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},a6e=e=>{const{componentCls:t,stepsIconSize:n,lineHeight:r,stepsSmallIconSize:a}=e;return{[`&${t}-label-vertical`]:{[`${t}-item`]:{overflow:"visible","&-tail":{marginInlineStart:n/2+e.controlHeightLG,padding:`${e.paddingXXS}px ${e.paddingLG}px`},"&-content":{display:"block",width:(n/2+e.controlHeightLG)*2,marginTop:e.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:e.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:e.marginXXS,marginInlineStart:0,lineHeight:r}},[`&${t}-small:not(${t}-dot)`]:{[`${t}-item`]:{"&-icon":{marginInlineStart:e.controlHeightLG+(n-a)/2}}}}}},l6e=e=>{const{componentCls:t,stepsNavContentMaxWidth:n,stepsNavArrowColor:r,stepsNavActiveColor:a,motionDurationSlow:l}=e;return{[`&${t}-navigation`]:{paddingTop:e.paddingSM,[`&${t}-small`]:{[`${t}-item`]:{"&-container":{marginInlineStart:-e.marginSM}}},[`${t}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:-e.margin,paddingBottom:e.paddingSM,textAlign:"start",transition:`opacity ${l}`,[`${t}-item-content`]:{maxWidth:n},[`${t}-item-title`]:g(g({maxWidth:"100%",paddingInlineEnd:0},zn),{"&::after":{display:"none"}})},[`&:not(${t}-item-active)`]:{[`${t}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${e.paddingSM/2}px)`,insetInlineStart:"100%",display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,borderTop:`${e.lineWidth}px ${e.lineType} ${r}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${r}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:e.lineWidthBold,backgroundColor:a,transition:`width ${l}, inset-inline-start ${l}`,transitionTimingFunction:"ease-out",content:'""'}},[`${t}-item${t}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${t}-navigation${t}-vertical`]:{[`> ${t}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${t}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:e.lineWidth*3,height:`calc(100% - ${e.marginLG}px)`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:e.controlHeight*.25,height:e.controlHeight*.25,marginBottom:e.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},[`> ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}},[`&${t}-navigation${t}-horizontal`]:{[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}}},o6e=e=>{const{antCls:t,componentCls:n}=e;return{[`&${n}-with-progress`]:{[`${n}-item`]:{paddingTop:e.paddingXXS,[`&-process ${n}-item-container ${n}-item-icon ${n}-icon`]:{color:e.processIconColor}},[`&${n}-vertical > ${n}-item `]:{paddingInlineStart:e.paddingXXS,[`> ${n}-item-container > ${n}-item-tail`]:{top:e.marginXXS,insetInlineStart:e.stepsIconSize/2-e.lineWidth+e.paddingXXS}},[`&, &${n}-small`]:{[`&${n}-horizontal ${n}-item:first-child`]:{paddingBottom:e.paddingXXS,paddingInlineStart:e.paddingXXS}},[`&${n}-small${n}-vertical > ${n}-item > ${n}-item-container > ${n}-item-tail`]:{insetInlineStart:e.stepsSmallIconSize/2-e.lineWidth+e.paddingXXS},[`&${n}-label-vertical`]:{[`${n}-item ${n}-item-tail`]:{top:e.margin-2*e.lineWidth}},[`${n}-item-icon`]:{position:"relative",[`${t}-progress`]:{position:"absolute",insetBlockStart:(e.stepsIconSize-e.stepsProgressSize-e.lineWidth*2)/2,insetInlineStart:(e.stepsIconSize-e.stepsProgressSize-e.lineWidth*2)/2}}}}},i6e=e=>{const{componentCls:t,descriptionWidth:n,lineHeight:r,stepsCurrentDotSize:a,stepsDotSize:l,motionDurationSlow:o}=e;return{[`&${t}-dot, &${t}-dot${t}-small`]:{[`${t}-item`]:{"&-title":{lineHeight:r},"&-tail":{top:Math.floor((e.stepsDotSize-e.lineWidth*3)/2),width:"100%",marginTop:0,marginBottom:0,marginInline:`${n/2}px 0`,padding:0,"&::after":{width:`calc(100% - ${e.marginSM*2}px)`,height:e.lineWidth*3,marginInlineStart:e.marginSM}},"&-icon":{width:l,height:l,marginInlineStart:(e.descriptionWidth-l)/2,paddingInlineEnd:0,lineHeight:`${l}px`,background:"transparent",border:0,[`${t}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${o}`,"&::after":{position:"absolute",top:-e.marginSM,insetInlineStart:(l-e.controlHeightLG*1.5)/2,width:e.controlHeightLG*1.5,height:e.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:n},[`&-process ${t}-item-icon`]:{position:"relative",top:(l-a)/2,width:a,height:a,lineHeight:`${a}px`,background:"none",marginInlineStart:(e.descriptionWidth-a)/2},[`&-process ${t}-icon`]:{[`&:first-child ${t}-icon-dot`]:{insetInlineStart:0}}}},[`&${t}-vertical${t}-dot`]:{[`${t}-item-icon`]:{marginTop:(e.controlHeight-l)/2,marginInlineStart:0,background:"none"},[`${t}-item-process ${t}-item-icon`]:{marginTop:(e.controlHeight-a)/2,top:0,insetInlineStart:(l-a)/2,marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:(e.controlHeight-l)/2,insetInlineStart:0,margin:0,padding:`${l+e.paddingXS}px 0 ${e.paddingXS}px`,"&::after":{marginInlineStart:(l-e.lineWidth)/2}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:(e.controlHeightSM-l)/2},[`${t}-item-process ${t}-item-icon`]:{marginTop:(e.controlHeightSM-a)/2},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:(e.controlHeightSM-l)/2}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},c6e=e=>{const{componentCls:t}=e;return{[`&${t}-rtl`]:{direction:"rtl",[`${t}-item`]:{"&-subtitle":{float:"left"}},[`&${t}-navigation`]:{[`${t}-item::after`]:{transform:"rotate(-45deg)"}},[`&${t}-vertical`]:{[`> ${t}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${t}-item-icon`]:{float:"right"}}},[`&${t}-dot`]:{[`${t}-item-icon ${t}-icon-dot, &${t}-small ${t}-item-icon ${t}-icon-dot`]:{float:"right"}}}}},u6e=e=>{const{componentCls:t,stepsSmallIconSize:n,fontSizeSM:r,fontSize:a,colorTextDescription:l}=e;return{[`&${t}-small`]:{[`&${t}-horizontal:not(${t}-label-vertical) ${t}-item`]:{paddingInlineStart:e.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${t}-item-icon`]:{width:n,height:n,marginTop:0,marginBottom:0,marginInline:`0 ${e.marginXS}px`,fontSize:r,lineHeight:`${n}px`,textAlign:"center",borderRadius:n},[`${t}-item-title`]:{paddingInlineEnd:e.paddingSM,fontSize:a,lineHeight:`${n}px`,"&::after":{top:n/2}},[`${t}-item-description`]:{color:l,fontSize:a},[`${t}-item-tail`]:{top:n/2-e.paddingXXS},[`${t}-item-custom ${t}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${t}-icon`]:{fontSize:n,lineHeight:`${n}px`,transform:"none"}}}}},s6e=e=>{const{componentCls:t,stepsSmallIconSize:n,stepsIconSize:r}=e;return{[`&${t}-vertical`]:{display:"flex",flexDirection:"column",[`> ${t}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${t}-item-icon`]:{float:"left",marginInlineEnd:e.margin},[`${t}-item-content`]:{display:"block",minHeight:e.controlHeight*1.5,overflow:"hidden"},[`${t}-item-title`]:{lineHeight:`${r}px`},[`${t}-item-description`]:{paddingBottom:e.paddingSM}},[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.stepsIconSize/2-e.lineWidth,width:e.lineWidth,height:"100%",padding:`${r+e.marginXXS*1.5}px 0 ${e.marginXXS*1.5}px`,"&::after":{width:e.lineWidth,height:"100%"}},[`> ${t}-item:not(:last-child) > ${t}-item-container > ${t}-item-tail`]:{display:"block"},[` > ${t}-item > ${t}-item-container > ${t}-item-content > ${t}-item-title`]:{"&::after":{display:"none"}},[`&${t}-small ${t}-item-container`]:{[`${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.stepsSmallIconSize/2-e.lineWidth,padding:`${n+e.marginXXS*1.5}px 0 ${e.marginXXS*1.5}px`},[`${t}-item-title`]:{lineHeight:`${n}px`}}}}},d6e=e=>{const{componentCls:t,inlineDotSize:n,inlineTitleColor:r,inlineTailColor:a}=e,l=e.paddingXS+e.lineWidth,o={[`${t}-item-container ${t}-item-content ${t}-item-title`]:{color:r}};return{[`&${t}-inline`]:{width:"auto",display:"inline-flex",[`${t}-item`]:{flex:"none","&-container":{padding:`${l}px ${e.paddingXXS}px 0`,margin:`0 ${e.marginXXS/2}px`,borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:n,height:n,marginInlineStart:`calc(50% - ${n/2}px)`,[`> ${t}-icon`]:{top:0},[`${t}-icon-dot`]:{borderRadius:e.fontSizeSM/4}},"&-content":{width:"auto",marginTop:e.marginXS-e.lineWidth},"&-title":{color:r,fontSize:e.fontSizeSM,lineHeight:e.lineHeightSM,fontWeight:"normal",marginBottom:e.marginXXS/2},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:l+n/2,transform:"translateY(-50%)","&:after":{width:"100%",height:e.lineWidth,borderRadius:0,marginInlineStart:0,background:a}},[`&:first-child ${t}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${t}-item-tail`]:{display:"block",width:"50%"},"&-wait":g({[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:e.colorBorderBg,border:`${e.lineWidth}px ${e.lineType} ${a}`}},o),"&-finish":g({[`${t}-item-tail::after`]:{backgroundColor:a},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:a,border:`${e.lineWidth}px ${e.lineType} ${a}`}},o),"&-error":o,"&-active, &-process":g({[`${t}-item-icon`]:{width:n,height:n,marginInlineStart:`calc(50% - ${n/2}px)`,top:0}},o),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:r}}}}}};var Cl;(function(e){e.wait="wait",e.process="process",e.finish="finish",e.error="error"})(Cl||(Cl={}));const fc=(e,t)=>{const n=`${t.componentCls}-item`,r=`${e}IconColor`,a=`${e}TitleColor`,l=`${e}DescriptionColor`,o=`${e}TailColor`,c=`${e}IconBgColor`,u=`${e}IconBorderColor`,d=`${e}DotColor`;return{[`${n}-${e} ${n}-icon`]:{backgroundColor:t[c],borderColor:t[u],[`> ${t.componentCls}-icon`]:{color:t[r],[`${t.componentCls}-icon-dot`]:{background:t[d]}}},[`${n}-${e}${n}-custom ${n}-icon`]:{[`> ${t.componentCls}-icon`]:{color:t[d]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-title`]:{color:t[a],"&::after":{backgroundColor:t[o]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-description`]:{color:t[l]},[`${n}-${e} > ${n}-container > ${n}-tail::after`]:{backgroundColor:t[o]}}},f6e=e=>{const{componentCls:t,motionDurationSlow:n}=e,r=`${t}-item`;return g(g(g(g(g(g({[r]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${r}-container > ${r}-tail, > ${r}-container > ${r}-content > ${r}-title::after`]:{display:"none"}}},[`${r}-container`]:{outline:"none"},[`${r}-icon, ${r}-content`]:{display:"inline-block",verticalAlign:"top"},[`${r}-icon`]:{width:e.stepsIconSize,height:e.stepsIconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:e.marginXS,fontSize:e.stepsIconFontSize,fontFamily:e.fontFamily,lineHeight:`${e.stepsIconSize}px`,textAlign:"center",borderRadius:e.stepsIconSize,border:`${e.lineWidth}px ${e.lineType} transparent`,transition:`background-color ${n}, border-color ${n}`,[`${t}-icon`]:{position:"relative",top:e.stepsIconTop,color:e.colorPrimary,lineHeight:1}},[`${r}-tail`]:{position:"absolute",top:e.stepsIconSize/2-e.paddingXXS,insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:e.lineWidth,background:e.colorSplit,borderRadius:e.lineWidth,transition:`background ${n}`,content:'""'}},[`${r}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:e.padding,color:e.colorText,fontSize:e.fontSizeLG,lineHeight:`${e.stepsTitleLineHeight}px`,"&::after":{position:"absolute",top:e.stepsTitleLineHeight/2,insetInlineStart:"100%",display:"block",width:9999,height:e.lineWidth,background:e.processTailColor,content:'""'}},[`${r}-subtitle`]:{display:"inline",marginInlineStart:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize},[`${r}-description`]:{color:e.colorTextDescription,fontSize:e.fontSize}},fc(Cl.wait,e)),fc(Cl.process,e)),{[`${r}-process > ${r}-container > ${r}-title`]:{fontWeight:e.fontWeightStrong}}),fc(Cl.finish,e)),fc(Cl.error,e)),{[`${r}${t}-next-error > ${t}-item-title::after`]:{background:e.colorError},[`${r}-disabled`]:{cursor:"not-allowed"}})},p6e=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[`& ${t}-item`]:{[`&:not(${t}-item-active)`]:{[`& > ${t}-item-container[role='button']`]:{cursor:"pointer",[`${t}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${t}-icon`]:{transition:`color ${n}`}},"&:hover":{[`${t}-item`]:{"&-title, &-subtitle, &-description":{color:e.colorPrimary}}}},[`&:not(${t}-item-process)`]:{[`& > ${t}-item-container[role='button']:hover`]:{[`${t}-item`]:{"&-icon":{borderColor:e.colorPrimary,[`${t}-icon`]:{color:e.colorPrimary}}}}}}},[`&${t}-horizontal:not(${t}-label-vertical)`]:{[`${t}-item`]:{paddingInlineStart:e.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${t}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:e.descriptionWidth,whiteSpace:"normal"}}}}},v6e=e=>{const{componentCls:t}=e;return{[t]:g(g(g(g(g(g(g(g(g(g(g(g(g({},tt(e)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),f6e(e)),p6e(e)),r6e(e)),u6e(e)),s6e(e)),a6e(e)),i6e(e)),l6e(e)),c6e(e)),o6e(e)),d6e(e))}},m6e=Je("Steps",e=>{const{wireframe:t,colorTextDisabled:n,fontSizeHeading3:r,fontSize:a,controlHeight:l,controlHeightLG:o,colorTextLightSolid:c,colorText:u,colorPrimary:d,colorTextLabel:s,colorTextDescription:f,colorTextQuaternary:p,colorFillContent:v,controlItemBgActive:b,colorError:m,colorBgContainer:h,colorBorderSecondary:y}=e,S=e.controlHeight,O=e.colorSplit,w=Ge(e,{processTailColor:O,stepsNavArrowColor:n,stepsIconSize:S,stepsIconCustomSize:S,stepsIconCustomTop:0,stepsIconCustomFontSize:o/2,stepsIconTop:-.5,stepsIconFontSize:a,stepsTitleLineHeight:l,stepsSmallIconSize:r,stepsDotSize:l/4,stepsCurrentDotSize:o/4,stepsNavContentMaxWidth:"auto",processIconColor:c,processTitleColor:u,processDescriptionColor:u,processIconBgColor:d,processIconBorderColor:d,processDotColor:d,waitIconColor:t?n:s,waitTitleColor:f,waitDescriptionColor:f,waitTailColor:O,waitIconBgColor:t?h:v,waitIconBorderColor:t?n:"transparent",waitDotColor:n,finishIconColor:d,finishTitleColor:u,finishDescriptionColor:f,finishTailColor:d,finishIconBgColor:t?h:b,finishIconBorderColor:t?d:b,finishDotColor:d,errorIconColor:c,errorTitleColor:m,errorDescriptionColor:m,errorTailColor:O,errorIconBgColor:m,errorIconBorderColor:m,errorDotColor:m,stepsNavActiveColor:d,stepsProgressSize:o,inlineDotSize:6,inlineTitleColor:p,inlineTailColor:y});return[v6e(w)]},{descriptionWidth:140}),g6e=()=>({prefixCls:String,iconPrefix:String,current:Number,initial:Number,percent:Number,responsive:$e(),items:st(),labelPlacement:Le(),status:Le(),size:Le(),direction:Le(),progressDot:Ye([Boolean,Function]),type:Le(),onChange:ce(),"onUpdate:current":ce()}),t4=ee({compatConfig:{MODE:3},name:"ASteps",inheritAttrs:!1,props:lt(g6e(),{current:0,responsive:!0,labelPlacement:"horizontal"}),slots:Object,setup(e,t){let{attrs:n,slots:r,emit:a}=t;const{prefixCls:l,direction:o,configProvider:c}=je("steps",e),[u,d]=m6e(l),[,s]=kr(),f=yi(),p=z(()=>e.responsive&&f.value.xs?"vertical":e.direction),v=z(()=>c.getPrefixCls("",e.iconPrefix)),b=O=>{a("update:current",O),a("change",O)},m=z(()=>e.type==="inline"),h=z(()=>m.value?void 0:e.percent),y=O=>{let{node:w,status:$}=O;if($==="process"&&e.percent!==void 0){const x=e.size==="small"?s.value.controlHeight:s.value.controlHeightLG;return i("div",{class:`${l.value}-progress-icon`},[i(UG,{type:"circle",percent:h.value,size:x,strokeWidth:4,format:()=>null},null),w])}return w},S=z(()=>({finish:i(Ka,{class:`${l.value}-finish-icon`},null),error:i(vn,{class:`${l.value}-error-icon`},null)}));return()=>{const O=re({[`${l.value}-rtl`]:o.value==="rtl",[`${l.value}-with-progress`]:h.value!==void 0},n.class,d.value),w=($,x)=>$.description?i(br,{title:$.description},{default:()=>[x]}):x;return u(i(n6e,H(H(H({icons:S.value},n),at(e,["percent","responsive"])),{},{items:e.items,direction:p.value,prefixCls:l.value,iconPrefix:v.value,class:O,onChange:b,isInline:m.value,itemRender:m.value?w:void 0}),g({stepIcon:y},r)))}}}),n4=ee(g(g({compatConfig:{MODE:3}},kG),{name:"AStep",props:qG()})),xLe=g(t4,{Step:n4,install:e=>(e.component(t4.name,t4),e.component(n4.name,n4),e)}),h6e=e=>{const{componentCls:t}=e,n=`${t}-inner`;return{[t]:{[`&${t}-small`]:{minWidth:e.switchMinWidthSM,height:e.switchHeightSM,lineHeight:`${e.switchHeightSM}px`,[`${t}-inner`]:{paddingInlineStart:e.switchInnerMarginMaxSM,paddingInlineEnd:e.switchInnerMarginMinSM,[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${e.switchPinSizeSM+e.switchPadding*2}px - ${e.switchInnerMarginMaxSM*2}px)`,marginInlineEnd:`calc(100% - ${e.switchPinSizeSM+e.switchPadding*2}px + ${e.switchInnerMarginMaxSM*2}px)`},[`${n}-unchecked`]:{marginTop:-e.switchHeightSM,marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:e.switchPinSizeSM,height:e.switchPinSizeSM},[`${t}-loading-icon`]:{top:(e.switchPinSizeSM-e.switchLoadingIconSize)/2,fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:e.switchInnerMarginMinSM,paddingInlineEnd:e.switchInnerMarginMaxSM,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${e.switchPinSizeSM+e.switchPadding*2}px + ${e.switchInnerMarginMaxSM*2}px)`,marginInlineEnd:`calc(-100% + ${e.switchPinSizeSM+e.switchPadding*2}px - ${e.switchInnerMarginMaxSM*2}px)`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${e.switchPinSizeSM+e.switchPadding}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:e.marginXXS/2,marginInlineEnd:-e.marginXXS/2}},[`&${t}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:-e.marginXXS/2,marginInlineEnd:e.marginXXS/2}}}}}}},b6e=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:(e.switchPinSize-e.fontSize)/2,color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},y6e=e=>{const{componentCls:t}=e,n=`${t}-handle`;return{[t]:{[n]:{position:"absolute",top:e.switchPadding,insetInlineStart:e.switchPadding,width:e.switchPinSize,height:e.switchPinSize,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:e.colorWhite,borderRadius:e.switchPinSize/2,boxShadow:e.switchHandleShadow,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${n}`]:{insetInlineStart:`calc(100% - ${e.switchPinSize+e.switchPadding}px)`},[`&:not(${t}-disabled):active`]:{[`${n}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${n}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},O6e=e=>{const{componentCls:t}=e,n=`${t}-inner`;return{[t]:{[n]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:e.switchInnerMarginMax,paddingInlineEnd:e.switchInnerMarginMin,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${n}-checked, ${n}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none"},[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${e.switchPinSize+e.switchPadding*2}px - ${e.switchInnerMarginMax*2}px)`,marginInlineEnd:`calc(100% - ${e.switchPinSize+e.switchPadding*2}px + ${e.switchInnerMarginMax*2}px)`},[`${n}-unchecked`]:{marginTop:-e.switchHeight,marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${n}`]:{paddingInlineStart:e.switchInnerMarginMin,paddingInlineEnd:e.switchInnerMarginMax,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${e.switchPinSize+e.switchPadding*2}px + ${e.switchInnerMarginMax*2}px)`,marginInlineEnd:`calc(-100% + ${e.switchPinSize+e.switchPadding*2}px - ${e.switchInnerMarginMax*2}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:e.switchPadding*2,marginInlineEnd:-e.switchPadding*2}},[`&${t}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:-e.switchPadding*2,marginInlineEnd:e.switchPadding*2}}}}}},S6e=e=>{const{componentCls:t}=e;return{[t]:g(g(g(g({},tt(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:e.switchMinWidth,height:e.switchHeight,lineHeight:`${e.switchHeight}px`,verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),Wr(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},$6e=Je("Switch",e=>{const t=e.fontSize*e.lineHeight,n=e.controlHeight/2,r=2,a=t-r*2,l=n-r*2,o=Ge(e,{switchMinWidth:a*2+r*4,switchHeight:t,switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchInnerMarginMin:a/2,switchInnerMarginMax:a+r+r*2,switchPadding:r,switchPinSize:a,switchBg:e.colorBgContainer,switchMinWidthSM:l*2+r*2,switchHeightSM:n,switchInnerMarginMinSM:l/2,switchInnerMarginMaxSM:l+r+r*2,switchPinSizeSM:l,switchHandleShadow:`0 2px 4px 0 ${new vt("#00230b").setAlpha(.2).toRgbString()}`,switchLoadingIconSize:e.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[S6e(o),O6e(o),y6e(o),b6e(o),h6e(o)]}),w6e=dn("small","default"),P6e=()=>({id:String,prefixCls:String,size:G.oneOf(w6e),disabled:{type:Boolean,default:void 0},checkedChildren:G.any,unCheckedChildren:G.any,tabindex:G.oneOfType([G.string,G.number]),autofocus:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},checked:G.oneOfType([G.string,G.number,G.looseBool]),checkedValue:G.oneOfType([G.string,G.number,G.looseBool]).def(!0),unCheckedValue:G.oneOfType([G.string,G.number,G.looseBool]).def(!1),onChange:{type:Function},onClick:{type:Function},onKeydown:{type:Function},onMouseup:{type:Function},"onUpdate:checked":{type:Function},onBlur:Function,onFocus:Function}),C6e=ee({compatConfig:{MODE:3},name:"ASwitch",__ANT_SWITCH:!0,inheritAttrs:!1,props:P6e(),slots:Object,setup(e,t){let{attrs:n,slots:r,expose:a,emit:l}=t;const o=en(),c=Rn(),u=z(()=>{var j;return(j=e.disabled)!==null&&j!==void 0?j:c.value});r0(()=>{});const d=ne(e.checked!==void 0?e.checked:n.defaultChecked),s=z(()=>d.value===e.checkedValue);de(()=>e.checked,()=>{d.value=e.checked});const{prefixCls:f,direction:p,size:v}=je("switch",e),[b,m]=$6e(f),h=ne(),y=()=>{var j;(j=h.value)===null||j===void 0||j.focus()};a({focus:y,blur:()=>{var j;(j=h.value)===null||j===void 0||j.blur()}}),We(()=>{rt(()=>{e.autofocus&&!u.value&&h.value.focus()})});const O=(j,T)=>{u.value||(l("update:checked",j),l("change",j,T),o.onFieldChange())},w=j=>{l("blur",j)},$=j=>{y();const T=s.value?e.unCheckedValue:e.checkedValue;O(T,j),l("click",T,j)},x=j=>{j.keyCode===fe.LEFT?O(e.unCheckedValue,j):j.keyCode===fe.RIGHT&&O(e.checkedValue,j),l("keydown",j)},P=j=>{var T;(T=h.value)===null||T===void 0||T.blur(),l("mouseup",j)},M=z(()=>({[`${f.value}-small`]:v.value==="small",[`${f.value}-loading`]:e.loading,[`${f.value}-checked`]:s.value,[`${f.value}-disabled`]:u.value,[f.value]:!0,[`${f.value}-rtl`]:p.value==="rtl",[m.value]:!0}));return()=>{var j;return b(i(s3,null,{default:()=>[i("button",H(H(H({},at(e,["prefixCls","checkedChildren","unCheckedChildren","checked","autofocus","checkedValue","unCheckedValue","id","onChange","onUpdate:checked"])),n),{},{id:(j=e.id)!==null&&j!==void 0?j:o.id.value,onKeydown:x,onClick:$,onBlur:w,onMouseup:P,type:"button",role:"switch","aria-checked":d.value,disabled:u.value||e.loading,class:[n.class,M.value],ref:h}),[i("div",{class:`${f.value}-handle`},[e.loading?i(pn,{class:`${f.value}-loading-icon`},null):null]),i("span",{class:`${f.value}-inner`},[i("span",{class:`${f.value}-inner-checked`},[At(r,e,"checkedChildren")]),i("span",{class:`${f.value}-inner-unchecked`},[At(r,e,"unCheckedChildren")])])])]}))}}}),zLe=tn(C6e),XG=Symbol("TableContextProps"),x6e=e=>{qe(XG,e)},zr=()=>Ue(XG,{}),z6e="RC_TABLE_KEY";function YG(e){return e==null?[]:Array.isArray(e)?e:[e]}function QG(e,t){if(!t&&typeof t!="number")return e;const n=YG(t);let r=e;for(let a=0;a{const{key:a,dataIndex:l}=r||{};let o=a||YG(l).join("-")||z6e;for(;n[o];)o=`${o}_next`;n[o]=!0,t.push(o)}),t}function M6e(){const e={};function t(l,o){o&&Object.keys(o).forEach(c=>{const u=o[c];u&&typeof u=="object"?(l[c]=l[c]||{},t(l[c],u)):l[c]=u})}for(var n=arguments.length,r=new Array(n),a=0;a{t(e,l)}),e}function R2(e){return e!=null}const ZG=Symbol("SlotsContextProps"),j6e=e=>{qe(ZG,e)},f8=()=>Ue(ZG,z(()=>({}))),JG=Symbol("ContextProps"),T6e=e=>{qe(JG,e)},_6e=()=>Ue(JG,{onResizeColumn:()=>{}}),Bl="RC_TABLE_INTERNAL_COL_DEFINE",KG=Symbol("HoverContextProps"),E6e=e=>{qe(KG,e)},H6e=()=>Ue(KG,{startRow:q(-1),endRow:q(-1),onHover(){}}),W2=q(!1),A6e=()=>{We(()=>{W2.value=W2.value||W3("position","sticky")})},I6e=()=>W2;var D6e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a=n}function B6e(e){return e&&typeof e=="object"&&!Array.isArray(e)&&!Xt(e)}const Tu=ee({name:"Cell",props:["prefixCls","record","index","renderIndex","dataIndex","customRender","component","colSpan","rowSpan","fixLeft","fixRight","firstFixLeft","lastFixLeft","firstFixRight","lastFixRight","appendNode","additionalProps","ellipsis","align","rowType","isSticky","column","cellType","transformCellText"],setup(e,t){let{slots:n}=t;const r=f8(),{onHover:a,startRow:l,endRow:o}=H6e(),c=z(()=>{var m,h,y,S;return(y=(m=e.colSpan)!==null&&m!==void 0?m:(h=e.additionalProps)===null||h===void 0?void 0:h.colSpan)!==null&&y!==void 0?y:(S=e.additionalProps)===null||S===void 0?void 0:S.colspan}),u=z(()=>{var m,h,y,S;return(y=(m=e.rowSpan)!==null&&m!==void 0?m:(h=e.additionalProps)===null||h===void 0?void 0:h.rowSpan)!==null&&y!==void 0?y:(S=e.additionalProps)===null||S===void 0?void 0:S.rowspan}),d=yn(()=>{const{index:m}=e;return F6e(m,u.value||1,l.value,o.value)}),s=I6e(),f=(m,h)=>{var y;const{record:S,index:O,additionalProps:w}=e;S&&a(O,O+h-1),(y=w==null?void 0:w.onMouseenter)===null||y===void 0||y.call(w,m)},p=m=>{var h;const{record:y,additionalProps:S}=e;y&&a(-1,-1),(h=S==null?void 0:S.onMouseleave)===null||h===void 0||h.call(S,m)},v=m=>{const h=Mt(m)[0];return Xt(h)?h.type===P1?h.children:Array.isArray(h.children)?v(h.children):void 0:h},b=q(null);return de([d,()=>e.prefixCls,b],()=>{const m=$n(b.value);m&&(d.value?l2(m,`${e.prefixCls}-cell-row-hover`):o2(m,`${e.prefixCls}-cell-row-hover`))}),()=>{var m,h,y,S,O,w;const{prefixCls:$,record:x,index:P,renderIndex:M,dataIndex:j,customRender:T,component:E="td",fixLeft:F,fixRight:A,firstFixLeft:W,lastFixLeft:_,firstFixRight:N,lastFixRight:D,appendNode:V=(m=n.appendNode)===null||m===void 0?void 0:m.call(n),additionalProps:I={},ellipsis:B,align:R,rowType:L,isSticky:U,column:Y={},cellType:k}=e,Z=`${$}-cell`;let K,te;const J=(h=n.default)===null||h===void 0?void 0:h.call(n);if(R2(J)||k==="header")te=J;else{const le=QG(x,j);if(te=le,T){const ae=T({text:le,value:le,record:x,index:P,renderIndex:M,column:Y.__originColumn__});B6e(ae)?(te=ae.children,K=ae.props):te=ae}if(!(Bl in Y)&&k==="body"&&r.value.bodyCell&&!(!((y=Y.slots)===null||y===void 0)&&y.customRender)){const ae=D1(r.value,"bodyCell",{text:le,value:le,record:x,index:P,column:Y.__originColumn__},()=>{const me=te===void 0?le:te;return[typeof me=="object"&&Wt(me)||typeof me!="object"?me:null]});te=bt(ae)}e.transformCellText&&(te=e.transformCellText({text:te,record:x,index:P,column:Y.__originColumn__}))}typeof te=="object"&&!Array.isArray(te)&&!Xt(te)&&(te=null),B&&(_||N)&&(te=i("span",{class:`${Z}-content`},[te])),Array.isArray(te)&&te.length===1&&(te=te[0]);const X=K||{},{colSpan:Q,rowSpan:oe,style:ue,class:ye}=X,Oe=D6e(X,["colSpan","rowSpan","style","class"]),pe=(S=Q!==void 0?Q:c.value)!==null&&S!==void 0?S:1,we=(O=oe!==void 0?oe:u.value)!==null&&O!==void 0?O:1;if(pe===0||we===0)return null;const se={},ie=typeof F=="number"&&s.value,he=typeof A=="number"&&s.value;ie&&(se.position="sticky",se.left=`${F}px`),he&&(se.position="sticky",se.right=`${A}px`);const Ce={};R&&(Ce.textAlign=R);let Pe;const xe=B===!0?{showTitle:!0}:B;xe&&(xe.showTitle||L==="header")&&(typeof te=="string"||typeof te=="number"?Pe=te.toString():Xt(te)&&(Pe=v([te])));const Be=g(g(g({title:Pe},Oe),I),{colSpan:pe!==1?pe:null,rowSpan:we!==1?we:null,class:re(Z,{[`${Z}-fix-left`]:ie&&s.value,[`${Z}-fix-left-first`]:W&&s.value,[`${Z}-fix-left-last`]:_&&s.value,[`${Z}-fix-right`]:he&&s.value,[`${Z}-fix-right-first`]:N&&s.value,[`${Z}-fix-right-last`]:D&&s.value,[`${Z}-ellipsis`]:B,[`${Z}-with-append`]:V,[`${Z}-fix-sticky`]:(ie||he)&&U&&s.value},I.class,ye),onMouseenter:le=>{f(le,we)},onMouseleave:p,style:[I.style,Ce,se,ue]});return i(E,H(H({},Be),{},{ref:b}),{default:()=>[V,te,(w=n.dragHandle)===null||w===void 0?void 0:w.call(n)]})}}});function p8(e,t,n,r,a){const l=n[e]||{},o=n[t]||{};let c,u;l.fixed==="left"?c=r.left[e]:o.fixed==="right"&&(u=r.right[t]);let d=!1,s=!1,f=!1,p=!1;const v=n[t+1],b=n[e-1];return a==="rtl"?c!==void 0?p=!(b&&b.fixed==="left"):u!==void 0&&(f=!(v&&v.fixed==="right")):c!==void 0?d=!(v&&v.fixed==="left"):u!==void 0&&(s=!(b&&b.fixed==="right")),{fixLeft:c,fixRight:u,lastFixLeft:d,firstFixRight:s,lastFixRight:f,firstFixLeft:p,isSticky:r.isSticky}}const gP={mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"},touch:{start:"touchstart",move:"touchmove",stop:"touchend"}},hP=50,N6e=ee({compatConfig:{MODE:3},name:"DragHandle",props:{prefixCls:String,width:{type:Number,required:!0},minWidth:{type:Number,default:hP},maxWidth:{type:Number,default:1/0},column:{type:Object,default:void 0}},setup(e){let t=0,n={remove:()=>{}},r={remove:()=>{}};const a=()=>{n.remove(),r.remove()};wr(()=>{a()}),Ve(()=>{yt(!isNaN(e.width),"Table","width must be a number when use resizable")});const{onResizeColumn:l}=_6e(),o=z(()=>typeof e.minWidth=="number"&&!isNaN(e.minWidth)?e.minWidth:hP),c=z(()=>typeof e.maxWidth=="number"&&!isNaN(e.maxWidth)?e.maxWidth:1/0),u=_n();let d=0;const s=q(!1);let f;const p=O=>{let w=0;O.touches?O.touches.length?w=O.touches[0].pageX:w=O.changedTouches[0].pageX:w=O.pageX;const $=t-w;let x=Math.max(d-$,o.value);x=Math.min(x,c.value),Re.cancel(f),f=Re(()=>{l(x,e.column.__originColumn__)})},v=O=>{p(O)},b=O=>{s.value=!1,p(O),a()},m=(O,w)=>{s.value=!0,a(),d=u.vnode.el.parentNode.getBoundingClientRect().width,!(O instanceof MouseEvent&&O.which!==1)&&(O.stopPropagation&&O.stopPropagation(),t=O.touches?O.touches[0].pageX:O.pageX,n=wn(document.documentElement,w.move,v),r=wn(document.documentElement,w.stop,b))},h=O=>{O.stopPropagation(),O.preventDefault(),m(O,gP.mouse)},y=O=>{O.stopPropagation(),O.preventDefault(),m(O,gP.touch)},S=O=>{O.stopPropagation(),O.preventDefault()};return()=>{const{prefixCls:O}=e,w={[kt?"onTouchstartPassive":"onTouchstart"]:$=>y($)};return i("div",H(H({class:`${O}-resize-handle ${s.value?"dragging":""}`,onMousedown:h},w),{},{onClick:S}),[i("div",{class:`${O}-resize-handle-line`},null)])}}}),L6e=ee({name:"HeaderRow",props:["cells","stickyOffsets","flattenColumns","rowComponent","cellComponent","index","customHeaderRow"],setup(e){const t=zr();return()=>{const{prefixCls:n,direction:r}=t,{cells:a,stickyOffsets:l,flattenColumns:o,rowComponent:c,cellComponent:u,customHeaderRow:d,index:s}=e;let f;d&&(f=d(a.map(v=>v.column),s));const p=ju(a.map(v=>v.column));return i(c,f,{default:()=>[a.map((v,b)=>{const{column:m}=v,h=p8(v.colStart,v.colEnd,o,l,r);let y;m&&m.customHeaderCell&&(y=v.column.customHeaderCell(m));const S=m;return i(Tu,H(H(H({},v),{},{cellType:"header",ellipsis:m.ellipsis,align:m.align,component:u,prefixCls:n,key:p[b]},h),{},{additionalProps:y,rowType:"header",column:m}),{default:()=>m.title,dragHandle:()=>S.resizable?i(N6e,{prefixCls:n,width:S.width,minWidth:S.minWidth,maxWidth:S.maxWidth,column:S},null):null})})]})}}});function V6e(e){const t=[];function n(a,l){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;t[o]=t[o]||[];let c=l;return a.filter(Boolean).map(d=>{const s={key:d.key,class:re(d.className,d.class),column:d,colStart:c};let f=1;const p=d.children;return p&&p.length>0&&(f=n(p,c,o+1).reduce((v,b)=>v+b,0),s.hasSubColumns=!0),"colSpan"in d&&({colSpan:f}=d),"rowSpan"in d&&(s.rowSpan=d.rowSpan),s.colSpan=f,s.colEnd=s.colStart+f-1,t[o].push(s),c+=f,f})}n(e,0);const r=t.length;for(let a=0;a{!("rowSpan"in l)&&!l.hasSubColumns&&(l.rowSpan=r-a)});return t}const bP=ee({name:"TableHeader",inheritAttrs:!1,props:["columns","flattenColumns","stickyOffsets","customHeaderRow"],setup(e){const t=zr(),n=z(()=>V6e(e.columns));return()=>{const{prefixCls:r,getComponent:a}=t,{stickyOffsets:l,flattenColumns:o,customHeaderRow:c}=e,u=a(["header","wrapper"],"thead"),d=a(["header","row"],"tr"),s=a(["header","cell"],"th");return i(u,{class:`${r}-thead`},{default:()=>[n.value.map((f,p)=>i(L6e,{key:p,flattenColumns:o,cells:f,stickyOffsets:l,rowComponent:d,cellComponent:s,customHeaderRow:c,index:p},null))]})}}}),eU=Symbol("ExpandedRowProps"),R6e=e=>{qe(eU,e)},W6e=()=>Ue(eU,{}),tU=ee({name:"ExpandedRow",inheritAttrs:!1,props:["prefixCls","component","cellComponent","expanded","colSpan","isEmpty"],setup(e,t){let{slots:n,attrs:r}=t;const a=zr(),l=W6e(),{fixHeader:o,fixColumn:c,componentWidth:u,horizonScroll:d}=l;return()=>{const{prefixCls:s,component:f,cellComponent:p,expanded:v,colSpan:b,isEmpty:m}=e;return i(f,{class:r.class,style:{display:v?null:"none"}},{default:()=>[i(Tu,{component:p,prefixCls:s,colSpan:b},{default:()=>{var h;let y=(h=n.default)===null||h===void 0?void 0:h.call(n);return(m?d.value:c.value)&&(y=i("div",{style:{width:`${u.value-(o.value?a.scrollbarSize:0)}px`,position:"sticky",left:0,overflow:"hidden"},class:`${s}-expanded-row-fixed`},[y])),y}})]})}}}),G6e=ee({name:"MeasureCell",props:["columnKey"],setup(e,t){let{emit:n}=t;const r=ne();return We(()=>{r.value&&n("columnResize",e.columnKey,r.value.offsetWidth)}),()=>i(yr,{onResize:a=>{let{offsetWidth:l}=a;n("columnResize",e.columnKey,l)}},{default:()=>[i("td",{ref:r,style:{padding:0,border:0,height:0}},[i("div",{style:{height:0,overflow:"hidden"}},[va(" ")])])]})}}),nU=Symbol("BodyContextProps"),U6e=e=>{qe(nU,e)},rU=()=>Ue(nU,{}),q6e=ee({name:"BodyRow",inheritAttrs:!1,props:["record","index","renderIndex","recordKey","expandedKeys","rowComponent","cellComponent","customRow","rowExpandable","indent","rowKey","getRowKey","childrenColumnName"],setup(e,t){let{attrs:n}=t;const r=zr(),a=rU(),l=q(!1),o=z(()=>e.expandedKeys&&e.expandedKeys.has(e.recordKey));Ve(()=>{o.value&&(l.value=!0)});const c=z(()=>a.expandableType==="row"&&(!e.rowExpandable||e.rowExpandable(e.record))),u=z(()=>a.expandableType==="nest"),d=z(()=>e.childrenColumnName&&e.record&&e.record[e.childrenColumnName]),s=z(()=>c.value||u.value),f=(h,y)=>{a.onTriggerExpand(h,y)},p=z(()=>{var h;return((h=e.customRow)===null||h===void 0?void 0:h.call(e,e.record,e.index))||{}}),v=function(h){var y,S;a.expandRowByClick&&s.value&&f(e.record,h);for(var O=arguments.length,w=new Array(O>1?O-1:0),$=1;${const{record:h,index:y,indent:S}=e,{rowClassName:O}=a;return typeof O=="string"?O:typeof O=="function"?O(h,y,S):""}),m=z(()=>ju(a.flattenColumns));return()=>{const{class:h,style:y}=n,{record:S,index:O,rowKey:w,indent:$=0,rowComponent:x,cellComponent:P}=e,{prefixCls:M,fixedInfoList:j,transformCellText:T}=r,{flattenColumns:E,expandedRowClassName:F,indentSize:A,expandIcon:W,expandedRowRender:_,expandIconColumnIndex:N}=a,D=i(x,H(H({},p.value),{},{"data-row-key":w,class:re(h,`${M}-row`,`${M}-row-level-${$}`,b.value,p.value.class),style:[y,p.value.style],onClick:v}),{default:()=>[E.map((I,B)=>{const{customRender:R,dataIndex:L,className:U}=I,Y=m[B],k=j[B];let Z;I.customCell&&(Z=I.customCell(S,O,I));const K=B===(N||0)&&u.value?i(et,null,[i("span",{style:{paddingLeft:`${A*$}px`},class:`${M}-row-indent indent-level-${$}`},null),W({prefixCls:M,expanded:o.value,expandable:d.value,record:S,onExpand:f})]):null;return i(Tu,H(H({cellType:"body",class:U,ellipsis:I.ellipsis,align:I.align,component:P,prefixCls:M,key:Y,record:S,index:O,renderIndex:e.renderIndex,dataIndex:L,customRender:R},k),{},{additionalProps:Z,column:I,transformCellText:T,appendNode:K}),null)})]});let V;if(c.value&&(l.value||o.value)){const I=_({record:S,index:O,indent:$+1,expanded:o.value}),B=F&&F(S,O,$);V=i(tU,{expanded:o.value,class:re(`${M}-expanded-row`,`${M}-expanded-row-level-${$+1}`,B),prefixCls:M,component:x,cellComponent:P,colSpan:E.length,isEmpty:!1},{default:()=>[I]})}return i(et,null,[D,V])}}});function aU(e,t,n,r,a,l){const o=[];o.push({record:e,indent:t,index:l});const c=a(e),u=r==null?void 0:r.has(c);if(e&&Array.isArray(e[n])&&u)for(let d=0;d{const l=t.value,o=n.value,c=e.value;if(o!=null&&o.size){const u=[];for(let d=0;d<(c==null?void 0:c.length);d+=1){const s=c[d];u.push(...aU(s,0,l,o,r.value,d))}return u}return c==null?void 0:c.map((u,d)=>({record:u,indent:0,index:d}))})}const lU=Symbol("ResizeContextProps"),X6e=e=>{qe(lU,e)},Y6e=()=>Ue(lU,{onColumnResize:()=>{}}),Q6e=ee({name:"TableBody",props:["data","getRowKey","measureColumnWidth","expandedKeys","customRow","rowExpandable","childrenColumnName"],setup(e,t){let{slots:n}=t;const r=Y6e(),a=zr(),l=rU(),o=k6e(Ne(e,"data"),Ne(e,"childrenColumnName"),Ne(e,"expandedKeys"),Ne(e,"getRowKey")),c=q(-1),u=q(-1);let d;return E6e({startRow:c,endRow:u,onHover:(s,f)=>{clearTimeout(d),d=setTimeout(()=>{c.value=s,u.value=f},100)}}),()=>{var s;const{data:f,getRowKey:p,measureColumnWidth:v,expandedKeys:b,customRow:m,rowExpandable:h,childrenColumnName:y}=e,{onColumnResize:S}=r,{prefixCls:O,getComponent:w}=a,{flattenColumns:$}=l,x=w(["body","wrapper"],"tbody"),P=w(["body","row"],"tr"),M=w(["body","cell"],"td");let j;f.length?j=o.value.map((E,F)=>{const{record:A,indent:W,index:_}=E,N=p(A,F);return i(q6e,{key:N,rowKey:N,record:A,recordKey:N,index:F,renderIndex:_,rowComponent:P,cellComponent:M,expandedKeys:b,customRow:m,getRowKey:p,rowExpandable:h,childrenColumnName:y,indent:W},null)}):j=i(tU,{expanded:!0,class:`${O}-placeholder`,prefixCls:O,component:P,cellComponent:M,colSpan:$.length,isEmpty:!0},{default:()=>[(s=n.emptyNode)===null||s===void 0?void 0:s.call(n)]});const T=ju($);return i(x,{class:`${O}-tbody`},{default:()=>[v&&i("tr",{"aria-hidden":"true",class:`${O}-measure-row`,style:{height:0,fontSize:0}},[T.map(E=>i(G6e,{key:E,columnKey:E,onColumnResize:S},null))]),j]})}}}),aa={};var Z6e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{fixed:r}=n,a=r===!0?"left":r,l=n.children;return l&&l.length>0?[...t,...G2(l).map(o=>g({fixed:a},o))]:[...t,g(g({},n),{fixed:a})]},[])}function J6e(e){return e.map(t=>{const{fixed:n}=t,r=Z6e(t,["fixed"]);let a=n;return n==="left"?a="right":n==="right"&&(a="left"),g({fixed:a},r)})}function K6e(e,t){let{prefixCls:n,columns:r,expandable:a,expandedKeys:l,getRowKey:o,onTriggerExpand:c,expandIcon:u,rowExpandable:d,expandIconColumnIndex:s,direction:f,expandRowByClick:p,expandColumnWidth:v,expandFixed:b}=e;const m=f8(),h=z(()=>{if(a.value){let O=r.value.slice();if(!O.includes(aa)){const A=s.value||0;A>=0&&O.splice(A,0,aa)}const w=O.indexOf(aa);O=O.filter((A,W)=>A!==aa||W===w);const $=r.value[w];let x;(b.value==="left"||b.value)&&!s.value?x="left":(b.value==="right"||b.value)&&s.value===r.value.length?x="right":x=$?$.fixed:null;const P=l.value,M=d.value,j=u.value,T=n.value,E=p.value,F={[Bl]:{class:`${n.value}-expand-icon-col`,columnType:"EXPAND_COLUMN"},title:D1(m.value,"expandColumnTitle",{},()=>[""]),fixed:x,class:`${n.value}-row-expand-icon-cell`,width:v.value,customRender:A=>{let{record:W,index:_}=A;const N=o.value(W,_),D=P.has(N),V=M?M(W):!0,I=j({prefixCls:T,expanded:D,expandable:V,record:W,onExpand:c});return E?i("span",{onClick:B=>B.stopPropagation()},[I]):I}};return O.map(A=>A===aa?F:A)}return r.value.filter(O=>O!==aa)}),y=z(()=>{let O=h.value;return t.value&&(O=t.value(O)),O.length||(O=[{customRender:()=>null}]),O}),S=z(()=>f.value==="rtl"?J6e(G2(y.value)):G2(y.value));return[y,S]}function oU(e){const t=q(e);let n;const r=q([]);function a(l){r.value.push(l),Re.cancel(n),n=Re(()=>{const o=r.value;r.value=[],o.forEach(c=>{t.value=c(t.value)})})}return Xe(()=>{Re.cancel(n)}),[t,a]}function efe(e){const t=ne(null),n=ne();function r(){clearTimeout(n.value)}function a(o){t.value=o,r(),n.value=setTimeout(()=>{t.value=null,n.value=void 0},100)}function l(){return t.value}return Xe(()=>{r()}),[a,l]}function tfe(e,t,n){return z(()=>{const a=[],l=[];let o=0,c=0;const u=e.value,d=t.value,s=n.value;for(let f=0;f=0;c-=1){const u=t[c],d=n&&n[c],s=d&&d[Bl];if(u||s||o){const f=s||{},p=nfe(f,["columnType"]);a.unshift(i("col",H({key:c,style:{width:typeof u=="number"?`${u}px`:u}},p),null)),o=!0}}return i("colgroup",null,[a])}function U2(e,t){let{slots:n}=t;var r;return i("div",null,[(r=n.default)===null||r===void 0?void 0:r.call(n)])}U2.displayName="Panel";let rfe=0;const afe=ee({name:"TableSummary",props:["fixed"],setup(e,t){let{slots:n}=t;const r=zr(),a=`table-summary-uni-key-${++rfe}`,l=z(()=>e.fixed===""||e.fixed);return Ve(()=>{r.summaryCollect(a,l.value)}),Xe(()=>{r.summaryCollect(a,!1)}),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),lfe=ee({compatConfig:{MODE:3},name:"ATableSummaryRow",setup(e,t){let{slots:n}=t;return()=>{var r;return i("tr",null,[(r=n.default)===null||r===void 0?void 0:r.call(n)])}}}),cU=Symbol("SummaryContextProps"),ofe=e=>{qe(cU,e)},ife=()=>Ue(cU,{}),cfe=ee({name:"ATableSummaryCell",props:["index","colSpan","rowSpan","align"],setup(e,t){let{attrs:n,slots:r}=t;const a=zr(),l=ife();return()=>{const{index:o,colSpan:c=1,rowSpan:u,align:d}=e,{prefixCls:s,direction:f}=a,{scrollColumnIndex:p,stickyOffsets:v,flattenColumns:b}=l,h=o+c-1+1===p?c+1:c,y=p8(o,o+h-1,b,v,f);return i(Tu,H({class:n.class,index:o,component:"td",prefixCls:s,record:null,dataIndex:null,align:d,colSpan:h,rowSpan:u,customRender:()=>{var S;return(S=r.default)===null||S===void 0?void 0:S.call(r)}},y),null)}}}),pc=ee({name:"TableFooter",inheritAttrs:!1,props:["stickyOffsets","flattenColumns"],setup(e,t){let{slots:n}=t;const r=zr();return ofe(ht({stickyOffsets:Ne(e,"stickyOffsets"),flattenColumns:Ne(e,"flattenColumns"),scrollColumnIndex:z(()=>{const a=e.flattenColumns.length-1,l=e.flattenColumns[a];return l!=null&&l.scrollbar?a:null})})),()=>{var a;const{prefixCls:l}=r;return i("tfoot",{class:`${l}-summary`},[(a=n.default)===null||a===void 0?void 0:a.call(n)])}}}),ufe=afe;function sfe(e){let{prefixCls:t,record:n,onExpand:r,expanded:a,expandable:l}=e;const o=`${t}-row-expand-icon`;if(!l)return i("span",{class:[o,`${t}-row-spaced`]},null);const c=u=>{r(n,u),u.stopPropagation()};return i("span",{class:{[o]:!0,[`${t}-row-expanded`]:a,[`${t}-row-collapsed`]:!a},onClick:c},null)}function dfe(e,t,n){const r=[];function a(l){(l||[]).forEach((o,c)=>{r.push(t(o,c)),a(o[n])})}return a(e),r}const ffe=ee({name:"StickyScrollBar",inheritAttrs:!1,props:["offsetScroll","container","scrollBodyRef","scrollBodySizeInfo"],emits:["scroll"],setup(e,t){let{emit:n,expose:r}=t;const a=zr(),l=q(0),o=q(0),c=q(0);Ve(()=>{l.value=e.scrollBodySizeInfo.scrollWidth||0,o.value=e.scrollBodySizeInfo.clientWidth||0,c.value=l.value&&o.value*(o.value/l.value)},{flush:"post"});const u=q(),[d,s]=oU({scrollLeft:0,isHiddenScrollBar:!0}),f=ne({delta:0,x:0}),p=q(!1),v=()=>{p.value=!1},b=P=>{f.value={delta:P.pageX-d.value.scrollLeft,x:0},p.value=!0,P.preventDefault()},m=P=>{const{buttons:M}=P||(window==null?void 0:window.event);if(!p.value||M===0){p.value&&(p.value=!1);return}let j=f.value.x+P.pageX-f.value.x-f.value.delta;j<=0&&(j=0),j+c.value>=o.value&&(j=o.value-c.value),n("scroll",{scrollLeft:j/o.value*(l.value+2)}),f.value.x=P.pageX},h=()=>{if(!e.scrollBodyRef.value)return;const P=yS(e.scrollBodyRef.value).top,M=P+e.scrollBodyRef.value.offsetHeight,j=e.container===window?document.documentElement.scrollTop+window.innerHeight:yS(e.container).top+e.container.clientHeight;M-n1()<=j||P>=j-e.offsetScroll?s(T=>g(g({},T),{isHiddenScrollBar:!0})):s(T=>g(g({},T),{isHiddenScrollBar:!1}))};r({setScrollLeft:P=>{s(M=>g(g({},M),{scrollLeft:P/l.value*o.value||0}))}});let S=null,O=null,w=null,$=null;We(()=>{S=wn(document.body,"mouseup",v,!1),O=wn(document.body,"mousemove",m,!1),w=wn(window,"resize",h,!1)}),WU(()=>{rt(()=>{h()})}),We(()=>{setTimeout(()=>{de([c,p],()=>{h()},{immediate:!0,flush:"post"})})}),de(()=>e.container,()=>{$==null||$.remove(),$=wn(e.container,"scroll",h,!1)},{immediate:!0,flush:"post"}),Xe(()=>{S==null||S.remove(),O==null||O.remove(),$==null||$.remove(),w==null||w.remove()}),de(()=>g({},d.value),(P,M)=>{P.isHiddenScrollBar!==(M==null?void 0:M.isHiddenScrollBar)&&!P.isHiddenScrollBar&&s(j=>{const T=e.scrollBodyRef.value;return T?g(g({},j),{scrollLeft:T.scrollLeft/T.scrollWidth*T.clientWidth}):j})},{immediate:!0});const x=n1();return()=>{if(l.value<=o.value||!c.value||d.value.isHiddenScrollBar)return null;const{prefixCls:P}=a;return i("div",{style:{height:`${x}px`,width:`${o.value}px`,bottom:`${e.offsetScroll}px`},class:`${P}-sticky-scroll`},[i("div",{onMousedown:b,ref:u,class:re(`${P}-sticky-scroll-bar`,{[`${P}-sticky-scroll-bar-active`]:p.value}),style:{width:`${c.value}px`,transform:`translate3d(${d.value.scrollLeft}px, 0, 0)`}},null)])}}}),yP=fn()?window:null;function pfe(e,t){return z(()=>{const{offsetHeader:n=0,offsetSummary:r=0,offsetScroll:a=0,getContainer:l=()=>yP}=typeof e.value=="object"?e.value:{},o=l()||yP,c=!!e.value;return{isSticky:c,stickyClassName:c?`${t.value}-sticky-holder`:"",offsetHeader:n,offsetSummary:r,offsetScroll:a,container:o}})}function vfe(e,t){return z(()=>{const n=[],r=e.value,a=t.value;for(let l=0;ll.isSticky&&!e.fixHeader?0:l.scrollbarSize),c=ne(),u=m=>{const{currentTarget:h,deltaX:y}=m;y&&(a("scroll",{currentTarget:h,scrollLeft:h.scrollLeft+y}),m.preventDefault())},d=ne();We(()=>{rt(()=>{d.value=wn(c.value,"wheel",u)})}),Xe(()=>{var m;(m=d.value)===null||m===void 0||m.remove()});const s=z(()=>e.flattenColumns.every(m=>m.width&&m.width!==0&&m.width!=="0px")),f=ne([]),p=ne([]);Ve(()=>{const m=e.flattenColumns[e.flattenColumns.length-1],h={fixed:m?m.fixed:null,scrollbar:!0,customHeaderCell:()=>({class:`${l.prefixCls}-cell-scrollbar`})};f.value=o.value?[...e.columns,h]:e.columns,p.value=o.value?[...e.flattenColumns,h]:e.flattenColumns});const v=z(()=>{const{stickyOffsets:m,direction:h}=e,{right:y,left:S}=m;return g(g({},m),{left:h==="rtl"?[...S.map(O=>O+o.value),0]:S,right:h==="rtl"?y:[...y.map(O=>O+o.value),0],isSticky:l.isSticky})}),b=vfe(Ne(e,"colWidths"),Ne(e,"columCount"));return()=>{var m;const{noData:h,columCount:y,stickyTopOffset:S,stickyBottomOffset:O,stickyClassName:w,maxContentScroll:$}=e,{isSticky:x}=l;return i("div",{style:g({overflow:"hidden"},x?{top:`${S}px`,bottom:`${O}px`}:{}),ref:c,class:re(n.class,{[w]:!!w})},[i("table",{style:{tableLayout:"fixed",visibility:h||b.value?null:"hidden"}},[(!h||!$||s.value)&&i(iU,{colWidths:b.value?[...b.value,o.value]:[],columCount:y+1,columns:p.value},null),(m=r.default)===null||m===void 0?void 0:m.call(r,g(g({},e),{stickyOffsets:v.value,columns:f.value,flattenColumns:p.value}))])])}}});function SP(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r[a,Ne(e,a)])))}const mfe=[],gfe={},q2="rc-table-internal-hook",hfe=ee({name:"VcTable",inheritAttrs:!1,props:["prefixCls","data","columns","rowKey","tableLayout","scroll","rowClassName","title","footer","id","showHeader","components","customRow","customHeaderRow","direction","expandFixed","expandColumnWidth","expandedRowKeys","defaultExpandedRowKeys","expandedRowRender","expandRowByClick","expandIcon","onExpand","onExpandedRowsChange","onUpdate:expandedRowKeys","defaultExpandAllRows","indentSize","expandIconColumnIndex","expandedRowClassName","childrenColumnName","rowExpandable","sticky","transformColumns","internalHooks","internalRefs","canExpandable","onUpdateInternalRefs","transformCellText"],emits:["expand","expandedRowsChange","updateInternalRefs","update:expandedRowKeys"],setup(e,t){let{attrs:n,slots:r,emit:a}=t;const l=z(()=>e.data||mfe),o=z(()=>!!l.value.length),c=z(()=>M6e(e.components,{})),u=(ae,me)=>QG(c.value,ae)||me,d=z(()=>{const ae=e.rowKey;return typeof ae=="function"?ae:me=>me&&me[ae]}),s=z(()=>e.expandIcon||sfe),f=z(()=>e.childrenColumnName||"children"),p=z(()=>e.expandedRowRender?"row":e.canExpandable||l.value.some(ae=>ae&&typeof ae=="object"&&ae[f.value])?"nest":!1),v=q([]);Ve(()=>{e.defaultExpandedRowKeys&&(v.value=e.defaultExpandedRowKeys),e.defaultExpandAllRows&&(v.value=dfe(l.value,d.value,f.value))})();const m=z(()=>new Set(e.expandedRowKeys||v.value||[])),h=ae=>{const me=d.value(ae,l.value.indexOf(ae));let Te;const _e=m.value.has(me);_e?(m.value.delete(me),Te=[...m.value]):Te=[...m.value,me],v.value=Te,a("expand",!_e,ae),a("update:expandedRowKeys",Te),a("expandedRowsChange",Te)},y=ne(0),[S,O]=K6e(g(g({},xo(e)),{expandable:z(()=>!!e.expandedRowRender),expandedKeys:m,getRowKey:d,onTriggerExpand:h,expandIcon:s}),z(()=>e.internalHooks===q2?e.transformColumns:null)),w=z(()=>({columns:S.value,flattenColumns:O.value})),$=ne(),x=ne(),P=ne(),M=ne({scrollWidth:0,clientWidth:0}),j=ne(),[T,E]=ft(!1),[F,A]=ft(!1),[W,_]=oU(new Map),N=z(()=>ju(O.value)),D=z(()=>N.value.map(ae=>W.value.get(ae))),V=z(()=>O.value.length),I=tfe(D,V,Ne(e,"direction")),B=z(()=>e.scroll&&R2(e.scroll.y)),R=z(()=>e.scroll&&R2(e.scroll.x)||!!e.expandFixed),L=z(()=>R.value&&O.value.some(ae=>{let{fixed:me}=ae;return me})),U=ne(),Y=pfe(Ne(e,"sticky"),Ne(e,"prefixCls")),k=ht({}),Z=z(()=>{const ae=Object.values(k)[0];return(B.value||Y.value.isSticky)&&ae}),K=(ae,me)=>{me?k[ae]=me:delete k[ae]},te=ne({}),J=ne({}),X=ne({});Ve(()=>{B.value&&(J.value={overflowY:"scroll",maxHeight:xa(e.scroll.y)}),R.value&&(te.value={overflowX:"auto"},B.value||(J.value={overflowY:"hidden"}),X.value={width:e.scroll.x===!0?"auto":xa(e.scroll.x),minWidth:"100%"})});const Q=(ae,me)=>{F1($.value)&&_(Te=>{if(Te.get(ae)!==me){const _e=new Map(Te);return _e.set(ae,me),_e}return Te})},[oe,ue]=efe();function ye(ae,me){if(!me)return;if(typeof me=="function"){me(ae);return}const Te=me.$el||me;Te.scrollLeft!==ae&&(Te.scrollLeft=ae)}const Oe=ae=>{let{currentTarget:me,scrollLeft:Te}=ae;var _e;const De=e.direction==="rtl",ve=typeof Te=="number"?Te:me.scrollLeft,ge=me||gfe;if((!ue()||ue()===ge)&&(oe(ge),ye(ve,x.value),ye(ve,P.value),ye(ve,j.value),ye(ve,(_e=U.value)===null||_e===void 0?void 0:_e.setScrollLeft)),me){const{scrollWidth:be,clientWidth:ze}=me;De?(E(-ve0)):(E(ve>0),A(ve{R.value&&P.value?Oe({currentTarget:P.value}):(E(!1),A(!1))};let we;const se=ae=>{ae!==y.value&&(pe(),y.value=$.value?$.value.offsetWidth:ae)},ie=ae=>{let{width:me}=ae;if(clearTimeout(we),y.value===0){se(me);return}we=setTimeout(()=>{se(me)},100)};de([R,()=>e.data,()=>e.columns],()=>{R.value&&pe()},{flush:"post"});const[he,Ce]=ft(0);A6e(),We(()=>{rt(()=>{var ae,me;pe(),Ce(uJ(P.value).width),M.value={scrollWidth:((ae=P.value)===null||ae===void 0?void 0:ae.scrollWidth)||0,clientWidth:((me=P.value)===null||me===void 0?void 0:me.clientWidth)||0}})}),ur(()=>{rt(()=>{var ae,me;const Te=((ae=P.value)===null||ae===void 0?void 0:ae.scrollWidth)||0,_e=((me=P.value)===null||me===void 0?void 0:me.clientWidth)||0;(M.value.scrollWidth!==Te||M.value.clientWidth!==_e)&&(M.value={scrollWidth:Te,clientWidth:_e})})}),Ve(()=>{e.internalHooks===q2&&e.internalRefs&&e.onUpdateInternalRefs({body:P.value?P.value.$el||P.value:null})},{flush:"post"});const Pe=z(()=>e.tableLayout?e.tableLayout:L.value?e.scroll.x==="max-content"?"auto":"fixed":B.value||Y.value.isSticky||O.value.some(ae=>{let{ellipsis:me}=ae;return me})?"fixed":"auto"),xe=()=>{var ae;return o.value?null:((ae=r.emptyText)===null||ae===void 0?void 0:ae.call(r))||"No Data"};x6e(ht(g(g({},xo(SP(e,"prefixCls","direction","transformCellText"))),{getComponent:u,scrollbarSize:he,fixedInfoList:z(()=>O.value.map((ae,me)=>p8(me,me,O.value,I.value,e.direction))),isSticky:z(()=>Y.value.isSticky),summaryCollect:K}))),U6e(ht(g(g({},xo(SP(e,"rowClassName","expandedRowClassName","expandRowByClick","expandedRowRender","expandIconColumnIndex","indentSize"))),{columns:S,flattenColumns:O,tableLayout:Pe,expandIcon:s,expandableType:p,onTriggerExpand:h}))),X6e({onColumnResize:Q}),R6e({componentWidth:y,fixHeader:B,fixColumn:L,horizonScroll:R});const Be=()=>i(Q6e,{data:l.value,measureColumnWidth:B.value||R.value||Y.value.isSticky,expandedKeys:m.value,rowExpandable:e.rowExpandable,getRowKey:d.value,customRow:e.customRow,childrenColumnName:f.value},{emptyNode:xe}),le=()=>i(iU,{colWidths:O.value.map(ae=>{let{width:me}=ae;return me}),columns:O.value},null);return()=>{var ae;const{prefixCls:me,scroll:Te,tableLayout:_e,direction:De,title:ve=r.title,footer:ge=r.footer,id:be,showHeader:ze,customHeaderRow:Ie}=e,{isSticky:Me,offsetHeader:He,offsetSummary:ke,offsetScroll:ot,stickyClassName:Qe,container:nt}=Y.value,it=u(["table"],"table"),zt=u(["body"]),jt=(ae=r.summary)===null||ae===void 0?void 0:ae.call(r,{pageData:l.value});let Et=()=>null;const Pt={colWidths:D.value,columCount:O.value.length,stickyOffsets:I.value,customHeaderRow:Ie,fixHeader:B.value,scroll:Te};if(B.value||Me){let En=()=>null;typeof zt=="function"?(En=()=>zt(l.value,{scrollbarSize:he.value,ref:P,onScroll:Oe}),Pt.colWidths=O.value.map((rn,ya)=>{let{width:Se}=rn;const Fe=ya===S.value.length-1?Se-he.value:Se;return typeof Fe=="number"&&!Number.isNaN(Fe)?Fe:0})):En=()=>i("div",{style:g(g({},te.value),J.value),onScroll:Oe,ref:P,class:re(`${me}-body`)},[i(it,{style:g(g({},X.value),{tableLayout:Pe.value})},{default:()=>[le(),Be(),!Z.value&&jt&&i(pc,{stickyOffsets:I.value,flattenColumns:O.value},{default:()=>[jt]})]})]);const kn=g(g(g({noData:!l.value.length,maxContentScroll:R.value&&Te.x==="max-content"},Pt),w.value),{direction:De,stickyClassName:Qe,onScroll:Oe});Et=()=>i(et,null,[ze!==!1&&i(OP,H(H({},kn),{},{stickyTopOffset:He,class:`${me}-header`,ref:x}),{default:rn=>i(et,null,[i(bP,rn,null),Z.value==="top"&&i(pc,rn,{default:()=>[jt]})])}),En(),Z.value&&Z.value!=="top"&&i(OP,H(H({},kn),{},{stickyBottomOffset:ke,class:`${me}-summary`,ref:j}),{default:rn=>i(pc,rn,{default:()=>[jt]})}),Me&&P.value&&i(ffe,{ref:U,offsetScroll:ot,scrollBodyRef:P,onScroll:Oe,container:nt,scrollBodySizeInfo:M.value},null)])}else Et=()=>i("div",{style:g(g({},te.value),J.value),class:re(`${me}-content`),onScroll:Oe,ref:P},[i(it,{style:g(g({},X.value),{tableLayout:Pe.value})},{default:()=>[le(),ze!==!1&&i(bP,H(H({},Pt),w.value),null),Be(),jt&&i(pc,{stickyOffsets:I.value,flattenColumns:O.value},{default:()=>[jt]})]})]);const Ut=ga(n,{aria:!0,data:!0}),nn=()=>i("div",H(H({},Ut),{},{class:re(me,{[`${me}-rtl`]:De==="rtl",[`${me}-ping-left`]:T.value,[`${me}-ping-right`]:F.value,[`${me}-layout-fixed`]:_e==="fixed",[`${me}-fixed-header`]:B.value,[`${me}-fixed-column`]:L.value,[`${me}-scroll-horizontal`]:R.value,[`${me}-has-fix-left`]:O.value[0]&&O.value[0].fixed,[`${me}-has-fix-right`]:O.value[V.value-1]&&O.value[V.value-1].fixed==="right",[n.class]:n.class}),style:n.style,id:be,ref:$}),[ve&&i(U2,{class:`${me}-title`},{default:()=>[ve(l.value)]}),i("div",{class:`${me}-container`},[Et()]),ge&&i(U2,{class:`${me}-footer`},{default:()=>[ge(l.value)]})]);return R.value?i(yr,{onResize:ie},{default:nn}):nn()}}});function bfe(){const e=g({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{const a=n[r];a!==void 0&&(e[r]=a)})}return e}const k2=10;function yfe(e,t){const n={current:e.current,pageSize:e.pageSize};return Object.keys(t&&typeof t=="object"?t:{}).forEach(a=>{const l=e[a];typeof l!="function"&&(n[a]=l)}),n}function Ofe(e,t,n){const r=z(()=>t.value&&typeof t.value=="object"?t.value:{}),a=z(()=>r.value.total||0),[l,o]=ft(()=>({current:"defaultCurrent"in r.value?r.value.defaultCurrent:1,pageSize:"defaultPageSize"in r.value?r.value.defaultPageSize:k2})),c=z(()=>{const s=bfe(l.value,r.value,{total:a.value>0?a.value:e.value}),f=Math.ceil((a.value||e.value)/s.pageSize);return s.current>f&&(s.current=f||1),s}),u=(s,f)=>{t.value!==!1&&o({current:s??1,pageSize:f||c.value.pageSize})},d=(s,f)=>{var p,v;t.value&&((v=(p=r.value).onChange)===null||v===void 0||v.call(p,s,f)),u(s,f),n(s,f||c.value.pageSize)};return[z(()=>t.value===!1?{}:g(g({},c.value),{onChange:d})),u]}function Sfe(e,t,n){const r=q({});de([e,t,n],()=>{const l=new Map,o=n.value,c=t.value;function u(d){d.forEach((s,f)=>{const p=o(s,f);l.set(p,s),s&&typeof s=="object"&&c in s&&u(s[c]||[])})}u(e.value),r.value={kvMap:l}},{deep:!0,immediate:!0});function a(l){return r.value.kvMap.get(l)}return[a]}const Er={},X2="SELECT_ALL",Y2="SELECT_INVERT",Q2="SELECT_NONE",$fe=[];function uU(e,t){let n=[];return(t||[]).forEach(r=>{n.push(r),r&&typeof r=="object"&&e in r&&(n=[...n,...uU(e,r[e])])}),n}function wfe(e,t){const n=z(()=>{const j=e.value||{},{checkStrictly:T=!0}=j;return g(g({},j),{checkStrictly:T})}),[r,a]=Ft(n.value.selectedRowKeys||n.value.defaultSelectedRowKeys||$fe,{value:z(()=>n.value.selectedRowKeys)}),l=q(new Map),o=j=>{if(n.value.preserveSelectedRowKeys){const T=new Map;j.forEach(E=>{let F=t.getRecordByKey(E);!F&&l.value.has(E)&&(F=l.value.get(E)),T.set(E,F)}),l.value=T}};Ve(()=>{o(r.value)});const c=z(()=>n.value.checkStrictly?null:R3(t.data.value,{externalGetKey:t.getRowKey.value,childrenPropName:t.childrenColumnName.value}).keyEntities),u=z(()=>uU(t.childrenColumnName.value,t.pageData.value)),d=z(()=>{const j=new Map,T=t.getRowKey.value,E=n.value.getCheckboxProps;return u.value.forEach((F,A)=>{const W=T(F,A),_=(E?E(F):null)||{};j.set(W,_)}),j}),{maxLevel:s,levelEntities:f}=xW(c),p=j=>{var T;return!!(!((T=d.value.get(t.getRowKey.value(j)))===null||T===void 0)&&T.disabled)},v=z(()=>{if(n.value.checkStrictly)return[r.value||[],[]];const{checkedKeys:j,halfCheckedKeys:T}=Hl(r.value,!0,c.value,s.value,f.value,p);return[j||[],T]}),b=z(()=>v.value[0]),m=z(()=>v.value[1]),h=z(()=>{const j=n.value.type==="radio"?b.value.slice(0,1):b.value;return new Set(j)}),y=z(()=>n.value.type==="radio"?new Set:new Set(m.value)),[S,O]=ft(null),w=j=>{let T,E;o(j);const{preserveSelectedRowKeys:F,onChange:A}=n.value,{getRecordByKey:W}=t;F?(T=j,E=j.map(_=>l.value.get(_))):(T=[],E=[],j.forEach(_=>{const N=W(_);N!==void 0&&(T.push(_),E.push(N))})),a(T),A==null||A(T,E)},$=(j,T,E,F)=>{const{onSelect:A}=n.value,{getRecordByKey:W}=t||{};if(A){const _=E.map(N=>W(N));A(W(j),T,_,F)}w(E)},x=z(()=>{const{onSelectInvert:j,onSelectNone:T,selections:E,hideSelectAll:F}=n.value,{data:A,pageData:W,getRowKey:_,locale:N}=t;return!E||F?null:(E===!0?[X2,Y2,Q2]:E).map(V=>V===X2?{key:"all",text:N.value.selectionAll,onSelect(){w(A.value.map((I,B)=>_.value(I,B)).filter(I=>{const B=d.value.get(I);return!(B!=null&&B.disabled)||h.value.has(I)}))}}:V===Y2?{key:"invert",text:N.value.selectInvert,onSelect(){const I=new Set(h.value);W.value.forEach((R,L)=>{const U=_.value(R,L),Y=d.value.get(U);Y!=null&&Y.disabled||(I.has(U)?I.delete(U):I.add(U))});const B=Array.from(I);j&&(yt(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),j(B)),w(B)}}:V===Q2?{key:"none",text:N.value.selectNone,onSelect(){T==null||T(),w(Array.from(h.value).filter(I=>{const B=d.value.get(I);return B==null?void 0:B.disabled}))}}:V)}),P=z(()=>u.value.length);return[j=>{var T;const{onSelectAll:E,onSelectMultiple:F,columnWidth:A,type:W,fixed:_,renderCell:N,hideSelectAll:D,checkStrictly:V}=n.value,{prefixCls:I,getRecordByKey:B,getRowKey:R,expandType:L,getPopupContainer:U}=t;if(!e.value)return j.filter(se=>se!==Er);let Y=j.slice();const k=new Set(h.value),Z=u.value.map(R.value).filter(se=>!d.value.get(se).disabled),K=Z.every(se=>k.has(se)),te=Z.some(se=>k.has(se)),J=()=>{const se=[];K?Z.forEach(he=>{k.delete(he),se.push(he)}):Z.forEach(he=>{k.has(he)||(k.add(he),se.push(he))});const ie=Array.from(k);E==null||E(!K,ie.map(he=>B(he)),se.map(he=>B(he))),w(ie)};let X;if(W!=="radio"){let se;if(x.value){const xe=i(Cn,{getPopupContainer:U.value},{default:()=>[x.value.map((Be,le)=>{const{key:ae,text:me,onSelect:Te}=Be;return i(Cn.Item,{key:ae||le,onClick:()=>{Te==null||Te(Z)}},{default:()=>[me]})})]});se=i("div",{class:`${I.value}-selection-extra`},[i(Br,{overlay:xe,getPopupContainer:U.value},{default:()=>[i("span",null,[i(Ja,null,null)])]})])}const ie=u.value.map((xe,Be)=>{const le=R.value(xe,Be),ae=d.value.get(le)||{};return g({checked:k.has(le)},ae)}).filter(xe=>{let{disabled:Be}=xe;return Be}),he=!!ie.length&&ie.length===P.value,Ce=he&&ie.every(xe=>{let{checked:Be}=xe;return Be}),Pe=he&&ie.some(xe=>{let{checked:Be}=xe;return Be});X=!D&&i("div",{class:`${I.value}-selection`},[i(Nr,{checked:he?Ce:!!P.value&&K,indeterminate:he?!Ce&&Pe:!K&&te,onChange:J,disabled:P.value===0||he,"aria-label":se?"Custom selection":"Select all",skipGroup:!0},null),se])}let Q;W==="radio"?Q=se=>{let{record:ie,index:he}=se;const Ce=R.value(ie,he),Pe=k.has(Ce);return{node:i(un,H(H({},d.value.get(Ce)),{},{checked:Pe,onClick:xe=>xe.stopPropagation(),onChange:xe=>{k.has(Ce)||$(Ce,!0,[Ce],xe.nativeEvent)}}),null),checked:Pe}}:Q=se=>{let{record:ie,index:he}=se;var Ce;const Pe=R.value(ie,he),xe=k.has(Pe),Be=y.value.has(Pe),le=d.value.get(Pe);let ae;return L.value==="nest"?(ae=Be,yt(typeof(le==null?void 0:le.indeterminate)!="boolean","Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):ae=(Ce=le==null?void 0:le.indeterminate)!==null&&Ce!==void 0?Ce:Be,{node:i(Nr,H(H({},le),{},{indeterminate:ae,checked:xe,skipGroup:!0,onClick:me=>me.stopPropagation(),onChange:me=>{let{nativeEvent:Te}=me;const{shiftKey:_e}=Te;let De=-1,ve=-1;if(_e&&V){const ge=new Set([S.value,Pe]);Z.some((be,ze)=>{if(ge.has(be))if(De===-1)De=ze;else return ve=ze,!0;return!1})}if(ve!==-1&&De!==ve&&V){const ge=Z.slice(De,ve+1),be=[];xe?ge.forEach(Ie=>{k.has(Ie)&&(be.push(Ie),k.delete(Ie))}):ge.forEach(Ie=>{k.has(Ie)||(be.push(Ie),k.add(Ie))});const ze=Array.from(k);F==null||F(!xe,ze.map(Ie=>B(Ie)),be.map(Ie=>B(Ie))),w(ze)}else{const ge=b.value;if(V){const be=xe?pr(ge,Pe):_r(ge,Pe);$(Pe,!xe,be,Te)}else{const be=Hl([...ge,Pe],!0,c.value,s.value,f.value,p),{checkedKeys:ze,halfCheckedKeys:Ie}=be;let Me=ze;if(xe){const He=new Set(ze);He.delete(Pe),Me=Hl(Array.from(He),{checked:!1,halfCheckedKeys:Ie},c.value,s.value,f.value,p).checkedKeys}$(Pe,!xe,Me,Te)}}O(Pe)}}),null),checked:xe}};const oe=se=>{let{record:ie,index:he}=se;const{node:Ce,checked:Pe}=Q({record:ie,index:he});return N?N(Pe,ie,he,Ce):Ce};if(!Y.includes(Er))if(Y.findIndex(se=>{var ie;return((ie=se[Bl])===null||ie===void 0?void 0:ie.columnType)==="EXPAND_COLUMN"})===0){const[se,...ie]=Y;Y=[se,Er,...ie]}else Y=[Er,...Y];const ue=Y.indexOf(Er);Y=Y.filter((se,ie)=>se!==Er||ie===ue);const ye=Y[ue-1],Oe=Y[ue+1];let pe=_;pe===void 0&&((Oe==null?void 0:Oe.fixed)!==void 0?pe=Oe.fixed:(ye==null?void 0:ye.fixed)!==void 0&&(pe=ye.fixed)),pe&&ye&&((T=ye[Bl])===null||T===void 0?void 0:T.columnType)==="EXPAND_COLUMN"&&ye.fixed===void 0&&(ye.fixed=pe);const we={fixed:pe,width:A,className:`${I.value}-selection-column`,title:n.value.columnTitle||X,customRender:oe,[Bl]:{class:`${I.value}-selection-col`}};return Y.map(se=>se===Er?we:se)},h]}var Pfe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};function $P(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:[];const t=bt(e),n=[];return t.forEach(r=>{var a,l,o,c;if(!r)return;const u=r.key,d=((a=r.props)===null||a===void 0?void 0:a.style)||{},s=((l=r.props)===null||l===void 0?void 0:l.class)||"",f=r.props||{};for(const[h,y]of Object.entries(f))f[li(h)]=y;const p=r.children||{},{default:v}=p,b=Mfe(p,["default"]),m=g(g(g({},b),f),{style:d,class:s});if(u&&(m.key=u),!((o=r.type)===null||o===void 0)&&o.__ANT_TABLE_COLUMN_GROUP)m.children=sU(typeof v=="function"?v():v);else{const h=(c=r.children)===null||c===void 0?void 0:c.default;m.customRender=m.customRender||h}n.push(m)}),n}const Vc="ascend",r4="descend";function $1(e){return typeof e.sorter=="object"&&typeof e.sorter.multiple=="number"?e.sorter.multiple:!1}function PP(e){return typeof e=="function"?e:e&&typeof e=="object"&&e.compare?e.compare:!1}function jfe(e,t){return t?e[e.indexOf(t)+1]:e[0]}function Z2(e,t,n){let r=[];function a(l,o){r.push({column:l,key:qa(l,o),multiplePriority:$1(l),sortOrder:l.sortOrder})}return(e||[]).forEach((l,o)=>{const c=Ei(o,n);l.children?("sortOrder"in l&&a(l,c),r=[...r,...Z2(l.children,t,c)]):l.sorter&&("sortOrder"in l?a(l,c):t&&l.defaultSortOrder&&r.push({column:l,key:qa(l,c),multiplePriority:$1(l),sortOrder:l.defaultSortOrder}))}),r}function dU(e,t,n,r,a,l,o,c){return(t||[]).map((u,d)=>{const s=Ei(d,c);let f=u;if(f.sorter){const p=f.sortDirections||a,v=f.showSorterTooltip===void 0?o:f.showSorterTooltip,b=qa(f,s),m=n.find(j=>{let{key:T}=j;return T===b}),h=m?m.sortOrder:null,y=jfe(p,h),S=p.includes(Vc)&&i(Eu,{class:re(`${e}-column-sorter-up`,{active:h===Vc}),role:"presentation"},null),O=p.includes(r4)&&i(_u,{role:"presentation",class:re(`${e}-column-sorter-down`,{active:h===r4})},null),{cancelSort:w,triggerAsc:$,triggerDesc:x}=l||{};let P=w;y===r4?P=x:y===Vc&&(P=$);const M=typeof v=="object"?v:{title:P};f=g(g({},f),{className:re(f.className,{[`${e}-column-sort`]:h}),title:j=>{const T=i("div",{class:`${e}-column-sorters`},[i("span",{class:`${e}-column-title`},[v8(u.title,j)]),i("span",{class:re(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(S&&O)})},[i("span",{class:`${e}-column-sorter-inner`},[S,O])])]);return v?i(br,M,{default:()=>[T]}):T},customHeaderCell:j=>{const T=u.customHeaderCell&&u.customHeaderCell(j)||{},E=T.onClick,F=T.onKeydown;return T.onClick=A=>{r({column:u,key:b,sortOrder:y,multiplePriority:$1(u)}),E&&E(A)},T.onKeydown=A=>{A.keyCode===fe.ENTER&&(r({column:u,key:b,sortOrder:y,multiplePriority:$1(u)}),F==null||F(A))},h&&(T["aria-sort"]=h==="ascend"?"ascending":"descending"),T.class=re(T.class,`${e}-column-has-sorters`),T.tabindex=0,T}})}return"children"in f&&(f=g(g({},f),{children:dU(e,f.children,n,r,a,l,o,s)})),f})}function CP(e){const{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}}function xP(e){const t=e.filter(n=>{let{sortOrder:r}=n;return r}).map(CP);return t.length===0&&e.length?g(g({},CP(e[e.length-1])),{column:void 0}):t.length<=1?t[0]||{}:t}function J2(e,t,n){const r=t.slice().sort((o,c)=>c.multiplePriority-o.multiplePriority),a=e.slice(),l=r.filter(o=>{let{column:{sorter:c},sortOrder:u}=o;return PP(c)&&u});return l.length?a.sort((o,c)=>{for(let u=0;u{const c=o[n];return c?g(g({},o),{[n]:J2(c,t,n)}):o}):a}function Tfe(e){let{prefixCls:t,mergedColumns:n,onSorterChange:r,sortDirections:a,tableLocale:l,showSorterTooltip:o}=e;const[c,u]=ft(Z2(n.value,!0)),d=z(()=>{let b=!0;const m=Z2(n.value,!1);if(!m.length)return c.value;const h=[];function y(O){b?h.push(O):h.push(g(g({},O),{sortOrder:null}))}let S=null;return m.forEach(O=>{S===null?(y(O),O.sortOrder&&(O.multiplePriority===!1?b=!1:S=!0)):(S&&O.multiplePriority!==!1||(b=!1),y(O))}),h}),s=z(()=>{const b=d.value.map(m=>{let{column:h,sortOrder:y}=m;return{column:h,order:y}});return{sortColumns:b,sortColumn:b[0]&&b[0].column,sortOrder:b[0]&&b[0].order}});function f(b){let m;b.multiplePriority===!1||!d.value.length||d.value[0].multiplePriority===!1?m=[b]:m=[...d.value.filter(h=>{let{key:y}=h;return y!==b.key}),b],u(m),r(xP(m),m)}const p=b=>dU(t.value,b,d.value,f,a.value,l.value,o.value),v=z(()=>xP(d.value));return[p,d,s,v]}var _fe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};function zP(e){for(var t=1;t{const{keyCode:t}=e;t===fe.ENTER&&e.stopPropagation()},Afe=(e,t)=>{let{slots:n}=t;var r;return i("div",{onClick:a=>a.stopPropagation(),onKeydown:Hfe},[(r=n.default)===null||r===void 0?void 0:r.call(n)])},MP=ee({compatConfig:{MODE:3},name:"FilterSearch",inheritAttrs:!1,props:{value:Le(),onChange:ce(),filterSearch:Ye([Boolean,Function]),tablePrefixCls:Le(),locale:Ee()},setup(e){return()=>{const{value:t,onChange:n,filterSearch:r,tablePrefixCls:a,locale:l}=e;return r?i("div",{class:`${a}-filter-dropdown-search`},[i(Dt,{placeholder:l.filterSearchPlaceholder,onChange:n,value:t,htmlSize:1,class:`${a}-filter-dropdown-search-input`},{prefix:()=>i(no,null,null)})]):null}}});var jP=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ae.motion?e.motion:au()),u=(d,s)=>{var f,p,v,b;s==="appear"?(p=(f=c.value)===null||f===void 0?void 0:f.onAfterEnter)===null||p===void 0||p.call(f,d):s==="leave"&&((b=(v=c.value)===null||v===void 0?void 0:v.onAfterLeave)===null||b===void 0||b.call(v,d)),o.value||e.onMotionEnd(),o.value=!0};return de(()=>e.motionNodes,()=>{e.motionNodes&&e.motionType==="hide"&&a.value&&rt(()=>{a.value=!1})},{immediate:!0,flush:"post"}),We(()=>{e.motionNodes&&e.onMotionStart()}),Xe(()=>{e.motionNodes&&u()}),()=>{const{motion:d,motionNodes:s,motionType:f,active:p,eventKey:v}=e,b=jP(e,["motion","motionNodes","motionType","active","eventKey"]);return s?i(sn,H(H({},c.value),{},{appear:f==="show",onAfterAppear:m=>u(m,"appear"),onAfterLeave:m=>u(m,"leave")}),{default:()=>[Vn(i("div",{class:`${l.value.prefixCls}-treenode-motion`},[s.map(m=>{const h=jP(m.data,[]),{title:y,key:S,isStart:O,isEnd:w}=m;return delete h.children,i(S2,H(H({},h),{},{title:y,active:p,data:m.data,key:S,eventKey:S,isStart:O,isEnd:w}),r)})]),[[lr,a.value]])]}):i(S2,H(H({class:n.class,style:n.style},b),{},{active:p,eventKey:v}),r)}}});function Dfe(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];const n=e.length,r=t.length;if(Math.abs(n-r)!==1)return{add:!1,key:null};function a(l,o){const c=new Map;l.forEach(d=>{c.set(d,!0)});const u=o.filter(d=>!c.has(d));return u.length===1?u[0]:null}return no.key===n),a=e[r+1],l=t.findIndex(o=>o.key===n);if(a){const o=t.findIndex(c=>c.key===a.key);return t.slice(l+1,o)}return t.slice(l+1)}var _P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{},ka=`RC_TREE_MOTION_${Math.random()}`,K2={key:ka},fU={key:ka,level:0,index:0,pos:"0",node:K2,nodes:[K2]},HP={parent:null,children:[],pos:fU.pos,data:K2,title:null,key:ka,isStart:[],isEnd:[]};function AP(e,t,n,r){return t===!1||!n?e:e.slice(0,Math.ceil(n/r)+1)}function IP(e){const{key:t,pos:n}=e;return Ci(t,n)}function Bfe(e){let t=String(e.key),n=e;for(;n.parent;)n=n.parent,t=`${n.key} > ${t}`;return t}const Nfe=ee({compatConfig:{MODE:3},name:"NodeList",inheritAttrs:!1,props:Uue,setup(e,t){let{expose:n,attrs:r}=t;const a=ne(),l=ne(),{expandedKeys:o,flattenNodes:c}=SW();n({scrollTo:m=>{a.value.scrollTo(m)},getIndentWidth:()=>l.value.offsetWidth});const u=q(c.value),d=q([]),s=ne(null);function f(){u.value=c.value,d.value=[],s.value=null,e.onListChangeEnd()}const p=L3();de([()=>o.value.slice(),c],(m,h)=>{let[y,S]=m,[O,w]=h;const $=Dfe(O,y);if($.key!==null){const{virtual:x,height:P,itemHeight:M}=e;if($.add){const j=w.findIndex(F=>{let{key:A}=F;return A===$.key}),T=AP(TP(w,S,$.key),x,P,M),E=w.slice();E.splice(j+1,0,HP),u.value=E,d.value=T,s.value="show"}else{const j=S.findIndex(F=>{let{key:A}=F;return A===$.key}),T=AP(TP(S,w,$.key),x,P,M),E=S.slice();E.splice(j+1,0,HP),u.value=E,d.value=T,s.value="hide"}}else w!==S&&(u.value=S)}),de(()=>p.value.dragging,m=>{m||f()});const v=z(()=>e.motion===void 0?u.value:c.value),b=()=>{e.onActiveChange(null)};return()=>{const m=g(g({},e),r),{prefixCls:h,selectable:y,checkable:S,disabled:O,motion:w,height:$,itemHeight:x,virtual:P,focusable:M,activeItem:j,focused:T,tabindex:E,onKeydown:F,onFocus:A,onBlur:W,onListChangeStart:_,onListChangeEnd:N}=m,D=_P(m,["prefixCls","selectable","checkable","disabled","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabindex","onKeydown","onFocus","onBlur","onListChangeStart","onListChangeEnd"]);return i(et,null,[T&&j&&i("span",{style:EP,"aria-live":"assertive"},[Bfe(j)]),i("div",null,[i("input",{style:EP,disabled:M===!1||O,tabindex:M!==!1?E:null,onKeydown:F,onFocus:A,onBlur:W,value:"",onChange:Ffe,"aria-label":"for screen reader"},null)]),i("div",{class:`${h}-treenode`,"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"}},[i("div",{class:`${h}-indent`},[i("div",{ref:l,class:`${h}-indent-unit`},null)])]),i(FL,H(H({},at(D,["onActiveChange"])),{},{data:v.value,itemKey:IP,height:$,fullHeight:!1,virtual:P,itemHeight:x,prefixCls:`${h}-list`,ref:a,onVisibleChange:(V,I)=>{const B=new Set(V);I.filter(L=>!B.has(L)).some(L=>IP(L)===ka)&&f()}}),{default:V=>{const{pos:I}=V,B=_P(V.data,[]),{title:R,key:L,isStart:U,isEnd:Y}=V,k=Ci(L,I);return delete B.key,delete B.children,i(Ife,H(H({},B),{},{eventKey:k,title:R,active:!!j&&L===j.key,data:V.data,isStart:U,isEnd:Y,motion:w,motionNodes:L===ka?d.value:null,motionType:s.value,onMotionStart:_,onMotionEnd:f,onMousemove:b}),null)}})])}}});function Lfe(e){let{dropPosition:t,dropLevelOffset:n,indent:r}=e;const a={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:"2px"};switch(t){case-1:a.top=0,a.left=`${-n*r}px`;break;case 1:a.bottom=0,a.left=`${-n*r}px`;break;case 0:a.bottom=0,a.left=`${r}`;break}return i("div",{style:a},null)}const Vfe=10,Rfe=ee({compatConfig:{MODE:3},name:"Tree",inheritAttrs:!1,props:lt(wW(),{prefixCls:"vc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,expandAction:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:Lfe,allowDrop:()=>!0}),setup(e,t){let{attrs:n,slots:r,expose:a}=t;const l=q(!1);let o={};const c=q(),u=q([]),d=q([]),s=q([]),f=q([]),p=q([]),v=q([]),b={},m=ht({draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null}),h=q([]);de([()=>e.treeData,()=>e.children],()=>{h.value=e.treeData!==void 0?e.treeData.slice():w2(xn(e.children))},{immediate:!0,deep:!0});const y=q({}),S=q(!1),O=q(null),w=q(!1),$=z(()=>mu(e.fieldNames)),x=q();let P=null,M=null,j=null;const T=z(()=>({expandedKeysSet:E.value,selectedKeysSet:F.value,loadedKeysSet:A.value,loadingKeysSet:W.value,checkedKeysSet:_.value,halfCheckedKeysSet:N.value,dragOverNodeKey:m.dragOverNodeKey,dropPosition:m.dropPosition,keyEntities:y.value})),E=z(()=>new Set(v.value)),F=z(()=>new Set(u.value)),A=z(()=>new Set(f.value)),W=z(()=>new Set(p.value)),_=z(()=>new Set(d.value)),N=z(()=>new Set(s.value));Ve(()=>{if(h.value){const ve=R3(h.value,{fieldNames:$.value});y.value=g({[ka]:fU},ve.keyEntities)}});let D=!1;de([()=>e.expandedKeys,()=>e.autoExpandParent,y],(ve,ge)=>{let[be,ze]=ve,[Ie,Me]=ge,He=v.value;if(e.expandedKeys!==void 0||D&&ze!==Me)He=e.autoExpandParent||!D&&e.defaultExpandParent?$2(e.expandedKeys,y.value):e.expandedKeys;else if(!D&&e.defaultExpandAll){const ke=g({},y.value);delete ke[ka],He=Object.keys(ke).map(ot=>ke[ot].key)}else!D&&e.defaultExpandedKeys&&(He=e.autoExpandParent||e.defaultExpandParent?$2(e.defaultExpandedKeys,y.value):e.defaultExpandedKeys);He&&(v.value=He),D=!0},{immediate:!0});const V=q([]);Ve(()=>{V.value=Kue(h.value,v.value,$.value)}),Ve(()=>{e.selectable&&(e.selectedKeys!==void 0?u.value=ow(e.selectedKeys,e):!D&&e.defaultSelectedKeys&&(u.value=ow(e.defaultSelectedKeys,e)))});const{maxLevel:I,levelEntities:B}=xW(y);Ve(()=>{if(e.checkable){let ve;if(e.checkedKeys!==void 0?ve=Ds(e.checkedKeys)||{}:!D&&e.defaultCheckedKeys?ve=Ds(e.defaultCheckedKeys)||{}:h.value&&(ve=Ds(e.checkedKeys)||{checkedKeys:d.value,halfCheckedKeys:s.value}),ve){let{checkedKeys:ge=[],halfCheckedKeys:be=[]}=ve;e.checkStrictly||({checkedKeys:ge,halfCheckedKeys:be}=Hl(ge,!0,y.value,I.value,B.value)),d.value=ge,s.value=be}}}),Ve(()=>{e.loadedKeys&&(f.value=e.loadedKeys)});const R=()=>{g(m,{dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})},L=ve=>{x.value.scrollTo(ve)};de(()=>e.activeKey,()=>{e.activeKey!==void 0&&(O.value=e.activeKey)},{immediate:!0}),de(O,ve=>{rt(()=>{ve!==null&&L({key:ve})})},{immediate:!0,flush:"post"});const U=ve=>{e.expandedKeys===void 0&&(v.value=ve)},Y=()=>{m.draggingNodeKey!==null&&g(m,{draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),P=null,j=null},k=(ve,ge)=>{const{onDragend:be}=e;m.dragOverNodeKey=null,Y(),be==null||be({event:ve,node:ge.eventData}),M=null},Z=ve=>{k(ve,null),window.removeEventListener("dragend",Z)},K=(ve,ge)=>{const{onDragstart:be}=e,{eventKey:ze,eventData:Ie}=ge;M=ge,P={x:ve.clientX,y:ve.clientY};const Me=pr(v.value,ze);m.draggingNodeKey=ze,m.dragChildrenKeys=Yue(ze,y.value),c.value=x.value.getIndentWidth(),U(Me),window.addEventListener("dragend",Z),be&&be({event:ve,node:Ie})},te=(ve,ge)=>{const{onDragenter:be,onExpand:ze,allowDrop:Ie,direction:Me}=e,{pos:He,eventKey:ke}=ge;if(j!==ke&&(j=ke),!M){R();return}const{dropPosition:ot,dropLevelOffset:Qe,dropTargetKey:nt,dropContainerKey:it,dropTargetPos:zt,dropAllowed:jt,dragOverNodeKey:Et}=lw(ve,M,ge,c.value,P,Ie,V.value,y.value,E.value,Me);if(m.dragChildrenKeys.indexOf(nt)!==-1||!jt){R();return}if(o||(o={}),Object.keys(o).forEach(Pt=>{clearTimeout(o[Pt])}),M.eventKey!==ge.eventKey&&(o[He]=window.setTimeout(()=>{if(m.draggingNodeKey===null)return;let Pt=v.value.slice();const Ut=y.value[ge.eventKey];Ut&&(Ut.children||[]).length&&(Pt=_r(v.value,ge.eventKey)),U(Pt),ze&&ze(Pt,{node:ge.eventData,expanded:!0,nativeEvent:ve})},800)),M.eventKey===nt&&Qe===0){R();return}g(m,{dragOverNodeKey:Et,dropPosition:ot,dropLevelOffset:Qe,dropTargetKey:nt,dropContainerKey:it,dropTargetPos:zt,dropAllowed:jt}),be&&be({event:ve,node:ge.eventData,expandedKeys:v.value})},J=(ve,ge)=>{const{onDragover:be,allowDrop:ze,direction:Ie}=e;if(!M)return;const{dropPosition:Me,dropLevelOffset:He,dropTargetKey:ke,dropContainerKey:ot,dropAllowed:Qe,dropTargetPos:nt,dragOverNodeKey:it}=lw(ve,M,ge,c.value,P,ze,V.value,y.value,E.value,Ie);m.dragChildrenKeys.indexOf(ke)!==-1||!Qe||(M.eventKey===ke&&He===0?m.dropPosition===null&&m.dropLevelOffset===null&&m.dropTargetKey===null&&m.dropContainerKey===null&&m.dropTargetPos===null&&m.dropAllowed===!1&&m.dragOverNodeKey===null||R():Me===m.dropPosition&&He===m.dropLevelOffset&&ke===m.dropTargetKey&&ot===m.dropContainerKey&&nt===m.dropTargetPos&&Qe===m.dropAllowed&&it===m.dragOverNodeKey||g(m,{dropPosition:Me,dropLevelOffset:He,dropTargetKey:ke,dropContainerKey:ot,dropTargetPos:nt,dropAllowed:Qe,dragOverNodeKey:it}),be&&be({event:ve,node:ge.eventData}))},X=(ve,ge)=>{j===ge.eventKey&&!ve.currentTarget.contains(ve.relatedTarget)&&(R(),j=null);const{onDragleave:be}=e;be&&be({event:ve,node:ge.eventData})},Q=function(ve,ge){let be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var ze;const{dragChildrenKeys:Ie,dropPosition:Me,dropTargetKey:He,dropTargetPos:ke,dropAllowed:ot}=m;if(!ot)return;const{onDrop:Qe}=e;if(m.dragOverNodeKey=null,Y(),He===null)return;const nt=g(g({},jc(He,xn(T.value))),{active:((ze=me.value)===null||ze===void 0?void 0:ze.key)===He,data:y.value[He].node});Ie.indexOf(He);const it=V3(ke),zt={event:ve,node:Tc(nt),dragNode:M?M.eventData:null,dragNodesKeys:[M.eventKey].concat(Ie),dropToGap:Me!==0,dropPosition:Me+Number(it[it.length-1])};be||Qe==null||Qe(zt),M=null},oe=(ve,ge)=>{const{expanded:be,key:ze}=ge,Ie=V.value.filter(He=>He.key===ze)[0],Me=Tc(g(g({},jc(ze,T.value)),{data:Ie.data}));U(be?pr(v.value,ze):_r(v.value,ze)),xe(ve,Me)},ue=(ve,ge)=>{const{onClick:be,expandAction:ze}=e;ze==="click"&&oe(ve,ge),be&&be(ve,ge)},ye=(ve,ge)=>{const{onDblclick:be,expandAction:ze}=e;(ze==="doubleclick"||ze==="dblclick")&&oe(ve,ge),be&&be(ve,ge)},Oe=(ve,ge)=>{let be=u.value;const{onSelect:ze,multiple:Ie}=e,{selected:Me}=ge,He=ge[$.value.key],ke=!Me;ke?Ie?be=_r(be,He):be=[He]:be=pr(be,He);const ot=y.value,Qe=be.map(nt=>{const it=ot[nt];return it?it.node:null}).filter(nt=>nt);e.selectedKeys===void 0&&(u.value=be),ze&&ze(be,{event:"select",selected:ke,node:ge,selectedNodes:Qe,nativeEvent:ve})},pe=(ve,ge,be)=>{const{checkStrictly:ze,onCheck:Ie}=e,Me=ge[$.value.key];let He;const ke={event:"check",node:ge,checked:be,nativeEvent:ve},ot=y.value;if(ze){const Qe=be?_r(d.value,Me):pr(d.value,Me),nt=pr(s.value,Me);He={checked:Qe,halfChecked:nt},ke.checkedNodes=Qe.map(it=>ot[it]).filter(it=>it).map(it=>it.node),e.checkedKeys===void 0&&(d.value=Qe)}else{let{checkedKeys:Qe,halfCheckedKeys:nt}=Hl([...d.value,Me],!0,ot,I.value,B.value);if(!be){const it=new Set(Qe);it.delete(Me),{checkedKeys:Qe,halfCheckedKeys:nt}=Hl(Array.from(it),{checked:!1,halfCheckedKeys:nt},ot,I.value,B.value)}He=Qe,ke.checkedNodes=[],ke.checkedNodesPositions=[],ke.halfCheckedKeys=nt,Qe.forEach(it=>{const zt=ot[it];if(!zt)return;const{node:jt,pos:Et}=zt;ke.checkedNodes.push(jt),ke.checkedNodesPositions.push({node:jt,pos:Et})}),e.checkedKeys===void 0&&(d.value=Qe,s.value=nt)}Ie&&Ie(He,ke)},we=ve=>{const ge=ve[$.value.key],be=new Promise((ze,Ie)=>{const{loadData:Me,onLoad:He}=e;if(!Me||A.value.has(ge)||W.value.has(ge))return null;Me(ve).then(()=>{const ot=_r(f.value,ge),Qe=pr(p.value,ge);He&&He(ot,{event:"load",node:ve}),e.loadedKeys===void 0&&(f.value=ot),p.value=Qe,ze()}).catch(ot=>{const Qe=pr(p.value,ge);if(p.value=Qe,b[ge]=(b[ge]||0)+1,b[ge]>=Vfe){const nt=_r(f.value,ge);e.loadedKeys===void 0&&(f.value=nt),ze()}Ie(ot)}),p.value=_r(p.value,ge)});return be.catch(()=>{}),be},se=(ve,ge)=>{const{onMouseenter:be}=e;be&&be({event:ve,node:ge})},ie=(ve,ge)=>{const{onMouseleave:be}=e;be&&be({event:ve,node:ge})},he=(ve,ge)=>{const{onRightClick:be}=e;be&&(ve.preventDefault(),be({event:ve,node:ge}))},Ce=ve=>{const{onFocus:ge}=e;S.value=!0,ge&&ge(ve)},Pe=ve=>{const{onBlur:ge}=e;S.value=!1,ae(null),ge&&ge(ve)},xe=(ve,ge)=>{let be=v.value;const{onExpand:ze,loadData:Ie}=e,{expanded:Me}=ge,He=ge[$.value.key];if(w.value)return;be.indexOf(He);const ke=!Me;if(ke?be=_r(be,He):be=pr(be,He),U(be),ze&&ze(be,{node:ge,expanded:ke,nativeEvent:ve}),ke&&Ie){const ot=we(ge);ot&&ot.then(()=>{}).catch(Qe=>{const nt=pr(v.value,He);U(nt),Promise.reject(Qe)})}},Be=()=>{w.value=!0},le=()=>{setTimeout(()=>{w.value=!1})},ae=ve=>{const{onActiveChange:ge}=e;O.value!==ve&&(e.activeKey!==void 0&&(O.value=ve),ve!==null&&L({key:ve}),ge&&ge(ve))},me=z(()=>O.value===null?null:V.value.find(ve=>{let{key:ge}=ve;return ge===O.value})||null),Te=ve=>{let ge=V.value.findIndex(ze=>{let{key:Ie}=ze;return Ie===O.value});ge===-1&&ve<0&&(ge=V.value.length),ge=(ge+ve+V.value.length)%V.value.length;const be=V.value[ge];if(be){const{key:ze}=be;ae(ze)}else ae(null)},_e=z(()=>Tc(g(g({},jc(O.value,T.value)),{data:me.value.data,active:!0}))),De=ve=>{const{onKeydown:ge,checkable:be,selectable:ze}=e;switch(ve.which){case fe.UP:{Te(-1),ve.preventDefault();break}case fe.DOWN:{Te(1),ve.preventDefault();break}}const Ie=me.value;if(Ie&&Ie.data){const Me=Ie.data.isLeaf===!1||!!(Ie.data.children||[]).length,He=_e.value;switch(ve.which){case fe.LEFT:{Me&&E.value.has(O.value)?xe({},He):Ie.parent&&ae(Ie.parent.key),ve.preventDefault();break}case fe.RIGHT:{Me&&!E.value.has(O.value)?xe({},He):Ie.children&&Ie.children.length&&ae(Ie.children[0].key),ve.preventDefault();break}case fe.ENTER:case fe.SPACE:{be&&!He.disabled&&He.checkable!==!1&&!He.disableCheckbox?pe({},He,!_.value.has(O.value)):!be&&ze&&!He.disabled&&He.selectable!==!1&&Oe({},He);break}}}ge&&ge(ve)};return a({onNodeExpand:xe,scrollTo:L,onKeydown:De,selectedKeys:z(()=>u.value),checkedKeys:z(()=>d.value),halfCheckedKeys:z(()=>s.value),loadedKeys:z(()=>f.value),loadingKeys:z(()=>p.value),expandedKeys:z(()=>v.value)}),wr(()=>{window.removeEventListener("dragend",Z),l.value=!0}),Wue({expandedKeys:v,selectedKeys:u,loadedKeys:f,loadingKeys:p,checkedKeys:d,halfCheckedKeys:s,expandedKeysSet:E,selectedKeysSet:F,loadedKeysSet:A,loadingKeysSet:W,checkedKeysSet:_,halfCheckedKeysSet:N,flattenNodes:V}),()=>{const{draggingNodeKey:ve,dropLevelOffset:ge,dropContainerKey:be,dropTargetKey:ze,dropPosition:Ie,dragOverNodeKey:Me}=m,{prefixCls:He,showLine:ke,focusable:ot,tabindex:Qe=0,selectable:nt,showIcon:it,icon:zt=r.icon,switcherIcon:jt,draggable:Et,checkable:Pt,checkStrictly:Ut,disabled:nn,motion:En,loadData:kn,filterTreeNode:rn,height:ya,itemHeight:Se,virtual:Fe,dropIndicatorRender:Ae,onContextmenu:pt,onScroll:Tt,direction:Ct,rootClassName:an,rootStyle:Bt}=e,{class:dr,style:mn}=n,Hn=ga(g(g({},e),n),{aria:!0,data:!0});let Ot;return Et?typeof Et=="object"?Ot=Et:typeof Et=="function"?Ot={nodeDraggable:Et}:Ot={}:Ot=!1,i(Rue,{value:{prefixCls:He,selectable:nt,showIcon:it,icon:zt,switcherIcon:jt,draggable:Ot,draggingNodeKey:ve,checkable:Pt,customCheckable:r.checkable,checkStrictly:Ut,disabled:nn,keyEntities:y.value,dropLevelOffset:ge,dropContainerKey:be,dropTargetKey:ze,dropPosition:Ie,dragOverNodeKey:Me,dragging:ve!==null,indent:c.value,direction:Ct,dropIndicatorRender:Ae,loadData:kn,filterTreeNode:rn,onNodeClick:ue,onNodeDoubleClick:ye,onNodeExpand:xe,onNodeSelect:Oe,onNodeCheck:pe,onNodeLoad:we,onNodeMouseEnter:se,onNodeMouseLeave:ie,onNodeContextMenu:he,onNodeDragStart:K,onNodeDragEnter:te,onNodeDragOver:J,onNodeDragLeave:X,onNodeDragEnd:k,onNodeDrop:Q,slots:r}},{default:()=>[i("div",{role:"tree",class:re(He,dr,an,{[`${He}-show-line`]:ke,[`${He}-focused`]:S.value,[`${He}-active-focused`]:O.value!==null}),style:Bt},[i(Nfe,H({ref:x,prefixCls:He,style:mn,disabled:nn,selectable:nt,checkable:!!Pt,motion:En,height:ya,itemHeight:Se,virtual:Fe,focusable:ot,focused:S.value,tabindex:Qe,activeItem:me.value,onFocus:Ce,onBlur:Pe,onKeydown:De,onActiveChange:ae,onListChangeStart:Be,onListChangeEnd:le,onContextmenu:pt,onScroll:Tt},Hn),null)])]})}}});var Wfe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};function DP(e){for(var t=1;t({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),t5e=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${t.lineWidthBold}px solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),n5e=(e,t)=>{const{treeCls:n,treeNodeCls:r,treeNodePadding:a,treeTitleHeight:l}=t,o=(l-t.fontSizeLG)/2,c=t.paddingXS;return{[n]:g(g({},tt(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:g({},Rr(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:a,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:Kfe,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${r}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${a}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:g({},Rr(t)),[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${n}-draggable-icon`]:{width:l,lineHeight:`${l}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${r}:hover &`]:{opacity:.45}},[`&${r}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:l}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:g(g({},e5e(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:l,margin:0,lineHeight:`${l}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:l/2,bottom:-a,marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:l/2*.8,height:l/2,borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:c,marginBlockStart:o},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:l,margin:0,padding:`0 ${t.paddingXS/2}px`,color:"inherit",lineHeight:`${l}px`,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:t.controlItemBgHover},[`&${n}-node-selected`]:{backgroundColor:t.controlItemBgActive},[`${n}-iconEle`]:{display:"inline-block",width:l,height:l,lineHeight:`${l}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:g({lineHeight:`${l}px`,userSelect:"none"},t5e(e,t)),[`${r}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:l/2,bottom:-a,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${l/2}px !important`}}}}})}},r5e=e=>{const{treeCls:t,treeNodeCls:n,treeNodePadding:r}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:r,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:e.colorTextLightSolid,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:e.colorPrimary},[`${t}-switcher`]:{color:e.colorTextLightSolid},[`${t}-node-content-wrapper`]:{color:e.colorTextLightSolid,background:"transparent"}}}}}},a5e=(e,t)=>{const n=`.${e}`,r=`${n}-treenode`,a=t.paddingXS/2,l=t.controlHeightSM,o=Ge(t,{treeCls:n,treeNodeCls:r,treeNodePadding:a,treeTitleHeight:l});return[n5e(e,o),r5e(o)]},l5e=Je("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:LW(`${n}-checkbox`,e)},a5e(n,e),ru(e)]}),pU=()=>{const e=wW();return g(g({},e),{showLine:Ye([Boolean,Object]),multiple:$e(),autoExpandParent:$e(),checkStrictly:$e(),checkable:$e(),disabled:$e(),defaultExpandAll:$e(),defaultExpandParent:$e(),defaultExpandedKeys:st(),expandedKeys:st(),checkedKeys:Ye([Array,Object]),defaultCheckedKeys:st(),selectedKeys:st(),defaultSelectedKeys:st(),selectable:$e(),loadedKeys:st(),draggable:$e(),showIcon:$e(),icon:ce(),switcherIcon:G.any,prefixCls:String,replaceFields:Ee(),blockNode:$e(),openAnimation:G.any,onDoubleclick:e.onDblclick,"onUpdate:selectedKeys":ce(),"onUpdate:checkedKeys":ce(),"onUpdate:expandedKeys":ce()})},Rc=ee({compatConfig:{MODE:3},name:"ATree",inheritAttrs:!1,props:lt(pU(),{checkable:!1,selectable:!0,showIcon:!1,blockNode:!1}),slots:Object,setup(e,t){let{attrs:n,expose:r,emit:a,slots:l}=t;e.treeData===void 0&&l.default;const{prefixCls:o,direction:c,virtual:u}=je("tree",e),[d,s]=l5e(o),f=ne();r({treeRef:f,onNodeExpand:function(){var h;(h=f.value)===null||h===void 0||h.onNodeExpand(...arguments)},scrollTo:h=>{var y;(y=f.value)===null||y===void 0||y.scrollTo(h)},selectedKeys:z(()=>{var h;return(h=f.value)===null||h===void 0?void 0:h.selectedKeys}),checkedKeys:z(()=>{var h;return(h=f.value)===null||h===void 0?void 0:h.checkedKeys}),halfCheckedKeys:z(()=>{var h;return(h=f.value)===null||h===void 0?void 0:h.halfCheckedKeys}),loadedKeys:z(()=>{var h;return(h=f.value)===null||h===void 0?void 0:h.loadedKeys}),loadingKeys:z(()=>{var h;return(h=f.value)===null||h===void 0?void 0:h.loadingKeys}),expandedKeys:z(()=>{var h;return(h=f.value)===null||h===void 0?void 0:h.expandedKeys})}),Ve(()=>{yt(e.replaceFields===void 0,"Tree","`replaceFields` is deprecated, please use fieldNames instead")});const v=(h,y)=>{a("update:checkedKeys",h),a("check",h,y)},b=(h,y)=>{a("update:expandedKeys",h),a("expand",h,y)},m=(h,y)=>{a("update:selectedKeys",h),a("select",h,y)};return()=>{const{showIcon:h,showLine:y,switcherIcon:S=l.switcherIcon,icon:O=l.icon,blockNode:w,checkable:$,selectable:x,fieldNames:P=e.replaceFields,motion:M=e.openAnimation,itemHeight:j=28,onDoubleclick:T,onDblclick:E}=e,F=g(g(g({},n),at(e,["onUpdate:checkedKeys","onUpdate:expandedKeys","onUpdate:selectedKeys","onDoubleclick"])),{showLine:!!y,dropIndicatorRender:Jfe,fieldNames:P,icon:O,itemHeight:j}),A=l.default?Mt(l.default()):void 0;return d(i(Rfe,H(H({},F),{},{virtual:u.value,motion:M,ref:f,prefixCls:o.value,class:re({[`${o.value}-icon-hide`]:!h,[`${o.value}-block-node`]:w,[`${o.value}-unselectable`]:!x,[`${o.value}-rtl`]:c.value==="rtl"},n.class,s.value),direction:c.value,checkable:$,selectable:x,switcherIcon:W=>Zfe(o.value,S,W,l.leafIcon,y),onCheck:v,onExpand:b,onSelect:m,onDblclick:E||T,children:A}),g(g({},l),{checkable:()=>i("span",{class:`${o.value}-checkbox-inner`},null)})))}}});var o5e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};function VP(e){for(var t=1;t{if(c===Hr.End)return!1;if(u(d)){if(o.push(d),c===Hr.None)c=Hr.Start;else if(c===Hr.Start)return c=Hr.End,!1}else c===Hr.Start&&o.push(d);return n.includes(d)}),o}function a4(e,t,n){const r=[...t],a=[];return m8(e,n,(l,o)=>{const c=r.indexOf(l);return c!==-1&&(a.push(o),r.splice(c,1)),!!r.length}),a}var d5e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ag(g({},pU()),{expandAction:Ye([Boolean,String])});function p5e(e){const{isLeaf:t,expanded:n}=e;return t?i(Hi,null,null):n?i(Fu,null,null):i(Bu,null,null)}const l4=ee({compatConfig:{MODE:3},name:"ADirectoryTree",inheritAttrs:!1,props:lt(f5e(),{showIcon:!0,expandAction:"click"}),slots:Object,setup(e,t){let{attrs:n,slots:r,emit:a,expose:l}=t;var o;const c=ne(e.treeData||w2(Mt((o=r.default)===null||o===void 0?void 0:o.call(r))));de(()=>e.treeData,()=>{c.value=e.treeData}),ur(()=>{rt(()=>{var j;e.treeData===void 0&&r.default&&(c.value=w2(Mt((j=r.default)===null||j===void 0?void 0:j.call(r))))})});const u=ne(),d=ne(),s=z(()=>mu(e.fieldNames)),f=ne();l({scrollTo:j=>{var T;(T=f.value)===null||T===void 0||T.scrollTo(j)},selectedKeys:z(()=>{var j;return(j=f.value)===null||j===void 0?void 0:j.selectedKeys}),checkedKeys:z(()=>{var j;return(j=f.value)===null||j===void 0?void 0:j.checkedKeys}),halfCheckedKeys:z(()=>{var j;return(j=f.value)===null||j===void 0?void 0:j.halfCheckedKeys}),loadedKeys:z(()=>{var j;return(j=f.value)===null||j===void 0?void 0:j.loadedKeys}),loadingKeys:z(()=>{var j;return(j=f.value)===null||j===void 0?void 0:j.loadingKeys}),expandedKeys:z(()=>{var j;return(j=f.value)===null||j===void 0?void 0:j.expandedKeys})});const v=()=>{const{keyEntities:j}=R3(c.value,{fieldNames:s.value});let T;return e.defaultExpandAll?T=Object.keys(j):e.defaultExpandParent?T=$2(e.expandedKeys||e.defaultExpandedKeys||[],j):T=e.expandedKeys||e.defaultExpandedKeys,T},b=ne(e.selectedKeys||e.defaultSelectedKeys||[]),m=ne(v());de(()=>e.selectedKeys,()=>{e.selectedKeys!==void 0&&(b.value=e.selectedKeys)},{immediate:!0}),de(()=>e.expandedKeys,()=>{e.expandedKeys!==void 0&&(m.value=e.expandedKeys)},{immediate:!0});const y=a3((j,T)=>{const{isLeaf:E}=T;E||j.shiftKey||j.metaKey||j.ctrlKey||f.value.onNodeExpand(j,T)},200,{leading:!0}),S=(j,T)=>{e.expandedKeys===void 0&&(m.value=j),a("update:expandedKeys",j),a("expand",j,T)},O=(j,T)=>{const{expandAction:E}=e;E==="click"&&y(j,T),a("click",j,T)},w=(j,T)=>{const{expandAction:E}=e;(E==="dblclick"||E==="doubleclick")&&y(j,T),a("doubleclick",j,T),a("dblclick",j,T)},$=(j,T)=>{const{multiple:E}=e,{node:F,nativeEvent:A}=T,W=F[s.value.key],_=g(g({},T),{selected:!0}),N=(A==null?void 0:A.ctrlKey)||(A==null?void 0:A.metaKey),D=A==null?void 0:A.shiftKey;let V;E&&N?(V=j,u.value=W,d.value=V,_.selectedNodes=a4(c.value,V,s.value)):E&&D?(V=Array.from(new Set([...d.value||[],...s5e({treeData:c.value,expandedKeys:m.value,startKey:W,endKey:u.value,fieldNames:s.value})])),_.selectedNodes=a4(c.value,V,s.value)):(V=[W],u.value=W,d.value=V,_.selectedNodes=a4(c.value,V,s.value)),a("update:selectedKeys",V),a("select",V,_),e.selectedKeys===void 0&&(b.value=V)},x=(j,T)=>{a("update:checkedKeys",j),a("check",j,T)},{prefixCls:P,direction:M}=je("tree",e);return()=>{const j=re(`${P.value}-directory`,{[`${P.value}-directory-rtl`]:M.value==="rtl"},n.class),{icon:T=r.icon,blockNode:E=!0}=e,F=d5e(e,["icon","blockNode"]);return i(Rc,H(H(H({},n),{},{icon:T||p5e,ref:f,blockNode:E},F),{},{prefixCls:P.value,class:j,expandedKeys:m.value,selectedKeys:b.value,onSelect:$,onClick:O,onDblclick:w,onExpand:S,onCheck:x}),r)}}}),o4=S2,v5e=g(Rc,{DirectoryTree:l4,TreeNode:o4,install:e=>(e.component(Rc.name,Rc),e.component(o4.name,o4),e.component(l4.name,l4),e)});function WP(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const r=new Set;function a(l,o){let c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;const u=r.has(l);if(p0(!u,"Warning: There may be circular references"),u)return!1;if(l===o)return!0;if(n&&c>1)return!1;r.add(l);const d=c+1;if(Array.isArray(l)){if(!Array.isArray(o)||l.length!==o.length)return!1;for(let s=0;sa(l[f],o[f],d))}return!1}return a(e,t)}const{SubMenu:m5e,Item:g5e}=Cn;function h5e(e){return e.some(t=>{let{children:n}=t;return n&&n.length>0})}function vU(e,t){return typeof t=="string"||typeof t=="number"?t==null?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()):!1}function mU(e){let{filters:t,prefixCls:n,filteredKeys:r,filterMultiple:a,searchValue:l,filterSearch:o}=e;return t.map((c,u)=>{const d=String(c.value);if(c.children)return i(m5e,{key:d||u,title:c.text,popupClassName:`${n}-dropdown-submenu`},{default:()=>[mU({filters:c.children,prefixCls:n,filteredKeys:r,filterMultiple:a,searchValue:l,filterSearch:o})]});const s=a?Nr:un,f=i(g5e,{key:c.value!==void 0?d:u},{default:()=>[i(s,{checked:r.includes(d)},null),i("span",null,[c.text])]});return l.trim()?typeof o=="function"?o(l,c)?f:void 0:vU(l,c.text)?f:void 0:f})}const b5e=ee({name:"FilterDropdown",props:["tablePrefixCls","prefixCls","dropdownPrefixCls","column","filterState","filterMultiple","filterMode","filterSearch","columnKey","triggerFilter","locale","getPopupContainer"],setup(e,t){let{slots:n}=t;const r=f8(),a=z(()=>{var L;return(L=e.filterMode)!==null&&L!==void 0?L:"menu"}),l=z(()=>{var L;return(L=e.filterSearch)!==null&&L!==void 0?L:!1}),o=z(()=>e.column.filterDropdownOpen||e.column.filterDropdownVisible),c=z(()=>e.column.onFilterDropdownOpenChange||e.column.onFilterDropdownVisibleChange),u=q(!1),d=z(()=>{var L;return!!(e.filterState&&(!((L=e.filterState.filteredKeys)===null||L===void 0)&&L.length||e.filterState.forceFiltered))}),s=z(()=>{var L;return Nu((L=e.column)===null||L===void 0?void 0:L.filters)}),f=z(()=>{const{filterDropdown:L,slots:U={},customFilterDropdown:Y}=e.column;return L||U.filterDropdown&&r.value[U.filterDropdown]||Y&&r.value.customFilterDropdown}),p=z(()=>{const{filterIcon:L,slots:U={}}=e.column;return L||U.filterIcon&&r.value[U.filterIcon]||r.value.customFilterIcon}),v=L=>{var U;u.value=L,(U=c.value)===null||U===void 0||U.call(c,L)},b=z(()=>typeof o.value=="boolean"?o.value:u.value),m=z(()=>{var L;return(L=e.filterState)===null||L===void 0?void 0:L.filteredKeys}),h=q([]),y=L=>{let{selectedKeys:U}=L;h.value=U},S=(L,U)=>{let{node:Y,checked:k}=U;e.filterMultiple?y({selectedKeys:L}):y({selectedKeys:k&&Y.key?[Y.key]:[]})};de(m,()=>{u.value&&y({selectedKeys:m.value||[]})},{immediate:!0});const O=q([]),w=q(),$=L=>{w.value=setTimeout(()=>{O.value=L})},x=()=>{clearTimeout(w.value)};Xe(()=>{clearTimeout(w.value)});const P=q(""),M=L=>{const{value:U}=L.target;P.value=U};de(u,()=>{u.value||(P.value="")});const j=L=>{const{column:U,columnKey:Y,filterState:k}=e,Z=L&&L.length?L:null;if(Z===null&&(!k||!k.filteredKeys)||WP(Z,k==null?void 0:k.filteredKeys,!0))return null;e.triggerFilter({column:U,key:Y,filteredKeys:Z})},T=()=>{v(!1),j(h.value)},E=function(){let{confirm:L,closeDropdown:U}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};L&&j([]),U&&v(!1),P.value="",e.column.filterResetToDefaultFilteredValue?h.value=(e.column.defaultFilteredValue||[]).map(Y=>String(Y)):h.value=[]},F=function(){let{closeDropdown:L}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};L&&v(!1),j(h.value)},A=L=>{L&&m.value!==void 0&&(h.value=m.value||[]),v(L),!L&&!f.value&&T()},{direction:W}=je("",e),_=L=>{if(L.target.checked){const U=s.value;h.value=U}else h.value=[]},N=L=>{let{filters:U}=L;return(U||[]).map((Y,k)=>{const Z=String(Y.value),K={title:Y.text,key:Y.value!==void 0?Z:k};return Y.children&&(K.children=N({filters:Y.children})),K})},D=L=>{var U;return g(g({},L),{text:L.title,value:L.key,children:((U=L.children)===null||U===void 0?void 0:U.map(Y=>D(Y)))||[]})},V=z(()=>N({filters:e.column.filters})),I=z(()=>re({[`${e.dropdownPrefixCls}-menu-without-submenu`]:!h5e(e.column.filters||[])})),B=()=>{const L=h.value,{column:U,locale:Y,tablePrefixCls:k,filterMultiple:Z,dropdownPrefixCls:K,getPopupContainer:te,prefixCls:J}=e;return(U.filters||[]).length===0?i(Ma,{image:Ma.PRESENTED_IMAGE_SIMPLE,description:Y.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}},null):a.value==="tree"?i(et,null,[i(MP,{filterSearch:l.value,value:P.value,onChange:M,tablePrefixCls:k,locale:Y},null),i("div",{class:`${k}-filter-dropdown-tree`},[Z?i(Nr,{class:`${k}-filter-dropdown-checkall`,onChange:_,checked:L.length===s.value.length,indeterminate:L.length>0&&L.length[Y.filterCheckall]}):null,i(v5e,{checkable:!0,selectable:!1,blockNode:!0,multiple:Z,checkStrictly:!Z,class:`${K}-menu`,onCheck:S,checkedKeys:L,selectedKeys:L,showIcon:!1,treeData:V.value,autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:P.value.trim()?X=>typeof l.value=="function"?l.value(P.value,D(X)):vU(P.value,X.title):void 0},null)])]):i(et,null,[i(MP,{filterSearch:l.value,value:P.value,onChange:M,tablePrefixCls:k,locale:Y},null),i(Cn,{multiple:Z,prefixCls:`${K}-menu`,class:I.value,onClick:x,onSelect:y,onDeselect:y,selectedKeys:L,getPopupContainer:te,openKeys:O.value,onOpenChange:$},{default:()=>mU({filters:U.filters||[],filterSearch:l.value,prefixCls:J,filteredKeys:h.value,filterMultiple:Z,searchValue:P.value})})])},R=z(()=>{const L=h.value;return e.column.filterResetToDefaultFilteredValue?WP((e.column.defaultFilteredValue||[]).map(U=>String(U)),L,!0):L.length===0});return()=>{var L;const{tablePrefixCls:U,prefixCls:Y,column:k,dropdownPrefixCls:Z,locale:K,getPopupContainer:te}=e;let J;typeof f.value=="function"?J=f.value({prefixCls:`${Z}-custom`,setSelectedKeys:oe=>y({selectedKeys:oe}),selectedKeys:h.value,confirm:F,clearFilters:E,filters:k.filters,visible:b.value,column:k.__originColumn__,close:()=>{v(!1)}}):f.value?J=f.value:J=i(et,null,[B(),i("div",{class:`${Y}-dropdown-btns`},[i(Rt,{type:"link",size:"small",disabled:R.value,onClick:()=>E()},{default:()=>[K.filterReset]}),i(Rt,{type:"primary",size:"small",onClick:T},{default:()=>[K.filterConfirm]})])]);const X=i(Afe,{class:`${Y}-dropdown`},{default:()=>[J]});let Q;return typeof p.value=="function"?Q=p.value({filtered:d.value,column:k.__originColumn__}):p.value?Q=p.value:Q=i(Hu,null,null),i("div",{class:`${Y}-column`},[i("span",{class:`${U}-column-title`},[(L=n.default)===null||L===void 0?void 0:L.call(n)]),i(Br,{overlay:X,trigger:["click"],open:b.value,onOpenChange:A,getPopupContainer:te,placement:W.value==="rtl"?"bottomLeft":"bottomRight"},{default:()=>[i("span",{role:"button",tabindex:-1,class:re(`${Y}-trigger`,{active:d.value}),onClick:oe=>{oe.stopPropagation()}},[Q])]})])}}});function e0(e,t,n){let r=[];return(e||[]).forEach((a,l)=>{var o,c;const u=Ei(l,n),d=a.filterDropdown||((o=a==null?void 0:a.slots)===null||o===void 0?void 0:o.filterDropdown)||a.customFilterDropdown;if(a.filters||d||"onFilter"in a)if("filteredValue"in a){let s=a.filteredValue;d||(s=(c=s==null?void 0:s.map(String))!==null&&c!==void 0?c:s),r.push({column:a,key:qa(a,u),filteredKeys:s,forceFiltered:a.filtered})}else r.push({column:a,key:qa(a,u),filteredKeys:t&&a.defaultFilteredValue?a.defaultFilteredValue:void 0,forceFiltered:a.filtered});"children"in a&&(r=[...r,...e0(a.children,t,u)])}),r}function gU(e,t,n,r,a,l,o,c){return n.map((u,d)=>{var s;const f=Ei(d,c),{filterMultiple:p=!0,filterMode:v,filterSearch:b}=u;let m=u;const h=u.filterDropdown||((s=u==null?void 0:u.slots)===null||s===void 0?void 0:s.filterDropdown)||u.customFilterDropdown;if(m.filters||h){const y=qa(m,f),S=r.find(O=>{let{key:w}=O;return y===w});m=g(g({},m),{title:O=>i(b5e,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:m,columnKey:y,filterState:S,filterMultiple:p,filterMode:v,filterSearch:b,triggerFilter:l,locale:a,getPopupContainer:o},{default:()=>[v8(u.title,O)]})})}return"children"in m&&(m=g(g({},m),{children:gU(e,t,m.children,r,a,l,o,f)})),m})}function Nu(e){let t=[];return(e||[]).forEach(n=>{let{value:r,children:a}=n;t.push(r),a&&(t=[...t,...Nu(a)])}),t}function GP(e){const t={};return e.forEach(n=>{let{key:r,filteredKeys:a,column:l}=n;var o;const c=l.filterDropdown||((o=l==null?void 0:l.slots)===null||o===void 0?void 0:o.filterDropdown)||l.customFilterDropdown,{filters:u}=l;if(c)t[r]=a||null;else if(Array.isArray(a)){const d=Nu(u);t[r]=d.filter(s=>a.includes(String(s)))}else t[r]=null}),t}function UP(e,t){return t.reduce((n,r)=>{const{column:{onFilter:a,filters:l},filteredKeys:o}=r;return a&&o&&o.length?n.filter(c=>o.some(u=>{const d=Nu(l),s=d.findIndex(p=>String(p)===String(u)),f=s!==-1?d[s]:u;return a(f,c)})):n},e)}function hU(e){return e.flatMap(t=>"children"in t?[t,...hU(t.children||[])]:[t])}function y5e(e){let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,locale:a,onFilterChange:l,getPopupContainer:o}=e;const c=z(()=>hU(r.value)),[u,d]=ft(e0(c.value,!0)),s=z(()=>{const b=e0(c.value,!1);if(b.length===0)return b;let m=!0,h=!0;if(b.forEach(y=>{let{filteredKeys:S}=y;S!==void 0?m=!1:h=!1}),m){const y=(c.value||[]).map((S,O)=>qa(S,Ei(O)));return u.value.filter(S=>{let{key:O}=S;return y.includes(O)}).map(S=>{const O=c.value[y.findIndex(w=>w===S.key)];return g(g({},S),{column:g(g({},S.column),O),forceFiltered:O.filtered})})}return yt(h,"Table","Columns should all contain `filteredValue` or not contain `filteredValue`."),b}),f=z(()=>GP(s.value)),p=b=>{const m=s.value.filter(h=>{let{key:y}=h;return y!==b.key});m.push(b),d(m),l(GP(m),m)};return[b=>gU(t.value,n.value,b,s.value,a.value,p,o.value),s,f]}function bU(e,t){return e.map(n=>{const r=g({},n);return r.title=v8(r.title,t),"children"in r&&(r.children=bU(r.children,t)),r})}function O5e(e){return[n=>bU(n,e.value)]}function S5e(e){return function(n){let{prefixCls:r,onExpand:a,record:l,expanded:o,expandable:c}=n;const u=`${r}-row-expand-icon`;return i("button",{type:"button",onClick:d=>{a(l,d),d.stopPropagation()},class:re(u,{[`${u}-spaced`]:!c,[`${u}-expanded`]:c&&o,[`${u}-collapsed`]:c&&!o}),"aria-label":o?e.collapse:e.expand,"aria-expanded":o},null)}}function yU(e,t){const n=t.value;return e.map(r=>{var a;if(r===Er||r===aa)return r;const l=g({},r),{slots:o={}}=l;return l.__originColumn__=r,yt(!("slots"in l),"Table","`column.slots` is deprecated. Please use `v-slot:headerCell` `v-slot:bodyCell` instead."),Object.keys(o).forEach(c=>{const u=o[c];l[c]===void 0&&n[u]&&(l[c]=n[u])}),t.value.headerCell&&!(!((a=r.slots)===null||a===void 0)&&a.title)&&(l.title=D1(t.value,"headerCell",{title:r.title,column:r},()=>[r.title])),"children"in l&&Array.isArray(l.children)&&(l.children=yU(l.children,t)),l})}function $5e(e){return[n=>yU(n,e)]}const w5e=e=>{const{componentCls:t}=e,n=`${e.lineWidth}px ${e.lineType} ${e.tableBorderColor}`,r=(a,l,o)=>({[`&${t}-${a}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"> table > tbody > tr > td":{[`> ${t}-expanded-row-fixed`]:{margin:`-${l}px -${o+e.lineWidth}px`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:g(g(g({[`> ${t}-title`]:{border:n,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:n,[` + > ${t}-content, + > ${t}-header, + > ${t}-body, + > ${t}-summary + `]:{"> table":{"\n > thead > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:n},"> thead":{"> tr:not(:last-child) > th":{borderBottom:n},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:n}},"> tbody > tr > td":{[`> ${t}-expanded-row-fixed`]:{margin:`-${e.tablePaddingVertical}px -${e.tablePaddingHorizontal+e.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:e.lineWidth,bottom:0,borderInlineEnd:n,content:'""'}}}}},[` + > ${t}-content, + > ${t}-header + `]:{"> table":{borderTop:n}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[` + > tr${t}-expanded-row, + > tr${t}-placeholder + `]:{"> td":{borderInlineEnd:0}}}}}},r("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),r("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:n,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${e.lineWidth}px 0 ${e.lineWidth}px ${e.tableHeaderBg}`}}}}},P5e=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:g(g({},zn),{wordBreak:"keep-all",[` + &${t}-cell-fix-left-last, + &${t}-cell-fix-right-first + `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},C5e=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,"&:hover > td":{background:e.colorBgContainer}}}}},x5e=e=>{const{componentCls:t,antCls:n,controlInteractiveSize:r,motionDurationSlow:a,lineWidth:l,paddingXS:o,lineType:c,tableBorderColor:u,tableExpandIconBg:d,tableExpandColumnWidth:s,borderRadius:f,fontSize:p,fontSizeSM:v,lineHeight:b,tablePaddingVertical:m,tablePaddingHorizontal:h,tableExpandedRowBg:y,paddingXXS:S}=e,O=r/2-l,w=O*2+l*3,$=`${l}px ${c} ${u}`,x=S-l;return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:s},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:g(g({},h0(e)),{position:"relative",float:"left",boxSizing:"border-box",width:w,height:w,padding:0,color:"inherit",lineHeight:`${w}px`,background:d,border:$,borderRadius:f,transform:`scale(${r/w})`,transition:`all ${a}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${a} ease-out`,content:'""'},"&::before":{top:O,insetInlineEnd:x,insetInlineStart:x,height:l},"&::after":{top:x,bottom:x,insetInlineStart:O,width:l,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:(p*b-l*3)/2-Math.ceil((v*1.4-l*3)/2),marginInlineEnd:o},[`tr${t}-expanded-row`]:{"&, &:hover":{"> td":{background:y}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`-${m}px -${h}px`,padding:`${m}px ${h}px`}}}},z5e=e=>{const{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:a,tableFilterDropdownSearchWidth:l,paddingXXS:o,paddingXS:c,colorText:u,lineWidth:d,lineType:s,tableBorderColor:f,tableHeaderIconColor:p,fontSizeSM:v,tablePaddingHorizontal:b,borderRadius:m,motionDurationSlow:h,colorTextDescription:y,colorPrimary:S,tableHeaderFilterActiveBg:O,colorTextDisabled:w,tableFilterDropdownBg:$,tableFilterDropdownHeight:x,controlItemBgHover:P,controlItemBgActive:M,boxShadowSecondary:j}=e,T=`${n}-dropdown`,E=`${t}-filter-dropdown`,F=`${n}-tree`,A=`${d}px ${s} ${f}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-o,marginInline:`${o}px ${-b/2}px`,padding:`0 ${o}px`,color:p,fontSize:v,borderRadius:m,cursor:"pointer",transition:`all ${h}`,"&:hover":{color:y,background:O},"&.active":{color:S}}}},{[`${n}-dropdown`]:{[E]:g(g({},tt(e)),{minWidth:a,backgroundColor:$,borderRadius:m,boxShadow:j,[`${T}-menu`]:{maxHeight:x,overflowX:"hidden",border:0,boxShadow:"none","&:empty::after":{display:"block",padding:`${c}px 0`,color:w,fontSize:v,textAlign:"center",content:'"Not Found"'}},[`${E}-tree`]:{paddingBlock:`${c}px 0`,paddingInline:c,[F]:{padding:0},[`${F}-treenode ${F}-node-content-wrapper:hover`]:{backgroundColor:P},[`${F}-treenode-checkbox-checked ${F}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:M}}},[`${E}-search`]:{padding:c,borderBottom:A,"&-input":{input:{minWidth:l},[r]:{color:w}}},[`${E}-checkall`]:{width:"100%",marginBottom:o,marginInlineStart:o},[`${E}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${c-d}px ${c}px`,overflow:"hidden",backgroundColor:"inherit",borderTop:A}})}},{[`${n}-dropdown ${E}, ${E}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:c,color:u},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},M5e=e=>{const{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:a,zIndexTableFixed:l,tableBg:o,zIndexTableSticky:c}=e,u=r;return{[`${t}-wrapper`]:{[` + ${t}-cell-fix-left, + ${t}-cell-fix-right + `]:{position:"sticky !important",zIndex:l,background:o},[` + ${t}-cell-fix-left-first::after, + ${t}-cell-fix-left-last::after + `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-n,width:30,transform:"translateX(100%)",transition:`box-shadow ${a}`,content:'""',pointerEvents:"none"},[`${t}-cell-fix-left-all::after`]:{display:"none"},[` + ${t}-cell-fix-right-first::after, + ${t}-cell-fix-right-last::after + `]:{position:"absolute",top:0,bottom:-n,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${a}`,content:'""',pointerEvents:"none"},[`${t}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:c+1,width:30,transition:`box-shadow ${a}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${t}-ping-left`]:{[`&:not(${t}-has-fix-left) ${t}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${u}`}},[` + ${t}-cell-fix-left-first::after, + ${t}-cell-fix-left-last::after + `]:{boxShadow:`inset 10px 0 8px -8px ${u}`},[`${t}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${t}-ping-right`]:{[`&:not(${t}-has-fix-right) ${t}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${u}`}},[` + ${t}-cell-fix-right-first::after, + ${t}-cell-fix-right-last::after + `]:{boxShadow:`inset -10px 0 8px -8px ${u}`}}}}},j5e=e=>{const{componentCls:t,antCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${e.margin}px 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},T5e=e=>{const{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${n}px ${n}px 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,table:{borderRadius:0,"> thead > tr:first-child":{"th:first-child":{borderRadius:0},"th:last-child":{borderRadius:0}}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${n}px ${n}px`}}}}},_5e=e=>{const{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{"&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}}}}},E5e=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:a,paddingXS:l,tableHeaderIconColor:o,tableHeaderIconColorHover:c}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:e.tableSelectionColumnWidth},[`${t}-bordered ${t}-selection-col`]:{width:e.tableSelectionColumnWidth+l*2},[` + table tr th${t}-selection-column, + table tr td${t}-selection-column + `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:e.zIndexTableFixed+1},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${e.tablePaddingHorizontal/4}px`,[r]:{color:o,fontSize:a,verticalAlign:"baseline","&:hover":{color:c}}}}}},H5e=e=>{const{componentCls:t}=e,n=(r,a,l,o)=>({[`${t}${t}-${r}`]:{fontSize:o,[` + ${t}-title, + ${t}-footer, + ${t}-thead > tr > th, + ${t}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{padding:`${a}px ${l}px`},[`${t}-filter-trigger`]:{marginInlineEnd:`-${l/2}px`},[`${t}-expanded-row-fixed`]:{margin:`-${a}px -${l}px`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:`-${a}px`,marginInline:`${e.tableExpandColumnWidth-l}px -${l}px`}},[`${t}-selection-column`]:{paddingInlineStart:`${l/4}px`}}});return{[`${t}-wrapper`]:g(g({},n("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),n("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},A5e=e=>{const{componentCls:t}=e;return{[`${t}-wrapper ${t}-resize-handle`]:{position:"absolute",top:0,height:"100% !important",bottom:0,left:" auto !important",right:" -8px",cursor:"col-resize",touchAction:"none",userSelect:"auto",width:"16px",zIndex:1,"&-line":{display:"block",width:"1px",marginLeft:"7px",height:"100% !important",backgroundColor:e.colorPrimary,opacity:0},"&:hover &-line":{opacity:1}},[`${t}-wrapper ${t}-resize-handle.dragging`]:{overflow:"hidden",[`${t}-resize-handle-line`]:{opacity:1},"&:before":{position:"absolute",top:0,bottom:0,content:'" "',width:"200vw",transform:"translateX(-50%)",opacity:0}}}},I5e=e=>{const{componentCls:t,marginXXS:n,fontSizeIcon:r,tableHeaderIconColor:a,tableHeaderIconColorHover:l}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[` + &${t}-cell-fix-left:hover, + &${t}-cell-fix-right:hover + `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorter`]:{marginInlineStart:n,color:a,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:l}}}},D5e=e=>{const{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:a,tableScrollThumbSize:l,tableScrollBg:o,zIndexTableSticky:c}=e,u=`${e.lineWidth}px ${e.lineType} ${e.tableBorderColor}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:c,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${l}px !important`,zIndex:c,display:"flex",alignItems:"center",background:o,borderTop:u,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:l,backgroundColor:r,borderRadius:100,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:a}}}}}}},qP=e=>{const{componentCls:t,lineWidth:n,tableBorderColor:r}=e,a=`${n}px ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:a}}},[`div${t}-summary`]:{boxShadow:`0 -${n}px 0 ${r}`}}}},F5e=e=>{const{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:a,lineWidth:l,lineType:o,tableBorderColor:c,tableFontSize:u,tableBg:d,tableRadius:s,tableHeaderTextColor:f,motionDurationMid:p,tableHeaderBg:v,tableHeaderCellSplitColor:b,tableRowHoverBg:m,tableSelectedRowBg:h,tableSelectedRowHoverBg:y,tableFooterTextColor:S,tableFooterBg:O,paddingContentVerticalLG:w}=e,$=`${l}px ${o} ${c}`;return{[`${t}-wrapper`]:g(g({clear:"both",maxWidth:"100%"},cr()),{[t]:g(g({},tt(e)),{fontSize:u,background:d,borderRadius:`${s}px ${s}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${s}px ${s}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` + ${t}-thead > tr > th, + ${t}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{position:"relative",padding:`${w}px ${a}px`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${r}px ${a}px`},[`${t}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:f,fontWeight:n,textAlign:"start",background:v,borderBottom:$,transition:`background ${p} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:b,transform:"translateY(-50%)",transition:`background-color ${p}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}:not(${t}-bordered)`]:{[`${t}-tbody`]:{"> tr":{"> td":{borderTop:$,borderBottom:"transparent"},"&:last-child > td":{borderBottom:$},[`&:first-child > td, + &${t}-measure-row + tr > td`]:{borderTop:"none",borderTopColor:"transparent"}}}},[`${t}${t}-bordered`]:{[`${t}-tbody`]:{"> tr":{"> td":{borderBottom:$}}}},[`${t}-tbody`]:{"> tr":{"> td":{transition:`background ${p}, border-color ${p}`,[` + > ${t}-wrapper:only-child, + > ${t}-expanded-row-fixed > ${t}-wrapper:only-child + `]:{[t]:{marginBlock:`-${r}px`,marginInline:`${e.tableExpandColumnWidth-a}px -${a}px`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},[` + &${t}-row:hover > td, + > td${t}-cell-row-hover + `]:{background:m},[`&${t}-row-selected`]:{"> td":{background:h},"&:hover > td":{background:y}}}},[`${t}-footer`]:{padding:`${r}px ${a}px`,color:S,background:O}})}},B5e=Je("Table",e=>{const{controlItemBgActive:t,controlItemBgActiveHover:n,colorTextPlaceholder:r,colorTextHeading:a,colorSplit:l,colorBorderSecondary:o,fontSize:c,padding:u,paddingXS:d,paddingSM:s,controlHeight:f,colorFillAlter:p,colorIcon:v,colorIconHover:b,opacityLoading:m,colorBgContainer:h,borderRadiusLG:y,colorFillContent:S,colorFillSecondary:O,controlInteractiveSize:w}=e,$=new vt(v),x=new vt(b),P=t,M=2,j=new vt(O).onBackground(h).toHexString(),T=new vt(S).onBackground(h).toHexString(),E=new vt(p).onBackground(h).toHexString(),F=Ge(e,{tableFontSize:c,tableBg:h,tableRadius:y,tablePaddingVertical:u,tablePaddingHorizontal:u,tablePaddingVerticalMiddle:s,tablePaddingHorizontalMiddle:d,tablePaddingVerticalSmall:d,tablePaddingHorizontalSmall:d,tableBorderColor:o,tableHeaderTextColor:a,tableHeaderBg:E,tableFooterTextColor:a,tableFooterBg:E,tableHeaderCellSplitColor:o,tableHeaderSortBg:j,tableHeaderSortHoverBg:T,tableHeaderIconColor:$.clone().setAlpha($.getAlpha()*m).toRgbString(),tableHeaderIconColorHover:x.clone().setAlpha(x.getAlpha()*m).toRgbString(),tableBodySortBg:E,tableFixedHeaderSortActiveBg:j,tableHeaderFilterActiveBg:S,tableFilterDropdownBg:h,tableRowHoverBg:E,tableSelectedRowBg:P,tableSelectedRowHoverBg:n,zIndexTableFixed:M,zIndexTableSticky:M+1,tableFontSizeMiddle:c,tableFontSizeSmall:c,tableSelectionColumnWidth:f,tableExpandIconBg:h,tableExpandColumnWidth:w+2*e.padding,tableExpandedRowBg:p,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:r,tableScrollThumbBgHover:a,tableScrollBg:l});return[F5e(F),j5e(F),qP(F),I5e(F),z5e(F),w5e(F),T5e(F),x5e(F),qP(F),C5e(F),E5e(F),M5e(F),D5e(F),P5e(F),H5e(F),A5e(F),_5e(F)]}),N5e=[],OU=()=>({prefixCls:Le(),columns:st(),rowKey:Ye([String,Function]),tableLayout:Le(),rowClassName:Ye([String,Function]),title:ce(),footer:ce(),id:Le(),showHeader:$e(),components:Ee(),customRow:ce(),customHeaderRow:ce(),direction:Le(),expandFixed:Ye([Boolean,String]),expandColumnWidth:Number,expandedRowKeys:st(),defaultExpandedRowKeys:st(),expandedRowRender:ce(),expandRowByClick:$e(),expandIcon:ce(),onExpand:ce(),onExpandedRowsChange:ce(),"onUpdate:expandedRowKeys":ce(),defaultExpandAllRows:$e(),indentSize:Number,expandIconColumnIndex:Number,showExpandColumn:$e(),expandedRowClassName:ce(),childrenColumnName:Le(),rowExpandable:ce(),sticky:Ye([Boolean,Object]),dropdownPrefixCls:String,dataSource:st(),pagination:Ye([Boolean,Object]),loading:Ye([Boolean,Object]),size:Le(),bordered:$e(),locale:Ee(),onChange:ce(),onResizeColumn:ce(),rowSelection:Ee(),getPopupContainer:ce(),scroll:Ee(),sortDirections:st(),showSorterTooltip:Ye([Boolean,Object],!0),transformCellText:ce()}),L5e=ee({name:"InternalTable",inheritAttrs:!1,props:lt(g(g({},OU()),{contextSlots:Ee()}),{rowKey:"key"}),setup(e,t){let{attrs:n,slots:r,expose:a,emit:l}=t;yt(!(typeof e.rowKey=="function"&&e.rowKey.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected."),j6e(z(()=>e.contextSlots)),T6e({onResizeColumn:(pe,we)=>{l("resizeColumn",pe,we)}});const o=yi(),c=z(()=>{const pe=new Set(Object.keys(o.value).filter(we=>o.value[we]));return e.columns.filter(we=>!we.responsive||we.responsive.some(se=>pe.has(se)))}),{size:u,renderEmpty:d,direction:s,prefixCls:f,configProvider:p}=je("table",e),[v,b]=B5e(f),m=z(()=>{var pe;return e.transformCellText||((pe=p.transformCellText)===null||pe===void 0?void 0:pe.value)}),[h]=Pr("Table",or.Table,Ne(e,"locale")),y=z(()=>e.dataSource||N5e),S=z(()=>p.getPrefixCls("dropdown",e.dropdownPrefixCls)),O=z(()=>e.childrenColumnName||"children"),w=z(()=>y.value.some(pe=>pe==null?void 0:pe[O.value])?"nest":e.expandedRowRender?"row":null),$=ht({body:null}),x=pe=>{g($,pe)},P=z(()=>typeof e.rowKey=="function"?e.rowKey:pe=>pe==null?void 0:pe[e.rowKey]),[M]=Sfe(y,O,P),j={},T=function(pe,we){let se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{pagination:ie,scroll:he,onChange:Ce}=e,Pe=g(g({},j),pe);se&&(j.resetPagination(),Pe.pagination.current&&(Pe.pagination.current=1),ie&&ie.onChange&&ie.onChange(1,Pe.pagination.pageSize)),he&&he.scrollToFirstRowOnChange!==!1&&$.body&&bX(0,{getContainer:()=>$.body}),Ce==null||Ce(Pe.pagination,Pe.filters,Pe.sorter,{currentDataSource:UP(J2(y.value,Pe.sorterStates,O.value),Pe.filterStates),action:we})},E=(pe,we)=>{T({sorter:pe,sorterStates:we},"sort",!1)},[F,A,W,_]=Tfe({prefixCls:f,mergedColumns:c,onSorterChange:E,sortDirections:z(()=>e.sortDirections||["ascend","descend"]),tableLocale:h,showSorterTooltip:Ne(e,"showSorterTooltip")}),N=z(()=>J2(y.value,A.value,O.value)),D=(pe,we)=>{T({filters:pe,filterStates:we},"filter",!0)},[V,I,B]=y5e({prefixCls:f,locale:h,dropdownPrefixCls:S,mergedColumns:c,onFilterChange:D,getPopupContainer:Ne(e,"getPopupContainer")}),R=z(()=>UP(N.value,I.value)),[L]=$5e(Ne(e,"contextSlots")),U=z(()=>{const pe={},we=B.value;return Object.keys(we).forEach(se=>{we[se]!==null&&(pe[se]=we[se])}),g(g({},W.value),{filters:pe})}),[Y]=O5e(U),k=(pe,we)=>{T({pagination:g(g({},j.pagination),{current:pe,pageSize:we})},"paginate")},[Z,K]=Ofe(z(()=>R.value.length),Ne(e,"pagination"),k);Ve(()=>{j.sorter=_.value,j.sorterStates=A.value,j.filters=B.value,j.filterStates=I.value,j.pagination=e.pagination===!1?{}:yfe(Z.value,e.pagination),j.resetPagination=K});const te=z(()=>{if(e.pagination===!1||!Z.value.pageSize)return R.value;const{current:pe=1,total:we,pageSize:se=k2}=Z.value;return yt(pe>0,"Table","`current` should be positive number."),R.value.lengthse?R.value.slice((pe-1)*se,pe*se):R.value:R.value.slice((pe-1)*se,pe*se)});Ve(()=>{rt(()=>{const{total:pe,pageSize:we=k2}=Z.value;R.value.lengthwe&&yt(!1,"Table","`dataSource` length is less than `pagination.total` but large than `pagination.pageSize`. Please make sure your config correct data with async mode.")})},{flush:"post"});const J=z(()=>e.showExpandColumn===!1?-1:w.value==="nest"&&e.expandIconColumnIndex===void 0?e.rowSelection?1:0:e.expandIconColumnIndex>0&&e.rowSelection?e.expandIconColumnIndex-1:e.expandIconColumnIndex),X=ne();de(()=>e.rowSelection,()=>{X.value=e.rowSelection?g({},e.rowSelection):e.rowSelection},{deep:!0,immediate:!0});const[Q,oe]=wfe(X,{prefixCls:f,data:R,pageData:te,getRowKey:P,getRecordByKey:M,expandType:w,childrenColumnName:O,locale:h,getPopupContainer:z(()=>e.getPopupContainer)}),ue=(pe,we,se)=>{let ie;const{rowClassName:he}=e;return typeof he=="function"?ie=re(he(pe,we,se)):ie=re(he),re({[`${f.value}-row-selected`]:oe.value.has(P.value(pe,we))},ie)};a({selectedKeySet:oe});const ye=z(()=>typeof e.indentSize=="number"?e.indentSize:15),Oe=pe=>Y(Q(V(F(L(pe)))));return()=>{var pe;const{expandIcon:we=r.expandIcon||S5e(h.value),pagination:se,loading:ie,bordered:he}=e;let Ce,Pe;if(se!==!1&&(!((pe=Z.value)===null||pe===void 0)&&pe.total)){let ae;Z.value.size?ae=Z.value.size:ae=u.value==="small"||u.value==="middle"?"small":void 0;const me=De=>i(TG,H(H({},Z.value),{},{class:[`${f.value}-pagination ${f.value}-pagination-${De}`,Z.value.class],size:ae}),null),Te=s.value==="rtl"?"left":"right",{position:_e}=Z.value;if(_e!==null&&Array.isArray(_e)){const De=_e.find(be=>be.includes("top")),ve=_e.find(be=>be.includes("bottom")),ge=_e.every(be=>`${be}`=="none");!De&&!ve&&!ge&&(Pe=me(Te)),De&&(Ce=me(De.toLowerCase().replace("top",""))),ve&&(Pe=me(ve.toLowerCase().replace("bottom","")))}else Pe=me(Te)}let xe;typeof ie=="boolean"?xe={spinning:ie}:typeof ie=="object"&&(xe=g({spinning:!0},ie));const Be=re(`${f.value}-wrapper`,{[`${f.value}-wrapper-rtl`]:s.value==="rtl"},n.class,b.value),le=at(e,["columns"]);return v(i("div",{class:Be,style:n.style},[i(Dl,H({spinning:!1},xe),{default:()=>[Ce,i(hfe,H(H(H({},n),le),{},{expandedRowKeys:e.expandedRowKeys,defaultExpandedRowKeys:e.defaultExpandedRowKeys,expandIconColumnIndex:J.value,indentSize:ye.value,expandIcon:we,columns:c.value,direction:s.value,prefixCls:f.value,class:re({[`${f.value}-middle`]:u.value==="middle",[`${f.value}-small`]:u.value==="small",[`${f.value}-bordered`]:he,[`${f.value}-empty`]:y.value.length===0}),data:te.value,rowKey:P.value,rowClassName:ue,internalHooks:q2,internalRefs:$,onUpdateInternalRefs:x,transformColumns:Oe,transformCellText:m.value}),g(g({},r),{emptyText:()=>{var ae,me;return((ae=r.emptyText)===null||ae===void 0?void 0:ae.call(r))||((me=e.locale)===null||me===void 0?void 0:me.emptyText)||d("Table")}})),Pe]})]))}}}),i4=ee({name:"ATable",inheritAttrs:!1,props:lt(OU(),{rowKey:"key"}),slots:Object,setup(e,t){let{attrs:n,slots:r,expose:a}=t;const l=ne();return a({table:l}),()=>{var o;const c=e.columns||sU((o=r.default)===null||o===void 0?void 0:o.call(r));return i(L5e,H(H(H({ref:l},n),e),{},{columns:c||[],expandedRowRender:r.expandedRowRender||e.expandedRowRender,contextSlots:g({},r)}),r)}}}),c4=ee({name:"ATableColumn",slots:Object,render(){return null}}),u4=ee({name:"ATableColumnGroup",slots:Object,__ANT_TABLE_COLUMN_GROUP:!0,render(){return null}}),t0=lfe,n0=cfe,s4=g(ufe,{Cell:n0,Row:t0,name:"ATableSummary"}),MLe=g(i4,{SELECTION_ALL:X2,SELECTION_INVERT:Y2,SELECTION_NONE:Q2,SELECTION_COLUMN:Er,EXPAND_COLUMN:aa,Column:c4,ColumnGroup:u4,Summary:s4,install:e=>(e.component(s4.name,s4),e.component(n0.name,n0),e.component(t0.name,t0),e.component(i4.name,i4),e.component(c4.name,c4),e.component(u4.name,u4),e)});var V5e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};function kP(e){for(var t=1;t({format:String,showNow:$e(),showHour:$e(),showMinute:$e(),showSecond:$e(),use12Hours:$e(),hourStep:Number,minuteStep:Number,secondStep:Number,hideDisabledOptions:$e(),popupClassName:String,status:Le()});function W5e(e){const t=bG(e,g(g({},d4()),{order:{type:Boolean,default:!0}})),{TimePicker:n,RangePicker:r}=t,a=ee({name:"ATimePicker",inheritAttrs:!1,props:g(g(g(g({},y1()),mG()),d4()),{addon:{type:Function}}),slots:Object,setup(o,c){let{slots:u,expose:d,emit:s,attrs:f}=c;const p=o,v=en();yt(!(u.addon||p.addon),"TimePicker","`addon` is deprecated. Please use `v-slot:renderExtraFooter` instead.");const b=ne();d({focus:()=>{var w;(w=b.value)===null||w===void 0||w.focus()},blur:()=>{var w;(w=b.value)===null||w===void 0||w.blur()}});const m=(w,$)=>{s("update:value",w),s("change",w,$),v.onFieldChange()},h=w=>{s("update:open",w),s("openChange",w)},y=w=>{s("focus",w)},S=w=>{s("blur",w),v.onFieldBlur()},O=w=>{s("ok",w)};return()=>{const{id:w=v.id.value}=p;return i(n,H(H(H({},f),at(p,["onUpdate:value","onUpdate:open"])),{},{id:w,dropdownClassName:p.popupClassName,mode:void 0,ref:b,renderExtraFooter:p.addon||u.addon||p.renderExtraFooter||u.renderExtraFooter,onChange:m,onOpenChange:h,onFocus:y,onBlur:S,onOk:O}),u)}}}),l=ee({name:"ATimeRangePicker",inheritAttrs:!1,props:g(g(g(g({},y1()),gG()),d4()),{order:{type:Boolean,default:!0}}),slots:Object,setup(o,c){let{slots:u,expose:d,emit:s,attrs:f}=c;const p=o,v=ne(),b=en();d({focus:()=>{var x;(x=v.value)===null||x===void 0||x.focus()},blur:()=>{var x;(x=v.value)===null||x===void 0||x.blur()}});const m=(x,P)=>{s("update:value",x),s("change",x,P),b.onFieldChange()},h=x=>{s("update:open",x),s("openChange",x)},y=x=>{s("focus",x)},S=x=>{s("blur",x),b.onFieldBlur()},O=(x,P)=>{s("panelChange",x,P)},w=x=>{s("ok",x)},$=(x,P,M)=>{s("calendarChange",x,P,M)};return()=>{const{id:x=b.id.value}=p;return i(r,H(H(H({},f),at(p,["onUpdate:open","onUpdate:value"])),{},{id:x,dropdownClassName:p.popupClassName,picker:"time",mode:void 0,ref:v,onChange:m,onOpenChange:h,onFocus:y,onBlur:S,onPanelChange:O,onOk:w,onCalendarChange:$}),u)}}});return{TimePicker:a,TimeRangePicker:l}}const{TimePicker:vc,TimeRangePicker:f4}=W5e(_R),jLe=g(vc,{TimePicker:vc,TimeRangePicker:f4,install:e=>(e.component(vc.name,vc),e.component(f4.name,f4),e)});var G5e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"};function XP(e){for(var t=1;t{const{sizeMarginHeadingVerticalEnd:a,fontWeightStrong:l}=r;return{marginBottom:a,color:n,fontWeight:l,fontSize:e,lineHeight:t}},k5e=e=>{const t=[1,2,3,4,5],n={};return t.forEach(r=>{n[` + h${r}&, + div&-h${r}, + div&-h${r} > textarea, + h${r} + `]=q5e(e[`fontSizeHeading${r}`],e[`lineHeightHeading${r}`],e.colorTextHeading,e)}),n},X5e=e=>{const{componentCls:t}=e;return{"a&, a":g(g({},h0(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},Y5e=()=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:Uk[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),Q5e=e=>{const{componentCls:t}=e,r=$i(e).inputPaddingVertical+1;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:-e.paddingSM,marginTop:-r,marginBottom:`calc(1em - ${r}px)`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.marginXS+2,insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},Z5e=e=>({"&-copy-success":{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}}}),J5e=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-single-line":{whiteSpace:"nowrap"},"&-ellipsis-single-line":{overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),K5e=e=>{const{componentCls:t,sizeMarginHeadingVerticalStart:n}=e;return{[t]:g(g(g(g(g(g(g(g(g({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},k5e(e)),{[` + & + h1${t}, + & + h2${t}, + & + h3${t}, + & + h4${t}, + & + h5${t} + `]:{marginTop:n},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:n}}}),Y5e()),X5e(e)),{[` + ${t}-expand, + ${t}-edit, + ${t}-copy + `]:g(g({},h0(e)),{marginInlineStart:e.marginXXS})}),Q5e(e)),Z5e(e)),J5e()),{"&-rtl":{direction:"rtl"}})}},SU=Je("Typography",e=>[K5e(e)],{sizeMarginHeadingVerticalStart:"1.2em",sizeMarginHeadingVerticalEnd:"0.5em"}),e7e=()=>({prefixCls:String,value:String,maxlength:Number,autoSize:{type:[Boolean,Object]},onSave:Function,onCancel:Function,onEnd:Function,onChange:Function,originContent:String,direction:String,component:String}),t7e=ee({compatConfig:{MODE:3},name:"Editable",inheritAttrs:!1,props:e7e(),setup(e,t){let{emit:n,slots:r,attrs:a}=t;const{prefixCls:l}=xo(e),o=ht({current:e.value||"",lastKeyCode:void 0,inComposition:!1,cancelFlag:!1});de(()=>e.value,S=>{o.current=S});const c=ne();We(()=>{var S;if(c.value){const O=(S=c.value)===null||S===void 0?void 0:S.resizableTextArea,w=O==null?void 0:O.textArea;w.focus();const{length:$}=w.value;w.setSelectionRange($,$)}});function u(S){c.value=S}function d(S){let{target:{value:O}}=S;o.current=O.replace(/[\r\n]/g,""),n("change",o.current)}function s(){o.inComposition=!0}function f(){o.inComposition=!1}function p(S){const{keyCode:O}=S;O===fe.ENTER&&S.preventDefault(),!o.inComposition&&(o.lastKeyCode=O)}function v(S){const{keyCode:O,ctrlKey:w,altKey:$,metaKey:x,shiftKey:P}=S;o.lastKeyCode===O&&!o.inComposition&&!w&&!$&&!x&&!P&&(O===fe.ENTER?(m(),n("end")):O===fe.ESC&&(o.current=e.originContent,n("cancel")))}function b(){m()}function m(){n("save",o.current.trim())}const[h,y]=SU(l);return()=>{const S=re({[`${l.value}`]:!0,[`${l.value}-edit-content`]:!0,[`${l.value}-rtl`]:e.direction==="rtl",[e.component?`${l.value}-${e.component}`:""]:!0},a.class,y.value);return h(i("div",H(H({},a),{},{class:S}),[i(zG,{ref:u,maxlength:e.maxlength,value:o.current,onChange:d,onKeydown:p,onKeyup:v,onCompositionstart:s,onCompositionend:f,onBlur:b,rows:1,autoSize:e.autoSize===void 0||e.autoSize},null),r.enterIcon?r.enterIcon({className:`${e.prefixCls}-edit-content-confirm`}):i(Vu,{class:`${e.prefixCls}-edit-content-confirm`},null)]))}}}),n7e=3,r7e=8;let on;const p4={padding:0,margin:0,display:"inline",lineHeight:"inherit"};function $U(e,t){e.setAttribute("aria-hidden","true");const n=window.getComputedStyle(t),r=yJ(n);e.setAttribute("style",r),e.style.position="fixed",e.style.left="0",e.style.height="auto",e.style.minHeight="auto",e.style.maxHeight="auto",e.style.paddingTop="0",e.style.paddingBottom="0",e.style.borderTopWidth="0",e.style.borderBottomWidth="0",e.style.top="-999999px",e.style.zIndex="-1000",e.style.textOverflow="clip",e.style.whiteSpace="normal",e.style.webkitLineClamp="none"}function a7e(e){const t=document.createElement("div");$U(t,e),t.appendChild(document.createTextNode("text")),document.body.appendChild(t);const n=t.getBoundingClientRect().height;return document.body.removeChild(t),n}const l7e=(e,t,n,r,a)=>{on||(on=document.createElement("div"),on.setAttribute("aria-hidden","true"),document.body.appendChild(on));const{rows:l,suffix:o=""}=t,c=a7e(e),u=Math.round(c*l*100)/100;$U(on,e);const d=GU({render(){return i("div",{style:p4},[i("span",{style:p4},[n,o]),i("span",{style:p4},[r])])}});d.mount(on);function s(){return Math.round(on.getBoundingClientRect().height*100)/100-.1<=u}if(s())return d.unmount(),{content:n,text:on.innerHTML,ellipsis:!1};const f=Array.prototype.slice.apply(on.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter(O=>{let{nodeType:w,data:$}=O;return w!==r7e&&$!==""}),p=Array.prototype.slice.apply(on.childNodes[0].childNodes[1].cloneNode(!0).childNodes);d.unmount();const v=[];on.innerHTML="";const b=document.createElement("span");on.appendChild(b);const m=document.createTextNode(a+o);b.appendChild(m),p.forEach(O=>{on.appendChild(O)});function h(O){b.insertBefore(O,m)}function y(O,w){let $=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,x=arguments.length>3&&arguments[3]!==void 0?arguments[3]:w.length,P=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;const M=Math.floor(($+x)/2),j=w.slice(0,M);if(O.textContent=j,$>=x-1)for(let T=x;T>=$;T-=1){const E=w.slice(0,T);if(O.textContent=E,s()||!E)return T===w.length?{finished:!1,vNode:w}:{finished:!0,vNode:E}}return s()?y(O,w,M,x,M):y(O,w,$,M,P)}function S(O){if(O.nodeType===n7e){const $=O.textContent||"",x=document.createTextNode($);return h(x),y(x,$)}return{finished:!1,vNode:null}}return f.some(O=>{const{finished:w,vNode:$}=S(O);return $&&v.push($),w}),{content:v,text:on.innerHTML,ellipsis:!0}};var o7e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a({prefixCls:String,direction:String,component:String}),Sn=ee({name:"ATypography",inheritAttrs:!1,props:i7e(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:a,direction:l}=je("typography",e),[o,c]=SU(a);return()=>{var u;const d=g(g({},e),r),{prefixCls:s,direction:f,component:p="article"}=d,v=o7e(d,["prefixCls","direction","component"]);return o(i(p,H(H({},v),{},{class:re(a.value,{[`${a.value}-rtl`]:l.value==="rtl"},r.class,c.value)}),{default:()=>[(u=n.default)===null||u===void 0?void 0:u.call(n)]}))}}}),c7e=()=>{const e=document.getSelection();if(!e.rangeCount)return function(){};let t=document.activeElement;const n=[];for(let r=0;r"u"){u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();const f=YP[t.format]||YP.default;window.clipboardData.setData(f,e)}else s.clipboardData.clearData(),s.clipboardData.setData(t.format,e);t.onCopy&&(s.preventDefault(),t.onCopy(s.clipboardData))}),document.body.appendChild(o),a.selectNodeContents(o),l.addRange(a),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");c=!0}catch(d){u&&console.error("unable to copy using execCommand: ",d),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),c=!0}catch(s){u&&console.error("unable to copy using clipboardData: ",s),u&&console.error("falling back to prompt"),n=s7e("message"in t?t.message:u7e),window.prompt(n,e)}}finally{l&&(typeof l.removeRange=="function"?l.removeRange(a):l.removeAllRanges()),o&&document.body.removeChild(o),r()}return c}var f7e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"};function QP(e){for(var t=1;t({editable:{type:[Boolean,Object],default:void 0},copyable:{type:[Boolean,Object],default:void 0},prefixCls:String,component:String,type:String,disabled:{type:Boolean,default:void 0},ellipsis:{type:[Boolean,Object],default:void 0},code:{type:Boolean,default:void 0},mark:{type:Boolean,default:void 0},underline:{type:Boolean,default:void 0},delete:{type:Boolean,default:void 0},strong:{type:Boolean,default:void 0},keyboard:{type:Boolean,default:void 0},content:String,"onUpdate:content":Function}),Ii=ee({compatConfig:{MODE:3},name:"TypographyBase",inheritAttrs:!1,props:Ai(),setup(e,t){let{slots:n,attrs:r,emit:a}=t;const{prefixCls:l,direction:o}=je("typography",e),c=ht({copied:!1,ellipsisText:"",ellipsisContent:null,isEllipsis:!1,expanded:!1,clientRendered:!1,expandStr:"",copyStr:"",copiedStr:"",editStr:"",copyId:void 0,rafId:void 0,prevProps:void 0,originContent:""}),u=ne(),d=ne(),s=z(()=>{const _=e.ellipsis;return _?g({rows:1,expandable:!1},typeof _=="object"?_:null):{}});We(()=>{c.clientRendered=!0,M()}),Xe(()=>{clearTimeout(c.copyId),Re.cancel(c.rafId)}),de([()=>s.value.rows,()=>e.content],()=>{rt(()=>{x()})},{flush:"post",deep:!0}),Ve(()=>{e.content===void 0&&(ir(!e.editable),ir(!e.ellipsis))});function f(){var _;return e.ellipsis||e.editable?e.content:(_=$n(u.value))===null||_===void 0?void 0:_.innerText}function p(_){const{onExpand:N}=s.value;c.expanded=!0,N==null||N(_)}function v(_){_.preventDefault(),c.originContent=e.content,$(!0)}function b(_){m(_),$(!1)}function m(_){const{onChange:N}=S.value;_!==e.content&&(a("update:content",_),N==null||N(_))}function h(){var _,N;(N=(_=S.value).onCancel)===null||N===void 0||N.call(_),$(!1)}function y(_){_.preventDefault(),_.stopPropagation();const{copyable:N}=e,D=g({},typeof N=="object"?N:null);D.text===void 0&&(D.text=f()),d7e(D.text||""),c.copied=!0,rt(()=>{D.onCopy&&D.onCopy(_),c.copyId=setTimeout(()=>{c.copied=!1},3e3)})}const S=z(()=>{const _=e.editable;return _?g({},typeof _=="object"?_:null):{editing:!1}}),[O,w]=Ft(!1,{value:z(()=>S.value.editing)});function $(_){const{onStart:N}=S.value;_&&N&&N(),w(_)}de(O,_=>{var N;_||(N=d.value)===null||N===void 0||N.focus()},{flush:"post"});function x(_){if(_){const{width:N,height:D}=_;if(!N||!D)return}Re.cancel(c.rafId),c.rafId=Re(()=>{M()})}const P=z(()=>{const{rows:_,expandable:N,suffix:D,onEllipsis:V,tooltip:I}=s.value;return D||I||e.editable||e.copyable||N||V?!1:_===1?b7e:h7e}),M=()=>{const{ellipsisText:_,isEllipsis:N}=c,{rows:D,suffix:V,onEllipsis:I}=s.value;if(!D||D<0||!$n(u.value)||c.expanded||e.content===void 0||P.value)return;const{content:B,text:R,ellipsis:L}=l7e($n(u.value),{rows:D,suffix:V},e.content,W(!0),JP);(_!==R||c.isEllipsis!==L)&&(c.ellipsisText=R,c.ellipsisContent=B,c.isEllipsis=L,N!==L&&I&&I(L))};function j(_,N){let{mark:D,code:V,underline:I,delete:B,strong:R,keyboard:L}=_,U=N;function Y(k,Z){if(!k)return;const K=function(){return U}();U=i(Z,null,{default:()=>[K]})}return Y(R,"strong"),Y(I,"u"),Y(B,"del"),Y(V,"code"),Y(D,"mark"),Y(L,"kbd"),U}function T(_){const{expandable:N,symbol:D}=s.value;if(!N||!_&&(c.expanded||!c.isEllipsis))return null;const V=(n.ellipsisSymbol?n.ellipsisSymbol():D)||c.expandStr;return i("a",{key:"expand",class:`${l.value}-expand`,onClick:p,"aria-label":c.expandStr},[V])}function E(){if(!e.editable)return;const{tooltip:_,triggerType:N=["icon"]}=e.editable,D=n.editableIcon?n.editableIcon():i(Wu,{role:"button"},null),V=n.editableTooltip?n.editableTooltip():c.editStr,I=typeof V=="string"?V:"";return N.indexOf("icon")!==-1?i(br,{key:"edit",title:_===!1?"":V},{default:()=>[i(cP,{ref:d,class:`${l.value}-edit`,onClick:v,"aria-label":I},{default:()=>[D]})]}):null}function F(){if(!e.copyable)return;const{tooltip:_}=e.copyable,N=c.copied?c.copiedStr:c.copyStr,D=n.copyableTooltip?n.copyableTooltip({copied:c.copied}):N,V=typeof D=="string"?D:"",I=c.copied?i(Ka,null,null):i(Ru,null,null),B=n.copyableIcon?n.copyableIcon({copied:!!c.copied}):I;return i(br,{key:"copy",title:_===!1?"":D},{default:()=>[i(cP,{class:[`${l.value}-copy`,{[`${l.value}-copy-success`]:c.copied}],onClick:y,"aria-label":V},{default:()=>[B]})]})}function A(){const{class:_,style:N}=r,{maxlength:D,autoSize:V,onEnd:I}=S.value;return i(t7e,{class:_,style:N,prefixCls:l.value,value:e.content,originContent:c.originContent,maxlength:D,autoSize:V,onSave:b,onChange:m,onCancel:h,onEnd:I,direction:o.value,component:e.component},{enterIcon:n.editableEnterIcon})}function W(_){return[T(_),E(),F()].filter(N=>N)}return()=>{var _;const{triggerType:N=["icon"]}=S.value,D=e.ellipsis||e.editable?e.content!==void 0?e.content:(_=n.default)===null||_===void 0?void 0:_.call(n):n.default?n.default():e.content;return O.value?A():i(d0,{componentName:"Text",children:V=>{const I=g(g({},e),r),{type:B,disabled:R,content:L,class:U,style:Y}=I,k=g7e(I,["type","disabled","content","class","style"]),{rows:Z,suffix:K,tooltip:te}=s.value,{edit:J,copy:X,copied:Q,expand:oe}=V;c.editStr=J,c.copyStr=X,c.copiedStr=Q,c.expandStr=oe;const ue=at(k,["prefixCls","editable","copyable","ellipsis","mark","code","delete","underline","strong","keyboard","onUpdate:content"]),ye=P.value,Oe=Z===1&&ye,pe=Z&&Z>1&&ye;let we=D,se;if(Z&&c.isEllipsis&&!c.expanded&&!ye){const{title:Ce}=k;let Pe=Ce||"";!Ce&&(typeof D=="string"||typeof D=="number")&&(Pe=String(D)),Pe=Pe==null?void 0:Pe.slice(String(c.ellipsisContent||"").length),we=i(et,null,[xn(c.ellipsisContent),i("span",{title:Pe,"aria-hidden":"true"},[JP]),K])}else we=i(et,null,[D,K]);we=j(e,we);const ie=te&&Z&&c.isEllipsis&&!c.expanded&&!ye,he=n.ellipsisTooltip?n.ellipsisTooltip():te;return i(yr,{onResize:x,disabled:!Z},{default:()=>[i(Sn,H({ref:u,class:[{[`${l.value}-${B}`]:B,[`${l.value}-disabled`]:R,[`${l.value}-ellipsis`]:Z,[`${l.value}-single-line`]:Z===1&&!c.isEllipsis,[`${l.value}-ellipsis-single-line`]:Oe,[`${l.value}-ellipsis-multiple-line`]:pe},U],style:g(g({},Y),{WebkitLineClamp:pe?Z:void 0}),"aria-label":se,direction:o.value,onClick:N.indexOf("text")!==-1?v:()=>{}},ue),{default:()=>[ie?i(br,{title:te===!0?D:he},{default:()=>[i("span",null,[we])]}):we,W()]})]})}},null)}}});var y7e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);aat(g(g({},Ai()),{ellipsis:{type:Boolean,default:void 0}}),["component"]),Di=(e,t)=>{let{slots:n,attrs:r}=t;const a=g(g({},e),r),{ellipsis:l,rel:o}=a,c=y7e(a,["ellipsis","rel"]),u=g(g({},c),{rel:o===void 0&&c.target==="_blank"?"noopener noreferrer":o,ellipsis:!!l,component:"a"});return delete u.navigate,i(Ii,u,n)};Di.displayName="ATypographyLink";Di.inheritAttrs=!1;Di.props=O7e();const S7e=()=>at(Ai(),["component"]),Fi=(e,t)=>{let{slots:n,attrs:r}=t;const a=g(g(g({},e),{component:"div"}),r);return i(Ii,a,n)};Fi.displayName="ATypographyParagraph";Fi.inheritAttrs=!1;Fi.props=S7e();const $7e=()=>g(g({},at(Ai(),["component"])),{ellipsis:{type:[Boolean,Object],default:void 0}}),Bi=(e,t)=>{let{slots:n,attrs:r}=t;const{ellipsis:a}=e,l=g(g(g({},e),{ellipsis:a&&typeof a=="object"?at(a,["expandable","rows"]):a,component:"span"}),r);return i(Ii,l,n)};Bi.displayName="ATypographyText";Bi.inheritAttrs=!1;Bi.props=$7e();var w7e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ag(g({},at(Ai(),["component","strong"])),{level:Number}),Ni=(e,t)=>{let{slots:n,attrs:r}=t;const{level:a=1}=e,l=w7e(e,["level"]);let o;P7e.includes(a)?o=`h${a}`:o="h1";const c=g(g(g({},l),{component:o}),r);return i(Ii,c,n)};Ni.displayName="ATypographyTitle";Ni.inheritAttrs=!1;Ni.props=C7e();Sn.Text=Bi;Sn.Title=Ni;Sn.Paragraph=Fi;Sn.Link=Di;Sn.Base=Ii;Sn.install=function(e){return e.component(Sn.name,Sn),e.component(Sn.Text.displayName,Bi),e.component(Sn.Title.displayName,Ni),e.component(Sn.Paragraph.displayName,Fi),e.component(Sn.Link.displayName,Di),e};function x7e(e,t){const n=`cannot ${e.method} ${e.action} ${t.status}'`,r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}function KP(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}function z7e(e){const t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(l){l.total>0&&(l.percent=l.loaded/l.total*100),e.onProgress(l)});const n=new FormData;e.data&&Object.keys(e.data).forEach(a=>{const l=e.data[a];if(Array.isArray(l)){l.forEach(o=>{n.append(`${a}[]`,o)});return}n.append(a,l)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(l){e.onError(l)},t.onload=function(){return t.status<200||t.status>=300?e.onError(x7e(e,t),KP(t)):e.onSuccess(KP(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const r=e.headers||{};return r["X-Requested-With"]!==null&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach(a=>{r[a]!==null&&t.setRequestHeader(a,r[a])}),t.send(n),{abort(){t.abort()}}}const M7e=+new Date;let j7e=0;function v4(){return`vc-upload-${M7e}-${++j7e}`}const m4=(e,t)=>{if(e&&t){const n=Array.isArray(t)?t:t.split(","),r=e.name||"",a=e.type||"",l=a.replace(/\/.*$/,"");return n.some(o=>{const c=o.trim();if(/^\*(\/\*)?$/.test(o))return!0;if(c.charAt(0)==="."){const u=r.toLowerCase(),d=c.toLowerCase();let s=[d];return(d===".jpg"||d===".jpeg")&&(s=[".jpg",".jpeg"]),s.some(f=>u.endsWith(f))}return/\/\*$/.test(c)?l===c.replace(/\/.*$/,""):!!(a===c||/^\w+$/.test(c))})}return!0};function T7e(e,t){const n=e.createReader();let r=[];function a(){n.readEntries(l=>{const o=Array.prototype.slice.apply(l);r=r.concat(o),!o.length?t(r):a()})}a()}const _7e=(e,t,n)=>{const r=(a,l)=>{a.path=l||"",a.isFile?a.file(o=>{n(o)&&(a.fullPath&&!o.webkitRelativePath&&(Object.defineProperties(o,{webkitRelativePath:{writable:!0}}),o.webkitRelativePath=a.fullPath.replace(/^\//,""),Object.defineProperties(o,{webkitRelativePath:{writable:!1}})),t([o]))}):a.isDirectory&&T7e(a,o=>{o.forEach(c=>{r(c,`${l}${a.name}/`)})})};e.forEach(a=>{r(a.webkitGetAsEntry())})},wU=()=>({capture:[Boolean,String],multipart:{type:Boolean,default:void 0},name:String,disabled:{type:Boolean,default:void 0},componentTag:String,action:[String,Function],method:String,directory:{type:Boolean,default:void 0},data:[Object,Function],headers:Object,accept:String,multiple:{type:Boolean,default:void 0},onBatchStart:Function,onReject:Function,onStart:Function,onError:Function,onSuccess:Function,onProgress:Function,beforeUpload:Function,customRequest:Function,withCredentials:{type:Boolean,default:void 0},openFileDialogOnClick:{type:Boolean,default:void 0},prefixCls:String,id:String,onMouseenter:Function,onMouseleave:Function,onClick:Function});var E7e=function(e,t,n,r){function a(l){return l instanceof n?l:new n(function(o){o(l)})}return new(n||(n=Promise))(function(l,o){function c(s){try{d(r.next(s))}catch(f){o(f)}}function u(s){try{d(r.throw(s))}catch(f){o(f)}}function d(s){s.done?l(s.value):a(s.value).then(c,u)}d((r=r.apply(e,t||[])).next())})},H7e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);aE7e(this,void 0,void 0,function*(){const{beforeUpload:w}=e;let $=S;if(w){try{$=yield w(S,O)}catch{$=!1}if($===!1)return{origin:S,parsedFile:null,action:null,data:null}}const{action:x}=e;let P;typeof x=="function"?P=yield x(S):P=x;const{data:M}=e;let j;typeof M=="function"?j=yield M(S):j=M;const T=(typeof $=="object"||typeof $=="string")&&$?$:S;let E;T instanceof File?E=T:E=new File([T],S.name,{type:S.type});const F=E;return F.uid=S.uid,{origin:S,data:j,parsedFile:F,action:P}}),s=S=>{let{data:O,origin:w,action:$,parsedFile:x}=S;if(!u)return;const{onStart:P,customRequest:M,name:j,headers:T,withCredentials:E,method:F}=e,{uid:A}=w,W=M||z7e,_={action:$,filename:j,data:O,file:x,headers:T,withCredentials:E,method:F||"post",onProgress:N=>{const{onProgress:D}=e;D==null||D(N,x)},onSuccess:(N,D)=>{const{onSuccess:V}=e;V==null||V(N,x,D),delete o[A]},onError:(N,D)=>{const{onError:V}=e;V==null||V(N,D,x),delete o[A]}};P(w),o[A]=W(_)},f=()=>{l.value=v4()},p=S=>{if(S){const O=S.uid?S.uid:S;o[O]&&o[O].abort&&o[O].abort(),delete o[O]}else Object.keys(o).forEach(O=>{o[O]&&o[O].abort&&o[O].abort(),delete o[O]})};We(()=>{u=!0}),Xe(()=>{u=!1,p()});const v=S=>{const O=[...S],w=O.map($=>($.uid=v4(),d($,O)));Promise.all(w).then($=>{const{onBatchStart:x}=e;x==null||x($.map(P=>{let{origin:M,parsedFile:j}=P;return{file:M,parsedFile:j}})),$.filter(P=>P.parsedFile!==null).forEach(P=>{s(P)})})},b=S=>{const{accept:O,directory:w}=e,{files:$}=S.target,x=[...$].filter(P=>!w||m4(P,O));v(x),f()},m=S=>{const O=c.value;if(!O)return;const{onClick:w}=e;O.click(),w&&w(S)},h=S=>{S.key==="Enter"&&m(S)},y=S=>{const{multiple:O}=e;if(S.preventDefault(),S.type!=="dragover")if(e.directory)_7e(Array.prototype.slice.call(S.dataTransfer.items),v,w=>m4(w,e.accept));else{const w=Lae(Array.prototype.slice.call(S.dataTransfer.files),P=>m4(P,e.accept));let $=w[0];const x=w[1];O===!1&&($=$.slice(0,1)),v($),x.length&&e.onReject&&e.onReject(x)}};return a({abort:p}),()=>{var S;const{componentTag:O,prefixCls:w,disabled:$,id:x,multiple:P,accept:M,capture:j,directory:T,openFileDialogOnClick:E,onMouseenter:F,onMouseleave:A}=e,W=H7e(e,["componentTag","prefixCls","disabled","id","multiple","accept","capture","directory","openFileDialogOnClick","onMouseenter","onMouseleave"]),_={[w]:!0,[`${w}-disabled`]:$,[r.class]:!!r.class},N=T?{directory:"directory",webkitdirectory:"webkitdirectory"}:{};return i(O,H(H({},$?{}:{onClick:E?m:()=>{},onKeydown:E?h:()=>{},onMouseenter:F,onMouseleave:A,onDrop:y,onDragover:y,tabindex:"0"}),{},{class:_,role:"button",style:r.style}),{default:()=>[i("input",H(H(H({},ga(W,{aria:!0,data:!0})),{},{id:x,type:"file",ref:c,onClick:V=>V.stopPropagation(),onCancel:V=>V.stopPropagation(),key:l.value,style:{display:"none"},accept:M},N),{},{multiple:P,onChange:b},j!=null?{capture:j}:{}),null),(S=n.default)===null||S===void 0?void 0:S.call(n)]})}}});function g4(){}const eC=ee({compatConfig:{MODE:3},name:"Upload",inheritAttrs:!1,props:lt(wU(),{componentTag:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:g4,onError:g4,onSuccess:g4,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0}),setup(e,t){let{slots:n,attrs:r,expose:a}=t;const l=ne();return a({abort:c=>{var u;(u=l.value)===null||u===void 0||u.abort(c)}}),()=>i(A7e,H(H(H({},e),r),{},{ref:l}),n)}});var I7e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};function tC(e){for(var t=1;t{let{uid:l}=a;return l===e.uid});return r===-1?n.push(e):n[r]=e,n}function h4(e,t){const n=e.uid!==void 0?"uid":"name";return t.filter(r=>r[n]===e[n])[0]}function R7e(e,t){const n=e.uid!==void 0?"uid":"name",r=t.filter(a=>a[n]!==e[n]);return r.length===t.length?null:r}const W7e=function(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),r=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]},CU=e=>e.indexOf("image/")===0,G7e=e=>{if(e.type&&!e.thumbUrl)return CU(e.type);const t=e.thumbUrl||e.url||"",n=W7e(t);return/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n)?!0:!(/^data:/.test(t)||n)},na=200;function U7e(e){return new Promise(t=>{if(!e.type||!CU(e.type)){t("");return}const n=document.createElement("canvas");n.width=na,n.height=na,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${na}px; height: ${na}px; z-index: 9999; display: none;`,document.body.appendChild(n);const r=n.getContext("2d"),a=new Image;if(a.onload=()=>{const{width:l,height:o}=a;let c=na,u=na,d=0,s=0;l>o?(u=o*(na/l),s=-(u-c)/2):(c=l*(na/o),d=-(c-u)/2),r.drawImage(a,d,s,c,u);const f=n.toDataURL();document.body.removeChild(n),t(f)},a.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const l=new FileReader;l.addEventListener("load",()=>{l.result&&(a.src=l.result)}),l.readAsDataURL(e)}else a.src=window.URL.createObjectURL(e)})}var q7e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};function aC(e){for(var t=1;t({prefixCls:String,locale:Ee(void 0),file:Ee(),items:st(),listType:Le(),isImgUrl:ce(),showRemoveIcon:$e(),showDownloadIcon:$e(),showPreviewIcon:$e(),removeIcon:ce(),downloadIcon:ce(),previewIcon:ce(),iconRender:ce(),actionIconRender:ce(),itemRender:ce(),onPreview:ce(),onClose:ce(),onDownload:ce(),progress:Ee()}),Y7e=ee({compatConfig:{MODE:3},name:"ListItem",inheritAttrs:!1,props:X7e(),setup(e,t){let{slots:n,attrs:r}=t;var a;const l=q(!1),o=q();We(()=>{o.value=setTimeout(()=>{l.value=!0},300)}),Xe(()=>{clearTimeout(o.value)});const c=q((a=e.file)===null||a===void 0?void 0:a.status);de(()=>{var s;return(s=e.file)===null||s===void 0?void 0:s.status},s=>{s!=="removed"&&(c.value=s)});const{rootPrefixCls:u}=je("upload",e),d=z(()=>Gr(`${u.value}-fade`));return()=>{var s,f;const{prefixCls:p,locale:v,listType:b,file:m,items:h,progress:y,iconRender:S=n.iconRender,actionIconRender:O=n.actionIconRender,itemRender:w=n.itemRender,isImgUrl:$,showPreviewIcon:x,showRemoveIcon:P,showDownloadIcon:M,previewIcon:j=n.previewIcon,removeIcon:T=n.removeIcon,downloadIcon:E=n.downloadIcon,onPreview:F,onDownload:A,onClose:W}=e,{class:_,style:N}=r,D=S({file:m});let V=i("div",{class:`${p}-text-icon`},[D]);if(b==="picture"||b==="picture-card")if(c.value==="uploading"||!m.thumbUrl&&!m.url){const ue={[`${p}-list-item-thumbnail`]:!0,[`${p}-list-item-file`]:c.value!=="uploading"};V=i("div",{class:ue},[D])}else{const ue=$!=null&&$(m)?i("img",{src:m.thumbUrl||m.url,alt:m.name,class:`${p}-list-item-image`,crossorigin:m.crossOrigin},null):D,ye={[`${p}-list-item-thumbnail`]:!0,[`${p}-list-item-file`]:$&&!$(m)};V=i("a",{class:ye,onClick:Oe=>F(m,Oe),href:m.url||m.thumbUrl,target:"_blank",rel:"noopener noreferrer"},[ue])}const I={[`${p}-list-item`]:!0,[`${p}-list-item-${c.value}`]:!0},B=typeof m.linkProps=="string"?JSON.parse(m.linkProps):m.linkProps,R=P?O({customIcon:T?T({file:m}):i(Lu,null,null),callback:()=>W(m),prefixCls:p,title:v.removeFile}):null,L=M&&c.value==="done"?O({customIcon:E?E({file:m}):i(ku,null,null),callback:()=>A(m),prefixCls:p,title:v.downloadFile}):null,U=b!=="picture-card"&&i("span",{key:"download-delete",class:[`${p}-list-item-actions`,{picture:b==="picture"}]},[L,R]),Y=`${p}-list-item-name`,k=m.url?[i("a",H(H({key:"view",target:"_blank",rel:"noopener noreferrer",class:Y,title:m.name},B),{},{href:m.url,onClick:ue=>F(m,ue)}),[m.name]),U]:[i("span",{key:"view",class:Y,onClick:ue=>F(m,ue),title:m.name},[m.name]),U],Z={pointerEvents:"none",opacity:.5},K=x?i("a",{href:m.url||m.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:m.url||m.thumbUrl?void 0:Z,onClick:ue=>F(m,ue),title:v.previewFile},[j?j({file:m}):i(ji,null,null)]):null,te=b==="picture-card"&&c.value!=="uploading"&&i("span",{class:`${p}-list-item-actions`},[K,c.value==="done"&&L,R]),J=i("div",{class:I},[V,k,te,l.value&&i(sn,d.value,{default:()=>[Vn(i("div",{class:`${p}-list-item-progress`},["percent"in m?i(UG,H(H({},y),{},{type:"line",percent:m.percent}),null):null]),[[lr,c.value==="uploading"]])]})]),X={[`${p}-list-item-container`]:!0,[`${_}`]:!!_},Q=m.response&&typeof m.response=="string"?m.response:((s=m.error)===null||s===void 0?void 0:s.statusText)||((f=m.error)===null||f===void 0?void 0:f.message)||v.uploadError,oe=c.value==="error"?i(br,{title:Q,getPopupContainer:ue=>ue.parentNode},{default:()=>[J]}):J;return i("div",{class:X,style:N},[w?w({originNode:oe,file:m,fileList:h,actions:{download:A.bind(null,m),preview:F.bind(null,m),remove:W.bind(null,m)}}):oe])}}}),Q7e=(e,t)=>{let{slots:n}=t;var r;return Mt((r=n.default)===null||r===void 0?void 0:r.call(n))[0]},Z7e=ee({compatConfig:{MODE:3},name:"AUploadList",props:lt(V7e(),{listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:U7e,isImageUrl:G7e,items:[],appendActionVisible:!0}),setup(e,t){let{slots:n,expose:r}=t;const a=q(!1);We(()=>{a.value==!0});const l=q([]);de(()=>e.items,function(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];l.value=m.slice()},{immediate:!0,deep:!0}),Ve(()=>{if(e.listType!=="picture"&&e.listType!=="picture-card")return;let m=!1;(e.items||[]).forEach((h,y)=>{typeof document>"u"||typeof window>"u"||!window.FileReader||!window.File||!(h.originFileObj instanceof File||h.originFileObj instanceof Blob)||h.thumbUrl!==void 0||(h.thumbUrl="",e.previewFile&&e.previewFile(h.originFileObj).then(S=>{const O=S||"";O!==h.thumbUrl&&(l.value[y].thumbUrl=O,m=!0)}))}),m&&GB(l)});const o=(m,h)=>{if(e.onPreview)return h==null||h.preventDefault(),e.onPreview(m)},c=m=>{typeof e.onDownload=="function"?e.onDownload(m):m.url&&window.open(m.url)},u=m=>{var h;(h=e.onRemove)===null||h===void 0||h.call(e,m)},d=m=>{let{file:h}=m;const y=e.iconRender||n.iconRender;if(y)return y({file:h,listType:e.listType});const S=h.status==="uploading",O=e.isImageUrl&&e.isImageUrl(h)?i(Uu,null,null):i(qu,null,null);let w=S?i(pn,null,null):i(Gu,null,null);return e.listType==="picture"?w=S?i(pn,null,null):O:e.listType==="picture-card"&&(w=S?e.locale.uploading:O),w},s=m=>{const{customIcon:h,callback:y,prefixCls:S,title:O}=m,w={type:"text",size:"small",title:O,onClick:()=>{y()},class:`${S}-list-item-action`};return Wt(h)?i(Rt,w,{icon:()=>h}):i(Rt,w,{default:()=>[i("span",null,[h])]})};r({handlePreview:o,handleDownload:c});const{prefixCls:f,rootPrefixCls:p}=je("upload",e),v=z(()=>({[`${f.value}-list`]:!0,[`${f.value}-list-${e.listType}`]:!0})),b=z(()=>{const m=g({},au(`${p.value}-motion-collapse`));delete m.onAfterAppear,delete m.onAfterEnter,delete m.onAfterLeave;const h=g(g({},G1(`${f.value}-${e.listType==="picture-card"?"animate-inline":"animate"}`)),{class:v.value,appear:a.value});return e.listType!=="picture-card"?g(g({},m),h):h});return()=>{const{listType:m,locale:h,isImageUrl:y,showPreviewIcon:S,showRemoveIcon:O,showDownloadIcon:w,removeIcon:$,previewIcon:x,downloadIcon:P,progress:M,appendAction:j,itemRender:T,appendActionVisible:E}=e,F=j==null?void 0:j(),A=l.value;return i(C1,H(H({},b.value),{},{tag:"div"}),{default:()=>[A.map(W=>{const{uid:_}=W;return i(Y7e,{key:_,locale:h,prefixCls:f.value,file:W,items:A,progress:M,listType:m,isImgUrl:y,showPreviewIcon:S,showRemoveIcon:O,showDownloadIcon:w,onPreview:o,onDownload:c,onClose:u,removeIcon:$,previewIcon:x,downloadIcon:P,itemRender:T},g(g({},n),{iconRender:d,actionIconRender:s}))}),j?Vn(i(Q7e,{key:"__ant_upload_appendAction"},{default:()=>F}),[[lr,!!E]]):null]})}}}),J7e=e=>{const{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:`${e.padding}px 0`},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[n]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${e.marginXXS}px`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{cursor:"not-allowed",[`p${t}-drag-icon ${n}, + p${t}-text, + p${t}-hint + `]:{color:e.colorTextDisabled}}}}}},K7e=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSize:a,lineHeight:l}=e,o=`${t}-list-item`,c=`${o}-actions`,u=`${o}-action`,d=Math.round(a*l);return{[`${t}-wrapper`]:{[`${t}-list`]:g(g({},cr()),{lineHeight:e.lineHeight,[o]:{position:"relative",height:e.lineHeight*a,marginTop:e.marginXS,fontSize:a,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${o}-name`]:g(g({},zn),{padding:`0 ${e.paddingXS}px`,lineHeight:l,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[c]:{[u]:{opacity:0},[`${u}${n}-btn-sm`]:{height:d,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` + ${u}:focus, + &.picture ${u} + `]:{opacity:1},[r]:{color:e.colorTextDescription,transition:`all ${e.motionDurationSlow}`},[`&:hover ${r}`]:{color:e.colorText}},[`${t}-icon ${r}`]:{color:e.colorTextDescription,fontSize:a},[`${o}-progress`]:{position:"absolute",bottom:-e.uploadProgressOffset,width:"100%",paddingInlineStart:a+e.paddingXS,fontSize:a,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${o}:hover ${u}`]:{opacity:1,color:e.colorText},[`${o}-error`]:{color:e.colorError,[`${o}-name, ${t}-icon ${r}`]:{color:e.colorError},[c]:{[`${r}, ${r}:hover`]:{color:e.colorError},[u]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},lC=new Ze("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),oC=new Ze("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}}),epe=e=>{const{componentCls:t}=e,n=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${n}-appear, ${n}-enter, ${n}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${n}-appear, ${n}-enter`]:{animationName:lC},[`${n}-leave`]:{animationName:oC}}},lC,oC]},tpe=e=>{const{componentCls:t,iconCls:n,uploadThumbnailSize:r,uploadProgressOffset:a}=e,l=`${t}-list`,o=`${l}-item`;return{[`${t}-wrapper`]:{[`${l}${l}-picture, ${l}${l}-picture-card`]:{[o]:{position:"relative",height:r+e.lineWidth*2+e.paddingXS*2,padding:e.paddingXS,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${o}-thumbnail`]:g(g({},zn),{width:r,height:r,lineHeight:`${r+e.paddingSM}px`,textAlign:"center",flex:"none",[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${o}-progress`]:{bottom:a,width:`calc(100% - ${e.paddingSM*2}px)`,marginTop:0,paddingInlineStart:r+e.paddingXS}},[`${o}-error`]:{borderColor:e.colorError,[`${o}-thumbnail ${n}`]:{"svg path[fill='#e6f7ff']":{fill:e.colorErrorBg},"svg path[fill='#1890ff']":{fill:e.colorError}}},[`${o}-uploading`]:{borderStyle:"dashed",[`${o}-name`]:{marginBottom:a}}}}}},npe=e=>{const{componentCls:t,iconCls:n,fontSizeLG:r,colorTextLightSolid:a}=e,l=`${t}-list`,o=`${l}-item`,c=e.uploadPicCardSize;return{[`${t}-wrapper${t}-picture-card-wrapper`]:g(g({},cr()),{display:"inline-block",width:"100%",[`${t}${t}-select`]:{width:c,height:c,marginInlineEnd:e.marginXS,marginBottom:e.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${l}${l}-picture-card`]:{[`${l}-item-container`]:{display:"inline-block",width:c,height:c,marginBlock:`0 ${e.marginXS}px`,marginInline:`0 ${e.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[o]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${e.paddingXS*2}px)`,height:`calc(100% - ${e.paddingXS*2}px)`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${o}:hover`]:{[`&::before, ${o}-actions`]:{opacity:1}},[`${o}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[`${n}-eye, ${n}-download, ${n}-delete`]:{zIndex:10,width:r,margin:`0 ${e.marginXXS}px`,fontSize:r,cursor:"pointer",transition:`all ${e.motionDurationSlow}`}},[`${o}-actions, ${o}-actions:hover`]:{[`${n}-eye, ${n}-download, ${n}-delete`]:{color:new vt(a).setAlpha(.65).toRgbString(),"&:hover":{color:a}}},[`${o}-thumbnail, ${o}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${o}-name`]:{display:"none",textAlign:"center"},[`${o}-file + ${o}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${e.paddingXS*2}px)`},[`${o}-uploading`]:{[`&${o}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:"none"}},[`${o}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${e.paddingXS*2}px)`,paddingInlineStart:0}}})}},rpe=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},ape=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:g(g({},tt(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},lpe=Je("Upload",e=>{const{fontSizeHeading3:t,fontSize:n,lineHeight:r,lineWidth:a,controlHeightLG:l}=e,o=Math.round(n*r),c=Ge(e,{uploadThumbnailSize:t*2,uploadProgressOffset:o/2+a,uploadPicCardSize:l*2.55});return[ape(c),J7e(c),tpe(c),npe(c),K7e(c),epe(c),rpe(c),ru(c)]});var ope=function(e,t,n,r){function a(l){return l instanceof n?l:new n(function(o){o(l)})}return new(n||(n=Promise))(function(l,o){function c(s){try{d(r.next(s))}catch(f){o(f)}}function u(s){try{d(r.throw(s))}catch(f){o(f)}}function d(s){s.done?l(s.value):a(s.value).then(c,u)}d((r=r.apply(e,t||[])).next())})},ipe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var E;return(E=u.value)!==null&&E!==void 0?E:f.value}),[v,b]=Ft(e.defaultFileList||[],{value:Ne(e,"fileList"),postState:E=>{const F=Date.now();return(E??[]).map((A,W)=>(!A.uid&&!Object.isFrozen(A)&&(A.uid=`__AUTO__${F}_${W}__`),A))}}),m=ne("drop"),h=ne(null);We(()=>{yt(e.fileList!==void 0||r.value===void 0,"Upload","`value` is not a valid prop, do you mean `fileList`?"),yt(e.transformFile===void 0,"Upload","`transformFile` is deprecated. Please use `beforeUpload` directly."),yt(e.remove===void 0,"Upload","`remove` props is deprecated. Please use `remove` event.")});const y=(E,F,A)=>{var W,_;let N=[...F];e.maxCount===1?N=N.slice(-1):e.maxCount&&(N=N.slice(0,e.maxCount)),b(N);const D={file:E,fileList:N};A&&(D.event=A),(W=e["onUpdate:fileList"])===null||W===void 0||W.call(e,D.fileList),(_=e.onChange)===null||_===void 0||_.call(e,D),l.onFieldChange()},S=(E,F)=>ope(this,void 0,void 0,function*(){const{beforeUpload:A,transformFile:W}=e;let _=E;if(A){const N=yield A(E,F);if(N===!1)return!1;if(delete E[Co],N===Co)return Object.defineProperty(E,Co,{value:!0,configurable:!0}),!1;typeof N=="object"&&N&&(_=N)}return W&&(_=yield W(_)),_}),O=E=>{const F=E.filter(_=>!_.file[Co]);if(!F.length)return;const A=F.map(_=>mc(_.file));let W=[...v.value];A.forEach(_=>{W=gc(_,W)}),A.forEach((_,N)=>{let D=_;if(F[N].parsedFile)_.status="uploading";else{const{originFileObj:V}=_;let I;try{I=new File([V],V.name,{type:V.type})}catch{I=new Blob([V],{type:V.type}),I.name=V.name,I.lastModifiedDate=new Date,I.lastModified=new Date().getTime()}I.uid=_.uid,D=I}y(D,W)})},w=(E,F,A)=>{try{typeof E=="string"&&(E=JSON.parse(E))}catch{}if(!h4(F,v.value))return;const W=mc(F);W.status="done",W.percent=100,W.response=E,W.xhr=A;const _=gc(W,v.value);y(W,_)},$=(E,F)=>{if(!h4(F,v.value))return;const A=mc(F);A.status="uploading",A.percent=E.percent;const W=gc(A,v.value);y(A,W,E)},x=(E,F,A)=>{if(!h4(A,v.value))return;const W=mc(A);W.error=E,W.response=F,W.status="error";const _=gc(W,v.value);y(W,_)},P=E=>{let F;const A=e.onRemove||e.remove;Promise.resolve(typeof A=="function"?A(E):A).then(W=>{var _,N;if(W===!1)return;const D=R7e(E,v.value);D&&(F=g(g({},E),{status:"removed"}),(_=v.value)===null||_===void 0||_.forEach(V=>{const I=F.uid!==void 0?"uid":"name";V[I]===F[I]&&!Object.isFrozen(V)&&(V.status="removed")}),(N=h.value)===null||N===void 0||N.abort(F),y(F,D))})},M=E=>{var F;m.value=E.type,E.type==="drop"&&((F=e.onDrop)===null||F===void 0||F.call(e,E))};a({onBatchStart:O,onSuccess:w,onProgress:$,onError:x,fileList:v,upload:h});const[j]=Pr("Upload",or.Upload,z(()=>e.locale)),T=(E,F)=>{const{removeIcon:A,previewIcon:W,downloadIcon:_,previewFile:N,onPreview:D,onDownload:V,isImageUrl:I,progress:B,itemRender:R,iconRender:L,showUploadList:U}=e,{showDownloadIcon:Y,showPreviewIcon:k,showRemoveIcon:Z}=typeof U=="boolean"?{}:U;return U?i(Z7e,{prefixCls:o.value,listType:e.listType,items:v.value,previewFile:N,onPreview:D,onDownload:V,onRemove:P,showRemoveIcon:!p.value&&Z,showPreviewIcon:k,showDownloadIcon:Y,removeIcon:A,previewIcon:W,downloadIcon:_,iconRender:L,locale:j.value,isImageUrl:I,progress:B,itemRender:R,appendActionVisible:F,appendAction:E},g({},n)):E==null?void 0:E()};return()=>{var E,F,A;const{listType:W,type:_}=e,{class:N,style:D}=r,V=ipe(r,["class","style"]),I=g(g(g({onBatchStart:O,onError:x,onProgress:$,onSuccess:w},V),e),{id:(E=e.id)!==null&&E!==void 0?E:l.id.value,prefixCls:o.value,beforeUpload:S,onChange:void 0,disabled:p.value});delete I.remove,(!n.default||p.value)&&delete I.id;const B={[`${o.value}-rtl`]:c.value==="rtl"};if(_==="drag"){const Y=re(o.value,{[`${o.value}-drag`]:!0,[`${o.value}-drag-uploading`]:v.value.some(k=>k.status==="uploading"),[`${o.value}-drag-hover`]:m.value==="dragover",[`${o.value}-disabled`]:p.value,[`${o.value}-rtl`]:c.value==="rtl"},r.class,s.value);return d(i("span",H(H({},r),{},{class:re(`${o.value}-wrapper`,B,N,s.value)}),[i("div",{class:Y,onDrop:M,onDragover:M,onDragleave:M,style:r.style},[i(eC,H(H({},I),{},{ref:h,class:`${o.value}-btn`}),H({default:()=>[i("div",{class:`${o.value}-drag-container`},[(F=n.default)===null||F===void 0?void 0:F.call(n)])]},n))]),T()]))}const R=re(o.value,{[`${o.value}-select`]:!0,[`${o.value}-select-${W}`]:!0,[`${o.value}-disabled`]:p.value,[`${o.value}-rtl`]:c.value==="rtl"}),L=bt((A=n.default)===null||A===void 0?void 0:A.call(n)),U=Y=>i("div",{class:R,style:Y},[i(eC,H(H({},I),{},{ref:h}),n)]);return d(W==="picture-card"?i("span",H(H({},r),{},{class:re(`${o.value}-wrapper`,`${o.value}-picture-card-wrapper`,B,r.class,s.value)}),[T(U,!!(L&&L.length))]):i("span",H(H({},r),{},{class:re(`${o.value}-wrapper`,B,r.class,s.value)}),[U(L&&L.length?void 0:{display:"none"}),T()]))}}});var iC=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{height:a}=e,l=iC(e,["height"]),{style:o}=r,c=iC(r,["style"]),u=g(g(g({},l),c),{type:"drag",style:g(g({},o),{height:typeof a=="number"?`${a}px`:a})});return i(Wc,u,n)}}}),TLe=g(Wc,{Dragger:b4,LIST_IGNORE:Co,install(e){return e.component(Wc.name,Wc),e.component(b4.name,b4),e}});function cpe(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function upe(e){return Object.keys(e).map(t=>`${cpe(t)}: ${e[t]};`).join(" ")}function cC(){return window.devicePixelRatio||1}function y4(e,t,n,r){e.translate(t,n),e.rotate(Math.PI/180*Number(r)),e.translate(-t,-n)}const spe=(e,t)=>{let n=!1;return e.removedNodes.length&&(n=Array.from(e.removedNodes).some(r=>r===t)),e.type==="attributes"&&e.target===t&&(n=!0),n};var dpe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a2&&arguments[2]!==void 0?arguments[2]:{};const{window:r=eW}=n,a=dpe(n,["window"]);let l;const o=JR(()=>r&&"MutationObserver"in r),c=()=>{l&&(l.disconnect(),l=void 0)},u=de(()=>I3(e),s=>{c(),o.value&&r&&s&&(l=new MutationObserver(t),l.observe(s,a))},{immediate:!0}),d=()=>{c(),u()};return ZR(d),{isSupported:o,stop:d}}const O4=2,uC=3,ppe=()=>({zIndex:Number,rotate:Number,width:Number,height:Number,image:String,content:Ye([String,Array]),font:Ee(),rootClassName:String,gap:st(),offset:st()}),vpe=ee({name:"AWatermark",inheritAttrs:!1,props:lt(ppe(),{zIndex:9,rotate:-22,font:{},gap:[100,100]}),setup(e,t){let{slots:n,attrs:r}=t;const[,a]=kr(),l=q(),o=q(),c=q(!1),u=z(()=>{var T,E;return(E=(T=e.gap)===null||T===void 0?void 0:T[0])!==null&&E!==void 0?E:100}),d=z(()=>{var T,E;return(E=(T=e.gap)===null||T===void 0?void 0:T[1])!==null&&E!==void 0?E:100}),s=z(()=>u.value/2),f=z(()=>d.value/2),p=z(()=>{var T,E;return(E=(T=e.offset)===null||T===void 0?void 0:T[0])!==null&&E!==void 0?E:s.value}),v=z(()=>{var T,E;return(E=(T=e.offset)===null||T===void 0?void 0:T[1])!==null&&E!==void 0?E:f.value}),b=z(()=>{var T,E;return(E=(T=e.font)===null||T===void 0?void 0:T.fontSize)!==null&&E!==void 0?E:a.value.fontSizeLG}),m=z(()=>{var T,E;return(E=(T=e.font)===null||T===void 0?void 0:T.fontWeight)!==null&&E!==void 0?E:"normal"}),h=z(()=>{var T,E;return(E=(T=e.font)===null||T===void 0?void 0:T.fontStyle)!==null&&E!==void 0?E:"normal"}),y=z(()=>{var T,E;return(E=(T=e.font)===null||T===void 0?void 0:T.fontFamily)!==null&&E!==void 0?E:"sans-serif"}),S=z(()=>{var T,E;return(E=(T=e.font)===null||T===void 0?void 0:T.color)!==null&&E!==void 0?E:a.value.colorFill}),O=z(()=>{var T;const E={zIndex:(T=e.zIndex)!==null&&T!==void 0?T:9,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let F=p.value-s.value,A=v.value-f.value;return F>0&&(E.left=`${F}px`,E.width=`calc(100% - ${F}px)`,F=0),A>0&&(E.top=`${A}px`,E.height=`calc(100% - ${A}px)`,A=0),E.backgroundPosition=`${F}px ${A}px`,E}),w=()=>{o.value&&(o.value.remove(),o.value=void 0)},$=(T,E)=>{var F;l.value&&o.value&&(c.value=!0,o.value.setAttribute("style",upe(g(g({},O.value),{backgroundImage:`url('${T}')`,backgroundSize:`${(u.value+E)*O4}px`}))),(F=l.value)===null||F===void 0||F.append(o.value),setTimeout(()=>{c.value=!1}))},x=T=>{let E=120,F=64;const A=e.content,W=e.image,_=e.width,N=e.height;if(!W&&T.measureText){T.font=`${Number(b.value)}px ${y.value}`;const D=Array.isArray(A)?A:[A],V=D.map(I=>T.measureText(I).width);E=Math.ceil(Math.max(...V)),F=Number(b.value)*D.length+(D.length-1)*uC}return[_??E,N??F]},P=(T,E,F,A,W)=>{const _=cC(),N=e.content,D=Number(b.value)*_;T.font=`${h.value} normal ${m.value} ${D}px/${W}px ${y.value}`,T.fillStyle=S.value,T.textAlign="center",T.textBaseline="top",T.translate(A/2,0);const V=Array.isArray(N)?N:[N];V==null||V.forEach((I,B)=>{T.fillText(I??"",E,F+B*(D+uC*_))})},M=()=>{var T;const E=document.createElement("canvas"),F=E.getContext("2d"),A=e.image,W=(T=e.rotate)!==null&&T!==void 0?T:-22;if(F){o.value||(o.value=document.createElement("div"));const _=cC(),[N,D]=x(F),V=(u.value+N)*_,I=(d.value+D)*_;E.setAttribute("width",`${V*O4}px`),E.setAttribute("height",`${I*O4}px`);const B=u.value*_/2,R=d.value*_/2,L=N*_,U=D*_,Y=(L+u.value*_)/2,k=(U+d.value*_)/2,Z=B+V,K=R+I,te=Y+V,J=k+I;if(F.save(),y4(F,Y,k,W),A){const X=new Image;X.onload=()=>{F.drawImage(X,B,R,L,U),F.restore(),y4(F,te,J,W),F.drawImage(X,Z,K,L,U),$(E.toDataURL(),N)},X.crossOrigin="anonymous",X.referrerPolicy="no-referrer",X.src=A}else P(F,B,R,L,U),F.restore(),y4(F,te,J,W),P(F,Z,K,L,U),$(E.toDataURL(),N)}};return We(()=>{M()}),de(()=>[e,a.value.colorFill,a.value.fontSizeLG],()=>{M()},{deep:!0,flush:"post"}),Xe(()=>{w()}),fpe(l,T=>{c.value||T.forEach(E=>{spe(E,o.value)&&(w(),M())})},{attributes:!0,subtree:!0,childList:!0,attributeFilter:["style","class"]}),()=>{var T;return i("div",H(H({},r),{},{ref:l,class:[r.class,e.rootClassName],style:[{position:"relative"},r.style]}),[(T=n.default)===null||T===void 0?void 0:T.call(n)])}}}),_Le=tn(vpe);var mpe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zM648.3 426.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V752c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3 73.2-144.3a10 10 0 018.9-5.5h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8z"}}]},name:"account-book",theme:"filled"};function sC(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function zNe(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,l;for(l=0;l=0)&&(n[a]=e[a]);return n}var Li=function(t,n){var r,a=n.attrs,l=n.slots,o=hc({},t,a),c=o.class,u=o.component,d=o.viewBox,s=o.spin,f=o.rotate,p=o.tabindex,v=o.onClick,b=xNe(o,CNe),m=W0(),h=m.prefixCls,y=m.rootClassName,S=l.default&&l.default(),O=S&&S.length,w=l.component,$=(r={},Gc(r,y.value,!!y.value),Gc(r,h.value,!0),r),x=Gc({},"".concat(h.value,"-spin"),s===""||!!s),P=f?{msTransform:"rotate(".concat(f,"deg)"),transform:"rotate(".concat(f,"deg)")}:void 0,M=hc({},_K,{viewBox:d,class:x,style:P});d||delete M.viewBox;var j=function(){return u?i(u,M,{default:function(){return[S]}}):w?w(M):O?(d||S.length===1&&S[0]&&S[0].type,i("svg",hc({},M,{viewBox:d}),[S])):null},T=p;return T===void 0&&v&&(T=-1,b.tabindex=T),i("span",hc({role:"img"},b,{onClick:v,class:[$,c]}),[j(),i(QL,null,null)])};Li.props={spin:Boolean,rotate:Number,viewBox:String,ariaLabel:String};Li.inheritAttrs=!1;Li.displayName="Icon";var MNe=["type"];function RB(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function _Ne(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,l;for(l=0;l=0)&&(n[a]=e[a]);return n}var xU=new Set;function ENe(e){return typeof e=="string"&&e.length&&!xU.has(e)}function w1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=e[t];if(ENe(n)){var r=document.createElement("script");r.setAttribute("src",n),r.setAttribute("data-namespace",n),e.length>t+1&&(r.onload=function(){w1(e,t+1)},r.onerror=function(){w1(e,t+1)}),xU.add(n),document.body.appendChild(r)}}function HNe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.scriptUrl,n=e.extraCommonProps,r=n===void 0?{}:n;typeof document<"u"&&typeof window<"u"&&typeof document.createElement=="function"&&(Array.isArray(t)?w1(t.reverse()):w1([t]));var a=function(o,c){var u=c.attrs,d=c.slots,s=RB({},o,u),f=s.type,p=TNe(s,MNe),v=d.default&&d.default(),b=null;f&&(b=i("use",{"xlink:href":"#".concat(f)},null)),v&&v.length&&(b=v);var m=RB({},r,p);return i(Li,m,{default:function(){return[b]}})};return a.props={spin:Boolean,rotate:Number,type:String},a.inheritAttrs=!1,a.displayName="Iconfont",a}const ELe=Object.freeze(Object.defineProperty({__proto__:null,AccountBookFilled:g8,AccountBookOutlined:h8,AccountBookTwoTone:b8,AimOutlined:y8,AlertFilled:O8,AlertOutlined:S8,AlertTwoTone:$8,AlibabaOutlined:w8,AlignCenterOutlined:P8,AlignLeftOutlined:C8,AlignRightOutlined:x8,AlipayCircleFilled:z8,AlipayCircleOutlined:M8,AlipayOutlined:j8,AlipaySquareFilled:T8,AliwangwangFilled:_8,AliwangwangOutlined:E8,AliyunOutlined:H8,AmazonCircleFilled:A8,AmazonOutlined:I8,AmazonSquareFilled:D8,AndroidFilled:F8,AndroidOutlined:B8,AntCloudOutlined:N8,AntDesignOutlined:L8,ApartmentOutlined:V8,ApiFilled:R8,ApiOutlined:W8,ApiTwoTone:G8,AppleFilled:U8,AppleOutlined:q8,AppstoreAddOutlined:k8,AppstoreFilled:X8,AppstoreOutlined:Y8,AppstoreTwoTone:Q8,AreaChartOutlined:Z8,ArrowDownOutlined:J8,ArrowLeftOutlined:u8,ArrowRightOutlined:s8,ArrowUpOutlined:K8,ArrowsAltOutlined:ed,AudioFilled:td,AudioMutedOutlined:nd,AudioOutlined:rd,AudioTwoTone:ad,AuditOutlined:ld,BackwardFilled:od,BackwardOutlined:id,BankFilled:cd,BankOutlined:ud,BankTwoTone:sd,BarChartOutlined:dd,BarcodeOutlined:fd,BarsOutlined:Cu,BehanceCircleFilled:pd,BehanceOutlined:vd,BehanceSquareFilled:md,BehanceSquareOutlined:gd,BellFilled:hd,BellOutlined:bd,BellTwoTone:yd,BgColorsOutlined:Od,BlockOutlined:Sd,BoldOutlined:$d,BookFilled:wd,BookOutlined:Pd,BookTwoTone:Cd,BorderBottomOutlined:xd,BorderHorizontalOutlined:zd,BorderInnerOutlined:Md,BorderLeftOutlined:jd,BorderOuterOutlined:Td,BorderOutlined:_d,BorderRightOutlined:Ed,BorderTopOutlined:Hd,BorderVerticleOutlined:Ad,BorderlessTableOutlined:Id,BoxPlotFilled:Dd,BoxPlotOutlined:Fd,BoxPlotTwoTone:Bd,BranchesOutlined:Nd,BugFilled:Ld,BugOutlined:Vd,BugTwoTone:Rd,BuildFilled:Wd,BuildOutlined:Gd,BuildTwoTone:Ud,BulbFilled:qd,BulbOutlined:kd,BulbTwoTone:Xd,CalculatorFilled:Yd,CalculatorOutlined:Qd,CalculatorTwoTone:Zd,CalendarFilled:Jd,CalendarOutlined:zi,CalendarTwoTone:Kd,CameraFilled:e6,CameraOutlined:t6,CameraTwoTone:n6,CarFilled:r6,CarOutlined:a6,CarTwoTone:l6,CaretDownFilled:Du,CaretDownOutlined:_u,CaretLeftFilled:o6,CaretLeftOutlined:i6,CaretRightFilled:c6,CaretRightOutlined:u6,CaretUpFilled:s6,CaretUpOutlined:Eu,CarryOutFilled:d6,CarryOutOutlined:f6,CarryOutTwoTone:p6,CheckCircleFilled:Un,CheckCircleOutlined:mi,CheckCircleTwoTone:v6,CheckOutlined:Ka,CheckSquareFilled:m6,CheckSquareOutlined:g6,CheckSquareTwoTone:h6,ChromeFilled:b6,ChromeOutlined:y6,CiCircleFilled:O6,CiCircleOutlined:S6,CiCircleTwoTone:$6,CiOutlined:w6,CiTwoTone:P6,ClearOutlined:C6,ClockCircleFilled:x6,ClockCircleOutlined:Mi,ClockCircleTwoTone:z6,CloseCircleFilled:Gt,CloseCircleOutlined:bi,CloseCircleTwoTone:M6,CloseOutlined:vn,CloseSquareFilled:j6,CloseSquareOutlined:T6,CloseSquareTwoTone:_6,CloudDownloadOutlined:E6,CloudFilled:H6,CloudOutlined:A6,CloudServerOutlined:I6,CloudSyncOutlined:D6,CloudTwoTone:F6,CloudUploadOutlined:B6,ClusterOutlined:N6,CodeFilled:L6,CodeOutlined:V6,CodeSandboxCircleFilled:R6,CodeSandboxOutlined:W6,CodeSandboxSquareFilled:G6,CodeTwoTone:U6,CodepenCircleFilled:q6,CodepenCircleOutlined:k6,CodepenOutlined:X6,CodepenSquareFilled:Y6,CoffeeOutlined:Q6,ColumnHeightOutlined:Z6,ColumnWidthOutlined:J6,CommentOutlined:K6,CompassFilled:ef,CompassOutlined:tf,CompassTwoTone:nf,CompressOutlined:rf,ConsoleSqlOutlined:af,ContactsFilled:lf,ContactsOutlined:of,ContactsTwoTone:cf,ContainerFilled:uf,ContainerOutlined:sf,ContainerTwoTone:df,ControlFilled:ff,ControlOutlined:pf,ControlTwoTone:vf,CopyFilled:mf,CopyOutlined:Ru,CopyTwoTone:gf,CopyrightCircleFilled:hf,CopyrightCircleOutlined:bf,CopyrightCircleTwoTone:yf,CopyrightOutlined:Of,CopyrightTwoTone:Sf,CreditCardFilled:$f,CreditCardOutlined:wf,CreditCardTwoTone:Pf,CrownFilled:Cf,CrownOutlined:xf,CrownTwoTone:zf,CustomerServiceFilled:Mf,CustomerServiceOutlined:jf,CustomerServiceTwoTone:Tf,DashOutlined:_f,DashboardFilled:Ef,DashboardOutlined:Hf,DashboardTwoTone:Af,DatabaseFilled:If,DatabaseOutlined:Df,DatabaseTwoTone:Ff,DeleteColumnOutlined:Bf,DeleteFilled:Nf,DeleteOutlined:Lu,DeleteRowOutlined:Lf,DeleteTwoTone:Vf,DeliveredProcedureOutlined:Rf,DeploymentUnitOutlined:Wf,DesktopOutlined:Gf,DiffFilled:Uf,DiffOutlined:qf,DiffTwoTone:kf,DingdingOutlined:Xf,DingtalkCircleFilled:Yf,DingtalkOutlined:Qf,DingtalkSquareFilled:Zf,DisconnectOutlined:Jf,DislikeFilled:Kf,DislikeOutlined:e5,DislikeTwoTone:t5,DollarCircleFilled:n5,DollarCircleOutlined:r5,DollarCircleTwoTone:a5,DollarOutlined:l5,DollarTwoTone:o5,DotChartOutlined:i5,DoubleLeftOutlined:ri,DoubleRightOutlined:ai,DownCircleFilled:c5,DownCircleOutlined:u5,DownCircleTwoTone:s5,DownOutlined:Ja,DownSquareFilled:d5,DownSquareOutlined:f5,DownSquareTwoTone:p5,DownloadOutlined:ku,DragOutlined:v5,DribbbleCircleFilled:m5,DribbbleOutlined:g5,DribbbleSquareFilled:h5,DribbbleSquareOutlined:b5,DropboxCircleFilled:y5,DropboxOutlined:O5,DropboxSquareFilled:S5,EditFilled:$5,EditOutlined:Wu,EditTwoTone:w5,EllipsisOutlined:io,EnterOutlined:Vu,EnvironmentFilled:P5,EnvironmentOutlined:C5,EnvironmentTwoTone:x5,EuroCircleFilled:z5,EuroCircleOutlined:M5,EuroCircleTwoTone:j5,EuroOutlined:T5,EuroTwoTone:_5,ExceptionOutlined:E5,ExclamationCircleFilled:qn,ExclamationCircleOutlined:gi,ExclamationCircleTwoTone:H5,ExclamationOutlined:A5,ExpandAltOutlined:I5,ExpandOutlined:D5,ExperimentFilled:F5,ExperimentOutlined:B5,ExperimentTwoTone:N5,ExportOutlined:L5,EyeFilled:V5,EyeInvisibleFilled:R5,EyeInvisibleOutlined:$u,EyeInvisibleTwoTone:W5,EyeOutlined:ji,EyeTwoTone:G5,FacebookFilled:U5,FacebookOutlined:q5,FallOutlined:k5,FastBackwardFilled:X5,FastBackwardOutlined:Y5,FastForwardFilled:Q5,FastForwardOutlined:Z5,FieldBinaryOutlined:J5,FieldNumberOutlined:K5,FieldStringOutlined:e7,FieldTimeOutlined:t7,FileAddFilled:n7,FileAddOutlined:r7,FileAddTwoTone:a7,FileDoneOutlined:l7,FileExcelFilled:o7,FileExcelOutlined:i7,FileExcelTwoTone:c7,FileExclamationFilled:u7,FileExclamationOutlined:s7,FileExclamationTwoTone:d7,FileFilled:f7,FileGifOutlined:p7,FileImageFilled:v7,FileImageOutlined:m7,FileImageTwoTone:g7,FileJpgOutlined:h7,FileMarkdownFilled:b7,FileMarkdownOutlined:y7,FileMarkdownTwoTone:O7,FileOutlined:Hi,FilePdfFilled:S7,FilePdfOutlined:$7,FilePdfTwoTone:w7,FilePptFilled:P7,FilePptOutlined:C7,FilePptTwoTone:x7,FileProtectOutlined:z7,FileSearchOutlined:M7,FileSyncOutlined:j7,FileTextFilled:T7,FileTextOutlined:Y3,FileTextTwoTone:_7,FileTwoTone:qu,FileUnknownFilled:E7,FileUnknownOutlined:H7,FileUnknownTwoTone:A7,FileWordFilled:I7,FileWordOutlined:D7,FileWordTwoTone:F7,FileZipFilled:B7,FileZipOutlined:N7,FileZipTwoTone:L7,FilterFilled:Hu,FilterOutlined:V7,FilterTwoTone:R7,FireFilled:W7,FireOutlined:G7,FireTwoTone:U7,FlagFilled:q7,FlagOutlined:k7,FlagTwoTone:X7,FolderAddFilled:Y7,FolderAddOutlined:Q7,FolderAddTwoTone:Z7,FolderFilled:J7,FolderOpenFilled:K7,FolderOpenOutlined:Fu,FolderOpenTwoTone:ep,FolderOutlined:Bu,FolderTwoTone:tp,FolderViewOutlined:np,FontColorsOutlined:rp,FontSizeOutlined:ap,ForkOutlined:lp,FormOutlined:op,FormatPainterFilled:ip,FormatPainterOutlined:cp,ForwardFilled:up,ForwardOutlined:sp,FrownFilled:dp,FrownOutlined:fp,FrownTwoTone:pp,FullscreenExitOutlined:vp,FullscreenOutlined:mp,FunctionOutlined:gp,FundFilled:hp,FundOutlined:bp,FundProjectionScreenOutlined:yp,FundTwoTone:Op,FundViewOutlined:Sp,FunnelPlotFilled:$p,FunnelPlotOutlined:wp,FunnelPlotTwoTone:Pp,GatewayOutlined:Cp,GifOutlined:xp,GiftFilled:zp,GiftOutlined:Mp,GiftTwoTone:jp,GithubFilled:Tp,GithubOutlined:_p,GitlabFilled:Ep,GitlabOutlined:Hp,GlobalOutlined:Ap,GoldFilled:Ip,GoldOutlined:Dp,GoldTwoTone:Fp,GoldenFilled:Bp,GoogleCircleFilled:Np,GoogleOutlined:Lp,GooglePlusCircleFilled:Vp,GooglePlusOutlined:Rp,GooglePlusSquareFilled:Wp,GoogleSquareFilled:Gp,GroupOutlined:Up,HddFilled:qp,HddOutlined:kp,HddTwoTone:Xp,HeartFilled:Yp,HeartOutlined:Qp,HeartTwoTone:Zp,HeatMapOutlined:Jp,HighlightFilled:Kp,HighlightOutlined:ev,HighlightTwoTone:tv,HistoryOutlined:nv,HolderOutlined:rv,HomeFilled:av,HomeOutlined:lv,HomeTwoTone:ov,HourglassFilled:iv,HourglassOutlined:cv,HourglassTwoTone:uv,Html5Filled:sv,Html5Outlined:dv,Html5TwoTone:fv,IdcardFilled:pv,IdcardOutlined:vv,IdcardTwoTone:mv,IeCircleFilled:gv,IeOutlined:hv,IeSquareFilled:bv,ImportOutlined:yv,InboxOutlined:Ov,InfoCircleFilled:Qr,InfoCircleOutlined:hi,InfoCircleTwoTone:Sv,InfoOutlined:$v,InsertRowAboveOutlined:wv,InsertRowBelowOutlined:Pv,InsertRowLeftOutlined:Cv,InsertRowRightOutlined:xv,InstagramFilled:zv,InstagramOutlined:Mv,InsuranceFilled:jv,InsuranceOutlined:Tv,InsuranceTwoTone:_v,InteractionFilled:Ev,InteractionOutlined:Hv,InteractionTwoTone:Av,IssuesCloseOutlined:Iv,ItalicOutlined:Dv,KeyOutlined:Fv,LaptopOutlined:Bv,LayoutFilled:Nv,LayoutOutlined:Lv,LayoutTwoTone:Vv,LeftCircleFilled:Rv,LeftCircleOutlined:Wv,LeftCircleTwoTone:Gv,LeftOutlined:Ua,LeftSquareFilled:Uv,LeftSquareOutlined:qv,LeftSquareTwoTone:kv,LikeFilled:Xv,LikeOutlined:Yv,LikeTwoTone:Qv,LineChartOutlined:Zv,LineHeightOutlined:Jv,LineOutlined:Kv,LinkOutlined:em,LinkedinFilled:tm,LinkedinOutlined:nm,Loading3QuartersOutlined:rm,LoadingOutlined:pn,LockFilled:am,LockOutlined:lm,LockTwoTone:om,LoginOutlined:im,LogoutOutlined:cm,MacCommandFilled:um,MacCommandOutlined:sm,MailFilled:dm,MailOutlined:fm,MailTwoTone:pm,ManOutlined:vm,MedicineBoxFilled:mm,MedicineBoxOutlined:gm,MedicineBoxTwoTone:hm,MediumCircleFilled:bm,MediumOutlined:ym,MediumSquareFilled:Om,MediumWorkmarkOutlined:Sm,MehFilled:$m,MehOutlined:wm,MehTwoTone:Pm,MenuFoldOutlined:Cm,MenuOutlined:xm,MenuUnfoldOutlined:zm,MergeCellsOutlined:Mm,MessageFilled:jm,MessageOutlined:Tm,MessageTwoTone:_m,MinusCircleFilled:Em,MinusCircleOutlined:Hm,MinusCircleTwoTone:Am,MinusOutlined:Im,MinusSquareFilled:Dm,MinusSquareOutlined:Au,MinusSquareTwoTone:Fm,MobileFilled:Bm,MobileOutlined:Nm,MobileTwoTone:Lm,MoneyCollectFilled:Vm,MoneyCollectOutlined:Rm,MoneyCollectTwoTone:Wm,MonitorOutlined:Gm,MoreOutlined:Um,NodeCollapseOutlined:qm,NodeExpandOutlined:km,NodeIndexOutlined:Xm,NotificationFilled:Ym,NotificationOutlined:Qm,NotificationTwoTone:Zm,NumberOutlined:Jm,OneToOneOutlined:Km,OrderedListOutlined:eg,PaperClipOutlined:Gu,PartitionOutlined:tg,PauseCircleFilled:ng,PauseCircleOutlined:rg,PauseCircleTwoTone:ag,PauseOutlined:lg,PayCircleFilled:og,PayCircleOutlined:ig,PercentageOutlined:cg,PhoneFilled:ug,PhoneOutlined:sg,PhoneTwoTone:dg,PicCenterOutlined:fg,PicLeftOutlined:pg,PicRightOutlined:vg,PictureFilled:mg,PictureOutlined:gg,PictureTwoTone:Uu,PieChartFilled:hg,PieChartOutlined:bg,PieChartTwoTone:yg,PlayCircleFilled:Og,PlayCircleOutlined:Sg,PlayCircleTwoTone:$g,PlaySquareFilled:wg,PlaySquareOutlined:Pg,PlaySquareTwoTone:Cg,PlusCircleFilled:xg,PlusCircleOutlined:zg,PlusCircleTwoTone:Mg,PlusOutlined:fu,PlusSquareFilled:jg,PlusSquareOutlined:Iu,PlusSquareTwoTone:Tg,PoundCircleFilled:_g,PoundCircleOutlined:Eg,PoundCircleTwoTone:Hg,PoundOutlined:Ag,PoweroffOutlined:Ig,PrinterFilled:Dg,PrinterOutlined:Fg,PrinterTwoTone:Bg,ProfileFilled:Ng,ProfileOutlined:Lg,ProfileTwoTone:Vg,ProjectFilled:Rg,ProjectOutlined:Wg,ProjectTwoTone:Gg,PropertySafetyFilled:Ug,PropertySafetyOutlined:qg,PropertySafetyTwoTone:kg,PullRequestOutlined:Xg,PushpinFilled:Yg,PushpinOutlined:Qg,PushpinTwoTone:Zg,QqCircleFilled:Jg,QqOutlined:Kg,QqSquareFilled:eh,QrcodeOutlined:th,QuestionCircleFilled:nh,QuestionCircleOutlined:yu,QuestionCircleTwoTone:rh,QuestionOutlined:ah,RadarChartOutlined:lh,RadiusBottomleftOutlined:oh,RadiusBottomrightOutlined:ih,RadiusSettingOutlined:ch,RadiusUpleftOutlined:uh,RadiusUprightOutlined:sh,ReadFilled:dh,ReadOutlined:fh,ReconciliationFilled:ph,ReconciliationOutlined:vh,ReconciliationTwoTone:mh,RedEnvelopeFilled:gh,RedEnvelopeOutlined:hh,RedEnvelopeTwoTone:bh,RedditCircleFilled:yh,RedditOutlined:Oh,RedditSquareFilled:Sh,RedoOutlined:$h,ReloadOutlined:wh,RestFilled:Ph,RestOutlined:Ch,RestTwoTone:xh,RetweetOutlined:zh,RightCircleFilled:Mh,RightCircleOutlined:jh,RightCircleTwoTone:Th,RightOutlined:qr,RightSquareFilled:_h,RightSquareOutlined:Eh,RightSquareTwoTone:Hh,RiseOutlined:Ah,RobotFilled:Ih,RobotOutlined:Dh,RocketFilled:Fh,RocketOutlined:Bh,RocketTwoTone:Nh,RollbackOutlined:Lh,RotateLeftOutlined:K3,RotateRightOutlined:e8,SafetyCertificateFilled:Vh,SafetyCertificateOutlined:Rh,SafetyCertificateTwoTone:Wh,SafetyOutlined:Gh,SaveFilled:Uh,SaveOutlined:qh,SaveTwoTone:kh,ScanOutlined:Xh,ScheduleFilled:Yh,ScheduleOutlined:Qh,ScheduleTwoTone:Zh,ScissorOutlined:Jh,SearchOutlined:no,SecurityScanFilled:Kh,SecurityScanOutlined:e9,SecurityScanTwoTone:t9,SelectOutlined:n9,SendOutlined:r9,SettingFilled:a9,SettingOutlined:l9,SettingTwoTone:o9,ShakeOutlined:i9,ShareAltOutlined:c9,ShopFilled:u9,ShopOutlined:s9,ShopTwoTone:d9,ShoppingCartOutlined:f9,ShoppingFilled:p9,ShoppingOutlined:v9,ShoppingTwoTone:m9,ShrinkOutlined:g9,SignalFilled:h9,SisternodeOutlined:b9,SketchCircleFilled:y9,SketchOutlined:O9,SketchSquareFilled:S9,SkinFilled:$9,SkinOutlined:w9,SkinTwoTone:P9,SkypeFilled:C9,SkypeOutlined:x9,SlackCircleFilled:z9,SlackOutlined:M9,SlackSquareFilled:j9,SlackSquareOutlined:T9,SlidersFilled:_9,SlidersOutlined:E9,SlidersTwoTone:H9,SmallDashOutlined:A9,SmileFilled:I9,SmileOutlined:D9,SmileTwoTone:F9,SnippetsFilled:B9,SnippetsOutlined:N9,SnippetsTwoTone:L9,SolutionOutlined:V9,SortAscendingOutlined:R9,SortDescendingOutlined:W9,SoundFilled:G9,SoundOutlined:U9,SoundTwoTone:q9,SplitCellsOutlined:k9,StarFilled:d8,StarOutlined:X9,StarTwoTone:Y9,StepBackwardFilled:Q9,StepBackwardOutlined:Z9,StepForwardFilled:J9,StepForwardOutlined:K9,StockOutlined:eb,StopFilled:tb,StopOutlined:nb,StopTwoTone:rb,StrikethroughOutlined:ab,SubnodeOutlined:lb,SwapLeftOutlined:ob,SwapOutlined:r8,SwapRightOutlined:Ou,SwitcherFilled:ib,SwitcherOutlined:cb,SwitcherTwoTone:ub,SyncOutlined:sb,TableOutlined:db,TabletFilled:fb,TabletOutlined:pb,TabletTwoTone:vb,TagFilled:mb,TagOutlined:gb,TagTwoTone:hb,TagsFilled:bb,TagsOutlined:yb,TagsTwoTone:Ob,TaobaoCircleFilled:Sb,TaobaoCircleOutlined:$b,TaobaoOutlined:wb,TaobaoSquareFilled:Pb,TeamOutlined:Cb,ThunderboltFilled:xb,ThunderboltOutlined:zb,ThunderboltTwoTone:Mb,ToTopOutlined:jb,ToolFilled:Tb,ToolOutlined:_b,ToolTwoTone:Eb,TrademarkCircleFilled:Hb,TrademarkCircleOutlined:Ab,TrademarkCircleTwoTone:Ib,TrademarkOutlined:Db,TransactionOutlined:Fb,TranslationOutlined:Bb,TrophyFilled:Nb,TrophyOutlined:Lb,TrophyTwoTone:Vb,TwitterCircleFilled:Rb,TwitterOutlined:Wb,TwitterSquareFilled:Gb,UnderlineOutlined:Ub,UndoOutlined:qb,UngroupOutlined:kb,UnlockFilled:Xb,UnlockOutlined:Yb,UnlockTwoTone:Qb,UnorderedListOutlined:Zb,UpCircleFilled:Jb,UpCircleOutlined:Kb,UpCircleTwoTone:ey,UpOutlined:wu,UpSquareFilled:ty,UpSquareOutlined:ny,UpSquareTwoTone:ry,UploadOutlined:ay,UsbFilled:ly,UsbOutlined:oy,UsbTwoTone:iy,UserAddOutlined:cy,UserDeleteOutlined:uy,UserOutlined:sy,UserSwitchOutlined:dy,UsergroupAddOutlined:fy,UsergroupDeleteOutlined:py,VerifiedOutlined:vy,VerticalAlignBottomOutlined:my,VerticalAlignMiddleOutlined:gy,VerticalAlignTopOutlined:Q3,VerticalLeftOutlined:hy,VerticalRightOutlined:by,VideoCameraAddOutlined:yy,VideoCameraFilled:Oy,VideoCameraOutlined:Sy,VideoCameraTwoTone:$y,WalletFilled:wy,WalletOutlined:Py,WalletTwoTone:Cy,WarningFilled:Mu,WarningOutlined:xy,WarningTwoTone:zy,WechatFilled:My,WechatOutlined:jy,WeiboCircleFilled:Ty,WeiboCircleOutlined:_y,WeiboOutlined:Ey,WeiboSquareFilled:Hy,WeiboSquareOutlined:Ay,WhatsAppOutlined:Iy,WifiOutlined:Dy,WindowsFilled:Fy,WindowsOutlined:By,WomanOutlined:Ny,YahooFilled:Ly,YahooOutlined:Vy,YoutubeFilled:Ry,YoutubeOutlined:Wy,YuqueFilled:Gy,YuqueOutlined:Uy,ZhihuCircleFilled:qy,ZhihuOutlined:ky,ZhihuSquareFilled:Xy,ZoomInOutlined:t8,ZoomOutOutlined:n8,createFromIconfontCN:HNe,default:Li,getTwoToneColor:YL,setTwoToneColor:q0},Symbol.toStringTag,{value:"Module"})),zU=Symbol("appConfigContext"),ANe=e=>qe(zU,e),INe=()=>Ue(zU,{}),MU=Symbol("appContext"),DNe=e=>qe(MU,e),FNe=ht({message:{},notification:{},modal:{}}),BNe=()=>Ue(MU,FNe),NNe=e=>{const{componentCls:t,colorText:n,fontSize:r,lineHeight:a,fontFamily:l}=e;return{[t]:{color:n,fontSize:r,lineHeight:a,fontFamily:l}}},LNe=Je("App",e=>[NNe(e)]),VNe=()=>({rootClassName:String,message:Ee(),notification:Ee()}),RNe=()=>BNe(),Uc=ee({name:"AApp",props:lt(VNe(),{}),setup(e,t){let{slots:n}=t;const{prefixCls:r}=je("app",e),[a,l]=LNe(r),o=z(()=>re(l.value,r.value,e.rootClassName)),c=INe(),u=z(()=>({message:g(g({},c.message),e.message),notification:g(g({},c.notification),e.notification)}));ANe(u.value);const[d,s]=qW(u.value.message),[f,p]=aG(u.value.notification),[v,b]=BG(),m=z(()=>({message:d,notification:f,modal:v}));return DNe(m.value),()=>{var h;return a(i("div",{class:o.value},[b(),s(),p(),(h=n.default)===null||h===void 0?void 0:h.call(n)]))}}});Uc.useApp=RNe;Uc.install=function(e){e.component(Uc.name,Uc)};const ra=(e,t)=>new vt(e).setAlpha(t).toRgbString(),fl=(e,t)=>new vt(e).lighten(t).toHexString(),WNe=e=>{const t=Vr(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},GNe=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:ra(r,.85),colorTextSecondary:ra(r,.65),colorTextTertiary:ra(r,.45),colorTextQuaternary:ra(r,.25),colorFill:ra(r,.18),colorFillSecondary:ra(r,.12),colorFillTertiary:ra(r,.08),colorFillQuaternary:ra(r,.04),colorBgElevated:fl(n,12),colorBgContainer:fl(n,8),colorBgLayout:fl(n,0),colorBgSpotlight:fl(n,26),colorBorder:fl(n,26),colorBorderSecondary:fl(n,19)}},UNe=(e,t)=>{const n=Object.keys(g0).map(a=>{const l=Vr(e[a],{theme:"dark"});return new Array(10).fill(1).reduce((o,c,u)=>(o[`${a}-${u+1}`]=l[u],o),{})}).reduce((a,l)=>(a=g(g({},a),l),a),{}),r=t??H1(e);return g(g(g({},r),n),DN(e,{generateColorPalettes:WNe,generateNeutralColorPalettes:GNe}))};function qNe(e){const{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}const kNe=(e,t)=>{const n=t??H1(e),r=n.fontSizeSM,a=n.controlHeight-4;return g(g(g(g(g({},n),qNe(t??e)),FN(r)),{controlHeight:a}),IN(g(g({},n),{controlHeight:a})))};function XNe(){const[e,t,n]=kr();return{theme:e,token:t,hashId:n}}const HLe={defaultConfig:Zc,defaultSeed:Zc.token,useToken:XNe,defaultAlgorithm:H1,darkAlgorithm:UNe,compactAlgorithm:kNe};export{Ty as $,Uc as A,l9 as B,Il as C,Br as D,Ru as E,mLe as F,fLe as G,Rt as H,ELe as I,Um as J,b2 as K,cm as L,Cn as M,Qm as N,_Le as O,s8e as P,lte as Q,wh as R,Lc as S,_l as T,sy as U,ja as V,lm as W,Nm as X,z8 as Y,Sb as Z,g as _,HLe as a,H as a$,Dt as a0,z4e as a1,e3e as a2,Nr as a3,_p as a4,bf as a5,Fl as a6,fu as a7,Z6 as a8,pLe as a9,z1e as aA,Bi as aB,Us as aC,oa as aD,wLe as aE,aLe as aF,iLe as aG,uLe as aH,tLe as aI,a3 as aJ,cLe as aK,R1 as aL,Q1 as aM,rLe as aN,nLe as aO,I0 as aP,Cc as aQ,Os as aR,KNe as aS,Nte as aT,eLe as aU,T0 as aV,Kt as aW,lLe as aX,JNe as aY,sLe as aZ,kU as a_,CLe as aa,Do as ab,E2 as ac,Bo as ad,MLe as ae,v5e as af,z8e as ag,ku as ah,Wu as ai,c9 as aj,io as ak,y2 as al,ld as am,V8 as an,lv as ao,ay as ap,zG as aq,TLe as ar,wb as as,j8 as at,Xf as au,hLe as av,hi as aw,Eu as ax,_u as ay,M1e as az,Lg as b,qU as b0,Ro as b1,O2 as b2,Yt as b3,d1 as b4,Ho as b5,PLe as b6,jLe as b7,un as b8,n4 as b9,xLe as ba,Ln as bb,gi as bc,B0e as bd,UG as be,vLe as bf,ZNe as bg,X4 as bh,X9 as bi,Yv as bj,Tm as bk,Fi as bl,t2 as bm,wu as bn,Ja as bo,l0e as bp,So as bq,bi as br,qr as bs,Dl as bt,Eo as c,ut as d,Zl as e,v1 as f,zm as g,Cm as h,bLe as i,Jl as j,oLe as k,or as l,OLe as m,gLe as n,Fae as o,SLe as p,yLe as q,$Le as r,Ka as s,br as t,dLe as u,On as v,zLe as w,T8e as x,Pa as y,vn as z}; diff --git a/web/dist/assets/api-DDa9fDH4.js b/web/dist/assets/api-DDa9fDH4.js new file mode 100644 index 0000000..df90222 --- /dev/null +++ b/web/dist/assets/api-DDa9fDH4.js @@ -0,0 +1 @@ +import{_ as _e}from"./index-1DQ9lz7_.js";import{a7 as ge,R as ve,a8 as ye,I as ke,a0 as he,u as me,v as xe,a1 as Ae,a9 as Ce,H as Ie,S as Ee,aa as we,V as Pe,ab as Te,t as be,M as Se,D as ce,ad as Ue,ae as Oe,n as ze}from"./antd-vtmm7CAy.js";import{a as De,u as Me,c as Ge,d as Re}from"./admin-x2Ewtnku.js";import{u as Be}from"./index-C-JhWVfG.js";import{r as z,s as D,f as w,o as Le,a2 as r,a9 as h,aa as a,k as o,u as n,H as M,a3 as y,F as Q,aj as W,G as s,ad as m,a4 as Ve,ae as _,ai as $e}from"./vue-Dl1fzmsf.js";import"./context-Dawj80bg.js";const je={key:0,flex:"","gap-2":""},qe={key:1,flex:"","gap-2":""},Fe={key:2,flex:"","gap-2":""},Ke=["onClick"],Ne=["onClick"],He=["onClick"],Je={key:3,"gap-2":""},at={__name:"api",setup(Qe){const x=z({pageSize:10,pageSizeOptions:["10","20","30","40"],current:1,total:100,showSizeChanger:!0,showQuickJumper:!0,showTotal:l=>`总数据位:${l}`,onChange(l,t){x.pageSize=t,x.current=l,E()}}),A=Be(),X=D([{title:"#",dataIndex:"id"},{title:"分组",dataIndex:"group"},{title:"API名称",dataIndex:"name"},{title:"API路由",dataIndex:"path"},{title:"Method",dataIndex:"method"},{title:"更新时间",dataIndex:"updatedAt"},{title:"操作",dataIndex:"action",width:200}]),Y={group:[{required:!0,message:"please enter group"}],method:[{required:!0,message:"please select an method"}],name:[{required:!0,message:"Please enter name"}],path:[{required:!0,message:"Please enter path"}]},C=D(!1),G=D([]),g=z({id:0,path:"",name:"",group:"",method:""}),p=w([]),R=l=>{l.length>1?p.value=[l[l.length-1]]:p.value=l,d.group=p.value[0]},d=z({id:0,path:"",name:"",group:"",method:"GET"}),B=()=>{Object.assign(d,{id:0,path:"",name:"",group:"",method:"GET"})},P=w(["large"]),Z=w([{key:"large",label:"默认",title:"默认"},{key:"middle",label:"中等",title:"中等"},{key:"small",label:"紧凑",title:"紧凑"}]),I=w(!1),S=w([]),c=w([]),ee=l=>{const t=new Map;l.forEach(i=>{const u=i.group;t.has(u)||(t.set(u,[]),c.value.includes(u)||c.value.push(u)),t.get(u).push(i)});const f=[];return t.forEach((i,u)=>{f.push({key:u,group:u,children:i})}),f};async function E(){if(!C.value){C.value=!0;try{const{data:l}=await De({...g,page:x.current,pageSize:x.pageSize});G.value=ee(l.list)??[],x.total=l.total??0,S.value=l.groups??[]}catch(l){console.log(l)}finally{C.value=!1}}}async function U(){x.current=1,await E()}async function te(){Object.assign(g,{id:0,path:"",name:"",group:"",method:""}),await E()}const ae=()=>{I.value=!1};async function oe(){const l=A.loading("提交中......");try{let t={};d.id>0?t=await Me({...d}):t=await Ge({...d}),t.code===0&&(await E(),I.value=!1,d.id>0?A.success("更新成功"):A.success("创建成功"))}catch(t){console.log(t)}finally{l()}}async function L(l){B(),p.value=[],l.group&&(d.group=l.group,p.value=[l.group]),I.value=!0}async function ne(l){B(),p.value=[l.group],Object.assign(d,l),I.value=!0}async function le(l){if(l.children&&l.children.length>0){A.error("存在子节点,不允许删除");return}const t=A.loading("删除中......");try{(await Re({id:l.id})).code===0&&await E(),A.success("删除成功")}catch(f){console.log(f)}finally{t()}}function se(){I.value=!1,U()}function de(l){P.value[0]=l.key}return Le(()=>{E()}),(l,t)=>{const f=he,i=me,u=xe,k=Ae,v=Ce,T=Ie,O=Ee,V=we,$=Pe,j=Te,q=be,re=Se,ie=ce,b=Ue,ue=Oe,pe=ze,fe=_e;return r(),h(fe,null,{default:a(()=>[o(j,{"mb-4":""},{default:a(()=>[o($,{model:n(g)},{default:a(()=>[o(V,{gutter:[15,0]},{default:a(()=>[o(v,{span:4},{default:a(()=>[o(k,{name:"group",label:"API分组"},{default:a(()=>[o(f,{style:{display:"none"},value:n(g).group,"onUpdate:value":t[0]||(t[0]=e=>n(g).group=e),placeholder:"描述API的功能"},null,8,["value"]),o(u,{value:n(p),"onUpdate:value":t[1]||(t[1]=e=>M(p)?p.value=e:null),mode:"tags","max-tag-count":1,onChange:R},{default:a(()=>[(r(!0),y(Q,null,W(n(S),e=>(r(),h(i,{key:e,value:e},{default:a(()=>[s(m(e),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1})]),_:1}),o(v,{span:4},{default:a(()=>[o(k,{name:"name",label:"API名称"},{default:a(()=>[o(f,{value:n(g).name,"onUpdate:value":t[2]||(t[2]=e=>n(g).name=e)},null,8,["value"])]),_:1})]),_:1}),o(v,{span:4},{default:a(()=>[o(k,{name:"name",label:"API路由"},{default:a(()=>[o(f,{value:n(g).path,"onUpdate:value":t[3]||(t[3]=e=>n(g).path=e)},null,8,["value"])]),_:1})]),_:1}),o(v,{span:4},{default:a(()=>[o(k,{name:"name",label:"Method"},{default:a(()=>[o(u,{value:n(g).method,"onUpdate:value":t[4]||(t[4]=e=>n(g).method=e),placeholder:""},{default:a(()=>[o(i,{value:""},{default:a(()=>t[11]||(t[11]=[s("All")])),_:1}),o(i,{value:"GET"},{default:a(()=>t[12]||(t[12]=[s("GET")])),_:1}),o(i,{value:"POST"},{default:a(()=>t[13]||(t[13]=[s("POST")])),_:1}),o(i,{value:"PUT"},{default:a(()=>t[14]||(t[14]=[s("PUT")])),_:1}),o(i,{value:"DELETE"},{default:a(()=>t[15]||(t[15]=[s("DELETE")])),_:1})]),_:1},8,["value"])]),_:1})]),_:1}),o(v,{span:4},{default:a(()=>[o(O,{flex:"","justify-end":"","w-full":""},{default:a(()=>[o(T,{loading:n(C),type:"primary",onClick:U},{default:a(()=>t[16]||(t[16]=[s(" 查询 ")])),_:1},8,["loading"]),o(T,{loading:n(C),onClick:te},{default:a(()=>t[17]||(t[17]=[s(" 重置 ")])),_:1},8,["loading"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),o(j,{title:"接口列表"},{extra:a(()=>[o(O,{size:"middle"},{default:a(()=>[o(T,{type:"primary",onClick:L},{icon:a(()=>[o(n(ge))]),default:a(()=>[t[18]||(t[18]=s(" 添加API "))]),_:1}),o(q,{title:"刷新"},{default:a(()=>[o(n(ve),{onClick:U})]),_:1}),o(q,{title:"密度"},{default:a(()=>[o(ie,{trigger:"click"},{overlay:a(()=>[o(re,{"selected-keys":n(P),"onUpdate:selectedKeys":t[5]||(t[5]=e=>M(P)?P.value=e:null),items:n(Z),onClick:de},null,8,["selected-keys","items"])]),default:a(()=>[o(n(ye))]),_:1})]),_:1})]),_:1})]),default:a(()=>[o(ue,{loading:n(C),columns:n(X),"data-source":n(G),defaultExpandedRowKeys:n(c),size:n(P)[0],pagination:n(x),"expand-column-width":100},{bodyCell:a(e=>{var F,K,N,H;return[((F=e==null?void 0:e.column)==null?void 0:F.dataIndex)==="name"?(r(),y("div",je,[Ve("span",null,m(e==null?void 0:e.record.name),1)])):_("",!0),((K=e==null?void 0:e.column)==null?void 0:K.dataIndex)==="method"?(r(),y("div",qe,[(e==null?void 0:e.record.method)==="GET"?(r(),h(b,{key:0,color:"success"},{default:a(()=>[s(m(e==null?void 0:e.record.method),1)]),_:2},1024)):_("",!0),(e==null?void 0:e.record.method)==="POST"?(r(),h(b,{key:1,color:"warning"},{default:a(()=>[s(m(e==null?void 0:e.record.method),1)]),_:2},1024)):_("",!0),(e==null?void 0:e.record.method)==="PUT"?(r(),h(b,{key:2,color:"pink"},{default:a(()=>[s(m(e==null?void 0:e.record.method),1)]),_:2},1024)):_("",!0),(e==null?void 0:e.record.method)==="DELETE"?(r(),h(b,{key:3,color:"error"},{default:a(()=>[s(m(e==null?void 0:e.record.method),1)]),_:2},1024)):_("",!0)])):_("",!0),((N=e==null?void 0:e.column)==null?void 0:N.dataIndex)==="action"?(r(),y("div",Fe,[e!=null&&e.record.key?(r(),y("a",{key:0,onClick:J=>L(e==null?void 0:e.record)}," 添加API ",8,Ke)):_("",!0),e!=null&&e.record.key?_("",!0):(r(),y("a",{key:1,onClick:J=>ne(e==null?void 0:e.record)}," 编辑 ",8,Ne)),e!=null&&e.record.key?_("",!0):(r(),y("a",{key:2,"c-error":"",onClick:J=>le(e==null?void 0:e.record)}," 删除 ",8,He))])):_("",!0),((H=e==null?void 0:e.column)==null?void 0:H.dataIndex)==="title"?(r(),y("div",Je,[e.record.icon?(r(),h($e(ke[e.record.icon]),{key:0})):_("",!0),s(" "+m(e.record.title),1)])):_("",!0)]}),_:1},8,["loading","columns","data-source","defaultExpandedRowKeys","size","pagination"])]),_:1}),o(pe,{title:(n(d).id>0?"编辑":"添加")+"API",width:550,open:n(I),"body-style":{paddingBottom:"80px"},"footer-style":{textAlign:"right"},onClose:se},{extra:a(()=>[o(O,null,{default:a(()=>[o(T,{onClick:ae},{default:a(()=>t[23]||(t[23]=[s("取消")])),_:1}),o(T,{type:"primary",onClick:oe},{default:a(()=>t[24]||(t[24]=[s("提交")])),_:1})]),_:1})]),default:a(()=>[o($,{model:n(d),rules:Y,layout:"horizontal"},{default:a(()=>[o(V,{gutter:16},{default:a(()=>[o(v,{span:24},{default:a(()=>[o(k,{label:"API分组",name:"group"},{default:a(()=>[o(f,{style:{display:"none"},value:n(d).group,"onUpdate:value":t[6]||(t[6]=e=>n(d).group=e),placeholder:"描述API的功能"},null,8,["value"]),o(u,{value:n(p),"onUpdate:value":t[7]||(t[7]=e=>M(p)?p.value=e:null),mode:"tags",placeholder:"分组不存在则自动创建","max-tag-count":1,onChange:R,style:{width:"200px"}},{default:a(()=>[(r(!0),y(Q,null,W(n(S),e=>(r(),h(i,{key:e,value:e},{default:a(()=>[s(m(e),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1})]),_:1}),o(v,{span:24},{default:a(()=>[o(k,{label:"API名称",name:"name"},{default:a(()=>[o(f,{value:n(d).name,"onUpdate:value":t[8]||(t[8]=e=>n(d).name=e),placeholder:"描述API的功能"},null,8,["value"])]),_:1})]),_:1}),o(v,{span:24},{default:a(()=>[o(k,{label:"Method",name:"method"},{default:a(()=>[o(u,{value:n(d).method,"onUpdate:value":t[9]||(t[9]=e=>n(d).method=e),placeholder:""},{default:a(()=>[o(i,{value:"GET"},{default:a(()=>t[19]||(t[19]=[s("GET")])),_:1}),o(i,{value:"POST"},{default:a(()=>t[20]||(t[20]=[s("POST")])),_:1}),o(i,{value:"PUT"},{default:a(()=>t[21]||(t[21]=[s("PUT")])),_:1}),o(i,{value:"DELETE"},{default:a(()=>t[22]||(t[22]=[s("DELETE")])),_:1})]),_:1},8,["value"])]),_:1})]),_:1}),o(v,{span:24},{default:a(()=>[o(k,{label:"API地址",name:"path"},{default:a(()=>[o(f,{value:n(d).path,"onUpdate:value":t[10]||(t[10]=e=>n(d).path=e),placeholder:"示例:/v1/users"},null,8,["value"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["title","open"])]),_:1})}}};export{at as default}; diff --git a/web/dist/assets/applications-CX4Ej76O.js b/web/dist/assets/applications-CX4Ej76O.js new file mode 100644 index 0000000..f3dfb9e --- /dev/null +++ b/web/dist/assets/applications-CX4Ej76O.js @@ -0,0 +1 @@ +import{_ as w}from"./category-KW2cQk4I.js";import{B as j,ai as u,aj as v,ak as h,c as z,al as y,e as _,M as x,D as q,ab as B,x as f,y as k}from"./antd-vtmm7CAy.js";import{a2 as A,a3 as C,k as t,aa as a,u as o,a4 as e,G as W}from"./vue-Dl1fzmsf.js";const U={__name:"applications",setup(O){const n=[{id:"fake-list-0",owner:"付小小",title:"Alipay",avatar:"https://gw.alipayobjects.com/zos/rmsportal/WdGqmHpayyMjiEhcKoVE.png",cover:"https://gw.alipayobjects.com/zos/rmsportal/uMfMFlvUuceEyPpotzlq.png",status:"active",percent:90,logo:"https://gw.alipayobjects.com/zos/rmsportal/WdGqmHpayyMjiEhcKoVE.png",href:"https://ant.design",updatedAt:1693313381539,createdAt:1693313381539,subDescription:"那是一种内在的东西, 他们到达不了,也无法触及的",description:"在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。",activeUser:113062,newUser:1303,star:166,like:182,message:20,content:"段落示意:蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。",members:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/ZiESqWwCXBRQoaPONSJe.png",name:"曲丽丽",id:"member1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/tBOxZPlITHqwlGjsJWaF.png",name:"王昭君",id:"member2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/sBxjgqiuHMGRkIjqlQCd.png",name:"董娜娜",id:"member3"}]},{id:"fake-list-1",owner:"曲丽丽",title:"Angular",avatar:"https://gw.alipayobjects.com/zos/rmsportal/zOsKZmFRdUtvpqCImOVY.png",cover:"https://gw.alipayobjects.com/zos/rmsportal/iZBVOIhGJiAnhplqjvZW.png",status:"exception",percent:71,logo:"https://gw.alipayobjects.com/zos/rmsportal/zOsKZmFRdUtvpqCImOVY.png",href:"https://ant.design",updatedAt:1693306181539,createdAt:1693306181539,subDescription:"希望是一个好东西,也许是最好的,好东西是不会消亡的",description:"在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。",activeUser:120882,newUser:1294,star:161,like:182,message:13,content:"段落示意:蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。",members:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/ZiESqWwCXBRQoaPONSJe.png",name:"曲丽丽",id:"member1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/tBOxZPlITHqwlGjsJWaF.png",name:"王昭君",id:"member2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/sBxjgqiuHMGRkIjqlQCd.png",name:"董娜娜",id:"member3"}]},{id:"fake-list-2",owner:"林东东",title:"Ant Design",avatar:"https://gw.alipayobjects.com/zos/rmsportal/dURIMkkrRFpPgTuzkwnB.png",cover:"https://gw.alipayobjects.com/zos/rmsportal/iXjVmWVHbCJAyqvDxdtx.png",status:"normal",percent:57,logo:"https://gw.alipayobjects.com/zos/rmsportal/dURIMkkrRFpPgTuzkwnB.png",href:"https://ant.design",updatedAt:1693298981539,createdAt:1693298981539,subDescription:"生命就像一盒巧克力,结果往往出人意料",description:"在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。",activeUser:170883,newUser:1151,star:166,like:139,message:18,content:"段落示意:蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。",members:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/ZiESqWwCXBRQoaPONSJe.png",name:"曲丽丽",id:"member1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/tBOxZPlITHqwlGjsJWaF.png",name:"王昭君",id:"member2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/sBxjgqiuHMGRkIjqlQCd.png",name:"董娜娜",id:"member3"}]},{id:"fake-list-3",owner:"周星星",title:"Ant Design Pro",avatar:"https://gw.alipayobjects.com/zos/rmsportal/sfjbOqnsXXJgNCjCzDBL.png",cover:"https://gw.alipayobjects.com/zos/rmsportal/gLaIAoVWTtLbBWZNYEMg.png",status:"active",percent:54,logo:"https://gw.alipayobjects.com/zos/rmsportal/sfjbOqnsXXJgNCjCzDBL.png",href:"https://ant.design",updatedAt:1693291781539,createdAt:1693291781539,subDescription:"城镇中有那么多的酒馆,她却偏偏走进了我的酒馆",description:"在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。",activeUser:114407,newUser:1076,star:142,like:195,message:13,content:"段落示意:蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。",members:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/ZiESqWwCXBRQoaPONSJe.png",name:"曲丽丽",id:"member1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/tBOxZPlITHqwlGjsJWaF.png",name:"王昭君",id:"member2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/sBxjgqiuHMGRkIjqlQCd.png",name:"董娜娜",id:"member3"}]},{id:"fake-list-4",owner:"吴加好",title:"Bootstrap",avatar:"https://gw.alipayobjects.com/zos/rmsportal/siCrBXXhmvTQGWPNLBow.png",cover:"https://gw.alipayobjects.com/zos/rmsportal/gLaIAoVWTtLbBWZNYEMg.png",status:"exception",percent:61,logo:"https://gw.alipayobjects.com/zos/rmsportal/siCrBXXhmvTQGWPNLBow.png",href:"https://ant.design",updatedAt:1693284581539,createdAt:1693284581539,subDescription:"那时候我只会想自己想要什么,从不想自己拥有什么",description:"在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。",activeUser:177182,newUser:1752,star:118,like:148,message:11,content:"段落示意:蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。",members:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/ZiESqWwCXBRQoaPONSJe.png",name:"曲丽丽",id:"member1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/tBOxZPlITHqwlGjsJWaF.png",name:"王昭君",id:"member2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/sBxjgqiuHMGRkIjqlQCd.png",name:"董娜娜",id:"member3"}]},{id:"fake-list-5",owner:"朱偏右",title:"React",avatar:"https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png",cover:"https://gw.alipayobjects.com/zos/rmsportal/iXjVmWVHbCJAyqvDxdtx.png",status:"normal",percent:89,logo:"https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png",href:"https://ant.design",updatedAt:1693277381539,createdAt:1693277381539,subDescription:"那是一种内在的东西, 他们到达不了,也无法触及的",description:"在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。",activeUser:136674,newUser:1841,star:188,like:151,message:14,content:"段落示意:蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。",members:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/ZiESqWwCXBRQoaPONSJe.png",name:"曲丽丽",id:"member1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/tBOxZPlITHqwlGjsJWaF.png",name:"王昭君",id:"member2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/sBxjgqiuHMGRkIjqlQCd.png",name:"董娜娜",id:"member3"}]},{id:"fake-list-6",owner:"鱼酱",title:"Vue",avatar:"https://gw.alipayobjects.com/zos/rmsportal/ComBAopevLwENQdKWiIn.png",cover:"https://gw.alipayobjects.com/zos/rmsportal/iZBVOIhGJiAnhplqjvZW.png",status:"active",percent:80,logo:"https://gw.alipayobjects.com/zos/rmsportal/ComBAopevLwENQdKWiIn.png",href:"https://ant.design",updatedAt:1693270181539,createdAt:1693270181539,subDescription:"希望是一个好东西,也许是最好的,好东西是不会消亡的",description:"在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。",activeUser:122858,newUser:1594,star:189,like:200,message:15,content:"段落示意:蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。",members:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/ZiESqWwCXBRQoaPONSJe.png",name:"曲丽丽",id:"member1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/tBOxZPlITHqwlGjsJWaF.png",name:"王昭君",id:"member2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/sBxjgqiuHMGRkIjqlQCd.png",name:"董娜娜",id:"member3"}]},{id:"fake-list-7",owner:"乐哥",title:"Webpack",avatar:"https://gw.alipayobjects.com/zos/rmsportal/nxkuOJlFJuAUhzlMTCEe.png",cover:"https://gw.alipayobjects.com/zos/rmsportal/uMfMFlvUuceEyPpotzlq.png",status:"exception",percent:82,logo:"https://gw.alipayobjects.com/zos/rmsportal/nxkuOJlFJuAUhzlMTCEe.png",href:"https://ant.design",updatedAt:1693262981539,createdAt:1693262981539,subDescription:"生命就像一盒巧克力,结果往往出人意料",description:"在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。",activeUser:100882,newUser:1372,star:185,like:195,message:18,content:"段落示意:蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。",members:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/ZiESqWwCXBRQoaPONSJe.png",name:"曲丽丽",id:"member1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/tBOxZPlITHqwlGjsJWaF.png",name:"王昭君",id:"member2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/sBxjgqiuHMGRkIjqlQCd.png",name:"董娜娜",id:"member3"}]}];return(I,s)=>{const i=z,m=y,r=_,l=x,c=q,g=B,d=f,b=k;return A(),C("div",null,[t(w),t(b,{"data-source":n,grid:{gutter:16,xs:1,sm:2,md:4,lg:4,xl:4,xxl:4},class:"mt-4"},{renderItem:a(({item:p})=>[t(d,{style:{padding:"0"}},{default:a(()=>[t(g,{hoverable:""},{actions:a(()=>[t(o(j)),t(o(u)),t(o(v)),t(c,null,{overlay:a(()=>[t(l,null,{default:a(()=>[t(r,null,{default:a(()=>s[1]||(s[1]=[e("a",{href:"javascript:;"},"1st menu item",-1)])),_:1}),t(r,null,{default:a(()=>s[2]||(s[2]=[e("a",{href:"javascript:;"},"2nd menu item",-1)])),_:1}),t(r,null,{default:a(()=>s[3]||(s[3]=[e("a",{href:"javascript:;"},"3rd menu item",-1)])),_:1})]),_:1})]),default:a(()=>[t(o(h))]),_:1})]),default:a(()=>[t(m,{title:p.title},{avatar:a(()=>[t(i,{src:p.avatar,size:22},null,8,["src"])]),description:a(()=>s[0]||(s[0]=[e("div",{class:"flex"},[e("div",{class:"flex flex-col w-50%"},[e("span",null,"活跃用户"),e("span",{class:"text-28px c-text"},[W(" 11 "),e("span",{class:"text-16px"},"万")])]),e("div",{class:"flex flex-col w-50%"},[e("span",null,"新增用户"),e("span",{class:"text-28px c-text"},"1,294")])],-1)])),_:2},1032,["title"])]),_:2},1024)]),_:2},1024)]),_:1})])}}};export{U as default}; diff --git a/web/dist/assets/articles-Bba17joW.js b/web/dist/assets/articles-Bba17joW.js new file mode 100644 index 0000000..317c427 --- /dev/null +++ b/web/dist/assets/articles-Bba17joW.js @@ -0,0 +1 @@ +import{bi as v,bj as y,bk as h,d as _,ag as z,ad as f,c as B,x as k,y as q,ab as x}from"./antd-vtmm7CAy.js";import{_ as A}from"./category-KW2cQk4I.js";import{a2 as l,a3 as C,k as t,aa as o,a9 as O,a4 as a,u as i,G as r,ad as n}from"./vue-Dl1fzmsf.js";const W={class:"flex flex-col gap-2"},I={class:"flex items-center gap-2"},G={"c-primary":""},M={"c-text-tertiary":""},U={__name:"articles",setup(P){const c=[{id:"fake-list-0",owner:"付小小",title:"Alipay",avatar:"https://gw.alipayobjects.com/zos/rmsportal/WdGqmHpayyMjiEhcKoVE.png",cover:"https://gw.alipayobjects.com/zos/rmsportal/uMfMFlvUuceEyPpotzlq.png",status:"active",percent:63,logo:"https://gw.alipayobjects.com/zos/rmsportal/WdGqmHpayyMjiEhcKoVE.png",href:"https://ant.design",updatedAt:1693310380201,createdAt:1693310380201,subDescription:"那是一种内在的东西, 他们到达不了,也无法触及的",description:"在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。",activeUser:134049,newUser:1402,star:160,like:171,message:15,content:"段落示意:蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。",members:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/ZiESqWwCXBRQoaPONSJe.png",name:"曲丽丽",id:"member1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/tBOxZPlITHqwlGjsJWaF.png",name:"王昭君",id:"member2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/sBxjgqiuHMGRkIjqlQCd.png",name:"董娜娜",id:"member3"}]},{id:"fake-list-1",owner:"曲丽丽",title:"Angular",avatar:"https://gw.alipayobjects.com/zos/rmsportal/zOsKZmFRdUtvpqCImOVY.png",cover:"https://gw.alipayobjects.com/zos/rmsportal/iZBVOIhGJiAnhplqjvZW.png",status:"exception",percent:72,logo:"https://gw.alipayobjects.com/zos/rmsportal/zOsKZmFRdUtvpqCImOVY.png",href:"https://ant.design",updatedAt:1693303180201,createdAt:1693303180201,subDescription:"希望是一个好东西,也许是最好的,好东西是不会消亡的",description:"在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。",activeUser:184058,newUser:1528,star:153,like:102,message:18,content:"段落示意:蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。",members:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/ZiESqWwCXBRQoaPONSJe.png",name:"曲丽丽",id:"member1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/tBOxZPlITHqwlGjsJWaF.png",name:"王昭君",id:"member2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/sBxjgqiuHMGRkIjqlQCd.png",name:"董娜娜",id:"member3"}]},{id:"fake-list-2",owner:"林东东",title:"Ant Design",avatar:"https://gw.alipayobjects.com/zos/rmsportal/dURIMkkrRFpPgTuzkwnB.png",cover:"https://gw.alipayobjects.com/zos/rmsportal/iXjVmWVHbCJAyqvDxdtx.png",status:"normal",percent:71,logo:"https://gw.alipayobjects.com/zos/rmsportal/dURIMkkrRFpPgTuzkwnB.png",href:"https://ant.design",updatedAt:1693295980201,createdAt:1693295980201,subDescription:"生命就像一盒巧克力,结果往往出人意料",description:"在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。",activeUser:191811,newUser:1067,star:106,like:172,message:17,content:"段落示意:蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。",members:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/ZiESqWwCXBRQoaPONSJe.png",name:"曲丽丽",id:"member1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/tBOxZPlITHqwlGjsJWaF.png",name:"王昭君",id:"member2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/sBxjgqiuHMGRkIjqlQCd.png",name:"董娜娜",id:"member3"}]},{id:"fake-list-3",owner:"周星星",title:"Ant Design Pro",avatar:"https://gw.alipayobjects.com/zos/rmsportal/sfjbOqnsXXJgNCjCzDBL.png",cover:"https://gw.alipayobjects.com/zos/rmsportal/gLaIAoVWTtLbBWZNYEMg.png",status:"active",percent:86,logo:"https://gw.alipayobjects.com/zos/rmsportal/sfjbOqnsXXJgNCjCzDBL.png",href:"https://ant.design",updatedAt:1693288780201,createdAt:1693288780201,subDescription:"城镇中有那么多的酒馆,她却偏偏走进了我的酒馆",description:"在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。",activeUser:152005,newUser:1424,star:147,like:103,message:20,content:"段落示意:蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。",members:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/ZiESqWwCXBRQoaPONSJe.png",name:"曲丽丽",id:"member1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/tBOxZPlITHqwlGjsJWaF.png",name:"王昭君",id:"member2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/sBxjgqiuHMGRkIjqlQCd.png",name:"董娜娜",id:"member3"}]},{id:"fake-list-4",owner:"吴加好",title:"Bootstrap",avatar:"https://gw.alipayobjects.com/zos/rmsportal/siCrBXXhmvTQGWPNLBow.png",cover:"https://gw.alipayobjects.com/zos/rmsportal/gLaIAoVWTtLbBWZNYEMg.png",status:"exception",percent:54,logo:"https://gw.alipayobjects.com/zos/rmsportal/siCrBXXhmvTQGWPNLBow.png",href:"https://ant.design",updatedAt:1693281580201,createdAt:1693281580201,subDescription:"那时候我只会想自己想要什么,从不想自己拥有什么",description:"在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。",activeUser:141857,newUser:1861,star:135,like:113,message:13,content:"段落示意:蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。",members:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/ZiESqWwCXBRQoaPONSJe.png",name:"曲丽丽",id:"member1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/tBOxZPlITHqwlGjsJWaF.png",name:"王昭君",id:"member2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/sBxjgqiuHMGRkIjqlQCd.png",name:"董娜娜",id:"member3"}]}];function g(m){return _(m).format("YYYY-MM-DD HH:mm:ss")}return(m,s)=>{const d=z,p=f,b=B,u=k,w=q,j=x;return l(),C("div",null,[t(A),t(j,{bordered:!1,class:"mt-4"},{default:o(()=>[t(w,{"data-source":c,"item-layout":"vertical"},{renderItem:o(({item:e})=>[(l(),O(u,{key:e.id},{actions:o(()=>[a("span",null,[t(i(v)),r(" "+n(e.star),1)]),a("span",null,[t(i(y)),r(" "+n(e.like),1)]),a("span",null,[t(i(h)),r(" "+n(e.message),1)])]),default:o(()=>[t(d,{style:{"margin-bottom":"0"}},{title:o(()=>[r(n(e.title),1)]),_:2},1024),a("div",W,[a("div",null,[t(p,null,{default:o(()=>s[0]||(s[0]=[r(" Ant Design Vue ")])),_:1}),t(p,null,{default:o(()=>s[1]||(s[1]=[r(" 设计语言 ")])),_:1}),t(p,null,{default:o(()=>s[2]||(s[2]=[r(" 蚂蚁金服 ")])),_:1})]),a("div",null,n(e.content),1),a("div",I,[t(b,{src:e.avatar,size:22},null,8,["src"]),a("span",G,n(e.owner),1),s[3]||(s[3]=a("span",{"c-text-tertiary":""}," 发布在 ",-1)),s[4]||(s[4]=a("a",{href:"https://antdv-pro.com","c-primary":"",hover:"c-primary-hover"},"https://antdv-pro.com",-1)),a("span",M,n(g(e.updatedAt)),1)])])]),_:2},1024))]),_:1})]),_:1})])}}};export{U as default}; diff --git a/web/dist/assets/basic-list-BAtMnshM.js b/web/dist/assets/basic-list-BAtMnshM.js new file mode 100644 index 0000000..a2f2231 --- /dev/null +++ b/web/dist/assets/basic-list-BAtMnshM.js @@ -0,0 +1 @@ +import{_ as re}from"./index-1DQ9lz7_.js";import{f as _,c as g,o as N,u as r,a2 as m,a3 as M,a4 as s,ag as q,F as j,aj as L,S as ue,ae as R,r as ie,a9 as z,aa as n,k as a,ad as C,H as B,G as S,B as ce}from"./vue-Dl1fzmsf.js";import{bb as T,bc as _e,d as de,a9 as pe,aa as me,ab as fe,az as ve,aA as ge,bd as xe,c as we,ag as ye,be as ke,e as he,M as be,D as Se,x as $e,H as Ce,a0 as Me,a1 as He,bf as De,u as Ye,v as Ve,aq as Ie,V as Oe}from"./antd-vtmm7CAy.js";import{j as qe,_ as ze}from"./index-C-JhWVfG.js";import"./context-Dawj80bg.js";async function Be(x){return qe("/list/basic-list",x,{customDev:!0})}const Te={key:0,class:"list-container"},Ue={__name:"index",props:{dataSource:{type:Array,required:!0},itemHeight:{type:Number,required:!1,default:80}},setup(x){const d=x,f=_(),w=g(()=>`transform: translateY(${f.value}px)`),y=_(),i=g(()=>y.value?y.value.offsetHeight:0),H=g(()=>Math.ceil(i.value/d.itemHeight)+1),v=_(0),D=g(()=>v.value+H.value),t=_(),p=g(()=>{var u,c;if((u=t.value)!=null&&u.length)return d.itemHeight*((c=t.value)==null?void 0:c.length)}),k=g(()=>{var o;const u=Math.max(0,v.value),c=Math.min(D.value,t.value.length);return(o=t.value)==null?void 0:o.slice(u,c)});function h(){if(d.dataSource)t.value=d.dataSource;else{const u=Array.from({length:1e4});u.forEach((c,o)=>{u[o]=o}),t.value=u}}function Y(u){const c=u.target.scrollTop;v.value=Math.floor(c/d.itemHeight),f.value=v.value*d.itemHeight}return N(()=>{h()}),(u,c)=>r(t)?(m(),M("div",Te,[s("div",{ref_key:"scrollerContainerRef",ref:y,class:"scroller-container scrollbar",onScroll:Y},[s("div",{class:"pillar",style:q({height:`${r(p)}px`})},null,4),s("div",{class:"list",style:q(r(w))},[(m(!0),M(j,null,L(r(k),(o,e)=>(m(),M("div",{key:e,class:"item",style:q({height:`${x.itemHeight}px`})},[ue(u.$slots,"renderItem",{item:o},void 0,!0)],4))),128))],4)],544)])):R("",!0)}},Ae=ze(Ue,[["__scopeId","data-v-24f2c992"]]),Ne={class:"flex flex-col items-center justify-center"},je={class:"text-zinc-400"},Le={style:{"font-size":"24px"}},Re={class:"ml-5"},Ee={href:"https://www.antdv.com/"},Fe={class:"flex text-gray-400"},Ge={class:"px-10"},Pe={class:"w-45 flex items-center"},Je={class:"a-extra"},Qe=["onClick"],Ke=["onClick"],nt={__name:"basic-list",setup(x){const d=_([{title:"我的待办",content:"8个任务"},{title:"本周任务平均处理时间",content:"32分钟"},{title:"本周完成任务数",content:"24个任务"}]),f=_("a"),w=_();function y(o){console.log("use value",o)}const i=_([]),H=_({pageSize:5,pageSizeOptions:["10","20","30","40","50"],showQuickJumper:!0,total:0});async function v(){var e;const o=await Be();i.value=o.data??[],H.value.total=((e=o.data)==null?void 0:e.length)??0,console.log(i.value)}function D(o){T.confirm({title:"删除任务",icon:a(_e),content:a("div",{},"确定要删除该任务吗?"),cancelText:"取消",okText:"确认",onOk(){i.value.splice(o,1)},class:"test"})}const t=ie({title:"",start:"",owner:"清风不问烟雨",description:"",index:0}),p=_(!1),k=_(!1);function h(o,e){e?(k.value=!0,p.value=!0):(k.value=!1,p.value=!0,t.title=o.title,t.description=o.content,t.start=de(o.start),t.index=i.value.indexOf(o))}function Y(){let o=2;const e=T.success({title:"操作成功",content:`本窗口将在${o}后自动关闭`}),b=setInterval(()=>{o-=1,e.update({content:`本窗口将在${o}后自动关闭`})},1e3);setTimeout(()=>{clearInterval(b),e.destroy()},o*1e3)}function u(){for(const e in t)if(e!=="index"&&!t[e])return;const o=t.index;if(k.value){const e={title:t.title,content:t.description,start:t.start.format("YYYY-MM-DD HH:mm")};i.value.splice(0,0,e)}else for(const e in t)e==="start"?i.value[o][e]=t.start.format("YYYY-MM-DD HH:mm"):i.value[o][e]=t[e];p.value=!1,c(),Y()}function c(){console.log("cancel"),t.description="",t.owner="清风不问烟雨",t.start="",t.title=""}return N(()=>{v()}),(o,e)=>{const b=pe,U=me,V=fe,I=ve,E=ge,F=xe,G=we,P=ye,J=ke,A=he,Q=be,K=Se,W=$e,X=Ce,Z=Me,$=He,ee=De,te=Ye,ne=Ve,ae=Ie,oe=Oe,le=T,se=re;return m(),z(se,null,{default:n(()=>[a(V,null,{default:n(()=>[a(U,{gutter:16},{default:n(()=>[(m(!0),M(j,null,L(r(d),(l,O)=>(m(),z(b,{key:O,xs:24,sm:8},{default:n(()=>[s("div",Ne,[s("div",je,C(l.title),1),s("div",Le,C(l.content),1)])]),_:2},1024))),128))]),_:1})]),_:1}),a(V,{class:"mt-5"},{title:n(()=>[a(V,{bordered:!1},{default:n(()=>[a(U,{style:{"font-weight":"normal"}},{default:n(()=>[a(b,{span:14},{default:n(()=>e[9]||(e[9]=[s("span",null,"基本列表",-1)])),_:1}),a(b,{span:10,class:"flex"},{default:n(()=>[s("div",null,[a(E,{value:r(f),"onUpdate:value":e[0]||(e[0]=l=>B(f)?f.value=l:null)},{default:n(()=>[a(I,{value:"a"},{default:n(()=>e[10]||(e[10]=[S(" 全部 ")])),_:1}),a(I,{value:"b"},{default:n(()=>e[11]||(e[11]=[S(" 进行中 ")])),_:1}),a(I,{value:"c"},{default:n(()=>e[12]||(e[12]=[S(" 等待中 ")])),_:1})]),_:1},8,["value"])]),s("div",Re,[a(F,{value:r(w),"onUpdate:value":e[1]||(e[1]=l=>B(w)?w.value=l:null),placeholder:"请输入",style:{width:"270px"},onSearch:y},null,8,["value"])])]),_:1})]),_:1})]),_:1})]),default:n(()=>[r(i).length!==0?(m(),z(Ae,{key:0,"data-source":r(i)},{renderItem:n(({item:l})=>[a(W,null,{actions:n(()=>[s("div",Fe,[e[14]||(e[14]=s("div",{class:"flex flex-col items-center"},[s("div",null,"Owner"),s("div",null,"清风不问烟雨")],-1)),s("div",Ge,[e[13]||(e[13]=s("div",null,"开始时间",-1)),s("div",null,C(l.start),1)]),s("div",Pe,[a(J,{percent:l.percent,status:l.status},null,8,["percent","status"])])])]),extra:n(()=>[s("div",Je,[s("a",{key:"list-loadmore-edit",class:"m-4",onClick:O=>h(l)}," 编辑 ",8,Qe),a(K,null,{overlay:n(()=>[a(Q,null,{default:n(()=>[a(A,null,{default:n(()=>[s("a",{onClick:h},"编辑")]),_:1}),a(A,null,{default:n(()=>[s("a",{onClick:O=>D(l.index)},"删除",8,Ke)]),_:2},1024)]),_:2},1024)]),default:n(()=>[s("a",{class:"ant-dropdown-link",onClick:e[2]||(e[2]=ce(()=>{},["prevent"]))}," 更多 ")]),_:2},1024)])]),default:n(()=>[a(P,{description:l.content},{title:n(()=>[s("a",Ee,C(l.title),1)]),avatar:n(()=>[a(G,{src:l.link},null,8,["src"])]),_:2},1032,["description"])]),_:2},1024)]),_:1},8,["data-source"])):R("",!0)]),_:1}),a(X,{type:"dashed",onClick:e[3]||(e[3]=l=>h(null,!0))},{default:n(()=>e[15]||(e[15]=[S(" + 添加 ")])),_:1}),a(le,{open:r(p),"onUpdate:open":e[8]||(e[8]=l=>B(p)?p.value=l:null),title:"任务编辑",onOk:u,onCancel:c},{default:n(()=>[a(oe,{model:r(t),name:"basic","label-col":{span:24},"wrapper-col":{span:24},autocomplete:"off"},{default:n(()=>[a($,{label:"任务名称",name:"title",rules:[{required:!0,message:"请输入任务名称"}]},{default:n(()=>[a(Z,{value:r(t).title,"onUpdate:value":e[4]||(e[4]=l=>r(t).title=l)},null,8,["value"])]),_:1}),a($,{label:"开始时间",name:"start",rules:[{required:!0,message:"请选择开始时间"}]},{default:n(()=>[a(ee,{value:r(t).start,"onUpdate:value":e[5]||(e[5]=l=>r(t).start=l),class:"w-1/1","show-time":""},null,8,["value"])]),_:1}),a($,{label:"任务负责人",name:"owner",rules:[{required:!0,message:"请输入任务负责人"}]},{default:n(()=>[a(ne,{value:r(t).owner,"onUpdate:value":e[6]||(e[6]=l=>r(t).owner=l),placeholder:"please select your zone"},{default:n(()=>[a(te,{value:"owner"},{default:n(()=>e[16]||(e[16]=[S(" 清风不问烟雨 ")])),_:1})]),_:1},8,["value"])]),_:1}),a($,{label:"产品描述",name:"description",rules:[{required:!0,message:"请输入产品描述"}]},{default:n(()=>[a(ae,{value:r(t).description,"onUpdate:value":e[7]||(e[7]=l=>r(t).description=l),placeholder:"Basic usage",rows:3},null,8,["value"])]),_:1})]),_:1},8,["model"])]),_:1},8,["open"])]),_:1})}}};export{nt as default}; diff --git a/web/dist/assets/basic-list-DzCGC2KJ.css b/web/dist/assets/basic-list-DzCGC2KJ.css new file mode 100644 index 0000000..08bbc2c --- /dev/null +++ b/web/dist/assets/basic-list-DzCGC2KJ.css @@ -0,0 +1 @@ +.scrollbar[data-v-24f2c992]::-webkit-scrollbar{width:5px;height:10px}.scrollbar[data-v-24f2c992]::-webkit-scrollbar-thumb{border-radius:5px;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#bebebe33}.scrollbar[data-v-24f2c992]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 5px rgba(227,227,227,.2);border-radius:0;background:#0000001a}.list-container[data-v-24f2c992]{height:350px;width:100%;background-color:var(--bg-color)}.list-container .scroller-container[data-v-24f2c992]{position:relative;width:100%;height:100%;overflow:auto;--webkit-overflow-scrolling: touch}.list-container .scroller-container .pillar[data-v-24f2c992]{position:absolute;left:0;top:0;right:0;z-index:-1}.list-container .scroller-container .list[data-v-24f2c992]{position:absolute;top:0;left:0;right:0}.list-container .scroller-container .list .item[data-v-24f2c992]{box-sizing:border-box;display:flex;align-items:center;width:100%;height:50px;padding:0 20px;border-bottom:1px solid var(--bg-color-container)}.list-container .scroller-container .list .item[data-v-24f2c992] .ant-list-item{display:flex;justify-content:space-between;align-items:center;width:100%}.list-container .scroller-container .list .item[data-v-24f2c992] .ant-list-item .ant-list-item-action{margin-top:18px}.list-container .scroller-container .list .item[data-v-24f2c992] .ant-list-item>div:nth-child(1){flex:1}.list-container .scroller-container .list .item[data-v-24f2c992] .ant-list-item-meta{display:flex}.list-container .scroller-container .list .item[data-v-24f2c992] .ant-list-item-meta .ant-list-item-meta-avatar{margin-right:15px}.a-extra{display:flex;align-items:center;justify-content:end} diff --git a/web/dist/assets/card-list-DxdnVGe9.js b/web/dist/assets/card-list-DxdnVGe9.js new file mode 100644 index 0000000..85ea4ba --- /dev/null +++ b/web/dist/assets/card-list-DxdnVGe9.js @@ -0,0 +1 @@ +import{_ as g}from"./index-1DQ9lz7_.js";import{_ as f}from"./index-C-JhWVfG.js";import{H as h,a9 as v,ab as w,aa as k}from"./antd-vtmm7CAy.js";import{f as x,a2 as e,a9 as i,aa as s,a4 as t,k as a,G as y,a3 as b,F as z,aj as j,u as V,ad as r}from"./vue-Dl1fzmsf.js";import"./context-Dawj80bg.js";const E={class:"mt-2"},A={class:"flex h-27"},B={class:"w-10 h-10 bg-gray-300 rounded-full"},C=["src"],F={class:"ml"},K={style:{"font-size":"18px","font-weight":"500"}},I="在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。",L={__name:"card-list",setup(N){const c=x([{title:"Aipay",link:"https://gw.alipayobjects.com/zos/rmsportal/WdGqmHpayyMjiEhcKoVE.png"},{title:"Ant Design Vue",link:"https://www.antdv.com/assets/logo.1ef800a8.svg"},{title:"Vue",link:"https://gw.alipayobjects.com/zos/rmsportal/ComBAopevLwENQdKWiIn.png"},{title:"Vite",link:"https://cn.vitejs.dev/logo.svg"},{title:"React",link:"https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png"},{title:"Antdv Pro",link:"/logo.svg"},{title:"Webpack",link:"https://gw.alipayobjects.com/zos/rmsportal/nxkuOJlFJuAUhzlMTCEe.png"},{title:"Angular",link:"https://gw.alipayobjects.com/zos/rmsportal/zOsKZmFRdUtvpqCImOVY.png"}]);return(O,o)=>{const p=h,n=v,_=w,d=k,m=g;return e(),i(m,null,{default:s(()=>[t("div",E,[a(d,{gutter:16},{default:s(()=>[a(n,{xs:16,sm:8,md:6,lg:6,xl:6,class:"mb-4"},{default:s(()=>[a(p,{class:"w-1/1 h-204px",type:"dashed"},{default:s(()=>o[0]||(o[0]=[y(" +新增产品 ")])),_:1})]),_:1}),(e(!0),b(z,null,j(V(c),(l,u)=>(e(),i(n,{key:u,xs:16,sm:8,md:6,lg:6,xl:6,class:"mb-4"},{default:s(()=>[a(_,{bordered:!1,style:{borderRadius:"0"},class:"cursor-pointer hover:shadow-[0_4px_20px_-5px_rgba(0,0,0,0.35)] transition duration-300"},{default:s(()=>[t("div",A,[t("div",B,[t("img",{class:"w-10 h-10 rounded-full",src:l.link},null,8,C)]),t("div",F,[t("div",K,r(l.title),1),t("div",{class:"h-17 overflow-hidden overflow"},r(I))])])]),actions:s(()=>o[1]||(o[1]=[t("li",null,"操作一",-1),t("li",null,"操作二",-1)])),_:2},1024)]),_:2},1024))),128))]),_:1})])]),_:1})}}},G=f(L,[["__scopeId","data-v-9ea2ae90"]]);export{G as default}; diff --git a/web/dist/assets/card-list-Dz8fRcmy.css b/web/dist/assets/card-list-Dz8fRcmy.css new file mode 100644 index 0000000..e8c8c70 --- /dev/null +++ b/web/dist/assets/card-list-Dz8fRcmy.css @@ -0,0 +1 @@ +.overflow[data-v-9ea2ae90]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden} diff --git a/web/dist/assets/category-Coa7I0Sg.css b/web/dist/assets/category-Coa7I0Sg.css new file mode 100644 index 0000000..042149c --- /dev/null +++ b/web/dist/assets/category-Coa7I0Sg.css @@ -0,0 +1 @@ +.category-other-item .ant-form-item{margin-bottom:0} diff --git a/web/dist/assets/category-KW2cQk4I.js b/web/dist/assets/category-KW2cQk4I.js new file mode 100644 index 0000000..6c5cc9e --- /dev/null +++ b/web/dist/assets/category-KW2cQk4I.js @@ -0,0 +1 @@ +import{ad as x,a1 as w,F as C,v as B,bh as F,V as L,ab as V}from"./antd-vtmm7CAy.js";import{s as _,f as N,a2 as r,a9 as p,aa as t,k as a,a4 as d,a3 as $,F as S,aj as T,u as c,G as j,ad as D}from"./vue-Dl1fzmsf.js";const E={class:"flex flex-wrap gap-2"},G={class:"flex gap-4 category-other-item"},I={__name:"category",setup(R){const u=_([{name:"全部",key:"all"},...["一","二","三","四","五","六","七","八","九","十","十一","十二"].map((n,l)=>({name:`类目${n}`,key:`category${l+1}`}))]),e=N([]);function f(n){if(n.key==="all"){if(e.value.includes("all")){e.value=[];return}else e.value=u.value.map(l=>l.key);return}e.value.includes(n.key)?(e.value=e.value.filter(l=>l!==n.key),e.value.includes("all")&&(e.value=e.value.filter(l=>l!=="all"))):(e.value=[...e.value,n.key],e.value.length===u.value.length-1&&(e.value=[...e.value,"all"]))}const m=_([{label:"付晓晓",value:"付晓晓"},{label:"周毛毛",value:"周毛毛"}]),v=_([{label:"优秀",value:1},{label:"普通",value:2}]);return(n,l)=>{const k=x,o=w,h=C,i=B,y=F,g=L,b=V;return r(),p(b,{bordered:!1},{default:t(()=>[a(g,null,{default:t(()=>[a(o,{label:"所属类目"},{default:t(()=>[d("div",E,[(r(!0),$(S,null,T(c(u),s=>(r(),p(k,{key:s.key,"cursor-pointer":"",color:c(e).includes(s.key)?"#108ee9":"",onClick:z=>f(s)},{default:t(()=>[j(D(s.name),1)]),_:2},1032,["color","onClick"]))),128))])]),_:1}),a(h,{dashed:""}),a(o,{label:"其他选项"},{default:t(()=>[a(y,null,{default:t(()=>[d("div",G,[a(o,{label:"作者"},{default:t(()=>[a(i,{placeholder:"不限",style:{width:"100px"},options:c(m)},null,8,["options"])]),_:1}),a(o,{label:"好评度"},{default:t(()=>[a(i,{placeholder:"不限",style:{width:"100px"},options:c(v)},null,8,["options"])]),_:1})])]),_:1})]),_:1})]),_:1})]),_:1})}}};export{I as _}; diff --git a/web/dist/assets/center-Bu5yfVri.css b/web/dist/assets/center-Bu5yfVri.css new file mode 100644 index 0000000..a7d3958 --- /dev/null +++ b/web/dist/assets/center-Bu5yfVri.css @@ -0,0 +1 @@ +[data-v-3eca9ca5] .ant-list-item{flex-direction:column!important;align-items:normal!important}[data-v-3eca9ca5] .ant-btn{padding-left:0} diff --git a/web/dist/assets/center-CXB0VWrh.js b/web/dist/assets/center-CXB0VWrh.js new file mode 100644 index 0000000..5e21d20 --- /dev/null +++ b/web/dist/assets/center-CXB0VWrh.js @@ -0,0 +1 @@ +import{ao as h,a2 as l,a9 as v,aa as e,k as n,a4 as t,ad as p,a3 as g,F as b,aj as w,G as $,u as o,f as j,c as N,r as L,ap as U,y as Z}from"./vue-Dl1fzmsf.js";import{_ as q}from"./logo-Ft4BtHHg.js";import{ad as I,ag as F,c as C,H as G,x as H,y as R,ah as W,ai as J,aj as M,ak as Q,al as K,ab as z,a9 as O,aa as B,K as X,T as Y,am as tt,an as nt,ao as et,a7 as st,t as at,a0 as ot}from"./antd-vtmm7CAy.js";import{_ as lt}from"./index-C-JhWVfG.js";const ct={href:"https://www.antdv.com/"},_t={class:"my-3"},ut={class:"flex items-center"},rt={class:"flex items-center"},it={class:"mx-1"},pt={__name:"article-tab",props:{dataSource:{type:Array,required:!0}},setup(x){const{t:_}=h();return(y,s)=>{const f=I,d=F,c=C,m=G,u=H,a=R;return l(),v(a,{"item-layout":"horizontal","data-source":x.dataSource},{renderItem:e(({item:r})=>[n(u,null,{default:e(()=>[n(d,null,{title:e(()=>[t("a",ct,p(r.title),1),t("div",_t,[(l(!0),g(b,null,w(r.tags,(k,A)=>(l(),v(f,{key:A},{default:e(()=>[$(p(k),1)]),_:2},1024))),128))])]),_:2},1024),t("div",null,[t("div",null,p(r.content),1),t("div",ut,[t("span",rt,[n(c,{size:20,class:"mr-2"},{icon:e(()=>s[0]||(s[0]=[t("img",{src:q,alt:""},null,-1)])),_:1}),s[1]||(s[1]=t("span",{style:{color:"rgb(22, 119, 255)"}}," 张三 ",-1))]),t("span",it,p(o(_)("account.center.posted")),1),t("span",null,[n(m,{type:"link",href:"https://www.antdv-pro.com/"},{default:e(()=>s[2]||(s[2]=[$(" https://www.antdv-pro.com/ ")])),_:1})])])])]),_:2},1024)]),_:1},8,["data-source"])}}},dt={class:"flex"},mt={class:"ml-20"},ft={__name:"application-tab",setup(x){const{t:_}=h();return(y,s)=>{const f=C,d=K,c=z,m=O,u=B;return l(),v(u,null,{default:e(()=>[(l(),g(b,null,w(10,(a,r)=>n(m,{key:r,span:12,class:"mb-6"},{default:e(()=>[n(c,{hoverable:"",style:{width:"400px"}},{actions:e(()=>[t("div",null,[n(o(W))]),t("div",null,[n(o(J))]),t("div",null,[n(o(M))]),t("div",null,[n(o(Q))])]),default:e(()=>[n(d,{title:"Antdv Pro"},{avatar:e(()=>[n(f,{src:"/logo.svg"})]),description:e(()=>[t("div",dt,[t("div",null,[t("p",null,p(o(_)("account.center.activity-user")),1),s[0]||(s[0]=t("p",{class:"text-20px font-bold text-black"}," 20k ",-1))]),t("div",mt,[t("p",null,p(o(_)("account.center.new-user")),1),s[1]||(s[1]=t("p",{class:"text-20px font-bold text-black"}," 2,000 ",-1))])])]),_:1})]),_:1})]),_:2},1024)),64))]),_:1})}}},vt={class:"text-12px mt-2"},yt={__name:"pro-tab",setup(x){const{t:_}=h();return(y,s)=>{const f=K,d=z,c=O,m=B;return l(),v(m,null,{default:e(()=>[(l(),g(b,null,w(10,(u,a)=>n(c,{key:a,span:12,class:"mb-6"},{default:e(()=>[n(d,{hoverable:"",style:{width:"400px"}},{cover:e(()=>s[0]||(s[0]=[t("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/iZBVOIhGJiAnhplqjvZW.png",alt:""},null,-1)])),default:e(()=>[n(f,{title:"Antdv Pro"},{description:e(()=>[s[1]||(s[1]=t("div",{class:"flex"}," 好好学习, 天天向上 ",-1)),t("div",vt,p(o(_)("account.center.updated")),1)]),_:1})]),_:1})]),_:2},1024)),64))]),_:1})}}},gt={__name:"right-content",setup(x){const{t:_}=h(),y=j(),s=j([{title:"Antdv Pro",tags:["Ant Design Vue","中后台","自动化"],content:"AntdvPro是一个基于Vue3、Vite4、ant-design-vue4、Pinia、UnoCSS和Typescript的一整套企业级中后台前端/设计解决方案,它参考了阿里react版本antd-pro的设计模式,使用了最新最流行的前端技术栈,内置了动态路由、多主题、多布局等功能,可以帮助你快速搭建企业级中后台产品原型。"}]),f=N(()=>{const d=[];for(let c=0;c<10;c++)d.push(...s.value);return d});return(d,c)=>{const m=X,u=Y,a=z;return l(),v(a,{borderer:!1},{default:e(()=>[n(u,{"active-key":y.value,"onUpdate:activeKey":c[0]||(c[0]=r=>y.value=r)},{default:e(()=>[n(m,{key:"1",tab:o(_)("account.center.article")},{default:e(()=>[n(pt,{"data-source":o(f)},null,8,["data-source"])]),_:1},8,["tab"]),n(m,{key:"2",tab:o(_)("account.center.application"),"force-render":""},{default:e(()=>[n(ft)]),_:1},8,["tab"]),n(m,{key:"3",tab:o(_)("account.center.project")},{default:e(()=>[n(yt)]),_:1},8,["tab"])]),_:1},8,["active-key"])]),_:1})}}},bt=lt(gt,[["__scopeId","data-v-3eca9ca5"]]),xt={class:"gutter-example"},kt={class:"flex justify-center"},wt={class:"p-8"},ht={class:"mr-2"},Vt={class:"mr-2"},$t={class:"mr-2"},jt={class:"mt-10"},zt={class:"flex flex-wrap justify-between"},At=["src"],It={__name:"center",setup(x){const{t:_}=h(),y=j(),s=L({tags:["专注","坚持","很有想法","执行力强","乐观"],inputVisible:!1,inputValue:""});function f(u){const a=s.tags.filter(r=>r!==u);s.tags=a}function d(){s.inputVisible=!0,Z(()=>{y.value.focus()})}function c(){const u=s.inputValue;let a=s.tags;u&&!a.includes(u)&&(a=[...a,u]),Object.assign(s,{tags:a,inputVisible:!1,inputValue:""})}const m=j([{name:"Antdv Pro",link:"/logo.svg"},{name:"学习小组",link:"https://gw.alipayobjects.com/zos/rmsportal/WdGqmHpayyMjiEhcKoVE.png"},{name:"工作小组",link:"https://gw.alipayobjects.com/zos/rmsportal/ComBAopevLwENQdKWiIn.png"},{name:"设计团队",link:"https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png"}]);return(u,a)=>{const r=C,k=I,A=at,P=ot,S=z,E=O,T=B;return l(),g("div",xt,[n(T,{gutter:24},{default:e(()=>[n(E,{span:7},{default:e(()=>[n(S,null,{default:e(()=>[t("div",kt,[n(r,{size:86},{icon:e(()=>a[1]||(a[1]=[t("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png",alt:""},null,-1)])),_:1})]),a[5]||(a[5]=t("div",{class:"flex flex-col items-center justify-center mt-5"},[t("span",{class:"font-bold text-16px"},"超级管理员"),t("span",null,"好好学习, 天天向上")],-1)),t("div",wt,[t("p",null,[t("span",ht,[n(o(tt))]),a[2]||(a[2]=t("span",null," 程序员 ",-1))]),t("p",null,[t("span",Vt,[n(o(nt))]),a[3]||(a[3]=t("span",null," 蚂蚁金服-某某某事业群-某某平台部-某某技术部-UED ",-1))]),t("p",null,[t("span",$t,[n(o(et))]),a[4]||(a[4]=t("span",null," 广东省广州市 ",-1))])]),t("div",null,[t("p",null,p(o(_)("account.center.tags")),1),(l(!0),g(b,null,w(s.tags,(i,V)=>(l(),g(b,{key:i},[i.length>20?(l(),v(A,{key:0,title:i},{default:e(()=>[n(k,{closable:V!==0,onClose:D=>f(i)},{default:e(()=>[$(p(`${i.slice(0,20)}...`),1)]),_:2},1032,["closable","onClose"])]),_:2},1032,["title"])):(l(),v(k,{key:1,closable:V!==0,onClose:D=>f(i)},{default:e(()=>[$(p(i),1)]),_:2},1032,["closable","onClose"]))],64))),128)),s.inputVisible?(l(),v(P,{key:0,ref_key:"inputRef",ref:y,value:s.inputValue,"onUpdate:value":a[0]||(a[0]=i=>s.inputValue=i),type:"text",size:"small",style:{width:"78px"},onBlur:c,onKeyup:U(c,["enter"])},null,8,["value"])):(l(),v(k,{key:1,style:{background:"#fff","border-style":"dashed"},onClick:d},{default:e(()=>[n(o(st))]),_:1}))]),t("div",jt,[t("p",null,p(o(_)("account.cneter.team")),1),t("div",zt,[(l(!0),g(b,null,w(m.value,(i,V)=>(l(),g("span",{key:V,class:"flex items-center w-120px mb-5"},[n(r,{size:26,class:"mr-2"},{icon:e(()=>[t("img",{src:i.link,alt:""},null,8,At)]),_:2},1024),t("span",null,p(i.name),1)]))),128))])])]),_:1})]),_:1}),n(E,{span:17},{default:e(()=>[n(bt)]),_:1})]),_:1})])}}};export{It as default}; diff --git a/web/dist/assets/common-ChpZVeoj.js b/web/dist/assets/common-ChpZVeoj.js new file mode 100644 index 0000000..677e36a --- /dev/null +++ b/web/dist/assets/common-ChpZVeoj.js @@ -0,0 +1 @@ +import{w as S,x as o}from"./index-C-JhWVfG.js";import{u as s,S as g,ae as _,n as k,a2 as c,a3 as v,a4 as N,G as n,ad as I,k as a,aa as t,a9 as u,m as D}from"./vue-Dl1fzmsf.js";import{G as M,H as B,S as E}from"./antd-vtmm7CAy.js";const V={__name:"index",props:{access:{type:[String,Number,Array],required:!0}},setup(d){const{hasAccess:l}=S();return(m,x)=>s(l)(d.access)?g(m.$slots,"default",{key:0}):_("",!0)}},w={class:"flex flex-col gap-2"},R={class:"c-primary"},G={__name:"common",setup(d){const{hasAccess:l,roles:m}=S();return(x,e)=>{var y;const p=M,r=B,f=V,i=E,A=k("access");return c(),v("div",w,[N("div",null,[e[0]||(e[0]=n(" 当前用户拥有权限列表 ")),N("a",R,I((y=s(m))==null?void 0:y.join(",")),1)]),e[7]||(e[7]=n(" 所有用户均可查看 细粒度控制到按钮级别 ")),a(p,{message:"使用Access组件"}),a(i,null,{default:t(()=>[a(f,{access:[s(o).USER,s(o).ADMIN]},{default:t(()=>[a(r,null,{default:t(()=>e[1]||(e[1]=[n("普通用户")])),_:1})]),_:1},8,["access"]),a(f,{access:s(o).ADMIN},{default:t(()=>[a(r,{type:"primary"},{default:t(()=>e[2]||(e[2]=[n(" 管理员 ")])),_:1})]),_:1},8,["access"])]),_:1}),a(p,{message:"使用useAccess组合式Api"}),a(i,null,{default:t(()=>[s(l)([s(o).USER,s(o).ADMIN])?(c(),u(r,{key:0},{default:t(()=>e[3]||(e[3]=[n(" 普通用户 ")])),_:1})):_("",!0),s(l)(s(o).ADMIN)?(c(),u(r,{key:1,type:"primary"},{default:t(()=>e[4]||(e[4]=[n(" 管理员 ")])),_:1})):_("",!0)]),_:1}),a(p,{message:"使用v-access指令"}),a(i,null,{default:t(()=>[D((c(),u(r,null,{default:t(()=>e[5]||(e[5]=[n(" 普通用户 ")])),_:1})),[[A,[s(o).USER,s(o).ADMIN]]]),D((c(),u(r,{type:"primary"},{default:t(()=>e[6]||(e[6]=[n(" 管理员 ")])),_:1})),[[A,s(o).ADMIN]])]),_:1})])}}};export{G as default}; diff --git a/web/dist/assets/component-error-DF1aWLkb.js b/web/dist/assets/component-error-DF1aWLkb.js new file mode 100644 index 0000000..fa58334 --- /dev/null +++ b/web/dist/assets/component-error-DF1aWLkb.js @@ -0,0 +1 @@ +import{_ as o}from"./index-C-JhWVfG.js";import{a6 as r}from"./antd-vtmm7CAy.js";import{a2 as e,a9 as s}from"./vue-Dl1fzmsf.js";const c={};function a(n,_){const t=r;return e(),s(t,{status:"404",title:"页面配置错误","sub-title":"动态配置页面不存在,请检查配置项"})}const i=o(c,[["render",a]]);export{i as default}; diff --git a/web/dist/assets/context-Dawj80bg.js b/web/dist/assets/context-Dawj80bg.js new file mode 100644 index 0000000..cefb423 --- /dev/null +++ b/web/dist/assets/context-Dawj80bg.js @@ -0,0 +1 @@ +import"./index-C-JhWVfG.js";import{aw as J,s as b,c as t,r as x,w as m}from"./vue-Dl1fzmsf.js";function Z(e){return{type:String,default:e}}function _(e){return{type:Number,default:e}}function $(e){return{type:Boolean,default:e}}function p(e){return{type:Array,default:e}}function ee(){return{type:[Function,Array]}}function K(e,...u){if(typeof e=="function")return e(...u);if(Array.isArray(e))return e.map(f=>f(...u))}function Q(e,u={}){const f=b(!1),H=t(()=>e.logo),W=t(()=>e.title),v=t(()=>e.layout),w=t(()=>e.collapsedWidth),C=t(()=>e.siderWidth),o=t(()=>e.menuData),i=t(()=>e.splitMenus),T=t(()=>e.fixedHeader),A=t(()=>e.fixedSider),D=t(()=>e.collapsed),L=t(()=>e.theme),j=t(()=>e.headerHeight),k=t(()=>e.contentWidth),E=t(()=>e.copyright),S=t(()=>e.isMobile),y=b(!1),F=()=>{y.value=!y.value},P=t(()=>e.header),U=t(()=>e.menu),B=t(()=>e.footer),I=t(()=>e.menuHeader),N=t(()=>e.leftCollapsed),d=x(new Map),l=x({selectedKeys:[]});m(o,()=>{var n;d.clear(),(n=o.value)==null||n.forEach(a=>{d.set(a.path,a)})},{immediate:!0});const O=t(()=>{var a,s;if(S.value||v.value!=="mix"||!i.value)return o.value;const n=(a=l.selectedKeys)==null?void 0:a[0];return n?((s=d.get(n))==null?void 0:s.children)??[]:[]}),R=n=>{l.selectedKeys=n},g=t(()=>e.openKeys),r=t(()=>e.selectedKeys),q=n=>{K(e["onUpdate:openKeys"],n)},z=n=>{K(e["onUpdate:selectedKeys"],n)},G=n=>{K(e.onMenuSelect,n)},h=(n,a,s)=>{for(const c of a??[]){if(c.path===n)return s??c;if(c.children&&c.children.length){const M=h(n,c.children,s??c);if(M)return M}}};return m(r,()=>{var n;if(i.value){const a=(n=r.value)==null?void 0:n[0];if(a){const s=h(a,o.value??[]);s&&(l.selectedKeys=[s.path])}}},{immediate:!0}),m(i,()=>{var n,a;if(!i.value)l.selectedKeys=[];else{const s=((n=r.value)==null?void 0:n[0])??((a=g.value)==null?void 0:a[0])??"",c=h(s,o.value??[]);c?l.selectedKeys=[c==null?void 0:c.path]:l.selectedKeys=[]}}),{logo:H,title:W,layout:v,collapsed:D,leftCollapsed:N,collapsedWidth:w,menuData:o,siderWidth:C,fixedHeader:T,fixedSider:A,headerHeight:j,theme:L,isMobile:S,mobileCollapsed:y,contentWidth:k,copyright:E,hasPageContainer:f,splitMenus:i,splitState:l,menuDataMap:d,selectedMenus:O,handleMobileCollapsed:F,header:P,menu:U,footer:B,openKeys:g,handleOpenKeys:q,selectedKeys:r,handleSelectedKeys:z,handleMenuSelect:G,handleSplitSelectedKeys:R,menuHeader:I,...u}}const[te,V]=J(Q),ne=()=>V();export{p as a,$ as b,te as c,ee as e,_ as n,Z as s,ne as u}; diff --git a/web/dist/assets/crud-table-CxRX0PTN.css b/web/dist/assets/crud-table-CxRX0PTN.css new file mode 100644 index 0000000..e07c3cd --- /dev/null +++ b/web/dist/assets/crud-table-CxRX0PTN.css @@ -0,0 +1 @@ +.system-crud-wrapper .ant-form-item[data-v-00d2ba9b]{margin:0} diff --git a/web/dist/assets/crud-table-ykWPyRjs.js b/web/dist/assets/crud-table-ykWPyRjs.js new file mode 100644 index 0000000..88d7656 --- /dev/null +++ b/web/dist/assets/crud-table-ykWPyRjs.js @@ -0,0 +1 @@ +import{_ as F}from"./index-1DQ9lz7_.js";import{aQ as O,a0 as U,a1 as $,aq as V,V as z,bb as B,bg as R,a7 as E,a9 as N,H as j,S as H,aa as K,ab as G,b6 as J,ae as L}from"./antd-vtmm7CAy.js";import{f as x,c as W,a2 as h,a9 as M,aa as n,k as e,u as t,H as X,r as Y,o as Z,s as ee,G as b,a3 as ae,ae as ne}from"./vue-Dl1fzmsf.js";import{j as te,F as oe,_ as le,u as re}from"./index-C-JhWVfG.js";import"./context-Dawj80bg.js";const ue={__name:"crud-table-modal",emits:["cancel","ok"],setup(f,{expose:a,emit:p}){const r=p,v=x(!1),l=x(!1),c=W(()=>v.value?"编辑":"新增"),y=x(),m=x({name:"",value:""}),C={style:{width:"100px"}},S={span:24};function d(u){l.value=!0,v.value=!!(u!=null&&u.id),m.value=O(u)??{name:"",value:""}}async function o(){var u;try{await((u=y.value)==null?void 0:u.validate()),r("ok"),l.value=!1}catch(s){console.log("Form Validate Failed:",s)}}function k(){var u;(u=y.value)==null||u.resetFields(),r("cancel")}return a({open:d}),(u,s)=>{const g=U,w=$,P=V,Q=z,q=B;return h(),M(q,{open:t(l),"onUpdate:open":s[3]||(s[3]=_=>X(l)?l.value=_:null),title:t(c),onOk:o,onCancel:k},{default:n(()=>[e(Q,{ref_key:"formRef",ref:y,model:t(m),class:"w-full","label-col":C,"wrapper-col":S},{default:n(()=>[e(w,{name:"name",label:"名",rules:[{required:!0,message:"请输入名"}]},{default:n(()=>[e(g,{value:t(m).name,"onUpdate:value":s[0]||(s[0]=_=>t(m).name=_),maxlength:50,placeholder:"请输入名"},null,8,["value"])]),_:1}),e(w,{name:"value",label:"值",rules:[{required:!0,message:"请输入值"}]},{default:n(()=>[e(g,{value:t(m).value,"onUpdate:value":s[1]||(s[1]=_=>t(m).value=_),maxlength:50,placeholder:"请输入值"},null,8,["value"])]),_:1}),e(w,{name:"remark",label:"备注"},{default:n(()=>[e(P,{value:t(m).remark,"onUpdate:value":s[2]||(s[2]=_=>t(m).remark=_),"show-count":"",maxlength:200,placeholder:"请输入备注"},null,8,["value"])]),_:1})]),_:1},8,["model"])]),_:1},8,["open","title"])}}};async function se(f){return te("/list/crud-table",f,{customDev:!0})}async function ie(f){return oe(`/list/${f}`,null,{customDev:!0})}function de(f){const a=Y(R({queryApi:()=>Promise.resolve(),loading:!1,queryParams:{},dataSource:[],rowSelections:{selectedRowKeys:[],selectedRows:[],onChange(l,c){a.rowSelections.selectedRowKeys=l,a.rowSelections.selectedRows=c}},queryOnMounted:!0,pagination:R({pageSize:10,pageSizeOptions:["10","20","30","40"],current:1,total:0,order:"desc",column:"createTime",showSizeChanger:!0,showQuickJumper:!0,showTotal:l=>`总数据位:${l}`,onChange(l,c){a.pagination.pageSize=c,a.pagination.current=l,p()}},f.pagination),expand:!1,expandChange(){a.expand=!a.expand},beforeQuery(){},afterQuery(l){return l}},f));async function p(){if(!a.loading){a.loading=!0;try{await a.beforeQuery();const{data:l}=await a.queryApi({current:a.pagination.current,pageSize:a.pagination.pageSize,column:a.pagination.column,order:a.pagination.order,...a.queryParams});if(l){const c=await a.afterQuery(l);a.dataSource=c.records??[],a.pagination.total=c.total??0}}catch(l){throw new Error(`Query Failed: ${l}`)}finally{a.loading=!1}}}function r(){a.pagination.current=1,a.queryParams={},p()}function v(){a.pagination.current=1,p()}return Z(()=>{a.queryOnMounted&&p()}),{query:p,resetQuery:r,initQuery:v,state:a}}const ce={key:0,flex:"","gap-2":""},me={__name:"crud-table",setup(f){const a=re(),p=ee([{title:"名",dataIndex:"name"},{title:"值",dataIndex:"value"},{title:"描述",dataIndex:"remark"},{title:"操作",dataIndex:"action"}]),{state:r,initQuery:v,resetQuery:l,query:c}=de({queryApi:se,queryParams:{name:void 0,value:void 0,remark:void 0},afterQuery:d=>(console.log(d),d)}),y=x();async function m(d){if(!d.id)return a.error("id 不能为空");try{(await ie(d.id)).code===200&&await c(),a.success("删除成功")}catch(o){console.log(o)}finally{close()}}function C(){var d;(d=y.value)==null||d.open()}function S(d){var o;(o=y.value)==null||o.open(d)}return(d,o)=>{const k=U,u=$,s=N,g=j,w=H,P=K,Q=z,q=G,_=J,T=L,A=F;return h(),M(A,null,{default:n(()=>[e(q,{"mb-4":""},{default:n(()=>[e(Q,{class:"system-crud-wrapper","label-col":{span:7},model:t(r).queryParams},{default:n(()=>[e(P,{gutter:[15,0]},{default:n(()=>[e(s,{span:6},{default:n(()=>[e(u,{name:"name",label:"名"},{default:n(()=>[e(k,{value:t(r).queryParams.name,"onUpdate:value":o[0]||(o[0]=i=>t(r).queryParams.name=i),placeholder:"请输入名"},null,8,["value"])]),_:1})]),_:1}),e(s,{span:6},{default:n(()=>[e(u,{name:"value",label:"值"},{default:n(()=>[e(k,{value:t(r).queryParams.value,"onUpdate:value":o[1]||(o[1]=i=>t(r).queryParams.value=i),placeholder:"请输入值"},null,8,["value"])]),_:1})]),_:1}),e(s,{span:6},{default:n(()=>[e(u,{name:"remark",label:"备注"},{default:n(()=>[e(k,{value:t(r).queryParams.remark,"onUpdate:value":o[2]||(o[2]=i=>t(r).queryParams.remark=i),placeholder:"请输入备注"},null,8,["value"])]),_:1})]),_:1}),e(s,{span:6},{default:n(()=>[e(w,{flex:"","justify-end":"","w-full":""},{default:n(()=>[e(g,{loading:t(r).loading,type:"primary",onClick:t(v)},{default:n(()=>o[3]||(o[3]=[b(" 查询 ")])),_:1},8,["loading","onClick"]),e(g,{loading:t(r).loading,onClick:t(l)},{default:n(()=>o[4]||(o[4]=[b(" 重置 ")])),_:1},8,["loading","onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(q,{title:"增删改查表格"},{extra:n(()=>[e(w,{size:"middle"},{default:n(()=>[e(g,{type:"primary",onClick:C},{icon:n(()=>[e(t(E))]),default:n(()=>[o[5]||(o[5]=b(" 新增 "))]),_:1})]),_:1})]),default:n(()=>[e(T,{"row-key":"id","row-selection":t(r).rowSelections,loading:t(r).loading,columns:t(p),"data-source":t(r).dataSource,pagination:t(r).pagination},{bodyCell:n(i=>{var I;return[((I=i==null?void 0:i.column)==null?void 0:I.dataIndex)==="action"?(h(),ae("div",ce,[e(g,{type:"link",onClick:D=>S(i==null?void 0:i.record)},{default:n(()=>o[6]||(o[6]=[b(" 编辑 ")])),_:2},1032,["onClick"]),e(_,{title:"确定删除该条数据?","ok-text":"确定","cancel-text":"取消",onConfirm:D=>m(i==null?void 0:i.record)},{default:n(()=>[e(g,{type:"link"},{default:n(()=>o[7]||(o[7]=[b(" 删除 ")])),_:1})]),_:2},1032,["onConfirm"])])):ne("",!0)]}),_:1},8,["row-selection","loading","columns","data-source","pagination"])]),_:1}),e(ue,{ref_key:"crudTableModal",ref:y},null,512)]),_:1})}}},ve=le(me,[["__scopeId","data-v-00d2ba9b"]]);export{ve as default}; diff --git a/web/dist/assets/custom-map-D96Na9xO.js b/web/dist/assets/custom-map-D96Na9xO.js new file mode 100644 index 0000000..cb00a87 --- /dev/null +++ b/web/dist/assets/custom-map-D96Na9xO.js @@ -0,0 +1,6106 @@ +import{aF as ev,aG as tv,aH as rv,aI as ov,aJ as iv,aK as nv,aL as av,aM as sv,aN as uv,aO as pv,aP as cv,aQ as lv,aR as dv,aS as yv,aT as hv,Q as fv,aU as mv,aV as _v,aW as gv,aX as vv,aY as Ev,aZ as xv,a_ as H,a$ as _t,b0 as Pv,b1 as bv}from"./antd-vtmm7CAy.js";import{H as gp,I as t6,_ as Av}from"./index-C-JhWVfG.js";import{A as O0,E as rs,f as s2,c as pu,a as gl,n as tf,s as w3,d as u2,b as wm,e as kg,g as Fv,h as xh,i as yp,j as R3,k as Tv,l as Yd,m as C3,t as Ph,o as Sv,p as wv,q as Rv,_ as pn,r as y1,u as Dn,v as F0,w as T0,x as dp,y as Ad,z as Cv}from"./vec2-4Cx-bOHg.js";import{o as Iv,j as Mv,a2 as Nv,a3 as Dv}from"./vue-Dl1fzmsf.js";function zf(){var e=new O0(16);return O0!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0),e[0]=1,e[5]=1,e[10]=1,e[15]=1,e}function Ov(e,t,r,i,s,u,n,h,m,g,x,b,F,R,I,B){var V=new O0(16);return V[0]=e,V[1]=t,V[2]=r,V[3]=i,V[4]=s,V[5]=u,V[6]=n,V[7]=h,V[8]=m,V[9]=g,V[10]=x,V[11]=b,V[12]=F,V[13]=R,V[14]=I,V[15]=B,V}function r6(e,t){var r=t[0],i=t[1],s=t[2],u=t[3],n=t[4],h=t[5],m=t[6],g=t[7],x=t[8],b=t[9],F=t[10],R=t[11],I=t[12],B=t[13],V=t[14],J=t[15],Q=r*h-i*n,te=r*m-s*n,ne=r*g-u*n,ue=i*m-s*h,Oe=i*g-u*h,Ee=s*g-u*m,He=x*B-b*I,ft=x*V-F*I,Ge=x*J-R*I,Ae=b*V-F*B,Be=b*J-R*B,ze=F*J-R*V,st=Q*ze-te*Be+ne*Ae+ue*Ge-Oe*ft+Ee*He;return st?(st=1/st,e[0]=(h*ze-m*Be+g*Ae)*st,e[1]=(s*Be-i*ze-u*Ae)*st,e[2]=(B*Ee-V*Oe+J*ue)*st,e[3]=(F*Oe-b*Ee-R*ue)*st,e[4]=(m*Ge-n*ze-g*ft)*st,e[5]=(r*ze-s*Ge+u*ft)*st,e[6]=(V*ne-I*Ee-J*te)*st,e[7]=(x*Ee-F*ne+R*te)*st,e[8]=(n*Be-h*Ge+g*He)*st,e[9]=(i*Ge-r*Be-u*He)*st,e[10]=(I*Oe-B*ne+J*Q)*st,e[11]=(b*ne-x*Oe-R*Q)*st,e[12]=(h*ft-n*Ae-m*He)*st,e[13]=(r*Ae-i*ft+s*He)*st,e[14]=(B*te-I*ue-V*Q)*st,e[15]=(x*ue-b*te+F*Q)*st,e):null}function S0(e,t,r){var i=t[0],s=t[1],u=t[2],n=t[3],h=t[4],m=t[5],g=t[6],x=t[7],b=t[8],F=t[9],R=t[10],I=t[11],B=t[12],V=t[13],J=t[14],Q=t[15],te=r[0],ne=r[1],ue=r[2],Oe=r[3];return e[0]=te*i+ne*h+ue*b+Oe*B,e[1]=te*s+ne*m+ue*F+Oe*V,e[2]=te*u+ne*g+ue*R+Oe*J,e[3]=te*n+ne*x+ue*I+Oe*Q,te=r[4],ne=r[5],ue=r[6],Oe=r[7],e[4]=te*i+ne*h+ue*b+Oe*B,e[5]=te*s+ne*m+ue*F+Oe*V,e[6]=te*u+ne*g+ue*R+Oe*J,e[7]=te*n+ne*x+ue*I+Oe*Q,te=r[8],ne=r[9],ue=r[10],Oe=r[11],e[8]=te*i+ne*h+ue*b+Oe*B,e[9]=te*s+ne*m+ue*F+Oe*V,e[10]=te*u+ne*g+ue*R+Oe*J,e[11]=te*n+ne*x+ue*I+Oe*Q,te=r[12],ne=r[13],ue=r[14],Oe=r[15],e[12]=te*i+ne*h+ue*b+Oe*B,e[13]=te*s+ne*m+ue*F+Oe*V,e[14]=te*u+ne*g+ue*R+Oe*J,e[15]=te*n+ne*x+ue*I+Oe*Q,e}function rf(e,t,r){var i=r[0],s=r[1],u=r[2],n,h,m,g,x,b,F,R,I,B,V,J;return t===e?(e[12]=t[0]*i+t[4]*s+t[8]*u+t[12],e[13]=t[1]*i+t[5]*s+t[9]*u+t[13],e[14]=t[2]*i+t[6]*s+t[10]*u+t[14],e[15]=t[3]*i+t[7]*s+t[11]*u+t[15]):(n=t[0],h=t[1],m=t[2],g=t[3],x=t[4],b=t[5],F=t[6],R=t[7],I=t[8],B=t[9],V=t[10],J=t[11],e[0]=n,e[1]=h,e[2]=m,e[3]=g,e[4]=x,e[5]=b,e[6]=F,e[7]=R,e[8]=I,e[9]=B,e[10]=V,e[11]=J,e[12]=n*i+x*s+I*u+t[12],e[13]=h*i+b*s+B*u+t[13],e[14]=m*i+F*s+V*u+t[14],e[15]=g*i+R*s+J*u+t[15]),e}function of(e,t,r){var i=r[0],s=r[1],u=r[2];return e[0]=t[0]*i,e[1]=t[1]*i,e[2]=t[2]*i,e[3]=t[3]*i,e[4]=t[4]*s,e[5]=t[5]*s,e[6]=t[6]*s,e[7]=t[7]*s,e[8]=t[8]*u,e[9]=t[9]*u,e[10]=t[10]*u,e[11]=t[11]*u,e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}function o6(e,t,r){var i=Math.sin(r),s=Math.cos(r),u=t[4],n=t[5],h=t[6],m=t[7],g=t[8],x=t[9],b=t[10],F=t[11];return t!==e&&(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[4]=u*s+g*i,e[5]=n*s+x*i,e[6]=h*s+b*i,e[7]=m*s+F*i,e[8]=g*s-u*i,e[9]=x*s-n*i,e[10]=b*s-h*i,e[11]=F*s-m*i,e}function zg(e,t,r){var i=Math.sin(r),s=Math.cos(r),u=t[0],n=t[1],h=t[2],m=t[3],g=t[8],x=t[9],b=t[10],F=t[11];return t!==e&&(e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=u*s-g*i,e[1]=n*s-x*i,e[2]=h*s-b*i,e[3]=m*s-F*i,e[8]=u*i+g*s,e[9]=n*i+x*s,e[10]=h*i+b*s,e[11]=m*i+F*s,e}function Vg(e,t,r){var i=Math.sin(r),s=Math.cos(r),u=t[0],n=t[1],h=t[2],m=t[3],g=t[4],x=t[5],b=t[6],F=t[7];return t!==e&&(e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=u*s+g*i,e[1]=n*s+x*i,e[2]=h*s+b*i,e[3]=m*s+F*i,e[4]=g*s-u*i,e[5]=x*s-n*i,e[6]=b*s-h*i,e[7]=F*s-m*i,e}function Lv(e,t,r,i,s){var u=1/Math.tan(t/2),n;return e[0]=u/r,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=u,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=-1,e[12]=0,e[13]=0,e[15]=0,s!=null&&s!==1/0?(n=1/(i-s),e[10]=(s+i)*n,e[14]=2*s*i*n):(e[10]=-1,e[14]=-2*i),e}var Bv=Lv;function I3(e,t){var r=e[0],i=e[1],s=e[2],u=e[3],n=e[4],h=e[5],m=e[6],g=e[7],x=e[8],b=e[9],F=e[10],R=e[11],I=e[12],B=e[13],V=e[14],J=e[15],Q=t[0],te=t[1],ne=t[2],ue=t[3],Oe=t[4],Ee=t[5],He=t[6],ft=t[7],Ge=t[8],Ae=t[9],Be=t[10],ze=t[11],st=t[12],Vt=t[13],ir=t[14],Fr=t[15];return Math.abs(r-Q)<=rs*Math.max(1,Math.abs(r),Math.abs(Q))&&Math.abs(i-te)<=rs*Math.max(1,Math.abs(i),Math.abs(te))&&Math.abs(s-ne)<=rs*Math.max(1,Math.abs(s),Math.abs(ne))&&Math.abs(u-ue)<=rs*Math.max(1,Math.abs(u),Math.abs(ue))&&Math.abs(n-Oe)<=rs*Math.max(1,Math.abs(n),Math.abs(Oe))&&Math.abs(h-Ee)<=rs*Math.max(1,Math.abs(h),Math.abs(Ee))&&Math.abs(m-He)<=rs*Math.max(1,Math.abs(m),Math.abs(He))&&Math.abs(g-ft)<=rs*Math.max(1,Math.abs(g),Math.abs(ft))&&Math.abs(x-Ge)<=rs*Math.max(1,Math.abs(x),Math.abs(Ge))&&Math.abs(b-Ae)<=rs*Math.max(1,Math.abs(b),Math.abs(Ae))&&Math.abs(F-Be)<=rs*Math.max(1,Math.abs(F),Math.abs(Be))&&Math.abs(R-ze)<=rs*Math.max(1,Math.abs(R),Math.abs(ze))&&Math.abs(I-st)<=rs*Math.max(1,Math.abs(I),Math.abs(st))&&Math.abs(B-Vt)<=rs*Math.max(1,Math.abs(B),Math.abs(Vt))&&Math.abs(V-ir)<=rs*Math.max(1,Math.abs(V),Math.abs(ir))&&Math.abs(J-Fr)<=rs*Math.max(1,Math.abs(J),Math.abs(Fr))}function Hg(){var e=new O0(4);return O0!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0,e[3]=0),e}function Uv(e,t,r,i){var s=new O0(4);return s[0]=e,s[1]=t,s[2]=r,s[3]=i,s}function kv(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e[3]=t[3]*r,e}function i6(e,t,r){var i=t[0],s=t[1],u=t[2],n=t[3];return e[0]=r[0]*i+r[4]*s+r[8]*u+r[12]*n,e[1]=r[1]*i+r[5]*s+r[9]*u+r[13]*n,e[2]=r[2]*i+r[6]*s+r[10]*u+r[14]*n,e[3]=r[3]*i+r[7]*s+r[11]*u+r[15]*n,e}(function(){var e=Hg();return function(t,r,i,s,u,n){var h,m;for(r||(r=4),i||(i=0),s?m=Math.min(s*r+i,t.length):m=t.length,h=i;hjg[e],du=(e,t)=>{jg[e]=t},zv=e=>Gg[e],Y0=(e,t)=>{Gg[e]=t},N3={},Rm={},Cm=34,Fd=10,Im=13;function Wg(e){return new Function("d","return {"+e.map(function(t,r){return JSON.stringify(t)+": d["+r+'] || ""'}).join(",")+"}")}function Vv(e,t){var r=Wg(e);return function(i,s){return t(r(i),s,e)}}function D3(e){var t=Object.create(null),r=[];return e.forEach(function(i){for(var s in i)s in t||r.push(t[s]=s)}),r}function Ls(e,t){var r=e+"",i=r.length;return i9999?"+"+Ls(e,6):Ls(e,4)}function Gv(e){var t=e.getUTCHours(),r=e.getUTCMinutes(),i=e.getUTCSeconds(),s=e.getUTCMilliseconds();return isNaN(e)?"Invalid Date":Hv(e.getUTCFullYear())+"-"+Ls(e.getUTCMonth()+1,2)+"-"+Ls(e.getUTCDate(),2)+(s?"T"+Ls(t,2)+":"+Ls(r,2)+":"+Ls(i,2)+"."+Ls(s,3)+"Z":i?"T"+Ls(t,2)+":"+Ls(r,2)+":"+Ls(i,2)+"Z":r||t?"T"+Ls(t,2)+":"+Ls(r,2)+"Z":"")}function jv(e){var t=new RegExp('["'+e+` +\r]`),r=e.charCodeAt(0);function i(b,F){var R,I,B=s(b,function(V,J){if(R)return R(V,J-1);I=V,R=F?Vv(V,F):Wg(V)});return B.columns=I||[],B}function s(b,F){var R=[],I=b.length,B=0,V=0,J,Q=I<=0,te=!1;b.charCodeAt(I-1)===Fd&&--I,b.charCodeAt(I-1)===Im&&--I;function ne(){if(Q)return Rm;if(te)return te=!1,N3;var Oe,Ee=B,He;if(b.charCodeAt(Ee)===Cm){for(;B++=I?Q=!0:(He=b.charCodeAt(B++))===Fd?te=!0:He===Im&&(te=!0,b.charCodeAt(B)===Fd&&++B),b.slice(Ee+1,Oe-1).replace(/""/g,'"')}for(;Bt in e?Kv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,a6=(e,t)=>{for(var r in t||(t={}))eE.call(t,r)&&B3(e,r,t[r]);if(L3)for(var r of L3(t))tE.call(t,r)&&B3(e,r,t[r]);return e},s6=(e,t)=>Qv(e,Jv(t)),u6=e=>Gh.REGISTERED_PROTOCOLS[e.substring(0,e.indexOf("://"))],rE=class extends Error{constructor(e,t,r,i){super(`AJAXError: ${t} (${e}): ${r}`),this.status=e,this.statusText=t,this.url=r,this.body=i}};function $g(e,t){const r=new XMLHttpRequest,i=Array.isArray(e.url)?e.url[0]:e.url;r.open(e.method||"GET",i,!0),e.type==="arrayBuffer"&&(r.responseType="arraybuffer");for(const s in e.headers)e.headers.hasOwnProperty(s)&&r.setRequestHeader(s,e.headers[s]);return e.type==="json"&&(r.responseType="text",r.setRequestHeader("Accept","application/json")),r.withCredentials=e.credentials==="include",r.onerror=()=>{t(new Error(r.statusText))},r.onload=()=>{if((r.status>=200&&r.status<300||r.status===0)&&r.response!==null){let s=r.response;if(e.type==="json")try{s=JSON.parse(r.response)}catch(u){return t(u)}t(null,s,r.getResponseHeader("Cache-Control"),r.getResponseHeader("Expires"),r)}else{const s=new Blob([r.response],{type:r.getResponseHeader("Content-Type")});t(new rE(r.status,r.statusText,i.toString(),s))}},r.cancel=r.abort,r.send(e.body),r}function oE(e){return new Promise((t,r)=>{$g(e,(i,s,u,n,h)=>{i?r({err:i,data:null,xhr:h}):t({err:null,data:s,cacheControl:u,expires:n,xhr:h})})})}function p6(e,t){return $g(e,t)}var iE=(e,t)=>(u6(e.url)||p6)(s6(a6({},e),{type:"json"}),t),c6=(e,t)=>(u6(e.url)||p6)(s6(a6({},e),{type:"arrayBuffer"}),t),nE=(e,t)=>p6(s6(a6({},e),{method:"GET"}),t),U3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";function qg(e,t){const r=new window.Image,i=window.URL||window.webkitURL;r.crossOrigin="anonymous",r.onload=()=>{t(null,r),i.revokeObjectURL(r.src),r.onload=null,window.requestAnimationFrame(()=>{r.src=U3})},r.onerror=()=>t(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."));const s=new Blob([new Uint8Array(e)],{type:"image/png"});r.src=e.byteLength?i.createObjectURL(s):U3}function Kg(e,t){const r=new Blob([new Uint8Array(e)],{type:"image/png"});createImageBitmap(r).then(i=>{t(null,i)}).catch(i=>{t(new Error(`Could not load image because of ${i.message}. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.`))})}var p2=(e,t,r)=>{const i=(s,u)=>{if(s)t(s);else if(u){const n=typeof createImageBitmap=="function",h=r?r(u):u;n?Kg(h,t):qg(h,t)}};return e.type==="json"?iE(e,i):c6(e,i)},aE=(e,t)=>{typeof createImageBitmap=="function"?Kg(e,t):qg(e,t)};function l6(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function Qg(e,t){var r=Object.create(e.prototype);for(var i in t)r[i]=t[i];return r}function Cy(){}var dy=.7,nf=1/dy,w0="\\s*([+-]?\\d+)\\s*",yy="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Yp="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",sE=/^#([0-9a-f]{3,8})$/,uE=new RegExp("^rgb\\("+[w0,w0,w0]+"\\)$"),pE=new RegExp("^rgb\\("+[Yp,Yp,Yp]+"\\)$"),cE=new RegExp("^rgba\\("+[w0,w0,w0,yy]+"\\)$"),lE=new RegExp("^rgba\\("+[Yp,Yp,Yp,yy]+"\\)$"),dE=new RegExp("^hsl\\("+[yy,Yp,Yp]+"\\)$"),yE=new RegExp("^hsla\\("+[yy,Yp,Yp,yy]+"\\)$"),k3={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};l6(Cy,L0,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:z3,formatHex:z3,formatHsl:hE,formatRgb:V3,toString:V3});function z3(){return this.rgb().formatHex()}function hE(){return Jg(this).formatHsl()}function V3(){return this.rgb().formatRgb()}function L0(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=sE.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?H3(t):r===3?new cu(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?bh(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?bh(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=uE.exec(e))?new cu(t[1],t[2],t[3],1):(t=pE.exec(e))?new cu(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=cE.exec(e))?bh(t[1],t[2],t[3],t[4]):(t=lE.exec(e))?bh(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=dE.exec(e))?W3(t[1],t[2]/100,t[3]/100,1):(t=yE.exec(e))?W3(t[1],t[2]/100,t[3]/100,t[4]):k3.hasOwnProperty(e)?H3(k3[e]):e==="transparent"?new cu(NaN,NaN,NaN,0):null}function H3(e){return new cu(e>>16&255,e>>8&255,e&255,1)}function bh(e,t,r,i){return i<=0&&(e=t=r=NaN),new cu(e,t,r,i)}function fE(e){return e instanceof Cy||(e=L0(e)),e?(e=e.rgb(),new cu(e.r,e.g,e.b,e.opacity)):new cu}function af(e,t,r,i){return arguments.length===1?fE(e):new cu(e,t,r,i??1)}function cu(e,t,r,i){this.r=+e,this.g=+t,this.b=+r,this.opacity=+i}l6(cu,af,Qg(Cy,{brighter:function(e){return e=e==null?nf:Math.pow(nf,e),new cu(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=e==null?dy:Math.pow(dy,e),new cu(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:G3,formatHex:G3,formatRgb:j3,toString:j3}));function G3(){return"#"+Mm(this.r)+Mm(this.g)+Mm(this.b)}function j3(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(e===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(e===1?")":", "+e+")")}function Mm(e){return e=Math.max(0,Math.min(255,Math.round(e)||0)),(e<16?"0":"")+e.toString(16)}function W3(e,t,r,i){return i<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Zp(e,t,r,i)}function Jg(e){if(e instanceof Zp)return new Zp(e.h,e.s,e.l,e.opacity);if(e instanceof Cy||(e=L0(e)),!e)return new Zp;if(e instanceof Zp)return e;e=e.rgb();var t=e.r/255,r=e.g/255,i=e.b/255,s=Math.min(t,r,i),u=Math.max(t,r,i),n=NaN,h=u-s,m=(u+s)/2;return h?(t===u?n=(r-i)/h+(r0&&m<1?0:n,new Zp(n,h,m,e.opacity)}function mE(e,t,r,i){return arguments.length===1?Jg(e):new Zp(e,t,r,i??1)}function Zp(e,t,r,i){this.h=+e,this.s=+t,this.l=+r,this.opacity=+i}l6(Zp,mE,Qg(Cy,{brighter:function(e){return e=e==null?nf:Math.pow(nf,e),new Zp(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=e==null?dy:Math.pow(dy,e),new Zp(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,i=r+(r<.5?r:1-r)*t,s=2*r-i;return new cu(Nm(e>=240?e-240:e+120,s,i),Nm(e,s,i),Nm(e<120?e+240:e-120,s,i),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(e===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(e===1?")":", "+e+")")}}));function Nm(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}function Mi(e){const t=L0(e),r=[0,0,0,0];return t!=null&&(r[0]=t.r/255,r[1]=t.g/255,r[2]=t.b/255,r[3]=t.opacity),r}function l1(e){const t=e&&e[0],r=e&&e[1],i=e&&e[2];return t+r*256+i*65536-1}function B0(e){return[e+1&255,e+1>>8&255,e+1>>8>>8&255]}function e8(e){let t=window.document.createElement("canvas"),r=t.getContext("2d");t.width=256,t.height=1;let i=null;const s=r.createLinearGradient(0,0,256,1),u=e.positions[0],n=e.positions[e.positions.length-1];for(let h=0;h{const n=Mi(e.colors[u]);i.data[s*4+0]=n[0]*255,i.data[s*4+1]=n[1]*255,i.data[s*4+2]=n[2]*255,i.data[s*4+3]=n[3]*255}),t=null,r=null,i}function vE(e){let t=window.document.createElement("canvas"),r=t.getContext("2d");r.globalAlpha=1,t.width=256,t.height=1;const i=256/e.colors.length;for(let n=0;n{e.classList.remove(i)}):o8(e,t8((" "+h6(e)+" ").replace(" "+t+" "," ")))}function bE(e,t){if(e.classList!==void 0)return e.classList.contains(t);const r=h6(e);return r.length>0&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(r)}function o8(e,t){e instanceof HTMLElement?e.className=t:e.className.baseVal=t}function h6(e){return e instanceof SVGElement&&(e=e.correspondingElement),e.className.baseVal===void 0?e.className:e.className.baseVal}PE(["transform","WebkitTransform"]);function AE(){var e;const t=window.document.querySelector('meta[name="viewport"]');if(!t)return 1;const i=((e=t.content)==null?void 0:e.split(",")).find(s=>{const[u]=s.split("=");return u==="initial-scale"});return i?i.split("=")[1]*1:1}var Bs=AE()<1?1:window.devicePixelRatio;function FE(e,t){e.setAttribute("style",`${e.style.cssText}${t}`)}function TE(e){return Object.entries(e).map(([t,r])=>`${t}: ${r}`).join(";")}function SE(e,t){return{left:e.left-t.left,top:e.top-t.top,right:t.left+t.width-e.left-e.width,bottom:t.top+t.height-e.top-e.height}}function i8(e){e.innerHTML=""}function wE(e){e.setAttribute("draggable","false")}function RE(e,t){var r;const i=Array.isArray(t)?t:[t];let s=e;for(;s instanceof Element&&s!==window.document.body;){if(i.find(u=>s==null?void 0:s.matches(u)))return s;s=(r=s==null?void 0:s.parentElement)!=null?r:null}}function CE(e){return typeof ImageBitmap<"u"&&e instanceof ImageBitmap}var l2=navigator==null?void 0:navigator.userAgent;l2.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);l2.indexOf("Android")>-1||l2.indexOf("Adr")>-1;function d2(e){var t=[1/0,1/0,-1/0,-1/0];return Zg(e,function(r){t[0]>r[0]&&(t[0]=r[0]),t[1]>r[1]&&(t[1]=r[1]),t[2]r&&e.lng<=s&&e.lat>i&&e.lat<=u}function ME(e){const t=[1/0,1/0,-1/0,-1/0];return e.forEach(r=>{const{coordinates:i}=r;n8(t,i)}),t}function n8(e,t){return Array.isArray(t[0])?t.forEach(r=>{n8(e,r)}):(e[0]>t[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]180||e<-180)&&(e=e%360,e>180&&(e=-360+e),e<-180&&(e=360+e),e===0&&(e=0)),e}function DE(e){if(e==null)throw new Error("lat is required");return(e>90||e<-90)&&(e=e%180,e>90&&(e=-180+e),e<-90&&(e=180+e),e===0&&(e=0)),e}function OE(e,t){if(t===!1)return e;const r=NE(e[0]);let i=DE(e[1]);return i>85&&(i=85),i<-85&&(i=-85),e.length===3?[r,i,e[2]]:[r,i]}function ju(e){const t=85.0511287798,r=Math.max(Math.min(t,e[1]),-t),i=256<<20;let s=Math.PI/180,u=e[0]*s,n=r*s;n=Math.log(Math.tan(Math.PI/4+n/2));const h=.5/Math.PI,m=.5,g=-.5/Math.PI;return s=.5,u=i*(h*u+m),n=i*(g*n+s),[Math.floor(u),Math.floor(n)]}function f6(e,t){const r=Math.abs(e[1][1]-e[0][1])*t,i=Math.abs(e[1][0]-e[0][0])*t;return[[e[0][0]-i,e[0][1]-r],[e[1][0]+i,e[1][1]+r]]}function a8(e,t){return e[0][0]<=t[0][0]&&e[0][1]<=t[0][1]&&e[1][0]>=t[1][0]&&e[1][1]>=t[1][1]}function uf(e){return[[e[0],e[1]],[e[2],e[3]]]}function LE(e){const t=BE(e,[0,0]);return[e[0]/t,e[1]/t]}function BE(e,t){return Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))}function h1(e){if(Dm(e[0]))return e;if(Dm(e[0][0]))throw new Error("当前数据不支持标注");if(Dm(e[0][0][0])){const t=e;let r=0,i=0,s=0;return t.forEach(u=>{u.forEach(n=>{r+=n[0],i+=n[1],s++})}),[r/s,i/s,0]}else throw new Error("当前数据不支持标注")}function UE(e){let t=e[0],r=e[1],i=e[0],s=e[1],u=0,n=0,h=0;for(let m=0;m{const t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)})}var VE=class{constructor(e=50,t){this.limit=e,this.destroy=t||this.defaultDestroy,this.order=[],this.clear()}clear(){this.order.forEach(e=>{this.delete(e)}),this.cache={},this.order=[]}get(e){const t=this.cache[e];return t&&(this.deleteOrder(e),this.appendOrder(e)),t}set(e,t){this.cache[e]?(this.delete(e),this.cache[e]=t,this.appendOrder(e)):(Object.keys(this.cache).length===this.limit&&this.delete(this.order[0]),this.cache[e]=t,this.appendOrder(e))}delete(e){const t=this.cache[e];t&&(this.deleteCache(e),this.deleteOrder(e),this.destroy(t,e))}deleteCache(e){delete this.cache[e]}deleteOrder(e){const t=this.order.findIndex(r=>r===e);t>=0&&this.order.splice(t,1)}appendOrder(e){this.order.push(e)}defaultDestroy(e,t){return null}};function HE(e){if(e.length===0)throw new Error("max requires at least one data point");let t=e[0];for(let r=1;rt&&(t=e[r]);return t*1}function GE(e){if(e.length===0)throw new Error("min requires at least one data point");let t=e[0];for(let r=1;ri&&(i=s,r=t),s=1,t=e[u]):s++;return r*1}var u8={min:GE,max:HE,mean:jE,sum:s8,mode:WE};function p8(e,t){return e.map(r=>r[t])}function XE(e,t){t===void 0&&(t={});var r=Number(e[0]),i=Number(e[1]),s=Number(e[2]),u=Number(e[3]);if(e.length===6)throw new Error("@turf/bbox-polygon does not support BBox with 6 positions");var n=[r,i],h=[r,u],m=[s,u],g=[s,i];return n6([[n,g,m,h,n]],t.properties,{bbox:e,id:t.id})}var c8={exports:{}};(function(e){var t=Object.prototype.hasOwnProperty,r="~";function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(r=!1));function s(m,g,x){this.fn=m,this.context=g,this.once=x||!1}function u(m,g,x,b,F){if(typeof x!="function")throw new TypeError("The listener must be a function");var R=new s(x,b||m,F),I=r?r+g:g;return m._events[I]?m._events[I].fn?m._events[I]=[m._events[I],R]:m._events[I].push(R):(m._events[I]=R,m._eventsCount++),m}function n(m,g){--m._eventsCount===0?m._events=new i:delete m._events[g]}function h(){this._events=new i,this._eventsCount=0}h.prototype.eventNames=function(){var g=[],x,b;if(this._eventsCount===0)return g;for(b in x=this._events)t.call(x,b)&&g.push(r?b.slice(1):b);return Object.getOwnPropertySymbols?g.concat(Object.getOwnPropertySymbols(x)):g},h.prototype.listeners=function(g){var x=r?r+g:g,b=this._events[x];if(!b)return[];if(b.fn)return[b.fn];for(var F=0,R=b.length,I=new Array(R);F(e.Realtime="realtime",e.Overlap="overlap",e.Replace="replace",e))(ay||{}),zu=(e=>(e.Loading="Loading",e.Loaded="Loaded",e.Failure="Failure",e.Cancelled="Cancelled",e))(zu||{}),l8=0,Z3=1,Vf=2;function ZE(e){e.forEach(t=>{t.isCurrent&&(t.isVisible=t.isLoaded)})}function YE(e){e.forEach(t=>{t.properties.state=l8}),e.forEach(t=>{t.isCurrent&&!d8(t)&&_6(t)}),e.forEach(t=>{t.isVisible=!!(t.properties.state&Vf)})}function $E(e){e.forEach(r=>{r.properties.state=l8}),e.forEach(r=>{r.isCurrent&&d8(r)}),e.slice().sort((r,i)=>r.z-i.z).forEach(r=>{r.isVisible=!!(r.properties.state&Vf),r.children.length&&(r.isVisible||r.properties.state&Z3)?r.children.forEach(i=>{i.properties.state=Z3}):r.isCurrent&&_6(r)})}function d8(e){for(;e;){if(e.isLoaded)return e.properties.state|=Vf,!0;e=e.parent}return!1}function _6(e){e.children.forEach(t=>{t.isLoaded?t.properties.state|=Vf:_6(t)})}var y8=[-1/0,-1/0,1/0,1/0],qE=.2,KE=5,QE={[ay.Realtime]:ZE,[ay.Overlap]:YE,[ay.Replace]:$E},JE=()=>{};function y2(e,t,r){const i=Math.floor((e+180)/360*Math.pow(2,r)),s=Math.floor((1-Math.log(Math.tan(t*Math.PI/180)+1/Math.cos(t*Math.PI/180))/Math.PI)/2*Math.pow(2,r));return[i,s]}function Y3(e,t,r){const i=e/Math.pow(2,r)*360-180,s=Math.PI-2*Math.PI*t/Math.pow(2,r),u=180/Math.PI*Math.atan(.5*(Math.exp(s)-Math.exp(-s)));return[i,u]}var h8=(e,t,r)=>{const[i,s]=Y3(e,t,r),[u,n]=Y3(e+1,t+1,r);return[i,n,u,s]};function ex({zoom:e,latLonBounds:t,maxZoom:r=1/0,minZoom:i=0,zoomOffset:s=0,extent:u=y8}){let n=Math.ceil(e)+s;if(Number.isFinite(i)&&nr&&(n=r);const[h,m,g,x]=t,b=[Math.max(h,u[0]),Math.max(m,u[1]),Math.min(g,u[2]),Math.min(x,u[3])],F=[],[R,I]=y2(b[0],b[1],n),[B,V]=y2(b[2],b[3],n);for(let ne=R;ne<=B;ne++)for(let ue=V;ue<=I;ue++)F.push({x:ne,y:ue,z:n});const J=(B+R)/2,Q=(I+V)/2,te=(ne,ue)=>Math.abs(ne-J)+Math.abs(ue-Q);return F.sort((ne,ue)=>te(ne.x,ne.y)-te(ue.x,ue.y)),F}var tx=(e,t,r,i=!0)=>{const s=Math.pow(2,r),u=s-1,n=s;let h=e;const m=t;return i&&(h<0?h=h+n:h>u&&(h=h%n)),{warpX:h,warpY:m}},rx=(e,t,r)=>new Promise((i,s)=>{var u=m=>{try{h(r.next(m))}catch(g){s(g)}},n=m=>{try{h(r.throw(m))}catch(g){s(g)}},h=m=>m.done?i(m.value):Promise.resolve(m.value).then(u,n);h((r=r.apply(e,t)).next())}),ox=class extends yu.EventEmitter{constructor(e){super(),this.tileSize=256,this.isVisible=!1,this.isCurrent=!1,this.isVisibleChange=!1,this.loadedLayers=0,this.isLayerLoaded=!1,this.isLoad=!1,this.isChildLoad=!1,this.parent=null,this.children=[],this.data=null,this.properties={},this.loadDataId=0;const{x:t,y:r,z:i,tileSize:s,warp:u=!0}=e;this.x=t,this.y=r,this.z=i,this.warp=u||!0,this.tileSize=s}get isLoading(){return this.loadStatus===zu.Loading}get isLoaded(){return this.loadStatus===zu.Loaded}get isFailure(){return this.loadStatus===zu.Failure}setTileLayerLoaded(){this.isLayerLoaded=!0}get isCancelled(){return this.loadStatus===zu.Cancelled}get isDone(){return[zu.Loaded,zu.Cancelled,zu.Failure].includes(this.loadStatus)}get bounds(){return h8(this.x,this.y,this.z)}get bboxPolygon(){const[e,t,r,i]=this.bounds,s=[(r-e)/2,(i-t)/2];return XE(this.bounds,{properties:{key:this.key,id:this.key,bbox:this.bounds,center:s,meta:` + ${this.key} + `}})}get key(){return`${this.x}_${this.y}_${this.z}`}layerLoad(){this.loadedLayers++,this.emit("layerLoaded")}loadData(e){return rx(this,arguments,function*({getData:t,onLoad:r,onError:i}){this.loadDataId++;const s=this.loadDataId;this.isLoading&&this.abortLoad(),this.abortController=new AbortController,this.loadStatus=zu.Loading;let u=null,n;try{const{x:h,y:m,z:g,bounds:x,tileSize:b,warp:F}=this,{warpX:R,warpY:I}=tx(h,m,g,F),{signal:B}=this.abortController;u=yield t({x:R,y:I,z:g,bounds:x,tileSize:b,signal:B,warp:F},this)}catch(h){n=h}if(s===this.loadDataId&&!(this.isCancelled&&!u)){if(n||!u){this.loadStatus=zu.Failure,i(n,this);return}this.loadStatus=zu.Loaded,this.data=u,r(this)}})}reloadData(e){this.isLoading&&this.abortLoad(),this.loadData(e)}abortLoad(){this.isLoaded||this.isCancelled||(this.loadStatus=zu.Cancelled,this.abortController.abort(),this.xhrCancel&&this.xhrCancel())}},ix=(e,t)=>{const r=uf(e),i=f6(r,t),s=360*3-180,u=85.0511287798065;return[Math.max(i[0][0],-s),Math.max(i[0][1],-u),Math.min(i[1][0],s),Math.min(i[1][1],u)]},nx=(e,t)=>{const r=uf(e),i=uf(t);return a8(r,i)},ax=Object.defineProperty,sx=Object.defineProperties,ux=Object.getOwnPropertyDescriptors,$3=Object.getOwnPropertySymbols,px=Object.prototype.hasOwnProperty,cx=Object.prototype.propertyIsEnumerable,q3=(e,t,r)=>t in e?ax(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,K3=(e,t)=>{for(var r in t||(t={}))px.call(t,r)&&q3(e,r,t[r]);if($3)for(var r of $3(t))cx.call(t,r)&&q3(e,r,t[r]);return e},lx=(e,t)=>sx(e,ux(t)),{throttle:dx}=Qn,yx=class extends m6{constructor(e){super(),this.currentTiles=[],this.cacheTiles=new Map,this.throttleUpdate=dx((t,r)=>{this.update(t,r)},16),this.onTileLoad=t=>{this.emit("tile-loaded",t),this.updateTileVisible(),this.loadFinished()},this.onTileError=(t,r)=>{this.emit("tile-error",{error:t,tile:r}),this.updateTileVisible(),this.loadFinished()},this.onTileUnload=t=>{this.emit("tile-unload",t),this.loadFinished()},this.options={tileSize:256,minZoom:0,maxZoom:1/0,zoomOffset:0,extent:y8,getTileData:JE,warp:!0,updateStrategy:ay.Replace},this.updateOptions(e)}get isLoaded(){return this.currentTiles.every(e=>e.isDone)}get tiles(){return Array.from(this.cacheTiles.values()).sort((t,r)=>t.z-r.z)}updateOptions(e){const t=e.minZoom===void 0?this.options.minZoom:Math.ceil(e.minZoom),r=e.maxZoom===void 0?this.options.maxZoom:Math.floor(e.maxZoom);this.options=lx(K3(K3({},this.options),e),{minZoom:t,maxZoom:r})}update(e,t){const r=Math.max(0,Math.ceil(e));if(this.lastViewStates&&this.lastViewStates.zoom===r&&nx(this.lastViewStates.latLonBoundsBuffer,t))return;const i=ix(t,qE);this.lastViewStates={zoom:r,latLonBounds:t,latLonBoundsBuffer:i},this.currentZoom=r;let s=!1;const u=this.getTileIndices(r,i).filter(n=>this.options.warp||n.x>=0&&n.x{let g=this.getTile(n,h,m);return g?(((g==null?void 0:g.isFailure)||(g==null?void 0:g.isCancelled))&&g.loadData({getData:this.options.getTileData,onLoad:this.onTileLoad,onError:this.onTileError}),g):(g=this.createTile(n,h,m),s=!0,g)}),s&&this.resizeCacheTiles(),this.updateTileVisible(),this.pruneRequests()}reloadAll(){for(const[e,t]of this.cacheTiles){if(!this.currentTiles.includes(t)){this.cacheTiles.delete(e),this.onTileUnload(t);return}this.onTileUnload(t),t.loadData({getData:this.options.getTileData,onLoad:this.onTileLoad,onError:this.onTileError})}}reloadTileById(e,t,r){const i=this.cacheTiles.get(`${t},${r},${e}`);i&&(this.onTileUnload(i),i.loadData({getData:this.options.getTileData,onLoad:this.onTileLoad,onError:this.onTileError}))}reloadTileByLnglat(e,t,r){const i=this.getTileByLngLat(e,t,r);i&&this.reloadTileById(i.z,i.x,i.y)}reloadTileByExtent(e,t){this.getTileIndices(t,e).forEach(i=>{this.reloadTileById(i.z,i.x,i.y)})}pruneRequests(){const e=[];for(const t of this.cacheTiles.values())t.isLoading&&!t.isCurrent&&!t.isVisible&&e.push(t);for(;e.length>0;)e.shift().abortLoad()}getTileByLngLat(e,t,r){const{zoomOffset:i}=this.options,s=Math.ceil(r)+i,u=y2(e,t,s);return this.tiles.filter(h=>h.key===`${u[0]}_${u[1]}_${s}`)[0]}getTileExtent(e,t){return this.getTileIndices(t,e)}getTileByZXY(e,t,r){return this.tiles.filter(s=>s.key===`${t}_${r}_${e}`)[0]}clear(){for(const e of this.cacheTiles.values())e.isLoading?e.abortLoad():this.onTileUnload(e);this.lastViewStates=void 0,this.cacheTiles.clear(),this.currentTiles=[]}destroy(){this.clear(),this.removeAllListeners()}updateTileVisible(){const e=this.options.updateStrategy,t=new Map;for(const s of this.cacheTiles.values())t.set(s.key,s.isVisible),s.isCurrent=!1,s.isVisible=!1;for(const s of this.currentTiles)s.isCurrent=!0,s.isVisible=!0;const r=Array.from(this.cacheTiles.values());typeof e=="function"?e(r):QE[e](r);let i=!1;Array.from(this.cacheTiles.values()).forEach(s=>{s.isVisible!==t.get(s.key)?(s.isVisibleChange=!0,i=!0):s.isVisibleChange=!1}),i&&this.emit("tile-update")}getTileIndices(e,t){const{tileSize:r,extent:i,zoomOffset:s}=this.options,u=Math.floor(this.options.maxZoom),n=Math.ceil(this.options.minZoom);return ex({maxZoom:u,minZoom:n,zoomOffset:s,tileSize:r,zoom:e,latLonBounds:t,extent:i})}getTileId(e,t,r){return`${e},${t},${r}`}loadFinished(){const e=!this.currentTiles.some(t=>!t.isDone);return e&&this.emit("tiles-load-finished"),e}getTile(e,t,r){const i=this.getTileId(e,t,r);return this.cacheTiles.get(i)}createTile(e,t,r){const i=this.getTileId(e,t,r),s=new ox({x:e,y:t,z:r,tileSize:this.options.tileSize,warp:this.options.warp});return this.cacheTiles.set(i,s),s.loadData({getData:this.options.getTileData,onLoad:this.onTileLoad,onError:this.onTileError}),s}resizeCacheTiles(){const e=KE*this.currentTiles.length;if(this.cacheTiles.size>e){for(const[r,i]of this.cacheTiles)if(!i.isVisible&&!this.currentTiles.includes(i)&&(this.cacheTiles.delete(r),this.onTileUnload(i)),this.cacheTiles.size<=e)break}this.rebuildTileTree()}rebuildTileTree(){for(const e of this.cacheTiles.values())e.parent=null,e.children.length=0;for(const e of this.cacheTiles.values()){const t=this.getNearestAncestor(e.x,e.y,e.z);e.parent=t,t!=null&&t.children&&t.children.push(e)}}getNearestAncestor(e,t,r){for(;r>this.options.minZoom;){e=Math.floor(e/2),t=Math.floor(t/2),r=r-1;const i=this.getTile(e,t,r);if(i)return i}return null}};function f8(e){const t=[];let r=/\{([a-z])-([a-z])\}/.exec(e);if(r){const i=r[1].charCodeAt(0),s=r[2].charCodeAt(0);let u;for(u=i;u<=s;++u)t.push(e.replace(r[0],String.fromCharCode(u)));return t}if(r=/\{(\d+)-(\d+)\}/.exec(e),r){const i=parseInt(r[2],10);for(let s=parseInt(r[1],10);s<=i;s++)t.push(e.replace(r[0],s.toString()));return t}return t.push(e),t}function R0(e,t){if(!e||!e.length)throw new Error("url is not allowed to be empty");const{x:r,y:i,z:s}=t,u=f8(e),n=Math.abs(r+i)%u.length;return(u6(u[n])?`${u[n]}/{z}/{x}/{y}`:u[n]).replace(/\{x\}/g,r.toString()).replace(/\{y\}/g,i.toString()).replace(/\{z\}/g,s.toString()).replace(/\{bbox\}/g,h8(r,i,s).join(",")).replace(/\{-y\}/g,(Math.pow(2,s)-i-1).toString())}function hx(e,t){const{x:r,y:i,z:s,layer:u,version:n="1.0.0",style:h="default",format:m,service:g="WMTS",tileMatrixset:x}=t,b=f8(e),F=Math.abs(r+i)%b.length;return`${b[F]}&SERVICE=${g}&REQUEST=GetTile&VERSION=${n}&LAYER=${u}&STYLE=${h}&TILEMATRIXSET=${x}&FORMAT=${m}&TILECOL=${r}&TILEROW=${i}&TILEMATRIX=${s}`}function Td(e,t){return e??t}var fx=Wh;function Wh(e,t){var r=e&&e.type,i;if(r==="FeatureCollection")for(i=0;i=Math.abs(h)?r-m+h:h-m+r,r=m}r+i>=0!=!!t&&e.reverse()}const mx=gp(fx);function _x(e,t){return e.map(r=>r[t]*1)}function m8(e){return Array.isArray(e)?e.length===0||typeof e[0]=="number":!1}function h2(e){const t=Object.isFrozen(e)?Qn.cloneDeep(e):e;return mx(t,!0),t}function Iy(e,t){return e||[[t[0],t[3]],[t[2],t[3]],[t[2],t[1]],[t[0],t[1]]]}var gx=Object.defineProperty,vx=Object.defineProperties,Ex=Object.getOwnPropertyDescriptors,e_=Object.getOwnPropertySymbols,xx=Object.prototype.hasOwnProperty,Px=Object.prototype.propertyIsEnumerable,t_=(e,t,r)=>t in e?gx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,r_=(e,t)=>{for(var r in t||(t={}))xx.call(t,r)&&t_(e,r,t[r]);if(e_)for(var r of e_(t))Px.call(t,r)&&t_(e,r,t[r]);return e},o_=(e,t)=>vx(e,Ex(t));function _8(e,t){const{x:r,y:i,x1:s,y1:u,coordinates:n,geometry:h}=t,m=[];if(!Array.isArray(e))return{dataArray:[]};if(h)return e.filter(g=>g[h]&&g[h].type&&g[h].coordinates&&g[h].coordinates.length>0).forEach((g,x)=>{const b=h2(g[h]);Yg(b,F=>{const R=Xg(F),I=o_(r_({},g),{_id:x,coordinates:R});m.push(I)})}),{dataArray:m};for(let g=0;gt in e?Ax(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Cx=(e,t)=>{for(var r in t||(t={}))Sx.call(t,r)&&n_(e,r,t[r]);if(i_)for(var r of i_(t))Rx.call(t,r)&&n_(e,r,t[r]);return e},Ix=(e,t)=>Fx(e,Tx(t));function Mx(e){const t=e.toString();let r=5381,i=t.length;for(;i;)r=r*33^t.charCodeAt(--i);return r>>>0}function Nx(e,t){return t===void 0?null:typeof(e.properties[t]*1)=="number"?e.properties[t]*1:e.properties&&e.properties[t]?Mx(e.properties[t]+"")%1000019:null}function Dx(e,t){const r=[],i={};return e.features?(e.features=e.features.filter(s=>{const u=s.geometry;return s!=null&&u&&u.type&&u.coordinates&&u.coordinates.length>0}),e=h2(e),e.features.length===0?{dataArray:[],featureKeys:i}:(Yg(e,(s,u)=>{let n=Nx(s,t==null?void 0:t.featureId);n===null&&(n=u);const h=n,m=Xg(s),g=Ix(Cx({},s.properties),{coordinates:m,_id:h});r.push(g)}),{dataArray:r,featureKeys:i})):(e.features=[],{dataArray:[]})}function f2(e,t,r,i){for(var s=i,u=r-t>>1,n=r-t,h,m=e[t],g=e[t+1],x=e[r],b=e[r+1],F=t+3;Fs)h=F,s=R;else if(R===s){var I=Math.abs(F-u);Ii&&(h-t>3&&f2(e,t,h,i),e[h+2]=s,r-h>3&&f2(e,h,r,i))}function Ox(e,t,r,i,s,u){var n=s-r,h=u-i;if(n!==0||h!==0){var m=((e-r)*n+(t-i)*h)/(n*n+h*h);m>1?(r=s,i=u):m>0&&(r+=n*m,i+=h*m)}return n=e-r,h=t-i,n*n+h*h}function hy(e,t,r,i){var s={id:typeof e>"u"?null:e,type:t,geometry:r,tags:i,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return Lx(s),s}function Lx(e){var t=e.geometry,r=e.type;if(r==="Point"||r==="MultiPoint"||r==="LineString")Om(e,t);else if(r==="Polygon"||r==="MultiLineString")for(var i=0;i0&&(i?n+=(s*g-m*u)/2:n+=Math.sqrt(Math.pow(m-s,2)+Math.pow(g-u,2))),s=m,u=g}var x=t.length-3;t[2]=1,f2(t,0,x,r),t[x+2]=1,t.size=Math.abs(n),t.start=0,t.end=t.size}function Lm(e,t,r,i){for(var s=0;s1?1:r}function wc(e,t,r,i,s,u,n,h){if(r/=t,i/=t,u>=r&&n=i)return null;for(var m=[],g=0;g=r&&I=i)continue;var B=[];if(F==="Point"||F==="MultiPoint")Ux(b,B,r,i,s);else if(F==="LineString")E8(b,B,r,i,s,!1,h.lineMetrics);else if(F==="MultiLineString")Bm(b,B,r,i,s,!1);else if(F==="Polygon")Bm(b,B,r,i,s,!0);else if(F==="MultiPolygon")for(var V=0;V=r&&n<=i&&(t.push(e[u]),t.push(e[u+1]),t.push(e[u+2]))}}function E8(e,t,r,i,s,u,n){for(var h=s_(e),m=s===0?kx:zx,g=e.start,x,b,F=0;Fr&&(b=m(h,R,I,V,J,r),n&&(h.start=g+x*b)):Q>i?te=r&&(b=m(h,R,I,V,J,r),ne=!0),te>i&&Q<=i&&(b=m(h,R,I,V,J,i),ne=!0),!u&&ne&&(n&&(h.end=g+x*b),t.push(h),h=s_(e)),n&&(g+=x)}var ue=e.length-3;R=e[ue],I=e[ue+1],B=e[ue+2],Q=s===0?R:I,Q>=r&&Q<=i&&Um(h,R,I,B),ue=h.length-3,u&&ue>=3&&(h[ue]!==h[0]||h[ue+1]!==h[1])&&Um(h,h[0],h[1],h[2]),h.length&&t.push(h)}function s_(e){var t=[];return t.size=e.size,t.start=e.start,t.end=e.end,t}function Bm(e,t,r,i,s,u){for(var n=0;nn.maxX&&(n.maxX=x),b>n.maxY&&(n.maxY=b)}return n}function Gx(e,t,r,i){var s=t.geometry,u=t.type,n=[];if(u==="Point"||u==="MultiPoint")for(var h=0;h0&&t.size<(s?n:i)){r.numPoints+=t.length/3;return}for(var h=[],m=0;mn)&&(r.numSimplified++,h.push(t[m]),h.push(t[m+1])),r.numPoints++;s&&jx(h,u),e.push(h)}function jx(e,t){for(var r=0,i=0,s=e.length,u=s-2;i0===t)for(i=0,s=e.length;i24)throw new Error("maxZoom should be in the 0-24 range");if(t.promoteId&&t.generateId)throw new Error("promoteId and generateId cannot be used together.");var i=Bx(e,t);this.tiles={},this.tileCoords=[],r&&(console.timeEnd("preprocess data"),console.log("index: maxZoom: %d, maxPoints: %d",t.indexMaxZoom,t.indexMaxPoints),console.time("generate tiles"),this.stats={},this.total=0),i=Vx(i,t),i.length&&this.splitTile(i,0,0,0),r&&(i.length&&console.log("features: %d, points: %d",this.tiles[0].numFeatures,this.tiles[0].numPoints),console.timeEnd("generate tiles"),console.log("tiles generated:",this.total,JSON.stringify(this.stats)))}Hf.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0};Hf.prototype.splitTile=function(e,t,r,i,s,u,n){for(var h=[e,t,r,i],m=this.options,g=m.debug;h.length;){i=h.pop(),r=h.pop(),t=h.pop(),e=h.pop();var x=1<1&&console.time("creation"),F=this.tiles[b]=Hx(e,t,r,i,m),this.tileCoords.push({z:t,x:r,y:i}),g)){g>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",t,r,i,F.numFeatures,F.numPoints,F.numSimplified),console.timeEnd("creation"));var R="z"+t;this.stats[R]=(this.stats[R]||0)+1,this.total++}if(F.source=e,s){if(t===m.maxZoom||t===s)continue;var I=1<1&&console.time("clipping");var B=.5*m.buffer/m.extent,V=.5-B,J=.5+B,Q=1+B,te,ne,ue,Oe,Ee,He;te=ne=ue=Oe=null,Ee=wc(e,x,r-B,r+J,0,F.minX,F.maxX,m),He=wc(e,x,r+V,r+Q,0,F.minX,F.maxX,m),e=null,Ee&&(te=wc(Ee,x,i-B,i+J,1,F.minY,F.maxY,m),ne=wc(Ee,x,i+V,i+Q,1,F.minY,F.maxY,m),Ee=null),He&&(ue=wc(He,x,i-B,i+J,1,F.minY,F.maxY,m),Oe=wc(He,x,i+V,i+Q,1,F.minY,F.maxY,m),He=null),g>1&&console.timeEnd("clipping"),h.push(te||[],t+1,r*2,i*2),h.push(ne||[],t+1,r*2,i*2+1),h.push(ue||[],t+1,r*2+1,i*2),h.push(Oe||[],t+1,r*2+1,i*2+1)}}};Hf.prototype.getTile=function(e,t,r){var i=this.options,s=i.extent,u=i.debug;if(e<0||e>24)return null;var n=1<1&&console.log("drilling down to z%d-%d-%d",e,t,r);for(var m=e,g=t,x=r,b;!b&&m>0;)m--,g=Math.floor(g/2),x=Math.floor(x/2),b=this.tiles[_2(m,g,x)];return!b||!b.source?null:(u>1&&console.log("found parent tile z%d-%d-%d",m,g,x),u>1&&console.time("drilling down"),this.splitTile(b.source,m,g,x,e,t,r),u>1&&console.timeEnd("drilling down"),this.tiles[h]?p_(this.tiles[h],s):null)};function _2(e,t,r){return((1<t in e?Zx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,pf=(e,t)=>{for(var r in t||(t={}))qx.call(t,r)&&d_(e,r,t[r]);if(l_)for(var r of l_(t))Kx.call(t,r)&&d_(e,r,t[r]);return e},Qx=(e,t)=>Yx(e,$x(t)),Jx=(e,t,r)=>new Promise((i,s)=>{var u=m=>{try{h(r.next(m))}catch(g){s(g)}},n=m=>{try{h(r.throw(m))}catch(g){s(g)}},h=m=>m.done?i(m.value):Promise.resolve(m.value).then(u,n);h((r=r.apply(e,t)).next())}),eP={tileSize:256,minZoom:0,maxZoom:1/0,zoomOffset:0};function tP(e){let t=0;for(let r=0,i=e.length,s=i-1,u,n;rJx(void 0,null,function*(){return new Promise(s=>{const u=t.getTile(e.z,e.x,e.y),h={layers:{defaultLayer:{features:u?u.features.map(g=>iP(i,r.x,r.y,r.z,g)):[]}}},m=new $d(h,e.x,e.y,e.z);s(m)})});function aP(e){const t={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!0,debug:0};return e===void 0||typeof e.geojsonvtOptions>"u"?t:pf(pf({},t),e.geojsonvtOptions)}function sP(e,t){const r=aP(t),i=r.extent||4096,s=Wx(e,r),u=(h,m)=>nP(m,s,h,i),n=Qx(pf(pf({},eP),t),{getTileData:u});return{data:e,dataArray:[],tilesetOptions:n,isTile:!0}}var uP=Object.defineProperty,pP=Object.defineProperties,cP=Object.getOwnPropertyDescriptors,y_=Object.getOwnPropertySymbols,lP=Object.prototype.hasOwnProperty,dP=Object.prototype.propertyIsEnumerable,h_=(e,t,r)=>t in e?uP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f_=(e,t)=>{for(var r in t||(t={}))lP.call(t,r)&&h_(e,r,t[r]);if(y_)for(var r of y_(t))dP.call(t,r)&&h_(e,r,t[r]);return e},m_=(e,t)=>pP(e,cP(t));function x8(e,t){const{extent:r=[121.168,30.2828,121.384,30.4219],coordinates:i,requestParameters:s={}}=t,u=new Promise(m=>{e instanceof HTMLImageElement||CE(e)?m([e]):yP(e,s,g=>{m(g)})}),n=Iy(i,r);return{originData:e,images:u,_id:1,dataArray:[{_id:0,coordinates:n}]}}function yP(e,t,r){const i=[];if(typeof e=="string")p2(m_(f_({},t),{url:e}),(s,u)=>{u&&(i.push(u),r(i))});else{const s=e.length;let u=0;e.forEach(n=>{p2(m_(f_({},t),{url:n}),(h,m)=>{u++,m&&i.push(m),u===s&&r(i)})})}return x8}var hP=Object.defineProperty,fP=Object.defineProperties,mP=Object.getOwnPropertyDescriptors,__=Object.getOwnPropertySymbols,_P=Object.prototype.hasOwnProperty,gP=Object.prototype.propertyIsEnumerable,g_=(e,t,r)=>t in e?hP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,P8=(e,t)=>{for(var r in t||(t={}))_P.call(t,r)&&g_(e,r,t[r]);if(__)for(var r of __(t))gP.call(t,r)&&g_(e,r,t[r]);return e},b8=(e,t)=>fP(e,mP(t)),vP=(e,t,r)=>new Promise((i,s)=>{var u=m=>{try{h(r.next(m))}catch(g){s(g)}},n=m=>{try{h(r.throw(m))}catch(g){s(g)}},h=m=>m.done?i(m.value):Promise.resolve(m.value).then(u,n);h((r=r.apply(e,t)).next())}),EP=(e,t,r,i)=>vP(void 0,null,function*(){const s={x:t.x,y:t.y,z:t.z},u=R0(e,s);return new Promise(n=>{i?i(s,(h,m)=>{if(h||!m){const g={layers:{defaultLayer:{features:[]}}},x=new $d(g,t.x,t.y,t.z);n(x)}else{const g={layers:{defaultLayer:{features:m.features}}},x=new $d(g,t.x,t.y,t.z);n(x)}}):nE(b8(P8({},r),{url:u}),(h,m)=>{if(h||!m){const g={layers:{defaultLayer:{features:[]}}},x=new $d(g,t.x,t.y,t.z);n(x)}else{const x={layers:{defaultLayer:{features:JSON.parse(m)}}},b=new $d(x,t.x,t.y,t.z);n(b)}})})});function xP(e,t){const r=(s,u)=>EP(e,u,t==null?void 0:t.requestParameters,t.getCustomData),i=b8(P8({},t),{getTileData:r});return{dataArray:[],tilesetOptions:i,isTile:!0}}var PP=C0;function C0(e,t){this.x=e,this.y=t}C0.prototype={clone:function(){return new C0(this.x,this.y)},add:function(e){return this.clone()._add(e)},sub:function(e){return this.clone()._sub(e)},multByPoint:function(e){return this.clone()._multByPoint(e)},divByPoint:function(e){return this.clone()._divByPoint(e)},mult:function(e){return this.clone()._mult(e)},div:function(e){return this.clone()._div(e)},rotate:function(e){return this.clone()._rotate(e)},rotateAround:function(e,t){return this.clone()._rotateAround(e,t)},matMult:function(e){return this.clone()._matMult(e)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(e){return this.x===e.x&&this.y===e.y},dist:function(e){return Math.sqrt(this.distSqr(e))},distSqr:function(e){var t=e.x-this.x,r=e.y-this.y;return t*t+r*r},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(e){return Math.atan2(this.y-e.y,this.x-e.x)},angleWith:function(e){return this.angleWithSep(e.x,e.y)},angleWithSep:function(e,t){return Math.atan2(this.x*t-this.y*e,this.x*e+this.y*t)},_matMult:function(e){var t=e[0]*this.x+e[1]*this.y,r=e[2]*this.x+e[3]*this.y;return this.x=t,this.y=r,this},_add:function(e){return this.x+=e.x,this.y+=e.y,this},_sub:function(e){return this.x-=e.x,this.y-=e.y,this},_mult:function(e){return this.x*=e,this.y*=e,this},_div:function(e){return this.x/=e,this.y/=e,this},_multByPoint:function(e){return this.x*=e.x,this.y*=e.y,this},_divByPoint:function(e){return this.x/=e.x,this.y/=e.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var e=this.y;return this.y=this.x,this.x=-e,this},_rotate:function(e){var t=Math.cos(e),r=Math.sin(e),i=t*this.x-r*this.y,s=r*this.x+t*this.y;return this.x=i,this.y=s,this},_rotateAround:function(e,t){var r=Math.cos(e),i=Math.sin(e),s=t.x+r*(this.x-t.x)-i*(this.y-t.y),u=t.y+i*(this.x-t.x)+r*(this.y-t.y);return this.x=s,this.y=u,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}};C0.convert=function(e){return e instanceof C0?e:Array.isArray(e)?new C0(e[0],e[1]):e};var bP=PP,AP=U0;function U0(e,t,r,i,s){this.properties={},this.extent=r,this.type=0,this._pbf=e,this._geometry=-1,this._keys=i,this._values=s,e.readFields(FP,this,t)}function FP(e,t,r){e==1?t.id=r.readVarint():e==2?TP(r,t):e==3?t.type=r.readVarint():e==4&&(t._geometry=r.pos)}function TP(e,t){for(var r=e.readVarint()+e.pos;e.pos>3}if(i--,r===1||r===2)s+=e.readSVarint(),u+=e.readSVarint(),r===1&&(h&&n.push(h),h=[]),h.push(new bP(s,u));else if(r===7)h&&h.push(h[0].clone());else throw new Error("unknown command "+r)}return h&&n.push(h),n};U0.prototype.bbox=function(){var e=this._pbf;e.pos=this._geometry;for(var t=e.readVarint()+e.pos,r=1,i=0,s=0,u=0,n=1/0,h=-1/0,m=1/0,g=-1/0;e.pos>3}if(i--,r===1||r===2)s+=e.readSVarint(),u+=e.readSVarint(),sh&&(h=s),ug&&(g=u);else if(r!==7)throw new Error("unknown command "+r)}return[n,m,h,g]};U0.prototype.toGeoJSON=function(e,t,r){var i=this.extent*Math.pow(2,r),s=this.extent*e,u=this.extent*t,n=this.loadGeometry(),h=U0.types[this.type],m,g;function x(R){for(var I=0;I>3;t=i===1?e.readString():i===2?e.readFloat():i===3?e.readDouble():i===4?e.readVarint64():i===5?e.readVarint():i===6?e.readSVarint():i===7?e.readBoolean():null}return t}A8.prototype.feature=function(e){if(e<0||e>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[e];var t=this._pbf.readVarint()+this._pbf.pos;return new RP(this._pbf,t,this.extent,this._keys,this._values)};var NP=CP,DP=OP;function OP(e,t){this.layers=e.readFields(LP,{},t)}function LP(e,t,r){if(e===3){var i=new NP(r,r.readVarint()+r.pos);i.length&&(t[i.name]=i)}}var BP=DP,g6={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */g6.read=function(e,t,r,i,s){var u,n,h=s*8-i-1,m=(1<>1,x=-7,b=r?s-1:0,F=r?-1:1,R=e[t+b];for(b+=F,u=R&(1<<-x)-1,R>>=-x,x+=h;x>0;u=u*256+e[t+b],b+=F,x-=8);for(n=u&(1<<-x)-1,u>>=-x,x+=i;x>0;n=n*256+e[t+b],b+=F,x-=8);if(u===0)u=1-g;else{if(u===m)return n?NaN:(R?-1:1)*(1/0);n=n+Math.pow(2,i),u=u-g}return(R?-1:1)*n*Math.pow(2,u-i)};g6.write=function(e,t,r,i,s,u){var n,h,m,g=u*8-s-1,x=(1<>1,F=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,R=i?0:u-1,I=i?1:-1,B=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(h=isNaN(t)?1:0,n=x):(n=Math.floor(Math.log(t)/Math.LN2),t*(m=Math.pow(2,-n))<1&&(n--,m*=2),n+b>=1?t+=F/m:t+=F*Math.pow(2,1-b),t*m>=2&&(n++,m/=2),n+b>=x?(h=0,n=x):n+b>=1?(h=(t*m-1)*Math.pow(2,s),n=n+b):(h=t*Math.pow(2,b-1)*Math.pow(2,s),n=0));s>=8;e[r+R]=h&255,R+=I,h/=256,s-=8);for(n=n<0;e[r+R]=n&255,R+=I,n/=256,g-=8);e[r+R-I]|=B*128};var UP=vi,Ah=g6;function vi(e){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(e)?e:new Uint8Array(e||0),this.pos=0,this.type=0,this.length=this.buf.length}vi.Varint=0;vi.Fixed64=1;vi.Bytes=2;vi.Fixed32=5;var g2=65536*65536,v_=1/g2,kP=12,F8=typeof TextDecoder>"u"?null:new TextDecoder("utf-8");vi.prototype={destroy:function(){this.buf=null},readFields:function(e,t,r){for(r=r||this.length;this.pos>3,u=this.pos;this.type=i&7,e(s,t,this),this.pos===u&&this.skip(i)}return t},readMessage:function(e,t){return this.readFields(e,t,this.readVarint()+this.pos)},readFixed32:function(){var e=Fh(this.buf,this.pos);return this.pos+=4,e},readSFixed32:function(){var e=x_(this.buf,this.pos);return this.pos+=4,e},readFixed64:function(){var e=Fh(this.buf,this.pos)+Fh(this.buf,this.pos+4)*g2;return this.pos+=8,e},readSFixed64:function(){var e=Fh(this.buf,this.pos)+x_(this.buf,this.pos+4)*g2;return this.pos+=8,e},readFloat:function(){var e=Ah.read(this.buf,this.pos,!0,23,4);return this.pos+=4,e},readDouble:function(){var e=Ah.read(this.buf,this.pos,!0,52,8);return this.pos+=8,e},readVarint:function(e){var t=this.buf,r,i;return i=t[this.pos++],r=i&127,i<128||(i=t[this.pos++],r|=(i&127)<<7,i<128)||(i=t[this.pos++],r|=(i&127)<<14,i<128)||(i=t[this.pos++],r|=(i&127)<<21,i<128)?r:(i=t[this.pos],r|=(i&15)<<28,zP(r,e,this))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var e=this.readVarint();return e%2===1?(e+1)/-2:e/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var e=this.readVarint()+this.pos,t=this.pos;return this.pos=e,e-t>=kP&&F8?eb(this.buf,t,e):JP(this.buf,t,e)},readBytes:function(){var e=this.readVarint()+this.pos,t=this.buf.subarray(this.pos,e);return this.pos=e,t},readPackedVarint:function(e,t){if(this.type!==vi.Bytes)return e.push(this.readVarint(t));var r=Tc(this);for(e=e||[];this.pos127;);else if(t===vi.Bytes)this.pos=this.readVarint()+this.pos;else if(t===vi.Fixed32)this.pos+=4;else if(t===vi.Fixed64)this.pos+=8;else throw new Error("Unimplemented type: "+t)},writeTag:function(e,t){this.writeVarint(e<<3|t)},realloc:function(e){for(var t=this.length||16;t268435455||e<0){VP(e,this);return}this.realloc(4),this.buf[this.pos++]=e&127|(e>127?128:0),!(e<=127)&&(this.buf[this.pos++]=(e>>>=7)&127|(e>127?128:0),!(e<=127)&&(this.buf[this.pos++]=(e>>>=7)&127|(e>127?128:0),!(e<=127)&&(this.buf[this.pos++]=e>>>7&127)))},writeSVarint:function(e){this.writeVarint(e<0?-e*2-1:e*2)},writeBoolean:function(e){this.writeVarint(!!e)},writeString:function(e){e=String(e),this.realloc(e.length*4),this.pos++;var t=this.pos;this.pos=tb(this.buf,e,this.pos);var r=this.pos-t;r>=128&&E_(t,r,this),this.pos=t-1,this.writeVarint(r),this.pos+=r},writeFloat:function(e){this.realloc(4),Ah.write(this.buf,e,this.pos,!0,23,4),this.pos+=4},writeDouble:function(e){this.realloc(8),Ah.write(this.buf,e,this.pos,!0,52,8),this.pos+=8},writeBytes:function(e){var t=e.length;this.writeVarint(t),this.realloc(t);for(var r=0;r=128&&E_(r,i,this),this.pos=r-1,this.writeVarint(i),this.pos+=i},writeMessage:function(e,t,r){this.writeTag(e,vi.Bytes),this.writeRawMessage(t,r)},writePackedVarint:function(e,t){t.length&&this.writeMessage(e,jP,t)},writePackedSVarint:function(e,t){t.length&&this.writeMessage(e,WP,t)},writePackedBoolean:function(e,t){t.length&&this.writeMessage(e,YP,t)},writePackedFloat:function(e,t){t.length&&this.writeMessage(e,XP,t)},writePackedDouble:function(e,t){t.length&&this.writeMessage(e,ZP,t)},writePackedFixed32:function(e,t){t.length&&this.writeMessage(e,$P,t)},writePackedSFixed32:function(e,t){t.length&&this.writeMessage(e,qP,t)},writePackedFixed64:function(e,t){t.length&&this.writeMessage(e,KP,t)},writePackedSFixed64:function(e,t){t.length&&this.writeMessage(e,QP,t)},writeBytesField:function(e,t){this.writeTag(e,vi.Bytes),this.writeBytes(t)},writeFixed32Field:function(e,t){this.writeTag(e,vi.Fixed32),this.writeFixed32(t)},writeSFixed32Field:function(e,t){this.writeTag(e,vi.Fixed32),this.writeSFixed32(t)},writeFixed64Field:function(e,t){this.writeTag(e,vi.Fixed64),this.writeFixed64(t)},writeSFixed64Field:function(e,t){this.writeTag(e,vi.Fixed64),this.writeSFixed64(t)},writeVarintField:function(e,t){this.writeTag(e,vi.Varint),this.writeVarint(t)},writeSVarintField:function(e,t){this.writeTag(e,vi.Varint),this.writeSVarint(t)},writeStringField:function(e,t){this.writeTag(e,vi.Bytes),this.writeString(t)},writeFloatField:function(e,t){this.writeTag(e,vi.Fixed32),this.writeFloat(t)},writeDoubleField:function(e,t){this.writeTag(e,vi.Fixed64),this.writeDouble(t)},writeBooleanField:function(e,t){this.writeVarintField(e,!!t)}};function zP(e,t,r){var i=r.buf,s,u;if(u=i[r.pos++],s=(u&112)>>4,u<128||(u=i[r.pos++],s|=(u&127)<<3,u<128)||(u=i[r.pos++],s|=(u&127)<<10,u<128)||(u=i[r.pos++],s|=(u&127)<<17,u<128)||(u=i[r.pos++],s|=(u&127)<<24,u<128)||(u=i[r.pos++],s|=(u&1)<<31,u<128))return p0(e,s,t);throw new Error("Expected varint not more than 10 bytes")}function Tc(e){return e.type===vi.Bytes?e.readVarint()+e.pos:e.pos+1}function p0(e,t,r){return r?t*4294967296+(e>>>0):(t>>>0)*4294967296+(e>>>0)}function VP(e,t){var r,i;if(e>=0?(r=e%4294967296|0,i=e/4294967296|0):(r=~(-e%4294967296),i=~(-e/4294967296),r^4294967295?r=r+1|0:(r=0,i=i+1|0)),e>=18446744073709552e3||e<-18446744073709552e3)throw new Error("Given varint doesn't fit into 10 bytes");t.realloc(10),HP(r,i,t),GP(i,t)}function HP(e,t,r){r.buf[r.pos++]=e&127|128,e>>>=7,r.buf[r.pos++]=e&127|128,e>>>=7,r.buf[r.pos++]=e&127|128,e>>>=7,r.buf[r.pos++]=e&127|128,e>>>=7,r.buf[r.pos]=e&127}function GP(e,t){var r=(e&7)<<4;t.buf[t.pos++]|=r|((e>>>=3)?128:0),e&&(t.buf[t.pos++]=e&127|((e>>>=7)?128:0),e&&(t.buf[t.pos++]=e&127|((e>>>=7)?128:0),e&&(t.buf[t.pos++]=e&127|((e>>>=7)?128:0),e&&(t.buf[t.pos++]=e&127|((e>>>=7)?128:0),e&&(t.buf[t.pos++]=e&127)))))}function E_(e,t,r){var i=t<=16383?1:t<=2097151?2:t<=268435455?3:Math.floor(Math.log(t)/(Math.LN2*7));r.realloc(i);for(var s=r.pos-1;s>=e;s--)r.buf[s+i]=r.buf[s]}function jP(e,t){for(var r=0;r>>8,e[r+2]=t>>>16,e[r+3]=t>>>24}function x_(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16)+(e[t+3]<<24)}function JP(e,t,r){for(var i="",s=t;s239?4:u>223?3:u>191?2:1;if(s+h>r)break;var m,g,x;h===1?u<128&&(n=u):h===2?(m=e[s+1],(m&192)===128&&(n=(u&31)<<6|m&63,n<=127&&(n=null))):h===3?(m=e[s+1],g=e[s+2],(m&192)===128&&(g&192)===128&&(n=(u&15)<<12|(m&63)<<6|g&63,(n<=2047||n>=55296&&n<=57343)&&(n=null))):h===4&&(m=e[s+1],g=e[s+2],x=e[s+3],(m&192)===128&&(g&192)===128&&(x&192)===128&&(n=(u&15)<<18|(m&63)<<12|(g&63)<<6|x&63,(n<=65535||n>=1114112)&&(n=null))),n===null?(n=65533,h=1):n>65535&&(n-=65536,i+=String.fromCharCode(n>>>10&1023|55296),n=56320|n&1023),i+=String.fromCharCode(n),s+=h}return i}function eb(e,t,r){return F8.decode(e.subarray(t,r))}function tb(e,t,r){for(var i=0,s,u;i55295&&s<57344)if(u)if(s<56320){e[r++]=239,e[r++]=191,e[r++]=189,u=s;continue}else s=u-55296<<10|s-56320|65536,u=null;else{s>56319||i+1===t.length?(e[r++]=239,e[r++]=191,e[r++]=189):u=s;continue}else u&&(e[r++]=239,e[r++]=191,e[r++]=189,u=null);s<128?e[r++]=s:(s<2048?e[r++]=s>>6|192:(s<65536?e[r++]=s>>12|224:(e[r++]=s>>18|240,e[r++]=s>>12&63|128),e[r++]=s>>6&63|128),e[r++]=s&63|128)}return r}const rb=gp(UP);var ob=Object.defineProperty,ib=Object.defineProperties,nb=Object.getOwnPropertyDescriptors,P_=Object.getOwnPropertySymbols,ab=Object.prototype.hasOwnProperty,sb=Object.prototype.propertyIsEnumerable,b_=(e,t,r)=>t in e?ob(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,A_=(e,t)=>{for(var r in t||(t={}))ab.call(t,r)&&b_(e,r,t[r]);if(P_)for(var r of P_(t))sb.call(t,r)&&b_(e,r,t[r]);return e},ub=(e,t)=>ib(e,nb(t)),F_=class{constructor(e,t,r,i){this.vectorLayerCache={},this.x=t,this.y=r,this.z=i,this.vectorTile=new BP(new rb(e))}getTileData(e){if(!e||!this.vectorTile.layers[e])return[];if(this.vectorLayerCache[e])return this.vectorLayerCache[e];const t=this.vectorTile.layers[e];if(Array.isArray(t.features))return this.vectorLayerCache[e]=t.features,t.features;const r=[];for(let i=0;it in e?pb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,v2=(e,t)=>{for(var r in t||(t={}))db.call(t,r)&&S_(e,r,t[r]);if(T_)for(var r of T_(t))yb.call(t,r)&&S_(e,r,t[r]);return e},T8=(e,t)=>cb(e,lb(t)),hb=(e,t,r)=>new Promise((i,s)=>{var u=m=>{try{h(r.next(m))}catch(g){s(g)}},n=m=>{try{h(r.throw(m))}catch(g){s(g)}},h=m=>m.done?i(m.value):Promise.resolve(m.value).then(u,n);h((r=r.apply(e,t)).next())}),fb={tileSize:256,minZoom:0,maxZoom:1/0,zoomOffset:0,warp:!0},mb=(e,t,r,i,s)=>hb(void 0,null,function*(){const u=R0(e,t);return new Promise(n=>{if(s)s({x:r.x,y:r.y,z:r.z},(h,m)=>{if(h||!m)n(void 0);else{const g=new F_(m,r.x,r.y,r.z);n(g)}});else{const h=c6(T8(v2({},i),{url:u}),(m,g)=>{if(m||!g)n(void 0);else{const x=new F_(g,r.x,r.y,r.z);n(x)}});r.xhrCancel=()=>h.cancel()}})});function _b(e,t){const r=Array.isArray(e)?e[0]:e,i=(u,n)=>mb(r,u,n,t==null?void 0:t.requestParameters,t==null?void 0:t.getCustomData),s=T8(v2(v2({},fb),t),{getTileData:i});return{data:r,dataArray:[],tilesetOptions:s,isTile:!0}}function gb(e,t,r){switch(e){case"+":return t+r;case"-":return t-r;case"*":return t*r;case"/":return t/r;case"%":return t%r;case"^":return Math.pow(t,r);case"abs":return Math.abs(t);case"floor":return Math.floor(t);case"round":return Math.round(t);case"ceil":return Math.ceil(t);case"sin":return Math.sin(t);case"cos":return Math.cos(t);case"atan":return r===-1?Math.atan(t):Math.atan2(t,r);case"min":return Math.min(t,r);case"max":return Math.max(t,r);case"log10":return Math.log(t);case"log2":return Math.log2(t);default:return console.warn("Calculate symbol err! Return default 0"),0}}function sy(e,t){const{width:r,height:i}=t[0],s=t.map(m=>m.rasterData),u=r*i,n=[],h=JSON.stringify(e);for(let m=0;m{if(Array.isArray(i)&&i.length>0)switch(i[0]){case"band":try{e[s]=t[i[1]][r]}catch{console.warn("Raster Data err!"),e[s]=0}break;default:S8(i,t,r)}})}function vb(e){const[t,r=-1,i=-1]=e;return t===void 0?(console.warn("Express err!"),["+",0,0]):[t.replace(/\s+/g,""),r,i]}function E2(e){const t=vb(e),r=t[0];let i=t[1],s=t[2];return Array.isArray(i)&&(i=E2(e[1])),Array.isArray(s)&&(s=E2(e[2])),gb(r,i,s)}var Eb={nd:{type:"operation",expression:["/",["-",["band",1],["band",0]],["+",["band",1],["band",0]]]},rgb:{type:"function",method:xb}};function xb(e,t){const r=e[0].rasterData,i=e[1].rasterData,s=e[2].rasterData,u=[],[n,h]=(t==null?void 0:t.countCut)||[2,98],m=(t==null?void 0:t.RMinMax)||I0(r,n,h),g=(t==null?void 0:t.GMinMax)||I0(i,n,h),x=(t==null?void 0:t.BMinMax)||I0(s,n,h);for(let b=0;bh-m),s=i.length,u=i[Math.ceil(s*t/100)],n=i[Math.ceil(s*r/100)];return[u,n]}var Pb=Object.defineProperty,bb=Object.defineProperties,Ab=Object.getOwnPropertyDescriptors,w_=Object.getOwnPropertySymbols,Fb=Object.prototype.hasOwnProperty,Tb=Object.prototype.propertyIsEnumerable,R_=(e,t,r)=>t in e?Pb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Sb=(e,t)=>{for(var r in t||(t={}))Fb.call(t,r)&&R_(e,r,t[r]);if(w_)for(var r of w_(t))Tb.call(t,r)&&R_(e,r,t[r]);return e},wb=(e,t)=>bb(e,Ab(t)),w8=(e,t,r)=>new Promise((i,s)=>{var u=m=>{try{h(r.next(m))}catch(g){s(g)}},n=m=>{try{h(r.throw(m))}catch(g){s(g)}},h=m=>m.done?i(m.value):Promise.resolve(m.value).then(u,n);h((r=r.apply(e,t)).next())});function v6(e,t,r){return w8(this,null,function*(){if(e.length===0)return{rasterData:[0],width:1,heigh:1};const i=yield Promise.all(e.map(({data:m,bands:g=[0]})=>t(m,g))),s=[];i.forEach(m=>{Array.isArray(m)?s.push(...m):s.push(m)});const{width:u,height:n}=s[0];let h;switch(typeof r){case"function":h=r(s);break;case"object":Array.isArray(r)?h={rasterData:sy(r,s)}:h=Rb(r,s);break;default:h={rasterData:s[0].rasterData}}return wb(Sb({},h),{width:u,height:n})})}function Rb(e,t){const r=Eb[e.type];if(r.type==="function")return r.method(t,e==null?void 0:e.options);if(r.type==="operation")return e.type==="rgb"?Cb(r.expression,t):{rasterData:sy(r.expression,t)}}function Cb(e,t){e.r===void 0&&console.warn("Channel R lost in Operation! Use band[0] to fill!"),e.g===void 0&&console.warn("Channel G lost in Operation! Use band[0] to fill!"),e.b===void 0&&console.warn("Channel B lost in Operation! Use band[0] to fill!");const r=sy(e.r||["band",0],t),i=sy(e.g||["band",0],t),s=sy(e.b||["band",0],t);return[r,i,s]}function x2(e,t,r,i){return w8(this,null,function*(){const s=yield v6(e,t,r);i(null,{data:s})})}function Ib(e,t){const{extent:r=[121.168,30.2828,121.384,30.4219],coordinates:i,width:s,height:u,min:n,max:h,format:m,operation:g}=t;let x,b,F;if(m===void 0||m8(e))x=Array.from(e),b=s,F=u;else{const B=Array.isArray(e)?e:[e];x=v6(B,m,g)}const R=Iy(i,r);return{_id:1,dataArray:[{_id:1,data:x,width:b,height:F,min:n,max:h,coordinates:R}]}}let My=function(e){return e.Normal="normal",e.PostProcessing="post-processing",e}({}),L=function(e){return e[e.DEPTH_BUFFER_BIT=256]="DEPTH_BUFFER_BIT",e[e.STENCIL_BUFFER_BIT=1024]="STENCIL_BUFFER_BIT",e[e.COLOR_BUFFER_BIT=16384]="COLOR_BUFFER_BIT",e[e.POINTS=0]="POINTS",e[e.LINES=1]="LINES",e[e.LINE_LOOP=2]="LINE_LOOP",e[e.LINE_STRIP=3]="LINE_STRIP",e[e.TRIANGLES=4]="TRIANGLES",e[e.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",e[e.TRIANGLE_FAN=6]="TRIANGLE_FAN",e[e.ZERO=0]="ZERO",e[e.ONE=1]="ONE",e[e.SRC_COLOR=768]="SRC_COLOR",e[e.ONE_MINUS_SRC_COLOR=769]="ONE_MINUS_SRC_COLOR",e[e.SRC_ALPHA=770]="SRC_ALPHA",e[e.ONE_MINUS_SRC_ALPHA=771]="ONE_MINUS_SRC_ALPHA",e[e.DST_ALPHA=772]="DST_ALPHA",e[e.ONE_MINUS_DST_ALPHA=773]="ONE_MINUS_DST_ALPHA",e[e.DST_COLOR=774]="DST_COLOR",e[e.ONE_MINUS_DST_COLOR=775]="ONE_MINUS_DST_COLOR",e[e.SRC_ALPHA_SATURATE=776]="SRC_ALPHA_SATURATE",e[e.FUNC_ADD=32774]="FUNC_ADD",e[e.BLEND_EQUATION=32777]="BLEND_EQUATION",e[e.BLEND_EQUATION_RGB=32777]="BLEND_EQUATION_RGB",e[e.BLEND_EQUATION_ALPHA=34877]="BLEND_EQUATION_ALPHA",e[e.FUNC_SUBTRACT=32778]="FUNC_SUBTRACT",e[e.FUNC_REVERSE_SUBTRACT=32779]="FUNC_REVERSE_SUBTRACT",e[e.MAX_EXT=32776]="MAX_EXT",e[e.MIN_EXT=32775]="MIN_EXT",e[e.BLEND_DST_RGB=32968]="BLEND_DST_RGB",e[e.BLEND_SRC_RGB=32969]="BLEND_SRC_RGB",e[e.BLEND_DST_ALPHA=32970]="BLEND_DST_ALPHA",e[e.BLEND_SRC_ALPHA=32971]="BLEND_SRC_ALPHA",e[e.CONSTANT_COLOR=32769]="CONSTANT_COLOR",e[e.ONE_MINUS_CONSTANT_COLOR=32770]="ONE_MINUS_CONSTANT_COLOR",e[e.CONSTANT_ALPHA=32771]="CONSTANT_ALPHA",e[e.ONE_MINUS_CONSTANT_ALPHA=32772]="ONE_MINUS_CONSTANT_ALPHA",e[e.BLEND_COLOR=32773]="BLEND_COLOR",e[e.ARRAY_BUFFER=34962]="ARRAY_BUFFER",e[e.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",e[e.ARRAY_BUFFER_BINDING=34964]="ARRAY_BUFFER_BINDING",e[e.ELEMENT_ARRAY_BUFFER_BINDING=34965]="ELEMENT_ARRAY_BUFFER_BINDING",e[e.STREAM_DRAW=35040]="STREAM_DRAW",e[e.STATIC_DRAW=35044]="STATIC_DRAW",e[e.DYNAMIC_DRAW=35048]="DYNAMIC_DRAW",e[e.BUFFER_SIZE=34660]="BUFFER_SIZE",e[e.BUFFER_USAGE=34661]="BUFFER_USAGE",e[e.CURRENT_VERTEX_ATTRIB=34342]="CURRENT_VERTEX_ATTRIB",e[e.FRONT=1028]="FRONT",e[e.BACK=1029]="BACK",e[e.FRONT_AND_BACK=1032]="FRONT_AND_BACK",e[e.CULL_FACE=2884]="CULL_FACE",e[e.BLEND=3042]="BLEND",e[e.DITHER=3024]="DITHER",e[e.STENCIL_TEST=2960]="STENCIL_TEST",e[e.DEPTH_TEST=2929]="DEPTH_TEST",e[e.SCISSOR_TEST=3089]="SCISSOR_TEST",e[e.POLYGON_OFFSET_FILL=32823]="POLYGON_OFFSET_FILL",e[e.SAMPLE_ALPHA_TO_COVERAGE=32926]="SAMPLE_ALPHA_TO_COVERAGE",e[e.SAMPLE_COVERAGE=32928]="SAMPLE_COVERAGE",e[e.NO_ERROR=0]="NO_ERROR",e[e.INVALID_ENUM=1280]="INVALID_ENUM",e[e.INVALID_VALUE=1281]="INVALID_VALUE",e[e.INVALID_OPERATION=1282]="INVALID_OPERATION",e[e.OUT_OF_MEMORY=1285]="OUT_OF_MEMORY",e[e.CW=2304]="CW",e[e.CCW=2305]="CCW",e[e.LINE_WIDTH=2849]="LINE_WIDTH",e[e.ALIASED_POINT_SIZE_RANGE=33901]="ALIASED_POINT_SIZE_RANGE",e[e.ALIASED_LINE_WIDTH_RANGE=33902]="ALIASED_LINE_WIDTH_RANGE",e[e.CULL_FACE_MODE=2885]="CULL_FACE_MODE",e[e.FRONT_FACE=2886]="FRONT_FACE",e[e.DEPTH_RANGE=2928]="DEPTH_RANGE",e[e.DEPTH_WRITEMASK=2930]="DEPTH_WRITEMASK",e[e.DEPTH_CLEAR_VALUE=2931]="DEPTH_CLEAR_VALUE",e[e.DEPTH_FUNC=2932]="DEPTH_FUNC",e[e.STENCIL_CLEAR_VALUE=2961]="STENCIL_CLEAR_VALUE",e[e.STENCIL_FUNC=2962]="STENCIL_FUNC",e[e.STENCIL_FAIL=2964]="STENCIL_FAIL",e[e.STENCIL_PASS_DEPTH_FAIL=2965]="STENCIL_PASS_DEPTH_FAIL",e[e.STENCIL_PASS_DEPTH_PASS=2966]="STENCIL_PASS_DEPTH_PASS",e[e.STENCIL_REF=2967]="STENCIL_REF",e[e.STENCIL_VALUE_MASK=2963]="STENCIL_VALUE_MASK",e[e.STENCIL_WRITEMASK=2968]="STENCIL_WRITEMASK",e[e.STENCIL_BACK_FUNC=34816]="STENCIL_BACK_FUNC",e[e.STENCIL_BACK_FAIL=34817]="STENCIL_BACK_FAIL",e[e.STENCIL_BACK_PASS_DEPTH_FAIL=34818]="STENCIL_BACK_PASS_DEPTH_FAIL",e[e.STENCIL_BACK_PASS_DEPTH_PASS=34819]="STENCIL_BACK_PASS_DEPTH_PASS",e[e.STENCIL_BACK_REF=36003]="STENCIL_BACK_REF",e[e.STENCIL_BACK_VALUE_MASK=36004]="STENCIL_BACK_VALUE_MASK",e[e.STENCIL_BACK_WRITEMASK=36005]="STENCIL_BACK_WRITEMASK",e[e.VIEWPORT=2978]="VIEWPORT",e[e.SCISSOR_BOX=3088]="SCISSOR_BOX",e[e.COLOR_CLEAR_VALUE=3106]="COLOR_CLEAR_VALUE",e[e.COLOR_WRITEMASK=3107]="COLOR_WRITEMASK",e[e.UNPACK_ALIGNMENT=3317]="UNPACK_ALIGNMENT",e[e.PACK_ALIGNMENT=3333]="PACK_ALIGNMENT",e[e.MAX_TEXTURE_SIZE=3379]="MAX_TEXTURE_SIZE",e[e.MAX_VIEWPORT_DIMS=3386]="MAX_VIEWPORT_DIMS",e[e.SUBPIXEL_BITS=3408]="SUBPIXEL_BITS",e[e.RED_BITS=3410]="RED_BITS",e[e.GREEN_BITS=3411]="GREEN_BITS",e[e.BLUE_BITS=3412]="BLUE_BITS",e[e.ALPHA_BITS=3413]="ALPHA_BITS",e[e.DEPTH_BITS=3414]="DEPTH_BITS",e[e.STENCIL_BITS=3415]="STENCIL_BITS",e[e.POLYGON_OFFSET_UNITS=10752]="POLYGON_OFFSET_UNITS",e[e.POLYGON_OFFSET_FACTOR=32824]="POLYGON_OFFSET_FACTOR",e[e.TEXTURE_BINDING_2D=32873]="TEXTURE_BINDING_2D",e[e.SAMPLE_BUFFERS=32936]="SAMPLE_BUFFERS",e[e.SAMPLES=32937]="SAMPLES",e[e.SAMPLE_COVERAGE_VALUE=32938]="SAMPLE_COVERAGE_VALUE",e[e.SAMPLE_COVERAGE_INVERT=32939]="SAMPLE_COVERAGE_INVERT",e[e.COMPRESSED_TEXTURE_FORMATS=34467]="COMPRESSED_TEXTURE_FORMATS",e[e.DONT_CARE=4352]="DONT_CARE",e[e.FASTEST=4353]="FASTEST",e[e.NICEST=4354]="NICEST",e[e.GENERATE_MIPMAP_HINT=33170]="GENERATE_MIPMAP_HINT",e[e.BYTE=5120]="BYTE",e[e.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",e[e.SHORT=5122]="SHORT",e[e.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",e[e.INT=5124]="INT",e[e.UNSIGNED_INT=5125]="UNSIGNED_INT",e[e.FLOAT=5126]="FLOAT",e[e.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",e[e.ALPHA=6406]="ALPHA",e[e.RGB=6407]="RGB",e[e.RGBA=6408]="RGBA",e[e.LUMINANCE=6409]="LUMINANCE",e[e.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",e[e.RED=6403]="RED",e[e.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",e[e.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",e[e.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",e[e.FRAGMENT_SHADER=35632]="FRAGMENT_SHADER",e[e.VERTEX_SHADER=35633]="VERTEX_SHADER",e[e.MAX_VERTEX_ATTRIBS=34921]="MAX_VERTEX_ATTRIBS",e[e.MAX_VERTEX_UNIFORM_VECTORS=36347]="MAX_VERTEX_UNIFORM_VECTORS",e[e.MAX_VARYING_VECTORS=36348]="MAX_VARYING_VECTORS",e[e.MAX_COMBINED_TEXTURE_IMAGE_UNITS=35661]="MAX_COMBINED_TEXTURE_IMAGE_UNITS",e[e.MAX_VERTEX_TEXTURE_IMAGE_UNITS=35660]="MAX_VERTEX_TEXTURE_IMAGE_UNITS",e[e.MAX_TEXTURE_IMAGE_UNITS=34930]="MAX_TEXTURE_IMAGE_UNITS",e[e.MAX_FRAGMENT_UNIFORM_VECTORS=36349]="MAX_FRAGMENT_UNIFORM_VECTORS",e[e.SHADER_TYPE=35663]="SHADER_TYPE",e[e.DELETE_STATUS=35712]="DELETE_STATUS",e[e.LINK_STATUS=35714]="LINK_STATUS",e[e.VALIDATE_STATUS=35715]="VALIDATE_STATUS",e[e.ATTACHED_SHADERS=35717]="ATTACHED_SHADERS",e[e.ACTIVE_UNIFORMS=35718]="ACTIVE_UNIFORMS",e[e.ACTIVE_ATTRIBUTES=35721]="ACTIVE_ATTRIBUTES",e[e.SHADING_LANGUAGE_VERSION=35724]="SHADING_LANGUAGE_VERSION",e[e.CURRENT_PROGRAM=35725]="CURRENT_PROGRAM",e[e.NEVER=512]="NEVER",e[e.LESS=513]="LESS",e[e.EQUAL=514]="EQUAL",e[e.LEQUAL=515]="LEQUAL",e[e.GREATER=516]="GREATER",e[e.NOTEQUAL=517]="NOTEQUAL",e[e.GEQUAL=518]="GEQUAL",e[e.ALWAYS=519]="ALWAYS",e[e.KEEP=7680]="KEEP",e[e.REPLACE=7681]="REPLACE",e[e.INCR=7682]="INCR",e[e.DECR=7683]="DECR",e[e.INVERT=5386]="INVERT",e[e.INCR_WRAP=34055]="INCR_WRAP",e[e.DECR_WRAP=34056]="DECR_WRAP",e[e.VENDOR=7936]="VENDOR",e[e.RENDERER=7937]="RENDERER",e[e.VERSION=7938]="VERSION",e[e.NEAREST=9728]="NEAREST",e[e.LINEAR=9729]="LINEAR",e[e.NEAREST_MIPMAP_NEAREST=9984]="NEAREST_MIPMAP_NEAREST",e[e.LINEAR_MIPMAP_NEAREST=9985]="LINEAR_MIPMAP_NEAREST",e[e.NEAREST_MIPMAP_LINEAR=9986]="NEAREST_MIPMAP_LINEAR",e[e.LINEAR_MIPMAP_LINEAR=9987]="LINEAR_MIPMAP_LINEAR",e[e.TEXTURE_MAG_FILTER=10240]="TEXTURE_MAG_FILTER",e[e.TEXTURE_MIN_FILTER=10241]="TEXTURE_MIN_FILTER",e[e.TEXTURE_WRAP_S=10242]="TEXTURE_WRAP_S",e[e.TEXTURE_WRAP_T=10243]="TEXTURE_WRAP_T",e[e.TEXTURE_2D=3553]="TEXTURE_2D",e[e.TEXTURE=5890]="TEXTURE",e[e.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",e[e.TEXTURE_BINDING_CUBE_MAP=34068]="TEXTURE_BINDING_CUBE_MAP",e[e.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",e[e.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",e[e.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",e[e.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",e[e.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",e[e.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z",e[e.MAX_CUBE_MAP_TEXTURE_SIZE=34076]="MAX_CUBE_MAP_TEXTURE_SIZE",e[e.TEXTURE0=33984]="TEXTURE0",e[e.TEXTURE1=33985]="TEXTURE1",e[e.TEXTURE2=33986]="TEXTURE2",e[e.TEXTURE3=33987]="TEXTURE3",e[e.TEXTURE4=33988]="TEXTURE4",e[e.TEXTURE5=33989]="TEXTURE5",e[e.TEXTURE6=33990]="TEXTURE6",e[e.TEXTURE7=33991]="TEXTURE7",e[e.TEXTURE8=33992]="TEXTURE8",e[e.TEXTURE9=33993]="TEXTURE9",e[e.TEXTURE10=33994]="TEXTURE10",e[e.TEXTURE11=33995]="TEXTURE11",e[e.TEXTURE12=33996]="TEXTURE12",e[e.TEXTURE13=33997]="TEXTURE13",e[e.TEXTURE14=33998]="TEXTURE14",e[e.TEXTURE15=33999]="TEXTURE15",e[e.TEXTURE16=34e3]="TEXTURE16",e[e.TEXTURE17=34001]="TEXTURE17",e[e.TEXTURE18=34002]="TEXTURE18",e[e.TEXTURE19=34003]="TEXTURE19",e[e.TEXTURE20=34004]="TEXTURE20",e[e.TEXTURE21=34005]="TEXTURE21",e[e.TEXTURE22=34006]="TEXTURE22",e[e.TEXTURE23=34007]="TEXTURE23",e[e.TEXTURE24=34008]="TEXTURE24",e[e.TEXTURE25=34009]="TEXTURE25",e[e.TEXTURE26=34010]="TEXTURE26",e[e.TEXTURE27=34011]="TEXTURE27",e[e.TEXTURE28=34012]="TEXTURE28",e[e.TEXTURE29=34013]="TEXTURE29",e[e.TEXTURE30=34014]="TEXTURE30",e[e.TEXTURE31=34015]="TEXTURE31",e[e.ACTIVE_TEXTURE=34016]="ACTIVE_TEXTURE",e[e.REPEAT=10497]="REPEAT",e[e.CLAMP_TO_EDGE=33071]="CLAMP_TO_EDGE",e[e.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT",e[e.FLOAT_VEC2=35664]="FLOAT_VEC2",e[e.FLOAT_VEC3=35665]="FLOAT_VEC3",e[e.FLOAT_VEC4=35666]="FLOAT_VEC4",e[e.INT_VEC2=35667]="INT_VEC2",e[e.INT_VEC3=35668]="INT_VEC3",e[e.INT_VEC4=35669]="INT_VEC4",e[e.BOOL=35670]="BOOL",e[e.BOOL_VEC2=35671]="BOOL_VEC2",e[e.BOOL_VEC3=35672]="BOOL_VEC3",e[e.BOOL_VEC4=35673]="BOOL_VEC4",e[e.FLOAT_MAT2=35674]="FLOAT_MAT2",e[e.FLOAT_MAT3=35675]="FLOAT_MAT3",e[e.FLOAT_MAT4=35676]="FLOAT_MAT4",e[e.SAMPLER_2D=35678]="SAMPLER_2D",e[e.SAMPLER_CUBE=35680]="SAMPLER_CUBE",e[e.VERTEX_ATTRIB_ARRAY_ENABLED=34338]="VERTEX_ATTRIB_ARRAY_ENABLED",e[e.VERTEX_ATTRIB_ARRAY_SIZE=34339]="VERTEX_ATTRIB_ARRAY_SIZE",e[e.VERTEX_ATTRIB_ARRAY_STRIDE=34340]="VERTEX_ATTRIB_ARRAY_STRIDE",e[e.VERTEX_ATTRIB_ARRAY_TYPE=34341]="VERTEX_ATTRIB_ARRAY_TYPE",e[e.VERTEX_ATTRIB_ARRAY_NORMALIZED=34922]="VERTEX_ATTRIB_ARRAY_NORMALIZED",e[e.VERTEX_ATTRIB_ARRAY_POINTER=34373]="VERTEX_ATTRIB_ARRAY_POINTER",e[e.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING=34975]="VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",e[e.COMPILE_STATUS=35713]="COMPILE_STATUS",e[e.LOW_FLOAT=36336]="LOW_FLOAT",e[e.MEDIUM_FLOAT=36337]="MEDIUM_FLOAT",e[e.HIGH_FLOAT=36338]="HIGH_FLOAT",e[e.LOW_INT=36339]="LOW_INT",e[e.MEDIUM_INT=36340]="MEDIUM_INT",e[e.HIGH_INT=36341]="HIGH_INT",e[e.FRAMEBUFFER=36160]="FRAMEBUFFER",e[e.RENDERBUFFER=36161]="RENDERBUFFER",e[e.RGBA4=32854]="RGBA4",e[e.RGB5_A1=32855]="RGB5_A1",e[e.RGB565=36194]="RGB565",e[e.DEPTH_COMPONENT16=33189]="DEPTH_COMPONENT16",e[e.STENCIL_INDEX=6401]="STENCIL_INDEX",e[e.STENCIL_INDEX8=36168]="STENCIL_INDEX8",e[e.DEPTH_STENCIL=34041]="DEPTH_STENCIL",e[e.RENDERBUFFER_WIDTH=36162]="RENDERBUFFER_WIDTH",e[e.RENDERBUFFER_HEIGHT=36163]="RENDERBUFFER_HEIGHT",e[e.RENDERBUFFER_INTERNAL_FORMAT=36164]="RENDERBUFFER_INTERNAL_FORMAT",e[e.RENDERBUFFER_RED_SIZE=36176]="RENDERBUFFER_RED_SIZE",e[e.RENDERBUFFER_GREEN_SIZE=36177]="RENDERBUFFER_GREEN_SIZE",e[e.RENDERBUFFER_BLUE_SIZE=36178]="RENDERBUFFER_BLUE_SIZE",e[e.RENDERBUFFER_ALPHA_SIZE=36179]="RENDERBUFFER_ALPHA_SIZE",e[e.RENDERBUFFER_DEPTH_SIZE=36180]="RENDERBUFFER_DEPTH_SIZE",e[e.RENDERBUFFER_STENCIL_SIZE=36181]="RENDERBUFFER_STENCIL_SIZE",e[e.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE=36048]="FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",e[e.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME=36049]="FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",e[e.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL=36050]="FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",e[e.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE=36051]="FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",e[e.COLOR_ATTACHMENT0=36064]="COLOR_ATTACHMENT0",e[e.DEPTH_ATTACHMENT=36096]="DEPTH_ATTACHMENT",e[e.STENCIL_ATTACHMENT=36128]="STENCIL_ATTACHMENT",e[e.DEPTH_STENCIL_ATTACHMENT=33306]="DEPTH_STENCIL_ATTACHMENT",e[e.NONE=0]="NONE",e[e.FRAMEBUFFER_COMPLETE=36053]="FRAMEBUFFER_COMPLETE",e[e.FRAMEBUFFER_INCOMPLETE_ATTACHMENT=36054]="FRAMEBUFFER_INCOMPLETE_ATTACHMENT",e[e.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT=36055]="FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",e[e.FRAMEBUFFER_INCOMPLETE_DIMENSIONS=36057]="FRAMEBUFFER_INCOMPLETE_DIMENSIONS",e[e.FRAMEBUFFER_UNSUPPORTED=36061]="FRAMEBUFFER_UNSUPPORTED",e[e.FRAMEBUFFER_BINDING=36006]="FRAMEBUFFER_BINDING",e[e.RENDERBUFFER_BINDING=36007]="RENDERBUFFER_BINDING",e[e.MAX_RENDERBUFFER_SIZE=34024]="MAX_RENDERBUFFER_SIZE",e[e.INVALID_FRAMEBUFFER_OPERATION=1286]="INVALID_FRAMEBUFFER_OPERATION",e[e.UNPACK_FLIP_Y_WEBGL=37440]="UNPACK_FLIP_Y_WEBGL",e[e.UNPACK_PREMULTIPLY_ALPHA_WEBGL=37441]="UNPACK_PREMULTIPLY_ALPHA_WEBGL",e[e.CONTEXT_LOST_WEBGL=37442]="CONTEXT_LOST_WEBGL",e[e.UNPACK_COLORSPACE_CONVERSION_WEBGL=37443]="UNPACK_COLORSPACE_CONVERSION_WEBGL",e[e.BROWSER_DEFAULT_WEBGL=37444]="BROWSER_DEFAULT_WEBGL",e}({});const Mb=`attribute vec2 a_Position; + +varying vec2 v_UV; + +void main() { + v_UV = 0.5 * (a_Position + 1.0); + gl_Position = vec4(a_Position, 0., 1.); +}`,{camelCase:Nb,isNil:Db,upperFirst:Ob}=Qn;class Nc{constructor(){H(this,"shaderModuleService",void 0),H(this,"rendererService",void 0),H(this,"config",void 0),H(this,"quad",Mb),H(this,"enabled",!0),H(this,"renderToScreen",!1),H(this,"model",void 0),H(this,"name",void 0),H(this,"optionsToUpdate",{})}getName(){return this.name}setName(t){this.name=t}getType(){return My.PostProcessing}init(t,r){this.config=r,this.rendererService=t.getContainer().rendererService,this.shaderModuleService=t.getContainer().shaderModuleService;const{createAttribute:i,createBuffer:s,createModel:u}=this.rendererService,{vs:n,fs:h,uniforms:m}=this.setupShaders();this.model=u({vs:n,fs:h,attributes:{a_Position:i({buffer:s({data:[-4,-4,4,-4,0,4],type:L.FLOAT}),size:2})},uniforms:_t(_t({u_Texture:null},m),this.config&&this.convertOptionsToUniforms(this.config)),depth:{enable:!1},count:3,blend:{enable:this.getName()==="copy"}})}render(t,r){const i=t.multiPassRenderer.getPostProcessor(),{useFramebuffer:s,getViewportSize:u,clear:n}=this.rendererService,{width:h,height:m}=u();s(this.renderToScreen?null:i.getWriteFBO(),()=>{n({framebuffer:i.getWriteFBO(),color:[0,0,0,0],depth:1,stencil:0});const g=_t({u_BloomFinal:0,u_Texture:i.getReadFBO(),u_ViewportSize:[h,m]},this.convertOptionsToUniforms(this.optionsToUpdate));r&&(g.u_BloomFinal=1,g.u_Texture2=r),this.model.draw({uniforms:g})})}isEnabled(){return this.enabled}setEnabled(t){this.enabled=t}setRenderToScreen(t){this.renderToScreen=t}updateOptions(t){this.optionsToUpdate=_t(_t({},this.optionsToUpdate),t)}setupShaders(){throw new Error("Method not implemented.")}convertOptionsToUniforms(t){const r={};return Object.keys(t).forEach(i=>{Db(t[i])||(r[`u_${Ob(Nb(i))}`]=t[i])}),r}}function Lb(e){let t=0;switch(e){case"vec2":case"ivec2":t=2;break;case"vec3":case"ivec3":t=3;break;case"vec4":case"ivec4":case"mat2":t=4;break;case"mat3":t=9;break;case"mat4":t=16;break}return t}const R8=/uniform\s+(bool|float|int|vec2|vec3|vec4|ivec2|ivec3|ivec4|mat2|mat3|mat4|sampler2D|samplerCube)\s+([\s\S]*?);/g;function C_(e,t=!1){const r={};return e=e.replace(R8,(i,s,u)=>{const n=u.split(":"),h=n[0].trim();let m="";switch(n.length>1&&(m=n[1].trim()),s){case"bool":m=m==="true";break;case"float":case"int":m=Number(m);break;case"vec2":case"vec3":case"vec4":case"ivec2":case"ivec3":case"ivec4":case"mat2":case"mat3":case"mat4":m?m=m.replace("[","").replace("]","").split(",").reduce((g,x)=>(g.push(Number(x.trim())),g),[]):m=new Array(Lb(s)).fill(0);break}return r[h]=m,`${t?"uniform ":""}${s} ${h}; +`}),{content:e,uniforms:r}}function Vm(e){let{content:t,uniforms:r}=C_(e,!0);return t=t.replace(/(\s*uniform\s*.*\s*){((?:\s*.*\s*)*?)};/g,(i,s,u)=>{u=u.trim().replace(/^.*$/gm,m=>`uniform ${m}`);const{content:n,uniforms:h}=C_(u);return Object.assign(r,h),`${s}{ +${n} +};`}),{content:t,uniforms:r}}function I_(e){const t={};return e.replace(R8,(r,i,s)=>{const u=s.trim();return t[u]?"":(t[u]=!0,`uniform ${i} ${u}; +`)})}const a1={ProjectionMatrix:"u_ProjectionMatrix",ViewMatrix:"u_ViewMatrix",ViewProjectionMatrix:"u_ViewProjectionMatrix",Zoom:"u_Zoom",ZoomScale:"u_ZoomScale",FocalDistance:"u_FocalDistance",CameraPosition:"u_CameraPosition"};let cf=function(e){return e.TOPRIGHT="topright",e.TOPLEFT="topleft",e.BOTTOMRIGHT="bottomright",e.BOTTOMLEFT="bottomleft",e.TOPCENTER="topcenter",e.BOTTOMCENTER="bottomcenter",e.LEFTCENTER="leftcenter",e.RIGHTCENTER="rightcenter",e.LEFTTOP="lefttop",e.RIGHTTOP="righttop",e.LEFTBOTTOM="leftbottom",e.RIGHTBOTTOM="rightbottom",e}({}),lf=function(e){return e[e.LNGLAT=1]="LNGLAT",e[e.LNGLAT_OFFSET=2]="LNGLAT_OFFSET",e[e.VECTOR_TILE=3]="VECTOR_TILE",e[e.IDENTITY=4]="IDENTITY",e[e.METER_OFFSET=5]="METER_OFFSET",e}({});const l0={CoordinateSystem:"u_CoordinateSystem",ViewportCenter:"u_ViewportCenter",ViewportCenterProjection:"u_ViewportCenterProjection",PixelsPerDegree:"u_PixelsPerDegree",PixelsPerDegree2:"u_PixelsPerDegree2",PixelsPerMeter:"u_PixelsPerMeter"};var Ea={MapInitStart:"mapInitStart",LayerInitStart:"layerInitStart",LayerInitEnd:"layerInitEnd",SourceInitStart:"sourceInitStart",SourceInitEnd:"sourceInitEnd",ScaleInitStart:"scaleInitStart",ScaleInitEnd:"scaleInitEnd",MappingStart:"mappingStart",MappingEnd:"mappingEnd",BuildModelStart:"buildModelStart",BuildModelEnd:"buildModelEnd"};let Us=function(e){return e.Hover="hover",e.Click="click",e.Select="select",e.Active="active",e.Drag="drag",e}({}),_l=function(e){return e.normal="normal",e.additive="additive",e.subtractive="subtractive",e.min="min",e.max="max",e.none="none",e}({}),p1=function(e){return e.MULTIPLE="MULTIPLE",e.SINGLE="SINGLE",e}({}),Gf=function(e){return e.AND="and",e.OR="or",e}({}),Ga=function(e){return e.INIT="init",e.UPDATE="update",e}({}),Ei=function(e){return e.LINEAR="linear",e.SEQUENTIAL="sequential",e.POWER="power",e.LOG="log",e.IDENTITY="identity",e.TIME="time",e.QUANTILE="quantile",e.QUANTIZE="quantize",e.THRESHOLD="threshold",e.CAT="cat",e.DIVERGING="diverging",e.CUSTOM="threshold",e}({}),d0=function(e){return e.CONSTANT="constant",e.VARIABLE="variable",e}({}),br=function(e){return e[e.Attribute=0]="Attribute",e[e.InstancedAttribute=1]="InstancedAttribute",e[e.Uniform=2]="Uniform",e}({});const Bb=["mapload","mapchange","mapAfterFrameChange"];var E6={exports:{}};E6.exports=Ny;E6.exports.default=Ny;var M0=1e20;function Ny(e,t,r,i,s,u){this.fontSize=e||24,this.buffer=t===void 0?3:t,this.cutoff=i||.25,this.fontFamily=s||"sans-serif",this.fontWeight=u||"normal",this.radius=r||8;var n=this.size=this.fontSize+this.buffer*2,h=n+this.buffer*2;this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=n,this.ctx=this.canvas.getContext("2d"),this.ctx.font=this.fontWeight+" "+this.fontSize+"px "+this.fontFamily,this.ctx.textAlign="left",this.ctx.fillStyle="black",this.gridOuter=new Float64Array(h*h),this.gridInner=new Float64Array(h*h),this.f=new Float64Array(h),this.z=new Float64Array(h+1),this.v=new Uint16Array(h),this.useMetrics=this.ctx.measureText("A").actualBoundingBoxLeft!==void 0,this.middle=Math.round(n/2*(navigator.userAgent.indexOf("Gecko/")>=0?1.2:1))}function Ub(e,t,r,i,s,u,n){u.fill(M0,0,t*r),n.fill(0,0,t*r);for(var h=(t-i)/2,m=0;m-1);m++,u[m]=h,n[m]=g,n[m+1]=M0}for(h=0,m=0;h{if(!u[b]){const R=t(b,F);g+Sd>s&&(g=0,m++),u[b]={x:g,y:h+m*Sd,width:Sd,height:Sd,advance:R},g+=Sd}});const x=r+i*2;return{mapping:u,xOffset:g,yOffset:h+m*x,canvasHeight:C8(h+(m+1)*x)}}function Gb(e,t,r){let i=0,s=0,u=0,n=[];const h={};for(const g of e)if(!h[g.id]){const{size:x}=g;i+x+t>r&&(D_(h,n,s),i=0,s=u+s+t,u=0,n=[]),n.push({icon:g,xOffset:i}),i=i+x+t,u=Math.max(u,x)}n.length>0&&D_(h,n,s);const m=C8(u+s+t);return{mapping:h,canvasHeight:m}}function D_(e,t,r){for(const i of t){const{icon:s,xOffset:u}=i;e[s.id]=_t(_t({},s),{},{x:u,y:r,image:s.image,width:s.width,height:s.height})}}function C8(e){return Math.pow(2,Math.ceil(Math.log2(e)))}const jb=Jb(),Wb="sans-serif",Xb="normal",Zb=24,Yb=3,$b=.25,qb=8,O_=1024,Kb=1,L_=1,Qb=3;function Jb(){const e=[];for(let t=32;t<128;t++)e.push(String.fromCharCode(t));return e}function B_(e,t,r,i){e.font=`${i} ${r}px ${t}`,e.fillStyle="black",e.textBaseline="middle"}function U_(e,t){for(let r=0;r{this.iconFontGlyphs[r.name]=r.unicode})}addIconFont(t,r){this.iconFontMap.set(t,r)}getIconFontKey(t){return this.iconFontMap.get(t)||t}getGlyph(t){return this.iconFontGlyphs[t]?String.fromCharCode(parseInt(this.iconFontGlyphs[t],16)):""}setFontOptions(t){this.fontOptions=_t(_t({},this.fontOptions),t),this.key=this.getKey();const r=this.getNewChars(this.key,this.fontOptions.characterSet),i=this.cache.get(this.key);if(i&&r.length===0)return;const s=this.generateFontAtlas(this.key,r,i);this.fontAtlas=s,this.cache.set(this.key,s)}addFontFace(t,r){const i=document.createElement("style");i.type="text/css",i.innerText=` + @font-face{ + font-family: '${t}'; + src: url('${r}') format('woff2'), + url('${r}') format('woff'), + url('${r}') format('truetype'); + }`,i.onload=()=>{if(document.fonts)try{document.fonts.load(`24px ${t}`,"L7text"),document.fonts.ready.then(()=>{this.emit("fontloaded",{fontFamily:t})})}catch(s){console.warn("当前环境不支持 document.fonts !"),console.warn("当前环境不支持 iconfont !"),console.warn(s)}},document.getElementsByTagName("head")[0].appendChild(i)}destroy(){this.cache.clear(),this.iconFontMap.clear()}generateFontAtlas(t,r,i){const{fontFamily:s,fontWeight:u,fontSize:n,buffer:h,sdf:m,radius:g,cutoff:x,iconfont:b}=this.fontOptions;let F=i&&i.data;F||(F=window.document.createElement("canvas"),F.width=O_);const R=F.getContext("2d",{willReadFrequently:!0});B_(R,s,n,u);const{mapping:I,canvasHeight:B,xOffset:V,yOffset:J}=Hb(_t({getFontWidth:te=>R.measureText(te).width,fontHeight:n*L_,buffer:h,characterSet:r,maxCanvasWidth:O_},i&&{mapping:i.mapping,xOffset:i.xOffset,yOffset:i.yOffset})),Q=R.getImageData(0,0,F.width,F.height);if(F.height=B,R.putImageData(Q,0,0),B_(R,s,n,u),m){const te=new Vb(n,h,g,x,s,u),ne=R.getImageData(0,0,te.size,te.size);for(const ue of r){if(b){const Oe=String.fromCharCode(parseInt(ue.replace("&#x","").replace(";",""),16)),Ee=te.draw(Oe);U_(Ee,ne)}else U_(te.draw(ue),ne);R.putImageData(ne,I[ue].x,I[ue].y)}}else for(const te of r)R.fillText(te,I[te].x,I[te].y+n*Kb);return{xOffset:V,yOffset:J,mapping:I,data:F,width:F.width,height:F.height}}getKey(){const{fontFamily:t,fontWeight:r}=this.fontOptions;return`${t}_${r}`}getNewChars(t,r){const i=this.cache.get(t);if(!i)return r;const s=[],u=i.mapping,n=new Set(Object.keys(u));return new Set(r).forEach(m=>{n.has(m)||s.push(m)}),s}}function k_(e,t,r,i,s,u,n){try{var h=e[u](n),m=h.value}catch(g){return void r(g)}h.done?t(m):Promise.resolve(m).then(i,s)}function mt(e){return function(){var t=this,r=arguments;return new Promise(function(i,s){var u=e.apply(t,r);function n(m){k_(u,i,s,n,h,"next",m)}function h(m){k_(u,i,s,n,h,"throw",m)}n(void 0)})}}const tA=3,z_=1024,wd=64;class rA extends yu.EventEmitter{constructor(...t){super(...t),H(this,"canvasHeight",128),H(this,"texture",void 0),H(this,"canvas",void 0),H(this,"iconData",void 0),H(this,"iconMap",void 0),H(this,"ctx",void 0),H(this,"loadingImageCount",0)}isLoading(){return this.loadingImageCount===0}init(){this.iconData=[],this.iconMap={},this.canvas=window.document.createElement("canvas"),this.canvas.width=128,this.canvas.height=128,this.ctx=this.canvas.getContext("2d")}addImage(t,r){var i=this;return mt(function*(){let s=new Image;i.loadingImageCount++,i.hasImage(t)?console.warn("Image Id already exists"):i.iconData.push({id:t,size:wd}),i.updateIconMap(),s=yield i.loadImage(r);const u=i.iconData.find(n=>n.id===t);u&&(u.image=s,u.width=s.width,u.height=s.height),i.update()})()}addImageMini(t,r,i){const s=i.getSceneConfig().canvas;let u=s.createImage();if(this.loadingImageCount++,this.hasImage(t))throw new Error("Image Id already exists");this.iconData.push({id:t,size:wd}),this.updateIconMap(),this.loadImageMini(r,s).then(n=>{u=n;const h=this.iconData.find(m=>m.id===t);h&&(h.image=u,h.width=u.width,h.height=u.height),this.update()})}getTexture(){return this.texture}getIconMap(){return this.iconMap}getCanvas(){return this.canvas}hasImage(t){return this.iconMap.hasOwnProperty(t)}removeImage(t){this.hasImage(t)&&(this.iconData=this.iconData.filter(r=>r.id!==t),delete this.iconMap[t],this.update())}destroy(){this.removeAllListeners("imageUpdate"),this.iconData=[],this.iconMap={}}loadImage(t){return new Promise((r,i)=>{if(t instanceof HTMLImageElement){r(t);return}const s=new Image;s.crossOrigin="anonymous",s.onload=()=>{r(s)},s.onerror=()=>{i(new Error("Could not load image at "+t))},s.src=t instanceof File?URL.createObjectURL(t):t})}update(){this.updateIconMap(),this.updateIconAtlas(),this.loadingImageCount--,this.loadingImageCount===0&&this.emit("imageUpdate")}updateIconAtlas(){this.canvas.width=z_,this.canvas.height=this.canvasHeight,Object.keys(this.iconMap).forEach(t=>{const{x:r,y:i,image:s,width:u=64,height:n=64}=this.iconMap[t],m=Math.max(u,n)/wd,g=n/m,x=u/m;s&&this.ctx.drawImage(s,r+(wd-x)/2,i+(wd-g)/2,x,g)})}updateIconMap(){const{mapping:t,canvasHeight:r}=Gb(this.iconData,tA,z_);this.iconMap=t,this.canvasHeight=r}loadImageMini(t,r){return new Promise((i,s)=>{const u=r.createImage();u.crossOrigin="anonymous",u.onload=()=>{i(u)},u.onerror=()=>{s(new Error("Could not load image at "+t))},u.src=t})}}class oA{constructor(){H(this,"viewport",void 0),H(this,"overridedViewProjectionMatrix",void 0),H(this,"viewMatrixInverse",void 0),H(this,"cameraPosition",void 0)}init(){}update(t){this.viewport=t,this.viewMatrixInverse=zf(),r6(this.viewMatrixInverse,t.getViewMatrix()),this.cameraPosition=[this.viewMatrixInverse[12],this.viewMatrixInverse[13],this.viewMatrixInverse[14]]}getProjectionMatrix(){return this.viewport.getProjectionMatrix()}getModelMatrix(){return this.viewport.getModelMatrix()}getViewMatrix(){return this.viewport.getViewMatrix()}getViewMatrixUncentered(){return this.viewport.getViewMatrixUncentered()}getViewProjectionMatrixUncentered(){return this.viewport.getViewProjectionMatrixUncentered()}getViewProjectionMatrix(){return this.overridedViewProjectionMatrix||this.viewport.getViewProjectionMatrix()}getZoom(){return this.viewport.getZoom()}getZoomScale(){return this.viewport.getZoomScale()}getCenter(){const[t,r]=this.viewport.getCenter();return[t,r]}getFocalDistance(){return this.viewport.getFocalDistance()}getCameraPosition(){return this.cameraPosition}projectFlat(t,r){return this.viewport.projectFlat(t,r)}setViewProjectionMatrix(t){this.overridedViewProjectionMatrix=t}}const iA={topleft:"column",topright:"column",bottomright:"column",bottomleft:"column",leftcenter:"column",rightcenter:"column",topcenter:"row",bottomcenter:"row",lefttop:"row",righttop:"row",leftbottom:"row",rightbottom:"row"};class nA{constructor(){H(this,"container",void 0),H(this,"controlCorners",void 0),H(this,"controlContainer",void 0),H(this,"scene",void 0),H(this,"mapsService",void 0),H(this,"controls",[]),H(this,"unAddControls",[])}init(t,r){this.container=t.container,this.scene=r,this.mapsService=r.mapService,this.initControlPos()}addControl(t,r){r.mapService.map?(t.addTo(this.scene),this.controls.push(t)):this.unAddControls.push(t)}getControlByName(t){return this.controls.find(r=>r.controlOption.name===t)}removeControl(t){const r=this.controls.indexOf(t);return r>-1&&this.controls.splice(r,1),t.remove(),this}addControls(){this.unAddControls.forEach(t=>{t.addTo(this.scene),this.controls.push(t)}),this.unAddControls=[]}destroy(){for(const t of this.controls)t.remove();this.controls=[],this.clearControlPos()}initControlPos(){const t=this.controlCorners={},r="l7-",i=this.controlContainer=lu("div",r+"control-container",this.container);function s(n=[]){const h=n.map(m=>r+m).join(" ");t[n.filter(m=>!["row","column"].includes(m)).join("")]=lu("div",h,i)}function u(n){return[...n.replace(/^(top|bottom|left|right|center)/,"$1-").split("-"),iA[n]]}Object.values(cf).forEach(n=>{s(u(n))}),this.checkCornerOverlap()}clearControlPos(){for(const t in this.controlCorners)this.controlCorners[t]&&sf(this.controlCorners[t]);this.controlContainer&&sf(this.controlContainer)}checkCornerOverlap(){const t=window.MutationObserver;if(t)for(const r of Object.keys(this.controlCorners)){const i=r.match(/^(top|bottom)(left|right)$/);if(i){const[,s,u]=i,n=this.controlCorners[`${s}${u}`];new t(([{target:m}])=>{n&&(n.style[s]=m.clientHeight+"px")}).observe(this.controlCorners[`${u}${s}`],{childList:!0,attributes:!0})}}}}class aA{constructor(){H(this,"container",void 0),H(this,"scene",void 0),H(this,"mapsService",void 0),H(this,"markers",[]),H(this,"markerLayers",[]),H(this,"unAddMarkers",[]),H(this,"unAddMarkerLayers",[])}addMarkerLayer(t){this.mapsService.map&&this.mapsService.getMarkerContainer()?(this.markerLayers.push(t),t.addTo(this.scene)):this.unAddMarkerLayers.push(t)}removeMarkerLayer(t){t.destroy(),this.markerLayers.indexOf(t);const r=this.markerLayers.indexOf(t);r>-1&&this.markerLayers.splice(r,1)}addMarker(t){this.mapsService.map&&this.mapsService.getMarkerContainer()?(this.markers.push(t),t.addTo(this.scene)):this.unAddMarkers.push(t)}addMarkers(){this.unAddMarkers.forEach(t=>{t.addTo(this.scene),this.markers.push(t)}),this.unAddMarkers=[]}addMarkerLayers(){this.unAddMarkerLayers.forEach(t=>{this.markerLayers.push(t),t.addTo(this.scene)}),this.unAddMarkers=[]}removeMarker(t){t.remove(),this.markers.indexOf(t);const r=this.markers.indexOf(t);r>-1&&this.markers.splice(r,1)}removeAllMarkers(){this.destroy()}init(t){this.scene=t,this.mapsService=t.mapService}destroy(){this.markers.forEach(t=>{t.remove()}),this.markers=[],this.markerLayers.forEach(t=>{t.destroy()}),this.markerLayers=[]}removeMakerLayerMarker(t){t.destroy()}}class sA{constructor(){H(this,"scene",void 0),H(this,"mapsService",void 0),H(this,"popups",[]),H(this,"unAddPopups",[])}get isMarkerReady(){return this.mapsService.map&&this.mapsService.getMarkerContainer()}removePopup(t){t!=null&&t.isOpen()&&t.remove();const r=this.popups.indexOf(t);r>-1&&this.popups.splice(r,1);const i=this.unAddPopups.indexOf(t);i>-1&&this.unAddPopups.splice(i,1)}destroy(){this.popups.forEach(t=>t.remove())}addPopup(t){t&&t.getOptions().autoClose&&[...this.popups,...this.unAddPopups].forEach(r=>{r.getOptions().autoClose&&this.removePopup(r)}),this.isMarkerReady?(t.addTo(this.scene),this.popups.push(t)):this.unAddPopups.push(t),t.on("close",()=>{this.removePopup(t)})}initPopup(){this.unAddPopups.length&&this.unAddPopups.forEach(t=>{this.addPopup(t),this.unAddPopups=[]})}init(t){this.scene=t,this.mapsService=t.mapService}}const uA={MapToken:"您正在使用 Demo 测试 Token, 生产环境务必自行注册 Token 确保服务稳定 高德地图申请地址 https://lbs.amap.com/api/javascript-api/guide/abc/prepare Mapbox地图申请地址 https://docs.mapbox.com/help/glossary/access-token/",SDK:"请确认引入了mapbox-gl api且在L7之前引入"},{merge:pA}=Qn,cA={id:"map",logoPosition:"bottomleft",logoVisible:!0,antialias:!0,stencil:!0,preserveDrawingBuffer:!1,pickBufferScale:1,fitBoundsOptions:{animate:!1}},lA={colors:["rgb(103,0,31)","rgb(178,24,43)","rgb(214,96,77)","rgb(244,165,130)","rgb(253,219,199)","rgb(247,247,247)","rgb(209,229,240)","rgb(146,197,222)","rgb(67,147,195)","rgb(33,102,172)","rgb(5,48,97)"],size:10,shape:"circle",scales:{},shape2d:["circle","triangle","square","pentagon","hexagon","octogon","hexagram","rhombus","vesica"],shape3d:["cylinder","triangleColumn","hexagonColumn","squareColumn"],minZoom:-1,maxZoom:24,visible:!0,autoFit:!1,pickingBuffer:0,enablePropagation:!1,zIndex:0,blend:"normal",maskLayers:[],enableMask:!0,maskOperation:Gf.AND,pickedFeatureID:-1,enableMultiPassRenderer:!1,enablePicking:!0,active:!1,activeColor:"#2f54eb",enableHighlight:!1,enableSelect:!1,highlightColor:"#2f54eb",activeMix:0,selectColor:"blue",selectMix:0,enableLighting:!1,animateOption:{enable:!1,interval:.2,duration:4,trailLength:.15},forward:!0};class dA{constructor(){H(this,"sceneConfigCache",{}),H(this,"layerConfigCache",{}),H(this,"layerAttributeConfigCache",{})}getSceneConfig(t){return this.sceneConfigCache[t]}getSceneWarninfo(t){return uA[t]}setSceneConfig(t,r){this.sceneConfigCache[t]=_t(_t({},cA),r)}getLayerConfig(t){return this.layerConfigCache[t]}setLayerConfig(t,r,i){this.layerConfigCache[r]=_t({},pA({},this.sceneConfigCache[t],lA,i))}getAttributeConfig(t){return this.layerAttributeConfigCache[t]}setAttributeConfig(t,r){this.layerAttributeConfigCache[t]=_t(_t({},this.layerAttributeConfigCache[t]),r)}clean(){this.sceneConfigCache={},this.layerConfigCache={}}}const Hm=Math.PI/180,yA=512,V_=4003e4;function H_({latitude:e=0,zoom:t=0,scale:r,highPrecision:i=!1,flipY:s=!1}){r=r!==void 0?r:Math.pow(2,t);const u={},n=yA*r,h=Math.cos(e*Hm),m=n/360,g=m/h,x=n/V_/h;if(u.pixelsPerMeter=[x,-x,x],u.metersPerPixel=[1/x,-1/x,1/x],u.pixelsPerDegree=[m,-g,x],u.degreesPerPixel=[1/m,-1/g,1/x],i){const b=Hm*Math.tan(e*Hm)/h,F=m*b/2,R=n/V_*b,I=R/g*x;u.pixelsPerDegree2=[0,-F,R],u.pixelsPerMeter2=[I,0,I],s&&(u.pixelsPerDegree2[1]=-u.pixelsPerDegree2[1],u.pixelsPerMeter2[1]=-u.pixelsPerMeter2[1])}return s&&(u.pixelsPerMeter[1]=-u.pixelsPerMeter[1],u.metersPerPixel[1]=-u.metersPerPixel[1],u.pixelsPerDegree[1]=-u.pixelsPerDegree[1],u.degreesPerPixel[1]=-u.degreesPerPixel[1]),u}const hA=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0];class fA{constructor(t){H(this,"needRefresh",!0),H(this,"coordinateSystem",void 0),H(this,"viewportCenter",void 0),H(this,"viewportCenterProjection",void 0),H(this,"pixelsPerDegree",void 0),H(this,"pixelsPerDegree2",void 0),H(this,"pixelsPerMeter",void 0),this.cameraService=t}refresh(t){const r=this.cameraService.getZoom(),i=t||this.cameraService.getCenter(),{pixelsPerMeter:s,pixelsPerDegree:u}=H_({latitude:i[1],zoom:r});this.viewportCenter=i,this.viewportCenterProjection=[0,0,0,0],this.pixelsPerMeter=s,this.pixelsPerDegree=u,this.pixelsPerDegree2=[0,0,0],this.coordinateSystem===lf.LNGLAT?this.cameraService.setViewProjectionMatrix(void 0):this.coordinateSystem===lf.LNGLAT_OFFSET&&this.calculateLnglatOffset(i,r),this.needRefresh=!1}getCoordinateSystem(){return this.coordinateSystem}setCoordinateSystem(t){this.coordinateSystem=t}getViewportCenter(){return this.viewportCenter}getViewportCenterProjection(){return this.viewportCenterProjection}getPixelsPerDegree(){return this.pixelsPerDegree}getPixelsPerDegree2(){return this.pixelsPerDegree2}getPixelsPerMeter(){return this.pixelsPerMeter}calculateLnglatOffset(t,r,i,s){const{pixelsPerMeter:u,pixelsPerDegree:n,pixelsPerDegree2:h}=H_({latitude:t[1],zoom:r,scale:i,flipY:s,highPrecision:!0});let m=this.cameraService.getViewMatrix();const g=this.cameraService.getProjectionMatrix();let x=S0([],g,m);const b=this.cameraService.projectFlat([Math.fround(t[0]),Math.fround(t[1])],Math.pow(2,r));this.viewportCenterProjection=i6([],[b[0],b[1],0,1],x),m=this.cameraService.getViewMatrixUncentered()||m,x=S0([],g,m),x=S0([],x,hA),this.cameraService.setViewProjectionMatrix(x),this.pixelsPerMeter=u,this.pixelsPerDegree=n,this.pixelsPerDegree2=h}}class mA extends yu.EventEmitter{constructor(...t){super(...t),H(this,"renderMap",new Map),H(this,"enable",!1),H(this,"renderEnable",!1),H(this,"cacheLogs",{})}setEnable(t){this.enable=!!t}log(t,r){if(!this.enable)return;const i=t.split(".");let s=null;i.forEach((u,n)=>{s!==null?(s[u]||(s[u]={}),n!==i.length-1&&(s=s[u])):(this.cacheLogs[u]||(this.cacheLogs[u]={}),n!==i.length-1&&(s=this.cacheLogs[u])),n===i.length-1&&(s[u]=_t(_t({time:Date.now()},s[u]),r))})}getLog(t){switch(typeof t){case"string":return this.cacheLogs[t];case"object":return t.map(r=>this.cacheLogs[r]).filter(r=>r!==void 0);case"undefined":return this.cacheLogs}}removeLog(t){delete this.cacheLogs[t]}generateRenderUid(){return this.renderEnable?zE():""}renderDebug(t){this.renderEnable=t}renderStart(t){if(!this.renderEnable||!this.enable)return;const r=this.renderMap.get(t)||{};this.renderMap.set(t,_t(_t({},r),{},{renderUid:t,renderStart:Date.now()}))}renderEnd(t){if(!this.renderEnable||!this.enable)return;const r=this.renderMap.get(t);if(r){const i=r.renderStart,s=Date.now();this.emit("renderEnd",_t(_t({},r),{},{renderEnd:s,renderDuration:s-i})),this.renderMap.delete(t)}}destroy(){this.cacheLogs=null,this.renderMap.clear()}}var I8={exports:{}};/*! Hammer.JS - v2.0.7 - 2016-04-22 + * http://hammerjs.github.io/ + * + * Copyright (c) 2016 Jorik Tangelder; + * Licensed under the MIT license */(function(e){(function(t,r,i,s){var u=["","webkit","Moz","MS","ms","o"],n=r.createElement("div"),h="function",m=Math.round,g=Math.abs,x=Date.now;function b(X,re,we){return setTimeout(te(X,we),re)}function F(X,re,we){return Array.isArray(X)?(R(X,we[re],we),!0):!1}function R(X,re,we){var rt;if(X)if(X.forEach)X.forEach(re,we);else if(X.length!==s)for(rt=0;rt\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",Oo=t.console&&(t.console.warn||t.console.log);return Oo&&Oo.call(t.console,rt,wr),X.apply(this,arguments)}}var B;typeof Object.assign!="function"?B=function(re){if(re===s||re===null)throw new TypeError("Cannot convert undefined or null to object");for(var we=Object(re),rt=1;rt-1}function Ge(X){return X.trim().split(/\s+/g)}function Ae(X,re,we){if(X.indexOf&&!we)return X.indexOf(re);for(var rt=0;rtln[re]}),rt}function st(X,re){for(var we,rt,zt=re[0].toUpperCase()+re.slice(1),wr=0;wr1&&!we.firstMultiple?we.firstMultiple=ss(re):zt===1&&(we.firstMultiple=!1);var wr=we.firstInput,Oo=we.firstMultiple,Xi=Oo?Oo.center:wr.center,Sn=re.center=si(rt);re.timeStamp=x(),re.deltaTime=re.timeStamp-wr.timeStamp,re.angle=vs(Xi,Sn),re.distance=Tn(Xi,Sn),ja(we,re),re.offsetDirection=pa(re.deltaX,re.deltaY);var ln=Fn(re.deltaTime,re.deltaX,re.deltaY);re.overallVelocityX=ln.x,re.overallVelocityY=ln.y,re.overallVelocity=g(ln.x)>g(ln.y)?ln.x:ln.y,re.scale=Oo?us(Oo.pointers,rt):1,re.rotation=Oo?zi(Oo.pointers,rt):0,re.maxPointers=we.prevInput?re.pointers.length>we.prevInput.maxPointers?re.pointers.length:we.prevInput.maxPointers:re.pointers.length,An(we,re);var Xa=X.element;He(re.srcEvent.target,Xa)&&(Xa=re.srcEvent.target),re.target=Xa}function ja(X,re){var we=re.center,rt=X.offsetDelta||{},zt=X.prevDelta||{},wr=X.prevInput||{};(re.eventType===bo||wr.eventType===$e)&&(zt=X.prevDelta={x:wr.deltaX||0,y:wr.deltaY||0},rt=X.offsetDelta={x:we.x,y:we.y}),re.deltaX=zt.x+(we.x-rt.x),re.deltaY=zt.y+(we.y-rt.y)}function An(X,re){var we=X.lastInterval||re,rt=re.timeStamp-we.timeStamp,zt,wr,Oo,Xi;if(re.eventType!=Yt&&(rt>Wi||we.velocity===s)){var Sn=re.deltaX-we.deltaX,ln=re.deltaY-we.deltaY,Xa=Fn(rt,Sn,ln);wr=Xa.x,Oo=Xa.y,zt=g(Xa.x)>g(Xa.y)?Xa.x:Xa.y,Xi=pa(Sn,ln),X.lastInterval=re}else zt=we.velocity,wr=we.velocityX,Oo=we.velocityY,Xi=we.direction;re.velocity=zt,re.velocityX=wr,re.velocityY=Oo,re.direction=Xi}function ss(X){for(var re=[],we=0;we=g(re)?X<0?Ft:xr:re<0?io:go}function Tn(X,re,we){we||(we=$i);var rt=re[we[0]]-X[we[0]],zt=re[we[1]]-X[we[1]];return Math.sqrt(rt*rt+zt*zt)}function vs(X,re,we){we||(we=$i);var rt=re[we[0]]-X[we[0]],zt=re[we[1]]-X[we[1]];return Math.atan2(zt,rt)*180/Math.PI}function zi(X,re){return vs(re[1],re[0],Qo)+vs(X[1],X[0],Qo)}function us(X,re){return Tn(re[0],re[1],Qo)/Tn(X[0],X[1],Qo)}var xa={mousedown:bo,mousemove:Ni,mouseup:$e},Gs="mousedown",Yu="mousemove mouseup";function js(){this.evEl=Gs,this.evWin=Yu,this.pressed=!1,ti.apply(this,arguments)}Q(js,ti,{handler:function(re){var we=xa[re.type];we&bo&&re.button===0&&(this.pressed=!0),we&Ni&&re.which!==1&&(we=$e),this.pressed&&(we&$e&&(this.pressed=!1),this.callback(this.manager,we,{pointers:[re],changedPointers:[re],pointerType:So,srcEvent:re}))}});var Ep={pointerdown:bo,pointermove:Ni,pointerup:$e,pointercancel:Yt,pointerout:Yt},Ws={2:Jr,3:_o,4:So,5:oo},Ma="pointerdown",Na="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(Ma="MSPointerDown",Na="MSPointerMove MSPointerUp MSPointerCancel");function Es(){this.evEl=Ma,this.evWin=Na,ti.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}Q(Es,ti,{handler:function(re){var we=this.store,rt=!1,zt=re.type.toLowerCase().replace("ms",""),wr=Ep[zt],Oo=Ws[re.pointerType]||re.pointerType,Xi=Oo==Jr,Sn=Ae(we,re.pointerId,"pointerId");wr&bo&&(re.button===0||Xi)?Sn<0&&(we.push(re),Sn=we.length-1):wr&($e|Yt)&&(rt=!0),!(Sn<0)&&(we[Sn]=re,this.callback(this.manager,wr,{pointers:we,changedPointers:[re],pointerType:Oo,srcEvent:re}),rt&&we.splice(Sn,1))}});var $u={touchstart:bo,touchmove:Ni,touchend:$e,touchcancel:Yt},Go="touchstart",k="touchstart touchmove touchend touchcancel";function G(){this.evTarget=Go,this.evWin=k,this.started=!1,ti.apply(this,arguments)}Q(G,ti,{handler:function(re){var we=$u[re.type];if(we===bo&&(this.started=!0),!!this.started){var rt=W.call(this,re,we);we&($e|Yt)&&rt[0].length-rt[1].length===0&&(this.started=!1),this.callback(this.manager,we,{pointers:rt[0],changedPointers:rt[1],pointerType:Jr,srcEvent:re})}}});function W(X,re){var we=Be(X.touches),rt=Be(X.changedTouches);return re&($e|Yt)&&(we=ze(we.concat(rt),"identifier")),[we,rt]}var oe={touchstart:bo,touchmove:Ni,touchend:$e,touchcancel:Yt},ye="touchstart touchmove touchend touchcancel";function Ie(){this.evTarget=ye,this.targetIds={},ti.apply(this,arguments)}Q(Ie,ti,{handler:function(re){var we=oe[re.type],rt=Le.call(this,re,we);rt&&this.callback(this.manager,we,{pointers:rt[0],changedPointers:rt[1],pointerType:Jr,srcEvent:re})}});function Le(X,re){var we=Be(X.touches),rt=this.targetIds;if(re&(bo|Ni)&&we.length===1)return rt[we[0].identifier]=!0,[we,we];var zt,wr,Oo=Be(X.changedTouches),Xi=[],Sn=this.target;if(wr=we.filter(function(ln){return He(ln.target,Sn)}),re===bo)for(zt=0;zt-1&&rt.splice(wr,1)};setTimeout(zt,q)}}function ct(X){for(var re=X.srcEvent.clientX,we=X.srcEvent.clientY,rt=0;rt-1&&this.requireFail.splice(re,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(X){return!!this.simultaneous[X.id]},emit:function(X){var re=this,we=this.state;function rt(zt){re.manager.emit(zt,X)}we=wo&&rt(re.options.event+Ln(we))},tryEmit:function(X){if(this.canEmit())return this.emit(X);this.state=so},canEmit:function(){for(var X=0;Xre.threshold&&zt&re.direction},attrTest:function(X){return gi.prototype.attrTest.call(this,X)&&(this.state&ao||!(this.state&ao)&&this.directionTest(X))},emit:function(X){this.pX=X.deltaX,this.pY=X.deltaY;var re=hu(X.direction);re&&(X.additionalEvent=this.options.event+re),this._super.emit.call(this,X)}});function Wa(){gi.apply(this,arguments)}Q(Wa,gi,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Wt]},attrTest:function(X){return this._super.attrTest.call(this,X)&&(Math.abs(X.scale-1)>this.options.threshold||this.state&ao)},emit:function(X){if(X.scale!==1){var re=X.scale<1?"in":"out";X.additionalEvent=this.options.event+re}this._super.emit.call(this,X)}});function hi(){Eo.apply(this,arguments),this._timer=null,this._input=null}Q(hi,Eo,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[dt]},process:function(X){var re=this.options,we=X.pointers.length===re.pointers,rt=X.distancere.time;if(this._input=X,!rt||!we||X.eventType&($e|Yt)&&!zt)this.reset();else if(X.eventType&bo)this.reset(),this._timer=b(function(){this.state=ei,this.tryEmit()},re.time,this);else if(X.eventType&$e)return ei;return so},reset:function(){clearTimeout(this._timer)},emit:function(X){this.state===ei&&(X&&X.eventType&$e?this.manager.emit(this.options.event+"up",X):(this._input.timeStamp=x(),this.manager.emit(this.options.event,this._input)))}});function Xs(){gi.apply(this,arguments)}Q(Xs,gi,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Wt]},attrTest:function(X){return this._super.attrTest.call(this,X)&&(Math.abs(X.rotation)>this.options.threshold||this.state&ao)}});function cn(){gi.apply(this,arguments)}Q(cn,gi,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:to|Kr,pointers:1},getTouchAction:function(){return fu.prototype.getTouchAction.call(this)},attrTest:function(X){var re=this.options.direction,we;return re&(to|Kr)?we=X.overallVelocity:re&to?we=X.overallVelocityX:re&Kr&&(we=X.overallVelocityY),this._super.attrTest.call(this,X)&&re&X.offsetDirection&&X.distance>this.options.threshold&&X.maxPointers==this.options.pointers&&g(we)>this.options.velocity&&X.eventType&$e},emit:function(X){var re=hu(X.offsetDirection);re&&this.manager.emit(this.options.event+re,X),this.manager.emit(this.options.event,X)}});function fi(){Eo.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}Q(fi,Eo,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[or]},process:function(X){var re=this.options,we=X.pointers.length===re.pointers,rt=X.distance{const i=this.interactionEvent(r);i.type=gA[i.type],i.type==="dragging"?this.indragging=!0:this.indragging=!1,this.emit(Us.Drag,i)}),H(this,"onHammer",r=>{r.srcEvent.stopPropagation();const i=this.interactionEvent(r);this.emit(Us.Hover,i)}),H(this,"onTouch",r=>{const i=r.touches[0];this.onHover({clientX:i.clientX,clientY:i.clientY,type:"touchstart"})}),H(this,"onTouchEnd",r=>{if(r.changedTouches.length>0){const i=r.changedTouches[0];this.onHover({clientX:i.clientX,clientY:i.clientY,type:"touchend"})}}),H(this,"onTouchMove",r=>{const i=r.changedTouches[0];this.onHover({clientX:i.clientX,clientY:i.clientY,type:"touchmove"})}),H(this,"onHover",r=>{const{clientX:i,clientY:s}=r;let u=i,n=s;const h=r.type,m=this.mapService.getMapContainer();if(m){const{top:x,left:b}=m.getBoundingClientRect();u=u-b-m.clientLeft,n=n-x-m.clientTop}const g=this.mapService.containerToLngLat([u,n]);if(h==="click"){this.isDoubleTap(u,n,g);return}if(h==="touch"){this.isDoubleTap(u,n,g);return}h!=="click"&&h!=="dblclick"&&this.emit(Us.Hover,{x:u,y:n,lngLat:g,type:h,target:r})}),this.container=t}init(){this.addEventListenerOnMap(),this.$containter=this.mapService.getMapContainer()}destroy(){this.hammertime&&this.hammertime.destroy(),this.removeEventListenerOnMap(),this.off(Us.Hover)}triggerHover({x:t,y:r}){this.emit(Us.Hover,{x:t,y:r})}triggerSelect(t){this.emit(Us.Select,{featureId:t})}triggerActive(t){this.emit(Us.Active,{featureId:t})}addEventListenerOnMap(){const t=this.mapService.getMapContainer();if(t){const r=new Rd.Manager(t);r.add(new Rd.Tap({event:"dblclick",taps:2})),r.add(new Rd.Tap({event:"click"})),r.add(new Rd.Pan({threshold:0,pointers:0})),r.add(new Rd.Press({})),r.on("dblclick click",this.onHammer),r.on("panstart panmove panend pancancel",this.onDrag),t.addEventListener("touchstart",this.onTouch),t.addEventListener("touchend",this.onTouchEnd),t.addEventListener("mousemove",this.onHover),t.addEventListener("touchmove",this.onTouchMove),t.addEventListener("mousedown",this.onHover,!0),t.addEventListener("mouseup",this.onHover),t.addEventListener("contextmenu",this.onHover),this.hammertime=r}}removeEventListenerOnMap(){const t=this.mapService.getMapContainer();t&&(t.removeEventListener("mousemove",this.onHover),this.hammertime.off("dblclick click",this.onHammer),this.hammertime.off("panstart panmove panend pancancel",this.onDrag),t.removeEventListener("touchstart",this.onTouch),t.removeEventListener("touchend",this.onTouchEnd),t.removeEventListener("mousedown",this.onHover),t.removeEventListener("mouseup",this.onHover),t.removeEventListener("contextmenu",this.onHover))}interactionEvent(t){const{type:r,pointerType:i}=t;let s,u;i==="touch"?(u=Math.floor(t.pointers[0].clientY),s=Math.floor(t.pointers[0].clientX)):(u=Math.floor(t.srcEvent.y),s=Math.floor(t.srcEvent.x));const n=this.mapService.getMapContainer();if(n){const{top:m,left:g}=n.getBoundingClientRect();s-=g,u-=m}const h=this.mapService.containerToLngLat([s,u]);return{x:s,y:u,lngLat:h,type:r,target:t.srcEvent}}isDoubleTap(t,r,i){const s=new Date().getTime();let u="click";s-this.lastClickTime<400&&Math.abs(this.lastClickXY[0]-t)<10&&Math.abs(this.lastClickXY[1]-r)<10?(this.lastClickTime=0,this.lastClickXY=[-1,-1],this.clickTimer&&clearTimeout(this.clickTimer),u="dblclick",this.emit(Us.Hover,{x:t,y:r,lngLat:i,type:u})):(this.lastClickTime=s,this.lastClickXY=[t,r],this.clickTimer=setTimeout(()=>{u="click",this.emit(Us.Hover,{x:t,y:r,lngLat:i,type:u})},400))}}let EA=0;function xA(e){let t=e;if(typeof e=="string"&&(t=document.getElementById(e)),t){const r=document.createElement("div");return r.style.cssText+=` + position: absolute; + z-index:2; + height: 100%; + width: 100%; + pointer-events: none; + `,r.id=`l7-scene-${EA++}`,r.classList.add("l7-scene"),t.appendChild(r),r}return null}function PA(e){var t;let r=!0;if((e==null||(t=e.target)===null||t===void 0?void 0:t.target)instanceof HTMLElement){var i;let u=e==null||(i=e.target)===null||i===void 0?void 0:i.target;for(;u;){var s;const n=Array.from(u.classList);if(n.includes("l7-marker")||n.includes("l7-popup")){r=!1;break}u=(s=u)===null||s===void 0?void 0:s.parentElement}}return r}let f1=function(e){return e[e.SAMPLED=0]="SAMPLED",e[e.RENDER_TARGET=1]="RENDER_TARGET",e}({});class bA{constructor(t){var r=this;H(this,"pickedColors",void 0),H(this,"pickedTileLayers",[]),H(this,"pickingFBO",void 0),H(this,"width",0),H(this,"height",0),H(this,"alreadyInPicking",!1),H(this,"pickBufferScale",1),H(this,"pickFromPickingFBO",function(){var i=mt(function*(s,{x:u,y:n,lngLat:h,type:m,target:g}){var x;let b=!1;const{readPixels:F,readPixelsAsync:R,getViewportSize:I,queryVerdorInfo:B}=r.rendererService,{width:V,height:J}=I(),{enableHighlight:Q,enableSelect:te}=s.getLayerConfig(),ne=u*Bs,ue=n*Bs;if(ne>V-1*Bs||ne<0||ue>J-1*Bs||ue<0)return!1;let Oe;if(B()==="WebGPU"?Oe=yield R({x:Math.floor(ne/r.pickBufferScale),y:Math.floor((J-(n+1)*Bs)/r.pickBufferScale),width:1,height:1,data:new Uint8Array(4),framebuffer:r.pickingFBO}):Oe=F({x:Math.floor(ne/r.pickBufferScale),y:Math.floor((J-(n+1)*Bs)/r.pickBufferScale),width:1,height:1,data:new Uint8Array(4),framebuffer:r.pickingFBO}),r.pickedColors=Oe,Oe[0]!==0||Oe[1]!==0||Oe[2]!==0){const He=l1(Oe),ft=s.layerPickService.getFeatureById(He);He!==s.getCurrentPickId()&&m==="mousemove"&&(m="mouseenter");const Ge={x:u,y:n,type:m,lngLat:h,featureId:He,feature:ft,target:g};ft&&(b=!0,s.setCurrentPickId(He),r.triggerHoverOnLayer(s,Ge))}else{const He={x:u,y:n,lngLat:h,type:s.getCurrentPickId()!==null&&m==="mousemove"?"mouseout":"un"+m,featureId:null,target:g,feature:null};r.triggerHoverOnLayer(s,_t(_t({},He),{},{type:"unpick"})),r.triggerHoverOnLayer(s,He),s.setCurrentPickId(null)}if(Q&&s.layerPickService.highlightPickedFeature(Oe),te&&m==="click"&&((x=Oe)===null||x===void 0?void 0:x.toString())!==[0,0,0,0].toString()){const He=l1(Oe);s.getCurrentSelectedId()===null||He!==s.getCurrentSelectedId()?(s.layerPickService.selectFeature(Oe),s.setCurrentSelectedId(He)):(s.layerPickService.selectFeature(new Uint8Array([0,0,0,0])),s.setCurrentSelectedId(null))}return b});return function(s,u){return i.apply(this,arguments)}}()),this.container=t}get mapService(){return this.container.mapService}get rendererService(){return this.container.rendererService}get configService(){return this.container.globalConfigService}get interactionService(){return this.container.interactionService}get layerService(){return this.container.layerService}init(t){const{createTexture2D:r,createFramebuffer:i,getViewportSize:s}=this.rendererService;let{width:u,height:n}=s();this.pickBufferScale=this.configService.getSceneConfig(t).pickBufferScale||1,u=Math.round(u/this.pickBufferScale),n=Math.round(n/this.pickBufferScale);const h=r({width:u,height:n,usage:f1.RENDER_TARGET,label:"Picking Texture"});this.pickingFBO=i({color:h,depth:!0,width:u,height:n}),this.interactionService.on(Us.Hover,this.pickingAllLayer.bind(this))}boxPickLayer(t,r,i){var s=this;return mt(function*(){const{useFramebufferAsync:u,clear:n}=s.rendererService;s.resizePickingFBO(),t.hooks.beforePickingEncode.call(),yield u(s.pickingFBO,mt(function*(){n({framebuffer:s.pickingFBO,color:[0,0,0,0],stencil:0,depth:1}),t.renderModels({ispick:!0})})),t.hooks.afterPickingEncode.call();const h=yield s.pickBox(t,r);i(h)})()}pickBox(t,r){var i=this;return mt(function*(){const[s,u,n,h]=r.map(J=>{const Q=J<0?0:J;return Math.floor(Q*Bs/i.pickBufferScale)}),{readPixelsAsync:m,getViewportSize:g}=i.rendererService,{width:x,height:b}=g();if(s>(x-1)*Bs/i.pickBufferScale||n<0||u>(b-1)*Bs/i.pickBufferScale||h<0)return[];const F=Math.min(x/i.pickBufferScale,n)-s,R=Math.min(b/i.pickBufferScale,h)-u,I=yield m({x:s,y:Math.floor(b/i.pickBufferScale-(h+1)),width:F,height:R,data:new Uint8Array(F*R*4),framebuffer:i.pickingFBO}),B=[],V={};for(let J=0;Jh.needPick(t.type)).reverse()){yield s(r.pickingFBO,mt(function*(){i({framebuffer:r.pickingFBO,color:[0,0,0,0],stencil:0,depth:1}),n.layerPickService.pickRender(t)}));const h=yield r.pickFromPickingFBO(n,t);if(r.layerService.pickedLayerId=h?+n.id:-1,h&&!n.getLayerConfig().enablePropagation)break}})()}triggerHoverOnLayer(t,r){PA(r)&&(this.handleCursor(t,r.type),t.emit(r.type,r))}}class AA{constructor(t=!0){H(this,"autoStart",void 0),H(this,"startTime",0),H(this,"oldTime",0),H(this,"running",!1),H(this,"elapsedTime",0),this.autoStart=t}start(){this.startTime=(typeof performance>"u"?Date:performance).now(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}stop(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}getElapsedTime(){return this.getDelta(),this.elapsedTime}getDelta(){let t=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){const r=(typeof performance>"u"?Date:performance).now();t=(r-this.oldTime)/1e3,this.oldTime=r,this.elapsedTime+=t}return t}}const{throttle:G_}=Qn;class FA extends yu.EventEmitter{get renderService(){return this.container.rendererService}get mapService(){return this.container.mapService}get debugService(){return this.container.debugService}constructor(t){super(),H(this,"pickedLayerId",-1),H(this,"clock",new AA),H(this,"alreadyInRendering",!1),H(this,"layers",[]),H(this,"layerList",[]),H(this,"layerRenderID",void 0),H(this,"sceneInited",!1),H(this,"animateInstanceCount",0),H(this,"shaderPicking",!0),H(this,"enableRender",!0),H(this,"reRender",G_(()=>{this.renderLayers()},32)),H(this,"throttleRenderLayers",G_(()=>{this.renderLayers()},16)),this.container=t}needPick(t){return this.updateLayerRenderList(),this.layerList.some(r=>r.needPick(t))}add(t){this.layers.push(t),this.sceneInited&&t.init().then(()=>{this.renderLayers()})}addMask(t){this.sceneInited&&t.init().then(()=>{this.renderLayers()})}initLayers(){var t=this;return mt(function*(){t.sceneInited=!0,t.layers.forEach(function(){var r=mt(function*(i){i.startInit||(yield i.init(),t.updateLayerRenderList())});return function(i){return r.apply(this,arguments)}}())})()}getSceneInited(){return this.sceneInited}getRenderList(){return this.layerList}getLayers(){return this.layers}getLayer(t){return this.layers.find(r=>r.id===t)}getLayerByName(t){return this.layers.find(r=>r.name===t)}remove(t,r){var i=this;return mt(function*(){r?r.layerChildren=r.layerChildren.filter(s=>s!==t):i.layers=i.layers.filter(s=>s!==t),t.destroy(),i.reRender(),i.emit("layerChange",i.layers)})()}removeAllLayers(){var t=this;return mt(function*(){t.destroy(),t.reRender()})()}setEnableRender(t){this.enableRender=t}renderLayers(){var t=this;return mt(function*(){if(t.alreadyInRendering||!t.enableRender)return;t.updateLayerRenderList();const r=t.debugService.generateRenderUid();t.debugService.renderStart(r),t.alreadyInRendering=!0,t.clear();for(const i of t.layerList)i.prerender();t.renderService.beginFrame();for(const i of t.layerList){const{enableMask:s}=i.getLayerConfig();i.masks.filter(u=>u.inited).length>0&&s&&t.renderMask(i.masks),i.getLayerConfig().enableMultiPassRenderer?yield i.renderMultiPass():i.render()}t.renderService.endFrame(),t.debugService.renderEnd(r),t.alreadyInRendering=!1})()}renderMask(t){let r=0;this.renderService.clear({stencil:0,depth:1,framebuffer:null});const i=t.length>1?p1.MULTIPLE:p1.SINGLE;for(const s of t)s.render({isStencil:!0,stencilType:i,stencilIndex:r++})}beforeRenderData(t){var r=this;return mt(function*(){(yield t.hooks.beforeRenderData.promise())&&r.renderLayers()})()}renderTileLayerMask(t){let r=0;const{enableMask:i=!0}=t.getLayerConfig();let s=t.tileMask?1:0;const u=t.masks.filter(h=>h.inited);s=s+(i?u.length:1);const n=s>1?p1.MULTIPLE:p1.SINGLE;if((t.tileMask||u.length&&i)&&this.renderService.clear({stencil:0,depth:1,framebuffer:null}),u.length&&i)for(const h of u)h.render({isStencil:!0,stencilType:n,stencilIndex:r++});t.tileMask&&t.tileMask.render({isStencil:!0,stencilType:n,stencilIndex:r++,stencilOperation:Gf.OR})}renderTileLayer(t){var r=this;return mt(function*(){r.renderTileLayerMask(t),t.getLayerConfig().enableMultiPassRenderer?yield t.renderMultiPass():yield t.render()})()}updateLayerRenderList(){this.layerList=[],this.layers.filter(t=>t.inited).filter(t=>t.isVisible()).sort((t,r)=>t.zIndex-r.zIndex).forEach(t=>{this.layerList.push(t)})}destroy(){this.layers.forEach(t=>{t.destroy()}),this.layers=[],this.layerList=[],this.emit("layerChange",this.layers)}startAnimate(){this.animateInstanceCount++===0&&(this.clock.start(),this.runRender())}stopAnimate(){--this.animateInstanceCount===0&&(this.stopRender(),this.clock.stop())}getOESTextureFloat(){return this.renderService.extensionObject.OES_texture_float}enableShaderPick(){this.shaderPicking=!0}disableShaderPick(){this.shaderPicking=!1}getShaderPickStat(){return this.shaderPicking}clear(){const t=Mi(this.mapService.bgColor);this.renderService.clear({color:t,depth:1,stencil:0,framebuffer:null})}runRender(){this.renderLayers(),this.layerRenderID=window.requestAnimationFrame(this.runRender.bind(this))}stopRender(){window.cancelAnimationFrame(this.layerRenderID)}}function TA(e,t){if(e==null)return{};var r={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.includes(i))continue;r[i]=e[i]}return r}function $p(e,t){if(e==null)return{};var r,i,s=TA(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(i=0;i{if(r.length===0){var i;return((i=this.scale)===null||i===void 0?void 0:i.defaultValues)||[]}return r.map((s,u)=>{var n;return((n=this.scale)===null||n===void 0?void 0:n.scalers[u].func)(s)})}),this.setProps(t)}setProps(t){Object.assign(this,t)}mapping(t){var r;if((r=this.scale)!==null&&r!==void 0&&r.callback){var i;const s=(i=this.scale)===null||i===void 0?void 0:i.callback(...t);if(!SA(s))return[s]}return this.defaultCallback(t)}resetDescriptor(){this.descriptor&&(this.descriptor.buffer.data=[])}}const RA=["buffer","update","name"],CA=["buffer","update","name"],IA={[L.FLOAT]:4,[L.UNSIGNED_BYTE]:1,[L.UNSIGNED_SHORT]:2};class MA{constructor(t){H(this,"attributesAndIndices",void 0),H(this,"attributes",[]),H(this,"triangulation",void 0),H(this,"featureLayout",{sizePerElement:0,elements:[]}),this.rendererService=t}registerStyleAttribute(t){let r=this.getLayerStyleAttribute(t.name||"");return r?r.setProps(t):(r=new wA(t),this.attributes.push(r)),r}unRegisterStyleAttribute(t){const r=this.attributes.findIndex(i=>i.name===t);r>-1&&this.attributes.splice(r,1)}updateScaleAttribute(t){this.attributes.forEach(r=>{var i;const s=r.name,u=(i=r.scale)===null||i===void 0?void 0:i.field;(t[s]||u&&t[u])&&(r.needRescale=!0,r.needRemapping=!0,r.needRegenerateVertices=!0)})}updateStyleAttribute(t,r,i){let s=this.getLayerStyleAttribute(t);s||(s=this.registerStyleAttribute(_t(_t({},r),{},{name:t})));const{scale:u}=r;u&&s&&(s.scale=u,s.needRescale=!0,s.needRemapping=!0,s.needRegenerateVertices=!0,i&&i.featureRange&&(s.featureRange=i.featureRange))}getLayerStyleAttributes(){return this.attributes}getLayerStyleAttribute(t){return this.attributes.find(r=>r.name===t)}getLayerAttributeScale(t){var r;const i=this.getLayerStyleAttribute(t),s=i==null||(r=i.scale)===null||r===void 0?void 0:r.scalers;return s&&s[0]?s[0].func:null}updateAttributeByFeatureRange(t,r,i=0,s,u){const n=this.attributes.find(h=>h.name===t);if(n&&n.descriptor){const{descriptor:h}=n,{update:m,buffer:g,size:x=0}=h,b=IA[g.type||L.FLOAT];if(m){const{elements:F,sizePerElement:R}=this.featureLayout,I=F.slice(i,s);if(!I.length)return;const{offset:B}=I[0],V=B*x*b,J=I.map(({featureIdx:Q,vertices:te,normals:ne},ue)=>{const Oe=te.length/R,Ee=[];for(let He=0;He(B.resetDescriptor(),B.descriptor));let n=0,h=0;const m=[];let g=3;t.forEach((B,V)=>{const{indices:J,vertices:Q,normals:te,size:ne,indexes:ue,count:Oe}=this.triangulation(B,i);typeof Oe=="number"&&(h+=Oe),J.forEach(He=>{m.push(He+n)}),g=ne;const Ee=Q.length/ne;this.featureLayout.sizePerElement=g,this.featureLayout.elements.push({featureIdx:V,vertices:Q,normals:te,offset:n}),n+=Ee;for(let He=0;He{Be&&Be.update&&Be.buffer.data.push(...Be.update(B,V,Ge,He,ft,Ae))})}});const{createAttribute:x,createBuffer:b,createElements:F}=this.rendererService,R={};u.forEach((B,V)=>{if(B){const{buffer:J,update:Q,name:te}=B,ne=$p(B,RA),ue=x(_t({buffer:b(J)},ne));R[B.name||""]=ue,this.attributes[V].vertexAttribute=ue}});const I=F({data:m,type:L.UNSIGNED_INT,count:m.length});return this.attributesAndIndices={attributes:R,elements:I,count:h},Object.values(this.attributes).filter(B=>B.scale).forEach(B=>{const V=B.name;s==null||s.emit(`legend:${V}`,s.getLegend(V))}),this.attributesAndIndices}createAttributes(t,r){this.featureLayout={sizePerElement:0,elements:[]},r&&(this.triangulation=r);const i=this.attributes.map(g=>(g.resetDescriptor(),g.descriptor));let s=0,u=3;t.forEach((g,x)=>{const{indices:b,vertices:F,normals:R,size:I,indexes:B}=this.triangulation(g);b.forEach(J=>{}),u=I;const V=F.length/I;this.featureLayout.sizePerElement=u,this.featureLayout.elements.push({featureIdx:x,vertices:F,normals:R,offset:s}),s+=V;for(let J=0;J{ue&&ue.update&&ue.buffer.data.push(...ue.update(g,x,te,J,Q,ne))})}});const{createAttribute:n,createBuffer:h}=this.rendererService,m={};return i.forEach((g,x)=>{if(g){const{buffer:b,update:F,name:R}=g,I=$p(g,CA),B=n(_t({buffer:h(b)},I));m[g.name||""]=B,this.attributes[x].vertexAttribute=B}}),{attributes:m}}clearAllAttributes(){var t;this.attributes.forEach(r=>{r.vertexAttribute&&r.vertexAttribute.destroy()}),(t=this.attributesAndIndices)===null||t===void 0||t.elements.destroy(),this.attributes=[]}}function M8(e,t,r,i){function s(u){return u instanceof r?u:new r(function(n){n(u)})}return new(r||(r=Promise))(function(u,n){function h(x){try{g(i.next(x))}catch(b){n(b)}}function m(x){try{g(i.throw(x))}catch(b){n(b)}}function g(x){x.done?u(x.value):s(x.value).then(h,m)}g((i=i.apply(e,[])).next())})}function N8(e,t){var r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},i,s,u,n;return n={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(n[Symbol.iterator]=function(){return this}),n;function h(g){return function(x){return m([g,x])}}function m(g){if(i)throw new TypeError("Generator is already executing.");for(;r;)try{if(i=1,s&&(u=g[0]&2?s.return:g[0]?s.throw||((u=s.return)&&u.call(s),0):s.next)&&!(u=u.call(s,g[1])).done)return u;switch(s=0,u&&(g=[g[0]&2,u.value]),g[0]){case 0:case 1:u=g;break;case 4:return r.label++,{value:g[1],done:!1};case 5:r.label++,s=g[1],g=[0];continue;case 7:g=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(g[0]===6||g[0]===2)){r=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]0)&&!(s=i.next()).done;)u.push(s.value)}catch(h){n={error:h}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return u}function P6(e,t,r){if(arguments.length===2)for(var i=0,s=t.length,u;i=0&&i.length%1===0}e.exports=t.default})(fy,fy.exports);var Hs={},b2={exports:{}},A2={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(r){return function(){for(var i=[],s=arguments.length;s--;)i[s]=arguments[s];var u=i.pop();return r.call(this,i,u)}},e.exports=t.default})(A2,A2.exports);var Sl={};Object.defineProperty(Sl,"__esModule",{value:!0});Sl.fallback=O8;Sl.wrap=L8;var NA=Sl.hasQueueMicrotask=typeof queueMicrotask=="function"&&queueMicrotask,DA=Sl.hasSetImmediate=typeof setImmediate=="function"&&setImmediate,OA=Sl.hasNextTick=typeof process=="object"&&typeof process.nextTick=="function";function O8(e){setTimeout(e,0)}function L8(e){return function(t){for(var r=[],i=arguments.length-1;i-- >0;)r[i]=arguments[i+1];return e(function(){return t.apply(void 0,r)})}}var qd;NA?qd=queueMicrotask:DA?qd=setImmediate:OA?qd=process.nextTick:qd=O8;Sl.default=L8(qd);(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;var r=A2.exports,i=h(r),s=Sl,u=h(s),n=Hs;function h(b){return b&&b.__esModule?b:{default:b}}function m(b){return(0,n.isAsync)(b)?function(){for(var F=[],R=arguments.length;R--;)F[R]=arguments[R];var I=F.pop(),B=b.apply(this,F);return g(B,I)}:(0,i.default)(function(F,R){var I;try{I=b.apply(this,F)}catch(B){return R(B)}if(I&&typeof I.then=="function")return g(I,R);R(null,I)})}function g(b,F){return b.then(function(R){x(F,null,R)},function(R){x(F,R&&R.message?R:new Error(R))})}function x(b,F,R){try{b(F,R)}catch(I){(0,u.default)(function(B){throw B},I)}}e.exports=t.default})(b2,b2.exports);Object.defineProperty(Hs,"__esModule",{value:!0});Hs.isAsyncIterable=Hs.isAsyncGenerator=Hs.isAsync=void 0;var LA=b2.exports,BA=UA(LA);function UA(e){return e&&e.__esModule?e:{default:e}}function B8(e){return e[Symbol.toStringTag]==="AsyncFunction"}function kA(e){return e[Symbol.toStringTag]==="AsyncGenerator"}function zA(e){return typeof e[Symbol.asyncIterator]=="function"}function VA(e){if(typeof e!="function")throw new Error("expected a function");return B8(e)?(0,BA.default)(e):e}Hs.default=VA;Hs.isAsync=B8;Hs.isAsyncGenerator=kA;Hs.isAsyncIterable=zA;var m1={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;function r(i,s){if(s===void 0&&(s=i.length),!s)throw new Error("arity is undefined");function u(){for(var n=this,h=[],m=arguments.length;m--;)h[m]=arguments[m];return typeof h[s-1]=="function"?i.apply(this,h):new Promise(function(g,x){h[s-1]=function(b){for(var F=[],R=arguments.length-1;R-- >0;)F[R]=arguments[R+1];if(b)return x(b);g(F.length>1?F:F[0])},i.apply(n,h)})}return u}e.exports=t.default})(m1,m1.exports);(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=fy.exports,i=m(r),s=Hs,u=m(s),n=m1.exports,h=m(n);function m(g){return g&&g.__esModule?g:{default:g}}t.default=(0,h.default)(function(g,x,b){var F=(0,i.default)(x)?[]:{};g(x,function(R,I,B){(0,u.default)(R)(function(V){for(var J,Q=[],te=arguments.length-1;te-- >0;)Q[te]=arguments[te+1];Q.length<2&&(J=Q,Q=J[0]),F[I]=Q,B(V)})},function(R){return b(R,F)})},3),e.exports=t.default})(df,df.exports);var F2={exports:{}},yf={exports:{}},T2={exports:{}},_y={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;function r(i){function s(){for(var u=[],n=arguments.length;n--;)u[n]=arguments[n];if(i!==null){var h=i;i=null,h.apply(this,u)}}return Object.assign(s,i),s}e.exports=t.default})(_y,_y.exports);var S2={exports:{}},w2={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(r){return r[Symbol.iterator]&&r[Symbol.iterator]()},e.exports=t.default})(w2,w2.exports);(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=x;var r=fy.exports,i=n(r),s=w2.exports,u=n(s);function n(b){return b&&b.__esModule?b:{default:b}}function h(b){var F=-1,R=b.length;return function(){return++F=h||F||x||(F=!0,n.next().then(function(Q){var te=Q.value,ne=Q.done;if(!(b||x)){if(F=!1,ne){x=!0,R<=0&&g(null);return}R++,m(te,I,V),I++,B()}}).catch(J))}function V(Q,te){if(R-=1,!b){if(Q)return J(Q);if(Q===!1){x=!0,b=!0;return}if(te===i.default||x&&R<=0)return x=!0,g(null);B()}}function J(Q){b||(F=!1,x=!0,g(Q))}B()}e.exports=t.default})(R2,R2.exports);(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=_y.exports,i=R(r),s=S2.exports,u=R(s),n=gy.exports,h=R(n),m=Hs,g=R2.exports,x=R(g),b=vy.exports,F=R(b);function R(I){return I&&I.__esModule?I:{default:I}}t.default=function(I){return function(B,V,J){if(J=(0,i.default)(J),I<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!B)return J(null);if((0,m.isAsyncGenerator)(B))return(0,x.default)(B,I,V,J);if((0,m.isAsyncIterable)(B))return(0,x.default)(B[Symbol.asyncIterator](),I,V,J);var Q=(0,u.default)(B),te=!1,ne=!1,ue=0,Oe=!1;function Ee(ft,Ge){if(!ne)if(ue-=1,ft)te=!0,J(ft);else if(ft===!1)te=!0,ne=!0;else{if(Ge===F.default||te&&ue<=0)return te=!0,J(null);Oe||He()}}function He(){for(Oe=!0;ue0;)Q[te]=arguments[te+1];if(J!==!1){if(J||I===F.length)return R.apply(void 0,[J].concat(Q));B(Q)}}B([])}t.default=(0,g.default)(b),e.exports=t.default})(I2,I2.exports);var HA=D8(I2.exports),W_=function(){function e(){this.tasks=[]}return e.prototype.call=function(){return jf(this.tasks)},e.prototype.tap=function(t,r){this.tasks.push(function(i){var s=r();i(s,t)})},e}(),GA=function(){function e(){this.args=[],this.tasks=[]}return e.prototype.promise=function(){for(var t=arguments,r=[],i=0;i";while(n[0]);return s>4?s:i}();return e===r};V8.isLegacyOpera=function(){return!!window.opera};var H8=z8.exports,G8={exports:{}},QA=G8.exports={};QA.getOption=JA;function JA(e,t,r){var i=e[t];return i==null&&r!==void 0?r:i}var eF=G8.exports,X_=eF,tF=function(t){t=t||{};var r=t.reporter,i=X_.getOption(t,"async",!0),s=X_.getOption(t,"auto",!0);s&&!i&&(r&&r.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),i=!0);var u=Z_(),n,h=!1;function m(I,B){!h&&s&&i&&u.size()===0&&b(),u.add(I,B)}function g(){for(h=!0;u.size();){var I=u;u=Z_(),I.process()}h=!1}function x(I){h||(I===void 0&&(I=i),n&&(F(n),n=null),I?b():g())}function b(){n=R(g)}function F(I){var B=clearTimeout;return B(I)}function R(I){var B=function(V){return setTimeout(V,0)};return B(I)}return{add:m,force:x}};function Z_(){var e={},t=0,r=0,i=0;function s(h,m){m||(m=h,h=0),h>r?r=h:h div::-webkit-scrollbar { "+g(["display: none"])+` } + +`,Ge+="."+ft+" { "+g(["-webkit-animation-duration: 0.1s","animation-duration: 0.1s","-webkit-animation-name: "+He,"animation-name: "+He])+` } +`,Ge+="@-webkit-keyframes "+He+` { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } } +`,Ge+="@keyframes "+He+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }",Ee(Ge)}}function F(ne){ne.className+=" "+h+"_animation_active"}function R(ne,ue,Oe){if(ne.addEventListener)ne.addEventListener(ue,Oe);else if(ne.attachEvent)ne.attachEvent("on"+ue,Oe);else return t.error("[scroll] Don't know how to add event listeners.")}function I(ne,ue,Oe){if(ne.removeEventListener)ne.removeEventListener(ue,Oe);else if(ne.detachEvent)ne.detachEvent("on"+ue,Oe);else return t.error("[scroll] Don't know how to remove event listeners.")}function B(ne){return i(ne).container.childNodes[0].childNodes[0].childNodes[0]}function V(ne){return i(ne).container.childNodes[0].childNodes[0].childNodes[1]}function J(ne,ue){var Oe=i(ne).listeners;if(!Oe.push)throw new Error("Cannot add listener to an element that is not detectable.");i(ne).listeners.push(ue)}function Q(ne,ue,Oe){Oe||(Oe=ue,ue=ne,ne=null),ne=ne||{};function Ee(){if(ne.debug){var $e=Array.prototype.slice.call(arguments);if($e.unshift(s.get(ue),"Scroll: "),t.log.apply)t.log.apply(null,$e);else for(var Yt=0;Yt<$e.length;Yt++)t.log($e[Yt])}}function He($e){function Yt(Sr){var Ft=Sr.getRootNode&&Sr.getRootNode().contains(Sr);return Sr===Sr.ownerDocument.body||Sr.ownerDocument.body.contains(Sr)||Ft}return!Yt($e)||window.getComputedStyle($e)===null}function ft($e){var Yt=i($e).container.childNodes[0],Sr=window.getComputedStyle(Yt);return!Sr.width||Sr.width.indexOf("px")===-1}function Ge(){var $e=window.getComputedStyle(ue),Yt={};return Yt.position=$e.position,Yt.width=ue.offsetWidth,Yt.height=ue.offsetHeight,Yt.top=$e.top,Yt.right=$e.right,Yt.bottom=$e.bottom,Yt.left=$e.left,Yt.widthCSS=$e.width,Yt.heightCSS=$e.height,Yt}function Ae(){var $e=Ge();i(ue).startSize={width:$e.width,height:$e.height},Ee("Element start size",i(ue).startSize)}function Be(){i(ue).listeners=[]}function ze(){if(Ee("storeStyle invoked."),!i(ue)){Ee("Aborting because element has been uninstalled");return}var $e=Ge();i(ue).style=$e}function st($e,Yt,Sr){i($e).lastWidth=Yt,i($e).lastHeight=Sr}function Vt($e){return B($e).childNodes[0]}function ir(){return 2*u.width+1}function Fr(){return 2*u.height+1}function Yr($e){return $e+10+ir()}function mr($e){return $e+10+Fr()}function Er($e){return $e*2+ir()}function qr($e){return $e*2+Fr()}function Jr($e,Yt,Sr){var Ft=B($e),xr=V($e),io=Yr(Yt),go=mr(Sr),to=Er(Yt),Kr=qr(Sr);Ft.scrollLeft=io,Ft.scrollTop=go,xr.scrollLeft=to,xr.scrollTop=Kr}function _o(){var $e=i(ue).container;if(!$e){$e=document.createElement("div"),$e.className=h,$e.style.cssText=g(["visibility: hidden","display: inline","width: 0px","height: 0px","z-index: -1","overflow: hidden","margin: 0","padding: 0"]),i(ue).container=$e,F($e),ue.appendChild($e);var Yt=function(){i(ue).onRendered&&i(ue).onRendered()};R($e,"animationstart",Yt),i(ue).onAnimationStart=Yt}return $e}function So(){function $e(){var si=i(ue).style;if(si.position==="static"){ue.style.setProperty("position","relative",ne.important?"important":"");var Fn=function(pa,Tn,vs,zi){function us(Gs){return Gs.replace(/[^-\d\.]/g,"")}var xa=vs[zi];xa!=="auto"&&us(xa)!=="0"&&(pa.warn("An element that is positioned static has style."+zi+"="+xa+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+zi+" will be set to 0. Element: ",Tn),Tn.style[zi]=0)};Fn(t,ue,si,"top"),Fn(t,ue,si,"right"),Fn(t,ue,si,"bottom"),Fn(t,ue,si,"left")}}function Yt(si,Fn,pa,Tn){return si=si?si+"px":"0",Fn=Fn?Fn+"px":"0",pa=pa?pa+"px":"0",Tn=Tn?Tn+"px":"0",["left: "+si,"top: "+Fn,"right: "+Tn,"bottom: "+pa]}if(Ee("Injecting elements"),!i(ue)){Ee("Aborting because element has been uninstalled");return}$e();var Sr=i(ue).container;Sr||(Sr=_o());var Ft=u.width,xr=u.height,io=g(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden","width: 100%","height: 100%","left: 0px","top: 0px"]),go=g(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden"].concat(Yt(-(1+Ft),-(1+xr),-xr,-Ft))),to=g(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),Kr=g(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),Ao=g(["position: absolute","left: 0","top: 0"]),$i=g(["position: absolute","width: 200%","height: 200%"]),Qo=document.createElement("div"),ti=document.createElement("div"),Pn=document.createElement("div"),se=document.createElement("div"),bn=document.createElement("div"),ja=document.createElement("div");Qo.dir="ltr",Qo.style.cssText=io,Qo.className=h,ti.className=h,ti.style.cssText=go,Pn.style.cssText=to,se.style.cssText=Ao,bn.style.cssText=Kr,ja.style.cssText=$i,Pn.appendChild(se),bn.appendChild(ja),ti.appendChild(Pn),ti.appendChild(bn),Qo.appendChild(ti),Sr.appendChild(Qo);function An(){var si=i(ue);si&&si.onExpand?si.onExpand():Ee("Aborting expand scroll handler: element has been uninstalled")}function ss(){var si=i(ue);si&&si.onShrink?si.onShrink():Ee("Aborting shrink scroll handler: element has been uninstalled")}R(Pn,"scroll",An),R(bn,"scroll",ss),i(ue).onExpandScroll=An,i(ue).onShrinkScroll=ss}function oo(){function $e(to,Kr,Ao){var $i=Vt(to),Qo=Yr(Kr),ti=mr(Ao);$i.style.setProperty("width",Qo+"px",ne.important?"important":""),$i.style.setProperty("height",ti+"px",ne.important?"important":"")}function Yt(to){var Kr=ue.offsetWidth,Ao=ue.offsetHeight,$i=Kr!==i(ue).lastWidth||Ao!==i(ue).lastHeight;Ee("Storing current size",Kr,Ao),st(ue,Kr,Ao),r.add(0,function(){if($i){if(!i(ue)){Ee("Aborting because element has been uninstalled");return}if(!Sr()){Ee("Aborting because element container has not been initialized");return}if(ne.debug){var ti=ue.offsetWidth,Pn=ue.offsetHeight;(ti!==Kr||Pn!==Ao)&&t.warn(s.get(ue),"Scroll: Size changed before updating detector elements.")}$e(ue,Kr,Ao)}}),r.add(1,function(){if(!i(ue)){Ee("Aborting because element has been uninstalled");return}if(!Sr()){Ee("Aborting because element container has not been initialized");return}Jr(ue,Kr,Ao)}),$i&&to&&r.add(2,function(){if(!i(ue)){Ee("Aborting because element has been uninstalled");return}if(!Sr()){Ee("Aborting because element container has not been initialized");return}to()})}function Sr(){return!!i(ue).container}function Ft(){function to(){return i(ue).lastNotifiedWidth===void 0}Ee("notifyListenersIfNeeded invoked");var Kr=i(ue);if(to()&&Kr.lastWidth===Kr.startSize.width&&Kr.lastHeight===Kr.startSize.height)return Ee("Not notifying: Size is the same as the start size, and there has been no notification yet.");if(Kr.lastWidth===Kr.lastNotifiedWidth&&Kr.lastHeight===Kr.lastNotifiedHeight)return Ee("Not notifying: Size already notified");Ee("Current size not notified, notifying..."),Kr.lastNotifiedWidth=Kr.lastWidth,Kr.lastNotifiedHeight=Kr.lastHeight,aF(i(ue).listeners,function(Ao){Ao(ue)})}function xr(){if(Ee("startanimation triggered."),ft(ue)){Ee("Ignoring since element is still unrendered...");return}Ee("Element rendered.");var to=B(ue),Kr=V(ue);(to.scrollLeft===0||to.scrollTop===0||Kr.scrollLeft===0||Kr.scrollTop===0)&&(Ee("Scrollbars out of sync. Updating detector elements..."),Yt(Ft))}function io(){if(Ee("Scroll detected."),ft(ue)){Ee("Scroll event fired while unrendered. Ignoring...");return}Yt(Ft)}if(Ee("registerListenersAndPositionElements invoked."),!i(ue)){Ee("Aborting because element has been uninstalled");return}i(ue).onRendered=xr,i(ue).onExpand=io,i(ue).onShrink=io;var go=i(ue).style;$e(ue,go.width,go.height)}function Wi(){if(Ee("finalizeDomMutation invoked."),!i(ue)){Ee("Aborting because element has been uninstalled");return}var $e=i(ue).style;st(ue,$e.width,$e.height),Jr(ue,$e.width,$e.height)}function bo(){Oe(ue)}function Ni(){Ee("Installing..."),Be(),Ae(),r.add(0,ze),r.add(1,So),r.add(2,oo),r.add(3,Wi),r.add(4,bo)}Ee("Making detectable..."),He(ue)?(Ee("Element is detached"),_o(),Ee("Waiting until element is attached..."),i(ue).onRendered=function(){Ee("Element is now attached"),Ni()}):Ni()}function te(ne){var ue=i(ne);ue&&(ue.onExpandScroll&&I(B(ne),"scroll",ue.onExpandScroll),ue.onShrinkScroll&&I(V(ne),"scroll",ue.onShrinkScroll),ue.onAnimationStart&&I(ue.container,"animationstart",ue.onAnimationStart),ue.container&&ne.removeChild(ue.container))}return{makeDetectable:Q,addListener:J,uninstall:te,initDocument:m}},Kd=k8.forEach,uF=ZA,pF=YA,cF=$A,lF=qA,dF=KA,Y_=H8,yF=tF,dl=iF,hF=nF,fF=sF;function $_(e){return Array.isArray(e)||e.length!==void 0}function q_(e){if(Array.isArray(e))return e;var t=[];return Kd(e,function(r){t.push(r)}),t}function K_(e){return e&&e.nodeType===1}var mF=function(e){e=e||{};var t;if(e.idHandler)t={get:function(Q){return e.idHandler.get(Q,!0)},set:e.idHandler.set};else{var r=cF(),i=lF({idGenerator:r,stateHandler:dl});t=i}var s=e.reporter;if(!s){var u=s===!1;s=dF(u)}var n=yl(e,"batchProcessor",yF({reporter:s})),h={};h.callOnAdd=!!yl(e,"callOnAdd",!0),h.debug=!!yl(e,"debug",!1);var m=pF(t),g=uF({stateHandler:dl}),x,b=yl(e,"strategy","object"),F=yl(e,"important",!1),R={reporter:s,batchProcessor:n,stateHandler:dl,idHandler:t,important:F};if(b==="scroll"&&(Y_.isLegacyOpera()?(s.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."),b="object"):Y_.isIE(9)&&(s.warn("Scroll strategy is not supported on IE9. Changing to object strategy."),b="object")),b==="scroll")x=fF(R);else if(b==="object")x=hF(R);else throw new Error("Invalid strategy name: "+b);var I={};function B(Q,te,ne){function ue(Ae){var Be=m.get(Ae);Kd(Be,function(st){st(Ae)})}function Oe(Ae,Be,ze){m.add(Be,ze),Ae&&ze(Be)}if(ne||(ne=te,te=Q,Q={}),!te)throw new Error("At least one element required.");if(!ne)throw new Error("Listener required.");if(K_(te))te=[te];else if($_(te))te=q_(te);else return s.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");var Ee=0,He=yl(Q,"callOnAdd",h.callOnAdd),ft=yl(Q,"onReady",function(){}),Ge=yl(Q,"debug",h.debug);Kd(te,function(Be){dl.getState(Be)||(dl.initState(Be),t.set(Be));var ze=t.get(Be);if(Ge&&s.log("Attaching listener to element",ze,Be),!g.isDetectable(Be)){if(Ge&&s.log(ze,"Not detectable."),g.isBusy(Be)){Ge&&s.log(ze,"System busy making it detectable"),Oe(He,Be,ne),I[ze]=I[ze]||[],I[ze].push(function(){Ee++,Ee===te.length&&ft()});return}return Ge&&s.log(ze,"Making detectable..."),g.markBusy(Be,!0),x.makeDetectable({debug:Ge,important:F},Be,function(Vt){if(Ge&&s.log(ze,"onElementDetectable"),dl.getState(Vt)){g.markAsDetectable(Vt),g.markBusy(Vt,!1),x.addListener(Vt,ue),Oe(He,Vt,ne);var ir=dl.getState(Vt);if(ir&&ir.startSize){var Fr=Vt.offsetWidth,Yr=Vt.offsetHeight;(ir.startSize.width!==Fr||ir.startSize.height!==Yr)&&ue(Vt)}I[ze]&&Kd(I[ze],function(mr){mr()})}else Ge&&s.log(ze,"Element uninstalled before being detectable.");delete I[ze],Ee++,Ee===te.length&&ft()})}Ge&&s.log(ze,"Already detecable, adding listener."),Oe(He,Be,ne),Ee++}),Ee===te.length&&ft()}function V(Q){if(!Q)return s.error("At least one element is required.");if(K_(Q))Q=[Q];else if($_(Q))Q=q_(Q);else return s.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");Kd(Q,function(te){m.removeAllListeners(te),x.uninstall(te),dl.cleanState(te)})}function J(Q){x.initDocument&&x.initDocument(Q)}return{listenTo:B,removeListener:m.removeListener,removeAllListeners:m.removeAllListeners,uninstall:V,initDocument:J}};function yl(e,t,r){var i=e[t];return i==null&&r!==void 0?r:i}const _F=gp(mF);let gF=class extends yu.EventEmitter{get iconService(){return this.container.iconService}get fontService(){return this.container.fontService}get controlService(){return this.container.controlService}get configService(){return this.container.globalConfigService}get map(){return this.container.mapService}get coordinateSystemService(){return this.container.coordinateSystemService}get rendererService(){return this.container.rendererService}get layerService(){return this.container.layerService}get debugService(){return this.container.debugService}get cameraService(){return this.container.cameraService}get interactionService(){return this.container.interactionService}get pickingService(){return this.container.pickingService}get shaderModuleService(){return this.container.shaderModuleService}get markerService(){return this.container.markerService}get popupService(){return this.container.popupService}constructor(t){super(),H(this,"destroyed",!1),H(this,"loaded",!1),H(this,"id",void 0),H(this,"inited",!1),H(this,"rendering",!1),H(this,"$container",void 0),H(this,"canvas",void 0),H(this,"markerContainer",void 0),H(this,"resizeDetector",void 0),H(this,"hooks",void 0),H(this,"handleWindowResized",()=>{this.emit("resize"),this.$container&&(this.initContainer(),this.coordinateSystemService.needRefresh=!0,this.render())}),H(this,"handleMapCameraChanged",r=>{this.cameraService.update(r),this.render()}),this.container=t,this.hooks={init:new GA},this.id=t.id}init(t){var r=this;this.configService.setSceneConfig(this.id,t),this.shaderModuleService.registerBuiltinModules(),this.iconService.init(),this.iconService.on("imageUpdate",()=>this.render()),this.fontService.init(),this.hooks.init.tapPromise("initMap",mt(function*(){r.debugService.log("map.mapInitStart",{type:r.map.version}),yield new Promise(i=>{r.map.onCameraChanged(s=>{r.cameraService.init(),r.cameraService.update(s),i()}),r.map.init()}),r.map.onCameraChanged(r.handleMapCameraChanged),r.map.addMarkerContainer(),r.markerService.addMarkers(),r.markerService.addMarkerLayers(),r.popupService.initPopup(),r.interactionService.init(),r.interactionService.on(Us.Drag,r.addSceneEvent.bind(r))})),this.hooks.init.tapPromise("initRenderer",mt(function*(){var i;const s=((i=r.map)===null||i===void 0?void 0:i.getOverlayContainer())||void 0;if(s?r.$container=s:r.$container=xA(r.configService.getSceneConfig(r.id).id||""),r.$container){const{canvas:n}=t;if(r.canvas=n||lu("canvas","",r.$container),r.setCanvas(),yield r.rendererService.init(r.canvas,r.configService.getSceneConfig(r.id),t.gl),r.registerContextLost(),r.initContainer(),r.resizeDetector=_F({strategy:"scroll"}),r.resizeDetector.listenTo(r.$container,r.handleWindowResized),window.matchMedia){var u;(u=window.matchMedia("screen and (-webkit-min-device-pixel-ratio: 1.5)"))===null||u===void 0||u.addListener(r.handleWindowResized.bind("screen"))}}else console.error("容器 id 不存在");r.pickingService.init(r.id)})),this.render()}registerContextLost(){const t=this.rendererService.getCanvas();t&&t.addEventListener("webglcontextlost",()=>this.emit("webglcontextlost"))}addLayer(t){this.layerService.sceneService=this,this.layerService.add(t)}addMask(t){this.layerService.sceneService=this,this.layerService.addMask(t)}render(){var t=this;return mt(function*(){t.rendering||t.destroyed||(t.rendering=!0,t.inited?(yield t.layerService.initLayers(),yield t.layerService.renderLayers()):(yield t.hooks.init.promise(),t.destroyed&&t.destroy(),yield t.layerService.initLayers(),t.layerService.renderLayers(),t.controlService.addControls(),t.loaded=!0,t.emit("loaded"),t.inited=!0),t.rendering=!1)})()}addFontFace(t,r){this.fontService.addFontFace(t,r)}getSceneContainer(){return this.$container}exportPng(t){var r=this;return mt(function*(){var i;const s=(i=r.$container)===null||i===void 0?void 0:i.getElementsByTagName("canvas")[0];return yield r.render(),t==="jpg"?s==null?void 0:s.toDataURL("image/jpeg"):s==null?void 0:s.toDataURL("image/png")})()}getSceneConfig(){return this.configService.getSceneConfig(this.id)}getPointSizeRange(){return this.rendererService.getPointSizeRange()}addMarkerContainer(){const t=this.$container.parentElement;t!==null&&(this.markerContainer=lu("div","l7-marker-container",t))}getMarkerContainer(){return this.markerContainer}destroy(){var t;if(!this.inited){this.destroyed=!0;return}this.resizeDetector.removeListener(this.$container,this.handleWindowResized),this.pickingService.destroy(),this.layerService.destroy(),this.interactionService.destroy(),this.controlService.destroy(),this.markerService.destroy(),this.fontService.destroy(),this.iconService.destroy(),this.removeAllListeners(),this.inited=!1,this.map.destroy(),setTimeout(()=>{var r;(r=this.$container)===null||r===void 0||r.removeChild(this.canvas),this.canvas=null,this.rendererService.destroy()}),(t=this.$container)===null||t===void 0||(t=t.parentNode)===null||t===void 0||t.removeChild(this.$container),this.emit("destroy")}initContainer(){var t,r;const i=Bs,s=((t=this.$container)===null||t===void 0?void 0:t.clientWidth)||400,u=((r=this.$container)===null||r===void 0?void 0:r.clientHeight)||300,n=this.canvas;n&&(n.width=s*i,n.height=u*i),this.rendererService.viewport({x:0,y:0,width:i*s,height:i*u})}setCanvas(){var t,r;const i=Bs,s=((t=this.$container)===null||t===void 0?void 0:t.clientWidth)||400,u=((r=this.$container)===null||r===void 0?void 0:r.clientHeight)||300,n=this.canvas;n.width=s*i,n.height=u*i,n.style.width="100%",n.style.height="100%"}addSceneEvent(t){this.emit(t.type,t)}};const{uniq:vF}=Qn,Q_="#define PI 3.14159265359",EF=`#define ambientRatio 0.5 +#define diffuseRatio 0.3 +#define specularRatio 0.2 + + +float calc_lighting(vec4 pos) { + + vec3 worldPos = vec3(pos * u_ModelMatrix); + + vec3 worldNormal = a_Normal; + // //cal light weight + vec3 viewDir = normalize(u_CameraPosition - worldPos); + + vec3 lightDir = normalize(vec3(1, -10.5, 12)); + + vec3 halfDir = normalize(viewDir+lightDir); + // //lambert + float lambert = dot(worldNormal, lightDir); + //specular + float specular = pow(max(0.0, dot(worldNormal, halfDir)), 32.0); + //sum to light weight + float lightWeight = ambientRatio + diffuseRatio * lambert + specularRatio * specular; + + return lightWeight; +} +`,xF=`#define SHIFT_RIGHT17 1.0 / 131072.0 +#define SHIFT_RIGHT18 1.0 / 262144.0 +#define SHIFT_RIGHT19 1.0 / 524288.0 +#define SHIFT_RIGHT20 1.0 / 1048576.0 +#define SHIFT_RIGHT21 1.0 / 2097152.0 +#define SHIFT_RIGHT22 1.0 / 4194304.0 +#define SHIFT_RIGHT23 1.0 / 8388608.0 +#define SHIFT_RIGHT24 1.0 / 16777216.0 + +#define SHIFT_LEFT17 131072.0 +#define SHIFT_LEFT18 262144.0 +#define SHIFT_LEFT19 524288.0 +#define SHIFT_LEFT20 1048576.0 +#define SHIFT_LEFT21 2097152.0 +#define SHIFT_LEFT22 4194304.0 +#define SHIFT_LEFT23 8388608.0 +#define SHIFT_LEFT24 16777216.0 + +vec2 unpack_float(float packedValue) { + int packedIntValue = int(packedValue); + int v0 = packedIntValue / 256; + return vec2(v0, packedIntValue - v0 * 256); +} + +vec4 decode_color(vec2 encodedColor) { + return vec4( + unpack_float(encodedColor[0]) / 255.0, + unpack_float(encodedColor[1]) / 255.0 + ); +} +`,PF=`// Blinn-Phong model +// apply lighting in vertex shader instead of fragment shader +// @see https://learnopengl.com/Advanced-Lighting/Advanced-Lighting +uniform float u_Ambient : 1.0; +uniform float u_Diffuse : 1.0; +uniform float u_Specular : 1.0; +uniform int u_NumOfDirectionalLights : 1; +uniform int u_NumOfSpotLights : 0; + +#define SHININESS 32.0 +#define MAX_NUM_OF_DIRECTIONAL_LIGHTS 3 +#define MAX_NUM_OF_SPOT_LIGHTS 3 + +struct DirectionalLight { + vec3 direction; + vec3 ambient; + vec3 diffuse; + vec3 specular; +}; + +struct SpotLight { + vec3 position; + vec3 direction; + vec3 ambient; + vec3 diffuse; + vec3 specular; + float constant; + float linear; + float quadratic; + float angle; + float blur; + float exponent; +}; + +uniform DirectionalLight u_DirectionalLights[MAX_NUM_OF_DIRECTIONAL_LIGHTS]; +uniform SpotLight u_SpotLights[MAX_NUM_OF_SPOT_LIGHTS]; + +vec3 calc_directional_light(DirectionalLight light, vec3 normal, vec3 viewDir) { + vec3 lightDir = normalize(light.direction); + // diffuse shading + float diff = max(dot(normal, lightDir), 0.0); + // Blinn-Phong specular shading + vec3 halfwayDir = normalize(lightDir + viewDir); + float spec = pow(max(dot(normal, halfwayDir), 0.0), SHININESS); + + vec3 ambient = light.ambient * u_Ambient; + vec3 diffuse = light.diffuse * diff * u_Diffuse; + vec3 specular = light.specular * spec * u_Specular; + + return ambient + diffuse + specular; +} + + +vec3 calc_lighting(vec3 position, vec3 normal, vec3 viewDir) { + vec3 weight = vec3(0.0); + for (int i = 0; i < MAX_NUM_OF_DIRECTIONAL_LIGHTS; i++) { + if (i >= u_NumOfDirectionalLights) { + break; + } + weight += calc_directional_light(u_DirectionalLights[i], normal, viewDir); + } + return weight; +} +`,bF=` +in vec4 v_PickingResult; + +#pragma include "picking_uniforms" + +#define PICKING_NONE 0.0 +#define PICKING_ENCODE 1.0 +#define PICKING_HIGHLIGHT 2.0 +#define COLOR_SCALE 1. / 255. + +#define HIGHLIGHT 1.0 +#define SELECT 2.0 + +/* + * Returns highlight color if this item is selected. + */ +vec4 filterHighlightColor(vec4 color, float weight) { + float activeType = v_PickingResult.a; + if(activeType > 0.0) { + vec4 highLightColor = activeType > 1.5 ? u_SelectColor : u_HighlightColor; + highLightColor = highLightColor * COLOR_SCALE; + float highLightAlpha = highLightColor.a; + float highLightRatio = highLightAlpha / (highLightAlpha + color.a * (1.0 - highLightAlpha)); + vec3 resultRGB = mix(color.rgb, highLightColor.rgb, highLightRatio); + return vec4(mix(resultRGB * weight, color.rgb, u_activeMix), color.a); + } + else { + return color; + } + + +} + +/* + * Returns picking color if picking enabled else unmodified argument. + */ +vec4 filterPickingColor(vec4 color) { + vec3 pickingColor = v_PickingResult.rgb; + if (u_PickingStage == PICKING_ENCODE && length(pickingColor) < 0.001) { + discard; + } + return u_PickingStage == PICKING_ENCODE ? vec4(pickingColor, step(0.001,color.a)): color; +} + +/* + * Returns picking color if picking is enabled if not + * highlight color if this item is selected, otherwise unmodified argument. + */ +vec4 filterColor(vec4 color) { + // 过滤多余的 shader 计算 + // return color; + if(u_shaderPick < 0.5) { + return color; // 暂时去除 直接取消计算在选中时拖拽地图会有问题 + } else { + return filterPickingColor(filterHighlightColor(color, 1.0)); + } + +} + +vec4 filterColorAlpha(vec4 color, float alpha) { + // 过滤多余的 shader 计算 + // return color; + if(u_shaderPick < 0.5) { + return color; // 暂时去除 直接取消计算在选中时拖拽地图会有问题 + } else { + return filterPickingColor(filterHighlightColor(color, alpha)); + } +} + +`,AF=`layout(location = ATTRIBUTE_LOCATION_PICKING_COLOR) in vec3 a_PickingColor; +out vec4 v_PickingResult; + +#pragma include "picking_uniforms" + +#define PICKING_NONE 0.0 +#define PICKING_ENCODE 1.0 +#define PICKING_HIGHLIGHT 2.0 +#define COLOR_SCALE 1. / 255. + +#define NORMAL 0.0 +#define HIGHLIGHT 1.0 +#define SELECT 2.0 + +bool isVertexPicked(vec3 vertexColor) { + return distance(vertexColor,u_PickingColor.rgb) < 0.01; +} + +// 判断当前点是否已经被 select 选中 +bool isVertexSelected(vec3 vertexColor) { + return distance(vertexColor,u_CurrentSelectedId.rgb) < 0.01; +} + +void setPickingColor(vec3 pickingColor) { + if(u_shaderPick < 0.5) { + return; + } + // compares only in highlight stage + + if(u_PickingStage == PICKING_HIGHLIGHT) { + if(isVertexPicked(pickingColor)) { + v_PickingResult = vec4(pickingColor.rgb * COLOR_SCALE,HIGHLIGHT); + return; + } + if(isVertexSelected(pickingColor)) { + v_PickingResult = vec4(u_CurrentSelectedId.rgb * COLOR_SCALE,SELECT); + return; + } + + } else { + v_PickingResult= vec4(pickingColor.rgb * COLOR_SCALE,NORMAL); + return; + } + + // // v_PickingResult.a = float((u_PickingStage == PICKING_HIGHLIGHT) && (isVertexPicked(pickingColor) || isVertexPicked(u_CurrentSelectedId))); + + // // Stores the picking color so that the fragment shader can render it during picking + // v_PickingResult.rgb = pickingColor * COLOR_SCALE; +} + +float setPickingSize(float x) { + return u_PickingStage == PICKING_ENCODE ? x + u_PickingBuffer : x; +} + +float setPickingOrder(float z) { + bool selected = bool(v_PickingResult.a); + return selected ? z + 1. : 0.; +} +`,J_=`layout(std140) uniform PickingUniforms { + vec4 u_HighlightColor; + vec4 u_SelectColor; + vec3 u_PickingColor; + float u_PickingStage; + vec3 u_CurrentSelectedId; + float u_PickingThreshold; + float u_PickingBuffer; + float u_shaderPick; + float u_activeMix; +};`,FF=` +#define E 2.718281828459045 +vec2 ProjectFlat(vec2 lnglat){ + float maxs=85.0511287798; + float lat=max(min(maxs,lnglat.y),-maxs); + float scale= 268435456.; + float d=PI/180.; + float x=lnglat.x*d; + float y=lat*d; + y=log(tan((PI/4.)+(y/2.))); + + float a=.5/PI, + b=.5, + c=-.5/PI; + d=.5; + x=scale*(a*x+b); + y=scale*(c*y+d); + return vec2(x,y); +} + +vec2 unProjectFlat(vec2 px){ + float a=.5/PI; + float b=.5; + float c=-.5/PI; + float d=.5; + float scale = 268435456.; + float x=(px.x/scale-b)/a; + float y=(px.y/scale-d)/c; + y=(atan(pow(E,y))-(PI/4.))*2.; + d=PI/180.; + float lat=y/d; + float lng=x/d; + return vec2(lng,lat); +} + +float pixelDistance(vec2 from, vec2 to) { + vec2 a1 = ProjectFlat(from); + vec2 b1 = ProjectFlat(to); + return distance(a1, b1); +} + +// gaode2.0 +vec2 customProject(vec2 lnglat) { // 经纬度 => 平面坐标 + float t = lnglat.x; + float e = lnglat.y; + float Sm = 180.0 / PI; + float Tm = 6378137.0; + float Rm = PI / 180.0; + float r = 85.0511287798; + e = max(min(r, e), -r); + t *= Rm; + e *= Rm; + e = log(tan(PI / 4.0 + e / 2.0)); + return vec2(t * Tm, e * Tm); +} + +vec2 unProjCustomCoord(vec2 point) { // 平面坐标 => 经纬度 + float Sm = 57.29577951308232; //180 / Math.PI + float Tm = 6378137.0; + float t = point.x; + float e = point.y; + return vec2(t / Tm * Sm, (2.0 * atan(exp(e / Tm)) - PI / 2.0) * Sm); +} + + +float customPixelDistance(vec2 from, vec2 to) { + vec2 a1 = ProjectFlat(from); + vec2 b1 = ProjectFlat(to); + return distance(a1, b1); +}`,e5=`#define TILE_SIZE (512.0) +#define PI (3.1415926536) +#define WORLD_SCALE (TILE_SIZE / (PI * 2.0)) +#define EARTH_CIRCUMFERENCE (40.03e6) + +#define COORDINATE_SYSTEM_LNGLAT (1.0) // mapbox +#define COORDINATE_SYSTEM_LNGLAT_OFFSET (2.0) // mapbox offset +#define COORDINATE_SYSTEM_VECTOR_TILE (3.0) +#define COORDINATE_SYSTEM_IDENTITY (4.0) +#define COORDINATE_SYSTEM_METER_OFFSET (5.0) + +#pragma include "scene_uniforms" + +const vec2 ZERO_64_XY_LOW = vec2(0.0, 0.0); + +// web mercator coords -> world coords +vec2 project_mercator(vec2 lnglat) { + float x = lnglat.x; + return vec2(radians(x) + PI, PI - log(tan(PI * 0.25 + radians(lnglat.y) * 0.5))); +} + +float project_scale(float meters) { + return meters * u_PixelsPerMeter.z; +} + +// offset coords -> world coords +vec4 project_offset(vec4 offset) { + float dy = offset.y; + dy = clamp(dy, -1.0, 1.0); + vec3 pixels_per_unit = u_PixelsPerDegree + u_PixelsPerDegree2 * dy; + return vec4(offset.xyz * pixels_per_unit, offset.w); +} + +vec3 project_normal(vec3 normal) { + vec4 normal_modelspace = u_ModelMatrix * vec4(normal, 0.0); + return normalize(normal_modelspace.xyz * u_PixelsPerMeter); +} + +vec3 project_offset_normal(vec3 vector) { + if ( + u_CoordinateSystem < COORDINATE_SYSTEM_LNGLAT + 0.01 && + u_CoordinateSystem > COORDINATE_SYSTEM_LNGLAT - 0.01 || + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT_OFFSET + ) { + // normals generated by the polygon tesselator are in lnglat offsets instead of meters + return normalize(vector * u_PixelsPerDegree); + } + return project_normal(vector); +} + +vec4 project_position(vec4 position, vec2 position64xyLow) { + if (u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT_OFFSET) { + float X = position.x - u_ViewportCenter.x; + float Y = position.y - u_ViewportCenter.y; + return project_offset( + vec4(X + position64xyLow.x, Y + position64xyLow.y, position.z, position.w) + ); + } + if ( + u_CoordinateSystem < COORDINATE_SYSTEM_LNGLAT + 0.01 && + u_CoordinateSystem > COORDINATE_SYSTEM_LNGLAT - 0.01 + ) { + return vec4( + project_mercator(position.xy) * WORLD_SCALE * u_ZoomScale, + project_scale(position.z), + position.w + ); + } + + return position; +} + +vec4 project_position(vec4 position) { + return project_position(position, ZERO_64_XY_LOW); +} + +vec2 project_pixel_size_to_clipspace(vec2 pixels) { + vec2 offset = pixels / u_ViewportSize * u_DevicePixelRatio * 2.0; + return offset * u_FocalDistance; +} + +// 适配纹理贴图的等像素大小 +float project_pixel_texture(float pixel) { + // mapbox zoom > 12 + if (u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT_OFFSET) { + return pixel * pow(0.5, u_Zoom) * u_FocalDistance; + } + + return pixel * 2.0 * u_FocalDistance; +} + +// 在不论什么底图下需要统一处理的时候使用 +float project_float_pixel(float pixel) { + if ( + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT || + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT_OFFSET + ) { + // mapbox 坐标系下,为了和 Web 墨卡托坐标系统一,zoom 默认减1 + return pixel * pow(2.0, 19.0 - u_Zoom) * u_FocalDistance; + } + + return pixel * u_FocalDistance; +} + +// Project meter into the unit of pixel which used in the camera world space +float project_float_meter(float meter) { + if ( + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT || + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT_OFFSET + ) { + // Since the zoom level uniform is updated by mapservice and it's alread been subtracted by 1 + // Not sure if we are supposed to do that again + return meter; + } else { + return project_float_pixel(meter); + } + + // TODO: change the following code to make adaptations for amap + // return u_FocalDistance * TILE_SIZE * pow(2.0, u_Zoom) * meter / EARTH_CIRCUMFERENCE; + +} + +float project_pixel(float pixel) { + return pixel * u_FocalDistance; +} + +vec2 project_pixel(vec2 pixel) { + return pixel * -1.0 * u_FocalDistance; +} + +vec3 project_pixel(vec3 pixel) { + return pixel * -1.0 * u_FocalDistance; +} + +vec4 project_common_position_to_clipspace(vec4 position, mat4 viewProjectionMatrix, vec4 center) { + if ( + u_CoordinateSystem == COORDINATE_SYSTEM_METER_OFFSET || + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT_OFFSET + ) { + // Needs to be divided with project_uCommonUnitsPerMeter + position.w *= u_PixelsPerMeter.z; + } + + return viewProjectionMatrix * position + center; +} + +// Projects from common space coordinates to clip space +vec4 project_common_position_to_clipspace(vec4 position) { + return project_common_position_to_clipspace( + position, + u_ViewProjectionMatrix, + u_ViewportCenterProjection + ); +} + +vec4 unproject_clipspace_to_position(vec4 clipspacePos, mat4 u_InverseViewProjectionMatrix) { + vec4 pos = u_InverseViewProjectionMatrix * (clipspacePos - u_ViewportCenterProjection); + + if ( + u_CoordinateSystem == COORDINATE_SYSTEM_METER_OFFSET || + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT_OFFSET + ) { + // Needs to be divided with project_uCommonUnitsPerMeter + pos.w = pos.w / u_PixelsPerMeter.z; + } + return pos; +} + +bool isEqual(float a, float b) { + return a < b + 0.001 && a > b - 0.001; +} + +`,TF=`vec2 rotate_matrix(vec2 v, float a) { + float b = a / 180.0 * 3.1415926535897932384626433832795; + float s = sin(b); + float c = cos(b); + mat2 m = mat2(c, s, -s, c); + return m * v; +}`,t5=`layout(std140) uniform SceneUniforms { + mat4 u_ViewMatrix; + mat4 u_ProjectionMatrix; + mat4 u_ViewProjectionMatrix; + mat4 u_ModelMatrix; + vec4 u_ViewportCenterProjection; + vec3 u_PixelsPerDegree; + float u_Zoom; + vec3 u_PixelsPerDegree2; + float u_ZoomScale; + vec3 u_PixelsPerMeter; + float u_CoordinateSystem; + vec3 u_CameraPosition; + float u_DevicePixelRatio; + vec2 u_ViewportCenter; + vec2 u_ViewportSize; + float u_FocalDistance; +}; +`,SF=`/** + * 2D signed distance field functions + * @see http://www.iquilezles.org/www/articles/distfunctions2d/distfunctions2d.htm + */ + +float ndot(vec2 a, vec2 b ) { return a.x*b.x - a.y*b.y; } + +float sdCircle(vec2 p, float r) { + return length(p) - r; +} + +float sdEquilateralTriangle(vec2 p) { + float k = sqrt(3.0); + p.x = abs(p.x) - 1.0; + p.y = p.y + 1.0/k; + if( p.x + k*p.y > 0.0 ) p = vec2(p.x-k*p.y,-k*p.x-p.y)/2.0; + p.x -= clamp( p.x, -2.0, 0.0 ); + return -length(p)*sign(p.y); +} + +float sdBox(vec2 p, vec2 b) { + vec2 d = abs(p)-b; + return length(max(d,vec2(0))) + min(max(d.x,d.y),0.0); +} + +float sdPentagon(vec2 p, float r) { + vec3 k = vec3(0.809016994,0.587785252,0.726542528); + p.x = abs(p.x); + p -= 2.0*min(dot(vec2(-k.x,k.y),p),0.0)*vec2(-k.x,k.y); + p -= 2.0*min(dot(vec2( k.x,k.y),p),0.0)*vec2( k.x,k.y); + p -= vec2(clamp(p.x,-r*k.z,r*k.z),r); + return length(p)*sign(p.y); +} + +float sdHexagon(vec2 p, float r) { + vec3 k = vec3(-0.866025404,0.5,0.577350269); + p = abs(p); + p -= 2.0*min(dot(k.xy,p),0.0)*k.xy; + p -= vec2(clamp(p.x, -k.z*r, k.z*r), r); + return length(p)*sign(p.y); +} + +float sdOctogon(vec2 p, float r) { + vec3 k = vec3(-0.9238795325, 0.3826834323, 0.4142135623 ); + p = abs(p); + p -= 2.0*min(dot(vec2( k.x,k.y),p),0.0)*vec2( k.x,k.y); + p -= 2.0*min(dot(vec2(-k.x,k.y),p),0.0)*vec2(-k.x,k.y); + p -= vec2(clamp(p.x, -k.z*r, k.z*r), r); + return length(p)*sign(p.y); +} + +float sdHexagram(vec2 p, float r) { + vec4 k=vec4(-0.5,0.8660254038,0.5773502692,1.7320508076); + p = abs(p); + p -= 2.0*min(dot(k.xy,p),0.0)*k.xy; + p -= 2.0*min(dot(k.yx,p),0.0)*k.yx; + p -= vec2(clamp(p.x,r*k.z,r*k.w),r); + return length(p)*sign(p.y); +} + +float sdRhombus(vec2 p, vec2 b) { + vec2 q = abs(p); + float h = clamp((-2.0*ndot(q,b)+ndot(b,b))/dot(b,b),-1.0,1.0); + float d = length( q - 0.5*b*vec2(1.0-h,1.0+h) ); + return d * sign( q.x*b.y + q.y*b.x - b.x*b.y ); +} + +float sdVesica(vec2 p, float r, float d) { + p = abs(p); + float b = sqrt(r*r-d*d); // can delay this sqrt + return ((p.y-b)*d>p.x*b) + ? length(p-vec2(0.0,b)) + : length(p-vec2(-d,0.0))-r; +} +`,r5=/precision\s+(high|low|medium)p\s+float/,o5=`#ifdef GL_FRAGMENT_PRECISION_HIGH + precision highp float; + #else + precision mediump float; +#endif +`,wF=/#pragma include (["^+"]?["[a-zA-Z_0-9](.*)"]*?)/g,RF=/void\s+main\s*\([^)]*\)\s*\{\n?/;class CF{constructor(){H(this,"moduleCache",{}),H(this,"rawContentCache",{})}registerBuiltinModules(){this.destroy(),this.registerModule("common",{vs:Q_,fs:Q_}),this.registerModule("decode",{vs:xF,fs:""}),this.registerModule("scene_uniforms",{vs:t5,fs:t5}),this.registerModule("picking_uniforms",{vs:J_,fs:J_}),this.registerModule("projection",{vs:e5,fs:e5}),this.registerModule("project",{vs:FF,fs:""}),this.registerModule("sdf_2d",{vs:"",fs:SF}),this.registerModule("lighting",{vs:PF,fs:""}),this.registerModule("light",{vs:EF,fs:""}),this.registerModule("picking",{vs:AF,fs:bF}),this.registerModule("rotation_2d",{vs:TF,fs:""})}registerModule(t,r){r.vs=r.vs.replace(/\r\n/g,` +`),r.fs=r.fs.replace(/\r\n/g,` +`);const{vs:i,fs:s,uniforms:u,defines:n,inject:h}=r,{content:m,uniforms:g}=Vm(i),{content:x,uniforms:b}=Vm(s);this.rawContentCache[t]={fs:x,defines:n,inject:h,uniforms:_t(_t(_t({},g),b),u),vs:m}}getModule(t){let r=this.rawContentCache[t].vs,i=this.rawContentCache[t].fs;const{defines:s={},inject:u={}}=this.rawContentCache[t];let n={};u["vs:#decl"]&&(r=u["vs:#decl"]+r,n=Vm(u["vs:#decl"]).uniforms),u["vs:#main-start"]&&(r=r.replace(RF,B=>B+u["vs:#main-start"])),u["fs:#decl"]&&(i=u["fs:#decl"]+i),r=IF(s)+r;const{content:m,includeList:g}=this.processModule(r,[],"vs"),{content:x,includeList:b}=this.processModule(i,[],"fs"),F=vF(g.concat(b).concat(t)).reduce((B,V)=>_t(_t({},B),this.rawContentCache[V].uniforms),_t({},n)),R=(r5.test(x)?"":o5)+m,I=(r5.test(x)?"":o5)+x;return this.moduleCache[t]={vs:R.trim(),fs:I.trim(),uniforms:F},this.moduleCache[t]}destroy(){this.moduleCache={},this.rawContentCache={}}processModule(t,r,i){return{content:t.replace(wF,(u,n)=>{const m=n.split(" ")[0].replace(/"/g,"");if(r.indexOf(m)>-1)return"";const g=this.rawContentCache[m][i];r.push(m);const{content:x}=this.processModule(g,r,i);return x}),includeList:r}}}function IF(e){return Object.keys(e).reduce((r,i)=>r+`#define ${i.toUpperCase()} ${e[i]} +`,` +`)}class A6{constructor(){H(this,"shaderModuleService",void 0),H(this,"rendererService",void 0),H(this,"cameraService",void 0),H(this,"mapService",void 0),H(this,"interactionService",void 0),H(this,"layerService",void 0),H(this,"config",void 0)}getName(){return""}getType(){return My.Normal}init(t,r){this.config=r,this.rendererService=t.getContainer().rendererService,this.cameraService=t.getContainer().cameraService,this.mapService=t.getContainer().mapService,this.interactionService=t.getContainer().interactionService,this.layerService=t.getContainer().layerService,this.shaderModuleService=t.getContainer().shaderModuleService}render(t){}}class MF extends A6{getName(){return"clear"}init(t,r){super.init(t,r)}render(){this.rendererService.clear({color:[0,0,0,0],depth:1,framebuffer:null})}}class NF{constructor(t){H(this,"passes",[]),H(this,"layer",void 0),H(this,"renderFlag",void 0),H(this,"width",0),H(this,"height",0),this.postProcessor=t}setLayer(t){this.layer=t}setRenderFlag(t){this.renderFlag=t}getRenderFlag(){return this.renderFlag}getPostProcessor(){return this.postProcessor}render(){var t=this;return mt(function*(){for(const r of t.passes)yield r.render(t.layer);yield t.postProcessor.render(t.layer)})()}resize(t,r){(this.width!==t||this.height!==r)&&(this.postProcessor.resize(t,r),this.width=t,this.height=r)}add(t,r){t.getType()===My.PostProcessing?this.postProcessor.add(t,this.layer,r):(t.init(this.layer,r),this.passes.push(t))}insert(t,r,i){t.init(this.layer,r),this.passes.splice(i,0,t)}destroy(){this.passes.length=0}}class DF extends A6{constructor(...t){var r;super(...t),r=this,H(this,"pickingFBO",void 0),H(this,"layer",void 0),H(this,"width",0),H(this,"height",0),H(this,"alreadyInRendering",!1),H(this,"pickFromPickingFBO",({x:i,y:s,lngLat:u,type:n})=>{if(!this.layer.isVisible()||!this.layer.needPick(n))return;const{getViewportSize:h,readPixelsAsync:m,useFramebuffer:g}=this.rendererService,{width:x,height:b}=h(),{enableHighlight:F,enableSelect:R}=this.layer.getLayerConfig(),I=i*Bs,B=s*Bs;if(I>x||I<0||B>b||B<0)return;let V;g(this.pickingFBO,mt(function*(){var J;if(V=yield m({x:Math.round(I),y:Math.round(b-(s+1)*Bs),width:1,height:1,data:new Uint8Array(1*1*4),framebuffer:r.pickingFBO}),V[0]!==0||V[1]!==0||V[2]!==0){const Q=l1(V),te=r.layer.getSource().getFeatureById(Q),ne={x:i,y:s,type:n,lngLat:u,featureId:Q,feature:te};te&&(r.layer.setCurrentPickId(Q),r.triggerHoverOnLayer(ne))}else{const Q={x:i,y:s,lngLat:u,type:r.layer.getCurrentPickId()===null?"un"+n:"mouseout",featureId:null,feature:null};r.triggerHoverOnLayer(_t(_t({},Q),{},{type:"unpick"})),r.triggerHoverOnLayer(Q),r.layer.setCurrentPickId(null)}F&&r.highlightPickedFeature(V),R&&n==="click"&&((J=V)===null||J===void 0?void 0:J.toString())!==[0,0,0,0].toString()&&r.selectFeature(V)}))})}getType(){return My.Normal}getName(){return"pixelPicking"}init(t,r){super.init(t,r),this.layer=t;const{createTexture2D:i,createFramebuffer:s,getViewportSize:u}=this.rendererService,{width:n,height:h}=u(),m=i({width:n,height:h,wrapS:L.CLAMP_TO_EDGE,wrapT:L.CLAMP_TO_EDGE,label:"Picking Texture"});this.pickingFBO=s({color:m}),this.interactionService.on(Us.Hover,this.pickFromPickingFBO),this.interactionService.on(Us.Select,this.selectFeatureHandle.bind(this)),this.interactionService.on(Us.Active,this.highlightFeatureHandle.bind(this))}render(t){if(this.alreadyInRendering)return;const{getViewportSize:r,useFramebuffer:i,clear:s}=this.rendererService,{width:u,height:n}=r();this.alreadyInRendering=!0,(this.width!==u||this.height!==n)&&(this.pickingFBO.resize({width:u,height:n}),this.width=u,this.height=n),i(this.pickingFBO,()=>{s({framebuffer:this.pickingFBO,color:[0,0,0,0],stencil:0,depth:1});const h=this.layer.multiPassRenderer.getRenderFlag();this.layer.multiPassRenderer.setRenderFlag(!1),t.hooks.beforePickingEncode.call(),t.render(),t.hooks.afterPickingEncode.call(),this.layer.multiPassRenderer.setRenderFlag(h),this.alreadyInRendering=!1})}triggerHoverOnLayer(t){this.layer.emit(t.type,t)}highlightPickedFeature(t){const[r,i,s]=t;this.layer.hooks.beforeHighlight.call([r,i,s]),this.layerService.renderLayers()}selectFeature(t){const[r,i,s]=t;this.layer.hooks.beforeSelect.call([r,i,s]),this.layerService.renderLayers()}selectFeatureHandle({featureId:t}){const r=B0(t);this.selectFeature(new Uint8Array(r))}highlightFeatureHandle({featureId:t}){const r=B0(t);this.highlightPickedFeature(new Uint8Array(r))}}class OF{constructor(t){H(this,"passes",[]),H(this,"readFBO",void 0),H(this,"writeFBO",void 0),this.rendererService=t,this.init()}getReadFBO(){return this.readFBO}getWriteFBO(){return this.writeFBO}getCurrentFBOTex(){const{getViewportSize:t,createTexture2D:r}=this.rendererService,{width:i,height:s}=t();return r({x:0,y:0,width:i,height:s,copy:!0})}getReadFBOTex(){var t=this;const{useFramebuffer:r}=this.rendererService;return new Promise(i=>{r(this.readFBO,mt(function*(){i(t.getCurrentFBOTex())}))})}renderBloomPass(t,r){var i=this;return mt(function*(){const s=yield i.getReadFBOTex();let u=0;for(;u<4;)yield r.render(t,s),i.swap(),u++})()}render(t){var r=this;return mt(function*(){for(let i=0;ir.getName()===t)}init(){const{createFramebuffer:t,createTexture2D:r}=this.rendererService;this.readFBO=t({color:r({width:1,height:1,wrapS:L.CLAMP_TO_EDGE,wrapT:L.CLAMP_TO_EDGE,usage:f1.RENDER_TARGET})}),this.writeFBO=t({color:r({width:1,height:1,wrapS:L.CLAMP_TO_EDGE,wrapT:L.CLAMP_TO_EDGE,usage:f1.RENDER_TARGET})})}isLastEnabledPass(t){for(let r=t+1;r{i({color:[0,0,0,0],depth:1,stencil:0,framebuffer:s}),t.multiPassRenderer.setRenderFlag(!1),t.models.forEach(u=>{u.draw({uniforms:t.layerModel.getUninforms()})}),t.multiPassRenderer.setRenderFlag(!0)})}}const BF=`varying vec2 v_UV; + +uniform float u_BloomFinal: 0.0; +uniform sampler2D u_Texture; +uniform sampler2D u_Texture2; + +uniform vec2 u_ViewportSize: [1.0, 1.0]; +uniform float u_radius: 5.0; +uniform float u_intensity: 0.3; +uniform float u_baseRadio: 0.5; + +// https://github.com/Jam3/glsl-fast-gaussian-blur/blob/master/9.glsl +vec4 blur9(sampler2D image, vec2 uv, vec2 resolution, vec2 direction) { + vec4 color = vec4(0.0); + vec2 off1 = vec2(1.3846153846) * direction; + vec2 off2 = vec2(3.2307692308) * direction; + color += texture2D(image, uv) * 0.2270270270; + color += texture2D(image, uv + (off1 / resolution)) * 0.3162162162; + color += texture2D(image, uv - (off1 / resolution)) * 0.3162162162; + color += texture2D(image, uv + (off2 / resolution)) * 0.0702702703; + color += texture2D(image, uv - (off2 / resolution)) * 0.0702702703; + return color; +} + +float luminance(vec4 color) { + return 0.2125 * color.r + 0.7154 * color.g + 0.0721 * color.b; +} + +void main() { + // vec4 baseColor = texture2D(u_Texture, v_UV); + + float r = sqrt(u_radius); + + vec4 c1 = blur9(u_Texture, v_UV, u_ViewportSize, vec2(u_radius, 0.0)); + // c1 *= luminance(c1); + vec4 c2 = blur9(u_Texture, v_UV, u_ViewportSize, vec2(0.0, u_radius)); + // c2 *= luminance(c2); + vec4 c3 = blur9(u_Texture, v_UV, u_ViewportSize, vec2(r, r)); + // c3 *= luminance(c3); + vec4 c4 = blur9(u_Texture, v_UV, u_ViewportSize, vec2(r, -r)); + // c4 *= luminance(c4); + vec4 inbloomColor = (c1 + c2 + c3 + c4) * 0.25; + + // float lum = luminance(inbloomColor); + // inbloomColor.rgb *= lum; + + if(u_BloomFinal > 0.0) { + vec4 baseColor = texture2D(u_Texture2, v_UV); + float baselum = luminance(baseColor); + gl_FragColor = mix(inbloomColor, baseColor, u_baseRadio); + if(baselum <= 0.2) { + gl_FragColor = inbloomColor * u_intensity; + } + } else { + gl_FragColor = inbloomColor; + } +}`,UF=`attribute vec2 a_Position; + +varying vec2 v_UV; + +void main() { + v_UV = 0.5 * (a_Position + 1.0); + gl_Position = vec4(a_Position, 0., 1.); +}`,{isNil:Gm}=Qn;class kF extends Nc{setupShaders(){this.shaderModuleService.registerModule("blur-pass",{vs:UF,fs:BF});const{vs:t,fs:r,uniforms:i}=this.shaderModuleService.getModule("blur-pass"),{width:s,height:u}=this.rendererService.getViewportSize();return{vs:t,fs:r,uniforms:_t(_t({},i),{},{u_ViewportSize:[s,u]})}}convertOptionsToUniforms(t){const r={};return Gm(t.bloomRadius)||(r.u_radius=t.bloomRadius),Gm(t.bloomIntensity)||(r.u_intensity=t.bloomIntensity),Gm(t.bloomBaseRadio)||(r.u_baseRadio=t.bloomBaseRadio),r}}const zF=`varying vec2 v_UV; + +uniform sampler2D u_Texture; + +uniform vec2 u_ViewportSize: [1.0, 1.0]; +uniform vec2 u_BlurDir: [1.0, 0.0]; + +// https://github.com/Jam3/glsl-fast-gaussian-blur/blob/master/9.glsl +vec4 blur9(sampler2D image, vec2 uv, vec2 resolution, vec2 direction) { + vec4 color = vec4(0.0); + vec2 off1 = vec2(1.3846153846) * direction; + vec2 off2 = vec2(3.2307692308) * direction; + color += texture2D(image, uv) * 0.2270270270; + color += texture2D(image, uv + (off1 / resolution)) * 0.3162162162; + color += texture2D(image, uv - (off1 / resolution)) * 0.3162162162; + color += texture2D(image, uv + (off2 / resolution)) * 0.0702702703; + color += texture2D(image, uv - (off2 / resolution)) * 0.0702702703; + return color; +} + +void main() { + gl_FragColor = blur9(u_Texture, v_UV, u_ViewportSize, u_BlurDir); +}`,VF=`attribute vec2 a_Position; + +varying vec2 v_UV; + +void main() { + v_UV = 0.5 * (a_Position + 1.0); + gl_Position = vec4(a_Position, 0., 1.); +}`,{isNil:HF}=Qn;class GF extends Nc{setupShaders(){this.shaderModuleService.registerModule("blur-pass",{vs:VF,fs:zF});const{vs:t,fs:r,uniforms:i}=this.shaderModuleService.getModule("blur-pass"),{width:s,height:u}=this.rendererService.getViewportSize();return{vs:t,fs:r,uniforms:_t(_t({},i),{},{u_ViewportSize:[s,u]})}}convertOptionsToUniforms(t){const r={};return HF(t.blurRadius)||(r.u_BlurDir=[t.blurRadius,0]),r}}const jF=`varying vec2 v_UV; + +uniform sampler2D u_Texture; + +uniform vec2 u_ViewportSize: [1.0, 1.0]; +uniform vec2 u_BlurDir: [1.0, 0.0]; + +// https://github.com/Jam3/glsl-fast-gaussian-blur/blob/master/9.glsl +vec4 blur9(sampler2D image, vec2 uv, vec2 resolution, vec2 direction) { + vec4 color = vec4(0.0); + vec2 off1 = vec2(1.3846153846) * direction; + vec2 off2 = vec2(3.2307692308) * direction; + color += texture2D(image, uv) * 0.2270270270; + color += texture2D(image, uv + (off1 / resolution)) * 0.3162162162; + color += texture2D(image, uv - (off1 / resolution)) * 0.3162162162; + color += texture2D(image, uv + (off2 / resolution)) * 0.0702702703; + color += texture2D(image, uv - (off2 / resolution)) * 0.0702702703; + return color; +} + +void main() { + gl_FragColor = blur9(u_Texture, v_UV, u_ViewportSize, u_BlurDir); +}`,WF=`attribute vec2 a_Position; + +varying vec2 v_UV; + +void main() { + v_UV = 0.5 * (a_Position + 1.0); + gl_Position = vec4(a_Position, 0., 1.); +}`,{isNil:XF}=Qn;class ZF extends Nc{setupShaders(){this.shaderModuleService.registerModule("blur-pass",{vs:WF,fs:jF});const{vs:t,fs:r,uniforms:i}=this.shaderModuleService.getModule("blur-pass"),{width:s,height:u}=this.rendererService.getViewportSize();return{vs:t,fs:r,uniforms:_t(_t({},i),{},{u_ViewportSize:[s,u]})}}convertOptionsToUniforms(t){const r={};return XF(t.blurRadius)||(r.u_BlurDir=[0,t.blurRadius]),r}}const YF=`varying vec2 v_UV; + +uniform sampler2D u_Texture; +uniform vec2 u_ViewportSize: [1.0, 1.0]; +uniform vec2 u_Center : [0.5, 0.5]; +uniform float u_Angle : 0; +uniform float u_Size : 8; + +#pragma include "common" + +float scale = PI / u_Size; + +float pattern(float u_Angle, vec2 texSize, vec2 texCoord) { + float s = sin(u_Angle), c = cos(u_Angle); + vec2 tex = texCoord * texSize - u_Center * texSize; + vec2 point = vec2( + c * tex.x - s * tex.y, + s * tex.x + c * tex.y + ) * scale; + return (sin(point.x) * sin(point.y)) * 4.0; +} + +// https://github.com/evanw/glfx.js/blob/master/src/filters/fun/colorhalftone.js +vec4 colorHalftone_filterColor(vec4 color, vec2 texSize, vec2 texCoord) { + vec3 cmy = 1.0 - color.rgb; + float k = min(cmy.x, min(cmy.y, cmy.z)); + cmy = (cmy - k) / (1.0 - k); + cmy = clamp( + cmy * 10.0 - 3.0 + vec3( + pattern(u_Angle + 0.26179, texSize, texCoord), + pattern(u_Angle + 1.30899, texSize, texCoord), + pattern(u_Angle, texSize, texCoord) + ), + 0.0, + 1.0 + ); + k = clamp(k * 10.0 - 5.0 + pattern(u_Angle + 0.78539, texSize, texCoord), 0.0, 1.0); + return vec4(1.0 - cmy - k, color.a); +} + +void main() { + gl_FragColor = vec4(texture2D(u_Texture, v_UV)); + gl_FragColor = colorHalftone_filterColor(gl_FragColor, u_ViewportSize, v_UV); +}`,$F=`attribute vec2 a_Position; + +varying vec2 v_UV; + +void main() { + v_UV = 0.5 * (a_Position + 1.0); + gl_Position = vec4(a_Position, 0., 1.); +}`;class qF extends Nc{setupShaders(){this.shaderModuleService.registerModule("colorhalftone-pass",{vs:$F,fs:YF});const{vs:t,fs:r,uniforms:i}=this.shaderModuleService.getModule("colorhalftone-pass"),{width:s,height:u}=this.rendererService.getViewportSize();return{vs:t,fs:r,uniforms:_t(_t({},i),{},{u_ViewportSize:[s,u]})}}}const KF=`varying vec2 v_UV; + +uniform sampler2D u_Texture; + +void main() { + gl_FragColor = vec4(texture2D(u_Texture, v_UV)); +}`,QF=`attribute vec2 a_Position; + +varying vec2 v_UV; + +void main() { + v_UV = 0.5 * (a_Position + 1.0); + gl_Position = vec4(a_Position, 0., 1.); +}`;class JF extends Nc{setupShaders(){return this.shaderModuleService.registerModule("copy-pass",{vs:QF,fs:KF}),this.shaderModuleService.getModule("copy-pass")}}const eT=`varying vec2 v_UV; + +uniform sampler2D u_Texture; +uniform vec2 u_ViewportSize: [1.0, 1.0]; +uniform vec2 u_Center : [0.5, 0.5]; +uniform float u_Scale : 10; + +// https://github.com/evanw/glfx.js/blob/master/src/filters/fun/hexagonalpixelate.js +vec4 hexagonalPixelate_sampleColor(sampler2D texture, vec2 texSize, vec2 texCoord) { + vec2 tex = (texCoord * texSize - u_Center * texSize) / u_Scale; + tex.y /= 0.866025404; + tex.x -= tex.y * 0.5; + vec2 a; + if (tex.x + tex.y - floor(tex.x) - floor(tex.y) < 1.0) { + a = vec2(floor(tex.x), floor(tex.y)); + } + else a = vec2(ceil(tex.x), ceil(tex.y)); + vec2 b = vec2(ceil(tex.x), floor(tex.y)); + vec2 c = vec2(floor(tex.x), ceil(tex.y)); + vec3 TEX = vec3(tex.x, tex.y, 1.0 - tex.x - tex.y); + vec3 A = vec3(a.x, a.y, 1.0 - a.x - a.y); + vec3 B = vec3(b.x, b.y, 1.0 - b.x - b.y); + vec3 C = vec3(c.x, c.y, 1.0 - c.x - c.y); + float alen = length(TEX - A); + float blen = length(TEX - B); + float clen = length(TEX - C); + vec2 choice; + if (alen < blen) { + if (alen < clen) choice = a; + else choice = c; + } else { + if (blen < clen) choice = b; + else choice = c; + } + choice.x += choice.y * 0.5; + choice.y *= 0.866025404; + choice *= u_Scale / texSize; + return texture2D(texture, choice + u_Center); +} + +void main() { + gl_FragColor = vec4(texture2D(u_Texture, v_UV)); + gl_FragColor = hexagonalPixelate_sampleColor(u_Texture, u_ViewportSize, v_UV); +}`,tT=`attribute vec2 a_Position; + +varying vec2 v_UV; + +void main() { + v_UV = 0.5 * (a_Position + 1.0); + gl_Position = vec4(a_Position, 0., 1.); +}`;class rT extends Nc{setupShaders(){this.shaderModuleService.registerModule("hexagonalpixelate-pass",{vs:tT,fs:eT});const{vs:t,fs:r,uniforms:i}=this.shaderModuleService.getModule("hexagonalpixelate-pass"),{width:s,height:u}=this.rendererService.getViewportSize();return{vs:t,fs:r,uniforms:_t(_t({},i),{},{u_ViewportSize:[s,u]})}}}const oT=`varying vec2 v_UV; + +uniform sampler2D u_Texture; +uniform vec2 u_ViewportSize: [1.0, 1.0]; +uniform float u_Strength : 0.6; + +vec4 ink_sampleColor(sampler2D texture, vec2 texSize, vec2 texCoord) { + vec2 dx = vec2(1.0 / texSize.x, 0.0); + vec2 dy = vec2(0.0, 1.0 / texSize.y); + vec4 color = texture2D(texture, texCoord); + float bigTotal = 0.0; + float smallTotal = 0.0; + vec3 bigAverage = vec3(0.0); + vec3 smallAverage = vec3(0.0); + for (float x = -2.0; x <= 2.0; x += 1.0) { + for (float y = -2.0; y <= 2.0; y += 1.0) { + vec3 sample = texture2D(texture, texCoord + dx * x + dy * y).rgb; + bigAverage += sample; + bigTotal += 1.0; + if (abs(x) + abs(y) < 2.0) { + smallAverage += sample; + smallTotal += 1.0; + } + } + } + vec3 edge = max(vec3(0.0), bigAverage / bigTotal - smallAverage / smallTotal); + float power = u_Strength * u_Strength * u_Strength * u_Strength * u_Strength; + return vec4(color.rgb - dot(edge, edge) * power * 100000.0, color.a); +} + +void main() { + gl_FragColor = vec4(texture2D(u_Texture, v_UV)); + gl_FragColor = ink_sampleColor(u_Texture, u_ViewportSize, v_UV); +}`,iT=`attribute vec2 a_Position; + +varying vec2 v_UV; + +void main() { + v_UV = 0.5 * (a_Position + 1.0); + gl_Position = vec4(a_Position, 0., 1.); +}`;class nT extends Nc{setupShaders(){this.shaderModuleService.registerModule("ink-pass",{vs:iT,fs:oT});const{vs:t,fs:r,uniforms:i}=this.shaderModuleService.getModule("ink-pass"),{width:s,height:u}=this.rendererService.getViewportSize();return{vs:t,fs:r,uniforms:_t(_t({},i),{},{u_ViewportSize:[s,u]})}}}const aT=`varying vec2 v_UV; + +uniform sampler2D u_Texture; +uniform float u_Amount : 0.5; + +float rand(vec2 co) { + return fract(sin(dot(co.xy ,vec2(12.9898,78.233))) * 43758.5453); +} + +// https://github.com/evanw/glfx.js/blob/master/src/filters/adjust/noise.js +vec4 noise_filterColor(vec4 color, vec2 texCoord) { + float diff = (rand(texCoord) - 0.5) * u_Amount; + color.r += diff; + color.g += diff; + color.b += diff; + return color; +} + +void main() { + gl_FragColor = vec4(texture2D(u_Texture, v_UV)); + gl_FragColor = noise_filterColor(gl_FragColor, v_UV); +}`,sT=`attribute vec2 a_Position; + +varying vec2 v_UV; + +void main() { + v_UV = 0.5 * (a_Position + 1.0); + gl_Position = vec4(a_Position, 0., 1.); +}`;class uT extends Nc{setupShaders(){return this.shaderModuleService.registerModule("noise-pass",{vs:sT,fs:aT}),this.shaderModuleService.getModule("noise-pass")}}const pT=`attribute vec2 a_Position; + +varying vec2 v_UV; + +void main() { + v_UV = 0.5 * (a_Position + 1.0); + gl_Position = vec4(a_Position, 0., 1.); +}`,cT=`varying vec2 v_UV; + +uniform sampler2D u_Texture; + +uniform float u_Amount : 0.5; + +// https://github.com/evanw/glfx.js/blob/master/src/filters/adjust/sepia.js +vec4 sepia_filterColor(vec4 color) { + float r = color.r; + float g = color.g; + float b = color.b; + color.r = + min(1.0, (r * (1.0 - (0.607 * u_Amount))) + (g * (0.769 * u_Amount)) + (b * (0.189 * u_Amount))); + color.g = min(1.0, (r * 0.349 * u_Amount) + (g * (1.0 - (0.314 * u_Amount))) + (b * 0.168 * u_Amount)); + color.b = min(1.0, (r * 0.272 * u_Amount) + (g * 0.534 * u_Amount) + (b * (1.0 - (0.869 * u_Amount)))); + return color; +} + +void main() { + gl_FragColor = vec4(texture2D(u_Texture, v_UV)); + gl_FragColor = sepia_filterColor(gl_FragColor); +}`;class lT extends Nc{setupShaders(){return this.shaderModuleService.registerModule("sepia-pass",{vs:pT,fs:cT}),this.shaderModuleService.getModule("sepia-pass")}}const W8=new dA;let dT=0;function yT(){const e=new CF,t=new mA,r=new oA,i=new fA(r),s=new eA,u=new rA,n=new aA,h=new sA,m=new nA,g={id:`${dT++}`,globalConfigService:W8,shaderModuleService:e,debugService:t,cameraService:r,coordinateSystemService:i,fontService:s,iconService:u,markerService:n,popupService:h,controlService:m,customRenderService:{}},x=new FA(g);g.layerService=x;const b=new gF(g);g.sceneService=b;const F=new vA(g);g.interactionService=F;const R=new bA(g);g.pickingService=R;const I={clear:new MF,pixelPicking:new DF,render:new LF};g.normalPassFactory=V=>I[V];const B={copy:new JF,bloom:new kF,blurH:new GF,blurV:new ZF,noise:new uT,sepia:new lT,colorHalftone:new qF,hexagonalPixelate:new rT,ink:new nT};return g.postProcessingPass=B,g.postProcessingPassFactory=V=>B[V],g}function uy(e){const t=_t({},e);return t.postProcessor=new OF(t.rendererService),t.multiPassRenderer=new NF(t.postProcessor),t.styleAttributeService=new MA(t.rendererService),t}const Th=["loaded","fontloaded","maploaded","resize","destroy","dragstart","dragging","dragend","dragcancel"];let Ha=function(e){return e.IMAGE="image",e.CUSTOMIMAGE="customImage",e.ARRAYBUFFER="arraybuffer",e.RGB="rgb",e.TERRAINRGB="terrainRGB",e.CUSTOMRGB="customRGB",e.CUSTOMARRAYBUFFER="customArrayBuffer",e.CUSTOMTERRAINRGB="customTerrainRGB",e}({});var X8=(e,t,r)=>new Promise((i,s)=>{var u=m=>{try{h(r.next(m))}catch(g){s(g)}},n=m=>{try{h(r.throw(m))}catch(g){s(g)}},h=m=>m.done?i(m.value):Promise.resolve(m.value).then(u,n);h((r=r.apply(e,t)).next())}),hT=(e,t,r,i)=>X8(void 0,null,function*(){return new Promise((s,u)=>{t({x:e.x,y:e.y,z:e.z},(n,h)=>{if(n||h.length===0){u(n);return}h&&x2([{data:h,bands:[0]}],r,i,(m,g)=>{m?u(m):g&&s(g)})})})}),fT=(e,t)=>X8(void 0,null,function*(){return new Promise((r,i)=>{t({x:e.x,y:e.y,z:e.z},(s,u)=>{if(s||!u){i(s);return}u instanceof ArrayBuffer?aE(u,(n,h)=>{n&&i(n),r(h)}):u instanceof HTMLImageElement?r(u):i(s)})})});function mT(e,t){return Array.isArray(e)?typeof e[0]=="string"?e.map(r=>R0(r,t)):e.map(r=>({url:R0(r.url,t),bands:r.bands||[0]})):R0(e,t)}function _T(e){return typeof e=="string"?[{url:e,bands:[0]}]:typeof e[0]=="string"?e.map(t=>({url:t,bands:[0]})):e}function i5(e,t){e.xhrCancel=()=>{t.map(r=>{r.abort()})}}var gT=Object.defineProperty,vT=Object.defineProperties,ET=Object.getOwnPropertyDescriptors,n5=Object.getOwnPropertySymbols,xT=Object.prototype.hasOwnProperty,PT=Object.prototype.propertyIsEnumerable,a5=(e,t,r)=>t in e?gT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,s5=(e,t)=>{for(var r in t||(t={}))xT.call(t,r)&&a5(e,r,t[r]);if(n5)for(var r of n5(t))PT.call(t,r)&&a5(e,r,t[r]);return e},u5=(e,t)=>vT(e,ET(t)),Z8=(e,t,r)=>new Promise((i,s)=>{var u=m=>{try{h(r.next(m))}catch(g){s(g)}},n=m=>{try{h(r.throw(m))}catch(g){s(g)}},h=m=>m.done?i(m.value):Promise.resolve(m.value).then(u,n);h((r=r.apply(e,t)).next())}),bT=(e,t,r,i,s)=>Z8(void 0,null,function*(){const u=_T(t.url);if(u.length>1){const{rasterFiles:n,xhrList:h,errList:m}=yield AT(u,t);if(i5(e,h),m.length>0){r(m,null);return}x2(n,i,s,r)}else{const n=c6(t,(h,m)=>{if(h)r(h);else if(m){const g=[{data:m,bands:u[0].bands}];x2(g,i,s,r)}});i5(e,[n])}});function AT(e,t){return Z8(this,null,function*(){const r=[],i=[],s=[];for(let u=0;ut in e?FT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Zh=(e,t)=>{for(var r in t||(t={}))wT.call(t,r)&&c5(e,r,t[r]);if(p5)for(var r of p5(t))RT.call(t,r)&&c5(e,r,t[r]);return e},Y8=(e,t)=>TT(e,ST(t)),$8=(e,t,r)=>new Promise((i,s)=>{var u=m=>{try{h(r.next(m))}catch(g){s(g)}},n=m=>{try{h(r.throw(m))}catch(g){s(g)}},h=m=>m.done?i(m.value):Promise.resolve(m.value).then(u,n);h((r=r.apply(e,t)).next())}),CT=(e,t,r,i)=>$8(void 0,null,function*(){const{format:s=q8,operation:u,requestParameters:n={}}=i,h=Y8(Zh({},n),{url:mT(e,t)});return new Promise((m,g)=>{bT(r,h,(x,b)=>{x?g(x):b&&m(b)},s,u)})}),l5=(e,t,r,i)=>$8(void 0,null,function*(){let s;const u=Array.isArray(e)?e[0]:e;return i.wmtsOptions?s=((i==null?void 0:i.getURLFromTemplate)||hx)(u,Zh(Zh({},t),i.wmtsOptions)):s=((i==null?void 0:i.getURLFromTemplate)||R0)(u,t),new Promise((n,h)=>{var m;const g=p2(Y8(Zh({},i==null?void 0:i.requestParameters),{url:s,type:((m=i==null?void 0:i.requestParameters)==null?void 0:m.type)||"arrayBuffer"}),(x,b)=>{x?h(x):b&&n(b)},i.transformResponse);r.xhrCancel=()=>g.cancel()})}),q8=()=>({rasterData:new Uint8Array([0]),width:1,height:1}),IT=Object.defineProperty,MT=Object.defineProperties,NT=Object.getOwnPropertyDescriptors,d5=Object.getOwnPropertySymbols,DT=Object.prototype.hasOwnProperty,OT=Object.prototype.propertyIsEnumerable,y5=(e,t,r)=>t in e?IT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h5=(e,t)=>{for(var r in t||(t={}))DT.call(t,r)&&y5(e,r,t[r]);if(d5)for(var r of d5(t))OT.call(t,r)&&y5(e,r,t[r]);return e},LT=(e,t)=>MT(e,NT(t)),BT={tileSize:256,minZoom:0,maxZoom:1/0,zoomOffset:0,warp:!0};Ha.ARRAYBUFFER,Ha.RGB;function UT(e){return!!(Array.isArray(e)&&e.length===0||!Array.isArray(e)&&typeof e!="string")}function kT(e,t={}){if(UT(e))throw new Error("tile server url is error");let r=(t==null?void 0:t.dataType)||Ha.IMAGE;r===Ha.RGB&&(r=Ha.ARRAYBUFFER);const i=(u,n)=>{switch(r){case Ha.IMAGE:return l5(e,u,n,t);case Ha.CUSTOMIMAGE:case Ha.CUSTOMTERRAINRGB:return fT(n,t==null?void 0:t.getCustomData);case Ha.ARRAYBUFFER:return CT(e,u,n,t);case Ha.CUSTOMARRAYBUFFER:case Ha.CUSTOMRGB:return hT(n,t==null?void 0:t.getCustomData,(t==null?void 0:t.format)||q8,t==null?void 0:t.operation);default:return l5(e,u,n,t)}},s=LT(h5(h5({},BT),t),{getTileData:i});return{data:e,dataArray:[],tilesetOptions:s,isTile:!0}}var zT=Object.defineProperty,VT=Object.defineProperties,HT=Object.getOwnPropertyDescriptors,hf=Object.getOwnPropertySymbols,K8=Object.prototype.hasOwnProperty,Q8=Object.prototype.propertyIsEnumerable,f5=(e,t,r)=>t in e?zT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,GT=(e,t)=>{for(var r in t||(t={}))K8.call(t,r)&&f5(e,r,t[r]);if(hf)for(var r of hf(t))Q8.call(t,r)&&f5(e,r,t[r]);return e},jT=(e,t)=>VT(e,HT(t)),WT=(e,t)=>{var r={};for(var i in e)K8.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&hf)for(var i of hf(e))t.indexOf(i)<0&&Q8.call(e,i)&&(r[i]=e[i]);return r};function XT(e,t){const r=t,{extent:i=[121.168,30.2828,121.384,30.4219],coordinates:s,width:u,height:n}=r,h=WT(r,["extent","coordinates","width","height"]);e.length<2&&console.warn("RGB解析需要2个波段的数据");const[m,g]=h.bands||[0,1],x=[e[m],e[g]],b=[];for(let I=0;It in e?ZT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,qT=(e,t)=>{for(var r in t||(t={}))J8.call(t,r)&&m5(e,r,t[r]);if(ff)for(var r of ff(t))e9.call(t,r)&&m5(e,r,t[r]);return e},KT=(e,t)=>YT(e,$T(t)),QT=(e,t)=>{var r={};for(var i in e)J8.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&ff)for(var i of ff(e))t.indexOf(i)<0&&e9.call(e,i)&&(r[i]=e[i]);return r};function JT(e,t){const r=t,{extent:i,coordinates:s,width:u,height:n}=r,h=QT(r,["extent","coordinates","width","height"]);e.length<3&&console.warn("RGB解析需要三个波段的数据");const[m,g,x]=h.bands||[0,1,2],b=[e[m],e[g],e[x]],F=[],[R,I]=(h==null?void 0:h.countCut)||[2,98],B=(h==null?void 0:h.RMinMax)||I0(b[0],R,I),V=(h==null?void 0:h.GMinMax)||I0(b[1],R,I),J=(h==null?void 0:h.BMinMax)||I0(b[2],R,I);for(let ne=0;net in e?eS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,oS=(e,t)=>{for(var r in t||(t={}))t9.call(t,r)&&_5(e,r,t[r]);if(mf)for(var r of mf(t))r9.call(t,r)&&_5(e,r,t[r]);return e},iS=(e,t)=>tS(e,rS(t)),nS=(e,t)=>{var r={};for(var i in e)t9.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&mf)for(var i of mf(e))t.indexOf(i)<0&&r9.call(e,i)&&(r[i]=e[i]);return r};function aS(e,t){const r=t,{extent:i,coordinates:s,min:u,max:n,width:h,height:m,format:g,operation:x}=r,b=nS(r,["extent","coordinates","min","max","width","height","format","operation"]);let F;if(g===void 0||m8(e))F=Array.from(e);else{const B=Array.isArray(e)?e:[e];F=v6(B,g,x)}const R=Iy(s,i);return{_id:1,dataArray:[iS(oS({_id:1,data:F,width:h,height:m},b),{min:u,max:n,coordinates:R})]}}var sS=Object.defineProperty,uS=Object.defineProperties,pS=Object.getOwnPropertyDescriptors,g5=Object.getOwnPropertySymbols,cS=Object.prototype.hasOwnProperty,lS=Object.prototype.propertyIsEnumerable,v5=(e,t,r)=>t in e?sS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,E5=(e,t)=>{for(var r in t||(t={}))cS.call(t,r)&&v5(e,r,t[r]);if(g5)for(var r of g5(t))lS.call(t,r)&&v5(e,r,t[r]);return e},dS=(e,t)=>uS(e,pS(t)),yS=(e,t,r)=>new Promise((i,s)=>{var u=m=>{try{h(r.next(m))}catch(g){s(g)}},n=m=>{try{h(r.throw(m))}catch(g){s(g)}},h=m=>m.done?i(m.value):Promise.resolve(m.value).then(u,n);h((r=r.apply(e,t)).next())}),hS={tileSize:256,minZoom:0,maxZoom:1/0,zoomOffset:0},fS=e=>yS(void 0,null,function*(){return new Promise(t=>{const[r,i,s,u]=e.bounds,n={layers:{testTile:{features:[{type:"Feature",properties:{key:e.x+"/"+e.y+"/"+e.z,x:(r+s)/2,y:(i+u)/2},geometry:{type:"LineString",coordinates:[[s,u],[s,i],[r,i],[r,i]]}}]}}};t(n)})});function mS(e,t){const r=s=>fS(s),i=dS(E5(E5({},hS),t),{getTileData:r});return{data:e,dataArray:[],tilesetOptions:i,isTile:!0}}var o9={exports:{}};(function(e,t){(function(r,i){e.exports=i()})(t6,function(){function r(Ge,Ae,Be,ze,st,Vt){if(!(st-ze<=Be)){var ir=ze+st>>1;i(Ge,Ae,ir,ze,st,Vt%2),r(Ge,Ae,Be,ze,ir-1,Vt+1),r(Ge,Ae,Be,ir+1,st,Vt+1)}}function i(Ge,Ae,Be,ze,st,Vt){for(;st>ze;){if(st-ze>600){var ir=st-ze+1,Fr=Be-ze+1,Yr=Math.log(ir),mr=.5*Math.exp(2*Yr/3),Er=.5*Math.sqrt(Yr*mr*(ir-mr)/ir)*(Fr-ir/2<0?-1:1),qr=Math.max(ze,Math.floor(Be-Fr*mr/ir+Er)),Jr=Math.min(st,Math.floor(Be+(ir-Fr)*mr/ir+Er));i(Ge,Ae,Be,qr,Jr,Vt)}var _o=Ae[2*Be+Vt],So=ze,oo=st;for(s(Ge,Ae,ze,Be),Ae[2*st+Vt]>_o&&s(Ge,Ae,ze,st);So_o;)oo--}Ae[2*ze+Vt]===_o?s(Ge,Ae,ze,oo):(oo++,s(Ge,Ae,oo,st)),oo<=Be&&(ze=oo+1),Be<=oo&&(st=oo-1)}}function s(Ge,Ae,Be,ze){u(Ge,Be,ze),u(Ae,2*Be,2*ze),u(Ae,2*Be+1,2*ze+1)}function u(Ge,Ae,Be){var ze=Ge[Ae];Ge[Ae]=Ge[Be],Ge[Be]=ze}function n(Ge,Ae,Be,ze,st,Vt,ir){for(var Fr=[0,Ge.length-1,0],Yr=[],mr,Er;Fr.length;){var qr=Fr.pop(),Jr=Fr.pop(),_o=Fr.pop();if(Jr-_o<=ir){for(var So=_o;So<=Jr;So++)mr=Ae[2*So],Er=Ae[2*So+1],mr>=Be&&mr<=st&&Er>=ze&&Er<=Vt&&Yr.push(Ge[So]);continue}var oo=Math.floor((_o+Jr)/2);mr=Ae[2*oo],Er=Ae[2*oo+1],mr>=Be&&mr<=st&&Er>=ze&&Er<=Vt&&Yr.push(Ge[oo]);var Wi=(qr+1)%2;(qr===0?Be<=mr:ze<=Er)&&(Fr.push(_o),Fr.push(oo-1),Fr.push(Wi)),(qr===0?st>=mr:Vt>=Er)&&(Fr.push(oo+1),Fr.push(Jr),Fr.push(Wi))}return Yr}function h(Ge,Ae,Be,ze,st,Vt){for(var ir=[0,Ge.length-1,0],Fr=[],Yr=st*st;ir.length;){var mr=ir.pop(),Er=ir.pop(),qr=ir.pop();if(Er-qr<=Vt){for(var Jr=qr;Jr<=Er;Jr++)m(Ae[2*Jr],Ae[2*Jr+1],Be,ze)<=Yr&&Fr.push(Ge[Jr]);continue}var _o=Math.floor((qr+Er)/2),So=Ae[2*_o],oo=Ae[2*_o+1];m(So,oo,Be,ze)<=Yr&&Fr.push(Ge[_o]);var Wi=(mr+1)%2;(mr===0?Be-st<=So:ze-st<=oo)&&(ir.push(qr),ir.push(_o-1),ir.push(Wi)),(mr===0?Be+st>=So:ze+st>=oo)&&(ir.push(_o+1),ir.push(Er),ir.push(Wi))}return Fr}function m(Ge,Ae,Be,ze){var st=Ge-Be,Vt=Ae-ze;return st*st+Vt*Vt}var g=function(Ge){return Ge[0]},x=function(Ge){return Ge[1]},b=function(Ae,Be,ze,st,Vt){Be===void 0&&(Be=g),ze===void 0&&(ze=x),st===void 0&&(st=64),Vt===void 0&&(Vt=Float64Array),this.nodeSize=st,this.points=Ae;for(var ir=Ae.length<65536?Uint16Array:Uint32Array,Fr=this.ids=new ir(Ae.length),Yr=this.coords=new Vt(Ae.length*2),mr=0;mr=st;Er--){var qr=+Date.now();Yr=this._cluster(Yr,Er),this.trees[Er]=new b(Yr,He,ft,ir,Float32Array),ze&&console.log("z%d: %d clusters in %dms",Er,Yr.length,+Date.now()-qr)}return ze&&console.timeEnd("total time"),this},I.prototype.getClusters=function(Ae,Be){var ze=((Ae[0]+180)%360+360)%360-180,st=Math.max(-90,Math.min(90,Ae[1])),Vt=Ae[2]===180?180:((Ae[2]+180)%360+360)%360-180,ir=Math.max(-90,Math.min(90,Ae[3]));if(Ae[2]-Ae[0]>=360)ze=-180,Vt=180;else if(ze>Vt){var Fr=this.getClusters([ze,st,180,ir],Be),Yr=this.getClusters([-180,st,Vt,ir],Be);return Fr.concat(Yr)}for(var mr=this.trees[this._limitZoom(Be)],Er=mr.range(te(ze),ne(ir),te(Vt),ne(st)),qr=[],Jr=0,_o=Er;Jr<_o.length;Jr+=1){var So=_o[Jr],oo=mr.points[So];qr.push(oo.numPoints?J(oo):this.points[oo.index])}return qr},I.prototype.getChildren=function(Ae){var Be=this._getOriginId(Ae),ze=this._getOriginZoom(Ae),st="No cluster with the specified id.",Vt=this.trees[ze];if(!Vt)throw new Error(st);var ir=Vt.points[Be];if(!ir)throw new Error(st);for(var Fr=this.options.radius/(this.options.extent*Math.pow(2,ze-1)),Yr=Vt.within(ir.x,ir.y,Fr),mr=[],Er=0,qr=Yr;ErBe&&(oo+=$e.numPoints||1)}if(oo>So&&oo>=Yr){for(var Yt=qr.x*So,Sr=qr.y*So,Ft=Fr&&So>1?this._map(qr,!0):null,xr=(Er<<5)+(Be+1)+this.points.length,io=0,go=_o;io1)for(var $i=0,Qo=_o;$i>5},I.prototype._getOriginZoom=function(Ae){return(Ae-this.points.length)%32},I.prototype._map=function(Ae,Be){if(Ae.numPoints)return Be?Ee({},Ae.properties):Ae.properties;var ze=this.points[Ae.index].properties,st=this.options.map(ze);return Be&&st===ze?Ee({},st):st};function B(Ge,Ae,Be,ze,st){return{x:R(Ge),y:R(Ae),zoom:1/0,id:Be,parentId:-1,numPoints:ze,properties:st}}function V(Ge,Ae){var Be=Ge.geometry.coordinates,ze=Be[0],st=Be[1];return{x:R(te(ze)),y:R(ne(st)),zoom:1/0,index:Ae,parentId:-1}}function J(Ge){return{type:"Feature",id:Ge.id,properties:Q(Ge),geometry:{type:"Point",coordinates:[ue(Ge.x),Oe(Ge.y)]}}}function Q(Ge){var Ae=Ge.numPoints,Be=Ae>=1e4?Math.round(Ae/1e3)+"k":Ae>=1e3?Math.round(Ae/100)/10+"k":Ae;return Ee(Ee({},Ge.properties),{cluster:!0,cluster_id:Ge.id,point_count:Ae,point_count_abbreviated:Be})}function te(Ge){return Ge/360+.5}function ne(Ge){var Ae=Math.sin(Ge*Math.PI/180),Be=.5-.25*Math.log((1+Ae)/(1-Ae))/Math.PI;return Be<0?0:Be>1?1:Be}function ue(Ge){return(Ge-.5)*360}function Oe(Ge){var Ae=(180-Ge*360)*Math.PI/180;return 360*Math.atan(Math.exp(Ae))/Math.PI-90}function Ee(Ge,Ae){for(var Be in Ae)Ge[Be]=Ae[Be];return Ge}function He(Ge){return Ge.x}function ft(Ge){return Ge.y}return I})})(o9);var _S=o9.exports;const gS=gp(_S);var vS=Object.defineProperty,x5=Object.getOwnPropertySymbols,ES=Object.prototype.hasOwnProperty,xS=Object.prototype.propertyIsEnumerable,P5=(e,t,r)=>t in e?vS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,i9=(e,t)=>{for(var r in t||(t={}))ES.call(t,r)&&P5(e,r,t[r]);if(x5)for(var r of x5(t))xS.call(t,r)&&P5(e,r,t[r]);return e};function n9(e,t){const{radius:r=40,maxZoom:i=18,minZoom:s=0,zoom:u=2}=t;if(e.pointIndex){const m=e.pointIndex.getClusters(e.extent,Math.floor(u));return e.dataArray=PS(m),e}const n=new gS({radius:r,minZoom:s,maxZoom:i}),h={type:"FeatureCollection",features:[]};return h.features=e.dataArray.map(m=>({type:"Feature",geometry:{type:"Point",coordinates:m.coordinates},properties:i9({},m)})),n.load(h.features),n}function PS(e){return e.map((t,r)=>i9({coordinates:t.geometry.coordinates,_id:r+1},t.properties))}function bS(e){if(e.length===0)throw new Error("max requires at least one data point");let t=e[0];for(let r=1;rt&&(t=e[r]);return t}function AS(e){if(e.length===0)throw new Error("min requires at least one data point");let t=e[0];for(let r=1;r=Math.abs(e[s])?r+=t-i+e[s]:r+=e[s]-i+t,t=i;return t+r*1}function FS(e){if(e.length===0)throw new Error("mean requires at least one data point");return a9(e)/e.length}var TS={min:AS,max:bS,mean:FS,sum:a9},SS=Object.defineProperty,b5=Object.getOwnPropertySymbols,wS=Object.prototype.hasOwnProperty,RS=Object.prototype.propertyIsEnumerable,A5=(e,t,r)=>t in e?SS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Id=(e,t)=>{for(var r in t||(t={}))wS.call(t,r)&&A5(e,r,t[r]);if(b5)for(var r of b5(t))RS.call(t,r)&&A5(e,r,t[r]);return e},F5=(e,t,r)=>new Promise((i,s)=>{var u=m=>{try{h(r.next(m))}catch(g){s(g)}},n=m=>{try{h(r.throw(m))}catch(g){s(g)}},h=m=>m.done?i(m.value):Promise.resolve(m.value).then(u,n);h((r=r.apply(e,t)).next())}),{cloneDeep:CS,isFunction:T5,isString:IS,mergeWith:MS}=Qn;function NS(e,t){if(Array.isArray(t))return t}var DS=class extends yu.EventEmitter{constructor(e,t){super(),this.type="source",this.isTile=!1,this.inited=!1,this.hooks={init:new Xp},this.parser={type:"geojson"},this.transforms=[],this.cluster=!1,this.clusterOptions={enable:!1,radius:40,maxZoom:20,zoom:-99,method:"count"},this.invalidExtent=!1,this.dataArrayChanged=!1,this.cfg={autoRender:!0},this.originData=e,this.initCfg(t),this.init().then(()=>{this.inited=!0,this.emit("update",{type:"inited"})})}getSourceCfg(){return this.cfg}getClusters(e){return this.clusterIndex.getClusters(this.caculClusterExtent(2),e)}getClustersLeaves(e){return this.clusterIndex.getLeaves(e,1/0)}getParserType(){return this.parser.type}updateClusterData(e){const{method:t="sum",field:r}=this.clusterOptions;let i=this.clusterIndex.getClusters(this.caculClusterExtent(2),Math.floor(e));this.clusterOptions.zoom=e,i.forEach(s=>{s.id||(s.properties.point_count=1)}),(r||T5(t))&&(i=i.map(s=>{const u=s.id;if(u){const h=this.clusterIndex.getLeaves(u,1/0).map(g=>g.properties);let m;if(IS(t)&&r){const g=_x(h,r);m=TS[t](g)}T5(t)&&(m=t(h)),s.properties.stat=m}else s.properties.point_count=1;return s})),this.data=M3("geojson")({type:"FeatureCollection",features:i}),this.executeTrans()}getFeatureById(e){const{type:t="geojson",geometry:r}=this.parser;if(t==="geojson"&&!this.cluster){const i=en._id===e);s.properties=u}return s}else return t==="json"&&r?this.data.dataArray.find(i=>i._id===e):er._id===e?Id(Id({},r),t):r),this.dataArrayChanged=!0,this.emit("update",{type:"update"})}getFeatureId(e,t){const r=this.data.dataArray.find(i=>i[e]===t);return r==null?void 0:r._id}setData(e,t){this.originData=e,this.dataArrayChanged=!1,this.initCfg(t),this.init().then(()=>{this.emit("update",{type:"update"})})}reloadAllTile(){var e;(e=this.tileset)==null||e.reloadAll()}reloadTilebyId(e,t,r){var i;(i=this.tileset)==null||i.reloadTileById(e,t,r)}reloadTileByLnglat(e,t,r){var i;(i=this.tileset)==null||i.reloadTileByLnglat(e,t,r)}getTileExtent(e,t){var r;return(r=this.tileset)==null?void 0:r.getTileExtent(e,t)}getTileByZXY(e,t,r){var i;return(i=this.tileset)==null?void 0:i.getTileByZXY(e,t,r)}reloadTileByExtent(e,t){var r;(r=this.tileset)==null||r.reloadTileByExtent(e,t)}destroy(){var e;this.removeAllListeners(),this.originData=null,this.clusterIndex=null,this.data=null,(e=this.tileset)==null||e.destroy()}processData(){return F5(this,null,function*(){return new Promise((e,t)=>{try{this.excuteParser(),this.initCluster(),this.executeTrans(),e({})}catch(r){t(r)}})})}initCfg(e){this.cfg=MS(this.cfg,e,NS);const t=this.cfg;t&&(t.parser&&(this.parser=t.parser),t.transforms&&(this.transforms=t.transforms),this.cluster=t.cluster||!1,t.clusterOptions&&(this.cluster=!0,this.clusterOptions=Id(Id({},this.clusterOptions),t.clusterOptions)))}init(){return F5(this,null,function*(){this.inited=!1,yield this.processData(),this.inited=!0})}excuteParser(){const e=this.parser,t=e.type||"geojson",r=M3(t);this.data=r(this.originData,e),this.tileset=this.initTileset(),!e.cancelExtent&&(this.extent=ME(this.data.dataArray),this.setCenter(this.extent),this.invalidExtent=this.extent[0]===this.extent[2]||this.extent[1]===this.extent[3])}setCenter(e){this.center=[(e[0]+e[2])/2,(e[1]+e[3])/2],(isNaN(this.center[0])||isNaN(this.center[1]))&&(this.center=[108.92361111111111,34.54083333333333])}initTileset(){const{tilesetOptions:e}=this.data;return e?(this.isTile=!0,this.tileset?(this.tileset.updateOptions(e),this.tileset):new yx(Id({},e))):void 0}executeTrans(){this.transforms.forEach(t=>{const{type:r}=t,i=zv(r)(this.data,t);Object.assign(this.data,i)})}initCluster(){if(!this.cluster)return;const e=this.clusterOptions||{};this.clusterIndex=n9(this.data,e)}caculClusterExtent(e){let t=[[-1/0,-1/0],[1/0,1/0]];return this.invalidExtent||(t=f6(uf(this.extent),e)),t[0].concat(t[1])}};function OS(e,t){const{callback:r}=t;return r&&(e.dataArray=e.dataArray.filter(r)),e}var F6=6378e3;function LS(e,t){const r=e.dataArray,{size:i=10}=t,s=i/(2*Math.PI*F6)*(256<<20)/2,{gridHash:u,gridOffset:n}=BS(r,i),h=VS(u,n,t);return{yOffset:s,xOffset:s,radius:s,type:"grid",dataArray:h}}function BS(e,t){let r=1/0,i=-1/0,s;for(const m of e)s=m.coordinates[1],Number.isFinite(s)&&(r=si?s:i);const u=(r+i)/2,n=US(t,u);if(n.xOffset<=0||n.yOffset<=0)return{gridHash:{},gridOffset:n};const h={};for(const m of e){const g=m.coordinates[1],x=m.coordinates[0];if(Number.isFinite(g)&&Number.isFinite(x)){const b=Math.floor((g+90)/n.yOffset),F=Math.floor((x+180)/n.xOffset),R=`${b}-${F}`;h[R]=h[R]||{count:0,points:[]},h[R].count+=1,h[R].points.push(m)}}return{gridHash:h,gridOffset:n}}function US(e,t){const r=kS(e),i=zS(t,e);return{yOffset:r,xOffset:i}}function kS(e){return e/F6*(180/Math.PI)}function zS(e,t){return t/F6*(180/Math.PI)/Math.cos(e*Math.PI/180)}function VS(e,t,r){return Object.keys(e).reduce((i,s,u)=>{const n=s.split("-"),h=parseInt(n[0],10),m=parseInt(n[1],10),g={};if(r.field&&r.method){const x=p8(e[s].points,r.field);g[r.method]=u8[r.method](x)}return Object.assign(g,{_id:u,coordinates:ju([-180+t.xOffset*(m+.5),-90+t.yOffset*(h+.5)]),rawData:e[s].points,count:e[s].count}),i.push(g),i},[])}var v0=Math.PI/3,HS=[0,v0,2*v0,3*v0,4*v0,5*v0];function GS(e){return e[0]}function jS(e){return e[1]}function WS(){var e=0,t=0,r=1,i=1,s=GS,u=jS,n,h,m;function g(b){var F={},R=[],I,B=b.length;for(I=0;I1){var Oe=J-ne,Ee=ne+(Jft*ft+Ge*Ge&&(ne=Ee+(te&1?1:-1)/2,te=He)}var Ae=ne+"-"+te,Be=F[Ae];Be?Be.push(V):(R.push(Be=F[Ae]=[V]),Be.x=(ne+(te&1)/2)*h,Be.y=te*m)}return R}function x(b){var F=0,R=0;return HS.map(function(I){var B=Math.sin(I)*b,V=-Math.cos(I)*b,J=B-F,Q=V-R;return F=B,R=V,[J,Q]})}return g.hexagon=function(b){return"m"+x(b==null?n:+b).join("l")+"z"},g.centers=function(){for(var b=[],F=Math.round(t/m),R=Math.round(e/h),I=F*m;It in e?XS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,KS=(e,t)=>{for(var r in t||(t={}))$S.call(t,r)&&w5(e,r,t[r]);if(S5)for(var r of S5(t))qS.call(t,r)&&w5(e,r,t[r]);return e},QS=(e,t)=>ZS(e,YS(t)),JS=6378e3;function ew(e,t){const r=e.dataArray,{size:i=10,method:s="sum"}=t,u=i/(2*Math.PI*JS)*(256<<20)/2,n=r.map(x=>{const[b,F]=ju(x.coordinates);return QS(KS({},x),{coordinates:[b,F]})});return{dataArray:WS().radius(u).x(x=>x.coordinates[0]).y(x=>x.coordinates[1])(n).map((x,b)=>{if(t.field&&s){const F=p8(x,t.field);x[s]=u8[s](F)}return{[t.method]:x[s],count:x.length,rawData:x,coordinates:[x.x,x.y],_id:b}}),radius:u,xOffset:u,yOffset:u,type:"hexagon"}}var tw=Object.defineProperty,R5=Object.getOwnPropertySymbols,rw=Object.prototype.hasOwnProperty,ow=Object.prototype.propertyIsEnumerable,C5=(e,t,r)=>t in e?tw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,I5=(e,t)=>{for(var r in t||(t={}))rw.call(t,r)&&C5(e,r,t[r]);if(R5)for(var r of R5(t))ow.call(t,r)&&C5(e,r,t[r]);return e};function iw(e,t){const{sourceField:r,targetField:i,data:s}=t,u={};return s.forEach(n=>{u[n[r]]=n}),e.dataArray=e.dataArray.map(n=>{const h=n[i];return I5(I5({},n),u[h])}),e}function nw(e,t){const{callback:r}=t;return r&&(e.dataArray=e.dataArray.map(r)),e}du("rasterTile",kT);du("mvt",_b);du("geojsonvt",sP);du("testTile",mS);du("geojson",Dx);du("jsonTile",xP);du("image",x8);du("csv",bx);du("json",_8);du("raster",Ib);du("rasterRgb",aS);du("rgb",JT);du("ndi",XT);Y0("cluster",n9);Y0("filter",OS);Y0("join",iw);Y0("map",nw);Y0("grid",LS);Y0("hexagon",ew);var aw=DS;window._iconfont_svg_string_3580659='',function(e){try{let g=function(){h||(h=!0,u())},x=function(){try{n.documentElement.doScroll("left")}catch{return void setTimeout(x,50)}g()};var r=(r=document.getElementsByTagName("script"))[r.length-1],t=r.getAttribute("data-injectcss"),r=r.getAttribute("data-disable-injectsvg");if(!r){var i,s,u,n,h,m=function(b,F){F.parentNode.insertBefore(b,F)};if(t&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(b){console&&console.log(b)}}i=function(){var b,F=document.createElement("div");F.innerHTML=e._iconfont_svg_string_3580659,(F=F.getElementsByTagName("svg")[0])&&(F.setAttribute("aria-hidden","true"),F.style.position="absolute",F.style.width=0,F.style.height=0,F.style.overflow="hidden",F=F,(b=document.body).firstChild?m(F,b.firstChild):b.appendChild(F))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(i,0):(s=function(){document.removeEventListener("DOMContentLoaded",s,!1),i()},document.addEventListener("DOMContentLoaded",s,!1)):document.attachEvent&&(u=i,n=e.document,h=!1,x(),n.onreadystatechange=function(){n.readyState=="complete"&&(n.onreadystatechange=null,g())})}}catch{}}(window);class Ey extends m6{constructor(t){super(),H(this,"controlOption",void 0),H(this,"container",void 0),H(this,"isShow",void 0),H(this,"sceneContainer",void 0),H(this,"scene",void 0),H(this,"mapsService",void 0),H(this,"renderService",void 0),H(this,"layerService",void 0),H(this,"controlService",void 0),H(this,"configService",void 0),Ey.controlCount++,this.controlOption=_t(_t({},this.getDefault(t)),t||{})}getOptions(){return this.controlOption}setOptions(t){const r=this.getDefault(t);Object.entries(t).forEach(([i,s])=>{s===void 0&&(t[i]=r[i])}),"position"in t&&this.setPosition(t.position),"className"in t&&this.setClassName(t.className),"style"in t&&this.setStyle(t.style),this.controlOption=_t(_t({},this.controlOption),t)}addTo(t){this.mapsService=t.mapService,this.renderService=t.rendererService,this.layerService=t.layerService,this.controlService=t.controlService,this.configService=t.globalConfigService,this.scene=t.sceneService,this.sceneContainer=t,this.isShow=!0,this.container=this.onAdd(),ny(this.container,"l7-control");const{className:r,style:i}=this.controlOption;return r&&this.setClassName(r),i&&this.setStyle(i),this.insertContainer(),this.emit("add",this),this}remove(){if(!this.mapsService)return this;sf(this.container),this.onRemove(),this.emit("remove",this)}onAdd(){return lu("div")}onRemove(){}show(){const t=this.container;c2(t,"l7-control--hide"),this.isShow=!0,this.emit("show",this)}hide(){const t=this.container;ny(t,"l7-control--hide"),this.isShow=!1,this.emit("hide",this)}getDefault(t){return{position:cf.TOPRIGHT,name:`${Ey.controlCount}`}}getContainer(){return this.container}getIsShow(){return this.isShow}_refocusOnMap(t){if(this.mapsService&&t&&t.screenX>0&&t.screenY>0){const r=this.mapsService.getContainer();r!==null&&r.focus()}}setPosition(t=cf.TOPLEFT){const r=this.controlService;return r&&r.removeControl(this),this.controlOption.position=t,r&&r.addControl(this,this.sceneContainer),this}setClassName(t){const r=this.container,{className:i}=this.controlOption;i&&c2(r,i),t&&ny(r,t)}setStyle(t){const r=this.container;t?r.setAttribute("style",t):r.removeAttribute("style")}insertContainer(){const t=this.controlOption.position,r=this.container;if(t instanceof Element)t.appendChild(r);else{const i=this.controlService.controlCorners[t];["bottomleft","bottomright","righttop","rightbottom"].includes(t)?i.insertBefore(r,i.firstChild):i.appendChild(r)}}checkUpdateOption(t,r){return r.some(i=>i in t)}}H(Ey,"controlCount",0);class _f extends yu.EventEmitter{get buttonRect(){return this.button.getBoundingClientRect()}constructor(t,r){super(),H(this,"popperDOM",void 0),H(this,"contentDOM",void 0),H(this,"button",void 0),H(this,"option",void 0),H(this,"isShow",!1),H(this,"content",void 0),H(this,"timeout",null),H(this,"show",()=>this.isShow||!this.contentDOM.innerHTML?this:(this.resetPopperPosition(),c2(this.popperDOM,"l7-popper-hide"),this.isShow=!0,this.option.unique&&_f.conflictPopperList.forEach(i=>{i!==this&&i.isShow&&i.hide()}),this.emit("show"),window.addEventListener("pointerdown",this.onPopperUnClick),this)),H(this,"hide",()=>this.isShow?(ny(this.popperDOM,"l7-popper-hide"),this.isShow=!1,this.emit("hide"),window.removeEventListener("pointerdown",this.onPopperUnClick),this):this),H(this,"setHideTimeout",()=>{this.timeout||(this.timeout=window.setTimeout(()=>{this.isShow&&(this.hide(),this.timeout=null)},300))}),H(this,"clearHideTimeout",()=>{this.timeout&&(window.clearTimeout(this.timeout),this.timeout=null)}),H(this,"onBtnClick",()=>{this.isShow?this.hide():this.show()}),H(this,"onPopperUnClick",i=>{RE(i.target,[".l7-button-control",".l7-popper-content"])||this.hide()}),H(this,"onBtnMouseLeave",()=>{this.setHideTimeout()}),H(this,"onBtnMouseMove",()=>{this.clearHideTimeout(),!this.isShow&&this.show()}),this.button=t,this.option=r,this.init(),r.unique&&_f.conflictPopperList.push(this)}getPopperDOM(){return this.popperDOM}getIsShow(){return this.isShow}getContent(){return this.content}setContent(t){typeof t=="string"?this.contentDOM.innerHTML=t:t instanceof HTMLElement&&(i8(this.contentDOM),this.contentDOM.appendChild(t)),this.content=t}init(){const{trigger:t}=this.option;this.popperDOM=this.createPopper(),t==="click"?this.button.addEventListener("click",this.onBtnClick):(this.button.addEventListener("mousemove",this.onBtnMouseMove),this.button.addEventListener("mouseleave",this.onBtnMouseLeave),this.popperDOM.addEventListener("mousemove",this.onBtnMouseMove),this.popperDOM.addEventListener("mouseleave",this.onBtnMouseLeave))}destroy(){this.button.removeEventListener("click",this.onBtnClick),this.button.removeEventListener("mousemove",this.onBtnMouseMove),this.button.removeEventListener("mousemove",this.onBtnMouseLeave),this.popperDOM.removeEventListener("mousemove",this.onBtnMouseMove),this.popperDOM.removeEventListener("mouseleave",this.onBtnMouseLeave),sf(this.popperDOM)}resetPopperPosition(){const t={},{container:r,offset:i=[0,0],placement:s}=this.option,[u,n]=i,h=this.button.getBoundingClientRect(),m=r.getBoundingClientRect(),{left:g,right:x,top:b,bottom:F}=SE(h,m);let R=!1,I=!1;/^(left|right)/.test(s)?(s.includes("left")?t.right=`${h.width+x}px`:s.includes("right")&&(t.left=`${h.width+g}px`),s.includes("start")?t.top=`${b}px`:s.includes("end")?t.bottom=`${F}px`:(t.top=`${b+h.height/2}px`,I=!0,t.transform=`translate(${u}px, calc(${n}px - 50%))`)):/^(top|bottom)/.test(s)&&(s.includes("top")?t.bottom=`${h.height+F}px`:s.includes("bottom")&&(t.top=`${h.height+b}px`),s.includes("start")?t.left=`${g}px`:s.includes("end")?t.right=`${x}px`:(t.left=`${g+h.width/2}px`,R=!0,t.transform=`translate(calc(${u}px - 50%), ${n}px)`)),t.transform=`translate(calc(${u}px - ${R?"50%":"0%"}), calc(${n}px - ${I?"50%":"0%"})`;const B=s.split("-");B.length&&ny(this.popperDOM,B.map(V=>`l7-popper-${V}`).join(" ")),FE(this.popperDOM,TE(t))}createPopper(){const{container:t,className:r="",content:i}=this.option,s=lu("div",`l7-popper l7-popper-hide ${r}`),u=lu("div","l7-popper-content"),n=lu("div","l7-popper-arrow");return s.appendChild(u),s.appendChild(n),t.appendChild(s),this.popperDOM=s,this.contentDOM=u,i&&this.setContent(i),s}}H(_f,"conflictPopperList",[]);const M5=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],Cc=(()=>{if(typeof document>"u")return!1;const e=M5[0],t={};for(const r of M5)if((r==null?void 0:r[1])in document){for(const[s,u]of r.entries())t[e[s]]=u;return t}return!1})(),N5={change:Cc.fullscreenchange,error:Cc.fullscreenerror};let Hu={request(e=document.documentElement,t){return new Promise((r,i)=>{const s=()=>{Hu.off("change",s),r()};Hu.on("change",s);const u=e[Cc.requestFullscreen](t);u instanceof Promise&&u.then(s).catch(i)})},exit(){return new Promise((e,t)=>{if(!Hu.isFullscreen){e();return}const r=()=>{Hu.off("change",r),e()};Hu.on("change",r);const i=document[Cc.exitFullscreen]();i instanceof Promise&&i.then(r).catch(t)})},toggle(e,t){return Hu.isFullscreen?Hu.exit():Hu.request(e,t)},onchange(e){Hu.on("change",e)},onerror(e){Hu.on("error",e)},on(e,t){const r=N5[e];r&&document.addEventListener(r,t,!1)},off(e,t){const r=N5[e];r&&document.removeEventListener(r,t,!1)},raw:Cc};Object.defineProperties(Hu,{isFullscreen:{get:()=>!!document[Cc.fullscreenElement]},element:{enumerable:!0,get:()=>{var e;return(e=document[Cc.fullscreenElement])!==null&&e!==void 0?e:void 0}},isEnabled:{enumerable:!0,get:()=>!!document[Cc.fullscreenEnabled]}});Cc||(Hu={isEnabled:!1});class sw extends Ey{getDefault(){return{position:cf.BOTTOMLEFT,name:"logo",href:"https://l7.antv.antgroup.com/",img:"https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*GRb1TKp4HcMAAAAAAAAAAAAAARQnAQ"}}onAdd(){const t=lu("div","l7-control-logo");return this.setLogoContent(t),t}onRemove(){return null}setOptions(t){super.setOptions(t),this.checkUpdateOption(t,["img","href"])&&(i8(this.container),this.setLogoContent(this.container))}setLogoContent(t){const{href:r,img:i}=this.controlOption,s=lu("img");if(s.setAttribute("src",i),s.setAttribute("aria-label","AntV logo"),wE(s),r){const u=lu("a","l7-control-logo-link");u.target="_blank",u.href=r,u.rel="noopener nofollow",u.setAttribute("rel","noopener nofollow"),u.appendChild(s),t.appendChild(u)}else t.appendChild(s)}}class uw{constructor(){H(this,"mapService",void 0),H(this,"fontService",void 0)}apply(t,{styleAttributeService:r,mapService:i,fontService:s}){var u=this;this.mapService=i,this.fontService=s,t.hooks.init.tapPromise("DataMappingPlugin",mt(function*(){t.log(Ea.MappingStart,Ga.INIT),u.generateMaping(t,{styleAttributeService:r}),t.log(Ea.MappingEnd,Ga.INIT)})),t.hooks.beforeRenderData.tapPromise("DataMappingPlugin",function(){var n=mt(function*(h){if(!h)return h;t.dataState.dataMappingNeedUpdate=!1,t.log(Ea.MappingStart,Ga.UPDATE);const m=u.generateMaping(t,{styleAttributeService:r});return t.log(Ea.MappingEnd,Ga.UPDATE),m});return function(h){return n.apply(this,arguments)}}()),t.hooks.beforeRender.tap("DataMappingPlugin",()=>{const n=t.getSource();if(t.layerModelNeedUpdate||!n||!n.inited)return;const h=r.getLayerStyleAttributes()||[],m=r.getLayerStyleAttribute("filter"),{dataArray:g}=n.data;if(Array.isArray(g)&&g.length===0)return;const x=h.filter(F=>F.needRemapping);let b=g;if(m!=null&&m.needRemapping&&m!==null&&m!==void 0&&m.scale&&(b=g.filter(F=>this.applyAttributeMapping(m,F)[0])),x.length){const F=this.mapping(t,x,b,t.getEncodedData());t.setEncodedData(F)}})}generateMaping(t,{styleAttributeService:r}){const i=r.getLayerStyleAttributes()||[],s=r.getLayerStyleAttribute("filter"),{dataArray:u}=t.getSource().data;let n=u;s!=null&&s.scale&&(n=u.filter(m=>this.applyAttributeMapping(s,m)[0])),n=t.processData(n);const h=this.mapping(t,i,n,void 0);return t.setEncodedData(h),t.emit("dataUpdate",null),!0}mapping(t,r,i,s){const u=r.filter(h=>h.scale!==void 0).filter(h=>h.name!=="filter"),n=i.map((h,m)=>{const g=s?s[m]:{},x=_t({id:h._id,coordinates:h.coordinates},g);return u.forEach(b=>{let F=this.applyAttributeMapping(b,h);(b.name==="color"||b.name==="stroke")&&(F=F.map(R=>Mi(R))),x[b.name]=Array.isArray(F)&&F.length===1?F[0]:F,b.name==="shape"&&(x.shape=this.fontService.getIconFontKey(x[b.name]))}),x});return r.forEach(h=>{h.needRemapping=!1}),this.adjustData2SimpleCoordinates(n),n}adjustData2SimpleCoordinates(t){t.length>0&&this.mapService.version==="SIMPLE"&&t.map(r=>{r.simpleCoordinate||(r.coordinates=this.unProjectCoordinates(r.coordinates),r.simpleCoordinate=!0)})}unProjectCoordinates(t){if(typeof t[0]=="number")return this.mapService.simpleMapCoord.unproject(t);if(t[0]&&t[0][0]instanceof Array){const r=[];return t.map(i=>{const s=[];i.map(u=>{s.push(this.mapService.simpleMapCoord.unproject(u))}),r.push(s)}),r}else{const r=[];return t.map(i=>{r.push(this.mapService.simpleMapCoord.unproject(i))}),r}}applyAttributeMapping(t,r){var i;if(!t.scale)return[];const s=(t==null||(i=t.scale)===null||i===void 0?void 0:i.scalers)||[],u=[];return s.forEach(({field:h})=>{var m;(r.hasOwnProperty(h)||((m=t.scale)===null||m===void 0?void 0:m.type)==="variable")&&u.push(r[h])}),t.mapping?t.mapping(u):[]}getArrowPoints(t,r){const i=[r[0]-t[0],r[1]-t[1]],s=LE(i);return[t[0]+s[0]*1e-4,t[1]+s[1]*1e-4]}}class pw{constructor(){H(this,"mapService",void 0)}apply(t){var r=this;this.mapService=t.getContainer().mapService,t.hooks.init.tapPromise("DataSourcePlugin",mt(function*(){t.log(Ea.SourceInitStart,Ga.INIT);let i=t.getSource();if(!i){const{data:s,options:u}=t.sourceOption||t.defaultSourceConfig;i=new aw(s,u),t.setSource(i)}i.inited?(r.updateClusterData(t),t.log(Ea.SourceInitEnd,Ga.INIT)):yield new Promise(s=>{i.on("update",u=>{u.type==="inited"&&(r.updateClusterData(t),t.log(Ea.SourceInitEnd,Ga.INIT)),s(null)})})})),t.hooks.beforeRenderData.tapPromise("DataSourcePlugin",mt(function*(){const i=r.updateClusterData(t),s=t.dataState.dataSourceNeedUpdate;return t.dataState.dataSourceNeedUpdate=!1,i||s}))}updateClusterData(t){if(t.isTileLayer||t.tileLayer||!t.getSource())return!1;const r=t.getSource(),i=r.cluster,{zoom:s=0}=r.clusterOptions,u=this.mapService.getZoom()-1,n=t.dataState.dataSourceNeedUpdate;return i&&n&&r.updateClusterData(Math.floor(u)),i&&Math.abs(t.clusterZoom-u)>=1?(s!==Math.floor(u)&&r.updateClusterData(Math.floor(u)),t.clusterZoom=u,!0):!1}}function D5(e,t){let r,i;for(const s of e)s!=null&&(r===void 0?s>=s&&(r=i=s):(r>s&&(r=s),i=1?(r=1,t-1):Math.floor(r*t),s=e[i],u=e[i+1],n=i>0?e[i-1]:2*s-u,h=ir&&(u=t.slice(r,u),h[n]?h[n]+=u:h[++n]=u),(i=i[0])===(s=s[0])?h[n]?h[n]+=s:h[++n]=s:(h[++n]=null,m.push({i:n,x:gf(i,s)})),r=jm.lastIndex;return rt?1:e>=t?0:NaN}function u9(e){return e.length===1&&(e=Tw(e)),{left:function(t,r,i,s){for(i==null&&(i=0),s==null&&(s=t.length);i>>1;e(t[u],r)<0?i=u+1:s=u}return i},right:function(t,r,i,s){for(i==null&&(i=0),s==null&&(s=t.length);i>>1;e(t[u],r)>0?s=u:i=u+1}return i}}}function Tw(e){return function(t,r){return w6(e(t),r)}}var Sw=u9(w6),Wf=Sw.right;function ww(e){return e===null?NaN:+e}var N2=Math.sqrt(50),D2=Math.sqrt(10),O2=Math.sqrt(2);function p9(e,t,r){var i,s=-1,u,n,h;if(t=+t,e=+e,r=+r,e===t&&r>0)return[e];if((i=t0)for(e=Math.ceil(e/h),t=Math.floor(t/h),n=new Array(u=Math.ceil(t-e+1));++s=0?(u>=N2?10:u>=D2?5:u>=O2?2:1)*Math.pow(10,s):-Math.pow(10,-s)/(u>=N2?10:u>=D2?5:u>=O2?2:1)}function L2(e,t,r){var i=Math.abs(t-e)/Math.max(0,r),s=Math.pow(10,Math.floor(Math.log(i)/Math.LN10)),u=i/s;return u>=N2?s*=10:u>=D2?s*=5:u>=O2&&(s*=2),t=1)return+r(e[i-1],i-1,e);var i,s=(i-1)*t,u=Math.floor(s),n=+r(e[u],u,e),h=+r(e[u+1],u+1,e);return n+(h-n)*(s-u)}}function wl(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function c9(e,t){switch(arguments.length){case 0:break;case 1:this.interpolator(e);break;default:this.interpolator(t).domain(e);break}return this}var Vu="$";function vf(){}vf.prototype=Ef.prototype={constructor:vf,has:function(e){return Vu+e in this},get:function(e){return this[Vu+e]},set:function(e,t){return this[Vu+e]=t,this},remove:function(e){var t=Vu+e;return t in this&&delete this[t]},clear:function(){for(var e in this)e[0]===Vu&&delete this[e]},keys:function(){var e=[];for(var t in this)t[0]===Vu&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)t[0]===Vu&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)t[0]===Vu&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)t[0]===Vu&&++e;return e},empty:function(){for(var e in this)if(e[0]===Vu)return!1;return!0},each:function(e){for(var t in this)t[0]===Vu&&e(this[t],t.slice(1),this)}};function Ef(e,t){var r=new vf;if(e instanceof vf)e.each(function(h,m){r.set(m,h)});else if(Array.isArray(e)){var i=-1,s=e.length,u;if(t==null)for(;++ir&&(i=t,t=r,r=i),function(s){return Math.max(t,Math.min(r,s))}}function Mw(e,t,r){var i=e[0],s=e[1],u=t[0],n=t[1];return s2?Nw:Mw,m=g=null,b}function b(F){return isNaN(F=+F)?u:(m||(m=h(e.map(i),t,r)))(i(n(F)))}return b.invert=function(F){return n(s((g||(g=h(t,e.map(i),gf)))(F)))},b.domain=function(F){return arguments.length?(e=d9.call(F,Iw),n===ns||(n=k5(e)),x()):e.slice()},b.range=function(F){return arguments.length?(t=_1.call(F),x()):t.slice()},b.rangeRound=function(F){return t=_1.call(F),r=Fw,x()},b.clamp=function(F){return arguments.length?(n=F?k5(e):ns,b):n!==ns},b.interpolate=function(F){return arguments.length?(r=F,x()):r},b.unknown=function(F){return arguments.length?(u=F,b):u},function(F,R){return i=F,s=R,x()}}function y9(e,t){return R6()(e,t)}function Dw(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Pf(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,i=e.slice(0,r);return[i.length>1?i[0]+i.slice(2):i,+e.slice(r+1)]}function k0(e){return e=Pf(Math.abs(e)),e?e[1]:NaN}function Ow(e,t){return function(r,i){for(var s=r.length,u=[],n=0,h=e[0],m=0;s>0&&h>0&&(m+h+1>i&&(h=Math.max(1,i-m)),u.push(r.substring(s-=h,s+h)),!((m+=h+1)>i));)h=e[n=(n+1)%e.length];return u.reverse().join(t)}}function Lw(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var Bw=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function bf(e){if(!(t=Bw.exec(e)))throw new Error("invalid format: "+e);var t;return new C6({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}bf.prototype=C6.prototype;function C6(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}C6.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function Uw(e){e:for(var t=e.length,r=1,i=-1,s;r0&&(i=0);break}return i>0?e.slice(0,i)+e.slice(s+1):e}var h9;function kw(e,t){var r=Pf(e,t);if(!r)return e+"";var i=r[0],s=r[1],u=s-(h9=Math.max(-8,Math.min(8,Math.floor(s/3)))*3)+1,n=i.length;return u===n?i:u>n?i+new Array(u-n+1).join("0"):u>0?i.slice(0,u)+"."+i.slice(u):"0."+new Array(1-u).join("0")+Pf(e,Math.max(0,t+u-1))[0]}function z5(e,t){var r=Pf(e,t);if(!r)return e+"";var i=r[0],s=r[1];return s<0?"0."+new Array(-s).join("0")+i:i.length>s+1?i.slice(0,s+1)+"."+i.slice(s+1):i+new Array(s-i.length+2).join("0")}const V5={"%":function(e,t){return(e*100).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:Dw,e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return z5(e*100,t)},r:z5,s:kw,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function H5(e){return e}var G5=Array.prototype.map,j5=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function zw(e){var t=e.grouping===void 0||e.thousands===void 0?H5:Ow(G5.call(e.grouping,Number),e.thousands+""),r=e.currency===void 0?"":e.currency[0]+"",i=e.currency===void 0?"":e.currency[1]+"",s=e.decimal===void 0?".":e.decimal+"",u=e.numerals===void 0?H5:Lw(G5.call(e.numerals,String)),n=e.percent===void 0?"%":e.percent+"",h=e.minus===void 0?"-":e.minus+"",m=e.nan===void 0?"NaN":e.nan+"";function g(b){b=bf(b);var F=b.fill,R=b.align,I=b.sign,B=b.symbol,V=b.zero,J=b.width,Q=b.comma,te=b.precision,ne=b.trim,ue=b.type;ue==="n"?(Q=!0,ue="g"):V5[ue]||(te===void 0&&(te=12),ne=!0,ue="g"),(V||F==="0"&&R==="=")&&(V=!0,F="0",R="=");var Oe=B==="$"?r:B==="#"&&/[boxX]/.test(ue)?"0"+ue.toLowerCase():"",Ee=B==="$"?i:/[%p]/.test(ue)?n:"",He=V5[ue],ft=/[defgprs%]/.test(ue);te=te===void 0?6:/[gprs]/.test(ue)?Math.max(1,Math.min(21,te)):Math.max(0,Math.min(20,te));function Ge(Ae){var Be=Oe,ze=Ee,st,Vt,ir;if(ue==="c")ze=He(Ae)+ze,Ae="";else{Ae=+Ae;var Fr=Ae<0||1/Ae<0;if(Ae=isNaN(Ae)?m:He(Math.abs(Ae),te),ne&&(Ae=Uw(Ae)),Fr&&+Ae==0&&I!=="+"&&(Fr=!1),Be=(Fr?I==="("?I:h:I==="-"||I==="("?"":I)+Be,ze=(ue==="s"?j5[8+h9/3]:"")+ze+(Fr&&I==="("?")":""),ft){for(st=-1,Vt=Ae.length;++stir||ir>57){ze=(ir===46?s+Ae.slice(st+1):Ae.slice(st))+ze,Ae=Ae.slice(0,st);break}}}Q&&!V&&(Ae=t(Ae,1/0));var Yr=Be.length+Ae.length+ze.length,mr=Yr>1)+Be+Ae+ze+mr.slice(Yr);break;default:Ae=mr+Be+Ae+ze;break}return u(Ae)}return Ge.toString=function(){return b+""},Ge}function x(b,F){var R=g((b=bf(b),b.type="f",b)),I=Math.max(-8,Math.min(8,Math.floor(k0(F)/3)))*3,B=Math.pow(10,-I),V=j5[8+I/3];return function(J){return R(B*J)+V}}return{format:g,formatPrefix:x}}var Sh,I6,f9;Vw({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function Vw(e){return Sh=zw(e),I6=Sh.format,f9=Sh.formatPrefix,Sh}function Hw(e){return Math.max(0,-k0(Math.abs(e)))}function Gw(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(k0(t)/3)))*3-k0(Math.abs(e)))}function jw(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,k0(t)-k0(e))+1}function Ww(e,t,r,i){var s=L2(e,t,r),u;switch(i=bf(i??",f"),i.type){case"s":{var n=Math.max(Math.abs(e),Math.abs(t));return i.precision==null&&!isNaN(u=Gw(s,n))&&(i.precision=u),f9(i,n)}case"":case"e":case"g":case"p":case"r":{i.precision==null&&!isNaN(u=jw(s,Math.max(Math.abs(e),Math.abs(t))))&&(i.precision=u-(i.type==="e"));break}case"f":case"%":{i.precision==null&&!isNaN(u=Hw(s))&&(i.precision=u-(i.type==="%")*2);break}}return I6(i)}function Dy(e){var t=e.domain;return e.ticks=function(r){var i=t();return p9(i[0],i[i.length-1],r??10)},e.tickFormat=function(r,i){var s=t();return Ww(s[0],s[s.length-1],r??10,i)},e.nice=function(r){r==null&&(r=10);var i=t(),s=0,u=i.length-1,n=i[s],h=i[u],m;return h0?(n=Math.floor(n/m)*m,h=Math.ceil(h/m)*m,m=Yh(n,h,r)):m<0&&(n=Math.ceil(n*m)/m,h=Math.floor(h*m)/m,m=Yh(n,h,r)),m>0?(i[s]=Math.floor(n/m)*m,i[u]=Math.ceil(h/m)*m,t(i)):m<0&&(i[s]=Math.ceil(n*m)/m,i[u]=Math.floor(h*m)/m,t(i)),e},e}function m9(){var e=y9(ns,ns);return e.copy=function(){return Xf(e,m9())},wl.apply(e,arguments),Dy(e)}function _9(e,t){e=e.slice();var r=0,i=e.length-1,s=e[r],u=e[i],n;return u0){for(;Fx)break;Q.push(V)}}else for(;F=1;--B)if(V=I*B,!(Vx)break;Q.push(V)}}else Q=p9(F,R,Math.min(R-F,J)).map(u);return b?Q.reverse():Q},t.tickFormat=function(h,m){if(m==null&&(m=i===10?".0e":","),typeof m!="function"&&(m=I6(m)),h===1/0)return m;h==null&&(h=10);var g=Math.max(1,i*h/t.ticks().length);return function(x){var b=x/u(Math.round(s(x)));return b*i0?r[h-1]:e[0],h=r?[i[r-1],t]:[i[g-1],i[g]]},n.unknown=function(m){return arguments.length&&(u=m),n},n.thresholds=function(){return i.slice()},n.copy=function(){return x9().domain([e,t]).range(s).unknown(u)},wl.apply(Dy(n),arguments)}function P9(){var e=[.5],t=[0,1],r,i=1;function s(u){return u<=u?t[Wf(e,u,0,i)]:r}return s.domain=function(u){return arguments.length?(e=_1.call(u),i=Math.min(e.length,t.length-1),s):e.slice()},s.range=function(u){return arguments.length?(t=_1.call(u),i=Math.min(e.length,t.length-1),s):t.slice()},s.invertExtent=function(u){var n=t.indexOf(u);return[e[n-1],e[n]]},s.unknown=function(u){return arguments.length?(r=u,s):r},s.copy=function(){return P9().domain(e).range(t).unknown(r)},wl.apply(s,arguments)}var Wm=new Date,Xm=new Date;function gs(e,t,r,i){function s(u){return e(u=arguments.length===0?new Date:new Date(+u)),u}return s.floor=function(u){return e(u=new Date(+u)),u},s.ceil=function(u){return e(u=new Date(u-1)),t(u,1),e(u),u},s.round=function(u){var n=s(u),h=s.ceil(u);return u-n0))return m;do m.push(g=new Date(+u)),t(u,h),e(u);while(g=n)for(;e(n),!u(n);)n.setTime(n-1)},function(n,h){if(n>=n)if(h<0)for(;++h<=0;)for(;t(n,-1),!u(n););else for(;--h>=0;)for(;t(n,1),!u(n););})},r&&(s.count=function(u,n){return Wm.setTime(+u),Xm.setTime(+n),e(Wm),e(Xm),Math.floor(r(Wm,Xm))},s.every=function(u){return u=Math.floor(u),!isFinite(u)||!(u>0)?null:u>1?s.filter(i?function(n){return i(n)%u===0}:function(n){return s.count(0,n)%u===0}):s}),s}var Af=gs(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});Af.every=function(e){return e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?gs(function(t){t.setTime(Math.floor(t/e)*e)},function(t,r){t.setTime(+t+r*e)},function(t,r){return(r-t)/e}):Af};Af.range;var Ff=1e3,xy=6e4,$5=36e5,b9=864e5,A9=6048e5,F9=gs(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+t*Ff)},function(e,t){return(t-e)/Ff},function(e){return e.getUTCSeconds()});F9.range;var T9=gs(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Ff)},function(e,t){e.setTime(+e+t*xy)},function(e,t){return(t-e)/xy},function(e){return e.getMinutes()});T9.range;var S9=gs(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Ff-e.getMinutes()*xy)},function(e,t){e.setTime(+e+t*$5)},function(e,t){return(t-e)/$5},function(e){return e.getHours()});S9.range;var Zf=gs(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*xy)/b9},function(e){return e.getDate()-1});Zf.range;function P1(e){return gs(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(t,r){t.setDate(t.getDate()+r*7)},function(t,r){return(r-t-(r.getTimezoneOffset()-t.getTimezoneOffset())*xy)/A9})}var M6=P1(0),Tf=P1(1),tR=P1(2),rR=P1(3),z0=P1(4),oR=P1(5),iR=P1(6);M6.range;Tf.range;tR.range;rR.range;z0.range;oR.range;iR.range;var w9=gs(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12},function(e){return e.getMonth()});w9.range;var Fl=gs(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});Fl.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:gs(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,r){t.setFullYear(t.getFullYear()+r*e)})};Fl.range;var N6=gs(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/b9},function(e){return e.getUTCDate()-1});N6.range;function b1(e){return gs(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(t,r){t.setUTCDate(t.getUTCDate()+r*7)},function(t,r){return(r-t)/A9})}var R9=b1(0),Sf=b1(1),nR=b1(2),aR=b1(3),V0=b1(4),sR=b1(5),uR=b1(6);R9.range;Sf.range;nR.range;aR.range;V0.range;sR.range;uR.range;var g1=gs(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});g1.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:gs(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,r){t.setUTCFullYear(t.getUTCFullYear()+r*e)})};g1.range;function Zm(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Ym(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Md(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function pR(e){var t=e.dateTime,r=e.date,i=e.time,s=e.periods,u=e.days,n=e.shortDays,h=e.months,m=e.shortMonths,g=Nd(s),x=Dd(s),b=Nd(u),F=Dd(u),R=Nd(n),I=Dd(n),B=Nd(h),V=Dd(h),J=Nd(m),Q=Dd(m),te={a:Fr,A:Yr,b:mr,B:Er,c:null,d:t4,e:t4,f:MR,g:HR,G:jR,H:RR,I:CR,j:IR,L:C9,m:NR,M:DR,p:qr,q:Jr,Q:i4,s:n4,S:OR,u:LR,U:BR,V:UR,w:kR,W:zR,x:null,X:null,y:VR,Y:GR,Z:WR,"%":o4},ne={a:_o,A:So,b:oo,B:Wi,c:null,d:r4,e:r4,f:$R,g:nC,G:sC,H:XR,I:ZR,j:YR,L:M9,m:qR,M:KR,p:bo,q:Ni,Q:i4,s:n4,S:QR,u:JR,U:eC,V:tC,w:rC,W:oC,x:null,X:null,y:iC,Y:aC,Z:uC,"%":o4},ue={a:Ge,A:Ae,b:Be,B:ze,c:st,d:J5,e:J5,f:FR,g:Q5,G:K5,H:e4,I:e4,j:xR,L:AR,m:ER,M:PR,p:ft,q:vR,Q:SR,s:wR,S:bR,u:hR,U:fR,V:mR,w:yR,W:_R,x:Vt,X:ir,y:Q5,Y:K5,Z:gR,"%":TR};te.x=Oe(r,te),te.X=Oe(i,te),te.c=Oe(t,te),ne.x=Oe(r,ne),ne.X=Oe(i,ne),ne.c=Oe(t,ne);function Oe($e,Yt){return function(Sr){var Ft=[],xr=-1,io=0,go=$e.length,to,Kr,Ao;for(Sr instanceof Date||(Sr=new Date(+Sr));++xr53)return null;"w"in Ft||(Ft.w=1),"Z"in Ft?(io=Ym(Md(Ft.y,0,1)),go=io.getUTCDay(),io=go>4||go===0?Sf.ceil(io):Sf(io),io=N6.offset(io,(Ft.V-1)*7),Ft.y=io.getUTCFullYear(),Ft.m=io.getUTCMonth(),Ft.d=io.getUTCDate()+(Ft.w+6)%7):(io=Zm(Md(Ft.y,0,1)),go=io.getDay(),io=go>4||go===0?Tf.ceil(io):Tf(io),io=Zf.offset(io,(Ft.V-1)*7),Ft.y=io.getFullYear(),Ft.m=io.getMonth(),Ft.d=io.getDate()+(Ft.w+6)%7)}else("W"in Ft||"U"in Ft)&&("w"in Ft||(Ft.w="u"in Ft?Ft.u%7:"W"in Ft?1:0),go="Z"in Ft?Ym(Md(Ft.y,0,1)).getUTCDay():Zm(Md(Ft.y,0,1)).getDay(),Ft.m=0,Ft.d="W"in Ft?(Ft.w+6)%7+Ft.W*7-(go+5)%7:Ft.w+Ft.U*7-(go+6)%7);return"Z"in Ft?(Ft.H+=Ft.Z/100|0,Ft.M+=Ft.Z%100,Ym(Ft)):Zm(Ft)}}function He($e,Yt,Sr,Ft){for(var xr=0,io=Yt.length,go=Sr.length,to,Kr;xr=go)return-1;if(to=Yt.charCodeAt(xr++),to===37){if(to=Yt.charAt(xr++),Kr=ue[to in q5?Yt.charAt(xr++):to],!Kr||(Ft=Kr($e,Sr,Ft))<0)return-1}else if(to!=Sr.charCodeAt(Ft++))return-1}return Ft}function ft($e,Yt,Sr){var Ft=g.exec(Yt.slice(Sr));return Ft?($e.p=x[Ft[0].toLowerCase()],Sr+Ft[0].length):-1}function Ge($e,Yt,Sr){var Ft=R.exec(Yt.slice(Sr));return Ft?($e.w=I[Ft[0].toLowerCase()],Sr+Ft[0].length):-1}function Ae($e,Yt,Sr){var Ft=b.exec(Yt.slice(Sr));return Ft?($e.w=F[Ft[0].toLowerCase()],Sr+Ft[0].length):-1}function Be($e,Yt,Sr){var Ft=J.exec(Yt.slice(Sr));return Ft?($e.m=Q[Ft[0].toLowerCase()],Sr+Ft[0].length):-1}function ze($e,Yt,Sr){var Ft=B.exec(Yt.slice(Sr));return Ft?($e.m=V[Ft[0].toLowerCase()],Sr+Ft[0].length):-1}function st($e,Yt,Sr){return He($e,t,Yt,Sr)}function Vt($e,Yt,Sr){return He($e,r,Yt,Sr)}function ir($e,Yt,Sr){return He($e,i,Yt,Sr)}function Fr($e){return n[$e.getDay()]}function Yr($e){return u[$e.getDay()]}function mr($e){return m[$e.getMonth()]}function Er($e){return h[$e.getMonth()]}function qr($e){return s[+($e.getHours()>=12)]}function Jr($e){return 1+~~($e.getMonth()/3)}function _o($e){return n[$e.getUTCDay()]}function So($e){return u[$e.getUTCDay()]}function oo($e){return m[$e.getUTCMonth()]}function Wi($e){return h[$e.getUTCMonth()]}function bo($e){return s[+($e.getUTCHours()>=12)]}function Ni($e){return 1+~~($e.getUTCMonth()/3)}return{format:function($e){var Yt=Oe($e+="",te);return Yt.toString=function(){return $e},Yt},parse:function($e){var Yt=Ee($e+="",!1);return Yt.toString=function(){return $e},Yt},utcFormat:function($e){var Yt=Oe($e+="",ne);return Yt.toString=function(){return $e},Yt},utcParse:function($e){var Yt=Ee($e+="",!0);return Yt.toString=function(){return $e},Yt}}}var q5={"-":"",_:" ",0:"0"},Ia=/^\s*\d+/,cR=/^%/,lR=/[\\^$*+?|[\]().{}]/g;function _i(e,t,r){var i=e<0?"-":"",s=(i?-e:e)+"",u=s.length;return i+(u68?1900:2e3),r+i[0].length):-1}function gR(e,t,r){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return i?(e.Z=i[1]?0:-(i[2]+(i[3]||"00")),r+i[0].length):-1}function vR(e,t,r){var i=Ia.exec(t.slice(r,r+1));return i?(e.q=i[0]*3-3,r+i[0].length):-1}function ER(e,t,r){var i=Ia.exec(t.slice(r,r+2));return i?(e.m=i[0]-1,r+i[0].length):-1}function J5(e,t,r){var i=Ia.exec(t.slice(r,r+2));return i?(e.d=+i[0],r+i[0].length):-1}function xR(e,t,r){var i=Ia.exec(t.slice(r,r+3));return i?(e.m=0,e.d=+i[0],r+i[0].length):-1}function e4(e,t,r){var i=Ia.exec(t.slice(r,r+2));return i?(e.H=+i[0],r+i[0].length):-1}function PR(e,t,r){var i=Ia.exec(t.slice(r,r+2));return i?(e.M=+i[0],r+i[0].length):-1}function bR(e,t,r){var i=Ia.exec(t.slice(r,r+2));return i?(e.S=+i[0],r+i[0].length):-1}function AR(e,t,r){var i=Ia.exec(t.slice(r,r+3));return i?(e.L=+i[0],r+i[0].length):-1}function FR(e,t,r){var i=Ia.exec(t.slice(r,r+6));return i?(e.L=Math.floor(i[0]/1e3),r+i[0].length):-1}function TR(e,t,r){var i=cR.exec(t.slice(r,r+1));return i?r+i[0].length:-1}function SR(e,t,r){var i=Ia.exec(t.slice(r));return i?(e.Q=+i[0],r+i[0].length):-1}function wR(e,t,r){var i=Ia.exec(t.slice(r));return i?(e.s=+i[0],r+i[0].length):-1}function t4(e,t){return _i(e.getDate(),t,2)}function RR(e,t){return _i(e.getHours(),t,2)}function CR(e,t){return _i(e.getHours()%12||12,t,2)}function IR(e,t){return _i(1+Zf.count(Fl(e),e),t,3)}function C9(e,t){return _i(e.getMilliseconds(),t,3)}function MR(e,t){return C9(e,t)+"000"}function NR(e,t){return _i(e.getMonth()+1,t,2)}function DR(e,t){return _i(e.getMinutes(),t,2)}function OR(e,t){return _i(e.getSeconds(),t,2)}function LR(e){var t=e.getDay();return t===0?7:t}function BR(e,t){return _i(M6.count(Fl(e)-1,e),t,2)}function I9(e){var t=e.getDay();return t>=4||t===0?z0(e):z0.ceil(e)}function UR(e,t){return e=I9(e),_i(z0.count(Fl(e),e)+(Fl(e).getDay()===4),t,2)}function kR(e){return e.getDay()}function zR(e,t){return _i(Tf.count(Fl(e)-1,e),t,2)}function VR(e,t){return _i(e.getFullYear()%100,t,2)}function HR(e,t){return e=I9(e),_i(e.getFullYear()%100,t,2)}function GR(e,t){return _i(e.getFullYear()%1e4,t,4)}function jR(e,t){var r=e.getDay();return e=r>=4||r===0?z0(e):z0.ceil(e),_i(e.getFullYear()%1e4,t,4)}function WR(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+_i(t/60|0,"0",2)+_i(t%60,"0",2)}function r4(e,t){return _i(e.getUTCDate(),t,2)}function XR(e,t){return _i(e.getUTCHours(),t,2)}function ZR(e,t){return _i(e.getUTCHours()%12||12,t,2)}function YR(e,t){return _i(1+N6.count(g1(e),e),t,3)}function M9(e,t){return _i(e.getUTCMilliseconds(),t,3)}function $R(e,t){return M9(e,t)+"000"}function qR(e,t){return _i(e.getUTCMonth()+1,t,2)}function KR(e,t){return _i(e.getUTCMinutes(),t,2)}function QR(e,t){return _i(e.getUTCSeconds(),t,2)}function JR(e){var t=e.getUTCDay();return t===0?7:t}function eC(e,t){return _i(R9.count(g1(e)-1,e),t,2)}function N9(e){var t=e.getUTCDay();return t>=4||t===0?V0(e):V0.ceil(e)}function tC(e,t){return e=N9(e),_i(V0.count(g1(e),e)+(g1(e).getUTCDay()===4),t,2)}function rC(e){return e.getUTCDay()}function oC(e,t){return _i(Sf.count(g1(e)-1,e),t,2)}function iC(e,t){return _i(e.getUTCFullYear()%100,t,2)}function nC(e,t){return e=N9(e),_i(e.getUTCFullYear()%100,t,2)}function aC(e,t){return _i(e.getUTCFullYear()%1e4,t,4)}function sC(e,t){var r=e.getUTCDay();return e=r>=4||r===0?V0(e):V0.ceil(e),_i(e.getUTCFullYear()%1e4,t,4)}function uC(){return"+0000"}function o4(){return"%"}function i4(e){return+e}function n4(e){return Math.floor(+e/1e3)}var y0,D9;pC({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function pC(e){return y0=pR(e),D9=y0.format,y0.parse,y0.utcFormat,y0.utcParse,y0}var Qd=1e3,Jd=Qd*60,ey=Jd*60,Py=ey*24,cC=Py*7,a4=Py*30,$m=Py*365;function lC(e){return new Date(e)}function dC(e){return e instanceof Date?+e:+new Date(+e)}function O9(e,t,r,i,s,u,n,h,m){var g=y9(ns,ns),x=g.invert,b=g.domain,F=m(".%L"),R=m(":%S"),I=m("%I:%M"),B=m("%I %p"),V=m("%a %d"),J=m("%b %d"),Q=m("%B"),te=m("%Y"),ne=[[n,1,Qd],[n,5,5*Qd],[n,15,15*Qd],[n,30,30*Qd],[u,1,Jd],[u,5,5*Jd],[u,15,15*Jd],[u,30,30*Jd],[s,1,ey],[s,3,3*ey],[s,6,6*ey],[s,12,12*ey],[i,1,Py],[i,2,2*Py],[r,1,cC],[t,1,a4],[t,3,3*a4],[e,1,$m]];function ue(Ee){return(n(Ee)s?(r=s,s):r,i.unknown=s=>s?(t=s,s):t,i.copy=()=>k9().unknown(t),i}const{isNil:qm,isString:mC,uniq:_C}=Qn,gC=/^(?:(?!0000)[0-9]{4}([-/.]+)(?:(?:0?[1-9]|1[0-2])\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\1(?:29|30)|(?:0?[13578]|1[02])\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]?)0?2\2(?:29))(\s+([01]|([01][0-9]|2[0-3])):([0-9]|[0-5][0-9]):([0-9]|[0-5][0-9]))?$/,vC={[Ei.LINEAR]:m9,[Ei.POWER]:v9,[Ei.LOG]:g9,[Ei.IDENTITY]:k9,[Ei.SEQUENTIAL]:B9,[Ei.TIME]:yC,[Ei.QUANTILE]:E9,[Ei.QUANTIZE]:x9,[Ei.THRESHOLD]:P9,[Ei.CAT]:xf,[Ei.DIVERGING]:U9};class EC{constructor(){H(this,"scaleOptions",{})}apply(t,{styleAttributeService:r}){var i=this;t.hooks.init.tapPromise("FeatureScalePlugin",mt(function*(){var s;t.log(Ea.ScaleInitStart,Ga.INIT),i.scaleOptions=t.getScaleOptions();const u=r.getLayerStyleAttributes(),n=(s=t.getSource())===null||s===void 0?void 0:s.data.dataArray;Array.isArray(n)&&n.length===0||(i.caculateScalesForAttributes(u||[],n),t.log(Ea.ScaleInitEnd,Ga.INIT))})),t.hooks.beforeRenderData.tapPromise("FeatureScalePlugin",function(){var s=mt(function*(u){if(!u)return u;t.log(Ea.ScaleInitStart,Ga.UPDATE),i.scaleOptions=t.getScaleOptions();const n=r.getLayerStyleAttributes(),h=t.getSource().data.dataArray;return Array.isArray(h)&&h.length===0||(i.caculateScalesForAttributes(n||[],h),t.log(Ea.ScaleInitEnd,Ga.UPDATE),t.layerModelNeedUpdate=!0),!0});return function(u){return s.apply(this,arguments)}}()),t.hooks.beforeRender.tap("FeatureScalePlugin",()=>{if(t.layerModelNeedUpdate)return;this.scaleOptions=t.getScaleOptions();const s=r.getLayerStyleAttributes(),u=t.getSource().data.dataArray;if(!(Array.isArray(u)&&u.length===0)&&s){const n=s.filter(h=>h.needRescale);n.length&&this.caculateScalesForAttributes(n,u)}})}isNumber(t){return!isNaN(parseFloat(t))&&isFinite(t)}caculateScalesForAttributes(t,r){t.forEach(i=>{if(i.scale){const s=i.scale,u=i.scale.field;s.names=this.parseFields(qm(u)?[]:u);const n=[];s.names.forEach(h=>{var m;n.push(this.createScale(h,i.name,(m=i.scale)===null||m===void 0?void 0:m.values,r))}),n.some(h=>h.type===d0.VARIABLE)?(s.type=d0.VARIABLE,n.forEach(h=>{if(!s.callback&&s.values!=="text"){var m;switch((m=h.option)===null||m===void 0?void 0:m.type){case Ei.LOG:case Ei.LINEAR:case Ei.POWER:if(s.values&&s.values.length>2){const x=h.scale.ticks(s.values.length);h.scale.domain(x)}s.values?h.scale.range(s.values):h.scale.range(h.option.domain);break;case Ei.QUANTILE:case Ei.QUANTIZE:case Ei.THRESHOLD:h.scale.range(s.values);break;case Ei.IDENTITY:break;case Ei.CAT:s.values?h.scale.range(s.values):h.scale.range(h.option.domain);break;case Ei.DIVERGING:case Ei.SEQUENTIAL:h.scale.interpolator(mw(s.values));break}}if(s.values==="text"){var g;h.scale.range((g=h.option)===null||g===void 0?void 0:g.domain)}})):(s.type=d0.CONSTANT,s.defaultValues=n.map((h,m)=>h.scale(s.names[m]))),s.scalers=n.map(h=>({field:h.field,func:h.scale,option:h.option})),i.needRescale=!1}})}parseFields(t){return Array.isArray(t)?t:mC(t)?t.split("*"):[t]}createScale(t,r,i,s){var u,n;const h=this.scaleOptions[r]&&((u=this.scaleOptions[r])===null||u===void 0?void 0:u.field)===t?this.scaleOptions[r]:this.scaleOptions[t],m={field:t,scale:void 0,type:d0.VARIABLE,option:h};if(!s||!s.length)return h&&h.type?m.scale=this.createDefaultScale(h):(m.scale=xf([t]),m.type=d0.CONSTANT),m;const g=(n=s.find(x=>!qm(x[t])))===null||n===void 0?void 0:n[t];if(this.isNumber(t)||qm(g)&&!h)m.scale=xf([t]),m.type=d0.CONSTANT;else{let x=h&&h.type||this.getDefaultType(g);i==="text"&&(x=Ei.CAT),i===void 0&&(x=Ei.IDENTITY);const b=this.createScaleConfig(x,t,h,s);m.scale=this.createDefaultScale(b),m.option=b}return m}getDefaultType(t){let r=Ei.LINEAR;return typeof t=="string"&&(r=gC.test(t)?Ei.TIME:Ei.CAT),r}createScaleConfig(t,r,i,s){const u={type:t};let n=[];if(t===Ei.QUANTILE){const h=new Map;s==null||s.forEach(m=>{h.set(m._id,m[r])}),n=Array.from(h.values())}else n=(s==null?void 0:s.map(h=>h[r]))||[];if(i!=null&&i.domain)u.domain=i==null?void 0:i.domain;else if(t===Ei.CAT||t===Ei.IDENTITY)u.domain=_C(n);else if(t===Ei.QUANTILE)u.domain=n;else if(t===Ei.DIVERGING){const h=D5(n),m=(i==null?void 0:i.neutral)!==void 0?i==null?void 0:i.neutral:(h[0]+h[1])/2;u.domain=[h[0],m,h[1]]}else u.domain=D5(n);return _t(_t({},u),i)}createDefaultScale({type:t,domain:r,unknown:i,clamp:s,nice:u}){const n=vC[t]();return r&&n.domain&&n.domain(r),i&&n.unknown(i),s!==void 0&&n.clamp&&n.clamp(s),u!==void 0&&n.nice&&n.nice(u),n}}class xC{apply(t){t.hooks.beforeRender.tap("LayerAnimateStylePlugin",()=>{t.animateStatus&&t.models.forEach(i=>{i.addUniforms(_t({},t.layerModel.getAnimateUniforms()))})})}}let PC=class{apply(t){t.hooks.afterInit.tap("LayerMaskPlugin",()=>{const{maskLayers:r,enableMask:i}=t.getLayerConfig();!t.tileLayer&&r&&r.length>0&&t.updateLayerConfig({mask:i})})}};class bC{build(t){return mt(function*(){t.prepareBuildModel(),yield t.buildModels()})()}initLayerModel(t){var r=this;return mt(function*(){yield r.build(t),t.styleNeedUpdate=!1})()}prepareLayerModel(t){var r=this;return mt(function*(){yield r.build(t),t.styleNeedUpdate=!1})()}apply(t){var r=this;t.hooks.init.tapPromise("LayerModelPlugin",mt(function*(){if(t.getSource().isTile){t.prepareBuildModel();return}t.log(Ea.BuildModelStart,Ga.INIT),yield r.initLayerModel(t),t.log(Ea.BuildModelEnd,Ga.INIT)})),t.hooks.beforeRenderData.tapPromise("LayerModelPlugin",function(){var i=mt(function*(s){return!s||t.getSource().isTile?!1:(t.log(Ea.BuildModelStart,Ga.UPDATE),yield r.prepareLayerModel(t),t.log(Ea.BuildModelEnd,Ga.UPDATE),!0)});return function(s){return i.apply(this,arguments)}}())}}class AC{apply(t){t.hooks.afterInit.tap("LayerStylePlugin",()=>{const{autoFit:r,fitBoundsOptions:i}=t.getLayerConfig();r&&t.fitBounds(i),t.styleNeedUpdate=!1})}}const FC=["type"],s4={directional:{lights:"u_DirectionalLights",num:"u_NumOfDirectionalLights"},spot:{lights:"u_SpotLights",num:"u_NumOfSpotLights"}},TC={type:"directional",direction:[1,10.5,12],ambient:[.2,.2,.2],diffuse:[.6,.6,.6],specular:[.1,.1,.1]},SC={direction:[0,0,0],ambient:[0,0,0],diffuse:[0,0,0],specular:[0,0,0]},wC={position:[0,0,0],direction:[0,0,0],ambient:[0,0,0],diffuse:[0,0,0],specular:[0,0,0],constant:1,linear:0,quadratic:0,angle:14,exponent:40,blur:5};function RC(e){const t={u_DirectionalLights:new Array(3).fill(_t({},SC)),u_NumOfDirectionalLights:0,u_SpotLights:new Array(3).fill(_t({},wC)),u_NumOfSpotLights:0};return(!e||!e.length)&&(e=[TC]),e.forEach(r=>{let{type:i="directional"}=r,s=$p(r,FC);const u=s4[i].lights,n=s4[i].num,h=t[n];t[u][h]=_t(_t({},t[u][h]),s),t[n]++}),t}class CC{apply(t){t.hooks.beforeRender.tap("LightingPlugin",()=>{const{enableLighting:r}=t.getLayerConfig();r&&t.models.forEach(i=>i.addUniforms(_t({},RC())))})}}function z9(e){return e.map(t=>(typeof t=="string"&&(t=[t,{}]),t))}function V9(e,t,r,i){const s=e.multiPassRenderer;return s.add(i("render")),z9(t).forEach(u=>{const[n,h]=u;s.add(r(n),h)}),s.add(r("copy")),s}class IC{constructor(){H(this,"enabled",void 0)}apply(t,{rendererService:r,postProcessingPassFactory:i,normalPassFactory:s}){t.hooks.init.tapPromise("MultiPassRendererPlugin",()=>{const{enableMultiPassRenderer:u,passes:n=[]}=t.getLayerConfig();this.enabled=!!u&&t.getLayerConfig().enableMultiPassRenderer!==!1,this.enabled&&(t.multiPassRenderer=V9(t,n,i,s),t.multiPassRenderer.setRenderFlag(!0))}),t.hooks.beforeRender.tap("MultiPassRendererPlugin",()=>{if(this.enabled){const{width:u,height:n}=r.getViewportSize();t.multiPassRenderer.resize(u,n)}})}}const El={POSITION:0,POSITION_64LOW:1,COLOR:2,PICKING_COLOR:3,STROKE:4,OPACITY:5,OFFSETS:6,ROTATION:7,MAX:8};function MC(e){switch(e){case"rotation":return{name:"Rotation",type:br.Attribute,descriptor:{name:"a_Rotation",shaderLocation:El.ROTATION,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:1,update:t=>{const{rotation:r=0}=t;return Array.isArray(r)?[r[0]]:[r]}}};case"stroke":return{name:"stroke",type:br.Attribute,descriptor:{name:"a_Stroke",shaderLocation:El.STROKE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:4,update:t=>{const{stroke:r=[1,1,1,1]}=t;return r}}};case"opacity":return{name:"opacity",type:br.Attribute,descriptor:{name:"a_Opacity",shaderLocation:El.OPACITY,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:1,update:t=>{const{opacity:r=1}=t;return[r]}}};case"offsets":return{name:"offsets",type:br.Attribute,descriptor:{name:"a_Offsets",shaderLocation:El.OFFSETS,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:2,update:t=>{const{offsets:r}=t;return r}}};default:return}}const{isNumber:NC}=Qn,h0={NONE:0,ENCODE:1,HIGHLIGHT:2};class DC{constructor(){H(this,"pickingUniformMap",void 0)}pickOption2Array(){const t=[];return this.pickingUniformMap.forEach(r=>{NC(r)?t.push(r):t.push(...r)}),t}updatePickOption(t,r){Object.keys(t).forEach(n=>{this.pickingUniformMap.set(n,t[n])});const i=r.getLayerConfig().pickingBuffer||0,s=Number(r.getShaderPickStat());this.pickingUniformMap.set("u_PickingBuffer",i),this.pickingUniformMap.set("u_shaderPick",s),r.getPickingUniformBuffer().subData({offset:0,data:this.pickOption2Array()})}apply(t,{styleAttributeService:r}){this.pickingUniformMap=new Map([["u_HighlightColor",[1,0,0,1]],["u_SelectColor",[1,0,0,1]],["u_PickingColor",[0,0,0]],["u_PickingStage",0],["u_CurrentSelectedId",[0,0,0]],["u_PickingThreshold",10],["u_PickingBuffer",0],["u_shaderPick",0],["u_activeMix",0]]),t.hooks.init.tapPromise("PixelPickingPlugin",()=>{const{enablePicking:i}=t.getLayerConfig();r.registerStyleAttribute({name:"pickingColor",type:br.Attribute,descriptor:{name:"a_PickingColor",shaderLocation:El.PICKING_COLOR,buffer:{data:[],type:L.FLOAT},size:3,update:s=>{const{id:u}=s;return i?B0(u):[0,0,0]}}})}),t.hooks.beforePickingEncode.tap("PixelPickingPlugin",()=>{const{enablePicking:i}=t.getLayerConfig();i&&t.isVisible()&&(this.updatePickOption({u_PickingStage:h0.ENCODE},t),t.models.forEach(s=>s.addUniforms({u_PickingStage:h0.ENCODE})))}),t.hooks.afterPickingEncode.tap("PixelPickingPlugin",()=>{const{enablePicking:i}=t.getLayerConfig();i&&t.isVisible()&&(this.updatePickOption({u_PickingStage:h0.HIGHLIGHT},t),t.models.forEach(s=>s.addUniforms({u_PickingStage:h0.HIGHLIGHT})))}),t.hooks.beforeHighlight.tap("PixelPickingPlugin",i=>{const{highlightColor:s,activeMix:u=0}=t.getLayerConfig(),n=typeof s=="string"?Mi(s):s||[1,0,0,1];t.updateLayerConfig({pickedFeatureID:l1(new Uint8Array(i))});const h={u_PickingStage:h0.HIGHLIGHT,u_PickingColor:i,u_HighlightColor:n.map(m=>m*255),u_activeMix:u};this.updatePickOption(h,t),t.models.forEach(m=>m.addUniforms(h))}),t.hooks.beforeSelect.tap("PixelPickingPlugin",i=>{const{selectColor:s,selectMix:u=0}=t.getLayerConfig(),n=typeof s=="string"?Mi(s):s||[1,0,0,1];t.updateLayerConfig({pickedFeatureID:l1(new Uint8Array(i))});const h={u_PickingStage:h0.HIGHLIGHT,u_PickingColor:i,u_HighlightColor:n.map(m=>m*255),u_activeMix:u,u_CurrentSelectedId:i,u_SelectColor:n.map(m=>m*255)};this.updatePickOption(h,t),t.models.forEach(m=>m.addUniforms(h))})}}const OC=["mvt","geojsonvt","testTile"];function LC(e){const t=e.getSource();return OC.includes(t.parser.type)}class BC{apply(t,{styleAttributeService:r}){t.hooks.init.tapPromise("RegisterStyleAttributePlugin",()=>{LC(t)||this.registerBuiltinAttributes(r,t)})}registerBuiltinAttributes(t,r){if(r.type==="MaskLayer"){this.registerPositionAttribute(t);return}this.registerPositionAttribute(t),this.registerColorAttribute(t)}registerPositionAttribute(t){t.registerStyleAttribute({name:"position",type:br.Attribute,descriptor:{name:"a_Position",shaderLocation:El.POSITION,buffer:{data:[],type:L.FLOAT},size:3,update:(r,i,s)=>s.length===2?[s[0],s[1],0]:[s[0],s[1],s[2]]}})}registerColorAttribute(t){t.registerStyleAttribute({name:"color",type:br.Attribute,descriptor:{name:"a_Color",shaderLocation:El.COLOR,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:4,update:r=>{const{color:i}=r;return!i||!i.length?[1,1,1,1]:i}}})}}class UC{constructor(){H(this,"cameraService",void 0),H(this,"coordinateSystemService",void 0),H(this,"rendererService",void 0),H(this,"mapService",void 0),H(this,"layerService",void 0)}apply(t,{rendererService:r,mapService:i,layerService:s,coordinateSystemService:u,cameraService:n}){this.rendererService=r,this.mapService=i,this.layerService=s,this.coordinateSystemService=u,this.cameraService=n;let h;this.rendererService.uniformBuffers[0]||(h=this.rendererService.createBuffer({data:new Float32Array(16*4+4*7),isUBO:!0,label:"renderUniformBuffer"}),this.rendererService.uniformBuffers[0]=h),t.hooks.beforeRender.tap("ShaderUniformPlugin",()=>{const m=t.getLayerConfig().tileOrigin;this.coordinateSystemService.refresh(m);const{width:g,height:x}=this.rendererService.getViewportSize(),{data:b,uniforms:F}=this.generateUBO(g,x);this.layerService.alreadyInRendering&&this.rendererService.uniformBuffers[0]&&this.rendererService.uniformBuffers[0].subData({offset:0,data:b}),this.rendererService.queryVerdorInfo()==="WebGL1"&&t.models.forEach(I=>{I.addUniforms(_t(_t({},F),{},{u_PickingBuffer:t.getLayerConfig().pickingBuffer||0,u_shaderPick:Number(t.getShaderPickStat())}))})})}generateUBO(t,r){const i=this.cameraService.getProjectionMatrix(),s=this.cameraService.getViewMatrix(),u=this.cameraService.getViewProjectionMatrix(),n=this.cameraService.getModelMatrix(),h=this.coordinateSystemService.getViewportCenterProjection(),m=this.coordinateSystemService.getPixelsPerDegree(),g=this.cameraService.getZoom(),x=this.coordinateSystemService.getPixelsPerDegree2(),b=this.cameraService.getZoomScale(),F=this.coordinateSystemService.getPixelsPerMeter(),R=this.coordinateSystemService.getCoordinateSystem(),I=this.cameraService.getCameraPosition(),B=window.devicePixelRatio,V=this.coordinateSystemService.getViewportCenter(),J=[t,r],Q=this.cameraService.getFocalDistance();return{data:[...s,...i,...u,...n,...h,...m,g,...x,b,...F,R,...I,B,...V,...J,Q,0,0,0],uniforms:{[a1.ProjectionMatrix]:i,[a1.ViewMatrix]:s,[a1.ViewProjectionMatrix]:u,[a1.Zoom]:g,[a1.ZoomScale]:b,[a1.FocalDistance]:Q,[a1.CameraPosition]:I,[l0.CoordinateSystem]:R,[l0.ViewportCenter]:V,[l0.ViewportCenterProjection]:h,[l0.PixelsPerDegree]:m,[l0.PixelsPerDegree2]:x,[l0.PixelsPerMeter]:F,u_ViewportSize:J,u_ModelMatrix:n,u_DevicePixelRatio:B}}}}class kC{apply(t){t.hooks.beforeRender.tap("UpdateModelPlugin",()=>{t.layerModel&&t.layerModel.needUpdate().then(r=>{r&&t.renderLayers()})}),t.hooks.afterRender.tap("UpdateModelPlugin",()=>{t.layerModelNeedUpdate=!1})}}class zC{apply(t,{styleAttributeService:r}){t.hooks.init.tapPromise("UpdateStyleAttributePlugin",()=>{this.initStyleAttribute(t,{styleAttributeService:r})}),t.hooks.beforeRender.tap("UpdateStyleAttributePlugin",()=>{t.layerModelNeedUpdate||t.inited&&this.updateStyleAttribute(t,{styleAttributeService:r})})}updateStyleAttribute(t,{styleAttributeService:r}){const i=r.getLayerStyleAttributes()||[],s=r.getLayerStyleAttribute("filter");if(s&&s.needRegenerateVertices){t.layerModelNeedUpdate=!0,i.forEach(u=>u.needRegenerateVertices=!1);return}i.filter(u=>u.needRegenerateVertices).forEach(u=>{r.updateAttributeByFeatureRange(u.name,t.getEncodedData(),u.featureRange.startIndex,u.featureRange.endIndex,t),u.needRegenerateVertices=!1})}initStyleAttribute(t,{styleAttributeService:r}){(r.getLayerStyleAttributes()||[]).filter(s=>s.needRegenerateVertices).forEach(s=>{r.updateAttributeByFeatureRange(s.name,t.getEncodedData(),s.featureRange.startIndex,s.featureRange.endIndex),s.needRegenerateVertices=!1})}}function VC(){return[new pw,new BC,new EC,new uw,new AC,new PC,new zC,new kC,new IC,new UC,new xC,new CC,new DC,new bC]}const H9={[_l.additive]:{enable:!0,func:{srcRGB:L.ONE,dstRGB:L.ONE,srcAlpha:1,dstAlpha:1}},[_l.none]:{enable:!1},[_l.normal]:{enable:!0,func:{srcRGB:L.SRC_ALPHA,dstRGB:L.ONE_MINUS_SRC_ALPHA,srcAlpha:1,dstAlpha:1}},[_l.subtractive]:{enable:!0,func:{srcRGB:L.ONE,dstRGB:L.ONE,srcAlpha:L.ZERO,dstAlpha:L.ONE_MINUS_SRC_COLOR},equation:{rgb:L.FUNC_SUBTRACT,alpha:L.FUNC_SUBTRACT}},[_l.max]:{enable:!0,func:{srcRGB:L.ONE,dstRGB:L.ONE},equation:{rgb:L.MAX_EXT}},[_l.min]:{enable:!0,func:{srcRGB:L.ONE,dstRGB:L.ONE},equation:{rgb:L.MIN_EXT}}};class HC{constructor(t){H(this,"layer",void 0),this.layer=t}pickRender(t){const i=this.layer.getContainer().layerService,s=this.layer;if(s.tileLayer)return s.tileLayer.pickRender(t);s.hooks.beforePickingEncode.call(),i.renderTileLayerMask(s),s.renderModels({ispick:!0}),s.hooks.afterPickingEncode.call()}pick(t,r){var i=this;return mt(function*(){const u=i.layer.getContainer().pickingService;return t.type==="RasterLayer"?i.pickRasterLayer(t,r):(i.pickRender(r),u.pickFromPickingFBO(t,r))})()}pickRasterLayer(t,r,i){const s=this.layer.getContainer(),u=s.pickingService,n=s.mapService,h=this.layer.getSource().extent,m=IE(r.lngLat,h),g={x:r.x,y:r.y,type:r.type,lngLat:r.lngLat,target:r,rasterValue:null},x=i||t;if(m){const b=this.readRasterValue(t,h,n,r.x,r.y);return g.rasterValue=b,u.triggerHoverOnLayer(x,g),!0}else return g.type=r.type==="mousemove"?"mouseout":"un"+r.type,u.triggerHoverOnLayer(x,_t(_t({},g),{},{type:"unpick"})),u.triggerHoverOnLayer(x,g),!1}readRasterValue(t,r,i,s,u){const n=t.getSource().data.dataArray[0],[h=0,m=0,g=10,x=-10]=r,b=i.lngLatToContainer([h,m]),F=i.lngLatToContainer([g,x]),R=F.x-b.x,I=b.y-F.y,B=[(s-b.x)/R,(u-F.y)/I],V=n.width||1,J=n.height||1,Q=Math.floor(B[0]*V),te=Math.floor(B[1]*J),ne=Math.max(0,te-1)*V+Q;return n.data[ne]}selectFeature(t){const r=this.layer,[i,s,u]=t;r.hooks.beforeSelect.call([i,s,u])}highlightPickedFeature(t){const[r,i,s]=t;this.layer.hooks.beforeHighlight.call([r,i,s])}getFeatureById(t){return this.layer.getSource().getFeatureById(t)}}class GC{constructor(t){H(this,"layer",void 0),H(this,"rendererService",void 0),H(this,"colorTexture",void 0),H(this,"key",void 0),this.layer=t;const r=this.layer.getContainer();this.rendererService=r.rendererService}getColorTexture(t,r){const i=this.getTextureKey(t,r);return this.key===i?this.colorTexture:(this.createColorTexture(t,r),this.key=i,this.colorTexture)}createColorTexture(t,r){const{createTexture2D:i}=this.rendererService,s=this.getColorRampBar(t,r),u=i({data:new Uint8Array(s.data),width:s.width,height:s.height,flipY:!1,unorm:!0});return this.colorTexture=u,u}setColorTexture(t,r,i){this.key=this.getTextureKey(r,i),this.colorTexture=t}destroy(){var t;(t=this.colorTexture)===null||t===void 0||t.destroy()}getColorRampBar(t,r){switch(t.type){case"cat":return gE(t);case"quantize":return vE(t);case"custom":return EE(t,r);case"linear":return _E(t,r);default:return e8(t)}}getTextureKey(t,r){var i;return`${t.colors.join("_")}_${t==null||(i=t.positions)===null||i===void 0?void 0:i.join("_")}_${t.type}_${r==null?void 0:r.join("_")}`}}const jC=["passes"],WC=["moduleName","vertexShader","fragmentShader","defines","inject","triangulation","styleOption","pickingEnabled"],{isEqual:Km,isFunction:u4,isNumber:p4,isObject:Va,isPlainObject:XC,isUndefined:ZC}=Qn;let c4=0;class A1 extends yu.EventEmitter{get shaderModuleService(){return this.container.shaderModuleService}get cameraService(){return this.container.cameraService}get coordinateService(){return this.container.coordinateSystemService}get iconService(){return this.container.iconService}get fontService(){return this.container.fontService}get pickingService(){return this.container.pickingService}get rendererService(){return this.container.rendererService}get layerService(){return this.container.layerService}get debugService(){return this.container.debugService}get interactionService(){return this.container.interactionService}get mapService(){var t;return(t=this.container)===null||t===void 0?void 0:t.mapService}get normalPassFactory(){return this.container.normalPassFactory}constructor(t={}){super(),H(this,"id",`${c4++}`),H(this,"name",`${c4}`),H(this,"parent",void 0),H(this,"coordCenter",void 0),H(this,"type",void 0),H(this,"visible",!0),H(this,"zIndex",0),H(this,"minZoom",void 0),H(this,"maxZoom",void 0),H(this,"inited",!1),H(this,"layerModelNeedUpdate",!1),H(this,"pickedFeatureID",null),H(this,"selectedFeatureID",null),H(this,"styleNeedUpdate",!1),H(this,"rendering",void 0),H(this,"forceRender",!1),H(this,"clusterZoom",0),H(this,"layerType",void 0),H(this,"triangulation",void 0),H(this,"layerPickService",void 0),H(this,"textureService",void 0),H(this,"defaultSourceConfig",{data:[],options:{parser:{type:"json"}}}),H(this,"dataState",{dataSourceNeedUpdate:!1,dataMappingNeedUpdate:!1,filterNeedUpdate:!1,featureScaleNeedUpdate:!1,StyleAttrNeedUpdate:!1}),H(this,"hooks",{init:new jA,afterInit:new W_,beforeRender:new W_,beforeRenderData:new WA,afterRender:new Xp,beforePickingEncode:new Xp,afterPickingEncode:new Xp,beforeHighlight:new Xp(["pickedColor"]),afterHighlight:new Xp,beforeSelect:new Xp(["pickedColor"]),afterSelect:new Xp,beforeDestroy:new Xp,afterDestroy:new Xp}),H(this,"models",[]),H(this,"multiPassRenderer",void 0),H(this,"plugins",void 0),H(this,"startInit",!1),H(this,"sourceOption",void 0),H(this,"layerModel",void 0),H(this,"shapeOption",void 0),H(this,"tileLayer",void 0),H(this,"layerChildren",[]),H(this,"masks",[]),H(this,"configService",W8),H(this,"styleAttributeService",void 0),H(this,"layerSource",void 0),H(this,"postProcessingPassFactory",void 0),H(this,"animateOptions",{enable:!1}),H(this,"container",void 0),H(this,"encodedData",void 0),H(this,"currentPickId",null),H(this,"rawConfig",void 0),H(this,"needUpdateConfig",void 0),H(this,"encodeStyleAttribute",{}),H(this,"enableShaderEncodeStyles",[]),H(this,"enableDataEncodeStyles",[]),H(this,"pendingStyleAttributes",[]),H(this,"scaleOptions",{}),H(this,"animateStartTime",void 0),H(this,"animateStatus",!1),H(this,"isDestroyed",!1),H(this,"uniformBuffers",[]),H(this,"encodeDataLength",0),H(this,"sourceEvent",()=>{this.dataState.dataSourceNeedUpdate=!0;const r=this.getLayerConfig();r&&r.autoFit&&this.fitBounds(r.fitBoundsOptions),this.layerSource.getSourceCfg().autoRender&&setTimeout(()=>{this.reRender()},10)}),this.name=t.name||this.id,this.zIndex=t.zIndex||0,this.rawConfig=t,this.masks=t.maskLayers||[]}addMask(t){this.masks.push(t),this.updateLayerConfig({maskLayers:this.masks}),this.enableMask()}removeMask(t){const r=this.masks.indexOf(t);r>-1&&this.masks.splice(r,1),this.updateLayerConfig({maskLayers:this.masks})}disableMask(){this.updateLayerConfig({enableMask:!1})}enableMask(){this.updateLayerConfig({enableMask:!0})}addMaskLayer(t){this.masks.push(t)}removeMaskLayer(t){const r=this.masks.indexOf(t);r>-1&&this.masks.splice(r,1),t.destroy()}getAttribute(t){return this.styleAttributeService.getLayerStyleAttribute(t)}getLayerConfig(){return this.configService.getLayerConfig(this.id)}updateLayerConfig(t){if(Object.keys(t).map(r=>{r in this.rawConfig&&(this.rawConfig[r]=t[r])}),!this.startInit)this.needUpdateConfig=_t(_t({},this.needUpdateConfig),t);else{const r=this.container.id;this.configService.setLayerConfig(r,this.id,_t(_t(_t({},this.configService.getLayerConfig(this.id)),this.needUpdateConfig),t)),this.needUpdateConfig={}}}setContainer(t){this.container=t}getContainer(){return this.container}addPlugin(t){return this.plugins.push(t),this}init(){var t=this;return mt(function*(){const r=t.container.id;t.startInit=!0,t.configService.setLayerConfig(r,t.id,t.rawConfig),t.layerType=t.rawConfig.layerType;const{enableMultiPassRenderer:i,passes:s}=t.getLayerConfig();i&&s!==null&&s!==void 0&&s.length&&s.length>0&&t.mapService.on("mapAfterFrameChange",()=>{t.renderLayers()}),t.postProcessingPassFactory=t.container.postProcessingPassFactory,t.styleAttributeService=t.container.styleAttributeService,i&&(t.multiPassRenderer=t.container.multiPassRenderer,t.multiPassRenderer.setLayer(t)),t.pendingStyleAttributes.forEach(({attributeName:u,attributeField:n,attributeValues:h,updateOptions:m})=>{t.styleAttributeService.updateStyleAttribute(u,{scale:_t({field:n},t.splitValuesAndCallbackInAttribute(h,n?void 0:t.getLayerConfig()[u]))},m)}),t.pendingStyleAttributes=[],t.plugins=VC();for(const u of t.plugins)u.apply(t,t.container);t.layerPickService=new HC(t),t.textureService=new GC(t),t.log(Ea.LayerInitStart),yield t.hooks.init.promise(),t.log(Ea.LayerInitEnd),t.inited=!0,t.emit("inited",{target:t,type:"inited"}),t.emit("add",{target:t,type:"add"}),t.hooks.afterInit.call()})()}log(t,r="init"){var i;if(this.tileLayer||this.isTileLayer)return;const s=`${this.id}.${r}.${t}`,u={id:this.id,type:this.type};(i=this.debugService)===null||i===void 0||i.log(s,u)}updateModelData(t){t.attributes&&t.elements?this.models.map(r=>{r.updateAttributesAndElements(t.attributes,t.elements)}):console.warn("data error")}setLayerPickService(t){this.layerPickService=t}prepareBuildModel(){Object.keys(this.needUpdateConfig||{}).length!==0&&this.updateLayerConfig({});const{animateOption:t}=this.getLayerConfig();t!=null&&t.enable&&(this.layerService.startAnimate(),this.animateStatus=!0)}color(t,r,i){return this.updateStyleAttribute("color",t,r,i),this}texture(t,r,i){return this.updateStyleAttribute("texture",t,r,i),this}rotate(t,r,i){return this.updateStyleAttribute("rotate",t,r,i),this}size(t,r,i){return this.updateStyleAttribute("size",t,r,i),this}filter(t,r,i){const s=this.updateStyleAttribute("filter",t,r,i);return this.dataState.dataSourceNeedUpdate=s&&this.inited,this}shape(t,r,i){this.shapeOption={field:t,values:r};const s=this.updateStyleAttribute("shape",t,r,i);return this.dataState.dataSourceNeedUpdate=s&&this.inited,this}label(t,r,i){return this.pendingStyleAttributes.push({attributeName:"label",attributeField:t,attributeValues:r,updateOptions:i}),this}animate(t){let r={};return Va(t)?(r.enable=!0,r=_t(_t({},r),t)):r.enable=t,this.updateLayerConfig({animateOption:r}),this}source(t,r){return(t==null?void 0:t.type)==="source"?(this.setSource(t),this):(this.sourceOption={data:t,options:r},this.clusterZoom=0,this)}setData(t,r){return this.inited?(this.dataUpdatelog(),this.layerSource.setData(t,r)):this.on("inited",()=>{this.dataUpdatelog(),this.layerSource.setData(t,r)}),this}dataUpdatelog(){this.log(Ea.SourceInitStart,Ga.UPDATE),this.layerSource.once("update",()=>{this.log(Ea.SourceInitEnd,Ga.UPDATE)})}style(t){const{passes:r}=t,i=$p(t,jC);r&&z9(r).forEach(u=>{const n=this.multiPassRenderer.getPostProcessor().getPostProcessingPassByName(u[0]);n&&n.updateOptions(u[1])}),i.borderColor&&(i.stroke=i.borderColor),i.borderWidth&&(i.strokeWidth=i.borderWidth);const s=i;return Object.keys(i).forEach(u=>{const n=i[u];Array.isArray(n)&&n.length===2&&!p4(n[0])&&!p4(n[1])&&(s[u]={field:n[0],value:n[1]})}),this.encodeStyle(s),this.updateLayerConfig(s),this}encodeStyle(t){Object.keys(t).forEach(r=>{[...this.enableShaderEncodeStyles,...this.enableDataEncodeStyles].includes(r)&&XC(t[r])&&(t[r].field||t[r].value)&&!Km(this.encodeStyleAttribute[r],t[r])?(this.encodeStyleAttribute[r]=t[r],this.updateStyleAttribute(r,t[r].field,t[r].value),this.inited&&(this.dataState.dataMappingNeedUpdate=!0)):this.encodeStyleAttribute[r]&&(delete this.encodeStyleAttribute[r],this.dataState.dataSourceNeedUpdate=!0)})}scale(t,r){const i=_t({},this.scaleOptions);if(Va(t)?this.scaleOptions=_t(_t({},this.scaleOptions),t):this.scaleOptions[t]=r,this.styleAttributeService&&!Km(i,this.scaleOptions)){const s=Va(t)?t:{[t]:r};this.styleAttributeService.updateScaleAttribute(s)}return this}renderLayers(){this.rendering=!0,this.layerService.reRender(),this.rendering=!1}prerender(){}render(t={}){return this.tileLayer?(this.tileLayer.render(),this):(this.layerService.beforeRenderData(this),this.encodeDataLength<=0&&!this.forceRender?this:(this.renderModels(t),this))}renderMultiPass(){var t=this;return mt(function*(){t.encodeDataLength<=0&&!t.forceRender||(t.multiPassRenderer&&t.multiPassRenderer.getRenderFlag()?yield t.multiPassRenderer.render():t.renderModels())})()}active(t){const r={};return r.enableHighlight=Va(t)?!0:t,Va(t)?(r.enableHighlight=!0,t.color&&(r.highlightColor=t.color),t.mix&&(r.activeMix=t.mix)):r.enableHighlight=!!t,this.updateLayerConfig(r),this}setActive(t,r){if(Va(t)){const{x:i=0,y:s=0}=t;this.updateLayerConfig({highlightColor:Va(r)?r.color:this.getLayerConfig().highlightColor,activeMix:Va(r)?r.mix:this.getLayerConfig().activeMix}),this.pick({x:i,y:s})}else this.updateLayerConfig({pickedFeatureID:t,highlightColor:Va(r)?r.color:this.getLayerConfig().highlightColor,activeMix:Va(r)?r.mix:this.getLayerConfig().activeMix}),this.hooks.beforeHighlight.call(B0(t)).then(()=>{setTimeout(()=>{this.reRender()},1)})}select(t){const r={};return r.enableSelect=Va(t)?!0:t,Va(t)?(r.enableSelect=!0,t.color&&(r.selectColor=t.color),t.mix&&(r.selectMix=t.mix)):r.enableSelect=!!t,this.updateLayerConfig(r),this}setSelect(t,r){if(Va(t)){const{x:i=0,y:s=0}=t;this.updateLayerConfig({selectColor:Va(r)?r.color:this.getLayerConfig().selectColor,selectMix:Va(r)?r.mix:this.getLayerConfig().selectMix}),this.pick({x:i,y:s})}else this.updateLayerConfig({pickedFeatureID:t,selectColor:Va(r)?r.color:this.getLayerConfig().selectColor,selectMix:Va(r)?r.mix:this.getLayerConfig().selectMix}),this.hooks.beforeSelect.call(B0(t)).then(()=>{setTimeout(()=>{this.reRender()},1)})}setBlend(t){return this.updateLayerConfig({blend:t}),this.reRender(),this}show(){return this.updateLayerConfig({visible:!0}),this.reRender(),this.emit("show"),this}hide(){return this.updateLayerConfig({visible:!1}),this.reRender(),this.emit("hide"),this}setIndex(t){return this.zIndex=t,this.layerService.updateLayerRenderList(),this.layerService.renderLayers(),this}setCurrentPickId(t){this.currentPickId=t}getCurrentPickId(){return this.currentPickId}setCurrentSelectedId(t){this.selectedFeatureID=t}getCurrentSelectedId(){return this.selectedFeatureID}isVisible(){const t=this.mapService.getZoom(),{visible:r,minZoom:i=-1/0,maxZoom:s=1/0}=this.getLayerConfig();return!!r&&t>=i&&tMath.abs(u)===1/0)?this:(this.mapService.fitBounds([[i[0],i[1]],[i[2],i[3]]],t),this)}destroy(t=!0){var r,i,s,u,n;if(this.isDestroyed)return;(r=this.layerModel)===null||r===void 0||r.uniformBuffers.forEach(m=>{m.destroy()}),this.layerChildren.map(m=>m.destroy(!1)),this.layerChildren=[];const{maskfence:h}=this.getLayerConfig();h&&(this.masks.map(m=>m.destroy(!1)),this.masks=[]),this.hooks.beforeDestroy.call(),this.layerSource.off("update",this.sourceEvent),(i=this.multiPassRenderer)===null||i===void 0||i.destroy(),this.textureService.destroy(),this.styleAttributeService.clearAllAttributes(),this.hooks.afterDestroy.call(),(s=this.layerModel)===null||s===void 0||s.clearModels(t),(u=this.tileLayer)===null||u===void 0||u.destroy(),this.models=[],(n=this.debugService)===null||n===void 0||n.removeLog(this.id),this.emit("remove",{target:this,type:"remove"}),this.emit("destroy",{target:this,type:"destroy"}),this.removeAllListeners(),this.isDestroyed=!0}clear(){this.styleAttributeService.clearAllAttributes()}clearModels(){var t;this.models.forEach(r=>r.destroy()),(t=this.layerModel)===null||t===void 0||t.clearModels(),this.models=[]}isDirty(){return!!(this.styleAttributeService.getLayerStyleAttributes()||[]).filter(t=>t.needRescale||t.needRemapping||t.needRegenerateVertices).length}setSource(t){if(this.layerSource&&this.layerSource.off("update",this.sourceEvent),this.layerSource=t,this.clusterZoom=0,this.inited&&this.layerSource.cluster){const r=this.mapService.getZoom();this.layerSource.updateClusterData(r)}this.layerSource.inited&&this.sourceEvent(),this.layerSource.on("update",({type:r})=>{if(this.coordCenter===void 0){const i=this.layerSource.center;this.coordCenter=i}if(r==="update"){if(this.tileLayer){this.tileLayer.reload();return}this.sourceEvent()}})}getSource(){return this.layerSource}getScaleOptions(){return this.scaleOptions}setEncodedData(t){this.encodedData=t,this.encodeDataLength=t.length}getEncodedData(){return this.encodedData}getScale(t){return this.styleAttributeService.getLayerAttributeScale(t)}getLegend(t){var r,i,s;const u=this.styleAttributeService.getLayerStyleAttribute(t);return{type:(i=((u==null||(r=u.scale)===null||r===void 0?void 0:r.scalers)||[])[0])===null||i===void 0||(i=i.option)===null||i===void 0?void 0:i.type,field:u==null||(s=u.scale)===null||s===void 0?void 0:s.field,items:this.getLegendItems(t)}}getLegendItems(t){const r=this.styleAttributeService.getLayerAttributeScale(t);return r?r.invertExtent?r.range().map(s=>({value:r.invertExtent(s),[t]:s})):r.ticks?r.ticks().map(s=>({value:s,[t]:r(s)})):r!=null&&r.domain?r.domain().filter(s=>!ZC(s)).map(s=>({value:s,[t]:r(s)})):[]:[]}pick({x:t,y:r}){this.interactionService.triggerHover({x:t,y:r})}boxSelect(t,r){this.pickingService.boxPickLayer(this,t,r)}buildLayerModel(t){var r=this;return mt(function*(){const{moduleName:i,vertexShader:s,fragmentShader:u,defines:n,inject:h,triangulation:m,styleOption:g,pickingEnabled:x=!0}=t,b=$p(t,WC);r.shaderModuleService.registerModule(i,{vs:s,fs:u,defines:n,inject:h});const{vs:F,fs:R,uniforms:I}=r.shaderModuleService.getModule(i),{createModel:B}=r.rendererService;return new Promise(V=>{const{attributes:J,elements:Q,count:te}=r.styleAttributeService.createAttributesAndIndices(r.encodedData,m,g,r),ne=[...r.layerModel.uniformBuffers,...r.rendererService.uniformBuffers];x&&ne.push(r.getPickingUniformBuffer());const ue=_t({attributes:J,uniforms:I,fs:R,vs:F,elements:Q,blend:H9[_l.normal],uniformBuffers:ne,textures:r.layerModel.textures},b);te&&(ue.count=te);const Oe=B(ue);V(Oe)})})()}createAttributes(t){const{triangulation:r}=t,{attributes:i}=this.styleAttributeService.createAttributes(this.encodedData,r);return i}getTime(){return this.layerService.clock.getDelta()}setAnimateStartTime(){this.animateStartTime=this.layerService.clock.getElapsedTime()}stopAnimate(){this.animateStatus&&(this.layerService.stopAnimate(),this.animateStatus=!1,this.updateLayerConfig({animateOption:{enable:!1}}))}getLayerAnimateTime(){return this.layerService.clock.getElapsedTime()-this.animateStartTime}needPick(t){const{enableHighlight:r=!0,enableSelect:i=!0}=this.getLayerConfig();let s=this.eventNames().indexOf(t)!==-1||this.eventNames().indexOf("un"+t)!==-1;return(t==="click"||t==="dblclick")&&i&&(s=!0),t==="mousemove"&&(r||this.eventNames().indexOf("mouseenter")!==-1||this.eventNames().indexOf("unmousemove")!==-1||this.eventNames().indexOf("mouseout")!==-1)&&(s=!0),this.isVisible()&&s}buildModels(){return mt(function*(){throw new Error("Method not implemented.")})()}rebuildModels(){var t=this;return mt(function*(){yield t.buildModels()})()}renderMulPass(t){return mt(function*(){yield t.render()})()}renderModels(t={}){return this.encodeDataLength<=0&&!this.forceRender?(this.clearModels(),this):(this.hooks.beforeRender.call(),this.models.forEach(r=>{r.draw({uniforms:this.layerModel.getUninforms(),blend:this.layerModel.getBlend(),stencil:this.layerModel.getStencil(t),textures:this.layerModel.textures},(t==null?void 0:t.ispick)||!1)}),this.hooks.afterRender.call(),this)}updateStyleAttribute(t,r,i,s){const u=this.configService.getAttributeConfig(this.id)||{};return Km(u[t],{field:r,values:i})?!1:(["color","size","texture","rotate","filter","label","shape"].indexOf(t)!==-1&&this.configService.setAttributeConfig(this.id,{[t]:{field:r,values:i}}),this.startInit?this.styleAttributeService.updateStyleAttribute(t,{scale:_t({field:r},this.splitValuesAndCallbackInAttribute(i,this.getLayerConfig()[r]))},s):this.pendingStyleAttributes.push({attributeName:t,attributeField:r,attributeValues:i,updateOptions:s}),!0)}getLayerAttributeConfig(){return this.configService.getAttributeConfig(this.id)}getShaderPickStat(){return this.layerService.getShaderPickStat()}setEarthTime(t){console.warn("empty fn")}processData(t){return t}getModelType(){throw new Error("Method not implemented.")}getDefaultConfig(){return{}}initLayerModels(){var t=this;return mt(function*(){t.models.forEach(i=>i.destroy()),t.models=[],t.uniformBuffers.forEach(i=>{i.destroy()}),t.uniformBuffers=[];const r=t.rendererService.createBuffer({data:new Float32Array(20).fill(0),isUBO:!0,label:"pickingUniforms"});t.uniformBuffers.push(r),t.models=yield t.layerModel.initModels()})()}getPickingUniformBuffer(){return this.uniformBuffers[0]}reRender(){this.inited&&this.layerService.reRender()}splitValuesAndCallbackInAttribute(t){return{values:u4(t)?void 0:t,callback:u4(t)?t:void 0}}}function YC(e,t){return{enable:e,mask:255,func:{cmp:L.EQUAL,ref:t?1:0,mask:1}}}function l4(e){return e.maskOperation===Gf.OR?{enable:!0,mask:255,func:{cmp:L.ALWAYS,ref:1,mask:255},opFront:{fail:L.KEEP,zfail:L.REPLACE,zpass:L.REPLACE}}:{enable:!0,mask:255,func:{cmp:e.stencilType===p1.SINGLE||e.stencilIndex===0?L.ALWAYS:L.LESS,ref:e.stencilType===p1.SINGLE?1:e.stencilIndex===0?2:1,mask:255},opFront:{fail:L.KEEP,zfail:L.REPLACE,zpass:L.REPLACE}}}const $C={opacity:1,stroke:[1,0,0,1],offsets:[0,0],rotation:0,extrusionBase:0,strokeOpacity:1,thetaOffset:.314},wh={opacity:"float",stroke:"vec4",offsets:"vec2",textOffset:"vec2",rotation:"float",extrusionBase:"float",strokeOpacity:"float",thetaOffset:"float"};var D6={exports:{}};D6.exports=Yf;D6.exports.default=Yf;function Yf(e,t,r){r=r||2;var i=t&&t.length,s=i?t[0]*r:e.length,u=G9(e,0,s,r,!0),n=[];if(!u||u.next===u.prev)return n;var h,m,g,x,b,F,R;if(i&&(u=eI(e,t,u,r)),e.length>80*r){h=g=e[0],m=x=e[1];for(var I=r;Ig&&(g=b),F>x&&(x=F);R=Math.max(g-h,x-m),R=R!==0?32767/R:0}return by(u,n,r,h,m,R,0),n}function G9(e,t,r,i,s){var u,n;if(s===z2(e,t,r,i)>0)for(u=t;u=t;u-=i)n=d4(u,e[u],e[u+1],n);return n&&$f(n,n.next)&&(Fy(n),n=n.next),n}function v1(e,t){if(!e)return e;t||(t=e);var r=e,i;do if(i=!1,!r.steiner&&($f(r,r.next)||On(r.prev,r,r.next)===0)){if(Fy(r),r=t=r.prev,r===r.next)break;i=!0}else r=r.next;while(i||r!==t);return t}function by(e,t,r,i,s,u,n){if(e){!n&&u&&nI(e,i,s,u);for(var h=e,m,g;e.prev!==e.next;){if(m=e.prev,g=e.next,u?KC(e,i,s,u):qC(e)){t.push(m.i/r|0),t.push(e.i/r|0),t.push(g.i/r|0),Fy(e),e=g.next,h=g.next;continue}if(e=g,e===h){n?n===1?(e=QC(v1(e),t,r),by(e,t,r,i,s,u,2)):n===2&&JC(e,t,r,i,s,u):by(v1(e),t,r,i,s,u,1);break}}}}function qC(e){var t=e.prev,r=e,i=e.next;if(On(t,r,i)>=0)return!1;for(var s=t.x,u=r.x,n=i.x,h=t.y,m=r.y,g=i.y,x=su?s>n?s:n:u>n?u:n,R=h>m?h>g?h:g:m>g?m:g,I=i.next;I!==t;){if(I.x>=x&&I.x<=F&&I.y>=b&&I.y<=R&&x0(s,h,u,m,n,g,I.x,I.y)&&On(I.prev,I,I.next)>=0)return!1;I=I.next}return!0}function KC(e,t,r,i){var s=e.prev,u=e,n=e.next;if(On(s,u,n)>=0)return!1;for(var h=s.x,m=u.x,g=n.x,x=s.y,b=u.y,F=n.y,R=hm?h>g?h:g:m>g?m:g,V=x>b?x>F?x:F:b>F?b:F,J=U2(R,I,t,r,i),Q=U2(B,V,t,r,i),te=e.prevZ,ne=e.nextZ;te&&te.z>=J&&ne&&ne.z<=Q;){if(te.x>=R&&te.x<=B&&te.y>=I&&te.y<=V&&te!==s&&te!==n&&x0(h,x,m,b,g,F,te.x,te.y)&&On(te.prev,te,te.next)>=0||(te=te.prevZ,ne.x>=R&&ne.x<=B&&ne.y>=I&&ne.y<=V&&ne!==s&&ne!==n&&x0(h,x,m,b,g,F,ne.x,ne.y)&&On(ne.prev,ne,ne.next)>=0))return!1;ne=ne.nextZ}for(;te&&te.z>=J;){if(te.x>=R&&te.x<=B&&te.y>=I&&te.y<=V&&te!==s&&te!==n&&x0(h,x,m,b,g,F,te.x,te.y)&&On(te.prev,te,te.next)>=0)return!1;te=te.prevZ}for(;ne&&ne.z<=Q;){if(ne.x>=R&&ne.x<=B&&ne.y>=I&&ne.y<=V&&ne!==s&&ne!==n&&x0(h,x,m,b,g,F,ne.x,ne.y)&&On(ne.prev,ne,ne.next)>=0)return!1;ne=ne.nextZ}return!0}function QC(e,t,r){var i=e;do{var s=i.prev,u=i.next.next;!$f(s,u)&&j9(s,i,i.next,u)&&Ay(s,u)&&Ay(u,s)&&(t.push(s.i/r|0),t.push(i.i/r|0),t.push(u.i/r|0),Fy(i),Fy(i.next),i=e=u),i=i.next}while(i!==e);return v1(i)}function JC(e,t,r,i,s,u){var n=e;do{for(var h=n.next.next;h!==n.prev;){if(n.i!==h.i&&uI(n,h)){var m=W9(n,h);n=v1(n,n.next),m=v1(m,m.next),by(n,t,r,i,s,u,0),by(m,t,r,i,s,u,0);return}h=h.next}n=n.next}while(n!==e)}function eI(e,t,r,i){var s=[],u,n,h,m,g;for(u=0,n=t.length;u=r.next.y&&r.next.y!==r.y){var h=r.x+(s-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(h<=i&&h>u&&(u=h,n=r.x=r.x&&r.x>=g&&i!==r.x&&x0(sn.x||r.x===n.x&&iI(n,r)))&&(n=r,b=F)),r=r.next;while(r!==m);return n}function iI(e,t){return On(e.prev,e,t.prev)<0&&On(t.next,e,e.next)<0}function nI(e,t,r,i){var s=e;do s.z===0&&(s.z=U2(s.x,s.y,t,r,i)),s.prevZ=s.prev,s.nextZ=s.next,s=s.next;while(s!==e);s.prevZ.nextZ=null,s.prevZ=null,aI(s)}function aI(e){var t,r,i,s,u,n,h,m,g=1;do{for(r=e,e=null,u=null,n=0;r;){for(n++,i=r,h=0,t=0;t0||m>0&&i;)h!==0&&(m===0||!i||r.z<=i.z)?(s=r,r=r.nextZ,h--):(s=i,i=i.nextZ,m--),u?u.nextZ=s:e=s,s.prevZ=u,u=s;r=i}u.nextZ=null,g*=2}while(n>1);return e}function U2(e,t,r,i,s){return e=(e-r)*s|0,t=(t-i)*s|0,e=(e|e<<8)&16711935,e=(e|e<<4)&252645135,e=(e|e<<2)&858993459,e=(e|e<<1)&1431655765,t=(t|t<<8)&16711935,t=(t|t<<4)&252645135,t=(t|t<<2)&858993459,t=(t|t<<1)&1431655765,e|t<<1}function sI(e){var t=e,r=e;do(t.x=(e-n)*(u-h)&&(e-n)*(i-h)>=(r-n)*(t-h)&&(r-n)*(u-h)>=(s-n)*(i-h)}function uI(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!pI(e,t)&&(Ay(e,t)&&Ay(t,e)&&cI(e,t)&&(On(e.prev,e,t.prev)||On(e,t.prev,t))||$f(e,t)&&On(e.prev,e,e.next)>0&&On(t.prev,t,t.next)>0)}function On(e,t,r){return(t.y-e.y)*(r.x-t.x)-(t.x-e.x)*(r.y-t.y)}function $f(e,t){return e.x===t.x&&e.y===t.y}function j9(e,t,r,i){var s=Ch(On(e,t,r)),u=Ch(On(e,t,i)),n=Ch(On(r,i,e)),h=Ch(On(r,i,t));return!!(s!==u&&n!==h||s===0&&Rh(e,r,t)||u===0&&Rh(e,i,t)||n===0&&Rh(r,e,i)||h===0&&Rh(r,t,i))}function Rh(e,t,r){return t.x<=Math.max(e.x,r.x)&&t.x>=Math.min(e.x,r.x)&&t.y<=Math.max(e.y,r.y)&&t.y>=Math.min(e.y,r.y)}function Ch(e){return e>0?1:e<0?-1:0}function pI(e,t){var r=e;do{if(r.i!==e.i&&r.next.i!==e.i&&r.i!==t.i&&r.next.i!==t.i&&j9(r,r.next,e,t))return!0;r=r.next}while(r!==e);return!1}function Ay(e,t){return On(e.prev,e,e.next)<0?On(e,t,e.next)>=0&&On(e,e.prev,t)>=0:On(e,t,e.prev)<0||On(e,e.next,t)<0}function cI(e,t){var r=e,i=!1,s=(e.x+t.x)/2,u=(e.y+t.y)/2;do r.y>u!=r.next.y>u&&r.next.y!==r.y&&s<(r.next.x-r.x)*(u-r.y)/(r.next.y-r.y)+r.x&&(i=!i),r=r.next;while(r!==e);return i}function W9(e,t){var r=new k2(e.i,e.x,e.y),i=new k2(t.i,t.x,t.y),s=e.next,u=t.prev;return e.next=t,t.prev=e,r.next=s,s.prev=r,i.next=r,r.prev=i,u.next=i,i.prev=u,i}function d4(e,t,r,i){var s=new k2(e,t,r);return i?(s.next=i.next,s.prev=i,i.next.prev=s,i.next=s):(s.prev=s,s.next=s),s}function Fy(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function k2(e,t,r){this.i=e,this.x=t,this.y=r,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}Yf.deviation=function(e,t,r,i){var s=t&&t.length,u=s?t[0]*r:e.length,n=Math.abs(z2(e,0,u,r));if(s)for(var h=0,m=t.length;h0&&(i+=e[s-1].length,r.holes.push(i))}return r};var lI=D6.exports;const Mc=gp(lI);function y4(e){return Math.max(Math.ceil(e/4)*4,4)}function X9(e,t,r,i=!0){const s=r===3;if(i){e=e.slice();const n=[];for(let h=0;h{typeof i[s]=="boolean"&&(i[s]=i[s]?1:0)}),!this.rendererService.hasOwnProperty("device")&&this.textures&&this.textures.length===1&&(i.u_texture=this.textures[0]),i}getAnimateUniforms(){return{}}needUpdate(){return mt(function*(){return!1})()}buildModels(){return mt(function*(){throw new Error("Method not implemented.")})()}initModels(){return mt(function*(){throw new Error("Method not implemented.")})()}clearModels(t=!0){}getAttribute(){throw new Error("Method not implemented.")}prerender(){}render(t){throw new Error("Method not implemented.")}registerBuiltinAttributes(){throw new Error("Method not implemented.")}animateOption2Array(t){return[t.enable?0:1,t.duration||4,t.interval||.2,t.trailLength||.1]}startModelAnimate(){const{animateOption:t}=this.layer.getLayerConfig();t.enable&&this.layer.setAnimateStartTime()}getInject(){return dI(this.layer.enableShaderEncodeStyles,this.layer.encodeStyleAttribute)}getDefines(){const t=Object.keys(this.attributeLocation).reduce((r,i)=>{const s=Z9+i;return r[s]=this.attributeLocation[i],r},{});return _t({},t)}getStyleAttribute(){const t={};return this.layer.enableShaderEncodeStyles.forEach(r=>{if(!this.layer.encodeStyleAttribute[r]){const i=this.layer.getLayerConfig()[r];let s=typeof i>"u"?$C[r]:i;r==="stroke"&&(s=Mi(s)),t["u_"+r]=s}}),t}registerStyleAttribute(){Object.keys(this.layer.encodeStyleAttribute).forEach(t=>{const r=MC(t);r&&this.styleAttributeService.registerStyleAttribute(r)})}registerPosition64LowAttribute(t=!0){this.styleAttributeService.registerStyleAttribute({name:"position64Low",type:br.Attribute,descriptor:{name:"a_Position64Low",shaderLocation:this.attributeLocation.POSITION_64LOW,buffer:{data:[],type:L.FLOAT},size:2,update:(r,i,s)=>t?[ua(s[0]),ua(s[1])]:[0,0]}})}updateEncodeAttribute(t,r){this.encodeStyleAttribute[t]=r}initUniformsBuffer(){const t=this.getUniformsBufferInfo(this.getStyleAttribute()),r=this.getCommonUniformsInfo();t.uniformsLength!==0&&(this.attributeUnifoms=this.rendererService.createBuffer({data:new Float32Array(y4(t.uniformsLength)).fill(0),isUBO:!0,label:"layerModelAttributeUnifoms"}),this.uniformBuffers.push(this.attributeUnifoms)),r.uniformsLength!==0&&(this.commonUnifoms=this.rendererService.createBuffer({data:new Float32Array(y4(r.uniformsLength)).fill(0),isUBO:!0,label:"layerModelCommonUnifoms"}),this.uniformBuffers.push(this.commonUnifoms))}getUniformsBufferInfo(t){let r=0;const i=[];return Object.values(t).forEach(s=>{Array.isArray(s)?(i.push(...s),r+=s.length):typeof s=="number"?(i.push(s),r+=1):typeof s=="boolean"&&(i.push(Number(s)),r+=1)}),{uniformsOption:t,uniformsLength:r,uniformsArray:i}}getCommonUniformsInfo(){return{uniformsLength:0,uniformsArray:[],uniformsOption:{}}}updateStyleUnifoms(){var t,r;const{uniformsArray:i}=this.getUniformsBufferInfo(this.getStyleAttribute()),{uniformsArray:s}=this.getCommonUniformsInfo();(t=this.attributeUnifoms)===null||t===void 0||t.subData({offset:0,data:new Uint8Array(new Float32Array(i).buffer)}),(r=this.commonUnifoms)===null||r===void 0||r.subData({offset:0,data:new Uint8Array(new Float32Array(s).buffer)})}}function dI(e,t){const r=[];let i="";e.forEach(n=>{const h=n.replace(/([a-z])([A-Z])/g,"$1_$2").toUpperCase(),m=Z9+h;t[n]?i+=`#define USE_ATTRIBUTE_${h} 0.0 +`:r.push(` ${wh[n]} u_${n};`),i+=` +#ifdef USE_ATTRIBUTE_${h} +layout(location = ${m}) in ${wh[n]} a_${n.charAt(0).toUpperCase()+n.slice(1)}; +#endif +`});const s=r.length?` +layout(std140) uniform AttributeUniforms { + ${r.join(` +`)} +}; +`:"";i+=s;let u="";return e.forEach(n=>{const h=n.replace(/([a-z])([A-Z])/g,"$1_$2").toUpperCase();u+=` + #ifdef USE_ATTRIBUTE_${h} + ${wh[n]} ${n} = a_${n.charAt(0).toUpperCase()+n.slice(1)}; + #else + ${wh[n]} ${n} = u_${n}; + #endif + `}),{"vs:#decl":i,"fs:#decl":s,"vs:#main-start":u}}let h4=function(e){return e.VERTICAL="vertical",e.HORIZONTAL="horizontal",e}({}),yI=function(e){return e.NORMAL="normal",e.REPLACE="replace",e}({}),O6=function(e){return e[e.pixel=0]="pixel",e[e.meter=1]="meter",e}({});const Y9=100;function f4(e){return e/180*Math.acos(-1)}function $9(e){const t=f4(e[0])+Math.PI/2,r=f4(e[1]),i=Y9+Math.random()*.4,s=i*Math.cos(r)*Math.cos(t),u=i*Math.cos(r)*Math.sin(t),n=i*Math.sin(r);return[u,n,s]}const m4=pu();pu();const ku=pu(),Od=pu(),Ih=pu();function _4(e,t,r,i,s){gl(e,r,i),tf(e,e),t=s2(-e[1],e[0]);const u=s2(-r[1],r[0]);return[s/u2(t,u),t]}function Ld(e,t){return Fv(e,-t[1],t[0])}function Mh(e,t,r){return kg(e,t,r),tf(e,e),e}function g4(e,t){return e[0]===t[0]&&e[1]===t[1]}class hI{constructor(t={}){H(this,"complex",void 0),H(this,"join",void 0),H(this,"cap",void 0),H(this,"miterLimit",void 0),H(this,"thickness",void 0),H(this,"normal",void 0),H(this,"lastFlip",-1),H(this,"miter",s2(0,0)),H(this,"started",!1),H(this,"dash",!1),H(this,"totalDistance",0),H(this,"currentIndex",0),this.join=t.join||"miter",this.cap=t.cap||"butt",this.miterLimit=t.miterLimit||10,this.thickness=t.thickness||1,this.dash=t.dash||!1,this.complex={positions:[],indices:[],normals:[],startIndex:0,indexes:[]}}simpleExtrude(t){const r=this.complex;if(t.length<=1)return r;this.lastFlip=-1,this.started=!1,this.normal=null,this.totalDistance=0;const i=t.length;let s=r.startIndex;for(let u=1;uthis.miterLimit&&(te=!0),te?(g.push(this.normal[0],this.normal[1],0),g.push(J[0],J[1],0),m.push(s[0],s[1],s[2]|0,this.totalDistance,-this.thickness*Q,s[2]|0),this.complex.indexes.push(this.currentIndex),m.push(s[0],s[1],s[2]|0,this.totalDistance,this.thickness*Q,s[2]|0),this.complex.indexes.push(this.currentIndex),this.currentIndex++,h.push(...this.lastFlip!==-Q?[r,r+2,r+3]:[r+2,r+1,r+3]),h.push(r+2,r+3,r+4),Ld(m4,Od),wm(this.normal,m4),g.push(this.normal[0],this.normal[1],0),m.push(s[0],s[1],s[2]|0,this.totalDistance,-this.thickness*Q,s[2]|0),this.complex.indexes.push(this.currentIndex),this.currentIndex++,n+=3):(this.extrusions(m,g,s,J,V,this.totalDistance),h.push(...this.lastFlip===1?[r,r+2,r+3]:[r+2,r+1,r+3]),Q=-1,wm(this.normal,J),n+=2),this.lastFlip=Q}else{if(Ld(this.normal,ku),x){const B=pu(),V=pu();kg(V,ku,this.normal),gl(B,ku,this.normal),g.push(V[0],V[1],0),g.push(B[0],B[1],0),m.push(s[0],s[1],s[2]|0,this.totalDistance,this.thickness,s[2]|0),this.complex.indexes.push(this.currentIndex),m.push(s[0],s[1],s[2]|0,this.totalDistance,this.thickness,s[2]|0),this.complex.indexes.push(this.currentIndex),this.currentIndex++}else this.extrusions(m,g,s,this.normal,this.thickness,this.totalDistance);h.push(...this.lastFlip===1?[r,r+2,r+3]:[r+2,r+1,r+3]),n+=2}return n}extrusions(t,r,i,s,u,n){r.push(s[0],s[1],0),r.push(s[0],s[1],0),t.push(i[0],i[1],i[2]|0,n,-u,i[2]|0),this.complex.indexes.push(this.currentIndex),t.push(i[0],i[1],i[2]|0,n,u,i[2]|0),this.complex.indexes.push(this.currentIndex),this.currentIndex++}lineSegmentDistance(t,r){const i=r[0]-t[0],s=r[1]-t[1];return Math.sqrt(i*i+s*s)}}let Bd=function(e){return e.CYLINDER="cylinder",e.SQUARECOLUMN="squareColumn",e.TRIANGLECOLUMN="triangleColumn",e.HEXAGONCOLUMN="hexagonColumn",e.PENTAGONCOLUMN="pentagonColumn",e}({}),Ud=function(e){return e.CIRCLE="circle",e.SQUARE="square",e.TRIANGLE="triangle",e.HEXAGON="hexagon",e.PENTAGON="pentagon",e}({});function Oy(e,t=0){const r=Math.PI*2/e,i=[];for(let u=0;u{const n=Math.sin(u+Math.PI/4),h=Math.cos(u+Math.PI/4);return[n,h,0]})}function V2(){return Oy(30)}function v4(){return Oy(4)}function E4(){return Oy(3)}function x4(){return Oy(6,1)}function P4(){return Oy(5)}const N0={[Ud.CIRCLE]:V2,[Ud.HEXAGON]:x4,[Ud.TRIANGLE]:E4,[Ud.SQUARE]:v4,[Ud.PENTAGON]:P4,[Bd.CYLINDER]:V2,[Bd.HEXAGONCOLUMN]:x4,[Bd.TRIANGLECOLUMN]:E4,[Bd.SQUARECOLUMN]:v4,[Bd.PENTAGONCOLUMN]:P4};function fI(e){const t=e[0][0],r=e[0][e[0].length-1];t[0]===r[0]&&t[1]===r[1]&&(e[0]=e[0].slice(0,e[0].length-1));const i=e[0].length,s=Mc.flatten(e),{vertices:u,dimensions:n}=s,h=[],m=[];for(let x=0;xI+R))}return{positions:h,index:m}}function mI(e){const t=Mc.flatten(e),r=Mc(t.vertices,t.holes,t.dimensions);return{positions:t.vertices,index:r}}function q9(e,t=!1){const r=e[0][0],i=e[0][e[0].length-1];r[0]===i[0]&&r[1]===i[1]&&(e[0]=e[0].slice(0,e[0].length-1));const s=e[0].length,u=Mc.flatten(e),{vertices:n,dimensions:h,holes:m}=u,g=[],x=[],b=[];for(let R=0;RQ+V))}return{positions:g,index:x,normals:b}}function _I(e,t,r,i=!1){const s=xh(),u=xh(),n=xh();i&&(e=jh(e),t=jh(t),r=jh(r));const h=yp(...e),m=yp(...t),g=yp(...r);R3(s,g,m),R3(u,h,m),Tv(n,s,u);const x=xh();return Yd(x,n),x}const Nh={};function d1(e){const t=h1(e.coordinates);return{vertices:[...t,...t,...t,...t],indices:[0,1,2,2,3,0],size:t.length}}function b4(e){const t=h1(e.coordinates),r=$9(t);return{vertices:[...r,...r,...r,...r],indices:[0,1,2,2,3,0],size:r.length}}function L6(e){const{shape:t}=e,{positions:r,index:i,normals:s}=bI(t,!1);return{vertices:r,indices:i,normals:s,size:5}}function gI(e){const t=h1(e.coordinates);return{vertices:[...t],indices:[0],size:t.length}}function H2(e){const{coordinates:t}=e,r=new hI({dash:!0,join:"bevel"});let i=t;i[0]&&!Array.isArray(i[0][0])&&(i=[t]),i.forEach(u=>{r.extrude(u)});const s=r.complex;return{vertices:s.positions,indices:s.indices,normals:s.normals,indexes:s.indexes,size:6}}function vI(e){const{coordinates:t}=e,r=[];if(!Array.isArray(t[0]))return{vertices:[],indices:[],normals:[],size:6,count:0};const{results:i,totalDistance:s}=EI(t);return i.map(u=>{r.push(u[0],u[1],u[2],u[3],0,s)}),{vertices:r,indices:[],normals:[],size:6,count:i.length}}function A4(e,t){const r=t[0]-e[0],i=t[1]-e[1];return Math.sqrt(r*r+i*i)}function Qm(e,t){return e.length<3&&e.push(0),t!==void 0&&e.push(t),e}function EI(e){let t=e;Array.isArray(t)&&Array.isArray(t[0])&&Array.isArray(t[0][0])&&(t=e.flat());let r=0;if(t.length<2)return{results:t,totalDistance:0};{const i=[],s=Qm(t[0],r);i.push(s);for(let n=1;nn*2+h));return{vertices:s,indices:u,size:7}}function F4(e){const t=e.coordinates;t.length===2&&t.push(0);const r=Dh(-1,1),i=Dh(1,1),s=Dh(-1,-1),u=Dh(1,-1);return{vertices:[...t,...r,...t,...s,...t,...u,...t,...i],indices:[0,1,2,3,0,2],size:5}}function bI(e,t=!1){if(Nh&&Nh[e])return Nh[e];const r=N0[e]?N0[e]():N0.cylinder(),i=q9([r],t);return Nh[e]=i,i}function AI(e){const t=["cylinder","triangleColumn","hexagonColumn","squareColumn"],r=N0[e]?N0[e]():N0.circle();return t.indexOf(e)===-1?mI([r]):fI([r])}function Dh(e,t){const r=(e+1)/2,i=(t+1)/2;return[r,i]}function J9(e,t){return{type:e.type,field:"value",items:e.positions.map((r,i)=>({[t]:i>=e.colors.length?null:e.colors[i],value:r}))}}const FI=`in vec4 v_color; + +#pragma include "scene_uniforms" +#pragma include "picking" +out vec4 outputColor; +void main() { + outputColor = v_color; + outputColor = filterColor(outputColor); +} +`,TI=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_POS) in vec3 a_Pos; + +layout(std140) uniform commonUniforms { + vec2 u_radius; + float u_opacity; + float u_coverage; + float u_angle; +}; + +out vec4 v_color; + +#pragma include "projection" +#pragma include "project" +#pragma include "picking" + +void main() { + v_color = a_Color; + v_color.a *= u_opacity; + + mat2 rotationMatrix = mat2(cos(u_angle), sin(u_angle), -sin(u_angle), cos(u_angle)); + vec2 offset = a_Position.xy * u_radius * rotationMatrix * u_coverage; + + vec2 lnglat = unProjectFlat(a_Pos.xy + offset); + vec4 project_pos = project_position(vec4(lnglat, 0, 1.0)); + gl_Position = project_common_position_to_clipspace(project_pos); + + setPickingColor(a_PickingColor); +} +`;class SI extends Pi{get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,POS:9})}getUninforms(){const t=this.getCommonUniformsInfo(),r=this.getUniformsBufferInfo(this.getStyleAttribute());return this.updateStyleUnifoms(),_t(_t({},t.uniformsOption),r.uniformsOption)}getCommonUniformsInfo(){const{opacity:t,coverage:r,angle:i}=this.layer.getLayerConfig(),s={u_radius:[this.layer.getSource().data.xOffset,this.layer.getSource().data.yOffset],u_opacity:t||1,u_coverage:r||.9,u_angle:i||0};return this.getUniformsBufferInfo(s)}initModels(){var t=this;return mt(function*(){return t.buildModels()})()}buildModels(){var t=this;return mt(function*(){return t.initUniformsBuffer(),[yield t.layer.buildLayerModel({moduleName:"heatmapGrid",vertexShader:TI,fragmentShader:FI,defines:t.getDefines(),triangulation:Q9,primitive:L.TRIANGLES,depth:{enable:!1}})]})()}registerBuiltinAttributes(){this.styleAttributeService.registerStyleAttribute({name:"pos",type:br.Attribute,descriptor:{shaderLocation:this.attributeLocation.POS,name:"a_Pos",buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:3,update:t=>{const r=t.coordinates;return[r[0],r[1],0]}}})}}const wI=`in vec4 v_color; + +layout(std140) uniform commonUniforms { + vec2 u_radius; + float u_opacity; + float u_coverage; + float u_angle; +}; + +#pragma include "scene_uniforms" +#pragma include "picking" + +out vec4 outputColor; +void main() { + outputColor = v_color; + outputColor = filterColor(outputColor); +} +`,RI=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_SIZE) in float a_Size; +layout(location = ATTRIBUTE_LOCATION_POS) in vec3 a_Pos; +layout(location = ATTRIBUTE_LOCATION_NORMAL) in vec3 a_Normal; + +layout(std140) uniform commonUniforms { + vec2 u_radius; + float u_opacity; + float u_coverage; + float u_angle; +}; + +out vec4 v_color; + +#pragma include "projection" +#pragma include "project" +#pragma include "light" +#pragma include "picking" + +void main() { + mat2 rotationMatrix = mat2(cos(u_angle), sin(u_angle), -sin(u_angle), cos(u_angle)); + vec2 offset = vec2(a_Position.xy * u_radius * rotationMatrix * u_coverage); + + vec2 lnglat = unProjectFlat(a_Pos.xy + offset); // 实际的经纬度 + vec4 project_pos = project_position(vec4(lnglat, a_Position.z * a_Size, 1.0)); + + float lightWeight = calc_lighting(project_pos); + v_color = vec4(a_Color.rgb * lightWeight, a_Color.w); + + gl_Position = project_common_position_to_clipspace(project_pos); + + setPickingColor(a_PickingColor); +} +`;class CI extends Pi{get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,SIZE:9,POS:10,NORMAL:11})}getUninforms(){const t=this.getCommonUniformsInfo(),r=this.getUniformsBufferInfo(this.getStyleAttribute());return this.updateStyleUnifoms(),_t(_t({},t.uniformsOption),r.uniformsOption)}getCommonUniformsInfo(){const{opacity:t,coverage:r,angle:i}=this.layer.getLayerConfig(),s={u_radius:[this.layer.getSource().data.xOffset,this.layer.getSource().data.yOffset],u_opacity:t||1,u_coverage:r||.9,u_angle:i||0};return this.getUniformsBufferInfo(s)}initModels(){var t=this;return mt(function*(){return t.buildModels()})()}buildModels(){var t=this;return mt(function*(){return t.initUniformsBuffer(),[yield t.layer.buildLayerModel({moduleName:"heatmapGrid3d",vertexShader:RI,fragmentShader:wI,defines:t.getDefines(),triangulation:L6,primitive:L.TRIANGLES,depth:{enable:!0}})]})()}registerBuiltinAttributes(){this.styleAttributeService.registerStyleAttribute({name:"size",type:br.Attribute,descriptor:{shaderLocation:this.attributeLocation.SIZE,name:"a_Size",buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:1,update:t=>{const{size:r}=t;return Array.isArray(r)?[r[0]]:[r]}}}),this.styleAttributeService.registerStyleAttribute({name:"normal",type:br.Attribute,descriptor:{name:"a_Normal",shaderLocation:this.attributeLocation.NORMAL,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:3,update:(t,r,i,s,u)=>u}}),this.styleAttributeService.registerStyleAttribute({name:"pos",type:br.Attribute,descriptor:{name:"a_Pos",shaderLocation:this.attributeLocation.POS,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:3,update:t=>{const r=t.coordinates;return[r[0],r[1],0]}}})}}function II(e,t){const r=[],i=[],s=[],u=e+1,n=t+1,h=e/2,m=t/2;for(let g=0;g 1 的 uv 转换为 -1 -> 1 的标准坐标空间(NDC) + + vec4 p1 = vec4(pos, 0.0, 1.0); // x/y 平面上的点(z == 0)可以认为是三维上的点被投影到平面后的点 + vec4 p2 = vec4(pos, 1.0, 1.0); // 平行于x/y平面、z==1 的平面上的点 + + vec4 inverseP1 = u_InverseViewProjectionMatrix * p1; // 根据视图投影矩阵的逆矩阵平面上的反算出三维空间中的点(p1平面上的点) + vec4 inverseP2 = u_InverseViewProjectionMatrix * p2; + + inverseP1 = inverseP1 / inverseP1.w; // 归一化操作(归一化后为世界坐标) + inverseP2 = inverseP2 / inverseP2.w; + + float zPos = (0.0 - inverseP1.z) / (inverseP2.z - inverseP1.z); // ?? + vec4 position = inverseP1 + zPos * (inverseP2 - inverseP1); + + vec4 b = vec4(0.5, 0.0, 1.0, 0.5); + float fh; + + v_intensity = texture(SAMPLER_2D(u_texture), v_texCoord).r; + fh = toBezier(v_intensity, b).y; + gl_Position = u_ViewProjectionMatrixUncentered * vec4(position.xy, fh * project_pixel(50.0), 1.0); + +} +`,DI=`uniform sampler2D u_texture; // 热力强度图 +uniform sampler2D u_colorTexture; // 根据强度分布的色带 + +layout(std140) uniform commonUniforms { + float u_opacity; + float u_common_uniforms_padding1; + float u_common_uniforms_padding2; + float u_common_uniforms_padding3; +}; +in vec2 v_texCoord; +out vec4 outputColor; + +#pragma include "scene_uniforms" + +float getBlurIndusty() { + float vW = 2.0/ u_ViewportSize.x; + float vH = 2.0/ u_ViewportSize.y; + vec2 vUv = v_texCoord; + float i11 = texture(SAMPLER_2D(u_texture), vec2( vUv.x - 1.0 * vW, vUv.y + 1.0 * vH) ).r; + float i12 = texture(SAMPLER_2D(u_texture), vec2( vUv.x - 0.0 * vW, vUv.y + 1.0 * vH) ).r; + float i13 = texture(SAMPLER_2D(u_texture), vec2( vUv.x + 1.0 * vW, vUv.y + 1.0 * vH) ).r; + + float i21 = texture(SAMPLER_2D(u_texture), vec2( vUv.x - 1.0 * vW, vUv.y) ).r; + float i22 = texture(SAMPLER_2D(u_texture), vec2( vUv.x , vUv.y) ).r; + float i23 = texture(SAMPLER_2D(u_texture), vec2( vUv.x + 1.0 * vW, vUv.y) ).r; + + float i31 = texture(SAMPLER_2D(u_texture), vec2( vUv.x - 1.0 * vW, vUv.y-1.0*vH) ).r; + float i32 = texture(SAMPLER_2D(u_texture), vec2( vUv.x - 0.0 * vW, vUv.y-1.0*vH) ).r; + float i33 = texture(SAMPLER_2D(u_texture), vec2( vUv.x + 1.0 * vW, vUv.y-1.0*vH) ).r; + + return( + i11 + + i12 + + i13 + + i21 + + i21 + + i22 + + i23 + + i31 + + i32 + + i33 + )/9.0; +} + + +void main(){ + // float intensity = texture(u_texture, v_texCoord).r; + float intensity = getBlurIndusty(); + vec4 color = texture(SAMPLER_2D(u_colorTexture), vec2(intensity, 0.0)); + outputColor = color; + outputColor.a = color.a * smoothstep(0.,0.1,intensity) * u_opacity; +} +`,OI=`layout(location = 0) in vec3 a_Position; +layout(location = 10) in vec2 a_Uv; + +layout(std140) uniform commonUniforms { + float u_opacity; + float u_common_uniforms_padding1; + float u_common_uniforms_padding2; + float u_common_uniforms_padding3; +}; + +#pragma include "scene_uniforms" + +out vec2 v_texCoord; +void main() { + v_texCoord = a_Uv; + #ifdef VIEWPORT_ORIGIN_TL + v_texCoord.y = 1.0 - v_texCoord.y; + #endif + + gl_Position = vec4(a_Position.xy, 0, 1.0); +} +`,LI=`layout(std140) uniform commonUniforms { + float u_radius; + float u_intensity; + float u_common_uniforms_padding1; + float u_common_uniforms_padding2; +}; + +in vec2 v_extrude; +in float v_weight; +out vec4 outputColor; +#define GAUSS_COEF 0.3989422804014327 + +void main(){ + float d = -0.5 * 3.0 * 3.0 * dot(v_extrude, v_extrude); + float val = v_weight * u_intensity * GAUSS_COEF * exp(d); + outputColor = vec4(val, 1., 1., 1.); +} +`,BI=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_SIZE) in float a_Size; +layout(location = ATTRIBUTE_LOCATION_DIR) in vec2 a_Dir; + +layout(std140) uniform commonUniforms { + float u_radius; + float u_intensity; + float u_common_uniforms_padding1; + float u_common_uniforms_padding2; +}; + +out vec2 v_extrude; +out float v_weight; + +#define GAUSS_COEF (0.3989422804014327) + +#pragma include "projection" +#pragma include "picking" + +void main() { + vec3 picking_color_placeholder = u_PickingColor; + + v_weight = a_Size; + float ZERO = 1.0 / 255.0 / 16.0; + float extrude_x = a_Dir.x * 2.0 - 1.0; + float extrude_y = a_Dir.y * 2.0 - 1.0; + vec2 extrude_dir = normalize(vec2(extrude_x, extrude_y)); + float S = sqrt(-2.0 * log(ZERO / a_Size / u_intensity / GAUSS_COEF)) / 2.5; + v_extrude = extrude_dir * S; + + vec2 offset = project_pixel(v_extrude * u_radius); + vec4 project_pos = project_position(vec4(a_Position.xy, 0.0, 1.0)); + + gl_Position = project_common_position_to_clipspace(vec4(project_pos.xy + offset, 0.0, 1.0)); + +} +`,{isEqual:UI}=Qn;class T4 extends Pi{constructor(...t){super(...t),H(this,"texture",void 0),H(this,"colorTexture",void 0),H(this,"heatmapFramerBuffer",void 0),H(this,"heatmapTexture",void 0),H(this,"intensityModel",void 0),H(this,"colorModel",void 0),H(this,"shapeType",void 0),H(this,"preRampColors",void 0),H(this,"colorModelUniformBuffer",[]),H(this,"heat3DModelUniformBuffer",[])}get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,SIZE:9,UV:10,DIR:11})}prerender(){const{clear:t,useFramebuffer:r}=this.rendererService;r(this.heatmapFramerBuffer,()=>{t({color:[0,0,0,0],depth:1,stencil:0,framebuffer:this.heatmapFramerBuffer}),this.drawIntensityMode()})}render(t){const{rampColors:r}=this.layer.getLayerConfig();UI(this.preRampColors,r)||this.updateColorTexture(),this.shapeType==="heatmap"?this.drawHeatMap(t):this.draw3DHeatMap(t)}getUninforms(){throw new Error("Method not implemented.")}initModels(){var t=this;return mt(function*(){var r;const{createFramebuffer:i,getViewportSize:s,createTexture2D:u}=t.rendererService,n=t.styleAttributeService.getLayerStyleAttribute("shape"),h=(n==null||(r=n.scale)===null||r===void 0?void 0:r.field)||"heatmap";t.shapeType=h,t.intensityModel=yield t.buildHeatMapIntensity(),t.colorModel=h==="heatmap"?t.buildHeatmap():t.build3dHeatMap();const{width:m,height:g}=s();return t.heatmapTexture=u({width:Math.floor(m/4),height:Math.floor(g/4),wrapS:L.CLAMP_TO_EDGE,wrapT:L.CLAMP_TO_EDGE,min:L.LINEAR,mag:L.LINEAR,usage:f1.RENDER_TARGET}),t.heatmapFramerBuffer=i({color:t.heatmapTexture,depth:!0,width:Math.floor(m/4),height:Math.floor(g/4)}),t.updateColorTexture(),[t.intensityModel,t.colorModel]})()}buildModels(){var t=this;return mt(function*(){return t.initModels()})()}registerBuiltinAttributes(){this.styleAttributeService.registerStyleAttribute({name:"dir",type:br.Attribute,descriptor:{name:"a_Dir",shaderLocation:this.attributeLocation.DIR,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:2,update:(t,r,i)=>[i[3],i[4]]}}),this.styleAttributeService.registerStyleAttribute({name:"size",type:br.Attribute,descriptor:{name:"a_Size",shaderLocation:this.attributeLocation.SIZE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:1,update:t=>{const{size:r=1}=t;return[r]}}})}buildHeatMapIntensity(){var t=this;return mt(function*(){return t.uniformBuffers=[t.rendererService.createBuffer({data:new Float32Array(4).fill(0),isUBO:!0})],t.layer.triangulation=F4,yield t.layer.buildLayerModel({moduleName:"heatmapIntensity",vertexShader:BI,fragmentShader:LI,triangulation:F4,defines:t.getDefines(),depth:{enable:!1},cull:{enable:!0,face:L.FRONT}})})()}buildHeatmap(){this.shaderModuleService.registerModule("heatmapColor",{vs:OI,fs:DI}),this.colorModelUniformBuffer=[this.rendererService.createBuffer({data:new Float32Array(4).fill(0),isUBO:!0})];const{vs:t,fs:r,uniforms:i}=this.shaderModuleService.getModule("heatmapColor"),{createAttribute:s,createElements:u,createBuffer:n,createModel:h}=this.rendererService;return h({vs:t,fs:r,uniformBuffers:[...this.colorModelUniformBuffer,...this.rendererService.uniformBuffers],attributes:{a_Position:s({shaderLocation:this.attributeLocation.POSITION,buffer:n({data:[-1,1,0,1,1,0,-1,-1,0,1,-1,0],type:L.FLOAT}),size:3}),a_Uv:s({shaderLocation:this.attributeLocation.UV,buffer:n({data:[0,1,1,1,0,0,1,0],type:L.FLOAT}),size:2})},uniforms:_t({},i),depth:{enable:!1},elements:u({data:[0,2,1,2,3,1],type:L.UNSIGNED_INT,count:6})})}build3dHeatMap(){const{getViewportSize:t}=this.rendererService,{width:r,height:i}=t(),s=II(r/4,i/4);this.shaderModuleService.registerModule("heatmap3dColor",{vs:NI,fs:MI}),this.heat3DModelUniformBuffer=[this.rendererService.createBuffer({data:new Float32Array(16*2+4).fill(0),isUBO:!0})];const{vs:u,fs:n,uniforms:h}=this.shaderModuleService.getModule("heatmap3dColor"),{createAttribute:m,createElements:g,createBuffer:x,createModel:b}=this.rendererService;return b({vs:u,fs:n,attributes:{a_Position:m({shaderLocation:this.attributeLocation.POSITION,buffer:x({data:s.vertices,type:L.FLOAT}),size:3}),a_Uv:m({shaderLocation:this.attributeLocation.UV,buffer:x({data:s.uvs,type:L.FLOAT}),size:2})},primitive:L.TRIANGLES,uniformBuffers:[...this.heat3DModelUniformBuffer,...this.rendererService.uniformBuffers],uniforms:_t({},h),depth:{enable:!0},blend:{enable:!0,func:{srcRGB:L.SRC_ALPHA,srcAlpha:1,dstRGB:L.ONE_MINUS_SRC_ALPHA,dstAlpha:1}},elements:g({data:s.indices,type:L.UNSIGNED_INT,count:s.indices.length})})}drawIntensityMode(){var t;const{intensity:r=10,radius:i=5}=this.layer.getLayerConfig(),s={u_radius:i,u_intensity:r};this.uniformBuffers[0].subData({offset:0,data:[i,r]}),this.layerService.beforeRenderData(this.layer),this.layer.hooks.beforeRender.call(),(t=this.intensityModel)===null||t===void 0||t.draw({uniforms:s,blend:{enable:!0,func:{srcRGB:L.ONE,srcAlpha:1,dstRGB:L.ONE,dstAlpha:1}},stencil:{enable:!1,mask:255,func:{cmp:514,ref:1,mask:255}}}),this.layer.hooks.afterRender.call()}drawHeatMap(t){var r;const{opacity:i=1}=this.layer.getLayerConfig(),s={u_opacity:i,u_colorTexture:this.colorTexture,u_texture:this.heatmapFramerBuffer},u=[this.heatmapTexture,this.colorTexture];this.colorModelUniformBuffer[0].subData({offset:0,data:[i]}),(r=this.colorModel)===null||r===void 0||r.draw({uniforms:s,textures:u,blend:this.getBlend(),stencil:this.getStencil(t)})}draw3DHeatMap(t){var r;const{opacity:i=1}=this.layer.getLayerConfig(),s=zf();r6(s,this.cameraService.getViewProjectionMatrixUncentered());const u={u_opacity:i,u_colorTexture:this.colorTexture,u_texture:this.heatmapFramerBuffer,u_ViewProjectionMatrixUncentered:this.cameraService.getViewProjectionMatrixUncentered(),u_InverseViewProjectionMatrix:[...s]};this.heat3DModelUniformBuffer[0].subData({offset:0,data:[...u.u_ViewProjectionMatrixUncentered,...u.u_InverseViewProjectionMatrix,i]});const n=[this.heatmapTexture,this.colorTexture];(r=this.colorModel)===null||r===void 0||r.draw({uniforms:u,textures:n,blend:{enable:!0,func:{srcRGB:L.SRC_ALPHA,srcAlpha:1,dstRGB:L.ONE_MINUS_SRC_ALPHA,dstAlpha:1}},stencil:this.getStencil(t)})}updateColorTexture(){const{createTexture2D:t}=this.rendererService;this.texture&&this.texture.destroy();const{rampColors:r}=this.layer.getLayerConfig(),i=e8(r);this.colorTexture=t({data:i.data,usage:f1.SAMPLED,width:i.width,height:i.height,wrapS:L.CLAMP_TO_EDGE,wrapT:L.CLAMP_TO_EDGE,min:L.NEAREST,mag:L.NEAREST,flipY:!1,unorm:!0}),this.preRampColors=r}}const kI=`in vec4 v_color; + +#pragma include "picking" +out vec4 outputColor; +void main() { + outputColor = v_color; + outputColor = filterColor(outputColor); +} +`,zI=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_POS) in vec3 a_Pos; + +layout(std140) uniform commonUniforms { + vec2 u_radius; + float u_opacity; + float u_coverage; + float u_angle; +}; + +out vec4 v_color; + +#pragma include "projection" +#pragma include "project" +#pragma include "picking" + +void main() { + v_color = a_Color; + v_color.a *= u_opacity; + + mat2 rotationMatrix = mat2(cos(u_angle), sin(u_angle), -sin(u_angle), cos(u_angle)); + vec2 offset = vec2(a_Position.xy * u_radius * rotationMatrix * u_coverage); + vec2 lnglat = unProjectFlat(a_Pos.xy + offset); + + vec4 project_pos = project_position(vec4(lnglat, 0, 1.0)); + gl_Position = project_common_position_to_clipspace(vec4(project_pos.xy, 0.0, 1.0)); + + setPickingColor(a_PickingColor); +} +`;class VI extends Pi{get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,POS:9})}getUninforms(){const t=this.getCommonUniformsInfo(),r=this.getUniformsBufferInfo(this.getStyleAttribute());return this.updateStyleUnifoms(),_t(_t({},t.uniformsOption),r.uniformsOption)}getCommonUniformsInfo(){const{opacity:t,coverage:r,angle:i}=this.layer.getLayerConfig(),s={u_radius:[this.layer.getSource().data.xOffset,this.layer.getSource().data.yOffset],u_opacity:t||1,u_coverage:r||.9,u_angle:i||0};return this.getUniformsBufferInfo(s)}initModels(){var t=this;return mt(function*(){return t.buildModels()})()}buildModels(){var t=this;return mt(function*(){return t.initUniformsBuffer(),[yield t.layer.buildLayerModel({moduleName:"heatmapHexagon",vertexShader:zI,fragmentShader:kI,defines:t.getDefines(),triangulation:Q9,depth:{enable:!1},primitive:L.TRIANGLES})]})()}registerBuiltinAttributes(){this.styleAttributeService.registerStyleAttribute({name:"pos",type:br.Attribute,descriptor:{name:"a_Pos",shaderLocation:this.attributeLocation.POS,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:3,update:t=>{const r=t.coordinates;return[r[0],r[1],0]}}})}}const HI={heatmap:T4,heatmap3d:T4,grid:SI,grid3d:CI,hexagon:VI};class GI extends A1{constructor(...t){super(...t),H(this,"type","HeatMapLayer")}buildModels(){var t=this;return mt(function*(){const r=t.getModelType();t.layerModel=new HI[r](t),yield t.initLayerModels()})()}prerender(){this.getModelType()==="heatmap"&&this.layerModel&&this.layerModel.prerender()}renderModels(t={}){return this.getModelType()==="heatmap"?(this.layerModel&&this.layerModel.render(t),this):this.encodeDataLength<=0&&!this.forceRender?this:(this.hooks.beforeRender.call(),this.models.forEach(i=>i.draw({uniforms:this.layerModel.getUninforms(),blend:this.layerModel.getBlend(),stencil:this.layerModel.getStencil(t)})),this.hooks.afterRender.call(),this)}updateModelData(t){t.attributes&&t.elements?this.models[0].updateAttributesAndElements(t.attributes,t.elements):console.warn("data error")}getModelType(){var t;const r=this.styleAttributeService.getLayerStyleAttribute("shape"),{shape3d:i}=this.getLayerConfig(),u=this.getSource().data.type,n=(r==null||(t=r.scale)===null||t===void 0?void 0:t.field)||"heatmap";return n==="heatmap"||n==="heatmap3d"?"heatmap":u==="hexagon"?(i==null?void 0:i.indexOf(n))===-1?"hexagon":"grid3d":u==="grid"?(i==null?void 0:i.indexOf(n))===-1?"grid":"grid3d":"heatmap"}getLegend(t){if(this.getModelType()==="heatmap"){if(t!=="color")return{type:void 0,field:void 0,items:[]};const r=this.getLayerConfig().rampColors;return J9(r,t)}else return super.getLegend(t)}}const jI=`uniform sampler2D u_texture; +layout(std140) uniform commonUniforms { + float u_opacity:1.0; + float u_brightness:1.0; + float u_contrast:1.0; + float u_saturation:1.0; + float u_gamma:1.0; +}; + +in vec2 v_texCoord; +out vec4 outputColor; +vec3 setContrast(vec3 rgb, float contrast) { + vec3 color = mix(vec3(0.5), rgb, contrast); + color = clamp(color, 0.0, 1.0); + return color; +} +vec3 setSaturation(vec3 rgb, float adjustment) { + const vec3 grayVector = vec3(0.2125, 0.7154, 0.0721); + vec3 intensity = vec3(dot(rgb, grayVector)); + vec3 color = mix(intensity, rgb, adjustment); + color = clamp(color, 0.0, 1.0); + return color; +} +void main() { + vec4 color = texture(SAMPLER_2D(u_texture),vec2(v_texCoord.x,v_texCoord.y)); + //brightness + color.rgb = mix(vec3(0.0, 0.0, 0.0), color.rgb, u_brightness); + //contrast + color.rgb = setContrast(color.rgb, u_contrast); + // saturation + color.rgb = setSaturation(color.rgb, u_saturation); + // gamma + color.rgb = pow(color.rgb, vec3(u_gamma)); + outputColor = color; + outputColor.a *= u_opacity; + if(outputColor.a < 0.01) + discard; +} +`,WI=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_POSITION_64LOW) in vec2 a_Position64Low; +layout(location = ATTRIBUTE_LOCATION_UV) in vec2 a_Uv; + +layout(std140) uniform commonUniforms { + float u_opacity:1.0; + float u_brightness:1.0; + float u_contrast:1.0; + float u_saturation:1.0; + float u_gamma:1.0; +}; + +out vec2 v_texCoord; +#pragma include "projection" + +void main() { + v_texCoord = a_Uv; + vec4 project_pos = project_position(vec4(a_Position, 1.0), a_Position64Low); + gl_Position = project_common_position_to_clipspace(vec4(project_pos.xy, 0.0, 1.0)); +} +`;let XI=class extends Pi{constructor(...t){super(...t),H(this,"texture",void 0)}get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,UV:9})}getCommonUniformsInfo(){const{opacity:t,brightness:r,contrast:i,saturation:s,gamma:u}=this.layer.getLayerConfig(),n={u_opacity:Td(t,1),u_brightness:Td(r,1),u_contrast:Td(i,1),u_saturation:Td(s,1),u_gamma:Td(u,1)};return this.textures=[this.texture],this.getUniformsBufferInfo(n)}initModels(){var t=this;return mt(function*(){return yield t.loadTexture(),t.buildModels()})()}clearModels(){var t;(t=this.texture)===null||t===void 0||t.destroy()}loadTexture(){var t=this;return mt(function*(){const{createTexture2D:r}=t.rendererService,s=yield t.layer.getSource().data.images;t.texture=r({data:s[0],width:s[0].width,height:s[0].height,mag:L.LINEAR,min:L.LINEAR})})()}buildModels(){var t=this;return mt(function*(){return t.initUniformsBuffer(),[yield t.layer.buildLayerModel({moduleName:"rasterImage",vertexShader:WI,fragmentShader:jI,defines:t.getDefines(),triangulation:qf,primitive:L.TRIANGLES,blend:{enable:!0},depth:{enable:!1},pickingEnabled:!1})]})()}registerBuiltinAttributes(){this.registerPosition64LowAttribute(),this.styleAttributeService.registerStyleAttribute({name:"uv",type:br.Attribute,descriptor:{name:"a_Uv",shaderLocation:this.attributeLocation.UV,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:2,update:(t,r,i)=>[i[3],i[4]]}})}};const ZI={image:XI};class YI extends A1{constructor(...t){super(...t),H(this,"type","ImageLayer")}buildModels(){var t=this;return mt(function*(){const r=t.getModelType();t.layerModel=new ZI[r](t),yield t.initLayerModels()})()}getDefaultConfig(){const t=this.getModelType();return{image:{}}[t]}getModelType(){return"image"}}const $I=` +#define Animate 0.0 +#define LineTexture 1.0 +uniform sampler2D u_texture; +layout(std140) uniform commonUniorm { + vec4 u_animate: [ 1., 2., 1.0, 0.2 ]; + vec4 u_dash_array; + vec4 u_sourceColor; + vec4 u_targetColor; + vec2 u_textSize; + float segmentNumber; + float u_lineDir: 1.0; + float u_icon_step: 100; + float u_line_texture: 0.0; + float u_textureBlend; + float u_blur : 0.9; + float u_line_type: 0.0; + float u_time; + float u_linearColor: 0.0; +}; + +in vec4 v_color; +in vec2 v_iconMapUV; +in vec4 v_lineData; +//dash +in vec4 v_dash_array; +in float v_distance_ratio; + +out vec4 outputColor; +#pragma include "picking" + +void main() { + if(u_dash_array!=vec4(0.0)){ + float dashLength = mod(v_distance_ratio, v_dash_array.x + v_dash_array.y + v_dash_array.z + v_dash_array.w); + if(!(dashLength < v_dash_array.x || (dashLength > (v_dash_array.x + v_dash_array.y) && dashLength < v_dash_array.x + v_dash_array.y + v_dash_array.z))) { + discard; + }; + } + float animateSpeed = 0.0; // 运动速度 + outputColor = v_color; + if(u_animate.x == Animate && u_line_texture != LineTexture) { + animateSpeed = u_time / u_animate.y; + float alpha =1.0 - fract( mod(1.0- v_lineData.b, u_animate.z)* (1.0/ u_animate.z) + u_time / u_animate.y); + alpha = (alpha + u_animate.w -1.0) / u_animate.w; + // alpha = smoothstep(0., 1., alpha); + alpha = clamp(alpha, 0.0, 1.0); + outputColor.a *= alpha; + } + + // 当存在贴图时在底色上贴上贴图 + if(u_line_texture == LineTexture) { // while load texture + float arcRadio = smoothstep( 0.0, 1.0, (v_lineData.r / segmentNumber)); + // float arcRadio = smoothstep( 0.0, 1.0, d_distance_ratio); + + float count = v_lineData.g; // 贴图在弧线上重复的数量 + + float time = 0.0; + if(u_animate.x == Animate) { + time = u_time / u_animate.y; + } + float redioCount = arcRadio * count; + + float u = fract(redioCount - time); + float v = v_lineData.a; // 横向 v + vec2 uv= v_iconMapUV / u_textSize + vec2(u, v) / u_textSize * 64.; + + vec4 pattern = texture(SAMPLER_2D(u_texture), uv); + + if(u_animate.x == Animate) { + float currentPlane = floor(redioCount - time); + float textureStep = floor(count * u_animate.z); + float a = mod(currentPlane, textureStep); + if(a < textureStep - 1.0) { + pattern = vec4(0.0); + } + } + + if(u_textureBlend == 0.0) { // normal + pattern.a = 0.0; + outputColor = filterColor(outputColor + pattern); + } else { // replace + pattern.a *= v_color.a; + if(outputColor.a <= 0.0) { + pattern.a = 0.0; + } + outputColor = filterColor(pattern); + } + + } else { + outputColor = filterColor(outputColor); + } +}`,qI=`#define Animate (0.0) +#define LineTexture (1.0) + +layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_SIZE) in float a_Size; +layout(location = ATTRIBUTE_LOCATION_INSTANCE) in vec4 a_Instance; +layout(location = ATTRIBUTE_LOCATION_INSTANCE_64LOW) in vec4 a_Instance64Low; +layout(location = ATTRIBUTE_LOCATION_UV) in vec2 a_iconMapUV; + +layout(std140) uniform commonUniorm { + vec4 u_animate: [ 1., 2., 1.0, 0.2 ]; + vec4 u_dash_array; + vec4 u_sourceColor; + vec4 u_targetColor; + vec2 u_textSize; + float segmentNumber; + float u_lineDir: 1.0; + float u_icon_step: 100; + float u_line_texture: 0.0; + float u_textureBlend; + float u_blur : 0.9; + float u_line_type: 0.0; + float u_time; + float u_linearColor: 0.0; +}; + +out vec4 v_color; +out vec2 v_iconMapUV; +out vec4 v_lineData; +//dash +out vec4 v_dash_array; +out float v_distance_ratio; + +#pragma include "projection" +#pragma include "project" +#pragma include "picking" + +float bezier3(vec3 arr, float t) { + float ut = 1.0 - t; + return (arr.x * ut + arr.y * t) * ut + (arr.y * ut + arr.z * t) * t; +} +vec2 midPoint(vec2 source, vec2 target, float arcThetaOffset) { + vec2 center = target - source; + float r = length(center); + float theta = atan(center.y, center.x); + float thetaOffset = arcThetaOffset; + float r2 = r / 2.0 / cos(thetaOffset); + float theta2 = theta + thetaOffset; + vec2 mid = vec2(r2 * cos(theta2) + source.x, r2 * sin(theta2) + source.y); + if (u_lineDir == 1.0) { + // 正向 + return mid; + } else { + // 逆向 + // (mid + vmin)/2 = (s + t)/2 + vec2 vmid = source + target - mid; + return vmid; + } + // return mid; +} +float getSegmentRatio(float index) { + // dash: index / (segmentNumber - 1.); + // normal: smoothstep(0.0, 1.0, index / (segmentNumber - 1.)); + return smoothstep(0.0, 1.0, index / (segmentNumber - 1.0)); + // return index / (segmentNumber - 1.); +} +vec2 interpolate(vec2 source, vec2 target, float t, float arcThetaOffset) { + // if the angularDist is PI, linear interpolation is applied. otherwise, use spherical interpolation + vec2 mid = midPoint(source, target, arcThetaOffset); + vec3 x = vec3(source.x, mid.x, target.x); + vec3 y = vec3(source.y, mid.y, target.y); + return vec2(bezier3(x, t), bezier3(y, t)); +} +vec2 getExtrusionOffset(vec2 line_clipspace, float offset_direction) { + // normalized direction of the line + vec2 dir_screenspace = normalize(line_clipspace); + // rotate by 90 degrees + dir_screenspace = vec2(-dir_screenspace.y, dir_screenspace.x); + vec2 offset = dir_screenspace * offset_direction * setPickingSize(a_Size) / 2.0; + return offset; +} +vec2 getNormal(vec2 line_clipspace, float offset_direction) { + // normalized direction of the line + vec2 dir_screenspace = normalize(line_clipspace); + // rotate by 90 degrees + dir_screenspace = vec2(-dir_screenspace.y, dir_screenspace.x); + return dir_screenspace.xy * sign(offset_direction); +} + +void main() { + //vs中计算渐变色 + if (u_linearColor == 1.0) { + float d_segmentIndex = a_Position.x + 1.0; // 当前顶点在弧线中所处的分段位置 + v_color = mix(u_sourceColor, u_targetColor, d_segmentIndex / segmentNumber); + } else { + v_color = a_Color; + } + v_color.a = v_color.a * opacity; + + vec2 source_world = a_Instance.rg; // 起始点 + vec2 target_world = a_Instance.ba; // 终点 + + float segmentIndex = a_Position.x; + float segmentRatio = getSegmentRatio(segmentIndex); + + // 计算 dashArray 和 distanceRatio 输出到片元 + float total_Distance = pixelDistance(source_world, target_world) / 2.0 * PI; + v_dash_array = pow(2.0, 20.0 - u_Zoom) * u_dash_array / total_Distance; + v_distance_ratio = segmentIndex / segmentNumber; + + float indexDir = mix(-1.0, 1.0, step(segmentIndex, 0.0)); + float nextSegmentRatio = getSegmentRatio(segmentIndex + indexDir); + float d_distance_ratio; + + if(u_animate.x == Animate) { + d_distance_ratio = segmentIndex / segmentNumber; + if(u_lineDir != 1.0) { + d_distance_ratio = 1.0 - d_distance_ratio; + } + } + + v_lineData.b = d_distance_ratio; + + vec4 source = project_position(vec4(source_world, 0, 1.), a_Instance64Low.xy); + vec4 target = project_position(vec4(target_world, 0, 1.), a_Instance64Low.zw); + + vec2 currPos = interpolate(source.xy, target.xy, segmentRatio, thetaOffset); + vec2 nextPos = interpolate(source.xy, target.xy, nextSegmentRatio, thetaOffset); + + vec2 offset = project_pixel( + getExtrusionOffset((nextPos.xy - currPos.xy) * indexDir, a_Position.y) + ); + + float d_segmentIndex = a_Position.x + 1.0; // 当前顶点在弧线中所处的分段位置 + v_lineData.r = d_segmentIndex; + + if(LineTexture == u_line_texture) { // 开启贴图模式 + float arcDistrance = length(source - target); // 起始点和终点的距离 + arcDistrance = project_pixel(arcDistrance); + + v_iconMapUV = a_iconMapUV; + + float pixelLen = project_pixel_texture(u_icon_step); // 贴图沿弧线方向的长度 - 随地图缩放改变 + float texCount = floor(arcDistrance / pixelLen); // 贴图在弧线上重复的数量 + v_lineData.g = texCount; + + float lineOffsetWidth = length(offset + offset * sign(a_Position.y)); // 线横向偏移的距离 + float linePixelSize = project_pixel(a_Size); // 定点位置偏移 + v_lineData.a = lineOffsetWidth / linePixelSize; // 线图层贴图部分的 v 坐标值 + } + + gl_Position = project_common_position_to_clipspace(vec4(currPos.xy + offset, 0, 1.0)); + + setPickingColor(a_PickingColor); +} +`,KI={solid:0,dash:1};class QI extends Pi{constructor(...t){super(...t),H(this,"texture",void 0),H(this,"updateTexture",()=>{const{createTexture2D:r}=this.rendererService;if(this.texture){this.texture.update({data:this.iconService.getCanvas()}),this.layer.render();return}this.texture=r({data:this.iconService.getCanvas(),mag:L.NEAREST,min:L.NEAREST,premultiplyAlpha:!1,width:1024,height:this.iconService.canvasHeight||128}),this.textures=[this.texture]})}get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,SIZE:9,INSTANCE:10,INSTANCE_64LOW:11,UV:12,THETA_OFFSET:13})}getCommonUniformsInfo(){const{sourceColor:t,targetColor:r,textureBlend:i="normal",lineType:s="solid",dashArray:u=[10,5],forward:n=!0,lineTexture:h=!1,iconStep:m=100,segmentNumber:g=30}=this.layer.getLayerConfig(),{animateOption:x}=this.layer.getLayerConfig();let b=u;s!=="dash"&&(b=[0,0]),b.length===2&&b.push(0,0);let F=0,R=[0,0,0,0],I=[0,0,0,0];if(t&&r&&(R=Mi(t),I=Mi(r),F=1),this.rendererService.getDirty()){var B;(B=this.texture)===null||B===void 0||B.bind()}const V={u_animate:this.animateOption2Array(x),u_dash_array:b,u_sourceColor:R,u_targetColor:I,u_textSize:[1024,this.iconService.canvasHeight||128],segmentNumber:g,u_lineDir:n?1:-1,u_icon_step:m,u_line_texture:h?1:0,u_textureBlend:i==="normal"?0:1,u_blur:.9,u_line_type:KI[s||"solid"],u_time:this.layer.getLayerAnimateTime()||0,u_linearColor:F};return this.getUniformsBufferInfo(V)}initModels(){var t=this;return mt(function*(){return t.updateTexture(),t.iconService.on("imageUpdate",t.updateTexture),t.buildModels()})()}clearModels(){var t;(t=this.texture)===null||t===void 0||t.destroy(),this.iconService.off("imageUpdate",this.updateTexture)}getShaders(){return{frag:$I,vert:qI,type:""}}buildModels(){var t=this;return mt(function*(){t.initUniformsBuffer();const{segmentNumber:r=30}=t.layer.getLayerConfig(),{frag:i,vert:s,type:u}=t.getShaders();return[yield t.layer.buildLayerModel({moduleName:"lineArc2d"+u,vertexShader:s,fragmentShader:i,defines:t.getDefines(),inject:t.getInject(),triangulation:B6,depth:{enable:!1},styleOption:{segmentNumber:r}})]})()}registerBuiltinAttributes(){this.styleAttributeService.registerStyleAttribute({name:"size",type:br.Attribute,descriptor:{name:"a_Size",shaderLocation:this.attributeLocation.SIZE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:1,update:t=>{const{size:r=1}=t;return Array.isArray(r)?[r[0]]:[r]}}}),this.styleAttributeService.registerStyleAttribute({name:"instance",type:br.Attribute,descriptor:{name:"a_Instance",shaderLocation:this.attributeLocation.INSTANCE,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:4,update:(t,r,i)=>[i[3],i[4],i[5],i[6]]}}),this.styleAttributeService.registerStyleAttribute({name:"instance64Low",type:br.Attribute,descriptor:{name:"a_Instance64Low",shaderLocation:this.attributeLocation.INSTANCE_64LOW,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:4,update:(t,r,i)=>[ua(i[3]),ua(i[4]),ua(i[5]),ua(i[6])]}}),this.styleAttributeService.registerStyleAttribute({name:"uv",type:br.Attribute,descriptor:{name:"a_iconMapUV",shaderLocation:this.attributeLocation.UV,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:2,update:t=>{const r=this.iconService.getIconMap(),{texture:i}=t,{x:s,y:u}=r[i]||{x:0,y:0};return[s,u]}}}),this.styleAttributeService.registerStyleAttribute({name:"thetaOffset",type:br.Attribute,descriptor:{name:"a_ThetaOffset",shaderLocation:this.attributeLocation.THETA_OFFSET,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:1,update:t=>{const{thetaOffset:r=1}=t;return[r]}}})}}const JI=`#define LineTypeSolid 0.0 +#define LineTypeDash 1.0 +#define Animate 0.0 +#define LineTexture 1.0 + +uniform sampler2D u_texture; + +layout(std140) uniform commonUniorm { + vec4 u_animate: [ 1., 2., 1.0, 0.2 ]; + vec4 u_dash_array: [10.0, 5., 0, 0]; + vec4 u_sourceColor; + vec4 u_targetColor; + vec2 u_textSize; + float u_globel; + float u_globel_radius; + float u_global_height: 10; + float segmentNumber; + float u_line_type: 0.0; + float u_icon_step: 100; + float u_line_texture: 0.0; + float u_textureBlend; + float u_time; + float u_linearColor: 0.0; +}; + +in vec4 v_color; +in vec4 v_dash_array; +in float v_segmentIndex; +in vec2 v_iconMapUV; +in vec4 v_line_data; + +out vec4 outputColor; + +#pragma include "picking" + +void main() { + float animateSpeed = 0.0; // 运动速度 + float d_distance_ratio = v_line_data.g; // 当前点位距离占线总长的比例 + outputColor = v_color; + + if(u_line_type == LineTypeDash) { + float flag = 0.; + float dashLength = mod(d_distance_ratio, v_dash_array.x + v_dash_array.y + v_dash_array.z + v_dash_array.w); + if(dashLength < v_dash_array.x || (dashLength > (v_dash_array.x + v_dash_array.y) && dashLength < v_dash_array.x + v_dash_array.y + v_dash_array.z)) { + flag = 1.; + } + outputColor.a *=flag; + } + + if(u_animate.x == Animate && u_line_texture != LineTexture) { + animateSpeed = u_time / u_animate.y; + float alpha =1.0 - fract( mod(1.0- d_distance_ratio, u_animate.z)* (1.0/ u_animate.z) + u_time / u_animate.y); + + alpha = (alpha + u_animate.w -1.0) / u_animate.w; + // alpha = smoothstep(0., 1., alpha); + alpha = clamp(alpha, 0.0, 1.0); + outputColor.a *= alpha; + + // u_animate + // x enable + // y duration + // z interval + // w trailLength + } + + if(u_line_texture == LineTexture && u_line_type != LineTypeDash) { // while load texture + // float arcRadio = smoothstep( 0.0, 1.0, (v_segmentIndex / segmentNumber)); + float arcRadio = v_segmentIndex / (segmentNumber - 1.0); + float count = v_line_data.b; // // 贴图在弧线上重复的数量 + + float time = 0.0; + if(u_animate.x == Animate) { + time = u_time / u_animate.y; + } + float redioCount = arcRadio * count; + + float u = fract(redioCount - time); + + float v = v_line_data.a; // 线图层贴图部分的 v 坐标值 + vec2 uv= v_iconMapUV / u_textSize + vec2(u, v) / u_textSize * 64.; + vec4 pattern = texture(SAMPLER_2D(u_texture), uv); + + if(u_animate.x == Animate) { + float currentPlane = floor(redioCount - time); + float textureStep = floor(count * u_animate.z); + float a = mod(currentPlane, textureStep); + if(a < textureStep - 1.0) { + pattern = vec4(0.0); + } + } + + if(u_textureBlend == 0.0) { // normal + pattern.a = 0.0; + outputColor = filterColor(outputColor + pattern); + } else { // replace + pattern.a *= v_color.a; + if(outputColor.a <= 0.0) { + pattern.a = 0.0; + discard; + } else { + outputColor = filterColor(pattern); + } + } + + } else { + outputColor = filterColor(outputColor); + } +} +`,eM=`#define LineTypeSolid 0.0 +#define LineTypeDash 1.0 +#define Animate 0.0 +#define LineTexture 1.0 + +layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_SIZE) in float a_Size; +layout(location = ATTRIBUTE_LOCATION_INSTANCE) in vec4 a_Instance; +layout(location = ATTRIBUTE_LOCATION_INSTANCE_64LOW) in vec4 a_Instance64Low; +layout(location = ATTRIBUTE_LOCATION_UV) in vec2 a_iconMapUV; + + +layout(std140) uniform commonUniorm { + vec4 u_animate: [ 1., 2., 1.0, 0.2 ]; + vec4 u_dash_array: [10.0, 5., 0, 0]; + vec4 u_sourceColor; + vec4 u_targetColor; + vec2 u_textSize; + float u_globel; + float u_globel_radius; + float u_global_height: 10; + float segmentNumber; + float u_line_type: 0.0; + float u_icon_step: 100; + float u_line_texture: 0.0; + float u_textureBlend; + float u_time; + float u_linearColor: 0.0; +}; +out vec4 v_color; +out vec4 v_dash_array; +out float v_segmentIndex; +out vec2 v_iconMapUV; +out vec4 v_line_data; + +#pragma include "projection" +#pragma include "project" +#pragma include "picking" + +float maps (float value, float start1, float stop1, float start2, float stop2) { + return start2 + (stop2 - start2) * ((value - start1) / (stop1 - start1)); +} + +float getSegmentRatio(float index) { + return smoothstep(0.0, 1.0, index / (segmentNumber - 1.0)); +} + +float paraboloid(vec2 source, vec2 target, float ratio) { + vec2 x = mix(source, target, ratio); + vec2 center = mix(source, target, 0.5); + float dSourceCenter = distance(source, center); + float dXCenter = distance(x, center); + return (dSourceCenter + dXCenter) * (dSourceCenter - dXCenter); +} + +vec3 getPos(vec2 source, vec2 target, float segmentRatio) { + float vertex_height = paraboloid(source, target, segmentRatio); + + return vec3( + mix(source, target, segmentRatio), + sqrt(max(0.0, vertex_height)) + ); +} +vec2 getExtrusionOffset(vec2 line_clipspace, float offset_direction) { + // normalized direction of the line + vec2 dir_screenspace = normalize(line_clipspace); + // rotate by 90 degrees + dir_screenspace = vec2(-dir_screenspace.y, dir_screenspace.x); + + vec2 offset = dir_screenspace * offset_direction * setPickingSize(a_Size) / 2.0; + + return offset; +} +vec2 getNormal(vec2 line_clipspace, float offset_direction) { + // normalized direction of the line + vec2 dir_screenspace = normalize(line_clipspace); + // rotate by 90 degrees + dir_screenspace = vec2(-dir_screenspace.y, dir_screenspace.x); + return dir_screenspace.xy * sign(offset_direction); +} + +float torad(float deg) { + return (deg / 180.0) * acos(-1.0); +} + +vec3 lglt2xyz(vec2 lnglat) { + float pi = 3.1415926; + // + Math.PI/2 是为了对齐坐标 + float lng = torad(lnglat.x) + pi / 2.0; + float lat = torad(lnglat.y); + + // 手动增加一些偏移,减轻面的冲突 + float radius = u_globel_radius; + + float z = radius * cos(lat) * cos(lng); + float x = radius * cos(lat) * sin(lng); + float y = radius * sin(lat); + return vec3(x, y, z); +} + +void main() { + //vs中计算渐变色 + if(u_linearColor==1.0){ + float d_segmentIndex = a_Position.x + 1.0; // 当前顶点在弧线中所处的分段位置 + v_color = mix(u_sourceColor, u_targetColor, d_segmentIndex/segmentNumber); + } + else{ + v_color = a_Color; + } + v_color.a = v_color.a * opacity; + vec2 source = project_position(vec4(a_Instance.rg, 0, 0), a_Instance64Low.xy).xy; + vec2 target = project_position(vec4(a_Instance.ba, 0, 0), a_Instance64Low.zw).xy; + float segmentIndex = a_Position.x; + float segmentRatio = getSegmentRatio(segmentIndex); + float indexDir = mix(-1.0, 1.0, step(segmentIndex, 0.0)); + + float d_distance_ratio; + if(u_line_type == LineTypeDash) { + d_distance_ratio = segmentIndex / segmentNumber; + float total_Distance = pixelDistance(source, target) / 2.0 * PI; + v_dash_array = pow(2.0, 20.0 - u_Zoom) * u_dash_array / (total_Distance / segmentNumber * segmentIndex); + } + if(u_animate.x == Animate) { + d_distance_ratio = segmentIndex / segmentNumber; + } + v_line_data.g = d_distance_ratio; // 当前点位距离占线总长的比例 + + float nextSegmentRatio = getSegmentRatio(segmentIndex + indexDir); + vec3 curr = getPos(source, target, segmentRatio); + vec3 next = getPos(source, target, nextSegmentRatio); + vec2 offset = getExtrusionOffset((next.xy - curr.xy) * indexDir, a_Position.y); + // v_normal = getNormal((next.xy - curr.xy) * indexDir, a_Position.y); + + + v_segmentIndex = a_Position.x; + if(LineTexture == u_line_texture && u_line_type != LineTypeDash) { // 开启贴图模式 + + float arcDistrance = length(source - target); + float pixelLen = project_pixel_texture(u_icon_step); + v_line_data.b = floor(arcDistrance/pixelLen); // 贴图在弧线上重复的数量 + + vec2 projectOffset = project_pixel(offset); + float lineOffsetWidth = length(projectOffset + projectOffset * sign(a_Position.y)); // 线横向偏移的距离 + float linePixelSize = project_pixel(a_Size); // 定点位置偏移,按地图等级缩放后的距离 + v_line_data.a = lineOffsetWidth/linePixelSize; // 线图层贴图部分的 v 坐标值 + + v_iconMapUV = a_iconMapUV; + } + + + gl_Position = project_common_position_to_clipspace(vec4(curr.xy + project_pixel(offset), curr.z * thetaOffset, 1.0)); + + // 地球模式 + if(u_globel > 0.0) { + vec3 startLngLat = lglt2xyz(a_Instance.rg); + vec3 endLngLat = lglt2xyz(a_Instance.ba); + float globalRadius = length(startLngLat); + + vec3 lineDir = normalize(endLngLat - startLngLat); + vec3 midPointDir = normalize((startLngLat + endLngLat)/2.0); + + // 线的偏移 + vec3 lnglatOffset = cross(lineDir, midPointDir) * a_Position.y; + // 计算起始点和终止点的距离 + float lnglatLength = length(a_Instance.rg - a_Instance.ba)/50.0; + // 计算飞线各个节点相应的高度 + float lineHeight = u_global_height * (-4.0*segmentRatio*segmentRatio + 4.0 * segmentRatio) * lnglatLength; + // 地球点位 + vec3 globalPoint = normalize(mix(startLngLat, endLngLat, segmentRatio)) * (globalRadius + lineHeight) + lnglatOffset * a_Size; + + gl_Position = u_ViewProjectionMatrix * vec4(globalPoint, 1.0); + } + + + setPickingColor(a_PickingColor); +} +`,tM={solid:0,dash:1};class S4 extends Pi{constructor(...t){super(...t),H(this,"texture",void 0),H(this,"updateTexture",()=>{const{createTexture2D:r}=this.rendererService;if(this.texture){this.texture.update({data:this.iconService.getCanvas()}),this.layer.render();return}this.texture=r({data:this.iconService.getCanvas(),mag:L.NEAREST,min:L.NEAREST,premultiplyAlpha:!1,width:1024,height:this.iconService.canvasHeight||128}),this.textures=[this.texture]})}get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,SIZE:9,INSTANCE:10,INSTANCE_64LOW:11,UV:12,THETA_OFFSET:13})}getCommonUniformsInfo(){const{sourceColor:t,targetColor:r,textureBlend:i="normal",lineType:s="solid",dashArray:u=[10,5],lineTexture:n=!1,iconStep:h=100,segmentNumber:m=30,globalArcHeight:g=10}=this.layer.getLayerConfig(),{animateOption:x}=this.layer.getLayerConfig();u.length===2&&u.push(0,0);let b=0,F=[0,0,0,0],R=[0,0,0,0];if(t&&r&&(F=Mi(t),R=Mi(r),b=1),this.rendererService.getDirty()){var I;(I=this.texture)===null||I===void 0||I.bind()}const B={u_animate:this.animateOption2Array(x),u_dash_array:u,u_sourceColor:F,u_targetColor:R,u_textSize:[1024,this.iconService.canvasHeight||128],u_globel:this.mapService.version==="GLOBEL"?1:0,u_globel_radius:Y9,u_global_height:g,segmentNumber:m,u_line_type:tM[s]||0,u_icon_step:h,u_line_texture:n?1:0,u_textureBlend:i==="normal"?0:1,u_time:this.layer.getLayerAnimateTime()||0,u_linearColor:b};return this.getUniformsBufferInfo(B)}initModels(){var t=this;return mt(function*(){return t.initUniformsBuffer(),t.updateTexture(),t.iconService.on("imageUpdate",t.updateTexture),t.buildModels()})()}clearModels(){var t;(t=this.texture)===null||t===void 0||t.destroy(),this.iconService.off("imageUpdate",this.updateTexture)}getShaders(){return{frag:JI,vert:eM,type:""}}buildModels(){var t=this;return mt(function*(){const{segmentNumber:r=30}=t.layer.getLayerConfig(),{frag:i,vert:s,type:u}=t.getShaders();return[yield t.layer.buildLayerModel({moduleName:"lineArc3d"+u,vertexShader:s,fragmentShader:i,defines:t.getDefines(),inject:t.getInject(),triangulation:B6,styleOption:{segmentNumber:r}})]})()}registerBuiltinAttributes(){this.styleAttributeService.registerStyleAttribute({name:"size",type:br.Attribute,descriptor:{name:"a_Size",shaderLocation:this.attributeLocation.SIZE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:1,update:t=>{const{size:r=1}=t;return Array.isArray(r)?[r[0]]:[r]}}}),this.styleAttributeService.registerStyleAttribute({name:"instance",type:br.Attribute,descriptor:{name:"a_Instance",shaderLocation:this.attributeLocation.INSTANCE,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:4,update:(t,r,i)=>[i[3],i[4],i[5],i[6]]}}),this.styleAttributeService.registerStyleAttribute({name:"instance64Low",type:br.Attribute,descriptor:{name:"a_Instance64Low",shaderLocation:this.attributeLocation.INSTANCE_64LOW,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:4,update:(t,r,i)=>[ua(i[3]),ua(i[4]),ua(i[5]),ua(i[6])]}}),this.styleAttributeService.registerStyleAttribute({name:"uv",type:br.Attribute,descriptor:{name:"a_iconMapUV",shaderLocation:this.attributeLocation.UV,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:2,update:t=>{const r=this.iconService.getIconMap(),{texture:i}=t,{x:s,y:u}=r[i]||{x:0,y:0};return[s,u]}}}),this.styleAttributeService.registerStyleAttribute({name:"thetaOffset",type:br.Attribute,descriptor:{name:"a_ThetaOffset",shaderLocation:this.attributeLocation.THETA_OFFSET,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:1,update:t=>{const{thetaOffset:r=1}=t;return[r]}}})}}const w4={circle:2,triangle:2,diamond:4,rect:2,classic:3,halfTriangle:2,none:0},zs=1/2;function rM(e,t){const{width:r=2,height:i=1}=t;return{vertices:[0,zs*e,1*e*r,-(i+zs)*e,1*e*r,(i-zs)*e,0,zs*e,1*e*r,-(i+zs)*e,1*e*r,(i-zs)*e],indices:[3,4,5],outLineIndices:[0,1,2],normals:[1*e,-2*e,1,-2*e,1.5*e,1,1*e,1.5*e,1,0,0,0,0,0,0,0,0,0],dimensions:2}}function oM(e,t){const{width:r=2,height:i=3}=t;return{vertices:[0,0,1*e*r,1*i,1*e*r,-1*i,0,0,1*e*r,1*i,1*e*r,-1*i],outLineIndices:[0,1,2],indices:[3,4,5],normals:[0,-1.5*e,1,2,1*e,1,-2,1*e,1,0,0,0,0,0,0,0,0,0],dimensions:2}}function iM(e,t){const{width:r=2,height:i=2}=t;return{vertices:[0,i/2,e*r*1,i/2,e*r*1,-i/2,0,-i/2,0,i/2,e*r*1,i/2,e*r*1,-i/2,0,-i/2],dimensions:2,indices:[4,5,6,4,6,7],outLineIndices:[0,1,2,0,2,3],normals:[0,-e,1,1,0,1,0,-e,1,-1,-0,1,0,0,0,0,0,0,0,0,0,0,0,0]}}function nM(e,t){const{width:r=2,height:i=3}=t;return{vertices:[0,0,1*r*e,.5*i,2*r*e,0,1*r*e,-.5*i,0,0,1*r*e,.5*i,2*r*e,0,1*r*e,-.5*i],dimensions:2,indices:[4,5,6,4,6,7],outLineIndices:[0,1,2,0,2,3],normals:[0,-e,1,1,0,1,0,-e,1,-1,-0,1,0,0,0,0,0,0,0,0,0,0,0,0]}}function aM(e,t){const{width:r=2,height:i=3}=t;return{vertices:[0,0,2*e*r,1*i,1.5*e*r,0,2*e*r,-1*i,0,0,2*e*r,1*i,1.5*e*r,0,2*e*r,-1*i],dimensions:2,indices:[4,5,6,4,6,7],outLineIndices:[0,1,2,0,2,3],normals:[0,-e,1,1,0,1,0,-e,1,-1,-0,1,0,0,0,0,0,0,0,0,0,0,0,0]}}function sM(e,t){const{width:r=2,height:i=2}=t,s=V2(),u=Mc.flatten([s]),n=Mc(u.vertices,u.holes,u.dimensions),h=s.map(m=>[m[0]*r*e,m[1]*i]).flat();return{vertices:[...h,...h],dimensions:2,indices:n.map(m=>m+s.length),outLineIndices:n,normals:[...s.map(m=>[m[1]*i,m[0]*r*e,1]).flat(),...new Array(s.length*3).fill(0)]}}function uM(e,t=0,r){const i=typeof r.source=="object"?r.source.type:r.source,s=typeof r.target=="object"?r.target.type:r.target,{width:u=i?w4[i]:0}=typeof r.source=="object"?r.source:{},{width:n=s?w4[s]:0}=typeof r.target=="object"?r.target:{};return{vertices:[0,zs,1*u,...e,1,zs,-1*n,...e,1,-zs,-1*n,...e,0,-zs,1*u,...e,0,zs,1*u,...e,1,zs,-1*n,...e,1,-zs,-1*n,...e,0,-zs,1*u,...e],outLineIndices:[0,1,2,0,2,3].map(h=>h+t),indices:[4,5,6,4,6,7].map(h=>h+t),normals:[1,-1,1,1,1,1,-1,0,1,-1,0,1,0,0,0,0,0,0,0,0,0,0,0,0],dimensions:2}}function R4(e,t){const r=typeof e=="object"?e.type:e,i=t==="source"?1:-1,s=typeof e=="object"?e:{};switch(r){case"circle":return sM(i,s);case"triangle":return oM(i,s);case"diamond":return nM(i,s);case"rect":return iM(i,s);case"classic":return aM(i,s);case"halfTriangle":return rM(i,s);default:return{vertices:[],indices:[],normals:[],dimensions:2,outLineIndices:[],outLineNormals:[]}}}function pM(e){const t=e.coordinates.flat(),r=1,i=1;return{vertices:[1,0,0,...t,1,2,-3,...t,1,1,-3,...t,0,1,0,...t,0,0,0,...t,1,0,0,...t,1,2,-3,...t,1,1,-3,...t,0,1,0,...t,0,0,0,...t],normals:[-r,2*i,1,2*i,-i,1,i,-i,1,i,-i,1,-r,-i,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],indices:[0,1,2,0,2,3,0,3,4,5,6,7,5,7,8,5,8,9],size:7}}function cM(e,t){return t?lM(e,t):pM(e)}function lM(e,t){const r=e.coordinates.flat(),{target:i="classic",source:s="circle"}=t,u=C4(R4(s,"source"),r,0,0),n=uM(r,u.vertices.length/7,t),h=C4(R4(i,"target"),r,1,u.vertices.length/7+n.vertices.length/7);return{vertices:[...u.vertices,...n.vertices,...h.vertices],indices:[...u.outLineIndices,...n.outLineIndices,...h.outLineIndices,...u.indices,...n.indices,...h.indices],normals:[...u.normals,...n.normals,...h.normals],size:7}}function C4(e,t,r=1,i=0){const s=[],{vertices:u,indices:n,dimensions:h,outLineIndices:m}=e;for(let g=0;gg+i),outLineIndices:m.map(g=>g+i)})}const dM=`// #extension GL_OES_standard_derivatives : enable + +in vec4 v_color; +out vec4 outputColor; + + +// line texture + +#pragma include "picking" + +void main() { + outputColor = v_color; + outputColor = filterColor(outputColor); +} +`,yM=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_SIZE) in vec2 a_Size; +layout(location = ATTRIBUTE_LOCATION_INSTANCE) in vec4 a_Instance; +layout(location = ATTRIBUTE_LOCATION_INSTANCE_64LOW) in vec4 a_Instance64Low; +layout(location = ATTRIBUTE_LOCATION_NORMAL) in vec3 a_Normal; + +layout(std140) uniform commonUniorm { + float u_gap_width: 1.0; + float u_stroke_width: 1.0; + float u_stroke_opacity: 1.0; +}; + +#pragma include "projection" +#pragma include "project" +#pragma include "picking" + +out vec4 v_color; + +vec2 project_pixel_offset(vec2 offsets) { + vec2 data = project_pixel(offsets); + + return vec2(data.x, -data.y); +} + +vec2 line_dir(vec2 target, vec2 source) { + return normalize(ProjectFlat(target) - ProjectFlat(source)); +} + + +void main() { + // 透明度计算 + vec2 source_world = a_Instance.rg; // 起点 + vec2 target_world = a_Instance.ba; // 终点 + vec2 flowlineDir = line_dir(target_world, source_world); + vec2 perpendicularDir = vec2(-flowlineDir.y, flowlineDir.x); + + vec2 position = mix(source_world, target_world, a_Position.x); + vec2 position64Low = mix(a_Instance64Low.rg, a_Instance64Low.ba, a_Position.x); + + float lengthCommon = length( + project_position(vec4(target_world, 0, 1)) - project_position(vec4(source_world, 0, 1)) + ); + vec2 offsetDistances = a_Size.x * project_pixel_offset(vec2(a_Position.y, a_Position.z)); // Mapbox || 高德 + vec2 limitedOffsetDistances = clamp( + offsetDistances, + project_pixel(-lengthCommon * 0.2), + project_pixel(lengthCommon * 0.2) + ); + + float startOffsetCommon = project_pixel(offsets[0]); + float endOffsetCommon = project_pixel(offsets[1]); + float endpointOffset = mix( + clamp(startOffsetCommon, 0.0, lengthCommon * 0.2), + -clamp(endOffsetCommon, 0.0, lengthCommon * 0.2), + a_Position.x + ); + + vec2 normalsCommon = u_stroke_width * project_pixel_offset(vec2(a_Normal.x, a_Normal.y)); + + float gapCommon = -1. * project_pixel(u_gap_width); + vec3 offsetCommon = vec3( + flowlineDir * (limitedOffsetDistances[1] + normalsCommon.y + endpointOffset * 1.05) - + perpendicularDir * (limitedOffsetDistances[0] + gapCommon + normalsCommon.x), + 0.0 + ); + + vec4 project_pos = project_position(vec4(position.xy, 0, 1.0), position64Low); + + vec4 fillColor = vec4(a_Color.rgb, a_Color.a * opacity); + v_color = mix(fillColor, vec4(u_stroke.xyz, u_stroke.w * fillColor.w * u_stroke_opacity), a_Normal.z); + + gl_Position = project_common_position_to_clipspace(vec4(project_pos.xy + offsetCommon.xy, 0., 1.0)); + + setPickingColor(a_PickingColor); +} +`;class hM extends Pi{get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,SIZE:9,INSTANCE:10,INSTANCE_64LOW:11,NORMAL:12})}getCommonUniformsInfo(){const{gapWidth:t=2,strokeWidth:r=1,strokeOpacity:i=1}=this.layer.getLayerConfig(),s={u_gap_width:t,u_stroke_width:r,u_stroke_opacity:i};return this.getUniformsBufferInfo(s)}initModels(){var t=this;return mt(function*(){return t.initUniformsBuffer(),t.buildModels()})()}buildModels(){var t=this;return mt(function*(){return[yield t.layer.buildLayerModel({moduleName:"flow_line",vertexShader:yM,fragmentShader:dM,defines:t.getDefines(),inject:t.getInject(),triangulation:cM,styleOption:t.layer.getLayerConfig().symbol,primitive:L.TRIANGLES,depth:{enable:!1},pick:!1})]})()}registerBuiltinAttributes(){this.styleAttributeService.registerStyleAttribute({name:"size",type:br.Attribute,descriptor:{name:"a_Size",shaderLocation:this.attributeLocation.SIZE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:2,update:t=>{const{size:r=1}=t;return Array.isArray(r)?[r[0],r[1]]:[r,0]}}}),this.styleAttributeService.registerStyleAttribute({name:"instance",type:br.Attribute,descriptor:{name:"a_Instance",shaderLocation:this.attributeLocation.INSTANCE,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:4,update:(t,r,i)=>[i[3],i[4],i[5],i[6]]}}),this.styleAttributeService.registerStyleAttribute({name:"instance64Low",type:br.Attribute,descriptor:{name:"a_Instance64Low",shaderLocation:this.attributeLocation.INSTANCE_64LOW,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:4,update:(t,r,i)=>[ua(i[3]),ua(i[4]),ua(i[5]),ua(i[6])]}}),this.styleAttributeService.registerStyleAttribute({name:"normal",type:br.Attribute,descriptor:{name:"a_Normal",shaderLocation:this.attributeLocation.NORMAL,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:3,update:(t,r,i,s,u)=>u}})}}const fM=`#define LineTypeSolid 0.0 +#define LineTypeDash 1.0 +#define Animate 0.0 +#define LineTexture 1.0 + +uniform sampler2D u_texture; +layout(std140) uniform commonUniorm { + vec4 u_animate: [ 1., 2., 1.0, 0.2 ]; + vec4 u_dash_array: [10.0, 5., 0, 0]; + vec4 u_sourceColor; + vec4 u_targetColor; + vec2 u_textSize; + float segmentNumber; + float u_line_type: 0.0; + float u_icon_step: 100; + float u_line_texture: 0.0; + float u_textureBlend; + float u_time; + float u_linearColor: 0; +}; + +in vec4 v_dash_array; +in vec4 v_color; +in vec2 v_iconMapUV; +in vec4 v_line_data; +in float v_distance_ratio; + +out vec4 outputColor; +#pragma include "picking" +#pragma include "project" +#pragma include "projection" + +void main() { + + float animateSpeed = 0.0; + float d_segmentIndex = v_line_data.g; + + // 设置弧线的底色 + if(u_linearColor == 1.0) { // 使用渐变颜色 + outputColor = mix(u_sourceColor, u_targetColor, d_segmentIndex/segmentNumber); + outputColor.a *= v_color.a; + } else { // 使用 color 方法传入的颜色 + outputColor = v_color; + } + + // float blur = 1.- smoothstep(u_blur, 1., length(v_normal.xy)); + // float blur = smoothstep(1.0, u_blur, length(v_normal.xy)); + if(u_line_type == LineTypeDash) { + float dashLength = mod(v_distance_ratio, v_dash_array.x + v_dash_array.y + v_dash_array.z + v_dash_array.w); + if(dashLength < v_dash_array.x || (dashLength > (v_dash_array.x + v_dash_array.y) && dashLength < v_dash_array.x + v_dash_array.y + v_dash_array.z)) { + // 实线部分 + } else { + // 虚线部分 + discard; + }; + } + + // 设置弧线的动画模式 + if(u_animate.x == Animate) { + animateSpeed = u_time / u_animate.y; + float alpha =1.0 - fract( mod(1.0- v_distance_ratio, u_animate.z)* (1.0/ u_animate.z) + u_time / u_animate.y); + alpha = (alpha + u_animate.w -1.0) / u_animate.w; + alpha = smoothstep(0., 1., alpha); + outputColor.a *= alpha; + } + + // 设置弧线的贴图 + if(LineTexture == u_line_texture && u_line_type != LineTypeDash) { + float arcRadio = smoothstep( 0.0, 1.0, (d_segmentIndex / (segmentNumber - 1.0))); + // float arcRadio = d_segmentIndex / (segmentNumber - 1.0); + float count = v_line_data.b; // 贴图在弧线上重复的数量 + float u = fract(arcRadio * count - animateSpeed * count); + // float u = fract(arcRadio * count - animateSpeed); + if(u_animate.x == Animate) { + u = outputColor.a/v_color.a; + } + + float v = v_line_data.a; // 线图层贴图部分的 v 坐标值 + + vec2 uv= v_iconMapUV / u_textSize + vec2(u, v) / u_textSize * 64.; + vec4 pattern = texture(SAMPLER_2D(u_texture), uv); + + // 设置贴图和底色的叠加模式 + if(u_textureBlend == 0.0) { // normal + pattern.a = 0.0; + outputColor = filterColor(outputColor + pattern); + } else { // replace + pattern.a *= v_color.a; + if(outputColor.a <= 0.0) { + pattern.a = 0.0; + } + outputColor = filterColor(pattern); + } + } else { + outputColor = filterColor(outputColor); + } + + // gl_FragColor = filterColor(gl_FragColor); +} +`,mM=`#define LineTypeSolid (0.0) +#define LineTypeDash (1.0) +#define Animate (0.0) +#define LineTexture (1.0) + +layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_SIZE) in float a_Size; +layout(location = ATTRIBUTE_LOCATION_INSTANCE) in vec4 a_Instance; +layout(location = ATTRIBUTE_LOCATION_INSTANCE_64LOW) in vec4 a_Instance64Low; +layout(location = ATTRIBUTE_LOCATION_UV) in vec2 a_iconMapUV; + +layout(std140) uniform commonUniorm { + vec4 u_animate: [ 1., 2., 1.0, 0.2 ]; + vec4 u_dash_array: [10.0, 5., 0, 0]; + vec4 u_sourceColor; + vec4 u_targetColor; + vec2 u_textSize; + float segmentNumber; + float u_line_type: 0.0; + float u_icon_step: 100; + float u_line_texture: 0.0; + float u_textureBlend; + float u_time; + float u_linearColor: 0; +}; + +out vec4 v_dash_array; +out vec4 v_color; +out vec2 v_iconMapUV; +out vec4 v_line_data; +out float v_distance_ratio; + +#pragma include "projection" +#pragma include "project" +#pragma include "picking" + +float maps(float value, float start1, float stop1, float start2, float stop2) { + return start2 + (stop2 - start2) * ((value - start1) / (stop1 - start1)); +} + +float getSegmentRatio(float index) { + return index / (segmentNumber - 1.0); +} + +float paraboloid(vec2 source, vec2 target, float ratio) { + vec2 x = mix(source, target, ratio); + vec2 center = mix(source, target, 0.5); + float dSourceCenter = distance(source, center); + float dXCenter = distance(x, center); + return (dSourceCenter + dXCenter) * (dSourceCenter - dXCenter); +} + +vec3 getPos(vec2 source, vec2 target, float segmentRatio) { + float vertex_height = paraboloid(source, target, segmentRatio); + + return vec3(mix(source, target, segmentRatio), sqrt(max(0.0, vertex_height))); +} +vec2 getExtrusionOffset(vec2 line_clipspace, float offset_direction) { + // normalized direction of the line + vec2 dir_screenspace = normalize(line_clipspace); + // rotate by 90 degrees + dir_screenspace = vec2(-dir_screenspace.y, dir_screenspace.x); + vec2 offset = dir_screenspace * offset_direction * setPickingSize(a_Size) / 2.0; + return offset; +} +vec2 getNormal(vec2 line_clipspace, float offset_direction) { + // normalized direction of the line + vec2 dir_screenspace = normalize(line_clipspace); + // rotate by 90 degrees + dir_screenspace = vec2(-dir_screenspace.y, dir_screenspace.x); + return dir_screenspace.xy * sign(offset_direction); +} +float getAngularDist(vec2 source, vec2 target) { + vec2 delta = source - target; + vec2 sin_half_delta = sin(delta / 2.0); + float a = + sin_half_delta.y * sin_half_delta.y + + cos(source.y) * cos(target.y) * sin_half_delta.x * sin_half_delta.x; + return 2.0 * atan(sqrt(a), sqrt(1.0 - a)); +} + +vec2 midPoint(vec2 source, vec2 target) { + vec2 center = target - source; + float r = length(center); + float theta = atan(center.y, center.x); + float thetaOffset = 0.314; + float r2 = r / 2.0 / cos(thetaOffset); + float theta2 = theta + thetaOffset; + vec2 mid = vec2(r2 * cos(theta2) + source.x, r2 * sin(theta2) + source.y); + return mid; +} +float bezier3(vec3 arr, float t) { + float ut = 1.0 - t; + return (arr.x * ut + arr.y * t) * ut + (arr.y * ut + arr.z * t) * t; +} + +vec2 interpolate(vec2 source, vec2 target, float angularDist, float t) { + if (abs(angularDist - PI) < 0.001) { + return (1.0 - t) * source + t * target; + } + float a = sin((1.0 - t) * angularDist) / sin(angularDist); + float b = sin(t * angularDist) / sin(angularDist); + vec2 sin_source = sin(source); + vec2 cos_source = cos(source); + vec2 sin_target = sin(target); + vec2 cos_target = cos(target); + float x = a * cos_source.y * cos_source.x + b * cos_target.y * cos_target.x; + float y = a * cos_source.y * sin_source.x + b * cos_target.y * sin_target.x; + float z = a * sin_source.y + b * sin_target.y; + return vec2(atan(y, x), atan(z, sqrt(x * x + y * y))); + +} + +void main() { + v_color = a_Color; + v_color.a = v_color.a * opacity; + vec2 source = radians(a_Instance.rg); + vec2 target = radians(a_Instance.ba); + float angularDist = getAngularDist(source, target); + float segmentIndex = a_Position.x; + float segmentRatio = getSegmentRatio(segmentIndex); + float indexDir = mix(-1.0, 1.0, step(segmentIndex, 0.0)); + + if (u_line_type == LineTypeDash) { + v_distance_ratio = segmentIndex / segmentNumber; + float total_Distance = pixelDistance(source, target) / 2.0 * PI; + total_Distance = total_Distance * 16.0; // total_Distance*16.0 调整默认的效果 + v_dash_array = pow(2.0, 20.0 - u_Zoom) * u_dash_array / total_Distance; + } + + if (u_animate.x == Animate) { + v_distance_ratio = segmentIndex / segmentNumber; + } + + float nextSegmentRatio = getSegmentRatio(segmentIndex + indexDir); + v_distance_ratio = segmentIndex / segmentNumber; + + vec4 curr = project_position(vec4(degrees(interpolate(source, target, angularDist, segmentRatio)), 0.0, 1.0), a_Instance64Low.xy); + vec4 next = project_position(vec4(degrees(interpolate(source, target, angularDist, nextSegmentRatio)), 0.0, 1.0), a_Instance64Low.zw); + + // v_normal = getNormal((next.xy - curr.xy) * indexDir, a_Position.y); + vec2 offset = project_pixel(getExtrusionOffset((next.xy - curr.xy) * indexDir, a_Position.y)); + // vec4 project_pos = project_position(vec4(curr.xy, 0, 1.0)); + // gl_Position = project_common_position_to_clipspace(vec4(curr.xy + offset, curr.z, 1.0)); + + v_line_data.g = a_Position.x; // 该顶点在弧线上的分段排序 + if (LineTexture == u_line_texture) { + float d_arcDistrance = length(source - target); + d_arcDistrance = project_pixel(d_arcDistrance); + + float d_pixelLen = project_pixel(u_icon_step) / 8.0; + v_line_data.b = floor(d_arcDistrance / d_pixelLen); // 贴图在弧线上重复的数量 + + float lineOffsetWidth = length(offset + offset * sign(a_Position.y)); // 线横向偏移的距离 + float linePixelSize = project_pixel(a_Size); // 定点位置偏移,按地图等级缩放后的距离 + v_line_data.a = lineOffsetWidth / linePixelSize; // 线图层贴图部分的 v 坐标值 + + v_iconMapUV = a_iconMapUV; + } + + gl_Position = project_common_position_to_clipspace(vec4(curr.xy + offset, 0, 1.0)); + setPickingColor(a_PickingColor); +} + +`,_M={solid:0,dash:1};class gM extends Pi{constructor(...t){super(...t),H(this,"texture",void 0),H(this,"updateTexture",()=>{const{createTexture2D:r}=this.rendererService;if(this.texture){this.texture.update({data:this.iconService.getCanvas()}),this.layer.render();return}this.texture=r({data:this.iconService.getCanvas(),mag:L.NEAREST,min:L.NEAREST,premultiplyAlpha:!1,width:1024,height:this.iconService.canvasHeight||128}),this.textures=[this.texture]})}get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,SIZE:9,INSTANCE:10,INSTANCE_64LOW:11,UV:12})}getCommonUniformsInfo(){const{sourceColor:t,targetColor:r,textureBlend:i="normal",lineType:s="solid",dashArray:u=[10,5],lineTexture:n=!1,iconStep:h=100,segmentNumber:m=30}=this.layer.getLayerConfig(),{animateOption:g}=this.layer.getLayerConfig();if(u.length===2&&u.push(0,0),this.rendererService.getDirty()){var x;(x=this.texture)===null||x===void 0||x.bind()}let b=0,F=[0,0,0,0],R=[0,0,0,0];t&&r&&(F=Mi(t),R=Mi(r),b=1);let I=this.layer.getLayerAnimateTime();isNaN(I)&&(I=0);const B={u_animate:this.animateOption2Array(g),u_dash_array:u,u_sourceColor:F,u_targetColor:R,u_textSize:[1024,this.iconService.canvasHeight||128],segmentNumber:m,u_line_type:_M[s]||0,u_icon_step:h,u_line_texture:n?1:0,u_textureBlend:i==="normal"?0:1,u_time:I,u_linearColor:b};return this.getUniformsBufferInfo(B)}initModels(){var t=this;return mt(function*(){return t.initUniformsBuffer(),t.updateTexture(),t.iconService.on("imageUpdate",t.updateTexture),t.buildModels()})()}clearModels(){var t;(t=this.texture)===null||t===void 0||t.destroy(),this.iconService.off("imageUpdate",this.updateTexture)}buildModels(){var t=this;return mt(function*(){const{segmentNumber:r=30}=t.layer.getLayerConfig();return[yield t.layer.buildLayerModel({moduleName:"lineGreatCircle",vertexShader:mM,fragmentShader:fM,triangulation:B6,styleOption:{segmentNumber:r},defines:t.getDefines(),inject:t.getInject(),depth:{enable:!1}})]})()}registerBuiltinAttributes(){this.styleAttributeService.registerStyleAttribute({name:"size",type:br.Attribute,descriptor:{name:"a_Size",shaderLocation:this.attributeLocation.SIZE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:1,update:t=>{const{size:r=1}=t;return Array.isArray(r)?[r[0]]:[r]}}}),this.styleAttributeService.registerStyleAttribute({name:"instance",type:br.Attribute,descriptor:{name:"a_Instance",shaderLocation:this.attributeLocation.INSTANCE,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:4,update:(t,r,i)=>[i[3],i[4],i[5],i[6]]}}),this.styleAttributeService.registerStyleAttribute({name:"instance64Low",type:br.Attribute,descriptor:{name:"a_Instance64Low",shaderLocation:this.attributeLocation.INSTANCE_64LOW,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:4,update:(t,r,i)=>[ua(i[3]),ua(i[4]),ua(i[5]),ua(i[6])]}}),this.styleAttributeService.registerStyleAttribute({name:"uv",type:br.Attribute,descriptor:{name:"a_iconMapUV",shaderLocation:this.attributeLocation.UV,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:2,update:t=>{const r=this.iconService.getIconMap(),{texture:i}=t,{x:s,y:u}=r[i]||{x:0,y:0};return[s,u]}}})}}const vM=`// #extension GL_OES_standard_derivatives : enable +#define Animate 0.0 +#define LineTexture 1.0 + +uniform sampler2D u_texture; +layout(std140) uniform commonUniorm { + vec4 u_animate: [ 1., 2., 1.0, 0.2 ]; + vec4 u_dash_array; + vec4 u_blur; + vec4 u_sourceColor; + vec4 u_targetColor; + vec2 u_textSize; + float u_icon_step: 100; + float u_heightfixed: 0.0; + float u_vertexScale: 1.0; + float u_raisingHeight: 0.0; + float u_strokeWidth: 0.0; + float u_textureBlend; + float u_line_texture; + float u_linearDir: 1.0; + float u_linearColor: 0; + float u_time; +}; + +in vec4 v_color; +in vec4 v_stroke; +// dash +in vec4 v_dash_array; +in float v_d_distance_ratio; +in vec2 v_iconMapUV; +in vec4 v_texture_data; + +out vec4 outputColor; +#pragma include "picking" + +// [animate, duration, interval, trailLength], +void main() { + if(u_dash_array!=vec4(0.0)){ + float dashLength = mod(v_d_distance_ratio, v_dash_array.x + v_dash_array.y + v_dash_array.z + v_dash_array.w); + if(!(dashLength < v_dash_array.x || (dashLength > (v_dash_array.x + v_dash_array.y) && dashLength < v_dash_array.x + v_dash_array.y + v_dash_array.z))) { + // 虚线部分 + discard; + }; + } + float animateSpeed = 0.0; // 运动速度 + float d_distance_ratio = v_texture_data.r; // 当前点位距离占线总长的比例 + if(u_linearDir < 1.0) { + d_distance_ratio = v_texture_data.a; + } + if(u_linearColor == 1.0) { // 使用渐变颜色 + outputColor = mix(u_sourceColor, u_targetColor, d_distance_ratio); + outputColor.a *= v_color.a; + } else { // 使用 color 方法传入的颜色 + outputColor = v_color; + } + // anti-alias + // float blur = 1.0 - smoothstep(u_blur, 1., length(v_normal.xy)); + if(u_animate.x == Animate) { + animateSpeed = u_time / u_animate.y; + float alpha =1.0 - fract( mod(1.0- d_distance_ratio, u_animate.z)* (1.0/ u_animate.z) + animateSpeed); + alpha = (alpha + u_animate.w -1.0) / u_animate.w; + alpha = smoothstep(0., 1., alpha); + outputColor.a *= alpha; + } + + if(u_line_texture == LineTexture) { // while load texture + float aDistance = v_texture_data.g; // 当前顶点的距离 + float d_texPixelLen = v_texture_data.b; // 贴图的像素长度,根据地图层级缩放 + float u = fract(mod(aDistance, d_texPixelLen)/d_texPixelLen - animateSpeed); + float v = v_texture_data.a; // 线图层贴图部分的 v 坐标值 + + // v = max(smoothstep(0.95, 1.0, v), v); + vec2 uv= v_iconMapUV / u_textSize + vec2(u, v) / u_textSize * 64.; + vec4 pattern = texture(SAMPLER_2D(u_texture), uv); + + if(u_textureBlend == 0.0) { // normal + pattern.a = 0.0; + outputColor += pattern; + } else { // replace + pattern.a *= v_color.a; + if(outputColor.a <= 0.0) { + pattern.a = 0.0; + } + outputColor = pattern; + } + } + + float v = v_texture_data.a; + float strokeWidth = min(0.5, u_strokeWidth); + // 绘制 border + if(strokeWidth > 0.01) { + float borderOuterWidth = strokeWidth / 2.0; + + + if(v >= 1.0 - strokeWidth || v <= strokeWidth) { + if(v > strokeWidth) { // 外侧 + float linear = smoothstep(0.0, 1.0, (v - (1.0 - strokeWidth))/strokeWidth); + // float linear = step(0.0, (v - (1.0 - borderWidth))/borderWidth); + outputColor.rgb = mix(outputColor.rgb, v_stroke.rgb, linear); + } else if(v <= strokeWidth) { + float linear = smoothstep(0.0, 1.0, v/strokeWidth); + outputColor.rgb = mix(v_stroke.rgb, outputColor.rgb, linear); + } + } + + if(v < borderOuterWidth) { + outputColor.a = mix(0.0, outputColor.a, v/borderOuterWidth); + } else if(v > 1.0 - borderOuterWidth) { + outputColor.a = mix(outputColor.a, 0.0, (v - (1.0 - borderOuterWidth))/borderOuterWidth); + } + } + + // blur + float blurV = v_texture_data.a; + if(blurV < 0.5) { + outputColor.a *= mix(u_blur.r, u_blur.g, blurV/0.5); + } else { + outputColor.a *= mix(u_blur.g, u_blur.b, (blurV - 0.5)/0.5); + } + + outputColor = filterColor(outputColor); +} +`,EM=`#define Animate (0.0) + +layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_POSITION_64LOW) in vec2 a_Position64Low; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_SIZE) in vec2 a_Size; +layout(location = ATTRIBUTE_LOCATION_DISTANCE_INDEX) in vec3 a_DistanceAndIndexAndMiter; +layout(location = ATTRIBUTE_LOCATION_NORMAL) in vec4 a_Normal_Total_Distance; +layout(location = ATTRIBUTE_LOCATION_UV) in vec2 a_iconMapUV; + +layout(std140) uniform commonUniorm { + vec4 u_animate: [ 1., 2., 1.0, 0.2 ]; + vec4 u_dash_array; + vec4 u_blur; + vec4 u_sourceColor; + vec4 u_targetColor; + vec2 u_textSize; + float u_icon_step: 100; + float u_heightfixed: 0.0; + float u_vertexScale: 1.0; + float u_raisingHeight: 0.0; + float u_strokeWidth: 0.0; + float u_textureBlend; + float u_line_texture; + float u_linearDir: 1.0; + float u_linearColor: 0; + float u_time; +}; + +out vec4 v_color; +out vec4 v_stroke; +//dash +out vec4 v_dash_array; +out float v_d_distance_ratio; +// texV 线图层 - 贴图部分的 v 坐标(线的宽度方向) +out vec2 v_iconMapUV; +out vec4 v_texture_data; + +#pragma include "projection" +#pragma include "picking" + +void main() { + vec2 a_DistanceAndIndex = a_DistanceAndIndexAndMiter.xy; + float a_Miter = a_DistanceAndIndexAndMiter.z; + vec3 a_Normal = a_Normal_Total_Distance.xyz; + float a_Total_Distance = a_Normal_Total_Distance.w; + //dash输出 + v_dash_array = pow(2.0, 20.0 - u_Zoom) * u_dash_array / a_Total_Distance; + v_d_distance_ratio = a_DistanceAndIndex.x / a_Total_Distance; + + // cal style mapping - 数据纹理映射部分的计算 + float d_texPixelLen; // 贴图的像素长度,根据地图层级缩放 + v_iconMapUV = a_iconMapUV; + d_texPixelLen = project_float_pixel(u_icon_step); + + v_color = a_Color; + v_color.a *= opacity; + v_stroke = stroke; + + vec3 size = a_Miter * setPickingSize(a_Size.x) * a_Normal; + + vec2 offset = project_pixel(size.xy); + + float lineDistance = a_DistanceAndIndex.x; + float currentLinePointRatio = lineDistance / a_Total_Distance; + + float lineOffsetWidth = length(offset + offset * sign(a_Miter)); // 线横向偏移的距离(向两侧偏移的和) + float linePixelSize = project_pixel(a_Size.x) * 2.0; // 定点位置偏移,按地图等级缩放后的距离 单侧 * 2 + float texV = lineOffsetWidth / linePixelSize; // 线图层贴图部分的 v 坐标值 + + v_texture_data = vec4(currentLinePointRatio, lineDistance, d_texPixelLen, texV); + // 设置数据集的参数 + + vec4 project_pos = project_position(vec4(a_Position.xy, 0, 1.0), a_Position64Low); + + // gl_Position = project_common_position_to_clipspace(vec4(project_pos.xy + offset, a_Size.y, 1.0)); + + float h = float(a_Position.z) * u_vertexScale; // 线顶点的高度 - 兼容不存在第三个数值的情况 vertex height + float lineHeight = a_Size.y; // size 第二个参数代表的高度 [linewidth, lineheight] + + // 兼容 mapbox 在线高度上的效果表现基本一致 + if ( + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT || + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT_OFFSET + ) { + // mapbox + // 保持高度相对不变 + float mapboxZoomScale = 4.0 / pow(2.0, 21.0 - u_Zoom); + h *= mapboxZoomScale; + h += u_raisingHeight * mapboxZoomScale; + if (u_heightfixed > 0.0) { + lineHeight *= mapboxZoomScale; + } + } + + gl_Position = project_common_position_to_clipspace( + vec4(project_pos.xy + offset, lineHeight + h, 1.0) + ); + + setPickingColor(a_PickingColor); +} +`;class e7 extends Pi{constructor(...t){super(...t),H(this,"textureEventFlag",!1),H(this,"texture",this.createTexture2D({data:new Uint8Array([0,0,0,0]),width:1,height:1})),H(this,"updateTexture",()=>{const{createTexture2D:r}=this.rendererService;if(this.textures.length===0&&(this.textures=[this.texture]),this.texture){this.texture.update({data:this.iconService.getCanvas()}),this.layer.render();return}this.texture=r({data:this.iconService.getCanvas(),mag:L.NEAREST,min:L.NEAREST,premultiplyAlpha:!1,width:1024,height:this.iconService.canvasHeight||128})})}get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,SIZE:9,DISTANCE_INDEX:10,NORMAL:11,UV:12})}getCommonUniformsInfo(){const{sourceColor:t,targetColor:r,textureBlend:i="normal",lineType:s="solid",dashArray:u=[10,5,0,0],lineTexture:n=!1,iconStep:h=100,vertexHeightScale:m=20,strokeWidth:g=0,raisingHeight:x=0,heightfixed:b=!1,linearDir:F=h4.VERTICAL,blur:R=[1,1,1,0]}=this.layer.getLayerConfig();let I=u;if(s!=="dash"&&(I=[0,0,0,0]),I.length===2&&I.push(0,0),this.rendererService.getDirty()&&this.texture){var B;(B=this.texture)===null||B===void 0||B.bind()}const{animateOption:V}=this.layer.getLayerConfig();let J=0,Q=[0,0,0,0],te=[0,0,0,0];t&&r&&(Q=Mi(t),te=Mi(r),J=1);const ne={u_animate:this.animateOption2Array(V),u_dash_array:I,u_blur:R,u_sourceColor:Q,u_targetColor:te,u_textSize:[1024,this.iconService.canvasHeight||128],u_icon_step:h,u_heightfixed:Number(b),u_vertexScale:m,u_raisingHeight:Number(x),u_strokeWidth:g,u_textureBlend:i===yI.NORMAL?0:1,u_line_texture:n?1:0,u_linearDir:F===h4.VERTICAL?1:0,u_linearColor:J,u_time:this.layer.getLayerAnimateTime()||0};return this.getUniformsBufferInfo(ne)}initModels(){var t=this;return mt(function*(){return t.initUniformsBuffer(),t.textureEventFlag||(t.textureEventFlag=!0,t.updateTexture(),t.iconService.on("imageUpdate",t.updateTexture)),t.buildModels()})()}clearModels(){var t;(t=this.texture)===null||t===void 0||t.destroy(),this.iconService.off("imageUpdate",this.updateTexture)}buildModels(){var t=this;return mt(function*(){const{depth:r=!1}=t.layer.getLayerConfig(),{frag:i,vert:s,type:u}=t.getShaders();return t.layer.triangulation=H2,[yield t.layer.buildLayerModel({moduleName:"line"+u,vertexShader:s,fragmentShader:i,triangulation:H2,defines:t.getDefines(),inject:t.getInject(),depth:{enable:r}})]})()}getShaders(){return{frag:vM,vert:EM,type:""}}registerBuiltinAttributes(){this.registerPosition64LowAttribute(),this.styleAttributeService.registerStyleAttribute({name:"distanceAndIndex",type:br.Attribute,descriptor:{name:"a_DistanceAndIndexAndMiter",shaderLocation:this.attributeLocation.DISTANCE_INDEX,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:3,update:(t,r,i,s,u,n)=>n===void 0?[i[3],10,i[4]]:[i[3],n,i[4]]}}),this.styleAttributeService.registerStyleAttribute({name:"size",type:br.Attribute,descriptor:{name:"a_Size",shaderLocation:this.attributeLocation.SIZE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:2,update:t=>{const{size:r=1}=t;return Array.isArray(r)?[r[0],r[1]]:[r,0]}}}),this.styleAttributeService.registerStyleAttribute({name:"normal_total_distance",type:br.Attribute,descriptor:{name:"a_Normal_Total_Distance",shaderLocation:this.attributeLocation.NORMAL,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:4,update:(t,r,i,s,u)=>[...u,i[5]]}}),this.styleAttributeService.registerStyleAttribute({name:"uv",type:br.Attribute,descriptor:{name:"a_iconMapUV",shaderLocation:this.attributeLocation.UV,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:2,update:t=>{const r=this.iconService.getIconMap(),{texture:i}=t,{x:s,y:u}=r[i]||{x:0,y:0};return[s,u]}}})}}const xM=` +layout(std140) uniform commonUniorm { + vec4 u_sourceColor; + vec4 u_targetColor; + vec4 u_dash_array; + float u_vertexScale: 1.0; + float u_linearColor: 0; +}; +in float v_distanceScale; +in vec4 v_color; +//dash +in vec4 v_dash_array; + +out vec4 outputColor; +void main() { + if(u_dash_array!=vec4(0.0)){ + float dashLength = mod(v_distanceScale, v_dash_array.x + v_dash_array.y + v_dash_array.z + v_dash_array.w); + if(!(dashLength < v_dash_array.x || (dashLength > (v_dash_array.x + v_dash_array.y) && dashLength < v_dash_array.x + v_dash_array.y + v_dash_array.z))) { + // 虚线部分 + discard; + }; + } + if(u_linearColor==1.0){ + outputColor = mix(u_sourceColor, u_targetColor, v_distanceScale); + outputColor.a *= v_color.a; // 全局透明度 + } + else{ + outputColor = v_color; + } +} +`,PM=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_POSITION_64LOW) in vec2 a_Position64Low; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_SIZE) in vec4 a_SizeDistanceAndTotalDistance; + +layout(std140) uniform commonUniorm { + vec4 u_sourceColor; + vec4 u_targetColor; + vec4 u_dash_array; + float u_vertexScale: 1.0; + float u_linearColor: 0; +}; + +#pragma include "projection" +#pragma include "picking" + +out vec4 v_color; +out float v_distanceScale; +out vec4 v_dash_array; + +void main() { + //dash输出 + v_dash_array = pow(2.0, 20.0 - u_Zoom) * u_dash_array / a_SizeDistanceAndTotalDistance.a; + + v_color = a_Color; + v_distanceScale = a_SizeDistanceAndTotalDistance.b / a_SizeDistanceAndTotalDistance.a; + v_color.a = v_color.a * opacity; + vec4 project_pos = project_position(vec4(a_Position.xy, 0, 1.0), a_Position64Low); + + float h = float(a_Position.z) * u_vertexScale; // 线顶点的高度 - 兼容不存在第三个数值的情况 + + float lineHeight = a_SizeDistanceAndTotalDistance.y; + // 兼容 mapbox 在线高度上的效果表现基本一致 + if ( + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT || + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT_OFFSET + ) { + // 保持高度相对不变 + h *= 2.0 / pow(2.0, 20.0 - u_Zoom); + } + + gl_Position = project_common_position_to_clipspace(vec4(project_pos.xy, lineHeight + h, 1.0)); + gl_PointSize = 10.0; + +} +`;class bM extends Pi{get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,SIZE:9})}getCommonUniformsInfo(){const{sourceColor:t,targetColor:r,lineType:i="solid",dashArray:s=[10,5,0,0],vertexHeightScale:u=20}=this.layer.getLayerConfig();let n=s;i!=="dash"&&(n=[0,0,0,0]),n.length===2&&n.push(0,0);let h=0,m=[0,0,0,0],g=[0,0,0,0];t&&r&&(m=Mi(t),g=Mi(r),h=1);const x={u_sourceColor:m,u_targetColor:g,u_dash_array:n,u_vertexScale:u,u_linearColor:h};return this.getUniformsBufferInfo(x)}initModels(){var t=this;return mt(function*(){return t.buildModels()})()}getShaders(){return{frag:xM,vert:PM,type:"lineSimpleNormal"}}buildModels(){var t=this;return mt(function*(){t.initUniformsBuffer();const{frag:r,vert:i,type:s}=t.getShaders();return[yield t.layer.buildLayerModel({moduleName:s,vertexShader:i,fragmentShader:r,triangulation:vI,defines:t.getDefines(),inject:t.getInject(),primitive:L.LINES,depth:{enable:!1},pick:!1})]})()}registerBuiltinAttributes(){this.registerPosition64LowAttribute(),this.styleAttributeService.registerStyleAttribute({name:"sizeDistanceAndTotalDistance",type:br.Attribute,descriptor:{name:"a_SizeDistanceAndTotalDistance",shaderLocation:this.attributeLocation.SIZE,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:4,update:(t,r,i)=>{const{size:s=1}=t,u=Array.isArray(s)?[s[0],s[1]]:[s,0];return[u[0],u[1],i[3],i[5]]}}})}}const AM=`#define Animate 0.0 +#define LineTexture 1.0 + +// line texture + +uniform sampler2D u_texture; +layout(std140) uniform commonUniorm { + vec4 u_animate: [ 1., 2., 1.0, 0.2 ]; + vec4 u_sourceColor; + vec4 u_targetColor; + vec2 u_textSize; + float u_icon_step: 100; + float u_heightfixed; + float u_linearColor: 0; + float u_line_texture; + float u_textureBlend; + float u_iconStepCount; + float u_time; +}; + + +in vec2 v_iconMapUV; +in vec4 v_color; +in float v_blur; +in vec4 v_dataset; + +out vec4 outputColor; + +#pragma include "picking" + +void main() { + float animateSpeed = 0.0; // 运动速度 + float d_distance_ratio = v_dataset.r; // 当前点位距离占线总长的比例 + float v = v_dataset.a; + + if(u_linearColor == 1.0) { // 使用渐变颜色 + outputColor = mix(u_sourceColor, u_targetColor, v); + } else { // 使用 color 方法传入的颜色 + outputColor = v_color; + } + + outputColor.a *= v_color.a; // 全局透明度 + if(u_animate.x == Animate) { + animateSpeed = u_time / u_animate.y; + float alpha =1.0 - fract( mod(1.0- d_distance_ratio, u_animate.z)* (1.0/ u_animate.z) + animateSpeed); + alpha = (alpha + u_animate.w -1.0) / u_animate.w; + alpha = smoothstep(0., 1., alpha); + outputColor.a *= alpha; + } + + if(u_line_texture == LineTexture) { // while load texture + float aDistance = v_dataset.g; // 当前顶点的距离 + float d_texPixelLen = v_dataset.b; // 贴图的像素长度,根据地图层级缩放 + float u = fract(mod(aDistance, d_texPixelLen)/d_texPixelLen - animateSpeed); + float v = v_dataset.a; // 线图层贴图部分的 v 坐标值 + + // 计算纹理间隔 start + float flag = 0.0; + if(u > 1.0/u_iconStepCount) { + flag = 1.0; + } + u = fract(u*u_iconStepCount); + // 计算纹理间隔 end + + vec2 uv= v_iconMapUV / u_textSize + vec2(u, v) / u_textSize * 64.; + vec4 pattern = texture(SAMPLER_2D(u_texture), uv); + + // Tip: 判断纹理间隔 + if(flag > 0.0) { + pattern = vec4(0.0); + } + + if(u_textureBlend == 0.0) { // normal + pattern.a = 0.0; + outputColor = filterColor(outputColor + pattern); + } else { // replace + pattern.a *= v_color.a; + if(outputColor.a <= 0.0) { + pattern.a = 0.0; + } + outputColor = filterColor(pattern); + } + } + + + // blur - AA + if(v < v_blur) { + outputColor.a = mix(0.0, outputColor.a, v/v_blur); + } else if(v > 1.0 - v_blur) { + outputColor.a = mix(outputColor.a, 0.0, (v - (1.0 - v_blur))/v_blur); + } + + outputColor = filterColor(outputColor); +} +`,FM=`#define Animate 0.0 +layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_POSITION_64LOW) in vec2 a_Position64Low; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_SIZE) in vec2 a_Size; +layout(location = ATTRIBUTE_LOCATION_NORMAL) in vec3 a_Normal; +layout(location = ATTRIBUTE_LOCATION_UV) in vec2 a_iconMapUV; +layout(location = ATTRIBUTE_LOCATION_DISTANCE_MITER_TOTAL) in vec3 a_Distance_Total_Miter; + +layout(std140) uniform commonUniorm { + vec4 u_animate: [ 1., 2., 1.0, 0.2 ]; + vec4 u_sourceColor; + vec4 u_targetColor; + vec2 u_textSize; + float u_icon_step: 100; + float u_heightfixed; + float u_linearColor: 0; + float u_line_texture; + float u_textureBlend; + float u_iconStepCount; + float u_time; +}; + +// texV 线图层 - 贴图部分的 v 坐标(线的宽度方向) +out vec2 v_iconMapUV; +out vec4 v_color; +out float v_blur; +out vec4 v_dataset; + +#pragma include "projection" +#pragma include "light" +#pragma include "picking" + +void main() { + float a_Distance = a_Distance_Total_Miter.x; + float a_Miter = a_Distance_Total_Miter.y; + float a_Total_Distance = a_Distance_Total_Miter.z; + + float d_distance_ratio; // 当前点位距离占线总长的比例 + float d_texPixelLen; // 贴图的像素长度,根据地图层级缩放 + + v_iconMapUV = a_iconMapUV; + if (u_heightfixed < 1.0) { + // 高度随 zoom 调整 + d_texPixelLen = project_pixel(u_icon_step); + } else { + d_texPixelLen = u_icon_step; + } + + if (u_animate.x == Animate || u_linearColor == 1.0) { + d_distance_ratio = a_Distance / a_Total_Distance; + } + + float miter = (a_Miter + 1.0) / 2.0; + // 设置数据集的参数 + v_dataset[0] = d_distance_ratio; // 当前点位距离占线总长的比例 + v_dataset[1] = a_Distance; // 当前顶点的距离 + v_dataset[2] = d_texPixelLen; // 贴图的像素长度,根据地图层级缩放 + v_dataset[3] = miter; // 线图层贴图部分的 v 坐标值 0 - 1 + + vec4 project_pos = project_position(vec4(a_Position.xy, 0, 1.0), a_Position64Low); + + float originSize = a_Size.x; // 固定高度 + if (u_heightfixed < 1.0) { + originSize = project_float_meter(a_Size.x); // 高度随 zoom 调整 + } + + float wallHeight = originSize * miter; + float lightWeight = calc_lighting(vec4(project_pos.xy, wallHeight, 1.0)); + + v_blur = min(project_float_pixel(2.0) / originSize, 0.05); + v_color = vec4(a_Color.rgb * lightWeight, a_Color.w * opacity); + + // 兼容 mapbox 在线高度上的效果表现基本一致 + if ( + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT || + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT_OFFSET + ) { + // mapbox + // 保持高度相对不变 + float mapboxZoomScale = 4.0 / pow(2.0, 21.0 - u_Zoom); + if (u_heightfixed > 0.0) { + wallHeight *= mapboxZoomScale; + } + } + + gl_Position = project_common_position_to_clipspace(vec4(project_pos.xy, wallHeight, 1.0)); + + setPickingColor(a_PickingColor); +} +`;class TM extends Pi{constructor(...t){super(...t),H(this,"texture",void 0),H(this,"updateTexture",()=>{const{createTexture2D:r}=this.rendererService;if(this.texture){this.texture.update({data:this.iconService.getCanvas()}),this.layer.render();return}this.texture=r({data:this.iconService.getCanvas(),mag:L.NEAREST,min:L.NEAREST,premultiplyAlpha:!1,width:1024,height:this.iconService.canvasHeight||128}),this.textures=[this.texture]})}get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,SIZE:9,NORMAL:12,UV:13,DISTANCE_MITER_TOTAL:15})}getCommonUniformsInfo(){const{sourceColor:t,targetColor:r,textureBlend:i="normal",heightfixed:s=!1,lineTexture:u=!1,iconStep:n=100,iconStepCount:h=1}=this.layer.getLayerConfig(),{animateOption:m}=this.layer.getLayerConfig();if(this.rendererService.getDirty()){var g;(g=this.texture)===null||g===void 0||g.bind()}let x=0,b=[0,0,0,0],F=[0,0,0,0];t&&r&&(b=Mi(t),F=Mi(r),x=1);const R={u_animate:this.animateOption2Array(m),u_sourceColor:b,u_targetColor:F,u_textSize:[1024,this.iconService.canvasHeight||128],u_icon_step:n,u_heightfixed:Number(s),u_linearColor:x,u_line_texture:u?1:0,u_textureBlend:i==="normal"?0:1,u_iconStepCount:h,u_time:this.layer.getLayerAnimateTime()||0};return this.getUniformsBufferInfo(R)}initModels(){var t=this;return mt(function*(){return t.initUniformsBuffer(),t.updateTexture(),t.iconService.on("imageUpdate",t.updateTexture),t.buildModels()})()}clearModels(){var t;(t=this.texture)===null||t===void 0||t.destroy(),this.iconService.off("imageUpdate",this.updateTexture)}buildModels(){var t=this;return mt(function*(){return[yield t.layer.buildLayerModel({moduleName:"lineWall",vertexShader:FM,fragmentShader:AM,triangulation:H2,defines:t.getDefines(),inject:t.getInject(),depth:{enable:!1},blend:t.getBlend()})]})()}registerBuiltinAttributes(){this.registerPosition64LowAttribute(),this.styleAttributeService.registerStyleAttribute({name:"size",type:br.Attribute,descriptor:{name:"a_Size",shaderLocation:this.attributeLocation.SIZE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:2,update:t=>{const{size:r=1}=t;return Array.isArray(r)?[r[0],r[1]]:[r,0]}}}),this.styleAttributeService.registerStyleAttribute({name:"normal",type:br.Attribute,descriptor:{name:"a_Normal",shaderLocation:this.attributeLocation.NORMAL,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:3,update:(t,r,i,s,u)=>u}}),this.styleAttributeService.registerStyleAttribute({name:"distanceAndTotalAndMiter",type:br.Attribute,descriptor:{name:"a_Distance_Total_Miter",shaderLocation:this.attributeLocation.DISTANCE_MITER_TOTAL,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:3,update:(t,r,i)=>[i[3],i[4],i[5]]}}),this.styleAttributeService.registerStyleAttribute({name:"uv",type:br.Attribute,descriptor:{name:"a_iconMapUV",shaderLocation:this.attributeLocation.UV,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:2,update:t=>{const r=this.iconService.getIconMap(),{texture:i}=t,{x:s,y:u}=r[i]||{x:0,y:0};return[s,u]}}})}}const SM={arc:QI,arc3d:S4,greatcircle:gM,wall:TM,line:e7,simple:bM,flowline:hM,earthArc3d:S4};class t7 extends A1{constructor(...t){super(...t),H(this,"type","LineLayer"),H(this,"enableShaderEncodeStyles",["stroke","offsets","opacity","thetaOffset"]),H(this,"arrowInsertCount",0),H(this,"defaultSourceConfig",{data:[{lng1:100,lat1:30,lng2:130,lat2:30}],options:{parser:{type:"json",x:"lng1",y:"lat1",x1:"lng2",y1:"lat2"}}})}buildModels(){var t=this;return mt(function*(){const r=t.getModelType();t.layerModel=new SM[r](t),yield t.initLayerModels()})()}getDefaultConfig(){const t=this.getModelType();return{line:{},linearline:{},simple:{},wall:{},arc3d:{blend:"additive"},arc:{blend:"additive"},greatcircle:{blend:"additive"},tileLine:{},earthArc3d:{},flowline:{},arrow:{}}[t]}getModelType(){var t;if(this.layerType)return this.layerType;const r=this.styleAttributeService.getLayerStyleAttribute("shape");return(r==null||(t=r.scale)===null||t===void 0?void 0:t.field)||"line"}processData(t){if(this.getModelType()!=="simple")return t;const r=[];return t.map(i=>{if(Array.isArray(i.coordinates)&&Array.isArray(i.coordinates[0])&&Array.isArray(i.coordinates[0][0])){const s=_t({},i);i.coordinates.map(u=>{r.push(_t(_t({},s),{},{coordinates:u}))})}else r.push(i)}),r}}const wM=` +layout(std140) uniform commonUniorm { + vec4 u_stroke_color; + float u_additive; + float u_stroke_opacity; + float u_stroke_width; +}; + +in vec4 v_color; +in float v_blur; +in float v_innerRadius; + +out vec4 outputColor; + +#pragma include "picking" +void main() { + vec2 center = vec2(0.5); + + // Tip: 片元到中心点的距离 0 - 1 + float fragmengTocenter = distance(center, gl_PointCoord) * 2.0; + // Tip: 片元的剪切成圆形 + float circleClipOpacity = 1.0 - smoothstep(v_blur, 1.0, fragmengTocenter); + + + if(v_innerRadius < 0.99) { + // 当存在 stroke 且 stroke > 0.01 + float blurWidth = (1.0 - v_blur)/2.0; + vec4 stroke = vec4(u_stroke_color.rgb, u_stroke_opacity); + if(fragmengTocenter > v_innerRadius + blurWidth) { + outputColor = stroke; + } else if(fragmengTocenter > v_innerRadius - blurWidth){ + float mixR = (fragmengTocenter - (v_innerRadius - blurWidth)) / (blurWidth * 2.0); + outputColor = mix(v_color, stroke, mixR); + } else { + outputColor = v_color; + } + } else { + // 当不存在 stroke 或 stroke <= 0.01 + outputColor = v_color; + } + + outputColor = filterColor(outputColor); + + if(u_additive > 0.0) { + outputColor *= circleClipOpacity; + } else { + outputColor.a *= circleClipOpacity; + } + +} +`,RM=` +layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_POSITION_64LOW) in vec2 a_Position64Low; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_SIZE) in float a_Size; + +layout(std140) uniform commonUniorm { + vec4 u_stroke_color; + float u_additive; + float u_stroke_opacity; + float u_stroke_width; +}; + +out vec4 v_color; +out float v_blur; +out float v_innerRadius; + +#pragma include "projection" +#pragma include "picking" +#pragma include "project" +void main() { + v_color = vec4(a_Color.xyz, a_Color.w * opacity); + v_blur = 1.0 - max(2.0 / a_Size, 0.05); + v_innerRadius = max((a_Size - u_stroke_width) / a_Size, 0.0); + + vec2 offset = project_pixel(u_offsets); + + vec4 project_pos = project_position(vec4(a_Position, 1.0), a_Position64Low); + gl_Position = project_common_position_to_clipspace(vec4(vec2(project_pos.xy+offset),project_pos.z,project_pos.w)); + + gl_PointSize = a_Size * 2.0 * u_DevicePixelRatio; + setPickingColor(a_PickingColor); +} +`;function I4(e){const t=e.coordinates;return{vertices:[...t],indices:[0],size:t.length}}class CM extends Pi{get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,SIZE:9})}getDefaultStyle(){return{blend:"additive"}}getCommonUniformsInfo(){const{blend:t,strokeOpacity:r=1,strokeWidth:i=0,stroke:s="#fff"}=this.layer.getLayerConfig(),u={u_stroke_color:Mi(s),u_additive:t==="additive"?1:0,u_stroke_opacity:r,u_stroke_width:i};return this.getUniformsBufferInfo(u)}initModels(){var t=this;return mt(function*(){return t.buildModels()})()}buildModels(){var t=this;return mt(function*(){return t.layer.triangulation=I4,t.initUniformsBuffer(),[yield t.layer.buildLayerModel({moduleName:"pointSimple",vertexShader:RM,fragmentShader:wM,defines:t.getDefines(),inject:t.getInject(),triangulation:I4,depth:{enable:!1},primitive:L.POINTS})]})()}registerBuiltinAttributes(){this.registerPosition64LowAttribute(),this.styleAttributeService.registerStyleAttribute({name:"size",type:br.Attribute,descriptor:{name:"a_Size",shaderLocation:this.attributeLocation.SIZE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:1,update:t=>{const{size:r=1}=t;return Array.isArray(r)?[r[0]]:[r]}}})}}const IM=`precision highp float; +in vec4 v_color; + +#pragma include "picking" + +layout(std140) uniform commonUniform { + vec4 u_sourceColor; + vec4 u_targetColor; + float u_linearColor: 0; + float u_heightfixed: 0.0; // 默认不固定 + float u_globel; + float u_r; + float u_pickLight: 0.0; + float u_opacitylinear: 0.0; + float u_opacitylinear_dir: 1.0; + float u_lightEnable: 1.0; +}; +in float v_lightWeight; +in float v_barLinearZ; +out vec4 outputColor; +void main() { + + outputColor = v_color; + + // 开启透明度渐变 + if(u_opacitylinear > 0.0) { + outputColor.a *= u_opacitylinear_dir > 0.0 ? (1.0 - v_barLinearZ): v_barLinearZ; + } + + // picking + if(u_pickLight > 0.0) { + outputColor = filterColorAlpha(outputColor, v_lightWeight); + } else { + outputColor = filterColor(outputColor); + } +} +`,MM=`precision highp float; + +#define pi 3.1415926535 +#define ambientRatio 0.5 +#define diffuseRatio 0.3 +#define specularRatio 0.2 + +layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_SIZE) in vec3 a_Size; +layout(location = ATTRIBUTE_LOCATION_POS) in vec3 a_Pos; +layout(location = ATTRIBUTE_LOCATION_NORMAL) in vec3 a_Normal; + +layout(std140) uniform commonUniform { + vec4 u_sourceColor; + vec4 u_targetColor; + float u_linearColor: 0; + float u_heightfixed: 0.0; // 默认不固定 + float u_globel; + float u_r; + float u_pickLight: 0.0; + float u_opacitylinear: 0.0; + float u_opacitylinear_dir: 1.0; + float u_lightEnable: 1.0; +}; + +out vec4 v_color; +out float v_lightWeight; +out float v_barLinearZ; +// 用于将在顶点着色器中计算好的样式值传递给片元 + + +#pragma include "projection" +#pragma include "light" +#pragma include "picking" + +float getYRadian(float x, float z) { + if(x > 0.0 && z > 0.0) { + return atan(x/z); + } else if(x > 0.0 && z <= 0.0){ + return atan(-z/x) + pi/2.0; + } else if(x <= 0.0 && z <= 0.0) { + return pi + atan(x/z); //atan(x/z) + + } else { + return atan(z/-x) + pi*3.0/2.0; + } +} + +float getXRadian(float y, float r) { + return atan(y/r); +} + +void main() { + + // cal style mapping - 数据纹理映射部分的计算 + vec3 size = a_Size * a_Position; + + // a_Position.z 是在构建网格的时候传入的标准值 0 - 1,在插值器插值可以获取 0~1 线性渐变的值 + v_barLinearZ = a_Position.z; + + vec3 offset = size; // 控制圆柱体的大小 - 从标准单位圆柱体进行偏移 + if(u_heightfixed < 1.0) { // 圆柱体不固定高度 + // + } else {// 圆柱体固定高度 ( 处理 mapbox ) + if(u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT || u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT_OFFSET) { + offset *= 4.0/pow(2.0, 21.0 - u_Zoom); + } + } + + + vec4 project_pos = project_position(vec4(a_Pos.xy, 0., 1.0)); + + // u_r 控制圆柱的生长 + vec4 pos = vec4(project_pos.xy + offset.xy, offset.z * u_r, 1.0); + + // 圆柱光照效果 + float lightWeight = 1.0; + if(u_lightEnable > 0.0) { // 取消三元表达式,增强健壮性 + lightWeight = calc_lighting(pos); + } + v_lightWeight = lightWeight; + // 设置圆柱的底色 + if(u_linearColor == 1.0) { // 使用渐变颜色 + v_color = mix(u_sourceColor, u_targetColor, v_barLinearZ); + v_color.rgb *= lightWeight; + } else { // 使用 color 方法传入的颜色 + v_color = a_Color; + } + v_color.a *= u_opacity; + + + // 在地球模式下,将原本垂直于 xy 平面的圆柱调整姿态到适应圆的角度 + //旋转矩阵mx,创建绕x轴旋转矩阵 + float r = sqrt(a_Pos.z*a_Pos.z + a_Pos.x*a_Pos.x); + float xRadian = getXRadian(a_Pos.y, r); + float xcos = cos(xRadian);//求解旋转角度余弦值 + float xsin = sin(xRadian);//求解旋转角度正弦值 + mat4 mx = mat4( + 1,0,0,0, + 0,xcos,-xsin,0, + 0,xsin,xcos,0, + 0,0,0,1); + + //旋转矩阵my,创建绕y轴旋转矩阵 + float yRadian = getYRadian(a_Pos.x, a_Pos.z); + float ycos = cos(yRadian);//求解旋转角度余弦值 + float ysin = sin(yRadian);//求解旋转角度正弦值 + mat4 my = mat4( + ycos,0,-ysin,0, + 0,1,0,0, + ysin,0,ycos,0, + 0,0,0,1); + + gl_Position = u_ViewProjectionMatrix * vec4(( my * mx * vec4(a_Position * a_Size, 1.0)).xyz + a_Pos, 1.0); + + + setPickingColor(a_PickingColor); +} +`,{isNumber:NM}=Qn;let DM=class extends Pi{constructor(...t){super(...t),H(this,"raiseCount",0),H(this,"raiseRepeat",0)}get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,SIZE:9,POS:10,NORMAL:11})}getCommonUniformsInfo(){const{animateOption:t={enable:!1,speed:.01,repeat:!1},opacity:r=1,sourceColor:i,targetColor:s,pickLight:u=!1,heightfixed:n=!0,opacityLinear:h={enable:!1,dir:"up"},lightEnable:m=!0}=this.layer.getLayerConfig();let g=0,x=[0,0,0,0],b=[0,0,0,0];if(i&&s&&(x=Mi(i),b=Mi(s),g=1),this.raiseCount<1&&this.raiseRepeat>0&&t.enable){const{speed:I=.01}=t;this.raiseCount+=I,this.raiseCount>=1&&(this.raiseRepeat>1?(this.raiseCount=0,this.raiseRepeat--):this.raiseCount=1)}const F={u_sourceColor:x,u_targetColor:b,u_linearColor:g,u_pickLight:Number(u),u_heightfixed:Number(n),u_r:t.enable&&this.raiseRepeat>0?this.raiseCount:1,u_opacity:NM(r)?r:1,u_opacitylinear:Number(h.enable),u_opacitylinear_dir:h.dir==="up"?1:0,u_lightEnable:Number(m)};return this.getUniformsBufferInfo(F)}initModels(){var t=this;return mt(function*(){return t.initUniformsBuffer(),t.buildModels()})()}buildModels(){var t=this;return mt(function*(){const{animateOption:{repeat:r=1}}=t.layer.getLayerConfig();return t.raiseRepeat=r,[yield t.layer.buildLayerModel({moduleName:"pointEarthExtrude",vertexShader:MM,fragmentShader:IM,triangulation:L6,depth:{enable:!0},defines:t.getDefines(),inject:t.getInject(),cull:{enable:!0,face:L.FRONT},blend:t.getBlend()})]})()}registerBuiltinAttributes(){this.styleAttributeService.registerStyleAttribute({name:"size",type:br.Attribute,descriptor:{name:"a_Size",shaderLocation:this.attributeLocation.SIZE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:3,update:t=>{const{size:r}=t;if(r){let i=[];return Array.isArray(r)&&(i=r.length===2?[r[0],r[0],r[1]]:r),Array.isArray(r)||(i=[r,r,r]),i}else return[2,2,2]}}}),this.styleAttributeService.registerStyleAttribute({name:"normal",type:br.Attribute,descriptor:{name:"a_Normal",shaderLocation:this.attributeLocation.NORMAL,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:3,update:(t,r,i,s,u)=>u}}),this.styleAttributeService.registerStyleAttribute({name:"pos",type:br.Attribute,descriptor:{name:"a_Pos",shaderLocation:this.attributeLocation.POS,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:3,update:t=>{const r=h1(t.coordinates);return $9([r[0],r[1]])}}})}};const OM=`in vec4 v_data; +in vec4 v_color; +in float v_radius; + +layout(std140) uniform commonUniform { + float u_additive; + float u_stroke_opacity : 1; + float u_stroke_width : 2; + float u_blur : 0.0; +}; +#pragma include "sdf_2d" +#pragma include "picking" + +out vec4 outputColor; + +void main() { + int shape = int(floor(v_data.w + 0.5)); + + vec4 strokeColor = u_stroke == vec4(0.0) ? v_color : u_stroke; + + lowp float antialiasblur = v_data.z; + float r = v_radius / (v_radius + u_stroke_width); + + float outer_df; + float inner_df; + // 'circle', 'triangle', 'square', 'pentagon', 'hexagon', 'octogon', 'hexagram', 'rhombus', 'vesica' + if (shape == 0) { + outer_df = sdCircle(v_data.xy, 1.0); + inner_df = sdCircle(v_data.xy, r); + } else if (shape == 1) { + outer_df = sdEquilateralTriangle(1.1 * v_data.xy); + inner_df = sdEquilateralTriangle(1.1 / r * v_data.xy); + } else if (shape == 2) { + outer_df = sdBox(v_data.xy, vec2(1.)); + inner_df = sdBox(v_data.xy, vec2(r)); + } else if (shape == 3) { + outer_df = sdPentagon(v_data.xy, 0.8); + inner_df = sdPentagon(v_data.xy, r * 0.8); + } else if (shape == 4) { + outer_df = sdHexagon(v_data.xy, 0.8); + inner_df = sdHexagon(v_data.xy, r * 0.8); + } else if (shape == 5) { + outer_df = sdOctogon(v_data.xy, 1.0); + inner_df = sdOctogon(v_data.xy, r); + } else if (shape == 6) { + outer_df = sdHexagram(v_data.xy, 0.52); + inner_df = sdHexagram(v_data.xy, r * 0.52); + } else if (shape == 7) { + outer_df = sdRhombus(v_data.xy, vec2(1.0)); + inner_df = sdRhombus(v_data.xy, vec2(r)); + } else if (shape == 8) { + outer_df = sdVesica(v_data.xy, 1.1, 0.8); + inner_df = sdVesica(v_data.xy, r * 1.1, r * 0.8); + } + + if(outer_df > antialiasblur + 0.018) discard; + + float opacity_t = smoothstep(0.0, antialiasblur, outer_df); + + float color_t = u_stroke_width < 0.01 ? 0.0 : smoothstep( + antialiasblur, + 0.0, + inner_df + ); + + if(u_stroke_width < 0.01) { + outputColor = vec4(v_color.rgb, v_color.a * u_opacity); + } else { + outputColor = mix(vec4(v_color.rgb, v_color.a * u_opacity), strokeColor * u_stroke_opacity, color_t); + } + + if(u_additive > 0.0) { + outputColor *= opacity_t; + outputColor = filterColorAlpha(outputColor, outputColor.a); + } else { + outputColor.a *= opacity_t; + outputColor = filterColor(outputColor); + } +} +`,LM=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_SIZE) in float a_Size; +layout(location = ATTRIBUTE_LOCATION_SHAPE) in float a_Shape; +layout(location = ATTRIBUTE_LOCATION_EXTRUDE) in vec3 a_Extrude; + +layout(std140) uniform commonUniform { + float u_additive; + float u_stroke_opacity : 1; + float u_stroke_width : 2; + float u_blur : 0.0; +}; +out vec4 v_data; +out vec4 v_color; +out float v_radius; + +#pragma include "projection" +#pragma include "picking" + + +void main() { + vec3 extrude = a_Extrude; + float shape_type = a_Shape; + /* + * setPickingSize 设置拾取大小 + */ + float newSize = setPickingSize(a_Size); + // float newSize = setPickingSize(a_Size) * 0.00001038445708445579; + + // unpack color(vec2) + v_color = a_Color; + + // radius(16-bit) + v_radius = newSize; + + // anti-alias + // float antialiased_blur = -max(u_blur, antialiasblur); + float antialiasblur = -max(2.0 / u_DevicePixelRatio / newSize, u_blur); + + // TODP: /abs(extrude.x) 是为了兼容地球模式 + v_data = vec4(extrude.x/abs(extrude.x), extrude.y/abs(extrude.y), antialiasblur,shape_type); + + gl_Position = u_ViewProjectionMatrix * vec4(a_Position + extrude * newSize * 0.1 + vec3(u_offsets,0.0), 1.0); + + setPickingColor(a_PickingColor); +} +`;let BM=class extends Pi{get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,SIZE:9,SHAPE:10,EXTRUDE:11})}getCommonUniformsInfo(){const{strokeOpacity:t=1,strokeWidth:r=0,blend:i,blur:s=0}=this.layer.getLayerConfig();this.layer.getLayerConfig();const u={u_additive:i==="additive"?1:0,u_stroke_opacity:t,u_stroke_width:r,u_blur:s};return this.getUniformsBufferInfo(u)}initModels(){var t=this;return mt(function*(){return t.initUniformsBuffer(),t.buildModels()})()}buildModels(){var t=this;return mt(function*(){return t.layer.triangulation=b4,[yield t.layer.buildLayerModel({moduleName:"pointEarthFill",vertexShader:LM,fragmentShader:OM,triangulation:b4,defines:t.getDefines(),inject:t.getInject(),depth:{enable:!0},blend:t.getBlend()})]})()}animateOption2Array(t){return[t.enable?0:1,t.speed||1,t.rings||3,0]}registerBuiltinAttributes(){this.styleAttributeService.registerStyleAttribute({name:"extrude",type:br.Attribute,descriptor:{name:"a_Extrude",shaderLocation:this.attributeLocation.EXTRUDE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:3,update:(t,r,i,s)=>{const[u,n,h]=i,m=yp(0,0,1),g=yp(u,0,h),x=u>=0?C3(m,g):Math.PI*2-C3(m,g),b=Math.PI*2-Math.asin(n/100),F=zf();zg(F,F,x),o6(F,F,b);const R=yp(1,1,0);Ph(R,R,F),Yd(R,R);const I=yp(-1,1,0);Ph(I,I,F),Yd(I,I);const B=yp(-1,-1,0);Ph(B,B,F),Yd(B,B);const V=yp(1,-1,0);Ph(V,V,F),Yd(V,V);const J=[...R,...I,...B,...V],Q=s%4*3;return[J[Q],J[Q+1],J[Q+2]]}}}),this.styleAttributeService.registerStyleAttribute({name:"size",type:br.Attribute,descriptor:{name:"a_Size",shaderLocation:this.attributeLocation.SIZE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:1,update:t=>{const{size:r=5}=t;return Array.isArray(r)?[r[0]]:[r]}}}),this.styleAttributeService.registerStyleAttribute({name:"shape",type:br.Attribute,descriptor:{name:"a_Shape",shaderLocation:this.attributeLocation.SHAPE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:1,update:t=>{const{shape:r=2}=t;return[this.layer.getLayerConfig().shape2d.indexOf(r)]}}})}};const UM=` +in vec4 v_color; +in float v_lightWeight; +out vec4 outputColor; + +layout(std140) uniform commonUniforms { + float u_pickLight; + float u_heightfixed; + float u_r; + float u_linearColor; + vec4 u_sourceColor; + vec4 u_targetColor; + float u_opacitylinear; + float u_opacitylinear_dir; + float u_lightEnable; +}; + +#pragma include "scene_uniforms" +#pragma include "picking" + +void main() { + + outputColor = v_color; + // 开启透明度渐变 + // picking + if(u_pickLight > 0.0) { + outputColor = filterColorAlpha(outputColor, v_lightWeight); + } else { + outputColor = filterColor(outputColor); + } +} +`,kM=`#define pi (3.1415926535) + +layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_SIZE) in vec3 a_Size; +layout(location = ATTRIBUTE_LOCATION_EXTRUDE) in vec4 a_Extrude; +layout(location = ATTRIBUTE_LOCATION_NORMAL) in vec3 a_Normal; + +layout(std140) uniform commonUniforms { + float u_pickLight; + float u_heightfixed; + float u_r; + float u_linearColor; + vec4 u_sourceColor; + vec4 u_targetColor; + float u_opacitylinear; + float u_opacitylinear_dir; + float u_lightEnable; +}; +out vec4 v_color; +out float v_lightWeight; + +#pragma include "projection" +#pragma include "light" +#pragma include "picking" + +float getYRadian(float x, float z) { + if (x > 0.0 && z > 0.0) { + return atan(x / z); + } else if (x > 0.0 && z <= 0.0) { + return atan(-z / x) + pi / 2.0; + } else if (x <= 0.0 && z <= 0.0) { + return pi + atan(x / z); //atan(x/z) + + } else { + return atan(z / -x) + pi * 3.0 / 2.0; + } +} + +float getXRadian(float y, float r) { + return atan(y / r); +} + +void main() { + vec3 size = a_Size * a_Position; + + vec3 offset = size; // 控制圆柱体的大小 - 从标准单位圆柱体进行偏移 + + if (u_heightfixed < 1.0) { + // 圆柱体不固定高度 + } else { + // 圆柱体固定高度 ( 处理 mapbox ) + if ( + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT || + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT_OFFSET + ) { + offset *= 4.0 / pow(2.0, 21.0 - u_Zoom); + } + } + + vec2 positions = a_Extrude.xy; + vec2 positions64Low = a_Extrude.zw; + vec4 project_pos = project_position(vec4(positions, 0.0, 1.0), positions64Low); + + // u_r 控制圆柱的生长 + vec4 pos = vec4(project_pos.xy + offset.xy, offset.z * u_r, 1.0); + + // // 圆柱光照效果 + float lightWeight = 1.0; + + if (u_lightEnable > 0.0) { + // 取消三元表达式,增强健壮性 + lightWeight = calc_lighting(pos); + } + + v_lightWeight = lightWeight; + + v_color = a_Color; + + // 设置圆柱的底色 + if (u_linearColor == 1.0) { + // 使用渐变颜色 + v_color = mix(u_sourceColor, u_targetColor, a_Position.z); + v_color.a = v_color.a * opacity; + } else { + v_color = vec4(a_Color.rgb * lightWeight, a_Color.w * opacity); + } + + if (u_opacitylinear > 0.0) { + v_color.a *= u_opacitylinear_dir > 0.0 ? 1.0 - a_Position.z : a_Position.z; + } + + gl_Position = project_common_position_to_clipspace(pos); + + setPickingColor(a_PickingColor); +} +`;let r7=class extends Pi{constructor(...t){super(...t),H(this,"raiseCount",0),H(this,"raiseRepeat",0)}get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,SIZE:9,EXTRUDE:10,NORMAL:11})}getCommonUniformsInfo(){const{animateOption:t={enable:!1,speed:.01,repeat:!1},sourceColor:r,targetColor:i,pickLight:s=!1,heightfixed:u=!1,opacityLinear:n={enable:!1,dir:"up"},lightEnable:h=!0}=this.layer.getLayerConfig();let m=0,g=[0,0,0,0],x=[0,0,0,0];if(r&&i&&(g=Mi(r),x=Mi(i),m=1),this.raiseCount<1&&this.raiseRepeat>0&&t.enable){const{speed:R=.01}=t;this.raiseCount+=R,this.raiseCount>=1&&(this.raiseRepeat>1?(this.raiseCount=0,this.raiseRepeat--):this.raiseCount=1)}const b={u_pickLight:Number(s),u_heightfixed:Number(u),u_r:t.enable&&this.raiseRepeat>0?this.raiseCount:1,u_linearColor:m,u_sourceColor:g,u_targetColor:x,u_opacitylinear:Number(n.enable),u_opacitylinear_dir:n.dir==="up"?1:0,u_lightEnable:Number(h)};return this.getUniformsBufferInfo(b)}initModels(){var t=this;return mt(function*(){return t.buildModels()})()}buildModels(){var t=this;return mt(function*(){const{depth:r=!0,animateOption:{repeat:i=1}}=t.layer.getLayerConfig();return t.raiseRepeat=i,t.initUniformsBuffer(),[yield t.layer.buildLayerModel({moduleName:"pointExtrude",vertexShader:kM,fragmentShader:UM,triangulation:L6,defines:t.getDefines(),inject:t.getInject(),cull:{enable:!0,face:L.FRONT},depth:{enable:r}})]})()}registerBuiltinAttributes(){this.styleAttributeService.registerStyleAttribute({name:"size",type:br.Attribute,descriptor:{name:"a_Size",shaderLocation:this.attributeLocation.SIZE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:3,update:t=>{const{size:r}=t;if(r){let i=[];return Array.isArray(r)&&(i=r.length===2?[r[0],r[0],r[1]]:r),Array.isArray(r)||(i=[r,r,r]),i}else return[2,2,2]}}}),this.styleAttributeService.registerStyleAttribute({name:"normal",type:br.Attribute,descriptor:{name:"a_Normal",shaderLocation:this.attributeLocation.NORMAL,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:3,update:(t,r,i,s,u)=>u}}),this.styleAttributeService.registerStyleAttribute({name:"extrude",type:br.Attribute,descriptor:{name:"a_Extrude",shaderLocation:this.attributeLocation.EXTRUDE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:4,update:t=>{const r=h1(t.coordinates);return[r[0],r[1],ua(r[0]),ua(r[1])]}}})}};const zM=` +layout(std140) uniform commonUniforms { + vec3 u_blur_height_fixed; + float u_stroke_width; + float u_additive; + float u_stroke_opacity; + float u_size_unit; + float u_time; + vec4 u_animate; +}; + +in vec4 v_color; +in vec4 v_stroke; +in vec4 v_data; +in float v_radius; + +#pragma include "scene_uniforms" +#pragma include "sdf_2d" +#pragma include "picking" + +out vec4 outputColor; + +void main() { + int shape = int(floor(v_data.w + 0.5)); + lowp float antialiasblur = v_data.z; + float r = v_radius / (v_radius + u_stroke_width); + + float outer_df; + float inner_df; + // 'circle', 'triangle', 'square', 'pentagon', 'hexagon', 'octogon', 'hexagram', 'rhombus', 'vesica' + if (shape == 0) { + outer_df = sdCircle(v_data.xy, 1.0); + inner_df = sdCircle(v_data.xy, r); + } else if (shape == 1) { + outer_df = sdEquilateralTriangle(1.1 * v_data.xy); + inner_df = sdEquilateralTriangle(1.1 / r * v_data.xy); + } else if (shape == 2) { + outer_df = sdBox(v_data.xy, vec2(1.)); + inner_df = sdBox(v_data.xy, vec2(r)); + } else if (shape == 3) { + outer_df = sdPentagon(v_data.xy, 0.8); + inner_df = sdPentagon(v_data.xy, r * 0.8); + } else if (shape == 4) { + outer_df = sdHexagon(v_data.xy, 0.8); + inner_df = sdHexagon(v_data.xy, r * 0.8); + } else if (shape == 5) { + outer_df = sdOctogon(v_data.xy, 1.0); + inner_df = sdOctogon(v_data.xy, r); + } else if (shape == 6) { + outer_df = sdHexagram(v_data.xy, 0.52); + inner_df = sdHexagram(v_data.xy, r * 0.52); + } else if (shape == 7) { + outer_df = sdRhombus(v_data.xy, vec2(1.0)); + inner_df = sdRhombus(v_data.xy, vec2(r)); + } else if (shape == 8) { + outer_df = sdVesica(v_data.xy, 1.1, 0.8); + inner_df = sdVesica(v_data.xy, r * 1.1, r * 0.8); + } + + float opacity_t = smoothstep(0.0, antialiasblur, outer_df); + + float color_t = u_stroke_width < 0.01 ? 0.0 : smoothstep( + antialiasblur, + 0.0, + inner_df + ); + + float PI = 3.14159; + float N_RINGS = 3.0; + float FREQ = 1.0; + + if(u_stroke_width < 0.01) { + outputColor = v_color; + } else { + outputColor = mix(v_color, v_stroke * u_stroke_opacity, color_t); + } + float intensity = 1.0; + if(u_time!=-1.0){ + //wave相关逻辑 + float d = length(v_data.xy); + if(d > 0.5) { + discard; + } + intensity = clamp(cos(d * PI), 0.0, 1.0) * clamp(cos(2.0 * PI * (d * 2.0 * u_animate.z - u_animate.y * u_time)), 0.0, 1.0); + } + + if(u_additive > 0.0) { + outputColor *= opacity_t; + outputColor *= intensity;//wave + outputColor = filterColorAlpha(outputColor, outputColor.a); + } else { + outputColor.a *= opacity_t; + outputColor.a *= intensity;//wave + outputColor = filterColor(outputColor); + } + // 作为 mask 模板时需要丢弃透明的像素 + if(outputColor.a < 0.01) { + discard; + } +} +`,VM=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_POSITION_64LOW) in vec2 a_Position64Low; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_SIZE) in float a_Size; +layout(location = ATTRIBUTE_LOCATION_SHAPE) in float a_Shape; +layout(location = ATTRIBUTE_LOCATION_EXTRUDE) in vec3 a_Extrude; + +layout(std140) uniform commonUniforms { + vec3 u_blur_height_fixed; + float u_stroke_width; + float u_additive; + float u_stroke_opacity; + float u_size_unit; + float u_time; + vec4 u_animate; +}; + +out vec4 v_color; +out vec4 v_stroke; +out vec4 v_data; +out float v_radius; + +#pragma include "projection" +#pragma include "picking" +#pragma include "rotation_2d" + +void main() { + // 透明度计算 + v_stroke = stroke; + vec3 extrude = a_Extrude; + float shape_type = a_Shape; + /* + * setPickingSize 设置拾取大小 + * u_meter2coord 在等面积大小的时候设置单位 + */ + float newSize = setPickingSize(a_Size); + // float newSize = setPickingSize(a_Size) * 0.00001038445708445579; + + + + // unpack color(vec2) + v_color = vec4(a_Color.xyz, a_Color.w * opacity); + + if(u_size_unit == 1.0) { + newSize = newSize * u_PixelsPerMeter.z; + } + + v_radius = newSize; + + // anti-alias + // float antialiased_blur = -max(u_blur, antialiasblur); + float antialiasblur = -max(2.0 / u_DevicePixelRatio / newSize, u_blur_height_fixed.x); + + vec2 offset = (extrude.xy * (newSize + u_stroke_width) + u_offsets); + + offset = project_pixel(offset); + offset = rotate_matrix(offset,rotation); + + // TODP: /abs(extrude.x) 是为了兼容地球模式 + v_data = vec4(extrude.x/abs(extrude.x), extrude.y/abs(extrude.y), antialiasblur,shape_type); + + vec4 project_pos = project_position(vec4(a_Position.xy, 0.0, 1.0), a_Position64Low); + // gl_Position = project_common_position_to_clipspace(vec4(project_pos.xy + offset, project_pixel(setPickingOrder(0.0)), 1.0)); + + float raisingHeight = u_blur_height_fixed.y; + + if(u_blur_height_fixed.z < 1.0) { // false + raisingHeight = project_pixel(u_blur_height_fixed.y); + } else { + if(u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT || u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT_OFFSET) { + float mapboxZoomScale = 4.0/pow(2.0, 21.0 - u_Zoom); + raisingHeight = u_blur_height_fixed.y * mapboxZoomScale; + } + } + + gl_Position = project_common_position_to_clipspace(vec4(project_pos.xy + offset, raisingHeight, 1.0)); + + setPickingColor(a_PickingColor); +} +`;let o7=class extends Pi{get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,SIZE:9,SHAPE:10,EXTRUDE:11})}getCommonUniformsInfo(){const{strokeOpacity:t=1,strokeWidth:r=0,blend:i,blur:s=0,raisingHeight:u=0,heightfixed:n=!1,unit:h="pixel"}=this.layer.getLayerConfig();let m=this.getAnimateUniforms().u_time;isNaN(m)&&(m=-1);const g={u_blur_height_fixed:[s,Number(u),Number(n)],u_stroke_width:r,u_additive:i==="additive"?1:0,u_stroke_opacity:t,u_size_unit:O6[h],u_time:m,u_animate:this.getAnimateUniforms().u_animate};return this.getUniformsBufferInfo(g)}getAnimateUniforms(){const{animateOption:t={enable:!1}}=this.layer.getLayerConfig();return{u_animate:this.animateOption2Array(t),u_time:this.layer.getLayerAnimateTime()}}getAttribute(){return this.styleAttributeService.createAttributesAndIndices(this.layer.getEncodedData(),d1)}initModels(){var t=this;return mt(function*(){return t.buildModels()})()}buildModels(){var t=this;return mt(function*(){const{frag:r,vert:i,type:s}=t.getShaders();return t.layer.triangulation=d1,t.initUniformsBuffer(),[yield t.layer.buildLayerModel({moduleName:s,vertexShader:i,fragmentShader:r,defines:t.getDefines(),inject:t.getInject(),triangulation:d1,depth:{enable:!1}})]})()}getShaders(){return{frag:zM,vert:VM,type:"pointFill"}}animateOption2Array(t){return[t.enable?0:1,t.speed||1,t.rings||3,0]}registerBuiltinAttributes(){const t=this.layer.getLayerConfig().shape2d;this.registerPosition64LowAttribute(),this.styleAttributeService.registerStyleAttribute({name:"extrude",type:br.Attribute,descriptor:{name:"a_Extrude",shaderLocation:this.attributeLocation.EXTRUDE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:3,update:(r,i,s,u)=>{const n=[1,1,0,-1,1,0,-1,-1,0,1,-1,0],h=u%4*3;return[n[h],n[h+1],n[h+2]]}}}),this.styleAttributeService.registerStyleAttribute({name:"size",type:br.Attribute,descriptor:{name:"a_Size",shaderLocation:this.attributeLocation.SIZE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:1,update:r=>{const{size:i=5}=r;return Array.isArray(i)?[i[0]]:[i]}}}),this.styleAttributeService.registerStyleAttribute({name:"shape",type:br.Attribute,descriptor:{name:"a_Shape",shaderLocation:this.attributeLocation.SHAPE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:1,update:r=>{const{shape:i=2}=r;return[t.indexOf(i)]}}})}};const HM=`in vec2 v_uv;// 本身的 uv 坐标 +in vec2 v_Iconuv; +in float v_opacity; +out vec4 outputColor; + +uniform sampler2D u_texture; +layout(std140) uniform commonUniform { + vec2 u_textSize; + float u_heightfixed: 0.0; + float u_raisingHeight: 0.0; + float u_size_unit; +}; + +#pragma include "scene_uniforms" +#pragma include "sdf_2d" +#pragma include "picking" + +void main() { + vec2 pos = v_Iconuv / u_textSize + v_uv / u_textSize * 64.; + outputColor = texture(SAMPLER_2D(u_texture), pos); + outputColor.a *= v_opacity; + outputColor = filterColor(outputColor); +} +`,GM=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_POSITION_64LOW) in vec2 a_Position64Low; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_SIZE) in float a_Size; +layout(location = ATTRIBUTE_LOCATION_EXTRUDE) in vec3 a_Extrude; +layout(location = ATTRIBUTE_LOCATION_UV) in vec2 a_Uv; + +layout(std140) uniform commonUniform { + vec2 u_textSize; + float u_heightfixed; + float u_raisingHeight; + float u_size_unit; +}; + +out vec2 v_uv; +out vec2 v_Iconuv; +out float v_opacity; + +#pragma include "projection" +#pragma include "picking" +#pragma include "rotation_2d" + +void main() { + vec3 extrude = a_Extrude; + v_uv = (a_Extrude.xy + 1.0) / 2.0; + v_uv.y = 1.0 - v_uv.y; + v_Iconuv = a_Uv; + v_opacity = opacity; + float newSize = a_Size; + if (u_size_unit == 1.0) { + newSize = newSize * u_PixelsPerMeter.z; + } + + // vec2 offset = (u_RotateMatrix * extrude.xy * (a_Size) + textrueOffsets); + vec2 offset = extrude.xy * newSize + offsets; + + offset = rotate_matrix(offset, rotation); + + offset = project_pixel(offset); + + vec4 project_pos = project_position(vec4(a_Position.xy, 0.0, 1.0), a_Position64Low); + gl_Position = project_common_position_to_clipspace(vec4(project_pos.xy + offset, 0.0, 1.0)); + + setPickingColor(a_PickingColor); +} +`;class jM extends Pi{constructor(...t){super(...t),H(this,"meter2coord",1),H(this,"texture",void 0),H(this,"isMeter",!1),H(this,"radian",0),H(this,"updateTexture",()=>{const{createTexture2D:r}=this.rendererService;if(this.texture){this.texture.update({data:this.iconService.getCanvas(),mag:"linear",min:"linear mipmap nearest",mipmap:!0}),this.layerService.throttleRenderLayers();return}this.texture=r({data:this.iconService.getCanvas(),mag:L.LINEAR,min:L.LINEAR_MIPMAP_LINEAR,premultiplyAlpha:!1,width:1024,height:this.iconService.canvasHeight||128,mipmap:!0}),this.textures=[this.texture]})}get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,SIZE:9,EXTRUDE:10,UV:11})}getCommonUniformsInfo(){const{raisingHeight:t=0,heightfixed:r=!1,unit:i="pixel"}=this.layer.getLayerConfig();if(this.rendererService.getDirty()){var s;(s=this.texture)===null||s===void 0||s.bind()}const u={u_textSize:[1024,this.iconService.canvasHeight||128],u_heightfixed:Number(r),u_raisingHeight:Number(t),u_size_unit:O6[i]};return this.getUniformsBufferInfo(u)}getAttribute(){return this.styleAttributeService.createAttributesAndIndices(this.layer.getEncodedData(),d1)}initModels(){var t=this;return mt(function*(){return t.iconService.on("imageUpdate",t.updateTexture),t.updateTexture(),t.buildModels()})()}buildModels(){var t=this;return mt(function*(){return t.initUniformsBuffer(),[yield t.layer.buildLayerModel({moduleName:"pointFillImage",vertexShader:GM,fragmentShader:HM,triangulation:d1,depth:{enable:!1},defines:t.getDefines(),inject:t.getInject(),cull:{enable:!0,face:L.FRONT}})]})()}clearModels(){var t;this.iconService.off("imageUpdate",this.updateTexture),(t=this.texture)===null||t===void 0||t.destroy()}registerBuiltinAttributes(){this.registerPosition64LowAttribute(),this.styleAttributeService.registerStyleAttribute({name:"uv",type:br.Attribute,descriptor:{name:"a_Uv",shaderLocation:this.attributeLocation.UV,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:2,update:t=>{const r=this.iconService.getIconMap(),{shape:i}=t,{x:s,y:u}=r[i]||{x:-64,y:-64};return[s,u]}}}),this.styleAttributeService.registerStyleAttribute({name:"extrude",type:br.Attribute,descriptor:{name:"a_Extrude",shaderLocation:this.attributeLocation.EXTRUDE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:3,update:(t,r,i,s)=>{const u=[1,1,0,-1,1,0,-1,-1,0,1,-1,0],n=s%4*3;return[u[n],u[n+1],u[n+2]]}}}),this.styleAttributeService.registerStyleAttribute({name:"size",type:br.Attribute,descriptor:{name:"a_Size",shaderLocation:this.attributeLocation.SIZE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:1,update:t=>{const{size:r=5}=t;return Array.isArray(r)?[r[0]]:[r]}}})}}const WM=`layout(std140) uniform commonUniforms { + vec2 u_textSize; + float u_raisingHeight; + float u_heightfixed; +}; + +uniform sampler2D u_texture; + +in vec4 v_color; +in vec2 v_uv; +in float v_opacity; + +#pragma include "picking" + +out vec4 outputColor; + +void main(){ + vec2 pos = v_uv / u_textSize + gl_PointCoord / u_textSize * 64.; + vec4 textureColor; + + // Y = 0.299R + 0.587G + 0.114B // 亮度提取 + + textureColor = texture(SAMPLER_2D(u_texture), pos); + + // Tip: 去除边缘部分 mipmap 导致的混合变暗 + float fragmengTocenter = distance(vec2(0.5), gl_PointCoord); + if(fragmengTocenter >= 0.5) { + float luma = 0.299 * textureColor.r + 0.587 * textureColor.g + 0.114 * textureColor.b; + textureColor.a *= luma; + } + + if(all(lessThan(v_color, vec4(1.0+0.00001))) && all(greaterThan(v_color, vec4(1.0-0.00001))) || v_color==vec4(1.0)){ + outputColor= textureColor; + }else { + outputColor= step(0.01, textureColor.z) * v_color; + } + outputColor.a *= v_opacity; + if (outputColor.a < 0.01) { + discard; + } + outputColor = filterColor(outputColor); +} +`,XM=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_POSITION_64LOW) in vec2 a_Position64Low; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_SIZE) in float a_Size; +layout(location = ATTRIBUTE_LOCATION_UV) in vec2 a_Uv; + +layout(std140) uniform commonUniforms { + vec2 u_textSize; + float u_raisingHeight; + float u_heightfixed; +}; + +out vec4 v_color; +out vec2 v_uv; +out float v_opacity; + +#pragma include "projection" +#pragma include "picking" + +void main() { + // cal style mapping - 数据纹理映射部分的计算 + v_color = a_Color; + v_opacity = opacity; + v_uv = a_Uv; + vec4 project_pos = project_position(vec4(a_Position, 1.0), a_Position64Low); + + vec2 offset = project_pixel(offsets); + + float raisingHeight = u_raisingHeight; + if (u_heightfixed < 1.0) { + // false + raisingHeight = project_pixel(u_raisingHeight); + } else { + if ( + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT || + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT_OFFSET + ) { + float mapboxZoomScale = 4.0 / pow(2.0, 21.0 - u_Zoom); + raisingHeight = u_raisingHeight * mapboxZoomScale; + } + } + + gl_Position = project_common_position_to_clipspace(vec4(project_pos.xy + offset, raisingHeight, 1.0)); + + gl_PointSize = a_Size * 2.0 * u_DevicePixelRatio; + setPickingColor(a_PickingColor); +} +`;class i7 extends Pi{constructor(...t){super(...t),H(this,"texture",void 0),H(this,"updateTexture",()=>{const{createTexture2D:r}=this.rendererService;if(this.texture){this.texture.update({data:this.iconService.getCanvas(),mag:"linear",min:"linear mipmap nearest",mipmap:!0}),setTimeout(()=>{this.layerService.throttleRenderLayers()});return}this.texture=r({data:this.iconService.getCanvas(),mag:L.LINEAR,min:L.LINEAR_MIPMAP_LINEAR,premultiplyAlpha:!1,width:1024,height:this.iconService.canvasHeight||128,mipmap:!0})})}get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,SIZE:9,UV:10})}getUninforms(){if(this.rendererService.getDirty()){var t;(t=this.texture)===null||t===void 0||t.bind()}const r=this.getCommonUniformsInfo(),i=this.getUniformsBufferInfo(this.getStyleAttribute());return this.updateStyleUnifoms(),_t(_t({},r.uniformsOption),i.uniformsOption)}getCommonUniformsInfo(){const{raisingHeight:t=0,heightfixed:r=!1}=this.layer.getLayerConfig(),i={u_textSize:[1024,this.iconService.canvasHeight||128],u_raisingHeight:Number(t),u_heightfixed:Number(r),u_texture:this.texture};return this.textures=[this.texture],this.getUniformsBufferInfo(i)}initModels(){var t=this;return mt(function*(){return t.iconService.on("imageUpdate",t.updateTexture),t.updateTexture(),t.buildModels()})()}clearModels(){var t;(t=this.texture)===null||t===void 0||t.destroy(),this.iconService.off("imageUpdate",this.updateTexture)}buildModels(){var t=this;return mt(function*(){return t.initUniformsBuffer(),[yield t.layer.buildLayerModel({moduleName:"pointImage",vertexShader:XM,fragmentShader:WM,triangulation:gI,defines:t.getDefines(),inject:t.getInject(),depth:{enable:!1},primitive:L.POINTS})]})()}registerBuiltinAttributes(){this.registerPosition64LowAttribute(),this.styleAttributeService.registerStyleAttribute({name:"size",type:br.Attribute,descriptor:{name:"a_Size",shaderLocation:this.attributeLocation.SIZE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:1,update:t=>{const{size:r=5}=t;return Array.isArray(r)?[r[0]]:[r]}}}),this.styleAttributeService.registerStyleAttribute({name:"uv",type:br.Attribute,descriptor:{name:"a_Uv",shaderLocation:this.attributeLocation.UV,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:2,update:t=>{const r=this.iconService.getIconMap(),{shape:i}=t,{x:s,y:u}=r[i]||{x:-64,y:-64};return[s,u]}}})}}const ZM=`in vec4 v_color; +out vec4 outputColor; +void main() { + outputColor = v_color; +}`,YM=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_POSITION_64LOW) in vec2 a_Position64Low; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_SIZE) in float a_Size; + +layout(std140) uniform u_Common { + float u_size_scale; +}; + +out vec4 v_color; + +#pragma include "projection" +#pragma include "project" + +void main() { + v_color = vec4(a_Color.xyz, a_Color.w * opacity); + + vec4 project_pos = project_position(vec4(a_Position, 1.0), a_Position64Low); + gl_Position = project_common_position_to_clipspace(project_pos); + + gl_PointSize = a_Size * u_size_scale * 2.0 * u_DevicePixelRatio; +} +`;function M4(e){const t=e.coordinates;return{vertices:[...t],indices:[0],size:t.length}}class n7 extends Pi{get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,SIZE:9})}getDefaultStyle(){return{blend:"additive"}}getCommonUniformsInfo(){const t={u_size_scale:.5};return this.getUniformsBufferInfo(t)}initModels(){var t=this;return mt(function*(){return t.buildModels()})()}buildModels(){var t=this;return mt(function*(){return t.layer.triangulation=M4,t.initUniformsBuffer(),[yield t.layer.buildLayerModel({moduleName:"pointNormal",vertexShader:YM,fragmentShader:ZM,triangulation:M4,defines:t.getDefines(),inject:t.getInject(),depth:{enable:!1},primitive:L.POINTS,pick:!1})]})()}clearModels(){}registerBuiltinAttributes(){this.registerPosition64LowAttribute(),this.styleAttributeService.registerStyleAttribute({name:"size",type:br.Attribute,descriptor:{name:"a_Size",shaderLocation:this.attributeLocation.SIZE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:1,update:t=>{const{size:r=1}=t;return Array.isArray(r)?[r[0]]:[r]}}})}}const $M=` +layout(std140) uniform commonUniorm{ + float u_additive; + float u_size_unit; + float u_speed: 1.0; + float u_time; +}; +in vec4 v_data; +in vec4 v_color; +in float v_radius; +in vec2 v_extrude; +#pragma include "sdf_2d" +#pragma include "picking" + +out vec4 outputColor; + +void main() { + + lowp float antialiasblur = v_data.z; + float r = v_radius / (v_radius); + + float outer_df = sdCircle(v_data.xy, 1.0); + float inner_df = sdCircle(v_data.xy, r); + + float opacity_t = smoothstep(0.0, antialiasblur, outer_df); + + outputColor = vec4(v_color.rgb, v_color.a); + + if(u_additive > 0.0) { + outputColor *= opacity_t; + } else { + outputColor.a *= opacity_t; + } + + if(outputColor.a > 0.0) { + outputColor = filterColor(outputColor); + } + + vec2 extrude = v_extrude; + vec2 dir = normalize(extrude); + vec2 baseDir = vec2(1.0, 0.0); + float pi = 3.14159265359; + float flag = sign(dir.y); + float rades = dot(dir, baseDir); + float radar_v = (flag - 1.0) * -0.5 * acos(rades)/pi; + // simple AA + if(radar_v > 0.99) { + radar_v = 1.0 - (radar_v - 0.99)/0.01; + } + + outputColor.a *= radar_v; +} +`,qM=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_POSITION_64LOW) in vec2 a_Position64Low; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_SIZE) in float a_Size; +layout(location = ATTRIBUTE_LOCATION_EXTRUDE) in vec3 a_Extrude; + +layout(std140) uniform commonUniorm { + float u_additive; + float u_size_unit; + float u_speed: 1.0; + float u_time; +}; + +out vec4 v_data; +out vec4 v_color; +out float v_radius; +out vec2 v_extrude; + +#pragma include "projection" +#pragma include "picking" + +void main() { + float newSize = setPickingSize(a_Size); + + float time = u_time * u_speed; + mat2 rotateMatrix = mat2( + cos(time), sin(time), + -sin(time), cos(time) + ); + v_extrude = rotateMatrix * a_Extrude.xy; + + v_color = a_Color; + v_color.a *= opacity; + + float blur = 0.0; + float antialiasblur = -max(2.0 / u_DevicePixelRatio / a_Size, blur); + + if(u_size_unit == 1.) { + newSize = newSize * u_PixelsPerMeter.z; + } + v_radius = newSize; + + vec2 offset = (a_Extrude.xy * (newSize)); + + offset = project_pixel(offset); + + v_data = vec4(a_Extrude.x, a_Extrude.y, antialiasblur, -1.0); + + vec4 project_pos = project_position(vec4(a_Position.xy, 0.0, 1.0), a_Position64Low); + gl_Position = project_common_position_to_clipspace(vec4(project_pos.xy + offset, project_pixel(setPickingOrder(0.0)), 1.0)); + + setPickingColor(a_PickingColor); +} +`;class KM extends Pi{get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,SIZE:9,EXTRUDE:10})}getCommonUniformsInfo(){const{blend:t,speed:r=1,unit:i="pixel"}=this.layer.getLayerConfig(),s={u_additive:t==="additive"?1:0,u_size_unit:O6[i],u_speed:r,u_time:this.layer.getLayerAnimateTime()};return this.getUniformsBufferInfo(s)}getAnimateUniforms(){return{}}getAttribute(){return this.styleAttributeService.createAttributesAndIndices(this.layer.getEncodedData(),d1)}initModels(){var t=this;return mt(function*(){return t.buildModels()})()}buildModels(){var t=this;return mt(function*(){return t.initUniformsBuffer(),[yield t.layer.buildLayerModel({moduleName:"pointRadar",vertexShader:qM,fragmentShader:$M,triangulation:d1,defines:t.getDefines(),inject:t.getInject(),depth:{enable:!1}})]})()}animateOption2Array(t){return[t.enable?0:1,t.speed||1,t.rings||3,0]}registerBuiltinAttributes(){this.registerPosition64LowAttribute(),this.styleAttributeService.registerStyleAttribute({name:"extrude",type:br.Attribute,descriptor:{name:"a_Extrude",shaderLocation:this.attributeLocation.EXTRUDE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:3,update:(t,r,i,s)=>{const u=[1,1,0,-1,1,0,-1,-1,0,1,-1,0],n=s%4*3;return[u[n],u[n+1],u[n+2]]}}}),this.styleAttributeService.registerStyleAttribute({name:"size",type:br.Attribute,descriptor:{shaderLocation:this.attributeLocation.SIZE,name:"a_Size",buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:1,update:t=>{const{size:r=5}=t;return Array.isArray(r)?[r[0]]:[r]}}})}}class QM{constructor(t,r,i){H(this,"boxCells",[]),H(this,"xCellCount",void 0),H(this,"yCellCount",void 0),H(this,"boxKeys",void 0),H(this,"bboxes",void 0),H(this,"width",void 0),H(this,"height",void 0),H(this,"xScale",void 0),H(this,"yScale",void 0),H(this,"boxUid",void 0);const s=this.boxCells;this.xCellCount=Math.ceil(t/i),this.yCellCount=Math.ceil(r/i);for(let u=0;uthis.width||s<0||r>this.height)return u?!1:[];const h=[];if(t<=0&&r<=0&&this.width<=i&&this.height<=s){if(u)return!0;for(let g=0;g0:h}queryCell(t,r,i,s,u,n,h,m){const g=h.seenUids,x=this.boxCells[u];if(x!==null){const b=this.bboxes;for(const F of x)if(!g.box[F]){g.box[F]=!0;const R=F*4;if(t<=b[R+2]&&r<=b[R+3]&&i>=b[R+0]&&s>=b[R+1]&&(!m||m(this.boxKeys[F]))){if(h.hitTest)return n.push(!0),!0;n.push({key:this.boxKeys[F],x1:b[R],y1:b[R+1],x2:b[R+2],y2:b[R+3]})}}}return!1}forEachCell(t,r,i,s,u,n,h,m){const g=this.convertToXCellCoord(t),x=this.convertToYCellCoord(r),b=this.convertToXCellCoord(i),F=this.convertToYCellCoord(s);for(let R=g;R<=b;R++)for(let I=x;I<=F;I++){const B=this.xCellCount*I+R;if(u.call(this,t,r,i,s,B,n,h,m))return}}convertToXCellCoord(t){return Math.max(0,Math.min(this.xCellCount-1,Math.floor(t*this.xScale)))}convertToYCellCoord(t){return Math.max(0,Math.min(this.yCellCount-1,Math.floor(t*this.yScale)))}}class JM{constructor(t,r){H(this,"width",void 0),H(this,"height",void 0),H(this,"grid",void 0),H(this,"viewportPadding",100),H(this,"screenRightBoundary",void 0),H(this,"screenBottomBoundary",void 0),H(this,"gridRightBoundary",void 0),H(this,"gridBottomBoundary",void 0),this.width=t,this.height=r,this.viewportPadding=Math.max(t,r),this.grid=new QM(t+this.viewportPadding,r+this.viewportPadding,25),this.screenRightBoundary=t+this.viewportPadding,this.screenBottomBoundary=r+this.viewportPadding,this.gridRightBoundary=t+2*this.viewportPadding,this.gridBottomBoundary=r+2*this.viewportPadding}placeCollisionBox(t){const r=t.x1+t.anchorPointX+this.viewportPadding,i=t.y1+t.anchorPointY+this.viewportPadding,s=t.x2+t.anchorPointX+this.viewportPadding,u=t.y2+t.anchorPointY+this.viewportPadding;return!this.isInsideGrid(r,i,s,u)||this.grid.hitTest(r,i,s,u)?{box:[]}:{box:[r,i,s,u]}}insertCollisionBox(t,r){const i={featureIndex:r};this.grid.insert(i,t[0],t[1],t[2],t[3])}project(t,r,i){const s=Uv(r,i,0,1),u=Hg(),n=Ov(...t);return i6(u,s,n),{x:(u[0]/u[3]+1)/2*this.width+this.viewportPadding,y:(-u[1]/u[3]+1)/2*this.height+this.viewportPadding}}isInsideGrid(t,r,i,s){return i>=0&&t=0&&r{if(J.split("").forEach(Q=>{const te=t[Q];te&&(b.push({glyph:Q,x:m,y:g+0,vertical:!1,scale:1,metrics:te}),m+=te.advance+n)}),b.length!==R){const Q=m-n;x=Math.max(Q,x),b.length-1}m=0,g-=i+5});const{horizontalAlign:I,verticalAlign:B}=a7(s);s7(b,F,I,B,x,i,r.length);const V=g- -8;e.top+=-B*V,e.bottom=e.top-V,e.left+=-I*x,e.right=e.left+x}function tN(e,t,r,i,s,u,n){let m=0,g=-8,x=0;const b=e.positionedGlyphs,F=0,R=b.length;r.forEach(J=>{const Q=t[J];if(Q&&(b.push({glyph:J,x:Q.advance/2,y:g+0,vertical:!1,scale:1,metrics:Q}),m+=Q.advance+n),b.length!==R){const ne=m-n;x=Math.max(ne,x),b.length-1}m=0,g-=i+5});const{horizontalAlign:I,verticalAlign:B}=a7(s);s7(b,F,I,B,x,i,r.length);const V=g- -8;e.top+=-B*V,e.bottom=e.top-V,e.left+=-I*x,e.right=e.left+x}function rN(e,t,r,i,s,u,n=[0,0],h){const m=e.split(` +`),g=[],x={positionedGlyphs:g,top:n[1],bottom:n[1],left:n[0],right:n[0],lineCount:m.length,text:e};return h?tN(x,t,m,r,i,s,u):eN(x,t,m,r,i,s,u),g.length?x:!1}function oN(e,t=[0,0],r){const{positionedGlyphs:i=[]}=e,s=[];for(const u of i){const n=u.metrics,h=4,m=n.advance*u.scale/2,g=[0,0],x=[u.x+m+t[0],u.y+t[1]],b=(0-h)*u.scale-m+x[0],F=(0-h)*u.scale+x[1],R=b+n.width*u.scale,I=F+n.height*u.scale,B={x:b,y:F},V={x:R,y:F},J={x:b,y:I},Q={x:R,y:I};s.push({tl:B,tr:V,bl:J,br:Q,tex:n,glyphOffset:g})}return s}const N4=`#define SDF_PX 8.0 +#define EDGE_GAMMA 0.105 +#define FONT_SIZE 48.0 + +uniform sampler2D u_sdf_map; +layout(std140) uniform commonUniforms { + vec4 u_stroke_color : [0.0, 0.0, 0.0, 0.0]; + vec2 u_sdf_map_size; + float u_raisingHeight: 0.0; + float u_stroke_width : 2; + float u_gamma_scale : 0.5; + float u_halo_blur : 0.5; +}; + +in vec2 v_uv; +in float v_gamma_scale; +in vec4 v_color; +in vec4 v_stroke_color; +in float v_fontScale; + +out vec4 outputColor; + +#pragma include "picking" +void main() { + // get style data mapping + + // get sdf from atlas + float dist = texture(SAMPLER_2D(u_sdf_map), v_uv).a; + + lowp float buff = (6.0 - u_stroke_width / v_fontScale) / SDF_PX; + highp float gamma = (u_halo_blur * 1.19 / SDF_PX + EDGE_GAMMA) / (v_fontScale * u_gamma_scale) / 1.0; + + highp float gamma_scaled = gamma * v_gamma_scale; + + highp float alpha = smoothstep(buff - gamma_scaled, buff + gamma_scaled, dist); + + outputColor = mix(v_color, v_stroke_color, smoothstep(0., 0.5, 1.- dist)); + + outputColor.a *= alpha; + // 作为 mask 模板时需要丢弃透明的像素 + if (outputColor.a < 0.01) { + discard; + } + outputColor = filterColor(outputColor); +} +`,D4=`#define SDF_PX 8.0 +#define EDGE_GAMMA 0.105 +#define FONT_SIZE 24.0 + +layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_POSITION_64LOW) in vec2 a_Position64Low; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_SIZE) in float a_Size; +layout(location = ATTRIBUTE_LOCATION_TEXT_OFFSETS) in vec2 a_textOffsets; +layout(location = ATTRIBUTE_LOCATION_UV) in vec2 a_tex; + +layout(std140) uniform commonUniforms { + vec4 u_stroke_color : [0.0, 0.0, 0.0, 0.0]; + vec2 u_sdf_map_size; + float u_raisingHeight: 0.0; + float u_stroke_width : 2; + float u_gamma_scale : 0.5; + float u_halo_blur : 0.5; +}; + +out vec2 v_uv; +out float v_gamma_scale; +out vec4 v_color; +out vec4 v_stroke_color; +out float v_fontScale; + +#pragma include "projection" +#pragma include "picking" +#pragma include "rotation_2d" + +void main() { + // cal style mapping - 数据纹理映射部分的计算 + + v_uv = a_tex / u_sdf_map_size; + + + + v_color = vec4(a_Color.xyz, a_Color.w * opacity); + v_stroke_color = vec4(u_stroke_color.xyz, u_stroke_color.w * opacity); + + // 文本缩放比例 + float fontScale = a_Size / FONT_SIZE; + v_fontScale = fontScale; + + vec4 project_pos = project_position(vec4(a_Position, 1.0), a_Position64Low); + // vec4 projected_position = project_common_position_to_clipspace(vec4(project_pos.xyz, 1.0)); + + vec2 offset = rotate_matrix(a_textOffsets,rotation); + + // gl_Position = vec4(projected_position.xy / projected_position.w + rotation_matrix * a_textOffsets * fontScale / u_ViewportSize * 2.0 * u_DevicePixelRatio, 0.0, 1.0); + + float raiseHeight = u_raisingHeight; + if(u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT || u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT_OFFSET) { + float mapboxZoomScale = 4.0/pow(2.0, 21.0 - u_Zoom); + raiseHeight = u_raisingHeight * mapboxZoomScale; + } + + vec4 projected_position = project_common_position_to_clipspace(vec4(project_pos.xyz + vec3(0.0, 0.0, raiseHeight), 1.0)); + + gl_Position = vec4( + projected_position.xy / projected_position.w + offset * fontScale / u_ViewportSize * 2.0 * u_DevicePixelRatio, 0.0, 1.0); + v_gamma_scale = gl_Position.w; + setPickingColor(a_PickingColor); + +} +`,{isEqual:kd}=Qn;function O4(e){const t=this,r=e.id,i=[],s=[];if(!t.glyphInfoMap||!t.glyphInfoMap[r])return{vertices:[],indices:[],size:7};const u=t.glyphInfoMap[r].centroid,n=u.length===2?[u[0],u[1],0]:u;return t.glyphInfoMap[r].glyphQuads.forEach((h,m)=>{i.push(...n,h.tex.x,h.tex.y+h.tex.height,h.tl.x,h.tl.y,...n,h.tex.x+h.tex.width,h.tex.y+h.tex.height,h.tr.x,h.tr.y,...n,h.tex.x+h.tex.width,h.tex.y,h.br.x,h.br.y,...n,h.tex.x,h.tex.y,h.bl.x,h.bl.y),s.push(0+m*4,1+m*4,2+m*4,2+m*4,3+m*4,0+m*4)}),{vertices:i,indices:s,size:7}}class u7 extends Pi{constructor(...t){var r;super(...t),r=this,H(this,"glyphInfo",void 0),H(this,"glyphInfoMap",{}),H(this,"rawEncodeData",void 0),H(this,"texture",void 0),H(this,"currentZoom",-1),H(this,"extent",void 0),H(this,"textureHeight",0),H(this,"textCount",0),H(this,"preTextStyle",{}),H(this,"mapping",mt(function*(){r.initGlyph(),r.updateTexture(),yield r.reBuildModel()}))}get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,SIZE:9,TEXT_OFFSETS:10,UV:11})}getUninforms(){const t=this.getCommonUniformsInfo(),r=this.getUniformsBufferInfo(this.getStyleAttribute());return this.updateStyleUnifoms(),_t(_t(_t({},t.uniformsOption),r.uniformsOption),{u_sdf_map:this.textures[0]})}getCommonUniformsInfo(){const{stroke:t="#fff",strokeWidth:r=0,halo:i=.5,gamma:s=2,raisingHeight:u=0}=this.layer.getLayerConfig(),n=this.getFontServiceMapping(),h=this.getFontServiceCanvas();n&&Object.keys(n).length!==this.textCount&&h&&(this.updateTexture(),this.textCount=Object.keys(n).length),this.preTextStyle=this.getTextStyle();const m={u_stroke_color:Mi(t),u_sdf_map_size:[(h==null?void 0:h.width)||1,(h==null?void 0:h.height)||1],u_raisingHeight:Number(u),u_stroke_width:r,u_gamma_scale:s,u_halo_blur:i};return this.getUniformsBufferInfo(m)}initModels(){var t=this;return mt(function*(){return t.bindEvent(),t.extent=t.textExtent(),t.rawEncodeData=t.layer.getEncodedData(),t.preTextStyle=t.getTextStyle(),t.initUniformsBuffer(),t.buildModels()})()}buildModels(){var t=this;return mt(function*(){const{textAllowOverlap:r=!1}=t.layer.getLayerConfig();return t.initGlyph(),t.updateTexture(),r||t.filterGlyphs(),[yield t.layer.buildLayerModel({moduleName:"pointText",vertexShader:D4,fragmentShader:N4,defines:t.getDefines(),inject:t.getInject(),triangulation:O4.bind(t),depth:{enable:!1}})]})()}needUpdate(){var t=this;return mt(function*(){const{textAllowOverlap:r=!1,textAnchor:i="center",textOffset:s,padding:u,fontFamily:n,fontWeight:h}=t.getTextStyle();if(!kd(u,t.preTextStyle.padding)||!kd(s,t.preTextStyle.textOffset)||!kd(i,t.preTextStyle.textAnchor)||!kd(n,t.preTextStyle.fontFamily)||!kd(h,t.preTextStyle.fontWeight))return yield t.mapping(),!0;if(r)return!1;const m=t.mapService.getZoom(),g=t.mapService.getBounds(),x=a8(t.extent,g);return Math.abs(t.currentZoom-m)>.5||!x||r!==t.preTextStyle.textAllowOverlap?(yield t.reBuildModel(),!0):!1})()}clearModels(){var t;(t=this.texture)===null||t===void 0||t.destroy(),this.layer.off("remapping",this.mapping)}registerBuiltinAttributes(){this.registerPosition64LowAttribute(),this.styleAttributeService.registerStyleAttribute({name:"textOffsets",type:br.Attribute,descriptor:{shaderLocation:this.attributeLocation.TEXT_OFFSETS,name:"a_textOffsets",buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:2,update:(t,r,i)=>[i[5],i[6]]}}),this.styleAttributeService.registerStyleAttribute({name:"textUv",type:br.Attribute,descriptor:{name:"a_tex",shaderLocation:this.attributeLocation.UV,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:2,update:(t,r,i)=>[i[3],i[4]]}}),this.styleAttributeService.registerStyleAttribute({name:"size",type:br.Attribute,descriptor:{name:"a_Size",shaderLocation:this.attributeLocation.SIZE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:1,update:t=>{const{size:r=12}=t;return Array.isArray(r)?[r[0]]:[r]}}})}bindEvent(){this.layer.isTileLayer||this.layer.on("remapping",this.mapping)}textExtent(){const t=this.mapService.getBounds();return f6(t,.5)}initTextFont(){const{fontWeight:t,fontFamily:r}=this.getTextStyle(),i=this.rawEncodeData,s=[];i.forEach(u=>{let{shape:n=""}=u;n=n.toString();for(const h of n)s.indexOf(h)===-1&&s.push(h)}),this.fontService.setFontOptions({characterSet:s,fontWeight:t,fontFamily:r,iconfont:!1})}initIconFontTex(){const{fontWeight:t,fontFamily:r}=this.getTextStyle(),i=this.rawEncodeData,s=[];i.forEach(u=>{let{shape:n=""}=u;n=`${n}`,s.indexOf(n)===-1&&s.push(n)}),this.fontService.setFontOptions({characterSet:s,fontWeight:t,fontFamily:r,iconfont:!0})}getTextStyle(){const{fontWeight:t="400",fontFamily:r="sans-serif",textAllowOverlap:i=!1,padding:s=[0,0],textAnchor:u="center",textOffset:n=[0,0],opacity:h=1,strokeOpacity:m=1,strokeWidth:g=0,stroke:x="#000"}=this.layer.getLayerConfig();return{fontWeight:t,fontFamily:r,textAllowOverlap:i,padding:s,textAnchor:u,textOffset:n,opacity:h,strokeOpacity:m,strokeWidth:g,stroke:x}}generateGlyphLayout(t){const r=this.getFontServiceMapping(),{spacing:i=2,textAnchor:s="center",textOffset:u}=this.layer.getLayerConfig(),n=this.rawEncodeData;this.glyphInfo=n.map(h=>{const{shape:m="",id:g,size:x=1}=h,b=h.textOffset?h.textOffset:u||[0,0],F=h.textAnchor?h.textAnchor:s||"center",R=rN(m.toString(),r,x,F,"left",i,b,t),I=oN(R,b);return h.shaping=R,h.glyphQuads=I,h.centroid=h1(h.coordinates),this.glyphInfoMap[g]={shaping:R,glyphQuads:I,centroid:h1(h.coordinates)},h})}getFontServiceMapping(){const{fontWeight:t="400",fontFamily:r="sans-serif"}=this.layer.getLayerConfig();return this.fontService.getMappingByKey(`${r}_${t}`)}getFontServiceCanvas(){const{fontWeight:t="400",fontFamily:r="sans-serif"}=this.layer.getLayerConfig();return this.fontService.getCanvasByKey(`${r}_${t}`)}filterGlyphs(){const{padding:t=[0,0],textAllowOverlap:r=!1}=this.layer.getLayerConfig();if(r)return;this.glyphInfoMap={},this.currentZoom=this.mapService.getZoom(),this.extent=this.textExtent();const{width:i,height:s}=this.rendererService.getViewportSize(),u=new JM(i,s);this.glyphInfo.filter(h=>{const{shaping:m,id:g=0}=h,x=h.centroid,F=h.size/16,R=this.mapService.lngLatToContainer(x),{box:I}=u.placeCollisionBox({x1:m.left*F-t[0],x2:m.right*F+t[0],y1:m.top*F-t[1],y2:m.bottom*F+t[1],anchorPointX:R.x,anchorPointY:R.y});return I&&I.length?(u.insertCollisionBox(I,g),!0):!1}).forEach(h=>{this.glyphInfoMap[h.id]=h})}initGlyph(){const{iconfont:t=!1}=this.layer.getLayerConfig();t?this.initIconFontTex():this.initTextFont(),this.generateGlyphLayout(t)}updateTexture(){const{createTexture2D:t}=this.rendererService,r=this.getFontServiceCanvas();this.textureHeight=r.height,this.texture&&this.texture.destroy(),this.texture=t({data:r,mag:L.LINEAR,min:L.LINEAR,width:r.width,height:r.height}),this.textures=[this.texture]}reBuildModel(){var t=this;return mt(function*(){t.filterGlyphs();const r=yield t.layer.buildLayerModel({moduleName:"pointText",vertexShader:D4,fragmentShader:N4,triangulation:O4.bind(t),defines:t.getDefines(),inject:t.getInject(),depth:{enable:!1}});t.layer.models=[r]})()}}const iN={fillImage:jM,fill:o7,radar:KM,image:i7,normal:n7,simplePoint:CM,extrude:r7,text:u7,earthFill:BM,earthExtrude:DM};class Ty extends A1{constructor(...t){super(...t),H(this,"type","PointLayer"),H(this,"enableShaderEncodeStyles",["stroke","offsets","opacity","rotation"]),H(this,"enableDataEncodeStyles",["textOffset","textAnchor"]),H(this,"defaultSourceConfig",{data:[],options:{parser:{type:"json",x:"lng",y:"lat"}}})}buildModels(){var t=this;return mt(function*(){const r=t.getModelType();t.layerModel&&t.layerModel.clearModels(),t.layerModel=new iN[r](t),yield t.initLayerModels()})()}rebuildModels(){var t=this;return mt(function*(){yield t.buildModels()})()}getModelTypeWillEmptyData(){if(this.shapeOption){const{field:t,values:r}=this.shapeOption,{shape2d:i}=this.getLayerConfig(),s=this.iconService.getIconMap();if(t&&(i==null?void 0:i.indexOf(t))!==-1)return"fill";if(r==="text")return"text";if(r&&r instanceof Array){for(const u of r)if(typeof u=="string"&&s.hasOwnProperty(u))return"image"}}return"normal"}getDefaultConfig(){const t=this.getModelType();return{fillImage:{},normal:{blend:"additive"},radar:{},simplePoint:{},fill:{blend:"normal"},extrude:{},image:{},text:{blend:"normal"},tile:{},tileText:{},earthFill:{},earthExtrude:{}}[t]}getModelType(){const t=this.getEncodedData(),{shape2d:r,shape3d:i,billboard:s=!0}=this.getLayerConfig(),u=this.iconService.getIconMap(),n=t.find(h=>h.hasOwnProperty("shape"));if(n){const h=n.shape;return h==="dot"?"normal":h==="simple"?"simplePoint":h==="radar"?"radar":this.layerType==="fillImage"||s===!1?"fillImage":(r==null?void 0:r.indexOf(h))!==-1?this.mapService.version==="GLOBEL"?"earthFill":"fill":(i==null?void 0:i.indexOf(h))!==-1?this.mapService.version==="GLOBEL"?"earthExtrude":"extrude":u.hasOwnProperty(h)?"image":"text"}else return this.getModelTypeWillEmptyData()}}function nN(e){return G2.apply(this,arguments)}function G2(){return G2=mt(function*(e){if(window.createImageBitmap){const t=yield fetch(e);return yield createImageBitmap(yield t.blob())}else{const t=new window.Image;return new Promise(r=>{t.onload=()=>r(t),t.src=e,t.crossOrigin="Anonymous"})}}),G2.apply(this,arguments)}const aN=`layout(std140) uniform commonUniforms { + vec4 u_sourceColor; + vec4 u_targetColor; + float u_linearColor; + float u_topsurface; + float u_sidesurface; + float u_heightfixed; // 默认不固定 + float u_raisingHeight; +}; + +in vec4 v_Color; +#pragma include "scene_uniforms" +#pragma include "picking" +out vec4 outputColor; +void main() { + + // top face + if(u_topsurface < 1.0) { + discard; + } + + outputColor = v_Color; + + outputColor = filterColor(outputColor); +} +`,sN=` +layout(std140) uniform commonUniforms { + vec4 u_sourceColor; + vec4 u_targetColor; + float u_linearColor; + float u_topsurface; + float u_sidesurface; + float u_heightfixed; // 默认不固定 + float u_raisingHeight; +}; + +in vec4 v_Color; +in vec3 v_uvs; +in vec2 v_texture_data; +out vec4 outputColor; + +#pragma include "scene_uniforms" +#pragma include "picking" + +void main() { + float isSide = v_texture_data.x; + float sidey = v_uvs[2]; + float lightWeight = v_texture_data.y; + + // Tip: 部分机型 GPU 计算精度兼容 + if(isSide < 0.999) { + // side face + if(u_sidesurface < 1.0) { + discard; + } + + if( u_linearColor == 1.0) { + // side use linear + vec4 linearColor = mix(u_targetColor, u_sourceColor, sidey); + linearColor.rgb *= lightWeight; + outputColor = linearColor; + } else { + // side notuse linear + outputColor = v_Color; + } + } else { + // top face + if(u_topsurface < 1.0) { + discard; + } + outputColor = v_Color; + } + + outputColor = filterColorAlpha(outputColor, lightWeight); +} +`,uN=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_POSITION_64LOW) in vec2 a_Position64Low; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_SIZE) in float a_Size; +layout(location = ATTRIBUTE_LOCATION_NORMAL) in vec3 a_Normal; +layout(location = ATTRIBUTE_LOCATION_UV) in vec3 a_uvs; + +layout(std140) uniform commonUniforms { + vec4 u_sourceColor; + vec4 u_targetColor; + float u_linearColor; + float u_topsurface; + float u_sidesurface; + float u_heightfixed; // 默认不固定 + float u_raisingHeight; +}; + +out vec4 v_Color; +out vec3 v_uvs; +out vec2 v_texture_data; + +#pragma include "projection" +#pragma include "light" +#pragma include "picking" + +void main() { + v_uvs = a_uvs; + // cal style mapping - 数据纹理映射部分的计算 + vec4 pos = vec4(a_Position.xy, a_Position.z * a_Size, 1.0); + vec4 project_pos = project_position(pos, a_Position64Low); + + if (u_heightfixed > 0.0) { + // 判断几何体是否固定高度 + project_pos.z = a_Position.z * a_Size; + project_pos.z += u_raisingHeight; + if ( + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT || + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT_OFFSET + ) { + float mapboxZoomScale = 4.0 / pow(2.0, 21.0 - u_Zoom); + project_pos.z *= mapboxZoomScale; + project_pos.z += u_raisingHeight * mapboxZoomScale; + } + } + + gl_Position = project_common_position_to_clipspace(vec4(project_pos.xyz, 1.0)); + float lightWeight = calc_lighting(project_pos); + v_texture_data = vec2(a_Position.z, lightWeight); + + v_Color = vec4(a_Color.rgb * lightWeight, a_Color.w * opacity); + + setPickingColor(a_PickingColor); +} +`,pN=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_POSITION_64LOW) in vec2 a_Position64Low; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_SIZE) in float a_Size; +layout(location = ATTRIBUTE_LOCATION_NORMAL) in vec3 a_Normal; +layout(location = ATTRIBUTE_LOCATION_UV) in vec3 a_uvs; + +layout(std140) uniform commonUniforms { + vec4 u_sourceColor; + vec4 u_targetColor; + float u_linearColor; + float u_topsurface; + float u_sidesurface; + float u_heightfixed; // 默认不固定 + float u_raisingHeight; +}; + +out vec4 v_Color; + +#pragma include "projection" +#pragma include "light" +#pragma include "picking" + +void main() { + float isSide = a_Position.z; + float topU = a_uvs[0]; + float topV = 1.0 - a_uvs[1]; + float sidey = a_uvs[2]; + + vec4 pos = vec4(a_Position.xy, a_Position.z * a_Size, 1.0); + + vec4 project_pos = project_position(pos, a_Position64Low); + float lightWeight = calc_lighting(project_pos); + + if (u_heightfixed > 0.0) { + // 判断几何体是否固定高度 + project_pos.z = a_Position.z * a_Size; + project_pos.z += u_raisingHeight; + + if ( + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT || + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT_OFFSET + ) { + float mapboxZoomScale = 4.0 / pow(2.0, 21.0 - u_Zoom); + project_pos.z *= mapboxZoomScale; + project_pos.z += u_raisingHeight * mapboxZoomScale; + } + } + + gl_Position = project_common_position_to_clipspace(vec4(project_pos.xyz, 1.0)); + + // Tip: 部分机型 GPU 计算精度兼容 + if (isSide < 0.999) { + // side face + // if(u_sidesurface < 1.0) { + // discard; + // } + + if (u_linearColor == 1.0) { + vec4 linearColor = mix(u_targetColor, u_sourceColor, sidey); + linearColor.rgb *= lightWeight; + v_Color = linearColor; + } else { + v_Color = a_Color; + } + + } else { + v_Color = a_Color; + } + + v_Color = vec4(v_Color.rgb * lightWeight, v_Color.w * opacity); + + setPickingColor(a_PickingColor); +} +`,cN=`uniform sampler2D u_texture; + +layout(std140) uniform commonUniforms { + vec4 u_sourceColor; + vec4 u_targetColor; + float u_linearColor; + float u_topsurface; + float u_sidesurface; + float u_heightfixed; // 默认不固定 + float u_raisingHeight; +}; + +in vec4 v_Color; +in vec3 v_uvs; +in vec2 v_texture_data; + +#pragma include "scene_uniforms" +#pragma include "picking" + +out vec4 outputColor; + +void main() { + float opacity = u_opacity; + float isSide = v_texture_data.x; + float lightWeight = v_texture_data.y; + float topU = v_uvs[0]; + float topV = 1.0 - v_uvs[1]; + float sidey = v_uvs[2]; + + outputColor = texture(SAMPLER_2D(u_texture), vec2(topU, topV)); + // Tip: 部分机型 GPU 计算精度兼容 + if (isSide < 0.999) {// 是否是边缘 + // side face + if (u_sidesurface < 1.0) { + discard; + } + + if (u_linearColor == 1.0) { + vec4 linearColor = mix(u_targetColor, u_sourceColor, sidey); + linearColor.rgb *= lightWeight; + outputColor = linearColor; + } else { + outputColor = v_Color; + } + } else { + // top face + if (u_topsurface < 1.0) { + discard; + } + } + + outputColor.a *= opacity; + outputColor = filterColor(outputColor); +} +`,lN=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_POSITION_64LOW) in vec2 a_Position64Low; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_SIZE) in float a_Size; +layout(location = ATTRIBUTE_LOCATION_NORMAL) in vec3 a_Normal; +layout(location = ATTRIBUTE_LOCATION_UV) in vec3 a_uvs; + +layout(std140) uniform commonUniforms { + vec4 u_sourceColor; + vec4 u_targetColor; + float u_linearColor; + float u_topsurface; + float u_sidesurface; + float u_heightfixed; // 默认不固定 + float u_raisingHeight; +}; + +out vec4 v_Color; +out vec3 v_uvs; +out vec2 v_texture_data; + +#pragma include "projection" +#pragma include "light" +#pragma include "picking" + +void main() { + vec4 pos = vec4(a_Position.xy, a_Position.z * a_Size, 1.0); + vec4 project_pos = project_position(pos, a_Position64Low); + float lightWeight = calc_lighting(project_pos); + v_uvs = a_uvs; + v_Color = a_Color; + v_Color.a *= opacity; + + v_texture_data = vec2(a_Position.z, lightWeight); + + if (u_heightfixed > 0.0) { + // 判断几何体是否固定高度 + project_pos.z = a_Position.z * a_Size; + project_pos.z += u_raisingHeight; + + if ( + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT || + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT_OFFSET + ) { + float mapboxZoomScale = 4.0 / pow(2.0, 21.0 - u_Zoom); + project_pos.z *= mapboxZoomScale; + project_pos.z += u_raisingHeight * mapboxZoomScale; + } + } + + gl_Position = project_common_position_to_clipspace(vec4(project_pos.xyz, 1.0)); + + setPickingColor(a_PickingColor); +} +`;class dN extends Pi{constructor(...t){super(...t),H(this,"texture",void 0)}get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,SIZE:9,NORMAL:10,UV:11})}getUninforms(){const t=this.getCommonUniformsInfo(),r=this.getUniformsBufferInfo(this.getStyleAttribute());return this.updateStyleUnifoms(),_t(_t({},t.uniformsOption),r.uniformsOption)}getCommonUniformsInfo(){const{mapTexture:t,heightfixed:r=!1,raisingHeight:i=0,topsurface:s=!0,sidesurface:u=!0,sourceColor:n,targetColor:h}=this.layer.getLayerConfig();let m=0,g=[1,1,1,1],x=[1,1,1,1];n&&h&&(g=Mi(n),x=Mi(h),m=1);const b={u_sourceColor:g,u_targetColor:x,u_linearColor:m,u_topsurface:Number(s),u_sidesurface:Number(u),u_heightfixed:Number(r),u_raisingHeight:Number(i)};return t&&this.texture&&(b.u_texture=this.texture,this.textures=[this.texture]),this.getUniformsBufferInfo(b)}initModels(){var t=this;return mt(function*(){return yield t.loadTexture(),t.buildModels()})()}buildModels(){var t=this;return mt(function*(){const{frag:r,vert:i,type:s}=t.getShaders();return t.initUniformsBuffer(),[yield t.layer.buildLayerModel({moduleName:s,vertexShader:i,fragmentShader:r,depth:{enable:!0},defines:t.getDefines(),inject:t.getInject(),triangulation:K9})]})()}getShaders(){const{pickLight:t,mapTexture:r}=this.layer.getLayerConfig();return r?{frag:cN,vert:lN,type:"polygonExtrudeTexture"}:t?{frag:sN,vert:uN,type:"polygonExtrudePickLight"}:{frag:aN,vert:pN,type:"polygonExtrude"}}clearModels(){var t;(t=this.texture)===null||t===void 0||t.destroy(),this.textures=[]}registerBuiltinAttributes(){const t=this.layer.getSource().extent,r=t[2]-t[0],i=t[3]-t[1];this.registerPosition64LowAttribute(),this.styleAttributeService.registerStyleAttribute({name:"uvs",type:br.Attribute,descriptor:{name:"a_uvs",shaderLocation:this.attributeLocation.UV,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:3,update:(s,u,n)=>{const h=n[0],m=n[1];return[(h-t[0])/r,(m-t[1])/i,n[4]]}}}),this.styleAttributeService.registerStyleAttribute({name:"normal",type:br.Attribute,descriptor:{name:"a_Normal",shaderLocation:this.attributeLocation.NORMAL,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:3,update:(s,u,n,h,m)=>m}}),this.styleAttributeService.registerStyleAttribute({name:"size",type:br.Attribute,descriptor:{name:"a_Size",shaderLocation:this.attributeLocation.SIZE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:1,update:s=>{const{size:u=10}=s;return Array.isArray(u)?[u[0]]:[u]}}})}loadTexture(){var t=this;return mt(function*(){const{mapTexture:r}=t.layer.getLayerConfig(),{createTexture2D:i}=t.rendererService;if(t.texture=i({height:1,width:1}),r){const s=yield nN(r);t.texture=i({data:s,width:s.width,height:s.height,wrapS:L.CLAMP_TO_EDGE,wrapT:L.CLAMP_TO_EDGE,min:L.LINEAR,mag:L.LINEAR})}})()}}const yN=` +in vec4 v_Color; +#pragma include "scene_uniforms" +#pragma include "picking" +out vec4 outputColor; +void main() { + + outputColor = v_Color; + outputColor = filterColor(outputColor); +} +`,hN=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_POSITION_64LOW) in vec2 a_Position64Low; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_SIZE) in float a_Size; +layout(location = ATTRIBUTE_LOCATION_NORMAL) in vec3 a_Normal; + +out vec4 v_Color; + +#pragma include "projection" +#pragma include "light" +#pragma include "picking" + +void main() { + vec4 pos = vec4(a_Position.xy, a_Position.z * a_Size + (1.0 - a_Position.z) * extrusionBase, 1.0); + + vec4 project_pos = project_position(pos, a_Position64Low); + float lightWeight = calc_lighting(project_pos); + v_Color = a_Color; + v_Color = vec4(v_Color.rgb * lightWeight, v_Color.w * opacity); + + gl_Position = project_common_position_to_clipspace(vec4(project_pos.xyz, 1.0)); + + setPickingColor(a_PickingColor); +} +`;class fN extends Pi{constructor(...t){super(...t),H(this,"texture",void 0)}get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,SIZE:9,NORMAL:10,EXTRUSION_BASE:11})}getUninforms(){const t=this.getCommonUniformsInfo(),r=this.getUniformsBufferInfo(this.getStyleAttribute());return this.updateStyleUnifoms(),_t(_t({},t.uniformsOption),r.uniformsOption)}getCommonUniformsInfo(){const t={};return this.getUniformsBufferInfo(t)}initModels(){var t=this;return mt(function*(){return t.buildModels()})()}buildModels(){var t=this;return mt(function*(){const{frag:r,vert:i,type:s}=t.getShaders();return t.initUniformsBuffer(),[yield t.layer.buildLayerModel({moduleName:s,vertexShader:i,fragmentShader:r,defines:t.getDefines(),inject:t.getInject(),triangulation:K9,depth:{enable:!0}})]})()}getShaders(){return{frag:yN,vert:hN,type:"polygonExtrude"}}clearModels(){var t;(t=this.texture)===null||t===void 0||t.destroy()}registerBuiltinAttributes(){this.registerPosition64LowAttribute(),this.styleAttributeService.registerStyleAttribute({name:"normal",type:br.Attribute,descriptor:{name:"a_Normal",shaderLocation:this.attributeLocation.NORMAL,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:3,update:(t,r,i,s,u)=>u}}),this.styleAttributeService.registerStyleAttribute({name:"size",type:br.Attribute,descriptor:{name:"a_Size",shaderLocation:this.attributeLocation.SIZE,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:1,update:t=>{const{size:r=10}=t;return Array.isArray(r)?[r[0]]:[r]}}}),this.styleAttributeService.registerStyleAttribute({name:"extrusionBase",type:br.Attribute,descriptor:{name:"a_ExtrusionBase",shaderLocation:this.attributeLocation.EXTRUSION_BASE,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:1,update:t=>{const{extrusionBase:r=0}=t;return[r]}}})}}const mN=`in vec4 v_color; +#pragma include "scene_uniforms" +#pragma include "picking" +out vec4 outputColor; +void main() { + outputColor = v_color; + outputColor = filterColor(outputColor); +} +`,_N=` +layout(std140) uniform commonUniforms { + float u_raisingHeight; + float u_opacitylinear; + float u_dir; +}; + +in vec4 v_color; +in vec3 v_linear; +in vec2 v_pos; +out vec4 outputColor; +#pragma include "scene_uniforms" +#pragma include "picking" + +void main() { + outputColor = v_color; + if (u_opacitylinear > 0.0) { + outputColor.a *= u_dir == 1.0 ? 1.0 - length(v_pos - v_linear.xy)/v_linear.z : length(v_pos - v_linear.xy)/v_linear.z; + } + outputColor = filterColor(outputColor); +} +`,gN=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_POSITION_64LOW) in vec2 a_Position64Low; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_LINEAR) in vec3 a_linear; + +layout(std140) uniform commonUniforms { + float u_raisingHeight; + float u_opacitylinear; + float u_dir; +}; + +out vec4 v_color; +out vec3 v_linear; +out vec2 v_pos; + +#pragma include "projection" +#pragma include "picking" + +void main() { + if (u_opacitylinear > 0.0) { + v_linear = a_linear; + v_pos = a_Position.xy; + } + v_color = vec4(a_Color.xyz, a_Color.w * opacity); + vec4 project_pos = project_position(vec4(a_Position, 1.0), a_Position64Low); + project_pos.z += u_raisingHeight; + + if (u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT || u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT_OFFSET) { + float mapboxZoomScale = 4.0/pow(2.0, 21.0 - u_Zoom); + project_pos.z *= mapboxZoomScale; + project_pos.z += u_raisingHeight * mapboxZoomScale; + } + + gl_Position = project_common_position_to_clipspace(vec4(project_pos.xyz, 1.0)); + setPickingColor(a_PickingColor); +} +`,vN=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_POSITION_64LOW) in vec2 a_Position64Low; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; + +layout(std140) uniform commonUniforms { + float u_raisingHeight; +}; + +out vec4 v_color; + +#pragma include "projection" +#pragma include "picking" + +void main() { + // cal style mapping - 数据纹理映射部分的计算 + + v_color = vec4(a_Color.xyz, a_Color.w * opacity); + vec4 project_pos = project_position(vec4(a_Position, 1.0), a_Position64Low); + + project_pos.z += u_raisingHeight; + + if ( + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT || + u_CoordinateSystem == COORDINATE_SYSTEM_LNGLAT_OFFSET + ) { + float mapboxZoomScale = 4.0 / pow(2.0, 21.0 - u_Zoom); + project_pos.z *= mapboxZoomScale; + project_pos.z += u_raisingHeight * mapboxZoomScale; + } + + gl_Position = project_common_position_to_clipspace(vec4(project_pos.xyz, 1.0)); + + setPickingColor(a_PickingColor); +} + +`;class EN extends Pi{get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,LINEAR:9})}getUninforms(){const t=this.getCommonUniformsInfo(),r=this.getUniformsBufferInfo(this.getStyleAttribute());return this.updateStyleUnifoms(),_t(_t({},t.uniformsOption),r.uniformsOption)}getCommonUniformsInfo(){const{raisingHeight:t=0,opacityLinear:r={enable:!1,dir:"in"}}=this.layer.getLayerConfig(),i={u_raisingHeight:Number(t),u_opacitylinear:Number(r.enable),u_dir:r.dir==="in"?1:0};return this.getUniformsBufferInfo(i)}initModels(){var t=this;return mt(function*(){return t.buildModels()})()}buildModels(){var t=this;return mt(function*(){const{frag:r,vert:i,triangulation:s,type:u}=t.getModelParams();return t.initUniformsBuffer(),t.layer.triangulation=s,[yield t.layer.buildLayerModel({moduleName:u,vertexShader:i,fragmentShader:r,defines:t.getDefines(),inject:t.getInject(),triangulation:s,primitive:L.TRIANGLES,depth:{enable:!1}})]})()}registerBuiltinAttributes(){this.registerPosition64LowAttribute();const{opacityLinear:t={enable:!1,dir:"in"}}=this.layer.getLayerConfig();t.enable&&this.styleAttributeService.registerStyleAttribute({name:"linear",type:br.Attribute,descriptor:{name:"a_linear",shaderLocation:this.attributeLocation.LINEAR,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:3,update:(r,i,s)=>[s[3],s[4],s[5]]}})}getModelParams(){const{opacityLinear:t={enable:!1}}=this.layer.getLayerConfig();return t.enable?{frag:_N,vert:gN,type:"polygonLinear",triangulation:xI}:{frag:mN,vert:vN,type:"polygonFill",triangulation:Ly}}}const xN=` +layout(std140) uniform commonUniforms { + vec4 u_watercolor; + vec4 u_watercolor2; + float u_time; +}; + +in vec2 v_uv; +in float v_opacity; +out vec4 outputColor; + +float coast2water_fadedepth = 0.10; +float large_waveheight = .750; // change to adjust the "heavy" waves +float large_wavesize = 3.4; // factor to adjust the large wave size +float small_waveheight = 0.6; // change to adjust the small random waves +float small_wavesize = 0.5; // factor to ajust the small wave size +float water_softlight_fact = 15.; // range [1..200] (should be << smaller than glossy-fact) +float water_glossylight_fact= 120.; // range [1..200] +float particle_amount = 70.; + +vec3 water_specularcolor = vec3(1.3, 1.3, 0.9); // specular Color (RGB) of the water-highlights +#define light vec3(-0., sin(u_time*0.5)*.5 + .35, 2.8) // position of the sun + +uniform sampler2D u_texture1; +uniform sampler2D u_texture2; +uniform sampler2D u_texture3; + + + +float hash( float n ) { + return fract(sin(n)*43758.5453123); +} + +// 2d noise function +float noise1( in vec2 x ) { + vec2 p = floor(x); + vec2 f = smoothstep(0.0, 1.0, fract(x)); + float n = p.x + p.y*57.0; + return mix(mix( hash(n+ 0.0), hash(n+ 1.0),f.x), + mix( hash(n+ 57.0), hash(n+ 58.0),f.x),f.y); +} + +float noise(vec2 p) { + return texture(SAMPLER_2D(u_texture2),p*vec2(1./256.)).x; +} + +vec4 highness(vec2 p) { + vec4 t = texture(SAMPLER_2D(u_texture1),fract(p)); + float clipped = -2.0-smoothstep(3.,10.,t.a)*6.9-smoothstep(10.,100.,t.a)*89.9-smoothstep(0.,10000.,t.a)*10000.0; + return clamp(t, 0.0,3.0)+clamp(t/3.0-1.0, 0.0,1.0)+clamp(t/16.0-1.0, 0.0,1.0); +} + +float height_map( vec2 p ) { + vec4 height=highness(p); + /* + height = -0.5+ + 0.5*smoothstep(-100.,0.,-height)+ + 2.75*smoothstep(0.,2.,height)+ + 1.75*smoothstep(2.,4.,height)+ + 2.75*smoothstep(4.,16.,height)+ + 1.5*smoothstep(16.,1000.,height); + */ + + mat2 m = mat2( 0.9563*1.4, -0.2924*1.4, 0.2924*1.4, 0.9563*1.4 ); + //p = p*6.; + float f = 0.6000*noise1( p ); p = m*p*1.1*6.; + f += 0.2500*noise( p ); p = m*p*1.32; + f += 0.1666*noise( p ); p = m*p*1.11; + f += 0.0834*noise( p ); p = m*p*1.12; + f += 0.0634*noise( p ); p = m*p*1.13; + f += 0.0444*noise( p ); p = m*p*1.14; + f += 0.0274*noise( p ); p = m*p*1.15; + f += 0.0134*noise( p ); p = m*p*1.16; + f += 0.0104*noise( p ); p = m*p*1.17; + f += 0.0084*noise( p ); + f = .25*f+dot(height,vec4(-.03125,-.125,.25,.25))*.5; + const float FLAT_LEVEL = 0.92525; + //f = f*0.25+height*0.75; + if (f level) + { + col = CalcTerrain(uv, height); + } + if (height <= level) + { + vec2 dif = vec2(.0, .01); + vec2 pos = uv*15. + vec2(u_time*.01); + float h1 = water_map(pos-dif,waveheight); + float h2 = water_map(pos+dif,waveheight); + float h3 = water_map(pos-dif.yx,waveheight); + float h4 = water_map(pos+dif.yx,waveheight); + vec3 normwater = normalize(vec3(h3-h4, h1-h2, .125)); // norm-vector of the 'bumpy' water-plane + uv += normwater.xy*.002*(level-height); + + col = CalcTerrain(uv, height); + + float coastfade = clamp((level-height)/coast2water_fadedepth, 0., 1.); + float coastfade2= clamp((level-height)/deepwater_fadedepth, 0., 1.); + float intensity = col.r*.2126+col.g*.7152+col.b*.0722; + watercolor = mix(watercolor*intensity, watercolor2, smoothstep(0., 1., coastfade2)); + + vec3 r0 = vec3(uv, WATER_LEVEL); + vec3 rd = normalize( light - r0 ); // ray-direction to the light from water-position + float grad = dot(normwater, rd); // dot-product of norm-vector and light-direction + float specular = pow(grad, water_softlight_fact); // used for soft highlights + float specular2= pow(grad, water_glossylight_fact); // used for glossy highlights + float gradpos = dot(vec3(0., 0., 1.), rd); + float specular1= smoothstep(0., 1., pow(gradpos, 5.)); // used for diffusity (some darker corona around light's specular reflections...) + float watershade = test_shadow( uv, level ); + watercolor *= 2.2+watershade; + watercolor += (.2+.8*watershade) * ((grad-1.0)*.5+specular) * .25; + watercolor /= (1.+specular1*1.25); + watercolor += watershade*specular2*water_specularcolor; + watercolor += watershade*coastfade*(1.-coastfade2)*(vec3(.5, .6, .7)*nautic(uv)+vec3(1., 1., 1.)*particles(uv)); + + col = mix(col, watercolor, coastfade); + } + + outputColor = vec4(col, v_opacity); +} +`,PN=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_UV) in vec2 a_uv; + +layout(std140) uniform commonUniforms { + vec4 u_watercolor; + vec4 u_watercolor2; + float u_time; +}; + +out vec2 v_uv; +out float v_opacity; + +#pragma include "projection" + +void main() { + v_uv = a_uv; + v_opacity = opacity; + vec4 project_pos = project_position(vec4(a_Position, 1.0)); + gl_Position = project_common_position_to_clipspace(vec4(project_pos.xyz, 1.0)); +} + +`;class bN extends Pi{constructor(...t){super(...t),H(this,"texture1",void 0),H(this,"texture2",void 0),H(this,"texture3",void 0)}get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,UV:9})}getUninforms(){const t=this.getCommonUniformsInfo(),r=this.getUniformsBufferInfo(this.getStyleAttribute());return this.updateStyleUnifoms(),_t(_t({},t.uniformsOption),r.uniformsOption)}getCommonUniformsInfo(){const{watercolor:t="#6D99A8",watercolor2:r="#0F121C"}=this.layer.getLayerConfig(),i={u_watercolor:Mi(t),u_watercolor2:Mi(r),u_time:this.layer.getLayerAnimateTime(),u_texture1:this.texture1,u_texture2:this.texture2,u_texture3:this.texture3};return this.textures=[this.texture1,this.texture2,this.texture3],this.getUniformsBufferInfo(i)}getAnimateUniforms(){return{u_time:this.layer.getLayerAnimateTime()}}initModels(){var t=this;return mt(function*(){return t.loadTexture(),t.buildModels()})()}buildModels(){var t=this;return mt(function*(){return t.initUniformsBuffer(),[yield t.layer.buildLayerModel({moduleName:"polygonOcean",vertexShader:PN,fragmentShader:xN,defines:t.getDefines(),inject:t.getInject(),triangulation:Ly,primitive:L.TRIANGLES,depth:{enable:!1}})]})()}clearModels(){var t,r,i;(t=this.texture1)===null||t===void 0||t.destroy(),(r=this.texture2)===null||r===void 0||r.destroy(),(i=this.texture3)===null||i===void 0||i.destroy()}registerBuiltinAttributes(){const t=this.layer.getSource().extent,[r,i,s,u]=t,n=s-r,h=u-i;this.styleAttributeService.registerStyleAttribute({name:"oceanUv",type:br.Attribute,descriptor:{name:"a_uv",shaderLocation:this.attributeLocation.UV,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:2,update:(m,g,x)=>{const[b,F]=x;return[(b-r)/n,(F-i)/h]}}})}loadTexture(){const{createTexture2D:t}=this.rendererService,r={height:0,width:0};this.texture1=t(r),this.texture2=t(r),this.texture3=t(r),i(u=>{this.texture1=s(u[0]),this.texture2=s(u[1]),this.texture3=s(u[2]),this.layerService.reRender()});function i(u){let n=0;const h=[];["https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*EojwT4VzSiYAAAAAAAAAAAAAARQnAQ","https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*MJ22QbpuCzIAAAAAAAAAAAAAARQnAQ","https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*-z2HSIVDsHIAAAAAAAAAAAAAARQnAQ"].map(g=>{const x=new Image;x.crossOrigin="",x.src=g,h.push(x),x.onload=()=>{n++,n===3&&u(h)}})}function s(u){return t({data:u,width:u.width,height:u.height,wrapS:L.MIRRORED_REPEAT,wrapT:L.MIRRORED_REPEAT,min:L.LINEAR,mag:L.LINEAR})}}}const AN=`uniform sampler2D u_texture; +layout(std140) uniform commonUniforms { + float u_speed; + float u_time; +}; + +out vec4 outputColor; + + +in vec4 v_Color; +in vec2 v_uv; + +float rand(vec2 n) { return 0.5 + 0.5 * fract(sin(dot(n.xy, vec2(12.9898, 78.233)))* 43758.5453); } + +float water(vec3 p) { + float t = u_time * u_speed; + p.z += t * 2.; p.x += t * 2.; + vec3 c1 = texture(SAMPLER_2D(u_texture), p.xz / 30.).xyz; + p.z += t * 3.; p.x += t * 0.52; + vec3 c2 = texture(SAMPLER_2D(u_texture), p.xz / 30.).xyz; + p.z += t * 4.; p.x += t * 0.8; + vec3 c3 = texture(SAMPLER_2D(u_texture), p.xz / 30.).xyz; + c1 += c2 - c3; + float z = (c1.x + c1.y + c1.z) / 3.; + return p.y + z / 4.; +} + +float map(vec3 p) { + float d = 100.0; + d = water(p); + return d; +} + +float intersect(vec3 ro, vec3 rd) { + float d = 0.0; + for (int i = 0; i <= 100; i++) { + float h = map(ro + rd * d); + if (h < 0.1) return d; + d += h; + } + return 0.0; +} + +vec3 norm(vec3 p) { + float eps = .1; + return normalize(vec3( + map(p + vec3(eps, 0, 0)) - map(p + vec3(-eps, 0, 0)), + map(p + vec3(0, eps, 0)) - map(p + vec3(0, -eps, 0)), + map(p + vec3(0, 0, eps)) - map(p + vec3(0, 0, -eps)) + )); +} + +float calSpc() { + vec3 l1 = normalize(vec3(1, 1, 1)); + vec3 ro = vec3(-3, 20, -8); + vec3 rc = vec3(0, 0, 0); + vec3 ww = normalize(rc - ro); + vec3 uu = normalize(cross(vec3(0,1,0), ww)); + vec3 vv = normalize(cross(rc - ro, uu)); + vec3 rd = normalize(uu * v_uv.x + vv * v_uv.y + ww); + float d = intersect(ro, rd); + vec3 p = ro + rd * d; + vec3 n = norm(p); + float spc = pow(max(0.0, dot(reflect(l1, n), rd)), 30.0); + return spc; +} + +void main() { + + outputColor = v_Color; + float spc = calSpc(); + outputColor += spc * 0.4; +} +`,FN=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_COLOR) in vec4 a_Color; +layout(location = ATTRIBUTE_LOCATION_UV) in vec2 a_uv; + +layout(std140) uniform commonUniforms { + float u_speed; + float u_time; +}; +out vec4 v_Color; +out vec2 v_uv; + +#pragma include "projection" + +void main() { + v_uv = a_uv; + v_Color = a_Color; + v_Color.a *= opacity; + vec4 project_pos = project_position(vec4(a_Position, 1.0)); + + gl_Position = project_common_position_to_clipspace(vec4(project_pos.xyz, 1.0)); +} + +`;class TN extends Pi{constructor(...t){super(...t),H(this,"texture",void 0)}get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,UV:9})}getUninforms(){const t=this.getCommonUniformsInfo(),r=this.getUniformsBufferInfo(this.getStyleAttribute());return this.updateStyleUnifoms(),_t(_t({},t.uniformsOption),r.uniformsOption)}getCommonUniformsInfo(){const{speed:t=.5}=this.layer.getLayerConfig(),r={u_speed:t,u_time:this.layer.getLayerAnimateTime(),u_texture:this.texture};return this.textures=[this.texture],this.getUniformsBufferInfo(r)}getAnimateUniforms(){return{u_time:this.layer.getLayerAnimateTime()}}initModels(){var t=this;return mt(function*(){return t.loadTexture(),t.buildModels()})()}buildModels(){var t=this;return mt(function*(){return t.initUniformsBuffer(),[yield t.layer.buildLayerModel({moduleName:"polygonWater",vertexShader:FN,fragmentShader:AN,triangulation:Ly,defines:t.getDefines(),inject:t.getInject(),primitive:L.TRIANGLES,depth:{enable:!1},pickingEnabled:!1,diagnosticDerivativeUniformityEnabled:!1})]})()}clearModels(){var t;(t=this.texture)===null||t===void 0||t.destroy()}registerBuiltinAttributes(){const t=this.layer.getSource().extent,[r,i,s,u]=t,n=s-r,h=u-i;this.styleAttributeService.registerStyleAttribute({name:"waterUv",type:br.Attribute,descriptor:{name:"a_uv",shaderLocation:this.attributeLocation.UV,buffer:{usage:L.STATIC_DRAW,data:[],type:L.FLOAT},size:2,update:(m,g,x)=>{const[b,F]=x;return[(b-r)/n,(F-i)/h]}}})}loadTexture(){const{waterTexture:t}=this.layer.getLayerConfig(),{createTexture2D:r}=this.rendererService;this.texture=r({height:1,width:1});const i=new Image;i.crossOrigin="",t?(console.warn("L7 recommend:https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*EojwT4VzSiYAAAAAAAAAAAAAARQnAQ"),i.src=t):i.src="https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*EojwT4VzSiYAAAAAAAAAAAAAARQnAQ",i.onload=()=>{this.texture=r({data:i,width:i.width,height:i.height,wrapS:L.MIRRORED_REPEAT,wrapT:L.MIRRORED_REPEAT,min:L.LINEAR,mag:L.LINEAR}),this.layerService.reRender()}}}const SN={fill:EN,line:e7,extrude:dN,text:u7,point_fill:o7,point_image:i7,point_normal:n7,point_extrude:r7,water:TN,ocean:bN,extrusion:fN};class p7 extends A1{constructor(...t){super(...t),H(this,"type","PolygonLayer"),H(this,"enableShaderEncodeStyles",["opacity","extrusionBase","rotation","offsets","stroke"])}buildModels(){var t=this;return mt(function*(){const r=t.getModelType();t.layerModel=new SN[r](t),yield t.initLayerModels()})()}getModelType(){var t;const r=this.styleAttributeService.getLayerStyleAttribute("shape"),i=r==null||(t=r.scale)===null||t===void 0?void 0:t.field;return i==="fill"||!i?"fill":i==="extrude"?"extrude":i==="extrusion"?"extrusion":i==="water"?"water":i==="ocean"?"ocean":i==="line"?"line":this.getPointModelType()}getPointModelType(){const t=this.getEncodedData(),{shape2d:r,shape3d:i}=this.getLayerConfig(),s=this.iconService.getIconMap(),u=t.find(n=>n.hasOwnProperty("shape"));if(u){const n=u.shape;return n==="dot"?"point_normal":(r==null?void 0:r.indexOf(n))!==-1?"point_fill":(i==null?void 0:i.indexOf(n))!==-1?"point_extrude":s.hasOwnProperty(n)?"point_image":"text"}else return"fill"}}const wN=`layout(std140) uniform commonUniforms { + vec2 u_domain; + float u_opacity; + float u_noDataValue; + float u_clampLow; + float u_clampHigh; +}; + +uniform sampler2D u_rasterTexture; +uniform sampler2D u_colorTexture; + +in vec2 v_texCoord; + +bool isnan_emu(float x) { return (x > 0.0 || x < 0.0) ? x != x : x != 0.0; } + +out vec4 outputColor; + +void main() { + // Can use any component here since u_rasterTexture is under luminance format. + float value = texture(SAMPLER_2D(u_rasterTexture), vec2(v_texCoord.x, v_texCoord.y)).r; + if (value == u_noDataValue || isnan_emu(value)) { + discard; + } else if ((u_clampLow < 0.5 && value < u_domain[0]) || (u_clampHigh < 0.5 && value > u_domain[1])) { + discard; + } else { + float normalisedValue =(value - u_domain[0]) / (u_domain[1] - u_domain[0]); + vec4 color = texture(SAMPLER_2D(u_colorTexture), vec2(normalisedValue, 0)); + + outputColor = color; + outputColor.a = outputColor.a * u_opacity ; + if (outputColor.a < 0.01) + discard; + } +} +`,RN=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_POSITION_64LOW) in vec2 a_Position64Low; +layout(location = ATTRIBUTE_LOCATION_UV) in vec2 a_Uv; + +layout(std140) uniform commonUniforms { + vec2 u_domain; + float u_opacity; + float u_noDataValue; + float u_clampLow; + float u_clampHigh; +}; + +out vec2 v_texCoord; + +#pragma include "projection" + +void main() { + v_texCoord = a_Uv; + vec4 project_pos = project_position(vec4(a_Position, 1.0), a_Position64Low); + gl_Position = project_common_position_to_clipspace(vec4(project_pos.xy, 0.0, 1.0)); +} +`;let L4=class extends Pi{constructor(...t){super(...t),H(this,"texture",void 0),H(this,"colorTexture",void 0)}get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,UV:9})}getUninforms(){const t=this.getCommonUniformsInfo(),r=this.getUniformsBufferInfo(this.getStyleAttribute());return this.updateStyleUnifoms(),_t(_t({},t.uniformsOption),r.uniformsOption)}getCommonUniformsInfo(){const{opacity:t=1,clampLow:r=!0,clampHigh:i=!0,noDataValue:s=-9999999,domain:u,rampColors:n}=this.layer.getLayerConfig(),h=u||y6(n);this.colorTexture=this.layer.textureService.getColorTexture(n,h);const m={u_domain:h,u_opacity:t||1,u_noDataValue:s,u_clampLow:r?1:0,u_clampHigh:(typeof i<"u"?i:r)?1:0,u_rasterTexture:this.texture,u_colorTexture:this.colorTexture};return this.textures=[this.texture,this.colorTexture],this.getUniformsBufferInfo(m)}getRasterData(t){return mt(function*(){if(Array.isArray(t.data))return{data:t.data,width:t.width,height:t.height};{const{rasterData:r,width:i,height:s}=yield t.data;return{data:Array.from(r),width:i,height:s}}})()}initModels(){var t=this;return mt(function*(){return t.buildModels()})()}buildModels(){var t=this;return mt(function*(){t.initUniformsBuffer();const r=t.layer.getSource(),{createTexture2D:i,queryVerdorInfo:s}=t.rendererService,u=r.data.dataArray[0],{data:n,width:h,height:m}=yield t.getRasterData(u);return t.texture=i({data:new Float32Array(n),width:h,height:m,format:s()==="WebGL1"?L.LUMINANCE:L.RED,type:L.FLOAT,alignment:1}),[yield t.layer.buildLayerModel({moduleName:"rasterImageData",vertexShader:RN,fragmentShader:wN,defines:t.getDefines(),triangulation:qf,primitive:L.TRIANGLES,depth:{enable:!1},pickingEnabled:!1})]})()}clearModels(){var t,r;(t=this.texture)===null||t===void 0||t.destroy(),(r=this.colorTexture)===null||r===void 0||r.destroy()}registerBuiltinAttributes(){this.registerPosition64LowAttribute(),this.styleAttributeService.registerStyleAttribute({name:"uv",type:br.Attribute,descriptor:{shaderLocation:this.attributeLocation.UV,name:"a_Uv",buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:2,update:(t,r,i)=>[i[3],i[4]]}})}};const CN=["data"],IN=["rasterData"],MN=`uniform sampler2D u_texture; +layout(std140) uniform commonUniforms { + vec2 u_rminmax; + vec2 u_gminmax; + vec2 u_bminmax; + float u_opacity; + float u_noDataValue; +}; + +in vec2 v_texCoord; + +out vec4 outputColor; + +void main() { + + vec3 rgb = texture(SAMPLER_2D(u_texture),vec2(v_texCoord.x,v_texCoord.y)).rgb; + + if(rgb == vec3(u_noDataValue)) { + outputColor = vec4(0.0, 0, 0, 0.0); + } else { + outputColor = vec4(rgb.r / (u_rminmax.y -u_rminmax.x), rgb.g /(u_gminmax.y -u_gminmax.x), rgb.b/ (u_bminmax.y - u_bminmax.x), u_opacity); + } + + if(outputColor.a < 0.01) + discard; + +}`,NN=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_POSITION_64LOW) in vec2 a_Position64Low; +layout(location = ATTRIBUTE_LOCATION_UV) in vec2 a_Uv; + +layout(std140) uniform commonUniforms { + vec2 u_rminmax; + vec2 u_gminmax; + vec2 u_bminmax; + float u_opacity; + float u_noDataValue; +}; + +out vec2 v_texCoord; + +#pragma include "projection" + +void main() { + v_texCoord = a_Uv; + vec4 project_pos = project_position(vec4(a_Position, 1.0), a_Position64Low); + gl_Position = project_common_position_to_clipspace(vec4(project_pos.xy, 0.0, 1.0)); +} +`;class DN extends Pi{constructor(...t){super(...t),H(this,"texture",void 0),H(this,"dataOption",{})}get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,UV:9})}getUninforms(){const t=this.getCommonUniformsInfo(),r=this.getUniformsBufferInfo(this.getStyleAttribute());return this.updateStyleUnifoms(),_t(_t({},t.uniformsOption),r.uniformsOption)}getCommonUniformsInfo(){const{opacity:t=1,noDataValue:r=0}=this.layer.getLayerConfig(),{rMinMax:i=[0,255],gMinMax:s=[0,255],bMinMax:u=[0,255]}=this.dataOption,n={u_rminmax:i,u_gminmax:s,u_bminmax:u,u_opacity:t||1,u_noDataValue:r,u_texture:this.texture};return this.textures=[this.texture],this.getUniformsBufferInfo(n)}getRasterData(t){var r=this;return mt(function*(){if(Array.isArray(t.data)){const{data:n}=t,h=$p(t,CN);return r.dataOption=h,_t({data:n},h)}const i=yield t.data,{rasterData:s}=i,u=$p(i,IN);return r.dataOption=u,Array.isArray(s)?_t({data:s},u):_t({data:Array.from(s)},u)})()}initModels(){var t=this;return mt(function*(){t.initUniformsBuffer();const r=t.layer.getSource(),{createTexture2D:i}=t.rendererService,s=r.data.dataArray[0],{data:u,width:n,height:h}=yield t.getRasterData(s);return t.texture=i({data:new Float32Array(u),width:n,height:h,format:L.RGB,type:L.FLOAT}),[yield t.layer.buildLayerModel({moduleName:"rasterImageDataRGBA",vertexShader:NN,fragmentShader:MN,defines:t.getDefines(),triangulation:qf,primitive:L.TRIANGLES,depth:{enable:!1},pickingEnabled:!1})]})()}buildModels(){var t=this;return mt(function*(){return t.initModels()})()}clearModels(){var t;(t=this.texture)===null||t===void 0||t.destroy()}registerBuiltinAttributes(){this.registerPosition64LowAttribute(),this.styleAttributeService.registerStyleAttribute({name:"uv",type:br.Attribute,descriptor:{name:"a_Uv",shaderLocation:this.attributeLocation.UV,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:2,update:(t,r,i)=>[i[3],i[4]]}})}}const ON=`uniform sampler2D u_texture; +uniform sampler2D u_colorTexture; + +layout(std140) uniform commonUniforms { + vec4 u_unpack; + vec2 u_domain; + float u_opacity; + float u_noDataValue; + float u_clampLow; + float u_clampHigh; +}; + +in vec2 v_texCoord; +out vec4 outputColor; + + +float getElevation(vec2 coord, float bias) { + // Convert encoded elevation value to meters + vec4 data = texture(SAMPLER_2D(u_texture), coord,bias) * 255.0; + data.a = -1.0; + return dot(data, u_unpack); +} + +vec4 getColor(float value) { + float normalisedValue =(value- u_domain[0]) / (u_domain[1] - u_domain[0]); + vec2 coord = vec2(normalisedValue, 0); + return texture(SAMPLER_2D(u_colorTexture), coord); +} + +void main() { + float value = getElevation(v_texCoord,0.0); + if (value == u_noDataValue) { + outputColor = vec4(0.0, 0, 0, 0.0); + } else if ((u_clampLow < 0.5 && value < u_domain[0]) || (u_clampHigh < 0.5 && value > u_domain[1])) { + outputColor = vec4(0.0, 0, 0, 0.0); + } else { + + outputColor = getColor(value); + outputColor.a = outputColor.a * u_opacity ; + if(outputColor.a < 0.01) + discard; + } +} +`,LN=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; +layout(location = ATTRIBUTE_LOCATION_UV) in vec2 a_Uv; + +layout(std140) uniform commonUniforms { + vec4 u_unpack; + vec2 u_domain; + float u_opacity; + float u_noDataValue; + float u_clampLow; + float u_clampHigh; +}; +out vec2 v_texCoord; +#pragma include "projection" + +void main() { + v_texCoord = a_Uv; + vec4 project_pos = project_position(vec4(a_Position, 1.0)); + gl_Position = project_common_position_to_clipspace(vec4(project_pos.xy, 0.0, 1.0)); +} +`;class BN extends Pi{constructor(...t){super(...t),H(this,"texture",void 0)}get attributeLocation(){return Object.assign(super.attributeLocation,{MAX:super.attributeLocation.MAX,UV:9})}getCommonUniformsInfo(){const{opacity:t,clampLow:r=!0,clampHigh:i=!0,noDataValue:s=-9999999,domain:u,rampColors:n,colorTexture:h,rScaler:m=6553.6,gScaler:g=25.6,bScaler:x=.1,offset:b=1e4}=this.layer.getLayerConfig(),F=u||y6(n);let R=h;h?this.layer.textureService.setColorTexture(h,n,F):R=this.layer.textureService.getColorTexture(n,F);const I={u_unpack:[m,g,x,b],u_domain:F,u_opacity:t||1,u_noDataValue:s,u_clampLow:r,u_clampHigh:typeof i<"u"?i:r,u_texture:this.texture,u_colorTexture:R};return this.textures=[this.texture,R],this.getUniformsBufferInfo(I)}initModels(){var t=this;return mt(function*(){t.initUniformsBuffer();const r=t.layer.getSource(),{createTexture2D:i}=t.rendererService,s=yield r.data.images;return t.texture=i({data:s[0],width:s[0].width,height:s[0].height,min:L.LINEAR,mag:L.LINEAR}),[yield t.layer.buildLayerModel({moduleName:"RasterTileDataImage",vertexShader:LN,fragmentShader:ON,defines:t.getDefines(),triangulation:qf,primitive:L.TRIANGLES,depth:{enable:!1}})]})()}clearModels(){var t;(t=this.texture)===null||t===void 0||t.destroy()}buildModels(){var t=this;return mt(function*(){return t.initModels()})()}registerBuiltinAttributes(){this.registerPosition64LowAttribute(),this.styleAttributeService.registerStyleAttribute({name:"uv",type:br.Attribute,descriptor:{name:"a_Uv",shaderLocation:this.attributeLocation.UV,buffer:{usage:L.DYNAMIC_DRAW,data:[],type:L.FLOAT},size:2,update:(t,r,i)=>[i[3],i[4]]}})}}const UN={raster:L4,rasterRgb:DN,raster3d:L4,rasterTerrainRgb:BN};class U6 extends A1{constructor(...t){super(...t),H(this,"type","RasterLayer")}buildModels(){var t=this;return mt(function*(){const r=t.getModelType();t.layerModel=new UN[r](t),yield t.initLayerModels()})()}getDefaultConfig(){const t=this.getModelType();return{raster:{},rasterRgb:{},raster3d:{},rasterTerrainRgb:{}}[t]}getModelType(){switch(this.layerSource.getParserType()){case"raster":return"raster";case"rasterRgb":return"rasterRgb";case"rgb":return"rasterRgb";case"image":return"rasterTerrainRgb";default:return"raster"}}getLegend(t){if(t!=="color")return{type:void 0,field:void 0,items:[]};const r=this.getLayerConfig().rampColors;return J9(r,t)}}class kN{constructor({rendererService:t,layerService:r,parent:i}){H(this,"tileResource",new Map),H(this,"rendererService",void 0),H(this,"layerService",void 0),H(this,"parent",void 0),H(this,"layerTiles",[]),this.rendererService=t,this.layerService=r,this.parent=i}get tiles(){return this.layerTiles}hasTile(t){return this.layerTiles.some(r=>r.key===t)}addTile(t){this.layerTiles.push(t)}getTile(t){return this.layerTiles.find(r=>r.key===t)}getVisibleTileBylngLat(t){return this.layerTiles.find(r=>r.isLoaded&&r.visible&&r.lnglatInBounds(t))}removeTile(t){const r=this.layerTiles.findIndex(s=>s.key===t),i=this.layerTiles.splice(r,1);i[0]&&i[0].destroy()}updateTileVisible(t){const r=this.getTile(t.key);if(t.isVisible)if(t.parent){const i=this.isChildrenLoaded(t.parent);r==null||r.updateVisible(i)}else r==null||r.updateVisible(!0);else if(t.parent){const i=this.isChildrenLoaded(t.parent);r==null||r.updateVisible(!i)}else r==null||r.updateVisible(!1)}isParentLoaded(t){const r=t.parent;if(!r)return!0;const i=this.getTile(r==null?void 0:r.key);return!!(i!=null&&i.isLoaded)}isChildrenLoaded(t){const r=t==null?void 0:t.children;return r.length===0?!0:r.every(i=>{const s=this.getTile(i==null?void 0:i.key);return s?(s==null?void 0:s.isLoaded)===!0:!0})}render(){var t=this;return mt(function*(){const i=t.getRenderLayers().map(function(){var s=mt(function*(u){yield t.layerService.renderTileLayer(u)});return function(u){return s.apply(this,arguments)}}());yield Promise.all(i)})()}getRenderLayers(){const t=this.layerTiles.filter(i=>i.visible&&i.isLoaded),r=[];return t.map(i=>r.push(...i.getLayers())),r}getLayers(){const t=this.layerTiles.filter(i=>i.isLoaded),r=[];return t.map(i=>r.push(...i.getLayers())),r}getTiles(){return this.layerTiles}destroy(){this.layerTiles.forEach(t=>t.destroy()),this.tileResource.clear()}}/** + * splaytree v3.1.2 + * Fast Splay tree for Node and browser + * + * @author Alexander Milevski + * @license MIT + * @preserve + *//*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */function zN(e,t){var r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},i,s,u,n;return n={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(n[Symbol.iterator]=function(){return this}),n;function h(g){return function(x){return m([g,x])}}function m(g){if(i)throw new TypeError("Generator is already executing.");for(;r;)try{if(i=1,s&&(u=g[0]&2?s.return:g[0]?s.throw||((u=s.return)&&u.call(s),0):s.next)&&!(u=u.call(s,g[1])).done)return u;switch(s=0,u&&(g=[g[0]&2,u.value]),g[0]){case 0:case 1:u=g;break;case 4:return r.label++,{value:g[1],done:!1};case 5:r.label++,s=g[1],g=[0];continue;case 7:g=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(g[0]===6||g[0]===2)){r=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]t?1:e0){if(t.right===null)break;if(r(e,t.right.key)>0){var h=t.right;if(t.right=h.left,h.left=t,t=h,t.right===null)break}s.right=t,s=t,t=t.right}else break}return s.right=t.left,u.left=t.right,t.left=i.right,t.right=i.left,t}function Jm(e,t,r,i){var s=new Tl(e,t);if(r===null)return s.left=s.right=null,s;r=vl(e,r,i);var u=i(e,r.key);return u<0?(s.left=r.left,s.right=r,r.left=null):u>=0&&(s.right=r.right,s.left=r,r.right=null),s}function B4(e,t,r){var i=null,s=null;if(t){t=vl(e,t,r);var u=r(t.key,e);u===0?(i=t.left,s=t.right):u<0?(s=t.right,t.right=null,i=t):(i=t.left,t.left=null,s=t)}return{left:i,right:s}}function HN(e,t,r){return t===null?e:(e===null||(t=vl(e.key,t,r),t.left=e),t)}function j2(e,t,r,i,s){if(e){i(""+t+(r?"└── ":"├── ")+s(e)+` +`);var u=t+(r?" ":"│ ");e.left&&j2(e.left,u,!1,i,s),e.right&&j2(e.right,u,!0,i,s)}}var k6=function(){function e(t){t===void 0&&(t=VN),this._root=null,this._size=0,this._comparator=t}return e.prototype.insert=function(t,r){return this._size++,this._root=Jm(t,r,this._root,this._comparator)},e.prototype.add=function(t,r){var i=new Tl(t,r);this._root===null&&(i.left=i.right=null,this._size++,this._root=i);var s=this._comparator,u=vl(t,this._root,s),n=s(t,u.key);return n===0?this._root=u:(n<0?(i.left=u.left,i.right=u,u.left=null):n>0&&(i.right=u.right,i.left=u,u.right=null),this._size++,this._root=i),this._root},e.prototype.remove=function(t){this._root=this._remove(t,this._root,this._comparator)},e.prototype._remove=function(t,r,i){var s;if(r===null)return null;r=vl(t,r,i);var u=i(t,r.key);return u===0?(r.left===null?s=r.right:(s=vl(t,r.left,i),s.right=r.right),this._size--,s):r},e.prototype.pop=function(){var t=this._root;if(t){for(;t.left;)t=t.left;return this._root=vl(t.key,this._root,this._comparator),this._root=this._remove(t.key,this._root,this._comparator),{key:t.key,data:t.data}}return null},e.prototype.findStatic=function(t){for(var r=this._root,i=this._comparator;r;){var s=i(t,r.key);if(s===0)return r;s<0?r=r.left:r=r.right}return null},e.prototype.find=function(t){return this._root&&(this._root=vl(t,this._root,this._comparator),this._comparator(t,this._root.key)!==0)?null:this._root},e.prototype.contains=function(t){for(var r=this._root,i=this._comparator;r;){var s=i(t,r.key);if(s===0)return!0;s<0?r=r.left:r=r.right}return!1},e.prototype.forEach=function(t,r){for(var i=this._root,s=[],u=!1;!u;)i!==null?(s.push(i),i=i.left):s.length!==0?(i=s.pop(),t.call(r,i),i=i.right):u=!0;return this},e.prototype.range=function(t,r,i,s){for(var u=[],n=this._comparator,h=this._root,m;u.length!==0||h;)if(h)u.push(h),h=h.left;else{if(h=u.pop(),m=n(h.key,r),m>0)break;if(n(h.key,t)>=0&&i.call(s,h))return this;h=h.right}return this},e.prototype.keys=function(){var t=[];return this.forEach(function(r){var i=r.key;return t.push(i)}),t},e.prototype.values=function(){var t=[];return this.forEach(function(r){var i=r.data;return t.push(i)}),t},e.prototype.min=function(){return this._root?this.minNode(this._root).key:null},e.prototype.max=function(){return this._root?this.maxNode(this._root).key:null},e.prototype.minNode=function(t){if(t===void 0&&(t=this._root),t)for(;t.left;)t=t.left;return t},e.prototype.maxNode=function(t){if(t===void 0&&(t=this._root),t)for(;t.right;)t=t.right;return t},e.prototype.at=function(t){for(var r=this._root,i=!1,s=0,u=[];!i;)if(r)u.push(r),r=r.left;else if(u.length>0){if(r=u.pop(),s===t)return r;s++,r=r.right}else i=!0;return null},e.prototype.next=function(t){var r=this._root,i=null;if(t.right){for(i=t.right;i.left;)i=i.left;return i}for(var s=this._comparator;r;){var u=s(t.key,r.key);if(u===0)break;u<0?(i=r,r=r.left):r=r.right}return i},e.prototype.prev=function(t){var r=this._root,i=null;if(t.left!==null){for(i=t.left;i.right;)i=i.right;return i}for(var s=this._comparator;r;){var u=s(t.key,r.key);if(u===0)break;u<0?r=r.left:(i=r,r=r.right)}return i},e.prototype.clear=function(){return this._root=null,this._size=0,this},e.prototype.toList=function(){return jN(this._root)},e.prototype.load=function(t,r,i){r===void 0&&(r=[]),i===void 0&&(i=!1);var s=t.length,u=this._comparator;if(i&&Z2(t,r,0,s-1,u),this._root===null)this._root=W2(t,r,0,s),this._size=s;else{var n=WN(this.toList(),GN(t,r),u);s=this._size+s,this._root=X2({head:n},0,s)}return this},e.prototype.isEmpty=function(){return this._root===null},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),e.prototype.toString=function(t){t===void 0&&(t=function(i){return String(i.key)});var r=[];return j2(this._root,"",!0,function(i){return r.push(i)},t),r.join("")},e.prototype.update=function(t,r,i){var s=this._comparator,u=B4(t,this._root,s),n=u.left,h=u.right;s(t,r)<0?h=Jm(r,i,h,s):n=Jm(r,i,n,s),this._root=HN(n,h,s)},e.prototype.split=function(t){return B4(t,this._root,this._comparator)},e.prototype[Symbol.iterator]=function(){var t,r,i;return zN(this,function(s){switch(s.label){case 0:t=this._root,r=[],i=!1,s.label=1;case 1:return i?[3,6]:t===null?[3,2]:(r.push(t),t=t.left,[3,5]);case 2:return r.length===0?[3,4]:(t=r.pop(),[4,t]);case 3:return s.sent(),t=t.right,[3,5];case 4:i=!0,s.label=5;case 5:return[3,1];case 6:return[2]}})},e}();function W2(e,t,r,i){var s=i-r;if(s>0){var u=r+Math.floor(s/2),n=e[u],h=t[u],m=new Tl(n,h);return m.left=W2(e,t,r,u),m.right=W2(e,t,u+1,i),m}return null}function GN(e,t){for(var r=new Tl(null,null),i=r,s=0;s0?(t=u=u.next=r.pop(),t=t.right):i=!0;return u.next=null,s.next}function X2(e,t,r){var i=r-t;if(i>0){var s=t+Math.floor(i/2),u=X2(e,t,s),n=e.head;return n.left=u,e.head=e.head.next,n.right=X2(e,s+1,r),n}return null}function WN(e,t,r){for(var i=new Tl(null,null),s=i,u=e,n=t;u!==null&&n!==null;)r(u.key,n.key)<0?(s.next=u,u=u.next):(s.next=n,n=n.next),s=s.next;return u!==null?s.next=u:n!==null&&(s.next=n),i.next}function Z2(e,t,r,i,s){if(!(r>=i)){for(var u=e[r+i>>1],n=r-1,h=i+1;;){do n++;while(s(e[n],u)<0);do h--;while(s(e[h],u)>0);if(n>=h)break;var m=e[n];e[n]=e[h],e[h]=m,m=t[n],t[n]=t[h],t[h]=m}Z2(e,t,r,h,s),Z2(e,t,h+1,i,s)}}const Ic=11102230246251565e-32,os=134217729,XN=(3+8*Ic)*Ic;function e2(e,t,r,i,s){let u,n,h,m,g=t[0],x=i[0],b=0,F=0;x>g==x>-g?(u=g,g=t[++b]):(u=x,x=i[++F]);let R=0;if(bg==x>-g?(n=g+u,h=u-(n-g),g=t[++b]):(n=x+u,h=u-(n-x),x=i[++F]),u=n,h!==0&&(s[R++]=h);bg==x>-g?(n=u+g,m=n-u,h=u-(n-m)+(g-m),g=t[++b]):(n=u+x,m=n-u,h=u-(n-m)+(x-m),x=i[++F]),u=n,h!==0&&(s[R++]=h);for(;b=st||-ze>=st||(b=e-ft,h=e-(ft+b)+(b-s),b=r-Ge,g=r-(Ge+b)+(b-s),b=t-Ae,m=t-(Ae+b)+(b-u),b=i-Be,x=i-(Be+b)+(b-u),h===0&&m===0&&g===0&&x===0)||(st=qN*n+XN*Math.abs(ze),ze+=ft*x+Be*h-(Ae*g+Ge*m),ze>=st||-ze>=st))return ze;ne=h*Be,F=os*h,R=F-(F-h),I=h-R,F=os*Be,B=F-(F-Be),V=Be-B,ue=I*V-(ne-R*B-I*B-R*V),Oe=m*Ge,F=os*m,R=F-(F-m),I=m-R,F=os*Ge,B=F-(F-Ge),V=Ge-B,Ee=I*V-(Oe-R*B-I*B-R*V),J=ue-Ee,b=ue-J,fs[0]=ue-(J+b)+(b-Ee),Q=ne+J,b=Q-ne,te=ne-(Q-b)+(J-b),J=te-Oe,b=te-J,fs[1]=te-(J+b)+(b-Oe),He=Q+J,b=He-Q,fs[2]=Q-(He-b)+(J-b),fs[3]=He;const Vt=e2(4,f0,4,fs,U4);ne=ft*x,F=os*ft,R=F-(F-ft),I=ft-R,F=os*x,B=F-(F-x),V=x-B,ue=I*V-(ne-R*B-I*B-R*V),Oe=Ae*g,F=os*Ae,R=F-(F-Ae),I=Ae-R,F=os*g,B=F-(F-g),V=g-B,Ee=I*V-(Oe-R*B-I*B-R*V),J=ue-Ee,b=ue-J,fs[0]=ue-(J+b)+(b-Ee),Q=ne+J,b=Q-ne,te=ne-(Q-b)+(J-b),J=te-Oe,b=te-J,fs[1]=te-(J+b)+(b-Oe),He=Q+J,b=He-Q,fs[2]=Q-(He-b)+(J-b),fs[3]=He;const ir=e2(Vt,U4,4,fs,k4);ne=h*x,F=os*h,R=F-(F-h),I=h-R,F=os*x,B=F-(F-x),V=x-B,ue=I*V-(ne-R*B-I*B-R*V),Oe=m*g,F=os*m,R=F-(F-m),I=m-R,F=os*g,B=F-(F-g),V=g-B,Ee=I*V-(Oe-R*B-I*B-R*V),J=ue-Ee,b=ue-J,fs[0]=ue-(J+b)+(b-Ee),Q=ne+J,b=Q-ne,te=ne-(Q-b)+(J-b),J=te-Oe,b=te-J,fs[1]=te-(J+b)+(b-Oe),He=Q+J,b=He-Q,fs[2]=Q-(He-b)+(J-b),fs[3]=He;const Fr=e2(ir,k4,4,fs,z4);return z4[Fr-1]}function QN(e,t,r,i,s,u){const n=(t-u)*(r-s),h=(e-s)*(i-u),m=n-h,g=Math.abs(n+h);return Math.abs(m)>=YN*g?m:-KN(e,t,r,i,s,u,g)}var c7={};const zd=(e,t)=>e.ll.x<=t.x&&t.x<=e.ur.x&&e.ll.y<=t.y&&t.y<=e.ur.y,Y2=(e,t)=>{if(t.ur.x{if(-xle.x*t.y-e.y*t.x,l7=(e,t)=>e.x*t.x+e.y*t.y,G4=(e,t,r)=>{const i=QN(e.x,e.y,t.x,t.y,r.x,r.y);return i>0?-1:i<0?1:0},wf=e=>Math.sqrt(l7(e,e)),tD=(e,t,r)=>{const i={x:t.x-e.x,y:t.y-e.y},s={x:r.x-e.x,y:r.y-e.y};return $h(s,i)/wf(s)/wf(i)},rD=(e,t,r)=>{const i={x:t.x-e.x,y:t.y-e.y},s={x:r.x-e.x,y:r.y-e.y};return l7(s,i)/wf(s)/wf(i)},j4=(e,t,r)=>t.y===0?null:{x:e.x+t.x/t.y*(r-e.y),y:r},W4=(e,t,r)=>t.x===0?null:{x:r,y:e.y+t.y/t.x*(r-e.x)},oD=(e,t,r,i)=>{if(t.x===0)return W4(r,i,e.x);if(i.x===0)return W4(e,t,r.x);if(t.y===0)return j4(r,i,e.y);if(i.y===0)return j4(e,t,r.y);const s=$h(t,i);if(s==0)return null;const u={x:r.x-e.x,y:r.y-e.y},n=$h(u,t)/s,h=$h(u,i)/s,m=e.x+h*t.x,g=r.x+n*i.x,x=e.y+h*t.y,b=r.y+n*i.y,F=(m+g)/2,R=(x+b)/2;return{x:F,y:R}};class Gu{static compare(t,r){const i=Gu.comparePoints(t.point,r.point);return i!==0?i:(t.point!==r.point&&t.link(r),t.isLeft!==r.isLeft?t.isLeft?1:-1:bl.compare(t.segment,r.segment))}static comparePoints(t,r){return t.xr.x?1:t.yr.y?1:0}constructor(t,r){t.events===void 0?t.events=[this]:t.events.push(this),this.point=t,this.isLeft=r}link(t){if(t.point===this.point)throw new Error("Tried to link already linked events");const r=t.point.events;for(let i=0,s=r.length;i{const u=s.otherSE;r.set(s,{sine:tD(this.point,t.point,u.point),cosine:rD(this.point,t.point,u.point)})};return(s,u)=>{r.has(s)||i(s),r.has(u)||i(u);const{sine:n,cosine:h}=r.get(s),{sine:m,cosine:g}=r.get(u);return n>=0&&m>=0?hg?-1:0:n<0&&m<0?hg?1:0:mn?1:0}}}let iD=0;class bl{static compare(t,r){const i=t.leftSE.point.x,s=r.leftSE.point.x,u=t.rightSE.point.x,n=r.rightSE.point.x;if(nh&&m>g)return-1;const b=t.comparePoint(r.leftSE.point);if(b<0)return 1;if(b>0)return-1;const F=r.comparePoint(t.rightSE.point);return F!==0?F:-1}if(i>s){if(hm&&h>x)return 1;const b=r.comparePoint(t.leftSE.point);if(b!==0)return b;const F=t.comparePoint(r.rightSE.point);return F<0?1:F>0?-1:1}if(hm)return 1;if(un){const b=t.comparePoint(r.rightSE.point);if(b<0)return 1;if(b>0)return-1}if(u!==n){const b=g-h,F=u-i,R=x-m,I=n-s;if(b>F&&RI)return-1}return u>n?1:ux?1:t.idr.id?1:0}constructor(t,r,i,s){this.id=++iD,this.leftSE=t,t.segment=this,t.otherSE=r,this.rightSE=r,r.segment=this,r.otherSE=t,this.rings=i,this.windings=s}static fromRing(t,r,i){let s,u,n;const h=Gu.comparePoints(t,r);if(h<0)s=t,u=r,n=1;else if(h>0)s=r,u=t,n=-1;else throw new Error(`Tried to create degenerate segment at [${t.x}, ${t.y}]`);const m=new Gu(s,!0),g=new Gu(u,!1);return new bl(m,g,[i],[n])}replaceRightSE(t){this.rightSE=t,this.rightSE.segment=this,this.rightSE.otherSE=this.leftSE,this.leftSE.otherSE=this.rightSE}bbox(){const t=this.leftSE.point.y,r=this.rightSE.point.y;return{ll:{x:this.leftSE.point.x,y:tr?t:r}}}vector(){return{x:this.rightSE.point.x-this.leftSE.point.x,y:this.rightSE.point.y-this.leftSE.point.y}}isAnEndpoint(t){return t.x===this.leftSE.point.x&&t.y===this.leftSE.point.y||t.x===this.rightSE.point.x&&t.y===this.rightSE.point.y}comparePoint(t){if(this.isAnEndpoint(t))return 0;const r=this.leftSE.point,i=this.rightSE.point,s=this.vector();if(r.x===i.x)return t.x===r.x?0:t.x0&&h.swapEvents(),Gu.comparePoints(this.leftSE.point,this.rightSE.point)>0&&this.swapEvents(),i&&(s.checkForConsuming(),u.checkForConsuming()),r}swapEvents(){const t=this.rightSE;this.rightSE=this.leftSE,this.leftSE=t,this.leftSE.isLeft=!0,this.rightSE.isLeft=!1;for(let r=0,i=this.windings.length;r0){const u=r;r=i,i=u}if(r.prev===i){const u=r;r=i,i=u}for(let u=0,n=i.rings.length;us.length===1&&s[0].isSubject;this._isInResult=i(t)!==i(r);break}default:throw new Error(`Unrecognized operation type found ${hp.type}`)}return this._isInResult}}class X4{constructor(t,r,i){if(!Array.isArray(t)||t.length===0)throw new Error("Input geometry is not a valid Polygon or MultiPolygon");if(this.poly=r,this.isExterior=i,this.segments=[],typeof t[0][0]!="number"||typeof t[0][1]!="number")throw new Error("Input geometry is not a valid Polygon or MultiPolygon");const s=Sy.round(t[0][0],t[0][1]);this.bbox={ll:{x:s.x,y:s.y},ur:{x:s.x,y:s.y}};let u=s;for(let n=1,h=t.length;nthis.bbox.ur.x&&(this.bbox.ur.x=m.x),m.y>this.bbox.ur.y&&(this.bbox.ur.y=m.y),u=m)}(s.x!==u.x||s.y!==u.y)&&this.segments.push(bl.fromRing(u,s,this))}getSweepEvents(){const t=[];for(let r=0,i=this.segments.length;rthis.bbox.ur.x&&(this.bbox.ur.x=u.bbox.ur.x),u.bbox.ur.y>this.bbox.ur.y&&(this.bbox.ur.y=u.bbox.ur.y),this.interiorRings.push(u)}this.multiPoly=r}getSweepEvents(){const t=this.exteriorRing.getSweepEvents();for(let r=0,i=this.interiorRings.length;rthis.bbox.ur.x&&(this.bbox.ur.x=u.bbox.ur.x),u.bbox.ur.y>this.bbox.ur.y&&(this.bbox.ur.y=u.bbox.ur.y),this.polys.push(u)}this.isSubject=r}getSweepEvents(){const t=[];for(let r=0,i=this.polys.length;r0&&(t=n)}let r=t.segment.prevInResult(),i=r?r.prevInResult():null;for(;;){if(!r)return null;if(!i)return r.ringOut;if(i.ringOut!==r.ringOut)return i.ringOut.enclosingRing()!==r.ringOut?r.ringOut:r.ringOut.enclosingRing();r=i.prevInResult(),i=r?r.prevInResult():null}}}class Y4{constructor(t){this.exteriorRing=t,t.poly=this,this.interiorRings=[]}addInterior(t){this.interiorRings.push(t),t.poly=this}getGeom(){const t=[this.exteriorRing.getGeom()];if(t[0]===null)return null;for(let r=0,i=this.interiorRings.length;r1&&arguments[1]!==void 0?arguments[1]:bl.compare;this.queue=t,this.tree=new k6(r),this.segments=[]}process(t){const r=t.segment,i=[];if(t.consumedBy)return t.isLeft?this.queue.remove(t.otherSE):this.tree.remove(r),i;const s=t.isLeft?this.tree.add(r):this.tree.find(r);if(!s)throw new Error(`Unable to find segment #${r.id} [${r.leftSE.point.x}, ${r.leftSE.point.y}] -> [${r.rightSE.point.x}, ${r.rightSE.point.y}] in SweepLine tree.`);let u=s,n=s,h,m;for(;h===void 0;)u=this.tree.prev(u),u===null?h=null:u.key.consumedBy===void 0&&(h=u.key);for(;m===void 0;)n=this.tree.next(n),n===null?m=null:n.key.consumedBy===void 0&&(m=n.key);if(t.isLeft){let g=null;if(h){const b=h.getIntersection(r);if(b!==null&&(r.isAnEndpoint(b)||(g=b),!h.isAnEndpoint(b))){const F=this._splitSafely(h,b);for(let R=0,I=F.length;R0?(this.tree.remove(r),i.push(t)):(this.segments.push(r),r.prev=h)}else{if(h&&m){const g=h.getIntersection(m);if(g!==null){if(!h.isAnEndpoint(g)){const x=this._splitSafely(h,g);for(let b=0,F=x.length;b$4)throw new Error("Infinite loop when putting segment endpoints in a priority queue (queue size too big).")}const n=new sD(u);let h=u.size,m=u.pop();for(;m;){const b=m.key;if(u.size===h){const R=b.segment;throw new Error(`Unable to pop() ${b.isLeft?"left":"right"} SweepEvent [${b.point.x}, ${b.point.y}] from segment #${R.id} [${R.leftSE.point.x}, ${R.leftSE.point.y}] -> [${R.rightSE.point.x}, ${R.rightSE.point.y}] from queue.`)}if(u.size>$4)throw new Error("Infinite loop when passing sweep line over endpoints (queue size too big).");if(n.segments.length>uD)throw new Error("Infinite loop when passing sweep line over endpoints (too many sweep line segments).");const F=n.process(b);for(let R=0,I=F.length;R1?t-1:0),i=1;i1?t-1:0),i=1;i1?t-1:0),i=1;i1?t-1:0),i=1;i{const u=n6(s.coordinates);r===null?r=u:r=fD(r,u)}),i&&(r.properties=_t({},i)),r}}const Vd="select",Hd="active";class _D{constructor({layerService:t,tileLayerService:r,parent:i}){H(this,"layerService",void 0),H(this,"tileLayerService",void 0),H(this,"tileSourceService",void 0),H(this,"parent",void 0),H(this,"tilePickID",new Map),this.layerService=t,this.tileLayerService=r,this.parent=i,this.tileSourceService=new mD}pickRender(t){const r=this.tileLayerService.getVisibleTileBylngLat(t.lngLat);if(r){const i=r.getMainLayer();i==null||i.layerPickService.pickRender(t)}}pick(t,r){var i=this;return mt(function*(){const u=i.parent.getContainer().pickingService;if(t.type==="RasterLayer"){const n=i.tileLayerService.getVisibleTileBylngLat(r.lngLat);if(n&&n.getMainLayer()!==void 0){const h=n.getMainLayer();return h.layerPickService.pickRasterLayer(h,r,i.parent)}return!1}return i.pickRender(r),u.pickFromPickingFBO(t,r)})()}selectFeature(t){const[r,i,s]=t,u=this.color2PickId(r,i,s);this.tilePickID.set(Vd,u),this.updateHighLight(r,i,s,Vd)}highlightPickedFeature(t){const[r,i,s]=t,u=this.color2PickId(r,i,s);this.tilePickID.set(Hd,u),this.updateHighLight(r,i,s,Hd)}updateHighLight(t,r,i,s){this.tileLayerService.tiles.map(u=>{const n=u.getMainLayer();switch(s){case Vd:n==null||n.hooks.beforeSelect.call([t,r,i]);break;case Hd:n==null||n.hooks.beforeHighlight.call([t,r,i]);break}})}setPickState(){const t=this.tilePickID.get(Vd),r=this.tilePickID.get(Hd);if(t){const[i,s,u]=this.pickId2Color(t);this.updateHighLight(i,s,u,Vd);return}if(r){const[i,s,u]=this.pickId2Color(r);this.updateHighLight(i,s,u,Hd);return}}color2PickId(t,r,i){return l1(new Uint8Array([t,r,i]))}pickId2Color(t){return B0(t)}getFeatureById(t){const r=this.tileLayerService.getTiles().filter(s=>s.visible),i=[];return r.forEach(s=>{i.push(...s.getFeatureById(t))}),i}pickRasterLayer(){return!1}}function gD(e){return e==="PolygonLayer"?p7:e==="LineLayer"?t7:Ty}function vD(e){return["PolygonLayer","LineLayer"].indexOf(e)!==-1}class F1 extends yu.EventEmitter{constructor(t,r){super(),H(this,"x",void 0),H(this,"y",void 0),H(this,"z",void 0),H(this,"key",void 0),H(this,"parent",void 0),H(this,"sourceTile",void 0),H(this,"visible",!0),H(this,"layers",[]),H(this,"isLoaded",!1),H(this,"tileMaskLayers",[]),H(this,"tileMask",void 0),this.parent=r,this.sourceTile=t,this.x=t.x,this.y=t.y,this.z=t.z,this.key=`${this.x}_${this.y}_${this.z}`}getLayers(){return this.layers}styleUpdate(...t){}lnglatInBounds(t){const[r,i,s,u]=this.sourceTile.bounds,{lng:n,lat:h}=t;return n>=r&&n<=s&&h>=i&&h<=u}getLayerOptions(){var t;const r=this.parent.getLayerConfig();return _t(_t({},r),{},{textAllowOverlap:!0,autoFit:!1,maskLayers:this.getMaskLayer(),tileMask:vD(this.parent.type),mask:r.mask||((t=r.maskLayers)===null||t===void 0?void 0:t.length)!==0&&r.enableMask})}getMaskLayer(){const{maskLayers:t}=this.parent.getLayerConfig(),r=[];return t==null||t.forEach(i=>{if(!i.tileLayer)return r.push(i),i;const u=i.tileLayer.getTile(this.sourceTile.key),n=u==null?void 0:u.getLayers()[0];n&&r.push(n)}),r}addTileMask(){var t=this;return mt(function*(){const r=new p7({name:"mask",visible:!0,enablePicking:!1}).source({type:"FeatureCollection",features:[t.sourceTile.bboxPolygon]},{parser:{type:"geojson",featureId:"id"}}).shape("fill").color("#0f0").style({opacity:.5}),i=uy(t.parent.container);r.setContainer(i),yield r.init(),t.tileMask=r;const s=t.getMainLayer();return s!==void 0&&(s.tileMask=r),r})()}addMask(t,r){var i=this;return mt(function*(){const s=uy(i.parent.container);r.setContainer(s),yield r.init(),t.addMask(r),i.tileMaskLayers.push(r)})()}addLayer(t){var r=this;return mt(function*(){t.isTileLayer=!0;const i=uy(r.parent.container);t.setContainer(i),r.layers.push(t),yield t.init()})()}updateVisible(t){this.visible=t,this.updateOptions("visible",t)}updateOptions(t,r){this.layers.forEach(i=>{i.updateLayerConfig({[t]:r})})}getMainLayer(){return this.layers[0]}getFeatures(t){return[]}getFeatureById(t){return[]}destroy(){var t;(t=this.tileMask)===null||t===void 0||t.destroy(),this.layers.forEach(r=>r.destroy())}}class ED extends F1{initTileLayer(){var t=this;return mt(function*(){const r=t.getSourceOption(),i=r.data.features[0].properties,s=new t7().source(r.data,r.options).size(1).shape("line").color("red"),u=new Ty({minZoom:t.z-1,maxZoom:t.z+1,textAllowOverlap:!0}).source([i],{parser:{type:"json",x:"x",y:"y"}}).size(20).color("red").shape(t.key).style({stroke:"#fff",strokeWidth:2});yield t.addLayer(s),yield t.addLayer(u),t.isLoaded=!0})()}getSourceOption(){const t=this.parent.getSource();return{data:{type:"FeatureCollection",features:this.sourceTile.data.layers.testTile.features},options:{parser:{type:"geojson"},transforms:t.transforms}}}}class xD extends F1{initTileLayer(){var t=this;return mt(function*(){const r=t.parent.getLayerAttributeConfig(),i=t.getLayerOptions(),s=t.getSourceOption(),u=new YI(_t({},i)).source(s.data,s.options);r&&Object.keys(r).forEach(n=>{var h,m;const g=n;u[g]((h=r[g])===null||h===void 0?void 0:h.field,(m=r[g])===null||m===void 0?void 0:m.values)}),yield t.addLayer(u),t.isLoaded=!0})()}getSourceOption(){const t=this.parent.getSource();return{data:this.sourceTile.data,options:{parser:{type:"image",extent:this.sourceTile.bounds},transforms:t.transforms}}}}const PD=`layout(std140) uniform commonUniorm { + vec4 u_color; + float u_opacity; +}; + +out vec4 outputColor; + +void main() { + outputColor = u_color; + outputColor.a *= u_opacity; +} +`,bD=`layout(location = ATTRIBUTE_LOCATION_POSITION) in vec3 a_Position; + +layout(std140) uniform commonUniorm { + vec4 u_color; + float u_opacity; +}; + +#pragma include "projection" + +void main() { + vec4 project_pos = project_position(vec4(a_Position, 1.0)); + gl_Position = project_common_position_to_clipspace(vec4(project_pos.xyz, 1.0)); +} + +`;class AD extends Pi{getUninforms(){const t=this.getCommonUniformsInfo(),r=this.getUniformsBufferInfo(this.getStyleAttribute());return this.updateStyleUnifoms(),_t(_t({},t.uniformsOption),r.uniformsOption)}getCommonUniformsInfo(){const{opacity:t=1,color:r="#000"}=this.layer.getLayerConfig(),i={u_color:Mi(r),u_opacity:t||1};return this.getUniformsBufferInfo(i)}initModels(){var t=this;return mt(function*(){return t.buildModels()})()}buildModels(){var t=this;return mt(function*(){return t.initUniformsBuffer(),[yield t.layer.buildLayerModel({moduleName:"mask",vertexShader:bD,fragmentShader:PD,defines:t.getDefines(),triangulation:Ly,depth:{enable:!1},pick:!1})]})()}clearModels(t=!0){t&&this.layerService.clear()}registerBuiltinAttributes(){return""}}const FD={fill:AD};class d7 extends A1{constructor(...t){super(...t),H(this,"type","MaskLayer")}buildModels(){var t=this;return mt(function*(){const r=t.getModelType();t.layerModel=new FD[r](t),yield t.initLayerModels()})()}getModelType(){return"fill"}}class TD extends F1{initTileLayer(){var t=this;return mt(function*(){const r=t.parent.getLayerAttributeConfig(),i=t.getLayerOptions(),s=t.getSourceOption(),u=new d7(_t({},i)).source(s.data,s.options);r&&Object.keys(r).forEach(n=>{var h,m;const g=n;u[g]((h=r[g])===null||h===void 0?void 0:h.field,(m=r[g])===null||m===void 0?void 0:m.values)}),yield t.addLayer(u),t.isLoaded=!0})()}getFeatures(t){return t?this.sourceTile.data.getTileData(t):[]}getSourceOption(){const t=this.parent.getSource(),{sourceLayer:r,featureId:i}=this.parent.getLayerConfig();return{data:{type:"FeatureCollection",features:this.getFeatures(r)},options:{parser:{type:"geojson",featureId:i},transforms:t.transforms}}}}const SD=["rasterData"];let wD=class extends F1{initTileLayer(){var t=this;return mt(function*(){const r=t.parent.getLayerAttributeConfig(),i=t.getLayerOptions(),s=t.getSourceOption(),u=new U6(_t({},i)).source(s.data,s.options);r&&Object.keys(r).forEach(n=>{var h,m;const g=n;u[g]((h=r[g])===null||h===void 0?void 0:h.field,(m=r[g])===null||m===void 0?void 0:m.values)}),yield t.addLayer(u),t.isLoaded=!0})()}getSourceOption(){const t=this.parent.getSource(),r=this.sourceTile.data.data,{rasterData:i}=r,s=$p(r,SD);return{data:i,options:{parser:_t({type:"rasterRgb",extent:this.sourceTile.bounds},s),transforms:t.transforms}}}};class RD extends F1{initTileLayer(){var t=this;return mt(function*(){const r=t.parent.getLayerAttributeConfig(),i=t.getLayerOptions(),s=t.getSourceOption(),u=new U6(_t({},i)).source(s.data,s.options);r&&Object.keys(r).forEach(n=>{var h,m;const g=n;u[g]((h=r[g])===null||h===void 0?void 0:h.field,(m=r[g])===null||m===void 0?void 0:m.values)}),yield t.addLayer(u),t.isLoaded=!0})()}getSourceOption(){const t=this.parent.getSource();return{data:this.sourceTile.data,options:{parser:{type:"image",extent:this.sourceTile.bounds},transforms:t.transforms}}}}const CD=["rasterData"],ID={positions:[0,1],colors:["#000","#fff"]};class MD extends F1{constructor(...t){super(...t),H(this,"colorTexture",void 0)}initTileLayer(){var t=this;return mt(function*(){const r=t.parent.getLayerAttributeConfig(),i=t.getLayerOptions(),s=t.getSourceOption(),{rampColors:u,domain:n}=t.getLayerOptions();t.colorTexture=t.parent.textureService.getColorTexture(u,n);const h=new U6(_t(_t({},i),{},{colorTexture:t.colorTexture})).source(s.data,s.options);r&&Object.keys(r).forEach(m=>{var g,x;const b=m;h[b]((g=r[b])===null||g===void 0?void 0:g.field,(x=r[b])===null||x===void 0?void 0:x.values)}),yield t.addLayer(h),t.isLoaded=!0})()}getSourceOption(){const t=this.parent.getSource(),r=this.sourceTile.data.data,{rasterData:i}=r,s=$p(r,CD);return{data:i,options:{parser:_t({type:"raster",extent:this.sourceTile.bounds},s),transforms:t.transforms}}}styleUpdate(...t){const{rampColors:r=ID,domain:i}=t;this.colorTexture=this.parent.textureService.getColorTexture(r,i||y6(r)),this.layers.forEach(s=>s.style({colorTexture:this.colorTexture}))}destroy(){this.layers.forEach(t=>t.destroy())}}class Oh extends F1{initTileLayer(){var t=this;return mt(function*(){const r=t.parent.getLayerAttributeConfig(),i=t.getLayerOptions(),s=gD(t.parent.type),u=t.getSourceOption();if(!u){t.isLoaded=!0,t.emit("loaded");return}const n=new s(_t({},i)).source(u.data,u.options);Object.keys(r).forEach(h=>{var m,g;const x=h;n[x]((m=r[x])===null||m===void 0?void 0:m.field,(g=r[x])===null||g===void 0?void 0:g.values)}),yield t.addLayer(n),i.tileMask&&(yield t.addTileMask()),t.setLayerMinMaxZoom(n),t.isLoaded=!0,t.emit("loaded")})()}getSourceOption(){const t=this.parent.getSource(),{sourceLayer:r="defaultLayer",featureId:i="id"}=this.parent.getLayerConfig();return{data:{type:"FeatureCollection",features:this.getFeatures(r)},options:{parser:{type:"geojson",featureId:i},transforms:t.transforms}}}setLayerMinMaxZoom(t){t.getModelType()==="text"&&t.updateLayerConfig({maxZoom:this.z+1,minZoom:this.z-1})}getFeatures(t){return this.sourceTile.data.getTileData(t)}getFeatureById(t){const r=this.getMainLayer();return r?r.getSource().data.dataArray.filter(s=>s._id===t):[]}}function ND(e){switch(e.type){case"PolygonLayer":return Oh;case"LineLayer":return Oh;case"PointLayer":return Oh;case"TileDebugLayer":return ED;case"MaskLayer":return TD;case"RasterLayer":const{dataType:r}=e.getSource().parser;switch(r){case Ha.RGB:case Ha.CUSTOMRGB:return wD;case Ha.ARRAYBUFFER:case Ha.CUSTOMARRAYBUFFER:return MD;case Ha.TERRAINRGB:case Ha.CUSTOMTERRAINRGB:return RD;default:return xD}default:return Oh}}const DD=["shape","color","size","style","animate","filter","rotate","scale","setBlend","setSelect","setActive","disableMask","enableMask","addMask","removeMask"],{debounce:OD}=Qn;class LD{constructor(t){H(this,"parent",void 0),H(this,"tileLayerService",void 0),H(this,"mapService",void 0),H(this,"layerService",void 0),H(this,"rendererService",void 0),H(this,"pickingService",void 0),H(this,"tilePickService",void 0),H(this,"tilesetManager",void 0),H(this,"initedTileset",!1),H(this,"lastViewStates",void 0),H(this,"mapchange",()=>{var i;if(this.parent.isVisible()===!1)return;const{latLonBounds:s,zoom:u}=this.getCurrentView();this.lastViewStates&&this.lastViewStates.zoom===u&&this.lastViewStates.latLonBounds.toString()===s.toString()||(this.lastViewStates={zoom:u,latLonBounds:s},(i=this.tilesetManager)===null||i===void 0||i.throttleUpdate(u,s))}),H(this,"viewchange",OD(this.mapchange,24)),this.parent=t;const r=this.parent.getContainer();this.rendererService=r.rendererService,this.layerService=r.layerService,this.mapService=r.mapService,this.pickingService=r.pickingService,this.tileLayerService=new kN({rendererService:this.rendererService,layerService:this.layerService,parent:t}),this.tilePickService=new _D({tileLayerService:this.tileLayerService,layerService:this.layerService,parent:t}),this.parent.setLayerPickService(this.tilePickService),this.proxy(t),this.initTileSetManager()}initTileSetManager(){var t;const r=this.parent.getSource();if(this.tilesetManager=r.tileset,this.initedTileset||(this.bindTilesetEvent(),this.initedTileset=!0),this.parent.isVisible()===!1)return;const{latLonBounds:i,zoom:s}=this.getCurrentView();(t=this.tilesetManager)===null||t===void 0||t.update(s,i)}getCurrentView(){const t=this.mapService.getBounds(),r=[t[0][0],t[0][1],t[1][0],t[1][1]],i=this.mapService.getZoom();return{latLonBounds:r,zoom:i}}bindTilesetEvent(){this.tilesetManager.on("tile-loaded",t=>{}),this.tilesetManager.on("tile-unload",t=>{this.tileUnLoad(t)}),this.tilesetManager.on("tile-error",(t,r)=>{this.tileError(t)}),this.tilesetManager.on("tile-update",()=>{this.tileUpdate()}),this.mapService.on("zoomend",this.mapchange),this.mapService.on("moveend",this.viewchange)}render(){this.tileLayerService.render()}getLayers(){return this.tileLayerService.getLayers()}getTiles(){return this.tileLayerService.getTiles()}getTile(t){return this.tileLayerService.getTile(t)}tileLoaded(t){}tileError(t){console.warn("error:",t)}destroy(){var t;this.mapService.off("zoomend",this.mapchange),this.mapService.off("moveend",this.viewchange),(t=this.tilesetManager)===null||t===void 0||t.destroy(),this.tileLayerService.destroy()}reload(){var t;this.tilesetManager.clear();const{latLonBounds:r,zoom:i}=this.getCurrentView();(t=this.tilesetManager)===null||t===void 0||t.update(i,r)}tileUnLoad(t){this.tileLayerService.removeTile(t.key)}tileUpdate(){var t=this;return mt(function*(){if(!t.tilesetManager)return;const r=t.parent.getMinZoom(),i=t.parent.getMaxZoom(),s=t.tilesetManager.tiles.filter(u=>u.isLoaded).filter(u=>u.isVisibleChange).filter(u=>u.data).filter(u=>u.z>=r&&u.z{const i=t[r].bind(t);t[r]=(...s)=>(i(...s),this.getLayers().map(u=>{u[r](...s)}),r==="style"&&this.getTiles().forEach(u=>u.styleUpdate(...s)),t)})}}function BD(e,t){var r=typeof my<"u"&&!!my&&typeof my.showToast=="function"&&my.isFRM!==!0,i=typeof wx<"u"&&wx!==null&&(typeof wx.request<"u"||typeof wx.miniProgram<"u");if(!(r||i)&&(t||(t=document),!!t)){var s=t.head||t.getElementsByTagName("head")[0];if(!s){s=t.createElement("head");var u=t.body||t.getElementsByTagName("body")[0];u?u.parentNode.insertBefore(s,u):t.documentElement.appendChild(s)}var n=t.createElement("style");return n.type="text/css",n.styleSheet?n.styleSheet.cssText=e:n.appendChild(t.createTextNode(e)),s.appendChild(n),n}}BD(`.l7-marker-container { + position: absolute; + width: 100%; + height: 100%; + overflow: hidden; +} +.l7-marker { + position: absolute !important; + top: 0; + left: 0; + z-index: 5; + cursor: pointer; +} +.l7-marker-cluster { + width: 40px; + height: 40px; + background-color: rgba(181, 226, 140, 0.6); + background-clip: padding-box; + border-radius: 20px; +} +.l7-marker-cluster div { + width: 30px; + height: 30px; + margin-top: 5px; + margin-left: 5px; + font: + 12px 'Helvetica Neue', + Arial, + Helvetica, + sans-serif; + text-align: center; + background-color: rgba(110, 204, 57, 0.6); + border-radius: 15px; +} +.l7-marker-cluster span { + line-height: 30px; +} +.l7-touch .l7-control-attribution, +.l7-touch .l7-control-layers, +.l7-touch .l7-bar { + box-shadow: none; +} +.l7-touch .l7-control-layers, +.l7-touch .l7-bar { + background-clip: padding-box; + border: 2px solid rgba(0, 0, 0, 0.2); +} +.mapboxgl-ctrl-logo, +.amap-logo { + display: none !important; +} +.l7-select-box { + border: 3px dashed gray; + border-radius: 2px; + position: absolute; + z-index: 999; + box-sizing: border-box; +} +.l7-control-container { + font: + 12px/1.5 'Helvetica Neue', + Arial, + Helvetica, + sans-serif; +} +.l7-control-container .l7-control { + position: relative; + z-index: 999; + float: left; + clear: both; + color: #595959; + font-size: 12px; + pointer-events: visiblePainted; + /* IE 9-10 doesn't have auto */ + pointer-events: auto; +} +.l7-control-container .l7-control.l7-control--hide { + display: none; +} +.l7-control-container .l7-top { + top: 0; + display: flex; + position: absolute; + z-index: 999; + pointer-events: none; +} +.l7-control-container .l7-top .l7-control:not(.l7-control--hide) { + margin-top: 8px; +} +.l7-control-container .l7-right { + right: 0; + display: flex; + position: absolute; + z-index: 999; + pointer-events: none; +} +.l7-control-container .l7-right .l7-control:not(.l7-control--hide) { + margin-right: 8px; +} +.l7-control-container .l7-bottom { + bottom: 0; + display: flex; + position: absolute; + z-index: 999; + pointer-events: none; +} +.l7-control-container .l7-bottom .l7-control:not(.l7-control--hide) { + margin-bottom: 8px; +} +.l7-control-container .l7-left { + left: 0; + display: flex; + position: absolute; + z-index: 999; + pointer-events: none; +} +.l7-control-container .l7-left .l7-control:not(.l7-control--hide) { + margin-left: 8px; +} +.l7-control-container .l7-center { + position: absolute; + display: flex; + justify-content: center; +} +.l7-control-container .l7-center.l7-top, +.l7-control-container .l7-center.l7-bottom { + width: 100%; +} +.l7-control-container .l7-center.l7-left, +.l7-control-container .l7-center.l7-right { + height: 100%; +} +.l7-control-container .l7-center .l7-control { + margin-right: 8px; + margin-bottom: 8px; +} +.l7-control-container .l7-row { + flex-direction: row; +} +.l7-control-container .l7-row.l7-top { + align-items: flex-start; +} +.l7-control-container .l7-row.l7-bottom { + align-items: flex-end; +} +.l7-control-container .l7-column { + flex-direction: column; +} +.l7-control-container .l7-column.l7-left { + align-items: flex-start; +} +.l7-control-container .l7-column.l7-right { + align-items: flex-end; +} +.l7-button-control { + min-width: 28px; + height: 28px; + background-color: #fff; + border-width: 0; + border-radius: 2px; + outline: 0; + cursor: pointer; + transition: all 0.2s; + display: flex; + justify-content: center; + align-items: center; + padding: 0 6px; + box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15); + line-height: 16px; +} +.l7-button-control .l7-iconfont { + fill: #595959; + color: #595959; + width: 16px; + height: 16px; +} +.l7-button-control.l7-button-control--row { + padding: 0 16px 0 13px; +} +.l7-button-control.l7-button-control--row * + .l7-button-control__text { + margin-left: 8px; +} +.l7-button-control.l7-button-control--column { + height: 44px; + flex-direction: column; +} +.l7-button-control.l7-button-control--column .l7-iconfont { + margin-top: 3px; +} +.l7-button-control.l7-button-control--column .l7-button-control__text { + margin-top: 3px; + font-size: 10px; + -webkit-transform: scale(0.83333); + transform: scale(0.83333); +} +.l7-button-control:not(:disabled):hover { + background-color: #f3f3f3; +} +.l7-button-control:not(:disabled):active { + background-color: #f3f3f3; +} +.l7-button-control:disabled { + background-color: #fafafa; + color: #bdbdbd; + cursor: not-allowed; +} +.l7-button-control:disabled .l7-iconfont { + fill: #bdbdbd; + color: #bdbdbd; +} +.l7-button-control:disabled:hover { + background-color: #fafafa; +} +.l7-button-control:disabled:active { + background-color: #fafafa; +} +.l7-popper { + position: absolute; + display: flex; + justify-content: center; + align-items: center; + z-index: 5; + color: #595959; +} +.l7-popper.l7-popper-hide { + display: none; +} +.l7-popper .l7-popper-content { + min-height: 28px; + background: #fff; + border-radius: 2px; + box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15); +} +.l7-popper .l7-popper-arrow { + width: 0; + height: 0; + border-width: 4px; + border-style: solid; + border-top-color: transparent; + border-bottom-color: transparent; + border-left-color: transparent; + border-right-color: transparent; + box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15); +} +.l7-popper.l7-popper-left { + flex-direction: row; +} +.l7-popper.l7-popper-left .l7-popper-arrow { + border-left-color: #fff; + margin: 10px 0; +} +.l7-popper.l7-popper-right { + flex-direction: row-reverse; +} +.l7-popper.l7-popper-right .l7-popper-arrow { + border-right-color: #fff; + margin: 10px 0; +} +.l7-popper.l7-popper-top { + flex-direction: column; +} +.l7-popper.l7-popper-top .l7-popper-arrow { + border-top-color: #fff; + margin: 0 10px; +} +.l7-popper.l7-popper-bottom { + flex-direction: column-reverse; +} +.l7-popper.l7-popper-bottom .l7-popper-arrow { + border-bottom-color: #fff; + margin: 0 10px; +} +.l7-popper.l7-popper-start { + align-items: flex-start; +} +.l7-popper.l7-popper-end { + align-items: flex-end; +} +.l7-select-control--normal { + padding: 4px 0; +} +.l7-select-control--normal .l7-select-control-item { + display: flex; + align-items: center; + height: 24px; + padding: 0 16px; + font-size: 12px; + line-height: 24px; +} +.l7-select-control--normal .l7-select-control-item > * + * { + margin-left: 6px; +} +.l7-select-control--normal .l7-select-control-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.l7-select-control--normal .l7-select-control-item:hover { + background-color: #f3f3f3; +} +.l7-select-control--image { + display: flex; + flex-wrap: wrap; + align-items: flex-start; + box-sizing: content-box; + max-width: 460px; + max-height: 400px; + margin: 12px 0 0 12px; + overflow-x: hidden; + overflow-y: auto; +} +.l7-select-control--image .l7-select-control-item { + position: relative; + display: flex; + flex: 0 0 calc((100% - (12px + 9px) * 2) / 3); + flex-direction: column; + justify-content: center; + box-sizing: content-box; + margin-right: 12px; + margin-bottom: 12px; + overflow: hidden; + font-size: 12px; + border: 1px solid #fff; + border-radius: 2px; +} +.l7-select-control--image .l7-select-control-item img { + width: 100%; + height: 80px; +} +.l7-select-control--image .l7-select-control-item input[type='checkbox'] { + position: absolute; + top: 0; + right: 0; +} +.l7-select-control--image .l7-select-control-item .l7-select-control-item-row { + display: flex; + align-items: center; + justify-content: center; + line-height: 26px; +} +.l7-select-control--image .l7-select-control-item .l7-select-control-item-row > * + * { + margin-left: 8px; +} +.l7-select-control--image .l7-select-control-item.l7-select-control-item-active { + border-color: #0370fe; +} +.l7-select-control-item { + cursor: pointer; +} +.l7-select-control-item input[type='checkbox'] { + margin: 0; + cursor: pointer; +} +.l7-select-control--multiple .l7-select-control-item:hover { + background-color: transparent; +} +.l7-control-logo { + width: 89px; + height: 16px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.l7-control-logo img { + height: 100%; + width: 100%; +} +.l7-control-logo .l7-control-logo-link { + display: block; + cursor: pointer; +} +.l7-control-logo .l7-control-logo-link img { + cursor: pointer; +} +.l7-control-mouse-location { + background-color: #fff; + border-radius: 2px; + box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15); + padding: 2px 4px; + min-width: 130px; +} +.l7-control-zoom { + overflow: hidden; + border-radius: 2px; + box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15); +} +.l7-control-zoom .l7-button-control { + font-size: 16px; + border-bottom: 1px solid #f0f0f0; + border-radius: 0; + box-shadow: 0 0 0; +} +.l7-control-zoom .l7-button-control .l7-iconfont { + width: 14px; + height: 14px; +} +.l7-control-zoom .l7-button-control:last-child { + border-bottom: 0; +} +.l7-control-zoom .l7-control-zoom__number { + color: #595959; + padding: 0; +} +.l7-control-zoom .l7-control-zoom__number:hover { + background-color: #fff; +} +.l7-control-scale { + display: flex; + flex-direction: column; +} +.l7-control-scale .l7-control-scale-line { + box-sizing: border-box; + padding: 2px 5px 1px; + overflow: hidden; + color: #595959; + font-size: 10px; + line-height: 1.1; + white-space: nowrap; + background: #fff; + border: 2px solid #000; + border-top: 0; + transition: width 0.1s; +} +.l7-control-scale .l7-control-scale-line + .l7-control-scale .l7-control-scale-line { + margin-top: -2px; + border-top: 2px solid #777; + border-bottom: none; +} +.l7-right .l7-control-scale { + display: flex; + align-items: flex-end; +} +.l7-right .l7-control-scale .l7-control-scale-line { + text-align: right; +} +.l7-popup { + position: absolute; + top: 0; + left: 0; + z-index: 5; + display: flex; + will-change: transform; + pointer-events: none; +} +.l7-popup.l7-popup-hide { + display: none; +} +.l7-popup .l7-popup-content { + position: relative; + padding: 16px; + font-size: 14px; + background: #fff; + border-radius: 3px; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); +} +.l7-popup .l7-popup-content .l7-popup-content__title { + margin-bottom: 8px; + font-weight: bold; +} +.l7-popup .l7-popup-content .l7-popup-close-button, +.l7-popup .l7-popup-content .l7-popup-content__title, +.l7-popup .l7-popup-content .l7-popup-content__panel { + white-space: normal; + -webkit-user-select: text; + -moz-user-select: text; + -ms-user-select: text; + user-select: text; + pointer-events: initial; +} +.l7-popup .l7-popup-content .l7-popup-close-button { + position: absolute; + top: 0; + right: 0; + width: 18px; + height: 18px; + padding: 0; + font-size: 14px; + line-height: 18px; + text-align: center; + background-color: transparent; + border: 0; + border-radius: 0 3px 0 0; + cursor: pointer; +} +.l7-popup .l7-popup-tip { + position: relative; + z-index: 1; + width: 0; + height: 0; + border: 10px solid transparent; +} +.l7-popup.l7-popup-anchor-bottom, +.l7-popup.l7-popup-anchor-bottom-left, +.l7-popup.l7-popup-anchor-bottom-right { + flex-direction: column-reverse; +} +.l7-popup.l7-popup-anchor-bottom .l7-popup-tip, +.l7-popup.l7-popup-anchor-bottom-left .l7-popup-tip, +.l7-popup.l7-popup-anchor-bottom-right .l7-popup-tip { + bottom: 1px; +} +.l7-popup.l7-popup-anchor-top, +.l7-popup.l7-popup-anchor-top-left, +.l7-popup.l7-popup-anchor-top-right { + flex-direction: column; +} +.l7-popup.l7-popup-anchor-top .l7-popup-tip, +.l7-popup.l7-popup-anchor-top-left .l7-popup-tip, +.l7-popup.l7-popup-anchor-top-right .l7-popup-tip { + top: 1px; +} +.l7-popup.l7-popup-anchor-left { + flex-direction: row; +} +.l7-popup.l7-popup-anchor-right { + flex-direction: row-reverse; +} +.l7-popup-anchor-top .l7-popup-tip { + position: relative; + align-self: center; + border-top: none; + border-bottom-color: #fff; +} +.l7-popup-anchor-top-left .l7-popup-tip { + align-self: flex-start; + border-top: none; + border-bottom-color: #fff; + border-left: none; +} +.l7-popup-anchor-top-right .l7-popup-tip { + align-self: flex-end; + border-top: none; + border-right: none; + border-bottom-color: #fff; +} +.l7-popup-anchor-bottom .l7-popup-tip { + align-self: center; + border-top-color: #fff; + border-bottom: none; +} +.l7-popup-anchor-bottom-left .l7-popup-tip { + align-self: flex-start; + border-top-color: #fff; + border-bottom: none; + border-left: none; +} +.l7-popup-anchor-bottom-right .l7-popup-tip { + align-self: flex-end; + border-top-color: #fff; + border-right: none; + border-bottom: none; +} +.l7-popup-anchor-left .l7-popup-tip { + align-self: center; + border-right-color: #fff; + border-left: none; +} +.l7-popup-anchor-right .l7-popup-tip { + right: 1px; + align-self: center; + border-right: none; + border-left-color: #fff; +} +.l7-popup-anchor-top-left .l7-popup-content { + border-top-left-radius: 0; +} +.l7-popup-anchor-top-right .l7-popup-content { + border-top-right-radius: 0; +} +.l7-popup-anchor-bottom-left .l7-popup-content { + border-bottom-left-radius: 0; +} +.l7-popup-anchor-bottom-right .l7-popup-content { + border-bottom-right-radius: 0; +} +.l7-popup-track-pointer { + display: none; +} +.l7-popup-track-pointer * { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + pointer-events: none; +} +.l7-map:hover .l7-popup-track-pointer { + display: flex; +} +.l7-map:active .l7-popup-track-pointer { + display: none; +} +.l7-layer-popup__row { + font-size: 12px; +} +.l7-layer-popup__row + .l7-layer-popup__row { + margin-top: 4px; +} +.l7-control-swipe { + position: absolute; + top: 50%; + left: 50%; + z-index: 6; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + touch-action: none; +} +.l7-control-swipe_hide { + display: none; +} +.l7-control-swipe:before { + position: absolute; + top: -5000px; + bottom: -5000px; + left: 50%; + z-index: -1; + width: 4px; + background: #fff; + -webkit-transform: translate(-2px, 0); + transform: translate(-2px, 0); + content: ''; +} +.l7-control-swipe.horizontal:before { + top: 50%; + right: -5000px; + bottom: auto; + left: -5000px; + width: auto; + height: 4px; +} +.l7-control-swipe__button { + display: block; + width: 28px; + height: 28px; + margin: 0; + padding: 0; + color: #595959; + font-weight: bold; + font-size: inherit; + text-align: center; + text-decoration: none; + background-color: #fff; + border: none; + border-radius: 2px; + outline: none; +} +.l7-control-swipe, +.l7-control-swipe__button { + cursor: ew-resize; +} +.l7-control-swipe.horizontal, +.l7-control-swipe.horizontal button { + cursor: ns-resize; +} +.l7-control-swipe:after, +.l7-control-swipe__button:before, +.l7-control-swipe__button:after { + position: absolute; + top: 25%; + bottom: 25%; + left: 50%; + width: 2px; + background: currentColor; + -webkit-transform: translate(-1px, 0); + transform: translate(-1px, 0); + content: ''; +} +.l7-control-swipe__button:after { + -webkit-transform: translateX(4px); + transform: translateX(4px); +} +.l7-control-swipe__button:before { + -webkit-transform: translateX(-6px); + transform: translateX(-6px); +} +`);class UD{constructor(t){H(this,"configService",void 0),H(this,"config",void 0),this.config=t}setContainer(t,r){this.configService=t.globalConfigService,t.mapConfig=_t(_t({},this.config),{},{id:r}),t.mapService=new(this.getServiceConstructor())(t)}getServiceConstructor(){throw new Error("Method not implemented.")}}class kD{constructor(t){H(this,"size",1e4),this.size=t||1e4}setSize(t){this.size=t}getSize(){return[this.size,this.size]}mercatorXfromLng(t){return(180+t)/360*this.size}mercatorYfromLat(t){return(1-(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+t*Math.PI/360)))/360)*this.size}lngFromMercatorX(t){return t/this.size*360-180}latFromMercatorY(t){const r=180-(1-t/this.size)*360;return 360/Math.PI*Math.atan(Math.exp(r*Math.PI/180))-90}project(t){const r=this.mercatorXfromLng(t[0]),i=this.mercatorYfromLat(t[1]);return[r,i]}unproject(t){const r=this.lngFromMercatorX(t[0]),i=this.latFromMercatorY(t[1]);return[r,i]}}function y7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zD(e,t){for(var r=0;re.length)&&(t=e.length);for(var r=0,i=Array(t);r=-90&&s<=90,"invalid latitude"),t*=z6;var u=i*Al,n=s*Al,h=t*(u+fp)/(2*fp),m=t*(fp-Math.log(Math.tan(f7+n*.5)))/(2*fp);return[h,m]}function J4(e,t){var r=Wu(e,2),i=r[0],s=r[1];t*=z6;var u=i/t*(2*fp)-fp,n=2*(Math.atan(Math.exp(fp-s/t*(2*fp)))-f7);return[u*K4,n*K4]}function YD(e){var t=e.latitude,r=e.longitude,i=e.zoom,s=e.scale,u=e.highPrecision,n=u===void 0?!1:u;s=s!==void 0?s:m7(i),E1(Number.isFinite(t)&&Number.isFinite(r)&&Number.isFinite(s));var h={},m=z6*s,g=Math.cos(t*Al),x=m/360,b=x/g,F=m/Q4/g;if(h.pixelsPerMeter=[F,-F,F],h.metersPerPixel=[1/F,-1/F,1/F],h.pixelsPerDegree=[x,-b,F],h.degreesPerPixel=[1/x,-1/b,1/F],n){var R=Al*Math.tan(t*Al)/g,I=x*R/2,B=m/Q4*R,V=B/b*F;h.pixelsPerDegree2=[0,-I,B],h.pixelsPerMeter2=[V,0,V]}return h}function $D(e){var t=e.height,r=e.pitch,i=e.bearing,s=e.altitude,u=e.center,n=u===void 0?null:u,h=e.flipY,m=h===void 0?!1:h,g=py();return rf(g,g,[0,0,-s]),of(g,g,[1,1,1/t]),o6(g,g,-r*Al),Vg(g,g,i*Al),m&&of(g,g,[1,-1,1]),n&&rf(g,g,Sv([],n)),g}function qD(e){var t=e.width,r=e.height,i=e.altitude,s=i===void 0?ZD:i,u=e.pitch,n=u===void 0?0:u,h=e.nearZMultiplier,m=h===void 0?1:h,g=e.farZMultiplier,x=g===void 0?1:g,b=n*Al,F=Math.atan(.5/s),R=Math.sin(F)*s/Math.sin(Math.PI/2-b-F),I=Math.cos(Math.PI/2-b)*R+s;return{fov:2*Math.atan(r/2/s),aspect:t/r,focalDistance:s,near:m,far:I*x}}function KD(e){var t=e.width,r=e.height,i=e.pitch,s=e.altitude,u=e.nearZMultiplier,n=e.farZMultiplier,h=qD({width:t,height:r,altitude:s,pitch:i,nearZMultiplier:u,farZMultiplier:n}),m=h.fov,g=h.aspect,x=h.near,b=h.far,F=Bv([],m,g,x,b);return F}function QD(e,t){var r=Wu(e,3),i=r[0],s=r[1],u=r[2],n=u===void 0?0:u;return E1(Number.isFinite(i)&&Number.isFinite(s)&&Number.isFinite(n)),qh(t,[i,s,n,1])}function _7(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=Wu(e,3),s=i[0],u=i[1],n=i[2];if(E1(Number.isFinite(s)&&Number.isFinite(u),"invalid pixel coordinate"),Number.isFinite(n)){var h=qh(t,[s,u,n,1]);return h}var m=qh(t,[s,u,0,1]),g=qh(t,[s,u,1,1]),x=m[2],b=g[2],F=x===b?0:((r||0)-x)/(b-x);return wv([],m,g,F)}var eg=py(),JD=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.width,i=t.height,s=t.viewMatrix,u=s===void 0?eg:s,n=t.projectionMatrix,h=n===void 0?eg:n;y7(this,e),this.width=r||1,this.height=i||1,this.scale=1,this.pixelsPerMeter=1,this.viewMatrix=u,this.projectionMatrix=h;var m=py();S0(m,m,this.projectionMatrix),S0(m,m,this.viewMatrix),this.viewProjectionMatrix=m;var g=py();of(g,g,[this.width/2,-this.height/2,1]),rf(g,g,[1,-1,0]),S0(g,g,this.viewProjectionMatrix);var x=r6(py(),g);if(!x)throw new Error("Pixel project matrix not invertible");this.pixelProjectionMatrix=g,this.pixelUnprojectionMatrix=x,this.equals=this.equals.bind(this),this.project=this.project.bind(this),this.unproject=this.unproject.bind(this),this.projectPosition=this.projectPosition.bind(this),this.unprojectPosition=this.unprojectPosition.bind(this),this.projectFlat=this.projectFlat.bind(this),this.unprojectFlat=this.unprojectFlat.bind(this)}return h7(e,[{key:"equals",value:function(r){return r instanceof e?r.width===this.width&&r.height===this.height&&I3(r.projectionMatrix,this.projectionMatrix)&&I3(r.viewMatrix,this.viewMatrix):!1}},{key:"project",value:function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=i.topLeft,u=s===void 0?!0:s,n=this.projectPosition(r),h=QD(n,this.pixelProjectionMatrix),m=Wu(h,2),g=m[0],x=m[1],b=u?x:this.height-x;return r.length===2?[g,b]:[g,b,h[2]]}},{key:"unproject",value:function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=i.topLeft,u=s===void 0?!0:s,n=i.targetZ,h=Wu(r,3),m=h[0],g=h[1],x=h[2],b=u?g:this.height-g,F=n&&n*this.pixelsPerMeter,R=_7([m,b,x],this.pixelUnprojectionMatrix,F),I=this.unprojectPosition(R),B=Wu(I,3),V=B[0],J=B[1],Q=B[2];return Number.isFinite(x)?[V,J,Q]:Number.isFinite(n)?[V,J,n]:[V,J]}},{key:"projectPosition",value:function(r){var i=this.projectFlat(r),s=Wu(i,2),u=s[0],n=s[1],h=(r[2]||0)*this.pixelsPerMeter;return[u,n,h]}},{key:"unprojectPosition",value:function(r){var i=this.unprojectFlat(r),s=Wu(i,2),u=s[0],n=s[1],h=(r[2]||0)/this.pixelsPerMeter;return[u,n,h]}},{key:"projectFlat",value:function(r){return arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.scale,r}},{key:"unprojectFlat",value:function(r){return arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.scale,r}}]),e}();function eO(e){var t=e.width,r=e.height,i=e.bounds,s=e.minExtent,u=s===void 0?0:s,n=e.maxZoom,h=n===void 0?24:n,m=e.padding,g=m===void 0?0:m,x=e.offset,b=x===void 0?[0,0]:x,F=Wu(i,2),R=Wu(F[0],2),I=R[0],B=R[1],V=Wu(F[1],2),J=V[0],Q=V[1];if(Number.isFinite(g)){var te=g;g={top:te,bottom:te,left:te,right:te}}else E1(Number.isFinite(g.top)&&Number.isFinite(g.bottom)&&Number.isFinite(g.left)&&Number.isFinite(g.right));var ne=new K2({width:t,height:r,longitude:0,latitude:0,zoom:0}),ue=ne.project([I,Q]),Oe=ne.project([J,B]),Ee=[Math.max(Math.abs(Oe[0]-ue[0]),u),Math.max(Math.abs(Oe[1]-ue[1]),u)],He=[t-g.left-g.right-Math.abs(b[0])*2,r-g.top-g.bottom-Math.abs(b[1])*2];E1(He[0]>0&&He[1]>0);var ft=He[0]/Ee[0],Ge=He[1]/Ee[1],Ae=(g.right-g.left)/2/ft,Be=(g.bottom-g.top)/2/Ge,ze=[(Oe[0]+ue[0])/2+Ae,(Oe[1]+ue[1])/2+Be],st=ne.unproject(ze),Vt=ne.zoom+Math.log2(Math.abs(Math.min(ft,Ge)));return{longitude:st[0],latitude:st[1],zoom:Math.min(Vt,h)}}var K2=function(e){HD(t,e);function t(){var r,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=i.width,u=i.height,n=i.latitude,h=n===void 0?0:n,m=i.longitude,g=m===void 0?0:m,x=i.zoom,b=x===void 0?0:x,F=i.pitch,R=F===void 0?0:F,I=i.bearing,B=I===void 0?0:I,V=i.altitude,J=V===void 0?1.5:V,Q=i.nearZMultiplier,te=i.farZMultiplier;y7(this,t),s=s||1,u=u||1;var ne=m7(b);J=Math.max(.75,J);var ue=t2([g,h],ne);ue[2]=0;var Oe=KD({width:s,height:u,pitch:R,bearing:B,altitude:J,nearZMultiplier:Q||1/u,farZMultiplier:te||1.01}),Ee=$D({height:u,center:ue,pitch:R,bearing:B,altitude:J,flipY:!0});return r=VD(this,$2(t).call(this,{width:s,height:u,viewMatrix:Ee,projectionMatrix:Oe})),r.latitude=h,r.longitude=g,r.zoom=b,r.pitch=R,r.bearing=B,r.altitude=J,r.scale=ne,r.center=ue,r.pixelsPerMeter=YD(ty(ty(r))).pixelsPerMeter[2],Object.freeze(ty(ty(r))),r}return h7(t,[{key:"projectFlat",value:function(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.scale;return t2(i,s)}},{key:"unprojectFlat",value:function(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.scale;return J4(i,s)}},{key:"getMapCenterByLngLatPosition",value:function(i){var s=i.lngLat,u=i.pos,n=_7(u,this.pixelUnprojectionMatrix),h=t2(s,this.scale),m=gl([],h,Rv([],n)),g=gl([],this.center,m);return J4(g,this.scale)}},{key:"getLocationAtPoint",value:function(i){var s=i.lngLat,u=i.pos;return this.getMapCenterByLngLatPosition({lngLat:s,pos:u})}},{key:"fitBounds",value:function(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=this.width,n=this.height,h=eO(Object.assign({width:u,height:n,bounds:i},s)),m=h.longitude,g=h.latitude,x=h.zoom;return new t({width:u,height:n,longitude:m,latitude:g,zoom:x})}}]),t}(JD);class tO{constructor(){H(this,"viewport",new K2)}syncWithMapCamera(t){const{center:r,zoom:i,pitch:s,bearing:u,viewportHeight:n,viewportWidth:h}=t,m={width:this.viewport.width,height:this.viewport.height,longitude:this.viewport.center[0],latitude:this.viewport.center[1],zoom:this.viewport.zoom,pitch:this.viewport.pitch,bearing:this.viewport.bearing};this.viewport=new K2(_t(_t({},m),{},{width:h,height:n,longitude:r&&r[0],latitude:r&&r[1],zoom:i,pitch:s,bearing:u}))}getZoom(){return this.viewport.zoom}getZoomScale(){return Math.pow(2,this.getZoom())}getCenter(){return[this.viewport.longitude,this.viewport.latitude]}getProjectionMatrix(){return this.viewport.projectionMatrix}getModelMatrix(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}getViewMatrix(){return this.viewport.viewMatrix}getViewMatrixUncentered(){return this.viewport.viewMatrixUncentered}getViewProjectionMatrix(){return this.viewport.viewProjectionMatrix}getViewProjectionMatrixUncentered(){return this.viewport.viewProjectionMatrix}getFocalDistance(){return 1}projectFlat(t,r){return this.viewport.projectFlat(t,r)}}const rO={light:"mapbox://styles/zcxduo/ck2ypyb1r3q9o1co1766dex29",dark:"mapbox://styles/zcxduo/ck241p6413s0b1cpayzldv7x7",normal:"mapbox://styles/mapbox/streets-v11",blank:{version:8,sources:{},layers:[{id:"background",type:"background",layout:{visibility:"none"}}]}},tg={mapmove:"move",camerachange:"move",zoomchange:"zoom",dragging:"drag"},oO=12;class iO{constructor(t){H(this,"version","DEFAUlTMAP"),H(this,"map",void 0),H(this,"simpleMapCoord",new kD),H(this,"bgColor","rgba(0.0, 0.0, 0.0, 0.0)"),H(this,"config",void 0),H(this,"configService",void 0),H(this,"coordinateSystemService",void 0),H(this,"eventEmitter",void 0),H(this,"markerContainer",void 0),H(this,"cameraChangedCallback",void 0),H(this,"$mapContainer",void 0),H(this,"handleCameraChanged",r=>{const{lat:i,lng:s}=this.map.getCenter();this.emit("mapchange"),this.viewport.syncWithMapCamera({bearing:this.map.getBearing(),center:[s,i],viewportHeight:this.map.transform.height,pitch:this.map.getPitch(),viewportWidth:this.map.transform.width,zoom:this.map.getZoom(),cameraHeight:0}),this.updateCoordinateSystemService(),this.cameraChangedCallback(this.viewport)}),this.config=t.mapConfig,this.configService=t.globalConfigService,this.coordinateSystemService=t.coordinateSystemService,this.eventEmitter=new yu.EventEmitter}setBgColor(t){this.bgColor=t}addMarkerContainer(){const t=this.map.getCanvasContainer();this.markerContainer=lu("div","l7-marker-container",t),this.markerContainer.setAttribute("tabindex","-1")}getMarkerContainer(){return this.markerContainer}getOverlayContainer(){}getCanvasOverlays(){}on(t,r){Bb.indexOf(t)!==-1?this.eventEmitter.on(t,r):this.map.on(tg[t]||t,r)}off(t,r){this.map.off(tg[t]||t,r),this.eventEmitter.off(t,r)}getContainer(){return this.map.getContainer()}getMapCanvasContainer(){return this.map.getCanvasContainer()}getSize(){if(this.version==="SIMPLE")return this.simpleMapCoord.getSize();const t=this.map.transform;return[t.width,t.height]}getType(){return"default"}getZoom(){return this.map.getZoom()}setZoom(t){return this.map.setZoom(t)}getCenter(){return this.map.getCenter()}setCenter(t){this.map.setCenter(t)}getPitch(){return this.map.getPitch()}getRotation(){return this.map.getBearing()}getBounds(){return this.map.getBounds().toArray()}getMinZoom(){return this.map.getMinZoom()}getMaxZoom(){return this.map.getMaxZoom()}setRotation(t){this.map.setBearing(t)}zoomIn(t,r){this.map.zoomIn(t,r)}zoomOut(t,r){this.map.zoomOut(t,r)}setPitch(t){return this.map.setPitch(t)}panTo(t){this.map.panTo(t)}panBy(t=0,r=0){this.map.panBy([t,r])}fitBounds(t,r){this.map.fitBounds(t,r)}setMaxZoom(t){this.map.setMaxZoom(t)}setMinZoom(t){this.map.setMinZoom(t)}setMapStatus(t){t.doubleClickZoom===!0&&this.map.doubleClickZoom.enable(),t.doubleClickZoom===!1&&this.map.doubleClickZoom.disable(),t.dragEnable===!1&&this.map.dragPan.disable(),t.dragEnable===!0&&this.map.dragPan.enable(),t.rotateEnable===!1&&this.map.dragRotate.disable(),t.dragEnable===!0&&this.map.dragRotate.enable(),t.keyboardEnable===!1&&this.map.keyboard.disable(),t.keyboardEnable===!0&&this.map.keyboard.enable(),t.zoomEnable===!1&&this.map.scrollZoom.disable(),t.zoomEnable===!0&&this.map.scrollZoom.enable()}setZoomAndCenter(t,r){this.map.flyTo({zoom:t,center:r})}setMapStyle(t){var r;(r=this.map)===null||r===void 0||r.setStyle(this.getMapStyleValue(t))}meterToCoord(t,r){return 1}pixelToLngLat(t){return this.map.unproject(t)}lngLatToPixel(t){return this.map.project(t)}containerToLngLat(t){return this.map.unproject(t)}lngLatToContainer(t){return this.map.project(t)}getMapStyle(){try{var t;const r=(t=this.map.getStyle().sprite)!==null&&t!==void 0?t:"";return/^mapbox:\/\/sprites\/zcxduo\/\w+\/\w+$/.test(r)?r==null?void 0:r.replace(/\/\w+$/,"").replace(/sprites/,"styles"):r}catch{return""}}getMapStyleConfig(){return rO}getMapStyleValue(t){var r;return(r=this.getMapStyleConfig()[t])!==null&&r!==void 0?r:t}destroy(){this.eventEmitter.removeAllListeners(),this.map&&(this.map.remove(),this.$mapContainer=null)}emit(t,...r){this.eventEmitter.emit(t,...r)}once(t,...r){this.eventEmitter.once(t,...r)}getMapContainer(){return this.$mapContainer}exportMap(t){var r;const i=(r=this.map)===null||r===void 0?void 0:r.getCanvas();return t==="jpg"?i==null?void 0:i.toDataURL("image/jpeg"):i==null?void 0:i.toDataURL("image/png")}onCameraChanged(t){this.cameraChangedCallback=t}creatMapContainer(t){let r=t;return typeof t=="string"&&(r=document.getElementById(t)),r}updateView(t){this.emit("mapchange"),this.viewport.syncWithMapCamera({bearing:t.bearing,center:t.center,viewportHeight:t.viewportHeight,pitch:t.pitch,viewportWidth:t.viewportWidth,zoom:t.zoom,cameraHeight:0}),this.updateCoordinateSystemService(),this.cameraChangedCallback(this.viewport)}updateCoordinateSystemService(){const{offsetCoordinate:t=!0}=this.config;this.viewport.getZoom()>oO&&t?this.coordinateSystemService.setCoordinateSystem(lf.LNGLAT_OFFSET):this.coordinateSystemService.setCoordinateSystem(lf.LNGLAT)}}var g7={exports:{}};(function(e,t){(function(r,i){e.exports=i()})(t6,function(){var r,i,s;function u(n,h){if(!r)r=h;else if(!i)i=h;else{var m="var sharedChunk = {}; ("+r+")(sharedChunk); ("+i+")(sharedChunk);",g={};r(g),s=h(g),typeof window<"u"&&(s.workerUrl=window.URL.createObjectURL(new Blob([m],{type:"text/javascript"})))}}return u(["exports"],function(n){function h(o,a){return o(a={exports:{}},a.exports),a.exports}var m=g;function g(o,a,p,y){this.cx=3*o,this.bx=3*(p-o)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*a,this.by=3*(y-a)-this.cy,this.ay=1-this.cy-this.by,this.p1x=o,this.p1y=y,this.p2x=p,this.p2y=y}g.prototype.sampleCurveX=function(o){return((this.ax*o+this.bx)*o+this.cx)*o},g.prototype.sampleCurveY=function(o){return((this.ay*o+this.by)*o+this.cy)*o},g.prototype.sampleCurveDerivativeX=function(o){return(3*this.ax*o+2*this.bx)*o+this.cx},g.prototype.solveCurveX=function(o,a){var p,y,_,v,P;for(a===void 0&&(a=1e-6),_=o,P=0;P<8;P++){if(v=this.sampleCurveX(_)-o,Math.abs(v)(y=1))return y;for(;pv?p=_:y=_,_=.5*(y-p)+p}return _},g.prototype.solve=function(o,a){return this.sampleCurveY(this.solveCurveX(o,a))};var x=b;function b(o,a){this.x=o,this.y=a}b.prototype={clone:function(){return new b(this.x,this.y)},add:function(o){return this.clone()._add(o)},sub:function(o){return this.clone()._sub(o)},multByPoint:function(o){return this.clone()._multByPoint(o)},divByPoint:function(o){return this.clone()._divByPoint(o)},mult:function(o){return this.clone()._mult(o)},div:function(o){return this.clone()._div(o)},rotate:function(o){return this.clone()._rotate(o)},rotateAround:function(o,a){return this.clone()._rotateAround(o,a)},matMult:function(o){return this.clone()._matMult(o)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(o){return this.x===o.x&&this.y===o.y},dist:function(o){return Math.sqrt(this.distSqr(o))},distSqr:function(o){var a=o.x-this.x,p=o.y-this.y;return a*a+p*p},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(o){return Math.atan2(this.y-o.y,this.x-o.x)},angleWith:function(o){return this.angleWithSep(o.x,o.y)},angleWithSep:function(o,a){return Math.atan2(this.x*a-this.y*o,this.x*o+this.y*a)},_matMult:function(o){var a=o[2]*this.x+o[3]*this.y;return this.x=o[0]*this.x+o[1]*this.y,this.y=a,this},_add:function(o){return this.x+=o.x,this.y+=o.y,this},_sub:function(o){return this.x-=o.x,this.y-=o.y,this},_mult:function(o){return this.x*=o,this.y*=o,this},_div:function(o){return this.x/=o,this.y/=o,this},_multByPoint:function(o){return this.x*=o.x,this.y*=o.y,this},_divByPoint:function(o){return this.x/=o.x,this.y/=o.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var o=this.y;return this.y=this.x,this.x=-o,this},_rotate:function(o){var a=Math.cos(o),p=Math.sin(o),y=p*this.x+a*this.y;return this.x=a*this.x-p*this.y,this.y=y,this},_rotateAround:function(o,a){var p=Math.cos(o),y=Math.sin(o),_=a.y+y*(this.x-a.x)+p*(this.y-a.y);return this.x=a.x+p*(this.x-a.x)-y*(this.y-a.y),this.y=_,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},b.convert=function(o){return o instanceof b?o:Array.isArray(o)?new b(o[0],o[1]):o};var F=typeof self<"u"?self:{},R=Math.pow(2,53)-1;function I(o,a,p,y){var _=new m(o,a,p,y);return function(v){return _.solve(v)}}var B=I(.25,.1,.25,1);function V(o,a,p){return Math.min(p,Math.max(a,o))}function J(o,a,p){var y=p-a,_=((o-a)%y+y)%y+a;return _===a?p:_}function Q(o){for(var a=[],p=arguments.length-1;p-- >0;)a[p]=arguments[p+1];for(var y=0,_=a;y<_.length;y+=1){var v=_[y];for(var P in v)o[P]=v[P]}return o}var te=1;function ne(){return te++}function ue(){return function o(a){return a?(a^16*Math.random()>>a/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,o)}()}function Oe(o){return!!o&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(o)}function Ee(o,a){o.forEach(function(p){a[p]&&(a[p]=a[p].bind(a))})}function He(o,a){return o.indexOf(a,o.length-a.length)!==-1}function ft(o,a,p){var y={};for(var _ in o)y[_]=a.call(p||this,o[_],_,o);return y}function Ge(o,a,p){var y={};for(var _ in o)a.call(p||this,o[_],_,o)&&(y[_]=o[_]);return y}function Ae(o){return Array.isArray(o)?o.map(Ae):typeof o=="object"&&o?ft(o,Ae):o}var Be={};function ze(o){Be[o]||(typeof console<"u"&&console.warn(o),Be[o]=!0)}function st(o,a,p){return(p.y-o.y)*(a.x-o.x)>(a.y-o.y)*(p.x-o.x)}function Vt(o){for(var a=0,p=0,y=o.length,_=y-1,v=void 0,P=void 0;p@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,function(y,_,v,P){var S=v||P;return a[_]=!S||S.toLowerCase(),""}),a["max-age"]){var p=parseInt(a["max-age"],10);isNaN(p)?delete a["max-age"]:a["max-age"]=p}return a}var Yr=null;function mr(o){if(Yr==null){var a=o.navigator?o.navigator.userAgent:null;Yr=!!o.safari||!(!a||!(/\b(iPad|iPhone|iPod)\b/.test(a)||a.match("Safari")&&!a.match("Chrome")))}return Yr}function Er(o){try{var a=F[o];return a.setItem("_mapbox_test_",1),a.removeItem("_mapbox_test_"),!0}catch{return!1}}var qr,Jr,_o,So,oo=F.performance&&F.performance.now?F.performance.now.bind(F.performance):Date.now.bind(Date),Wi=F.requestAnimationFrame||F.mozRequestAnimationFrame||F.webkitRequestAnimationFrame||F.msRequestAnimationFrame,bo=F.cancelAnimationFrame||F.mozCancelAnimationFrame||F.webkitCancelAnimationFrame||F.msCancelAnimationFrame,Ni={now:oo,frame:function(o){var a=Wi(o);return{cancel:function(){return bo(a)}}},getImageData:function(o,a){a===void 0&&(a=0);var p=F.document.createElement("canvas"),y=p.getContext("2d");if(!y)throw new Error("failed to create canvas 2d context");return p.width=o.width,p.height=o.height,y.drawImage(o,0,0,o.width,o.height),y.getImageData(-a,-a,o.width+2*a,o.height+2*a)},resolveURL:function(o){return qr||(qr=F.document.createElement("a")),qr.href=o,qr.href},hardwareConcurrency:F.navigator&&F.navigator.hardwareConcurrency||4,get devicePixelRatio(){return F.devicePixelRatio},get prefersReducedMotion(){return!!F.matchMedia&&(Jr==null&&(Jr=F.matchMedia("(prefers-reduced-motion: reduce)")),Jr.matches)}},$e={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?this.API_URL.indexOf("https://api.mapbox.cn")===0?"https://events.mapbox.cn/events/v2":this.API_URL.indexOf("https://api.mapbox.com")===0?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},Yt={supported:!1,testSupport:function(o){!Sr&&So&&(Ft?xr(o):_o=o)}},Sr=!1,Ft=!1;function xr(o){var a=o.createTexture();o.bindTexture(o.TEXTURE_2D,a);try{if(o.texImage2D(o.TEXTURE_2D,0,o.RGBA,o.RGBA,o.UNSIGNED_BYTE,So),o.isContextLost())return;Yt.supported=!0}catch{}o.deleteTexture(a),Sr=!0}F.document&&((So=F.document.createElement("img")).onload=function(){_o&&xr(_o),_o=null,Ft=!0},So.onerror=function(){Sr=!0,_o=null},So.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");var io="01",go=function(o,a){this._transformRequestFn=o,this._customAccessToken=a,this._createSkuToken()};function to(o){return o.indexOf("mapbox:")===0}go.prototype._createSkuToken=function(){var o=function(){for(var a="",p=0;p<10;p++)a+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",io,a].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=o.token,this._skuTokenExpiresAt=o.tokenExpiresAt},go.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},go.prototype.transformRequest=function(o,a){return this._transformRequestFn&&this._transformRequestFn(o,a)||{url:o}},go.prototype.normalizeStyleURL=function(o,a){if(!to(o))return o;var p=Qo(o);return p.path="/styles/v1"+p.path,this._makeAPIURL(p,this._customAccessToken||a)},go.prototype.normalizeGlyphsURL=function(o,a){if(!to(o))return o;var p=Qo(o);return p.path="/fonts/v1"+p.path,this._makeAPIURL(p,this._customAccessToken||a)},go.prototype.normalizeSourceURL=function(o,a){if(!to(o))return o;var p=Qo(o);return p.path="/v4/"+p.authority+".json",p.params.push("secure"),this._makeAPIURL(p,this._customAccessToken||a)},go.prototype.normalizeSpriteURL=function(o,a,p,y){var _=Qo(o);return to(o)?(_.path="/styles/v1"+_.path+"/sprite"+a+p,this._makeAPIURL(_,this._customAccessToken||y)):(_.path+=""+a+p,ti(_))},go.prototype.normalizeTileURL=function(o,a){if(this._isSkuTokenExpired()&&this._createSkuToken(),o&&!to(o))return o;var p=Qo(o);p.path=p.path.replace(/(\.(png|jpg)\d*)(?=$)/,(Ni.devicePixelRatio>=2||a===512?"@2x":"")+(Yt.supported?".webp":"$1")),p.path=p.path.replace(/^.+\/v4\//,"/"),p.path="/v4"+p.path;var y=this._customAccessToken||function(_){for(var v=0,P=_;v=0&&o.params.splice(_,1)}if(y.path!=="/"&&(o.path=""+y.path+o.path),!$e.REQUIRE_ACCESS_TOKEN)return ti(o);if(!(a=a||$e.ACCESS_TOKEN))throw new Error("An API access token is required to use Mapbox GL. "+p);if(a[0]==="s")throw new Error("Use a public access token (pk.*) with Mapbox GL, not a secret access token (sk.*). "+p);return o.params=o.params.filter(function(v){return v.indexOf("access_token")===-1}),o.params.push("access_token="+a),ti(o)};var Kr=/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/|\?|$)/i;function Ao(o){return Kr.test(o)}var $i=/^(\w+):\/\/([^/?]*)(\/[^?]+)?\??(.+)?/;function Qo(o){var a=o.match($i);if(!a)throw new Error("Unable to parse URL object");return{protocol:a[1],authority:a[2],path:a[3]||"/",params:a[4]?a[4].split("&"):[]}}function ti(o){var a=o.params.length?"?"+o.params.join("&"):"";return o.protocol+"://"+o.authority+o.path+a}function Pn(o){if(!o)return null;var a=o.split(".");if(!a||a.length!==3)return null;try{return JSON.parse(decodeURIComponent(F.atob(a[1]).split("").map(function(p){return"%"+("00"+p.charCodeAt(0).toString(16)).slice(-2)}).join("")))}catch{return null}}var se=function(o){this.type=o,this.anonId=null,this.eventData={},this.queue=[],this.pendingRequest=null};se.prototype.getStorageKey=function(o){var a,p=Pn($e.ACCESS_TOKEN);return a=p&&p.u?F.btoa(encodeURIComponent(p.u).replace(/%([0-9A-F]{2})/g,function(y,_){return String.fromCharCode(+("0x"+_))})):$e.ACCESS_TOKEN||"",o?"mapbox.eventData."+o+":"+a:"mapbox.eventData:"+a},se.prototype.fetchEventData=function(){var o=Er("localStorage"),a=this.getStorageKey(),p=this.getStorageKey("uuid");if(o)try{var y=F.localStorage.getItem(a);y&&(this.eventData=JSON.parse(y));var _=F.localStorage.getItem(p);_&&(this.anonId=_)}catch{ze("Unable to read from LocalStorage")}},se.prototype.saveEventData=function(){var o=Er("localStorage"),a=this.getStorageKey(),p=this.getStorageKey("uuid");if(o)try{F.localStorage.setItem(p,this.anonId),Object.keys(this.eventData).length>=1&&F.localStorage.setItem(a,JSON.stringify(this.eventData))}catch{ze("Unable to write to LocalStorage")}},se.prototype.processRequests=function(o){},se.prototype.postEvent=function(o,a,p,y){var _=this;if($e.EVENTS_URL){var v=Qo($e.EVENTS_URL);v.params.push("access_token="+(y||$e.ACCESS_TOKEN||""));var P={event:this.type,created:new Date(o).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:"1.13.3",skuId:io,userId:this.anonId},S=a?Q(P,a):P,C={url:ti(v),headers:{"Content-Type":"text/plain"},body:JSON.stringify([S])};this.pendingRequest=Go(C,function(M){_.pendingRequest=null,p(M),_.saveEventData(),_.processRequests(y)})}},se.prototype.queueRequest=function(o,a){this.queue.push(o),this.processRequests(a)};var bn,ja,An=function(o){function a(){o.call(this,"map.load"),this.success={},this.skuToken=""}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype.postMapLoadEvent=function(p,y,_,v){this.skuToken=_;var P=!(!v&&!$e.ACCESS_TOKEN),S=Array.isArray(p)&&p.some(function(C){return to(C)||Ao(C)});$e.EVENTS_URL&&P&&S&&this.queueRequest({id:y,timestamp:Date.now()},v)},a.prototype.processRequests=function(p){var y=this;if(!this.pendingRequest&&this.queue.length!==0){var _=this.queue.shift(),v=_.id,P=_.timestamp;v&&this.success[v]||(this.anonId||this.fetchEventData(),Oe(this.anonId)||(this.anonId=ue()),this.postEvent(P,{skuToken:this.skuToken},function(S){S||v&&(y.success[v]=!0)},p))}},a}(se),ss=new(function(o){function a(p){o.call(this,"appUserTurnstile"),this._customAccessToken=p}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype.postTurnstileEvent=function(p,y){$e.EVENTS_URL&&$e.ACCESS_TOKEN&&Array.isArray(p)&&p.some(function(_){return to(_)||Ao(_)})&&this.queueRequest(Date.now(),y)},a.prototype.processRequests=function(p){var y=this;if(!this.pendingRequest&&this.queue.length!==0){this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();var _=Pn($e.ACCESS_TOKEN),v=_?_.u:$e.ACCESS_TOKEN,P=v!==this.eventData.tokenU;Oe(this.anonId)||(this.anonId=ue(),P=!0);var S=this.queue.shift();if(this.eventData.lastSuccess){var C=new Date(this.eventData.lastSuccess),M=new Date(S),O=(S-this.eventData.lastSuccess)/864e5;P=P||O>=1||O<-1||C.getDate()!==M.getDate()}else P=!0;if(!P)return this.processRequests();this.postEvent(S,{"enabled.telemetry":!1},function(U){U||(y.eventData.lastSuccess=S,y.eventData.tokenU=v)},p)}},a}(se)),si=ss.postTurnstileEvent.bind(ss),Fn=new An,pa=Fn.postMapLoadEvent.bind(Fn),Tn=500,vs=50;function zi(){F.caches&&!bn&&(bn=F.caches.open("mapbox-tiles"))}function us(o){var a=o.indexOf("?");return a<0?o:o.slice(0,a)}var xa,Gs=1/0;function Yu(){return xa==null&&(xa=F.OffscreenCanvas&&new F.OffscreenCanvas(1,1).getContext("2d")&&typeof F.createImageBitmap=="function"),xa}var js={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};typeof Object.freeze=="function"&&Object.freeze(js);var Ep=function(o){function a(p,y,_){y===401&&Ao(_)&&(p+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes"),o.call(this,p),this.status=y,this.url=_,this.name=this.constructor.name,this.message=p}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype.toString=function(){return this.name+": "+this.message+" ("+this.status+"): "+this.url},a}(Error),Ws=ir()?function(){return self.worker&&self.worker.referrer}:function(){return(F.location.protocol==="blob:"?F.parent:F).location.href},Ma,Na,Es=function(o,a){if(!(/^file:/.test(p=o.url)||/^file:/.test(Ws())&&!/^\w+:/.test(p))){if(F.fetch&&F.Request&&F.AbortController&&F.Request.prototype.hasOwnProperty("signal"))return function(y,_){var v,P=new F.AbortController,S=new F.Request(y.url,{method:y.method||"GET",body:y.body,credentials:y.credentials,headers:y.headers,referrer:Ws(),signal:P.signal}),C=!1,M=!1,O=(v=S.url).indexOf("sku=")>0&&Ao(v);y.type==="json"&&S.headers.set("Accept","application/json");var U=function(Y,le,he){if(!M){if(Y&&Y.message!=="SecurityError"&&ze(Y),le&&he)return j(le);var Re=Date.now();F.fetch(S).then(function(be){if(be.ok){var Ve=O?be.clone():null;return j(be,Ve,Re)}return _(new Ep(be.statusText,be.status,y.url))}).catch(function(be){be.code!==20&&_(new Error(be.message))})}},j=function(Y,le,he){(y.type==="arrayBuffer"?Y.arrayBuffer():y.type==="json"?Y.json():Y.text()).then(function(Re){M||(le&&he&&function(be,Ve,Ze){if(zi(),bn){var it={status:Ve.status,statusText:Ve.statusText,headers:new F.Headers};Ve.headers.forEach(function(Et,kt){return it.headers.set(kt,Et)});var ut=Fr(Ve.headers.get("Cache-Control")||"");ut["no-store"]||(ut["max-age"]&&it.headers.set("Expires",new Date(Ze+1e3*ut["max-age"]).toUTCString()),new Date(it.headers.get("Expires")).getTime()-Ze<42e4||function(Et,kt){if(ja===void 0)try{new Response(new ReadableStream),ja=!0}catch{ja=!1}ja?kt(Et.body):Et.blob().then(kt)}(Ve,function(Et){var kt=new F.Response(Et,it);zi(),bn&&bn.then(function(qt){return qt.put(us(be.url),kt)}).catch(function(qt){return ze(qt.message)})}))}}(S,le,he),C=!0,_(null,Re,Y.headers.get("Cache-Control"),Y.headers.get("Expires")))}).catch(function(Re){M||_(new Error(Re.message))})};return O?function(Y,le){if(zi(),!bn)return le(null);var he=us(Y.url);bn.then(function(Re){Re.match(he).then(function(be){var Ve=function(Ze){if(!Ze)return!1;var it=new Date(Ze.headers.get("Expires")||0),ut=Fr(Ze.headers.get("Cache-Control")||"");return it>Date.now()&&!ut["no-cache"]}(be);Re.delete(he),Ve&&Re.put(he,be.clone()),le(null,be,Ve)}).catch(le)}).catch(le)}(S,U):U(null,null),{cancel:function(){M=!0,C||P.abort()}}}(o,a);if(ir()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",o,a,void 0,!0)}var p;return function(y,_){var v=new F.XMLHttpRequest;for(var P in v.open(y.method||"GET",y.url,!0),y.type==="arrayBuffer"&&(v.responseType="arraybuffer"),y.headers)v.setRequestHeader(P,y.headers[P]);return y.type==="json"&&(v.responseType="text",v.setRequestHeader("Accept","application/json")),v.withCredentials=y.credentials==="include",v.onerror=function(){_(new Error(v.statusText))},v.onload=function(){if((v.status>=200&&v.status<300||v.status===0)&&v.response!==null){var S=v.response;if(y.type==="json")try{S=JSON.parse(v.response)}catch(C){return _(C)}_(null,S,v.getResponseHeader("Cache-Control"),v.getResponseHeader("Expires"))}else _(new Ep(v.statusText,v.status,y.url))},v.send(y.body),{cancel:function(){return v.abort()}}}(o,a)},$u=function(o,a){return Es(Q(o,{type:"arrayBuffer"}),a)},Go=function(o,a){return Es(Q(o,{method:"POST"}),a)},k="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";Ma=[],Na=0;var G=function(o,a){if(Yt.supported&&(o.headers||(o.headers={}),o.headers.accept="image/webp,*/*"),Na>=$e.MAX_PARALLEL_IMAGE_REQUESTS){var p={requestParameters:o,callback:a,cancelled:!1,cancel:function(){this.cancelled=!0}};return Ma.push(p),p}Na++;var y=!1,_=function(){if(!y)for(y=!0,Na--;Ma.length&&Na<$e.MAX_PARALLEL_IMAGE_REQUESTS;){var P=Ma.shift();P.cancelled||(P.cancel=G(P.requestParameters,P.callback).cancel)}},v=$u(o,function(P,S,C,M){_(),P?a(P):S&&(Yu()?function(O,U){var j=new F.Blob([new Uint8Array(O)],{type:"image/png"});F.createImageBitmap(j).then(function(Y){U(null,Y)}).catch(function(Y){U(new Error("Could not load image because of "+Y.message+". Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))})}(S,a):function(O,U,j,Y){var le=new F.Image,he=F.URL;le.onload=function(){U(null,le),he.revokeObjectURL(le.src),le.onload=null,F.requestAnimationFrame(function(){le.src=k})},le.onerror=function(){return U(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))};var Re=new F.Blob([new Uint8Array(O)],{type:"image/png"});le.cacheControl=j,le.expires=Y,le.src=O.byteLength?he.createObjectURL(Re):k}(S,a,C,M))});return{cancel:function(){v.cancel(),_()}}};function W(o,a,p){p[o]&&p[o].indexOf(a)!==-1||(p[o]=p[o]||[],p[o].push(a))}function oe(o,a,p){if(p&&p[o]){var y=p[o].indexOf(a);y!==-1&&p[o].splice(y,1)}}var ye=function(o,a){a===void 0&&(a={}),Q(this,a),this.type=o},Ie=function(o){function a(p,y){y===void 0&&(y={}),o.call(this,"error",Q({error:p},y))}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a}(ye),Le=function(){};Le.prototype.on=function(o,a){return this._listeners=this._listeners||{},W(o,a,this._listeners),this},Le.prototype.off=function(o,a){return oe(o,a,this._listeners),oe(o,a,this._oneTimeListeners),this},Le.prototype.once=function(o,a){return this._oneTimeListeners=this._oneTimeListeners||{},W(o,a,this._oneTimeListeners),this},Le.prototype.fire=function(o,a){typeof o=="string"&&(o=new ye(o,a||{}));var p=o.type;if(this.listens(p)){o.target=this;for(var y=0,_=this._listeners&&this._listeners[p]?this._listeners[p].slice():[];y<_.length;y+=1)_[y].call(this,o);for(var v=0,P=this._oneTimeListeners&&this._oneTimeListeners[p]?this._oneTimeListeners[p].slice():[];v0||this._oneTimeListeners&&this._oneTimeListeners[o]&&this._oneTimeListeners[o].length>0||this._eventedParent&&this._eventedParent.listens(o)},Le.prototype.setEventedParent=function(o,a){return this._eventedParent=o,this._eventedParentData=a,this};var q={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},filter:{type:"*"},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterMinPoints:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{},within:{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}}},ge=function(o,a,p,y){this.message=(o?o+": ":"")+p,y&&(this.identifier=y),a!=null&&a.__line__&&(this.line=a.__line__)};function We(o){var a=o.value;return a?[new ge(o.key,a,"constants have been deprecated as of v8")]:[]}function ht(o){for(var a=[],p=arguments.length-1;p-- >0;)a[p]=arguments[p+1];for(var y=0,_=a;y<_.length;y+=1){var v=_[y];for(var P in v)o[P]=v[P]}return o}function Nt(o){return o instanceof Number||o instanceof String||o instanceof Boolean?o.valueOf():o}function ct(o){if(Array.isArray(o))return o.map(ct);if(o instanceof Object&&!(o instanceof Number||o instanceof String||o instanceof Boolean)){var a={};for(var p in o)a[p]=ct(o[p]);return a}return Nt(o)}var wt=function(o){function a(p,y){o.call(this,y),this.message=y,this.key=p}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a}(Error),_r=function(o,a){a===void 0&&(a=[]),this.parent=o,this.bindings={};for(var p=0,y=a;p":o.itemType.kind==="value"?"array":"array<"+a+">"}return o.kind}var Vi=[yr,dt,or,Wt,Zt,Jo,no,Mo(er),vo];function wo(o,a){if(a.kind==="error")return null;if(o.kind==="array"){if(a.kind==="array"&&(a.N===0&&a.itemType.kind==="value"||!wo(o.itemType,a.itemType))&&(typeof o.N!="number"||o.N===a.N))return null}else{if(o.kind===a.kind)return null;if(o.kind==="value"){for(var p=0,y=Vi;p255?255:S}function _(S){return y(S[S.length-1]==="%"?parseFloat(S)/100*255:parseInt(S))}function v(S){return(C=S[S.length-1]==="%"?parseFloat(S)/100:parseFloat(S))<0?0:C>1?1:C;var C}function P(S,C,M){return M<0?M+=1:M>1&&(M-=1),6*M<1?S+(C-S)*M*6:2*M<1?C:3*M<2?S+(C-S)*(2/3-M)*6:S}try{a.parseCSSColor=function(S){var C,M=S.replace(/ /g,"").toLowerCase();if(M in p)return p[M].slice();if(M[0]==="#")return M.length===4?(C=parseInt(M.substr(1),16))>=0&&C<=4095?[(3840&C)>>4|(3840&C)>>8,240&C|(240&C)>>4,15&C|(15&C)<<4,1]:null:M.length===7&&(C=parseInt(M.substr(1),16))>=0&&C<=16777215?[(16711680&C)>>16,(65280&C)>>8,255&C,1]:null;var O=M.indexOf("("),U=M.indexOf(")");if(O!==-1&&U+1===M.length){var j=M.substr(0,O),Y=M.substr(O+1,U-(O+1)).split(","),le=1;switch(j){case"rgba":if(Y.length!==4)return null;le=v(Y.pop());case"rgb":return Y.length!==3?null:[_(Y[0]),_(Y[1]),_(Y[2]),le];case"hsla":if(Y.length!==4)return null;le=v(Y.pop());case"hsl":if(Y.length!==3)return null;var he=(parseFloat(Y[0])%360+360)%360/360,Re=v(Y[1]),be=v(Y[2]),Ve=be<=.5?be*(Re+1):be+Re-be*Re,Ze=2*be-Ve;return[y(255*P(Ze,Ve,he+1/3)),y(255*P(Ze,Ve,he)),y(255*P(Ze,Ve,he-1/3)),le];default:return null}}return null}}catch{}}).parseCSSColor,Eo=function(o,a,p,y){y===void 0&&(y=1),this.r=o,this.g=a,this.b=p,this.a=y};Eo.parse=function(o){if(o){if(o instanceof Eo)return o;if(typeof o=="string"){var a=so(o);if(a)return new Eo(a[0]/255*a[3],a[1]/255*a[3],a[2]/255*a[3],a[3])}}},Eo.prototype.toString=function(){var o=this.toArray(),a=o[1],p=o[2],y=o[3];return"rgba("+Math.round(o[0])+","+Math.round(a)+","+Math.round(p)+","+y+")"},Eo.prototype.toArray=function(){var o=this.a;return o===0?[0,0,0,0]:[255*this.r/o,255*this.g/o,255*this.b/o,o]},Eo.black=new Eo(0,0,0,1),Eo.white=new Eo(1,1,1,1),Eo.transparent=new Eo(0,0,0,0),Eo.red=new Eo(1,0,0,1);var Ln=function(o,a,p){this.sensitivity=o?a?"variant":"case":a?"accent":"base",this.locale=p,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};Ln.prototype.compare=function(o,a){return this.collator.compare(o,a)},Ln.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var hu=function(o,a,p,y,_){this.text=o,this.image=a,this.scale=p,this.fontStack=y,this.textColor=_},Di=function(o){this.sections=o};Di.fromString=function(o){return new Di([new hu(o,null,null,null,null)])},Di.prototype.isEmpty=function(){return this.sections.length===0||!this.sections.some(function(o){return o.text.length!==0||o.image&&o.image.name.length!==0})},Di.factory=function(o){return o instanceof Di?o:Di.fromString(o)},Di.prototype.toString=function(){return this.sections.length===0?"":this.sections.map(function(o){return o.text}).join("")},Di.prototype.serialize=function(){for(var o=["format"],a=0,p=this.sections;a=0&&o<=255&&typeof a=="number"&&a>=0&&a<=255&&typeof p=="number"&&p>=0&&p<=255?y===void 0||typeof y=="number"&&y>=0&&y<=1?null:"Invalid rgba value ["+[o,a,p,y].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+(typeof y=="number"?[o,a,p,y]:[o,a,p]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function Wa(o){if(o===null||typeof o=="string"||typeof o=="boolean"||typeof o=="number"||o instanceof Eo||o instanceof Ln||o instanceof Di||o instanceof gi)return!0;if(Array.isArray(o)){for(var a=0,p=o;a2){var S=o[1];if(typeof S!="string"||!(S in Hi)||S==="object")return a.error('The item type argument of "array" must be one of string, number, boolean',1);v=Hi[S],y++}else v=er;if(o.length>3){if(o[2]!==null&&(typeof o[2]!="number"||o[2]<0||o[2]!==Math.floor(o[2])))return a.error('The length argument to "array" must be a positive integer literal',2);P=o[2],y++}p=Mo(v,P)}else p=Hi[_];for(var C=[];y1)&&a.push(y)}}return a.concat(this.args.map(function(_){return _.serialize()}))};var Jn=function(o){this.type=Jo,this.sections=o};Jn.parse=function(o,a){if(o.length<2)return a.error("Expected at least one argument.");var p=o[1];if(!Array.isArray(p)&&typeof p=="object")return a.error("First argument must be an image or text section.");for(var y=[],_=!1,v=1;v<=o.length-1;++v){var P=o[v];if(_&&typeof P=="object"&&!Array.isArray(P)){_=!1;var S=null;if(P["font-scale"]&&!(S=a.parse(P["font-scale"],1,dt)))return null;var C=null;if(P["text-font"]&&!(C=a.parse(P["text-font"],1,Mo(or))))return null;var M=null;if(P["text-color"]&&!(M=a.parse(P["text-color"],1,Zt)))return null;var O=y[y.length-1];O.scale=S,O.font=C,O.textColor=M}else{var U=a.parse(o[v],1,er);if(!U)return null;var j=U.type.kind;if(j!=="string"&&j!=="value"&&j!=="null"&&j!=="resolvedImage")return a.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");_=!0,y.push({content:U,scale:null,font:null,textColor:null})}}return new Jn(y)},Jn.prototype.evaluate=function(o){return new Di(this.sections.map(function(a){var p=a.content.evaluate(o);return hi(p)===vo?new hu("",p,null,null,null):new hu(Xs(p),null,a.scale?a.scale.evaluate(o):null,a.font?a.font.evaluate(o).join(","):null,a.textColor?a.textColor.evaluate(o):null)}))},Jn.prototype.eachChild=function(o){for(var a=0,p=this.sections;a-1),p},jn.prototype.eachChild=function(o){o(this.input)},jn.prototype.outputDefined=function(){return!1},jn.prototype.serialize=function(){return["image",this.input.serialize()]};var Kp={"to-boolean":Wt,"to-color":Zt,"to-number":dt,"to-string":or},Pa=function(o,a){this.type=o,this.args=a};Pa.parse=function(o,a){if(o.length<2)return a.error("Expected at least one argument.");var p=o[0];if((p==="to-boolean"||p==="to-string")&&o.length!==2)return a.error("Expected one argument.");for(var y=Kp[p],_=[],v=1;v4?"Invalid rbga value "+JSON.stringify(a)+": expected an array containing either three or four numeric values.":fu(a[0],a[1],a[2],a[3])))return new Eo(a[0]/255,a[1]/255,a[2]/255,a[3])}throw new fi(p||"Could not parse color from value '"+(typeof a=="string"?a:String(JSON.stringify(a)))+"'")}if(this.type.kind==="number"){for(var P=null,S=0,C=this.args;S=a[2]||o[1]<=a[1]||o[3]>=a[3])}function wr(o,a){var p=(180+o[0])/360,y=(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+o[1]*Math.PI/360)))/360,_=Math.pow(2,a.z);return[Math.round(p*_*8192),Math.round(y*_*8192)]}function Oo(o,a,p){return a[1]>o[1]!=p[1]>o[1]&&o[0]<(p[0]-a[0])*(o[1]-a[1])/(p[1]-a[1])+a[0]}function Xi(o,a){for(var p,y,_,v,P,S,C,M=!1,O=0,U=a.length;O0&&S<0||P<0&&S>0}function Xa(o,a,p){for(var y=0,_=p;y<_.length;y+=1)for(var v=_[y],P=0;Pp[2]){var _=.5*y,v=o[0]-p[0]>_?-y:p[0]-o[0]>_?y:0;v===0&&(v=o[0]-p[2]>_?-y:p[2]-o[0]>_?y:0),o[0]+=v}rt(a,o)}function w1(o,a,p,y){for(var _=8192*Math.pow(2,y.z),v=[8192*y.x,8192*y.y],P=[],S=0,C=o;S=0)return!1;var p=!0;return o.eachChild(function(y){p&&!xs(y,a)&&(p=!1)}),p}Bn.parse=function(o,a){if(o.length!==2)return a.error("'within' expression requires exactly one argument, but found "+(o.length-1)+" instead.");if(Wa(o[1])){var p=o[1];if(p.type==="FeatureCollection")for(var y=0;ya))throw new fi("Input is not a number.");v=P-1}return 0}Zs.prototype.parse=function(o,a,p,y,_){return _===void 0&&(_={}),a?this.concat(a,p,y)._parse(o,_):this._parse(o,_)},Zs.prototype._parse=function(o,a){function p(M,O,U){return U==="assert"?new ui(O,[M]):U==="coerce"?new Pa(O,[M]):M}if(o!==null&&typeof o!="string"&&typeof o!="boolean"&&typeof o!="number"||(o=["literal",o]),Array.isArray(o)){if(o.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var y=o[0];if(typeof y!="string")return this.error("Expression name must be a string, but found "+typeof y+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var _=this.registry[y];if(_){var v=_.parse(o,this);if(!v)return null;if(this.expectedType){var P=this.expectedType,S=v.type;if(P.kind!=="string"&&P.kind!=="number"&&P.kind!=="boolean"&&P.kind!=="object"&&P.kind!=="array"||S.kind!=="value")if(P.kind!=="color"&&P.kind!=="formatted"&&P.kind!=="resolvedImage"||S.kind!=="value"&&S.kind!=="string"){if(this.checkSubtype(P,S))return null}else v=p(v,P,a.typeAnnotation||"coerce");else v=p(v,P,a.typeAnnotation||"assert")}if(!(v instanceof cn)&&v.type.kind!=="resolvedImage"&&function M(O){if(O instanceof Ps)return M(O.boundExpression);if(O instanceof re&&O.name==="error"||O instanceof we||O instanceof Bn)return!1;var U=O instanceof Pa||O instanceof ui,j=!0;return O.eachChild(function(Y){j=U?j&&M(Y):j&&Y instanceof cn}),!!j&&mu(O)&&xs(O,["zoom","heatmap-density","line-progress","accumulated","is-supported-script"])}(v)){var C=new X;try{v=new cn(v.type,v.evaluate(C))}catch(M){return this.error(M.message),null}}return v}return this.error('Unknown expression "'+y+'". If you wanted a literal array, use ["literal", [...]].',0)}return this.error(o===void 0?"'undefined' value invalid. Use null instead.":typeof o=="object"?'Bare objects invalid. Use ["literal", {...}] instead.':"Expected an array, but found "+typeof o+" instead.")},Zs.prototype.concat=function(o,a,p){var y=typeof o=="number"?this.path.concat(o):this.path,_=p?this.scope.concat(p):this.scope;return new Zs(this.registry,y,a||null,_,this.errors)},Zs.prototype.error=function(o){for(var a=[],p=arguments.length-1;p-- >0;)a[p]=arguments[p+1];var y=""+this.key+a.map(function(_){return"["+_+"]"}).join("");this.errors.push(new wt(y,o))},Zs.prototype.checkSubtype=function(o,a){var p=wo(o,a);return p&&this.error(p),p};var ba=function(o,a,p){this.type=o,this.input=a,this.labels=[],this.outputs=[];for(var y=0,_=p;y<_.length;y+=1){var v=_[y],P=v[1];this.labels.push(v[0]),this.outputs.push(P)}};function Oi(o,a,p){return o*(1-p)+a*p}ba.parse=function(o,a){if(o.length-1<4)return a.error("Expected at least 4 arguments, but found only "+(o.length-1)+".");if((o.length-1)%2!=0)return a.error("Expected an even number of arguments.");var p=a.parse(o[1],1,dt);if(!p)return null;var y=[],_=null;a.expectedType&&a.expectedType.kind!=="value"&&(_=a.expectedType);for(var v=1;v=P)return a.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',C);var O=a.parse(S,M,_);if(!O)return null;_=_||O.type,y.push([P,O])}return new ba(_,p,y)},ba.prototype.evaluate=function(o){var a=this.labels,p=this.outputs;if(a.length===1)return p[0].evaluate(o);var y=this.input.evaluate(o);if(y<=a[0])return p[0].evaluate(o);var _=a.length;return y>=a[_-1]?p[_-1].evaluate(o):p[Jp(a,y)].evaluate(o)},ba.prototype.eachChild=function(o){o(this.input);for(var a=0,p=this.outputs;a0&&o.push(this.labels[a]),o.push(this.outputs[a].serialize());return o};var gu=Object.freeze({__proto__:null,number:Oi,color:function(o,a,p){return new Eo(Oi(o.r,a.r,p),Oi(o.g,a.g,p),Oi(o.b,a.b,p),Oi(o.a,a.a,p))},array:function(o,a,p){return o.map(function(y,_){return Oi(y,a[_],p)})}}),Ys=6/29*3*(6/29),Oc=Math.PI/180,R1=180/Math.PI;function Lc(o){return o>.008856451679035631?Math.pow(o,1/3):o/Ys+4/29}function Il(o){return o>6/29?o*o*o:Ys*(o-4/29)}function Ml(o){return 255*(o<=.0031308?12.92*o:1.055*Math.pow(o,1/2.4)-.055)}function Nl(o){return(o/=255)<=.04045?o/12.92:Math.pow((o+.055)/1.055,2.4)}function C1(o){var a=Nl(o.r),p=Nl(o.g),y=Nl(o.b),_=Lc((.4124564*a+.3575761*p+.1804375*y)/.95047),v=Lc((.2126729*a+.7151522*p+.072175*y)/1);return{l:116*v-16,a:500*(_-v),b:200*(v-Lc((.0193339*a+.119192*p+.9503041*y)/1.08883)),alpha:o.a}}function I1(o){var a=(o.l+16)/116,p=isNaN(o.a)?a:a+o.a/500,y=isNaN(o.b)?a:a-o.b/200;return a=1*Il(a),p=.95047*Il(p),y=1.08883*Il(y),new Eo(Ml(3.2404542*p-1.5371385*a-.4985314*y),Ml(-.969266*p+1.8760108*a+.041556*y),Ml(.0556434*p-.2040259*a+1.0572252*y),o.alpha)}function $0(o,a,p){var y=a-o;return o+p*(y>180||y<-180?y-360*Math.round(y/360):y)}var ec={forward:C1,reverse:I1,interpolate:function(o,a,p){return{l:Oi(o.l,a.l,p),a:Oi(o.a,a.a,p),b:Oi(o.b,a.b,p),alpha:Oi(o.alpha,a.alpha,p)}}},bs={forward:function(o){var a=C1(o),p=a.l,y=a.a,_=a.b,v=Math.atan2(_,y)*R1;return{h:v<0?v+360:v,c:Math.sqrt(y*y+_*_),l:p,alpha:o.a}},reverse:function(o){var a=o.h*Oc,p=o.c;return I1({l:o.l,a:Math.cos(a)*p,b:Math.sin(a)*p,alpha:o.alpha})},interpolate:function(o,a,p){return{h:$0(o.h,a.h,p),c:Oi(o.c,a.c,p),l:Oi(o.l,a.l,p),alpha:Oi(o.alpha,a.alpha,p)}}},M1=Object.freeze({__proto__:null,lab:ec,hcl:bs}),Un=function(o,a,p,y,_){this.type=o,this.operator=a,this.interpolation=p,this.input=y,this.labels=[],this.outputs=[];for(var v=0,P=_;v1}))return a.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);y={name:"cubic-bezier",controlPoints:S}}if(o.length-1<4)return a.error("Expected at least 4 arguments, but found only "+(o.length-1)+".");if((o.length-1)%2!=0)return a.error("Expected an even number of arguments.");if(!(_=a.parse(_,2,dt)))return null;var C=[],M=null;p==="interpolate-hcl"||p==="interpolate-lab"?M=Zt:a.expectedType&&a.expectedType.kind!=="value"&&(M=a.expectedType);for(var O=0;O=U)return a.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',Y);var he=a.parse(j,le,M);if(!he)return null;M=M||he.type,C.push([U,he])}return M.kind==="number"||M.kind==="color"||M.kind==="array"&&M.itemType.kind==="number"&&typeof M.N=="number"?new Un(M,p,y,_,C):a.error("Type "+ao(M)+" is not interpolatable.")},Un.prototype.evaluate=function(o){var a=this.labels,p=this.outputs;if(a.length===1)return p[0].evaluate(o);var y=this.input.evaluate(o);if(y<=a[0])return p[0].evaluate(o);var _=a.length;if(y>=a[_-1])return p[_-1].evaluate(o);var v=Jp(a,y),P=Un.interpolationFactor(this.interpolation,y,a[v],a[v+1]),S=p[v].evaluate(o),C=p[v+1].evaluate(o);return this.operator==="interpolate"?gu[this.type.kind.toLowerCase()](S,C,P):this.operator==="interpolate-hcl"?bs.reverse(bs.interpolate(bs.forward(S),bs.forward(C),P)):ec.reverse(ec.interpolate(ec.forward(S),ec.forward(C),P))},Un.prototype.eachChild=function(o){o(this.input);for(var a=0,p=this.outputs;a=p.length)throw new fi("Array index out of bounds: "+a+" > "+(p.length-1)+".");if(a!==Math.floor(a))throw new fi("Array index must be an integer, but found "+a+" instead.");return p[a]},Eu.prototype.eachChild=function(o){o(this.index),o(this.input)},Eu.prototype.outputDefined=function(){return!1},Eu.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var Za=function(o,a){this.type=Wt,this.needle=o,this.haystack=a};Za.parse=function(o,a){if(o.length!==3)return a.error("Expected 2 arguments, but found "+(o.length-1)+" instead.");var p=a.parse(o[1],1,er),y=a.parse(o[2],2,er);return p&&y?ei(p.type,[Wt,or,dt,yr,er])?new Za(p,y):a.error("Expected first argument to be of type boolean, string, number or null, but found "+ao(p.type)+" instead"):null},Za.prototype.evaluate=function(o){var a=this.needle.evaluate(o),p=this.haystack.evaluate(o);if(!p)return!1;if(!ko(a,["boolean","string","number","null"]))throw new fi("Expected first argument to be of type boolean, string, number or null, but found "+ao(hi(a))+" instead.");if(!ko(p,["string","array"]))throw new fi("Expected second argument to be of type array or string, but found "+ao(hi(p))+" instead.");return p.indexOf(a)>=0},Za.prototype.eachChild=function(o){o(this.needle),o(this.haystack)},Za.prototype.outputDefined=function(){return!0},Za.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var $s=function(o,a,p){this.type=dt,this.needle=o,this.haystack=a,this.fromIndex=p};$s.parse=function(o,a){if(o.length<=2||o.length>=5)return a.error("Expected 3 or 4 arguments, but found "+(o.length-1)+" instead.");var p=a.parse(o[1],1,er),y=a.parse(o[2],2,er);if(!p||!y)return null;if(!ei(p.type,[Wt,or,dt,yr,er]))return a.error("Expected first argument to be of type boolean, string, number or null, but found "+ao(p.type)+" instead");if(o.length===4){var _=a.parse(o[3],3,dt);return _?new $s(p,y,_):null}return new $s(p,y)},$s.prototype.evaluate=function(o){var a=this.needle.evaluate(o),p=this.haystack.evaluate(o);if(!ko(a,["boolean","string","number","null"]))throw new fi("Expected first argument to be of type boolean, string, number or null, but found "+ao(hi(a))+" instead.");if(!ko(p,["string","array"]))throw new fi("Expected second argument to be of type array or string, but found "+ao(hi(p))+" instead.");if(this.fromIndex){var y=this.fromIndex.evaluate(o);return p.indexOf(a,y)}return p.indexOf(a)},$s.prototype.eachChild=function(o){o(this.needle),o(this.haystack),this.fromIndex&&o(this.fromIndex)},$s.prototype.outputDefined=function(){return!1},$s.prototype.serialize=function(){if(this.fromIndex!=null&&this.fromIndex!==void 0){var o=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),o]}return["index-of",this.needle.serialize(),this.haystack.serialize()]};var Oa=function(o,a,p,y,_,v){this.inputType=o,this.type=a,this.input=p,this.cases=y,this.outputs=_,this.otherwise=v};Oa.parse=function(o,a){if(o.length<5)return a.error("Expected at least 4 arguments, but found only "+(o.length-1)+".");if(o.length%2!=1)return a.error("Expected an even number of arguments.");var p,y;a.expectedType&&a.expectedType.kind!=="value"&&(y=a.expectedType);for(var _={},v=[],P=2;PNumber.MAX_SAFE_INTEGER)return M.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if(typeof j=="number"&&Math.floor(j)!==j)return M.error("Numeric branch labels must be integer values.");if(p){if(M.checkSubtype(p,hi(j)))return null}else p=hi(j);if(_[String(j)]!==void 0)return M.error("Branch labels must be unique.");_[String(j)]=v.length}var Y=a.parse(C,P,y);if(!Y)return null;y=y||Y.type,v.push(Y)}var le=a.parse(o[1],1,er);if(!le)return null;var he=a.parse(o[o.length-1],o.length-1,y);return he?le.type.kind!=="value"&&a.concat(1).checkSubtype(p,le.type)?null:new Oa(p,y,le,_,v,he):null},Oa.prototype.evaluate=function(o){var a=this.input.evaluate(o);return(hi(a)===this.inputType&&this.outputs[this.cases[a]]||this.otherwise).evaluate(o)},Oa.prototype.eachChild=function(o){o(this.input),this.outputs.forEach(o),o(this.otherwise)},Oa.prototype.outputDefined=function(){return this.outputs.every(function(o){return o.outputDefined()})&&this.otherwise.outputDefined()},Oa.prototype.serialize=function(){for(var o=this,a=["match",this.input.serialize()],p=[],y={},_=0,v=Object.keys(this.cases).sort();_=5)return a.error("Expected 3 or 4 arguments, but found "+(o.length-1)+" instead.");var p=a.parse(o[1],1,er),y=a.parse(o[2],2,dt);if(!p||!y)return null;if(!ei(p.type,[Mo(er),or,er]))return a.error("Expected first argument to be of type array or string, but found "+ao(p.type)+" instead");if(o.length===4){var _=a.parse(o[3],3,dt);return _?new xu(p.type,p,y,_):null}return new xu(p.type,p,y)},xu.prototype.evaluate=function(o){var a=this.input.evaluate(o),p=this.beginIndex.evaluate(o);if(!ko(a,["string","array"]))throw new fi("Expected first argument to be of type array or string, but found "+ao(hi(a))+" instead.");if(this.endIndex){var y=this.endIndex.evaluate(o);return a.slice(p,y)}return a.slice(p)},xu.prototype.eachChild=function(o){o(this.input),o(this.beginIndex),this.endIndex&&o(this.endIndex)},xu.prototype.outputDefined=function(){return!1},xu.prototype.serialize=function(){if(this.endIndex!=null&&this.endIndex!==void 0){var o=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),o]}return["slice",this.input.serialize(),this.beginIndex.serialize()]};var q0=ri("==",function(o,a,p){return a===p},D1),Bc=ri("!=",function(o,a,p){return a!==p},function(o,a,p,y){return!D1(0,a,p,y)}),Dl=ri("<",function(o,a,p){return a",function(o,a,p){return a>p},function(o,a,p,y){return y.compare(a,p)>0}),Ol=ri("<=",function(o,a,p){return a<=p},function(o,a,p,y){return y.compare(a,p)<=0}),O1=ri(">=",function(o,a,p){return a>=p},function(o,a,p,y){return y.compare(a,p)>=0}),ca=function(o,a,p,y,_){this.type=or,this.number=o,this.locale=a,this.currency=p,this.minFractionDigits=y,this.maxFractionDigits=_};ca.parse=function(o,a){if(o.length!==3)return a.error("Expected two arguments.");var p=a.parse(o[1],1,dt);if(!p)return null;var y=o[2];if(typeof y!="object"||Array.isArray(y))return a.error("NumberFormat options argument must be an object.");var _=null;if(y.locale&&!(_=a.parse(y.locale,1,or)))return null;var v=null;if(y.currency&&!(v=a.parse(y.currency,1,or)))return null;var P=null;if(y["min-fraction-digits"]&&!(P=a.parse(y["min-fraction-digits"],1,dt)))return null;var S=null;return y["max-fraction-digits"]&&!(S=a.parse(y["max-fraction-digits"],1,dt))?null:new ca(p,_,v,P,S)},ca.prototype.evaluate=function(o){return new Intl.NumberFormat(this.locale?this.locale.evaluate(o):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(o):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(o):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(o):void 0}).format(this.number.evaluate(o))},ca.prototype.eachChild=function(o){o(this.number),this.locale&&o(this.locale),this.currency&&o(this.currency),this.minFractionDigits&&o(this.minFractionDigits),this.maxFractionDigits&&o(this.maxFractionDigits)},ca.prototype.outputDefined=function(){return!1},ca.prototype.serialize=function(){var o={};return this.locale&&(o.locale=this.locale.serialize()),this.currency&&(o.currency=this.currency.serialize()),this.minFractionDigits&&(o["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(o["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),o]};var Ks=function(o){this.type=dt,this.input=o};Ks.parse=function(o,a){if(o.length!==2)return a.error("Expected 1 argument, but found "+(o.length-1)+" instead.");var p=a.parse(o[1],1);return p?p.type.kind!=="array"&&p.type.kind!=="string"&&p.type.kind!=="value"?a.error("Expected argument of type string or array, but found "+ao(p.type)+" instead."):new Ks(p):null},Ks.prototype.evaluate=function(o){var a=this.input.evaluate(o);if(typeof a=="string"||Array.isArray(a))return a.length;throw new fi("Expected value to be of type string or array, but found "+ao(hi(a))+" instead.")},Ks.prototype.eachChild=function(o){o(this.input)},Ks.prototype.outputDefined=function(){return!1},Ks.prototype.serialize=function(){var o=["length"];return this.eachChild(function(a){o.push(a.serialize())}),o};var As={"==":q0,"!=":Bc,">":Li,"<":Dl,">=":O1,"<=":Ol,array:ui,at:Eu,boolean:ui,case:qs,coalesce:vu,collator:we,format:Jn,image:jn,in:Za,"index-of":$s,interpolate:Un,"interpolate-hcl":Un,"interpolate-lab":Un,length:Ks,let:Da,literal:cn,match:Oa,number:ui,"number-format":ca,object:ui,slice:xu,step:ba,string:ui,"to-boolean":Pa,"to-color":Pa,"to-number":Pa,"to-string":Pa,var:Ps,within:Bn};function Pu(o,a){var p=a[0],y=a[1],_=a[2],v=a[3];p=p.evaluate(o),y=y.evaluate(o),_=_.evaluate(o);var P=v?v.evaluate(o):1,S=fu(p,y,_,P);if(S)throw new fi(S);return new Eo(p/255*P,y/255*P,_/255*P,P)}function Uc(o,a){return o in a}function Pp(o,a){var p=a[o];return p===void 0?null:p}function ps(o){return{type:o}}function tc(o){return{result:"success",value:o}}function bu(o){return{result:"error",value:o}}function Qs(o){return o["property-type"]==="data-driven"||o["property-type"]==="cross-faded-data-driven"}function Ll(o){return!!o.expression&&o.expression.parameters.indexOf("zoom")>-1}function rc(o){return!!o.expression&&o.expression.interpolated}function ci(o){return o instanceof Number?"number":o instanceof String?"string":o instanceof Boolean?"boolean":Array.isArray(o)?"array":o===null?"null":typeof o}function kc(o){return typeof o=="object"&&o!==null&&!Array.isArray(o)}function K0(o){return o}function Au(o,a,p){return o!==void 0?o:a!==void 0?a:p!==void 0?p:void 0}function oc(o,a,p,y,_){return Au(typeof p===_?y[p]:void 0,o.default,a.default)}function Bl(o,a,p){if(ci(p)!=="number")return Au(o.default,a.default);var y=o.stops.length;if(y===1||p<=o.stops[0][0])return o.stops[0][1];if(p>=o.stops[y-1][0])return o.stops[y-1][1];var _=Jp(o.stops.map(function(v){return v[0]}),p);return o.stops[_][1]}function zc(o,a,p){var y=o.base!==void 0?o.base:1;if(ci(p)!=="number")return Au(o.default,a.default);var _=o.stops.length;if(_===1||p<=o.stops[0][0])return o.stops[0][1];if(p>=o.stops[_-1][0])return o.stops[_-1][1];var v=Jp(o.stops.map(function(U){return U[0]}),p),P=function(U,j,Y,le){var he=le-Y,Re=U-Y;return he===0?0:j===1?Re/he:(Math.pow(j,Re)-1)/(Math.pow(j,he)-1)}(p,y,o.stops[v][0],o.stops[v+1][0]),S=o.stops[v][1],C=o.stops[v+1][1],M=gu[a.type]||K0;if(o.colorSpace&&o.colorSpace!=="rgb"){var O=M1[o.colorSpace];M=function(U,j){return O.reverse(O.interpolate(O.forward(U),O.forward(j),P))}}return typeof S.evaluate=="function"?{evaluate:function(){for(var U=[],j=arguments.length;j--;)U[j]=arguments[j];var Y=S.evaluate.apply(void 0,U),le=C.evaluate.apply(void 0,U);if(Y!==void 0&&le!==void 0)return M(Y,le,P)}}:M(S,C,P)}function Js(o,a,p){return a.type==="color"?p=Eo.parse(p):a.type==="formatted"?p=Di.fromString(p.toString()):a.type==="resolvedImage"?p=gi.fromString(p.toString()):ci(p)===a.type||a.type==="enum"&&a.values[p]||(p=void 0),Au(p,o.default,a.default)}re.register(As,{error:[{kind:"error"},[or],function(o,a){throw new fi(a[0].evaluate(o))}],typeof:[or,[er],function(o,a){return ao(hi(a[0].evaluate(o)))}],"to-rgba":[Mo(dt,4),[Zt],function(o,a){return a[0].evaluate(o).toArray()}],rgb:[Zt,[dt,dt,dt],Pu],rgba:[Zt,[dt,dt,dt,dt],Pu],has:{type:Wt,overloads:[[[or],function(o,a){return Uc(a[0].evaluate(o),o.properties())}],[[or,no],function(o,a){var p=a[1];return Uc(a[0].evaluate(o),p.evaluate(o))}]]},get:{type:er,overloads:[[[or],function(o,a){return Pp(a[0].evaluate(o),o.properties())}],[[or,no],function(o,a){var p=a[1];return Pp(a[0].evaluate(o),p.evaluate(o))}]]},"feature-state":[er,[or],function(o,a){return Pp(a[0].evaluate(o),o.featureState||{})}],properties:[no,[],function(o){return o.properties()}],"geometry-type":[or,[],function(o){return o.geometryType()}],id:[er,[],function(o){return o.id()}],zoom:[dt,[],function(o){return o.globals.zoom}],"heatmap-density":[dt,[],function(o){return o.globals.heatmapDensity||0}],"line-progress":[dt,[],function(o){return o.globals.lineProgress||0}],accumulated:[er,[],function(o){return o.globals.accumulated===void 0?null:o.globals.accumulated}],"+":[dt,ps(dt),function(o,a){for(var p=0,y=0,_=a;y<_.length;y+=1)p+=_[y].evaluate(o);return p}],"*":[dt,ps(dt),function(o,a){for(var p=1,y=0,_=a;y<_.length;y+=1)p*=_[y].evaluate(o);return p}],"-":{type:dt,overloads:[[[dt,dt],function(o,a){var p=a[1];return a[0].evaluate(o)-p.evaluate(o)}],[[dt],function(o,a){return-a[0].evaluate(o)}]]},"/":[dt,[dt,dt],function(o,a){var p=a[1];return a[0].evaluate(o)/p.evaluate(o)}],"%":[dt,[dt,dt],function(o,a){var p=a[1];return a[0].evaluate(o)%p.evaluate(o)}],ln2:[dt,[],function(){return Math.LN2}],pi:[dt,[],function(){return Math.PI}],e:[dt,[],function(){return Math.E}],"^":[dt,[dt,dt],function(o,a){var p=a[1];return Math.pow(a[0].evaluate(o),p.evaluate(o))}],sqrt:[dt,[dt],function(o,a){return Math.sqrt(a[0].evaluate(o))}],log10:[dt,[dt],function(o,a){return Math.log(a[0].evaluate(o))/Math.LN10}],ln:[dt,[dt],function(o,a){return Math.log(a[0].evaluate(o))}],log2:[dt,[dt],function(o,a){return Math.log(a[0].evaluate(o))/Math.LN2}],sin:[dt,[dt],function(o,a){return Math.sin(a[0].evaluate(o))}],cos:[dt,[dt],function(o,a){return Math.cos(a[0].evaluate(o))}],tan:[dt,[dt],function(o,a){return Math.tan(a[0].evaluate(o))}],asin:[dt,[dt],function(o,a){return Math.asin(a[0].evaluate(o))}],acos:[dt,[dt],function(o,a){return Math.acos(a[0].evaluate(o))}],atan:[dt,[dt],function(o,a){return Math.atan(a[0].evaluate(o))}],min:[dt,ps(dt),function(o,a){return Math.min.apply(Math,a.map(function(p){return p.evaluate(o)}))}],max:[dt,ps(dt),function(o,a){return Math.max.apply(Math,a.map(function(p){return p.evaluate(o)}))}],abs:[dt,[dt],function(o,a){return Math.abs(a[0].evaluate(o))}],round:[dt,[dt],function(o,a){var p=a[0].evaluate(o);return p<0?-Math.round(-p):Math.round(p)}],floor:[dt,[dt],function(o,a){return Math.floor(a[0].evaluate(o))}],ceil:[dt,[dt],function(o,a){return Math.ceil(a[0].evaluate(o))}],"filter-==":[Wt,[or,er],function(o,a){var p=a[0],y=a[1];return o.properties()[p.value]===y.value}],"filter-id-==":[Wt,[er],function(o,a){var p=a[0];return o.id()===p.value}],"filter-type-==":[Wt,[or],function(o,a){var p=a[0];return o.geometryType()===p.value}],"filter-<":[Wt,[or,er],function(o,a){var p=a[0],y=a[1],_=o.properties()[p.value],v=y.value;return typeof _==typeof v&&_":[Wt,[or,er],function(o,a){var p=a[0],y=a[1],_=o.properties()[p.value],v=y.value;return typeof _==typeof v&&_>v}],"filter-id->":[Wt,[er],function(o,a){var p=a[0],y=o.id(),_=p.value;return typeof y==typeof _&&y>_}],"filter-<=":[Wt,[or,er],function(o,a){var p=a[0],y=a[1],_=o.properties()[p.value],v=y.value;return typeof _==typeof v&&_<=v}],"filter-id-<=":[Wt,[er],function(o,a){var p=a[0],y=o.id(),_=p.value;return typeof y==typeof _&&y<=_}],"filter->=":[Wt,[or,er],function(o,a){var p=a[0],y=a[1],_=o.properties()[p.value],v=y.value;return typeof _==typeof v&&_>=v}],"filter-id->=":[Wt,[er],function(o,a){var p=a[0],y=o.id(),_=p.value;return typeof y==typeof _&&y>=_}],"filter-has":[Wt,[er],function(o,a){return a[0].value in o.properties()}],"filter-has-id":[Wt,[],function(o){return o.id()!==null&&o.id()!==void 0}],"filter-type-in":[Wt,[Mo(or)],function(o,a){return a[0].value.indexOf(o.geometryType())>=0}],"filter-id-in":[Wt,[Mo(er)],function(o,a){return a[0].value.indexOf(o.id())>=0}],"filter-in-small":[Wt,[or,Mo(er)],function(o,a){var p=a[0];return a[1].value.indexOf(o.properties()[p.value])>=0}],"filter-in-large":[Wt,[or,Mo(er)],function(o,a){var p=a[0],y=a[1];return function(_,v,P,S){for(;P<=S;){var C=P+S>>1;if(v[C]===_)return!0;v[C]>_?S=C-1:P=C+1}return!1}(o.properties()[p.value],y.value,0,y.value.length-1)}],all:{type:Wt,overloads:[[[Wt,Wt],function(o,a){var p=a[1];return a[0].evaluate(o)&&p.evaluate(o)}],[ps(Wt),function(o,a){for(var p=0,y=a;p0&&typeof o[0]=="string"&&o[0]in As}function bp(o,a){var p=new Zs(As,[],a?function(_){var v={color:Zt,string:or,number:dt,enum:or,boolean:Wt,formatted:Jo,resolvedImage:vo};return _.type==="array"?Mo(v[_.value]||er,_.length):v[_.type]}(a):void 0),y=p.parse(o,void 0,void 0,void 0,a&&a.type==="string"?{typeAnnotation:"coerce"}:void 0);return y?tc(new Fu(y,a)):bu(p.errors)}Fu.prototype.evaluateWithoutErrorHandling=function(o,a,p,y,_,v){return this._evaluator.globals=o,this._evaluator.feature=a,this._evaluator.featureState=p,this._evaluator.canonical=y,this._evaluator.availableImages=_||null,this._evaluator.formattedSection=v,this.expression.evaluate(this._evaluator)},Fu.prototype.evaluate=function(o,a,p,y,_,v){this._evaluator.globals=o,this._evaluator.feature=a||null,this._evaluator.featureState=p||null,this._evaluator.canonical=y,this._evaluator.availableImages=_||null,this._evaluator.formattedSection=v||null;try{var P=this.expression.evaluate(this._evaluator);if(P==null||typeof P=="number"&&P!=P)return this._defaultValue;if(this._enumValues&&!(P in this._enumValues))throw new fi("Expected value to be one of "+Object.keys(this._enumValues).map(function(S){return JSON.stringify(S)}).join(", ")+", but found "+JSON.stringify(P)+" instead.");return P}catch(S){return this._warningHistory[S.message]||(this._warningHistory[S.message]=!0,typeof console<"u"&&console.warn(S.message)),this._defaultValue}};var Qu=function(o,a){this.kind=o,this._styleExpression=a,this.isStateDependent=o!=="constant"&&!_u(a.expression)};Qu.prototype.evaluateWithoutErrorHandling=function(o,a,p,y,_,v){return this._styleExpression.evaluateWithoutErrorHandling(o,a,p,y,_,v)},Qu.prototype.evaluate=function(o,a,p,y,_,v){return this._styleExpression.evaluate(o,a,p,y,_,v)};var Ju=function(o,a,p,y){this.kind=o,this.zoomStops=p,this._styleExpression=a,this.isStateDependent=o!=="camera"&&!_u(a.expression),this.interpolationType=y};function Ul(o,a){if((o=bp(o,a)).result==="error")return o;var p=o.value.expression,y=mu(p);if(!y&&!Qs(a))return bu([new wt("","data expressions not supported")]);var _=xs(p,["zoom"]);if(!_&&!Ll(a))return bu([new wt("","zoom expressions not supported")]);var v=function P(S){var C=null;if(S instanceof Da)C=P(S.result);else if(S instanceof vu)for(var M=0,O=S.args;My.maximum?[new ge(a,p,p+" is greater than the maximum value "+y.maximum)]:[]}function Vl(o){var a,p,y,_=o.valueSpec,v=Nt(o.value.type),P={},S=v!=="categorical"&&o.value.property===void 0,C=!S,M=ci(o.value.stops)==="array"&&ci(o.value.stops[0])==="array"&&ci(o.value.stops[0][0])==="object",O=Ya({key:o.key,value:o.value,valueSpec:o.styleSpec.function,style:o.style,styleSpec:o.styleSpec,objectElementValidators:{stops:function(Y){if(v==="identity")return[new ge(Y.key,Y.value,'identity function may not have a "stops" property')];var le=[],he=Y.value;return le=le.concat(kl({key:Y.key,value:he,valueSpec:Y.valueSpec,style:Y.style,styleSpec:Y.styleSpec,arrayElementValidator:U})),ci(he)==="array"&&he.length===0&&le.push(new ge(Y.key,he,"array must have at least one stop")),le},default:function(Y){return No({key:Y.key,value:Y.value,valueSpec:_,style:Y.style,styleSpec:Y.styleSpec})}}});return v==="identity"&&S&&O.push(new ge(o.key,o.value,'missing required property "property"')),v==="identity"||o.value.stops||O.push(new ge(o.key,o.value,'missing required property "stops"')),v==="exponential"&&o.valueSpec.expression&&!rc(o.valueSpec)&&O.push(new ge(o.key,o.value,"exponential functions not supported")),o.styleSpec.$version>=8&&(C&&!Qs(o.valueSpec)?O.push(new ge(o.key,o.value,"property functions not supported")):S&&!Ll(o.valueSpec)&&O.push(new ge(o.key,o.value,"zoom functions not supported"))),v!=="categorical"&&!M||o.value.property!==void 0||O.push(new ge(o.key,o.value,'"property" property is required')),O;function U(Y){var le=[],he=Y.value,Re=Y.key;if(ci(he)!=="array")return[new ge(Re,he,"array expected, "+ci(he)+" found")];if(he.length!==2)return[new ge(Re,he,"array length 2 expected, length "+he.length+" found")];if(M){if(ci(he[0])!=="object")return[new ge(Re,he,"object expected, "+ci(he[0])+" found")];if(he[0].zoom===void 0)return[new ge(Re,he,"object stop key must have zoom")];if(he[0].value===void 0)return[new ge(Re,he,"object stop key must have value")];if(y&&y>Nt(he[0].zoom))return[new ge(Re,he[0].zoom,"stop zoom values must appear in ascending order")];Nt(he[0].zoom)!==y&&(y=Nt(he[0].zoom),p=void 0,P={}),le=le.concat(Ya({key:Re+"[0]",value:he[0],valueSpec:{zoom:{}},style:Y.style,styleSpec:Y.styleSpec,objectElementValidators:{zoom:zl,value:j}}))}else le=le.concat(j({key:Re+"[0]",value:he[0],valueSpec:{},style:Y.style,styleSpec:Y.styleSpec},he));return Ku(ct(he[1]))?le.concat([new ge(Re+"[1]",he[1],"expressions are not allowed in function stops.")]):le.concat(No({key:Re+"[1]",value:he[1],valueSpec:_,style:Y.style,styleSpec:Y.styleSpec}))}function j(Y,le){var he=ci(Y.value),Re=Nt(Y.value),be=Y.value!==null?Y.value:le;if(a){if(he!==a)return[new ge(Y.key,be,he+" stop domain type must match previous stop domain type "+a)]}else a=he;if(he!=="number"&&he!=="string"&&he!=="boolean")return[new ge(Y.key,be,"stop domain value must be a number, string, or boolean")];if(he!=="number"&&v!=="categorical"){var Ve="number expected, "+he+" found";return Qs(_)&&v===void 0&&(Ve+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new ge(Y.key,be,Ve)]}return v!=="categorical"||he!=="number"||isFinite(Re)&&Math.floor(Re)===Re?v!=="categorical"&&he==="number"&&p!==void 0&&Re=2&&o[1]!=="$id"&&o[1]!=="$type";case"in":return o.length>=3&&(typeof o[1]!="string"||Array.isArray(o[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return o.length!==3||Array.isArray(o[1])||Array.isArray(o[2]);case"any":case"all":for(var a=0,p=o.slice(1);aa?1:0}function Vc(o){if(!o)return!0;var a,p=o[0];return o.length<=1?p!=="any":p==="=="?Hl(o[1],o[2],"=="):p==="!="?Gc(Hl(o[1],o[2],"==")):p==="<"||p===">"||p==="<="||p===">="?Hl(o[1],o[2],p):p==="any"?(a=o.slice(1),["any"].concat(a.map(Vc))):p==="all"?["all"].concat(o.slice(1).map(Vc)):p==="none"?["all"].concat(o.slice(1).map(Vc).map(Gc)):p==="in"?Hc(o[1],o.slice(2)):p==="!in"?Gc(Hc(o[1],o.slice(2))):p==="has"?L1(o[1]):p==="!has"?Gc(L1(o[1])):p!=="within"||o}function Hl(o,a,p){switch(o){case"$type":return["filter-type-"+p,a];case"$id":return["filter-id-"+p,a];default:return["filter-"+p,o,a]}}function Hc(o,a){if(a.length===0)return!1;switch(o){case"$type":return["filter-type-in",["literal",a]];case"$id":return["filter-id-in",["literal",a]];default:return a.length>200&&!a.some(function(p){return typeof p!=typeof a[0]})?["filter-in-large",o,["literal",a.sort(Q0)]]:["filter-in-small",o,["literal",a]]}}function L1(o){switch(o){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",o]}}function Gc(o){return["!",o]}function Gl(o){return Ap(ct(o.value))?Tu(ht({},o,{expressionContext:"filter",valueSpec:{value:"boolean"}})):function a(p){var y=p.value,_=p.key;if(ci(y)!=="array")return[new ge(_,y,"array expected, "+ci(y)+" found")];var v,P=p.styleSpec,S=[];if(y.length<1)return[new ge(_,y,"filter array must have at least 1 element")];switch(S=S.concat(Fs({key:_+"[0]",value:y[0],valueSpec:P.filter_operator,style:p.style,styleSpec:p.styleSpec})),Nt(y[0])){case"<":case"<=":case">":case">=":y.length>=2&&Nt(y[1])==="$type"&&S.push(new ge(_,y,'"$type" cannot be use with operator "'+y[0]+'"'));case"==":case"!=":y.length!==3&&S.push(new ge(_,y,'filter array for operator "'+y[0]+'" must have 3 elements'));case"in":case"!in":y.length>=2&&(v=ci(y[1]))!=="string"&&S.push(new ge(_+"[1]",y[1],"string expected, "+v+" found"));for(var C=2;C=O[Y+0]&&y>=O[Y+1])?(P[j]=!0,v.push(M[j])):P[j]=!1}}},bi.prototype._forEachCell=function(o,a,p,y,_,v,P,S){for(var C=this._convertToCellCoord(o),M=this._convertToCellCoord(a),O=this._convertToCellCoord(p),U=this._convertToCellCoord(y),j=C;j<=O;j++)for(var Y=M;Y<=U;Y++){var le=this.d*Y+j;if((!S||S(this._convertFromCellCoord(j),this._convertFromCellCoord(Y),this._convertFromCellCoord(j+1),this._convertFromCellCoord(Y+1)))&&_.call(this,o,a,p,y,le,v,P,S))return}},bi.prototype._convertFromCellCoord=function(o){return(o-this.padding)/this.scale},bi.prototype._convertToCellCoord=function(o){return Math.max(0,Math.min(this.d-1,Math.floor(o*this.scale)+this.padding))},bi.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var o=this.cells,a=3+this.cells.length+1+1,p=0,y=0;y=0)){var O=o[M];C[M]=Gi[S].shallow.indexOf(M)>=0?O:ea(O,a)}o instanceof Error&&(C.message=o.message)}if(C.$name)throw new Error("$name property is reserved for worker serialization logic.");return S!=="Object"&&(C.$name=S),C}throw new Error("can't serialize object of type "+typeof o)}function oi(o){if(o==null||typeof o=="boolean"||typeof o=="number"||typeof o=="string"||o instanceof Boolean||o instanceof Number||o instanceof String||o instanceof Date||o instanceof RegExp||pc(o)||Sp(o)||ArrayBuffer.isView(o)||o instanceof Tp)return o;if(Array.isArray(o))return o.map(oi);if(typeof o=="object"){var a=o.$name||"Object",p=Gi[a].klass;if(!p)throw new Error("can't deserialize unregistered class "+a);if(p.deserialize)return p.deserialize(o);for(var y=Object.create(p.prototype),_=0,v=Object.keys(o);_=0?S:oi(S)}}return y}throw new Error("can't deserialize object of type "+typeof o)}var Xc=function(){this.first=!0};Xc.prototype.update=function(o,a){var p=Math.floor(o);return this.first?(this.first=!1,this.lastIntegerZoom=p,this.lastIntegerZoomTime=0,this.lastZoom=o,this.lastFloorZoom=p,!0):(this.lastFloorZoom>p?(this.lastIntegerZoom=p+1,this.lastIntegerZoomTime=a):this.lastFloorZoom=128&&o<=255},Arabic:function(o){return o>=1536&&o<=1791},"Arabic Supplement":function(o){return o>=1872&&o<=1919},"Arabic Extended-A":function(o){return o>=2208&&o<=2303},"Hangul Jamo":function(o){return o>=4352&&o<=4607},"Unified Canadian Aboriginal Syllabics":function(o){return o>=5120&&o<=5759},Khmer:function(o){return o>=6016&&o<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(o){return o>=6320&&o<=6399},"General Punctuation":function(o){return o>=8192&&o<=8303},"Letterlike Symbols":function(o){return o>=8448&&o<=8527},"Number Forms":function(o){return o>=8528&&o<=8591},"Miscellaneous Technical":function(o){return o>=8960&&o<=9215},"Control Pictures":function(o){return o>=9216&&o<=9279},"Optical Character Recognition":function(o){return o>=9280&&o<=9311},"Enclosed Alphanumerics":function(o){return o>=9312&&o<=9471},"Geometric Shapes":function(o){return o>=9632&&o<=9727},"Miscellaneous Symbols":function(o){return o>=9728&&o<=9983},"Miscellaneous Symbols and Arrows":function(o){return o>=11008&&o<=11263},"CJK Radicals Supplement":function(o){return o>=11904&&o<=12031},"Kangxi Radicals":function(o){return o>=12032&&o<=12255},"Ideographic Description Characters":function(o){return o>=12272&&o<=12287},"CJK Symbols and Punctuation":function(o){return o>=12288&&o<=12351},Hiragana:function(o){return o>=12352&&o<=12447},Katakana:function(o){return o>=12448&&o<=12543},Bopomofo:function(o){return o>=12544&&o<=12591},"Hangul Compatibility Jamo":function(o){return o>=12592&&o<=12687},Kanbun:function(o){return o>=12688&&o<=12703},"Bopomofo Extended":function(o){return o>=12704&&o<=12735},"CJK Strokes":function(o){return o>=12736&&o<=12783},"Katakana Phonetic Extensions":function(o){return o>=12784&&o<=12799},"Enclosed CJK Letters and Months":function(o){return o>=12800&&o<=13055},"CJK Compatibility":function(o){return o>=13056&&o<=13311},"CJK Unified Ideographs Extension A":function(o){return o>=13312&&o<=19903},"Yijing Hexagram Symbols":function(o){return o>=19904&&o<=19967},"CJK Unified Ideographs":function(o){return o>=19968&&o<=40959},"Yi Syllables":function(o){return o>=40960&&o<=42127},"Yi Radicals":function(o){return o>=42128&&o<=42191},"Hangul Jamo Extended-A":function(o){return o>=43360&&o<=43391},"Hangul Syllables":function(o){return o>=44032&&o<=55215},"Hangul Jamo Extended-B":function(o){return o>=55216&&o<=55295},"Private Use Area":function(o){return o>=57344&&o<=63743},"CJK Compatibility Ideographs":function(o){return o>=63744&&o<=64255},"Arabic Presentation Forms-A":function(o){return o>=64336&&o<=65023},"Vertical Forms":function(o){return o>=65040&&o<=65055},"CJK Compatibility Forms":function(o){return o>=65072&&o<=65103},"Small Form Variants":function(o){return o>=65104&&o<=65135},"Arabic Presentation Forms-B":function(o){return o>=65136&&o<=65279},"Halfwidth and Fullwidth Forms":function(o){return o>=65280&&o<=65519}};function eu(o){for(var a=0,p=o;a=65097&&o<=65103)||Kt["CJK Compatibility Ideographs"](o)||Kt["CJK Compatibility"](o)||Kt["CJK Radicals Supplement"](o)||Kt["CJK Strokes"](o)||!(!Kt["CJK Symbols and Punctuation"](o)||o>=12296&&o<=12305||o>=12308&&o<=12319||o===12336)||Kt["CJK Unified Ideographs Extension A"](o)||Kt["CJK Unified Ideographs"](o)||Kt["Enclosed CJK Letters and Months"](o)||Kt["Hangul Compatibility Jamo"](o)||Kt["Hangul Jamo Extended-A"](o)||Kt["Hangul Jamo Extended-B"](o)||Kt["Hangul Jamo"](o)||Kt["Hangul Syllables"](o)||Kt.Hiragana(o)||Kt["Ideographic Description Characters"](o)||Kt.Kanbun(o)||Kt["Kangxi Radicals"](o)||Kt["Katakana Phonetic Extensions"](o)||Kt.Katakana(o)&&o!==12540||!(!Kt["Halfwidth and Fullwidth Forms"](o)||o===65288||o===65289||o===65293||o>=65306&&o<=65310||o===65339||o===65341||o===65343||o>=65371&&o<=65503||o===65507||o>=65512&&o<=65519)||!(!Kt["Small Form Variants"](o)||o>=65112&&o<=65118||o>=65123&&o<=65126)||Kt["Unified Canadian Aboriginal Syllabics"](o)||Kt["Unified Canadian Aboriginal Syllabics Extended"](o)||Kt["Vertical Forms"](o)||Kt["Yijing Hexagram Symbols"](o)||Kt["Yi Syllables"](o)||Kt["Yi Radicals"](o))))}function Zc(o){return!(cc(o)||function(a){return!!(Kt["Latin-1 Supplement"](a)&&(a===167||a===169||a===174||a===177||a===188||a===189||a===190||a===215||a===247)||Kt["General Punctuation"](a)&&(a===8214||a===8224||a===8225||a===8240||a===8241||a===8251||a===8252||a===8258||a===8263||a===8264||a===8265||a===8273)||Kt["Letterlike Symbols"](a)||Kt["Number Forms"](a)||Kt["Miscellaneous Technical"](a)&&(a>=8960&&a<=8967||a>=8972&&a<=8991||a>=8996&&a<=9e3||a===9003||a>=9085&&a<=9114||a>=9150&&a<=9165||a===9167||a>=9169&&a<=9179||a>=9186&&a<=9215)||Kt["Control Pictures"](a)&&a!==9251||Kt["Optical Character Recognition"](a)||Kt["Enclosed Alphanumerics"](a)||Kt["Geometric Shapes"](a)||Kt["Miscellaneous Symbols"](a)&&!(a>=9754&&a<=9759)||Kt["Miscellaneous Symbols and Arrows"](a)&&(a>=11026&&a<=11055||a>=11088&&a<=11097||a>=11192&&a<=11243)||Kt["CJK Symbols and Punctuation"](a)||Kt.Katakana(a)||Kt["Private Use Area"](a)||Kt["CJK Compatibility Forms"](a)||Kt["Small Form Variants"](a)||Kt["Halfwidth and Fullwidth Forms"](a)||a===8734||a===8756||a===8757||a>=9984&&a<=10087||a>=10102&&a<=10131||a===65532||a===65533)}(o))}function $a(o){return o>=1424&&o<=2303||Kt["Arabic Presentation Forms-A"](o)||Kt["Arabic Presentation Forms-B"](o)}function Aa(o,a){return!(!a&&$a(o)||o>=2304&&o<=3583||o>=3840&&o<=4255||Kt.Khmer(o))}function Yc(o){for(var a=0,p=o;a-1&&(ta="error"),$c&&$c(o)};function wp(){qc.fire(new ye("pluginStateChange",{pluginStatus:ta,pluginURL:Ss}))}var qc=new Le,Zl=function(){return ta},Fa=function(){if(ta!=="deferred"||!Ss)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");ta="loading",wp(),Ss&&$u({url:Ss},function(o){o?U1(o):(ta="loaded",wp())})},Ba={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return ta==="loaded"||Ba.applyArabicShaping!=null},isLoading:function(){return ta==="loading"},setState:function(o){ta=o.pluginStatus,Ss=o.pluginURL},isParsed:function(){return Ba.applyArabicShaping!=null&&Ba.processBidirectionalText!=null&&Ba.processStyledBidirectionalText!=null},getPluginURL:function(){return Ss}},po=function(o,a){this.zoom=o,a?(this.now=a.now,this.fadeDuration=a.fadeDuration,this.zoomHistory=a.zoomHistory,this.transition=a.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new Xc,this.transition={})};po.prototype.isSupportedScript=function(o){return function(a,p){for(var y=0,_=a;y<_.length;y+=1)if(!Aa(_[y].charCodeAt(0),p))return!1;return!0}(o,Ba.isLoaded())},po.prototype.crossFadingFactor=function(){return this.fadeDuration===0?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)},po.prototype.getCrossfadeParameters=function(){var o=this.zoom,a=o-Math.floor(o),p=this.crossFadingFactor();return o>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:a+(1-a)*p}:{fromScale:.5,toScale:1,t:1-(1-p)*a}};var Ua=function(o,a){this.property=o,this.value=a,this.expression=function(p,y){if(kc(p))return new ep(p,y);if(Ku(p)){var _=Ul(p,y);if(_.result==="error")throw new Error(_.value.map(function(P){return P.key+": "+P.message}).join(", "));return _.value}var v=p;return typeof p=="string"&&y.type==="color"&&(v=Eo.parse(p)),{kind:"constant",evaluate:function(){return v}}}(a===void 0?o.specification.default:a,o.specification)};Ua.prototype.isDataDriven=function(){return this.expression.kind==="source"||this.expression.kind==="composite"},Ua.prototype.possiblyEvaluate=function(o,a,p){return this.property.possiblyEvaluate(this,o,a,p)};var ka=function(o){this.property=o,this.value=new Ua(o,void 0)};ka.prototype.transitioned=function(o,a){return new Iu(this.property,this.value,a,Q({},o.transition,this.transition),o.now)},ka.prototype.untransitioned=function(){return new Iu(this.property,this.value,null,{},0)};var wn=function(o){this._properties=o,this._values=Object.create(o.defaultTransitionablePropertyValues)};wn.prototype.getValue=function(o){return Ae(this._values[o].value.value)},wn.prototype.setValue=function(o,a){this._values.hasOwnProperty(o)||(this._values[o]=new ka(this._values[o].property)),this._values[o].value=new Ua(this._values[o].property,a===null?void 0:Ae(a))},wn.prototype.getTransition=function(o){return Ae(this._values[o].transition)},wn.prototype.setTransition=function(o,a){this._values.hasOwnProperty(o)||(this._values[o]=new ka(this._values[o].property)),this._values[o].transition=Ae(a)||void 0},wn.prototype.serialize=function(){for(var o={},a=0,p=Object.keys(this._values);athis.end)return this.prior=null,_;if(this.value.isDataDriven())return this.prior=null,_;if(y=1)return 1;var C=S*S,M=C*S;return 4*(S<.5?M:3*(S-C)+M-.75)}(P))}return _};var tu=function(o){this._properties=o,this._values=Object.create(o.defaultTransitioningPropertyValues)};tu.prototype.possiblyEvaluate=function(o,a,p){for(var y=new Rp(this._properties),_=0,v=Object.keys(this._values);_v.zoomHistory.lastIntegerZoom?{from:p,to:y}:{from:_,to:y}},a.prototype.interpolate=function(p){return p},a}(gr),Xn=function(o){this.specification=o};Xn.prototype.possiblyEvaluate=function(o,a,p,y){if(o.value!==void 0){if(o.expression.kind==="constant"){var _=o.expression.evaluate(a,null,{},p,y);return this._calculate(_,_,_,a)}return this._calculate(o.expression.evaluate(new po(Math.floor(a.zoom-1),a)),o.expression.evaluate(new po(Math.floor(a.zoom),a)),o.expression.evaluate(new po(Math.floor(a.zoom+1),a)),a)}},Xn.prototype._calculate=function(o,a,p,y){return y.zoom>y.zoomHistory.lastIntegerZoom?{from:o,to:a}:{from:p,to:a}},Xn.prototype.interpolate=function(o){return o};var cs=function(o){this.specification=o};cs.prototype.possiblyEvaluate=function(o,a,p,y){return!!o.expression.evaluate(a,null,{},p,y)},cs.prototype.interpolate=function(){return!1};var Ai=function(o){for(var a in this.properties=o,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[],o){var p=o[a];p.specification.overridable&&this.overridableProperties.push(a);var y=this.defaultPropertyValues[a]=new Ua(p,void 0),_=this.defaultTransitionablePropertyValues[a]=new ka(p);this.defaultTransitioningPropertyValues[a]=_.untransitioned(),this.defaultPossiblyEvaluatedValues[a]=y.possiblyEvaluate({})}};hr("DataDrivenProperty",gr),hr("DataConstantProperty",Rr),hr("CrossFadedDataDrivenProperty",Ta),hr("CrossFadedProperty",Xn),hr("ColorRampProperty",cs);var Ka=function(o){function a(p,y){if(o.call(this),this.id=p.id,this.type=p.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},p.type!=="custom"&&(this.metadata=(p=p).metadata,this.minzoom=p.minzoom,this.maxzoom=p.maxzoom,p.type!=="background"&&(this.source=p.source,this.sourceLayer=p["source-layer"],this.filter=p.filter),y.layout&&(this._unevaluatedLayout=new qa(y.layout)),y.paint)){for(var _ in this._transitionablePaint=new wn(y.paint),p.paint)this.setPaintProperty(_,p.paint[_],{validate:!1});for(var v in p.layout)this.setLayoutProperty(v,p.layout[v],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new Rp(y.paint)}}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},a.prototype.getLayoutProperty=function(p){return p==="visibility"?this.visibility:this._unevaluatedLayout.getValue(p)},a.prototype.setLayoutProperty=function(p,y,_){_===void 0&&(_={}),y!=null&&this._validate(uc,"layers."+this.id+".layout."+p,p,y,_)||(p!=="visibility"?this._unevaluatedLayout.setValue(p,y):this.visibility=y)},a.prototype.getPaintProperty=function(p){return He(p,"-transition")?this._transitionablePaint.getTransition(p.slice(0,-11)):this._transitionablePaint.getValue(p)},a.prototype.setPaintProperty=function(p,y,_){if(_===void 0&&(_={}),y!=null&&this._validate(Wc,"layers."+this.id+".paint."+p,p,y,_))return!1;if(He(p,"-transition"))return this._transitionablePaint.setTransition(p.slice(0,-11),y||void 0),!1;var v=this._transitionablePaint._values[p],P=v.property.specification["property-type"]==="cross-faded-data-driven",S=v.value.isDataDriven(),C=v.value;this._transitionablePaint.setValue(p,y),this._handleSpecialPaintPropertyUpdate(p);var M=this._transitionablePaint._values[p].value;return M.isDataDriven()||S||P||this._handleOverridablePaintPropertyUpdate(p,C,M)},a.prototype._handleSpecialPaintPropertyUpdate=function(p){},a.prototype._handleOverridablePaintPropertyUpdate=function(p,y,_){return!1},a.prototype.isHidden=function(p){return!!(this.minzoom&&p=this.maxzoom)||this.visibility==="none"},a.prototype.updateTransitions=function(p){this._transitioningPaint=this._transitionablePaint.transitioned(p,this._transitioningPaint)},a.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},a.prototype.recalculate=function(p,y){p.getCrossfadeParameters&&(this._crossfadeParameters=p.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(p,void 0,y)),this.paint=this._transitioningPaint.possiblyEvaluate(p,void 0,y)},a.prototype.serialize=function(){var p={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(p.layout=p.layout||{},p.layout.visibility=this.visibility),Ge(p,function(y,_){return!(y===void 0||_==="layout"&&!Object.keys(y).length||_==="paint"&&!Object.keys(y).length)})},a.prototype._validate=function(p,y,_,v,P){return P===void 0&&(P={}),(!P||P.validate!==!1)&&Cu(this,p.call(sc,{key:y,layerType:this.type,objectKey:_,value:v,styleSpec:q,style:{glyphs:!0,sprite:!0}}))},a.prototype.is3D=function(){return!1},a.prototype.isTileClipped=function(){return!1},a.prototype.hasOffscreenPass=function(){return!1},a.prototype.resize=function(){},a.prototype.isStateDependent=function(){for(var p in this.paint._values){var y=this.paint.get(p);if(y instanceof Wn&&Qs(y.property.specification)&&(y.value.kind==="source"||y.value.kind==="composite")&&y.value.isStateDependent)return!0}return!1},a}(Le),ru={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},rp=function(o,a){this._structArray=o,this._pos1=a*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},Xo=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};function yn(o,a){a===void 0&&(a=1);var p=0,y=0;return{members:o.map(function(_){var v=ru[_.type].BYTES_PER_ELEMENT,P=p=Yl(p,Math.max(a,v)),S=_.components||1;return y=Math.max(y,v),p+=v*S,{name:_.name,type:_.type,components:S,offset:P}}),size:Yl(p,Math.max(y,a)),alignment:a}}function Yl(o,a){return Math.ceil(o/a)*a}Xo.serialize=function(o,a){return o._trim(),a&&(o.isTransferred=!0,a.push(o.arrayBuffer)),{length:o.length,arrayBuffer:o.arrayBuffer}},Xo.deserialize=function(o){var a=Object.create(this.prototype);return a.arrayBuffer=o.arrayBuffer,a.length=o.length,a.capacity=o.arrayBuffer.byteLength/a.bytesPerElement,a._refreshViews(),a},Xo.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},Xo.prototype.clear=function(){this.length=0},Xo.prototype.resize=function(o){this.reserve(o),this.length=o},Xo.prototype.reserve=function(o){if(o>this.capacity){this.capacity=Math.max(o,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var a=this.uint8;this._refreshViews(),a&&this.uint8.set(a)}},Xo.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};var Mu=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},a.prototype.emplaceBack=function(p,y){var _=this.length;return this.resize(_+1),this.emplace(_,p,y)},a.prototype.emplace=function(p,y,_){var v=2*p;return this.int16[v+0]=y,this.int16[v+1]=_,p},a}(Xo);Mu.prototype.bytesPerElement=4,hr("StructArrayLayout2i4",Mu);var Kc=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},a.prototype.emplaceBack=function(p,y,_,v){var P=this.length;return this.resize(P+1),this.emplace(P,p,y,_,v)},a.prototype.emplace=function(p,y,_,v,P){var S=4*p;return this.int16[S+0]=y,this.int16[S+1]=_,this.int16[S+2]=v,this.int16[S+3]=P,p},a}(Xo);Kc.prototype.bytesPerElement=8,hr("StructArrayLayout4i8",Kc);var ou=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},a.prototype.emplaceBack=function(p,y,_,v,P,S){var C=this.length;return this.resize(C+1),this.emplace(C,p,y,_,v,P,S)},a.prototype.emplace=function(p,y,_,v,P,S,C){var M=6*p;return this.int16[M+0]=y,this.int16[M+1]=_,this.int16[M+2]=v,this.int16[M+3]=P,this.int16[M+4]=S,this.int16[M+5]=C,p},a}(Xo);ou.prototype.bytesPerElement=12,hr("StructArrayLayout2i4i12",ou);var Sa=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},a.prototype.emplaceBack=function(p,y,_,v,P,S){var C=this.length;return this.resize(C+1),this.emplace(C,p,y,_,v,P,S)},a.prototype.emplace=function(p,y,_,v,P,S,C){var M=4*p,O=8*p;return this.int16[M+0]=y,this.int16[M+1]=_,this.uint8[O+4]=v,this.uint8[O+5]=P,this.uint8[O+6]=S,this.uint8[O+7]=C,p},a}(Xo);Sa.prototype.bytesPerElement=8,hr("StructArrayLayout2i4ub8",Sa);var Cp=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},a.prototype.emplaceBack=function(p,y){var _=this.length;return this.resize(_+1),this.emplace(_,p,y)},a.prototype.emplace=function(p,y,_){var v=2*p;return this.float32[v+0]=y,this.float32[v+1]=_,p},a}(Xo);Cp.prototype.bytesPerElement=8,hr("StructArrayLayout2f8",Cp);var ws=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},a.prototype.emplaceBack=function(p,y,_,v,P,S,C,M,O,U){var j=this.length;return this.resize(j+1),this.emplace(j,p,y,_,v,P,S,C,M,O,U)},a.prototype.emplace=function(p,y,_,v,P,S,C,M,O,U,j){var Y=10*p;return this.uint16[Y+0]=y,this.uint16[Y+1]=_,this.uint16[Y+2]=v,this.uint16[Y+3]=P,this.uint16[Y+4]=S,this.uint16[Y+5]=C,this.uint16[Y+6]=M,this.uint16[Y+7]=O,this.uint16[Y+8]=U,this.uint16[Y+9]=j,p},a}(Xo);ws.prototype.bytesPerElement=20,hr("StructArrayLayout10ui20",ws);var Qc=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},a.prototype.emplaceBack=function(p,y,_,v,P,S,C,M,O,U,j,Y){var le=this.length;return this.resize(le+1),this.emplace(le,p,y,_,v,P,S,C,M,O,U,j,Y)},a.prototype.emplace=function(p,y,_,v,P,S,C,M,O,U,j,Y,le){var he=12*p;return this.int16[he+0]=y,this.int16[he+1]=_,this.int16[he+2]=v,this.int16[he+3]=P,this.uint16[he+4]=S,this.uint16[he+5]=C,this.uint16[he+6]=M,this.uint16[he+7]=O,this.int16[he+8]=U,this.int16[he+9]=j,this.int16[he+10]=Y,this.int16[he+11]=le,p},a}(Xo);Qc.prototype.bytesPerElement=24,hr("StructArrayLayout4i4ui4i24",Qc);var Ip=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},a.prototype.emplaceBack=function(p,y,_){var v=this.length;return this.resize(v+1),this.emplace(v,p,y,_)},a.prototype.emplace=function(p,y,_,v){var P=3*p;return this.float32[P+0]=y,this.float32[P+1]=_,this.float32[P+2]=v,p},a}(Xo);Ip.prototype.bytesPerElement=12,hr("StructArrayLayout3f12",Ip);var lc=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},a.prototype.emplaceBack=function(p){var y=this.length;return this.resize(y+1),this.emplace(y,p)},a.prototype.emplace=function(p,y){return this.uint32[1*p+0]=y,p},a}(Xo);lc.prototype.bytesPerElement=4,hr("StructArrayLayout1ul4",lc);var Jc=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},a.prototype.emplaceBack=function(p,y,_,v,P,S,C,M,O){var U=this.length;return this.resize(U+1),this.emplace(U,p,y,_,v,P,S,C,M,O)},a.prototype.emplace=function(p,y,_,v,P,S,C,M,O,U){var j=10*p,Y=5*p;return this.int16[j+0]=y,this.int16[j+1]=_,this.int16[j+2]=v,this.int16[j+3]=P,this.int16[j+4]=S,this.int16[j+5]=C,this.uint32[Y+3]=M,this.uint16[j+8]=O,this.uint16[j+9]=U,p},a}(Xo);Jc.prototype.bytesPerElement=20,hr("StructArrayLayout6i1ul2ui20",Jc);var op=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},a.prototype.emplaceBack=function(p,y,_,v,P,S){var C=this.length;return this.resize(C+1),this.emplace(C,p,y,_,v,P,S)},a.prototype.emplace=function(p,y,_,v,P,S,C){var M=6*p;return this.int16[M+0]=y,this.int16[M+1]=_,this.int16[M+2]=v,this.int16[M+3]=P,this.int16[M+4]=S,this.int16[M+5]=C,p},a}(Xo);op.prototype.bytesPerElement=12,hr("StructArrayLayout2i2i2i12",op);var ip=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},a.prototype.emplaceBack=function(p,y,_,v,P){var S=this.length;return this.resize(S+1),this.emplace(S,p,y,_,v,P)},a.prototype.emplace=function(p,y,_,v,P,S){var C=4*p,M=8*p;return this.float32[C+0]=y,this.float32[C+1]=_,this.float32[C+2]=v,this.int16[M+6]=P,this.int16[M+7]=S,p},a}(Xo);ip.prototype.bytesPerElement=16,hr("StructArrayLayout2f1f2i16",ip);var $l=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},a.prototype.emplaceBack=function(p,y,_,v){var P=this.length;return this.resize(P+1),this.emplace(P,p,y,_,v)},a.prototype.emplace=function(p,y,_,v,P){var S=12*p,C=3*p;return this.uint8[S+0]=y,this.uint8[S+1]=_,this.float32[C+1]=v,this.float32[C+2]=P,p},a}(Xo);$l.prototype.bytesPerElement=12,hr("StructArrayLayout2ub2f12",$l);var Rs=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},a.prototype.emplaceBack=function(p,y,_){var v=this.length;return this.resize(v+1),this.emplace(v,p,y,_)},a.prototype.emplace=function(p,y,_,v){var P=3*p;return this.uint16[P+0]=y,this.uint16[P+1]=_,this.uint16[P+2]=v,p},a}(Xo);Rs.prototype.bytesPerElement=6,hr("StructArrayLayout3ui6",Rs);var ls=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},a.prototype.emplaceBack=function(p,y,_,v,P,S,C,M,O,U,j,Y,le,he,Re,be,Ve){var Ze=this.length;return this.resize(Ze+1),this.emplace(Ze,p,y,_,v,P,S,C,M,O,U,j,Y,le,he,Re,be,Ve)},a.prototype.emplace=function(p,y,_,v,P,S,C,M,O,U,j,Y,le,he,Re,be,Ve,Ze){var it=24*p,ut=12*p,Et=48*p;return this.int16[it+0]=y,this.int16[it+1]=_,this.uint16[it+2]=v,this.uint16[it+3]=P,this.uint32[ut+2]=S,this.uint32[ut+3]=C,this.uint32[ut+4]=M,this.uint16[it+10]=O,this.uint16[it+11]=U,this.uint16[it+12]=j,this.float32[ut+7]=Y,this.float32[ut+8]=le,this.uint8[Et+36]=he,this.uint8[Et+37]=Re,this.uint8[Et+38]=be,this.uint32[ut+10]=Ve,this.int16[it+22]=Ze,p},a}(Xo);ls.prototype.bytesPerElement=48,hr("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",ls);var el=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},a.prototype.emplaceBack=function(p,y,_,v,P,S,C,M,O,U,j,Y,le,he,Re,be,Ve,Ze,it,ut,Et,kt,qt,Ir,pr,Br,dr,Po){var Zr=this.length;return this.resize(Zr+1),this.emplace(Zr,p,y,_,v,P,S,C,M,O,U,j,Y,le,he,Re,be,Ve,Ze,it,ut,Et,kt,qt,Ir,pr,Br,dr,Po)},a.prototype.emplace=function(p,y,_,v,P,S,C,M,O,U,j,Y,le,he,Re,be,Ve,Ze,it,ut,Et,kt,qt,Ir,pr,Br,dr,Po,Zr){var Pr=34*p,Co=17*p;return this.int16[Pr+0]=y,this.int16[Pr+1]=_,this.int16[Pr+2]=v,this.int16[Pr+3]=P,this.int16[Pr+4]=S,this.int16[Pr+5]=C,this.int16[Pr+6]=M,this.int16[Pr+7]=O,this.uint16[Pr+8]=U,this.uint16[Pr+9]=j,this.uint16[Pr+10]=Y,this.uint16[Pr+11]=le,this.uint16[Pr+12]=he,this.uint16[Pr+13]=Re,this.uint16[Pr+14]=be,this.uint16[Pr+15]=Ve,this.uint16[Pr+16]=Ze,this.uint16[Pr+17]=it,this.uint16[Pr+18]=ut,this.uint16[Pr+19]=Et,this.uint16[Pr+20]=kt,this.uint16[Pr+21]=qt,this.uint16[Pr+22]=Ir,this.uint32[Co+12]=pr,this.float32[Co+13]=Br,this.float32[Co+14]=dr,this.float32[Co+15]=Po,this.float32[Co+16]=Zr,p},a}(Xo);el.prototype.bytesPerElement=68,hr("StructArrayLayout8i15ui1ul4f68",el);var Nu=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},a.prototype.emplaceBack=function(p){var y=this.length;return this.resize(y+1),this.emplace(y,p)},a.prototype.emplace=function(p,y){return this.float32[1*p+0]=y,p},a}(Xo);Nu.prototype.bytesPerElement=4,hr("StructArrayLayout1f4",Nu);var Qa=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},a.prototype.emplaceBack=function(p,y,_){var v=this.length;return this.resize(v+1),this.emplace(v,p,y,_)},a.prototype.emplace=function(p,y,_,v){var P=3*p;return this.int16[P+0]=y,this.int16[P+1]=_,this.int16[P+2]=v,p},a}(Xo);Qa.prototype.bytesPerElement=6,hr("StructArrayLayout3i6",Qa);var ql=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},a.prototype.emplaceBack=function(p,y,_){var v=this.length;return this.resize(v+1),this.emplace(v,p,y,_)},a.prototype.emplace=function(p,y,_,v){var P=4*p;return this.uint32[2*p+0]=y,this.uint16[P+2]=_,this.uint16[P+3]=v,p},a}(Xo);ql.prototype.bytesPerElement=8,hr("StructArrayLayout1ul2ui8",ql);var dc=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},a.prototype.emplaceBack=function(p,y){var _=this.length;return this.resize(_+1),this.emplace(_,p,y)},a.prototype.emplace=function(p,y,_){var v=2*p;return this.uint16[v+0]=y,this.uint16[v+1]=_,p},a}(Xo);dc.prototype.bytesPerElement=4,hr("StructArrayLayout2ui4",dc);var tl=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},a.prototype.emplaceBack=function(p){var y=this.length;return this.resize(y+1),this.emplace(y,p)},a.prototype.emplace=function(p,y){return this.uint16[1*p+0]=y,p},a}(Xo);tl.prototype.bytesPerElement=2,hr("StructArrayLayout1ui2",tl);var rl=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},a.prototype.emplaceBack=function(p,y,_,v){var P=this.length;return this.resize(P+1),this.emplace(P,p,y,_,v)},a.prototype.emplace=function(p,y,_,v,P){var S=4*p;return this.float32[S+0]=y,this.float32[S+1]=_,this.float32[S+2]=v,this.float32[S+3]=P,p},a}(Xo);rl.prototype.bytesPerElement=16,hr("StructArrayLayout4f16",rl);var c=function(o){function a(){o.apply(this,arguments)}o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a;var p={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},anchorPoint:{configurable:!0}};return p.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},p.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},p.x1.get=function(){return this._structArray.int16[this._pos2+2]},p.y1.get=function(){return this._structArray.int16[this._pos2+3]},p.x2.get=function(){return this._structArray.int16[this._pos2+4]},p.y2.get=function(){return this._structArray.int16[this._pos2+5]},p.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},p.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},p.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},p.anchorPoint.get=function(){return new x(this.anchorPointX,this.anchorPointY)},Object.defineProperties(a.prototype,p),a}(rp);c.prototype.size=20;var d=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype.get=function(p){return new c(this,p)},a}(Jc);hr("CollisionBoxArray",d);var l=function(o){function a(){o.apply(this,arguments)}o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a;var p={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return p.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},p.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},p.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},p.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},p.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},p.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},p.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},p.segment.get=function(){return this._structArray.uint16[this._pos2+10]},p.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},p.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},p.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},p.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},p.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},p.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},p.placedOrientation.set=function(y){this._structArray.uint8[this._pos1+37]=y},p.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},p.hidden.set=function(y){this._structArray.uint8[this._pos1+38]=y},p.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},p.crossTileID.set=function(y){this._structArray.uint32[this._pos4+10]=y},p.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(a.prototype,p),a}(rp);l.prototype.size=48;var f=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype.get=function(p){return new l(this,p)},a}(ls);hr("PlacedSymbolArray",f);var E=function(o){function a(){o.apply(this,arguments)}o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a;var p={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},useRuntimeCollisionCircles:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0},collisionCircleDiameter:{configurable:!0}};return p.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},p.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},p.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},p.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},p.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},p.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},p.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},p.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},p.key.get=function(){return this._structArray.uint16[this._pos2+8]},p.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},p.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},p.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},p.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},p.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},p.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},p.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},p.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},p.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},p.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},p.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},p.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},p.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},p.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},p.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},p.crossTileID.set=function(y){this._structArray.uint32[this._pos4+12]=y},p.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},p.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},p.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},p.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(a.prototype,p),a}(rp);E.prototype.size=68;var A=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype.get=function(p){return new E(this,p)},a}(el);hr("SymbolInstanceArray",A);var T=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype.getoffsetX=function(p){return this.float32[1*p+0]},a}(Nu);hr("GlyphOffsetArray",T);var w=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype.getx=function(p){return this.int16[3*p+0]},a.prototype.gety=function(p){return this.int16[3*p+1]},a.prototype.gettileUnitDistanceFromAnchor=function(p){return this.int16[3*p+2]},a}(Qa);hr("SymbolLineVertexArray",w);var D=function(o){function a(){o.apply(this,arguments)}o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a;var p={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return p.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},p.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},p.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(a.prototype,p),a}(rp);D.prototype.size=8;var z=function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype.get=function(p){return new D(this,p)},a}(ql);hr("FeatureIndexArray",z);var $=yn([{name:"a_pos",components:2,type:"Int16"}],4).members,K=function(o){o===void 0&&(o=[]),this.segments=o};function ee(o,a){return 256*(o=V(Math.floor(o),0,255))+V(Math.floor(a),0,255)}K.prototype.prepareSegment=function(o,a,p,y){var _=this.segments[this.segments.length-1];return o>K.MAX_VERTEX_ARRAY_LENGTH&&ze("Max vertices per segment is "+K.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+o),(!_||_.vertexLength+o>K.MAX_VERTEX_ARRAY_LENGTH||_.sortKey!==y)&&(_={vertexOffset:a.length,primitiveOffset:p.length,vertexLength:0,primitiveLength:0},y!==void 0&&(_.sortKey=y),this.segments.push(_)),_},K.prototype.get=function(){return this.segments},K.prototype.destroy=function(){for(var o=0,a=this.segments;o>>16)*S&65535)<<16)&4294967295)<<15|M>>>17))*C+(((M>>>16)*C&65535)<<16)&4294967295)<<13|v>>>19))+((5*(v>>>16)&65535)<<16)&4294967295))+((58964+(P>>>16)&65535)<<16);switch(M=0,y){case 3:M^=(255&a.charCodeAt(O+2))<<16;case 2:M^=(255&a.charCodeAt(O+1))<<8;case 1:v^=M=(65535&(M=(M=(65535&(M^=255&a.charCodeAt(O)))*S+(((M>>>16)*S&65535)<<16)&4294967295)<<15|M>>>17))*C+(((M>>>16)*C&65535)<<16)&4294967295}return v^=a.length,v=2246822507*(65535&(v^=v>>>16))+((2246822507*(v>>>16)&65535)<<16)&4294967295,v=3266489909*(65535&(v^=v>>>13))+((3266489909*(v>>>16)&65535)<<16)&4294967295,(v^=v>>>16)>>>0}}),Te=h(function(o){o.exports=function(a,p){for(var y,_=a.length,v=p^_,P=0;_>=4;)y=1540483477*(65535&(y=255&a.charCodeAt(P)|(255&a.charCodeAt(++P))<<8|(255&a.charCodeAt(++P))<<16|(255&a.charCodeAt(++P))<<24))+((1540483477*(y>>>16)&65535)<<16),v=1540483477*(65535&v)+((1540483477*(v>>>16)&65535)<<16)^(y=1540483477*(65535&(y^=y>>>24))+((1540483477*(y>>>16)&65535)<<16)),_-=4,++P;switch(_){case 3:v^=(255&a.charCodeAt(P+2))<<16;case 2:v^=(255&a.charCodeAt(P+1))<<8;case 1:v=1540483477*(65535&(v^=255&a.charCodeAt(P)))+((1540483477*(v>>>16)&65535)<<16)}return v=1540483477*(65535&(v^=v>>>13))+((1540483477*(v>>>16)&65535)<<16),(v^=v>>>15)>>>0}}),ce=de,Fe=Te;ce.murmur3=de,ce.murmur2=Fe;var De=function(){this.ids=[],this.positions=[],this.indexed=!1};De.prototype.add=function(o,a,p,y){this.ids.push(at(o)),this.positions.push(a,p,y)},De.prototype.getPositions=function(o){for(var a=at(o),p=0,y=this.ids.length-1;p>1;this.ids[_]>=a?y=_:p=_+1}for(var v=[];this.ids[p]===a;)v.push({index:this.positions[3*p],start:this.positions[3*p+1],end:this.positions[3*p+2]}),p++;return v},De.serialize=function(o,a){var p=new Float64Array(o.ids),y=new Uint32Array(o.positions);return function _(v,P,S,C){for(;S>1],O=S-1,U=C+1;;){do O++;while(v[O]M);if(O>=U)break;Je(v,O,U),Je(P,3*O,3*U),Je(P,3*O+1,3*U+1),Je(P,3*O+2,3*U+2)}U-SP.x+1||CP.y+1)&&ze("Geometry exceeds allowed extent, reduce your vector tile buffer size")}return p}function wi(o,a){return{type:o.type,id:o.id,properties:o.properties,geometry:a?Fi(o):[]}}function ra(o,a,p,y,_){o.emplaceBack(2*a+(y+1)/2,2*p+(_+1)/2)}var Zn=function(o){this.zoom=o.zoom,this.overscaling=o.overscaling,this.layers=o.layers,this.layerIds=this.layers.map(function(a){return a.id}),this.index=o.index,this.hasPattern=!1,this.layoutVertexArray=new Mu,this.indexArray=new Rs,this.segments=new K,this.programConfigurations=new zr(o.layers,o.zoom),this.stateDependentLayerIds=this.layers.filter(function(a){return a.isStateDependent()}).map(function(a){return a.id})};function Cs(o,a){for(var p=0;p1){if(Mp(o,a))return!0;for(var y=0;y1?p:p.sub(a)._mult(_)._add(a))}function iu(o,a){for(var p,y,_,v=!1,P=0;Pa.y!=(_=p[C]).y>a.y&&a.x<(_.x-y.x)*(a.y-y.y)/(_.y-y.y)+y.x&&(v=!v);return v}function ds(o,a){for(var p=!1,y=0,_=o.length-1;ya.y!=P.y>a.y&&a.x<(P.x-v.x)*(a.y-v.y)/(P.y-v.y)+v.x&&(p=!p)}return p}function Ou(o,a,p){var y=p[0],_=p[2];if(o.x_.x&&a.x>_.x||o.y_.y&&a.y>_.y)return!1;var v=st(o,a,p[0]);return v!==st(o,a,p[1])||v!==st(o,a,p[2])||v!==st(o,a,p[3])}function kn(o,a,p){var y=a.paint.get(o).value;return y.kind==="constant"?y.value:p.programConfigurations.get(a.id).getMaxValue(o)}function Bi(o){return Math.sqrt(o[0]*o[0]+o[1]*o[1])}function da(o,a,p,y,_){if(!a[0]&&!a[1])return o;var v=x.convert(a)._mult(_);p==="viewport"&&v._rotate(-y);for(var P=[],S=0;S=8192||O<0||O>=8192)){var U=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,o.sortKey),j=U.vertexLength;ra(this.layoutVertexArray,M,O,-1,-1),ra(this.layoutVertexArray,M,O,1,-1),ra(this.layoutVertexArray,M,O,1,1),ra(this.layoutVertexArray,M,O,-1,1),this.indexArray.emplaceBack(j,j+1,j+2),this.indexArray.emplaceBack(j,j+3,j+2),U.vertexLength+=4,U.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,o,p,{},y)},hr("CircleBucket",Zn,{omit:["layers"]});var es=new Ai({"circle-sort-key":new gr(q.layout_circle["circle-sort-key"])}),ys={paint:new Ai({"circle-radius":new gr(q.paint_circle["circle-radius"]),"circle-color":new gr(q.paint_circle["circle-color"]),"circle-blur":new gr(q.paint_circle["circle-blur"]),"circle-opacity":new gr(q.paint_circle["circle-opacity"]),"circle-translate":new Rr(q.paint_circle["circle-translate"]),"circle-translate-anchor":new Rr(q.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new Rr(q.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new Rr(q.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new gr(q.paint_circle["circle-stroke-width"]),"circle-stroke-color":new gr(q.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new gr(q.paint_circle["circle-stroke-opacity"])}),layout:es},Io=typeof Float32Array<"u"?Float32Array:Array;function Cn(o){return o[0]=1,o[1]=0,o[2]=0,o[3]=0,o[4]=0,o[5]=1,o[6]=0,o[7]=0,o[8]=0,o[9]=0,o[10]=1,o[11]=0,o[12]=0,o[13]=0,o[14]=0,o[15]=1,o}function Ki(o,a,p){var y=a[0],_=a[1],v=a[2],P=a[3],S=a[4],C=a[5],M=a[6],O=a[7],U=a[8],j=a[9],Y=a[10],le=a[11],he=a[12],Re=a[13],be=a[14],Ve=a[15],Ze=p[0],it=p[1],ut=p[2],Et=p[3];return o[0]=Ze*y+it*S+ut*U+Et*he,o[1]=Ze*_+it*C+ut*j+Et*Re,o[2]=Ze*v+it*M+ut*Y+Et*be,o[3]=Ze*P+it*O+ut*le+Et*Ve,o[4]=(Ze=p[4])*y+(it=p[5])*S+(ut=p[6])*U+(Et=p[7])*he,o[5]=Ze*_+it*C+ut*j+Et*Re,o[6]=Ze*v+it*M+ut*Y+Et*be,o[7]=Ze*P+it*O+ut*le+Et*Ve,o[8]=(Ze=p[8])*y+(it=p[9])*S+(ut=p[10])*U+(Et=p[11])*he,o[9]=Ze*_+it*C+ut*j+Et*Re,o[10]=Ze*v+it*M+ut*Y+Et*be,o[11]=Ze*P+it*O+ut*le+Et*Ve,o[12]=(Ze=p[12])*y+(it=p[13])*S+(ut=p[14])*U+(Et=p[15])*he,o[13]=Ze*_+it*C+ut*j+Et*Re,o[14]=Ze*v+it*M+ut*Y+Et*be,o[15]=Ze*P+it*O+ut*le+Et*Ve,o}Math.hypot||(Math.hypot=function(){for(var o=arguments,a=0,p=arguments.length;p--;)a+=o[p]*o[p];return Math.sqrt(a)});var Ms,ol=Ki;function Lu(o,a,p){var y=a[0],_=a[1],v=a[2],P=a[3];return o[0]=p[0]*y+p[4]*_+p[8]*v+p[12]*P,o[1]=p[1]*y+p[5]*_+p[9]*v+p[13]*P,o[2]=p[2]*y+p[6]*_+p[10]*v+p[14]*P,o[3]=p[3]*y+p[7]*_+p[11]*v+p[15]*P,o}Ms=new Io(3),Io!=Float32Array&&(Ms[0]=0,Ms[1]=0,Ms[2]=0),function(){var o=new Io(4);Io!=Float32Array&&(o[0]=0,o[1]=0,o[2]=0,o[3]=0)}();var Kl=(function(){var o=new Io(2);Io!=Float32Array&&(o[0]=0,o[1]=0)}(),function(o){function a(p){o.call(this,p,ys)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype.createBucket=function(p){return new Zn(p)},a.prototype.queryRadius=function(p){var y=p;return kn("circle-radius",this,y)+kn("circle-stroke-width",this,y)+Bi(this.paint.get("circle-translate"))},a.prototype.queryIntersectsFeature=function(p,y,_,v,P,S,C,M){for(var O=da(p,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),S.angle,C),U=this.paint.get("circle-radius").evaluate(y,_)+this.paint.get("circle-stroke-width").evaluate(y,_),j=this.paint.get("circle-pitch-alignment")==="map",Y=j?O:function(kt,qt){return kt.map(function(Ir){return ap(Ir,qt)})}(O,M),le=j?U*C:U,he=0,Re=v;heo.width||_.height>o.height||p.x>o.width-_.width||p.y>o.height-_.height)throw new RangeError("out of range source coordinates for image copy");if(_.width>a.width||_.height>a.height||y.x>a.width-_.width||y.y>a.height-_.height)throw new RangeError("out of range destination coordinates for image copy");for(var P=o.data,S=a.data,C=0;C<_.height;C++)for(var M=((p.y+C)*o.width+p.x)*v,O=((y.y+C)*a.width+y.x)*v,U=0;U<_.width*v;U++)S[O+U]=P[M+U];return a}hr("HeatmapBucket",sp,{omit:["layers"]});var Np=function(o,a){hs(this,o,1,a)};Np.prototype.resize=function(o){il(this,o,1)},Np.prototype.clone=function(){return new Np({width:this.width,height:this.height},new Uint8Array(this.data))},Np.copy=function(o,a,p,y,_){J0(o,a,p,y,_,1)};var ya=function(o,a){hs(this,o,4,a)};ya.prototype.resize=function(o){il(this,o,4)},ya.prototype.replace=function(o,a){a?this.data.set(o):this.data=o instanceof Uint8ClampedArray?new Uint8Array(o.buffer):o},ya.prototype.clone=function(){return new ya({width:this.width,height:this.height},new Uint8Array(this.data))},ya.copy=function(o,a,p,y,_){J0(o,a,p,y,_,4)},hr("AlphaImage",Np),hr("RGBAImage",ya);var ky={paint:new Ai({"heatmap-radius":new gr(q.paint_heatmap["heatmap-radius"]),"heatmap-weight":new gr(q.paint_heatmap["heatmap-weight"]),"heatmap-intensity":new Rr(q.paint_heatmap["heatmap-intensity"]),"heatmap-color":new cs(q.paint_heatmap["heatmap-color"]),"heatmap-opacity":new Rr(q.paint_heatmap["heatmap-opacity"])})};function zy(o){var a={},p=o.resolution||256,y=o.clips?o.clips.length:1,_=o.image||new ya({width:p,height:y}),v=function(le,he,Re){a[o.evaluationKey]=Re;var be=o.expression.evaluate(a);_.data[le+he+0]=Math.floor(255*be.r/be.a),_.data[le+he+1]=Math.floor(255*be.g/be.a),_.data[le+he+2]=Math.floor(255*be.b/be.a),_.data[le+he+3]=Math.floor(255*be.a)};if(o.clips)for(var P=0,S=0;P80*p){y=v=o[0],_=P=o[1];for(var le=p;lev&&(v=S),C>P&&(P=C);M=(M=Math.max(v-y,P-_))!==0?1/M:0}return Ql(j,Y,p,y,_,M),Y}function Vy(o,a,p,y,_){var v,P;if(_===_c(o,a,p,y)>0)for(v=a;v=a;v-=y)P=ul(v,o[v],o[v+1],P);return P&&yc(P,P.next)&&(up(P),P=P.next),P}function Dp(o,a){if(!o)return o;a||(a=o);var p,y=o;do if(p=!1,y.steiner||!yc(y,y.next)&&Ui(y.prev,y,y.next)!==0)y=y.next;else{if(up(y),(y=a=y.prev)===y.next)break;p=!0}while(p||y!==a);return a}function Ql(o,a,p,y,_,v,P){if(o){!P&&v&&function(O,U,j,Y){var le=O;do le.z===null&&(le.z=al(le.x,le.y,U,j,Y)),le.prevZ=le.prev,le.nextZ=le.next,le=le.next;while(le!==O);le.prevZ.nextZ=null,le.prevZ=null,function(he){var Re,be,Ve,Ze,it,ut,Et,kt,qt=1;do{for(be=he,he=null,it=null,ut=0;be;){for(ut++,Ve=be,Et=0,Re=0;Re0||kt>0&&Ve;)Et!==0&&(kt===0||!Ve||be.z<=Ve.z)?(Ze=be,be=be.nextZ,Et--):(Ze=Ve,Ve=Ve.nextZ,kt--),it?it.nextZ=Ze:he=Ze,Ze.prevZ=it,it=Ze;be=Ve}it.nextZ=null,qt*=2}while(ut>1)}(le)}(o,y,_,v);for(var S,C,M=o;o.prev!==o.next;)if(S=o.prev,C=o.next,v?om(o,y,_,v):rm(o))a.push(S.i/p),a.push(o.i/p),a.push(C.i/p),up(o),o=C.next,M=C.next;else if((o=C)===M){P?P===1?Ql(o=im(Dp(o),a,p),a,p,y,_,v,2):P===2&&nm(o,a,p,y,_,v):Ql(Dp(o),a,p,y,_,v,1);break}}}function rm(o){var a=o.prev,p=o,y=o.next;if(Ui(a,p,y)>=0)return!1;for(var _=o.next.next;_!==o.prev;){if(Op(a.x,a.y,p.x,p.y,y.x,y.y,_.x,_.y)&&Ui(_.prev,_,_.next)>=0)return!1;_=_.next}return!0}function om(o,a,p,y){var _=o.prev,v=o,P=o.next;if(Ui(_,v,P)>=0)return!1;for(var S=_.x>v.x?_.x>P.x?_.x:P.x:v.x>P.x?v.x:P.x,C=_.y>v.y?_.y>P.y?_.y:P.y:v.y>P.y?v.y:P.y,M=al(_.x=M&&j&&j.z<=O;){if(U!==o.prev&&U!==o.next&&Op(_.x,_.y,v.x,v.y,P.x,P.y,U.x,U.y)&&Ui(U.prev,U,U.next)>=0||(U=U.prevZ,j!==o.prev&&j!==o.next&&Op(_.x,_.y,v.x,v.y,P.x,P.y,j.x,j.y)&&Ui(j.prev,j,j.next)>=0))return!1;j=j.nextZ}for(;U&&U.z>=M;){if(U!==o.prev&&U!==o.next&&Op(_.x,_.y,v.x,v.y,P.x,P.y,U.x,U.y)&&Ui(U.prev,U,U.next)>=0)return!1;U=U.prevZ}for(;j&&j.z<=O;){if(j!==o.prev&&j!==o.next&&Op(_.x,_.y,v.x,v.y,P.x,P.y,j.x,j.y)&&Ui(j.prev,j,j.next)>=0)return!1;j=j.nextZ}return!0}function im(o,a,p){var y=o;do{var _=y.prev,v=y.next.next;!yc(_,v)&&j1(_,y,y.next,v)&&Lp(_,v)&&Lp(v,_)&&(a.push(_.i/p),a.push(y.i/p),a.push(v.i/p),up(y),up(y.next),y=o=v),y=y.next}while(y!==o);return Dp(y)}function nm(o,a,p,y,_,v){var P=o;do{for(var S=P.next.next;S!==P.prev;){if(P.i!==S.i&&G1(P,S)){var C=sl(P,S);return P=Dp(P,P.next),C=Dp(C,C.next),Ql(P,a,p,y,_,v),void Ql(C,a,p,y,_,v)}S=S.next}P=P.next}while(P!==o)}function am(o,a){return o.x-a.x}function ed(o,a){if(a=function(y,_){var v,P=_,S=y.x,C=y.y,M=-1/0;do{if(C<=P.y&&C>=P.next.y&&P.next.y!==P.y){var O=P.x+(C-P.y)*(P.next.x-P.x)/(P.next.y-P.y);if(O<=S&&O>M){if(M=O,O===S){if(C===P.y)return P;if(C===P.next.y)return P.next}v=P.x=P.x&&P.x>=Y&&S!==P.x&&Op(Cv.x||P.x===v.x&&V1(v,P)))&&(v=P,he=U)),P=P.next;while(P!==j);return v}(o,a)){var p=sl(a,o);Dp(a,a.next),Dp(p,p.next)}}function V1(o,a){return Ui(o.prev,o,a.prev)<0&&Ui(a.next,o,o.next)<0}function al(o,a,p,y,_){return(o=1431655765&((o=858993459&((o=252645135&((o=16711935&((o=32767*(o-p)*_)|o<<8))|o<<4))|o<<2))|o<<1))|(a=1431655765&((a=858993459&((a=252645135&((a=16711935&((a=32767*(a-y)*_)|a<<8))|a<<4))|a<<2))|a<<1))<<1}function H1(o){var a=o,p=o;do(a.x=0&&(o-P)*(y-S)-(p-P)*(a-S)>=0&&(p-P)*(v-S)-(_-P)*(y-S)>=0}function G1(o,a){return o.next.i!==a.i&&o.prev.i!==a.i&&!function(p,y){var _=p;do{if(_.i!==p.i&&_.next.i!==p.i&&_.i!==y.i&&_.next.i!==y.i&&j1(_,_.next,p,y))return!0;_=_.next}while(_!==p);return!1}(o,a)&&(Lp(o,a)&&Lp(a,o)&&function(p,y){var _=p,v=!1,P=(p.x+y.x)/2,S=(p.y+y.y)/2;do _.y>S!=_.next.y>S&&_.next.y!==_.y&&P<(_.next.x-_.x)*(S-_.y)/(_.next.y-_.y)+_.x&&(v=!v),_=_.next;while(_!==p);return v}(o,a)&&(Ui(o.prev,o,a.prev)||Ui(o,a.prev,a))||yc(o,a)&&Ui(o.prev,o,o.next)>0&&Ui(a.prev,a,a.next)>0)}function Ui(o,a,p){return(a.y-o.y)*(p.x-a.x)-(a.x-o.x)*(p.y-a.y)}function yc(o,a){return o.x===a.x&&o.y===a.y}function j1(o,a,p,y){var _=fc(Ui(o,a,p)),v=fc(Ui(o,a,y)),P=fc(Ui(p,y,o)),S=fc(Ui(p,y,a));return _!==v&&P!==S||!(_!==0||!hc(o,p,a))||!(v!==0||!hc(o,y,a))||!(P!==0||!hc(p,o,y))||!(S!==0||!hc(p,a,y))}function hc(o,a,p){return a.x<=Math.max(o.x,p.x)&&a.x>=Math.min(o.x,p.x)&&a.y<=Math.max(o.y,p.y)&&a.y>=Math.min(o.y,p.y)}function fc(o){return o>0?1:o<0?-1:0}function Lp(o,a){return Ui(o.prev,o,o.next)<0?Ui(o,a,o.next)>=0&&Ui(o,o.prev,a)>=0:Ui(o,a,o.prev)<0||Ui(o,o.next,a)<0}function sl(o,a){var p=new mc(o.i,o.x,o.y),y=new mc(a.i,a.x,a.y),_=o.next,v=a.prev;return o.next=a,a.prev=o,p.next=_,_.prev=p,y.next=p,p.prev=y,v.next=y,y.prev=v,y}function ul(o,a,p,y){var _=new mc(o,a,p);return y?(_.next=y.next,_.prev=y,y.next.prev=_,y.next=_):(_.prev=_,_.next=_),_}function up(o){o.next.prev=o.prev,o.prev.next=o.next,o.prevZ&&(o.prevZ.nextZ=o.nextZ),o.nextZ&&(o.nextZ.prevZ=o.prevZ)}function mc(o,a,p){this.i=o,this.x=a,this.y=p,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function _c(o,a,p,y){for(var _=0,v=a,P=p-y;vC;){if(M-C>600){var U=M-C+1,j=S-C+1,Y=Math.log(U),le=.5*Math.exp(2*Y/3),he=.5*Math.sqrt(Y*le*(U-le)/U)*(j-U/2<0?-1:1);v(P,S,Math.max(C,Math.floor(S-j*le/U+he)),Math.min(M,Math.floor(S+(U-j)*le/U+he)),O)}var Re=P[S],be=C,Ve=M;for(pp(P,C,S),O(P[M],Re)>0&&pp(P,C,M);be0;)Ve--}O(P[C],Re)===0?pp(P,C,Ve):pp(P,++Ve,M),Ve<=S&&(C=Ve+1),S<=Ve&&(M=Ve-1)}})(o,a,p,y||o.length-1,_||gc)}function pp(o,a,p){var y=o[a];o[a]=o[p],o[p]=y}function gc(o,a){return oa?1:0}function W1(o,a){var p=o.length;if(p<=1)return[o];for(var y,_,v=[],P=0;P1)for(var C=0;C0&&p.holes.push(y+=o[_-1].length)}return p},k1.default=tm;var nu=function(o){this.zoom=o.zoom,this.overscaling=o.overscaling,this.layers=o.layers,this.layerIds=this.layers.map(function(a){return a.id}),this.index=o.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new Mu,this.indexArray=new Rs,this.indexArray2=new dc,this.programConfigurations=new zr(o.layers,o.zoom),this.segments=new K,this.segments2=new K,this.stateDependentLayerIds=this.layers.filter(function(a){return a.isStateDependent()}).map(function(a){return a.id})};nu.prototype.populate=function(o,a,p){this.hasPattern=rd("fill",this.layers,a);for(var y=this.layers[0].layout.get("fill-sort-key"),_=[],v=0,P=o;v>3}if(_--,y===1||y===2)v+=o.readSVarint(),P+=o.readSVarint(),y===1&&(a&&S.push(a),a=[]),a.push(new x(v,P));else{if(y!==7)throw new Error("unknown command "+y);a&&a.push(a[0].clone())}}return a&&S.push(a),S},vc.prototype.bbox=function(){var o=this._pbf;o.pos=this._geometry;for(var a=o.readVarint()+o.pos,p=1,y=0,_=0,v=0,P=1/0,S=-1/0,C=1/0,M=-1/0;o.pos>3}if(y--,p===1||p===2)(_+=o.readSVarint())S&&(S=_),(v+=o.readSVarint())M&&(M=v);else if(p!==7)throw new Error("unknown command "+p)}return[P,C,S,M]},vc.prototype.toGeoJSON=function(o,a,p){var y,_,v=this.extent*Math.pow(2,p),P=this.extent*o,S=this.extent*a,C=this.loadGeometry(),M=vc.types[this.type];function O(Y){for(var le=0;le>3;_=P===1?y.readString():P===2?y.readFloat():P===3?y.readDouble():P===4?y.readVarint64():P===5?y.readVarint():P===6?y.readSVarint():P===7?y.readBoolean():null}return _}(p))}function Zy(o,a,p){if(o===3){var y=new id(p,p.readVarint()+p.pos);y.length&&(a[y.name]=y)}}Ec.prototype.feature=function(o){if(o<0||o>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[o];var a=this._pbf.readVarint()+this._pbf.pos;return new Xy(this._pbf,a,this.extent,this._keys,this._values)};var kp={VectorTile:function(o,a){this.layers=o.readFields(Zy,{},a)},VectorTileFeature:Xy,VectorTileLayer:id},X1=kp.VectorTileFeature.types,Z1=Math.pow(2,13);function ha(o,a,p,y,_,v,P,S){o.emplaceBack(a,p,2*Math.floor(y*Z1)+P,_*Z1*2,v*Z1*2,Math.round(S))}var ia=function(o){this.zoom=o.zoom,this.overscaling=o.overscaling,this.layers=o.layers,this.layerIds=this.layers.map(function(a){return a.id}),this.index=o.index,this.hasPattern=!1,this.layoutVertexArray=new ou,this.indexArray=new Rs,this.programConfigurations=new zr(o.layers,o.zoom),this.segments=new K,this.stateDependentLayerIds=this.layers.filter(function(a){return a.isStateDependent()}).map(function(a){return a.id})};function fn(o,a){return o.x===a.x&&(o.x<0||o.x>8192)||o.y===a.y&&(o.y<0||o.y>8192)}ia.prototype.populate=function(o,a,p){this.features=[],this.hasPattern=rd("fill-extrusion",this.layers,a);for(var y=0,_=o;y<_.length;y+=1){var v=_[y],P=v.feature,S=v.id,C=v.index,M=v.sourceLayerIndex,O=this.layers[0]._featureFilter.needGeometry,U=wi(P,O);if(this.layers[0]._featureFilter.filter(new po(this.zoom),U,p)){var j={id:S,sourceLayerIndex:M,index:C,geometry:O?U.geometry:Fi(P),properties:P.properties,type:P.type,patterns:{}};this.hasPattern?this.features.push(od("fill-extrusion",this.layers,j,this.zoom,a)):this.addFeature(j,j.geometry,C,p,{}),a.featureIndex.insert(P,j.geometry,C,M,this.index,!0)}}},ia.prototype.addFeatures=function(o,a,p){for(var y=0,_=this.features;y<_.length;y+=1){var v=_[y];this.addFeature(v,v.geometry,v.index,a,p)}},ia.prototype.update=function(o,a,p){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(o,a,this.stateDependentLayers,p)},ia.prototype.isEmpty=function(){return this.layoutVertexArray.length===0},ia.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},ia.prototype.upload=function(o){this.uploaded||(this.layoutVertexBuffer=o.createVertexBuffer(this.layoutVertexArray,Wy),this.indexBuffer=o.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(o),this.uploaded=!0},ia.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},ia.prototype.addFeature=function(o,a,p,y,_){for(var v=0,P=W1(a,500);v8192})||Co.every(function(lo){return lo.y<0})||Co.every(function(lo){return lo.y>8192})))for(var he=0,Re=0;Re=1){var Ve=le[Re-1];if(!fn(be,Ve)){U.vertexLength+4>K.MAX_VERTEX_ARRAY_LENGTH&&(U=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var Ze=be.sub(Ve)._perp()._unit(),it=Ve.dist(be);he+it>32768&&(he=0),ha(this.layoutVertexArray,be.x,be.y,Ze.x,Ze.y,0,0,he),ha(this.layoutVertexArray,be.x,be.y,Ze.x,Ze.y,0,1,he),ha(this.layoutVertexArray,Ve.x,Ve.y,Ze.x,Ze.y,0,0,he+=it),ha(this.layoutVertexArray,Ve.x,Ve.y,Ze.x,Ze.y,0,1,he);var ut=U.vertexLength;this.indexArray.emplaceBack(ut,ut+2,ut+1),this.indexArray.emplaceBack(ut+1,ut+2,ut+3),U.vertexLength+=4,U.primitiveLength+=2}}}}if(U.vertexLength+C>K.MAX_VERTEX_ARRAY_LENGTH&&(U=this.segments.prepareSegment(C,this.layoutVertexArray,this.indexArray)),X1[o.type]==="Polygon"){for(var Et=[],kt=[],qt=U.vertexLength,Ir=0,pr=S;Ir=2&&o[C-1].equals(o[C-2]);)C--;for(var M=0;M0;if(kt&&be>M){var Ir=O.dist(Y);if(Ir>2*U){var pr=O.sub(O.sub(Y)._mult(U/Ir)._round());this.updateDistance(Y,pr),this.addCurrentVertex(pr,he,0,0,j),Y=pr}}var Br=Y&&le,dr=Br?p:S?"butt":y;if(Br&&dr==="round"&&(ut_&&(dr="bevel"),dr==="bevel"&&(ut>2&&(dr="flipbevel"),ut<_&&(dr="miter")),Y&&this.updateDistance(Y,O),dr==="miter")Ve._mult(ut),this.addCurrentVertex(O,Ve,0,0,j);else if(dr==="flipbevel"){if(ut>100)Ve=Re.mult(-1);else{var Po=ut*he.add(Re).mag()/he.sub(Re).mag();Ve._perp()._mult(Po*(qt?-1:1))}this.addCurrentVertex(O,Ve,0,0,j),this.addCurrentVertex(O,Ve.mult(-1),0,0,j)}else if(dr==="bevel"||dr==="fakeround"){var Zr=-Math.sqrt(ut*ut-1),Pr=qt?Zr:0,Co=qt?0:Zr;if(Y&&this.addCurrentVertex(O,he,Pr,Co,j),dr==="fakeround")for(var lo=Math.round(180*Et/Math.PI/20),Vo=1;Vo2*U){var Ii=O.add(le.sub(O)._mult(U/ji)._round());this.updateDistance(O,Ii),this.addCurrentVertex(Ii,Re,0,0,j),O=Ii}}}}},fa.prototype.addCurrentVertex=function(o,a,p,y,_,v){v===void 0&&(v=!1);var P=a.y*y-a.x,S=-a.y-a.x*y;this.addHalfVertex(o,a.x+a.y*p,a.y-a.x*p,v,!1,p,_),this.addHalfVertex(o,P,S,v,!0,-y,_),this.distance>Ky/2&&this.totalDistance===0&&(this.distance=0,this.addCurrentVertex(o,a,p,y,_,v))},fa.prototype.addHalfVertex=function(o,a,p,y,_,v,P){var S=.5*(this.lineClips?this.scaledDistance*(Ky-1):this.scaledDistance);this.layoutVertexArray.emplaceBack((o.x<<1)+(y?1:0),(o.y<<1)+(_?1:0),Math.round(63*a)+128,Math.round(63*p)+128,1+(v===0?0:v<0?-1:1)|(63&S)<<2,S>>6),this.lineClips&&this.layoutVertexArray2.emplaceBack((this.scaledDistance-this.lineClips.start)/(this.lineClips.end-this.lineClips.start),this.lineClipsArray.length);var C=P.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,C),P.primitiveLength++),_?this.e2=C:this.e1=C},fa.prototype.updateScaledDistance=function(){this.scaledDistance=this.lineClips?this.lineClips.start+(this.lineClips.end-this.lineClips.start)*this.distance/this.totalDistance:this.distance},fa.prototype.updateDistance=function(o,a){this.distance+=o.dist(a),this.updateScaledDistance()},hr("LineBucket",fa,{omit:["layers","patternFeatures"]});var lm=new Ai({"line-cap":new Rr(q.layout_line["line-cap"]),"line-join":new gr(q.layout_line["line-join"]),"line-miter-limit":new Rr(q.layout_line["line-miter-limit"]),"line-round-limit":new Rr(q.layout_line["line-round-limit"]),"line-sort-key":new gr(q.layout_line["line-sort-key"])}),Qy={paint:new Ai({"line-opacity":new gr(q.paint_line["line-opacity"]),"line-color":new gr(q.paint_line["line-color"]),"line-translate":new Rr(q.paint_line["line-translate"]),"line-translate-anchor":new Rr(q.paint_line["line-translate-anchor"]),"line-width":new gr(q.paint_line["line-width"]),"line-gap-width":new gr(q.paint_line["line-gap-width"]),"line-offset":new gr(q.paint_line["line-offset"]),"line-blur":new gr(q.paint_line["line-blur"]),"line-dasharray":new Xn(q.paint_line["line-dasharray"]),"line-pattern":new Ta(q.paint_line["line-pattern"]),"line-gradient":new cs(q.paint_line["line-gradient"])}),layout:lm},nd=new(function(o){function a(){o.apply(this,arguments)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype.possiblyEvaluate=function(p,y){return y=new po(Math.floor(y.zoom),{now:y.now,fadeDuration:y.fadeDuration,zoomHistory:y.zoomHistory,transition:y.transition}),o.prototype.possiblyEvaluate.call(this,p,y)},a.prototype.evaluate=function(p,y,_,v){return y=Q({},y,{zoom:Math.floor(y.zoom)}),o.prototype.evaluate.call(this,p,y,_,v)},a}(gr))(Qy.paint.properties["line-width"].specification);nd.useIntegerZoom=!0;var Jy=function(o){function a(p){o.call(this,p,Qy),this.gradientVersion=0}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype._handleSpecialPaintPropertyUpdate=function(p){p==="line-gradient"&&(this.stepInterpolant=this._transitionablePaint._values["line-gradient"].value.expression._styleExpression.expression instanceof ba,this.gradientVersion=(this.gradientVersion+1)%R)},a.prototype.gradientExpression=function(){return this._transitionablePaint._values["line-gradient"].value.expression},a.prototype.recalculate=function(p,y){o.prototype.recalculate.call(this,p,y),this.paint._values["line-floorwidth"]=nd.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,p)},a.prototype.createBucket=function(p){return new fa(p)},a.prototype.queryRadius=function(p){var y=p,_=ad(kn("line-width",this,y),kn("line-gap-width",this,y)),v=kn("line-offset",this,y);return _/2+Math.abs(v)+Bi(this.paint.get("line-translate"))},a.prototype.queryIntersectsFeature=function(p,y,_,v,P,S,C){var M=da(p,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),S.angle,C),O=C/2*ad(this.paint.get("line-width").evaluate(y,_),this.paint.get("line-gap-width").evaluate(y,_)),U=this.paint.get("line-offset").evaluate(y,_);return U&&(v=function(j,Y){for(var le=[],he=new x(0,0),Re=0;Re=3){for(var be=0;be0?a+2*o:o}var dm=yn([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),ym=yn([{name:"a_projected_pos",components:3,type:"Float32"}],4),eh=(yn([{name:"a_fade_opacity",components:1,type:"Uint32"}],4),yn([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}])),th=(yn([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]),yn([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4)),N=yn([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);function ie(o,a,p){return o.sections.forEach(function(y){y.text=function(_,v,P){var S=v.layout.get("text-transform").evaluate(P,{});return S==="uppercase"?_=_.toLocaleUpperCase():S==="lowercase"&&(_=_.toLocaleLowerCase()),Ba.applyArabicShaping&&(_=Ba.applyArabicShaping(_)),_}(y.text,a,p)}),o}yn([{name:"triangle",components:3,type:"Uint16"}]),yn([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),yn([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",components:2,name:"textOffset"},{type:"Float32",name:"collisionCircleDiameter"}]),yn([{type:"Float32",name:"offsetX"}]),yn([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);var xe={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"},et=function(o,a,p,y,_){var v,P,S=8*_-y-1,C=(1<>1,O=-7,U=_-1,j=-1,Y=o[a+U];for(U+=j,v=Y&(1<<-O)-1,Y>>=-O,O+=S;O>0;v=256*v+o[a+U],U+=j,O-=8);for(P=v&(1<<-O)-1,v>>=-O,O+=y;O>0;P=256*P+o[a+U],U+=j,O-=8);if(v===0)v=1-M;else{if(v===C)return P?NaN:1/0*(Y?-1:1);P+=Math.pow(2,y),v-=M}return(Y?-1:1)*P*Math.pow(2,v-y)},gt=function(o,a,p,y,_,v){var P,S,C,M=8*v-_-1,O=(1<>1,j=_===23?Math.pow(2,-24)-Math.pow(2,-77):0,Y=0,le=1,he=a<0||a===0&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(S=isNaN(a)?1:0,P=O):(P=Math.floor(Math.log(a)/Math.LN2),a*(C=Math.pow(2,-P))<1&&(P--,C*=2),(a+=P+U>=1?j/C:j*Math.pow(2,1-U))*C>=2&&(P++,C/=2),P+U>=O?(S=0,P=O):P+U>=1?(S=(a*C-1)*Math.pow(2,_),P+=U):(S=a*Math.pow(2,U-1)*Math.pow(2,_),P=0));_>=8;o[p+Y]=255&S,Y+=le,S/=256,_-=8);for(P=P<<_|S,M+=_;M>0;o[p+Y]=255&P,Y+=le,P/=256,M-=8);o[p+Y-le]|=128*he},tt=Ye;function Ye(o){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(o)?o:new Uint8Array(o||0),this.pos=0,this.type=0,this.length=this.buf.length}Ye.Varint=0,Ye.Fixed64=1,Ye.Bytes=2,Ye.Fixed32=5;var Ot=typeof TextDecoder>"u"?null:new TextDecoder("utf8");function Rt(o){return o.type===Ye.Bytes?o.readVarint()+o.pos:o.pos+1}function Xt(o,a,p){return p?4294967296*a+(o>>>0):4294967296*(a>>>0)+(o>>>0)}function Ut(o,a,p){var y=a<=16383?1:a<=2097151?2:a<=268435455?3:Math.floor(Math.log(a)/(7*Math.LN2));p.realloc(y);for(var _=p.pos-1;_>=o;_--)p.buf[_+y]=p.buf[_]}function Gt(o,a){for(var p=0;p>>8,o[p+2]=a>>>16,o[p+3]=a>>>24}function rr(o,a){return(o[a]|o[a+1]<<8|o[a+2]<<16)+(o[a+3]<<24)}function Tt(o,a,p){o===1&&p.readMessage(Qt,a)}function Qt(o,a,p){if(o===3){var y=p.readMessage(Or,{}),_=y.width,v=y.height,P=y.left,S=y.top,C=y.advance;a.push({id:y.id,bitmap:new Np({width:_+6,height:v+6},y.bitmap),metrics:{width:_,height:v,left:P,top:S,advance:C}})}}function Or(o,a,p){o===1?a.id=p.readVarint():o===2?a.bitmap=p.readBytes():o===3?a.width=p.readVarint():o===4?a.height=p.readVarint():o===5?a.left=p.readSVarint():o===6?a.top=p.readSVarint():o===7&&(a.advance=p.readVarint())}function ro(o){for(var a=0,p=0,y=0,_=o;y<_.length;y+=1){var v=_[y];a+=v.w*v.h,p=Math.max(p,v.w)}o.sort(function(he,Re){return Re.h-he.h});for(var P=[{x:0,y:0,w:Math.max(Math.ceil(Math.sqrt(a/.95)),p),h:1/0}],S=0,C=0,M=0,O=o;M=0;j--){var Y=P[j];if(!(U.w>Y.w||U.h>Y.h)){if(U.x=Y.x,U.y=Y.y,C=Math.max(C,U.y+U.h),S=Math.max(S,U.x+U.w),U.w===Y.w&&U.h===Y.h){var le=P.pop();j>3,v=this.pos;this.type=7&y,o(_,a,this),this.pos===v&&this.skip(y)}return a},readMessage:function(o,a){return this.readFields(o,a,this.readVarint()+this.pos)},readFixed32:function(){var o=ar(this.buf,this.pos);return this.pos+=4,o},readSFixed32:function(){var o=rr(this.buf,this.pos);return this.pos+=4,o},readFixed64:function(){var o=ar(this.buf,this.pos)+4294967296*ar(this.buf,this.pos+4);return this.pos+=8,o},readSFixed64:function(){var o=ar(this.buf,this.pos)+4294967296*rr(this.buf,this.pos+4);return this.pos+=8,o},readFloat:function(){var o=et(this.buf,this.pos,!0,23,4);return this.pos+=4,o},readDouble:function(){var o=et(this.buf,this.pos,!0,52,8);return this.pos+=8,o},readVarint:function(o){var a,p,y=this.buf;return a=127&(p=y[this.pos++]),p<128?a:(a|=(127&(p=y[this.pos++]))<<7,p<128?a:(a|=(127&(p=y[this.pos++]))<<14,p<128?a:(a|=(127&(p=y[this.pos++]))<<21,p<128?a:function(_,v,P){var S,C,M=P.buf;if(S=(112&(C=M[P.pos++]))>>4,C<128||(S|=(127&(C=M[P.pos++]))<<3,C<128)||(S|=(127&(C=M[P.pos++]))<<10,C<128)||(S|=(127&(C=M[P.pos++]))<<17,C<128)||(S|=(127&(C=M[P.pos++]))<<24,C<128)||(S|=(1&(C=M[P.pos++]))<<31,C<128))return Xt(_,S,v);throw new Error("Expected varint not more than 10 bytes")}(a|=(15&(p=y[this.pos]))<<28,o,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var o=this.readVarint();return o%2==1?(o+1)/-2:o/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var o=this.readVarint()+this.pos,a=this.pos;return this.pos=o,o-a>=12&&Ot?function(p,y,_){return Ot.decode(p.subarray(y,_))}(this.buf,a,o):function(p,y,_){for(var v="",P=y;P<_;){var S,C,M,O=p[P],U=null,j=O>239?4:O>223?3:O>191?2:1;if(P+j>_)break;j===1?O<128&&(U=O):j===2?(192&(S=p[P+1]))==128&&(U=(31&O)<<6|63&S)<=127&&(U=null):j===3?(C=p[P+2],(192&(S=p[P+1]))==128&&(192&C)==128&&((U=(15&O)<<12|(63&S)<<6|63&C)<=2047||U>=55296&&U<=57343)&&(U=null)):j===4&&(C=p[P+2],M=p[P+3],(192&(S=p[P+1]))==128&&(192&C)==128&&(192&M)==128&&((U=(15&O)<<18|(63&S)<<12|(63&C)<<6|63&M)<=65535||U>=1114112)&&(U=null)),U===null?(U=65533,j=1):U>65535&&(U-=65536,v+=String.fromCharCode(U>>>10&1023|55296),U=56320|1023&U),v+=String.fromCharCode(U),P+=j}return v}(this.buf,a,o)},readBytes:function(){var o=this.readVarint()+this.pos,a=this.buf.subarray(this.pos,o);return this.pos=o,a},readPackedVarint:function(o,a){if(this.type!==Ye.Bytes)return o.push(this.readVarint(a));var p=Rt(this);for(o=o||[];this.pos127;);else if(a===Ye.Bytes)this.pos=this.readVarint()+this.pos;else if(a===Ye.Fixed32)this.pos+=4;else{if(a!==Ye.Fixed64)throw new Error("Unimplemented type: "+a);this.pos+=8}},writeTag:function(o,a){this.writeVarint(o<<3|a)},realloc:function(o){for(var a=this.length||16;a268435455||o<0?function(a,p){var y,_;if(a>=0?(y=a%4294967296|0,_=a/4294967296|0):(_=~(-a/4294967296),4294967295^(y=~(-a%4294967296))?y=y+1|0:(y=0,_=_+1|0)),a>=18446744073709552e3||a<-18446744073709552e3)throw new Error("Given varint doesn't fit into 10 bytes");p.realloc(10),function(v,P,S){S.buf[S.pos++]=127&v|128,v>>>=7,S.buf[S.pos++]=127&v|128,v>>>=7,S.buf[S.pos++]=127&v|128,v>>>=7,S.buf[S.pos++]=127&v|128,S.buf[S.pos]=127&(v>>>=7)}(y,0,p),function(v,P){var S=(7&v)<<4;P.buf[P.pos++]|=S|((v>>>=3)?128:0),v&&(P.buf[P.pos++]=127&v|((v>>>=7)?128:0),v&&(P.buf[P.pos++]=127&v|((v>>>=7)?128:0),v&&(P.buf[P.pos++]=127&v|((v>>>=7)?128:0),v&&(P.buf[P.pos++]=127&v|((v>>>=7)?128:0),v&&(P.buf[P.pos++]=127&v)))))}(_,p)}(o,this):(this.realloc(4),this.buf[this.pos++]=127&o|(o>127?128:0),o<=127||(this.buf[this.pos++]=127&(o>>>=7)|(o>127?128:0),o<=127||(this.buf[this.pos++]=127&(o>>>=7)|(o>127?128:0),o<=127||(this.buf[this.pos++]=o>>>7&127))))},writeSVarint:function(o){this.writeVarint(o<0?2*-o-1:2*o)},writeBoolean:function(o){this.writeVarint(!!o)},writeString:function(o){o=String(o),this.realloc(4*o.length),this.pos++;var a=this.pos;this.pos=function(y,_,v){for(var P,S,C=0;C<_.length;C++){if((P=_.charCodeAt(C))>55295&&P<57344){if(!S){P>56319||C+1===_.length?(y[v++]=239,y[v++]=191,y[v++]=189):S=P;continue}if(P<56320){y[v++]=239,y[v++]=191,y[v++]=189,S=P;continue}P=S-55296<<10|P-56320|65536,S=null}else S&&(y[v++]=239,y[v++]=191,y[v++]=189,S=null);P<128?y[v++]=P:(P<2048?y[v++]=P>>6|192:(P<65536?y[v++]=P>>12|224:(y[v++]=P>>18|240,y[v++]=P>>12&63|128),y[v++]=P>>6&63|128),y[v++]=63&P|128)}return v}(this.buf,o,this.pos);var p=this.pos-a;p>=128&&Ut(a,p,this),this.pos=a-1,this.writeVarint(p),this.pos+=p},writeFloat:function(o){this.realloc(4),gt(this.buf,o,this.pos,!0,23,4),this.pos+=4},writeDouble:function(o){this.realloc(8),gt(this.buf,o,this.pos,!0,52,8),this.pos+=8},writeBytes:function(o){var a=o.length;this.writeVarint(a),this.realloc(a);for(var p=0;p=128&&Ut(p,y,this),this.pos=p-1,this.writeVarint(y),this.pos+=y},writeMessage:function(o,a,p){this.writeTag(o,Ye.Bytes),this.writeRawMessage(a,p)},writePackedVarint:function(o,a){a.length&&this.writeMessage(o,Gt,a)},writePackedSVarint:function(o,a){a.length&&this.writeMessage(o,$t,a)},writePackedBoolean:function(o,a){a.length&&this.writeMessage(o,je,a)},writePackedFloat:function(o,a){a.length&&this.writeMessage(o,Ct,a)},writePackedDouble:function(o,a){a.length&&this.writeMessage(o,jt,a)},writePackedFixed32:function(o,a){a.length&&this.writeMessage(o,pt,a)},writePackedSFixed32:function(o,a){a.length&&this.writeMessage(o,Lt,a)},writePackedFixed64:function(o,a){a.length&&this.writeMessage(o,tr,a)},writePackedSFixed64:function(o,a){a.length&&this.writeMessage(o,At,a)},writeBytesField:function(o,a){this.writeTag(o,Ye.Bytes),this.writeBytes(a)},writeFixed32Field:function(o,a){this.writeTag(o,Ye.Fixed32),this.writeFixed32(a)},writeSFixed32Field:function(o,a){this.writeTag(o,Ye.Fixed32),this.writeSFixed32(a)},writeFixed64Field:function(o,a){this.writeTag(o,Ye.Fixed64),this.writeFixed64(a)},writeSFixed64Field:function(o,a){this.writeTag(o,Ye.Fixed64),this.writeSFixed64(a)},writeVarintField:function(o,a){this.writeTag(o,Ye.Varint),this.writeVarint(a)},writeSVarintField:function(o,a){this.writeTag(o,Ye.Varint),this.writeSVarint(a)},writeStringField:function(o,a){this.writeTag(o,Ye.Bytes),this.writeString(a)},writeFloatField:function(o,a){this.writeTag(o,Ye.Fixed32),this.writeFloat(a)},writeDoubleField:function(o,a){this.writeTag(o,Ye.Fixed64),this.writeDouble(a)},writeBooleanField:function(o,a){this.writeVarintField(o,!!a)}};var Jt=function(o,a){var p=a.pixelRatio,y=a.version,_=a.stretchX,v=a.stretchY,P=a.content;this.paddedRect=o,this.pixelRatio=p,this.stretchX=_,this.stretchY=v,this.content=P,this.version=y},Dt={tl:{configurable:!0},br:{configurable:!0},tlbr:{configurable:!0},displaySize:{configurable:!0}};Dt.tl.get=function(){return[this.paddedRect.x+1,this.paddedRect.y+1]},Dt.br.get=function(){return[this.paddedRect.x+this.paddedRect.w-1,this.paddedRect.y+this.paddedRect.h-1]},Dt.tlbr.get=function(){return this.tl.concat(this.br)},Dt.displaySize.get=function(){return[(this.paddedRect.w-2)/this.pixelRatio,(this.paddedRect.h-2)/this.pixelRatio]},Object.defineProperties(Jt.prototype,Dt);var vt=function(o,a){var p={},y={};this.haveRenderCallbacks=[];var _=[];this.addImages(o,p,_),this.addImages(a,y,_);var v=ro(_),P=new ya({width:v.w||1,height:v.h||1});for(var S in o){var C=o[S],M=p[S].paddedRect;ya.copy(C.data,P,{x:0,y:0},{x:M.x+1,y:M.y+1},C.data)}for(var O in a){var U=a[O],j=y[O].paddedRect,Y=j.x+1,le=j.y+1,he=U.data.width,Re=U.data.height;ya.copy(U.data,P,{x:0,y:0},{x:Y,y:le},U.data),ya.copy(U.data,P,{x:0,y:Re-1},{x:Y,y:le-1},{width:he,height:1}),ya.copy(U.data,P,{x:0,y:0},{x:Y,y:le+Re},{width:he,height:1}),ya.copy(U.data,P,{x:he-1,y:0},{x:Y-1,y:le},{width:1,height:Re}),ya.copy(U.data,P,{x:0,y:0},{x:Y+he,y:le},{width:1,height:Re})}this.image=P,this.iconPositions=p,this.patternPositions=y};vt.prototype.addImages=function(o,a,p){for(var y in o){var _=o[y],v={x:0,y:0,w:_.data.width+2,h:_.data.height+2};p.push(v),a[y]=new Jt(v,_),_.hasRenderCallback&&this.haveRenderCallbacks.push(y)}},vt.prototype.patchUpdatedImages=function(o,a){for(var p in o.dispatchRenderCallbacks(this.haveRenderCallbacks),o.updatedImages)this.patchUpdatedImage(this.iconPositions[p],o.getImage(p),a),this.patchUpdatedImage(this.patternPositions[p],o.getImage(p),a)},vt.prototype.patchUpdatedImage=function(o,a,p){if(o&&a&&o.version!==a.version){o.version=a.version;var y=o.tl;p.update(a.data,void 0,{x:y[0],y:y[1]})}},hr("ImagePosition",Jt),hr("ImageAtlas",vt);var Lr={horizontal:1,vertical:2,horizontalOnly:3},xo=function(){this.scale=1,this.fontStack="",this.imageName=null};xo.forText=function(o,a){var p=new xo;return p.scale=o||1,p.fontStack=a,p},xo.forImage=function(o){var a=new xo;return a.imageName=o,a};var sr=function(){this.text="",this.sectionIndex=[],this.sections=[],this.imageSectionID=null};function ho(o,a,p,y,_,v,P,S,C,M,O,U,j,Y,le,he){var Re,be=sr.fromFeature(o,_);U===Lr.vertical&&be.verticalizePunctuation();var Ve=Ba.processBidirectionalText,Ze=Ba.processStyledBidirectionalText;if(Ve&&be.sections.length===1){Re=[];for(var it=0,ut=Ve(be.toString(),Ji(be,M,v,a,y,Y,le));it0&&Q1>En&&(En=Q1)}else{var ah=lo[qo.fontStack],J1=ah&&ah[Ds];if(J1&&J1.rect)Hp=J1.rect,rn=J1.metrics;else{var cd=Co[qo.fontStack],sh=cd&&cd[Ds];if(!sh)continue;rn=sh.metrics}Vp=24*(Wo-qo.scale)}o1?(Pr.verticalizable=!0,Ti.push({glyph:Ds,imageName:Uu,x:Hn,y:Ra+Vp,vertical:o1,scale:qo.scale,fontStack:qo.fontStack,sectionIndex:zp,metrics:rn,rect:Hp}),Hn+=q1*qo.scale+Ii):(Ti.push({glyph:Ds,imageName:Uu,x:Hn,y:Ra+Vp,vertical:o1,scale:qo.scale,fontStack:qo.fontStack,sectionIndex:zp,metrics:rn,rect:Hp}),Hn+=rn.advance*qo.scale+Ii)}Ti.length!==0&&(qn=Math.max(Hn-Ii,qn),mn(Ti,0,Ti.length-1,tn,En)),Hn=0;var uh=$o*Wo+En;ma.lineOffset=Math.max(En,za),Ra+=uh,Ca=Math.max(uh,Ca),++Kn}else Ra+=$o,++Kn}var Ac,ld=Ra- -17,e0=mi(Ci),cl=e0.horizontalAlign,t0=e0.verticalAlign;(function(ph,ch,dd,yd,lh,hd,fd,md,dh){var r0,yh=(ch-dd)*lh;r0=hd!==fd?-md*yd- -17:(-yd*dh+.5)*fd;for(var o0=0,_d=ph;o0<_d.length;o0+=1)for(var i1=0,gd=_d[o0].positionedGlyphs;i1=0&&y>=o&&eo[this.text.charCodeAt(y)];y--)p--;this.text=this.text.substring(o,p),this.sectionIndex=this.sectionIndex.slice(o,p)},sr.prototype.substring=function(o,a){var p=new sr;return p.text=this.text.substring(o,a),p.sectionIndex=this.sectionIndex.slice(o,a),p.sections=this.sections,p},sr.prototype.toString=function(){return this.text},sr.prototype.getMaxScale=function(){var o=this;return this.sectionIndex.reduce(function(a,p){return Math.max(a,o.sections[p].scale)},0)},sr.prototype.addTextSection=function(o,a){this.text+=o.text,this.sections.push(xo.forText(o.scale,o.fontStack||a));for(var p=this.sections.length-1,y=0;y=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)};var eo={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},Wr={};function jo(o,a,p,y,_,v){if(a.imageName){var P=y[a.imageName];return P?P.displaySize[0]*a.scale*24/v+_:0}var S=p[a.fontStack],C=S&&S[o];return C?C.metrics.advance*a.scale+_:0}function Qi(o,a,p,y){var _=Math.pow(o-a,2);return y?o=0,U=0,j=0;j-p/2;){if(--P<0)return!1;S-=o[P].dist(v),v=o[P]}S+=o[P].dist(o[P+1]),P++;for(var C=[],M=0;S

y;)M-=C.shift().angleDelta;if(M>_)return!1;P++,S+=O.dist(U)}return!0}function Zo(o){for(var a=0,p=0;pM){var le=(M-C)/Y,he=Oi(U.x,j.x,le),Re=Oi(U.y,j.y,le),be=new ki(he,Re,j.angleTo(U),O);return be._round(),!P||Yn(o,be,S,P,a)?be:void 0}C+=Y}}function en(o,a,p,y,_,v,P,S,C){var M=Vr(y,v,P),O=To(y,_),U=O*P,j=o[0].x===0||o[0].x===C||o[0].y===0||o[0].y===C;return a-U=0&&Vo=0&&Ur=0&&pr+kt<=qt){var $o=new ki(Vo,Ur,Co,dr);$o._round(),be&&!Yn(le,$o,Ze,be,Ve)||Br.push($o)}}Ir+=Pr}return ut||Br.length||it||(Br=Y(le,Ir/2,Re,be,Ve,Ze,it,!0,Et)),Br}(o,j?a/2*S%a:(O/2+2*v)*P*S%a,a,M,p,U,j,!1,C)}function au(o,a,p,y,_){for(var v=[],P=0;P=y&&U.x>=y||(O.x>=y?O=new x(y,O.y+(y-O.x)/(U.x-O.x)*(U.y-O.y))._round():U.x>=y&&(U=new x(y,O.y+(y-O.x)/(U.x-O.x)*(U.y-O.y))._round()),O.y>=_&&U.y>=_||(O.y>=_?O=new x(O.x+(_-O.y)/(U.y-O.y)*(U.x-O.x),_)._round():U.y>=_&&(U=new x(O.x+(_-O.y)/(U.y-O.y)*(U.x-O.x),_)._round()),C&&O.equals(C[C.length-1])||v.push(C=[O]),C.push(U)))))}return v}function fe(o,a,p,y){var _=[],v=o.image,P=v.pixelRatio,S=v.paddedRect.w-2,C=v.paddedRect.h-2,M=o.right-o.left,O=o.bottom-o.top,U=v.stretchX||[[0,S]],j=v.stretchY||[[0,C]],Y=function(Vo,Ur){return Vo+Ur[1]-Ur[0]},le=U.reduce(Y,0),he=j.reduce(Y,0),Re=S-le,be=C-he,Ve=0,Ze=le,it=0,ut=he,Et=0,kt=Re,qt=0,Ir=be;if(v.content&&y){var pr=v.content;Ve=ot(U,0,pr[0]),it=ot(j,0,pr[1]),Ze=ot(U,pr[0],pr[2]),ut=ot(j,pr[1],pr[3]),Et=pr[0]-Ve,qt=pr[1]-it,kt=pr[2]-pr[0]-Ze,Ir=pr[3]-pr[1]-ut}var Br=function(Vo,Ur,$o,Ci){var Zi=ur(Vo.stretch-Ve,Ze,M,o.left),ji=fo(Vo.fixed-Et,kt,Vo.stretch,le),Ii=ur(Ur.stretch-it,ut,O,o.top),Yi=fo(Ur.fixed-qt,Ir,Ur.stretch,he),Vn=ur($o.stretch-Ve,Ze,M,o.left),Hn=fo($o.fixed-Et,kt,$o.stretch,le),Ra=ur(Ci.stretch-it,ut,O,o.top),qn=fo(Ci.fixed-qt,Ir,Ci.stretch,he),Ca=new x(Zi,Ii),tn=new x(Vn,Ii),Kn=new x(Vn,Ra),Do=new x(Zi,Ra),yi=new x(ji/P,Yi/P),ni=new x(Hn/P,qn/P),Wo=a*Math.PI/180;if(Wo){var za=Math.sin(Wo),ma=Math.cos(Wo),Ti=[ma,-za,za,ma];Ca._matMult(Ti),tn._matMult(Ti),Do._matMult(Ti),Kn._matMult(Ti)}var En=Vo.stretch+Vo.fixed,_a=Ur.stretch+Ur.fixed;return{tl:Ca,tr:tn,bl:Do,br:Kn,tex:{x:v.paddedRect.x+1+En,y:v.paddedRect.y+1+_a,w:$o.stretch+$o.fixed-En,h:Ci.stretch+Ci.fixed-_a},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:yi,pixelOffsetBR:ni,minFontScaleX:kt/P/M,minFontScaleY:Ir/P/O,isSDF:p}};if(y&&(v.stretchX||v.stretchY))for(var dr=Ke(U,Re,le),Po=Ke(j,be,he),Zr=0;Zr0&&(Y=Math.max(10,Y),this.circleDiameter=Y)}else{var le=v.top*P-S,he=v.bottom*P+S,Re=v.left*P-S,be=v.right*P+S,Ve=v.collisionPadding;if(Ve&&(Re-=Ve[0]*P,le-=Ve[1]*P,be+=Ve[2]*P,he+=Ve[3]*P),M){var Ze=new x(Re,le),it=new x(be,le),ut=new x(Re,he),Et=new x(be,he),kt=M*Math.PI/180;Ze._rotate(kt),it._rotate(kt),ut._rotate(kt),Et._rotate(kt),Re=Math.min(Ze.x,it.x,ut.x,Et.x),be=Math.max(Ze.x,it.x,ut.x,Et.x),le=Math.min(Ze.y,it.y,ut.y,Et.y),he=Math.max(Ze.y,it.y,ut.y,Et.y)}o.emplaceBack(a.x,a.y,Re,le,be,he,p,y,_)}this.boxEndIndex=o.length},Z=function(o,a){if(o===void 0&&(o=[]),a===void 0&&(a=pe),this.data=o,this.length=this.data.length,this.compare=a,this.length>0)for(var p=(this.length>>1)-1;p>=0;p--)this._down(p)};function pe(o,a){return oa?1:0}function Pe(o,a,p){p===void 0&&(p=!1);for(var y=1/0,_=1/0,v=-1/0,P=-1/0,S=o[0],C=0;Cv)&&(v=M.x),(!C||M.y>P)&&(P=M.y)}var O=Math.min(v-y,P-_),U=O/2,j=new Z([],Qe);if(O===0)return new x(y,_);for(var Y=y;Yhe.d||!he.d)&&(he=be,p&&console.log("found best %d after %d probes",Math.round(1e4*be.d)/1e4,Re)),be.max-he.d<=a||(j.push(new qe(be.p.x-(U=be.h/2),be.p.y-U,U,o)),j.push(new qe(be.p.x+U,be.p.y-U,U,o)),j.push(new qe(be.p.x-U,be.p.y+U,U,o)),j.push(new qe(be.p.x+U,be.p.y+U,U,o)),Re+=4)}return p&&(console.log("num probes: "+Re),console.log("best distance: "+he.d)),he.p}function Qe(o,a){return a.max-o.max}function qe(o,a,p,y){this.p=new x(o,a),this.h=p,this.d=function(_,v){for(var P=!1,S=1/0,C=0;C_.y!=le.y>_.y&&_.x<(le.x-Y.x)*(_.y-Y.y)/(le.y-Y.y)+Y.x&&(P=!P),S=Math.min(S,Du(_,Y,le))}return(P?1:-1)*Math.sqrt(S)}(this.p,y),this.max=this.d+this.h*Math.SQRT2}Z.prototype.push=function(o){this.data.push(o),this.length++,this._up(this.length-1)},Z.prototype.pop=function(){if(this.length!==0){var o=this.data[0],a=this.data.pop();return this.length--,this.length>0&&(this.data[0]=a,this._down(0)),o}},Z.prototype.peek=function(){return this.data[0]},Z.prototype._up=function(o){for(var a=this.data,p=this.compare,y=a[o];o>0;){var _=o-1>>1,v=a[_];if(p(y,v)>=0)break;a[o]=v,o=_}a[o]=y},Z.prototype._down=function(o){for(var a=this.data,p=this.compare,y=this.length>>1,_=a[o];o=0)break;a[o]=P,o=v}a[o]=_};var Se=Number.POSITIVE_INFINITY;function Ne(o,a){return a[1]!==Se?function(p,y,_){var v=0,P=0;switch(y=Math.abs(y),_=Math.abs(_),p){case"top-right":case"top-left":case"top":P=_-7;break;case"bottom-right":case"bottom-left":case"bottom":P=7-_}switch(p){case"top-right":case"bottom-right":case"right":v=-y;break;case"top-left":case"bottom-left":case"left":v=y}return[v,P]}(o,a[0],a[1]):function(p,y){var _=0,v=0;y<0&&(y=0);var P=y/Math.sqrt(2);switch(p){case"top-right":case"top-left":v=P-7;break;case"bottom-right":case"bottom-left":v=7-P;break;case"bottom":v=7-y;break;case"top":v=y-7}switch(p){case"top-right":case"bottom-right":_=-P;break;case"top-left":case"bottom-left":_=P;break;case"left":_=y;break;case"right":_=-y}return[_,v]}(o,a[0])}function Ue(o){switch(o){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}function me(o,a,p,y,_,v,P,S,C,M,O,U,j,Y,le){var he=function(it,ut,Et,kt,qt,Ir,pr,Br){for(var dr=kt.layout.get("text-rotate").evaluate(Ir,{})*Math.PI/180,Po=[],Zr=0,Pr=ut.positionedLines;Zr32640&&ze(o.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'):Re.kind==="composite"&&((be=[128*Y.compositeTextSizes[0].evaluate(P,{},le),128*Y.compositeTextSizes[1].evaluate(P,{},le)])[0]>32640||be[1]>32640)&&ze(o.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'),o.addSymbols(o.text,he,be,S,v,P,M,a,C.lineStartIndex,C.lineLength,j,le);for(var Ve=0,Ze=O;Ve=0;P--)if(y.dist(v[P])0)&&(v.value.kind!=="constant"||v.value.value.length>0),M=S.value.kind!=="constant"||!!S.value.value||Object.keys(S.parameters).length>0,O=_.get("symbol-sort-key");if(this.features=[],C||M){for(var U=a.iconDependencies,j=a.glyphDependencies,Y=a.availableImages,le=new po(this.zoom),he=0,Re=o;he=0;for(var Co=0,lo=qt.sections;Co=0;S--)v[S]={x:a[S].x,y:a[S].y,tileUnitDistanceFromAnchor:_},S>0&&(_+=a[S-1].dist(a[S]));for(var C=0;C0},fr.prototype.hasIconData=function(){return this.icon.segments.get().length>0},fr.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},fr.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},fr.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},fr.prototype.addIndicesForPlacedSymbol=function(o,a){for(var p=o.placedSymbolArray.get(a),y=p.vertexStartIndex+4*p.numGlyphs,_=p.vertexStartIndex;_1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(o),this.sortedAngle=o,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var p=0,y=this.symbolInstanceIndexes;p=0&&S.indexOf(v)===P&&a.addIndicesForPlacedSymbol(a.text,v)}),_.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,_.verticalPlacedTextSymbolIndex),_.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,_.placedIconSymbolIndex),_.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,_.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},hr("SymbolBucket",fr,{omit:["layers","collisionBoxArray","features","compareText"]}),fr.MAX_GLYPHS=65535,fr.addDynamicAttributes=St;var vr=new Ai({"symbol-placement":new Rr(q.layout_symbol["symbol-placement"]),"symbol-spacing":new Rr(q.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new Rr(q.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new gr(q.layout_symbol["symbol-sort-key"]),"symbol-z-order":new Rr(q.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new Rr(q.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new Rr(q.layout_symbol["icon-ignore-placement"]),"icon-optional":new Rr(q.layout_symbol["icon-optional"]),"icon-rotation-alignment":new Rr(q.layout_symbol["icon-rotation-alignment"]),"icon-size":new gr(q.layout_symbol["icon-size"]),"icon-text-fit":new Rr(q.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new Rr(q.layout_symbol["icon-text-fit-padding"]),"icon-image":new gr(q.layout_symbol["icon-image"]),"icon-rotate":new gr(q.layout_symbol["icon-rotate"]),"icon-padding":new Rr(q.layout_symbol["icon-padding"]),"icon-keep-upright":new Rr(q.layout_symbol["icon-keep-upright"]),"icon-offset":new gr(q.layout_symbol["icon-offset"]),"icon-anchor":new gr(q.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new Rr(q.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new Rr(q.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new Rr(q.layout_symbol["text-rotation-alignment"]),"text-field":new gr(q.layout_symbol["text-field"]),"text-font":new gr(q.layout_symbol["text-font"]),"text-size":new gr(q.layout_symbol["text-size"]),"text-max-width":new gr(q.layout_symbol["text-max-width"]),"text-line-height":new Rr(q.layout_symbol["text-line-height"]),"text-letter-spacing":new gr(q.layout_symbol["text-letter-spacing"]),"text-justify":new gr(q.layout_symbol["text-justify"]),"text-radial-offset":new gr(q.layout_symbol["text-radial-offset"]),"text-variable-anchor":new Rr(q.layout_symbol["text-variable-anchor"]),"text-anchor":new gr(q.layout_symbol["text-anchor"]),"text-max-angle":new Rr(q.layout_symbol["text-max-angle"]),"text-writing-mode":new Rr(q.layout_symbol["text-writing-mode"]),"text-rotate":new gr(q.layout_symbol["text-rotate"]),"text-padding":new Rr(q.layout_symbol["text-padding"]),"text-keep-upright":new Rr(q.layout_symbol["text-keep-upright"]),"text-transform":new gr(q.layout_symbol["text-transform"]),"text-offset":new gr(q.layout_symbol["text-offset"]),"text-allow-overlap":new Rr(q.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new Rr(q.layout_symbol["text-ignore-placement"]),"text-optional":new Rr(q.layout_symbol["text-optional"])}),Hr={paint:new Ai({"icon-opacity":new gr(q.paint_symbol["icon-opacity"]),"icon-color":new gr(q.paint_symbol["icon-color"]),"icon-halo-color":new gr(q.paint_symbol["icon-halo-color"]),"icon-halo-width":new gr(q.paint_symbol["icon-halo-width"]),"icon-halo-blur":new gr(q.paint_symbol["icon-halo-blur"]),"icon-translate":new Rr(q.paint_symbol["icon-translate"]),"icon-translate-anchor":new Rr(q.paint_symbol["icon-translate-anchor"]),"text-opacity":new gr(q.paint_symbol["text-opacity"]),"text-color":new gr(q.paint_symbol["text-color"],{runtimeType:Zt,getOverride:function(o){return o.textColor},hasOverride:function(o){return!!o.textColor}}),"text-halo-color":new gr(q.paint_symbol["text-halo-color"]),"text-halo-width":new gr(q.paint_symbol["text-halo-width"]),"text-halo-blur":new gr(q.paint_symbol["text-halo-blur"]),"text-translate":new Rr(q.paint_symbol["text-translate"]),"text-translate-anchor":new Rr(q.paint_symbol["text-translate-anchor"])}),layout:vr},Qr=function(o){this.type=o.property.overrides?o.property.overrides.runtimeType:yr,this.defaultValue=o};Qr.prototype.evaluate=function(o){if(o.formattedSection){var a=this.defaultValue.property.overrides;if(a&&a.hasOverride(o.formattedSection))return a.getOverride(o.formattedSection)}return o.feature&&o.featureState?this.defaultValue.evaluate(o.feature,o.featureState):this.defaultValue.property.specification.default},Qr.prototype.eachChild=function(o){this.defaultValue.isConstant()||o(this.defaultValue.value._styleExpression.expression)},Qr.prototype.outputDefined=function(){return!1},Qr.prototype.serialize=function(){return null},hr("FormatSectionOverride",Qr,{omit:["defaultValue"]});var Yo=function(o){function a(p){o.call(this,p,Hr)}return o&&(a.__proto__=o),(a.prototype=Object.create(o&&o.prototype)).constructor=a,a.prototype.recalculate=function(p,y){if(o.prototype.recalculate.call(this,p,y),this.layout.get("icon-rotation-alignment")==="auto"&&(this.layout._values["icon-rotation-alignment"]=this.layout.get("symbol-placement")!=="point"?"map":"viewport"),this.layout.get("text-rotation-alignment")==="auto"&&(this.layout._values["text-rotation-alignment"]=this.layout.get("symbol-placement")!=="point"?"map":"viewport"),this.layout.get("text-pitch-alignment")==="auto"&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),this.layout.get("icon-pitch-alignment")==="auto"&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),this.layout.get("symbol-placement")==="point"){var _=this.layout.get("text-writing-mode");if(_){for(var v=[],P=0,S=_;P",targetMapId:y,sourceMapId:v.mapId})}}},Y1.prototype.receive=function(o){var a=o.data,p=a.id;if(p&&(!a.targetMapId||this.mapId===a.targetMapId))if(a.type===""){delete this.tasks[p];var y=this.cancelCallbacks[p];delete this.cancelCallbacks[p],y&&y()}else ir()||a.mustQueue?(this.tasks[p]=a,this.taskQueue.push(p),this.invoker.trigger()):this.processTask(p,a)},Y1.prototype.process=function(){if(this.taskQueue.length){var o=this.taskQueue.shift(),a=this.tasks[o];delete this.tasks[o],this.taskQueue.length&&this.invoker.trigger(),a&&this.processTask(o,a)}},Y1.prototype.processTask=function(o,a){var p=this;if(a.type===""){var y=this.callbacks[o];delete this.callbacks[o],y&&(a.error?y(oi(a.error)):y(null,oi(a.data)))}else{var _=!1,v=mr(this.globalScope)?void 0:[],P=a.hasCallback?function(O,U){_=!0,delete p.cancelCallbacks[o],p.target.postMessage({id:o,type:"",sourceMapId:p.mapId,error:O?ea(O):null,data:ea(U,v)},v)}:function(O){_=!0},S=null,C=oi(a.data);if(this.parent[a.type])S=this.parent[a.type](a.sourceMapId,C,P);else if(this.parent.getWorkerSource){var M=a.type.split(".");S=this.parent.getWorkerSource(a.sourceMapId,M[0],C.source)[M[1]](C,P)}else P(new Error("Could not find function "+a.type));!_&&S&&S.cancel&&(this.cancelCallbacks[o]=S.cancel)}},Y1.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)};var Mn=function(o,a){o&&(a?this.setSouthWest(o).setNorthEast(a):o.length===4?this.setSouthWest([o[0],o[1]]).setNorthEast([o[2],o[3]]):this.setSouthWest(o[0]).setNorthEast(o[1]))};Mn.prototype.setNorthEast=function(o){return this._ne=o instanceof Ri?new Ri(o.lng,o.lat):Ri.convert(o),this},Mn.prototype.setSouthWest=function(o){return this._sw=o instanceof Ri?new Ri(o.lng,o.lat):Ri.convert(o),this},Mn.prototype.extend=function(o){var a,p,y=this._sw,_=this._ne;if(o instanceof Ri)a=o,p=o;else{if(!(o instanceof Mn))return Array.isArray(o)?o.length===4||o.every(Array.isArray)?this.extend(Mn.convert(o)):this.extend(Ri.convert(o)):this;if(p=o._ne,!(a=o._sw)||!p)return this}return y||_?(y.lng=Math.min(a.lng,y.lng),y.lat=Math.min(a.lat,y.lat),_.lng=Math.max(p.lng,_.lng),_.lat=Math.max(p.lat,_.lat)):(this._sw=new Ri(a.lng,a.lat),this._ne=new Ri(p.lng,p.lat)),this},Mn.prototype.getCenter=function(){return new Ri((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},Mn.prototype.getSouthWest=function(){return this._sw},Mn.prototype.getNorthEast=function(){return this._ne},Mn.prototype.getNorthWest=function(){return new Ri(this.getWest(),this.getNorth())},Mn.prototype.getSouthEast=function(){return new Ri(this.getEast(),this.getSouth())},Mn.prototype.getWest=function(){return this._sw.lng},Mn.prototype.getSouth=function(){return this._sw.lat},Mn.prototype.getEast=function(){return this._ne.lng},Mn.prototype.getNorth=function(){return this._ne.lat},Mn.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},Mn.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},Mn.prototype.isEmpty=function(){return!(this._sw&&this._ne)},Mn.prototype.contains=function(o){var a=Ri.convert(o),p=a.lng,y=a.lat,_=this._sw.lng<=p&&p<=this._ne.lng;return this._sw.lng>this._ne.lng&&(_=this._sw.lng>=p&&p>=this._ne.lng),this._sw.lat<=y&&y<=this._ne.lat&&_},Mn.convert=function(o){return!o||o instanceof Mn?o:new Mn(o)};var Ri=function(o,a){if(isNaN(o)||isNaN(a))throw new Error("Invalid LngLat object: ("+o+", "+a+")");if(this.lng=+o,this.lat=+a,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};Ri.prototype.wrap=function(){return new Ri(J(this.lng,-180,180),this.lat)},Ri.prototype.toArray=function(){return[this.lng,this.lat]},Ri.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},Ri.prototype.distanceTo=function(o){var a=Math.PI/180,p=this.lat*a,y=o.lat*a,_=Math.sin(p)*Math.sin(y)+Math.cos(p)*Math.cos(y)*Math.cos((o.lng-this.lng)*a);return 63710088e-1*Math.acos(Math.min(_,1))},Ri.prototype.toBounds=function(o){o===void 0&&(o=0);var a=360*o/40075017,p=a/Math.cos(Math.PI/180*this.lat);return new Mn(new Ri(this.lng-p,this.lat-a),new Ri(this.lng+p,this.lat+a))},Ri.convert=function(o){if(o instanceof Ri)return o;if(Array.isArray(o)&&(o.length===2||o.length===3))return new Ri(Number(o[0]),Number(o[1]));if(!Array.isArray(o)&&typeof o=="object"&&o!==null)return new Ri(Number("lng"in o?o.lng:o.lon),Number(o.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]")};var $6=2*Math.PI*63710088e-1;function q6(o){return $6*Math.cos(o*Math.PI/180)}function K6(o){return(180+o)/360}function Q6(o){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+o*Math.PI/360)))/360}function J6(o,a){return o/q6(a)}function fm(o){return 360/Math.PI*Math.atan(Math.exp((180-360*o)*Math.PI/180))-90}var t1=function(o,a,p){p===void 0&&(p=0),this.x=+o,this.y=+a,this.z=+p};t1.fromLngLat=function(o,a){a===void 0&&(a=0);var p=Ri.convert(o);return new t1(K6(p.lng),Q6(p.lat),J6(a,p.lat))},t1.prototype.toLngLat=function(){return new Ri(360*this.x-180,fm(this.y))},t1.prototype.toAltitude=function(){return this.z*q6(fm(this.y))},t1.prototype.meterInMercatorCoordinateUnits=function(){return 1/$6*(o=fm(this.y),1/Math.cos(o*Math.PI/180));var o};var r1=function(o,a,p){this.z=o,this.x=a,this.y=p,this.key=pd(0,o,o,a,p)};r1.prototype.equals=function(o){return this.z===o.z&&this.x===o.x&&this.y===o.y},r1.prototype.url=function(o,a){var p,y,_,v,P,S=(y=this.y,_=this.z,v=Y6(256*(p=this.x),256*(y=Math.pow(2,_)-y-1),_),P=Y6(256*(p+1),256*(y+1),_),v[0]+","+v[1]+","+P[0]+","+P[1]),C=function(M,O,U){for(var j,Y="",le=M;le>0;le--)Y+=(O&(j=1<this.canonical.z?new Nn(o,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new Nn(o,this.wrap,o,this.canonical.x>>a,this.canonical.y>>a)},Nn.prototype.calculateScaledKey=function(o,a){var p=this.canonical.z-o;return o>this.canonical.z?pd(this.wrap*+a,o,this.canonical.z,this.canonical.x,this.canonical.y):pd(this.wrap*+a,o,o,this.canonical.x>>p,this.canonical.y>>p)},Nn.prototype.isChildOf=function(o){if(o.wrap!==this.wrap)return!1;var a=this.canonical.z-o.canonical.z;return o.overscaledZ===0||o.overscaledZ>a&&o.canonical.y===this.canonical.y>>a},Nn.prototype.children=function(o){if(this.overscaledZ>=o)return[new Nn(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var a=this.canonical.z+1,p=2*this.canonical.x,y=2*this.canonical.y;return[new Nn(a,this.wrap,a,p,y),new Nn(a,this.wrap,a,p+1,y),new Nn(a,this.wrap,a,p,y+1),new Nn(a,this.wrap,a,p+1,y+1)]},Nn.prototype.isLessThan=function(o){return this.wrapo.wrap)&&(this.overscaledZo.overscaledZ)&&(this.canonical.xo.canonical.x)&&this.canonical.y=this.dim+1||a<-1||a>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(a+1)*this.stride+(o+1)},xc.prototype._unpackMapbox=function(o,a,p){return(256*o*256+256*a+p)/10-1e4},xc.prototype._unpackTerrarium=function(o,a,p){return 256*o+a+p/256-32768},xc.prototype.getPixels=function(){return new ya({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},xc.prototype.backfillBorder=function(o,a,p){if(this.dim!==o.dim)throw new Error("dem dimension mismatch");var y=a*this.dim,_=a*this.dim+this.dim,v=p*this.dim,P=p*this.dim+this.dim;switch(a){case-1:y=_-1;break;case 1:_=y+1}switch(p){case-1:v=P-1;break;case 1:P=v+1}for(var S=-a*this.dim,C=-p*this.dim,M=v;M=0&&O[3]>=0&&S.insert(P,O[0],O[1],O[2],O[3])}},Pc.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new kp.VectorTile(new tt(this.rawTileData)).layers,this.sourceLayerCoder=new ih(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},Pc.prototype.query=function(o,a,p,y){var _=this;this.loadVTLayers();for(var v=o.params||{},P=8192/o.tileSize/o.scale,S=Su(v.filter),C=o.queryGeometry,M=o.queryPadding*P,O=r3(C),U=this.grid.query(O.minX-M,O.minY-M,O.maxX+M,O.maxY+M),j=r3(o.cameraQueryGeometry),Y=this.grid3D.query(j.minX-M,j.minY-M,j.maxX+M,j.maxY+M,function(it,ut,Et,kt){return function(qt,Ir,pr,Br,dr){for(var Po=0,Zr=qt;Po=Pr.x&&dr>=Pr.y)return!0}var Co=[new x(Ir,pr),new x(Ir,dr),new x(Br,dr),new x(Br,pr)];if(qt.length>2){for(var lo=0,Vo=Co;lo=0)return!0;return!1}(v,U)){var j=this.sourceLayerCoder.decode(p),Y=this.vtLayers[j].feature(y);if(_.needGeometry){var le=wi(Y,!0);if(!_.filter(new po(this.tileID.overscaledZ),le,this.tileID.canonical))return}else if(!_.filter(new po(this.tileID.overscaledZ),Y))return;for(var he=this.getId(Y,j),Re=0;Rey)_=!1;else if(a)if(this.expirationTimevs&&(o.getActor().send("enforceCacheSizeLimit",Tn),Gs=0)},n.clamp=V,n.clearTileCache=function(o){var a=F.caches.delete("mapbox-tiles");o&&a.catch(o).then(function(){return o()})},n.clipLine=au,n.clone=function(o){var a=new Io(16);return a[0]=o[0],a[1]=o[1],a[2]=o[2],a[3]=o[3],a[4]=o[4],a[5]=o[5],a[6]=o[6],a[7]=o[7],a[8]=o[8],a[9]=o[9],a[10]=o[10],a[11]=o[11],a[12]=o[12],a[13]=o[13],a[14]=o[14],a[15]=o[15],a},n.clone$1=Ae,n.clone$2=function(o){var a=new Io(3);return a[0]=o[0],a[1]=o[1],a[2]=o[2],a},n.collisionCircleLayout=N,n.config=$e,n.create=function(){var o=new Io(16);return Io!=Float32Array&&(o[1]=0,o[2]=0,o[3]=0,o[4]=0,o[6]=0,o[7]=0,o[8]=0,o[9]=0,o[11]=0,o[12]=0,o[13]=0,o[14]=0),o[0]=1,o[5]=1,o[10]=1,o[15]=1,o},n.create$1=function(){var o=new Io(9);return Io!=Float32Array&&(o[1]=0,o[2]=0,o[3]=0,o[5]=0,o[6]=0,o[7]=0),o[0]=1,o[4]=1,o[8]=1,o},n.create$2=function(){var o=new Io(4);return Io!=Float32Array&&(o[1]=0,o[2]=0),o[0]=1,o[3]=1,o},n.createCommonjsModule=h,n.createExpression=bp,n.createLayout=yn,n.createStyleLayer=function(o){return o.type==="custom"?new rh(o):new cp[o.type](o)},n.cross=function(o,a,p){var y=a[0],_=a[1],v=a[2],P=p[0],S=p[1],C=p[2];return o[0]=_*C-v*S,o[1]=v*P-y*C,o[2]=y*S-_*P,o},n.deepEqual=function o(a,p){if(Array.isArray(a)){if(!Array.isArray(p)||a.length!==p.length)return!1;for(var y=0;y0&&(v=1/Math.sqrt(v)),o[0]=a[0]*v,o[1]=a[1]*v,o[2]=a[2]*v,o},n.number=Oi,n.offscreenCanvasSupported=Yu,n.ortho=function(o,a,p,y,_,v,P){var S=1/(a-p),C=1/(y-_),M=1/(v-P);return o[0]=-2*S,o[1]=0,o[2]=0,o[3]=0,o[4]=0,o[5]=-2*C,o[6]=0,o[7]=0,o[8]=0,o[9]=0,o[10]=2*M,o[11]=0,o[12]=(a+p)*S,o[13]=(_+y)*C,o[14]=(P+v)*M,o[15]=1,o},n.parseGlyphPBF=function(o){return new tt(o).readFields(Tt,[])},n.pbf=tt,n.performSymbolLayout=function(o,a,p,y,_,v,P){o.createArrays(),o.tilePixelRatio=8192/(512*o.overscaling),o.compareText={},o.iconsNeedLinear=!1;var S=o.layers[0].layout,C=o.layers[0]._unevaluatedLayout._values,M={};if(o.textSizeData.kind==="composite"){var O=o.textSizeData,U=O.maxZoom;M.compositeTextSizes=[C["text-size"].possiblyEvaluate(new po(O.minZoom),P),C["text-size"].possiblyEvaluate(new po(U),P)]}if(o.iconSizeData.kind==="composite"){var j=o.iconSizeData,Y=j.maxZoom;M.compositeIconSizes=[C["icon-size"].possiblyEvaluate(new po(j.minZoom),P),C["icon-size"].possiblyEvaluate(new po(Y),P)]}M.layoutTextSize=C["text-size"].possiblyEvaluate(new po(o.zoom+1),P),M.layoutIconSize=C["icon-size"].possiblyEvaluate(new po(o.zoom+1),P),M.textMaxSize=C["text-size"].possiblyEvaluate(new po(18));for(var le=24*S.get("text-line-height"),he=S.get("text-rotation-alignment")==="map"&&S.get("symbol-placement")!=="point",Re=S.get("text-keep-upright"),be=S.get("text-size"),Ve=function(){var ut=it[Ze],Et=S.get("text-font").evaluate(ut,{},P).join(","),kt=be.evaluate(ut,{},P),qt=M.layoutTextSize.evaluate(ut,{},P),Ir=M.layoutIconSize.evaluate(ut,{},P),pr={horizontal:{},vertical:void 0},Br=ut.text,dr=[0,0];if(Br){var Po=Br.toString(),Zr=24*S.get("text-letter-spacing").evaluate(ut,{},P),Pr=function(Do){for(var yi=0,ni=Do;yi=8192||vd.y<0||vd.y>=8192||function(on,lp,G7,ll,Em,a3,hh,Gp,fh,Ed,mh,_h,xm,s3,xd,u3,p3,c3,l3,d3,Os,gh,y3,jp,j7){var h3,n1,n0,a0,s0,u0=on.addToLineVertexArray(lp,G7),f3=0,m3=0,_3=0,g3=0,Pm=-1,bm=-1,Fc={},v3=ce(""),Am=0,Fm=0;if(Gp._unevaluatedLayout.getValue("text-radial-offset")===void 0?(Am=(h3=Gp.layout.get("text-offset").evaluate(Os,{},jp).map(function(bd){return 24*bd}))[0],Fm=h3[1]):(Am=24*Gp.layout.get("text-radial-offset").evaluate(Os,{},jp),Fm=Se),on.allowVerticalPlacement&&ll.vertical){var E3=Gp.layout.get("text-rotate").evaluate(Os,{},jp)+90;a0=new ii(fh,lp,Ed,mh,_h,ll.vertical,xm,s3,xd,E3),hh&&(s0=new ii(fh,lp,Ed,mh,_h,hh,p3,c3,xd,E3))}if(Em){var Tm=Gp.layout.get("icon-rotate").evaluate(Os,{}),x3=Gp.layout.get("icon-text-fit")!=="none",P3=fe(Em,Tm,y3,x3),Sm=hh?fe(hh,Tm,y3,x3):void 0;n0=new ii(fh,lp,Ed,mh,_h,Em,p3,c3,!1,Tm),f3=4*P3.length;var b3=on.iconSizeData,Pd=null;b3.kind==="source"?(Pd=[128*Gp.layout.get("icon-size").evaluate(Os,{})])[0]>32640&&ze(on.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'):b3.kind==="composite"&&((Pd=[128*gh.compositeIconSizes[0].evaluate(Os,{},jp),128*gh.compositeIconSizes[1].evaluate(Os,{},jp)])[0]>32640||Pd[1]>32640)&&ze(on.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'),on.addSymbols(on.icon,P3,Pd,d3,l3,Os,!1,lp,u0.lineStartIndex,u0.lineLength,-1,jp),Pm=on.icon.placedSymbolArray.length-1,Sm&&(m3=4*Sm.length,on.addSymbols(on.icon,Sm,Pd,d3,l3,Os,Lr.vertical,lp,u0.lineStartIndex,u0.lineLength,-1,jp),bm=on.icon.placedSymbolArray.length-1)}for(var A3 in ll.horizontal){var vh=ll.horizontal[A3];if(!n1){v3=ce(vh.text);var W7=Gp.layout.get("text-rotate").evaluate(Os,{},jp);n1=new ii(fh,lp,Ed,mh,_h,vh,xm,s3,xd,W7)}var F3=vh.positionedLines.length===1;if(_3+=me(on,lp,vh,a3,Gp,xd,Os,u3,u0,ll.vertical?Lr.horizontal:Lr.horizontalOnly,F3?Object.keys(ll.horizontal):[A3],Fc,Pm,gh,jp),F3)break}ll.vertical&&(g3+=me(on,lp,ll.vertical,a3,Gp,xd,Os,u3,u0,Lr.vertical,["vertical"],Fc,bm,gh,jp));var X7=n1?n1.boxStartIndex:on.collisionBoxArray.length,Z7=n1?n1.boxEndIndex:on.collisionBoxArray.length,Y7=a0?a0.boxStartIndex:on.collisionBoxArray.length,$7=a0?a0.boxEndIndex:on.collisionBoxArray.length,q7=n0?n0.boxStartIndex:on.collisionBoxArray.length,K7=n0?n0.boxEndIndex:on.collisionBoxArray.length,Q7=s0?s0.boxStartIndex:on.collisionBoxArray.length,J7=s0?s0.boxEndIndex:on.collisionBoxArray.length,Wp=-1,Eh=function(bd,S3){return bd&&bd.circleDiameter?Math.max(bd.circleDiameter,S3):S3};Wp=Eh(n1,Wp),Wp=Eh(a0,Wp),Wp=Eh(n0,Wp);var T3=(Wp=Eh(s0,Wp))>-1?1:0;T3&&(Wp*=j7/24),on.glyphOffsetArray.length>=fr.MAX_GLYPHS&&ze("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),Os.sortKey!==void 0&&on.addToSortKeyRanges(on.symbolInstances.length,Os.sortKey),on.symbolInstances.emplaceBack(lp.x,lp.y,Fc.right>=0?Fc.right:-1,Fc.center>=0?Fc.center:-1,Fc.left>=0?Fc.left:-1,Fc.vertical||-1,Pm,bm,v3,X7,Z7,Y7,$7,q7,K7,Q7,J7,Ed,_3,g3,f3,m3,T3,0,xm,Am,Fm,Wp)}(Do,vd,H7,ni,Wo,za,Vp,Do.layers[0],Do.collisionBoxArray,yi.index,yi.sourceLayerIndex,Do.index,o1,ah,sh,_a,bc,J1,uh,Hp,yi,ma,qo,zp,Ti)};if(Ac==="line")for(var t0=0,ph=au(yi.geometry,0,0,8192,8192);t01){var dh=zo(md,cd,ni.vertical||Uu,Wo,24,K1);dh&&cl(md,dh)}}else if(yi.type==="Polygon")for(var r0=0,yh=W1(yi.geometry,0);r0=Mo.maxzoom||Mo.visibility!=="none"&&(F(vo,this.zoom,W),(ct[Mo.id]=Mo.createBucket({index:q.bucketLayerIDs.length,layers:vo,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:or,sourceID:this.source})).populate(Wt,wt,this.tileID.canonical),q.bucketLayerIDs.push(vo.map(function(ko){return ko.id})))}}}var ao=n.mapObject(wt.glyphDependencies,function(ko){return Object.keys(ko).map(Number)});Object.keys(ao).length?oe.send("getGlyphs",{uid:this.uid,stacks:ao},function(ko,so){ge||(ge=ko,We=so,ei.call(Ie))}):We={};var Vi=Object.keys(wt.iconDependencies);Vi.length?oe.send("getImages",{icons:Vi,source:this.source,tileID:this.tileID,type:"icons"},function(ko,so){ge||(ge=ko,ht=so,ei.call(Ie))}):ht={};var wo=Object.keys(wt.patternDependencies);function ei(){if(ge)return ye(ge);if(We&&ht&&Nt){var ko=new x(We),so=new n.ImageAtlas(ht,Nt);for(var Eo in ct){var Ln=ct[Eo];Ln instanceof n.SymbolBucket?(F(Ln.layers,this.zoom,W),n.performSymbolLayout(Ln,We,ko.positions,ht,so.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):Ln.hasPattern&&(Ln instanceof n.LineBucket||Ln instanceof n.FillBucket||Ln instanceof n.FillExtrusionBucket)&&(F(Ln.layers,this.zoom,W),Ln.addFeatures(wt,this.tileID.canonical,so.patternPositions))}this.status="done",ye(null,{buckets:n.values(ct).filter(function(hu){return!hu.isEmpty()}),featureIndex:q,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:ko.image,imageAtlas:so,glyphMap:this.returnDependencies?We:null,iconMap:this.returnDependencies?ht:null,glyphPositions:this.returnDependencies?ko.positions:null})}}wo.length?oe.send("getImages",{icons:wo,source:this.source,tileID:this.tileID,type:"patterns"},function(ko,so){ge||(ge=ko,Nt=so,ei.call(Ie))}):Nt={},ei.call(this)};var I=function(k,G,W,oe){this.actor=k,this.layerIndex=G,this.availableImages=W,this.loadVectorData=oe||R,this.loading={},this.loaded={}};I.prototype.loadTile=function(k,G){var W=this,oe=k.uid;this.loading||(this.loading={});var ye=!!(k&&k.request&&k.request.collectResourceTiming)&&new n.RequestPerformance(k.request),Ie=this.loading[oe]=new b(k);Ie.abort=this.loadVectorData(k,function(Le,q){if(delete W.loading[oe],Le||!q)return Ie.status="done",W.loaded[oe]=Ie,G(Le);var ge=q.rawData,We={};q.expires&&(We.expires=q.expires),q.cacheControl&&(We.cacheControl=q.cacheControl);var ht={};if(ye){var Nt=ye.finish();Nt&&(ht.resourceTiming=JSON.parse(JSON.stringify(Nt)))}Ie.vectorTile=q.vectorTile,Ie.parse(q.vectorTile,W.layerIndex,W.availableImages,W.actor,function(ct,wt){if(ct||!wt)return G(ct);G(null,n.extend({rawTileData:ge.slice(0)},wt,We,ht))}),W.loaded=W.loaded||{},W.loaded[oe]=Ie})},I.prototype.reloadTile=function(k,G){var W=this,oe=this.loaded,ye=k.uid,Ie=this;if(oe&&oe[ye]){var Le=oe[ye];Le.showCollisionBoxes=k.showCollisionBoxes;var q=function(ge,We){var ht=Le.reloadCallback;ht&&(delete Le.reloadCallback,Le.parse(Le.vectorTile,Ie.layerIndex,W.availableImages,Ie.actor,ht)),G(ge,We)};Le.status==="parsing"?Le.reloadCallback=q:Le.status==="done"&&(Le.vectorTile?Le.parse(Le.vectorTile,this.layerIndex,this.availableImages,this.actor,q):q())}},I.prototype.abortTile=function(k,G){var W=this.loading,oe=k.uid;W&&W[oe]&&W[oe].abort&&(W[oe].abort(),delete W[oe]),G()},I.prototype.removeTile=function(k,G){var W=this.loaded,oe=k.uid;W&&W[oe]&&delete W[oe],G()};var B=n.window.ImageBitmap,V=function(){this.loaded={}};function J(k,G){if(k.length!==0){Q(k[0],G);for(var W=1;W=Math.abs(q)?W-ge+q:q-ge+W,W=ge}W+oe>=0!=!!G&&k.reverse()}V.prototype.loadTile=function(k,G){var W=k.uid,oe=k.encoding,ye=k.rawImageData,Ie=B&&ye instanceof B?this.getImageData(ye):ye,Le=new n.DEMData(W,Ie,oe);this.loaded=this.loaded||{},this.loaded[W]=Le,G(null,Le)},V.prototype.getImageData=function(k){this.offscreenCanvas&&this.offscreenCanvasContext||(this.offscreenCanvas=new OffscreenCanvas(k.width,k.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d")),this.offscreenCanvas.width=k.width,this.offscreenCanvas.height=k.height,this.offscreenCanvasContext.drawImage(k,0,0,k.width,k.height);var G=this.offscreenCanvasContext.getImageData(-1,-1,k.width+2,k.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new n.RGBAImage({width:G.width,height:G.height},G.data)},V.prototype.removeTile=function(k){var G=this.loaded,W=k.uid;G&&G[W]&&delete G[W]};var te=n.vectorTile.VectorTileFeature.prototype.toGeoJSON,ne=function(k){this._feature=k,this.extent=n.EXTENT,this.type=k.type,this.properties=k.tags,"id"in k&&!isNaN(k.id)&&(this.id=parseInt(k.id,10))};ne.prototype.loadGeometry=function(){if(this._feature.type===1){for(var k=[],G=0,W=this._feature.geometry;G>31}function Yr(k,G){for(var W=k.loadGeometry(),oe=k.type,ye=0,Ie=0,Le=W.length,q=0;q>1;(function or(Wt,Zt,no,er,Fo,Jo){for(;Fo>er;){if(Fo-er>600){var vo=Fo-er+1,Mo=no-er+1,ao=Math.log(vo),Vi=.5*Math.exp(2*ao/3),wo=.5*Math.sqrt(ao*Vi*(vo-Vi)/vo)*(Mo-vo/2<0?-1:1);or(Wt,Zt,no,Math.max(er,Math.floor(no-Mo*Vi/vo+wo)),Math.min(Fo,Math.floor(no+(vo-Mo)*Vi/vo+wo)),Jo)}var ei=Zt[2*no+Jo],ko=er,so=Fo;for(Er(Wt,Zt,er,no),Zt[2*Fo+Jo]>ei&&Er(Wt,Zt,er,Fo);koei;)so--}Zt[2*er+Jo]===ei?Er(Wt,Zt,er,so):Er(Wt,Zt,++so,Fo),so<=no&&(er=so+1),no<=so&&(Fo=so-1)}})(ht,Nt,dt,wt,_r,yr%2),We(ht,Nt,ct,wt,dt-1,yr+1),We(ht,Nt,ct,dt+1,_r,yr+1)}})(Le,q,oe,0,Le.length-1,0)};oo.prototype.range=function(k,G,W,oe){return function(ye,Ie,Le,q,ge,We,ht){for(var Nt,ct,wt=[0,ye.length-1,0],_r=[];wt.length;){var yr=wt.pop(),dt=wt.pop(),or=wt.pop();if(dt-or<=ht)for(var Wt=or;Wt<=dt;Wt++)ct=Ie[2*Wt+1],(Nt=Ie[2*Wt])>=Le&&Nt<=ge&&ct>=q&&ct<=We&&_r.push(ye[Wt]);else{var Zt=Math.floor((or+dt)/2);ct=Ie[2*Zt+1],(Nt=Ie[2*Zt])>=Le&&Nt<=ge&&ct>=q&&ct<=We&&_r.push(ye[Zt]);var no=(yr+1)%2;(yr===0?Le<=Nt:q<=ct)&&(wt.push(or),wt.push(Zt-1),wt.push(no)),(yr===0?ge>=Nt:We>=ct)&&(wt.push(Zt+1),wt.push(dt),wt.push(no))}}return _r}(this.ids,this.coords,k,G,W,oe,this.nodeSize)},oo.prototype.within=function(k,G,W){return function(oe,ye,Ie,Le,q,ge){for(var We=[0,oe.length-1,0],ht=[],Nt=q*q;We.length;){var ct=We.pop(),wt=We.pop(),_r=We.pop();if(wt-_r<=ge)for(var yr=_r;yr<=wt;yr++)Jr(ye[2*yr],ye[2*yr+1],Ie,Le)<=Nt&&ht.push(oe[yr]);else{var dt=Math.floor((_r+wt)/2),or=ye[2*dt],Wt=ye[2*dt+1];Jr(or,Wt,Ie,Le)<=Nt&&ht.push(oe[dt]);var Zt=(ct+1)%2;(ct===0?Ie-q<=or:Le-q<=Wt)&&(We.push(_r),We.push(dt-1),We.push(Zt)),(ct===0?Ie+q>=or:Le+q>=Wt)&&(We.push(dt+1),We.push(wt),We.push(Zt))}}return ht}(this.ids,this.coords,k,G,W,this.nodeSize)};var Wi={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(k){return k}},bo=function(k){this.options=io(Object.create(Wi),k),this.trees=new Array(this.options.maxZoom+1)};function Ni(k,G,W,oe,ye){return{x:k,y:G,zoom:1/0,id:W,parentId:-1,numPoints:oe,properties:ye}}function $e(k,G){var W=k.geometry.coordinates,oe=W[1];return{x:Ft(W[0]),y:xr(oe),zoom:1/0,index:G,parentId:-1}}function Yt(k){return{type:"Feature",id:k.id,properties:Sr(k),geometry:{type:"Point",coordinates:[(oe=k.x,360*(oe-.5)),(G=k.y,W=(180-360*G)*Math.PI/180,360*Math.atan(Math.exp(W))/Math.PI-90)]}};var G,W,oe}function Sr(k){var G=k.numPoints,W=G>=1e4?Math.round(G/1e3)+"k":G>=1e3?Math.round(G/100)/10+"k":G;return io(io({},k.properties),{cluster:!0,cluster_id:k.id,point_count:G,point_count_abbreviated:W})}function Ft(k){return k/360+.5}function xr(k){var G=Math.sin(k*Math.PI/180),W=.5-.25*Math.log((1+G)/(1-G))/Math.PI;return W<0?0:W>1?1:W}function io(k,G){for(var W in G)k[W]=G[W];return k}function go(k){return k.x}function to(k){return k.y}function Kr(k,G,W,oe,ye,Ie){var Le=ye-W,q=Ie-oe;if(Le!==0||q!==0){var ge=((k-W)*Le+(G-oe)*q)/(Le*Le+q*q);ge>1?(W=ye,oe=Ie):ge>0&&(W+=Le*ge,oe+=q*ge)}return(Le=k-W)*Le+(q=G-oe)*q}function Ao(k,G,W,oe){var ye={id:k===void 0?null:k,type:G,geometry:W,tags:oe,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(Ie){var Le=Ie.geometry,q=Ie.type;if(q==="Point"||q==="MultiPoint"||q==="LineString")$i(Ie,Le);else if(q==="Polygon"||q==="MultiLineString")for(var ge=0;ge0&&(Le+=oe?(ye*We-ge*Ie)/2:Math.sqrt(Math.pow(ge-ye,2)+Math.pow(We-Ie,2))),ye=ge,Ie=We}var ht=G.length-3;G[2]=1,function Nt(ct,wt,_r,yr){for(var dt,or=yr,Wt=_r-wt>>1,Zt=_r-wt,no=ct[wt],er=ct[wt+1],Fo=ct[_r],Jo=ct[_r+1],vo=wt+3;vo<_r;vo+=3){var Mo=Kr(ct[vo],ct[vo+1],no,er,Fo,Jo);if(Mo>or)dt=vo,or=Mo;else if(Mo===or){var ao=Math.abs(vo-Wt);aoyr&&(dt-wt>3&&Nt(ct,wt,dt,yr),ct[dt+2]=or,_r-dt>3&&Nt(ct,dt,_r,yr))}(G,0,ht,W),G[ht+2]=1,G.size=Math.abs(Le),G.start=0,G.end=G.size}function se(k,G,W,oe){for(var ye=0;ye1?1:W}function An(k,G,W,oe,ye,Ie,Le,q){if(oe/=G,Ie>=(W/=G)&&Le=oe)return null;for(var ge=[],We=0;We=W&&_r=oe)){var yr=[];if(ct==="Point"||ct==="MultiPoint")ss(Nt,yr,W,oe,ye);else if(ct==="LineString")si(Nt,yr,W,oe,ye,!1,q.lineMetrics);else if(ct==="MultiLineString")pa(Nt,yr,W,oe,ye,!1);else if(ct==="Polygon")pa(Nt,yr,W,oe,ye,!0);else if(ct==="MultiPolygon")for(var dt=0;dt=W&&Le<=oe&&(G.push(k[Ie]),G.push(k[Ie+1]),G.push(k[Ie+2]))}}function si(k,G,W,oe,ye,Ie,Le){for(var q,ge,We=Fn(k),ht=ye===0?vs:zi,Nt=k.start,ct=0;ctW&&(ge=ht(We,wt,_r,dt,or,W),Le&&(We.start=Nt+q*ge)):Wt>oe?Zt=W&&(ge=ht(We,wt,_r,dt,or,W),no=!0),Zt>oe&&Wt<=oe&&(ge=ht(We,wt,_r,dt,or,oe),no=!0),!Ie&&no&&(Le&&(We.end=Nt+q*ge),G.push(We),We=Fn(k)),Le&&(Nt+=q)}var er=k.length-3;wt=k[er],_r=k[er+1],yr=k[er+2],(Wt=ye===0?wt:_r)>=W&&Wt<=oe&&Tn(We,wt,_r,yr),er=We.length-3,Ie&&er>=3&&(We[er]!==We[0]||We[er+1]!==We[1])&&Tn(We,We[0],We[1],We[2]),We.length&&G.push(We)}function Fn(k){var G=[];return G.size=k.size,G.start=k.start,G.end=k.end,G}function pa(k,G,W,oe,ye,Ie){for(var Le=0;LeLe.maxX&&(Le.maxX=ht),Nt>Le.maxY&&(Le.maxY=Nt)}return Le}function Ep(k,G,W,oe){var ye=G.geometry,Ie=G.type,Le=[];if(Ie==="Point"||Ie==="MultiPoint")for(var q=0;q0&&G.size<(ye?Le:oe))W.numPoints+=G.length/3;else{for(var q=[],ge=0;geLe)&&(W.numSimplified++,q.push(G[ge]),q.push(G[ge+1])),W.numPoints++;ye&&function(We,ht){for(var Nt=0,ct=0,wt=We.length,_r=wt-2;ct0===ht)for(ct=0,wt=We.length;ct24)throw new Error("maxZoom should be in the 0-24 range");if(G.promoteId&&G.generateId)throw new Error("promoteId and generateId cannot be used together.");var oe=function(ye,Ie){var Le=[];if(ye.type==="FeatureCollection")for(var q=0;q=oe;We--){var ht=+Date.now();q=this._cluster(q,We),this.trees[We]=new oo(q,go,to,Ie,Float32Array),W&&console.log("z%d: %d clusters in %dms",We,q.length,+Date.now()-ht)}return W&&console.timeEnd("total time"),this},bo.prototype.getClusters=function(k,G){var W=((k[0]+180)%360+360)%360-180,oe=Math.max(-90,Math.min(90,k[1])),ye=k[2]===180?180:((k[2]+180)%360+360)%360-180,Ie=Math.max(-90,Math.min(90,k[3]));if(k[2]-k[0]>=360)W=-180,ye=180;else if(W>ye){var Le=this.getClusters([W,oe,180,Ie],G),q=this.getClusters([-180,oe,ye,Ie],G);return Le.concat(q)}for(var ge=this.trees[this._limitZoom(G)],We=[],ht=0,Nt=ge.range(Ft(W),xr(Ie),Ft(ye),xr(oe));htG&&(ct+=yr.numPoints||1)}if(ct>=Ie){for(var dt=ge.x*Nt,or=ge.y*Nt,Wt=ye&&Nt>1?this._map(ge,!0):null,Zt=(q<<5)+(G+1)+this.points.length,no=0,er=ht;no1)for(var vo=0,Mo=ht;vo>5},bo.prototype._getOriginZoom=function(k){return(k-this.points.length)%32},bo.prototype._map=function(k,G){if(k.numPoints)return G?io({},k.properties):k.properties;var W=this.points[k.index].properties,oe=this.options.map(W);return G&&oe===W?io({},oe):oe},Ma.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},Ma.prototype.splitTile=function(k,G,W,oe,ye,Ie,Le){for(var q=[k,G,W,oe],ge=this.options,We=ge.debug;q.length;){oe=q.pop(),W=q.pop(),G=q.pop(),k=q.pop();var ht=1<1&&console.time("creation"),ct=this.tiles[Nt]=js(k,G,W,oe,ge),this.tileCoords.push({z:G,x:W,y:oe}),We)){We>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",G,W,oe,ct.numFeatures,ct.numPoints,ct.numSimplified),console.timeEnd("creation"));var wt="z"+G;this.stats[wt]=(this.stats[wt]||0)+1,this.total++}if(ct.source=k,ye){if(G===ge.maxZoom||G===ye)continue;var _r=1<1&&console.time("clipping");var yr,dt,or,Wt,Zt,no,er=.5*ge.buffer/ge.extent,Fo=.5-er,Jo=.5+er,vo=1+er;yr=dt=or=Wt=null,Zt=An(k,ht,W-er,W+Jo,0,ct.minX,ct.maxX,ge),no=An(k,ht,W+Fo,W+vo,0,ct.minX,ct.maxX,ge),k=null,Zt&&(yr=An(Zt,ht,oe-er,oe+Jo,1,ct.minY,ct.maxY,ge),dt=An(Zt,ht,oe+Fo,oe+vo,1,ct.minY,ct.maxY,ge),Zt=null),no&&(or=An(no,ht,oe-er,oe+Jo,1,ct.minY,ct.maxY,ge),Wt=An(no,ht,oe+Fo,oe+vo,1,ct.minY,ct.maxY,ge),no=null),We>1&&console.timeEnd("clipping"),q.push(yr||[],G+1,2*W,2*oe),q.push(dt||[],G+1,2*W,2*oe+1),q.push(or||[],G+1,2*W+1,2*oe),q.push(Wt||[],G+1,2*W+1,2*oe+1)}}},Ma.prototype.getTile=function(k,G,W){var oe=this.options,ye=oe.extent,Ie=oe.debug;if(k<0||k>24)return null;var Le=1<1&&console.log("drilling down to z%d-%d-%d",k,G,W);for(var ge,We=k,ht=G,Nt=W;!ge&&We>0;)We--,ht=Math.floor(ht/2),Nt=Math.floor(Nt/2),ge=this.tiles[Na(We,ht,Nt)];return ge&&ge.source?(Ie>1&&console.log("found parent tile z%d-%d-%d",We,ht,Nt),Ie>1&&console.time("drilling down"),this.splitTile(ge.source,We,ht,Nt,k,G,W),Ie>1&&console.timeEnd("drilling down"),this.tiles[q]?Gs(this.tiles[q],ye):null):null};var $u=function(k){function G(W,oe,ye,Ie){k.call(this,W,oe,ye,Es),Ie&&(this.loadGeoJSON=Ie)}return k&&(G.__proto__=k),(G.prototype=Object.create(k&&k.prototype)).constructor=G,G.prototype.loadData=function(W,oe){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),this._pendingCallback=oe,this._pendingLoadDataParams=W,this._state&&this._state!=="Idle"?this._state="NeedsLoadData":(this._state="Coalescing",this._loadData())},G.prototype._loadData=function(){var W=this;if(this._pendingCallback&&this._pendingLoadDataParams){var oe=this._pendingCallback,ye=this._pendingLoadDataParams;delete this._pendingCallback,delete this._pendingLoadDataParams;var Ie=!!(ye&&ye.request&&ye.request.collectResourceTiming)&&new n.RequestPerformance(ye.request);this.loadGeoJSON(ye,function(Le,q){if(Le||!q)return oe(Le);if(typeof q!="object")return oe(new Error("Input data given to '"+ye.source+"' is not a valid GeoJSON object."));(function ct(wt,_r){var yr,dt=wt&&wt.type;if(dt==="FeatureCollection")for(yr=0;yr"u"||typeof document>"u"?"not a browser":Array.prototype&&Array.prototype.every&&Array.prototype.filter&&Array.prototype.forEach&&Array.prototype.indexOf&&Array.prototype.lastIndexOf&&Array.prototype.map&&Array.prototype.some&&Array.prototype.reduce&&Array.prototype.reduceRight&&Array.isArray?Function.prototype&&Function.prototype.bind?Object.keys&&Object.create&&Object.getPrototypeOf&&Object.getOwnPropertyNames&&Object.isSealed&&Object.isFrozen&&Object.isExtensible&&Object.getOwnPropertyDescriptor&&Object.defineProperty&&Object.defineProperties&&Object.seal&&Object.freeze&&Object.preventExtensions?"JSON"in window&&"parse"in JSON&&"stringify"in JSON?function(){if(!("Worker"in window&&"Blob"in window&&"URL"in window))return!1;var T,w,D=new Blob([""],{type:"text/javascript"}),z=URL.createObjectURL(D);try{w=new Worker(z),T=!0}catch{T=!1}return w&&w.terminate(),URL.revokeObjectURL(z),T}()?"Uint8ClampedArray"in window?ArrayBuffer.isView?function(){var T=document.createElement("canvas");T.width=T.height=1;var w=T.getContext("2d");if(!w)return!1;var D=w.getImageData(0,0,1,1);return D&&D.width===T.width}()?(f[A=E&&E.failIfMajorPerformanceCaveat]===void 0&&(f[A]=function(T){var w=function(z){var $=document.createElement("canvas"),K=Object.create(d.webGLContextAttributes);return K.failIfMajorPerformanceCaveat=z,$.probablySupportsContext?$.probablySupportsContext("webgl",K)||$.probablySupportsContext("experimental-webgl",K):$.supportsContext?$.supportsContext("webgl",K)||$.supportsContext("experimental-webgl",K):$.getContext("webgl",K)||$.getContext("experimental-webgl",K)}(T);if(!w)return!1;var D=w.createShader(w.VERTEX_SHADER);return!(!D||w.isContextLost())&&(w.shaderSource(D,"void main() {}"),w.compileShader(D),w.getShaderParameter(D,w.COMPILE_STATUS)===!0)}(A)),f[A]?void 0:"insufficient WebGL support"):"insufficient Canvas/getImageData support":"insufficient ArrayBuffer support":"insufficient Uint8ClampedArray support":"insufficient worker support":"insufficient JSON support":"insufficient Object support":"insufficient Function support":"insufficent Array support";var A}c.exports?c.exports=d:window&&(window.mapboxgl=window.mapboxgl||{},window.mapboxgl.supported=d,window.mapboxgl.notSupportedReason=l);var f={};d.webGLContextAttributes={antialias:!1,alpha:!0,stencil:!0,depth:!0}}),m={create:function(c,d,l){var f=n.window.document.createElement(c);return d!==void 0&&(f.className=d),l&&l.appendChild(f),f},createNS:function(c,d){return n.window.document.createElementNS(c,d)}},g=n.window.document&&n.window.document.documentElement.style;function x(c){if(!g)return c[0];for(var d=0;d=0?0:c.button},m.remove=function(c){c.parentNode&&c.parentNode.removeChild(c)};var Q=function(c){function d(){c.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new n.RGBAImage({width:1,height:1}),this.dirty=!0}return c&&(d.__proto__=c),(d.prototype=Object.create(c&&c.prototype)).constructor=d,d.prototype.isLoaded=function(){return this.loaded},d.prototype.setLoaded=function(l){if(this.loaded!==l&&(this.loaded=l,l)){for(var f=0,E=this.requestors;f=0?1.2:1))}function Ee(c,d,l,f,E,A,T){for(var w=0;w65535)D(new Error("glyphs > 65535 not supported"));else if(K.ranges[_e])D(null,{stack:z,id:$,glyph:ee});else{var de=K.requests[_e];de||(de=K.requests[_e]=[],ft.loadGlyphRange(z,_e,l.url,l.requestManager,function(Te,ce){if(ce){for(var Fe in ce)l._doesCharSupportLocalGlyph(+Fe)||(K.glyphs[+Fe]=ce[+Fe]);K.ranges[_e]=!0}for(var De=0,Xe=de;De1&&(w=c[++T]);var z=Math.abs(D-w.left),$=Math.abs(D-w.right),K=Math.min(z,$),ee=void 0,_e=E/l*(f+1);if(w.isDash){var de=f-Math.abs(_e);ee=Math.sqrt(K*K+de*de)}else ee=f-Math.sqrt(K*K+_e*_e);this.data[A+D]=Math.max(0,Math.min(255,ee+128))}},ze.prototype.addRegularDash=function(c){for(var d=c.length-1;d>=0;--d){var l=c[d],f=c[d+1];l.zeroLength?c.splice(d,1):f&&f.isDash===l.isDash&&(f.left=l.left,c.splice(d,1))}var E=c[0],A=c[c.length-1];E.isDash===A.isDash&&(E.left=A.left-this.width,A.right=E.right+this.width);for(var T=this.width*this.nextRow,w=0,D=c[w],z=0;z1&&(D=c[++w]);var $=Math.abs(z-D.left),K=Math.abs(z-D.right),ee=Math.min($,K);this.data[T+z]=Math.max(0,Math.min(255,(D.isDash?ee:-ee)+128))}},ze.prototype.addDash=function(c,d){var l=d?7:0,f=2*l+1;if(this.nextRow+f>this.height)return n.warnOnce("LineAtlas out of space"),null;for(var E=0,A=0;A=l&&c.x=f&&c.y0&&(z[new n.OverscaledTileID(l.overscaledZ,T,f.z,A,f.y-1).key]={backfilled:!1},z[new n.OverscaledTileID(l.overscaledZ,l.wrap,f.z,f.x,f.y-1).key]={backfilled:!1},z[new n.OverscaledTileID(l.overscaledZ,D,f.z,w,f.y-1).key]={backfilled:!1}),f.y+10&&(E.resourceTiming=l._resourceTiming,l._resourceTiming=[]),l.fire(new n.Event("data",E))}})},d.prototype.onAdd=function(l){this.map=l,this.load()},d.prototype.setData=function(l){var f=this;return this._data=l,this.fire(new n.Event("dataloading",{dataType:"source"})),this._updateWorkerData(function(E){if(E)f.fire(new n.ErrorEvent(E));else{var A={dataType:"source",sourceDataType:"content"};f._collectResourceTiming&&f._resourceTiming&&f._resourceTiming.length>0&&(A.resourceTiming=f._resourceTiming,f._resourceTiming=[]),f.fire(new n.Event("data",A))}}),this},d.prototype.getClusterExpansionZoom=function(l,f){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:l,source:this.id},f),this},d.prototype.getClusterChildren=function(l,f){return this.actor.send("geojson.getClusterChildren",{clusterId:l,source:this.id},f),this},d.prototype.getClusterLeaves=function(l,f,E,A){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:l,limit:f,offset:E},A),this},d.prototype._updateWorkerData=function(l){var f=this;this._loaded=!1;var E=n.extend({},this.workerOptions),A=this._data;typeof A=="string"?(E.request=this.map._requestManager.transformRequest(n.browser.resolveURL(A),n.ResourceType.Source),E.request.collectResourceTiming=this._collectResourceTiming):E.data=JSON.stringify(A),this.actor.send(this.type+".loadData",E,function(T,w){f._removed||w&&w.abandoned||(f._loaded=!0,w&&w.resourceTiming&&w.resourceTiming[f.id]&&(f._resourceTiming=w.resourceTiming[f.id].slice(0)),f.actor.send(f.type+".coalesce",{source:E.source},null),l(T))})},d.prototype.loaded=function(){return this._loaded},d.prototype.loadTile=function(l,f){var E=this,A=l.actor?"reloadTile":"loadTile";l.actor=this.actor,l.request=this.actor.send(A,{type:this.type,uid:l.uid,tileID:l.tileID,zoom:l.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:n.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId},function(T,w){return delete l.request,l.unloadVectorData(),l.aborted?f(null):T?f(T):(l.loadVectorData(w,E.map.painter,A==="reloadTile"),f(null))})},d.prototype.abortTile=function(l){l.request&&(l.request.cancel(),delete l.request),l.aborted=!0},d.prototype.unloadTile=function(l){l.unloadVectorData(),this.actor.send("removeTile",{uid:l.uid,type:this.type,source:this.id})},d.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})},d.prototype.serialize=function(){return n.extend({},this._options,{type:this.type,data:this._data})},d.prototype.hasTransition=function(){return!1},d}(n.Evented),qr=n.createLayout([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),Jr=function(c){function d(l,f,E,A){c.call(this),this.id=l,this.dispatcher=E,this.coordinates=f.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(A),this.options=f}return c&&(d.__proto__=c),(d.prototype=Object.create(c&&c.prototype)).constructor=d,d.prototype.load=function(l,f){var E=this;this._loaded=!1,this.fire(new n.Event("dataloading",{dataType:"source"})),this.url=this.options.url,n.getImage(this.map._requestManager.transformRequest(this.url,n.ResourceType.Image),function(A,T){E._loaded=!0,A?E.fire(new n.ErrorEvent(A)):T&&(E.image=T,l&&(E.coordinates=l),f&&f(),E._finishLoading())})},d.prototype.loaded=function(){return this._loaded},d.prototype.updateImage=function(l){var f=this;return this.image&&l.url?(this.options.url=l.url,this.load(l.coordinates,function(){f.texture=null}),this):this},d.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new n.Event("data",{dataType:"source",sourceDataType:"metadata"})))},d.prototype.onAdd=function(l){this.map=l,this.load()},d.prototype.setCoordinates=function(l){var f=this;this.coordinates=l;var E=l.map(n.MercatorCoordinate.fromLngLat);this.tileID=function(T){for(var w=1/0,D=1/0,z=-1/0,$=-1/0,K=0,ee=T;Kf.end(0)?this.fire(new n.ErrorEvent(new n.ValidationError("sources."+this.id,null,"Playback for this video can be set only between the "+f.start(0)+" and "+f.end(0)+"-second mark."))):this.video.currentTime=l}},d.prototype.getVideo=function(){return this.video},d.prototype.onAdd=function(l){this.map||(this.map=l,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},d.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||this.video.readyState<2)){var l=this.map.painter.context,f=l.gl;for(var E in this.boundsBuffer||(this.boundsBuffer=l.createVertexBuffer(this._boundsArray,qr.members)),this.boundsSegments||(this.boundsSegments=n.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(f.LINEAR,f.CLAMP_TO_EDGE),f.texSubImage2D(f.TEXTURE_2D,0,0,0,f.RGBA,f.UNSIGNED_BYTE,this.video)):(this.texture=new n.Texture(l,this.video,f.RGBA),this.texture.bind(f.LINEAR,f.CLAMP_TO_EDGE)),this.tiles){var A=this.tiles[E];A.state!=="loaded"&&(A.state="loaded",A.texture=this.texture)}}},d.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},d.prototype.hasTransition=function(){return this.video&&!this.video.paused},d}(Jr),So=function(c){function d(l,f,E,A){c.call(this,l,f,E,A),f.coordinates?Array.isArray(f.coordinates)&&f.coordinates.length===4&&!f.coordinates.some(function(T){return!Array.isArray(T)||T.length!==2||T.some(function(w){return typeof w!="number"})})||this.fire(new n.ErrorEvent(new n.ValidationError("sources."+l,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new n.ErrorEvent(new n.ValidationError("sources."+l,null,'missing required property "coordinates"'))),f.animate&&typeof f.animate!="boolean"&&this.fire(new n.ErrorEvent(new n.ValidationError("sources."+l,null,'optional "animate" property must be a boolean value'))),f.canvas?typeof f.canvas=="string"||f.canvas instanceof n.window.HTMLCanvasElement||this.fire(new n.ErrorEvent(new n.ValidationError("sources."+l,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new n.ErrorEvent(new n.ValidationError("sources."+l,null,'missing required property "canvas"'))),this.options=f,this.animate=f.animate===void 0||f.animate}return c&&(d.__proto__=c),(d.prototype=Object.create(c&&c.prototype)).constructor=d,d.prototype.load=function(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof n.window.HTMLCanvasElement?this.options.canvas:n.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new n.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())},d.prototype.getCanvas=function(){return this.canvas},d.prototype.onAdd=function(l){this.map=l,this.load(),this.canvas&&this.animate&&this.play()},d.prototype.onRemove=function(){this.pause()},d.prototype.prepare=function(){var l=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,l=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,l=!0),!this._hasInvalidDimensions()&&Object.keys(this.tiles).length!==0){var f=this.map.painter.context,E=f.gl;for(var A in this.boundsBuffer||(this.boundsBuffer=f.createVertexBuffer(this._boundsArray,qr.members)),this.boundsSegments||(this.boundsSegments=n.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(l||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new n.Texture(f,this.canvas,E.RGBA,{premultiply:!0}),this.tiles){var T=this.tiles[A];T.state!=="loaded"&&(T.state="loaded",T.texture=this.texture)}}},d.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},d.prototype.hasTransition=function(){return this._playing},d.prototype._hasInvalidDimensions=function(){for(var l=0,f=[this.canvas.width,this.canvas.height];lthis.max){var T=this._getAndRemoveByKey(this.order[0]);T&&this.onRemove(T)}return this},$e.prototype.has=function(c){return c.wrapped().key in this.data},$e.prototype.getAndRemove=function(c){return this.has(c)?this._getAndRemoveByKey(c.wrapped().key):null},$e.prototype._getAndRemoveByKey=function(c){var d=this.data[c].shift();return d.timeout&&clearTimeout(d.timeout),this.data[c].length===0&&delete this.data[c],this.order.splice(this.order.indexOf(c),1),d.value},$e.prototype.getByKey=function(c){var d=this.data[c];return d?d[0].value:null},$e.prototype.get=function(c){return this.has(c)?this.data[c.wrapped().key][0].value:null},$e.prototype.remove=function(c,d){if(!this.has(c))return this;var l=c.wrapped().key,f=d===void 0?0:this.data[l].indexOf(d),E=this.data[l][f];return this.data[l].splice(f,1),E.timeout&&clearTimeout(E.timeout),this.data[l].length===0&&delete this.data[l],this.onRemove(E.value),this.order.splice(this.order.indexOf(l),1),this},$e.prototype.setMaxSize=function(c){for(this.max=c;this.order.length>this.max;){var d=this._getAndRemoveByKey(this.order[0]);d&&this.onRemove(d)}return this},$e.prototype.filter=function(c){var d=[];for(var l in this.data)for(var f=0,E=this.data[l];f1||(Math.abs($)>1&&(Math.abs($+ee)===1?$+=ee:Math.abs($-ee)===1&&($-=ee)),z.dem&&D.dem&&(D.dem.backfillBorder(z.dem,$,K),D.neighboringTiles&&D.neighboringTiles[_e]&&(D.neighboringTiles[_e].backfilled=!0)))}},d.prototype.getTile=function(l){return this.getTileByID(l.key)},d.prototype.getTileByID=function(l){return this._tiles[l]},d.prototype._retainLoadedChildren=function(l,f,E,A){for(var T in this._tiles){var w=this._tiles[T];if(!(A[T]||!w.hasData()||w.tileID.overscaledZ<=f||w.tileID.overscaledZ>E)){for(var D=w.tileID;w&&w.tileID.overscaledZ>f+1;){var z=w.tileID.scaledTo(w.tileID.overscaledZ-1);(w=this._tiles[z.key])&&w.hasData()&&(D=z)}for(var $=D;$.overscaledZ>f;)if(l[($=$.scaledTo($.overscaledZ-1)).key]){A[D.key]=D;break}}}},d.prototype.findLoadedParent=function(l,f){if(l.key in this._loadedParentTiles){var E=this._loadedParentTiles[l.key];return E&&E.tileID.overscaledZ>=f?E:null}for(var A=l.overscaledZ-1;A>=f;A--){var T=l.scaledTo(A),w=this._getLoadedTile(T);if(w)return w}},d.prototype._getLoadedTile=function(l){var f=this._tiles[l.key];return f&&f.hasData()?f:this._cache.getByKey(l.wrapped().key)},d.prototype.updateCacheSize=function(l){var f=Math.ceil(l.width/this._source.tileSize)+1,E=Math.ceil(l.height/this._source.tileSize)+1,A=Math.floor(f*E*5),T=typeof this._maxTileCacheSize=="number"?Math.min(this._maxTileCacheSize,A):A;this._cache.setMaxSize(T)},d.prototype.handleWrapJump=function(l){var f=Math.round((l-(this._prevLng===void 0?l:this._prevLng))/360);if(this._prevLng=l,f){var E={};for(var A in this._tiles){var T=this._tiles[A];T.tileID=T.tileID.unwrapTo(T.tileID.wrap+f),E[T.tileID.key]=T}for(var w in this._tiles=E,this._timers)clearTimeout(this._timers[w]),delete this._timers[w];for(var D in this._tiles)this._setTileReloadTimer(D,this._tiles[D])}},d.prototype.update=function(l){var f=this;if(this.transform=l,this._sourceLoaded&&!this._paused){var E;this.updateCacheSize(l),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used?this._source.tileID?E=l.getVisibleUnwrappedCoordinates(this._source.tileID).map(function(Pt){return new n.OverscaledTileID(Pt.canonical.z,Pt.wrap,Pt.canonical.z,Pt.canonical.x,Pt.canonical.y)}):(E=l.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(E=E.filter(function(Pt){return f._source.hasTile(Pt)}))):E=[];var A=l.coveringZoomLevel(this._source),T=Math.max(A-d.maxOverzooming,this._source.minzoom),w=Math.max(A+d.maxUnderzooming,this._source.minzoom),D=this._updateRetainedTiles(E,A);if(ht(this._source.type)){for(var z={},$={},K=0,ee=Object.keys(D);Kthis._source.maxzoom){var Fe=Te.children(this._source.maxzoom)[0],De=this.getTile(Fe);if(De&&De.hasData()){E[Fe.key]=Fe;continue}}else{var Xe=Te.children(this._source.maxzoom);if(E[Xe[0].key]&&E[Xe[1].key]&&E[Xe[2].key]&&E[Xe[3].key])continue}for(var at=ce.wasRequested(),Je=Te.overscaledZ-1;Je>=T;--Je){var lt=Te.scaledTo(Je);if(A[lt.key]||(A[lt.key]=!0,!(ce=this.getTile(lt))&&at&&(ce=this._addTile(lt)),ce&&(E[lt.key]=lt,at=ce.wasRequested(),ce.hasData())))break}}}return E},d.prototype._updateLoadedParentTileCache=function(){for(var l in this._loadedParentTiles={},this._tiles){for(var f=[],E=void 0,A=this._tiles[l].tileID;A.overscaledZ>0;){if(A.key in this._loadedParentTiles){E=this._loadedParentTiles[A.key];break}f.push(A.key);var T=A.scaledTo(A.overscaledZ-1);if(E=this._getLoadedTile(T))break;A=T}for(var w=0,D=f;w0||(f.hasData()&&f.state!=="reloading"?this._cache.add(f.tileID,f,f.getExpiryTimeout()):(f.aborted=!0,this._abortTile(f),this._unloadTile(f))))},d.prototype.clearTiles=function(){for(var l in this._shouldReloadOnResume=!1,this._paused=!1,this._tiles)this._removeTile(l);this._cache.reset()},d.prototype.tilesIn=function(l,f,E){var A=this,T=[],w=this.transform;if(!w)return T;for(var D=E?w.getCameraQueryGeometry(l):l,z=l.map(function(Je){return w.pointCoordinate(Je)}),$=D.map(function(Je){return w.pointCoordinate(Je)}),K=this.getIds(),ee=1/0,_e=1/0,de=-1/0,Te=-1/0,ce=0,Fe=$;ce=0&&nr[1].y+Bt>=0){var Cr=z.map(function(Nr){return Pt.getTilePoint(Nr)}),Dr=$.map(function(Nr){return Pt.getTilePoint(Nr)});T.push({tile:lt,tileID:Pt,queryGeometry:Cr,cameraQueryGeometry:Dr,scale:Ht})}}},at=0;at=n.browser.now())return!0}return!1},d.prototype.setFeatureState=function(l,f,E){this._state.updateState(l=l||"_geojsonTileLayer",f,E)},d.prototype.removeFeatureState=function(l,f,E){this._state.removeFeatureState(l=l||"_geojsonTileLayer",f,E)},d.prototype.getFeatureState=function(l,f){return this._state.getState(l=l||"_geojsonTileLayer",f)},d.prototype.setDependencies=function(l,f,E){var A=this._tiles[l];A&&A.setDependencies(f,E)},d.prototype.reloadTilesForDependencies=function(l,f){for(var E in this._tiles)this._tiles[E].hasDependency(l,f)&&this._reloadTile(E,"reloading");this._cache.filter(function(A){return!A.hasDependency(l,f)})},d}(n.Evented);function We(c,d){var l=Math.abs(2*c.wrap)-+(c.wrap<0),f=Math.abs(2*d.wrap)-+(d.wrap<0);return c.overscaledZ-d.overscaledZ||f-l||d.canonical.y-c.canonical.y||d.canonical.x-c.canonical.x}function ht(c){return c==="raster"||c==="image"||c==="video"}function Nt(){return new n.window.Worker(rl.workerUrl)}ge.maxOverzooming=10,ge.maxUnderzooming=3;var ct="mapboxgl_preloaded_worker_pool",wt=function(){this.active={}};wt.prototype.acquire=function(c){if(!this.workers)for(this.workers=[];this.workers.length0?(f-A)/T:0;return this.points[E].mult(1-w).add(this.points[d].mult(w))};var wo=function(c,d,l){var f=this.boxCells=[],E=this.circleCells=[];this.xCellCount=Math.ceil(c/l),this.yCellCount=Math.ceil(d/l);for(var A=0;A=-d[0]&&l<=d[0]&&f>=-d[1]&&f<=d[1]}function hu(c,d,l,f,E,A,T,w){var D=f?c.textSizeData:c.iconSizeData,z=n.evaluateSizeForZoom(D,l.transform.zoom),$=[256/l.width*2+1,256/l.height*2+1],K=f?c.text.dynamicLayoutVertexArray:c.icon.dynamicLayoutVertexArray;K.clear();for(var ee=c.lineVertexArray,_e=f?c.text.placedSymbolArray:c.icon.placedSymbolArray,de=l.transform.width/l.transform.height,Te=!1,ce=0;ce<_e.length;ce++){var Fe=_e.get(ce);if(Fe.hidden||Fe.writingMode===n.WritingMode.vertical&&!Te)cn(Fe.numGlyphs,K);else{Te=!1;var De=[Fe.anchorX,Fe.anchorY,0,1];if(n.transformMat4(De,De,d),Ln(De,$)){var Xe=Eo(l.transform.cameraToCenterDistance,De[3]),at=n.evaluateSizeForFeature(D,z,Fe),Je=T?at/Xe:at*Xe,lt=new n.Point(Fe.anchorX,Fe.anchorY),Pt=so(lt,E).point,Ht={},Bt=fu(Fe,Je,!1,w,d,E,A,c.glyphOffsetArray,ee,K,Pt,lt,Ht,de);Te=Bt.useVertical,(Bt.notEnoughRoom||Te||Bt.needsFlipping&&fu(Fe,Je,!0,w,d,E,A,c.glyphOffsetArray,ee,K,Pt,lt,Ht,de).notEnoughRoom)&&cn(Fe.numGlyphs,K)}else cn(Fe.numGlyphs,K)}}f?c.text.dynamicLayoutVertexBuffer.updateData(K):c.icon.dynamicLayoutVertexBuffer.updateData(K)}function Di(c,d,l,f,E,A,T,w,D,z,$){var K=w.glyphStartIndex+w.numGlyphs,ee=w.lineStartIndex,_e=w.lineStartIndex+w.lineLength,de=d.getoffsetX(w.glyphStartIndex),Te=d.getoffsetX(K-1),ce=hi(c*de,l,f,E,A,T,w.segment,ee,_e,D,z,$);if(!ce)return null;var Fe=hi(c*Te,l,f,E,A,T,w.segment,ee,_e,D,z,$);return Fe?{first:ce,last:Fe}:null}function gi(c,d,l,f){return c===n.WritingMode.horizontal&&Math.abs(l.y-d.y)>Math.abs(l.x-d.x)*f?{useVertical:!0}:(c===n.WritingMode.vertical?d.yl.x)?{needsFlipping:!0}:null}function fu(c,d,l,f,E,A,T,w,D,z,$,K,ee,_e){var de,Te=d/24,ce=c.lineOffsetX*Te,Fe=c.lineOffsetY*Te;if(c.numGlyphs>1){var De=c.glyphStartIndex+c.numGlyphs,Xe=c.lineStartIndex,at=c.lineStartIndex+c.lineLength,Je=Di(Te,w,ce,Fe,l,$,K,c,D,A,ee);if(!Je)return{notEnoughRoom:!0};var lt=so(Je.first.point,T).point,Pt=so(Je.last.point,T).point;if(f&&!l){var Ht=gi(c.writingMode,lt,Pt,_e);if(Ht)return Ht}de=[Je.first];for(var Bt=c.glyphStartIndex+1;Bt0?Nr.point:Wa(K,Dr,nr,1,E),lr=gi(c.writingMode,nr,Lo,_e);if(lr)return lr}var $r=hi(Te*w.getoffsetX(c.glyphStartIndex),ce,Fe,l,$,K,c.segment,c.lineStartIndex,c.lineStartIndex+c.lineLength,D,A,ee);if(!$r)return{notEnoughRoom:!0};de=[$r]}for(var co=0,Xr=de;co0?1:-1,de=0;f&&(_e*=-1,de=Math.PI),_e<0&&(de+=Math.PI);for(var Te=_e>0?w+T:w+T+1,ce=E,Fe=E,De=0,Xe=0,at=Math.abs(ee),Je=[];De+Xe<=at;){if((Te+=_e)=D)return null;if(Fe=ce,Je.push(ce),(ce=K[Te])===void 0){var lt=new n.Point(z.getx(Te),z.gety(Te)),Pt=so(lt,$);if(Pt.signedDistanceFromCamera>0)ce=K[Te]=Pt.point;else{var Ht=Te-_e;ce=Wa(De===0?A:new n.Point(z.getx(Ht),z.gety(Ht)),lt,Fe,at-De+1,$)}}De+=Xe,Xe=Fe.dist(ce)}var Bt=(at-De)/Xe,nr=ce.sub(Fe),Cr=nr.mult(Bt)._add(Fe);Cr._add(nr._unit()._perp()._mult(l*_e));var Dr=de+Math.atan2(ce.y-Fe.y,ce.x-Fe.x);return Je.push(Cr),{point:Cr,angle:Dr,path:Je}}wo.prototype.keysLength=function(){return this.boxKeys.length+this.circleKeys.length},wo.prototype.insert=function(c,d,l,f,E){this._forEachCell(d,l,f,E,this._insertBoxCell,this.boxUid++),this.boxKeys.push(c),this.bboxes.push(d),this.bboxes.push(l),this.bboxes.push(f),this.bboxes.push(E)},wo.prototype.insertCircle=function(c,d,l,f){this._forEachCell(d-f,l-f,d+f,l+f,this._insertCircleCell,this.circleUid++),this.circleKeys.push(c),this.circles.push(d),this.circles.push(l),this.circles.push(f)},wo.prototype._insertBoxCell=function(c,d,l,f,E,A){this.boxCells[E].push(A)},wo.prototype._insertCircleCell=function(c,d,l,f,E,A){this.circleCells[E].push(A)},wo.prototype._query=function(c,d,l,f,E,A){if(l<0||c>this.width||f<0||d>this.height)return!E&&[];var T=[];if(c<=0&&d<=0&&this.width<=l&&this.height<=f){if(E)return!0;for(var w=0;w0:T},wo.prototype._queryCircle=function(c,d,l,f,E){var A=c-l,T=c+l,w=d-l,D=d+l;if(T<0||A>this.width||D<0||w>this.height)return!f&&[];var z=[];return this._forEachCell(A,w,T,D,this._queryCellCircle,z,{hitTest:f,circle:{x:c,y:d,radius:l},seenUids:{box:{},circle:{}}},E),f?z.length>0:z},wo.prototype.query=function(c,d,l,f,E){return this._query(c,d,l,f,!1,E)},wo.prototype.hitTest=function(c,d,l,f,E){return this._query(c,d,l,f,!0,E)},wo.prototype.hitTestCircle=function(c,d,l,f){return this._queryCircle(c,d,l,!0,f)},wo.prototype._queryCell=function(c,d,l,f,E,A,T,w){var D=T.seenUids,z=this.boxCells[E];if(z!==null)for(var $=this.bboxes,K=0,ee=z;K=$[de+0]&&f>=$[de+1]&&(!w||w(this.boxKeys[_e]))){if(T.hitTest)return A.push(!0),!0;A.push({key:this.boxKeys[_e],x1:$[de],y1:$[de+1],x2:$[de+2],y2:$[de+3]})}}}var Te=this.circleCells[E];if(Te!==null)for(var ce=this.circles,Fe=0,De=Te;FeT*T+w*w},wo.prototype._circleAndRectCollide=function(c,d,l,f,E,A,T){var w=(A-f)/2,D=Math.abs(c-(f+w));if(D>w+l)return!1;var z=(T-E)/2,$=Math.abs(d-(E+z));if($>z+l)return!1;if(D<=w||$<=z)return!0;var K=D-w,ee=$-z;return K*K+ee*ee<=l*l};var Xs=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function cn(c,d){for(var l=0;l=1;Lo--)Nr.push(Cr.path[Lo]);for(var lr=1;lr0){for(var Gr=Nr[0].clone(),uo=Nr[0].clone(),jr=1;jr=Ht.x&&uo.x<=Bt.x&&Gr.y>=Ht.y&&uo.y<=Bt.y?[Nr]:uo.xBt.x||uo.yBt.y?[]:n.clipLine([Nr],Ht.x,Ht.y,Bt.x,Bt.y)}for(var zr=0,qi=Xr;zr=this.screenRightBoundary||f<100||d>this.screenBottomBoundary},Hi.prototype.isInsideGrid=function(c,d,l,f){return l>=0&&c=0&&d0?(this.prevPlacement&&this.prevPlacement.variableOffsets[K.crossTileID]&&this.prevPlacement.placements[K.crossTileID]&&this.prevPlacement.placements[K.crossTileID].text&&(Te=this.prevPlacement.variableOffsets[K.crossTileID].anchor),this.variableOffsets[K.crossTileID]={textOffset:ce,width:l,height:f,anchor:c,textBoxScale:E,prevAnchor:Te},this.markUsedJustification(ee,c,K,_e),ee.allowVerticalPlacement&&(this.markUsedOrientation(ee,_e,K),this.placedOrientations[K.crossTileID]=_e),{shift:Fe,placedGlyphBoxes:De}):void 0},rt.prototype.placeLayerBucketPart=function(c,d,l){var f=this,E=c.parameters,A=E.bucket,T=E.layout,w=E.posMatrix,D=E.textLabelPlaneMatrix,z=E.labelToScreenMatrix,$=E.textPixelRatio,K=E.holdingForFade,ee=E.collisionBoxArray,_e=E.partiallyEvaluatedTextSize,de=E.collisionGroup,Te=T.get("text-optional"),ce=T.get("icon-optional"),Fe=T.get("text-allow-overlap"),De=T.get("icon-allow-overlap"),Xe=T.get("text-rotation-alignment")==="map",at=T.get("text-pitch-alignment")==="map",Je=T.get("icon-text-fit")!=="none",lt=T.get("symbol-z-order")==="viewport-y",Pt=Fe&&(De||!A.hasIconData()||ce),Ht=De&&(Fe||!A.hasTextData()||Te);!A.collisionArrays&&ee&&A.deserializeCollisionBoxes(ee);var Bt=function(lr,$r){if(!d[lr.crossTileID])if(K)f.placements[lr.crossTileID]=new Kp(!1,!1,!1);else{var co,Xr=!1,Gr=!1,uo=!0,jr=null,zr={box:null,offscreen:null},qi={box:null,offscreen:null},Si=null,Rn=null,hn=0,Fi=0,wi=0;$r.textFeatureIndex?hn=$r.textFeatureIndex:lr.useRuntimeCollisionCircles&&(hn=lr.featureIndex),$r.verticalTextFeatureIndex&&(Fi=$r.verticalTextFeatureIndex);var ra=$r.textBox;if(ra){var Zn=function(Io){var Cn=n.WritingMode.horizontal;if(A.allowVerticalPlacement&&!Io&&f.prevPlacement){var Ki=f.prevPlacement.placedOrientations[lr.crossTileID];Ki&&(f.placedOrientations[lr.crossTileID]=Ki,f.markUsedOrientation(A,Cn=Ki,lr))}return Cn},Cs=function(Io,Cn){if(A.allowVerticalPlacement&&lr.numVerticalGlyphVertices>0&&$r.verticalTextBox)for(var Ki=0,Ms=A.writingModes;Ki0&&(oa=oa.filter(function(Io){return Io!==Ja.anchor})).unshift(Ja.anchor)}var wa=function(Io,Cn,Ki){for(var Ms=Io.x2-Io.x1,ol=Io.y2-Io.y1,Lu=lr.textBoxScale,Kl=Je&&!De?Cn:null,ap={box:[],offscreen:!1},sp=Fe?2*oa.length:oa.length,hs=0;hs=oa.length,lr,A,Ki,Kl);if(il&&(ap=il.placedGlyphBoxes)&&ap.box&&ap.box.length){Xr=!0,jr=il.shift;break}}return ap};Cs(function(){return wa(ra,$r.iconBox,n.WritingMode.horizontal)},function(){var Io=$r.verticalTextBox;return A.allowVerticalPlacement&&!(zr&&zr.box&&zr.box.length)&&lr.numVerticalGlyphVertices>0&&Io?wa(Io,$r.verticalIconBox,n.WritingMode.vertical):{box:null,offscreen:null}}),zr&&(Xr=zr.box,uo=zr.offscreen);var Mp=Zn(zr&&zr.box);if(!Xr&&f.prevPlacement){var np=f.prevPlacement.variableOffsets[lr.crossTileID];np&&(f.variableOffsets[lr.crossTileID]=np,f.markUsedJustification(A,np.anchor,lr,Mp))}}else{var Is=function(Io,Cn){var Ki=f.collisionIndex.placeCollisionBox(Io,Fe,$,w,de.predicate);return Ki&&Ki.box&&Ki.box.length&&(f.markUsedOrientation(A,Cn,lr),f.placedOrientations[lr.crossTileID]=Cn),Ki};Cs(function(){return Is(ra,n.WritingMode.horizontal)},function(){var Io=$r.verticalTextBox;return A.allowVerticalPlacement&&lr.numVerticalGlyphVertices>0&&Io?Is(Io,n.WritingMode.vertical):{box:null,offscreen:null}}),Zn(zr&&zr.box&&zr.box.length)}}if(Xr=(co=zr)&&co.box&&co.box.length>0,uo=co&&co.offscreen,lr.useRuntimeCollisionCircles){var Du=A.text.placedSymbolArray.get(lr.centerJustifiedTextSymbolIndex),iu=n.evaluateSizeForFeature(A.textSizeData,_e,Du),ds=T.get("text-padding");Si=f.collisionIndex.placeCollisionCircles(Fe,Du,A.lineVertexArray,A.glyphOffsetArray,iu,w,D,z,l,at,de.predicate,lr.collisionCircleDiameter,ds),Xr=Fe||Si.circles.length>0&&!Si.collisionDetected,uo=uo&&Si.offscreen}if($r.iconFeatureIndex&&(wi=$r.iconFeatureIndex),$r.iconBox){var Ou=function(Io){var Cn=Je&&jr?we(Io,jr.x,jr.y,Xe,at,f.transform.angle):Io;return f.collisionIndex.placeCollisionBox(Cn,De,$,w,de.predicate)};Gr=qi&&qi.box&&qi.box.length&&$r.verticalIconBox?(Rn=Ou($r.verticalIconBox)).box.length>0:(Rn=Ou($r.iconBox)).box.length>0,uo=uo&&Rn.offscreen}var kn=Te||lr.numHorizontalGlyphVertices===0&&lr.numVerticalGlyphVertices===0,Bi=ce||lr.numIconVertices===0;if(kn||Bi?Bi?kn||(Gr=Gr&&Xr):Xr=Gr&&Xr:Gr=Xr=Gr&&Xr,Xr&&co&&co.box&&f.collisionIndex.insertCollisionBox(co.box,T.get("text-ignore-placement"),A.bucketInstanceId,qi&&qi.box&&Fi?Fi:hn,de.ID),Gr&&Rn&&f.collisionIndex.insertCollisionBox(Rn.box,T.get("icon-ignore-placement"),A.bucketInstanceId,wi,de.ID),Si&&(Xr&&f.collisionIndex.insertCollisionCircles(Si.circles,T.get("text-ignore-placement"),A.bucketInstanceId,hn,de.ID),l)){var da=A.bucketInstanceId,es=f.collisionCircleArrays[da];es===void 0&&(es=f.collisionCircleArrays[da]=new Pa);for(var ys=0;ys=0;--Cr){var Dr=nr[Cr];Bt(A.symbolInstances.get(Dr),A.collisionArrays[Dr])}else for(var Nr=c.symbolInstanceStart;Nr=0&&(c.text.placedSymbolArray.get(w).crossTileID=E>=0&&w!==E?0:l.crossTileID)}},rt.prototype.markUsedOrientation=function(c,d,l){for(var f=d===n.WritingMode.horizontal||d===n.WritingMode.horizontalOnly?d:0,E=d===n.WritingMode.vertical?d:0,A=0,T=[l.leftJustifiedTextSymbolIndex,l.centerJustifiedTextSymbolIndex,l.rightJustifiedTextSymbolIndex];A0,Ht=f.placedOrientations[De.crossTileID],Bt=Ht===n.WritingMode.vertical,nr=Ht===n.WritingMode.horizontal||Ht===n.WritingMode.horizontalOnly;if(Xe>0||at>0){var Cr=S1(lt.text);_e(c.text,Xe,Bt?xp:Cr),_e(c.text,at,nr?xp:Cr);var Dr=lt.text.isHidden();[De.rightJustifiedTextSymbolIndex,De.centerJustifiedTextSymbolIndex,De.leftJustifiedTextSymbolIndex].forEach(function(zr){zr>=0&&(c.text.placedSymbolArray.get(zr).hidden=Dr||Bt?1:0)}),De.verticalPlacedTextSymbolIndex>=0&&(c.text.placedSymbolArray.get(De.verticalPlacedTextSymbolIndex).hidden=Dr||nr?1:0);var Nr=f.variableOffsets[De.crossTileID];Nr&&f.markUsedJustification(c,Nr.anchor,De,Ht);var Lo=f.placedOrientations[De.crossTileID];Lo&&(f.markUsedJustification(c,"left",De,Lo),f.markUsedOrientation(c,Lo,De))}if(Pt){var lr=S1(lt.icon),$r=!(K&&De.verticalPlacedIconSymbolIndex&&Bt);De.placedIconSymbolIndex>=0&&(_e(c.icon,De.numIconVertices,$r?lr:xp),c.icon.placedSymbolArray.get(De.placedIconSymbolIndex).hidden=lt.icon.isHidden()),De.verticalPlacedIconSymbolIndex>=0&&(_e(c.icon,De.numVerticalIconVertices,$r?xp:lr),c.icon.placedSymbolArray.get(De.verticalPlacedIconSymbolIndex).hidden=lt.icon.isHidden())}if(c.hasIconCollisionBoxData()||c.hasTextCollisionBoxData()){var co=c.collisionArrays[Fe];if(co){var Xr=new n.Point(0,0);if(co.textBox||co.verticalTextBox){var Gr=!0;if(D){var uo=f.variableOffsets[Je];uo?(Xr=re(uo.anchor,uo.width,uo.height,uo.textOffset,uo.textBoxScale),z&&Xr._rotate($?f.transform.angle:-f.transform.angle)):Gr=!1}co.textBox&&zt(c.textCollisionBox.collisionVertexArray,lt.text.placed,!Gr||Bt,Xr.x,Xr.y),co.verticalTextBox&&zt(c.textCollisionBox.collisionVertexArray,lt.text.placed,!Gr||nr,Xr.x,Xr.y)}var jr=!!(!nr&&co.verticalIconBox);co.iconBox&&zt(c.iconCollisionBox.collisionVertexArray,lt.icon.placed,jr,K?Xr.x:0,K?Xr.y:0),co.verticalIconBox&&zt(c.iconCollisionBox.collisionVertexArray,lt.icon.placed,!jr,K?Xr.x:0,K?Xr.y:0)}}},Te=0;Tec},rt.prototype.setStale=function(){this.stale=!0};var wr=Math.pow(2,25),Oo=Math.pow(2,24),Xi=Math.pow(2,17),Sn=Math.pow(2,16),ln=Math.pow(2,9),Xa=Math.pow(2,8),T1=Math.pow(2,1);function S1(c){if(c.opacity===0&&!c.placed)return 0;if(c.opacity===1&&c.placed)return 4294967295;var d=c.placed?1:0,l=Math.floor(127*c.opacity);return l*wr+d*Oo+l*Xi+d*Sn+l*ln+d*Xa+l*T1+d}var xp=0,Cl=function(c){this._sortAcrossTiles=c.layout.get("symbol-z-order")!=="viewport-y"&&c.layout.get("symbol-sort-key").constantOr(1)!==void 0,this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};Cl.prototype.continuePlacement=function(c,d,l,f,E){for(var A=this._bucketParts;this._currentTileIndex2};this._currentPlacementIndex>=0;){var T=d[c[this._currentPlacementIndex]],w=this.placement.collisionIndex.transform.zoom;if(T.type==="symbol"&&(!T.minzoom||T.minzoom<=w)&&(!T.maxzoom||T.maxzoom>w)){if(this._inProgressLayer||(this._inProgressLayer=new Cl(T)),this._inProgressLayer.continuePlacement(l[T.source],this.placement,this._showCollisionBoxes,T,A))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},Qp.prototype.commit=function(c){return this.placement.commit(c),this.placement};var w1=512/n.EXTENT/2,Dc=function(c,d,l){this.tileID=c,this.indexedSymbolInstances={},this.bucketInstanceId=l;for(var f=0;fc.overscaledZ)for(var w in T){var D=T[w];D.tileID.isChildOf(c)&&D.findMatches(d.symbolInstances,c,E)}else{var z=T[c.scaledTo(Number(A)).key];z&&z.findMatches(d.symbolInstances,c,E)}}for(var $=0;$1?"@2x":"",K=n.getJSON(A.transformRequest(A.normalizeSpriteURL(E,$,".json"),n.ResourceType.SpriteJSON),function(de,Te){K=null,z||(z=de,w=Te,_e())}),ee=n.getImage(A.transformRequest(A.normalizeSpriteURL(E,$,".png"),n.ResourceType.SpriteImage),function(de,Te){ee=null,z||(z=de,D=Te,_e())});function _e(){if(z)T(z);else if(w&&D){var de=n.browser.getImageData(D),Te={};for(var ce in w){var Fe=w[ce],De=Fe.width,Xe=Fe.height,at=Fe.x,Je=Fe.y,lt=Fe.sdf,Pt=Fe.pixelRatio,Ht=Fe.stretchX,Bt=Fe.stretchY,nr=Fe.content,Cr=new n.RGBAImage({width:De,height:Xe});n.RGBAImage.copy(de,Cr,{x:at,y:Je},{x:0,y:0},{width:De,height:Xe}),Te[ce]={data:Cr,pixelRatio:Pt,sdf:lt,stretchX:Ht,stretchY:Bt,content:nr}}T(null,Te)}}return{cancel:function(){K&&(K.cancel(),K=null),ee&&(ee.cancel(),ee=null)}}}(l,this.map._requestManager,function(E,A){if(f._spriteRequest=null,E)f.fire(new n.ErrorEvent(E));else if(A)for(var T in A)f.imageManager.addImage(T,A[T]);f.imageManager.setLoaded(!0),f._availableImages=f.imageManager.listImages(),f.dispatcher.broadcast("setImages",f._availableImages),f.fire(new n.Event("data",{dataType:"style"}))})},d.prototype._validateLayer=function(l){var f=this.sourceCaches[l.source];if(f){var E=l.sourceLayer;if(E){var A=f.getSource();(A.type==="geojson"||A.vectorLayerIds&&A.vectorLayerIds.indexOf(E)===-1)&&this.fire(new n.ErrorEvent(new Error('Source layer "'+E+'" does not exist on source "'+A.id+'" as specified by style layer "'+l.id+'"')))}}},d.prototype.loaded=function(){if(!this._loaded||Object.keys(this._updatedSources).length)return!1;for(var l in this.sourceCaches)if(!this.sourceCaches[l].loaded())return!1;return!!this.imageManager.isLoaded()},d.prototype._serializeLayers=function(l){for(var f=[],E=0,A=l;E0)throw new Error("Unimplemented: "+A.map(function(T){return T.command}).join(", ")+".");return E.forEach(function(T){T.command!=="setTransition"&&f[T.command].apply(f,T.args)}),this.stylesheet=l,!0},d.prototype.addImage=function(l,f){if(this.getImage(l))return this.fire(new n.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(l,f),this._afterImageUpdated(l)},d.prototype.updateImage=function(l,f){this.imageManager.updateImage(l,f)},d.prototype.getImage=function(l){return this.imageManager.getImage(l)},d.prototype.removeImage=function(l){if(!this.getImage(l))return this.fire(new n.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(l),this._afterImageUpdated(l)},d.prototype._afterImageUpdated=function(l){this._availableImages=this.imageManager.listImages(),this._changedImages[l]=!0,this._changed=!0,this.dispatcher.broadcast("setImages",this._availableImages),this.fire(new n.Event("data",{dataType:"style"}))},d.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},d.prototype.addSource=function(l,f,E){var A=this;if(E===void 0&&(E={}),this._checkLoaded(),this.sourceCaches[l]!==void 0)throw new Error("There is already a source with this ID");if(!f.type)throw new Error("The type property must be defined, but only the following properties were given: "+Object.keys(f).join(", ")+".");if(!(["vector","raster","geojson","video","image"].indexOf(f.type)>=0&&this._validate(n.validateStyle.source,"sources."+l,f,null,E))){this.map&&this.map._collectResourceTiming&&(f.collectResourceTiming=!0);var T=this.sourceCaches[l]=new ge(l,f,this.dispatcher);T.style=this,T.setEventedParent(this,function(){return{isSourceLoaded:A.loaded(),source:T.serialize(),sourceId:l}}),T.onAdd(this.map),this._changed=!0}},d.prototype.removeSource=function(l){if(this._checkLoaded(),this.sourceCaches[l]===void 0)throw new Error("There is no source with this ID");for(var f in this._layers)if(this._layers[f].source===l)return this.fire(new n.ErrorEvent(new Error('Source "'+l+'" cannot be removed while layer "'+f+'" is using it.')));var E=this.sourceCaches[l];delete this.sourceCaches[l],delete this._updatedSources[l],E.fire(new n.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:l})),E.setEventedParent(null),E.clearTiles(),E.onRemove&&E.onRemove(this.map),this._changed=!0},d.prototype.setGeoJSONSourceData=function(l,f){this._checkLoaded(),this.sourceCaches[l].getSource().setData(f),this._changed=!0},d.prototype.getSource=function(l){return this.sourceCaches[l]&&this.sourceCaches[l].getSource()},d.prototype.addLayer=function(l,f,E){E===void 0&&(E={}),this._checkLoaded();var A=l.id;if(this.getLayer(A))this.fire(new n.ErrorEvent(new Error('Layer with id "'+A+'" already exists on this map')));else{var T;if(l.type==="custom"){if(xs(this,n.validateCustomStyleLayer(l)))return;T=n.createStyleLayer(l)}else{if(typeof l.source=="object"&&(this.addSource(A,l.source),l=n.clone$1(l),l=n.extend(l,{source:A})),this._validate(n.validateStyle.layer,"layers."+A,l,{arrayIndex:-1},E))return;T=n.createStyleLayer(l),this._validateLayer(T),T.setEventedParent(this,{layer:{id:A}}),this._serializedLayers[T.id]=T.serialize()}var w=f?this._order.indexOf(f):this._order.length;if(f&&w===-1)this.fire(new n.ErrorEvent(new Error('Layer with id "'+f+'" does not exist on this map.')));else{if(this._order.splice(w,0,A),this._layerOrderChanged=!0,this._layers[A]=T,this._removedLayers[A]&&T.source&&T.type!=="custom"){var D=this._removedLayers[A];delete this._removedLayers[A],D.type!==T.type?this._updatedSources[T.source]="clear":(this._updatedSources[T.source]="reload",this.sourceCaches[T.source].pause())}this._updateLayer(T),T.onAdd&&T.onAdd(this.map)}}},d.prototype.moveLayer=function(l,f){if(this._checkLoaded(),this._changed=!0,this._layers[l]){if(l!==f){var E=this._order.indexOf(l);this._order.splice(E,1);var A=f?this._order.indexOf(f):this._order.length;f&&A===-1?this.fire(new n.ErrorEvent(new Error('Layer with id "'+f+'" does not exist on this map.'))):(this._order.splice(A,0,l),this._layerOrderChanged=!0)}}else this.fire(new n.ErrorEvent(new Error("The layer '"+l+"' does not exist in the map's style and cannot be moved.")))},d.prototype.removeLayer=function(l){this._checkLoaded();var f=this._layers[l];if(f){f.setEventedParent(null);var E=this._order.indexOf(l);this._order.splice(E,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[l]=f,delete this._layers[l],delete this._serializedLayers[l],delete this._updatedLayers[l],delete this._updatedPaintProps[l],f.onRemove&&f.onRemove(this.map)}else this.fire(new n.ErrorEvent(new Error("The layer '"+l+"' does not exist in the map's style and cannot be removed.")))},d.prototype.getLayer=function(l){return this._layers[l]},d.prototype.hasLayer=function(l){return l in this._layers},d.prototype.setLayerZoomRange=function(l,f,E){this._checkLoaded();var A=this.getLayer(l);A?A.minzoom===f&&A.maxzoom===E||(f!=null&&(A.minzoom=f),E!=null&&(A.maxzoom=E),this._updateLayer(A)):this.fire(new n.ErrorEvent(new Error("The layer '"+l+"' does not exist in the map's style and cannot have zoom extent.")))},d.prototype.setFilter=function(l,f,E){E===void 0&&(E={}),this._checkLoaded();var A=this.getLayer(l);if(A){if(!n.deepEqual(A.filter,f))return f==null?(A.filter=void 0,void this._updateLayer(A)):void(this._validate(n.validateStyle.filter,"layers."+A.id+".filter",f,null,E)||(A.filter=n.clone$1(f),this._updateLayer(A)))}else this.fire(new n.ErrorEvent(new Error("The layer '"+l+"' does not exist in the map's style and cannot be filtered.")))},d.prototype.getFilter=function(l){return n.clone$1(this.getLayer(l).filter)},d.prototype.setLayoutProperty=function(l,f,E,A){A===void 0&&(A={}),this._checkLoaded();var T=this.getLayer(l);T?n.deepEqual(T.getLayoutProperty(f),E)||(T.setLayoutProperty(f,E,A),this._updateLayer(T)):this.fire(new n.ErrorEvent(new Error("The layer '"+l+"' does not exist in the map's style and cannot be styled.")))},d.prototype.getLayoutProperty=function(l,f){var E=this.getLayer(l);if(E)return E.getLayoutProperty(f);this.fire(new n.ErrorEvent(new Error("The layer '"+l+"' does not exist in the map's style.")))},d.prototype.setPaintProperty=function(l,f,E,A){A===void 0&&(A={}),this._checkLoaded();var T=this.getLayer(l);T?n.deepEqual(T.getPaintProperty(f),E)||(T.setPaintProperty(f,E,A)&&this._updateLayer(T),this._changed=!0,this._updatedPaintProps[l]=!0):this.fire(new n.ErrorEvent(new Error("The layer '"+l+"' does not exist in the map's style and cannot be styled.")))},d.prototype.getPaintProperty=function(l,f){return this.getLayer(l).getPaintProperty(f)},d.prototype.setFeatureState=function(l,f){this._checkLoaded();var E=l.source,A=l.sourceLayer,T=this.sourceCaches[E];if(T!==void 0){var w=T.getSource().type;w==="geojson"&&A?this.fire(new n.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):w!=="vector"||A?(l.id===void 0&&this.fire(new n.ErrorEvent(new Error("The feature id parameter must be provided."))),T.setFeatureState(A,l.id,f)):this.fire(new n.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new n.ErrorEvent(new Error("The source '"+E+"' does not exist in the map's style.")))},d.prototype.removeFeatureState=function(l,f){this._checkLoaded();var E=l.source,A=this.sourceCaches[E];if(A!==void 0){var T=A.getSource().type,w=T==="vector"?l.sourceLayer:void 0;T!=="vector"||w?f&&typeof l.id!="string"&&typeof l.id!="number"?this.fire(new n.ErrorEvent(new Error("A feature id is required to remove its specific state property."))):A.removeFeatureState(w,l.id,f):this.fire(new n.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new n.ErrorEvent(new Error("The source '"+E+"' does not exist in the map's style.")))},d.prototype.getFeatureState=function(l){this._checkLoaded();var f=l.source,E=l.sourceLayer,A=this.sourceCaches[f];if(A!==void 0){if(A.getSource().type!=="vector"||E)return l.id===void 0&&this.fire(new n.ErrorEvent(new Error("The feature id parameter must be provided."))),A.getFeatureState(E,l.id);this.fire(new n.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new n.ErrorEvent(new Error("The source '"+f+"' does not exist in the map's style.")))},d.prototype.getTransition=function(){return n.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},d.prototype.serialize=function(){return n.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:n.mapObject(this.sourceCaches,function(l){return l.serialize()}),layers:this._serializeLayers(this._order)},function(l){return l!==void 0})},d.prototype._updateLayer=function(l){this._updatedLayers[l.id]=!0,l.source&&!this._updatedSources[l.source]&&this.sourceCaches[l.source].getSource().type!=="raster"&&(this._updatedSources[l.source]="reload",this.sourceCaches[l.source].pause()),this._changed=!0},d.prototype._flattenAndSortRenderedFeatures=function(l){for(var f=this,E=function(Ht){return f._layers[Ht].type==="fill-extrusion"},A={},T=[],w=this._order.length-1;w>=0;w--){var D=this._order[w];if(E(D)){A[D]=w;for(var z=0,$=l;z<$.length;z+=1){var K=$[z][D];if(K)for(var ee=0,_e=K;ee<_e.length;ee+=1)T.push(_e[ee])}}}T.sort(function(Ht,Bt){return Bt.intersectionZ-Ht.intersectionZ});for(var de=[],Te=this._order.length-1;Te>=0;Te--){var ce=this._order[Te];if(E(ce))for(var Fe=T.length-1;Fe>=0;Fe--){var De=T[Fe].feature;if(A[De.layer.id] 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}","attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}"),C1=ri("varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}","attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}"),I1=ri("uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}","attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,0,1);}"),$0=ri(`#pragma mapbox: define highp vec4 color +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize lowp float opacity +gl_FragColor=color*opacity; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`attribute vec2 a_pos;uniform mat4 u_matrix; +#pragma mapbox: define highp vec4 color +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize lowp float opacity +gl_Position=u_matrix*vec4(a_pos,0,1);}`),ec=ri(`varying vec2 v_pos; +#pragma mapbox: define highp vec4 outline_color +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize highp vec4 outline_color +#pragma mapbox: initialize lowp float opacity +float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=outline_color*(alpha*opacity); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`attribute vec2 a_pos;uniform mat4 u_matrix;uniform vec2 u_world;varying vec2 v_pos; +#pragma mapbox: define highp vec4 outline_color +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize highp vec4 outline_color +#pragma mapbox: initialize lowp float opacity +gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}`),bs=ri(`uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos; +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +void main() { +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=mix(color1,color2,u_fade)*alpha*opacity; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`uniform mat4 u_matrix;uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos; +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +#pragma mapbox: define lowp float pixel_ratio_from +#pragma mapbox: define lowp float pixel_ratio_to +void main() { +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +#pragma mapbox: initialize lowp float pixel_ratio_from +#pragma mapbox: initialize lowp float pixel_ratio_to +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}`),M1=ri(`uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b; +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +void main() { +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_fade)*opacity; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b; +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +#pragma mapbox: define lowp float pixel_ratio_from +#pragma mapbox: define lowp float pixel_ratio_to +void main() { +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +#pragma mapbox: initialize lowp float pixel_ratio_from +#pragma mapbox: initialize lowp float pixel_ratio_to +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}`),Un=ri(`varying vec4 v_color;void main() {gl_FragColor=v_color; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`uniform mat4 u_matrix;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec4 v_color; +#pragma mapbox: define highp float base +#pragma mapbox: define highp float height +#pragma mapbox: define highp vec4 color +void main() { +#pragma mapbox: initialize highp float base +#pragma mapbox: initialize highp float height +#pragma mapbox: initialize highp vec4 color +vec3 normal=a_normal_ed.xyz;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);gl_Position=u_matrix*vec4(a_pos,t > 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}`),qu=ri(`uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting; +#pragma mapbox: define lowp float base +#pragma mapbox: define lowp float height +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +#pragma mapbox: define lowp float pixel_ratio_from +#pragma mapbox: define lowp float pixel_ratio_to +void main() { +#pragma mapbox: initialize lowp float base +#pragma mapbox: initialize lowp float height +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +#pragma mapbox: initialize lowp float pixel_ratio_from +#pragma mapbox: initialize lowp float pixel_ratio_to +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec3 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting; +#pragma mapbox: define lowp float base +#pragma mapbox: define lowp float height +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +#pragma mapbox: define lowp float pixel_ratio_from +#pragma mapbox: define lowp float pixel_ratio_to +void main() { +#pragma mapbox: initialize lowp float base +#pragma mapbox: initialize lowp float height +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +#pragma mapbox: initialize lowp float pixel_ratio_from +#pragma mapbox: initialize lowp float pixel_ratio_to +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0 +? a_pos +: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}`),vu=ri(`#ifdef GL_ES +precision highp float; +#endif +uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggerationFactor=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;float exaggeration=u_zoom < 15.0 ? (u_zoom-15.0)*exaggerationFactor : 0.0;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/pow(2.0,exaggeration+(19.2562-u_zoom));gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,"uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}"),Da=ri(`uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent; +#define PI 3.141592653589793 +void main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,"uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}"),Eu=ri(`uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale; +#pragma mapbox: define highp vec4 color +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,` +#define scale 0.015873016 +attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar; +#pragma mapbox: define highp vec4 color +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +#pragma mapbox: define mediump float gapwidth +#pragma mapbox: define lowp float offset +#pragma mapbox: define mediump float width +void main() { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump float gapwidth +#pragma mapbox: initialize lowp float offset +#pragma mapbox: initialize mediump float width +float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}`),Za=ri(`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp vec2 v_uv; +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,v_uv);gl_FragColor=color*(alpha*opacity); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,` +#define scale 0.015873016 +attribute vec2 a_pos_normal;attribute vec4 a_data;attribute float a_uv_x;attribute float a_split_index;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_image_height;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp vec2 v_uv; +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +#pragma mapbox: define mediump float gapwidth +#pragma mapbox: define lowp float offset +#pragma mapbox: define mediump float width +void main() { +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump float gapwidth +#pragma mapbox: initialize lowp float offset +#pragma mapbox: initialize mediump float width +float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;highp float texel_height=1.0/u_image_height;highp float half_texel_height=0.5*texel_height;v_uv=vec2(a_uv_x,a_split_index*texel_height-half_texel_height);vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}`),$s=ri(`uniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width; +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +#pragma mapbox: define lowp float pixel_ratio_from +#pragma mapbox: define lowp float pixel_ratio_to +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +#pragma mapbox: initialize lowp float pixel_ratio_from +#pragma mapbox: initialize lowp float pixel_ratio_to +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float aspect_a=display_size_a.y/v_width;float aspect_b=display_size_b.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x*aspect_a,1.0);float x_b=mod(v_linesofar/pattern_size_b.x*aspect_b,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos_a=mix(pattern_tl_a*texel_size-texel_size,pattern_br_a*texel_size+texel_size,vec2(x_a,y));vec2 pos_b=mix(pattern_tl_b*texel_size-texel_size,pattern_br_b*texel_size+texel_size,vec2(x_b,y));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,` +#define scale 0.015873016 +#define LINE_DISTANCE_SCALE 2.0 +attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width; +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp float offset +#pragma mapbox: define mediump float gapwidth +#pragma mapbox: define mediump float width +#pragma mapbox: define lowp float floorwidth +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +#pragma mapbox: define lowp float pixel_ratio_from +#pragma mapbox: define lowp float pixel_ratio_to +void main() { +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize lowp float offset +#pragma mapbox: initialize mediump float gapwidth +#pragma mapbox: initialize mediump float width +#pragma mapbox: initialize lowp float floorwidth +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +#pragma mapbox: initialize lowp float pixel_ratio_from +#pragma mapbox: initialize lowp float pixel_ratio_to +float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}`),Oa=ri(`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale; +#pragma mapbox: define highp vec4 color +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +#pragma mapbox: define mediump float width +#pragma mapbox: define lowp float floorwidth +void main() { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump float width +#pragma mapbox: initialize lowp float floorwidth +float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,` +#define scale 0.015873016 +#define LINE_DISTANCE_SCALE 2.0 +attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale; +#pragma mapbox: define highp vec4 color +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +#pragma mapbox: define mediump float gapwidth +#pragma mapbox: define lowp float offset +#pragma mapbox: define mediump float width +#pragma mapbox: define lowp float floorwidth +void main() { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump float gapwidth +#pragma mapbox: initialize lowp float offset +#pragma mapbox: initialize mediump float width +#pragma mapbox: initialize lowp float floorwidth +float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}`),qs=ri(`uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,"uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}"),xu=ri(`uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity; +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize lowp float opacity +lowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;varying vec2 v_tex;varying float v_fade_opacity; +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize lowp float opacity +vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? +camera_to_anchor_distance/u_camera_to_center_distance : +u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0),0.0,1.0);v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;v_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));}`),N1=ri(`#define SDF_PX 8.0 +uniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1; +#pragma mapbox: define highp vec4 fill_color +#pragma mapbox: define highp vec4 halo_color +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp float halo_width +#pragma mapbox: define lowp float halo_blur +void main() { +#pragma mapbox: initialize highp vec4 fill_color +#pragma mapbox: initialize highp vec4 halo_color +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize lowp float halo_width +#pragma mapbox: initialize lowp float halo_blur +float EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;varying vec2 v_data0;varying vec3 v_data1; +#pragma mapbox: define highp vec4 fill_color +#pragma mapbox: define highp vec4 halo_color +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp float halo_width +#pragma mapbox: define lowp float halo_blur +void main() { +#pragma mapbox: initialize highp vec4 fill_color +#pragma mapbox: initialize highp vec4 halo_color +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize lowp float halo_width +#pragma mapbox: initialize lowp float halo_blur +vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? +camera_to_anchor_distance/u_camera_to_center_distance : +u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}`),D1=ri(`#define SDF_PX 8.0 +#define SDF 1.0 +#define ICON 0.0 +uniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1; +#pragma mapbox: define highp vec4 fill_color +#pragma mapbox: define highp vec4 halo_color +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp float halo_width +#pragma mapbox: define lowp float halo_blur +void main() { +#pragma mapbox: initialize highp vec4 fill_color +#pragma mapbox: initialize highp vec4 halo_color +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize lowp float halo_width +#pragma mapbox: initialize lowp float halo_blur +float fade_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;lowp float alpha=opacity*fade_opacity;gl_FragColor=texture2D(u_texture_icon,tex_icon)*alpha; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +return;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;varying vec4 v_data0;varying vec4 v_data1; +#pragma mapbox: define highp vec4 fill_color +#pragma mapbox: define highp vec4 halo_color +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp float halo_width +#pragma mapbox: define lowp float halo_blur +void main() { +#pragma mapbox: initialize highp vec4 fill_color +#pragma mapbox: initialize highp vec4 halo_color +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize lowp float halo_width +#pragma mapbox: initialize lowp float halo_blur +vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? +camera_to_anchor_distance/u_camera_to_center_distance : +u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}`);function ri(c,d){var l=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,f=d.match(/attribute ([\w]+) ([\w]+)/g),E=c.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),A=d.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),T=A?A.concat(E):E,w={};return{fragmentSource:c=c.replace(l,function(D,z,$,K,ee){return w[ee]=!0,z==="define"?` +#ifndef HAS_UNIFORM_u_`+ee+` +varying `+$+" "+K+" "+ee+`; +#else +uniform `+$+" "+K+" u_"+ee+`; +#endif +`:` +#ifdef HAS_UNIFORM_u_`+ee+` + `+$+" "+K+" "+ee+" = u_"+ee+`; +#endif +`}),vertexSource:d=d.replace(l,function(D,z,$,K,ee){var _e=K==="float"?"vec2":"vec4",de=ee.match(/color/)?"color":_e;return w[ee]?z==="define"?` +#ifndef HAS_UNIFORM_u_`+ee+` +uniform lowp float u_`+ee+`_t; +attribute `+$+" "+_e+" a_"+ee+`; +varying `+$+" "+K+" "+ee+`; +#else +uniform `+$+" "+K+" u_"+ee+`; +#endif +`:de==="vec4"?` +#ifndef HAS_UNIFORM_u_`+ee+` + `+ee+" = a_"+ee+`; +#else + `+$+" "+K+" "+ee+" = u_"+ee+`; +#endif +`:` +#ifndef HAS_UNIFORM_u_`+ee+` + `+ee+" = unpack_mix_"+de+"(a_"+ee+", u_"+ee+`_t); +#else + `+$+" "+K+" "+ee+" = u_"+ee+`; +#endif +`:z==="define"?` +#ifndef HAS_UNIFORM_u_`+ee+` +uniform lowp float u_`+ee+`_t; +attribute `+$+" "+_e+" a_"+ee+`; +#else +uniform `+$+" "+K+" u_"+ee+`; +#endif +`:de==="vec4"?` +#ifndef HAS_UNIFORM_u_`+ee+` + `+$+" "+K+" "+ee+" = a_"+ee+`; +#else + `+$+" "+K+" "+ee+" = u_"+ee+`; +#endif +`:` +#ifndef HAS_UNIFORM_u_`+ee+` + `+$+" "+K+" "+ee+" = unpack_mix_"+de+"(a_"+ee+", u_"+ee+`_t); +#else + `+$+" "+K+" "+ee+" = u_"+ee+`; +#endif +`}),staticAttributes:f,staticUniforms:T}}var q0=Object.freeze({__proto__:null,prelude:gu,background:Ys,backgroundPattern:Oc,circle:R1,clippingMask:Lc,heatmap:Il,heatmapTexture:Ml,collisionBox:Nl,collisionCircle:C1,debug:I1,fill:$0,fillOutline:ec,fillOutlinePattern:bs,fillPattern:M1,fillExtrusion:Un,fillExtrusionPattern:qu,hillshadePrepare:vu,hillshade:Da,line:Eu,lineGradient:Za,linePattern:$s,lineSDF:Oa,raster:qs,symbolIcon:xu,symbolSDF:N1,symbolTextAndIcon:D1}),Bc=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null};function Dl(c){for(var d=[],l=0;l>16,w>>16],u_pixel_coord_lower:[65535&T,65535&w]}}Li.prototype.draw=function(c,d,l,f,E,A,T,w,D,z,$,K,ee,_e,de,Te){var ce,Fe=c.gl;if(!this.failedToCreate){for(var De in c.program.set(this.program),c.setDepthMode(l),c.setStencilMode(f),c.setColorMode(E),c.setCullFace(A),this.fixedUniforms)this.fixedUniforms[De].set(T[De]);_e&&_e.setUniforms(c,this.binderUniforms,K,{zoom:ee});for(var Xe=(ce={},ce[Fe.LINES]=2,ce[Fe.TRIANGLES]=3,ce[Fe.LINE_STRIP]=1,ce)[d],at=0,Je=$.get();at0?1-1/(1.001-T):-T),u_contrast_factor:(A=E.paint.get("raster-contrast"),A>0?1/(1-A):1+A),u_spin_weights:zc(E.paint.get("raster-hue-rotate"))};var A,T};function zc(c){c*=Math.PI/180;var d=Math.sin(c),l=Math.cos(c);return[(2*l+1)/3,(-Math.sqrt(3)*d-l+1)/3,(Math.sqrt(3)*d-l+1)/3]}var Js,Fu=function(c,d,l,f,E,A,T,w,D,z){var $=E.transform;return{u_is_size_zoom_constant:+(c==="constant"||c==="source"),u_is_size_feature_constant:+(c==="constant"||c==="camera"),u_size_t:d?d.uSizeT:0,u_size:d?d.uSize:0,u_camera_to_center_distance:$.cameraToCenterDistance,u_pitch:$.pitch/360*2*Math.PI,u_rotate_symbol:+l,u_aspect_ratio:$.width/$.height,u_fade_change:E.options.fadeDuration?E.symbolFadeChange:1,u_matrix:A,u_label_plane_matrix:T,u_coord_matrix:w,u_is_text:+D,u_pitch_with_map:+f,u_texsize:z,u_texture:0}},Ku=function(c,d,l,f,E,A,T,w,D,z,$){var K=E.transform;return n.extend(Fu(c,d,l,f,E,A,T,w,D,z),{u_gamma_scale:f?Math.cos(K._pitch)*K.cameraToCenterDistance:1,u_device_pixel_ratio:n.browser.devicePixelRatio,u_is_halo:+$})},bp=function(c,d,l,f,E,A,T,w,D,z){return n.extend(Ku(c,d,l,f,E,A,T,w,!0,D,!0),{u_texsize_icon:z,u_texture_icon:1})},Qu=function(c,d,l){return{u_matrix:c,u_opacity:d,u_color:l}},Ju=function(c,d,l,f,E,A){return n.extend(function(T,w,D,z){var $=D.imageManager.getPattern(T.from.toString()),K=D.imageManager.getPattern(T.to.toString()),ee=D.imageManager.getPixelSize(),_e=ee.width,de=ee.height,Te=Math.pow(2,z.tileID.overscaledZ),ce=z.tileSize*Math.pow(2,D.transform.tileZoom)/Te,Fe=ce*(z.tileID.canonical.x+z.tileID.wrap*Te),De=ce*z.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:$.tl,u_pattern_br_a:$.br,u_pattern_tl_b:K.tl,u_pattern_br_b:K.br,u_texsize:[_e,de],u_mix:w.t,u_pattern_size_a:$.displaySize,u_pattern_size_b:K.displaySize,u_scale_a:w.fromScale,u_scale_b:w.toScale,u_tile_units_to_pixels:1/ui(z,1,D.transform.tileZoom),u_pixel_coord_upper:[Fe>>16,De>>16],u_pixel_coord_lower:[65535&Fe,65535&De]}}(f,A,l,E),{u_matrix:c,u_opacity:d})},Ul={fillExtrusion:function(c,d){return{u_matrix:new n.UniformMatrix4f(c,d.u_matrix),u_lightpos:new n.Uniform3f(c,d.u_lightpos),u_lightintensity:new n.Uniform1f(c,d.u_lightintensity),u_lightcolor:new n.Uniform3f(c,d.u_lightcolor),u_vertical_gradient:new n.Uniform1f(c,d.u_vertical_gradient),u_opacity:new n.Uniform1f(c,d.u_opacity)}},fillExtrusionPattern:function(c,d){return{u_matrix:new n.UniformMatrix4f(c,d.u_matrix),u_lightpos:new n.Uniform3f(c,d.u_lightpos),u_lightintensity:new n.Uniform1f(c,d.u_lightintensity),u_lightcolor:new n.Uniform3f(c,d.u_lightcolor),u_vertical_gradient:new n.Uniform1f(c,d.u_vertical_gradient),u_height_factor:new n.Uniform1f(c,d.u_height_factor),u_image:new n.Uniform1i(c,d.u_image),u_texsize:new n.Uniform2f(c,d.u_texsize),u_pixel_coord_upper:new n.Uniform2f(c,d.u_pixel_coord_upper),u_pixel_coord_lower:new n.Uniform2f(c,d.u_pixel_coord_lower),u_scale:new n.Uniform3f(c,d.u_scale),u_fade:new n.Uniform1f(c,d.u_fade),u_opacity:new n.Uniform1f(c,d.u_opacity)}},fill:function(c,d){return{u_matrix:new n.UniformMatrix4f(c,d.u_matrix)}},fillPattern:function(c,d){return{u_matrix:new n.UniformMatrix4f(c,d.u_matrix),u_image:new n.Uniform1i(c,d.u_image),u_texsize:new n.Uniform2f(c,d.u_texsize),u_pixel_coord_upper:new n.Uniform2f(c,d.u_pixel_coord_upper),u_pixel_coord_lower:new n.Uniform2f(c,d.u_pixel_coord_lower),u_scale:new n.Uniform3f(c,d.u_scale),u_fade:new n.Uniform1f(c,d.u_fade)}},fillOutline:function(c,d){return{u_matrix:new n.UniformMatrix4f(c,d.u_matrix),u_world:new n.Uniform2f(c,d.u_world)}},fillOutlinePattern:function(c,d){return{u_matrix:new n.UniformMatrix4f(c,d.u_matrix),u_world:new n.Uniform2f(c,d.u_world),u_image:new n.Uniform1i(c,d.u_image),u_texsize:new n.Uniform2f(c,d.u_texsize),u_pixel_coord_upper:new n.Uniform2f(c,d.u_pixel_coord_upper),u_pixel_coord_lower:new n.Uniform2f(c,d.u_pixel_coord_lower),u_scale:new n.Uniform3f(c,d.u_scale),u_fade:new n.Uniform1f(c,d.u_fade)}},circle:function(c,d){return{u_camera_to_center_distance:new n.Uniform1f(c,d.u_camera_to_center_distance),u_scale_with_map:new n.Uniform1i(c,d.u_scale_with_map),u_pitch_with_map:new n.Uniform1i(c,d.u_pitch_with_map),u_extrude_scale:new n.Uniform2f(c,d.u_extrude_scale),u_device_pixel_ratio:new n.Uniform1f(c,d.u_device_pixel_ratio),u_matrix:new n.UniformMatrix4f(c,d.u_matrix)}},collisionBox:function(c,d){return{u_matrix:new n.UniformMatrix4f(c,d.u_matrix),u_camera_to_center_distance:new n.Uniform1f(c,d.u_camera_to_center_distance),u_pixels_to_tile_units:new n.Uniform1f(c,d.u_pixels_to_tile_units),u_extrude_scale:new n.Uniform2f(c,d.u_extrude_scale),u_overscale_factor:new n.Uniform1f(c,d.u_overscale_factor)}},collisionCircle:function(c,d){return{u_matrix:new n.UniformMatrix4f(c,d.u_matrix),u_inv_matrix:new n.UniformMatrix4f(c,d.u_inv_matrix),u_camera_to_center_distance:new n.Uniform1f(c,d.u_camera_to_center_distance),u_viewport_size:new n.Uniform2f(c,d.u_viewport_size)}},debug:function(c,d){return{u_color:new n.UniformColor(c,d.u_color),u_matrix:new n.UniformMatrix4f(c,d.u_matrix),u_overlay:new n.Uniform1i(c,d.u_overlay),u_overlay_scale:new n.Uniform1f(c,d.u_overlay_scale)}},clippingMask:function(c,d){return{u_matrix:new n.UniformMatrix4f(c,d.u_matrix)}},heatmap:function(c,d){return{u_extrude_scale:new n.Uniform1f(c,d.u_extrude_scale),u_intensity:new n.Uniform1f(c,d.u_intensity),u_matrix:new n.UniformMatrix4f(c,d.u_matrix)}},heatmapTexture:function(c,d){return{u_matrix:new n.UniformMatrix4f(c,d.u_matrix),u_world:new n.Uniform2f(c,d.u_world),u_image:new n.Uniform1i(c,d.u_image),u_color_ramp:new n.Uniform1i(c,d.u_color_ramp),u_opacity:new n.Uniform1f(c,d.u_opacity)}},hillshade:function(c,d){return{u_matrix:new n.UniformMatrix4f(c,d.u_matrix),u_image:new n.Uniform1i(c,d.u_image),u_latrange:new n.Uniform2f(c,d.u_latrange),u_light:new n.Uniform2f(c,d.u_light),u_shadow:new n.UniformColor(c,d.u_shadow),u_highlight:new n.UniformColor(c,d.u_highlight),u_accent:new n.UniformColor(c,d.u_accent)}},hillshadePrepare:function(c,d){return{u_matrix:new n.UniformMatrix4f(c,d.u_matrix),u_image:new n.Uniform1i(c,d.u_image),u_dimension:new n.Uniform2f(c,d.u_dimension),u_zoom:new n.Uniform1f(c,d.u_zoom),u_unpack:new n.Uniform4f(c,d.u_unpack)}},line:function(c,d){return{u_matrix:new n.UniformMatrix4f(c,d.u_matrix),u_ratio:new n.Uniform1f(c,d.u_ratio),u_device_pixel_ratio:new n.Uniform1f(c,d.u_device_pixel_ratio),u_units_to_pixels:new n.Uniform2f(c,d.u_units_to_pixels)}},lineGradient:function(c,d){return{u_matrix:new n.UniformMatrix4f(c,d.u_matrix),u_ratio:new n.Uniform1f(c,d.u_ratio),u_device_pixel_ratio:new n.Uniform1f(c,d.u_device_pixel_ratio),u_units_to_pixels:new n.Uniform2f(c,d.u_units_to_pixels),u_image:new n.Uniform1i(c,d.u_image),u_image_height:new n.Uniform1f(c,d.u_image_height)}},linePattern:function(c,d){return{u_matrix:new n.UniformMatrix4f(c,d.u_matrix),u_texsize:new n.Uniform2f(c,d.u_texsize),u_ratio:new n.Uniform1f(c,d.u_ratio),u_device_pixel_ratio:new n.Uniform1f(c,d.u_device_pixel_ratio),u_image:new n.Uniform1i(c,d.u_image),u_units_to_pixels:new n.Uniform2f(c,d.u_units_to_pixels),u_scale:new n.Uniform3f(c,d.u_scale),u_fade:new n.Uniform1f(c,d.u_fade)}},lineSDF:function(c,d){return{u_matrix:new n.UniformMatrix4f(c,d.u_matrix),u_ratio:new n.Uniform1f(c,d.u_ratio),u_device_pixel_ratio:new n.Uniform1f(c,d.u_device_pixel_ratio),u_units_to_pixels:new n.Uniform2f(c,d.u_units_to_pixels),u_patternscale_a:new n.Uniform2f(c,d.u_patternscale_a),u_patternscale_b:new n.Uniform2f(c,d.u_patternscale_b),u_sdfgamma:new n.Uniform1f(c,d.u_sdfgamma),u_image:new n.Uniform1i(c,d.u_image),u_tex_y_a:new n.Uniform1f(c,d.u_tex_y_a),u_tex_y_b:new n.Uniform1f(c,d.u_tex_y_b),u_mix:new n.Uniform1f(c,d.u_mix)}},raster:function(c,d){return{u_matrix:new n.UniformMatrix4f(c,d.u_matrix),u_tl_parent:new n.Uniform2f(c,d.u_tl_parent),u_scale_parent:new n.Uniform1f(c,d.u_scale_parent),u_buffer_scale:new n.Uniform1f(c,d.u_buffer_scale),u_fade_t:new n.Uniform1f(c,d.u_fade_t),u_opacity:new n.Uniform1f(c,d.u_opacity),u_image0:new n.Uniform1i(c,d.u_image0),u_image1:new n.Uniform1i(c,d.u_image1),u_brightness_low:new n.Uniform1f(c,d.u_brightness_low),u_brightness_high:new n.Uniform1f(c,d.u_brightness_high),u_saturation_factor:new n.Uniform1f(c,d.u_saturation_factor),u_contrast_factor:new n.Uniform1f(c,d.u_contrast_factor),u_spin_weights:new n.Uniform3f(c,d.u_spin_weights)}},symbolIcon:function(c,d){return{u_is_size_zoom_constant:new n.Uniform1i(c,d.u_is_size_zoom_constant),u_is_size_feature_constant:new n.Uniform1i(c,d.u_is_size_feature_constant),u_size_t:new n.Uniform1f(c,d.u_size_t),u_size:new n.Uniform1f(c,d.u_size),u_camera_to_center_distance:new n.Uniform1f(c,d.u_camera_to_center_distance),u_pitch:new n.Uniform1f(c,d.u_pitch),u_rotate_symbol:new n.Uniform1i(c,d.u_rotate_symbol),u_aspect_ratio:new n.Uniform1f(c,d.u_aspect_ratio),u_fade_change:new n.Uniform1f(c,d.u_fade_change),u_matrix:new n.UniformMatrix4f(c,d.u_matrix),u_label_plane_matrix:new n.UniformMatrix4f(c,d.u_label_plane_matrix),u_coord_matrix:new n.UniformMatrix4f(c,d.u_coord_matrix),u_is_text:new n.Uniform1i(c,d.u_is_text),u_pitch_with_map:new n.Uniform1i(c,d.u_pitch_with_map),u_texsize:new n.Uniform2f(c,d.u_texsize),u_texture:new n.Uniform1i(c,d.u_texture)}},symbolSDF:function(c,d){return{u_is_size_zoom_constant:new n.Uniform1i(c,d.u_is_size_zoom_constant),u_is_size_feature_constant:new n.Uniform1i(c,d.u_is_size_feature_constant),u_size_t:new n.Uniform1f(c,d.u_size_t),u_size:new n.Uniform1f(c,d.u_size),u_camera_to_center_distance:new n.Uniform1f(c,d.u_camera_to_center_distance),u_pitch:new n.Uniform1f(c,d.u_pitch),u_rotate_symbol:new n.Uniform1i(c,d.u_rotate_symbol),u_aspect_ratio:new n.Uniform1f(c,d.u_aspect_ratio),u_fade_change:new n.Uniform1f(c,d.u_fade_change),u_matrix:new n.UniformMatrix4f(c,d.u_matrix),u_label_plane_matrix:new n.UniformMatrix4f(c,d.u_label_plane_matrix),u_coord_matrix:new n.UniformMatrix4f(c,d.u_coord_matrix),u_is_text:new n.Uniform1i(c,d.u_is_text),u_pitch_with_map:new n.Uniform1i(c,d.u_pitch_with_map),u_texsize:new n.Uniform2f(c,d.u_texsize),u_texture:new n.Uniform1i(c,d.u_texture),u_gamma_scale:new n.Uniform1f(c,d.u_gamma_scale),u_device_pixel_ratio:new n.Uniform1f(c,d.u_device_pixel_ratio),u_is_halo:new n.Uniform1i(c,d.u_is_halo)}},symbolTextAndIcon:function(c,d){return{u_is_size_zoom_constant:new n.Uniform1i(c,d.u_is_size_zoom_constant),u_is_size_feature_constant:new n.Uniform1i(c,d.u_is_size_feature_constant),u_size_t:new n.Uniform1f(c,d.u_size_t),u_size:new n.Uniform1f(c,d.u_size),u_camera_to_center_distance:new n.Uniform1f(c,d.u_camera_to_center_distance),u_pitch:new n.Uniform1f(c,d.u_pitch),u_rotate_symbol:new n.Uniform1i(c,d.u_rotate_symbol),u_aspect_ratio:new n.Uniform1f(c,d.u_aspect_ratio),u_fade_change:new n.Uniform1f(c,d.u_fade_change),u_matrix:new n.UniformMatrix4f(c,d.u_matrix),u_label_plane_matrix:new n.UniformMatrix4f(c,d.u_label_plane_matrix),u_coord_matrix:new n.UniformMatrix4f(c,d.u_coord_matrix),u_is_text:new n.Uniform1i(c,d.u_is_text),u_pitch_with_map:new n.Uniform1i(c,d.u_pitch_with_map),u_texsize:new n.Uniform2f(c,d.u_texsize),u_texsize_icon:new n.Uniform2f(c,d.u_texsize_icon),u_texture:new n.Uniform1i(c,d.u_texture),u_texture_icon:new n.Uniform1i(c,d.u_texture_icon),u_gamma_scale:new n.Uniform1f(c,d.u_gamma_scale),u_device_pixel_ratio:new n.Uniform1f(c,d.u_device_pixel_ratio),u_is_halo:new n.Uniform1i(c,d.u_is_halo)}},background:function(c,d){return{u_matrix:new n.UniformMatrix4f(c,d.u_matrix),u_opacity:new n.Uniform1f(c,d.u_opacity),u_color:new n.UniformColor(c,d.u_color)}},backgroundPattern:function(c,d){return{u_matrix:new n.UniformMatrix4f(c,d.u_matrix),u_opacity:new n.Uniform1f(c,d.u_opacity),u_image:new n.Uniform1i(c,d.u_image),u_pattern_tl_a:new n.Uniform2f(c,d.u_pattern_tl_a),u_pattern_br_a:new n.Uniform2f(c,d.u_pattern_br_a),u_pattern_tl_b:new n.Uniform2f(c,d.u_pattern_tl_b),u_pattern_br_b:new n.Uniform2f(c,d.u_pattern_br_b),u_texsize:new n.Uniform2f(c,d.u_texsize),u_mix:new n.Uniform1f(c,d.u_mix),u_pattern_size_a:new n.Uniform2f(c,d.u_pattern_size_a),u_pattern_size_b:new n.Uniform2f(c,d.u_pattern_size_b),u_scale_a:new n.Uniform1f(c,d.u_scale_a),u_scale_b:new n.Uniform1f(c,d.u_scale_b),u_pixel_coord_upper:new n.Uniform2f(c,d.u_pixel_coord_upper),u_pixel_coord_lower:new n.Uniform2f(c,d.u_pixel_coord_lower),u_tile_units_to_pixels:new n.Uniform1f(c,d.u_tile_units_to_pixels)}}};function ep(c,d,l,f,E,A,T){for(var w=c.context,D=w.gl,z=c.useProgram("collisionBox"),$=[],K=0,ee=0,_e=0;_e0){var at=n.create(),Je=Fe;n.mul(at,ce.placementInvProjMatrix,c.transform.glCoordMatrix),n.mul(at,at,ce.placementViewportMatrix),$.push({circleArray:Xe,circleOffset:ee,transform:Je,invTransform:at}),ee=K+=Xe.length/4}De&&z.draw(w,D.LINES,oe.disabled,ye.disabled,c.colorModeForRenderPass(),Le.disabled,ps(Fe,c.transform,Te),l.id,De.layoutVertexBuffer,De.indexBuffer,De.segments,null,c.transform.zoom,null,null,De.collisionVertexBuffer)}}if(T&&$.length){var lt=c.useProgram("collisionCircle"),Pt=new n.StructArrayLayout2f1f2i16;Pt.resize(4*K),Pt._trim();for(var Ht=0,Bt=0,nr=$;Bt=0&&(de[ce.associatedIconIndex]={shiftedAnchor:Pt,angle:Ht})}else cn(ce.numGlyphs,ee)}if($){_e.clear();for(var nr=c.icon.placedSymbolArray,Cr=0;Cr0){var T=n.browser.now(),w=(T-c.timeAdded)/A,D=d?(T-d.timeAdded)/A:-1,z=l.getSource(),$=E.coveringZoomLevel({tileSize:z.tileSize,roundZoom:z.roundZoom}),K=!d||Math.abs(d.tileID.overscaledZ-$)>Math.abs(c.tileID.overscaledZ-$),ee=K&&c.refreshedUponExpiration?1:n.clamp(K?w:1-D,0,1);return c.refreshedUponExpiration&&w>=1&&(c.refreshedUponExpiration=!1),d?{opacity:1,mix:1-ee}:{opacity:ee,mix:0}}return{opacity:1,mix:0}}var Hl=new n.Color(1,0,0,1),Hc=new n.Color(0,1,0,1),L1=new n.Color(0,0,1,1),Gc=new n.Color(1,0,1,1),Gl=new n.Color(0,1,1,1);function nc(c,d,l,f){tp(c,0,d+l/2,c.transform.width,l,f)}function jl(c,d,l,f){tp(c,d-l/2,0,l,c.transform.height,f)}function tp(c,d,l,f,E,A){var T=c.context,w=T.gl;w.enable(w.SCISSOR_TEST),w.scissor(d*n.browser.devicePixelRatio,l*n.browser.devicePixelRatio,f*n.browser.devicePixelRatio,E*n.browser.devicePixelRatio),T.clear({color:A}),w.disable(w.SCISSOR_TEST)}function Wl(c,d,l){var f=c.context,E=f.gl,A=l.posMatrix,T=c.useProgram("debug"),w=oe.disabled,D=ye.disabled,z=c.colorModeForRenderPass();f.activeTexture.set(E.TEXTURE0),c.emptyTexture.bind(E.LINEAR,E.CLAMP_TO_EDGE),T.draw(f,E.LINE_STRIP,w,D,z,Le.disabled,bu(A,n.Color.red),"$debug",c.debugBuffer,c.tileBorderIndexBuffer,c.debugSegments);var $=d.getTileByID(l.key).latestRawTileData,K=Math.floor(($&&$.byteLength||0)/1024),ee=d.getTile(l).tileSize,_e=512/Math.min(ee,512)*(l.overscaledZ/c.transform.zoom)*.5,de=l.canonical.toString();l.overscaledZ!==l.canonical.z&&(de+=" => "+l.overscaledZ),function(Te,ce){Te.initDebugOverlayCanvas();var Fe=Te.debugOverlayCanvas,De=Te.context.gl,Xe=Te.debugOverlayCanvas.getContext("2d");Xe.clearRect(0,0,Fe.width,Fe.height),Xe.shadowColor="white",Xe.shadowBlur=2,Xe.lineWidth=1.5,Xe.strokeStyle="white",Xe.textBaseline="top",Xe.font="bold 36px Open Sans, sans-serif",Xe.fillText(ce,5,5),Xe.strokeText(ce,5,5),Te.debugOverlayTexture.update(Fe),Te.debugOverlayTexture.bind(De.LINEAR,De.CLAMP_TO_EDGE)}(c,de+" "+K+"kb"),T.draw(f,E.TRIANGLES,w,D,Ie.alphaBlended,Le.disabled,bu(A,n.Color.transparent,_e),"$debug",c.debugBuffer,c.quadTriangleIndexBuffer,c.debugSegments)}var wu={symbol:function(c,d,l,f,E){if(c.renderPass==="translucent"){var A=ye.disabled,T=c.colorModeForRenderPass();l.layout.get("text-variable-anchor")&&function(w,D,z,$,K,ee,_e){for(var de=D.transform,Te=K==="map",ce=ee==="map",Fe=0,De=w;Fe256&&this.clearStencil(),l.setColorMode(Ie.disabled),l.setDepthMode(oe.disabled);var E=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var A=0,T=d;A256&&this.clearStencil();var c=this.nextStencilID++,d=this.context.gl;return new ye({func:d.NOTEQUAL,mask:255},c,255,d.KEEP,d.KEEP,d.REPLACE)},li.prototype.stencilModeForClipping=function(c){var d=this.context.gl;return new ye({func:d.EQUAL,mask:255},this._tileClippingMaskIDs[c.key],0,d.KEEP,d.KEEP,d.REPLACE)},li.prototype.stencilConfigForOverlap=function(c){var d,l=this.context.gl,f=c.sort(function(D,z){return z.overscaledZ-D.overscaledZ}),E=f[f.length-1].overscaledZ,A=f[0].overscaledZ-E+1;if(A>1){this.currentStencilSource=void 0,this.nextStencilID+A>256&&this.clearStencil();for(var T={},w=0;w=0;this.currentLayer--){var Xe=this.style._layers[f[this.currentLayer]],at=E[Xe.source],Je=z[Xe.source];this._renderTileClippingMasks(Xe,Je),this.renderLayer(this,at,Xe,Je)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer0?d.pop():null},li.prototype.isPatternMissing=function(c){if(!c)return!1;if(!c.from||!c.to)return!0;var d=this.imageManager.getPattern(c.from.toString()),l=this.imageManager.getPattern(c.to.toString());return!d||!l},li.prototype.useProgram=function(c,d){this.cache=this.cache||{};var l=""+c+(d?d.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[l]||(this.cache[l]=new Li(this.context,c,q0[c],d,Ul[c],this._showOverdrawInspector)),this.cache[l]},li.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},li.prototype.setBaseState=function(){var c=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(c.FUNC_ADD)},li.prototype.initDebugOverlayCanvas=function(){this.debugOverlayCanvas==null&&(this.debugOverlayCanvas=n.window.document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512,this.debugOverlayTexture=new n.Texture(this.context,this.debugOverlayCanvas,this.context.gl.RGBA))},li.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var jc=function(c,d){this.points=c,this.planes=d};jc.fromInvProjectionMatrix=function(c,d,l){var f=Math.pow(2,l),E=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map(function(T){return n.transformMat4([],T,c)}).map(function(T){return n.scale$1([],T,1/T[3]/d*f)}),A=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map(function(T){var w=n.sub([],E[T[0]],E[T[1]]),D=n.sub([],E[T[2]],E[T[1]]),z=n.normalize([],n.cross([],w,D)),$=-n.dot(z,E[T[1]]);return z.concat($)});return new jc(E,A)};var Ts=function(c,d){this.min=c,this.max=d,this.center=n.scale$2([],n.add([],this.min,this.max),.5)};Ts.prototype.quadrant=function(c){for(var d=[c%2==0,c<2],l=n.clone$2(this.min),f=n.clone$2(this.max),E=0;E=0;if(A===0)return 0;A!==d.length&&(l=!1)}if(l)return 2;for(var w=0;w<3;w++){for(var D=Number.MAX_VALUE,z=-Number.MAX_VALUE,$=0;$this.max[w]-this.min[w])return 0}return 1};var Ru=function(c,d,l,f){if(c===void 0&&(c=0),d===void 0&&(d=0),l===void 0&&(l=0),f===void 0&&(f=0),isNaN(c)||c<0||isNaN(d)||d<0||isNaN(l)||l<0||isNaN(f)||f<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=c,this.bottom=d,this.left=l,this.right=f};Ru.prototype.interpolate=function(c,d,l){return d.top!=null&&c.top!=null&&(this.top=n.number(c.top,d.top,l)),d.bottom!=null&&c.bottom!=null&&(this.bottom=n.number(c.bottom,d.bottom,l)),d.left!=null&&c.left!=null&&(this.left=n.number(c.left,d.left,l)),d.right!=null&&c.right!=null&&(this.right=n.number(c.right,d.right,l)),this},Ru.prototype.getCenter=function(c,d){var l=n.clamp((this.left+c-this.right)/2,0,c),f=n.clamp((this.top+d-this.bottom)/2,0,d);return new n.Point(l,f)},Ru.prototype.equals=function(c){return this.top===c.top&&this.bottom===c.bottom&&this.left===c.left&&this.right===c.right},Ru.prototype.clone=function(){return new Ru(this.top,this.bottom,this.left,this.right)},Ru.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var No=function(c,d,l,f,E){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=E===void 0||E,this._minZoom=c||0,this._maxZoom=d||22,this._minPitch=l??0,this._maxPitch=f??60,this.setMaxBounds(),this.width=0,this.height=0,this._center=new n.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new Ru,this._posMatrixCache={},this._alignedPosMatrixCache={}},di={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerOffset:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},padding:{configurable:!0},centerPoint:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};No.prototype.clone=function(){var c=new No(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return c.tileSize=this.tileSize,c.latRange=this.latRange,c.width=this.width,c.height=this.height,c._center=this._center,c.zoom=this.zoom,c.angle=this.angle,c._fov=this._fov,c._pitch=this._pitch,c._unmodified=this._unmodified,c._edgeInsets=this._edgeInsets.clone(),c._calcMatrices(),c},di.minZoom.get=function(){return this._minZoom},di.minZoom.set=function(c){this._minZoom!==c&&(this._minZoom=c,this.zoom=Math.max(this.zoom,c))},di.maxZoom.get=function(){return this._maxZoom},di.maxZoom.set=function(c){this._maxZoom!==c&&(this._maxZoom=c,this.zoom=Math.min(this.zoom,c))},di.minPitch.get=function(){return this._minPitch},di.minPitch.set=function(c){this._minPitch!==c&&(this._minPitch=c,this.pitch=Math.max(this.pitch,c))},di.maxPitch.get=function(){return this._maxPitch},di.maxPitch.set=function(c){this._maxPitch!==c&&(this._maxPitch=c,this.pitch=Math.min(this.pitch,c))},di.renderWorldCopies.get=function(){return this._renderWorldCopies},di.renderWorldCopies.set=function(c){c===void 0?c=!0:c===null&&(c=!1),this._renderWorldCopies=c},di.worldSize.get=function(){return this.tileSize*this.scale},di.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},di.size.get=function(){return new n.Point(this.width,this.height)},di.bearing.get=function(){return-this.angle/Math.PI*180},di.bearing.set=function(c){var d=-n.wrap(c,-180,180)*Math.PI/180;this.angle!==d&&(this._unmodified=!1,this.angle=d,this._calcMatrices(),this.rotationMatrix=n.create$2(),n.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},di.pitch.get=function(){return this._pitch/Math.PI*180},di.pitch.set=function(c){var d=n.clamp(c,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==d&&(this._unmodified=!1,this._pitch=d,this._calcMatrices())},di.fov.get=function(){return this._fov/Math.PI*180},di.fov.set=function(c){c=Math.max(.01,Math.min(60,c)),this._fov!==c&&(this._unmodified=!1,this._fov=c/180*Math.PI,this._calcMatrices())},di.zoom.get=function(){return this._zoom},di.zoom.set=function(c){var d=Math.min(Math.max(c,this.minZoom),this.maxZoom);this._zoom!==d&&(this._unmodified=!1,this._zoom=d,this.scale=this.zoomScale(d),this.tileZoom=Math.floor(d),this.zoomFraction=d-this.tileZoom,this._constrain(),this._calcMatrices())},di.center.get=function(){return this._center},di.center.set=function(c){c.lat===this._center.lat&&c.lng===this._center.lng||(this._unmodified=!1,this._center=c,this._constrain(),this._calcMatrices())},di.padding.get=function(){return this._edgeInsets.toJSON()},di.padding.set=function(c){this._edgeInsets.equals(c)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,c,1),this._calcMatrices())},di.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},No.prototype.isPaddingEqual=function(c){return this._edgeInsets.equals(c)},No.prototype.interpolatePadding=function(c,d,l){this._unmodified=!1,this._edgeInsets.interpolate(c,d,l),this._constrain(),this._calcMatrices()},No.prototype.coveringZoomLevel=function(c){var d=(c.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/c.tileSize));return Math.max(0,d)},No.prototype.getVisibleUnwrappedCoordinates=function(c){var d=[new n.UnwrappedTileID(0,c)];if(this._renderWorldCopies)for(var l=this.pointCoordinate(new n.Point(0,0)),f=this.pointCoordinate(new n.Point(this.width,0)),E=this.pointCoordinate(new n.Point(this.width,this.height)),A=this.pointCoordinate(new n.Point(0,this.height)),T=Math.floor(Math.min(l.x,f.x,E.x,A.x)),w=Math.floor(Math.max(l.x,f.x,E.x,A.x)),D=T-1;D<=w+1;D++)D!==0&&d.push(new n.UnwrappedTileID(D,c));return d},No.prototype.coveringTiles=function(c){var d=this.coveringZoomLevel(c),l=d;if(c.minzoom!==void 0&&dc.maxzoom&&(d=c.maxzoom);var f=n.MercatorCoordinate.fromLngLat(this.center),E=Math.pow(2,d),A=[E*f.x,E*f.y,0],T=jc.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,d),w=c.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(w=d);var D=function(Bt){return{aabb:new Ts([Bt*E,0,0],[(Bt+1)*E,E,0]),zoom:0,x:0,y:0,wrap:Bt,fullyVisible:!1}},z=[],$=[],K=d,ee=c.reparseOverscaled?l:d;if(this._renderWorldCopies)for(var _e=1;_e<=3;_e++)z.push(D(-_e)),z.push(D(_e));for(z.push(D(0));z.length>0;){var de=z.pop(),Te=de.x,ce=de.y,Fe=de.fullyVisible;if(!Fe){var De=de.aabb.intersects(T);if(De===0)continue;Fe=De===2}var Xe=de.aabb.distanceX(A),at=de.aabb.distanceY(A),Je=Math.max(Math.abs(Xe),Math.abs(at));if(de.zoom===K||Je>3+(1<=w)$.push({tileID:new n.OverscaledTileID(de.zoom===K?ee:de.zoom,de.wrap,de.zoom,Te,ce),distanceSq:n.sqrLen([A[0]-.5-Te,A[1]-.5-ce])});else for(var lt=0;lt<4;lt++){var Pt=(Te<<1)+lt%2,Ht=(ce<<1)+(lt>>1);z.push({aabb:de.aabb.quadrant(lt),zoom:de.zoom+1,x:Pt,y:Ht,wrap:de.wrap,fullyVisible:Fe})}}return $.sort(function(Bt,nr){return Bt.distanceSq-nr.distanceSq}).map(function(Bt){return Bt.tileID})},No.prototype.resize=function(c,d){this.width=c,this.height=d,this.pixelsToGLUnits=[2/c,-2/d],this._constrain(),this._calcMatrices()},di.unmodified.get=function(){return this._unmodified},No.prototype.zoomScale=function(c){return Math.pow(2,c)},No.prototype.scaleZoom=function(c){return Math.log(c)/Math.LN2},No.prototype.project=function(c){var d=n.clamp(c.lat,-this.maxValidLatitude,this.maxValidLatitude);return new n.Point(n.mercatorXfromLng(c.lng)*this.worldSize,n.mercatorYfromLat(d)*this.worldSize)},No.prototype.unproject=function(c){return new n.MercatorCoordinate(c.x/this.worldSize,c.y/this.worldSize).toLngLat()},di.point.get=function(){return this.project(this.center)},No.prototype.setLocationAtPoint=function(c,d){var l=this.pointCoordinate(d),f=this.pointCoordinate(this.centerPoint),E=this.locationCoordinate(c),A=new n.MercatorCoordinate(E.x-(l.x-f.x),E.y-(l.y-f.y));this.center=this.coordinateLocation(A),this._renderWorldCopies&&(this.center=this.center.wrap())},No.prototype.locationPoint=function(c){return this.coordinatePoint(this.locationCoordinate(c))},No.prototype.pointLocation=function(c){return this.coordinateLocation(this.pointCoordinate(c))},No.prototype.locationCoordinate=function(c){return n.MercatorCoordinate.fromLngLat(c)},No.prototype.coordinateLocation=function(c){return c.toLngLat()},No.prototype.pointCoordinate=function(c){var d=[c.x,c.y,0,1],l=[c.x,c.y,1,1];n.transformMat4(d,d,this.pixelMatrixInverse),n.transformMat4(l,l,this.pixelMatrixInverse);var f=d[3],E=l[3],A=d[1]/f,T=l[1]/E,w=d[2]/f,D=l[2]/E,z=w===D?0:(0-w)/(D-w);return new n.MercatorCoordinate(n.number(d[0]/f,l[0]/E,z)/this.worldSize,n.number(A,T,z)/this.worldSize)},No.prototype.coordinatePoint=function(c){var d=[c.x*this.worldSize,c.y*this.worldSize,0,1];return n.transformMat4(d,d,this.pixelMatrix),new n.Point(d[0]/d[3],d[1]/d[3])},No.prototype.getBounds=function(){return new n.LngLatBounds().extend(this.pointLocation(new n.Point(0,0))).extend(this.pointLocation(new n.Point(this.width,0))).extend(this.pointLocation(new n.Point(this.width,this.height))).extend(this.pointLocation(new n.Point(0,this.height)))},No.prototype.getMaxBounds=function(){return this.latRange&&this.latRange.length===2&&this.lngRange&&this.lngRange.length===2?new n.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null},No.prototype.setMaxBounds=function(c){c?(this.lngRange=[c.getWest(),c.getEast()],this.latRange=[c.getSouth(),c.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},No.prototype.calculatePosMatrix=function(c,d){d===void 0&&(d=!1);var l=c.key,f=d?this._alignedPosMatrixCache:this._posMatrixCache;if(f[l])return f[l];var E=c.canonical,A=this.worldSize/this.zoomScale(E.z),T=E.x+Math.pow(2,E.z)*c.wrap,w=n.identity(new Float64Array(16));return n.translate(w,w,[T*A,E.y*A,0]),n.scale(w,w,[A/n.EXTENT,A/n.EXTENT,1]),n.multiply(w,d?this.alignedProjMatrix:this.projMatrix,w),f[l]=new Float32Array(w),f[l]},No.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},No.prototype._constrain=function(){if(this.center&&this.width&&this.height&&!this._constraining){this._constraining=!0;var c,d,l,f,E=-90,A=90,T=-180,w=180,D=this.size,z=this._unmodified;if(this.latRange){var $=this.latRange;E=n.mercatorYfromLat($[1])*this.worldSize,c=(A=n.mercatorYfromLat($[0])*this.worldSize)-EA&&(f=A-Te)}if(this.lngRange){var ce=ee.x,Fe=D.x/2;ce-Few&&(l=w-Fe)}l===void 0&&f===void 0||(this.center=this.unproject(new n.Point(l!==void 0?l:ee.x,f!==void 0?f:ee.y))),this._unmodified=z,this._constraining=!1}},No.prototype._calcMatrices=function(){if(this.height){var c=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan(this._fov/2)*this.height;var d=Math.PI/2+this._pitch,l=this._fov*(.5+c.y/this.height),f=Math.sin(l)*this.cameraToCenterDistance/Math.sin(n.clamp(Math.PI-d-l,.01,Math.PI-.01)),E=this.point,A=E.x,T=E.y,w=1.01*(Math.cos(Math.PI/2-this._pitch)*f+this.cameraToCenterDistance),D=this.height/50,z=new Float64Array(16);n.perspective(z,this._fov,this.width/this.height,D,w),z[8]=2*-c.x/this.width,z[9]=2*c.y/this.height,n.scale(z,z,[1,-1,1]),n.translate(z,z,[0,0,-this.cameraToCenterDistance]),n.rotateX(z,z,this._pitch),n.rotateZ(z,z,this.angle),n.translate(z,z,[-A,-T,0]),this.mercatorMatrix=n.scale([],z,[this.worldSize,this.worldSize,this.worldSize]),n.scale(z,z,[1,1,n.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=z,this.invProjMatrix=n.invert([],this.projMatrix);var $=this.width%2/2,K=this.height%2/2,ee=Math.cos(this.angle),_e=Math.sin(this.angle),de=A-Math.round(A)+ee*$+_e*K,Te=T-Math.round(T)+ee*K+_e*$,ce=new Float64Array(z);if(n.translate(ce,ce,[de>.5?de-1:de,Te>.5?Te-1:Te,0]),this.alignedProjMatrix=ce,z=n.create(),n.scale(z,z,[this.width/2,-this.height/2,1]),n.translate(z,z,[1,-1,0]),this.labelPlaneMatrix=z,z=n.create(),n.scale(z,z,[1,-1,1]),n.translate(z,z,[-1,-1,0]),n.scale(z,z,[2/this.width,2/this.height,1]),this.glCoordMatrix=z,this.pixelMatrix=n.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),!(z=n.invert(new Float64Array(16),this.pixelMatrix)))throw new Error("failed to invert matrix");this.pixelMatrixInverse=z,this._posMatrixCache={},this._alignedPosMatrixCache={}}},No.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var c=this.pointCoordinate(new n.Point(0,0)),d=[c.x*this.worldSize,c.y*this.worldSize,0,1];return n.transformMat4(d,d,this.pixelMatrix)[3]/this.cameraToCenterDistance},No.prototype.getCameraPoint=function(){var c=Math.tan(this._pitch)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new n.Point(0,c))},No.prototype.getCameraQueryGeometry=function(c){var d=this.getCameraPoint();if(c.length===1)return[c[0],d];for(var l=d.x,f=d.y,E=d.x,A=d.y,T=0,w=c;T=3&&!c.some(function(l){return isNaN(l)})){var d=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(c[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+c[2],+c[1]],zoom:+c[0],bearing:d,pitch:+(c[4]||0)}),!0}return!1},La.prototype._updateHashUnthrottled=function(){var c=n.window.location.href.replace(/(#.+)?$/,this.getHashString());try{n.window.history.replaceState(n.window.history.state,null,c)}catch{}};var ac={linearity:.3,easing:n.bezier(0,0,.3,1)},Fp=n.extend({deceleration:2500,maxSpeed:1400},ac),sc=n.extend({deceleration:20,maxSpeed:1400},ac),B1=n.extend({deceleration:1e3,maxSpeed:360},ac),Wc=n.extend({deceleration:1e3,maxSpeed:90},ac),uc=function(c){this._map=c,this.clear()};function Cu(c,d){(!c.duration||c.duration0&&d-c[0].time>160;)c.shift()},uc.prototype._onMoveEnd=function(c){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var d={zoom:0,bearing:0,pitch:0,pan:new n.Point(0,0),pinchAround:void 0,around:void 0},l=0,f=this._inertiaBuffer;l=this._clickTolerance||this._map.fire(new bi(c.type,this._map,c))},Gi.prototype.dblclick=function(c){return this._firePreventable(new bi(c.type,this._map,c))},Gi.prototype.mouseover=function(c){this._map.fire(new bi(c.type,this._map,c))},Gi.prototype.mouseout=function(c){this._map.fire(new bi(c.type,this._map,c))},Gi.prototype.touchstart=function(c){return this._firePreventable(new Tp(c.type,this._map,c))},Gi.prototype.touchmove=function(c){this._map.fire(new Tp(c.type,this._map,c))},Gi.prototype.touchend=function(c){this._map.fire(new Tp(c.type,this._map,c))},Gi.prototype.touchcancel=function(c){this._map.fire(new Tp(c.type,this._map,c))},Gi.prototype._firePreventable=function(c){if(this._map.fire(c),c.defaultPrevented)return{}},Gi.prototype.isEnabled=function(){return!0},Gi.prototype.isActive=function(){return!1},Gi.prototype.enable=function(){},Gi.prototype.disable=function(){};var hr=function(c){this._map=c};hr.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},hr.prototype.mousemove=function(c){this._map.fire(new bi(c.type,this._map,c))},hr.prototype.mousedown=function(){this._delayContextMenu=!0},hr.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new bi("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},hr.prototype.contextmenu=function(c){this._delayContextMenu?this._contextMenuEvent=c:this._map.fire(new bi(c.type,this._map,c)),this._map.listens("contextmenu")&&c.preventDefault()},hr.prototype.isEnabled=function(){return!0},hr.prototype.isActive=function(){return!1},hr.prototype.enable=function(){},hr.prototype.disable=function(){};var la=function(c,d){this._map=c,this._el=c.getCanvasContainer(),this._container=c.getContainer(),this._clickTolerance=d.clickTolerance||1};function pc(c,d){for(var l={},f=0;fthis.numTouches)&&(this.aborted=!0),this.aborted||(this.startTime===void 0&&(this.startTime=c.timeStamp),l.length===this.numTouches&&(this.centroid=function(f){for(var E=new n.Point(0,0),A=0,T=f;A30)&&(this.aborted=!0)}}},Sp.prototype.touchend=function(c,d,l){if((!this.centroid||c.timeStamp-this.startTime>500)&&(this.aborted=!0),l.length===0){var f=!this.aborted&&this.centroid;if(this.reset(),f)return f}};var ea=function(c){this.singleTap=new Sp(c),this.numTaps=c.numTaps,this.reset()};ea.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},ea.prototype.touchstart=function(c,d,l){this.singleTap.touchstart(c,d,l)},ea.prototype.touchmove=function(c,d,l){this.singleTap.touchmove(c,d,l)},ea.prototype.touchend=function(c,d,l){var f=this.singleTap.touchend(c,d,l);if(f){var E=c.timeStamp-this.lastTime<500,A=!this.lastTap||this.lastTap.dist(f)<30;if(E&&A||this.reset(),this.count++,this.lastTime=c.timeStamp,this.lastTap=f,this.count===this.numTaps)return this.reset(),f}};var oi=function(){this._zoomIn=new ea({numTouches:1,numTaps:2}),this._zoomOut=new ea({numTouches:2,numTaps:1}),this.reset()};oi.prototype.reset=function(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()},oi.prototype.touchstart=function(c,d,l){this._zoomIn.touchstart(c,d,l),this._zoomOut.touchstart(c,d,l)},oi.prototype.touchmove=function(c,d,l){this._zoomIn.touchmove(c,d,l),this._zoomOut.touchmove(c,d,l)},oi.prototype.touchend=function(c,d,l){var f=this,E=this._zoomIn.touchend(c,d,l),A=this._zoomOut.touchend(c,d,l);return E?(this._active=!0,c.preventDefault(),setTimeout(function(){return f.reset()},0),{cameraAnimation:function(T){return T.easeTo({duration:300,zoom:T.getZoom()+1,around:T.unproject(E)},{originalEvent:c})}}):A?(this._active=!0,c.preventDefault(),setTimeout(function(){return f.reset()},0),{cameraAnimation:function(T){return T.easeTo({duration:300,zoom:T.getZoom()-1,around:T.unproject(A)},{originalEvent:c})}}):void 0},oi.prototype.touchcancel=function(){this.reset()},oi.prototype.enable=function(){this._enabled=!0},oi.prototype.disable=function(){this._enabled=!1,this.reset()},oi.prototype.isEnabled=function(){return this._enabled},oi.prototype.isActive=function(){return this._active};var Xc={0:1,2:2},Kt=function(c){this.reset(),this._clickTolerance=c.clickTolerance||1};Kt.prototype.blur=function(){this.reset()},Kt.prototype.reset=function(){this._active=!1,this._moved=!1,delete this._lastPoint,delete this._eventButton},Kt.prototype._correctButton=function(c,d){return!1},Kt.prototype._move=function(c,d){return{}},Kt.prototype.mousedown=function(c,d){if(!this._lastPoint){var l=m.mouseButton(c);this._correctButton(c,l)&&(this._lastPoint=d,this._eventButton=l)}},Kt.prototype.mousemoveWindow=function(c,d){var l=this._lastPoint;if(l){if(c.preventDefault(),function(f,E){var A=Xc[E];return f.buttons===void 0||(f.buttons&A)!==A}(c,this._eventButton))this.reset();else if(this._moved||!(d.dist(l)0&&(this._active=!0);var f=pc(l,d),E=new n.Point(0,0),A=new n.Point(0,0),T=0;for(var w in f){var D=f[w],z=this._touches[w];z&&(E._add(D),A._add(D.sub(z)),T++,f[w]=D)}if(this._touches=f,!(TMath.abs(c.x)}var qc=function(c){function d(){c.apply(this,arguments)}return c&&(d.__proto__=c),(d.prototype=Object.create(c&&c.prototype)).constructor=d,d.prototype.reset=function(){c.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},d.prototype._start=function(l){this._lastPoints=l,wp(l[0].sub(l[1]))&&(this._valid=!1)},d.prototype._move=function(l,f,E){var A=l[0].sub(this._lastPoints[0]),T=l[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(A,T,E.timeStamp),this._valid)return this._lastPoints=l,this._active=!0,{pitchDelta:(A.y+T.y)/2*-.5}},d.prototype.gestureBeginsVertically=function(l,f,E){if(this._valid!==void 0)return this._valid;var A=l.mag()>=2,T=f.mag()>=2;if(A||T){if(!A||!T)return this._firstMove===void 0&&(this._firstMove=E),E-this._firstMove<100&&void 0;var w=l.y>0==f.y>0;return wp(l)&&wp(f)&&w}},d}(Aa),Zl={panStep:100,bearingStep:15,pitchStep:10},Fa=function(){var c=Zl;this._panStep=c.panStep,this._bearingStep=c.bearingStep,this._pitchStep=c.pitchStep,this._rotationDisabled=!1};function Ba(c){return c*(2-c)}Fa.prototype.blur=function(){this.reset()},Fa.prototype.reset=function(){this._active=!1},Fa.prototype.keydown=function(c){var d=this;if(!(c.altKey||c.ctrlKey||c.metaKey)){var l=0,f=0,E=0,A=0,T=0;switch(c.keyCode){case 61:case 107:case 171:case 187:l=1;break;case 189:case 109:case 173:l=-1;break;case 37:c.shiftKey?f=-1:(c.preventDefault(),A=-1);break;case 39:c.shiftKey?f=1:(c.preventDefault(),A=1);break;case 38:c.shiftKey?E=1:(c.preventDefault(),T=-1);break;case 40:c.shiftKey?E=-1:(c.preventDefault(),T=1);break;default:return}return this._rotationDisabled&&(f=0,E=0),{cameraAnimation:function(w){var D=w.getZoom();w.easeTo({duration:300,easeId:"keyboardHandler",easing:Ba,zoom:l?Math.round(D)+l*(c.shiftKey?2:1):D,bearing:w.getBearing()+f*d._bearingStep,pitch:w.getPitch()+E*d._pitchStep,offset:[-A*d._panStep,-T*d._panStep],center:w.getCenter()},{originalEvent:c})}}}},Fa.prototype.enable=function(){this._enabled=!0},Fa.prototype.disable=function(){this._enabled=!1,this.reset()},Fa.prototype.isEnabled=function(){return this._enabled},Fa.prototype.isActive=function(){return this._active},Fa.prototype.disableRotation=function(){this._rotationDisabled=!0},Fa.prototype.enableRotation=function(){this._rotationDisabled=!1};var po=function(c,d){this._map=c,this._el=c.getCanvasContainer(),this._handler=d,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=1/450,n.bindAll(["_onTimeout"],this)};po.prototype.setZoomRate=function(c){this._defaultZoomRate=c},po.prototype.setWheelZoomRate=function(c){this._wheelZoomRate=c},po.prototype.isEnabled=function(){return!!this._enabled},po.prototype.isActive=function(){return!!this._active||this._finishTimeout!==void 0},po.prototype.isZooming=function(){return!!this._zooming},po.prototype.enable=function(c){this.isEnabled()||(this._enabled=!0,this._aroundCenter=c&&c.around==="center")},po.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},po.prototype.wheel=function(c){if(this.isEnabled()){var d=c.deltaMode===n.window.WheelEvent.DOM_DELTA_LINE?40*c.deltaY:c.deltaY,l=n.browser.now(),f=l-(this._lastWheelEventTime||0);this._lastWheelEventTime=l,d!==0&&d%4.000244140625==0?this._type="wheel":d!==0&&Math.abs(d)<4?this._type="trackpad":f>400?(this._type=null,this._lastValue=d,this._timeout=setTimeout(this._onTimeout,40,c)):this._type||(this._type=Math.abs(f*d)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,d+=this._lastValue)),c.shiftKey&&d&&(d/=4),this._type&&(this._lastWheelEvent=c,this._delta-=d,this._active||this._start(c)),c.preventDefault()}},po.prototype._onTimeout=function(c){this._type="wheel",this._delta-=this._lastValue,this._active||this._start(c)},po.prototype._start=function(c){if(this._delta){this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);var d=m.mousePos(this._el,c);this._around=n.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(d)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},po.prototype.renderFrame=function(){var c=this;if(this._frameId&&(this._frameId=null,this.isActive())){var d=this._map.transform;if(this._delta!==0){var l=this._type==="wheel"&&Math.abs(this._delta)>4.000244140625?this._wheelZoomRate:this._defaultZoomRate,f=2/(1+Math.exp(-Math.abs(this._delta*l)));this._delta<0&&f!==0&&(f=1/f);var E=typeof this._targetZoom=="number"?d.zoomScale(this._targetZoom):d.scale;this._targetZoom=Math.min(d.maxZoom,Math.max(d.minZoom,d.scaleZoom(E*f))),this._type==="wheel"&&(this._startZoom=d.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var A,T=typeof this._targetZoom=="number"?this._targetZoom:d.zoom,w=this._startZoom,D=this._easing,z=!1;if(this._type==="wheel"&&w&&D){var $=Math.min((n.browser.now()-this._lastWheelEventTime)/200,1),K=D($);A=n.number(w,T,K),$<1?this._frameId||(this._frameId=!0):z=!0}else A=T,z=!0;return this._active=!0,z&&(this._active=!1,this._finishTimeout=setTimeout(function(){c._zooming=!1,c._handler._triggerRenderFrame(),delete c._targetZoom,delete c._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!z,zoomDelta:A-d.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},po.prototype._smoothOutEasing=function(c){var d=n.ease;if(this._prevEase){var l=this._prevEase,f=(n.browser.now()-l.start)/l.duration,E=l.easing(f+.01)-l.easing(f),A=.27/Math.sqrt(E*E+1e-4)*.01,T=Math.sqrt(.0729-A*A);d=n.bezier(A,T,.25,1)}return this._prevEase={start:n.browser.now(),duration:c,easing:d},d},po.prototype.blur=function(){this.reset()},po.prototype.reset=function(){this._active=!1};var Ua=function(c,d){this._clickZoom=c,this._tapZoom=d};Ua.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},Ua.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},Ua.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},Ua.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var ka=function(){this.reset()};ka.prototype.reset=function(){this._active=!1},ka.prototype.blur=function(){this.reset()},ka.prototype.dblclick=function(c,d){return c.preventDefault(),{cameraAnimation:function(l){l.easeTo({duration:300,zoom:l.getZoom()+(c.shiftKey?-1:1),around:l.unproject(d)},{originalEvent:c})}}},ka.prototype.enable=function(){this._enabled=!0},ka.prototype.disable=function(){this._enabled=!1,this.reset()},ka.prototype.isEnabled=function(){return this._enabled},ka.prototype.isActive=function(){return this._active};var wn=function(){this._tap=new ea({numTouches:1,numTaps:1}),this.reset()};wn.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},wn.prototype.touchstart=function(c,d,l){this._swipePoint||(this._tapTime&&c.timeStamp-this._tapTime>500&&this.reset(),this._tapTime?l.length>0&&(this._swipePoint=d[0],this._swipeTouch=l[0].identifier):this._tap.touchstart(c,d,l))},wn.prototype.touchmove=function(c,d,l){if(this._tapTime){if(this._swipePoint){if(l[0].identifier!==this._swipeTouch)return;var f=d[0],E=f.y-this._swipePoint.y;return this._swipePoint=f,c.preventDefault(),this._active=!0,{zoomDelta:E/128}}}else this._tap.touchmove(c,d,l)},wn.prototype.touchend=function(c,d,l){this._tapTime?this._swipePoint&&l.length===0&&this.reset():this._tap.touchend(c,d,l)&&(this._tapTime=c.timeStamp)},wn.prototype.touchcancel=function(){this.reset()},wn.prototype.enable=function(){this._enabled=!0},wn.prototype.disable=function(){this._enabled=!1,this.reset()},wn.prototype.isEnabled=function(){return this._enabled},wn.prototype.isActive=function(){return this._active};var Iu=function(c,d,l){this._el=c,this._mousePan=d,this._touchPan=l};Iu.prototype.enable=function(c){this._inertiaOptions=c||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("mapboxgl-touch-drag-pan")},Iu.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("mapboxgl-touch-drag-pan")},Iu.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},Iu.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var tu=function(c,d,l){this._pitchWithRotate=c.pitchWithRotate,this._mouseRotate=d,this._mousePitch=l};tu.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},tu.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},tu.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},tu.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var qa=function(c,d,l,f){this._el=c,this._touchZoom=d,this._touchRotate=l,this._tapDragZoom=f,this._rotationDisabled=!1,this._enabled=!0};qa.prototype.enable=function(c){this._touchZoom.enable(c),this._rotationDisabled||this._touchRotate.enable(c),this._tapDragZoom.enable(),this._el.classList.add("mapboxgl-touch-zoom-rotate")},qa.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("mapboxgl-touch-zoom-rotate")},qa.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},qa.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},qa.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},qa.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var Wn=function(c){return c.zoom||c.drag||c.pitch||c.rotate},Rp=function(c){function d(){c.apply(this,arguments)}return c&&(d.__proto__=c),(d.prototype=Object.create(c&&c.prototype)).constructor=d,d}(n.Event);function Rr(c){return c.panDelta&&c.panDelta.mag()||c.zoomDelta||c.bearingDelta||c.pitchDelta}var gr=function(c,d){this._map=c,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new uc(c),this._bearingSnap=d.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(d),n.bindAll(["handleEvent","handleWindowEvent"],this);var l=this._el;this._listeners=[[l,"touchstart",{passive:!0}],[l,"touchmove",{passive:!1}],[l,"touchend",void 0],[l,"touchcancel",void 0],[l,"mousedown",void 0],[l,"mousemove",void 0],[l,"mouseup",void 0],[n.window.document,"mousemove",{capture:!0}],[n.window.document,"mouseup",void 0],[l,"mouseover",void 0],[l,"mouseout",void 0],[l,"dblclick",void 0],[l,"click",void 0],[l,"keydown",{capture:!1}],[l,"keyup",void 0],[l,"wheel",{passive:!1}],[l,"contextmenu",void 0],[n.window,"blur",void 0]];for(var f=0,E=this._listeners;fT?Math.min(2,lt):Math.max(.5,lt),Cr=Math.pow(nr,1-Ht),Dr=A.unproject(at.add(Je.mult(Ht*Cr)).mult(Bt));A.setLocationAtPoint(A.renderWorldCopies?Dr.wrap():Dr,Te)}E._fireMoveEvents(f)},function(Ht){E._afterEase(f,Ht)},l),this},d.prototype._prepareEase=function(l,f,E){E===void 0&&(E={}),this._moving=!0,f||E.moving||this.fire(new n.Event("movestart",l)),this._zooming&&!E.zooming&&this.fire(new n.Event("zoomstart",l)),this._rotating&&!E.rotating&&this.fire(new n.Event("rotatestart",l)),this._pitching&&!E.pitching&&this.fire(new n.Event("pitchstart",l))},d.prototype._fireMoveEvents=function(l){this.fire(new n.Event("move",l)),this._zooming&&this.fire(new n.Event("zoom",l)),this._rotating&&this.fire(new n.Event("rotate",l)),this._pitching&&this.fire(new n.Event("pitch",l))},d.prototype._afterEase=function(l,f){if(!this._easeId||!f||this._easeId!==f){delete this._easeId;var E=this._zooming,A=this._rotating,T=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,E&&this.fire(new n.Event("zoomend",l)),A&&this.fire(new n.Event("rotateend",l)),T&&this.fire(new n.Event("pitchend",l)),this.fire(new n.Event("moveend",l))}},d.prototype.flyTo=function(l,f){var E=this;if(!l.essential&&n.browser.prefersReducedMotion){var A=n.pick(l,["center","zoom","bearing","pitch","around"]);return this.jumpTo(A,f)}this.stop(),l=n.extend({offset:[0,0],speed:1.2,curve:1.42,easing:n.ease},l);var T=this.transform,w=this.getZoom(),D=this.getBearing(),z=this.getPitch(),$=this.getPadding(),K="zoom"in l?n.clamp(+l.zoom,T.minZoom,T.maxZoom):w,ee="bearing"in l?this._normalizeBearing(l.bearing,D):D,_e="pitch"in l?+l.pitch:z,de="padding"in l?l.padding:T.padding,Te=T.zoomScale(K-w),ce=n.Point.convert(l.offset),Fe=T.centerPoint.add(ce),De=T.pointLocation(Fe),Xe=n.LngLat.convert(l.center||De);this._normalizeCenter(Xe);var at=T.project(De),Je=T.project(Xe).sub(at),lt=l.curve,Pt=Math.max(T.width,T.height),Ht=Pt/Te,Bt=Je.mag();if("minZoom"in l){var nr=n.clamp(Math.min(l.minZoom,w,K),T.minZoom,T.maxZoom),Cr=Pt/T.zoomScale(nr-w);lt=Math.sqrt(Cr/Bt*2)}var Dr=lt*lt;function Nr(jr){var zr=(Ht*Ht-Pt*Pt+(jr?-1:1)*Dr*Dr*Bt*Bt)/(2*(jr?Ht:Pt)*Dr*Bt);return Math.log(Math.sqrt(zr*zr+1)-zr)}function Lo(jr){return(Math.exp(jr)-Math.exp(-jr))/2}function lr(jr){return(Math.exp(jr)+Math.exp(-jr))/2}var $r=Nr(0),co=function(jr){return lr($r)/lr($r+lt*jr)},Xr=function(jr){return Pt*((lr($r)*(Lo(zr=$r+lt*jr)/lr(zr))-Lo($r))/Dr)/Bt;var zr},Gr=(Nr(1)-$r)/lt;if(Math.abs(Bt)<1e-6||!isFinite(Gr)){if(Math.abs(Pt-Ht)<1e-6)return this.easeTo(l,f);var uo=Htl.maxDuration&&(l.duration=0),this._zooming=!0,this._rotating=D!==ee,this._pitching=_e!==z,this._padding=!T.isPaddingEqual(de),this._prepareEase(f,!1),this._ease(function(jr){var zr=jr*Gr,qi=1/co(zr);T.zoom=jr===1?K:w+T.scaleZoom(qi),E._rotating&&(T.bearing=n.number(D,ee,jr)),E._pitching&&(T.pitch=n.number(z,_e,jr)),E._padding&&(T.interpolatePadding($,de,jr),Fe=T.centerPoint.add(ce));var Si=jr===1?Xe:T.unproject(at.add(Je.mult(Xr(zr))).mult(qi));T.setLocationAtPoint(T.renderWorldCopies?Si.wrap():Si,Fe),E._fireMoveEvents(f)},function(){return E._afterEase(f)},l),this},d.prototype.isEasing=function(){return!!this._easeFrameId},d.prototype.stop=function(){return this._stop()},d.prototype._stop=function(l,f){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var E=this._onEaseEnd;delete this._onEaseEnd,E.call(this,f)}if(!l){var A=this.handlers;A&&A.stop(!1)}return this},d.prototype._ease=function(l,f,E){E.animate===!1||E.duration===0?(l(1),f()):(this._easeStart=n.browser.now(),this._easeOptions=E,this._onEaseFrame=l,this._onEaseEnd=f,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},d.prototype._renderFrameCallback=function(){var l=Math.min((n.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(l)),l<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},d.prototype._normalizeBearing=function(l,f){l=n.wrap(l,-180,180);var E=Math.abs(l-f);return Math.abs(l-360-f)180?-360:E<-180?360:0}},d}(n.Evented),Xn=function(c){c===void 0&&(c={}),this.options=c,n.bindAll(["_toggleAttribution","_updateEditLink","_updateData","_updateCompact"],this)};Xn.prototype.getDefaultPosition=function(){return"bottom-right"},Xn.prototype.onAdd=function(c){var d=this.options&&this.options.compact;return this._map=c,this._container=m.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._compactButton=m.create("button","mapboxgl-ctrl-attrib-button",this._container),this._compactButton.addEventListener("click",this._toggleAttribution),this._setElementTitle(this._compactButton,"ToggleAttribution"),this._innerContainer=m.create("div","mapboxgl-ctrl-attrib-inner",this._container),this._innerContainer.setAttribute("role","list"),d&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),d===void 0&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},Xn.prototype.onRemove=function(){m.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0,this._attribHTML=void 0},Xn.prototype._setElementTitle=function(c,d){var l=this._map._getUIString("AttributionControl."+d);c.title=l,c.setAttribute("aria-label",l)},Xn.prototype._toggleAttribution=function(){this._container.classList.contains("mapboxgl-compact-show")?(this._container.classList.remove("mapboxgl-compact-show"),this._compactButton.setAttribute("aria-pressed","false")):(this._container.classList.add("mapboxgl-compact-show"),this._compactButton.setAttribute("aria-pressed","true"))},Xn.prototype._updateEditLink=function(){var c=this._editLink;c||(c=this._editLink=this._container.querySelector(".mapbox-improve-map"));var d=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||n.config.ACCESS_TOKEN}];if(c){var l=d.reduce(function(f,E,A){return E.value&&(f+=E.key+"="+E.value+(A=0)return!1;return!0})).join(" | ");T!==this._attribHTML&&(this._attribHTML=T,c.length?(this._innerContainer.innerHTML=T,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}},Xn.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact","mapboxgl-compact-show")};var cs=function(){n.bindAll(["_updateLogo"],this),n.bindAll(["_updateCompact"],this)};cs.prototype.onAdd=function(c){this._map=c,this._container=m.create("div","mapboxgl-ctrl");var d=m.create("a","mapboxgl-ctrl-logo");return d.target="_blank",d.rel="noopener nofollow",d.href="https://www.mapbox.com/",d.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),d.setAttribute("rel","noopener nofollow"),this._container.appendChild(d),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},cs.prototype.onRemove=function(){m.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},cs.prototype.getDefaultPosition=function(){return"bottom-left"},cs.prototype._updateLogo=function(c){c&&c.sourceDataType!=="metadata"||(this._container.style.display=this._logoRequired()?"block":"none")},cs.prototype._logoRequired=function(){if(this._map.style){var c=this._map.style.sourceCaches;for(var d in c)if(c[d].getSource().mapbox_logo)return!0;return!1}},cs.prototype._updateCompact=function(){var c=this._container.children;if(c.length){var d=c[0];this._map.getCanvasContainer().offsetWidth<250?d.classList.add("mapboxgl-compact"):d.classList.remove("mapboxgl-compact")}};var Ai=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};Ai.prototype.add=function(c){var d=++this._id;return this._queue.push({callback:c,id:d,cancelled:!1}),d},Ai.prototype.remove=function(c){for(var d=this._currentlyRunning,l=0,f=d?this._queue.concat(d):this._queue;lf.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(f.minPitch!=null&&f.maxPitch!=null&&f.minPitch>f.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(f.minPitch!=null&&f.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(f.maxPitch!=null&&f.maxPitch>60)throw new Error("maxPitch must be less than or equal to 60");var A=new No(f.minZoom,f.maxZoom,f.minPitch,f.maxPitch,f.renderWorldCopies);if(c.call(this,A,f),this._interactive=f.interactive,this._maxTileCacheSize=f.maxTileCacheSize,this._failIfMajorPerformanceCaveat=f.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=f.preserveDrawingBuffer,this._antialias=f.antialias,this._trackResize=f.trackResize,this._bearingSnap=f.bearingSnap,this._refreshExpiredTiles=f.refreshExpiredTiles,this._fadeDuration=f.fadeDuration,this._crossSourceCollisions=f.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=f.collectResourceTiming,this._renderTaskQueue=new Ai,this._controls=[],this._mapId=n.uniqueId(),this._locale=n.extend({},Ka,f.locale),this._clickTolerance=f.clickTolerance,this._requestManager=new n.RequestManager(f.transformRequest,f.accessToken),typeof f.container=="string"){if(this._container=n.window.document.getElementById(f.container),!this._container)throw new Error("Container '"+f.container+"' not found.")}else{if(!(f.container instanceof rp))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=f.container}if(f.maxBounds&&this.setMaxBounds(f.maxBounds),n.bindAll(["_onWindowOnline","_onWindowResize","_onMapScroll","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),this.painter===void 0)throw new Error("Failed to initialize WebGL.");this.on("move",function(){return E._update(!1)}),this.on("moveend",function(){return E._update(!1)}),this.on("zoom",function(){return E._update(!0)}),n.window!==void 0&&(n.window.addEventListener("online",this._onWindowOnline,!1),n.window.addEventListener("resize",this._onWindowResize,!1),n.window.addEventListener("orientationchange",this._onWindowResize,!1)),this.handlers=new gr(this,f),this._hash=f.hash&&new La(typeof f.hash=="string"&&f.hash||void 0).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:f.center,zoom:f.zoom,bearing:f.bearing,pitch:f.pitch}),f.bounds&&(this.resize(),this.fitBounds(f.bounds,n.extend({},f.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=f.localIdeographFontFamily,f.style&&this.setStyle(f.style,{localIdeographFontFamily:f.localIdeographFontFamily}),f.attributionControl&&this.addControl(new Xn({customAttribution:f.customAttribution})),this.addControl(new cs,f.logoPosition),this.on("style.load",function(){E.transform.unmodified&&E.jumpTo(E.style.stylesheet)}),this.on("data",function(T){E._update(T.dataType==="style"),E.fire(new n.Event(T.dataType+"data",T))}),this.on("dataloading",function(T){E.fire(new n.Event(T.dataType+"dataloading",T))})}c&&(d.__proto__=c),(d.prototype=Object.create(c&&c.prototype)).constructor=d;var l={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return d.prototype._getMapId=function(){return this._mapId},d.prototype.addControl=function(f,E){if(E===void 0&&(E=f.getDefaultPosition?f.getDefaultPosition():"top-right"),!f||!f.onAdd)return this.fire(new n.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var A=f.onAdd(this);this._controls.push(f);var T=this._controlPositions[E];return E.indexOf("bottom")!==-1?T.insertBefore(A,T.firstChild):T.appendChild(A),this},d.prototype.removeControl=function(f){if(!f||!f.onRemove)return this.fire(new n.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var E=this._controls.indexOf(f);return E>-1&&this._controls.splice(E,1),f.onRemove(this),this},d.prototype.hasControl=function(f){return this._controls.indexOf(f)>-1},d.prototype.resize=function(f){var E=this._containerDimensions(),A=E[0],T=E[1];if(A===this.transform.width&&T===this.transform.height)return this;this._resizeCanvas(A,T),this.transform.resize(A,T),this.painter.resize(A,T);var w=!this._moving;return w&&this.fire(new n.Event("movestart",f)).fire(new n.Event("move",f)),this.fire(new n.Event("resize",f)),w&&this.fire(new n.Event("moveend",f)),this},d.prototype.getBounds=function(){return this.transform.getBounds()},d.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},d.prototype.setMaxBounds=function(f){return this.transform.setMaxBounds(n.LngLatBounds.convert(f)),this._update()},d.prototype.setMinZoom=function(f){if((f=f??-2)>=-2&&f<=this.transform.maxZoom)return this.transform.minZoom=f,this._update(),this.getZoom()=this.transform.minZoom)return this.transform.maxZoom=f,this._update(),this.getZoom()>f&&this.setZoom(f),this;throw new Error("maxZoom must be greater than the current minZoom")},d.prototype.getMaxZoom=function(){return this.transform.maxZoom},d.prototype.setMinPitch=function(f){if((f=f??0)<0)throw new Error("minPitch must be greater than or equal to 0");if(f>=0&&f<=this.transform.maxPitch)return this.transform.minPitch=f,this._update(),this.getPitch()60)throw new Error("maxPitch must be less than or equal to 60");if(f>=this.transform.minPitch)return this.transform.maxPitch=f,this._update(),this.getPitch()>f&&this.setPitch(f),this;throw new Error("maxPitch must be greater than the current minPitch")},d.prototype.getMaxPitch=function(){return this.transform.maxPitch},d.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},d.prototype.setRenderWorldCopies=function(f){return this.transform.renderWorldCopies=f,this._update()},d.prototype.project=function(f){return this.transform.locationPoint(n.LngLat.convert(f))},d.prototype.unproject=function(f){return this.transform.pointLocation(n.Point.convert(f))},d.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},d.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},d.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},d.prototype._createDelegatedListener=function(f,E,A){var T,w=this;if(f==="mouseenter"||f==="mouseover"){var D=!1;return{layer:E,listener:A,delegates:{mousemove:function($){var K=w.getLayer(E)?w.queryRenderedFeatures($.point,{layers:[E]}):[];K.length?D||(D=!0,A.call(w,new bi(f,w,$.originalEvent,{features:K}))):D=!1},mouseout:function(){D=!1}}}}if(f==="mouseleave"||f==="mouseout"){var z=!1;return{layer:E,listener:A,delegates:{mousemove:function($){(w.getLayer(E)?w.queryRenderedFeatures($.point,{layers:[E]}):[]).length?z=!0:z&&(z=!1,A.call(w,new bi(f,w,$.originalEvent)))},mouseout:function($){z&&(z=!1,A.call(w,new bi(f,w,$.originalEvent)))}}}}return{layer:E,listener:A,delegates:(T={},T[f]=function($){var K=w.getLayer(E)?w.queryRenderedFeatures($.point,{layers:[E]}):[];K.length&&($.features=K,A.call(w,$),delete $.features)},T)}},d.prototype.on=function(f,E,A){if(A===void 0)return c.prototype.on.call(this,f,E);var T=this._createDelegatedListener(f,E,A);for(var w in this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[f]=this._delegatedListeners[f]||[],this._delegatedListeners[f].push(T),T.delegates)this.on(w,T.delegates[w]);return this},d.prototype.once=function(f,E,A){if(A===void 0)return c.prototype.once.call(this,f,E);var T=this._createDelegatedListener(f,E,A);for(var w in T.delegates)this.once(w,T.delegates[w]);return this},d.prototype.off=function(f,E,A){var T=this;return A===void 0?c.prototype.off.call(this,f,E):(this._delegatedListeners&&this._delegatedListeners[f]&&function(w){for(var D=w[f],z=0;z180;){var T=l.locationPoint(c);if(T.x>=0&&T.y>=0&&T.x<=l.width&&T.y<=l.height)break;c.lng>l.center.lng?c.lng-=360:c.lng+=360}return c}Sa.prototype.down=function(c,d){this.mouseRotate.mousedown(c,d),this.mousePitch&&this.mousePitch.mousedown(c,d),m.disableDrag()},Sa.prototype.move=function(c,d){var l=this.map,f=this.mouseRotate.mousemoveWindow(c,d);if(f&&f.bearingDelta&&l.setBearing(l.getBearing()+f.bearingDelta),this.mousePitch){var E=this.mousePitch.mousemoveWindow(c,d);E&&E.pitchDelta&&l.setPitch(l.getPitch()+E.pitchDelta)}},Sa.prototype.off=function(){var c=this.element;m.removeEventListener(c,"mousedown",this.mousedown),m.removeEventListener(c,"touchstart",this.touchstart,{passive:!1}),m.removeEventListener(c,"touchmove",this.touchmove),m.removeEventListener(c,"touchend",this.touchend),m.removeEventListener(c,"touchcancel",this.reset),this.offTemp()},Sa.prototype.offTemp=function(){m.enableDrag(),m.removeEventListener(n.window,"mousemove",this.mousemove),m.removeEventListener(n.window,"mouseup",this.mouseup)},Sa.prototype.mousedown=function(c){this.down(n.extend({},c,{ctrlKey:!0,preventDefault:function(){return c.preventDefault()}}),m.mousePos(this.element,c)),m.addEventListener(n.window,"mousemove",this.mousemove),m.addEventListener(n.window,"mouseup",this.mouseup)},Sa.prototype.mousemove=function(c){this.move(c,m.mousePos(this.element,c))},Sa.prototype.mouseup=function(c){this.mouseRotate.mouseupWindow(c),this.mousePitch&&this.mousePitch.mouseupWindow(c),this.offTemp()},Sa.prototype.touchstart=function(c){c.targetTouches.length!==1?this.reset():(this._startPos=this._lastPos=m.touchPos(this.element,c.targetTouches)[0],this.down({type:"mousedown",button:0,ctrlKey:!0,preventDefault:function(){return c.preventDefault()}},this._startPos))},Sa.prototype.touchmove=function(c){c.targetTouches.length!==1?this.reset():(this._lastPos=m.touchPos(this.element,c.targetTouches)[0],this.move({preventDefault:function(){return c.preventDefault()}},this._lastPos))},Sa.prototype.touchend=function(c){c.targetTouches.length===0&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos)=f}this._isDragging&&(this._pos=l.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents="none",this._state==="pending"&&(this._state="active",this.fire(new n.Event("dragstart"))),this.fire(new n.Event("drag")))},d.prototype._onUp=function(){this._element.style.pointerEvents="auto",this._positionDelta=null,this._pointerdownPos=null,this._isDragging=!1,this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),this._state==="active"&&this.fire(new n.Event("dragend")),this._state="inactive"},d.prototype._addDragHandler=function(l){this._element.contains(l.originalEvent.target)&&(l.preventDefault(),this._positionDelta=l.point.sub(this._pos).add(this._offset),this._pointerdownPos=l.point,this._state="pending",this._map.on("mousemove",this._onMove),this._map.on("touchmove",this._onMove),this._map.once("mouseup",this._onUp),this._map.once("touchend",this._onUp))},d.prototype.setDraggable=function(l){return this._draggable=!!l,this._map&&(l?(this._map.on("mousedown",this._addDragHandler),this._map.on("touchstart",this._addDragHandler)):(this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler))),this},d.prototype.isDraggable=function(){return this._draggable},d.prototype.setRotation=function(l){return this._rotation=l||0,this._update(),this},d.prototype.getRotation=function(){return this._rotation},d.prototype.setRotationAlignment=function(l){return this._rotationAlignment=l||"auto",this._update(),this},d.prototype.getRotationAlignment=function(){return this._rotationAlignment},d.prototype.setPitchAlignment=function(l){return this._pitchAlignment=l&&l!=="auto"?l:this._rotationAlignment,this._update(),this},d.prototype.getPitchAlignment=function(){return this._pitchAlignment},d}(n.Evented),Jc={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showAccuracyCircle:!0,showUserLocation:!0},op=0,ip=!1,$l=function(c){function d(l){c.call(this),this.options=n.extend({},Jc,l),n.bindAll(["_onSuccess","_onError","_onZoom","_finish","_setupUI","_updateCamera","_updateMarker"],this)}return c&&(d.__proto__=c),(d.prototype=Object.create(c&&c.prototype)).constructor=d,d.prototype.onAdd=function(l){var f;return this._map=l,this._container=m.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),f=this._setupUI,Ip!==void 0?f(Ip):n.window.navigator.permissions!==void 0?n.window.navigator.permissions.query({name:"geolocation"}).then(function(E){f(Ip=E.state!=="denied")}):f(Ip=!!n.window.navigator.geolocation),this._container},d.prototype.onRemove=function(){this._geolocationWatchID!==void 0&&(n.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),m.remove(this._container),this._map.off("zoom",this._onZoom),this._map=void 0,op=0,ip=!1},d.prototype._isOutOfMapMaxBounds=function(l){var f=this._map.getMaxBounds(),E=l.coords;return f&&(E.longitudef.getEast()||E.latitudef.getNorth())},d.prototype._setErrorState=function(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting")}},d.prototype._onSuccess=function(l){if(this._map){if(this._isOutOfMapMaxBounds(l))return this._setErrorState(),this.fire(new n.Event("outofmaxbounds",l)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=l,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background")}this.options.showUserLocation&&this._watchState!=="OFF"&&this._updateMarker(l),this.options.trackUserLocation&&this._watchState!=="ACTIVE_LOCK"||this._updateCamera(l),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new n.Event("geolocate",l)),this._finish()}},d.prototype._updateCamera=function(l){var f=new n.LngLat(l.coords.longitude,l.coords.latitude),E=l.coords.accuracy,A=this._map.getBearing(),T=n.extend({bearing:A},this.options.fitBoundsOptions);this._map.fitBounds(f.toBounds(E),T,{geolocateSource:!0})},d.prototype._updateMarker=function(l){if(l){var f=new n.LngLat(l.coords.longitude,l.coords.latitude);this._accuracyCircleMarker.setLngLat(f).addTo(this._map),this._userLocationDotMarker.setLngLat(f).addTo(this._map),this._accuracy=l.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},d.prototype._updateCircleRadius=function(){var l=this._map._container.clientHeight/2,f=this._map.unproject([0,l]),E=this._map.unproject([1,l]),A=f.distanceTo(E),T=Math.ceil(2*this._accuracy/A);this._circleElement.style.width=T+"px",this._circleElement.style.height=T+"px"},d.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},d.prototype._onError=function(l){if(this._map){if(this.options.trackUserLocation)if(l.code===1){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;var f=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=f,this._geolocateButton.setAttribute("aria-label",f),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(l.code===3&&ip)return;this._setErrorState()}this._watchState!=="OFF"&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new n.Event("error",l)),this._finish()}},d.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},d.prototype._setupUI=function(l){var f=this;if(this._container.addEventListener("contextmenu",function(T){return T.preventDefault()}),this._geolocateButton=m.create("button","mapboxgl-ctrl-geolocate",this._container),m.create("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden",!0),this._geolocateButton.type="button",l===!1){n.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");var E=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=E,this._geolocateButton.setAttribute("aria-label",E)}else{var A=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=A,this._geolocateButton.setAttribute("aria-label",A)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=m.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new lc(this._dotElement),this._circleElement=m.create("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new lc({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",function(T){T.geolocateSource||f._watchState!=="ACTIVE_LOCK"||T.originalEvent&&T.originalEvent.type==="resize"||(f._watchState="BACKGROUND",f._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),f._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),f.fire(new n.Event("trackuserlocationend")))})},d.prototype.trigger=function(){if(!this._setup)return n.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new n.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":op--,ip=!1,this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new n.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new n.Event("trackuserlocationstart"))}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error")}if(this._watchState==="OFF"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){var l;this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),++op>1?(l={maximumAge:6e5,timeout:0},ip=!0):(l=this.options.positionOptions,ip=!1),this._geolocationWatchID=n.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,l)}}else n.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},d.prototype._clearWatch=function(){n.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)},d}(n.Evented),Rs={maxWidth:100,unit:"metric"},ls=function(c){this.options=n.extend({},Rs,c),n.bindAll(["_onMove","setUnit"],this)};function el(c,d,l){var f=l&&l.maxWidth||100,E=c._container.clientHeight/2,A=c.unproject([0,E]),T=c.unproject([f,E]),w=A.distanceTo(T);if(l&&l.unit==="imperial"){var D=3.2808*w;D>5280?Nu(d,f,D/5280,c._getUIString("ScaleControl.Miles")):Nu(d,f,D,c._getUIString("ScaleControl.Feet"))}else l&&l.unit==="nautical"?Nu(d,f,w/1852,c._getUIString("ScaleControl.NauticalMiles")):w>=1e3?Nu(d,f,w/1e3,c._getUIString("ScaleControl.Kilometers")):Nu(d,f,w,c._getUIString("ScaleControl.Meters"))}function Nu(c,d,l,f){var E,A,T,w=(E=l,(A=Math.pow(10,(""+Math.floor(E)).length-1))*(T=(T=E/A)>=10?10:T>=5?5:T>=3?3:T>=2?2:T>=1?1:function(D){var z=Math.pow(10,Math.ceil(-Math.log(D)/Math.LN10));return Math.round(D*z)/z}(T)));c.style.width=d*(w/l)+"px",c.innerHTML=w+" "+f}ls.prototype.getDefaultPosition=function(){return"bottom-left"},ls.prototype._onMove=function(){el(this._map,this._container,this.options)},ls.prototype.onAdd=function(c){return this._map=c,this._container=m.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",c.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},ls.prototype.onRemove=function(){m.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},ls.prototype.setUnit=function(c){this.options.unit=c,el(this._map,this._container,this.options)};var Qa=function(c){this._fullscreen=!1,c&&c.container&&(c.container instanceof n.window.HTMLElement?this._container=c.container:n.warnOnce("Full screen control 'container' must be a DOM element.")),n.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in n.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in n.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in n.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in n.window.document&&(this._fullscreenchange="MSFullscreenChange")};Qa.prototype.onAdd=function(c){return this._map=c,this._container||(this._container=this._map.getContainer()),this._controlContainer=m.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",n.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},Qa.prototype.onRemove=function(){m.remove(this._controlContainer),this._map=null,n.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},Qa.prototype._checkFullscreenSupport=function(){return!!(n.window.document.fullscreenEnabled||n.window.document.mozFullScreenEnabled||n.window.document.msFullscreenEnabled||n.window.document.webkitFullscreenEnabled)},Qa.prototype._setupUI=function(){var c=this._fullscreenButton=m.create("button","mapboxgl-ctrl-fullscreen",this._controlContainer);m.create("span","mapboxgl-ctrl-icon",c).setAttribute("aria-hidden",!0),c.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),n.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},Qa.prototype._updateTitle=function(){var c=this._getTitle();this._fullscreenButton.setAttribute("aria-label",c),this._fullscreenButton.title=c},Qa.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")},Qa.prototype._isFullscreen=function(){return this._fullscreen},Qa.prototype._changeIcon=function(){(n.window.document.fullscreenElement||n.window.document.mozFullScreenElement||n.window.document.webkitFullscreenElement||n.window.document.msFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())},Qa.prototype._onClickFullscreen=function(){this._isFullscreen()?n.window.document.exitFullscreen?n.window.document.exitFullscreen():n.window.document.mozCancelFullScreen?n.window.document.mozCancelFullScreen():n.window.document.msExitFullscreen?n.window.document.msExitFullscreen():n.window.document.webkitCancelFullScreen&&n.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var ql={closeButton:!0,closeOnClick:!0,focusAfterOpen:!0,className:"",maxWidth:"240px"},dc=["a[href]","[tabindex]:not([tabindex='-1'])","[contenteditable]:not([contenteditable='false'])","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].join(", "),tl=function(c){function d(l){c.call(this),this.options=n.extend(Object.create(ql),l),n.bindAll(["_update","_onClose","remove","_onMouseMove","_onMouseUp","_onDrag"],this)}return c&&(d.__proto__=c),(d.prototype=Object.create(c&&c.prototype)).constructor=d,d.prototype.addTo=function(l){return this._map&&this.remove(),this._map=l,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._update(),this._focusFirstElement(),this._trackPointer?(this._map.on("mousemove",this._onMouseMove),this._map.on("mouseup",this._onMouseUp),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")):this._map.on("move",this._update),this.fire(new n.Event("open")),this},d.prototype.isOpen=function(){return!!this._map},d.prototype.remove=function(){return this._content&&m.remove(this._content),this._container&&(m.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("mousemove",this._onMouseMove),this._map.off("mouseup",this._onMouseUp),this._map.off("drag",this._onDrag),delete this._map),this.fire(new n.Event("close")),this},d.prototype.getLngLat=function(){return this._lngLat},d.prototype.setLngLat=function(l){return this._lngLat=n.LngLat.convert(l),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._onMouseMove),this._container&&this._container.classList.remove("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.remove("mapboxgl-track-pointer")),this},d.prototype.trackPointer=function(){return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._onMouseMove),this._map.on("drag",this._onDrag),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")),this},d.prototype.getElement=function(){return this._container},d.prototype.setText=function(l){return this.setDOMContent(n.window.document.createTextNode(l))},d.prototype.setHTML=function(l){var f,E=n.window.document.createDocumentFragment(),A=n.window.document.createElement("body");for(A.innerHTML=l;f=A.firstChild;)E.appendChild(f);return this.setDOMContent(E)},d.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},d.prototype.setMaxWidth=function(l){return this.options.maxWidth=l,this._update(),this},d.prototype.setDOMContent=function(l){if(this._content)for(;this._content.hasChildNodes();)this._content.firstChild&&this._content.removeChild(this._content.firstChild);else this._content=m.create("div","mapboxgl-popup-content",this._container);return this._content.appendChild(l),this._createCloseButton(),this._update(),this._focusFirstElement(),this},d.prototype.addClassName=function(l){this._container&&this._container.classList.add(l)},d.prototype.removeClassName=function(l){this._container&&this._container.classList.remove(l)},d.prototype.setOffset=function(l){return this.options.offset=l,this._update(),this},d.prototype.toggleClassName=function(l){if(this._container)return this._container.classList.toggle(l)},d.prototype._createCloseButton=function(){this.options.closeButton&&(this._closeButton=m.create("button","mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClose))},d.prototype._onMouseUp=function(l){this._update(l.point)},d.prototype._onMouseMove=function(l){this._update(l.point)},d.prototype._onDrag=function(l){this._update(l.point)},d.prototype._update=function(l){var f=this;if(this._map&&(this._lngLat||this._trackPointer)&&this._content&&(this._container||(this._container=m.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=m.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach(function(K){return f._container.classList.add(K)}),this._trackPointer&&this._container.classList.add("mapboxgl-popup-track-pointer")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=Cp(this._lngLat,this._pos,this._map.transform)),!this._trackPointer||l)){var E=this._pos=this._trackPointer&&l?l:this._map.project(this._lngLat),A=this.options.anchor,T=function K(ee){if(ee){if(typeof ee=="number"){var _e=Math.round(Math.sqrt(.5*Math.pow(ee,2)));return{center:new n.Point(0,0),top:new n.Point(0,ee),"top-left":new n.Point(_e,_e),"top-right":new n.Point(-_e,_e),bottom:new n.Point(0,-ee),"bottom-left":new n.Point(_e,-_e),"bottom-right":new n.Point(-_e,-_e),left:new n.Point(ee,0),right:new n.Point(-ee,0)}}if(ee instanceof n.Point||Array.isArray(ee)){var de=n.Point.convert(ee);return{center:de,top:de,"top-left":de,"top-right":de,bottom:de,"bottom-left":de,"bottom-right":de,left:de,right:de}}return{center:n.Point.convert(ee.center||[0,0]),top:n.Point.convert(ee.top||[0,0]),"top-left":n.Point.convert(ee["top-left"]||[0,0]),"top-right":n.Point.convert(ee["top-right"]||[0,0]),bottom:n.Point.convert(ee.bottom||[0,0]),"bottom-left":n.Point.convert(ee["bottom-left"]||[0,0]),"bottom-right":n.Point.convert(ee["bottom-right"]||[0,0]),left:n.Point.convert(ee.left||[0,0]),right:n.Point.convert(ee.right||[0,0])}}return K(new n.Point(0,0))}(this.options.offset);if(!A){var w,D=this._container.offsetWidth,z=this._container.offsetHeight;w=E.y+T.bottom.ythis._map.transform.height-z?["bottom"]:[],E.xthis._map.transform.width-D/2&&w.push("right"),A=w.length===0?"bottom":w.join("-")}var $=E.add(T[A]).round();m.setTransform(this._container,ws[A]+" translate("+$.x+"px,"+$.y+"px)"),Qc(this._container,A,"popup")}},d.prototype._focusFirstElement=function(){if(this.options.focusAfterOpen&&this._container){var l=this._container.querySelector(dc);l&&l.focus()}},d.prototype._onClose=function(){this.remove()},d}(n.Evented),rl={version:n.version,supported:h,setRTLTextPlugin:n.setRTLTextPlugin,getRTLTextPluginStatus:n.getRTLTextPluginStatus,Map:Yl,NavigationControl:ou,GeolocateControl:$l,AttributionControl:Xn,ScaleControl:ls,FullscreenControl:Qa,Popup:tl,Marker:lc,Style:ba,LngLat:n.LngLat,LngLatBounds:n.LngLatBounds,Point:n.Point,MercatorCoordinate:n.MercatorCoordinate,Evented:n.Evented,config:n.config,prewarm:function(){dt().acquire(ct)},clearPrewarmedResources:function(){var c=_r;c&&(c.isPreloaded()&&c.numActive()===1?(c.release(ct),_r=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"))},get accessToken(){return n.config.ACCESS_TOKEN},set accessToken(c){n.config.ACCESS_TOKEN=c},get baseApiUrl(){return n.config.API_URL},set baseApiUrl(c){n.config.API_URL=c},get workerCount(){return wt.workerCount},set workerCount(c){wt.workerCount=c},get maxParallelImageRequests(){return n.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(c){n.config.MAX_PARALLEL_IMAGE_REQUESTS=c},clearStorage:function(c){n.clearTileCache(c)},workerUrl:""};return rl}),s})})(g7);var nO=g7.exports;const ry=gp(nO),aO=["id","attributionControl","style","token","rotation","mapInstance"];function sO(e,t){var r=typeof my<"u"&&!!my&&typeof my.showToast=="function"&&my.isFRM!==!0,i=typeof wx<"u"&&wx!==null&&(typeof wx.request<"u"||typeof wx.miniProgram<"u");if(!(r||i)&&(t||(t=document),!!t)){var s=t.head||t.getElementsByTagName("head")[0];if(!s){s=t.createElement("head");var u=t.body||t.getElementsByTagName("body")[0];u?u.parentNode.insertBefore(s,u):t.documentElement.appendChild(s)}var n=t.createElement("style");return n.type="text/css",n.styleSheet?n.styleSheet.cssText=e:n.appendChild(t.createTextNode(e)),s.appendChild(n),n}}sO(`.mapboxgl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mapboxgl-canvas{position:absolute;left:0;top:0}.mapboxgl-map:-webkit-full-screen{width:100%;height:100%}.mapboxgl-canary{background-color:salmon}.mapboxgl-canvas-container.mapboxgl-interactive,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass{cursor:grab;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.mapboxgl-canvas-container.mapboxgl-interactive.mapboxgl-track-pointer{cursor:pointer}.mapboxgl-canvas-container.mapboxgl-interactive:active,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass:active{cursor:grabbing}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate .mapboxgl-canvas{touch-action:pan-x pan-y}.mapboxgl-canvas-container.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:pinch-zoom}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:none}.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right,.mapboxgl-ctrl-top-left,.mapboxgl-ctrl-top-right{position:absolute;pointer-events:none;z-index:2}.mapboxgl-ctrl-top-left{top:0;left:0}.mapboxgl-ctrl-top-right{top:0;right:0}.mapboxgl-ctrl-bottom-left{bottom:0;left:0}.mapboxgl-ctrl-bottom-right{right:0;bottom:0}.mapboxgl-ctrl{clear:both;pointer-events:auto;-webkit-transform:translate(0);transform:translate(0)}.mapboxgl-ctrl-top-left .mapboxgl-ctrl{margin:10px 0 0 10px;float:left}.mapboxgl-ctrl-top-right .mapboxgl-ctrl{margin:10px 10px 0 0;float:right}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl{margin:0 0 10px 10px;float:left}.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl{margin:0 10px 10px 0;float:right}.mapboxgl-ctrl-group{border-radius:4px;background:#fff}.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px rgba(0,0,0,.1)}@media (-ms-high-contrast:active){.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.mapboxgl-ctrl-group button{width:29px;height:29px;display:block;padding:0;outline:none;border:0;box-sizing:border-box;background-color:transparent;cursor:pointer}.mapboxgl-ctrl-group button+button{border-top:1px solid #ddd}.mapboxgl-ctrl button .mapboxgl-ctrl-icon{display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:50%}@media (-ms-high-contrast:active){.mapboxgl-ctrl-icon{background-color:transparent}.mapboxgl-ctrl-group button+button{border-top:1px solid ButtonText}}.mapboxgl-ctrl button::-moz-focus-inner{border:0;padding:0}.mapboxgl-ctrl-attrib-button:focus,.mapboxgl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl button:disabled{cursor:not-allowed}.mapboxgl-ctrl button:disabled .mapboxgl-ctrl-icon{opacity:.25}.mapboxgl-ctrl button:not(:disabled):hover{background-color:rgba(0,0,0,.05)}.mapboxgl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.mapboxgl-ctrl-group button:focus:first-child{border-radius:4px 4px 0 0}.mapboxgl-ctrl-group button:focus:last-child{border-radius:0 0 4px 4px}.mapboxgl-ctrl-group button:focus:only-child{border-radius:inherit}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath d='M10.5 16l4 8 4-8h-8z' fill='%23999'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23aaa'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath d='M14 5l1 1-9 9-1-1 9-9z' fill='red'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-waiting .mapboxgl-ctrl-icon{-webkit-animation:mapboxgl-spin 2s linear infinite;animation:mapboxgl-spin 2s linear infinite}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23999'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath d='M14 5l1 1-9 9-1-1 9-9z' fill='red'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23666'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath d='M14 5l1 1-9 9-1-1 9-9z' fill='red'/%3E%3C/svg%3E")}}@-webkit-keyframes mapboxgl-spin{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@keyframes mapboxgl-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}a.mapboxgl-ctrl-logo{width:88px;height:23px;margin:0 0 -4px -4px;display:block;background-repeat:no-repeat;cursor:pointer;overflow:hidden;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='88' height='23' viewBox='0 0 88 23' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd'%3E%3Cdefs%3E%3Cpath id='a' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='b' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='c'%3E%3Crect width='100%25' height='100%25' fill='%23fff'/%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/mask%3E%3Cg opacity='.3' stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23c)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23b' mask='url(%23c)'/%3E%3C/g%3E%3Cg opacity='.9' fill='%23fff'%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/g%3E%3C/svg%3E")}a.mapboxgl-ctrl-logo.mapboxgl-compact{width:23px}@media (-ms-high-contrast:active){a.mapboxgl-ctrl-logo{background-color:transparent;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='88' height='23' viewBox='0 0 88 23' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd'%3E%3Cdefs%3E%3Cpath id='a' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='b' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='c'%3E%3Crect width='100%25' height='100%25' fill='%23fff'/%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/mask%3E%3Cg stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23c)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23b' mask='url(%23c)'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/g%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='88' height='23' viewBox='0 0 88 23' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd'%3E%3Cdefs%3E%3Cpath id='a' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='b' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='c'%3E%3Crect width='100%25' height='100%25' fill='%23fff'/%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/mask%3E%3Cg stroke='%23fff' stroke-width='3' fill='%23fff'%3E%3Ccircle mask='url(%23c)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23b' mask='url(%23c)'/%3E%3C/g%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/svg%3E")}}.mapboxgl-ctrl.mapboxgl-ctrl-attrib{padding:0 5px;background-color:hsla(0,0%,100%,.5);margin:0}@media screen{.mapboxgl-ctrl-attrib.mapboxgl-compact{min-height:20px;padding:2px 24px 2px 0;margin:10px;position:relative;background-color:#fff;border-radius:12px}.mapboxgl-ctrl-attrib.mapboxgl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show,.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show{padding:2px 8px 2px 28px;border-radius:12px}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner{display:none}.mapboxgl-ctrl-attrib-button{display:none;cursor:pointer;position:absolute;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1012 0 6 6 0 10-12 0m5-3a1 1 0 102 0 1 1 0 10-2 0m0 3a1 1 0 112 0v3a1 1 0 11-2 0'/%3E%3C/svg%3E");background-color:hsla(0,0%,100%,.5);width:24px;height:24px;box-sizing:border-box;border-radius:12px;outline:none;top:0;right:0;border:0}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-top-left .mapboxgl-ctrl-attrib-button{left:0}.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-inner,.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-button{display:block}.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-button{background-color:rgba(0,0,0,.05)}.mapboxgl-ctrl-bottom-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;right:0}.mapboxgl-ctrl-top-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{top:0;right:0}.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{top:0;left:0}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;left:0}}@media screen and (-ms-high-contrast:active){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' fill='%23fff'%3E%3Cpath d='M4 10a6 6 0 1012 0 6 6 0 10-12 0m5-3a1 1 0 102 0 1 1 0 10-2 0m0 3a1 1 0 112 0v3a1 1 0 11-2 0'/%3E%3C/svg%3E")}}@media screen and (-ms-high-contrast:black-on-white){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1012 0 6 6 0 10-12 0m5-3a1 1 0 102 0 1 1 0 10-2 0m0 3a1 1 0 112 0v3a1 1 0 11-2 0'/%3E%3C/svg%3E")}}.mapboxgl-ctrl-attrib a{color:rgba(0,0,0,.75);text-decoration:none}.mapboxgl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.mapboxgl-ctrl-attrib .mapbox-improve-map{font-weight:700;margin-left:2px}.mapboxgl-attrib-empty{display:none}.mapboxgl-ctrl-scale{background-color:hsla(0,0%,100%,.75);font-size:10px;border:2px solid #333;border-top:#333;padding:0 5px;color:#333;box-sizing:border-box}.mapboxgl-popup{position:absolute;top:0;left:0;display:flex;will-change:transform;pointer-events:none}.mapboxgl-popup-anchor-top,.mapboxgl-popup-anchor-top-left,.mapboxgl-popup-anchor-top-right{flex-direction:column}.mapboxgl-popup-anchor-bottom,.mapboxgl-popup-anchor-bottom-left,.mapboxgl-popup-anchor-bottom-right{flex-direction:column-reverse}.mapboxgl-popup-anchor-left{flex-direction:row}.mapboxgl-popup-anchor-right{flex-direction:row-reverse}.mapboxgl-popup-tip{width:0;height:0;border:10px solid transparent;z-index:1}.mapboxgl-popup-anchor-top .mapboxgl-popup-tip{align-self:center;border-top:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip{align-self:flex-start;border-top:none;border-left:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip{align-self:flex-end;border-top:none;border-right:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.mapboxgl-popup-anchor-left .mapboxgl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.mapboxgl-popup-anchor-right .mapboxgl-popup-tip{align-self:center;border-right:none;border-left-color:#fff}.mapboxgl-popup-close-button{position:absolute;right:0;top:0;border:0;border-radius:0 3px 0 0;cursor:pointer;background-color:transparent}.mapboxgl-popup-close-button:hover{background-color:rgba(0,0,0,.05)}.mapboxgl-popup-content{position:relative;background:#fff;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.1);padding:10px 10px 15px;pointer-events:auto}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-content{border-top-left-radius:0}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-content{border-top-right-radius:0}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-content{border-bottom-left-radius:0}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-content{border-bottom-right-radius:0}.mapboxgl-popup-track-pointer{display:none}.mapboxgl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mapboxgl-map:hover .mapboxgl-popup-track-pointer{display:flex}.mapboxgl-map:active .mapboxgl-popup-track-pointer{display:none}.mapboxgl-marker{position:absolute;top:0;left:0;will-change:transform}.mapboxgl-user-location-dot,.mapboxgl-user-location-dot:before{background-color:#1da1f2;width:15px;height:15px;border-radius:50%}.mapboxgl-user-location-dot:before{content:"";position:absolute;-webkit-animation:mapboxgl-user-location-dot-pulse 2s infinite;animation:mapboxgl-user-location-dot-pulse 2s infinite}.mapboxgl-user-location-dot:after{border-radius:50%;border:2px solid #fff;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px;box-sizing:border-box;box-shadow:0 0 3px rgba(0,0,0,.35)}@-webkit-keyframes mapboxgl-user-location-dot-pulse{0%{-webkit-transform:scale(1);opacity:1}70%{-webkit-transform:scale(3);opacity:0}to{-webkit-transform:scale(1);opacity:0}}@keyframes mapboxgl-user-location-dot-pulse{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}70%{-webkit-transform:scale(3);transform:scale(3);opacity:0}to{-webkit-transform:scale(1);transform:scale(1);opacity:0}}.mapboxgl-user-location-dot-stale{background-color:#aaa}.mapboxgl-user-location-dot-stale:after{display:none}.mapboxgl-user-location-accuracy-circle{background-color:rgba(29,161,242,.2);width:1px;height:1px;border-radius:100%}.mapboxgl-crosshair,.mapboxgl-crosshair .mapboxgl-interactive,.mapboxgl-crosshair .mapboxgl-interactive:active{cursor:crosshair}.mapboxgl-boxzoom{position:absolute;top:0;left:0;width:0;height:0;background:#fff;border:2px dotted #202020;opacity:.5}@media print{.mapbox-improve-map{display:none}}`);window.mapboxgl=ry;let uO=0;const rg="101MlGsZ2AmmA&access_token=pk.eyJ1IjoiZXhhbXBsZXMiLCJhIjoiY2p0MG01MXRqMW45cjQzb2R6b2ptc3J4MSJ9.zA2W0IkI0c6KaAhJfk9bWg";class pO extends iO{constructor(...t){super(...t),H(this,"version","MAPBOX"),H(this,"viewport",void 0)}getType(){return"mapbox"}lngLatToCoord(t,r={x:0,y:0,z:0}){const{x:i,y:s}=this.lngLatToMercator(t,0);return[i-r.x,s-r.y]}lngLatToMercator(t,r){const{x:i=0,y:s=0,z:u=0}=window.mapboxgl.MercatorCoordinate.fromLngLat(t,r);return{x:i,y:s,z:u}}getModelMatrix(t,r,i,s=[1,1,1],u={x:0,y:0,z:0}){const n=window.mapboxgl.MercatorCoordinate.fromLngLat(t,r),h=n.meterInMercatorCoordinateUnits(),m=zf();return rf(m,m,yp(n.x-u.x,n.y-u.y,n.z||0-u.z)),of(m,m,yp(h*s[0],-h*s[1],h*s[2])),o6(m,m,i[0]),zg(m,m,i[1]),Vg(m,m,i[2]),m}init(){var t=this;return mt(function*(){const r=t.config,{id:i="map",attributionControl:s=!1,style:u="light",token:n=rg,rotation:h=0,mapInstance:m}=r,g=$p(r,aO);t.viewport=new tO,!m&&!window.mapboxgl&&console.error(t.configService.getSceneWarninfo("SDK")),n===rg&&u!=="blank"&&!window.mapboxgl.accessToken&&!m&&console.warn(t.configService.getSceneWarninfo("MapToken")),!m&&!window.mapboxgl.accessToken&&(window.mapboxgl.accessToken=n),m?(t.map=m,t.$mapContainer=t.map.getContainer()):(t.$mapContainer=t.creatMapContainer(i),t.map=new window.mapboxgl.Map(_t({container:t.$mapContainer,style:t.getMapStyleValue(u),attributionControl:s,bearing:h},g))),t.map.on("load",()=>{t.handleCameraChanged()}),t.map.on("move",t.handleCameraChanged),t.handleCameraChanged()})()}destroy(){var t;(t=this.$mapContainer)===null||t===void 0||(t=t.parentNode)===null||t===void 0||t.removeChild(this.$mapContainer),this.eventEmitter.removeAllListeners(),this.map&&(this.map.remove(),this.$mapContainer=null)}emit(t,...r){this.eventEmitter.emit(t,...r)}once(t,...r){this.eventEmitter.once(t,...r)}getMapContainer(){return this.$mapContainer}getCanvasOverlays(){var t;return(t=this.getMapContainer())===null||t===void 0?void 0:t.querySelector(".mapboxgl-canvas-container")}meterToCoord(t,r){const i=new ry.LngLat(t[0],t[1]),s=new ry.LngLat(r[0],r[1]),u=i.distanceTo(s),n=ry.MercatorCoordinate.fromLngLat({lng:t[0],lat:t[1]}),h=ry.MercatorCoordinate.fromLngLat({lng:r[0],lat:r[1]}),{x:m,y:g}=n,{x,y:b}=h;return Math.sqrt(Math.pow(m-x,2)+Math.pow(g-b,2))*4194304*2/u}exportMap(t){const r=this.map.getCanvas();return t==="jpg"?r==null?void 0:r.toDataURL("image/jpeg"):r==null?void 0:r.toDataURL("image/png")}creatMapContainer(t){let r=t;typeof t=="string"&&(r=document.getElementById(t));const i=document.createElement("div");return i.style.cssText+=` + position: absolute; + top: 0; + height: 100%; + width: 100%; + `,i.id="l7_mapbox_div"+uO++,r.appendChild(i),i}}function cO(e,t){var r=typeof my<"u"&&!!my&&typeof my.showToast=="function"&&my.isFRM!==!0,i=typeof wx<"u"&&wx!==null&&(typeof wx.request<"u"||typeof wx.miniProgram<"u");if(!(r||i)&&(t||(t=document),!!t)){var s=t.head||t.getElementsByTagName("head")[0];if(!s){s=t.createElement("head");var u=t.body||t.getElementsByTagName("body")[0];u?u.parentNode.insertBefore(s,u):t.documentElement.appendChild(s)}var n=t.createElement("style");return n.type="text/css",n.styleSheet?n.styleSheet.cssText=e:n.appendChild(t.createTextNode(e)),s.appendChild(n),n}}cO(`.mapboxgl-ctrl-logo { + display: none !important; +} +`);class lO extends UD{getServiceConstructor(){return pO}}function Xu(e){return e==null}var dO=function(e,t,r){return er?r:e};function P0(e){return typeof e=="number"}var v7={exports:{}};(function(e){var t=Object.prototype.hasOwnProperty,r="~";function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(r=!1));function s(m,g,x){this.fn=m,this.context=g,this.once=x||!1}function u(m,g,x,b,F){if(typeof x!="function")throw new TypeError("The listener must be a function");var R=new s(x,b||m,F),I=r?r+g:g;return m._events[I]?m._events[I].fn?m._events[I]=[m._events[I],R]:m._events[I].push(R):(m._events[I]=R,m._eventsCount++),m}function n(m,g){--m._eventsCount===0?m._events=new i:delete m._events[g]}function h(){this._events=new i,this._eventsCount=0}h.prototype.eventNames=function(){var g=[],x,b;if(this._eventsCount===0)return g;for(b in x=this._events)t.call(x,b)&&g.push(r?b.slice(1):b);return Object.getOwnPropertySymbols?g.concat(Object.getOwnPropertySymbols(x)):g},h.prototype.listeners=function(g){var x=r?r+g:g,b=this._events[x];if(!b)return[];if(b.fn)return[b.fn];for(var F=0,R=b.length,I=new Array(R);F>>8&255}function qp(e){return e>>>16&255}function G0(e){return e&255}function x7(e){switch(e){case bt.F32:case bt.U32:case bt.S32:return 4;case bt.U16:case bt.S16:case bt.F16:return 2;case bt.U8:case bt.S8:return 1;default:throw new Error("whoops")}}function P7(e){return x7(qp(e))}function hO(e){var t=x7(qp(e)),r=V6(e);return t*r}function b7(e){var t=G0(e);if(t&cr.Depth)return sn.Depth;if(t&cr.Normalized)return sn.Float;var r=qp(e);if(r===bt.F16||r===bt.F32)return sn.Float;if(r===bt.U8||r===bt.U16||r===bt.U32)return sn.Uint;if(r===bt.S8||r===bt.S16||r===bt.S32)return sn.Sint;throw new Error("whoops")}function mo(e,t){if(t===void 0&&(t=""),!e)throw new Error("Assert fail: ".concat(t))}function c1(e){if(e!=null)return e;throw new Error("Missing object")}function A7(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}function F7(e,t){e.r=t.r,e.g=t.g,e.b=t.b,e.a=t.a}function T7(e){var t=e.r,r=e.g,i=e.b,s=e.a;return{r:t,g:r,b:i,a:s}}function Uy(e,t,r,i){return i===void 0&&(i=1),{r:e,g:t,b:r,a:i}}var Kf=Uy(0,0,0,0);Uy(0,0,0,1);var fO=Uy(1,1,1,0);Uy(1,1,1,1);function If(e){return!!(e&&!(e&e-1))}function hl(e,t){return e??t}function mO(e){return e===void 0?null:e}function Mf(e,t){var r=t-1;return e+r&~r}function _O(e,t){for(var r=new Array(e),i=0;i1,m=r.replace(`\r +`,` +`).split(` +`).map(function(Oe){return Oe.replace(/[/][/].*$/,"")}).filter(function(Oe){var Ee=!Oe||/^\s+$/.test(Oe);return!Ee}),g="";i!==null&&(g=Object.keys(i).map(function(Oe){return Gd(Oe,i[Oe])}).join(` +`));var x=m.find(function(Oe){return Oe.startsWith("precision")})||"precision mediump float;",b=s?m.filter(function(Oe){return!Oe.startsWith("precision")}).join(` +`):m.join(` +`),F="";if(e.viewportOrigin===mp.UPPER_LEFT&&(F+="".concat(Gd("VIEWPORT_ORIGIN_TL","1"),` +`)),e.clipSpaceNearZ===H0.ZERO&&(F+="".concat(Gd("CLIPSPACE_NEAR_ZERO","1"),` +`)),e.explicitBindingLocations){var R=0,I=0,B=0;b=b.replace(/^\s*(layout\((.*)\))?\s*uniform(.+{)$/gm,function(Oe,Ee,He,ft){var Ge=He?"".concat(He,", "):"";return"layout(".concat(Ge,"set = ").concat(R,", binding = ").concat(I++,") uniform ").concat(ft)}),R++,I=0,mo(e.separateSamplerTextures),b=b.replace(/^\s*(layout\((.*)\))?\s*uniform sampler(\w+) (.*);/gm,function(Oe,Ee,He,ft,Ge){var Ae=lg(He);Ae===null&&(Ae=I++);var Be=dp(dg(ft),2),ze=Be[0],st=Be[1];return t==="frag"?` +layout(set = `.concat(R,", binding = ").concat(Ae*2+0,") uniform texture").concat(ze," T_").concat(Ge,`; +layout(set = `).concat(R,", binding = ").concat(Ae*2+1,") uniform sampler").concat(st," S_").concat(Ge,";").trim():""}),b=b.replace(t==="frag"?/^\s*\b(varying|in)\b/gm:/^\s*\b(varying|out)\b/gm,function(Oe,Ee){return"layout(location = ".concat(B++,") ").concat(Ee)}),F+="".concat(Gd("gl_VertexID","gl_VertexIndex"),` +`),F+="".concat(Gd("gl_InstanceID","gl_InstanceIndex"),` +`),x=x.replace(/^precision (.*) sampler(.*);$/gm,"")}else{var V=0;b=b.replace(/^\s*(layout\((.*)\))?\s*uniform sampler(\w+) (.*);/gm,function(Oe,Ee,He,ft,Ge){var Ae=lg(He);return Ae===null&&(Ae=V++),"uniform sampler".concat(ft," ").concat(Ge,"; // BINDING=").concat(Ae)})}if(b=b.replace(/\bPU_SAMPLER_(\w+)\((.*?)\)/g,function(Oe,Ee,He){return"SAMPLER_".concat(Ee,"(P_").concat(He,")")}),b=b.replace(/\bPF_SAMPLER_(\w+)\((.*?)\)/g,function(Oe,Ee,He){return"PP_SAMPLER_".concat(Ee,"(P_").concat(He,")")}),b=b.replace(/\bPU_TEXTURE\((.*?)\)/g,function(Oe,Ee){return"TEXTURE(P_".concat(Ee,")")}),e.separateSamplerTextures)b=b.replace(/\bPD_SAMPLER_(\w+)\((.*?)\)/g,function(Oe,Ee,He){var ft=dp(dg(Ee),2),Ge=ft[0],Ae=ft[1];return"texture".concat(Ge," T_P_").concat(He,", sampler").concat(Ae," S_P_").concat(He)}),b=b.replace(/\bPP_SAMPLER_(\w+)\((.*?)\)/g,function(Oe,Ee,He){return"T_".concat(He,", S_").concat(He)}),b=b.replace(/\bSAMPLER_(\w+)\((.*?)\)/g,function(Oe,Ee,He){return"sampler".concat(Ee,"(T_").concat(He,", S_").concat(He,")")}),b=b.replace(/\bTEXTURE\((.*?)\)/g,function(Oe,Ee){return"T_".concat(Ee)});else{var J=[];b=b.replace(/\bPD_SAMPLER_(\w+)\((.*?)\)/g,function(Oe,Ee,He){return"sampler".concat(Ee," P_").concat(He)}),b=b.replace(/\bPP_SAMPLER_(\w+)\((.*?)\)/g,function(Oe,Ee,He){return He}),b=b.replace(/\bSAMPLER_(\w+)\((.*?)\)/g,function(Oe,Ee,He){return J.push([He,Ee]),He}),n&&J.forEach(function(Oe){var Ee=dp(Oe,2),He=Ee[0],ft=Ee[1];b=b.replace(new RegExp("texture\\(".concat(He),"g"),function(){return"texture".concat(ft,"(").concat(He)})}),b=b.replace(/\bTEXTURE\((.*?)\)/g,function(Oe,Ee){return Ee})}var Q="".concat(n?"":e.glslVersion,` +`).concat(n&&h?`#extension GL_EXT_draw_buffers : require +`:"",` +`).concat(n&&t==="frag"?`#extension GL_OES_standard_derivatives : enable +`:"").concat(s?x:"",` +`).concat(F||"").concat(g?g+` +`:"",` +`).concat(b,` +`).trim();if(e.explicitBindingLocations&&t==="frag"&&(Q=Q.replace(/^\b(out)\b/g,function(Oe,Ee){return"layout(location = 0) ".concat(Ee)})),n){if(t==="frag"&&(Q=Q.replace(/^\s*in\s+(\S+)\s*(.*);$/gm,function(Oe,Ee,He){return"varying ".concat(Ee," ").concat(He,`; +`)})),t==="vert"&&(Q=Q.replace(/^\s*out\s+(\S+)\s*(.*);$/gm,function(Oe,Ee,He){return"varying ".concat(Ee," ").concat(He,`; +`)}),Q=Q.replace(/^\s*layout\(location\s*=\s*\S*\)\s*in\s+(\S+)\s*(.*);$/gm,function(Oe,Ee,He){return"attribute ".concat(Ee," ").concat(He,`; +`)})),Q=Q.replace(/\s*uniform\s*.*\s*{((?:\s*.*\s*)*?)};/g,function(Oe,Ee){return Ee.trim().replace(/^.*$/gm,function(He){var ft=He.trim();return ft.startsWith("#")?ft:He?"uniform ".concat(ft):""})}),t==="frag")if(h){var te=[];Q=Q.replace(/^\s*layout\(location\s*=\s*\d*\)\s*out\s+vec4\s*(.*);$/gm,function(Oe,Ee){return te.push(Ee),"vec4 ".concat(Ee,`; +`)});var ne=Q.lastIndexOf("}");Q=Q.substring(0,ne)+` + `.concat(te.map(function(Oe,Ee){return"gl_FragData[".concat(Ee,"] = ").concat(Oe,`; + `)}).join(` +`))+Q.substring(ne)}else{var ue;if(Q=Q.replace(/^\s*out\s+(\S+)\s*(.*);$/gm,function(Oe,Ee,He){return ue=He,"".concat(Ee," ").concat(He,`; +`)}),ue){var ne=Q.lastIndexOf("}");Q=Q.substring(0,ne)+` + gl_FragColor = vec4(`.concat(ue,`); +`)+Q.substring(ne)}}Q=Q.replace(/^\s*layout\((.*)\)/gm,"")}return Q}var Zu=function(e){pn(t,e);function t(r){var i=r.id,s=r.device,u=e.call(this)||this;return u.id=i,u.device=s,u.device.resourceCreationTracker!==null&&u.device.resourceCreationTracker.trackResourceCreated(u),u}return t.prototype.destroy=function(){this.device.resourceCreationTracker!==null&&this.device.resourceCreationTracker.trackResourceDestroyed(this)},t}(E7),$O=function(e){pn(t,e);function t(r){var i=r.id,s=r.device,u=r.descriptor,n=e.call(this,{id:i,device:s})||this;n.type=Ko.Bindings;var h=u.uniformBufferBindings,m=u.samplerBindings;return n.uniformBufferBindings=h||[],n.samplerBindings=m||[],n.bindingLayouts=n.createBindingLayouts(),n}return t.prototype.createBindingLayouts=function(){var r=0,i=0,s=[],u=this.uniformBufferBindings.length,n=this.samplerBindings.length;return s.push({firstUniformBuffer:r,numUniformBuffers:u,firstSampler:i,numSamplers:n}),r+=u,i+=n,{numUniformBuffers:r,numSamplers:i,bindingLayoutTables:s}},t}(Zu);function Mr(e){return typeof WebGL2RenderingContext<"u"&&e instanceof WebGL2RenderingContext?!0:!!(e&&e._version===2)}function I7(e){var t=qp(e);switch(t){case bt.BC1:case bt.BC2:case bt.BC3:case bt.BC4_UNORM:case bt.BC4_SNORM:case bt.BC5_UNORM:case bt.BC5_SNORM:return!0;default:return!1}}function M7(e){var t=G0(e);if(t&cr.Normalized)return!1;var r=qp(e);return r===bt.S8||r===bt.S16||r===bt.S32||r===bt.U8||r===bt.U16||r===bt.U32}function qO(e){switch(e){case _p.STATIC:return ve.STATIC_DRAW;case _p.DYNAMIC:return ve.DYNAMIC_DRAW}}function yg(e){if(e&xi.INDEX)return ve.ELEMENT_ARRAY_BUFFER;if(e&xi.VERTEX)return ve.ARRAY_BUFFER;if(e&xi.UNIFORM)return ve.UNIFORM_BUFFER}function KO(e){switch(e){case Gn.TRIANGLES:return ve.TRIANGLES;case Gn.POINTS:return ve.POINTS;case Gn.TRIANGLE_STRIP:return ve.TRIANGLE_STRIP;case Gn.LINES:return ve.LINES;case Gn.LINE_STRIP:return ve.LINE_STRIP;default:throw new Error("Unknown primitive topology mode")}}function QO(e){switch(e){case bt.U8:return ve.UNSIGNED_BYTE;case bt.U16:return ve.UNSIGNED_SHORT;case bt.U32:return ve.UNSIGNED_INT;case bt.S8:return ve.BYTE;case bt.S16:return ve.SHORT;case bt.S32:return ve.INT;case bt.F16:return ve.HALF_FLOAT;case bt.F32:return ve.FLOAT;default:throw new Error("whoops")}}function JO(e){switch(e){case Ar.R:return 1;case Ar.RG:return 2;case Ar.RGB:return 3;case Ar.RGBA:return 4;default:return 1}}function eL(e){var t=qp(e),r=V6(e),i=G0(e),s=QO(t),u=JO(r),n=!!(i&cr.Normalized);return{size:u,type:s,normalized:n}}function tL(e){switch(e){case ke.U8_R:return ve.UNSIGNED_BYTE;case ke.U16_R:return ve.UNSIGNED_SHORT;case ke.U32_R:return ve.UNSIGNED_INT;default:throw new Error("whoops")}}function jd(e){switch(e){case _s.CLAMP_TO_EDGE:return ve.CLAMP_TO_EDGE;case _s.REPEAT:return ve.REPEAT;case _s.MIRRORED_REPEAT:return ve.MIRRORED_REPEAT;default:throw new Error("whoops")}}function Bh(e,t){if(t===sa.LINEAR&&e===xn.BILINEAR)return ve.LINEAR_MIPMAP_LINEAR;if(t===sa.LINEAR&&e===xn.POINT)return ve.NEAREST_MIPMAP_LINEAR;if(t===sa.NEAREST&&e===xn.BILINEAR)return ve.LINEAR_MIPMAP_NEAREST;if(t===sa.NEAREST&&e===xn.POINT)return ve.NEAREST_MIPMAP_NEAREST;if(t===sa.NO_MIP&&e===xn.BILINEAR)return ve.LINEAR;if(t===sa.NO_MIP&&e===xn.POINT)return ve.NEAREST;throw new Error("Unknown texture filter mode")}function D0(e,t){t===void 0&&(t=0);var r=e;return r.gl_buffer_pages[t/r.pageByteSize|0]}function E0(e){var t=e;return t.gl_texture}function Q2(e){var t=e;return t.gl_sampler}function Wd(e,t){e.name=t,e.__SPECTOR_Metadata={name:t}}function hg(e,t){for(var r=[];;){var i=t.exec(e);if(!i)break;r.push(i)}return r}function ml(e){return e.blendMode==va.ADD&&e.blendSrcFactor==Bo.ONE&&e.blendDstFactor===Bo.ZERO}function rL(e){switch(e){case Cf.OcclusionConservative:return ve.ANY_SAMPLES_PASSED_CONSERVATIVE;default:throw new Error("whoops")}}function oL(e){if(e===Uo.TEXTURE_2D)return ve.TEXTURE_2D;if(e===Uo.TEXTURE_2D_ARRAY)return ve.TEXTURE_2D_ARRAY;if(e===Uo.TEXTURE_CUBE_MAP)return ve.TEXTURE_CUBE_MAP;if(e===Uo.TEXTURE_3D)return ve.TEXTURE_3D;throw new Error("whoops")}function r2(e,t,r,i){return!(e%r!==0||t%i!==0)}var iL=function(e){pn(t,e);function t(r){var i=r.id,s=r.device,u=r.descriptor,n=e.call(this,{id:i,device:s})||this;n.type=Ko.Buffer;var h=u.viewOrSize,m=u.usage,g=u.hint,x=g===void 0?_p.STATIC:g,b=s.uniformBufferMaxPageByteSize,F=s.gl,R=m&xi.UNIFORM;R||(Mr(F)?F.bindVertexArray(null):s.OES_vertex_array_object.bindVertexArrayOES(null));var I=P0(h)?Mf(h,4):Mf(h.byteLength,4);n.gl_buffer_pages=[];var B;if(R){for(var V=I;V>0;)n.gl_buffer_pages.push(n.createBufferPage(Math.min(V,b),m,x)),V-=b;B=b}else n.gl_buffer_pages.push(n.createBufferPage(I,m,x)),B=I;return n.pageByteSize=B,n.byteSize=I,n.usage=m,n.gl_target=yg(m),P0(h)||n.setSubData(0,new Uint8Array(h.buffer)),R||(Mr(F)?F.bindVertexArray(n.device.currentBoundVAO):s.OES_vertex_array_object.bindVertexArrayOES(n.device.currentBoundVAO)),n}return t.prototype.setSubData=function(r,i,s,u){s===void 0&&(s=0),u===void 0&&(u=i.byteLength-s);for(var n=this.device.gl,h=this.pageByteSize,m=r+u,g=r,x=r%h;g=1,!n){x=h.device.ensureResourceExists(m.createTexture());var F=h.device.translateTextureType(u.format),R=h.device.translateTextureInternalFormat(u.format);if(h.device.setActiveTexture(m.TEXTURE0),h.device.currentTextures[0]=null,h.preprocessImage(),u.dimension===Uo.TEXTURE_2D){if(g=ve.TEXTURE_2D,m.bindTexture(g,x),h.immutable)if(Mr(m))m.texStorage2D(g,b,R,u.width,u.height);else{var I=(R===ve.DEPTH_COMPONENT||h.isNPOT(),0);(h.format===ke.D32F||h.format===ke.D24_S8)&&!Mr(m)&&!s.WEBGL_depth_texture||(m.texImage2D(g,I,R,u.width,u.height,0,R,F,null),h.mipmaps&&(h.mipmaps=!1,m.texParameteri(ve.TEXTURE_2D,ve.TEXTURE_MIN_FILTER,ve.LINEAR),m.texParameteri(ve.TEXTURE_2D,ve.TEXTURE_WRAP_S,ve.CLAMP_TO_EDGE),m.texParameteri(ve.TEXTURE_2D,ve.TEXTURE_WRAP_T,ve.CLAMP_TO_EDGE)))}mo(u.depthOrArrayLayers===1)}else if(u.dimension===Uo.TEXTURE_2D_ARRAY)g=ve.TEXTURE_2D_ARRAY,m.bindTexture(g,x),h.immutable&&Mr(m)&&m.texStorage3D(g,b,R,u.width,u.height,u.depthOrArrayLayers);else if(u.dimension===Uo.TEXTURE_3D)g=ve.TEXTURE_3D,m.bindTexture(g,x),h.immutable&&Mr(m)&&m.texStorage3D(g,b,R,u.width,u.height,u.depthOrArrayLayers);else if(u.dimension===Uo.TEXTURE_CUBE_MAP)g=ve.TEXTURE_CUBE_MAP,m.bindTexture(g,x),h.immutable&&Mr(m)&&m.texStorage2D(g,b,R,u.width,u.height),mo(u.depthOrArrayLayers===6);else throw new Error("whoops")}return h.gl_texture=x,h.gl_target=g,h.mipLevelCount=b,h}return t.prototype.setImageData=function(r,i){i===void 0&&(i=0);var s=this.device.gl;I7(this.format);var u=this.gl_target===ve.TEXTURE_3D||this.gl_target===ve.TEXTURE_2D_ARRAY,n=this.gl_target===ve.TEXTURE_CUBE_MAP,h=XO(r[0]);this.device.setActiveTexture(s.TEXTURE0),this.device.currentTextures[0]=null;var m=r[0],g,x;h?(g=this.width,x=this.height):(g=m.width,x=m.height,this.width=g,this.height=x),s.bindTexture(this.gl_target,this.gl_texture);var b=this.device.translateTextureFormat(this.format),F=Mr(s)?this.device.translateInternalTextureFormat(this.format):b,R=this.device.translateTextureType(this.format);this.preprocessImage();for(var I=0;I1){var i=qp(r.format);if(i===bt.BC1)for(var s=r.width,u=r.height,n=0;n1?h.renderbufferStorageMultisample(ve.RENDERBUFFER,F,B,g,x):h.renderbufferStorage(ve.RENDERBUFFER,B,g,x)}return n.format=m,n.width=g,n.height=x,n.sampleCount=F,n}return t.prototype.destroy=function(){e.prototype.destroy.call(this),this.gl_renderbuffer!==null&&this.device.gl.deleteRenderbuffer(this.gl_renderbuffer),this.texture&&this.texture.destroy()},t}(Zu),ks;(function(e){e[e.NeedsCompile=0]="NeedsCompile",e[e.Compiling=1]="Compiling",e[e.NeedsBind=2]="NeedsBind",e[e.ReadyToUse=3]="ReadyToUse"})(ks||(ks={}));var sL=function(e){pn(t,e);function t(r,i){var s=r.id,u=r.device,n=r.descriptor,h=e.call(this,{id:s,device:u})||this;h.rawVertexGLSL=i,h.type=Ko.Program,h.uniformSetters={},h.attributes=[];var m=h.device.gl;return h.descriptor=n,h.gl_program=h.device.ensureResourceExists(m.createProgram()),h.gl_shader_vert=null,h.gl_shader_frag=null,h.compileState=ks.NeedsCompile,h.tryCompileProgram(),h}return t.prototype.destroy=function(){e.prototype.destroy.call(this),this.device.gl.deleteProgram(this.gl_program),this.device.gl.deleteShader(this.gl_shader_vert),this.device.gl.deleteShader(this.gl_shader_frag)},t.prototype.tryCompileProgram=function(){mo(this.compileState===ks.NeedsCompile);var r=this.descriptor,i=r.vertex,s=r.fragment,u=this.device.gl;i!=null&&i.glsl&&(s!=null&&s.glsl)&&(this.gl_shader_vert=this.compileShader(i.postprocess?i.postprocess(i.glsl):i.glsl,u.VERTEX_SHADER),this.gl_shader_frag=this.compileShader(s.postprocess?s.postprocess(s.glsl):s.glsl,u.FRAGMENT_SHADER),u.attachShader(this.gl_program,this.gl_shader_vert),u.attachShader(this.gl_program,this.gl_shader_frag),u.linkProgram(this.gl_program),this.compileState=ks.Compiling,Mr(u)||(this.readUniformLocationsFromLinkedProgram(),this.readAttributesFromLinkedProgram()))},t.prototype.readAttributesFromLinkedProgram=function(){for(var r,i=this.device.gl,s=i.getProgramParameter(this.gl_program,i.ACTIVE_ATTRIBUTES),u=ZO(this.descriptor.vertex.glsl),n=YO(this.rawVertexGLSL,u),h=function(x){var b=i.getActiveAttrib(m.gl_program,x),F=b.name,R=b.type,I=b.size,B=i.getAttribLocation(m.gl_program,F),V=(r=n.find(function(J){return J.name===F}))===null||r===void 0?void 0:r.location;B>=0&&!Xu(V)&&(m.attributes[V]={name:F,location:B,type:R,size:I})},m=this,g=0;g1)for(var m=0;m1&&m.device.EXT_texture_filter_anisotropic!==null&&(mo(u.minFilter===xn.BILINEAR&&u.magFilter===xn.BILINEAR&&u.mipmapFilter===sa.LINEAR),g.samplerParameterf(x,m.device.EXT_texture_filter_anisotropic.TEXTURE_MAX_ANISOTROPY_EXT,b)),m.gl_sampler=x}else m.descriptor=u;return m}return t.prototype.setTextureParameters=function(r,i,s){var u,n=this.device.gl,h=this.descriptor;this.isNPOT(i,s)?n.texParameteri(ve.TEXTURE_2D,ve.TEXTURE_MIN_FILTER,ve.LINEAR):n.texParameteri(r,ve.TEXTURE_MIN_FILTER,Bh(h.minFilter,h.mipmapFilter)),n.texParameteri(ve.TEXTURE_2D,ve.TEXTURE_WRAP_S,jd(h.addressModeU)),n.texParameteri(ve.TEXTURE_2D,ve.TEXTURE_WRAP_T,jd(h.addressModeV)),n.texParameteri(r,ve.TEXTURE_MAG_FILTER,Bh(h.magFilter,sa.NO_MIP));var m=(u=h.maxAnisotropy)!==null&&u!==void 0?u:1;m>1&&this.device.EXT_texture_filter_anisotropic!==null&&(mo(h.minFilter===xn.BILINEAR&&h.magFilter===xn.BILINEAR&&h.mipmapFilter===sa.LINEAR),n.texParameteri(r,this.device.EXT_texture_filter_anisotropic.TEXTURE_MAX_ANISOTROPY_EXT,m))},t.prototype.destroy=function(){e.prototype.destroy.call(this),Mr(this.device.gl)&&this.device.gl.deleteSampler(Q2(this))},t.prototype.isNPOT=function(r,i){return!If(r)||!If(i)},t}(Zu),hL=function(){function e(){}return e.prototype.dispatchWorkgroups=function(t,r,i){},e.prototype.dispatchWorkgroupsIndirect=function(t,r){},e.prototype.setPipeline=function(t){},e.prototype.setBindings=function(t){},e.prototype.pushDebugGroup=function(t){},e.prototype.popDebugGroup=function(){},e.prototype.insertDebugMarker=function(t){},e}(),fL=function(e){pn(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=Ko.RenderBundle,r.commands=[],r}return t.prototype.push=function(r){this.commands.push(r)},t.prototype.replay=function(){this.commands.forEach(function(r){return r()})},t}(Zu),fg=65536,mL=/uniform(?:\s+)(\w+)(?:\s?){([^]*?)}/g,_L=function(){function e(t,r){r===void 0&&(r={}),this.shaderDebug=!1,this.OES_vertex_array_object=null,this.ANGLE_instanced_arrays=null,this.OES_texture_float=null,this.OES_draw_buffers_indexed=null,this.WEBGL_draw_buffers=null,this.WEBGL_depth_texture=null,this.WEBGL_color_buffer_float=null,this.EXT_color_buffer_half_float=null,this.WEBGL_compressed_texture_s3tc=null,this.WEBGL_compressed_texture_s3tc_srgb=null,this.EXT_texture_compression_rgtc=null,this.EXT_texture_filter_anisotropic=null,this.KHR_parallel_shader_compile=null,this.EXT_texture_norm16=null,this.EXT_color_buffer_float=null,this.OES_texture_float_linear=null,this.OES_texture_half_float_linear=null,this.scTexture=null,this.scPlatformFramebuffer=null,this.currentActiveTexture=null,this.currentBoundVAO=null,this.currentProgram=null,this.resourceCreationTracker=null,this.resourceUniqueId=0,this.currentColorAttachments=[],this.currentColorAttachmentLevels=[],this.currentColorResolveTos=[],this.currentColorResolveToLevels=[],this.currentSampleCount=-1,this.currentIndexBufferByteOffset=null,this.currentMegaState=j0(W0),this.currentSamplers=[],this.currentTextures=[],this.currentUniformBuffers=[],this.currentUniformBufferByteOffsets=[],this.currentUniformBufferByteSizes=[],this.currentScissorEnabled=!1,this.currentStencilRef=null,this.currentRenderPassDescriptor=null,this.currentRenderPassDescriptorStack=[],this.debugGroupStack=[],this.resolveColorAttachmentsChanged=!1,this.resolveDepthStencilAttachmentsChanged=!1,this.explicitBindingLocations=!1,this.separateSamplerTextures=!1,this.viewportOrigin=mp.LOWER_LEFT,this.clipSpaceNearZ=H0.NEGATIVE_ONE,this.supportMRT=!1,this.inBlitRenderPass=!1,this.supportedSampleCounts=[],this.occlusionQueriesRecommended=!1,this.computeShadersSupported=!1,this.gl=t,this.contextAttributes=c1(t.getContextAttributes()),Mr(t)?(this.EXT_texture_norm16=t.getExtension("EXT_texture_norm16"),this.EXT_color_buffer_float=t.getExtension("EXT_color_buffer_float")):(this.OES_vertex_array_object=t.getExtension("OES_vertex_array_object"),this.ANGLE_instanced_arrays=t.getExtension("ANGLE_instanced_arrays"),this.OES_texture_float=t.getExtension("OES_texture_float"),this.WEBGL_draw_buffers=t.getExtension("WEBGL_draw_buffers"),this.WEBGL_depth_texture=t.getExtension("WEBGL_depth_texture"),this.WEBGL_color_buffer_float=t.getExtension("WEBGL_color_buffer_float"),this.EXT_color_buffer_half_float=t.getExtension("EXT_color_buffer_half_float"),t.getExtension("EXT_frag_depth"),t.getExtension("OES_element_index_uint"),t.getExtension("OES_standard_derivatives")),this.WEBGL_compressed_texture_s3tc=t.getExtension("WEBGL_compressed_texture_s3tc"),this.WEBGL_compressed_texture_s3tc_srgb=t.getExtension("WEBGL_compressed_texture_s3tc_srgb"),this.EXT_texture_compression_rgtc=t.getExtension("EXT_texture_compression_rgtc"),this.EXT_texture_filter_anisotropic=t.getExtension("EXT_texture_filter_anisotropic"),this.EXT_texture_norm16=t.getExtension("EXT_texture_norm16"),this.OES_texture_float_linear=t.getExtension("OES_texture_float_linear"),this.OES_texture_half_float_linear=t.getExtension("OES_texture_half_float_linear"),this.KHR_parallel_shader_compile=t.getExtension("KHR_parallel_shader_compile"),Mr(t)?(this.platformString="WebGL2",this.glslVersion="#version 300 es"):(this.platformString="WebGL1",this.glslVersion="#version 100"),this.scTexture=new J2({id:this.getNextUniqueId(),device:this,descriptor:{width:0,height:0,depthOrArrayLayers:1,dimension:Uo.TEXTURE_2D,mipLevelCount:1,usage:as.RENDER_TARGET,format:this.contextAttributes.alpha===!1?ke.U8_RGB_RT:ke.U8_RGBA_RT},fake:!0}),this.scTexture.formatKind=sn.Float,this.scTexture.gl_target=null,this.scTexture.gl_texture=null,this.resolveColorReadFramebuffer=this.ensureResourceExists(t.createFramebuffer()),this.resolveColorDrawFramebuffer=this.ensureResourceExists(t.createFramebuffer()),this.resolveDepthStencilReadFramebuffer=this.ensureResourceExists(t.createFramebuffer()),this.resolveDepthStencilDrawFramebuffer=this.ensureResourceExists(t.createFramebuffer()),this.renderPassDrawFramebuffer=this.ensureResourceExists(t.createFramebuffer()),this.readbackFramebuffer=this.ensureResourceExists(t.createFramebuffer()),this.fallbackTexture2D=this.createFallbackTexture(Uo.TEXTURE_2D,sn.Float),this.fallbackTexture2DDepth=this.createFallbackTexture(Uo.TEXTURE_2D,sn.Depth),this.fallbackVertexBuffer=this.createBuffer({viewOrSize:1,usage:xi.VERTEX,hint:_p.STATIC}),Mr(t)&&(this.fallbackTexture2DArray=this.createFallbackTexture(Uo.TEXTURE_2D_ARRAY,sn.Float),this.fallbackTexture3D=this.createFallbackTexture(Uo.TEXTURE_3D,sn.Float),this.fallbackTextureCube=this.createFallbackTexture(Uo.TEXTURE_CUBE_MAP,sn.Float)),this.currentMegaState.depthCompare=ai.LESS,this.currentMegaState.depthWrite=!1,this.currentMegaState.attachmentsState[0].channelWriteMask=ga.ALL,t.enable(t.DEPTH_TEST),t.enable(t.STENCIL_TEST),this.checkLimits(),r.shaderDebug&&(this.shaderDebug=!0),r.trackResources&&(this.resourceCreationTracker=new dL)}return e.prototype.destroy=function(){this.blitBindings&&this.blitBindings.destroy(),this.blitInputLayout&&this.blitInputLayout.destroy(),this.blitRenderPipeline&&this.blitRenderPipeline.destroy(),this.blitVertexBuffer&&this.blitVertexBuffer.destroy(),this.blitProgram&&this.blitProgram.destroy()},e.prototype.createFallbackTexture=function(t,r){var i=t===Uo.TEXTURE_CUBE_MAP?6:1,s=r===sn.Depth?ke.D32F:ke.U8_RGBA_NORM,u=this.createTexture({dimension:t,format:s,usage:as.SAMPLED,width:1,height:1,depthOrArrayLayers:i,mipLevelCount:1});return r===sn.Float&&u.setImageData([new Uint8Array(4*i)]),E0(u)},e.prototype.getNextUniqueId=function(){return++this.resourceUniqueId},e.prototype.checkLimits=function(){var t=this.gl;if(this.maxVertexAttribs=t.getParameter(ve.MAX_VERTEX_ATTRIBS),Mr(t)){this.uniformBufferMaxPageByteSize=Math.min(t.getParameter(ve.MAX_UNIFORM_BLOCK_SIZE),fg),this.uniformBufferWordAlignment=t.getParameter(t.UNIFORM_BUFFER_OFFSET_ALIGNMENT)/4;var r=t.getInternalformatParameter(t.RENDERBUFFER,t.DEPTH32F_STENCIL8,t.SAMPLES);this.supportedSampleCounts=r?Ad([],dp(r),!1):[],this.occlusionQueriesRecommended=!0}else this.uniformBufferWordAlignment=64,this.uniformBufferMaxPageByteSize=fg;this.uniformBufferMaxPageWordSize=this.uniformBufferMaxPageByteSize/4,this.supportedSampleCounts.includes(1)||this.supportedSampleCounts.push(1),this.supportedSampleCounts.sort(function(i,s){return i-s})},e.prototype.configureSwapChain=function(t,r,i){var s=this.scTexture;s.width=t,s.height=r,this.scPlatformFramebuffer=mO(i)},e.prototype.getDevice=function(){return this},e.prototype.getCanvas=function(){return this.gl.canvas},e.prototype.getOnscreenTexture=function(){return this.scTexture},e.prototype.beginFrame=function(){},e.prototype.endFrame=function(){},e.prototype.translateTextureInternalFormat=function(t,r){switch(r===void 0&&(r=!1),t){case ke.ALPHA:return ve.ALPHA;case ke.U8_LUMINANCE:case ke.F16_LUMINANCE:case ke.F32_LUMINANCE:return ve.LUMINANCE;case ke.F16_R:return ve.R16F;case ke.F16_RG:return ve.RG16F;case ke.F16_RGB:return ve.RGB16F;case ke.F16_RGBA:return ve.RGBA16F;case ke.F32_R:return ve.R32F;case ke.F32_RG:return ve.RG32F;case ke.F32_RGB:return ve.RGB32F;case ke.F32_RGBA:return Mr(this.gl)?ve.RGBA32F:r?this.WEBGL_color_buffer_float.RGBA32F_EXT:ve.RGBA;case ke.U8_R_NORM:return ve.R8;case ke.U8_RG_NORM:return ve.RG8;case ke.U8_RGB_NORM:case ke.U8_RGB_RT:return ve.RGB8;case ke.U8_RGB_SRGB:return ve.SRGB8;case ke.U8_RGBA_NORM:case ke.U8_RGBA_RT:return Mr(this.gl)?ve.RGBA8:r?ve.RGBA4:ve.RGBA;case ke.U8_RGBA:return ve.RGBA;case ke.U8_RGBA_SRGB:case ke.U8_RGBA_RT_SRGB:return ve.SRGB8_ALPHA8;case ke.U16_R:return ve.R16UI;case ke.U16_R_NORM:return this.EXT_texture_norm16.R16_EXT;case ke.U16_RG_NORM:return this.EXT_texture_norm16.RG16_EXT;case ke.U16_RGBA_NORM:return this.EXT_texture_norm16.RGBA16_EXT;case ke.U16_RGBA_5551:return ve.RGB5_A1;case ke.U16_RGB_565:return ve.RGB565;case ke.U32_R:return ve.R32UI;case ke.S8_RGBA_NORM:return ve.RGBA8_SNORM;case ke.S8_RG_NORM:return ve.RG8_SNORM;case ke.BC1:return this.WEBGL_compressed_texture_s3tc.COMPRESSED_RGBA_S3TC_DXT1_EXT;case ke.BC1_SRGB:return this.WEBGL_compressed_texture_s3tc_srgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;case ke.BC2:return this.WEBGL_compressed_texture_s3tc.COMPRESSED_RGBA_S3TC_DXT3_EXT;case ke.BC2_SRGB:return this.WEBGL_compressed_texture_s3tc_srgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;case ke.BC3:return this.WEBGL_compressed_texture_s3tc.COMPRESSED_RGBA_S3TC_DXT5_EXT;case ke.BC3_SRGB:return this.WEBGL_compressed_texture_s3tc_srgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT;case ke.BC4_UNORM:return this.EXT_texture_compression_rgtc.COMPRESSED_RED_RGTC1_EXT;case ke.BC4_SNORM:return this.EXT_texture_compression_rgtc.COMPRESSED_SIGNED_RED_RGTC1_EXT;case ke.BC5_UNORM:return this.EXT_texture_compression_rgtc.COMPRESSED_RED_GREEN_RGTC2_EXT;case ke.BC5_SNORM:return this.EXT_texture_compression_rgtc.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT;case ke.D32F_S8:return Mr(this.gl)?ve.DEPTH32F_STENCIL8:this.WEBGL_depth_texture?ve.DEPTH_STENCIL:ve.DEPTH_COMPONENT16;case ke.D24_S8:return Mr(this.gl)?ve.DEPTH24_STENCIL8:this.WEBGL_depth_texture?ve.DEPTH_STENCIL:ve.DEPTH_COMPONENT16;case ke.D32F:return Mr(this.gl)?ve.DEPTH_COMPONENT32F:this.WEBGL_depth_texture?ve.DEPTH_COMPONENT:ve.DEPTH_COMPONENT16;case ke.D24:return Mr(this.gl)?ve.DEPTH_COMPONENT24:this.WEBGL_depth_texture?ve.DEPTH_COMPONENT:ve.DEPTH_COMPONENT16;default:throw new Error("whoops")}},e.prototype.translateTextureType=function(t){var r=qp(t);switch(r){case bt.U8:return ve.UNSIGNED_BYTE;case bt.U16:return ve.UNSIGNED_SHORT;case bt.U32:return ve.UNSIGNED_INT;case bt.S8:return ve.BYTE;case bt.F16:return ve.HALF_FLOAT;case bt.F32:return ve.FLOAT;case bt.U16_PACKED_5551:return ve.UNSIGNED_SHORT_5_5_5_1;case bt.D32F:return Mr(this.gl)?ve.FLOAT:this.WEBGL_depth_texture?ve.UNSIGNED_INT:ve.UNSIGNED_BYTE;case bt.D24:return Mr(this.gl)?ve.UNSIGNED_INT_24_8:this.WEBGL_depth_texture?ve.UNSIGNED_SHORT:ve.UNSIGNED_BYTE;case bt.D24S8:return Mr(this.gl)?ve.UNSIGNED_INT_24_8:this.WEBGL_depth_texture?ve.UNSIGNED_INT_24_8_WEBGL:ve.UNSIGNED_BYTE;case bt.D32FS8:return ve.FLOAT_32_UNSIGNED_INT_24_8_REV;default:throw new Error("whoops")}},e.prototype.translateInternalTextureFormat=function(t){switch(t){case ke.F32_R:return ve.R32F;case ke.F32_RG:return ve.RG32F;case ke.F32_RGB:return ve.RGB32F;case ke.F32_RGBA:return ve.RGBA32F;case ke.F16_R:return ve.R16F;case ke.F16_RG:return ve.RG16F;case ke.F16_RGB:return ve.RGB16F;case ke.F16_RGBA:return ve.RGBA16F}return this.translateTextureFormat(t)},e.prototype.translateTextureFormat=function(t){if(I7(t)||t===ke.F32_LUMINANCE||t===ke.U8_LUMINANCE)return this.translateTextureInternalFormat(t);var r=Mr(this.gl)||!Mr(this.gl)&&!!this.WEBGL_depth_texture;switch(t){case ke.D24_S8:case ke.D32F_S8:return r?ve.DEPTH_STENCIL:ve.RGBA;case ke.D24:case ke.D32F:return r?ve.DEPTH_COMPONENT:ve.RGBA}var i=M7(t),s=V6(t);switch(s){case Ar.A:return ve.ALPHA;case Ar.R:return i?ve.RED_INTEGER:ve.RED;case Ar.RG:return i?ve.RG_INTEGER:ve.RG;case Ar.RGB:return i?ve.RGB_INTEGER:ve.RGB;case Ar.RGBA:return ve.RGBA}},e.prototype.setActiveTexture=function(t){this.currentActiveTexture!==t&&(this.gl.activeTexture(t),this.currentActiveTexture=t)},e.prototype.bindVAO=function(t){this.currentBoundVAO!==t&&(Mr(this.gl)?this.gl.bindVertexArray(t):this.OES_vertex_array_object.bindVertexArrayOES(t),this.currentBoundVAO=t)},e.prototype.programCompiled=function(t){mo(t.compileState!==ks.NeedsCompile),t.compileState===ks.Compiling&&(t.compileState=ks.NeedsBind,this.shaderDebug&&this.checkProgramCompilationForErrors(t))},e.prototype.useProgram=function(t){this.currentProgram!==t&&(this.programCompiled(t),this.gl.useProgram(t.gl_program),this.currentProgram=t)},e.prototype.ensureResourceExists=function(t){if(t===null){var r=this.gl.getError();throw new Error("Created resource is null; GL error encountered: ".concat(r))}else return t},e.prototype.createBuffer=function(t){return new iL({id:this.getNextUniqueId(),device:this,descriptor:t})},e.prototype.createTexture=function(t){return new J2({id:this.getNextUniqueId(),device:this,descriptor:t})},e.prototype.createSampler=function(t){return new yL({id:this.getNextUniqueId(),device:this,descriptor:t})},e.prototype.createRenderTarget=function(t){return new aL({id:this.getNextUniqueId(),device:this,descriptor:t})},e.prototype.createRenderTargetFromTexture=function(t){var r=t,i=r.format,s=r.width,u=r.height,n=r.mipLevelCount;return mo(n===1),this.createRenderTarget({format:i,width:s,height:u,sampleCount:1,texture:t})},e.prototype.createProgram=function(t){var r,i,s,u=(r=t.vertex)===null||r===void 0?void 0:r.glsl;return!((i=t.vertex)===null||i===void 0)&&i.glsl&&(t.vertex.glsl=X0(this.queryVendorInfo(),"vert",t.vertex.glsl)),!((s=t.fragment)===null||s===void 0)&&s.glsl&&(t.fragment.glsl=X0(this.queryVendorInfo(),"frag",t.fragment.glsl)),this.createProgramSimple(t,u)},e.prototype.createProgramSimple=function(t,r){var i=new sL({id:this.getNextUniqueId(),device:this,descriptor:t},r);return i},e.prototype.createBindings=function(t){return new $O({id:this.getNextUniqueId(),device:this,descriptor:t})},e.prototype.createInputLayout=function(t){return new nL({id:this.getNextUniqueId(),device:this,descriptor:t})},e.prototype.createRenderPipeline=function(t){return new cL({id:this.getNextUniqueId(),device:this,descriptor:t})},e.prototype.createComputePass=function(){return new hL},e.prototype.createComputePipeline=function(t){return new lL({id:this.getNextUniqueId(),device:this,descriptor:t})},e.prototype.createReadback=function(){return new pL({id:this.getNextUniqueId(),device:this})},e.prototype.createQueryPool=function(t,r){return new uL({id:this.getNextUniqueId(),device:this,descriptor:{type:t,elemCount:r}})},e.prototype.formatRenderPassDescriptor=function(t){var r,i,s,u,n,h,m=t.colorAttachment;t.depthClearValue=(r=t.depthClearValue)!==null&&r!==void 0?r:"load",t.stencilClearValue=(i=t.stencilClearValue)!==null&&i!==void 0?i:"load";for(var g=0;g=0;r--)this.debugGroupStack[r].drawCallCount+=t},e.prototype.debugGroupStatisticsBufferUpload=function(t){t===void 0&&(t=1);for(var r=this.debugGroupStack.length-1;r>=0;r--)this.debugGroupStack[r].bufferUploadCount+=t},e.prototype.debugGroupStatisticsTextureBind=function(t){t===void 0&&(t=1);for(var r=this.debugGroupStack.length-1;r>=0;r--)this.debugGroupStack[r].textureBindCount+=t},e.prototype.debugGroupStatisticsTriangles=function(t){for(var r=this.debugGroupStack.length-1;r>=0;r--)this.debugGroupStack[r].triangleCount+=t},e.prototype.reportShaderError=function(t,r){var i=this.gl,s=i.getShaderParameter(t,i.COMPILE_STATUS);if(!s){console.error(gO(r));var u=i.getExtension("WEBGL_debug_shaders");u&&console.error(u.getTranslatedShaderSource(t)),console.error(i.getShaderInfoLog(t))}return s},e.prototype.checkProgramCompilationForErrors=function(t){var r=this.gl,i=t.gl_program;if(!r.getProgramParameter(i,r.LINK_STATUS)){var s=t.descriptor;if(!this.reportShaderError(t.gl_shader_vert,s.vertex.glsl)||!this.reportShaderError(t.gl_shader_frag,s.fragment.glsl))return;console.error(r.getProgramInfoLog(t.gl_program))}},e.prototype.bindFramebufferAttachment=function(t,r,i,s){var u=this.gl;if(Xu(i))u.framebufferRenderbuffer(t,r,u.RENDERBUFFER,null);else if(i.type===Ko.RenderTarget)i.gl_renderbuffer!==null?u.framebufferRenderbuffer(t,r,u.RENDERBUFFER,i.gl_renderbuffer):i.texture!==null&&u.framebufferTexture2D(t,r,ve.TEXTURE_2D,E0(i.texture),s);else if(i.type===Ko.Texture){var n=E0(i);i.dimension===Uo.TEXTURE_2D?u.framebufferTexture2D(t,r,ve.TEXTURE_2D,n,s):Mr(u)&&(i.dimension,Uo.TEXTURE_2D_ARRAY)}},e.prototype.bindFramebufferDepthStencilAttachment=function(t,r){var i=this.gl,s=Xu(r)?cr.Depth|cr.Stencil:G0(r.format),u=!!(s&cr.Depth),n=!!(s&cr.Stencil);if(u&&n){var h=Mr(this.gl)||!Mr(this.gl)&&!!this.WEBGL_depth_texture;h?this.bindFramebufferAttachment(t,i.DEPTH_STENCIL_ATTACHMENT,r,0):this.bindFramebufferAttachment(t,i.DEPTH_ATTACHMENT,r,0)}else u?(this.bindFramebufferAttachment(t,i.DEPTH_ATTACHMENT,r,0),this.bindFramebufferAttachment(t,i.STENCIL_ATTACHMENT,null,0)):n&&(this.bindFramebufferAttachment(t,i.STENCIL_ATTACHMENT,r,0),this.bindFramebufferAttachment(t,i.DEPTH_ATTACHMENT,null,0))},e.prototype.validateCurrentAttachments=function(){for(var t=-1,r=-1,i=-1,s=0;s=g.numUniformBuffers),mo(h.length>=g.numSamplers);for(var x=0;x{throw Error("TextDecoder not available")}};typeof TextDecoder<"u"&&N7.decode();let oy=null;function Kh(){return(oy===null||oy.byteLength===0)&&(oy=new Uint8Array(an.memory.buffer)),oy}function Of(e,t){return e=e>>>0,N7.decode(Kh().subarray(e,e+t))}const Rc=new Array(128).fill(void 0);Rc.push(void 0,null,!0,!1);let cy=Rc.length;function vL(e){cy===Rc.length&&Rc.push(Rc.length+1);const t=cy;return cy=Rc[t],Rc[t]=e,t}function Qh(e){return Rc[e]}function EL(e){e<132||(Rc[e]=cy,cy=e)}function xL(e){const t=Qh(e);return EL(e),t}let Z0=0;const Jh=typeof TextEncoder<"u"?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},PL=typeof Jh.encodeInto=="function"?function(e,t){return Jh.encodeInto(e,t)}:function(e,t){const r=Jh.encode(e);return t.set(r),{read:e.length,written:r.length}};function Lf(e,t,r){if(r===void 0){const h=Jh.encode(e),m=t(h.length,1)>>>0;return Kh().subarray(m,m+h.length).set(h),Z0=h.length,m}let i=e.length,s=t(i,1)>>>0;const u=Kh();let n=0;for(;n127)break;u[s+n]=h}if(n!==i){n!==0&&(e=e.slice(n)),s=r(s,i,i=n+e.length*3,1)>>>0;const h=Kh().subarray(s+n,s+i),m=PL(e,h);n+=m.written}return Z0=n,s}let iy=null;function Bf(){return(iy===null||iy.byteLength===0)&&(iy=new Int32Array(an.memory.buffer)),iy}function bL(e,t,r){let i,s;try{const h=an.__wbindgen_add_to_stack_pointer(-16),m=Lf(e,an.__wbindgen_malloc,an.__wbindgen_realloc),g=Z0,x=Lf(t,an.__wbindgen_malloc,an.__wbindgen_realloc),b=Z0;an.glsl_compile(h,m,g,x,b,r);var u=Bf()[h/4+0],n=Bf()[h/4+1];return i=u,s=n,Of(u,n)}finally{an.__wbindgen_add_to_stack_pointer(16),an.__wbindgen_free(i,s,1)}}class Ry{static __wrap(t){t=t>>>0;const r=Object.create(Ry.prototype);return r.__wbg_ptr=t,r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();an.__wbg_wgslcomposer_free(t)}constructor(){const t=an.wgslcomposer_new();return Ry.__wrap(t)}load_composable(t){const r=Lf(t,an.__wbindgen_malloc,an.__wbindgen_realloc),i=Z0;an.wgslcomposer_load_composable(this.__wbg_ptr,r,i)}wgsl_compile(t){let r,i;try{const n=an.__wbindgen_add_to_stack_pointer(-16),h=Lf(t,an.__wbindgen_malloc,an.__wbindgen_realloc),m=Z0;an.wgslcomposer_wgsl_compile(n,this.__wbg_ptr,h,m);var s=Bf()[n/4+0],u=Bf()[n/4+1];return r=s,i=u,Of(s,u)}finally{an.__wbindgen_add_to_stack_pointer(16),an.__wbindgen_free(r,i,1)}}}async function AL(e,t){if(typeof Response=="function"&&e instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(e,t)}catch(i){if(e.headers.get("Content-Type")!="application/wasm")console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",i);else throw i}const r=await e.arrayBuffer();return await WebAssembly.instantiate(r,t)}else{const r=await WebAssembly.instantiate(e,t);return r instanceof WebAssembly.Instance?{instance:r,module:e}:r}}function FL(){const e={};return e.wbg={},e.wbg.__wbindgen_string_new=function(t,r){const i=Of(t,r);return vL(i)},e.wbg.__wbindgen_object_drop_ref=function(t){xL(t)},e.wbg.__wbg_log_1d3ae0273d8f4f8a=function(t){console.log(Qh(t))},e.wbg.__wbg_log_576ca876af0d4a77=function(t,r){console.log(Qh(t),Qh(r))},e.wbg.__wbindgen_throw=function(t,r){throw new Error(Of(t,r))},e}function TL(e,t){return an=e.exports,D7.__wbindgen_wasm_module=t,iy=null,oy=null,an}async function D7(e){if(an!==void 0)return an;const t=FL();(typeof e=="string"||typeof Request=="function"&&e instanceof Request||typeof URL=="function"&&e instanceof URL)&&(e=fetch(e));const{instance:r,module:i}=await AL(await e,t);return TL(r,i)}var aa;(function(e){e[e.COPY_SRC=1]="COPY_SRC",e[e.COPY_DST=2]="COPY_DST",e[e.TEXTURE_BINDING=4]="TEXTURE_BINDING",e[e.STORAGE_BINDING=8]="STORAGE_BINDING",e[e.STORAGE=8]="STORAGE",e[e.RENDER_ATTACHMENT=16]="RENDER_ATTACHMENT"})(aa||(aa={}));var e6;(function(e){e[e.READ=1]="READ",e[e.WRITE=2]="WRITE"})(e6||(e6={}));function SL(e){var t=0;return e&as.SAMPLED&&(t|=aa.TEXTURE_BINDING|aa.COPY_DST|aa.COPY_SRC),e&as.STORAGE&&(t|=aa.TEXTURE_BINDING|aa.STORAGE_BINDING|aa.COPY_SRC|aa.COPY_DST),e&as.RENDER_TARGET&&(t|=aa.RENDER_ATTACHMENT|aa.TEXTURE_BINDING|aa.COPY_SRC|aa.COPY_DST),t}function G6(e){if(e===ke.U8_R_NORM)return"r8unorm";if(e===ke.S8_R_NORM)return"r8snorm";if(e===ke.U8_RG_NORM)return"rg8unorm";if(e===ke.S8_RG_NORM)return"rg8snorm";if(e===ke.U32_R)return"r32uint";if(e===ke.S32_R)return"r32sint";if(e===ke.F32_R)return"r32float";if(e===ke.U16_RG)return"rg16uint";if(e===ke.S16_RG)return"rg16sint";if(e===ke.F16_RG)return"rg16float";if(e===ke.U8_RGBA_RT)return"bgra8unorm";if(e===ke.U8_RGBA_RT_SRGB)return"bgra8unorm-srgb";if(e===ke.U8_RGBA_NORM)return"rgba8unorm";if(e===ke.U8_RGBA_SRGB)return"rgba8unorm-srgb";if(e===ke.S8_RGBA_NORM)return"rgba8snorm";if(e===ke.U32_RG)return"rg32uint";if(e===ke.S32_RG)return"rg32sint";if(e===ke.F32_RG)return"rg32float";if(e===ke.U16_RGBA)return"rgba16uint";if(e===ke.S16_RGBA)return"rgba16sint";if(e===ke.F16_RGBA)return"rgba16float";if(e===ke.F32_RGBA)return"rgba32float";if(e===ke.U32_RGBA)return"rgba32uint";if(e===ke.S32_RGBA)return"rgba32sint";if(e===ke.D24)return"depth24plus";if(e===ke.D24_S8)return"depth24plus-stencil8";if(e===ke.D32F)return"depth32float";if(e===ke.D32F_S8)return"depth32float-stencil8";if(e===ke.BC1)return"bc1-rgba-unorm";if(e===ke.BC1_SRGB)return"bc1-rgba-unorm-srgb";if(e===ke.BC2)return"bc2-rgba-unorm";if(e===ke.BC2_SRGB)return"bc2-rgba-unorm-srgb";if(e===ke.BC3)return"bc3-rgba-unorm";if(e===ke.BC3_SRGB)return"bc3-rgba-unorm-srgb";if(e===ke.BC4_SNORM)return"bc4-r-snorm";if(e===ke.BC4_UNORM)return"bc4-r-unorm";if(e===ke.BC5_SNORM)return"bc5-rg-snorm";if(e===ke.BC5_UNORM)return"bc5-rg-unorm";throw"whoops"}function wL(e){if(e===Uo.TEXTURE_2D)return"2d";if(e===Uo.TEXTURE_CUBE_MAP)return"2d";if(e===Uo.TEXTURE_2D_ARRAY)return"2d";if(e===Uo.TEXTURE_3D)return"3d";throw new Error("whoops")}function RL(e){if(e===Uo.TEXTURE_2D)return"2d";if(e===Uo.TEXTURE_CUBE_MAP)return"cube";if(e===Uo.TEXTURE_2D_ARRAY)return"2d-array";if(e===Uo.TEXTURE_3D)return"3d";throw new Error("whoops")}function CL(e){var t=0;return e&xi.INDEX&&(t|=GPUBufferUsage.INDEX),e&xi.VERTEX&&(t|=GPUBufferUsage.VERTEX),e&xi.UNIFORM&&(t|=GPUBufferUsage.UNIFORM),e&xi.STORAGE&&(t|=GPUBufferUsage.STORAGE),e&xi.COPY_SRC&&(t|=GPUBufferUsage.COPY_SRC),e&xi.INDIRECT&&(t|=GPUBufferUsage.INDIRECT),t|=GPUBufferUsage.COPY_DST,t}function o2(e){if(e===_s.CLAMP_TO_EDGE)return"clamp-to-edge";if(e===_s.REPEAT)return"repeat";if(e===_s.MIRRORED_REPEAT)return"mirror-repeat";throw new Error("whoops")}function mg(e){if(e===xn.BILINEAR)return"linear";if(e===xn.POINT)return"nearest";throw new Error("whoops")}function IL(e){if(e===sa.LINEAR)return"linear";if(e===sa.NEAREST)return"nearest";if(e===sa.NO_MIP)return"nearest";throw new Error("whoops")}function A0(e){var t=e;return t.gpuBuffer}function ML(e){var t=e;return t.gpuSampler}function NL(e){var t=e;return t.querySet}function DL(e){if(e===Cf.OcclusionConservative)return"occlusion";throw new Error("whoops")}function OL(e){switch(e){case Gn.TRIANGLES:return"triangle-list";case Gn.POINTS:return"point-list";case Gn.TRIANGLE_STRIP:return"triangle-strip";case Gn.LINES:return"line-list";case Gn.LINE_STRIP:return"line-strip";default:throw new Error("Unknown primitive topology mode")}}function LL(e){if(e===Vs.NONE)return"none";if(e===Vs.FRONT)return"front";if(e===Vs.BACK)return"back";throw new Error("whoops")}function BL(e){if(e===wy.CCW)return"ccw";if(e===wy.CW)return"cw";throw new Error("whoops")}function UL(e,t){return{topology:OL(e),cullMode:LL(t.cullMode),frontFace:BL(t.frontFace)}}function _g(e){if(e===Bo.ZERO)return"zero";if(e===Bo.ONE)return"one";if(e===Bo.SRC)return"src";if(e===Bo.ONE_MINUS_SRC)return"one-minus-src";if(e===Bo.DST)return"dst";if(e===Bo.ONE_MINUS_DST)return"one-minus-dst";if(e===Bo.SRC_ALPHA)return"src-alpha";if(e===Bo.ONE_MINUS_SRC_ALPHA)return"one-minus-src-alpha";if(e===Bo.DST_ALPHA)return"dst-alpha";if(e===Bo.ONE_MINUS_DST_ALPHA)return"one-minus-dst-alpha";if(e===Bo.CONST)return"constant";if(e===Bo.ONE_MINUS_CONSTANT)return"one-minus-constant";if(e===Bo.SRC_ALPHA_SATURATE)return"src-alpha-saturated";throw new Error("whoops")}function kL(e){if(e===va.ADD)return"add";if(e===va.SUBSTRACT)return"subtract";if(e===va.REVERSE_SUBSTRACT)return"reverse-subtract";if(e===va.MIN)return"min";if(e===va.MAX)return"max";throw new Error("whoops")}function gg(e){return{operation:kL(e.blendMode),srcFactor:_g(e.blendSrcFactor),dstFactor:_g(e.blendDstFactor)}}function vg(e){return e.blendMode===va.ADD&&e.blendSrcFactor===Bo.ONE&&e.blendDstFactor===Bo.ZERO}function zL(e){if(!(vg(e.rgbBlendState)&&vg(e.alphaBlendState)))return{color:gg(e.rgbBlendState),alpha:gg(e.alphaBlendState)}}function VL(e,t){return{format:G6(t),blend:zL(e),writeMask:e.channelWriteMask}}function HL(e,t){return t.attachmentsState.map(function(r,i){return VL(r,e[i])})}function ef(e){if(e===ai.NEVER)return"never";if(e===ai.LESS)return"less";if(e===ai.EQUAL)return"equal";if(e===ai.LEQUAL)return"less-equal";if(e===ai.GREATER)return"greater";if(e===ai.NOTEQUAL)return"not-equal";if(e===ai.GEQUAL)return"greater-equal";if(e===ai.ALWAYS)return"always";throw new Error("whoops")}function m0(e){if(e===un.KEEP)return"keep";if(e===un.REPLACE)return"replace";if(e===un.ZERO)return"zero";if(e===un.DECREMENT_CLAMP)return"decrement-clamp";if(e===un.DECREMENT_WRAP)return"decrement-wrap";if(e===un.INCREMENT_CLAMP)return"increment-clamp";if(e===un.INCREMENT_WRAP)return"increment-wrap";if(e===un.INVERT)return"invert";throw new Error("whoops")}function GL(e,t){if(!Xu(e))return{format:G6(e),depthWriteEnabled:!!t.depthWrite,depthCompare:ef(t.depthCompare),depthBias:t.polygonOffset?t.polygonOffsetUnits:0,depthBiasSlopeScale:t.polygonOffset?t.polygonOffsetFactor:0,stencilFront:{compare:ef(t.stencilFront.compare),passOp:m0(t.stencilFront.passOp),failOp:m0(t.stencilFront.failOp),depthFailOp:m0(t.stencilFront.depthFailOp)},stencilBack:{compare:ef(t.stencilBack.compare),passOp:m0(t.stencilBack.passOp),failOp:m0(t.stencilBack.failOp),depthFailOp:m0(t.stencilBack.depthFailOp)},stencilReadMask:4294967295,stencilWriteMask:4294967295}}function jL(e){if(e!==null){if(e===ke.U16_R)return"uint16";if(e===ke.U32_R)return"uint32";throw new Error("whoops")}}function WL(e){if(e===x1.VERTEX)return"vertex";if(e===x1.INSTANCE)return"instance";throw new Error("whoops")}function XL(e){if(e===ke.U8_R)return"uint8x2";if(e===ke.U8_RG)return"uint8x2";if(e===ke.U8_RGB)return"uint8x4";if(e===ke.U8_RGBA)return"uint8x4";if(e===ke.U8_RG_NORM)return"unorm8x2";if(e===ke.U8_RGBA_NORM)return"unorm8x4";if(e===ke.S8_RGB_NORM)return"snorm8x4";if(e===ke.S8_RGBA_NORM)return"snorm8x4";if(e===ke.U16_RG_NORM)return"unorm16x2";if(e===ke.U16_RGBA_NORM)return"unorm16x4";if(e===ke.S16_RG_NORM)return"snorm16x2";if(e===ke.S16_RGBA_NORM)return"snorm16x4";if(e===ke.S16_RG)return"uint16x2";if(e===ke.F16_RG)return"float16x2";if(e===ke.F16_RGBA)return"float16x4";if(e===ke.F32_R)return"float32";if(e===ke.F32_RG)return"float32x2";if(e===ke.F32_RGB)return"float32x3";if(e===ke.F32_RGBA)return"float32x4";throw"whoops"}function ZL(e){var t=qp(e);switch(t){case bt.BC1:case bt.BC2:case bt.BC3:case bt.BC4_SNORM:case bt.BC4_UNORM:case bt.BC5_SNORM:case bt.BC5_UNORM:return!0;default:return!1}}function YL(e){var t=qp(e);switch(t){case bt.BC1:case bt.BC2:case bt.BC3:case bt.BC4_SNORM:case bt.BC4_UNORM:case bt.BC5_SNORM:case bt.BC5_UNORM:return 4;default:return 1}}function Eg(e,t,r,i){switch(r===void 0&&(r=!1),e){case ke.S8_R:case ke.S8_R_NORM:case ke.S8_RG_NORM:case ke.S8_RGB_NORM:case ke.S8_RGBA_NORM:{var s=t instanceof ArrayBuffer?new Int8Array(t):new Int8Array(t);return i&&s.set(new Int8Array(i)),s}case ke.U8_R:case ke.U8_R_NORM:case ke.U8_RG:case ke.U8_RG_NORM:case ke.U8_RGB:case ke.U8_RGB_NORM:case ke.U8_RGB_SRGB:case ke.U8_RGBA:case ke.U8_RGBA_NORM:case ke.U8_RGBA_SRGB:{var u=t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t);return i&&u.set(new Uint8Array(i)),u}case ke.S16_R:case ke.S16_RG:case ke.S16_RG_NORM:case ke.S16_RGB_NORM:case ke.S16_RGBA:case ke.S16_RGBA_NORM:{var n=t instanceof ArrayBuffer?new Int16Array(t):new Int16Array(r?t/2:t);return i&&n.set(new Int16Array(i)),n}case ke.U16_R:case ke.U16_RGB:case ke.U16_RGBA_5551:case ke.U16_RGBA_NORM:case ke.U16_RG_NORM:case ke.U16_R_NORM:{var h=t instanceof ArrayBuffer?new Uint16Array(t):new Uint16Array(r?t/2:t);return i&&h.set(new Uint16Array(i)),h}case ke.S32_R:{var m=t instanceof ArrayBuffer?new Int32Array(t):new Int32Array(r?t/4:t);return i&&m.set(new Int32Array(i)),m}case ke.U32_R:case ke.U32_RG:{var g=t instanceof ArrayBuffer?new Uint32Array(t):new Uint32Array(r?t/4:t);return i&&g.set(new Uint32Array(i)),g}case ke.F32_R:case ke.F32_RG:case ke.F32_RGB:case ke.F32_RGBA:{var x=t instanceof ArrayBuffer?new Float32Array(t):new Float32Array(r?t/4:t);return i&&x.set(new Float32Array(i)),x}}var b=t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t);return i&&b.set(new Uint8Array(i)),b}function $L(e){var t=(e&32768)>>15,r=(e&31744)>>10,i=e&1023;return r===0?(t?-1:1)*Math.pow(2,-14)*(i/Math.pow(2,10)):r==31?i?NaN:(t?-1:1)*(1/0):(t?-1:1)*Math.pow(2,r-15)*(1+i/Math.pow(2,10))}function O7(e){switch(e){case"r8unorm":case"r8snorm":case"r8uint":case"r8sint":return{width:1,height:1,length:1};case"r16uint":case"r16sint":case"r16float":case"rg8unorm":case"rg8snorm":case"rg8uint":case"rg8sint":return{width:1,height:1,length:2};case"r32uint":case"r32sint":case"r32float":case"rg16uint":case"rg16sint":case"rg16float":case"rgba8unorm":case"rgba8unorm-srgb":case"rgba8snorm":case"rgba8uint":case"rgba8sint":case"bgra8unorm":case"bgra8unorm-srgb":case"rgb9e5ufloat":case"rgb10a2unorm":case"rg11b10ufloat":return{width:1,height:1,length:4};case"rg32uint":case"rg32sint":case"rg32float":case"rgba16uint":case"rgba16sint":case"rgba16float":return{width:1,height:1,length:8};case"rgba32uint":case"rgba32sint":case"rgba32float":return{width:1,height:1,length:16};case"stencil8":throw new Error("No fixed size for Stencil8 format!");case"depth16unorm":return{width:1,height:1,length:2};case"depth24plus":throw new Error("No fixed size for Depth24Plus format!");case"depth24plus-stencil8":throw new Error("No fixed size for Depth24PlusStencil8 format!");case"depth32float":return{width:1,height:1,length:4};case"depth32float-stencil8":return{width:1,height:1,length:5};case"bc7-rgba-unorm":case"bc7-rgba-unorm-srgb":case"bc6h-rgb-ufloat":case"bc6h-rgb-float":case"bc2-rgba-unorm":case"bc2-rgba-unorm-srgb":case"bc3-rgba-unorm":case"bc3-rgba-unorm-srgb":case"bc5-rg-unorm":case"bc5-rg-snorm":return{width:4,height:4,length:16};case"bc4-r-unorm":case"bc4-r-snorm":case"bc1-rgba-unorm":case"bc1-rgba-unorm-srgb":return{width:4,height:4,length:8};default:return{width:1,height:1,length:4}}}var vp=function(e){pn(t,e);function t(r){var i=r.id,s=r.device,u=e.call(this)||this;return u.id=i,u.device=s,u}return t.prototype.destroy=function(){},t}(E7),qL=function(e){pn(t,e);function t(r){var i=r.id,s=r.device,u=r.descriptor,n,h,m=e.call(this,{id:i,device:s})||this;m.type=Ko.Bindings;var g=u.pipeline;mo(!!g);var x=u.uniformBufferBindings,b=u.storageBufferBindings,F=u.samplerBindings,R=u.storageTextureBindings;m.numUniformBuffers=(x==null?void 0:x.length)||0;var I=[[],[],[],[]],B=0;if(x&&x.length)for(var V=0;Vb;)this.device.device.queue.writeBuffer(n,r+F,i.buffer,h+F,b),F+=b;this.device.device.queue.writeBuffer(n,r+F,i.buffer,h+F,u-F)},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.gpuBuffer.destroy()},t}(vp),xg=function(){function e(){this.gpuComputePassEncoder=null}return e.prototype.dispatchWorkgroups=function(t,r,i){this.gpuComputePassEncoder.dispatchWorkgroups(t,r,i)},e.prototype.dispatchWorkgroupsIndirect=function(t,r){this.gpuComputePassEncoder.dispatchWorkgroupsIndirect(t.gpuBuffer,r)},e.prototype.finish=function(){this.gpuComputePassEncoder.end(),this.gpuComputePassEncoder=null,this.frameCommandEncoder=null},e.prototype.beginComputePass=function(t){mo(this.gpuComputePassEncoder===null),this.frameCommandEncoder=t,this.gpuComputePassEncoder=this.frameCommandEncoder.beginComputePass(this.gpuComputePassDescriptor)},e.prototype.setPipeline=function(t){var r=t,i=c1(r.gpuComputePipeline);this.gpuComputePassEncoder.setPipeline(i)},e.prototype.setBindings=function(t){var r=this,i=t;i.gpuBindGroup.forEach(function(s,u){s&&r.gpuComputePassEncoder.setBindGroup(u,i.gpuBindGroup[u])})},e.prototype.pushDebugGroup=function(t){this.gpuComputePassEncoder.pushDebugGroup(t)},e.prototype.popDebugGroup=function(){this.gpuComputePassEncoder.popDebugGroup()},e.prototype.insertDebugMarker=function(t){this.gpuComputePassEncoder.insertDebugMarker(t)},e}(),QL=function(e){pn(t,e);function t(r){var i=r.id,s=r.device,u=r.descriptor,n=e.call(this,{id:i,device:s})||this;n.type=Ko.ComputePipeline,n.gpuComputePipeline=null,n.descriptor=u;var h=u.program,m=h.computeStage;if(m===null)return n;var g={layout:"auto",compute:Dn({},m)};return n.gpuComputePipeline=n.device.device.createComputePipeline(g),n.name!==void 0&&(n.gpuComputePipeline.label=n.name),n}return t.prototype.getBindGroupLayout=function(r){return this.gpuComputePipeline.getBindGroupLayout(r)},t}(vp),JL=function(e){pn(t,e);function t(r){var i,s,u,n,h=r.id,m=r.device,g=r.descriptor,x=e.call(this,{id:h,device:m})||this;x.type=Ko.InputLayout;var b=[];try{for(var F=y1(g.vertexBufferDescriptors),R=F.next();!R.done;R=F.next()){var I=R.value,B=I.arrayStride,V=I.stepMode,J=I.attributes;b.push({arrayStride:B,stepMode:WL(V),attributes:[]});try{for(var Q=(u=void 0,y1(J)),te=Q.next();!te.done;te=Q.next()){var ne=te.value,ue=ne.shaderLocation,Oe=ne.format,Ee=ne.offset;b[b.length-1].attributes.push({shaderLocation:ue,format:XL(Oe),offset:Ee})}}catch(He){u={error:He}}finally{try{te&&!te.done&&(n=Q.return)&&n.call(Q)}finally{if(u)throw u.error}}}}catch(He){i={error:He}}finally{try{R&&!R.done&&(s=F.return)&&s.call(F)}finally{if(i)throw i.error}}return x.indexFormat=jL(g.indexBufferFormat),x.buffers=b,x}return t}(vp),Pg=function(e){pn(t,e);function t(r){var i=r.id,s=r.device,u=r.descriptor,n=e.call(this,{id:i,device:s})||this;return n.type=Ko.Program,n.vertexStage=null,n.fragmentStage=null,n.computeStage=null,n.descriptor=u,u.vertex&&(n.vertexStage=n.createShaderStage(u.vertex,"vertex")),u.fragment&&(n.fragmentStage=n.createShaderStage(u.fragment,"fragment")),u.compute&&(n.computeStage=n.createShaderStage(u.compute,"compute")),n}return t.prototype.setUniformsLegacy=function(r){},t.prototype.createShaderStage=function(r,i){var s,u,n=r.glsl,h=r.wgsl,m=r.entryPoint,g=r.postprocess,x=!1,b=h;if(!b)try{b=this.device.glsl_compile(n,i,x)}catch(J){throw console.error(J,n),new Error("whoops")}var F=function(J){if(!b.includes(J))return"continue";b=b.replace("var T_".concat(J,": texture_2d;"),"var T_".concat(J,": texture_depth_2d;")),b=b.replace(new RegExp("textureSample\\(T_".concat(J,"(.*)\\);$"),"gm"),function(Q,te){return"vec4(textureSample(T_".concat(J).concat(te,"), 0.0, 0.0, 0.0);")})};try{for(var R=y1(["u_TextureFramebufferDepth"]),I=R.next();!I.done;I=R.next()){var B=I.value;F(B)}}catch(J){s={error:J}}finally{try{I&&!I.done&&(u=R.return)&&u.call(R)}finally{if(s)throw s.error}}g&&(b=g(b));var V=this.device.device.createShaderModule({code:b});return{module:V,entryPoint:m||"main"}},t}(vp),eB=function(e){pn(t,e);function t(r){var i=r.id,s=r.device,u=r.descriptor,n=e.call(this,{id:i,device:s})||this;n.type=Ko.QueryPool;var h=u.elemCount,m=u.type;return n.querySet=n.device.device.createQuerySet({type:DL(m),count:h}),n.resolveBuffer=n.device.device.createBuffer({size:h*8,usage:GPUBufferUsage.QUERY_RESOLVE|GPUBufferUsage.COPY_SRC}),n.cpuBuffer=n.device.device.createBuffer({size:h*8,usage:GPUBufferUsage.COPY_DST|GPUBufferUsage.MAP_READ}),n.results=null,n}return t.prototype.queryResultOcclusion=function(r){return this.results===null?null:this.results[r]!==BigInt(0)},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.querySet.destroy(),this.resolveBuffer.destroy(),this.cpuBuffer.destroy()},t}(vp),tB=function(e){pn(t,e);function t(r){var i=r.id,s=r.device,u=e.call(this,{id:i,device:s})||this;return u.type=Ko.Readback,u}return t.prototype.readTexture=function(r,i,s,u,n,h,m,g){return m===void 0&&(m=0),F0(this,void 0,void 0,function(){var x,b,F,R,I,B,V,J;return T0(this,function(Q){return x=r,b=0,F=O7(x.gpuTextureformat),R=Math.ceil(u/F.width)*F.length,I=Math.ceil(R/256)*256,B=I*n,V=this.device.createBuffer({usage:xi.STORAGE|xi.MAP_READ|xi.COPY_DST,hint:_p.STATIC,viewOrSize:B}),J=this.device.device.createCommandEncoder(),J.copyTextureToBuffer({texture:x.gpuTexture,mipLevel:0,origin:{x:i,y:s,z:Math.max(b,0)}},{buffer:V.gpuBuffer,offset:0,bytesPerRow:I},{width:u,height:n,depthOrArrayLayers:1}),this.device.device.queue.submit([J.finish()]),[2,this.readBuffer(V,0,h.byteLength===B?h:null,m,B,x.format,!0,!1,R,I,n)]})})},t.prototype.readTextureSync=function(r,i,s,u,n,h,m,g){throw new Error("ERROR_MSG_METHOD_NOT_IMPLEMENTED")},t.prototype.readBuffer=function(r,i,s,u,n,h,m,g,x,b,F){var R=this;i===void 0&&(i=0),s===void 0&&(s=null),n===void 0&&(n=0),h===void 0&&(h=ke.U8_RGB),m===void 0&&(m=!1),x===void 0&&(x=0),b===void 0&&(b=0),F===void 0&&(F=0);var I=r,B=n||I.size,V=s||I.view,J=V&&V.constructor&&V.constructor.BYTES_PER_ELEMENT||P7(h),Q=I;if(!(I.usage&xi.MAP_READ&&I.usage&xi.COPY_DST)){var te=this.device.device.createCommandEncoder();Q=this.device.createBuffer({usage:xi.STORAGE|xi.MAP_READ|xi.COPY_DST,hint:_p.STATIC,viewOrSize:B}),te.copyBufferToBuffer(I.gpuBuffer,i,Q.gpuBuffer,0,B),this.device.device.queue.submit([te.finish()])}return new Promise(function(ne,ue){Q.gpuBuffer.mapAsync(e6.READ,i,B).then(function(){var Oe=Q.gpuBuffer.getMappedRange(i,B),Ee=V;if(m)Ee===null?Ee=Eg(h,B,!0,Oe):Ee=Eg(h,Ee.buffer,void 0,Oe);else if(Ee===null)switch(J){case 1:Ee=new Uint8Array(B),Ee.set(new Uint8Array(Oe));break;case 2:Ee=R.getHalfFloatAsFloatRGBAArrayBuffer(B/2,Oe);break;case 4:Ee=new Float32Array(B/4),Ee.set(new Float32Array(Oe));break}else switch(J){case 1:Ee=new Uint8Array(Ee.buffer),Ee.set(new Uint8Array(Oe));break;case 2:Ee=R.getHalfFloatAsFloatRGBAArrayBuffer(B/2,Oe,V);break;case 4:var He=V&&V.constructor||Float32Array;Ee=new He(Ee.buffer),Ee.set(new He(Oe));break}if(x!==b){J===1&&!m&&(x*=2,b*=2);for(var ft=new Uint8Array(Ee.buffer),Ge=x,Ae=0,Be=1;Be1?F.resolveTarget=this.getTextureView(b,this.gfxColorResolveToLevel[g]):F.storeOp="store")}else{this.gpuColorAttachments.length=g,this.gfxColorAttachment.length=g,this.gfxColorResolveTo.length=g;break}}if(this.gfxDepthStencilAttachment=t.depthStencilAttachment,this.gfxDepthStencilResolveTo=t.depthStencilResolveTo,t.depthStencilAttachment){var I=t.depthStencilAttachment,F=this.gpuDepthStencilAttachment;F.view=I.gpuTextureView;var B=!!(G0(I.format)&cr.Depth);B?(t.depthClearValue==="load"?F.depthLoadOp="load":(F.depthLoadOp="clear",F.depthClearValue=t.depthClearValue),t.depthStencilStore||this.gfxDepthStencilResolveTo!==null?F.depthStoreOp="store":F.depthStoreOp="discard"):(F.depthLoadOp=void 0,F.depthStoreOp=void 0);var V=!!(G0(I.format)&cr.Stencil);V?(t.stencilClearValue==="load"?F.stencilLoadOp="load":(F.stencilLoadOp="clear",F.stencilClearValue=t.stencilClearValue),t.depthStencilStore||this.gfxDepthStencilResolveTo!==null?F.stencilStoreOp="store":F.stencilStoreOp="discard"):(F.stencilLoadOp=void 0,F.stencilStoreOp=void 0),this.gpuRenderPassDescriptor.depthStencilAttachment=this.gpuDepthStencilAttachment}else this.gpuRenderPassDescriptor.depthStencilAttachment=void 0;this.gpuRenderPassDescriptor.occlusionQuerySet=Xu(t.occlusionQueryPool)?void 0:NL(t.occlusionQueryPool)},e.prototype.beginRenderPass=function(t,r){mo(this.gpuRenderPassEncoder===null),this.setRenderPassDescriptor(r),this.frameCommandEncoder=t,this.gpuRenderPassEncoder=this.frameCommandEncoder.beginRenderPass(this.gpuRenderPassDescriptor)},e.prototype.flipY=function(t,r){var i=this.device.swapChainHeight;return i-t-r},e.prototype.setViewport=function(t,r,i,s,u,n){u===void 0&&(u=0),n===void 0&&(n=1),this.gpuRenderPassEncoder.setViewport(t,this.flipY(r,s),i,s,u,n)},e.prototype.setScissorRect=function(t,r,i,s){this.gpuRenderPassEncoder.setScissorRect(t,this.flipY(r,s),i,s)},e.prototype.setPipeline=function(t){var r=t,i=c1(r.gpuRenderPipeline);this.getEncoder().setPipeline(i)},e.prototype.setVertexInput=function(t,r,i){if(t!==null){var s=this.getEncoder(),u=t;i!==null&&s.setIndexBuffer(A0(i.buffer),c1(u.indexFormat),i.offset);for(var n=0;n1||this.copyAttachment(this.gfxDepthStencilResolveTo,0,this.gfxDepthStencilAttachment,0)),this.frameCommandEncoder=null},e.prototype.copyAttachment=function(t,r,i,s){mo(i.sampleCount===1);var u={texture:i.gpuTexture,mipLevel:s},n={texture:t.gpuTexture,mipLevel:r};mo(i.width>>>s===t.width>>>r),mo(i.height>>>s===t.height>>>r),mo(!!(i.usage&aa.COPY_SRC)),mo(!!(t.usage&aa.COPY_DST)),this.frameCommandEncoder.copyTextureToTexture(u,n,[t.width,t.height,1])},e}(),rB=function(e){pn(t,e);function t(r){var i=r.id,s=r.device,u=r.descriptor,n=e.call(this,{id:i,device:s})||this;return n.type=Ko.RenderPipeline,n.isCreatingAsync=!1,n.gpuRenderPipeline=null,n.descriptor=u,n.device.createRenderPipelineInternal(n,!1),n}return t.prototype.getBindGroupLayout=function(r){return this.gpuRenderPipeline.getBindGroupLayout(r)},t}(vp),oB=function(e){pn(t,e);function t(r){var i=r.id,s=r.device,u=r.descriptor,n,h,m=e.call(this,{id:i,device:s})||this;m.type=Ko.Sampler;var g=u.lodMinClamp,x=u.mipmapFilter===sa.NO_MIP?u.lodMinClamp:u.lodMaxClamp,b=(n=u.maxAnisotropy)!==null&&n!==void 0?n:1;return b>1&&mo(u.minFilter===xn.BILINEAR&&u.magFilter===xn.BILINEAR&&u.mipmapFilter===sa.LINEAR),m.gpuSampler=m.device.device.createSampler({addressModeU:o2(u.addressModeU),addressModeV:o2(u.addressModeV),addressModeW:o2((h=u.addressModeW)!==null&&h!==void 0?h:u.addressModeU),lodMinClamp:g,lodMaxClamp:x,minFilter:mg(u.minFilter),magFilter:mg(u.magFilter),mipmapFilter:IL(u.mipmapFilter),compare:u.compareFunction!==void 0?ef(u.compareFunction):void 0,maxAnisotropy:b}),m}return t}(vp),Uh=function(e){pn(t,e);function t(r){var i=r.id,s=r.device,u=r.descriptor,n=r.skipCreate,h=r.sampleCount,m=e.call(this,{id:i,device:s})||this;m.type=Ko.Texture,m.flipY=!1;var g=u.format,x=u.dimension,b=u.width,F=u.height,R=u.depthOrArrayLayers,I=u.mipLevelCount,B=u.usage,V=u.pixelStore;return m.flipY=!!(V!=null&&V.unpackFlipY),m.device.createTextureShared({format:g,dimension:x??Uo.TEXTURE_2D,width:b,height:F,depthOrArrayLayers:R??1,mipLevelCount:I??1,usage:B,sampleCount:h??1},m,n),m}return t.prototype.textureFromImageBitmapOrCanvas=function(r,i,s){for(var u=i[0].width,n=i[0].height,h={size:{width:u,height:n,depthOrArrayLayers:s},format:"rgba8unorm",usage:GPUTextureUsage.TEXTURE_BINDING|GPUTextureUsage.COPY_DST|GPUTextureUsage.RENDER_ATTACHMENT},m=r.createTexture(h),g=0;g>>2,uniformBufferWordAlignment:this.device.limits.minUniformBufferOffsetAlignment>>>2,supportedSampleCounts:[1],occlusionQueriesRecommended:!0,computeShadersSupported:!0}},e.prototype.queryTextureFormatSupported=function(t,r,i){if(ZL(t)){if(!this.featureTextureCompressionBC)return!1;var s=YL(t);return r%s!==0||i%s!==0?!1:this.featureTextureCompressionBC}switch(t){case ke.U16_RGBA_NORM:return!1;case ke.F32_RGBA:return!1}return!0},e.prototype.queryPlatformAvailable=function(){return!0},e.prototype.queryVendorInfo=function(){return this},e.prototype.queryRenderPass=function(t){var r=t;return r.descriptor},e.prototype.queryRenderTarget=function(t){var r=t;return r},e.prototype.setResourceName=function(t,r){if(t.name=r,t.type===Ko.Buffer){var i=t;i.gpuBuffer.label=r}else if(t.type===Ko.Texture){var i=t;i.gpuTexture.label=r,i.gpuTextureView.label=r}else if(t.type===Ko.RenderTarget){var i=t;i.gpuTexture.label=r,i.gpuTextureView.label=r}else if(t.type===Ko.Sampler){var i=t;i.gpuSampler.label=r}else if(t.type===Ko.RenderPipeline){var i=t;i.gpuRenderPipeline!==null&&(i.gpuRenderPipeline.label=r)}},e.prototype.setResourceLeakCheck=function(t,r){},e.prototype.checkForLeaks=function(){},e.prototype.programPatched=function(t){},e.prototype.pipelineQueryReady=function(t){var r=t;return r.gpuRenderPipeline!==null},e.prototype.pipelineForceReady=function(t){var r=t;this.createRenderPipelineInternal(r,!1)},e}(),aB=function(){function e(t){this.pluginOptions=t}return e.prototype.createSwapChain=function(t){return F0(this,void 0,void 0,function(){var r,i,s,u,n,h,m,g;return T0(this,function(x){switch(x.label){case 0:if(globalThis.navigator.gpu===void 0)return[2,null];r=null,x.label=1;case 1:return x.trys.push([1,3,,4]),i=this.pluginOptions.xrCompatible,[4,globalThis.navigator.gpu.requestAdapter({xrCompatible:i})];case 2:return r=x.sent(),[3,4];case 3:return s=x.sent(),console.log(s),[3,4];case 4:return r===null?[2,null]:(u=["depth32float-stencil8","texture-compression-bc","float32-filterable"],n=u.filter(function(b){return r.features.has(b)}),[4,r.requestDevice({requiredFeatures:n})]);case 5:if(h=x.sent(),h&&(m=this.pluginOptions.onContextLost,h.lost.then(function(){m&&m()})),h===null)return[2,null];if(g=t.getContext("webgpu"),!g)return[2,null];x.label=6;case 6:return x.trys.push([6,8,,9]),[4,D7(this.pluginOptions.shaderCompilerPath)];case 7:return x.sent(),[3,9];case 8:return x.sent(),[3,9];case 9:return[2,new nB(r,h,t,g,bL,Ry&&new Ry)]}})})},e}(),sB=class{constructor(e,t){const{buffer:r,offset:i,stride:s,normalized:u,size:n,divisor:h,shaderLocation:m}=t;this.buffer=r,this.attribute={shaderLocation:m,buffer:r.get(),offset:i||0,stride:s||0,normalized:u||!1,divisor:h||0},n&&(this.attribute.size=n)}get(){return this.buffer}updateBuffer(e){this.buffer.subData(e)}destroy(){this.buffer.destroy()}},Uf={[L.FLOAT]:Float32Array,[L.UNSIGNED_BYTE]:Uint8Array,[L.SHORT]:Int16Array,[L.UNSIGNED_SHORT]:Uint16Array,[L.INT]:Int32Array,[L.UNSIGNED_INT]:Uint32Array},uB={[L.POINTS]:Gn.POINTS,[L.LINES]:Gn.LINES,[L.LINE_LOOP]:Gn.LINES,[L.LINE_STRIP]:Gn.LINE_STRIP,[L.TRIANGLES]:Gn.TRIANGLES,[L.TRIANGLE_FAN]:Gn.TRIANGLES,[L.TRIANGLE_STRIP]:Gn.TRIANGLE_STRIP},pB={1:ke.F32_R,2:ke.F32_RG,3:ke.F32_RGB,4:ke.F32_RGBA},cB={[L.STATIC_DRAW]:_p.STATIC,[L.DYNAMIC_DRAW]:_p.DYNAMIC,[L.STREAM_DRAW]:_p.DYNAMIC},Ag={[L.REPEAT]:_s.REPEAT,[L.CLAMP_TO_EDGE]:_s.CLAMP_TO_EDGE,[L.MIRRORED_REPEAT]:_s.MIRRORED_REPEAT},lB={[L.NEVER]:ai.NEVER,[L.ALWAYS]:ai.ALWAYS,[L.LESS]:ai.LESS,[L.LEQUAL]:ai.LEQUAL,[L.GREATER]:ai.GREATER,[L.GEQUAL]:ai.GEQUAL,[L.EQUAL]:ai.EQUAL,[L.NOTEQUAL]:ai.NOTEQUAL},dB={[L.FRONT]:Vs.FRONT,[L.BACK]:Vs.BACK},Fg={[L.FUNC_ADD]:va.ADD,[L.MIN_EXT]:va.MIN,[L.MAX_EXT]:va.MAX,[L.FUNC_SUBTRACT]:va.SUBSTRACT,[L.FUNC_REVERSE_SUBTRACT]:va.REVERSE_SUBSTRACT},kh={[L.ZERO]:Bo.ZERO,[L.ONE]:Bo.ONE,[L.SRC_COLOR]:Bo.SRC,[L.ONE_MINUS_SRC_COLOR]:Bo.ONE_MINUS_SRC,[L.SRC_ALPHA]:Bo.SRC_ALPHA,[L.ONE_MINUS_SRC_ALPHA]:Bo.ONE_MINUS_SRC_ALPHA,[L.DST_COLOR]:Bo.DST,[L.ONE_MINUS_DST_COLOR]:Bo.ONE_MINUS_DST,[L.DST_ALPHA]:Bo.DST_ALPHA,[L.ONE_MINUS_DST_ALPHA]:Bo.ONE_MINUS_DST_ALPHA,[L.CONSTANT_COLOR]:Bo.CONST,[L.ONE_MINUS_CONSTANT_COLOR]:Bo.ONE_MINUS_CONSTANT,[L.CONSTANT_ALPHA]:Bo.CONST,[L.ONE_MINUS_CONSTANT_ALPHA]:Bo.ONE_MINUS_CONSTANT,[L.SRC_ALPHA_SATURATE]:Bo.SRC_ALPHA_SATURATE},_0={[L.REPLACE]:un.REPLACE,[L.KEEP]:un.KEEP,[L.ZERO]:un.ZERO,[L.INVERT]:un.INVERT,[L.INCR]:un.INCREMENT_CLAMP,[L.DECR]:un.DECREMENT_CLAMP,[L.INCR_WRAP]:un.INCREMENT_WRAP,[L.DECR_WRAP]:un.DECREMENT_WRAP},yB={[L.ALWAYS]:ai.ALWAYS,[L.EQUAL]:ai.EQUAL,[L.GEQUAL]:ai.GEQUAL,[L.GREATER]:ai.GREATER,[L.LEQUAL]:ai.LEQUAL,[L.LESS]:ai.LESS,[L.NEVER]:ai.NEVER,[L.NOTEQUAL]:ai.NOTEQUAL},hB={"[object Int8Array]":5120,"[object Int16Array]":5122,"[object Int32Array]":5124,"[object Uint8Array]":5121,"[object Uint8ClampedArray]":5121,"[object Uint16Array]":5123,"[object Uint32Array]":5125,"[object Float32Array]":5126,"[object Float64Array]":5121,"[object ArrayBuffer]":5121};function kf(e){return Object.prototype.toString.call(e)in hB}function fB(e,t){const r=e.length,i=Math.ceil(r/3),s=r+i,u=new Float32Array(s);for(let n=0;n>>6,e>>>0}function L7(e){return e+=e<<3,e^=e>>>11,e+=e<<15,e>>>0}function Tg(){return 0}var _B=class{constructor(){this.keys=[],this.values=[]}},zh=class{constructor(e,t){this.keyEqualFunc=e,this.keyHashFunc=t,this.buckets=new Map}findBucketIndex(e,t){for(let r=0;r=0;t--)yield e.values[t]}};function Sg(e,t){return e=pi(e,t.blendMode),e=pi(e,t.blendSrcFactor),e=pi(e,t.blendDstFactor),e}function gB(e,t){return e=Sg(e,t.rgbBlendState),e=Sg(e,t.alphaBlendState),e=pi(e,t.channelWriteMask),e}function vB(e,t){return e=pi(e,t.r<<24|t.g<<16|t.b<<8|t.a),e}function EB(e,t){var r,i,s,u,n,h,m,g;for(let x=0;xs&&s>0),r=this.device.createBindings(i),this.bindingsCache.add(i,r)}return r}createRenderPipeline(e){let t=this.renderPipelinesCache.get(e);if(t===null){const r=OO(e);r.colorAttachmentFormats=r.colorAttachmentFormats.filter(i=>i),t=this.device.createRenderPipeline(r),this.renderPipelinesCache.add(r,t)}return t}createInputLayout(e){e.vertexBufferDescriptors=e.vertexBufferDescriptors.filter(r=>!!r);let t=this.inputLayoutsCache.get(e);if(t===null){const r=UO(e);t=this.device.createInputLayout(r),this.inputLayoutsCache.add(r,t)}return t}createProgram(e){let t=this.programCache.get(e);if(t===null){const r=AB(e);t=this.device.createProgram(e),this.programCache.add(r,t)}return t}destroy(){for(const e of this.bindingsCache.values())e.destroy();for(const e of this.renderPipelinesCache.values())e.destroy();for(const e of this.inputLayoutsCache.values())e.destroy();for(const e of this.programCache.values())e.destroy();this.bindingsCache.clear(),this.renderPipelinesCache.clear(),this.inputLayoutsCache.clear(),this.programCache.clear()}},TB=class{constructor(e,t){const{data:r,type:i,count:s=0}=t;let u;kf(r)?u=r:u=new Uf[this.type||L.UNSIGNED_INT](r),this.type=i,this.count=s,this.indexBuffer=e.createBuffer({viewOrSize:u,usage:xi.INDEX})}get(){return this.indexBuffer}subData({data:e}){let t;kf(e)?t=e:t=new Uf[this.type||L.UNSIGNED_INT](e),this.indexBuffer.setSubData(0,new Uint8Array(t.buffer))}destroy(){this.indexBuffer.destroy()}};function wg(e){return!!(e&&e.texture)}var B7=class{constructor(e,t){this.device=e,this.options=t,this.isDestroy=!1;const{wrapS:r=L.CLAMP_TO_EDGE,wrapT:i=L.CLAMP_TO_EDGE,aniso:s,mag:u=L.NEAREST,min:n=L.NEAREST}=t;this.createTexture(t),this.sampler=e.createSampler({addressModeU:Ag[r],addressModeV:Ag[i],minFilter:n===L.NEAREST?xn.POINT:xn.BILINEAR,magFilter:u===L.NEAREST?xn.POINT:xn.BILINEAR,mipmapFilter:sa.NO_MIP,maxAnisotropy:s})}createTexture(e){const{type:t=L.UNSIGNED_BYTE,width:r,height:i,flipY:s=!1,format:u=L.RGBA,alignment:n=1,usage:h=f1.SAMPLED,unorm:m=!1,label:g}=e;let{data:x}=e;this.width=r,this.height=i;let b=ke.U8_RGBA_RT;if(t===L.UNSIGNED_BYTE&&u===L.RGBA)b=m?ke.U8_RGBA_NORM:ke.U8_RGBA_RT;else if(t===L.UNSIGNED_BYTE&&u===L.LUMINANCE)b=ke.U8_LUMINANCE;else if(t===L.FLOAT&&u===L.LUMINANCE)b=ke.F32_LUMINANCE;else if(t===L.FLOAT&&u===L.RGB)this.device.queryVendorInfo().platformString==="WebGPU"?(x&&(x=fB(x,0)),b=ke.F32_RGBA):b=ke.F32_RGB;else if(t===L.FLOAT&&u===L.RGBA)b=ke.F32_RGBA;else if(t===L.FLOAT&&u===L.RED)b=ke.F32_R;else throw new Error(`create texture error, type: ${t}, format: ${u}`);this.texture=this.device.createTexture({format:b,width:r,height:i,usage:h===f1.SAMPLED?as.SAMPLED:as.RENDER_TARGET,pixelStore:{unpackFlipY:s,packAlignment:n},mipLevelCount:1}),g&&this.device.setResourceName(this.texture,g),x&&this.texture.setImageData([x])}get(){return this.texture}update(e){const{data:t}=e;this.texture.setImageData([t])}bind(){}resize({width:e,height:t}){(this.width!==e||this.height!==t)&&this.destroy(),this.options.width=e,this.options.height=t,this.createTexture(this.options),this.isDestroy=!1}getSize(){return[this.width,this.height]}destroy(){var e;!this.isDestroy&&!this.texture.destroyed&&((e=this.texture)==null||e.destroy()),this.isDestroy=!0}},U7=class{constructor(e,t){this.device=e,this.options=t,this.createColorRenderTarget(),this.createDepthRenderTarget()}createColorRenderTarget(e=!1){const{width:t,height:r,color:i}=this.options;i&&(wg(i)?(e&&i.resize({width:t,height:r}),this.colorTexture=i.get(),this.colorRenderTarget=this.device.createRenderTargetFromTexture(this.colorTexture),this.width=i.width,this.height=i.height):t&&r&&(this.colorTexture=this.device.createTexture({format:ke.U8_RGBA_RT,usage:as.RENDER_TARGET,width:t,height:r}),this.colorRenderTarget=this.device.createRenderTargetFromTexture(this.colorTexture),this.width=t,this.height=r))}createDepthRenderTarget(e=!1){const{width:t,height:r,depth:i}=this.options;i&&(wg(i)?(e&&i.resize({width:t,height:r}),this.depthTexture=i.get(),this.depthRenderTarget=this.device.createRenderTargetFromTexture(this.depthTexture),this.width=i.width,this.height=i.height):t&&r&&(this.depthTexture=this.device.createTexture({format:ke.D24_S8,usage:as.RENDER_TARGET,width:t,height:r}),this.depthRenderTarget=this.device.createRenderTargetFromTexture(this.depthTexture),this.width=t,this.height=r))}get(){return this.colorRenderTarget}destroy(){var e,t;(e=this.colorRenderTarget)==null||e.destroy(),(t=this.depthRenderTarget)==null||t.destroy()}resize({width:e,height:t}){(this.width!==e||this.height!==t)&&(this.destroy(),this.colorTexture.destroyed=!0,this.depthTexture.destroyed=!0,this.options.width=e,this.options.height=t,this.createColorRenderTarget(!0),this.createDepthRenderTarget(!0))}},SB=Object.defineProperty,wB=Object.defineProperties,RB=Object.getOwnPropertyDescriptors,Rg=Object.getOwnPropertySymbols,CB=Object.prototype.hasOwnProperty,IB=Object.prototype.propertyIsEnumerable,Cg=(e,t,r)=>t in e?SB(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,u1=(e,t)=>{for(var r in t||(t={}))CB.call(t,r)&&Cg(e,r,t[r]);if(Rg)for(var r of Rg(t))IB.call(t,r)&&Cg(e,r,t[r]);return e},MB=(e,t)=>wB(e,RB(t)),{isPlainObject:NB,isTypedArray:DB,isNil:Ig}=Qn,OB=class{constructor(e,t,r){this.device=e,this.options=t,this.service=r,this.destroyed=!1,this.uniforms={},this.vertexBuffers=[];const{vs:i,fs:s,attributes:u,uniforms:n,count:h,elements:m,diagnosticDerivativeUniformityEnabled:g}=t;this.options=t;const x=g?"":this.service.viewportOrigin===mp.UPPER_LEFT?"diagnostic(off,derivative_uniformity);":"";this.program=r.renderCache.createProgram({vertex:{glsl:i},fragment:{glsl:s,postprocess:I=>x+I}}),n&&(this.uniforms=this.extractUniforms(n));const b=[];let F=0;Object.keys(u).forEach(I=>{const B=u[I],V=B.get();this.vertexBuffers.push(V.get());const{offset:J=0,stride:Q=0,size:te=1,divisor:ne=0,shaderLocation:ue=0}=B.attribute;b.push({arrayStride:Q||te*4,stepMode:x1.VERTEX,attributes:[{format:pB[te],shaderLocation:ue,offset:J,divisor:ne}]}),F=V.size/te}),h||(this.options.count=F),m&&(this.indexBuffer=m.get());const R=r.renderCache.createInputLayout({vertexBufferDescriptors:b,indexBufferFormat:m?ke.U32_R:null,program:this.program});this.inputLayout=R,this.pipeline=this.createPipeline(t)}createPipeline(e,t){var r;const{primitive:i=L.TRIANGLES,depth:s,cull:u,blend:n,stencil:h}=e,m=this.initDepthDrawParams({depth:s}),g=!!(m&&m.enable),x=this.initCullDrawParams({cull:u}),b=!!(x&&x.enable),F=this.getBlendDrawParams({blend:n}),R=!!(F&&F.enable),I=this.getStencilDrawParams({stencil:h}),B=!!(I&&I.enable),V=this.device.createRenderPipeline({inputLayout:this.inputLayout,program:this.program,topology:uB[i],colorAttachmentFormats:[ke.U8_RGBA_RT],depthStencilAttachmentFormat:ke.D24_S8,megaStateDescriptor:{attachmentsState:[t?{channelWriteMask:ga.ALL,rgbBlendState:{blendMode:va.ADD,blendSrcFactor:Bo.ONE,blendDstFactor:Bo.ZERO},alphaBlendState:{blendMode:va.ADD,blendSrcFactor:Bo.ONE,blendDstFactor:Bo.ZERO}}:{channelWriteMask:B&&I.opFront.zpass===un.REPLACE?ga.NONE:ga.ALL,rgbBlendState:{blendMode:R&&F.equation.rgb||va.ADD,blendSrcFactor:R&&F.func.srcRGB||Bo.SRC_ALPHA,blendDstFactor:R&&F.func.dstRGB||Bo.ONE_MINUS_SRC_ALPHA},alphaBlendState:{blendMode:R&&F.equation.alpha||va.ADD,blendSrcFactor:R&&F.func.srcAlpha||Bo.ONE,blendDstFactor:R&&F.func.dstAlpha||Bo.ONE}}],blendConstant:R?Kf:void 0,depthWrite:g,depthCompare:g&&m.func||ai.LESS,cullMode:b&&x.face||Vs.NONE,stencilWrite:B,stencilFront:{compare:B?I.func.cmp:ai.ALWAYS,passOp:I.opFront.zpass,failOp:I.opFront.fail,depthFailOp:I.opFront.zfail,mask:I.opFront.mask},stencilBack:{compare:B?I.func.cmp:ai.ALWAYS,passOp:I.opBack.zpass,failOp:I.opBack.fail,depthFailOp:I.opBack.zfail,mask:I.opBack.mask}}});return B&&!Ig((r=h==null?void 0:h.func)==null?void 0:r.ref)&&(V.stencilFuncReference=h.func.ref),V}updateAttributesAndElements(){}updateAttributes(){}addUniforms(e){this.uniforms=u1(u1({},this.uniforms),this.extractUniforms(e))}draw(e,t){const r=u1(u1({},this.options),e),{count:i=0,instances:s,elements:u,uniforms:n={},uniformBuffers:h,textures:m}=r;this.uniforms=u1(u1({},this.uniforms),this.extractUniforms(n));const{renderPass:g,currentFramebuffer:x,width:b,height:F}=this.service;this.pipeline=this.createPipeline(r,t);const R=this.service.device,I=R.swapChainHeight;if(R.swapChainHeight=(x==null?void 0:x.height)||F,g.setViewport(0,0,(x==null?void 0:x.width)||b,(x==null?void 0:x.height)||F),R.swapChainHeight=I,g.setPipeline(this.pipeline),Ig(this.pipeline.stencilFuncReference)||g.setStencilReference(this.pipeline.stencilFuncReference),g.setVertexInput(this.inputLayout,this.vertexBuffers.map(B=>({buffer:B})),u?{buffer:this.indexBuffer,offset:0}:null),h&&(this.bindings=R.createBindings({pipeline:this.pipeline,uniformBufferBindings:h.map((B,V)=>{const J=B;return{binding:V,buffer:J.get(),size:J.size}}),samplerBindings:m==null?void 0:m.map(B=>({texture:B.texture,sampler:B.sampler}))})),this.bindings&&(g.setBindings(this.bindings),Object.keys(this.uniforms).forEach(B=>{const V=this.uniforms[B];V instanceof B7?this.uniforms[B]=V.get():V instanceof U7&&(this.uniforms[B]=V.get().texture)}),this.program.setUniformsLegacy(this.uniforms)),u){const B=u.count;B===0?g.draw(i,s):g.drawIndexed(B,s)}else g.draw(i,s)}destroy(){var e,t,r;(e=this.vertexBuffers)==null||e.forEach(i=>i.destroy()),(t=this.indexBuffer)==null||t.destroy(),(r=this.bindings)==null||r.destroy(),this.pipeline.destroy(),this.destroyed=!0}initDepthDrawParams({depth:e}){if(e)return{enable:e.enable===void 0?!0:!!e.enable,mask:e.mask===void 0?!0:!!e.mask,func:lB[e.func||L.LESS],range:e.range||[0,1]}}getBlendDrawParams({blend:e}){const{enable:t,func:r,equation:i,color:s=[0,0,0,0]}=e||{};return{enable:!!t,func:{srcRGB:kh[r&&r.srcRGB||L.SRC_ALPHA],srcAlpha:kh[r&&r.srcAlpha||L.SRC_ALPHA],dstRGB:kh[r&&r.dstRGB||L.ONE_MINUS_SRC_ALPHA],dstAlpha:kh[r&&r.dstAlpha||L.ONE_MINUS_SRC_ALPHA]},equation:{rgb:Fg[i&&i.rgb||L.FUNC_ADD],alpha:Fg[i&&i.alpha||L.FUNC_ADD]},color:s}}getStencilDrawParams({stencil:e}){const{enable:t,mask:r=4294967295,func:i={cmp:L.ALWAYS,ref:0,mask:4294967295},opFront:s={fail:L.KEEP,zfail:L.KEEP,zpass:L.KEEP},opBack:u={fail:L.KEEP,zfail:L.KEEP,zpass:L.KEEP}}=e||{};return{enable:!!t,mask:r,func:MB(u1({},i),{cmp:yB[i.cmp]}),opFront:{fail:_0[s.fail],zfail:_0[s.zfail],zpass:_0[s.zpass],mask:i.mask},opBack:{fail:_0[u.fail],zfail:_0[u.zfail],zpass:_0[u.zpass],mask:i.mask}}}initCullDrawParams({cull:e}){if(e){const{enable:t,face:r=L.BACK}=e;return{enable:!!t,face:dB[r]}}}extractUniforms(e){const t={};return Object.keys(e).forEach(r=>{this.extractUniformsRecursively(r,e[r],t,"")}),t}extractUniformsRecursively(e,t,r,i){if(t===null||typeof t=="number"||typeof t=="boolean"||Array.isArray(t)&&typeof t[0]=="number"||DB(t)||t===""||"resize"in t){r[`${i&&i+"."}${e}`]=t;return}NB(t)&&Object.keys(t).forEach(s=>{this.extractUniformsRecursively(s,t[s],r,`${i&&i+"."}${e}`)}),Array.isArray(t)&&t.forEach((s,u)=>{Object.keys(s).forEach(n=>{this.extractUniformsRecursively(n,s[n],r,`${i&&i+"."}${e}[${u}]`)})})}};function LB(e){return typeof WebGL2RenderingContext<"u"&&e instanceof WebGL2RenderingContext?!0:!!(e&&e._version===2)}var i2=(e,t,r)=>new Promise((i,s)=>{var u=m=>{try{h(r.next(m))}catch(g){s(g)}},n=m=>{try{h(r.throw(m))}catch(g){s(g)}},h=m=>m.done?i(m.value):Promise.resolve(m.value).then(u,n);h((r=r.apply(e,t)).next())}),{isUndefined:Vh}=Qn,BB=class{constructor(){this.uniformBuffers=[],this.queryVerdorInfo=()=>this.device.queryVendorInfo().platformString,this.createModel=e=>new OB(this.device,e,this),this.createAttribute=e=>new sB(this.device,e),this.createBuffer=e=>new mB(this.device,e),this.createElements=e=>new TB(this.device,e),this.createTexture2D=e=>new B7(this.device,e),this.createFramebuffer=e=>new U7(this.device,e),this.useFramebuffer=(e,t)=>{this.currentFramebuffer=e,this.beginFrame(),t(),this.endFrame(),this.currentFramebuffer=null},this.useFramebufferAsync=(e,t)=>i2(this,null,function*(){this.currentFramebuffer=e,this.preRenderPass=this.renderPass,this.beginFrame(),yield t(),this.endFrame(),this.currentFramebuffer=null,this.renderPass=this.preRenderPass}),this.clear=e=>{const{color:t,depth:r,stencil:i,framebuffer:s=null}=e;if(s)s.clearOptions={color:t,depth:r,stencil:i};else{const u=this.queryVerdorInfo();if(u==="WebGL1"){const n=this.getGLContext();Vh(i)?Vh(r)||(n.clearDepth(r),n.clear(n.DEPTH_BUFFER_BIT)):(n.clearStencil(i),n.clear(n.STENCIL_BUFFER_BIT))}else if(u==="WebGL2"){const n=this.getGLContext();Vh(i)?Vh(r)||n.clearBufferfv(n.DEPTH,0,[r]):n.clearBufferiv(n.STENCIL,0,[i])}}},this.viewport=({width:e,height:t})=>{this.swapChain.configureSwapChain(e,t),this.createMainColorDepthRT(e,t),this.width=e,this.height=t},this.readPixels=e=>{const{framebuffer:t,x:r,y:i,width:s,height:u}=e,n=this.device.createReadback(),h=t.colorTexture,m=n.readTextureSync(h,r,this.viewportOrigin===mp.LOWER_LEFT?i:this.height-i,s,u,new Uint8Array(s*u*4));if(this.viewportOrigin!==mp.LOWER_LEFT)for(let g=0;gi2(this,null,function*(){const{framebuffer:t,x:r,y:i,width:s,height:u}=e,n=this.device.createReadback(),h=t.colorTexture,m=yield n.readTexture(h,r,this.viewportOrigin===mp.LOWER_LEFT?i:this.height-i,s,u,new Uint8Array(s*u*4));if(this.viewportOrigin!==mp.LOWER_LEFT)for(let g=0;g({width:this.width,height:this.height}),this.getContainer=()=>{var e;return(e=this.canvas)==null?void 0:e.parentElement},this.getCanvas=()=>this.canvas,this.getGLContext=()=>this.device.gl,this.destroy=()=>{var e;this.canvas=null,(e=this.uniformBuffers)==null||e.forEach(t=>{t.destroy()}),this.device.destroy(),this.renderCache.destroy()}}init(e,t){return i2(this,null,function*(){const{enableWebGPU:r,shaderCompilerPath:i,antialias:s}=t;this.canvas=e;const n=yield(r?new aB({shaderCompilerPath:i}):new gL({targets:["webgl2","webgl1"],antialias:s,onContextLost(m){console.warn("context lost",m)},onContextCreationError(m){console.warn("context creation error",m)},onContextRestored(m){console.warn("context restored",m)}})).createSwapChain(e);n.configureSwapChain(e.width,e.height),this.device=n.getDevice(),this.swapChain=n,this.renderCache=new FB(this.device),this.currentFramebuffer=null,this.viewportOrigin=this.device.queryVendorInfo().viewportOrigin;const h=this.device.gl;this.extensionObject={OES_texture_float:!LB(h)&&this.device.OES_texture_float},this.createMainColorDepthRT(e.width,e.height)})}createMainColorDepthRT(e,t){this.mainColorRT&&this.mainColorRT.destroy(),this.mainDepthRT&&this.mainDepthRT.destroy(),this.mainColorRT=this.device.createRenderTargetFromTexture(this.device.createTexture({format:ke.U8_RGBA_RT,width:e,height:t,usage:as.RENDER_TARGET})),this.mainDepthRT=this.device.createRenderTargetFromTexture(this.device.createTexture({format:ke.D24_S8,width:e,height:t,usage:as.RENDER_TARGET}))}beginFrame(){this.device.beginFrame();const{currentFramebuffer:e,swapChain:t,mainColorRT:r,mainDepthRT:i}=this,s=e?e.colorRenderTarget:r,u=e?null:t.getOnscreenTexture(),n=e?e.depthRenderTarget:i,{color:h=[0,0,0,0],depth:m=1,stencil:g=0}=(e==null?void 0:e.clearOptions)||{},x=s?Uy(h[0]*255,h[1]*255,h[2]*255,h[3]):Kf,b=n?m:void 0,F=n?g:void 0,R=this.device.createRenderPass({colorAttachment:[s],colorResolveTo:[u],colorClearColor:[x],colorStore:[!0],depthStencilAttachment:n,depthClearValue:b,stencilClearValue:F});this.renderPass=R}endFrame(){this.device.submitPass(this.renderPass),this.device.endFrame()}getPointSizeRange(){const e=this.device.gl;return e.getParameter(e.ALIASED_POINT_SIZE_RANGE)}testExtension(e){return!!this.getGLContext().getExtension(e)}setState(){}setBaseState(){}setCustomLayerDefaults(){}setDirty(e){this.isDirty=e}getDirty(){return this.isDirty}},k7={exports:{}};(function(e,t){(function(r,i){e.exports=i()})(t6,function(){var r=function(N){return N instanceof Uint8Array||N instanceof Uint16Array||N instanceof Uint32Array||N instanceof Int8Array||N instanceof Int16Array||N instanceof Int32Array||N instanceof Float32Array||N instanceof Float64Array||N instanceof Uint8ClampedArray},i=function(N,ie){for(var xe=Object.keys(ie),et=0;et"u";case"symbol":return typeof N=="symbol"}}function F(N,ie,xe){b(N,ie)||n("invalid parameter type"+m(xe)+". expected "+ie+", got "+typeof N)}function R(N,ie){N>=0&&(N|0)===N||n("invalid parameter type, ("+N+")"+m(ie)+". must be a nonnegative integer")}function I(N,ie,xe){ie.indexOf(N)<0&&n("invalid value"+m(xe)+". must be one of: "+ie)}var B=["gl","canvas","container","attributes","pixelRatio","extensions","optionalExtensions","profile","onDone"];function V(N){Object.keys(N).forEach(function(ie){B.indexOf(ie)<0&&n('invalid regl constructor argument "'+ie+'". must be one of '+B)})}function J(N,ie){for(N=N+"";N.length0&&ie.push(new ne("unknown",0,xe))}}),ie}function ft(N,ie){ie.forEach(function(xe){var et=N[xe.file];if(et){var gt=et.index[xe.line];if(gt){gt.errors.push(xe),et.hasErrors=!0;return}}N.unknown.hasErrors=!0,N.unknown.lines[0].errors.push(xe)})}function Ge(N,ie,xe,et,gt){if(!N.getShaderParameter(ie,N.COMPILE_STATUS)){var tt=N.getShaderInfoLog(ie),Ye=et===N.FRAGMENT_SHADER?"fragment":"vertex";Fr(xe,"string",Ye+" shader source must be a string",gt);var Ot=Ee(xe,gt),Rt=He(tt);ft(Ot,Rt),Object.keys(Ot).forEach(function(Xt){var Ut=Ot[Xt];if(!Ut.hasErrors)return;var Gt=[""],$t=[""];function Ct(jt,je){Gt.push(jt),$t.push(je||"")}Ct("file number "+Xt+": "+Ut.name+` +`,"color:red;text-decoration:underline;font-weight:bold"),Ut.lines.forEach(function(jt){if(jt.errors.length>0){Ct(J(jt.number,4)+"| ","background-color:yellow; font-weight:bold"),Ct(jt.line+s,"color:red; background-color:yellow; font-weight:bold");var je=0;jt.errors.forEach(function(pt){var Lt=pt.message,tr=/^\s*'(.*)'\s*:\s*(.*)$/.exec(Lt);if(tr){var At=tr[1];switch(Lt=tr[2],At){case"assign":At="=";break}je=Math.max(jt.line.indexOf(At,je),0)}else je=0;Ct(J("| ",6)),Ct(J("^^^",je+3)+s,"font-weight:bold"),Ct(J("| ",6)),Ct(Lt+s,"font-weight:bold")}),Ct(J("| ",6)+s)}else Ct(J(jt.number,4)+"| "),Ct(jt.line+s,"color:red")}),typeof document<"u"&&!window.chrome?($t[0]=Gt.join("%c"),console.log.apply(console,$t)):console.log(Gt.join(""))}),h.raise("Error compiling "+Ye+" shader, "+Ot[0].name)}}function Ae(N,ie,xe,et,gt){if(!N.getProgramParameter(ie,N.LINK_STATUS)){var tt=N.getProgramInfoLog(ie),Ye=Ee(xe,gt),Ot=Ee(et,gt),Rt='Error linking program with vertex shader, "'+Ot[0].name+'", and fragment shader "'+Ye[0].name+'"';typeof document<"u"?console.log("%c"+Rt+s+"%c"+tt,"color:red;text-decoration:underline;font-weight:bold","color:red"):console.log(Rt+s+tt),h.raise(Rt)}}function Be(N){N._commandRef=ue()}function ze(N,ie,xe,et){Be(N);function gt(Rt){return Rt?et.id(Rt):0}N._fragId=gt(N.static.frag),N._vertId=gt(N.static.vert);function tt(Rt,Xt){Object.keys(Xt).forEach(function(Ut){Rt[et.id(Ut)]=!0})}var Ye=N._uniformSet={};tt(Ye,ie.static),tt(Ye,ie.dynamic);var Ot=N._attributeSet={};tt(Ot,xe.static),tt(Ot,xe.dynamic),N._hasCount="count"in N.static||"count"in N.dynamic||"elements"in N.static||"elements"in N.dynamic}function st(N,ie){var xe=Oe();n(N+" in command "+(ie||ue())+(xe==="unknown"?"":" called from "+xe))}function Vt(N,ie,xe){N||st(ie,xe||ue())}function ir(N,ie,xe,et){N in ie||st("unknown parameter ("+N+")"+m(xe)+". possible values: "+Object.keys(ie).join(),et||ue())}function Fr(N,ie,xe,et){b(N,ie)||st("invalid parameter type"+m(xe)+". expected "+ie+", got "+typeof N,et||ue())}function Yr(N){N()}function mr(N,ie,xe){N.texture?I(N.texture._texture.internalformat,ie,"unsupported texture format for attachment"):I(N.renderbuffer._renderbuffer.format,xe,"unsupported renderbuffer format for attachment")}var Er=33071,qr=9728,Jr=9984,_o=9985,So=9986,oo=9987,Wi=5120,bo=5121,Ni=5122,$e=5123,Yt=5124,Sr=5125,Ft=5126,xr=32819,io=32820,go=33635,to=34042,Kr=36193,Ao={};Ao[Wi]=Ao[bo]=1,Ao[Ni]=Ao[$e]=Ao[Kr]=Ao[go]=Ao[xr]=Ao[io]=2,Ao[Yt]=Ao[Sr]=Ao[Ft]=Ao[to]=4;function $i(N,ie){return N===io||N===xr||N===go?2:N===to?4:Ao[N]*ie}function Qo(N){return!(N&N-1)&&!!N}function ti(N,ie,xe){var et,gt=ie.width,tt=ie.height,Ye=ie.channels;h(gt>0&><=xe.maxTextureSize&&tt>0&&tt<=xe.maxTextureSize,"invalid texture shape"),(N.wrapS!==Er||N.wrapT!==Er)&&h(Qo(gt)&&Qo(tt),"incompatible wrap mode for texture, both width and height must be power of 2"),ie.mipmask===1?gt!==1&&tt!==1&&h(N.minFilter!==Jr&&N.minFilter!==So&&N.minFilter!==_o&&N.minFilter!==oo,"min filter requires mipmap"):(h(Qo(gt)&&Qo(tt),"texture must be a square power of 2 to support mipmapping"),h(ie.mipmask===(gt<<1)-1,"missing or incomplete mipmap data")),ie.type===Ft&&(xe.extensions.indexOf("oes_texture_float_linear")<0&&h(N.minFilter===qr&&N.magFilter===qr,"filter not supported, must enable oes_texture_float_linear"),h(!N.genMipmaps,"mipmap generation not supported with float textures"));var Ot=ie.images;for(et=0;et<16;++et)if(Ot[et]){var Rt=gt>>et,Xt=tt>>et;h(ie.mipmask&1<0&><=et.maxTextureSize&&tt>0&&tt<=et.maxTextureSize,"invalid texture shape"),h(gt===tt,"cube map must be square"),h(ie.wrapS===Er&&ie.wrapT===Er,"wrap mode not supported by cube map");for(var Ot=0;Ot>Ut,Ct=tt>>Ut;h(Rt.mipmask&1<1&&ie===xe&&(ie==='"'||ie==="'"))return['"'+ss(N.substr(1,N.length-2))+'"'];var et=/\[(false|true|null|\d+|'[^']*'|"[^"]*")\]/.exec(N);if(et)return si(N.substr(0,et.index)).concat(si(et[1])).concat(si(N.substr(et.index+et[0].length)));var gt=N.split(".");if(gt.length===1)return['"'+ss(N)+'"'];for(var tt=[],Ye=0;Ye"u"?1:window.devicePixelRatio,Ut=!1,Gt=function(jt){jt&&se.raise(jt)},$t=function(){};if(typeof ie=="string"?(se(typeof document<"u","selector queries only supported in DOM enviroments"),xe=document.querySelector(ie),se(xe,"invalid query string for element")):typeof ie=="object"?Ep(ie)?xe=ie:Ws(ie)?(tt=ie,gt=tt.canvas):(se.constructor(ie),"gl"in ie?tt=ie.gl:"canvas"in ie?gt=Na(ie.canvas):"container"in ie&&(et=Na(ie.container)),"attributes"in ie&&(Ye=ie.attributes,se.type(Ye,"object","invalid context attributes")),"extensions"in ie&&(Ot=Ma(ie.extensions)),"optionalExtensions"in ie&&(Rt=Ma(ie.optionalExtensions)),"onDone"in ie&&(se.type(ie.onDone,"function","invalid or missing onDone callback"),Gt=ie.onDone),"profile"in ie&&(Ut=!!ie.profile),"pixelRatio"in ie&&(Xt=+ie.pixelRatio,se(Xt>0,"invalid pixel ratio"))):se.raise("invalid arguments to regl"),xe&&(xe.nodeName.toLowerCase()==="canvas"?gt=xe:et=xe),!tt){if(!gt){se(typeof document<"u","must manually specify webgl context outside of DOM environments");var Ct=Yu(et||document.body,Gt,Xt);if(!Ct)return null;gt=Ct.canvas,$t=Ct.onDestroy}Ye.premultipliedAlpha===void 0&&(Ye.premultipliedAlpha=!0),tt=js(gt,Ye)}return tt?{gl:tt,canvas:gt,container:et,extensions:Ot,optionalExtensions:Rt,pixelRatio:Xt,profile:Ut,onDone:Gt,onDestroy:$t}:($t(),Gt("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function $u(N,ie){var xe={};function et(Ye){se.type(Ye,"string","extension name must be string");var Ot=Ye.toLowerCase(),Rt;try{Rt=xe[Ot]=N.getExtension(Ot)}catch{}return!!Rt}for(var gt=0;gt65535)<<4,N>>>=ie,xe=(N>255)<<3,N>>>=xe,ie|=xe,xe=(N>15)<<2,N>>>=xe,ie|=xe,xe=(N>3)<<1,N>>>=xe,ie|=xe,ie|N>>1}function We(){var N=Go(8,function(){return[]});function ie(tt){var Ye=q(tt),Ot=N[ge(Ye)>>2];return Ot.length>0?Ot.pop():new ArrayBuffer(Ye)}function xe(tt){N[ge(tt.byteLength)>>2].push(tt)}function et(tt,Ye){var Ot=null;switch(tt){case k:Ot=new Int8Array(ie(Ye),0,Ye);break;case G:Ot=new Uint8Array(ie(Ye),0,Ye);break;case W:Ot=new Int16Array(ie(2*Ye),0,Ye);break;case oe:Ot=new Uint16Array(ie(2*Ye),0,Ye);break;case ye:Ot=new Int32Array(ie(4*Ye),0,Ye);break;case Ie:Ot=new Uint32Array(ie(4*Ye),0,Ye);break;case Le:Ot=new Float32Array(ie(4*Ye),0,Ye);break;default:return null}return Ot.length!==Ye?Ot.subarray(0,Ye):Ot}function gt(tt){xe(tt.buffer)}return{alloc:ie,free:xe,allocType:et,freeType:gt}}var ht=We();ht.zero=We();var Nt=3408,ct=3410,wt=3411,_r=3412,yr=3413,dt=3414,or=3415,Wt=33901,Zt=33902,no=3379,er=3386,Fo=34921,Jo=36347,vo=36348,Mo=35661,ao=35660,Vi=34930,wo=36349,ei=34076,ko=34024,so=7936,Eo=7937,Ln=7938,hu=35724,Di=34047,gi=36063,fu=34852,Wa=3553,hi=34067,Xs=34069,cn=33984,fi=6408,Hi=5126,ui=5121,Jn=36160,jn=36053,Kp=36064,Pa=16384,Rl=function(N,ie){var xe=1;ie.ext_texture_filter_anisotropic&&(xe=N.getParameter(Di));var et=1,gt=1;ie.webgl_draw_buffers&&(et=N.getParameter(fu),gt=N.getParameter(gi));var tt=!!ie.oes_texture_float;if(tt){var Ye=N.createTexture();N.bindTexture(Wa,Ye),N.texImage2D(Wa,0,fi,1,1,0,fi,Hi,null);var Ot=N.createFramebuffer();if(N.bindFramebuffer(Jn,Ot),N.framebufferTexture2D(Jn,Kp,Wa,Ye,0),N.bindTexture(Wa,null),N.checkFramebufferStatus(Jn)!==jn)tt=!1;else{N.viewport(0,0,1,1),N.clearColor(1,0,0,1),N.clear(Pa);var Rt=ht.allocType(Hi,4);N.readPixels(0,0,1,1,fi,Hi,Rt),N.getError()?tt=!1:(N.deleteFramebuffer(Ot),N.deleteTexture(Ye),tt=Rt[0]===1),ht.freeType(Rt)}}var Xt=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion)||/Edge/.test(navigator.userAgent)),Ut=!0;if(!Xt){var Gt=N.createTexture(),$t=ht.allocType(ui,36);N.activeTexture(cn),N.bindTexture(hi,Gt),N.texImage2D(Xs,0,fi,3,3,0,fi,ui,$t),ht.freeType($t),N.bindTexture(hi,null),N.deleteTexture(Gt),Ut=!N.getError()}return{colorBits:[N.getParameter(ct),N.getParameter(wt),N.getParameter(_r),N.getParameter(yr)],depthBits:N.getParameter(dt),stencilBits:N.getParameter(or),subpixelBits:N.getParameter(Nt),extensions:Object.keys(ie).filter(function(Ct){return!!ie[Ct]}),maxAnisotropic:xe,maxDrawbuffers:et,maxColorAttachments:gt,pointSizeDims:N.getParameter(Wt),lineWidthDims:N.getParameter(Zt),maxViewportDims:N.getParameter(er),maxCombinedTextureUnits:N.getParameter(Mo),maxCubeMapSize:N.getParameter(ei),maxRenderbufferSize:N.getParameter(ko),maxTextureUnits:N.getParameter(Vi),maxTextureSize:N.getParameter(no),maxAttributes:N.getParameter(Fo),maxVertexUniforms:N.getParameter(Jo),maxVertexTextureUnits:N.getParameter(ao),maxVaryingVectors:N.getParameter(vo),maxFragmentUniforms:N.getParameter(wo),glsl:N.getParameter(hu),renderer:N.getParameter(Eo),vendor:N.getParameter(so),version:N.getParameter(Ln),readFloat:tt,npotTextureCube:Ut}};function X(N){return!!N&&typeof N=="object"&&Array.isArray(N.shape)&&Array.isArray(N.stride)&&typeof N.offset=="number"&&N.shape.length===N.stride.length&&(Array.isArray(N.data)||r(N.data))}var re=function(N){return Object.keys(N).map(function(ie){return N[ie]})},we={shape:Sn,flatten:Xi};function rt(N,ie,xe){for(var et=0;et0){var rr;if(Array.isArray(pt[0])){Mt=Zs(pt);for(var Tt=1,Qt=1;Qt0)if(typeof Tt[0]=="number"){var Jt=ht.allocType(At.dtype,Tt.length);R1(Jt,Tt),Mt(Jt,Or),ht.freeType(Jt)}else if(Array.isArray(Tt[0])||r(Tt[0])){ro=Zs(Tt);var Dt=Ps(Tt,ro,At.dtype);Mt(Dt,Or),ht.freeType(Dt)}else se.raise("invalid buffer data")}else if(X(Tt)){ro=Tt.shape;var vt=Tt.stride,Lr=0,xo=0,sr=0,ho=0;ro.length===1?(Lr=ro[0],xo=1,sr=vt[0],ho=0):ro.length===2?(Lr=ro[0],xo=ro[1],sr=vt[0],ho=vt[1]):se.raise("invalid shape");var eo=Array.isArray(Tt.data)?At.dtype:Oc(Tt.data),Wr=ht.allocType(eo,Lr*xo);Lc(Wr,Tt.data,Lr,xo,sr,ho,Tt.offset),Mt(Wr,Or),ht.freeType(Wr)}else se.raise("invalid data for buffer subdata");return ar}return Lt||ar(je),ar._reglType="buffer",ar._buffer=At,ar.subdata=rr,xe.profile&&(ar.stats=At.stats),ar.destroy=function(){$t(At)},ar}function jt(){re(tt).forEach(function(je){je.buffer=N.createBuffer(),N.bindBuffer(je.type,je.buffer),N.bufferData(je.type,je.persistentData||je.byteLength,je.usage)})}return xe.profile&&(ie.getTotalBufferSize=function(){var je=0;return Object.keys(tt).forEach(function(pt){je+=tt[pt].stats.size}),je}),{create:Ct,createStream:Rt,destroyStream:Xt,clear:function(){re(tt).forEach($t),Ot.forEach($t)},getBuffer:function(je){return je&&je._buffer instanceof Ye?je._buffer:null},restore:jt,_initBuffer:Gt}}var Ml=0,Nl=0,C1=1,I1=1,$0=4,ec=4,bs={points:Ml,point:Nl,lines:C1,line:I1,triangles:$0,triangle:ec,"line loop":2,"line strip":3,"triangle strip":5,"triangle fan":6},M1=0,Un=1,qu=4,vu=5120,Da=5121,Eu=5122,Za=5123,$s=5124,Oa=5125,qs=34963,xu=35040,N1=35044;function D1(N,ie,xe,et){var gt={},tt=0,Ye={uint8:Da,uint16:Za};ie.oes_element_index_uint&&(Ye.uint32=Oa);function Ot(jt){this.id=tt++,gt[this.id]=this,this.buffer=jt,this.primType=qu,this.vertCount=0,this.type=0}Ot.prototype.bind=function(){this.buffer.bind()};var Rt=[];function Xt(jt){var je=Rt.pop();return je||(je=new Ot(xe.create(null,qs,!0,!1)._buffer)),Gt(je,jt,xu,-1,-1,0,0),je}function Ut(jt){Rt.push(jt)}function Gt(jt,je,pt,Lt,tr,At,ar){jt.buffer.bind();var Mt;if(je){var rr=ar;!ar&&(!r(je)||X(je)&&!r(je.data))&&(rr=ie.oes_element_index_uint?Oa:Za),xe._initBuffer(jt.buffer,je,pt,rr,3)}else N.bufferData(qs,At,pt),jt.buffer.dtype=Mt||Da,jt.buffer.usage=pt,jt.buffer.dimension=3,jt.buffer.byteLength=At;if(Mt=ar,!ar){switch(jt.buffer.dtype){case Da:case vu:Mt=Da;break;case Za:case Eu:Mt=Za;break;case Oa:case $s:Mt=Oa;break;default:se.raise("unsupported type for element array")}jt.buffer.dtype=Mt}jt.type=Mt,se(Mt!==Oa||!!ie.oes_element_index_uint,"32 bit element buffers not supported, enable oes_element_index_uint first");var Tt=tr;Tt<0&&(Tt=jt.buffer.byteLength,Mt===Za?Tt>>=1:Mt===Oa&&(Tt>>=2)),jt.vertCount=Tt;var Qt=Lt;if(Lt<0){Qt=qu;var Or=jt.buffer.dimension;Or===1&&(Qt=M1),Or===2&&(Qt=Un),Or===3&&(Qt=qu)}jt.primType=Qt}function $t(jt){et.elementsCount--,se(jt.buffer!==null,"must not double destroy elements"),delete gt[jt.id],jt.buffer.destroy(),jt.buffer=null}function Ct(jt,je){var pt=xe.create(null,qs,!0),Lt=new Ot(pt._buffer);et.elementsCount++;function tr(At){if(!At)pt(),Lt.primType=qu,Lt.vertCount=0,Lt.type=Da;else if(typeof At=="number")pt(At),Lt.primType=qu,Lt.vertCount=At|0,Lt.type=Da;else{var ar=null,Mt=N1,rr=-1,Tt=-1,Qt=0,Or=0;Array.isArray(At)||r(At)||X(At)?ar=At:(se.type(At,"object","invalid arguments for elements"),"data"in At&&(ar=At.data,se(Array.isArray(ar)||r(ar)||X(ar),"invalid data for element buffer")),"usage"in At&&(se.parameter(At.usage,xs,"invalid element buffer usage"),Mt=xs[At.usage]),"primitive"in At&&(se.parameter(At.primitive,bs,"invalid element buffer primitive"),rr=bs[At.primitive]),"count"in At&&(se(typeof At.count=="number"&&At.count>=0,"invalid vertex count for elements"),Tt=At.count|0),"type"in At&&(se.parameter(At.type,Ye,"invalid buffer type"),Or=Ye[At.type]),"length"in At?Qt=At.length|0:(Qt=Tt,Or===Za||Or===Eu?Qt*=2:(Or===Oa||Or===$s)&&(Qt*=4))),Gt(Lt,ar,Mt,rr,Tt,Qt,Or)}return tr}return tr(jt),tr._reglType="elements",tr._elements=Lt,tr.subdata=function(At,ar){return pt.subdata(At,ar),tr},tr.destroy=function(){$t(Lt)},tr}return{create:Ct,createStream:Xt,destroyStream:Ut,getElements:function(jt){return typeof jt=="function"&&jt._elements instanceof Ot?jt._elements:null},clear:function(){re(gt).forEach($t)}}}var ri=new Float32Array(1),q0=new Uint32Array(ri.buffer),Bc=5123;function Dl(N){for(var ie=ht.allocType(Bc,N.length),xe=0;xe>>31<<15,tt=(et<<1>>>24)-127,Ye=et>>13&1023;if(tt<-24)ie[xe]=gt;else if(tt<-14){var Ot=-14-tt;ie[xe]=gt+(Ye+1024>>Ot)}else tt>15?ie[xe]=gt+31744:ie[xe]=gt+(tt+15<<10)+Ye}return ie}function Li(N){return Array.isArray(N)||r(N)}var Ol=function(N){return!(N&N-1)&&!!N},O1=34467,ca=3553,Ks=34067,As=34069,Pu=6408,Uc=6406,Pp=6407,ps=6409,tc=6410,bu=32854,Qs=32855,Ll=36194,rc=32819,ci=32820,kc=33635,K0=34042,Au=6402,oc=34041,Bl=35904,zc=35906,Js=36193,Fu=33776,Ku=33777,bp=33778,Qu=33779,Ju=35986,Ul=35987,ep=34798,Ya=35840,kl=35841,zl=35842,Vl=35843,Tu=36196,Fs=5121,Ap=5123,ic=5125,Su=5126,Q0=10242,Vc=10243,Hl=10497,Hc=33071,L1=33648,Gc=10240,Gl=10241,nc=9728,jl=9729,tp=9984,Wl=9985,wu=9986,li=9987,jc=33170,Ts=4352,Ru=4353,No=4354,di=34046,La=3317,ac=37440,Fp=37441,sc=37443,B1=37444,Wc=33984,uc=[tp,wu,Wl,li],Cu=[0,ps,tc,Pp,Pu],dn={};dn[ps]=dn[Uc]=dn[Au]=1,dn[oc]=dn[tc]=2,dn[Pp]=dn[Bl]=3,dn[Pu]=dn[zc]=4;function bi(N){return"[object "+N+"]"}var Tp=bi("HTMLCanvasElement"),Xl=bi("OffscreenCanvas"),Gi=bi("CanvasRenderingContext2D"),hr=bi("ImageBitmap"),la=bi("HTMLImageElement"),pc=bi("HTMLVideoElement"),Sp=Object.keys(ln).concat([Tp,Xl,Gi,hr,la,pc]),ea=[];ea[Fs]=1,ea[Su]=4,ea[Js]=2,ea[Ap]=2,ea[ic]=4;var oi=[];oi[bu]=2,oi[Qs]=2,oi[Ll]=2,oi[oc]=4,oi[Fu]=.5,oi[Ku]=.5,oi[bp]=1,oi[Qu]=1,oi[Ju]=.5,oi[Ul]=1,oi[ep]=1,oi[Ya]=.5,oi[kl]=.25,oi[zl]=.5,oi[Vl]=.25,oi[Tu]=.5;function Xc(N){return Array.isArray(N)&&(N.length===0||typeof N[0]=="number")}function Kt(N){if(!Array.isArray(N))return!1;var ie=N.length;return!(ie===0||!Li(N[0]))}function eu(N){return Object.prototype.toString.call(N)}function cc(N){return eu(N)===Tp}function Zc(N){return eu(N)===Xl}function $a(N){return eu(N)===Gi}function Aa(N){return eu(N)===hr}function Yc(N){return eu(N)===la}function $c(N){return eu(N)===pc}function ta(N){if(!N)return!1;var ie=eu(N);return Sp.indexOf(ie)>=0?!0:Xc(N)||Kt(N)||X(N)}function Ss(N){return ln[Object.prototype.toString.call(N)]|0}function U1(N,ie){var xe=ie.length;switch(N.type){case Fs:case Ap:case ic:case Su:var et=ht.allocType(N.type,xe);et.set(ie),N.data=et;break;case Js:N.data=Dl(ie);break;default:se.raise("unsupported texture type, must specify a typed array")}}function wp(N,ie){return ht.allocType(N.type===Js?Su:N.type,ie)}function qc(N,ie){N.type===Js?(N.data=Dl(ie),ht.freeType(ie)):N.data=ie}function Zl(N,ie,xe,et,gt,tt){for(var Ye=N.width,Ot=N.height,Rt=N.channels,Xt=Ye*Ot*Rt,Ut=wp(N,Xt),Gt=0,$t=0;$t=1;)Ot+=Ye*Rt*Rt,Rt/=2;return Ot}else return Ye*xe*et}function Ba(N,ie,xe,et,gt,tt,Ye){var Ot={"don't care":Ts,"dont care":Ts,nice:No,fast:Ru},Rt={repeat:Hl,clamp:Hc,mirror:L1},Xt={nearest:nc,linear:jl},Ut=i({mipmap:li,"nearest mipmap nearest":tp,"linear mipmap nearest":Wl,"nearest mipmap linear":wu,"linear mipmap linear":li},Xt),Gt={none:0,browser:B1},$t={uint8:Fs,rgba4:rc,rgb565:kc,"rgb5 a1":ci},Ct={alpha:Uc,luminance:ps,"luminance alpha":tc,rgb:Pp,rgba:Pu,rgba4:bu,"rgb5 a1":Qs,rgb565:Ll},jt={};ie.ext_srgb&&(Ct.srgb=Bl,Ct.srgba=zc),ie.oes_texture_float&&($t.float32=$t.float=Su),ie.oes_texture_half_float&&($t.float16=$t["half float"]=Js),ie.webgl_depth_texture&&(i(Ct,{depth:Au,"depth stencil":oc}),i($t,{uint16:Ap,uint32:ic,"depth stencil":K0})),ie.webgl_compressed_texture_s3tc&&i(jt,{"rgb s3tc dxt1":Fu,"rgba s3tc dxt1":Ku,"rgba s3tc dxt3":bp,"rgba s3tc dxt5":Qu}),ie.webgl_compressed_texture_atc&&i(jt,{"rgb atc":Ju,"rgba atc explicit alpha":Ul,"rgba atc interpolated alpha":ep}),ie.webgl_compressed_texture_pvrtc&&i(jt,{"rgb pvrtc 4bppv1":Ya,"rgb pvrtc 2bppv1":kl,"rgba pvrtc 4bppv1":zl,"rgba pvrtc 2bppv1":Vl}),ie.webgl_compressed_texture_etc1&&(jt["rgb etc1"]=Tu);var je=Array.prototype.slice.call(N.getParameter(O1));Object.keys(jt).forEach(function(fe){var ot=jt[fe];je.indexOf(ot)>=0&&(Ct[fe]=ot)});var pt=Object.keys(Ct);xe.textureFormats=pt;var Lt=[];Object.keys(Ct).forEach(function(fe){var ot=Ct[fe];Lt[ot]=fe});var tr=[];Object.keys($t).forEach(function(fe){var ot=$t[fe];tr[ot]=fe});var At=[];Object.keys(Xt).forEach(function(fe){var ot=Xt[fe];At[ot]=fe});var ar=[];Object.keys(Ut).forEach(function(fe){var ot=Ut[fe];ar[ot]=fe});var Mt=[];Object.keys(Rt).forEach(function(fe){var ot=Rt[fe];Mt[ot]=fe});var rr=pt.reduce(function(fe,ot){var Ke=Ct[ot];return Ke===ps||Ke===Uc||Ke===ps||Ke===tc||Ke===Au||Ke===oc||ie.ext_srgb&&(Ke===Bl||Ke===zc)?fe[Ke]=Ke:Ke===Qs||ot.indexOf("rgba")>=0?fe[Ke]=Pu:fe[Ke]=Pp,fe},{});function Tt(){this.internalformat=Pu,this.format=Pu,this.type=Fs,this.compressed=!1,this.premultiplyAlpha=!1,this.flipY=!1,this.unpackAlignment=1,this.colorSpace=B1,this.width=0,this.height=0,this.channels=0}function Qt(fe,ot){fe.internalformat=ot.internalformat,fe.format=ot.format,fe.type=ot.type,fe.compressed=ot.compressed,fe.premultiplyAlpha=ot.premultiplyAlpha,fe.flipY=ot.flipY,fe.unpackAlignment=ot.unpackAlignment,fe.colorSpace=ot.colorSpace,fe.width=ot.width,fe.height=ot.height,fe.channels=ot.channels}function Or(fe,ot){if(!(typeof ot!="object"||!ot)){if("premultiplyAlpha"in ot&&(se.type(ot.premultiplyAlpha,"boolean","invalid premultiplyAlpha"),fe.premultiplyAlpha=ot.premultiplyAlpha),"flipY"in ot&&(se.type(ot.flipY,"boolean","invalid texture flip"),fe.flipY=ot.flipY),"alignment"in ot&&(se.oneOf(ot.alignment,[1,2,4,8],"invalid texture unpack alignment"),fe.unpackAlignment=ot.alignment),"colorSpace"in ot&&(se.parameter(ot.colorSpace,Gt,"invalid colorSpace"),fe.colorSpace=Gt[ot.colorSpace]),"type"in ot){var Ke=ot.type;se(ie.oes_texture_float||!(Ke==="float"||Ke==="float32"),"you must enable the OES_texture_float extension in order to use floating point textures."),se(ie.oes_texture_half_float||!(Ke==="half float"||Ke==="float16"),"you must enable the OES_texture_half_float extension in order to use 16-bit floating point textures."),se(ie.webgl_depth_texture||!(Ke==="uint16"||Ke==="uint32"||Ke==="depth stencil"),"you must enable the WEBGL_depth_texture extension in order to use depth/stencil textures."),se.parameter(Ke,$t,"invalid texture type"),fe.type=$t[Ke]}var ur=fe.width,fo=fe.height,ii=fe.channels,Z=!1;"shape"in ot?(se(Array.isArray(ot.shape)&&ot.shape.length>=2,"shape must be an array"),ur=ot.shape[0],fo=ot.shape[1],ot.shape.length===3&&(ii=ot.shape[2],se(ii>0&&ii<=4,"invalid number of channels"),Z=!0),se(ur>=0&&ur<=xe.maxTextureSize,"invalid width"),se(fo>=0&&fo<=xe.maxTextureSize,"invalid height")):("radius"in ot&&(ur=fo=ot.radius,se(ur>=0&&ur<=xe.maxTextureSize,"invalid radius")),"width"in ot&&(ur=ot.width,se(ur>=0&&ur<=xe.maxTextureSize,"invalid width")),"height"in ot&&(fo=ot.height,se(fo>=0&&fo<=xe.maxTextureSize,"invalid height")),"channels"in ot&&(ii=ot.channels,se(ii>0&&ii<=4,"invalid number of channels"),Z=!0)),fe.width=ur|0,fe.height=fo|0,fe.channels=ii|0;var pe=!1;if("format"in ot){var Pe=ot.format;se(ie.webgl_depth_texture||!(Pe==="depth"||Pe==="depth stencil"),"you must enable the WEBGL_depth_texture extension in order to use depth/stencil textures."),se.parameter(Pe,Ct,"invalid texture format");var Qe=fe.internalformat=Ct[Pe];fe.format=rr[Qe],Pe in $t&&("type"in ot||(fe.type=$t[Pe])),Pe in jt&&(fe.compressed=!0),pe=!0}!Z&&pe?fe.channels=dn[fe.format]:Z&&!pe?fe.channels!==Cu[fe.format]&&(fe.format=fe.internalformat=Cu[fe.channels]):pe&&Z&&se(fe.channels===dn[fe.format],"number of channels inconsistent with specified format")}}function ro(fe){N.pixelStorei(ac,fe.flipY),N.pixelStorei(Fp,fe.premultiplyAlpha),N.pixelStorei(sc,fe.colorSpace),N.pixelStorei(La,fe.unpackAlignment)}function Jt(){Tt.call(this),this.xOffset=0,this.yOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function Dt(fe,ot){var Ke=null;if(ta(ot)?Ke=ot:ot&&(se.type(ot,"object","invalid pixel data type"),Or(fe,ot),"x"in ot&&(fe.xOffset=ot.x|0),"y"in ot&&(fe.yOffset=ot.y|0),ta(ot.data)&&(Ke=ot.data)),se(!fe.compressed||Ke instanceof Uint8Array,"compressed texture data must be stored in a uint8array"),ot.copy){se(!Ke,"can not specify copy and data field for the same texture");var ur=gt.viewportWidth,fo=gt.viewportHeight;fe.width=fe.width||ur-fe.xOffset,fe.height=fe.height||fo-fe.yOffset,fe.needsCopy=!0,se(fe.xOffset>=0&&fe.xOffset=0&&fe.yOffset0&&fe.width<=ur&&fe.height>0&&fe.height<=fo,"copy texture read out of bounds")}else if(!Ke)fe.width=fe.width||1,fe.height=fe.height||1,fe.channels=fe.channels||4;else if(r(Ke))fe.channels=fe.channels||4,fe.data=Ke,!("type"in ot)&&fe.type===Fs&&(fe.type=Ss(Ke));else if(Xc(Ke))fe.channels=fe.channels||4,U1(fe,Ke),fe.alignment=1,fe.needsFree=!0;else if(X(Ke)){var ii=Ke.data;!Array.isArray(ii)&&fe.type===Fs&&(fe.type=Ss(ii));var Z=Ke.shape,pe=Ke.stride,Pe,Qe,qe,Se,Ne,Ue;Z.length===3?(qe=Z[2],Ue=pe[2]):(se(Z.length===2,"invalid ndarray pixel data, must be 2 or 3D"),qe=1,Ue=1),Pe=Z[0],Qe=Z[1],Se=pe[0],Ne=pe[1],fe.alignment=1,fe.width=Pe,fe.height=Qe,fe.channels=qe,fe.format=fe.internalformat=Cu[qe],fe.needsFree=!0,Zl(fe,ii,Se,Ne,Ue,Ke.offset)}else if(cc(Ke)||Zc(Ke)||$a(Ke))cc(Ke)||Zc(Ke)?fe.element=Ke:fe.element=Ke.canvas,fe.width=fe.element.width,fe.height=fe.element.height,fe.channels=4;else if(Aa(Ke))fe.element=Ke,fe.width=Ke.width,fe.height=Ke.height,fe.channels=4;else if(Yc(Ke))fe.element=Ke,fe.width=Ke.naturalWidth,fe.height=Ke.naturalHeight,fe.channels=4;else if($c(Ke))fe.element=Ke,fe.width=Ke.videoWidth,fe.height=Ke.videoHeight,fe.channels=4;else if(Kt(Ke)){var me=fe.width||Ke[0].length,Ce=fe.height||Ke.length,ae=fe.channels;Li(Ke[0][0])?ae=ae||Ke[0][0].length:ae=ae||1;for(var Me=we.shape(Ke),nt=1,yt=0;yt=0,"oes_texture_float extension not enabled"):fe.type===Js&&se(xe.extensions.indexOf("oes_texture_half_float")>=0,"oes_texture_half_float extension not enabled")}function vt(fe,ot,Ke){var ur=fe.element,fo=fe.data,ii=fe.internalformat,Z=fe.format,pe=fe.type,Pe=fe.width,Qe=fe.height;ro(fe),ur?N.texImage2D(ot,Ke,Z,Z,pe,ur):fe.compressed?N.compressedTexImage2D(ot,Ke,ii,Pe,Qe,0,fo):fe.needsCopy?(et(),N.copyTexImage2D(ot,Ke,Z,fe.xOffset,fe.yOffset,Pe,Qe,0)):N.texImage2D(ot,Ke,Z,Pe,Qe,0,Z,pe,fo||null)}function Lr(fe,ot,Ke,ur,fo){var ii=fe.element,Z=fe.data,pe=fe.internalformat,Pe=fe.format,Qe=fe.type,qe=fe.width,Se=fe.height;ro(fe),ii?N.texSubImage2D(ot,fo,Ke,ur,Pe,Qe,ii):fe.compressed?N.compressedTexSubImage2D(ot,fo,Ke,ur,pe,qe,Se,Z):fe.needsCopy?(et(),N.copyTexSubImage2D(ot,fo,Ke,ur,fe.xOffset,fe.yOffset,qe,Se)):N.texSubImage2D(ot,fo,Ke,ur,qe,Se,Pe,Qe,Z)}var xo=[];function sr(){return xo.pop()||new Jt}function ho(fe){fe.needsFree&&ht.freeType(fe.data),Jt.call(fe),xo.push(fe)}function eo(){Tt.call(this),this.genMipmaps=!1,this.mipmapHint=Ts,this.mipmask=0,this.images=Array(16)}function Wr(fe,ot,Ke){var ur=fe.images[0]=sr();fe.mipmask=1,ur.width=fe.width=ot,ur.height=fe.height=Ke,ur.channels=fe.channels=4}function jo(fe,ot){var Ke=null;if(ta(ot))Ke=fe.images[0]=sr(),Qt(Ke,fe),Dt(Ke,ot),fe.mipmask=1;else if(Or(fe,ot),Array.isArray(ot.mipmap))for(var ur=ot.mipmap,fo=0;fo>=fo,Ke.height>>=fo,Dt(Ke,ur[fo]),fe.mipmask|=1<=0&&!("faces"in ot)&&(fe.genMipmaps=!0)}if("mag"in ot){var ur=ot.mag;se.parameter(ur,Xt),fe.magFilter=Xt[ur]}var fo=fe.wrapS,ii=fe.wrapT;if("wrap"in ot){var Z=ot.wrap;typeof Z=="string"?(se.parameter(Z,Rt),fo=ii=Rt[Z]):Array.isArray(Z)&&(se.parameter(Z[0],Rt),se.parameter(Z[1],Rt),fo=Rt[Z[0]],ii=Rt[Z[1]])}else{if("wrapS"in ot){var pe=ot.wrapS;se.parameter(pe,Rt),fo=Rt[pe]}if("wrapT"in ot){var Pe=ot.wrapT;se.parameter(Pe,Rt),ii=Rt[Pe]}}if(fe.wrapS=fo,fe.wrapT=ii,"anisotropic"in ot){var Qe=ot.anisotropic;se(typeof Qe=="number"&&Qe>=1&&Qe<=xe.maxAnisotropic,"aniso samples must be between 1 and "),fe.anisotropic=ot.anisotropic}if("mipmap"in ot){var qe=!1;switch(typeof ot.mipmap){case"string":se.parameter(ot.mipmap,Ot,"invalid mipmap hint"),fe.mipmapHint=Ot[ot.mipmap],fe.genMipmaps=!0,qe=!0;break;case"boolean":qe=fe.genMipmaps=ot.mipmap;break;case"object":se(Array.isArray(ot.mipmap),"invalid mipmap type"),fe.genMipmaps=!1,qe=!0;break;default:se.raise("invalid mipmap type")}qe&&!("min"in ot)&&(fe.minFilter=tp)}}function _n(fe,ot){N.texParameteri(ot,Gl,fe.minFilter),N.texParameteri(ot,Gc,fe.magFilter),N.texParameteri(ot,Q0,fe.wrapS),N.texParameteri(ot,Vc,fe.wrapT),ie.ext_texture_filter_anisotropic&&N.texParameteri(ot,di,fe.anisotropic),fe.genMipmaps&&(N.hint(jc,fe.mipmapHint),N.generateMipmap(ot))}var ki=0,In={},na=xe.maxTextureUnits,gn=Array(na).map(function(){return null});function yo(fe){Tt.call(this),this.mipmask=0,this.internalformat=Pu,this.id=ki++,this.refCount=1,this.target=fe,this.texture=N.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new mi,Ye.profile&&(this.stats={size:0})}function Yn(fe){N.activeTexture(Wc),N.bindTexture(fe.target,fe.texture)}function Zo(){var fe=gn[0];fe?N.bindTexture(fe.target,fe.texture):N.bindTexture(ca,null)}function Vr(fe){var ot=fe.texture;se(ot,"must not double destroy texture");var Ke=fe.unit,ur=fe.target;Ke>=0&&(N.activeTexture(Wc+Ke),N.bindTexture(ur,null),gn[Ke]=null),N.deleteTexture(ot),fe.texture=null,fe.params=null,fe.pixels=null,fe.refCount=0,delete In[fe.id],tt.textureCount--}i(yo.prototype,{bind:function(){var fe=this;fe.bindCount+=1;var ot=fe.unit;if(ot<0){for(var Ke=0;Ke0)continue;ur.unit=-1}gn[Ke]=fe,ot=Ke;break}ot>=na&&se.raise("insufficient number of texture units"),Ye.profile&&tt.maxTextureUnits>Ne)-qe,Ue.height=Ue.height||(Ke.height>>Ne)-Se,se(Ke.type===Ue.type&&Ke.format===Ue.format&&Ke.internalformat===Ue.internalformat,"incompatible format for texture.subimage"),se(qe>=0&&Se>=0&&qe+Ue.width<=Ke.width&&Se+Ue.height<=Ke.height,"texture.subimage write out of bounds"),se(Ke.mipmask&1<>qe;++qe){var Se=Pe>>qe,Ne=Qe>>qe;if(!Se||!Ne)break;N.texImage2D(ca,qe,Ke.format,Se,Ne,0,Ke.format,Ke.type,null)}return Zo(),Ye.profile&&(Ke.stats.size=Fa(Ke.internalformat,Ke.type,Pe,Qe,!1,!1)),ur}return ur(fe,ot),ur.subimage=fo,ur.resize=ii,ur._reglType="texture2d",ur._texture=Ke,Ye.profile&&(ur.stats=Ke.stats),ur.destroy=function(){Ke.decRef()},ur}function zo(fe,ot,Ke,ur,fo,ii){var Z=new yo(Ks);In[Z.id]=Z,tt.cubeCount++;var pe=new Array(6);function Pe(Se,Ne,Ue,me,Ce,ae){var Me,nt=Z.texInfo;for(mi.call(nt),Me=0;Me<6;++Me)pe[Me]=Ro();if(typeof Se=="number"||!Se){var yt=Se|0||1;for(Me=0;Me<6;++Me)Wr(pe[Me],yt,yt)}else if(typeof Se=="object")if(Ne)jo(pe[0],Se),jo(pe[1],Ne),jo(pe[2],Ue),jo(pe[3],me),jo(pe[4],Ce),jo(pe[5],ae);else if(mn(nt,Se),Or(Z,Se),"faces"in Se){var St=Se.faces;for(se(Array.isArray(St)&&St.length===6,"cube faces must be a length 6 array"),Me=0;Me<6;++Me)se(typeof St[Me]=="object"&&!!St[Me],"invalid input for cube map face"),Qt(pe[Me],Z),jo(pe[Me],St[Me])}else for(Me=0;Me<6;++Me)jo(pe[Me],Se);else se.raise("invalid arguments to cube map");for(Qt(Z,pe[0]),xe.npotTextureCube||se(Ol(Z.width)&&Ol(Z.height),"your browser does not support non power or two texture dimensions"),nt.genMipmaps?Z.mipmask=(pe[0].width<<1)-1:Z.mipmask=pe[0].mipmask,se.textureCube(Z,nt,pe,xe),Z.internalformat=pe[0].internalformat,Pe.width=pe[0].width,Pe.height=pe[0].height,Yn(Z),Me=0;Me<6;++Me)Qi(pe[Me],As+Me);for(_n(nt,Ks),Zo(),Ye.profile&&(Z.stats.size=Fa(Z.internalformat,Z.type,Pe.width,Pe.height,nt.genMipmaps,!0)),Pe.format=Lt[Z.internalformat],Pe.type=tr[Z.type],Pe.mag=At[nt.magFilter],Pe.min=ar[nt.minFilter],Pe.wrapS=Mt[nt.wrapS],Pe.wrapT=Mt[nt.wrapT],Me=0;Me<6;++Me)Ji(pe[Me]);return Pe}function Qe(Se,Ne,Ue,me,Ce){se(!!Ne,"must specify image data"),se(typeof Se=="number"&&Se===(Se|0)&&Se>=0&&Se<6,"invalid face");var ae=Ue|0,Me=me|0,nt=Ce|0,yt=sr();return Qt(yt,Z),yt.width=0,yt.height=0,Dt(yt,Ne),yt.width=yt.width||(Z.width>>nt)-ae,yt.height=yt.height||(Z.height>>nt)-Me,se(Z.type===yt.type&&Z.format===yt.format&&Z.internalformat===yt.internalformat,"incompatible format for texture.subimage"),se(ae>=0&&Me>=0&&ae+yt.width<=Z.width&&Me+yt.height<=Z.height,"texture.subimage write out of bounds"),se(Z.mipmask&1<>me;++me)N.texImage2D(As+Ue,me,Z.format,Ne>>me,Ne>>me,0,Z.format,Z.type,null);return Zo(),Ye.profile&&(Z.stats.size=Fa(Z.internalformat,Z.type,Pe.width,Pe.height,!1,!0)),Pe}}return Pe(fe,ot,Ke,ur,fo,ii),Pe.subimage=Qe,Pe.resize=qe,Pe._reglType="textureCube",Pe._texture=Z,Ye.profile&&(Pe.stats=Z.stats),Pe.destroy=function(){Z.decRef()},Pe}function en(){for(var fe=0;fe>ur,Ke.height>>ur,0,Ke.internalformat,Ke.type,null);else for(var fo=0;fo<6;++fo)N.texImage2D(As+fo,ur,Ke.internalformat,Ke.width>>ur,Ke.height>>ur,0,Ke.internalformat,Ke.type,null);_n(Ke.texInfo,Ke.target)})}return{create2D:To,createCube:zo,clear:en,getTexture:function(fe){return null},restore:au}}var po=36161,Ua=32854,ka=32855,wn=36194,Iu=33189,tu=36168,qa=34041,Wn=35907,Rp=34836,Rr=34842,gr=34843,Ta=[];Ta[Ua]=2,Ta[ka]=2,Ta[wn]=2,Ta[Iu]=2,Ta[tu]=1,Ta[qa]=4,Ta[Wn]=4,Ta[Rp]=16,Ta[Rr]=8,Ta[gr]=6;function Xn(N,ie,xe){return Ta[N]*ie*xe}var cs=function(N,ie,xe,et,gt){var tt={rgba4:Ua,rgb565:wn,"rgb5 a1":ka,depth:Iu,stencil:tu,"depth stencil":qa};ie.ext_srgb&&(tt.srgba=Wn),ie.ext_color_buffer_half_float&&(tt.rgba16f=Rr,tt.rgb16f=gr),ie.webgl_color_buffer_float&&(tt.rgba32f=Rp);var Ye=[];Object.keys(tt).forEach(function(Ct){var jt=tt[Ct];Ye[jt]=Ct});var Ot=0,Rt={};function Xt(Ct){this.id=Ot++,this.refCount=1,this.renderbuffer=Ct,this.format=Ua,this.width=0,this.height=0,gt.profile&&(this.stats={size:0})}Xt.prototype.decRef=function(){--this.refCount<=0&&Ut(this)};function Ut(Ct){var jt=Ct.renderbuffer;se(jt,"must not double destroy renderbuffer"),N.bindRenderbuffer(po,null),N.deleteRenderbuffer(jt),Ct.renderbuffer=null,Ct.refCount=0,delete Rt[Ct.id],et.renderbufferCount--}function Gt(Ct,jt){var je=new Xt(N.createRenderbuffer());Rt[je.id]=je,et.renderbufferCount++;function pt(tr,At){var ar=0,Mt=0,rr=Ua;if(typeof tr=="object"&&tr){var Tt=tr;if("shape"in Tt){var Qt=Tt.shape;se(Array.isArray(Qt)&&Qt.length>=2,"invalid renderbuffer shape"),ar=Qt[0]|0,Mt=Qt[1]|0}else"radius"in Tt&&(ar=Mt=Tt.radius|0),"width"in Tt&&(ar=Tt.width|0),"height"in Tt&&(Mt=Tt.height|0);"format"in Tt&&(se.parameter(Tt.format,tt,"invalid renderbuffer format"),rr=tt[Tt.format])}else typeof tr=="number"?(ar=tr|0,typeof At=="number"?Mt=At|0:Mt=ar):tr?se.raise("invalid arguments to renderbuffer constructor"):ar=Mt=1;if(se(ar>0&&Mt>0&&ar<=xe.maxRenderbufferSize&&Mt<=xe.maxRenderbufferSize,"invalid renderbuffer size"),!(ar===je.width&&Mt===je.height&&rr===je.format))return pt.width=je.width=ar,pt.height=je.height=Mt,je.format=rr,N.bindRenderbuffer(po,je.renderbuffer),N.renderbufferStorage(po,rr,ar,Mt),se(N.getError()===0,"invalid render buffer format"),gt.profile&&(je.stats.size=Xn(je.format,je.width,je.height)),pt.format=Ye[je.format],pt}function Lt(tr,At){var ar=tr|0,Mt=At|0||ar;return ar===je.width&&Mt===je.height||(se(ar>0&&Mt>0&&ar<=xe.maxRenderbufferSize&&Mt<=xe.maxRenderbufferSize,"invalid renderbuffer size"),pt.width=je.width=ar,pt.height=je.height=Mt,N.bindRenderbuffer(po,je.renderbuffer),N.renderbufferStorage(po,je.format,ar,Mt),se(N.getError()===0,"invalid render buffer format"),gt.profile&&(je.stats.size=Xn(je.format,je.width,je.height))),pt}return pt(Ct,jt),pt.resize=Lt,pt._reglType="renderbuffer",pt._renderbuffer=je,gt.profile&&(pt.stats=je.stats),pt.destroy=function(){je.decRef()},pt}gt.profile&&(et.getTotalRenderbufferSize=function(){var Ct=0;return Object.keys(Rt).forEach(function(jt){Ct+=Rt[jt].stats.size}),Ct});function $t(){re(Rt).forEach(function(Ct){Ct.renderbuffer=N.createRenderbuffer(),N.bindRenderbuffer(po,Ct.renderbuffer),N.renderbufferStorage(po,Ct.format,Ct.width,Ct.height)}),N.bindRenderbuffer(po,null)}return{create:Gt,clear:function(){re(Rt).forEach(Ut)},restore:$t}},Ai=36160,Ka=36161,ru=3553,rp=34069,Xo=36064,yn=36096,Yl=36128,Mu=33306,Kc=36053,ou=36054,Sa=36055,Cp=36057,ws=36061,Qc=36193,Ip=5121,lc=5126,Jc=6407,op=6408,ip=6402,$l=[Jc,op],Rs=[];Rs[op]=4,Rs[Jc]=3;var ls=[];ls[Ip]=1,ls[lc]=4,ls[Qc]=2;var el=32854,Nu=32855,Qa=36194,ql=33189,dc=36168,tl=34041,rl=35907,c=34836,d=34842,l=34843,f=[el,Nu,Qa,rl,d,l,c],E={};E[Kc]="complete",E[ou]="incomplete attachment",E[Cp]="incomplete dimensions",E[Sa]="incomplete, missing attachment",E[ws]="unsupported";function A(N,ie,xe,et,gt,tt){var Ye={cur:null,next:null,dirty:!1,setFBO:null},Ot=["rgba"],Rt=["rgba4","rgb565","rgb5 a1"];ie.ext_srgb&&Rt.push("srgba"),ie.ext_color_buffer_half_float&&Rt.push("rgba16f","rgb16f"),ie.webgl_color_buffer_float&&Rt.push("rgba32f");var Xt=["uint8"];ie.oes_texture_half_float&&Xt.push("half float","float16"),ie.oes_texture_float&&Xt.push("float","float32");function Ut(Jt,Dt,vt){this.target=Jt,this.texture=Dt,this.renderbuffer=vt;var Lr=0,xo=0;Dt?(Lr=Dt.width,xo=Dt.height):vt&&(Lr=vt.width,xo=vt.height),this.width=Lr,this.height=xo}function Gt(Jt){Jt&&(Jt.texture&&Jt.texture._texture.decRef(),Jt.renderbuffer&&Jt.renderbuffer._renderbuffer.decRef())}function $t(Jt,Dt,vt){if(Jt)if(Jt.texture){var Lr=Jt.texture._texture,xo=Math.max(1,Lr.width),sr=Math.max(1,Lr.height);se(xo===Dt&&sr===vt,"inconsistent width/height for supplied texture"),Lr.refCount+=1}else{var ho=Jt.renderbuffer._renderbuffer;se(ho.width===Dt&&ho.height===vt,"inconsistent width/height for renderbuffer"),ho.refCount+=1}}function Ct(Jt,Dt){Dt&&(Dt.texture?N.framebufferTexture2D(Ai,Jt,Dt.target,Dt.texture._texture.texture,0):N.framebufferRenderbuffer(Ai,Jt,Ka,Dt.renderbuffer._renderbuffer.renderbuffer))}function jt(Jt){var Dt=ru,vt=null,Lr=null,xo=Jt;typeof Jt=="object"&&(xo=Jt.data,"target"in Jt&&(Dt=Jt.target|0)),se.type(xo,"function","invalid attachment data");var sr=xo._reglType;return sr==="texture2d"?(vt=xo,se(Dt===ru)):sr==="textureCube"?(vt=xo,se(Dt>=rp&&Dt=2,"invalid shape for framebuffer"),Wr=Yn[0],jo=Yn[1]}else"radius"in yo&&(Wr=jo=yo.radius),"width"in yo&&(Wr=yo.width),"height"in yo&&(jo=yo.height);("color"in yo||"colors"in yo)&&(Ro=yo.color||yo.colors,Array.isArray(Ro)&&se(Ro.length===1||ie.webgl_draw_buffers,"multiple render targets not supported")),Ro||("colorCount"in yo&&(_n=yo.colorCount|0,se(_n>0,"invalid color buffer count")),"colorTexture"in yo&&(Ji=!!yo.colorTexture,mi="rgba4"),"colorType"in yo&&(mn=yo.colorType,Ji?(se(ie.oes_texture_float||!(mn==="float"||mn==="float32"),"you must enable OES_texture_float in order to use floating point framebuffer objects"),se(ie.oes_texture_half_float||!(mn==="half float"||mn==="float16"),"you must enable OES_texture_half_float in order to use 16-bit floating point framebuffer objects")):mn==="half float"||mn==="float16"?(se(ie.ext_color_buffer_half_float,"you must enable EXT_color_buffer_half_float to use 16-bit render buffers"),mi="rgba16f"):(mn==="float"||mn==="float32")&&(se(ie.webgl_color_buffer_float,"you must enable WEBGL_color_buffer_float in order to use 32-bit floating point renderbuffers"),mi="rgba32f"),se.oneOf(mn,Xt,"invalid color type")),"colorFormat"in yo&&(mi=yo.colorFormat,Ot.indexOf(mi)>=0?Ji=!0:Rt.indexOf(mi)>=0?Ji=!1:Ji?se.oneOf(yo.colorFormat,Ot,"invalid color format for texture"):se.oneOf(yo.colorFormat,Rt,"invalid color format for renderbuffer"))),("depthTexture"in yo||"depthStencilTexture"in yo)&&(gn=!!(yo.depthTexture||yo.depthStencilTexture),se(!gn||ie.webgl_depth_texture,"webgl_depth_texture extension not supported")),"depth"in yo&&(typeof yo.depth=="boolean"?Qi=yo.depth:(ki=yo.depth,zn=!1)),"stencil"in yo&&(typeof yo.stencil=="boolean"?zn=yo.stencil:(In=yo.stencil,Qi=!1)),"depthStencil"in yo&&(typeof yo.depthStencil=="boolean"?Qi=zn=yo.depthStencil:(na=yo.depthStencil,Qi=!1,zn=!1))}var Zo=null,Vr=null,To=null,zo=null;if(Array.isArray(Ro))Zo=Ro.map(jt);else if(Ro)Zo=[jt(Ro)];else for(Zo=new Array(_n),eo=0;eo<_n;++eo)Zo[eo]=je(Wr,jo,Ji,mi,mn);se(ie.webgl_draw_buffers||Zo.length<=1,"you must enable the WEBGL_draw_buffers extension in order to use multiple color buffers."),se(Zo.length<=xe.maxColorAttachments,"too many color attachments, not supported"),Wr=Wr||Zo[0].width,jo=jo||Zo[0].height,ki?Vr=jt(ki):Qi&&!zn&&(Vr=je(Wr,jo,gn,"depth","uint32")),In?To=jt(In):zn&&!Qi&&(To=je(Wr,jo,!1,"stencil","uint8")),na?zo=jt(na):!ki&&!In&&zn&&Qi&&(zo=je(Wr,jo,gn,"depth stencil","depth stencil")),se(!!ki+!!In+!!na<=1,"invalid framebuffer configuration, can specify exactly one depth/stencil attachment");var en=null;for(eo=0;eo=0||Zo[eo].renderbuffer&&f.indexOf(Zo[eo].renderbuffer._renderbuffer.format)>=0,"framebuffer color attachment "+eo+" is invalid"),Zo[eo]&&Zo[eo].texture){var au=Rs[Zo[eo].texture._texture.format]*ls[Zo[eo].texture._texture.type];en===null?en=au:se(en===au,"all color attachments much have the same number of bits per pixel.")}return $t(Vr,Wr,jo),se(!Vr||Vr.texture&&Vr.texture._texture.format===ip||Vr.renderbuffer&&Vr.renderbuffer._renderbuffer.format===ql,"invalid depth attachment for framebuffer object"),$t(To,Wr,jo),se(!To||To.renderbuffer&&To.renderbuffer._renderbuffer.format===dc,"invalid stencil attachment for framebuffer object"),$t(zo,Wr,jo),se(!zo||zo.texture&&zo.texture._texture.format===tl||zo.renderbuffer&&zo.renderbuffer._renderbuffer.format===tl,"invalid depth-stencil attachment for framebuffer object"),Mt(vt),vt.width=Wr,vt.height=jo,vt.colorAttachments=Zo,vt.depthAttachment=Vr,vt.stencilAttachment=To,vt.depthStencilAttachment=zo,Lr.color=Zo.map(pt),Lr.depth=pt(Vr),Lr.stencil=pt(To),Lr.depthStencil=pt(zo),Lr.width=vt.width,Lr.height=vt.height,Tt(vt),Lr}function xo(sr,ho){se(Ye.next!==vt,"can not resize a framebuffer which is currently in use");var eo=Math.max(sr|0,1),Wr=Math.max(ho|0||eo,1);if(eo===vt.width&&Wr===vt.height)return Lr;for(var jo=vt.colorAttachments,Qi=0;Qi=2,"invalid shape for framebuffer"),se(Ji[0]===Ji[1],"cube framebuffer must be square"),eo=Ji[0]}else"radius"in Ro&&(eo=Ro.radius|0),"width"in Ro?(eo=Ro.width|0,"height"in Ro&&se(Ro.height===eo,"must be square")):"height"in Ro&&(eo=Ro.height|0);("color"in Ro||"colors"in Ro)&&(Wr=Ro.color||Ro.colors,Array.isArray(Wr)&&se(Wr.length===1||ie.webgl_draw_buffers,"multiple render targets not supported")),Wr||("colorCount"in Ro&&(zn=Ro.colorCount|0,se(zn>0,"invalid color buffer count")),"colorType"in Ro&&(se.oneOf(Ro.colorType,Xt,"invalid color type"),Qi=Ro.colorType),"colorFormat"in Ro&&(jo=Ro.colorFormat,se.oneOf(Ro.colorFormat,Ot,"invalid color format for texture"))),"depth"in Ro&&(ho.depth=Ro.depth),"stencil"in Ro&&(ho.stencil=Ro.stencil),"depthStencil"in Ro&&(ho.depthStencil=Ro.depthStencil)}var mi;if(Wr)if(Array.isArray(Wr))for(mi=[],sr=0;sr0&&(ho.depth=Dt[0].depth,ho.stencil=Dt[0].stencil,ho.depthStencil=Dt[0].depthStencil),Dt[sr]?Dt[sr](ho):Dt[sr]=Qt(ho)}return i(vt,{width:eo,height:eo,color:mi})}function Lr(xo){var sr,ho=xo|0;if(se(ho>0&&ho<=xe.maxCubeMapSize,"invalid radius for cube fbo"),ho===vt.width)return vt;var eo=vt.color;for(sr=0;sr0,"must specify at least one attribute");for(var Or=0;Or=1&&vt.size<=4,"size must be between 1 and 4"),se(vt.offset>=0,"invalid offset"),se(vt.stride>=0&&vt.stride<=255,"stride must be between 0 and 255"),se(vt.divisor>=0,"divisor must be positive"),se(!vt.divisor||!!ie.angle_instanced_arrays,"ANGLE_instanced_arrays must be enabled to use divisor")):"x"in Dt?(se(Jt>0,"first attribute must not be a constant"),vt.x=+Dt.x||0,vt.y=+Dt.y||0,vt.z=+Dt.z||0,vt.w=+Dt.w||0,vt.state=2):se(!1,"invalid attribute spec for location "+Jt)}return rr.refresh(),Tt}return Tt.destroy=function(){rr.destroy()},Tt._vao=rr,Tt._reglType="vao",Tt(Mt)}return Ut}var $=35632,K=35633,ee=35718,_e=35721;function de(N,ie,xe,et){var gt={},tt={};function Ye(je,pt,Lt,tr){this.name=je,this.id=pt,this.location=Lt,this.info=tr}function Ot(je,pt){for(var Lt=0;Lt1)for(var ro=0;roje&&(je=pt.stats.uniformsCount)}),je},xe.getMaxAttributesCount=function(){var je=0;return Ut.forEach(function(pt){pt.stats.attributesCount>je&&(je=pt.stats.attributesCount)}),je});function jt(){gt={},tt={};for(var je=0;je=0,"missing vertex shader",Lt),se.command(pt>=0,"missing fragment shader",Lt);var At=Xt[pt];At||(At=Xt[pt]={});var ar=At[je];if(ar&&!tr)return ar;var Mt=new $t(pt,je);return xe.shaderCount++,Ct(Mt,Lt,tr),ar||(At[je]=Mt),Ut.push(Mt),Mt},restore:jt,shader:Rt,frag:-1,vert:-1}}var Te=6408,ce=5121,Fe=3333,De=5126;function Xe(N,ie,xe,et,gt,tt,Ye){function Ot(Ut){var Gt;ie.next===null?(se(gt.preserveDrawingBuffer,'you must create a webgl context with "preserveDrawingBuffer":true in order to read pixels from the drawing buffer'),Gt=ce):(se(ie.next.colorAttachments[0].texture!==null,"You cannot read from a renderbuffer"),Gt=ie.next.colorAttachments[0].texture._texture.type,tt.oes_texture_float?(se(Gt===ce||Gt===De,"Reading from a framebuffer is only allowed for the types 'uint8' and 'float'"),Gt===De&&se(Ye.readFloat,"Reading 'float' values is not permitted in your browser. For a fallback, please see: https://www.npmjs.com/package/glsl-read-float")):se(Gt===ce,"Reading from a framebuffer is only allowed for the type 'uint8'"));var $t=0,Ct=0,jt=et.framebufferWidth,je=et.framebufferHeight,pt=null;r(Ut)?pt=Ut:Ut&&(se.type(Ut,"object","invalid arguments to regl.read()"),$t=Ut.x|0,Ct=Ut.y|0,se($t>=0&&$t=0&&Ct0&&jt+$t<=et.framebufferWidth,"invalid width for read pixels"),se(je>0&&je+Ct<=et.framebufferHeight,"invalid height for read pixels"),xe();var Lt=jt*je*4;return pt||(Gt===ce?pt=new Uint8Array(Lt):Gt===De&&(pt=pt||new Float32Array(Lt))),se.isTypedArray(pt,"data buffer for regl.read() must be a typedarray"),se(pt.byteLength>=Lt,"data buffer for regl.read() too small"),N.pixelStorei(Fe,4),N.readPixels($t,Ct,jt,je,Te,Gt,pt),pt}function Rt(Ut){var Gt;return ie.setFBO({framebuffer:Ut.framebuffer},function(){Gt=Ot(Ut)}),Gt}function Xt(Ut){return!Ut||!("framebuffer"in Ut)?Ot(Ut):Rt(Ut)}return Xt}function at(N){return Array.prototype.slice.call(N)}function Je(N){return at(N).join("")}function lt(){var N=0,ie=[],xe=[];function et(Gt){for(var $t=0;$t0&&(Gt.push(je,"="),Gt.push.apply(Gt,at(arguments)),Gt.push(";")),je}return i($t,{def:jt,toString:function(){return Je([Ct.length>0?"var "+Ct.join(",")+";":"",Je(Gt)])}})}function tt(){var Gt=gt(),$t=gt(),Ct=Gt.toString,jt=$t.toString;function je(pt,Lt){$t(pt,Lt,"=",Gt.def(pt,Lt),";")}return i(function(){Gt.apply(Gt,at(arguments))},{def:Gt.def,entry:Gt,exit:$t,save:je,set:function(pt,Lt,tr){je(pt,Lt),Gt(pt,Lt,"=",tr,";")},toString:function(){return Ct()+jt()}})}function Ye(){var Gt=Je(arguments),$t=tt(),Ct=tt(),jt=$t.toString,je=Ct.toString;return i($t,{then:function(){return $t.apply($t,at(arguments)),this},else:function(){return Ct.apply(Ct,at(arguments)),this},toString:function(){var pt=je();return pt&&(pt="else{"+pt+"}"),Je(["if(",Gt,"){",jt(),"}",pt])}})}var Ot=gt(),Rt={};function Xt(Gt,$t){var Ct=[];function jt(){var At="a"+Ct.length;return Ct.push(At),At}$t=$t||0;for(var je=0;je<$t;++je)jt();var pt=tt(),Lt=pt.toString,tr=Rt[Gt]=i(pt,{arg:jt,toString:function(){return Je(["function(",Ct.join(),"){",Lt(),"}"])}});return tr}function Ut(){var Gt=['"use strict";',Ot,"return {"];Object.keys(Rt).forEach(function(jt){Gt.push('"',jt,'":',Rt[jt].toString(),",")}),Gt.push("}");var $t=Je(Gt).replace(/;/g,`; +`).replace(/}/g,`} +`).replace(/{/g,`{ +`),Ct=Function.apply(null,ie.concat($t));return Ct.apply(null,xe)}return{global:Ot,link:et,block:gt,proc:Xt,scope:tt,cond:Ye,compile:Ut}}var Pt="xyzw".split(""),Ht=5121,Bt=1,nr=2,Cr=0,Dr=1,Nr=2,Lo=3,lr=4,$r="dither",co="blend.enable",Xr="blend.color",Gr="blend.equation",uo="blend.func",jr="depth.enable",zr="depth.func",qi="depth.range",Si="depth.mask",Rn="colorMask",hn="cull.enable",Fi="cull.face",wi="frontFace",ra="lineWidth",Zn="polygonOffset.enable",Cs="polygonOffset.offset",oa="sample.alpha",Ja="sample.enable",wa="sample.coverage",Mp="stencil.enable",np="stencil.mask",Is="stencil.func",Du="stencil.opFront",iu="stencil.opBack",ds="scissor.enable",Ou="scissor.box",kn="viewport",Bi="profile",da="framebuffer",es="vert",ys="frag",Io="elements",Cn="primitive",Ki="count",Ms="offset",ol="instances",Lu="vao",Kl="Width",ap="Height",sp=da+Kl,hs=da+ap,il=kn+Kl,J0=kn+ap,Np="drawingBuffer",ya=Np+Kl,ky=Np+ap,zy=[uo,Gr,Is,Du,iu,wa,kn,Ou,Cs],nl=34962,Qf=34963,Jf=35632,em=35633,k1=3553,tm=34067,z1=2884,Vy=3042,Dp=3024,Ql=2960,rm=2929,om=3089,im=32823,nm=32926,am=32928,ed=5126,V1=35664,al=35665,H1=35666,Op=5124,G1=35667,Ui=35668,yc=35669,j1=35670,hc=35671,fc=35672,Lp=35673,sl=35674,ul=35675,up=35676,mc=35678,_c=35680,Hy=4,pp=1028,gc=1029,W1=2304,td=2305,rd=32775,od=32776,nu=519,Bp=7680,Gy=0,jy=1,Wy=32774,Xy=513,vc=36160,sm=36064,Bu={0:0,1:1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},id=["constant color, constant alpha","one minus constant color, constant alpha","constant color, one minus constant alpha","one minus constant color, one minus constant alpha","constant alpha, constant color","constant alpha, one minus constant color","one minus constant alpha, constant color","one minus constant alpha, one minus constant color"],Ec={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},Up={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},Zy={frag:Jf,vert:em},kp={cw:W1,ccw:td};function X1(N){return Array.isArray(N)||r(N)||X(N)}function Z1(N){return N.sort(function(ie,xe){return ie===kn?-1:xe===kn?1:ie=1,et>=2,ie)}else if(xe===lr){var gt=N.data;return new ha(gt.thisDep,gt.contextDep,gt.propDep,ie)}else return new ha(xe===Lo,xe===Nr,xe===Dr,ie)}var Yy=new ha(!1,!1,!1,function(){});function Jl(N,ie,xe,et,gt,tt,Ye,Ot,Rt,Xt,Ut,Gt,$t,Ct,jt){var je=Xt.Record,pt={add:32774,subtract:32778,"reverse subtract":32779};xe.ext_blend_minmax&&(pt.min=rd,pt.max=od);var Lt=xe.angle_instanced_arrays,tr=xe.webgl_draw_buffers,At={dirty:!0,profile:jt.profile},ar={},Mt=[],rr={},Tt={};function Qt(Z){return Z.replace(".","_")}function Or(Z,pe,Pe){var Qe=Qt(Z);Mt.push(Z),ar[Qe]=At[Qe]=!!Pe,rr[Qe]=pe}function ro(Z,pe,Pe){var Qe=Qt(Z);Mt.push(Z),Array.isArray(Pe)?(At[Qe]=Pe.slice(),ar[Qe]=Pe.slice()):At[Qe]=ar[Qe]=Pe,Tt[Qe]=pe}Or($r,Dp),Or(co,Vy),ro(Xr,"blendColor",[0,0,0,0]),ro(Gr,"blendEquationSeparate",[Wy,Wy]),ro(uo,"blendFuncSeparate",[jy,Gy,jy,Gy]),Or(jr,rm,!0),ro(zr,"depthFunc",Xy),ro(qi,"depthRange",[0,1]),ro(Si,"depthMask",!0),ro(Rn,Rn,[!0,!0,!0,!0]),Or(hn,z1),ro(Fi,"cullFace",gc),ro(wi,wi,td),ro(ra,ra,1),Or(Zn,im),ro(Cs,"polygonOffset",[0,0]),Or(oa,nm),Or(Ja,am),ro(wa,"sampleCoverage",[1,!1]),Or(Mp,Ql),ro(np,"stencilMask",-1),ro(Is,"stencilFunc",[nu,0,-1]),ro(Du,"stencilOpSeparate",[pp,Bp,Bp,Bp]),ro(iu,"stencilOpSeparate",[gc,Bp,Bp,Bp]),Or(ds,om),ro(Ou,"scissor",[0,0,N.drawingBufferWidth,N.drawingBufferHeight]),ro(kn,kn,[0,0,N.drawingBufferWidth,N.drawingBufferHeight]);var Jt={gl:N,context:$t,strings:ie,next:ar,current:At,draw:Gt,elements:tt,buffer:gt,shader:Ut,attributes:Xt.state,vao:Xt,uniforms:Rt,framebuffer:Ot,extensions:xe,timer:Ct,isBufferArgs:X1},Dt={primTypes:bs,compareFuncs:Ec,blendFuncs:Bu,blendEquations:pt,stencilOps:Up,glTypes:Bn,orientationType:kp};se.optional(function(){Jt.isArrayLike=Li}),tr&&(Dt.backBuffer=[gc],Dt.drawBuffer=Go(et.maxDrawbuffers,function(Z){return Z===0?[0]:Go(Z,function(pe){return sm+pe})}));var vt=0;function Lr(){var Z=lt(),pe=Z.link,Pe=Z.global;Z.id=vt++,Z.batchId="0";var Qe=pe(Jt),qe=Z.shared={props:"a0"};Object.keys(Jt).forEach(function(Ce){qe[Ce]=Pe.def(Qe,".",Ce)}),se.optional(function(){Z.CHECK=pe(se),Z.commandStr=se.guessCommand(),Z.command=pe(Z.commandStr),Z.assert=function(Ce,ae,Me){Ce("if(!(",ae,"))",this.CHECK,".commandRaise(",pe(Me),",",this.command,");")},Dt.invalidBlendCombinations=id});var Se=Z.next={},Ne=Z.current={};Object.keys(Tt).forEach(function(Ce){Array.isArray(At[Ce])&&(Se[Ce]=Pe.def(qe.next,".",Ce),Ne[Ce]=Pe.def(qe.current,".",Ce))});var Ue=Z.constants={};Object.keys(Dt).forEach(function(Ce){Ue[Ce]=Pe.def(JSON.stringify(Dt[Ce]))}),Z.invoke=function(Ce,ae){switch(ae.type){case Cr:var Me=["this",qe.context,qe.props,Z.batchId];return Ce.def(pe(ae.data),".call(",Me.slice(0,Math.max(ae.data.length+1,4)),")");case Dr:return Ce.def(qe.props,ae.data);case Nr:return Ce.def(qe.context,ae.data);case Lo:return Ce.def("this",ae.data);case lr:return ae.data.append(Z,Ce),ae.data.ref}},Z.attribCache={};var me={};return Z.scopeAttrib=function(Ce){var ae=ie.id(Ce);if(ae in me)return me[ae];var Me=Xt.scope[ae];Me||(Me=Xt.scope[ae]=new je);var nt=me[ae]=pe(Me);return nt},Z}function xo(Z){var pe=Z.static,Pe=Z.dynamic,Qe;if(Bi in pe){var qe=!!pe[Bi];Qe=fn(function(Ne,Ue){return qe}),Qe.enable=qe}else if(Bi in Pe){var Se=Pe[Bi];Qe=ts(Se,function(Ne,Ue){return Ne.invoke(Ue,Se)})}return Qe}function sr(Z,pe){var Pe=Z.static,Qe=Z.dynamic;if(da in Pe){var qe=Pe[da];return qe?(qe=Ot.getFramebuffer(qe),se.command(qe,"invalid framebuffer object"),fn(function(Ne,Ue){var me=Ne.link(qe),Ce=Ne.shared;Ue.set(Ce.framebuffer,".next",me);var ae=Ce.context;return Ue.set(ae,"."+sp,me+".width"),Ue.set(ae,"."+hs,me+".height"),me})):fn(function(Ne,Ue){var me=Ne.shared;Ue.set(me.framebuffer,".next","null");var Ce=me.context;return Ue.set(Ce,"."+sp,Ce+"."+ya),Ue.set(Ce,"."+hs,Ce+"."+ky),"null"})}else if(da in Qe){var Se=Qe[da];return ts(Se,function(Ne,Ue){var me=Ne.invoke(Ue,Se),Ce=Ne.shared,ae=Ce.framebuffer,Me=Ue.def(ae,".getFramebuffer(",me,")");se.optional(function(){Ne.assert(Ue,"!"+me+"||"+Me,"invalid framebuffer object")}),Ue.set(ae,".next",Me);var nt=Ce.context;return Ue.set(nt,"."+sp,Me+"?"+Me+".width:"+nt+"."+ya),Ue.set(nt,"."+hs,Me+"?"+Me+".height:"+nt+"."+ky),Me})}else return null}function ho(Z,pe,Pe){var Qe=Z.static,qe=Z.dynamic;function Se(me){if(me in Qe){var Ce=Qe[me];se.commandType(Ce,"object","invalid "+me,Pe.commandStr);var ae=!0,Me=Ce.x|0,nt=Ce.y|0,yt,St;return"width"in Ce?(yt=Ce.width|0,se.command(yt>=0,"invalid "+me,Pe.commandStr)):ae=!1,"height"in Ce?(St=Ce.height|0,se.command(St>=0,"invalid "+me,Pe.commandStr)):ae=!1,new ha(!ae&&pe&&pe.thisDep,!ae&&pe&&pe.contextDep,!ae&&pe&&pe.propDep,function(Tr,fr){var vr=Tr.shared.context,Hr=yt;"width"in Ce||(Hr=fr.def(vr,".",sp,"-",Me));var Qr=St;return"height"in Ce||(Qr=fr.def(vr,".",hs,"-",nt)),[Me,nt,Hr,Qr]})}else if(me in qe){var xt=qe[me],It=ts(xt,function(Tr,fr){var vr=Tr.invoke(fr,xt);se.optional(function(){Tr.assert(fr,vr+"&&typeof "+vr+'==="object"',"invalid "+me)});var Hr=Tr.shared.context,Qr=fr.def(vr,".x|0"),Yo=fr.def(vr,".y|0"),vn=fr.def('"width" in ',vr,"?",vr,".width|0:","(",Hr,".",sp,"-",Qr,")"),su=fr.def('"height" in ',vr,"?",vr,".height|0:","(",Hr,".",hs,"-",Yo,")");return se.optional(function(){Tr.assert(fr,vn+">=0&&"+su+">=0","invalid "+me)}),[Qr,Yo,vn,su]});return pe&&(It.thisDep=It.thisDep||pe.thisDep,It.contextDep=It.contextDep||pe.contextDep,It.propDep=It.propDep||pe.propDep),It}else return pe?new ha(pe.thisDep,pe.contextDep,pe.propDep,function(Tr,fr){var vr=Tr.shared.context;return[0,0,fr.def(vr,".",sp),fr.def(vr,".",hs)]}):null}var Ne=Se(kn);if(Ne){var Ue=Ne;Ne=new ha(Ne.thisDep,Ne.contextDep,Ne.propDep,function(me,Ce){var ae=Ue.append(me,Ce),Me=me.shared.context;return Ce.set(Me,"."+il,ae[2]),Ce.set(Me,"."+J0,ae[3]),ae})}return{viewport:Ne,scissor_box:Se(Ou)}}function eo(Z,pe){var Pe=Z.static,Qe=typeof Pe[ys]=="string"&&typeof Pe[es]=="string";if(Qe){if(Object.keys(pe.dynamic).length>0)return null;var qe=pe.static,Se=Object.keys(qe);if(Se.length>0&&typeof qe[Se[0]]=="number"){for(var Ne=[],Ue=0;Ue=0,"invalid "+ae,pe.commandStr),fn(function(St,xt){return Me&&(St.OFFSET=nt),nt})}else if(ae in Qe){var yt=Qe[ae];return ts(yt,function(St,xt){var It=St.invoke(xt,yt);return Me&&(St.OFFSET=It,se.optional(function(){St.assert(xt,It+">=0","invalid "+ae)})),It})}else if(Me&&Se)return fn(function(St,xt){return St.OFFSET="0",0});return null}var me=Ue(Ms,!0);function Ce(){if(Ki in Pe){var ae=Pe[Ki]|0;return se.command(typeof ae=="number"&&ae>=0,"invalid vertex count",pe.commandStr),fn(function(){return ae})}else if(Ki in Qe){var Me=Qe[Ki];return ts(Me,function(St,xt){var It=St.invoke(xt,Me);return se.optional(function(){St.assert(xt,"typeof "+It+'==="number"&&'+It+">=0&&"+It+"===("+It+"|0)","invalid vertex count")}),It})}else if(Se)if(ia(Se)){if(Se)return me?new ha(me.thisDep,me.contextDep,me.propDep,function(St,xt){var It=xt.def(St.ELEMENTS,".vertCount-",St.OFFSET);return se.optional(function(){St.assert(xt,It+">=0","invalid vertex offset/element buffer too small")}),It}):fn(function(St,xt){return xt.def(St.ELEMENTS,".vertCount")});var nt=fn(function(){return-1});return se.optional(function(){nt.MISSING=!0}),nt}else{var yt=new ha(Se.thisDep||me.thisDep,Se.contextDep||me.contextDep,Se.propDep||me.propDep,function(St,xt){var It=St.ELEMENTS;return St.OFFSET?xt.def(It,"?",It,".vertCount-",St.OFFSET,":-1"):xt.def(It,"?",It,".vertCount:-1")});return se.optional(function(){yt.DYNAMIC=!0}),yt}return null}return{elements:Se,primitive:Ne(),count:Ce(),instances:Ue(ol,!1),offset:me}}function Qi(Z,pe){var Pe=Z.static,Qe=Z.dynamic,qe={};return Mt.forEach(function(Se){var Ne=Qt(Se);function Ue(me,Ce){if(Se in Pe){var ae=me(Pe[Se]);qe[Ne]=fn(function(){return ae})}else if(Se in Qe){var Me=Qe[Se];qe[Ne]=ts(Me,function(nt,yt){return Ce(nt,yt,nt.invoke(yt,Me))})}}switch(Se){case hn:case co:case $r:case Mp:case jr:case ds:case Zn:case oa:case Ja:case Si:return Ue(function(me){return se.commandType(me,"boolean",Se,pe.commandStr),me},function(me,Ce,ae){return se.optional(function(){me.assert(Ce,"typeof "+ae+'==="boolean"',"invalid flag "+Se,me.commandStr)}),ae});case zr:return Ue(function(me){return se.commandParameter(me,Ec,"invalid "+Se,pe.commandStr),Ec[me]},function(me,Ce,ae){var Me=me.constants.compareFuncs;return se.optional(function(){me.assert(Ce,ae+" in "+Me,"invalid "+Se+", must be one of "+Object.keys(Ec))}),Ce.def(Me,"[",ae,"]")});case qi:return Ue(function(me){return se.command(Li(me)&&me.length===2&&typeof me[0]=="number"&&typeof me[1]=="number"&&me[0]<=me[1],"depth range is 2d array",pe.commandStr),me},function(me,Ce,ae){se.optional(function(){me.assert(Ce,me.shared.isArrayLike+"("+ae+")&&"+ae+".length===2&&typeof "+ae+'[0]==="number"&&typeof '+ae+'[1]==="number"&&'+ae+"[0]<="+ae+"[1]","depth range must be a 2d array")});var Me=Ce.def("+",ae,"[0]"),nt=Ce.def("+",ae,"[1]");return[Me,nt]});case uo:return Ue(function(me){se.commandType(me,"object","blend.func",pe.commandStr);var Ce="srcRGB"in me?me.srcRGB:me.src,ae="srcAlpha"in me?me.srcAlpha:me.src,Me="dstRGB"in me?me.dstRGB:me.dst,nt="dstAlpha"in me?me.dstAlpha:me.dst;return se.commandParameter(Ce,Bu,Ne+".srcRGB",pe.commandStr),se.commandParameter(ae,Bu,Ne+".srcAlpha",pe.commandStr),se.commandParameter(Me,Bu,Ne+".dstRGB",pe.commandStr),se.commandParameter(nt,Bu,Ne+".dstAlpha",pe.commandStr),se.command(id.indexOf(Ce+", "+Me)===-1,"unallowed blending combination (srcRGB, dstRGB) = ("+Ce+", "+Me+")",pe.commandStr),[Bu[Ce],Bu[Me],Bu[ae],Bu[nt]]},function(me,Ce,ae){var Me=me.constants.blendFuncs;se.optional(function(){me.assert(Ce,ae+"&&typeof "+ae+'==="object"',"invalid blend func, must be an object")});function nt(vr,Hr){var Qr=Ce.def('"',vr,Hr,'" in ',ae,"?",ae,".",vr,Hr,":",ae,".",vr);return se.optional(function(){me.assert(Ce,Qr+" in "+Me,"invalid "+Se+"."+vr+Hr+", must be one of "+Object.keys(Bu))}),Qr}var yt=nt("src","RGB"),St=nt("dst","RGB");se.optional(function(){var vr=me.constants.invalidBlendCombinations;me.assert(Ce,vr+".indexOf("+yt+'+", "+'+St+") === -1 ","unallowed blending combination for (srcRGB, dstRGB)")});var xt=Ce.def(Me,"[",yt,"]"),It=Ce.def(Me,"[",nt("src","Alpha"),"]"),Tr=Ce.def(Me,"[",St,"]"),fr=Ce.def(Me,"[",nt("dst","Alpha"),"]");return[xt,Tr,It,fr]});case Gr:return Ue(function(me){if(typeof me=="string")return se.commandParameter(me,pt,"invalid "+Se,pe.commandStr),[pt[me],pt[me]];if(typeof me=="object")return se.commandParameter(me.rgb,pt,Se+".rgb",pe.commandStr),se.commandParameter(me.alpha,pt,Se+".alpha",pe.commandStr),[pt[me.rgb],pt[me.alpha]];se.commandRaise("invalid blend.equation",pe.commandStr)},function(me,Ce,ae){var Me=me.constants.blendEquations,nt=Ce.def(),yt=Ce.def(),St=me.cond("typeof ",ae,'==="string"');return se.optional(function(){function xt(It,Tr,fr){me.assert(It,fr+" in "+Me,"invalid "+Tr+", must be one of "+Object.keys(pt))}xt(St.then,Se,ae),me.assert(St.else,ae+"&&typeof "+ae+'==="object"',"invalid "+Se),xt(St.else,Se+".rgb",ae+".rgb"),xt(St.else,Se+".alpha",ae+".alpha")}),St.then(nt,"=",yt,"=",Me,"[",ae,"];"),St.else(nt,"=",Me,"[",ae,".rgb];",yt,"=",Me,"[",ae,".alpha];"),Ce(St),[nt,yt]});case Xr:return Ue(function(me){return se.command(Li(me)&&me.length===4,"blend.color must be a 4d array",pe.commandStr),Go(4,function(Ce){return+me[Ce]})},function(me,Ce,ae){return se.optional(function(){me.assert(Ce,me.shared.isArrayLike+"("+ae+")&&"+ae+".length===4","blend.color must be a 4d array")}),Go(4,function(Me){return Ce.def("+",ae,"[",Me,"]")})});case np:return Ue(function(me){return se.commandType(me,"number",Ne,pe.commandStr),me|0},function(me,Ce,ae){return se.optional(function(){me.assert(Ce,"typeof "+ae+'==="number"',"invalid stencil.mask")}),Ce.def(ae,"|0")});case Is:return Ue(function(me){se.commandType(me,"object",Ne,pe.commandStr);var Ce=me.cmp||"keep",ae=me.ref||0,Me="mask"in me?me.mask:-1;return se.commandParameter(Ce,Ec,Se+".cmp",pe.commandStr),se.commandType(ae,"number",Se+".ref",pe.commandStr),se.commandType(Me,"number",Se+".mask",pe.commandStr),[Ec[Ce],ae,Me]},function(me,Ce,ae){var Me=me.constants.compareFuncs;se.optional(function(){function xt(){me.assert(Ce,Array.prototype.join.call(arguments,""),"invalid stencil.func")}xt(ae+"&&typeof ",ae,'==="object"'),xt('!("cmp" in ',ae,")||(",ae,".cmp in ",Me,")")});var nt=Ce.def('"cmp" in ',ae,"?",Me,"[",ae,".cmp]",":",Bp),yt=Ce.def(ae,".ref|0"),St=Ce.def('"mask" in ',ae,"?",ae,".mask|0:-1");return[nt,yt,St]});case Du:case iu:return Ue(function(me){se.commandType(me,"object",Ne,pe.commandStr);var Ce=me.fail||"keep",ae=me.zfail||"keep",Me=me.zpass||"keep";return se.commandParameter(Ce,Up,Se+".fail",pe.commandStr),se.commandParameter(ae,Up,Se+".zfail",pe.commandStr),se.commandParameter(Me,Up,Se+".zpass",pe.commandStr),[Se===iu?gc:pp,Up[Ce],Up[ae],Up[Me]]},function(me,Ce,ae){var Me=me.constants.stencilOps;se.optional(function(){me.assert(Ce,ae+"&&typeof "+ae+'==="object"',"invalid "+Se)});function nt(yt){return se.optional(function(){me.assert(Ce,'!("'+yt+'" in '+ae+")||("+ae+"."+yt+" in "+Me+")","invalid "+Se+"."+yt+", must be one of "+Object.keys(Up))}),Ce.def('"',yt,'" in ',ae,"?",Me,"[",ae,".",yt,"]:",Bp)}return[Se===iu?gc:pp,nt("fail"),nt("zfail"),nt("zpass")]});case Cs:return Ue(function(me){se.commandType(me,"object",Ne,pe.commandStr);var Ce=me.factor|0,ae=me.units|0;return se.commandType(Ce,"number",Ne+".factor",pe.commandStr),se.commandType(ae,"number",Ne+".units",pe.commandStr),[Ce,ae]},function(me,Ce,ae){se.optional(function(){me.assert(Ce,ae+"&&typeof "+ae+'==="object"',"invalid "+Se)});var Me=Ce.def(ae,".factor|0"),nt=Ce.def(ae,".units|0");return[Me,nt]});case Fi:return Ue(function(me){var Ce=0;return me==="front"?Ce=pp:me==="back"&&(Ce=gc),se.command(!!Ce,Ne,pe.commandStr),Ce},function(me,Ce,ae){return se.optional(function(){me.assert(Ce,ae+'==="front"||'+ae+'==="back"',"invalid cull.face")}),Ce.def(ae,'==="front"?',pp,":",gc)});case ra:return Ue(function(me){return se.command(typeof me=="number"&&me>=et.lineWidthDims[0]&&me<=et.lineWidthDims[1],"invalid line width, must be a positive number between "+et.lineWidthDims[0]+" and "+et.lineWidthDims[1],pe.commandStr),me},function(me,Ce,ae){return se.optional(function(){me.assert(Ce,"typeof "+ae+'==="number"&&'+ae+">="+et.lineWidthDims[0]+"&&"+ae+"<="+et.lineWidthDims[1],"invalid line width")}),ae});case wi:return Ue(function(me){return se.commandParameter(me,kp,Ne,pe.commandStr),kp[me]},function(me,Ce,ae){return se.optional(function(){me.assert(Ce,ae+'==="cw"||'+ae+'==="ccw"',"invalid frontFace, must be one of cw,ccw")}),Ce.def(ae+'==="cw"?'+W1+":"+td)});case Rn:return Ue(function(me){return se.command(Li(me)&&me.length===4,"color.mask must be length 4 array",pe.commandStr),me.map(function(Ce){return!!Ce})},function(me,Ce,ae){return se.optional(function(){me.assert(Ce,me.shared.isArrayLike+"("+ae+")&&"+ae+".length===4","invalid color.mask")}),Go(4,function(Me){return"!!"+ae+"["+Me+"]"})});case wa:return Ue(function(me){se.command(typeof me=="object"&&me,Ne,pe.commandStr);var Ce="value"in me?me.value:1,ae=!!me.invert;return se.command(typeof Ce=="number"&&Ce>=0&&Ce<=1,"sample.coverage.value must be a number between 0 and 1",pe.commandStr),[Ce,ae]},function(me,Ce,ae){se.optional(function(){me.assert(Ce,ae+"&&typeof "+ae+'==="object"',"invalid sample.coverage")});var Me=Ce.def('"value" in ',ae,"?+",ae,".value:1"),nt=Ce.def("!!",ae,".invert");return[Me,nt]})}}),qe}function zn(Z,pe){var Pe=Z.static,Qe=Z.dynamic,qe={};return Object.keys(Pe).forEach(function(Se){var Ne=Pe[Se],Ue;if(typeof Ne=="number"||typeof Ne=="boolean")Ue=fn(function(){return Ne});else if(typeof Ne=="function"){var me=Ne._reglType;me==="texture2d"||me==="textureCube"?Ue=fn(function(Ce){return Ce.link(Ne)}):me==="framebuffer"||me==="framebufferCube"?(se.command(Ne.color.length>0,'missing color attachment for framebuffer sent to uniform "'+Se+'"',pe.commandStr),Ue=fn(function(Ce){return Ce.link(Ne.color[0])})):se.commandRaise('invalid data for uniform "'+Se+'"',pe.commandStr)}else Li(Ne)?Ue=fn(function(Ce){var ae=Ce.global.def("[",Go(Ne.length,function(Me){return se.command(typeof Ne[Me]=="number"||typeof Ne[Me]=="boolean","invalid uniform "+Se,Ce.commandStr),Ne[Me]}),"]");return ae}):se.commandRaise('invalid or missing data for uniform "'+Se+'"',pe.commandStr);Ue.value=Ne,qe[Se]=Ue}),Object.keys(Qe).forEach(function(Se){var Ne=Qe[Se];qe[Se]=ts(Ne,function(Ue,me){return Ue.invoke(me,Ne)})}),qe}function Ro(Z,pe){var Pe=Z.static,Qe=Z.dynamic,qe={};return Object.keys(Pe).forEach(function(Se){var Ne=Pe[Se],Ue=ie.id(Se),me=new je;if(X1(Ne))me.state=Bt,me.buffer=gt.getBuffer(gt.create(Ne,nl,!1,!0)),me.type=0;else{var Ce=gt.getBuffer(Ne);if(Ce)me.state=Bt,me.buffer=Ce,me.type=0;else if(se.command(typeof Ne=="object"&&Ne,"invalid data for attribute "+Se,pe.commandStr),"constant"in Ne){var ae=Ne.constant;me.buffer="null",me.state=nr,typeof ae=="number"?me.x=ae:(se.command(Li(ae)&&ae.length>0&&ae.length<=4,"invalid constant for attribute "+Se,pe.commandStr),Pt.forEach(function(Tr,fr){fr=0,'invalid offset for attribute "'+Se+'"',pe.commandStr);var nt=Ne.stride|0;se.command(nt>=0&&nt<256,'invalid stride for attribute "'+Se+'", must be integer betweeen [0, 255]',pe.commandStr);var yt=Ne.size|0;se.command(!("size"in Ne)||yt>0&&yt<=4,'invalid size for attribute "'+Se+'", must be 1,2,3,4',pe.commandStr);var St=!!Ne.normalized,xt=0;"type"in Ne&&(se.commandParameter(Ne.type,Bn,"invalid type for attribute "+Se,pe.commandStr),xt=Bn[Ne.type]);var It=Ne.divisor|0;"divisor"in Ne&&(se.command(It===0||Lt,'cannot specify divisor for attribute "'+Se+'", instancing not supported',pe.commandStr),se.command(It>=0,'invalid divisor for attribute "'+Se+'"',pe.commandStr)),se.optional(function(){var Tr=pe.commandStr,fr=["buffer","offset","divisor","normalized","type","size","stride"];Object.keys(Ne).forEach(function(vr){se.command(fr.indexOf(vr)>=0,'unknown parameter "'+vr+'" for attribute pointer "'+Se+'" (valid parameters are '+fr+")",Tr)})}),me.buffer=Ce,me.state=Bt,me.size=yt,me.normalized=St,me.type=xt||Ce.dtype,me.offset=Me,me.stride=nt,me.divisor=It}}qe[Se]=fn(function(Tr,fr){var vr=Tr.attribCache;if(Ue in vr)return vr[Ue];var Hr={isStream:!1};return Object.keys(me).forEach(function(Qr){Hr[Qr]=me[Qr]}),me.buffer&&(Hr.buffer=Tr.link(me.buffer),Hr.type=Hr.type||Hr.buffer+".dtype"),vr[Ue]=Hr,Hr})}),Object.keys(Qe).forEach(function(Se){var Ne=Qe[Se];function Ue(me,Ce){var ae=me.invoke(Ce,Ne),Me=me.shared,nt=me.constants,yt=Me.isBufferArgs,St=Me.buffer;se.optional(function(){me.assert(Ce,ae+"&&(typeof "+ae+'==="object"||typeof '+ae+'==="function")&&('+yt+"("+ae+")||"+St+".getBuffer("+ae+")||"+St+".getBuffer("+ae+".buffer)||"+yt+"("+ae+'.buffer)||("constant" in '+ae+"&&(typeof "+ae+'.constant==="number"||'+Me.isArrayLike+"("+ae+".constant))))",'invalid dynamic attribute "'+Se+'"')});var xt={isStream:Ce.def(!1)},It=new je;It.state=Bt,Object.keys(It).forEach(function(Hr){xt[Hr]=Ce.def(""+It[Hr])});var Tr=xt.buffer,fr=xt.type;Ce("if(",yt,"(",ae,")){",xt.isStream,"=true;",Tr,"=",St,".createStream(",nl,",",ae,");",fr,"=",Tr,".dtype;","}else{",Tr,"=",St,".getBuffer(",ae,");","if(",Tr,"){",fr,"=",Tr,".dtype;",'}else if("constant" in ',ae,"){",xt.state,"=",nr,";","if(typeof "+ae+'.constant === "number"){',xt[Pt[0]],"=",ae,".constant;",Pt.slice(1).map(function(Hr){return xt[Hr]}).join("="),"=0;","}else{",Pt.map(function(Hr,Qr){return xt[Hr]+"="+ae+".constant.length>"+Qr+"?"+ae+".constant["+Qr+"]:0;"}).join(""),"}}else{","if(",yt,"(",ae,".buffer)){",Tr,"=",St,".createStream(",nl,",",ae,".buffer);","}else{",Tr,"=",St,".getBuffer(",ae,".buffer);","}",fr,'="type" in ',ae,"?",nt.glTypes,"[",ae,".type]:",Tr,".dtype;",xt.normalized,"=!!",ae,".normalized;");function vr(Hr){Ce(xt[Hr],"=",ae,".",Hr,"|0;")}return vr("size"),vr("offset"),vr("stride"),vr("divisor"),Ce("}}"),Ce.exit("if(",xt.isStream,"){",St,".destroyStream(",Tr,");","}"),xt}qe[Se]=ts(Ne,Ue)}),qe}function Ji(Z,pe){var Pe=Z.static,Qe=Z.dynamic;if(Lu in Pe){var qe=Pe[Lu];return qe!==null&&Xt.getVAO(qe)===null&&(qe=Xt.createVAO(qe)),fn(function(Ne){return Ne.link(Xt.getVAO(qe))})}else if(Lu in Qe){var Se=Qe[Lu];return ts(Se,function(Ne,Ue){var me=Ne.invoke(Ue,Se);return Ue.def(Ne.shared.vao+".getVAO("+me+")")})}return null}function mi(Z){var pe=Z.static,Pe=Z.dynamic,Qe={};return Object.keys(pe).forEach(function(qe){var Se=pe[qe];Qe[qe]=fn(function(Ne,Ue){return typeof Se=="number"||typeof Se=="boolean"?""+Se:Ne.link(Se)})}),Object.keys(Pe).forEach(function(qe){var Se=Pe[qe];Qe[qe]=ts(Se,function(Ne,Ue){return Ne.invoke(Ue,Se)})}),Qe}function mn(Z,pe,Pe,Qe,qe){var Se=Z.static,Ne=Z.dynamic;se.optional(function(){var vr=[da,es,ys,Io,Cn,Ms,Ki,ol,Bi,Lu].concat(Mt);function Hr(Qr){Object.keys(Qr).forEach(function(Yo){se.command(vr.indexOf(Yo)>=0,'unknown parameter "'+Yo+'"',qe.commandStr)})}Hr(Se),Hr(Ne)});var Ue=eo(Z,pe),me=sr(Z),Ce=ho(Z,me,qe),ae=jo(Z,qe),Me=Qi(Z,qe),nt=Wr(Z,qe,Ue);function yt(vr){var Hr=Ce[vr];Hr&&(Me[vr]=Hr)}yt(kn),yt(Qt(Ou));var St=Object.keys(Me).length>0,xt={framebuffer:me,draw:ae,shader:nt,state:Me,dirty:St,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}};if(xt.profile=xo(Z),xt.uniforms=zn(Pe,qe),xt.drawVAO=xt.scopeVAO=Ji(Z),!xt.drawVAO&&nt.program&&!Ue&&xe.angle_instanced_arrays){var It=!0,Tr=nt.program.attributes.map(function(vr){var Hr=pe.static[vr];return It=It&&!!Hr,Hr});if(It&&Tr.length>0){var fr=Xt.getVAO(Xt.createVAO(Tr));xt.drawVAO=new ha(null,null,null,function(vr,Hr){return vr.link(fr)}),xt.useVAO=!0}}return Ue?xt.useVAO=!0:xt.attributes=Ro(pe,qe),xt.context=mi(Qe),xt}function _n(Z,pe,Pe){var Qe=Z.shared,qe=Qe.context,Se=Z.scope();Object.keys(Pe).forEach(function(Ne){pe.save(qe,"."+Ne);var Ue=Pe[Ne];Se(qe,".",Ne,"=",Ue.append(Z,pe),";")}),pe(Se)}function ki(Z,pe,Pe,Qe){var qe=Z.shared,Se=qe.gl,Ne=qe.framebuffer,Ue;tr&&(Ue=pe.def(qe.extensions,".webgl_draw_buffers"));var me=Z.constants,Ce=me.drawBuffer,ae=me.backBuffer,Me;Pe?Me=Pe.append(Z,pe):Me=pe.def(Ne,".next"),Qe||pe("if(",Me,"!==",Ne,".cur){"),pe("if(",Me,"){",Se,".bindFramebuffer(",vc,",",Me,".framebuffer);"),tr&&pe(Ue,".drawBuffersWEBGL(",Ce,"[",Me,".colorAttachments.length]);"),pe("}else{",Se,".bindFramebuffer(",vc,",null);"),tr&&pe(Ue,".drawBuffersWEBGL(",ae,");"),pe("}",Ne,".cur=",Me,";"),Qe||pe("}")}function In(Z,pe,Pe){var Qe=Z.shared,qe=Qe.gl,Se=Z.current,Ne=Z.next,Ue=Qe.current,me=Qe.next,Ce=Z.cond(Ue,".dirty");Mt.forEach(function(ae){var Me=Qt(ae);if(!(Me in Pe.state)){var nt,yt;if(Me in Ne){nt=Ne[Me],yt=Se[Me];var St=Go(At[Me].length,function(It){return Ce.def(nt,"[",It,"]")});Ce(Z.cond(St.map(function(It,Tr){return It+"!=="+yt+"["+Tr+"]"}).join("||")).then(qe,".",Tt[Me],"(",St,");",St.map(function(It,Tr){return yt+"["+Tr+"]="+It}).join(";"),";"))}else{nt=Ce.def(me,".",Me);var xt=Z.cond(nt,"!==",Ue,".",Me);Ce(xt),Me in rr?xt(Z.cond(nt).then(qe,".enable(",rr[Me],");").else(qe,".disable(",rr[Me],");"),Ue,".",Me,"=",nt,";"):xt(qe,".",Tt[Me],"(",nt,");",Ue,".",Me,"=",nt,";")}}}),Object.keys(Pe.state).length===0&&Ce(Ue,".dirty=false;"),pe(Ce)}function na(Z,pe,Pe,Qe){var qe=Z.shared,Se=Z.current,Ne=qe.current,Ue=qe.gl;Z1(Object.keys(Pe)).forEach(function(me){var Ce=Pe[me];if(!(Qe&&!Qe(Ce))){var ae=Ce.append(Z,pe);if(rr[me]){var Me=rr[me];ia(Ce)?ae?pe(Ue,".enable(",Me,");"):pe(Ue,".disable(",Me,");"):pe(Z.cond(ae).then(Ue,".enable(",Me,");").else(Ue,".disable(",Me,");")),pe(Ne,".",me,"=",ae,";")}else if(Li(ae)){var nt=Se[me];pe(Ue,".",Tt[me],"(",ae,");",ae.map(function(yt,St){return nt+"["+St+"]="+yt}).join(";"),";")}else pe(Ue,".",Tt[me],"(",ae,");",Ne,".",me,"=",ae,";")}})}function gn(Z,pe){Lt&&(Z.instancing=pe.def(Z.shared.extensions,".angle_instanced_arrays"))}function yo(Z,pe,Pe,Qe,qe){var Se=Z.shared,Ne=Z.stats,Ue=Se.current,me=Se.timer,Ce=Pe.profile;function ae(){return typeof performance>"u"?"Date.now()":"performance.now()"}var Me,nt;function yt(vr){Me=pe.def(),vr(Me,"=",ae(),";"),typeof qe=="string"?vr(Ne,".count+=",qe,";"):vr(Ne,".count++;"),Ct&&(Qe?(nt=pe.def(),vr(nt,"=",me,".getNumPendingQueries();")):vr(me,".beginQuery(",Ne,");"))}function St(vr){vr(Ne,".cpuTime+=",ae(),"-",Me,";"),Ct&&(Qe?vr(me,".pushScopeStats(",nt,",",me,".getNumPendingQueries(),",Ne,");"):vr(me,".endQuery();"))}function xt(vr){var Hr=pe.def(Ue,".profile");pe(Ue,".profile=",vr,";"),pe.exit(Ue,".profile=",Hr,";")}var It;if(Ce){if(ia(Ce)){Ce.enable?(yt(pe),St(pe.exit),xt("true")):xt("false");return}It=Ce.append(Z,pe),xt(It)}else It=pe.def(Ue,".profile");var Tr=Z.block();yt(Tr),pe("if(",It,"){",Tr,"}");var fr=Z.block();St(fr),pe.exit("if(",It,"){",fr,"}")}function Yn(Z,pe,Pe,Qe,qe){var Se=Z.shared;function Ne(me){switch(me){case V1:case G1:case hc:return 2;case al:case Ui:case fc:return 3;case H1:case yc:case Lp:return 4;default:return 1}}function Ue(me,Ce,ae){var Me=Se.gl,nt=pe.def(me,".location"),yt=pe.def(Se.attributes,"[",nt,"]"),St=ae.state,xt=ae.buffer,It=[ae.x,ae.y,ae.z,ae.w],Tr=["buffer","normalized","offset","stride"];function fr(){pe("if(!",yt,".buffer){",Me,".enableVertexAttribArray(",nt,");}");var Hr=ae.type,Qr;if(ae.size?Qr=pe.def(ae.size,"||",Ce):Qr=Ce,pe("if(",yt,".type!==",Hr,"||",yt,".size!==",Qr,"||",Tr.map(function(vn){return yt+"."+vn+"!=="+ae[vn]}).join("||"),"){",Me,".bindBuffer(",nl,",",xt,".buffer);",Me,".vertexAttribPointer(",[nt,Qr,Hr,ae.normalized,ae.stride,ae.offset],");",yt,".type=",Hr,";",yt,".size=",Qr,";",Tr.map(function(vn){return yt+"."+vn+"="+ae[vn]+";"}).join(""),"}"),Lt){var Yo=ae.divisor;pe("if(",yt,".divisor!==",Yo,"){",Z.instancing,".vertexAttribDivisorANGLE(",[nt,Yo],");",yt,".divisor=",Yo,";}")}}function vr(){pe("if(",yt,".buffer){",Me,".disableVertexAttribArray(",nt,");",yt,".buffer=null;","}if(",Pt.map(function(Hr,Qr){return yt+"."+Hr+"!=="+It[Qr]}).join("||"),"){",Me,".vertexAttrib4f(",nt,",",It,");",Pt.map(function(Hr,Qr){return yt+"."+Hr+"="+It[Qr]+";"}).join(""),"}")}St===Bt?fr():St===nr?vr():(pe("if(",St,"===",Bt,"){"),fr(),pe("}else{"),vr(),pe("}"))}Qe.forEach(function(me){var Ce=me.name,ae=Pe.attributes[Ce],Me;if(ae){if(!qe(ae))return;Me=ae.append(Z,pe)}else{if(!qe(Yy))return;var nt=Z.scopeAttrib(Ce);se.optional(function(){Z.assert(pe,nt+".state","missing attribute "+Ce)}),Me={},Object.keys(new je).forEach(function(yt){Me[yt]=pe.def(nt,".",yt)})}Ue(Z.link(me),Ne(me.info.type),Me)})}function Zo(Z,pe,Pe,Qe,qe){for(var Se=Z.shared,Ne=Se.gl,Ue,me=0;me1?pe(Go(Hr,function(su){return xt+"["+su+"]"})):pe(xt);pe(");")}}function Vr(Z,pe,Pe,Qe){var qe=Z.shared,Se=qe.gl,Ne=qe.draw,Ue=Qe.draw;function me(){var Qr=Ue.elements,Yo,vn=pe;return Qr?((Qr.contextDep&&Qe.contextDynamic||Qr.propDep)&&(vn=Pe),Yo=Qr.append(Z,vn)):Yo=vn.def(Ne,".",Io),Yo&&vn("if("+Yo+")"+Se+".bindBuffer("+Qf+","+Yo+".buffer.buffer);"),Yo}function Ce(){var Qr=Ue.count,Yo,vn=pe;return Qr?((Qr.contextDep&&Qe.contextDynamic||Qr.propDep)&&(vn=Pe),Yo=Qr.append(Z,vn),se.optional(function(){Qr.MISSING&&Z.assert(pe,"false","missing vertex count"),Qr.DYNAMIC&&Z.assert(vn,Yo+">=0","missing vertex count")})):(Yo=vn.def(Ne,".",Ki),se.optional(function(){Z.assert(vn,Yo+">=0","missing vertex count")})),Yo}var ae=me();function Me(Qr){var Yo=Ue[Qr];return Yo?Yo.contextDep&&Qe.contextDynamic||Yo.propDep?Yo.append(Z,Pe):Yo.append(Z,pe):pe.def(Ne,".",Qr)}var nt=Me(Cn),yt=Me(Ms),St=Ce();if(typeof St=="number"){if(St===0)return}else Pe("if(",St,"){"),Pe.exit("}");var xt,It;Lt&&(xt=Me(ol),It=Z.instancing);var Tr=ae+".type",fr=Ue.elements&&ia(Ue.elements);function vr(){function Qr(){Pe(It,".drawElementsInstancedANGLE(",[nt,St,Tr,yt+"<<(("+Tr+"-"+Ht+")>>1)",xt],");")}function Yo(){Pe(It,".drawArraysInstancedANGLE(",[nt,yt,St,xt],");")}ae?fr?Qr():(Pe("if(",ae,"){"),Qr(),Pe("}else{"),Yo(),Pe("}")):Yo()}function Hr(){function Qr(){Pe(Se+".drawElements("+[nt,St,Tr,yt+"<<(("+Tr+"-"+Ht+")>>1)"]+");")}function Yo(){Pe(Se+".drawArrays("+[nt,yt,St]+");")}ae?fr?Qr():(Pe("if(",ae,"){"),Qr(),Pe("}else{"),Yo(),Pe("}")):Yo()}Lt&&(typeof xt!="number"||xt>=0)?typeof xt=="string"?(Pe("if(",xt,">0){"),vr(),Pe("}else if(",xt,"<0){"),Hr(),Pe("}")):vr():Hr()}function To(Z,pe,Pe,Qe,qe){var Se=Lr(),Ne=Se.proc("body",qe);return se.optional(function(){Se.commandStr=pe.commandStr,Se.command=Se.link(pe.commandStr)}),Lt&&(Se.instancing=Ne.def(Se.shared.extensions,".angle_instanced_arrays")),Z(Se,Ne,Pe,Qe),Se.compile().body}function zo(Z,pe,Pe,Qe){gn(Z,pe),Pe.useVAO?Pe.drawVAO?pe(Z.shared.vao,".setVAO(",Pe.drawVAO.append(Z,pe),");"):pe(Z.shared.vao,".setVAO(",Z.shared.vao,".targetVAO);"):(pe(Z.shared.vao,".setVAO(null);"),Yn(Z,pe,Pe,Qe.attributes,function(){return!0})),Zo(Z,pe,Pe,Qe.uniforms,function(){return!0}),Vr(Z,pe,pe,Pe)}function en(Z,pe){var Pe=Z.proc("draw",1);gn(Z,Pe),_n(Z,Pe,pe.context),ki(Z,Pe,pe.framebuffer),In(Z,Pe,pe),na(Z,Pe,pe.state),yo(Z,Pe,pe,!1,!0);var Qe=pe.shader.progVar.append(Z,Pe);if(Pe(Z.shared.gl,".useProgram(",Qe,".program);"),pe.shader.program)zo(Z,Pe,pe,pe.shader.program);else{Pe(Z.shared.vao,".setVAO(null);");var qe=Z.global.def("{}"),Se=Pe.def(Qe,".id"),Ne=Pe.def(qe,"[",Se,"]");Pe(Z.cond(Ne).then(Ne,".call(this,a0);").else(Ne,"=",qe,"[",Se,"]=",Z.link(function(Ue){return To(zo,Z,pe,Ue,1)}),"(",Qe,");",Ne,".call(this,a0);"))}Object.keys(pe.state).length>0&&Pe(Z.shared.current,".dirty=true;")}function au(Z,pe,Pe,Qe){Z.batchId="a1",gn(Z,pe);function qe(){return!0}Yn(Z,pe,Pe,Qe.attributes,qe),Zo(Z,pe,Pe,Qe.uniforms,qe),Vr(Z,pe,pe,Pe)}function fe(Z,pe,Pe,Qe){gn(Z,pe);var qe=Pe.contextDep,Se=pe.def(),Ne="a0",Ue="a1",me=pe.def();Z.shared.props=me,Z.batchId=Se;var Ce=Z.scope(),ae=Z.scope();pe(Ce.entry,"for(",Se,"=0;",Se,"<",Ue,";++",Se,"){",me,"=",Ne,"[",Se,"];",ae,"}",Ce.exit);function Me(Tr){return Tr.contextDep&&qe||Tr.propDep}function nt(Tr){return!Me(Tr)}if(Pe.needsContext&&_n(Z,ae,Pe.context),Pe.needsFramebuffer&&ki(Z,ae,Pe.framebuffer),na(Z,ae,Pe.state,Me),Pe.profile&&Me(Pe.profile)&&yo(Z,ae,Pe,!1,!0),Qe)Pe.useVAO?Pe.drawVAO?Me(Pe.drawVAO)?ae(Z.shared.vao,".setVAO(",Pe.drawVAO.append(Z,ae),");"):Ce(Z.shared.vao,".setVAO(",Pe.drawVAO.append(Z,Ce),");"):Ce(Z.shared.vao,".setVAO(",Z.shared.vao,".targetVAO);"):(Ce(Z.shared.vao,".setVAO(null);"),Yn(Z,Ce,Pe,Qe.attributes,nt),Yn(Z,ae,Pe,Qe.attributes,Me)),Zo(Z,Ce,Pe,Qe.uniforms,nt),Zo(Z,ae,Pe,Qe.uniforms,Me),Vr(Z,Ce,ae,Pe);else{var yt=Z.global.def("{}"),St=Pe.shader.progVar.append(Z,ae),xt=ae.def(St,".id"),It=ae.def(yt,"[",xt,"]");ae(Z.shared.gl,".useProgram(",St,".program);","if(!",It,"){",It,"=",yt,"[",xt,"]=",Z.link(function(Tr){return To(au,Z,Pe,Tr,2)}),"(",St,");}",It,".call(this,a0[",Se,"],",Se,");")}}function ot(Z,pe){var Pe=Z.proc("batch",2);Z.batchId="0",gn(Z,Pe);var Qe=!1,qe=!0;Object.keys(pe.context).forEach(function(yt){Qe=Qe||pe.context[yt].propDep}),Qe||(_n(Z,Pe,pe.context),qe=!1);var Se=pe.framebuffer,Ne=!1;Se?(Se.propDep?Qe=Ne=!0:Se.contextDep&&Qe&&(Ne=!0),Ne||ki(Z,Pe,Se)):ki(Z,Pe,null),pe.state.viewport&&pe.state.viewport.propDep&&(Qe=!0);function Ue(yt){return yt.contextDep&&Qe||yt.propDep}In(Z,Pe,pe),na(Z,Pe,pe.state,function(yt){return!Ue(yt)}),(!pe.profile||!Ue(pe.profile))&&yo(Z,Pe,pe,!1,"a1"),pe.contextDep=Qe,pe.needsContext=qe,pe.needsFramebuffer=Ne;var me=pe.shader.progVar;if(me.contextDep&&Qe||me.propDep)fe(Z,Pe,pe,null);else{var Ce=me.append(Z,Pe);if(Pe(Z.shared.gl,".useProgram(",Ce,".program);"),pe.shader.program)fe(Z,Pe,pe,pe.shader.program);else{Pe(Z.shared.vao,".setVAO(null);");var ae=Z.global.def("{}"),Me=Pe.def(Ce,".id"),nt=Pe.def(ae,"[",Me,"]");Pe(Z.cond(nt).then(nt,".call(this,a0,a1);").else(nt,"=",ae,"[",Me,"]=",Z.link(function(yt){return To(fe,Z,pe,yt,2)}),"(",Ce,");",nt,".call(this,a0,a1);"))}}Object.keys(pe.state).length>0&&Pe(Z.shared.current,".dirty=true;")}function Ke(Z,pe){var Pe=Z.proc("scope",3);Z.batchId="a2";var Qe=Z.shared,qe=Qe.current;_n(Z,Pe,pe.context),pe.framebuffer&&pe.framebuffer.append(Z,Pe),Z1(Object.keys(pe.state)).forEach(function(Ne){var Ue=pe.state[Ne],me=Ue.append(Z,Pe);Li(me)?me.forEach(function(Ce,ae){Pe.set(Z.next[Ne],"["+ae+"]",Ce)}):Pe.set(Qe.next,"."+Ne,me)}),yo(Z,Pe,pe,!0,!0),[Io,Ms,Ki,ol,Cn].forEach(function(Ne){var Ue=pe.draw[Ne];Ue&&Pe.set(Qe.draw,"."+Ne,""+Ue.append(Z,Pe))}),Object.keys(pe.uniforms).forEach(function(Ne){Pe.set(Qe.uniforms,"["+ie.id(Ne)+"]",pe.uniforms[Ne].append(Z,Pe))}),Object.keys(pe.attributes).forEach(function(Ne){var Ue=pe.attributes[Ne].append(Z,Pe),me=Z.scopeAttrib(Ne);Object.keys(new je).forEach(function(Ce){Pe.set(me,"."+Ce,Ue[Ce])})}),pe.scopeVAO&&Pe.set(Qe.vao,".targetVAO",pe.scopeVAO.append(Z,Pe));function Se(Ne){var Ue=pe.shader[Ne];Ue&&Pe.set(Qe.shader,"."+Ne,Ue.append(Z,Pe))}Se(es),Se(ys),Object.keys(pe.state).length>0&&(Pe(qe,".dirty=true;"),Pe.exit(qe,".dirty=true;")),Pe("a1(",Z.shared.context,",a0,",Z.batchId,");")}function ur(Z){if(!(typeof Z!="object"||Li(Z))){for(var pe=Object.keys(Z),Pe=0;Pe=0;--Vr){var To=vt[Vr];To&&To(Ct,null,0)}xe.flush(),Xt&&Xt.update()}function Wr(){!ho&&vt.length>0&&(ho=us.next(eo))}function jo(){ho&&(us.cancel(eo),ho=null)}function Qi(Vr){Vr.preventDefault(),gt=!0,jo(),Lr.forEach(function(To){To()})}function zn(Vr){xe.getError(),gt=!1,tt.restore(),Mt.restore(),Lt.restore(),rr.restore(),Tt.restore(),Qt.restore(),tr.restore(),Xt&&Xt.restore(),Or.procs.refresh(),Wr(),xo.forEach(function(To){To()})}Dt&&(Dt.addEventListener(nd,Qi,!1),Dt.addEventListener(Jy,zn,!1));function Ro(){vt.length=0,jo(),Dt&&(Dt.removeEventListener(nd,Qi),Dt.removeEventListener(Jy,zn)),Mt.clear(),Qt.clear(),Tt.clear(),rr.clear(),ar.clear(),Lt.clear(),tr.clear(),Xt&&Xt.clear(),sr.forEach(function(Vr){Vr()})}function Ji(Vr){se(!!Vr,"invalid args to regl({...})"),se.type(Vr,"object","invalid args to regl({...})");function To(qe){var Se=i({},qe);delete Se.uniforms,delete Se.attributes,delete Se.context,delete Se.vao,"stencil"in Se&&Se.stencil.op&&(Se.stencil.opBack=Se.stencil.opFront=Se.stencil.op,delete Se.stencil.op);function Ne(Ue){if(Ue in Se){var me=Se[Ue];delete Se[Ue],Object.keys(me).forEach(function(Ce){Se[Ue+"."+Ce]=me[Ce]})}}return Ne("blend"),Ne("depth"),Ne("cull"),Ne("stencil"),Ne("polygonOffset"),Ne("scissor"),Ne("sample"),"vao"in qe&&(Se.vao=qe.vao),Se}function zo(qe){var Se={},Ne={};return Object.keys(qe).forEach(function(Ue){var me=qe[Ue];zi.isDynamic(me)?Ne[Ue]=zi.unbox(me,Ue):Se[Ue]=me}),{dynamic:Ne,static:Se}}var en=zo(Vr.context||{}),au=zo(Vr.uniforms||{}),fe=zo(Vr.attributes||{}),ot=zo(To(Vr)),Ke={gpuTime:0,cpuTime:0,count:0},ur=Or.compile(ot,fe,au,en,Ke),fo=ur.draw,ii=ur.batch,Z=ur.scope,pe=[];function Pe(qe){for(;pe.length0)return ii.call(this,Pe(qe|0),qe|0)}else if(Array.isArray(qe)){if(qe.length)return ii.call(this,qe,qe.length)}else return fo.call(this,qe)}return i(Qe,{stats:Ke})}var mi=Qt.setFBO=Ji({framebuffer:zi.define.call(null,ad,"framebuffer")});function mn(Vr,To){var zo=0;Or.procs.poll();var en=To.color;en&&(xe.clearColor(+en[0]||0,+en[1]||0,+en[2]||0,+en[3]||0),zo|=Ky),"depth"in To&&(xe.clearDepth(+To.depth),zo|=fa),"stencil"in To&&(xe.clearStencil(To.stencil|0),zo|=lm),se(!!zo,"called regl.clear with no buffer specified"),xe.clear(zo)}function _n(Vr){if(se(typeof Vr=="object"&&Vr,"regl.clear() takes an object as input"),"framebuffer"in Vr)if(Vr.framebuffer&&Vr.framebuffer_reglType==="framebufferCube")for(var To=0;To<6;++To)mi(i({framebuffer:Vr.framebuffer.faces[To]},Vr),mn);else mi(Vr,mn);else mn(null,Vr)}function ki(Vr){se.type(Vr,"function","regl.frame() callback must be a function"),vt.push(Vr);function To(){var zo=eh(vt,Vr);se(zo>=0,"cannot cancel a frame twice");function en(){var au=eh(vt,en);vt[au]=vt[vt.length-1],vt.length-=1,vt.length<=0&&jo()}vt[zo]=en}return Wr(),{cancel:To}}function In(){var Vr=Jt.viewport,To=Jt.scissor_box;Vr[0]=Vr[1]=To[0]=To[1]=0,Ct.viewportWidth=Ct.framebufferWidth=Ct.drawingBufferWidth=Vr[2]=To[2]=xe.drawingBufferWidth,Ct.viewportHeight=Ct.framebufferHeight=Ct.drawingBufferHeight=Vr[3]=To[3]=xe.drawingBufferHeight}function na(){Ct.tick+=1,Ct.time=yo(),In(),Or.procs.poll()}function gn(){In(),Or.procs.refresh(),Xt&&Xt.update()}function yo(){return(xa()-Ut)/1e3}gn();function Yn(Vr,To){se.type(To,"function","listener callback must be a function");var zo;switch(Vr){case"frame":return ki(To);case"lost":zo=Lr;break;case"restore":zo=xo;break;case"destroy":zo=sr;break;default:se.raise("invalid event, must be one of frame,lost,restore,destroy")}return zo.push(To),{cancel:function(){for(var en=0;en=0},read:ro,destroy:Ro,_gl:xe,_refresh:gn,poll:function(){na(),Xt&&Xt.update()},now:yo,stats:Ot});return ie.onDone(null,Zo),Zo}return th})})(k7);var UB=k7.exports;const kB=gp(UB);var zB=class{constructor(e,t){const{buffer:r,offset:i,stride:s,normalized:u,size:n,divisor:h}=t;this.buffer=r,this.attribute={buffer:r.get(),offset:i||0,stride:s||0,normalized:u||!1,divisor:h||0},n&&(this.attribute.size=n)}get(){return this.attribute}updateBuffer(e){this.buffer.subData(e)}destroy(){this.buffer.destroy()}},VB={[L.POINTS]:"points",[L.LINES]:"lines",[L.LINE_LOOP]:"line loop",[L.LINE_STRIP]:"line strip",[L.TRIANGLES]:"triangles",[L.TRIANGLE_FAN]:"triangle fan",[L.TRIANGLE_STRIP]:"triangle strip"},z7={[L.STATIC_DRAW]:"static",[L.DYNAMIC_DRAW]:"dynamic",[L.STREAM_DRAW]:"stream"},j6={[L.BYTE]:"int8",[L.INT]:"int32",[L.UNSIGNED_BYTE]:"uint8",[L.UNSIGNED_SHORT]:"uint16",[L.UNSIGNED_INT]:"uint32",[L.FLOAT]:"float"},HB={[L.ALPHA]:"alpha",[L.LUMINANCE]:"luminance",[L.LUMINANCE_ALPHA]:"luminance alpha",[L.RGB]:"rgb",[L.RGBA]:"rgba",[L.RGBA4]:"rgba4",[L.RGB5_A1]:"rgb5 a1",[L.RGB565]:"rgb565",[L.DEPTH_COMPONENT]:"depth",[L.DEPTH_STENCIL]:"depth stencil"},GB={[L.DONT_CARE]:"dont care",[L.NICEST]:"nice",[L.FASTEST]:"fast"},Mg={[L.NEAREST]:"nearest",[L.LINEAR]:"linear",[L.LINEAR_MIPMAP_LINEAR]:"mipmap",[L.NEAREST_MIPMAP_LINEAR]:"nearest mipmap linear",[L.LINEAR_MIPMAP_NEAREST]:"linear mipmap nearest",[L.NEAREST_MIPMAP_NEAREST]:"nearest mipmap nearest"},Ng={[L.REPEAT]:"repeat",[L.CLAMP_TO_EDGE]:"clamp",[L.MIRRORED_REPEAT]:"mirror"},jB={[L.NONE]:"none",[L.BROWSER_DEFAULT_WEBGL]:"browser"},WB={[L.NEVER]:"never",[L.ALWAYS]:"always",[L.LESS]:"less",[L.LEQUAL]:"lequal",[L.GREATER]:"greater",[L.GEQUAL]:"gequal",[L.EQUAL]:"equal",[L.NOTEQUAL]:"notequal"},Dg={[L.FUNC_ADD]:"add",[L.MIN_EXT]:"min",[L.MAX_EXT]:"max",[L.FUNC_SUBTRACT]:"subtract",[L.FUNC_REVERSE_SUBTRACT]:"reverse subtract"},Hh={[L.ZERO]:"zero",[L.ONE]:"one",[L.SRC_COLOR]:"src color",[L.ONE_MINUS_SRC_COLOR]:"one minus src color",[L.SRC_ALPHA]:"src alpha",[L.ONE_MINUS_SRC_ALPHA]:"one minus src alpha",[L.DST_COLOR]:"dst color",[L.ONE_MINUS_DST_COLOR]:"one minus dst color",[L.DST_ALPHA]:"dst alpha",[L.ONE_MINUS_DST_ALPHA]:"one minus dst alpha",[L.CONSTANT_COLOR]:"constant color",[L.ONE_MINUS_CONSTANT_COLOR]:"one minus constant color",[L.CONSTANT_ALPHA]:"constant alpha",[L.ONE_MINUS_CONSTANT_ALPHA]:"one minus constant alpha",[L.SRC_ALPHA_SATURATE]:"src alpha saturate"},XB={[L.NEVER]:"never",[L.ALWAYS]:"always",[L.LESS]:"less",[L.LEQUAL]:"lequal",[L.GREATER]:"greater",[L.GEQUAL]:"gequal",[L.EQUAL]:"equal",[L.NOTEQUAL]:"notequal"},g0={[L.ZERO]:"zero",[L.KEEP]:"keep",[L.REPLACE]:"replace",[L.INVERT]:"invert",[L.INCR]:"increment",[L.DECR]:"decrement",[L.INCR_WRAP]:"increment wrap",[L.DECR_WRAP]:"decrement wrap"},ZB={[L.FRONT]:"front",[L.BACK]:"back"},YB=class{constructor(e,t){this.isDestroyed=!1;const{data:r,usage:i,type:s}=t;this.buffer=e.buffer({data:r,usage:z7[i||L.STATIC_DRAW],type:j6[s||L.UNSIGNED_BYTE]})}get(){return this.buffer}destroy(){this.isDestroyed||this.buffer.destroy(),this.isDestroyed=!0}subData({data:e,offset:t}){this.buffer.subdata(e,t)}},$B=class{constructor(e,t){const{data:r,usage:i,type:s,count:u}=t;this.elements=e.elements({data:r,usage:z7[i||L.STATIC_DRAW],type:j6[s||L.UNSIGNED_BYTE],count:u})}get(){return this.elements}subData({data:e}){this.elements.subdata(e)}destroy(){}},qB=class{constructor(e,t){const{width:r,height:i,color:s,colors:u}=t,n={width:r,height:i};Array.isArray(u)&&(n.colors=u.map(h=>h.get())),s&&typeof s!="boolean"&&(n.color=s.get()),this.framebuffer=e.framebuffer(n)}get(){return this.framebuffer}destroy(){this.framebuffer.destroy()}resize({width:e,height:t}){this.framebuffer.resize(e,t)}},KB=Object.defineProperty,QB=Object.defineProperties,JB=Object.getOwnPropertyDescriptors,Og=Object.getOwnPropertySymbols,eU=Object.prototype.hasOwnProperty,tU=Object.prototype.propertyIsEnumerable,Lg=(e,t,r)=>t in e?KB(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Xd=(e,t)=>{for(var r in t||(t={}))eU.call(t,r)&&Lg(e,r,t[r]);if(Og)for(var r of Og(t))tU.call(t,r)&&Lg(e,r,t[r]);return e},rU=(e,t)=>QB(e,JB(t)),{isPlainObject:oU,isTypedArray:iU}=Qn,nU=class{constructor(e,t){this.destroyed=!1,this.uniforms={},this.reGl=e;const{vs:r,fs:i,attributes:s,uniforms:u,primitive:n,count:h,elements:m,depth:g,cull:x,instances:b}=t,F={platformString:"WebGL1",glslVersion:"#version 100",explicitBindingLocations:!1,separateSamplerTextures:!1,viewportOrigin:mp.LOWER_LEFT,clipSpaceNearZ:H0.NEGATIVE_ONE,supportMRT:!1},R={};this.options=t,u&&(this.uniforms=this.extractUniforms(u),Object.keys(u).forEach(Q=>{R[Q]=e.prop(Q)}));const I={};Object.keys(s).forEach(Q=>{I[Q]=s[Q].get()});const B=I_(X0(F,"frag",i,null,!1)),V=I_(X0(F,"vert",r,null,!1)),J={attributes:I,frag:B,uniforms:R,vert:V,colorMask:e.prop("colorMask"),lineWidth:1,blend:{enable:e.prop("blend.enable"),func:e.prop("blend.func"),equation:e.prop("blend.equation"),color:e.prop("blend.color")},stencil:{enable:e.prop("stencil.enable"),mask:e.prop("stencil.mask"),func:e.prop("stencil.func"),opFront:e.prop("stencil.opFront"),opBack:e.prop("stencil.opBack")},primitive:VB[n===void 0?L.TRIANGLES:n]};b&&(J.instances=b),h?J.count=h:m&&(J.elements=m.get()),this.initDepthDrawParams({depth:g},J),this.initCullDrawParams({cull:x},J),this.drawCommand=e(J),this.drawParams=J}updateAttributesAndElements(e,t){const r={};Object.keys(e).forEach(i=>{r[i]=e[i].get()}),this.drawParams.attributes=r,this.drawParams.elements=t.get(),this.drawCommand=this.reGl(this.drawParams)}updateAttributes(e){const t={};Object.keys(e).forEach(r=>{t[r]=e[r].get()}),this.drawParams.attributes=t,this.drawCommand=this.reGl(this.drawParams)}addUniforms(e){this.uniforms=Xd(Xd({},this.uniforms),this.extractUniforms(e))}draw(e,t){if(this.drawParams.attributes&&Object.keys(this.drawParams.attributes).length===0)return;const r=Xd(Xd({},this.uniforms),this.extractUniforms(e.uniforms||{})),i={};Object.keys(r).forEach(s=>{const u=typeof r[s];u==="boolean"||u==="number"||Array.isArray(r[s])||r[s].BYTES_PER_ELEMENT?i[s]=r[s]:i[s]=r[s].get()}),i.blend=t?this.getBlendDrawParams({blend:{enable:!1}}):this.getBlendDrawParams(e),i.stencil=this.getStencilDrawParams(e),i.colorMask=this.getColorMaskDrawParams(e,t),this.drawCommand(i)}destroy(){var e,t;(t=(e=this.drawParams)==null?void 0:e.elements)==null||t.destroy(),this.options.attributes&&Object.values(this.options.attributes).forEach(r=>{r==null||r.destroy()}),this.destroyed=!0}initDepthDrawParams({depth:e},t){e&&(t.depth={enable:e.enable===void 0?!0:!!e.enable,mask:e.mask===void 0?!0:!!e.mask,func:WB[e.func||L.LESS],range:e.range||[0,1]})}getBlendDrawParams({blend:e}){const{enable:t,func:r,equation:i,color:s=[0,0,0,0]}=e||{};return{enable:!!t,func:{srcRGB:Hh[r&&r.srcRGB||L.SRC_ALPHA],srcAlpha:Hh[r&&r.srcAlpha||L.SRC_ALPHA],dstRGB:Hh[r&&r.dstRGB||L.ONE_MINUS_SRC_ALPHA],dstAlpha:Hh[r&&r.dstAlpha||L.ONE_MINUS_SRC_ALPHA]},equation:{rgb:Dg[i&&i.rgb||L.FUNC_ADD],alpha:Dg[i&&i.alpha||L.FUNC_ADD]},color:s}}getStencilDrawParams({stencil:e}){const{enable:t,mask:r=-1,func:i={cmp:L.ALWAYS,ref:0,mask:-1},opFront:s={fail:L.KEEP,zfail:L.KEEP,zpass:L.KEEP},opBack:u={fail:L.KEEP,zfail:L.KEEP,zpass:L.KEEP}}=e||{};return{enable:!!t,mask:r,func:rU(Xd({},i),{cmp:XB[i.cmp]}),opFront:{fail:g0[s.fail],zfail:g0[s.zfail],zpass:g0[s.zpass]},opBack:{fail:g0[u.fail],zfail:g0[u.zfail],zpass:g0[u.zpass]}}}getColorMaskDrawParams({stencil:e},t){return e!=null&&e.enable&&e.opFront&&!t?[!1,!1,!1,!1]:[!0,!0,!0,!0]}initCullDrawParams({cull:e},t){if(e){const{enable:r,face:i=L.BACK}=e;t.cull={enable:!!r,face:ZB[i]}}}extractUniforms(e){const t={};return Object.keys(e).forEach(r=>{this.extractUniformsRecursively(r,e[r],t,"")}),t}extractUniformsRecursively(e,t,r,i){if(t===null||typeof t=="number"||typeof t=="boolean"||Array.isArray(t)&&typeof t[0]=="number"||iU(t)||t===""||"resize"in t){r[`${i&&i+"."}${e}`]=t;return}oU(t)&&Object.keys(t).forEach(s=>{this.extractUniformsRecursively(s,t[s],r,`${i&&i+"."}${e}`)}),Array.isArray(t)&&t.forEach((s,u)=>{Object.keys(s).forEach(n=>{this.extractUniformsRecursively(n,s[n],r,`${i&&i+"."}${e}[${u}]`)})})}},aU=class{constructor(e,t){this.isDestroy=!1;const{data:r,type:i=L.UNSIGNED_BYTE,width:s,height:u,flipY:n=!1,format:h=L.RGBA,mipmap:m=!1,wrapS:g=L.CLAMP_TO_EDGE,wrapT:x=L.CLAMP_TO_EDGE,aniso:b=0,alignment:F=1,premultiplyAlpha:R=!1,mag:I=L.NEAREST,min:B=L.NEAREST,colorSpace:V=L.BROWSER_DEFAULT_WEBGL,x:J=0,y:Q=0,copy:te=!1}=t;this.width=s,this.height=u;const ne={width:s,height:u,type:j6[i],format:HB[h],wrapS:Ng[g],wrapT:Ng[x],mag:Mg[I],min:Mg[B],alignment:F,flipY:n,colorSpace:jB[V],premultiplyAlpha:R,aniso:b,x:J,y:Q,copy:te};r&&(ne.data=r),typeof m=="number"?ne.mipmap=GB[m]:typeof m=="boolean"&&(ne.mipmap=m),this.texture=e.texture(ne)}get(){return this.texture}update(e={}){this.texture(e)}bind(){this.texture._texture.bind()}resize({width:e,height:t}){this.texture.resize(e,t),this.width=e,this.height=t}getSize(){return[this.width,this.height]}destroy(){var e;this.isDestroy||(e=this.texture)==null||e.destroy(),this.isDestroy=!0}},n2=(e,t,r)=>new Promise((i,s)=>{var u=m=>{try{h(r.next(m))}catch(g){s(g)}},n=m=>{try{h(r.throw(m))}catch(g){s(g)}},h=m=>m.done?i(m.value):Promise.resolve(m.value).then(u,n);h((r=r.apply(e,t)).next())}),sU=class{constructor(){this.uniformBuffers=[],this.queryVerdorInfo=()=>"WebGL1",this.createModel=e=>new nU(this.gl,e),this.createAttribute=e=>new zB(this.gl,e),this.createBuffer=e=>new YB(this.gl,e),this.createElements=e=>new $B(this.gl,e),this.createTexture2D=e=>new aU(this.gl,e),this.createFramebuffer=e=>new qB(this.gl,e),this.useFramebuffer=(e,t)=>{this.gl({framebuffer:e?e.get():null})(t)},this.useFramebufferAsync=(e,t)=>n2(this,null,function*(){this.gl({framebuffer:e?e.get():null})(t)}),this.clear=e=>{var t;const{color:r,depth:i,stencil:s,framebuffer:u=null}=e,n={color:r,depth:i,stencil:s};n.framebuffer=u===null?u:u.get(),(t=this.gl)==null||t.clear(n)},this.viewport=({x:e,y:t,width:r,height:i})=>{this.gl._gl.viewport(e,t,r,i),this.width=r,this.height=i,this.gl._refresh()},this.readPixels=e=>{const{framebuffer:t,x:r,y:i,width:s,height:u}=e,n={x:r,y:i,width:s,height:u};return t&&(n.framebuffer=t.get()),this.gl.read(n)},this.readPixelsAsync=e=>n2(this,null,function*(){return this.readPixels(e)}),this.getViewportSize=()=>({width:this.gl._gl.drawingBufferWidth,height:this.gl._gl.drawingBufferHeight}),this.getContainer=()=>{var e;return(e=this.canvas)==null?void 0:e.parentElement},this.getCanvas=()=>this.canvas,this.getGLContext=()=>this.gl._gl,this.destroy=()=>{var e,t,r;this.canvas=null,(r=(t=(e=this.gl)==null?void 0:e._gl)==null?void 0:t.getExtension("WEBGL_lose_context"))==null||r.loseContext(),this.gl.destroy(),this.gl=null}}init(e,t,r){return n2(this,null,function*(){this.canvas=e,r?this.gl=r:this.gl=yield new Promise((i,s)=>{kB({canvas:this.canvas,attributes:{alpha:!0,antialias:t.antialias,premultipliedAlpha:!0,preserveDrawingBuffer:t.preserveDrawingBuffer,stencil:t.stencil},extensions:["OES_element_index_uint","OES_standard_derivatives","ANGLE_instanced_arrays"],optionalExtensions:["oes_texture_float_linear","OES_texture_float","EXT_texture_filter_anisotropic","EXT_blend_minmax","WEBGL_depth_texture","WEBGL_lose_context"],profile:!0,onDone:(u,n)=>{(u||!n)&&s(u),i(n)}})}),this.extensionObject={OES_texture_float:this.testExtension("OES_texture_float")}})}getPointSizeRange(){return this.gl._gl.getParameter(this.gl._gl.ALIASED_POINT_SIZE_RANGE)}testExtension(e){return!!this.getGLContext().getExtension(e)}setState(){this.gl({cull:{enable:!1,face:"back"},viewport:{x:0,y:0,height:this.width,width:this.height},blend:{enable:!0,equation:"add"},framebuffer:null}),this.gl._refresh()}setBaseState(){this.gl({cull:{enable:!1,face:"back"},viewport:{x:0,y:0,height:this.width,width:this.height},blend:{enable:!1,equation:"add"},framebuffer:null}),this.gl._refresh()}setCustomLayerDefaults(){const e=this.getGLContext();e.disable(e.CULL_FACE)}setDirty(e){this.isDirty=e}getDirty(){return this.isDirty}beginFrame(){}endFrame(){}},a2=["selectstart","selecting","selectend"],uU=class extends yu.EventEmitter{constructor(e,t={}){super(),this.isEnable=!1,this.onDragStart=r=>{this.box.style.display="block",this.startEvent=this.endEvent=r,this.syncBoxBound(),this.emit("selectstart",this.getLngLatBox(),this.startEvent,this.endEvent)},this.onDragging=r=>{this.endEvent=r,this.syncBoxBound(),this.emit("selecting",this.getLngLatBox(),this.startEvent,this.endEvent)},this.onDragEnd=r=>{this.endEvent=r,this.box.style.display="none",this.emit("selectend",this.getLngLatBox(),this.startEvent,this.endEvent)},this.scene=e,this.options=t}get container(){return this.scene.getMapService().getMarkerContainer()}enable(){if(this.isEnable)return;const{className:e}=this.options;if(this.scene.setMapStatus({dragEnable:!1}),this.container.style.cursor="crosshair",!this.box){const t=lu("div",void 0,this.container);t.classList.add("l7-select-box"),e&&t.classList.add(e),t.style.display="none",this.box=t}this.scene.on("dragstart",this.onDragStart),this.scene.on("dragging",this.onDragging),this.scene.on("dragend",this.onDragEnd),this.isEnable=!0}disable(){this.isEnable&&(this.scene.setMapStatus({dragEnable:!0}),this.container.style.cursor="auto",this.scene.off("dragstart",this.onDragStart),this.scene.off("dragging",this.onDragging),this.scene.off("dragend",this.onDragEnd),this.isEnable=!1)}syncBoxBound(){const{x:e,y:t}=this.startEvent,{x:r,y:i}=this.endEvent,s=Math.min(e,r),u=Math.min(t,i),n=Math.abs(e-r),h=Math.abs(t-i);this.box.style.top=`${u}px`,this.box.style.left=`${s}px`,this.box.style.width=`${n}px`,this.box.style.height=`${h}px`}getLngLatBox(){const{lngLat:{lng:e,lat:t}}=this.startEvent,{lngLat:{lng:r,lat:i}}=this.endEvent;return kE([[e,t],[r,i]])}},pU=Object.defineProperty,cU=Object.defineProperties,lU=Object.getOwnPropertyDescriptors,Bg=Object.getOwnPropertySymbols,dU=Object.prototype.hasOwnProperty,yU=Object.prototype.propertyIsEnumerable,Ug=(e,t,r)=>t in e?pU(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,hU=(e,t)=>{for(var r in t||(t={}))dU.call(t,r)&&Ug(e,r,t[r]);if(Bg)for(var r of Bg(t))yU.call(t,r)&&Ug(e,r,t[r]);return e},fU=(e,t)=>cU(e,lU(t)),Zd=(e,t,r)=>new Promise((i,s)=>{var u=m=>{try{h(r.next(m))}catch(g){s(g)}},n=m=>{try{h(r.throw(m))}catch(g){s(g)}},h=m=>m.done?i(m.value):Promise.resolve(m.value).then(u,n);h((r=r.apply(e,t)).next())}),mU=class{constructor(e){const{id:t,map:r,renderer:i="device"}=e,s=yT();this.container=s,r.setContainer(s,t),i==="regl"?s.rendererService=new sU:s.rendererService=new BB,this.sceneService=s.sceneService,this.mapService=s.mapService,this.iconService=s.iconService,this.fontService=s.fontService,this.controlService=s.controlService,this.layerService=s.layerService,this.debugService=s.debugService,this.debugService.setEnable(e.debug),this.markerService=s.markerService,this.interactionService=s.interactionService,this.popupService=s.popupService,this.boxSelect=new uU(this,{}),this.initComponent(t),this.sceneService.init(e),this.initControl()}get map(){return this.mapService.map}get loaded(){return this.sceneService.loaded}getServiceContainer(){return this.container}getSize(){return this.mapService.getSize()}getMinZoom(){return this.mapService.getMinZoom()}getMaxZoom(){return this.mapService.getMaxZoom()}getType(){return this.mapService.getType()}getMapContainer(){return this.mapService.getMapContainer()}getMapCanvasContainer(){return this.mapService.getMapCanvasContainer()}getMapService(){return this.mapService}getDebugService(){return this.debugService}exportPng(e){return Zd(this,null,function*(){return this.sceneService.exportPng(e)})}exportMap(e){return Zd(this,null,function*(){return this.sceneService.exportPng(e)})}registerRenderService(e){this.sceneService.loaded?new e(this).init():this.on("loaded",()=>{new e(this).init()})}setBgColor(e){this.mapService.setBgColor(e)}addLayer(e){this.loaded?this.preAddLayer(e):this.once("loaded",()=>{this.preAddLayer(e)})}preAddLayer(e){const t=uy(this.container);if(e.setContainer(t),this.sceneService.addLayer(e),e.inited){this.initTileLayer(e);const r=this.initMask(e);this.addMask(r,e.id)}else e.on("inited",()=>{this.initTileLayer(e);const r=this.initMask(e);this.addMask(r,e.id)})}initMask(e){const{mask:t,maskfence:r,maskColor:i="#000",maskOpacity:s=0}=e.getLayerConfig();return!t||!r?void 0:new d7().source(r).shape("fill").style({color:i,opacity:s})}addMask(e,t){if(!e)return;const r=this.getLayer(t);if(r){const i=uy(this.container);e.setContainer(i),r.addMaskLayer(e),this.sceneService.addMask(e)}else console.warn("parent layer not find!")}getPickedLayer(){return this.layerService.pickedLayerId}getLayers(){return this.layerService.getLayers()}getLayer(e){return this.layerService.getLayer(e)}getLayerByName(e){return this.layerService.getLayerByName(e)}removeLayer(e,t){return Zd(this,null,function*(){yield this.layerService.remove(e,t)})}removeAllLayer(){return Zd(this,null,function*(){yield this.layerService.removeAllLayers()})}render(){this.sceneService.render()}setEnableRender(e){this.layerService.setEnableRender(e)}addIconFont(e,t){this.fontService.addIconFont(e,t)}addIconFonts(e){e.forEach(([t,r])=>{this.fontService.addIconFont(t,r)})}addFontFace(e,t){this.fontService.once("fontloaded",r=>{this.emit("fontloaded",r)}),this.fontService.addFontFace(e,t)}addImage(e,t){return Zd(this,null,function*(){yield this.iconService.addImage(e,t)})}hasImage(e){return this.iconService.hasImage(e)}removeImage(e){this.iconService.removeImage(e)}addIconFontGlyphs(e,t){this.fontService.addIconGlyphs(t)}addControl(e){this.controlService.addControl(e,this.container)}removeControl(e){this.controlService.removeControl(e)}getControlByName(e){return this.controlService.getControlByName(e)}addMarker(e){this.markerService.addMarker(e)}addMarkerLayer(e){this.markerService.addMarkerLayer(e)}removeMarkerLayer(e){this.markerService.removeMarkerLayer(e)}removeAllMarkers(){this.markerService.removeAllMarkers()}removeAllMakers(){console.warn("removeAllMakers 已废弃,请使用 removeAllMarkers"),this.markerService.removeAllMarkers()}addPopup(e){this.popupService.addPopup(e)}removePopup(e){this.popupService.removePopup(e)}on(e,t){var r;a2.includes(e)?(r=this.boxSelect)==null||r.on(e,t):Th.includes(e)?this.sceneService.on(e,t):this.mapService.on(e,t)}once(e,t){var r;a2.includes(e)?(r=this.boxSelect)==null||r.once(e,t):Th.includes(e)?this.sceneService.once(e,t):this.mapService.once(e,t)}emit(e,t){Th.indexOf(e)===-1?this.mapService.on(e,t):this.sceneService.emit(e,t)}off(e,t){var r;a2.includes(e)?(r=this.boxSelect)==null||r.off(e,t):Th.includes(e)?this.sceneService.off(e,t):this.mapService.off(e,t)}getZoom(){return this.mapService.getZoom()}getCenter(e){return this.mapService.getCenter(e)}setCenter(e,t){return this.mapService.setCenter(e,t)}getPitch(){return this.mapService.getPitch()}setPitch(e){return this.mapService.setPitch(e)}getRotation(){return this.mapService.getRotation()}getBounds(){return this.mapService.getBounds()}setRotation(e){this.mapService.setRotation(e)}zoomIn(){this.mapService.zoomIn()}zoomOut(){this.mapService.zoomOut()}panTo(e){this.mapService.panTo(e)}panBy(e,t){this.mapService.panBy(e,t)}getContainer(){return this.mapService.getContainer()}setZoom(e){this.mapService.setZoom(e)}fitBounds(e,t){const{fitBoundsOptions:r,animate:i}=this.sceneService.getSceneConfig();this.mapService.fitBounds(e,t||fU(hU({},r),{animate:i}))}setZoomAndCenter(e,t){this.mapService.setZoomAndCenter(e,t)}setMapStyle(e){this.mapService.setMapStyle(e)}setMapStatus(e){this.mapService.setMapStatus(e)}pixelToLngLat(e){return this.mapService.pixelToLngLat(e)}lngLatToPixel(e){return this.mapService.lngLatToPixel(e)}containerToLngLat(e){return this.mapService.containerToLngLat(e)}lngLatToContainer(e){return this.mapService.lngLatToContainer(e)}destroy(){this.sceneService.destroy()}registerPostProcessingPass(e){this.container.postProcessingPass.name=new e}enableShaderPick(){this.layerService.enableShaderPick()}diasbleShaderPick(){this.layerService.disableShaderPick()}enableBoxSelect(e=!0){this.boxSelect.enable(),e&&this.boxSelect.once("selectend",()=>{this.disableBoxSelect()})}disableBoxSelect(){this.boxSelect.disable()}static addProtocol(e,t){Gh.REGISTERED_PROTOCOLS[e]=t}static removeProtocol(e){delete Gh.REGISTERED_PROTOCOLS[e]}getProtocol(e){return Gh.REGISTERED_PROTOCOLS[e]}startAnimate(){this.layerService.startAnimate()}stopAnimate(){this.layerService.stopAnimate()}getPointSizeRange(){return this.sceneService.getPointSizeRange()}initComponent(e){this.controlService.init({container:xE(e)},this.container),this.markerService.init(this.container),this.popupService.init(this.container)}initControl(){const{logoVisible:e,logoPosition:t}=this.sceneService.getSceneConfig();e&&this.addControl(new sw({position:t}))}initTileLayer(e){e.getSource().isTile&&(e.tileLayer=new LD(e))}};const _U={type:"FeatureCollection",crs:{type:"name",properties:{name:"urn:ogc:def:crs:OGC:1.3:CRS84"}},features:[{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,83.29769733567451]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,83.29769733567451]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,83.29769733567451]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,83.29769733567451]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,83.29769733567451]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,83.29769733567451]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,83.03042231213165]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,83.03042231213165]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,83.03042231213165]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,83.03042231213165]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,83.03042231213165]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,83.03042231213165]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,83.03042231213165]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,83.03042231213165]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,83.03042231213165]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,83.03042231213165]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,83.03042231213165]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,82.75254360190782]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,82.75254360190782]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,82.75254360190782]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,82.75254360190782]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,82.75254360190782]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,82.75254360190782]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,82.75254360190782]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,82.75254360190782]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,82.75254360190782]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,82.75254360190782]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,82.75254360190782]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,82.75254360190782]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,82.75254360190782]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,82.46364732289885]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,82.46364732289885]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,82.46364732289885]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,82.46364732289885]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,82.46364732289885]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,82.46364732289885]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,82.46364732289885]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,82.46364732289885]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,82.46364732289885]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,82.46364732289885]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,82.46364732289885]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,82.46364732289885]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,82.46364732289885]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,82.46364732289885]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,82.46364732289885]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,82.46364732289885]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,82.46364732289885]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,82.46364732289885]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,82.46364732289885]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,82.1633042838823]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,82.1633042838823]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,82.1633042838823]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,82.1633042838823]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,82.1633042838823]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,82.1633042838823]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,82.1633042838823]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,82.1633042838823]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,82.1633042838823]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,82.1633042838823]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,82.1633042838823]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,82.1633042838823]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,82.1633042838823]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,82.1633042838823]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,82.1633042838823]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,82.1633042838823]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,82.1633042838823]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,82.1633042838823]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,82.1633042838823]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,82.1633042838823]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,82.1633042838823]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,81.85106952420345]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-15.967629120770331,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-13.721840910471528,81.52648185344404]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-20.45920554136794,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-18.213417331069138,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-15.967629120770331,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-13.721840910471528,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,81.18906339325112]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-20.45920554136794,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-18.213417331069138,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-15.967629120770331,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,80.83831912383923]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-20.45920554136794,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-18.213417331069138,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,80.47373643805125]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-20.45920554136794,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,80.09478470628163]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-20.45920554136794,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,79.70091485602755]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-20.45920554136794,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,79.29155897034926]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-20.45920554136794,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,78.8661299100901]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,78.42402096533623]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,77.96460554228973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-20.45920554136794,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,77.48723689249104]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-20.45920554136794,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,76.99124789216098]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,76.47595088034483]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-20.45920554136794,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,75.94063756553139]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-20.45920554136794,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-18.213417331069138,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,75.38457901149432]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-20.45920554136794,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,74.80702571426096]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,74.20720778335601]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,73.5843352417925]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,72.93759846068625]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,72.26616874584563]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,71.56919909522618]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-157.45228636959496,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-155.20649815929616,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-152.96070994899736,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[150.2206984413411,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[154.7122748619387,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[156.95806307223754,70.8458251477235]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-161.94386279019255,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-159.69807457989376,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-157.45228636959496,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-155.20649815929616,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-152.96070994899736,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-150.71492173869854,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-148.46913352839977,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-146.22334531810094,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-130.5028278460093,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[150.2206984413411,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[152.46648665163994,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[154.7122748619387,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[156.95806307223754,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[159.20385128253633,70.09516634538973]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-161.94386279019255,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-159.69807457989376,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-157.45228636959496,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-155.20649815929616,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-152.96070994899736,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-150.71492173869854,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-148.46913352839977,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-146.22334531810094,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-143.97755710780214,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-141.73176889750331,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-139.48598068720452,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-134.99440426660692,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-132.74861605630812,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-130.5028278460093,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-128.2570396357105,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-126.01125142541171,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-27.19657017226435,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-24.950781961965546,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[150.2206984413411,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[152.46648665163994,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[154.7122748619387,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[156.95806307223754,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[159.20385128253633,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[161.44963949283516,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[163.69542770313396,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[165.94121591343273,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[168.18700412373155,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[172.67858054432918,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[174.92436875462795,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[177.17015696492675,69.3163273327709]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-179.910168472583,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-164.18965100049138,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-161.94386279019255,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-159.69807457989376,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-157.45228636959496,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-155.20649815929616,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-152.96070994899736,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-150.71492173869854,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-148.46913352839977,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-146.22334531810094,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-143.97755710780214,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-141.73176889750331,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-139.48598068720452,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-137.24019247690575,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-134.99440426660692,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-132.74861605630812,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-130.5028278460093,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-128.2570396357105,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-126.01125142541171,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-31.688146592861955,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-29.442358382563153,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[150.2206984413411,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[152.46648665163994,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[154.7122748619387,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[156.95806307223754,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[159.20385128253633,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[161.44963949283516,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[163.69542770313396,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[165.94121591343273,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[168.18700412373155,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[170.43279233403035,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[172.67858054432918,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[174.92436875462795,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[177.17015696492675,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[179.41594517522557,68.50839961864305]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-179.910168472583,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-177.6643802622842,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-175.4185920519854,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-164.18965100049138,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-161.94386279019255,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-159.69807457989376,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-157.45228636959496,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-155.20649815929616,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-152.96070994899736,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-150.71492173869854,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-148.46913352839977,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-146.22334531810094,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-143.97755710780214,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-141.73176889750331,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-139.48598068720452,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-137.24019247690575,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-134.99440426660692,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-132.74861605630812,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-130.5028278460093,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-128.2570396357105,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-126.01125142541171,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-33.93393480316076,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[150.2206984413411,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[152.46648665163994,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[154.7122748619387,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[156.95806307223754,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[159.20385128253633,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[161.44963949283516,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[163.69542770313396,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[165.94121591343273,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[168.18700412373155,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[170.43279233403035,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[172.67858054432918,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[174.92436875462795,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[177.17015696492675,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[179.41594517522557,67.67046352692999]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-179.910168472583,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-177.6643802622842,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-175.4185920519854,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-173.17280384168657,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-159.69807457989376,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-157.45228636959496,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-155.20649815929616,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-152.96070994899736,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-150.71492173869854,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-148.46913352839977,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-146.22334531810094,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-143.97755710780214,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-141.73176889750331,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-139.48598068720452,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-137.24019247690575,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-134.99440426660692,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-132.74861605630812,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-130.5028278460093,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-128.2570396357105,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-126.01125142541171,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[150.2206984413411,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[152.46648665163994,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[154.7122748619387,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[156.95806307223754,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[159.20385128253633,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[161.44963949283516,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[163.69542770313396,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[165.94121591343273,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[168.18700412373155,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[170.43279233403035,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[172.67858054432918,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[174.92436875462795,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[177.17015696492675,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[179.41594517522557,66.80159046496628]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-179.910168472583,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-177.6643802622842,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-175.4185920519854,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-173.17280384168657,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-170.92701563138777,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-166.43543921079018,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-164.18965100049138,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-161.94386279019255,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-159.69807457989376,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-157.45228636959496,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-155.20649815929616,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-152.96070994899736,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-150.71492173869854,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-148.46913352839977,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-146.22334531810094,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-143.97755710780214,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-141.73176889750331,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-139.48598068720452,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-137.24019247690575,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-134.99440426660692,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-132.74861605630812,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-130.5028278460093,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-128.2570396357105,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-126.01125142541171,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-15.967629120770331,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[150.2206984413411,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[152.46648665163994,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[154.7122748619387,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[156.95806307223754,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[159.20385128253633,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[161.44963949283516,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[163.69542770313396,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[165.94121591343273,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[168.18700412373155,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[170.43279233403035,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[172.67858054432918,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[174.92436875462795,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[177.17015696492675,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[179.41594517522557,65.90084553846057]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-175.4185920519854,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-173.17280384168657,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-166.43543921079018,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-164.18965100049138,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-161.94386279019255,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-159.69807457989376,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-157.45228636959496,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-155.20649815929616,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-152.96070994899736,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-150.71492173869854,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-148.46913352839977,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-146.22334531810094,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-143.97755710780214,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-141.73176889750331,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-139.48598068720452,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-137.24019247690575,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-134.99440426660692,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-132.74861605630812,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-130.5028278460093,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-128.2570396357105,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-126.01125142541171,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-22.70499375166674,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-20.45920554136794,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-18.213417331069138,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-15.967629120770331,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-13.721840910471528,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[150.2206984413411,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[152.46648665163994,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[154.7122748619387,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[156.95806307223754,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[159.20385128253633,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[161.44963949283516,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[163.69542770313396,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[165.94121591343273,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[168.18700412373155,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[170.43279233403035,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[172.67858054432918,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[174.92436875462795,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[177.17015696492675,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[179.41594517522557,64.96729054344385]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-159.69807457989376,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-157.45228636959496,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-155.20649815929616,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-152.96070994899736,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-150.71492173869854,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-148.46913352839977,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-146.22334531810094,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-143.97755710780214,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-141.73176889750331,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-139.48598068720452,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-137.24019247690575,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-134.99440426660692,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-132.74861605630812,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-130.5028278460093,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-128.2570396357105,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-126.01125142541171,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-20.45920554136794,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-18.213417331069138,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[150.2206984413411,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[152.46648665163994,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[154.7122748619387,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[156.95806307223754,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[159.20385128253633,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[161.44963949283516,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[163.69542770313396,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[165.94121591343273,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[168.18700412373155,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[170.43279233403035,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[172.67858054432918,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[174.92436875462795,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[177.17015696492675,63.99998736606511]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-164.18965100049138,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-161.94386279019255,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-159.69807457989376,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-157.45228636959496,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-155.20649815929616,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-152.96070994899736,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-150.71492173869854,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-148.46913352839977,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-146.22334531810094,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-143.97755710780214,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-141.73176889750331,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-139.48598068720452,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-137.24019247690575,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-134.99440426660692,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-132.74861605630812,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-130.5028278460093,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-128.2570396357105,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-126.01125142541171,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[150.2206984413411,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[152.46648665163994,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[154.7122748619387,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[156.95806307223754,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[159.20385128253633,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[161.44963949283516,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[163.69542770313396,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[165.94121591343273,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[168.18700412373155,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[170.43279233403035,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[172.67858054432918,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[174.92436875462795,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[177.17015696492675,62.998001821223895]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-164.18965100049138,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-161.94386279019255,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-159.69807457989376,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-157.45228636959496,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-155.20649815929616,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-152.96070994899736,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-150.71492173869854,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-148.46913352839977,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-146.22334531810094,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-143.97755710780214,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-141.73176889750331,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-139.48598068720452,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-137.24019247690575,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-134.99440426660692,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-132.74861605630812,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-130.5028278460093,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-128.2570396357105,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-126.01125142541171,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[150.2206984413411,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[152.46648665163994,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[154.7122748619387,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[156.95806307223754,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[159.20385128253633,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[161.44963949283516,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[165.94121591343273,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[168.18700412373155,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[170.43279233403035,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[172.67858054432918,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[174.92436875462795,61.960407960584604]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-164.18965100049138,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-161.94386279019255,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-159.69807457989376,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-157.45228636959496,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-155.20649815929616,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-152.96070994899736,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-150.71492173869854,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-148.46913352839977,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-146.22334531810094,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-143.97755710780214,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-141.73176889750331,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-139.48598068720452,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-137.24019247690575,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-134.99440426660692,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-132.74861605630812,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-130.5028278460093,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-128.2570396357105,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-126.01125142541171,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[150.2206984413411,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[152.46648665163994,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[154.7122748619387,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[163.69542770313396,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[165.94121591343273,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[168.18700412373155,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[170.43279233403035,60.88629287937398]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-161.94386279019255,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-159.69807457989376,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-157.45228636959496,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-155.20649815929616,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-150.71492173869854,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-139.48598068720452,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-137.24019247690575,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-134.99440426660692,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-132.74861605630812,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-130.5028278460093,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-128.2570396357105,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-126.01125142541171,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[150.2206984413411,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[152.46648665163994,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[161.44963949283516,59.774762049371134]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-155.20649815929616,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-137.24019247690575,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-132.74861605630812,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-130.5028278460093,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-128.2570396357105,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-126.01125142541171,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[161.44963949283516,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[163.69542770313396,58.624945202502865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-157.45228636959496,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-152.96070994899736,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-132.74861605630812,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-130.5028278460093,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-128.2570396357105,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-126.01125142541171,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-4.738688069276319,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[156.95806307223754,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[159.20385128253633,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[161.44963949283516,57.43600278528517]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-159.69807457989376,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-130.5028278460093,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-128.2570396357105,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-126.01125142541171,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-4.738688069276319,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[156.95806307223754,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[159.20385128253633,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[161.44963949283516,56.20713299883136]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-164.18965100049138,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-130.5028278460093,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-128.2570396357105,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-126.01125142541171,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-6.984476279575122,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-4.738688069276319,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[156.95806307223754,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[159.20385128253633,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[161.44963949283516,54.9375794321014]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-132.74861605630812,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-128.2570396357105,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-126.01125142541171,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-9.230264489873921,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-6.984476279575122,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-.247111648678712,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[156.95806307223754,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[159.20385128253633,53.62663928732969]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-126.01125142541171,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-9.230264489873921,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-6.984476279575122,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-.247111648678712,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[156.95806307223754,52.27367218598878]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-126.01125142541171,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-.247111648678712,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[1.998676561620092,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[4.244464771918896,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,50.87810953110461]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-126.01125142541171,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[1.998676561620092,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[4.244464771918896,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[154.7122748619387,49.43946438716008]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-.247111648678712,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[1.998676561620092,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[4.244464771918896,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,47.957341822195296]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-.247111648678712,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[1.998676561620092,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[4.244464771918896,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,46.431449638103075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-.247111648678712,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[1.998676561620092,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[4.244464771918896,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,44.861609394697915]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-6.984476279575122,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-4.738688069276319,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-.247111648678712,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[1.998676561620092,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,43.24776761119706]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-6.984476279575122,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-4.738688069276319,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-.247111648678712,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[1.998676561620092,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,41.59000700572742]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-123.7654632151129,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-6.984476279575122,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-4.738688069276319,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-.247111648678712,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[4.244464771918896,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,39.88855760995075]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-6.984476279575122,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-4.738688069276319,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,38.14380757263771]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-121.5196750048141,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[1.998676561620092,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[4.244464771918896,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,36.356313443941325]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-119.27388679451529,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-4.738688069276319,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-.247111648678712,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[1.998676561620092,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[4.244464771918896,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,34.52680971230379]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-117.02809858421651,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-6.984476279575122,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-4.738688069276319,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-.247111648678712,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[1.998676561620092,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[4.244464771918896,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,32.65621734958849]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-114.7823103739177,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-9.230264489873921,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-6.984476279575122,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-4.738688069276319,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-.247111648678712,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[1.998676561620092,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[4.244464771918896,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,30.745651108469865]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-110.29073395332009,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-9.230264489873921,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-6.984476279575122,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-4.738688069276319,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-.247111648678712,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[1.998676561620092,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[4.244464771918896,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,28.796425310677574]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-112.53652216361888,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-11.476052700172726,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-9.230264489873921,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-6.984476279575122,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-4.738688069276319,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-.247111648678712,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[1.998676561620092,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[4.244464771918896,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[60.389170029388985,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[62.63495823968778,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[64.88074644998659,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,26.81005786667896]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-108.04494574302129,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-13.721840910471528,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-11.476052700172726,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-9.230264489873921,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-6.984476279575122,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-4.738688069276319,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-.247111648678712,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[1.998676561620092,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[4.244464771918896,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[67.1265346602854,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[69.3723228705842,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,24.78827227796699]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-105.79915753272248,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-81.09548721943564,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-15.967629120770331,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-13.721840910471528,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-11.476052700172726,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-9.230264489873921,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-6.984476279575122,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-4.738688069276319,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-.247111648678712,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[1.998676561620092,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[4.244464771918896,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[71.618111080883,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[87.33862855297463,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[89.58441676327342,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[91.83020497357224,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,22.73299739323544]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-15.967629120770331,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-13.721840910471528,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-11.476052700172726,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-9.230264489873921,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-6.984476279575122,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-4.738688069276319,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-.247111648678712,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[1.998676561620092,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[4.244464771918896,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[58.14338181909017,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[85.09284034267581,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[94.07599318387103,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,20.64636471996892]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-103.55336932242368,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-101.30758111212486,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-99.06179290182607,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-15.967629120770331,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-13.721840910471528,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-11.476052700172726,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-9.230264489873921,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-6.984476279575122,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-4.738688069276319,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-.247111648678712,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[1.998676561620092,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[4.244464771918896,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[53.65180539849257,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[55.89759360879138,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[82.84705213237703,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[96.32178139416983,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,18.530703133508972]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-96.81600469152727,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-94.57021648122846,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-92.32442827092966,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-15.967629120770331,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-13.721840910471528,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-11.476052700172726,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-9.230264489873921,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-6.984476279575122,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-4.738688069276319,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-.247111648678712,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[1.998676561620092,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[4.244464771918896,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[51.406017188193765,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[73.8638992911818,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,16.38853087610306]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-90.07864006063085,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-87.83285185033205,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-15.967629120770331,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-13.721840910471528,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-11.476052700172726,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-9.230264489873921,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-6.984476279575122,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-4.738688069276319,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-.247111648678712,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[1.998676561620092,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[4.244464771918896,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,14.222544797837983]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-85.58706364003325,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-15.967629120770331,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-13.721840910471528,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-11.476052700172726,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-9.230264489873921,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-6.984476279575122,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-4.738688069276319,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-.247111648678712,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[1.998676561620092,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[4.244464771918896,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[76.10968750148061,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[107.55072244566385,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,12.035606858112935]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-83.34127542973445,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-11.476052700172726,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-9.230264489873921,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-6.984476279575122,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-4.738688069276319,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-.247111648678712,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[1.998676561620092,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[4.244464771918896,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[78.3554757117794,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,9.830727978242566]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-11.476052700172726,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-9.230264489873921,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-6.984476279575122,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-4.738688069276319,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-.247111648678712,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[1.998676561620092,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[4.244464771918896,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[80.60126392207822,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,7.611049410181301]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-9.230264489873921,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-6.984476279575122,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-4.738688069276319,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-2.492899858977515,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[6.490252982217699,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[8.736041192516502,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,5.379821860119629]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[98.56756960446864,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,3.140382675475547]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[42.42286434699856,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[109.79651065596265,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,.896131466226635]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[100.81335781476744,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,-1.349495416557252]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[10.981829402815306,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[103.05914602506625,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[105.30493423536505,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,-3.593051083437981]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[150.2206984413411,-5.831104505676867]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-78.84969900913683,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-36.17972301345956,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[112.04229886626146,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[159.20385128253633,-8.060266618955612]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[150.2206984413411,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[161.44963949283516,-10.277215650248287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-76.60391079883803,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-38.42551122375836,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,-12.478721212934401]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[40.17707613669975,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,-14.661666756789273]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[37.93128792640095,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[49.16022897789497,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,-16.823070013760287]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-40.67129943405717,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[13.22761761311411,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[35.68549971610214,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,-18.960101144608686]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-42.917087644355966,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,-21.0700983623477]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-47.40866406495358,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-45.16287585465477,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[46.91444076759616,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[150.2206984413411,-23.15058088256119]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[33.43971150580334,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[44.66865255729736,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[150.2206984413411,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[152.46648665163994,-25.199259124830366]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[15.473405823412913,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[114.28808707656027,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[150.2206984413411,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[152.46648665163994,-27.214042160587546]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-49.65445227525238,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[17.719194033711716,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[31.193923295504536,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[150.2206984413411,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[152.46648665163994,-29.193042468141503]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-51.90024048555119,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[28.948135085205735,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[125.51702812805428,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[127.76281633835309,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[130.0086045486519,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[132.2543927589507,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[150.2206984413411,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[152.46648665163994,-31.134578113313832]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-33.037172522628715]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-33.037172522628715]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,-33.037172522628715]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,-33.037172522628715]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,-33.037172522628715]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,-33.037172522628715]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-56.39181690614879,-33.037172522628715]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-54.146028695849985,-33.037172522628715]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[19.96498224401052,-33.037172522628715]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[22.210770454309323,-33.037172522628715]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[24.456558664608128,-33.037172522628715]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[26.70234687490693,-33.037172522628715]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,-33.037172522628715]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[118.77966349715788,-33.037172522628715]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[121.02545170745668,-33.037172522628715]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[123.27123991775547,-33.037172522628715]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[134.5001809692495,-33.037172522628715]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[136.7459691795483,-33.037172522628715]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,-33.037172522628715]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,-33.037172522628715]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,-33.037172522628715]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,-33.037172522628715]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,-33.037172522628715]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[150.2206984413411,-33.037172522628715]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,-34.89955205446631]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-34.89955205446631]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-34.89955205446631]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,-34.89955205446631]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,-34.89955205446631]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,-34.89955205446631]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,-34.89955205446631]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[116.53387528685907,-34.89955205446631]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[138.9917573898471,-34.89955205446631]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,-34.89955205446631]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,-34.89955205446631]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,-34.89955205446631]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,-34.89955205446631]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[150.2206984413411,-34.89955205446631]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,-36.72064160176216]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-36.72064160176216]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-36.72064160176216]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,-36.72064160176216]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,-36.72064160176216]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,-36.72064160176216]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,-36.72064160176216]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[141.23754560014592,-36.72064160176216]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,-36.72064160176216]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,-36.72064160176216]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,-36.72064160176216]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,-38.49955847796458]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-38.49955847796458]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-38.49955847796458]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,-38.49955847796458]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,-38.49955847796458]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-60.88339332674639,-38.49955847796458]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-58.6376051164476,-38.49955847796458]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[143.4833338104447,-38.49955847796458]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,-38.49955847796458]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[174.92436875462795,-38.49955847796458]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[177.17015696492675,-38.49955847796458]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,-40.23560484672428]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-40.23560484672428]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-40.23560484672428]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,-40.23560484672428]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-63.129181537045206,-40.23560484672428]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,-41.92825895617992]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-41.92825895617992]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-41.92825895617992]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,-41.92825895617992]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[145.72912202074352,-41.92825895617992]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[147.97491023104232,-41.92825895617992]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[172.67858054432918,-41.92825895617992]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,-43.57716543192309]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-43.57716543192309]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-43.57716543192309]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-65.374969747344,-43.57716543192309]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[170.43279233403035,-43.57716543192309]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[172.67858054432918,-43.57716543192309]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,-45.18212487009332]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-45.18212487009332]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-45.18212487009332]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[168.18700412373155,-45.18212487009332]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[170.43279233403035,-45.18212487009332]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,-46.74308295490721]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,-46.74308295490721]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-46.74308295490721]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-46.74308295490721]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,-48.260119304558145]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,-48.260119304558145]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-48.260119304558145]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-48.260119304558145]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,-49.73343622702246]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-49.73343622702246]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-74.35812258853922,-51.16334754392393]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-72.11233437824042,-51.16334754392393]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-51.16334754392393]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-53.89470068992965]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-67.62075795764281,-53.89470068992965]}},{type:"Feature",properties:{},geometry:{type:"Point",coordinates:[-69.8665461679416,-55.19723063288941]}}]},gU={type:"FeatureCollection",features:[{type:"Feature",id:161792,geometry:{type:"Point",coordinates:[103.893473101,36.51870146]},properties:{ADM0_NAME:"China",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:83005,cum_clin:null,cum_susp:null,cum_death:3340,EPIWeek:15,EPIYear:2020,Comment:null,ID:161792,GUID:"af40da08-eeb3-40e9-bd59-41c06c17191f",CENTER_LON:103.8934731,CENTER_LAT:36.51870146,ADM0_VIZ_NAME:"China",Short_Name_ZH:"中国",Short_Name_FR:"Chine",Short_Name_ES:"China",Short_Name_RU:"Китай",Short_Name_AR:"الصين"}},{type:"Feature",id:161793,geometry:{type:"Point",coordinates:[127.829343915,36.367702276]},properties:{ADM0_NAME:"Republic of Korea",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:10284,cum_clin:null,cum_susp:null,cum_death:186,EPIWeek:15,EPIYear:2020,Comment:null,ID:161793,GUID:"8d331366-4bc7-4313-8e11-dea0054e7ad4",CENTER_LON:127.82934392,CENTER_LAT:36.36770228,ADM0_VIZ_NAME:"Republic of Korea",Short_Name_ZH:"大韩民国",Short_Name_FR:"République de Corée",Short_Name_ES:"República de Corea",Short_Name_RU:"Республика Корея",Short_Name_AR:"جمهورية كوريا"}},{type:"Feature",id:161794,geometry:{type:"Point",coordinates:[134.490975946,-25.733260232]},properties:{ADM0_NAME:"Australia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:5795,cum_clin:null,cum_susp:null,cum_death:39,EPIWeek:15,EPIYear:2020,Comment:null,ID:161794,GUID:"bb79d7c7-29b4-45f2-93e6-2df1acc709ad",CENTER_LON:134.49097595,CENTER_LAT:-25.73326023,ADM0_VIZ_NAME:"Australia",Short_Name_ZH:"澳大利亚",Short_Name_FR:"Australie",Short_Name_ES:"Australia",Short_Name_RU:"Австралия",Short_Name_AR:"أستراليا"}},{type:"Feature",id:161795,geometry:{type:"Point",coordinates:[113.252212273,2.36614385200005]},properties:{ADM0_NAME:"Malaysia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:3662,cum_clin:null,cum_susp:null,cum_death:61,EPIWeek:15,EPIYear:2020,Comment:null,ID:161795,GUID:"305e146d-efa9-43e5-a000-688bef88a933",CENTER_LON:109.7115743,CENTER_LAT:3.79382045,ADM0_VIZ_NAME:"Malaysia",Short_Name_ZH:"马来西亚",Short_Name_FR:"Malaisie",Short_Name_ES:"Malasia",Short_Name_RU:"Малайзия",Short_Name_AR:"ماليزيا"}},{type:"Feature",id:161796,geometry:{type:"Point",coordinates:[138.756881,36.466956]},properties:{ADM0_NAME:"Japan",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:3654,cum_clin:null,cum_susp:null,cum_death:73,EPIWeek:15,EPIYear:2020,Comment:null,ID:161796,GUID:"9cba65ba-ddfd-418e-8501-21b13e24e90e",CENTER_LON:137.97387026,CENTER_LAT:37.53982621,ADM0_VIZ_NAME:"Japan",Short_Name_ZH:"日本",Short_Name_FR:"Japon",Short_Name_ES:"Japón",Short_Name_RU:"Япония",Short_Name_AR:"اليابان"}},{type:"Feature",id:161797,geometry:{type:"Point",coordinates:[122.873607427,11.747402026]},properties:{ADM0_NAME:"Philippines",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:3246,cum_clin:null,cum_susp:null,cum_death:152,EPIWeek:15,EPIYear:2020,Comment:null,ID:161797,GUID:"73f7c9bf-ebf4-48dd-b4a8-ce2005c7b2fd",CENTER_LON:122.87360743,CENTER_LAT:11.74740203,ADM0_VIZ_NAME:"Philippines",Short_Name_ZH:"菲律宾",Short_Name_FR:"Philippines",Short_Name_ES:"Filipinas",Short_Name_RU:"Филиппины",Short_Name_AR:"الفلبين"}},{type:"Feature",id:161798,geometry:{type:"Point",coordinates:[103.807653591,1.35118038100006]},properties:{ADM0_NAME:"Singapore",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:1309,cum_clin:null,cum_susp:null,cum_death:6,EPIWeek:15,EPIYear:2020,Comment:null,ID:161798,GUID:"f701475b-b12e-4647-8747-5f066797615a",CENTER_LON:103.80765359,CENTER_LAT:1.35118038,ADM0_VIZ_NAME:"Singapore",Short_Name_ZH:"新加坡",Short_Name_FR:"Singapour",Short_Name_ES:"Singapur",Short_Name_RU:"Сингапур",Short_Name_AR:"سنغافورة"}},{type:"Feature",id:161799,geometry:{type:"Point",coordinates:[171.603971284,-41.837106886]},properties:{ADM0_NAME:"New Zealand",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:911,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:null,ID:161799,GUID:"4b1c43e1-ae35-4d9a-9cc7-86b92722c762",CENTER_LON:171.60397128,CENTER_LAT:-41.83710689,ADM0_VIZ_NAME:"New Zealand",Short_Name_ZH:"新西兰",Short_Name_FR:"Nouvelle-Zélande",Short_Name_ES:"Nueva Zelandia",Short_Name_RU:"Новая Зеландия",Short_Name_AR:"نيوزيلندا"}},{type:"Feature",id:161800,geometry:{type:"Point",coordinates:[108.371477,15.8749560000001]},properties:{ADM0_NAME:"Viet Nam",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:241,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161800,GUID:"7306ccbf-f0ee-4f1b-8c7e-516065fe2ae1",CENTER_LON:106.30403531,CENTER_LAT:16.65160342,ADM0_VIZ_NAME:"Viet Nam",Short_Name_ZH:"越南",Short_Name_FR:"Viet Nam",Short_Name_ES:"Viet Nam",Short_Name_RU:"Вьетнам",Short_Name_AR:"فييت نام"}},{type:"Feature",id:161801,geometry:{type:"Point",coordinates:[114.761320882,4.52147838100007]},properties:{ADM0_NAME:"Brunei Darussalam",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:135,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:null,ID:161801,GUID:"688a16e9-73e3-4495-8eec-a9ef51d28b4a",CENTER_LON:114.76132088,CENTER_LAT:4.52147838,ADM0_VIZ_NAME:"Brunei Darussalam",Short_Name_ZH:"文莱达鲁萨兰国",Short_Name_FR:"Brunéi Darussalam",Short_Name_ES:"Brunei Darussalam",Short_Name_RU:"Бруней-Даруссалам ",Short_Name_AR:"بروني دار السلام"}},{type:"Feature",id:161802,geometry:{type:"Point",coordinates:[104.92123962,12.714029941]},properties:{ADM0_NAME:"Cambodia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:114,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161802,GUID:"752bbf3c-e667-405f-a381-64dc3d7250e9",CENTER_LON:104.92123962,CENTER_LAT:12.71402994,ADM0_VIZ_NAME:"Cambodia",Short_Name_ZH:"柬埔寨",Short_Name_FR:"Cambodge",Short_Name_ES:"Camboya",Short_Name_RU:"Камбоджа",Short_Name_AR:"كمبوديا"}},{type:"Feature",id:161803,geometry:{type:"Point",coordinates:[144.775856782,13.4440310690001]},properties:{ADM0_NAME:"Guam",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:112,cum_clin:null,cum_susp:null,cum_death:4,EPIWeek:15,EPIYear:2020,Comment:null,ID:161803,GUID:"07a13d36-90ef-4597-8599-bce2894a8a50",CENTER_LON:144.77585678,CENTER_LAT:13.44403107,ADM0_VIZ_NAME:"Guam",Short_Name_ZH:`关岛\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161804,geometry:{type:"Point",coordinates:[-149.567999999,-17.5319999979999]},properties:{ADM0_NAME:"French Polynesia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:41,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161804,GUID:"5b4d9703-49bb-40f3-8f1a-426055d3630e",CENTER_LON:-149.568,CENTER_LAT:-17.532,ADM0_VIZ_NAME:"French Polynesia",Short_Name_ZH:`法属波利尼西亚\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161805,geometry:{type:"Point",coordinates:[165.671849774,-21.2946141899999]},properties:{ADM0_NAME:"New Caledonia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:18,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161805,GUID:"0c2acf2b-a803-4fdb-af96-dd5eba270bd3",CENTER_LON:165.67184977,CENTER_LAT:-21.29461419,ADM0_VIZ_NAME:"New Caledonia",Short_Name_ZH:`新喀里多尼亚\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161806,geometry:{type:"Point",coordinates:[103.083031076,46.8352087220001]},properties:{ADM0_NAME:"Mongolia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:15,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161806,GUID:"62c58dff-1d74-40b7-8bb4-fb2d4ea17224",CENTER_LON:103.08303108,CENTER_LAT:46.83520872,ADM0_VIZ_NAME:"Mongolia",Short_Name_ZH:"蒙古",Short_Name_FR:"Mongolie",Short_Name_ES:"Mongolia",Short_Name_RU:"Монголия",Short_Name_AR:"منغوليا"}},{type:"Feature",id:161807,geometry:{type:"Point",coordinates:[178.182000002,-17.8549999969999]},properties:{ADM0_NAME:"Fiji",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:14,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161807,GUID:"10a110c7-9bca-41a2-8665-e967984c4f31",CENTER_LON:178.182,CENTER_LAT:-17.855,ADM0_VIZ_NAME:"Fiji",Short_Name_ZH:"斐济",Short_Name_FR:"Fidji",Short_Name_ES:"Fiji",Short_Name_RU:"Фиджи ",Short_Name_AR:"فيجي"}},{type:"Feature",id:161808,geometry:{type:"Point",coordinates:[103.763405594,18.5024505710001]},properties:{ADM0_NAME:"Lao People's Democratic Republic",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:11,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161808,GUID:"ab453840-eb7a-431c-b52f-e79d58df4850",CENTER_LON:103.76340559,CENTER_LAT:18.50245057,ADM0_VIZ_NAME:"Lao People's Democratic Republic",Short_Name_ZH:"老挝人民民主共和国",Short_Name_FR:"République démocratique populaire lao",Short_Name_ES:"República Democrática Popular Lao",Short_Name_RU:"Лаосская Народно-Демократическая Республика",Short_Name_AR:"جمهورية لاوس الديمقراطية الشعبية"}},{type:"Feature",id:161809,geometry:{type:"Point",coordinates:[145.587832112,16.255704635]},properties:{ADM0_NAME:"Northern Mariana Islands (Commonwealth of the)",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:8,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:null,ID:161809,GUID:"b6207b55-8d8b-4599-9ea6-714cad3be598",CENTER_LON:145.58783211,CENTER_LAT:16.25570464,ADM0_VIZ_NAME:"Northern Mariana Islands (Commonwealth of the)",Short_Name_ZH:`北马里亚纳群岛自由邦\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161810,geometry:{type:"Point",coordinates:[145.253687589,-6.47589334999998]},properties:{ADM0_NAME:"Papua New Guinea",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:1,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161810,GUID:"d4e68089-5dc0-41e2-baf9-f9ba4bf31fa1",CENTER_LON:145.25368759,CENTER_LAT:-6.47589335,ADM0_VIZ_NAME:"Papua New Guinea",Short_Name_ZH:"巴布亚新几内亚",Short_Name_FR:"Papouasie-Nouvelle-Guinée",Short_Name_ES:"Papua Nueva Guinea",Short_Name_RU:"Папуа-Новая Гвинея",Short_Name_AR:"بابوا غينيا الجديدة"}},{type:"Feature",id:161811,geometry:{type:"Point",coordinates:[-3.64931117899994,40.2274959580001]},properties:{ADM0_NAME:"Spain",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:130759,cum_clin:null,cum_susp:null,cum_death:12418,EPIWeek:15,EPIYear:2020,Comment:null,ID:161811,GUID:"a2915e2f-0d93-4ee6-8e41-1fa268228580",CENTER_LON:-3.64931118,CENTER_LAT:40.22749596,ADM0_VIZ_NAME:"Spain",Short_Name_ZH:"西班牙",Short_Name_FR:"Espagne",Short_Name_ES:"España",Short_Name_RU:"Испания",Short_Name_AR:"إسبانيا"}},{type:"Feature",id:161812,geometry:{type:"Point",coordinates:[12.071655591,42.7911916680001]},properties:{ADM0_NAME:"Italy",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:128948,cum_clin:null,cum_susp:null,cum_death:15889,EPIWeek:15,EPIYear:2020,Comment:null,ID:161812,GUID:"e595e984-0e40-4363-aa46-5e7decf832f6",CENTER_LON:12.07165559,CENTER_LAT:42.79119167,ADM0_VIZ_NAME:"Italy",Short_Name_ZH:"意大利",Short_Name_FR:"Italie",Short_Name_ES:"Italia",Short_Name_RU:"Италия",Short_Name_AR:"إيطاليا"}},{type:"Feature",id:161813,geometry:{type:"Point",coordinates:[10.392329666,51.110153956]},properties:{ADM0_NAME:"Germany",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:95391,cum_clin:null,cum_susp:null,cum_death:1434,EPIWeek:15,EPIYear:2020,Comment:null,ID:161813,GUID:"a46bc45e-bcab-46d8-a50b-5008714077c0",CENTER_LON:10.39232967,CENTER_LAT:51.11015396,ADM0_VIZ_NAME:"Germany",Short_Name_ZH:"德国",Short_Name_FR:"Allemagne",Short_Name_ES:"Alemania",Short_Name_RU:"Германия",Short_Name_AR:"ألمانيا"}},{type:"Feature",id:161814,geometry:{type:"Point",coordinates:[2.55042645600003,46.5648740250001]},properties:{ADM0_NAME:"France",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:69607,cum_clin:null,cum_susp:null,cum_death:8064,EPIWeek:15,EPIYear:2020,Comment:null,ID:161814,GUID:"4c308a42-4e33-4d8f-a408-0746862545c7",CENTER_LON:2.55042646,CENTER_LAT:46.56487403,ADM0_VIZ_NAME:"France",Short_Name_ZH:"法国",Short_Name_FR:"France",Short_Name_ES:"Francia",Short_Name_RU:"Франция",Short_Name_AR:"فرنسا"}},{type:"Feature",id:161815,geometry:{type:"Point",coordinates:[-2.90049476399997,54.160179204]},properties:{ADM0_NAME:"The United Kingdom",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:47810,cum_clin:null,cum_susp:null,cum_death:4934,EPIWeek:15,EPIYear:2020,Comment:null,ID:161815,GUID:"50626e89-e145-4d23-8cc4-911240017430",CENTER_LON:-2.90049476,CENTER_LAT:54.1601792,ADM0_VIZ_NAME:"The United Kingdom",Short_Name_ZH:"大不列颠及北爱尔兰联合王国",Short_Name_FR:"Royaume-Uni de Grande-Bretagne et d'Irlande du Nord",Short_Name_ES:"Reino Unido de Gran Bretaña e Irlanda del Norte",Short_Name_RU:"Соединенное Королевство Великобритании и Северной Ирландии",Short_Name_AR:"المملكة المتحدة لبريطانيا العظمى وآيرلندا الشمالية "}},{type:"Feature",id:161816,geometry:{type:"Point",coordinates:[35.1792181100001,39.0606185600001]},properties:{ADM0_NAME:"Turkey",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:27069,cum_clin:null,cum_susp:null,cum_death:574,EPIWeek:15,EPIYear:2020,Comment:null,ID:161816,GUID:"a135ad5a-5f50-44c3-bcca-18554926127a",CENTER_LON:35.17921811,CENTER_LAT:39.06061856,ADM0_VIZ_NAME:"Turkey",Short_Name_ZH:"土耳其",Short_Name_FR:"Turquie",Short_Name_ES:"Turquía",Short_Name_RU:"Турция",Short_Name_AR:"تركيا"}},{type:"Feature",id:161817,geometry:{type:"Point",coordinates:[8.23458738300008,46.8025828]},properties:{ADM0_NAME:"Switzerland",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:21065,cum_clin:null,cum_susp:null,cum_death:715,EPIWeek:15,EPIYear:2020,Comment:null,ID:161817,GUID:"3af18dcb-7d8a-4b6e-bc45-84611b8b6ecc",CENTER_LON:8.23458738,CENTER_LAT:46.8025828,ADM0_VIZ_NAME:"Switzerland",Short_Name_ZH:"瑞士",Short_Name_FR:"Suisse",Short_Name_ES:"Suiza",Short_Name_RU:"Швейцария",Short_Name_AR:"سويسرا"}},{type:"Feature",id:161818,geometry:{type:"Point",coordinates:[4.66434840900007,50.6429517600001]},properties:{ADM0_NAME:"Belgium",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:19691,cum_clin:null,cum_susp:null,cum_death:1447,EPIWeek:15,EPIYear:2020,Comment:null,ID:161818,GUID:"effea6fa-d758-4860-ad26-41cdc15c23fb",CENTER_LON:4.66434841,CENTER_LAT:50.64295176,ADM0_VIZ_NAME:"Belgium",Short_Name_ZH:"比利时",Short_Name_FR:"Belgique",Short_Name_ES:"Bélgica",Short_Name_RU:"Бельгия",Short_Name_AR:"بلجيكا"}},{type:"Feature",id:161819,geometry:{type:"Point",coordinates:[5.60099775900005,52.253576303]},properties:{ADM0_NAME:"Netherlands",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:17851,cum_clin:null,cum_susp:null,cum_death:1766,EPIWeek:15,EPIYear:2020,Comment:null,ID:161819,GUID:"f4139dd7-53a2-45a3-8e8c-c82b9323a391",CENTER_LON:5.60099776,CENTER_LAT:52.2535763,ADM0_VIZ_NAME:"Netherlands",Short_Name_ZH:"荷兰",Short_Name_FR:"Pays-Bas",Short_Name_ES:"Países Bajos",Short_Name_RU:"Нидерланды",Short_Name_AR:"هولندا"}},{type:"Feature",id:161820,geometry:{type:"Point",coordinates:[14.1399883120001,47.59295768]},properties:{ADM0_NAME:"Austria",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:11983,cum_clin:null,cum_susp:null,cum_death:204,EPIWeek:15,EPIYear:2020,Comment:null,ID:161820,GUID:"8608cb86-e05d-483d-8eda-8d1b03069602",CENTER_LON:14.13998831,CENTER_LAT:47.59295768,ADM0_VIZ_NAME:"Austria",Short_Name_ZH:"奥地利",Short_Name_FR:"Autriche",Short_Name_ES:"Austria",Short_Name_RU:"Австрия",Short_Name_AR:"النمسا"}},{type:"Feature",id:161821,geometry:{type:"Point",coordinates:[-8.46736074199993,39.6026951090001]},properties:{ADM0_NAME:"Portugal",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:11278,cum_clin:null,cum_susp:null,cum_death:295,EPIWeek:15,EPIYear:2020,Comment:null,ID:161821,GUID:"48a4e6f7-f991-43b0-a27c-22d79e1a36bd",CENTER_LON:-8.46736074,CENTER_LAT:39.60269511,ADM0_VIZ_NAME:"Portugal",Short_Name_ZH:"葡萄牙",Short_Name_FR:"Portugal",Short_Name_ES:"Portugal",Short_Name_RU:"Португалия",Short_Name_AR:"البرتغال"}},{type:"Feature",id:161822,geometry:{type:"Point",coordinates:[34.9659827130001,31.3580565250001]},properties:{ADM0_NAME:"Israel",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:8018,cum_clin:null,cum_susp:null,cum_death:46,EPIWeek:15,EPIYear:2020,Comment:null,ID:161822,GUID:"81d5bb84-8e84-4830-9fa3-f29e9b09fda8",CENTER_LON:34.96598271,CENTER_LAT:31.35805652,ADM0_VIZ_NAME:"Israel",Short_Name_ZH:"以色列",Short_Name_FR:"Israël",Short_Name_ES:"Israel",Short_Name_RU:"Израиль",Short_Name_AR:"إسرائيل"}},{type:"Feature",id:161823,geometry:{type:"Point",coordinates:[16.741155258,62.7877422610001]},properties:{ADM0_NAME:"Sweden",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:6830,cum_clin:null,cum_susp:null,cum_death:401,EPIWeek:15,EPIYear:2020,Comment:null,ID:161823,GUID:"35ec511a-2e1c-4483-a917-1f67a1342382",CENTER_LON:16.74115526,CENTER_LAT:62.78774226,ADM0_VIZ_NAME:"Sweden",Short_Name_ZH:"瑞典",Short_Name_FR:"Suède",Short_Name_ES:"Suecia",Short_Name_RU:"Швеция",Short_Name_AR:"السويد"}},{type:"Feature",id:161824,geometry:{type:"Point",coordinates:[14.0750891050001,64.447848874]},properties:{ADM0_NAME:"Norway",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:5640,cum_clin:null,cum_susp:null,cum_death:58,EPIWeek:15,EPIYear:2020,Comment:null,ID:161824,GUID:"82efba96-e610-4592-a329-95d7c3a57b4f",CENTER_LON:14.07508911,CENTER_LAT:64.44784887,ADM0_VIZ_NAME:"Norway",Short_Name_ZH:"挪威",Short_Name_FR:"Norvège",Short_Name_ES:"Noruega",Short_Name_RU:"Норвегия",Short_Name_AR:"النرويج"}},{type:"Feature",id:161825,geometry:{type:"Point",coordinates:[96.689442146,61.9882456010001]},properties:{ADM0_NAME:"Russian Federation",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:5389,cum_clin:null,cum_susp:null,cum_death:45,EPIWeek:15,EPIYear:2020,Comment:null,ID:161825,GUID:"58afb040-3a74-491b-809d-00b145c55577",CENTER_LON:96.68944215,CENTER_LAT:61.9882456,ADM0_VIZ_NAME:"Russian Federation",Short_Name_ZH:"俄罗斯联邦",Short_Name_FR:"Fédération de Russie",Short_Name_ES:"Federación de Rusia",Short_Name_RU:"Российская Федерация",Short_Name_AR:"الاتحاد الروسي"}},{type:"Feature",id:161826,geometry:{type:"Point",coordinates:[-8.15157629999993,53.1770868180001]},properties:{ADM0_NAME:"Ireland",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:5111,cum_clin:null,cum_susp:null,cum_death:158,EPIWeek:15,EPIYear:2020,Comment:null,ID:161826,GUID:"f5d664d0-c086-4d71-8874-044e3d094c5d",CENTER_LON:-8.1515763,CENTER_LAT:53.17708682,ADM0_VIZ_NAME:"Ireland",Short_Name_ZH:"爱尔兰",Short_Name_FR:"Irlande",Short_Name_ES:"Irlanda",Short_Name_RU:"Ирландия",Short_Name_AR:"آيرلندا"}},{type:"Feature",id:161827,geometry:{type:"Point",coordinates:[15.338339951,49.743036139]},properties:{ADM0_NAME:"Czechia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:4587,cum_clin:null,cum_susp:null,cum_death:67,EPIWeek:15,EPIYear:2020,Comment:null,ID:161827,GUID:"8cf681ef-d988-4d5d-86c7-5483977059e7",CENTER_LON:15.33833995,CENTER_LAT:49.74303614,ADM0_VIZ_NAME:"Czechia",Short_Name_ZH:"捷克",Short_Name_FR:"Tchéquie",Short_Name_ES:"Chequia",Short_Name_RU:"Чехия",Short_Name_AR:"تشيكيا"}},{type:"Feature",id:161828,geometry:{type:"Point",coordinates:[10.0508208200001,55.962332802]},properties:{ADM0_NAME:"Denmark",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:4369,cum_clin:null,cum_susp:null,cum_death:179,EPIWeek:15,EPIYear:2020,Comment:null,ID:161828,GUID:"39dcd44b-aa79-48a8-9840-3179a28a35a9",CENTER_LON:10.05082082,CENTER_LAT:55.9623328,ADM0_VIZ_NAME:"Denmark",Short_Name_ZH:"丹麦",Short_Name_FR:"Danemark",Short_Name_ES:"Dinamarca",Short_Name_RU:"Дания",Short_Name_AR:"الدانمرك"}},{type:"Feature",id:161829,geometry:{type:"Point",coordinates:[19.4009201690001,52.1247240530001]},properties:{ADM0_NAME:"Poland",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:4102,cum_clin:null,cum_susp:null,cum_death:94,EPIWeek:15,EPIYear:2020,Comment:null,ID:161829,GUID:"1c04cb3c-08f6-47a3-bb42-dd9da35e226c",CENTER_LON:19.40092017,CENTER_LAT:52.12472405,ADM0_VIZ_NAME:"Poland",Short_Name_ZH:"波兰",Short_Name_FR:"Pologne",Short_Name_ES:"Polonia",Short_Name_RU:"Польша",Short_Name_AR:"بولندا"}},{type:"Feature",id:161830,geometry:{type:"Point",coordinates:[24.96990758,45.843605584]},properties:{ADM0_NAME:"Romania",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:3864,cum_clin:null,cum_susp:null,cum_death:148,EPIWeek:15,EPIYear:2020,Comment:null,ID:161830,GUID:"26eaed41-b340-4f38-90e3-9392e04420c6",CENTER_LON:24.96990758,CENTER_LAT:45.84360558,ADM0_VIZ_NAME:"Romania",Short_Name_ZH:"罗马尼亚",Short_Name_FR:"Roumanie",Short_Name_ES:"Rumania",Short_Name_RU:"Румыния",Short_Name_AR:"رومانيا"}},{type:"Feature",id:161831,geometry:{type:"Point",coordinates:[6.08754415700002,49.7709639620001]},properties:{ADM0_NAME:"Luxembourg",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:2804,cum_clin:null,cum_susp:null,cum_death:36,EPIWeek:15,EPIYear:2020,Comment:null,ID:161831,GUID:"05241edc-00fd-47ec-ba71-800dbf3f853d",CENTER_LON:6.08754416,CENTER_LAT:49.77096396,ADM0_VIZ_NAME:"Luxembourg",Short_Name_ZH:"卢森堡",Short_Name_FR:"Luxembourg",Short_Name_ES:"Luxemburgo",Short_Name_RU:"Люксембург",Short_Name_AR:"لكسمبرغ"}},{type:"Feature",id:161832,geometry:{type:"Point",coordinates:[26.258842304,64.4943312920001]},properties:{ADM0_NAME:"Finland",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:1927,cum_clin:null,cum_susp:null,cum_death:28,EPIWeek:15,EPIYear:2020,Comment:null,ID:161832,GUID:"e3fd3d41-feaa-443f-a135-08a80552525c",CENTER_LON:26.2588423,CENTER_LAT:64.49433129,ADM0_VIZ_NAME:"Finland",Short_Name_ZH:"芬兰",Short_Name_FR:"Finlande",Short_Name_ES:"Finlandia",Short_Name_RU:"Финляндия",Short_Name_AR:"فنلندا"}},{type:"Feature",id:161833,geometry:{type:"Point",coordinates:[20.8113308580001,44.0338722170001]},properties:{ADM0_NAME:"Serbia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:1908,cum_clin:null,cum_susp:null,cum_death:51,EPIWeek:15,EPIYear:2020,Comment:"145",ID:161833,GUID:"c2a1295d-39bf-42fa-89ed-cadee2ea50c0",CENTER_LON:20.81133086,CENTER_LAT:44.03387222,ADM0_VIZ_NAME:"Serbia",Short_Name_ZH:"塞尔维亚",Short_Name_FR:"Serbie",Short_Name_ES:"Serbia",Short_Name_RU:"Сербия",Short_Name_AR:"صربيا"}},{type:"Feature",id:161834,geometry:{type:"Point",coordinates:[22.9879848,39.0445287420001]},properties:{ADM0_NAME:"Greece",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:1735,cum_clin:null,cum_susp:null,cum_death:73,EPIWeek:15,EPIYear:2020,Comment:null,ID:161834,GUID:"89efdcec-75e3-4185-83a8-d2cb7f6beff6",CENTER_LON:22.9879848,CENTER_LAT:39.04452874,ADM0_VIZ_NAME:"Greece",Short_Name_ZH:"希腊",Short_Name_FR:"Grèce",Short_Name_ES:"Grecia",Short_Name_RU:"Греция",Short_Name_AR:"اليونان"}},{type:"Feature",id:161835,geometry:{type:"Point",coordinates:[-18.6057025969999,64.9976499840001]},properties:{ADM0_NAME:"Iceland",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:1486,cum_clin:null,cum_susp:null,cum_death:4,EPIWeek:15,EPIYear:2020,Comment:null,ID:161835,GUID:"66510a15-4a49-4fb4-9400-6e6fd0d1d259",CENTER_LON:-18.6057026,CENTER_LAT:64.99764998,ADM0_VIZ_NAME:"Iceland",Short_Name_ZH:"冰岛",Short_Name_FR:"Islande",Short_Name_ES:"Islandia",Short_Name_RU:"Исландия",Short_Name_AR:"آيسلندا"}},{type:"Feature",id:161836,geometry:{type:"Point",coordinates:[31.3878455180001,49.0160942850001]},properties:{ADM0_NAME:"Ukraine",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:1319,cum_clin:null,cum_susp:null,cum_death:38,EPIWeek:15,EPIYear:2020,Comment:null,ID:161836,GUID:"95185552-2b03-429c-8efb-c5779d556529",CENTER_LON:31.38784552,CENTER_LAT:49.01609429,ADM0_VIZ_NAME:"Ukraine",Short_Name_ZH:"乌克兰",Short_Name_FR:"Ukraine",Short_Name_ES:"Ucrania",Short_Name_RU:"Украина",Short_Name_AR:"أوكرانيا"}},{type:"Feature",id:161837,geometry:{type:"Point",coordinates:[16.409342489,45.043636959]},properties:{ADM0_NAME:"Croatia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:1182,cum_clin:null,cum_susp:null,cum_death:15,EPIWeek:15,EPIYear:2020,Comment:null,ID:161837,GUID:"0632bd7c-fa87-4b49-847e-747eb322c506",CENTER_LON:16.40934249,CENTER_LAT:45.04363696,ADM0_VIZ_NAME:"Croatia",Short_Name_ZH:"克罗地亚",Short_Name_FR:"Croatie",Short_Name_ES:"Croacia",Short_Name_RU:"Хорватия",Short_Name_AR:"كرواتيا"}},{type:"Feature",id:161838,geometry:{type:"Point",coordinates:[25.525770902,58.674007869]},properties:{ADM0_NAME:"Estonia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:1097,cum_clin:null,cum_susp:null,cum_death:15,EPIWeek:15,EPIYear:2020,Comment:null,ID:161838,GUID:"465ebc0d-dc95-4d49-8c01-58d7e2a9629f",CENTER_LON:25.5257709,CENTER_LAT:58.67400787,ADM0_VIZ_NAME:"Estonia",Short_Name_ZH:"爱沙尼亚",Short_Name_FR:"Estonie",Short_Name_ES:"Estonia",Short_Name_RU:"Эстония",Short_Name_AR:"إستونيا"}},{type:"Feature",id:161839,geometry:{type:"Point",coordinates:[14.8270744380001,46.123550256]},properties:{ADM0_NAME:"Slovenia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:997,cum_clin:null,cum_susp:null,cum_death:28,EPIWeek:15,EPIYear:2020,Comment:null,ID:161839,GUID:"a1f8bec8-8628-4e46-9c7e-238a386177b5",CENTER_LON:14.82707444,CENTER_LAT:46.12355026,ADM0_VIZ_NAME:"Slovenia",Short_Name_ZH:"斯洛文尼亚",Short_Name_FR:"Slovénie",Short_Name_ES:"Eslovenia",Short_Name_RU:"Словения",Short_Name_AR:"سلوفينيا"}},{type:"Feature",id:161840,geometry:{type:"Point",coordinates:[28.4743431700001,47.1933256130001]},properties:{ADM0_NAME:"Republic of Moldova",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:864,cum_clin:null,cum_susp:null,cum_death:15,EPIWeek:15,EPIYear:2020,Comment:null,ID:161840,GUID:"2e685fb5-826d-4cda-8f11-ab4e215115c8",CENTER_LON:28.47434317,CENTER_LAT:47.19332561,ADM0_VIZ_NAME:"Republic of Moldova",Short_Name_ZH:"摩尔多瓦共和国",Short_Name_FR:"République de Moldova",Short_Name_ES:"la República de Moldova",Short_Name_RU:"Республика Молдова",Short_Name_AR:" جمهورية مولدوفا"}},{type:"Feature",id:161841,geometry:{type:"Point",coordinates:[23.8968307550001,55.3358501330001]},properties:{ADM0_NAME:"Lithuania",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:811,cum_clin:null,cum_susp:null,cum_death:13,EPIWeek:15,EPIYear:2020,Comment:null,ID:161841,GUID:"9dedcb14-a08f-4f9c-9248-f3e734fe9026",CENTER_LON:23.89683075,CENTER_LAT:55.33585013,ADM0_VIZ_NAME:"Lithuania",Short_Name_ZH:"立陶宛",Short_Name_FR:"Lituanie",Short_Name_ES:"Lituania",Short_Name_RU:"Литва",Short_Name_AR:"ليتوانيا"}},{type:"Feature",id:161842,geometry:{type:"Point",coordinates:[44.947934237,40.2864168850001]},properties:{ADM0_NAME:"Armenia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:746,cum_clin:null,cum_susp:null,cum_death:7,EPIWeek:15,EPIYear:2020,Comment:null,ID:161842,GUID:"eacf41cc-aa5e-48c9-a3db-386fce22497f",CENTER_LON:44.94793424,CENTER_LAT:40.28641688,ADM0_VIZ_NAME:"Armenia",Short_Name_ZH:"亚美尼亚",Short_Name_FR:"Arménie",Short_Name_ES:"Armenia",Short_Name_RU:"Армения",Short_Name_AR:"أرمينيا"}},{type:"Feature",id:161843,geometry:{type:"Point",coordinates:[19.413428132,47.166479059]},properties:{ADM0_NAME:"Hungary",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:744,cum_clin:null,cum_susp:null,cum_death:38,EPIWeek:15,EPIYear:2020,Comment:null,ID:161843,GUID:"dd6f8b0d-73f4-4afc-889e-185c363755bd",CENTER_LON:19.41342813,CENTER_LAT:47.16647906,ADM0_VIZ_NAME:"Hungary",Short_Name_ZH:"匈牙利",Short_Name_FR:"Hongrie",Short_Name_ES:"Hungría",Short_Name_RU:"Венгрия",Short_Name_AR:"هنغاريا"}},{type:"Feature",id:161844,geometry:{type:"Point",coordinates:[17.788588722,44.166459531]},properties:{ADM0_NAME:"Bosnia and Herzegovina",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:662,cum_clin:null,cum_susp:null,cum_death:21,EPIWeek:15,EPIYear:2020,Comment:null,ID:161844,GUID:"e72216b1-90ca-4ef3-8ca5-334dc566e491",CENTER_LON:17.78861095,CENTER_LAT:44.16643966,ADM0_VIZ_NAME:"Bosnia and Herzegovina",Short_Name_ZH:"波斯尼亚和黑塞哥维那",Short_Name_FR:"Bosnie-Herzégovine",Short_Name_ES:"Bosnia y Herzegovina",Short_Name_RU:"Босния и Герцеговина",Short_Name_AR:"البوسنة والهرسك"}},{type:"Feature",id:161845,geometry:{type:"Point",coordinates:[67.3013001780001,48.160042703]},properties:{ADM0_NAME:"Kazakhstan",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:604,cum_clin:null,cum_susp:null,cum_death:5,EPIWeek:15,EPIYear:2020,Comment:null,ID:161845,GUID:"4977dd2e-53da-4f6e-8b28-b232665dce70",CENTER_LON:67.30130018,CENTER_LAT:48.1600427,ADM0_VIZ_NAME:"Kazakhstan",Short_Name_ZH:"哈萨克斯坦",Short_Name_FR:"Kazakhstan",Short_Name_ES:"Kazajstán",Short_Name_RU:"Казахстан",Short_Name_AR:"كازاخستان"}},{type:"Feature",id:161846,geometry:{type:"Point",coordinates:[47.5323268120001,40.292219501]},properties:{ADM0_NAME:"Azerbaijan",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:584,cum_clin:null,cum_susp:null,cum_death:5,EPIWeek:15,EPIYear:2020,Comment:null,ID:161846,GUID:"7c545b04-b947-4d2a-94f1-af4010981973",CENTER_LON:47.53232681,CENTER_LAT:40.2922195,ADM0_VIZ_NAME:"Azerbaijan",Short_Name_ZH:"阿塞拜疆",Short_Name_FR:"Azerbaïdjan",Short_Name_ES:"Azerbaiyán",Short_Name_RU:"Азербайджан",Short_Name_AR:"أذربيجان"}},{type:"Feature",id:161847,geometry:{type:"Point",coordinates:[28.046964476,53.5402195120001]},properties:{ADM0_NAME:"Belarus",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:562,cum_clin:null,cum_susp:null,cum_death:8,EPIWeek:15,EPIYear:2020,Comment:null,ID:161847,GUID:"b0db3eb1-014d-4f19-ad8a-0d42e84400bc",CENTER_LON:28.04696448,CENTER_LAT:53.54021951,ADM0_VIZ_NAME:"Belarus",Short_Name_ZH:"白俄罗斯",Short_Name_FR:"Bélarus",Short_Name_ES:"Belarús",Short_Name_RU:"Беларусь",Short_Name_AR:"بيلاروس"}},{type:"Feature",id:161848,geometry:{type:"Point",coordinates:[21.699148501,41.5992207530001]},properties:{ADM0_NAME:"North Macedonia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:555,cum_clin:null,cum_susp:null,cum_death:18,EPIWeek:15,EPIYear:2020,Comment:null,ID:161848,GUID:"3e3320e9-1f0d-44fb-9ca7-59fcb032f585",CENTER_LON:21.6991485,CENTER_LAT:41.59922075,ADM0_VIZ_NAME:"North Macedonia",Short_Name_ZH:"北马其顿",Short_Name_FR:"Macédoine du Nord",Short_Name_ES:"Macedonia del Norte",Short_Name_RU:"Северная Македония",Short_Name_AR:"مقدونيا الشمالية"}},{type:"Feature",id:161849,geometry:{type:"Point",coordinates:[24.9291533160001,56.857669393]},properties:{ADM0_NAME:"Latvia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:533,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:null,ID:161849,GUID:"0c31644b-8d04-4f24-aca0-d49b0523a771",CENTER_LON:24.92915332,CENTER_LAT:56.85766939,ADM0_VIZ_NAME:"Latvia",Short_Name_ZH:"拉脱维亚",Short_Name_FR:"Lettonie",Short_Name_ES:"Letonia",Short_Name_RU:"Латвия",Short_Name_AR:"لاتفيا"}},{type:"Feature",id:161850,geometry:{type:"Point",coordinates:[25.234757556,42.7603214050001]},properties:{ADM0_NAME:"Bulgaria",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:531,cum_clin:null,cum_susp:null,cum_death:20,EPIWeek:15,EPIYear:2020,Comment:null,ID:161850,GUID:"9ec1719f-edd7-42af-8988-ed246a25ff6e",CENTER_LON:25.23475756,CENTER_LAT:42.76032141,ADM0_VIZ_NAME:"Bulgaria",Short_Name_ZH:"保加利亚",Short_Name_FR:"Bulgarie",Short_Name_ES:"Bulgaria",Short_Name_RU:"Болгария",Short_Name_AR:"بلغاريا"}},{type:"Feature",id:161851,geometry:{type:"Point",coordinates:[1.57568832800007,42.548582966]},properties:{ADM0_NAME:"Andorra",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:523,cum_clin:null,cum_susp:null,cum_death:17,EPIWeek:15,EPIYear:2020,Comment:null,ID:161851,GUID:"066f0f3c-d111-4a65-afdd-5f86e5ac8ddc",CENTER_LON:1.57568833,CENTER_LAT:42.54858297,ADM0_VIZ_NAME:"Andorra",Short_Name_ZH:"安道尔",Short_Name_FR:"Andorre",Short_Name_ES:"Andorra",Short_Name_RU:"Андорра",Short_Name_AR:"أندورا"}},{type:"Feature",id:161852,geometry:{type:"Point",coordinates:[19.4914502780001,48.7073588010001]},properties:{ADM0_NAME:"Slovakia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:485,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161852,GUID:"7ec96ad8-a352-4125-af49-b14e8cb9876b",CENTER_LON:19.49145028,CENTER_LAT:48.7073588,ADM0_VIZ_NAME:"Slovakia",Short_Name_ZH:"斯洛伐克",Short_Name_FR:"Slovaquie",Short_Name_ES:"Eslovaquia",Short_Name_RU:"Словакия",Short_Name_AR:"سلوفاكيا"}},{type:"Feature",id:161853,geometry:{type:"Point",coordinates:[33.2186370790001,35.042991746]},properties:{ADM0_NAME:"Cyprus",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:446,cum_clin:null,cum_susp:null,cum_death:14,EPIWeek:15,EPIYear:2020,Comment:null,ID:161853,GUID:"21711ed5-ad84-4f8f-af93-6e4d12e558bf",CENTER_LON:33.21863708,CENTER_LAT:35.04299175,ADM0_VIZ_NAME:"Cyprus",Short_Name_ZH:"塞浦路斯",Short_Name_FR:"Chypre",Short_Name_ES:"Chipre",Short_Name_RU:"Кипр",Short_Name_AR:"قبرص"}},{type:"Feature",id:161854,geometry:{type:"Point",coordinates:[63.169505783,41.750416607]},properties:{ADM0_NAME:"Uzbekistan",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:390,cum_clin:null,cum_susp:null,cum_death:2,EPIWeek:15,EPIYear:2020,Comment:null,ID:161854,GUID:"6041dd4d-0f77-4e28-8d46-cc9afc8dbf9a",CENTER_LON:63.16950578,CENTER_LAT:41.75041661,ADM0_VIZ_NAME:"Uzbekistan",Short_Name_ZH:"乌兹别克斯坦",Short_Name_FR:"Ouzbékistan",Short_Name_ES:"Uzbekistán",Short_Name_RU:"Узбекистан",Short_Name_AR:"أوزبكستان"}},{type:"Feature",id:161855,geometry:{type:"Point",coordinates:[20.0691781670001,41.145958029]},properties:{ADM0_NAME:"Albania",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:377,cum_clin:null,cum_susp:null,cum_death:21,EPIWeek:15,EPIYear:2020,Comment:null,ID:161855,GUID:"c7192fcc-f547-44ed-a758-3d8e48420cef",CENTER_LON:20.06917817,CENTER_LAT:41.14595803,ADM0_VIZ_NAME:"Albania",Short_Name_ZH:"阿尔巴尼亚",Short_Name_FR:"Albanie",Short_Name_ES:"Albania",Short_Name_RU:"Албания",Short_Name_AR:"ألبانيا"}},{type:"Feature",id:161856,geometry:{type:"Point",coordinates:[12.4603576160001,43.9419147360001]},properties:{ADM0_NAME:"San Marino",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:266,cum_clin:null,cum_susp:null,cum_death:32,EPIWeek:15,EPIYear:2020,Comment:null,ID:161856,GUID:"1e7562c6-655a-4a6d-879f-7f80ff842b20",CENTER_LON:12.46035762,CENTER_LAT:43.94191474,ADM0_VIZ_NAME:"San Marino",Short_Name_ZH:"圣马力诺",Short_Name_FR:"Saint-Marin",Short_Name_ES:"San Marino",Short_Name_RU:"Сан-Марино",Short_Name_AR:"سان مارينو"}},{type:"Feature",id:161857,geometry:{type:"Point",coordinates:[14.404573585,35.9203665150001]},properties:{ADM0_NAME:"Malta",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:234,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161857,GUID:"fbafb313-9be5-49cc-9633-26c40e77d9d9",CENTER_LON:14.40457358,CENTER_LAT:35.92036651,ADM0_VIZ_NAME:"Malta",Short_Name_ZH:"马耳他",Short_Name_FR:"Malte",Short_Name_ES:"Malta",Short_Name_RU:"Мальта",Short_Name_AR:"مالطة"}},{type:"Feature",id:161858,geometry:{type:"Point",coordinates:[74.555492998,41.464907168]},properties:{ADM0_NAME:"Kyrgyzstan",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:216,cum_clin:null,cum_susp:null,cum_death:4,EPIWeek:15,EPIYear:2020,Comment:null,ID:161858,GUID:"874ef90d-615d-4ad3-8893-17d62ecda937",CENTER_LON:74.555493,CENTER_LAT:41.46490717,ADM0_VIZ_NAME:"Kyrgyzstan",Short_Name_ZH:"吉尔吉斯斯坦",Short_Name_FR:"Kirghizistan",Short_Name_ES:"Kirguistán",Short_Name_RU:"Кыргызстан",Short_Name_AR:"قيرغيزستان"}},{type:"Feature",id:161859,geometry:{type:"Point",coordinates:[19.264632787,42.796243544]},properties:{ADM0_NAME:"Montenegro",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:203,cum_clin:null,cum_susp:null,cum_death:2,EPIWeek:15,EPIYear:2020,Comment:null,ID:161859,GUID:"09650ef3-8793-4a1f-b8a2-b6c1da8c2bef",CENTER_LON:19.26458919,CENTER_LAT:42.79659203,ADM0_VIZ_NAME:"Montenegro",Short_Name_ZH:"黑山",Short_Name_FR:"Monténégro",Short_Name_ES:"Montenegro",Short_Name_RU:"Черногория",Short_Name_AR:"الجبل الأسود"}},{type:"Feature",id:161860,geometry:{type:"Point",coordinates:[43.517571151,42.1763258280001]},properties:{ADM0_NAME:"Georgia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:188,cum_clin:null,cum_susp:null,cum_death:2,EPIWeek:15,EPIYear:2020,Comment:null,ID:161860,GUID:"e75c6929-6252-4e54-af0f-83798afe3123",CENTER_LON:43.51757115,CENTER_LAT:42.17632583,ADM0_VIZ_NAME:"Georgia",Short_Name_ZH:"格鲁吉亚",Short_Name_FR:"Géorgie",Short_Name_ES:"Georgia",Short_Name_RU:"Грузия",Short_Name_AR:"جورجيا"}},{type:"Feature",id:161861,geometry:{type:"Point",coordinates:[-6.86363601799997,62.050314004]},properties:{ADM0_NAME:"Faroe Islands",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:181,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161861,GUID:"53f56a27-5297-4c05-a47b-b2033e95db63",CENTER_LON:-6.86363602,CENTER_LAT:62.050314,ADM0_VIZ_NAME:"Faroe Islands",Short_Name_ZH:`法罗群岛\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161862,geometry:{type:"Point",coordinates:[-2.12891773399997,49.2194981580001]},properties:{ADM0_NAME:"Jersey",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:155,cum_clin:null,cum_susp:null,cum_death:3,EPIWeek:15,EPIYear:2020,Comment:null,ID:161862,GUID:"82a7eebf-4858-4ad8-b68f-1b7bd7b719bc",CENTER_LON:-2.12891773,CENTER_LAT:49.21949816,ADM0_VIZ_NAME:"Jersey",Short_Name_ZH:`泽西岛\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161863,geometry:{type:"Point",coordinates:[-2.57582282299995,49.459046304]},properties:{ADM0_NAME:"Guernsey",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:154,cum_clin:null,cum_susp:null,cum_death:3,EPIWeek:15,EPIYear:2020,Comment:null,ID:161863,GUID:"2cb7929d-d72e-4129-83c9-c293fc73d996",CENTER_LON:-2.57582282,CENTER_LAT:49.4590463,ADM0_VIZ_NAME:"Guernsey",Short_Name_ZH:`根西岛\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161864,geometry:{type:"Point",coordinates:[20.9369550000001,42.568695]},properties:{ADM0_NAME:"Kosovo[1]",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:145,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:"1908",ID:161864,GUID:"71d5bb45-bba6-4305-a423-19927e9f4c53",CENTER_LON:20.936955,CENTER_LAT:42.568695,ADM0_VIZ_NAME:"Kosovo[1]",Short_Name_ZH:"科索沃[1]",Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161865,geometry:{type:"Point",coordinates:[-4.52652992499998,54.2288332950001]},properties:{ADM0_NAME:"Isle of Man",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:127,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:null,ID:161865,GUID:"45b3fcba-3667-474b-8081-b17737d8cb5f",CENTER_LON:-4.52652992,CENTER_LAT:54.2288333,ADM0_VIZ_NAME:"Isle of Man",Short_Name_ZH:`马恩岛\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161866,geometry:{type:"Point",coordinates:[-5.34488893099996,36.1381932030001]},properties:{ADM0_NAME:"Gibraltar",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:103,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:null,ID:161866,GUID:"6e156108-e9e8-4087-b89c-37e5851bd8d0",CENTER_LON:-5.34488893,CENTER_LAT:36.1381932,ADM0_VIZ_NAME:"Gibraltar",Short_Name_ZH:`直布罗陀\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161867,geometry:{type:"Point",coordinates:[9.55526492600006,47.1525954850001]},properties:{ADM0_NAME:"Liechtenstein",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:78,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:null,ID:161867,GUID:"8b38ed63-f4bf-4683-96b5-e8c2eb7bd7e7",CENTER_LON:9.55526493,CENTER_LAT:47.15259548,ADM0_VIZ_NAME:"Liechtenstein",Short_Name_ZH:`列支敦士登\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161868,geometry:{type:"Point",coordinates:[7.41201715200003,43.7503461470001]},properties:{ADM0_NAME:"Monaco",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:37,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161868,GUID:"ac716d7e-26d7-46d8-a1a2-4222f42042f3",CENTER_LON:7.41201715,CENTER_LAT:43.75034615,ADM0_VIZ_NAME:"Monaco",Short_Name_ZH:"摩纳哥",Short_Name_FR:"Monaco",Short_Name_ES:"Mónaco",Short_Name_RU:"Монако",Short_Name_AR:"موناكو"}},{type:"Feature",id:161869,geometry:{type:"Point",coordinates:[-41.39096667,74.7189535310001]},properties:{ADM0_NAME:"Greenland",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:11,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161869,GUID:"e7d73b5c-27bf-451c-be96-73de13560e8c",CENTER_LON:-41.39096667,CENTER_LAT:74.71895353,ADM0_VIZ_NAME:"Greenland",Short_Name_ZH:`格陵兰岛\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161870,geometry:{type:"Point",coordinates:[12.4857111430001,41.893241947]},properties:{ADM0_NAME:"Holy See",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:7,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161870,GUID:"38144504-0224-4815-a545-5c8d34bb44d8",CENTER_LON:12.48571114,CENTER_LAT:41.89324195,ADM0_VIZ_NAME:"Holy See",Short_Name_ZH:`梵蒂冈\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161871,geometry:{type:"Point",coordinates:[79.6188182980001,22.881320567]},properties:{ADM0_NAME:"India",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:4067,cum_clin:null,cum_susp:null,cum_death:109,EPIWeek:15,EPIYear:2020,Comment:null,ID:161871,GUID:"e75886d8-11ce-4563-bd85-86bcb9312cee",CENTER_LON:79.6188183,CENTER_LAT:22.88132057,ADM0_VIZ_NAME:"India",Short_Name_ZH:"印度",Short_Name_FR:"Inde",Short_Name_ES:"India",Short_Name_RU:"Индия",Short_Name_AR:"الهند"}},{type:"Feature",id:161872,geometry:{type:"Point",coordinates:[113.355162997,-.950074241999971]},properties:{ADM0_NAME:"Indonesia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:2491,cum_clin:null,cum_susp:null,cum_death:209,EPIWeek:15,EPIYear:2020,Comment:null,ID:161872,GUID:"9350b806-04ca-4c8f-926e-7c5f644a13c7",CENTER_LON:117.31101692,CENTER_LAT:-2.22903453,ADM0_VIZ_NAME:"Indonesia",Short_Name_ZH:"印度尼西亚",Short_Name_FR:"Indonésie",Short_Name_ES:"Indonesia",Short_Name_RU:"Индонезия",Short_Name_AR:"إندونيسيا"}},{type:"Feature",id:161873,geometry:{type:"Point",coordinates:[101.014907816,15.1198987560001]},properties:{ADM0_NAME:"Thailand",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:2220,cum_clin:null,cum_susp:null,cum_death:26,EPIWeek:15,EPIYear:2020,Comment:null,ID:161873,GUID:"3d1f17d7-1553-476a-a8d8-62dcd54d4779",CENTER_LON:101.01490782,CENTER_LAT:15.11989876,ADM0_VIZ_NAME:"Thailand",Short_Name_ZH:"泰国",Short_Name_FR:"Thaïlande",Short_Name_ES:"Tailandia",Short_Name_RU:"Таиланд",Short_Name_AR:"تايلند"}},{type:"Feature",id:161874,geometry:{type:"Point",coordinates:[80.7042626200001,7.61236242700005]},properties:{ADM0_NAME:"Sri Lanka",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:176,cum_clin:null,cum_susp:null,cum_death:5,EPIWeek:15,EPIYear:2020,Comment:null,ID:161874,GUID:"12d0a30e-4c87-4a62-b124-c751e10cacac",CENTER_LON:80.70426262,CENTER_LAT:7.61236243,ADM0_VIZ_NAME:"Sri Lanka",Short_Name_ZH:"斯里兰卡",Short_Name_FR:"Sri Lanka",Short_Name_ES:"Sri Lanka",Short_Name_RU:"Шри-Ланка",Short_Name_AR:"سري لانكا"}},{type:"Feature",id:161875,geometry:{type:"Point",coordinates:[90.2709257590001,23.833007201]},properties:{ADM0_NAME:"Bangladesh",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:123,cum_clin:null,cum_susp:null,cum_death:12,EPIWeek:15,EPIYear:2020,Comment:null,ID:161875,GUID:"c4d7552f-faa1-4bf4-a22e-c9b5d9ee14c2",CENTER_LON:90.27092576,CENTER_LAT:23.8330072,ADM0_VIZ_NAME:"Bangladesh",Short_Name_ZH:"孟加拉国",Short_Name_FR:"Bangladesh",Short_Name_ES:"Bangladesh",Short_Name_RU:"Бангладеш",Short_Name_AR:"بنغلاديش"}},{type:"Feature",id:161876,geometry:{type:"Point",coordinates:[96.508682057,21.1400953610001]},properties:{ADM0_NAME:"Myanmar",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:21,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:null,ID:161876,GUID:"a8c48537-a6ee-4d80-83f8-b3dda8858d94",CENTER_LON:96.50868206,CENTER_LAT:21.14009536,ADM0_VIZ_NAME:"Myanmar",Short_Name_ZH:"缅甸",Short_Name_FR:"Myanmar",Short_Name_ES:"Myanmar",Short_Name_RU:"Мьянма",Short_Name_AR:"ميانمار"}},{type:"Feature",id:161877,geometry:{type:"Point",coordinates:[73.2517847770001,3.37481931800005]},properties:{ADM0_NAME:"Maldives",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:19,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161877,GUID:"65914a49-5435-4cda-b916-f9ee5e14147b",CENTER_LON:73.25178478,CENTER_LAT:3.37481932,ADM0_VIZ_NAME:"Maldives",Short_Name_ZH:"马尔代夫",Short_Name_FR:"Maldives",Short_Name_ES:"Maldivas",Short_Name_RU:"Мальдивские Острова",Short_Name_AR:"ملديف"}},{type:"Feature",id:161878,geometry:{type:"Point",coordinates:[83.9385170750001,28.253007847]},properties:{ADM0_NAME:"Nepal",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:9,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161878,GUID:"da7d5887-ee15-421c-8ad9-b785996b0536",CENTER_LON:83.93851707,CENTER_LAT:28.25300785,ADM0_VIZ_NAME:"Nepal",Short_Name_ZH:"尼泊尔",Short_Name_FR:"Népal",Short_Name_ES:"Nepal",Short_Name_RU:"Непал",Short_Name_AR:"نيبال"}},{type:"Feature",id:161879,geometry:{type:"Point",coordinates:[90.4294327480001,27.415460823]},properties:{ADM0_NAME:"Bhutan",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:5,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161879,GUID:"0d97d3e1-4ba2-431a-8404-f13231d663bd",CENTER_LON:90.42943275,CENTER_LAT:27.41546082,ADM0_VIZ_NAME:"Bhutan",Short_Name_ZH:"不丹",Short_Name_FR:"Bhoutan",Short_Name_ES:"Bhután",Short_Name_RU:"Бутан",Short_Name_AR:"بوتان"}},{type:"Feature",id:161880,geometry:{type:"Point",coordinates:[125.860996098,-8.82052123499994]},properties:{ADM0_NAME:"Timor-Leste",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:1,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161880,GUID:"57acee0b-5cc0-45d5-b65c-1d928ac08d16",CENTER_LON:125.8609961,CENTER_LAT:-8.82052123,ADM0_VIZ_NAME:"Timor-Leste",Short_Name_ZH:"东帝汶",Short_Name_FR:"Timor-Leste",Short_Name_ES:"Timor-Leste",Short_Name_RU:"Тимор-Лешти",Short_Name_AR:"تيمور- ليشتي"}},{type:"Feature",id:161881,geometry:{type:"Point",coordinates:[54.301413763,32.564799586]},properties:{ADM0_NAME:"Iran (Islamic Republic of)",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:60500,cum_clin:null,cum_susp:null,cum_death:3739,EPIWeek:15,EPIYear:2020,Comment:null,ID:161881,GUID:"2eea3a5c-8a36-4a18-a7ab-1b927a092a60",CENTER_LON:54.30141376,CENTER_LAT:32.56479959,ADM0_VIZ_NAME:"Iran (Islamic Republic of)",Short_Name_ZH:"伊朗(伊斯兰共和国)",Short_Name_FR:"Iran (République islamique d')",Short_Name_ES:"Irán (República Islámica del)",Short_Name_RU:"Иран (Исламская Республика)",Short_Name_AR:"إيران (جمهورية - الإسلامية)"}},{type:"Feature",id:161882,geometry:{type:"Point",coordinates:[69.3858188080001,29.966788981]},properties:{ADM0_NAME:"Pakistan",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:3424,cum_clin:null,cum_susp:null,cum_death:50,EPIWeek:15,EPIYear:2020,Comment:null,ID:161882,GUID:"30ee6f01-1785-4ecb-b194-ba3becf5fd33",CENTER_LON:69.38581881,CENTER_LAT:29.96678898,ADM0_VIZ_NAME:"Pakistan",Short_Name_ZH:"巴基斯坦",Short_Name_FR:"Pakistan",Short_Name_ES:"Pakistán",Short_Name_RU:"Пакистан",Short_Name_AR:"باكستان"}},{type:"Feature",id:161883,geometry:{type:"Point",coordinates:[44.5704496550001,24.0808819160001]},properties:{ADM0_NAME:"Saudi Arabia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:2523,cum_clin:null,cum_susp:null,cum_death:38,EPIWeek:15,EPIYear:2020,Comment:null,ID:161883,GUID:"fa5a7f77-0dca-4f91-9571-3b8a44607f74",CENTER_LON:44.57044965,CENTER_LAT:24.08088192,ADM0_VIZ_NAME:"Saudi Arabia",Short_Name_ZH:"沙特阿拉伯",Short_Name_FR:"Arabie saoudite",Short_Name_ES:"Arabia Saudita",Short_Name_RU:"Саудовская Аравия",Short_Name_AR:"المملكة العربية السعودية"}},{type:"Feature",id:161884,geometry:{type:"Point",coordinates:[54.3321987830001,23.912672544]},properties:{ADM0_NAME:"United Arab Emirates",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:2076,cum_clin:null,cum_susp:null,cum_death:11,EPIWeek:15,EPIYear:2020,Comment:null,ID:161884,GUID:"549ed949-4c36-4ab0-b37c-ec9f84ee8e14",CENTER_LON:54.33219878,CENTER_LAT:23.91267254,ADM0_VIZ_NAME:"United Arab Emirates",Short_Name_ZH:"阿拉伯联合酋长国",Short_Name_FR:"Émirats arabes unis",Short_Name_ES:"Emiratos Árabes Unidos",Short_Name_RU:"Объединенные Арабские Эмираты",Short_Name_AR:"الإمارات العربية المتحدة"}},{type:"Feature",id:161885,geometry:{type:"Point",coordinates:[51.1912008290001,25.3158099720001]},properties:{ADM0_NAME:"Qatar",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:1604,cum_clin:null,cum_susp:null,cum_death:4,EPIWeek:15,EPIYear:2020,Comment:null,ID:161885,GUID:"d5c3fdc5-6328-4dc7-a12c-27f168944d11",CENTER_LON:51.19120083,CENTER_LAT:25.31580997,ADM0_VIZ_NAME:"Qatar",Short_Name_ZH:"卡塔尔",Short_Name_FR:"Qatar",Short_Name_ES:"Qatar",Short_Name_RU:"Катар",Short_Name_AR:"قطر"}},{type:"Feature",id:161886,geometry:{type:"Point",coordinates:[29.7821070850001,26.5565645950001]},properties:{ADM0_NAME:"Egypt",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:1173,cum_clin:null,cum_susp:null,cum_death:78,EPIWeek:15,EPIYear:2020,Comment:null,ID:161886,GUID:"598e205c-5683-49e0-b61e-4b279e6c2082",CENTER_LON:29.78210708,CENTER_LAT:26.5565646,ADM0_VIZ_NAME:"Egypt",Short_Name_ZH:"埃及",Short_Name_FR:"Égypte",Short_Name_ES:"Egipto",Short_Name_RU:"Египет",Short_Name_AR:"مصر"}},{type:"Feature",id:161887,geometry:{type:"Point",coordinates:[-6.31780294899994,31.8835569710001]},properties:{ADM0_NAME:"Morocco",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:1113,cum_clin:null,cum_susp:null,cum_death:71,EPIWeek:15,EPIYear:2020,Comment:null,ID:161887,GUID:"8b881b86-2b79-4d8d-992d-01d939e1cdb9",CENTER_LON:-6.31780295,CENTER_LAT:31.88355697,ADM0_VIZ_NAME:"Morocco",Short_Name_ZH:"摩洛哥",Short_Name_FR:"Maroc",Short_Name_ES:"Marruecos",Short_Name_RU:"Марокко",Short_Name_AR:"المغرب"}},{type:"Feature",id:161888,geometry:{type:"Point",coordinates:[43.7722455160001,33.048006538]},properties:{ADM0_NAME:"Iraq",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:1031,cum_clin:null,cum_susp:null,cum_death:64,EPIWeek:15,EPIYear:2020,Comment:null,ID:161888,GUID:"1ffa0200-4cdb-47df-ba42-2e687224b89d",CENTER_LON:43.77224552,CENTER_LAT:33.04800654,ADM0_VIZ_NAME:"Iraq",Short_Name_ZH:"伊拉克",Short_Name_FR:"Iraq",Short_Name_ES:"Iraq",Short_Name_RU:"Ирак",Short_Name_AR:"العراق"}},{type:"Feature",id:161889,geometry:{type:"Point",coordinates:[50.5624891480001,26.0194739230001]},properties:{ADM0_NAME:"Bahrain",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:723,cum_clin:null,cum_susp:null,cum_death:4,EPIWeek:15,EPIYear:2020,Comment:null,ID:161889,GUID:"9c36e72c-28fe-463f-8d8a-43ec9be45bc6",CENTER_LON:50.56248915,CENTER_LAT:26.01947392,ADM0_VIZ_NAME:"Bahrain",Short_Name_ZH:"巴林",Short_Name_FR:"Bahreïn",Short_Name_ES:"Bahrein",Short_Name_RU:"Бахрейн",Short_Name_AR:"البحرين"}},{type:"Feature",id:161890,geometry:{type:"Point",coordinates:[47.5935512790001,29.342509057]},properties:{ADM0_NAME:"Kuwait",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:665,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:null,ID:161890,GUID:"3b548ca2-357e-4c78-b4b8-9ed0205e0d29",CENTER_LON:47.59355128,CENTER_LAT:29.34250906,ADM0_VIZ_NAME:"Kuwait",Short_Name_ZH:"科威特",Short_Name_FR:"Koweït",Short_Name_ES:"Kuwait",Short_Name_RU:"Кувейт",Short_Name_AR:"الكويت"}},{type:"Feature",id:161891,geometry:{type:"Point",coordinates:[9.56156142200007,34.1112491690001]},properties:{ADM0_NAME:"Tunisia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:574,cum_clin:null,cum_susp:null,cum_death:22,EPIWeek:15,EPIYear:2020,Comment:null,ID:161891,GUID:"9e2fe46a-7ed9-4eda-9a6d-91dfb3d70d34",CENTER_LON:9.56156142,CENTER_LAT:34.11124917,ADM0_VIZ_NAME:"Tunisia",Short_Name_ZH:"突尼斯",Short_Name_FR:"Tunisie",Short_Name_ES:"Túnez",Short_Name_RU:"Тунис",Short_Name_AR:"تونس"}},{type:"Feature",id:161892,geometry:{type:"Point",coordinates:[35.8880612290001,33.920393044]},properties:{ADM0_NAME:"Lebanon",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:541,cum_clin:null,cum_susp:null,cum_death:19,EPIWeek:15,EPIYear:2020,Comment:null,ID:161892,GUID:"3611afe5-e2e8-4576-aa04-e9516c701991",CENTER_LON:35.88806123,CENTER_LAT:33.92039304,ADM0_VIZ_NAME:"Lebanon",Short_Name_ZH:"黎巴嫩",Short_Name_FR:"Liban",Short_Name_ES:"Líbano",Short_Name_RU:"Ливан",Short_Name_AR:"لبنان"}},{type:"Feature",id:161893,geometry:{type:"Point",coordinates:[36.786941142,31.253381786]},properties:{ADM0_NAME:"Jordan",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:345,cum_clin:null,cum_susp:null,cum_death:5,EPIWeek:15,EPIYear:2020,Comment:null,ID:161893,GUID:"79882e66-3900-4c94-b9e1-fa2de8a2a6f0",CENTER_LON:36.78694114,CENTER_LAT:31.25338179,ADM0_VIZ_NAME:"Jordan",Short_Name_ZH:"约旦",Short_Name_FR:"Jordanie",Short_Name_ES:"Jordania",Short_Name_RU:"Иордания",Short_Name_AR:"الأردن"}},{type:"Feature",id:161894,geometry:{type:"Point",coordinates:[66.0265297700001,33.8389011570001]},properties:{ADM0_NAME:"Afghanistan",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:337,cum_clin:null,cum_susp:null,cum_death:7,EPIWeek:15,EPIYear:2020,Comment:null,ID:161894,GUID:"bf4e1516-20f9-4d0b-afee-15fb1fbbbbbe",CENTER_LON:66.02652977,CENTER_LAT:33.83890116,ADM0_VIZ_NAME:"Afghanistan",Short_Name_ZH:"阿富汗",Short_Name_FR:"Afghanistan",Short_Name_ES:"Afganistán",Short_Name_RU:"Афганистан",Short_Name_AR:"أفغانستان"}},{type:"Feature",id:161895,geometry:{type:"Point",coordinates:[56.1098174690001,20.6020836820001]},properties:{ADM0_NAME:"Oman",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:331,cum_clin:null,cum_susp:null,cum_death:2,EPIWeek:15,EPIYear:2020,Comment:null,ID:161895,GUID:"5585e0a1-3071-45dd-9b00-1d4c91cb2c36",CENTER_LON:56.10981747,CENTER_LAT:20.60208368,ADM0_VIZ_NAME:"Oman",Short_Name_ZH:"阿曼",Short_Name_FR:"Oman",Short_Name_ES:"Omán",Short_Name_RU:"Оман",Short_Name_AR:"عمان"}},{type:"Feature",id:161896,geometry:{type:"Point",coordinates:[35.2037687770001,31.9139511390001]},properties:{ADM0_NAME:"occupied Palestinian territory",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:253,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:null,ID:161896,GUID:"34239be2-e939-4309-b18d-36cc81ef3230",CENTER_LON:35.20376878,CENTER_LAT:31.91395114,ADM0_VIZ_NAME:"occupied Palestinian territory",Short_Name_ZH:`巴勒斯坦被占领土\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161897,geometry:{type:"Point",coordinates:[42.5779402960001,11.7498128010001]},properties:{ADM0_NAME:"Djibouti",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:90,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161897,GUID:"01f29008-138c-45c3-a1e0-68200f08e1e9",CENTER_LON:42.5779403,CENTER_LAT:11.7498128,ADM0_VIZ_NAME:"Djibouti",Short_Name_ZH:"吉布提",Short_Name_FR:"Djibouti",Short_Name_ES:"Djibouti",Short_Name_RU:"Джибути",Short_Name_AR:"جيبوتي"}},{type:"Feature",id:161898,geometry:{type:"Point",coordinates:[38.5058474360001,35.0130727170001]},properties:{ADM0_NAME:"Syrian Arab Republic",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:19,cum_clin:null,cum_susp:null,cum_death:2,EPIWeek:15,EPIYear:2020,Comment:null,ID:161898,GUID:"cc57a348-8512-41f0-a924-29bce5e06948",CENTER_LON:38.50584744,CENTER_LAT:35.01307272,ADM0_VIZ_NAME:"Syrian Arab Republic",Short_Name_ZH:"阿拉伯叙利亚共和国",Short_Name_FR:"République arabe syrienne",Short_Name_ES:"República Árabe Siria",Short_Name_RU:"Сирийская Арабская Республика",Short_Name_AR:"الجمهورية العربية السورية"}},{type:"Feature",id:161899,geometry:{type:"Point",coordinates:[18.0231862690001,27.0440452400001]},properties:{ADM0_NAME:"Libya",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:18,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:null,ID:161899,GUID:"767c2628-8079-4eba-8899-55f29cfafb83",CENTER_LON:18.02318627,CENTER_LAT:27.04404524,ADM0_VIZ_NAME:"Libya",Short_Name_ZH:"利比亚",Short_Name_FR:"Libye",Short_Name_ES:"Libia",Short_Name_RU:"Ливия",Short_Name_AR:"ليبيا"}},{type:"Feature",id:161900,geometry:{type:"Point",coordinates:[30.004381349,16.048838211]},properties:{ADM0_NAME:"Sudan",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:12,cum_clin:null,cum_susp:null,cum_death:2,EPIWeek:15,EPIYear:2020,Comment:null,ID:161900,GUID:"3050873e-f010-4c4f-82d1-541e3c4fd887",CENTER_LON:30.00438135,CENTER_LAT:16.04883821,ADM0_VIZ_NAME:"Sudan",Short_Name_ZH:"苏丹",Short_Name_FR:"Soudan",Short_Name_ES:"Sudán",Short_Name_RU:"Судан",Short_Name_AR:"السودان"}},{type:"Feature",id:161901,geometry:{type:"Point",coordinates:[47.9564849590001,5.73058895600008]},properties:{ADM0_NAME:"Somalia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:7,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161901,GUID:"b5ff48b9-7282-445c-8cd2-befce4e0bda7",CENTER_LON:45.86255927,CENTER_LAT:6.0637135,ADM0_VIZ_NAME:"Somalia",Short_Name_ZH:"索马里",Short_Name_FR:"Somalie",Short_Name_ES:"Somalia",Short_Name_RU:"Сомали",Short_Name_AR:"الصومال"}},{type:"Feature",id:161903,geometry:{type:"Point",coordinates:[-101.433248,39.8897640000001]},properties:{ADM0_NAME:"United States of America",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:307318,cum_clin:null,cum_susp:null,cum_death:8358,EPIWeek:15,EPIYear:2020,Comment:null,ID:161903,GUID:"686f0da6-9025-4eb1-8f95-b164936ce382",CENTER_LON:-112.49356447,CENTER_LAT:45.6954816,ADM0_VIZ_NAME:"United States of America",Short_Name_ZH:"美利坚合众国",Short_Name_FR:"États-Unis d'Amérique",Short_Name_ES:"Estados Unidos de América",Short_Name_RU:"Соединенные Штаты Америки",Short_Name_AR:"الولايات المتحدة الأمريكية "}},{type:"Feature",id:161904,geometry:{type:"Point",coordinates:[-101.433248,57.393067]},properties:{ADM0_NAME:"Canada",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:13904,cum_clin:null,cum_susp:null,cum_death:231,EPIWeek:15,EPIYear:2020,Comment:null,ID:161904,GUID:"3c3c3405-35c5-4143-a7ab-738cf519268d",CENTER_LON:-98.26094698,CENTER_LAT:61.3930667,ADM0_VIZ_NAME:"Canada",Short_Name_ZH:"加拿大",Short_Name_FR:"Canada",Short_Name_ES:"Canadá",Short_Name_RU:"Канада",Short_Name_AR:"كندا"}},{type:"Feature",id:161905,geometry:{type:"Point",coordinates:[-53.088754363,-10.772282796]},properties:{ADM0_NAME:"Brazil",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:10278,cum_clin:null,cum_susp:null,cum_death:432,EPIWeek:15,EPIYear:2020,Comment:null,ID:161905,GUID:"dbe63621-0172-44aa-a620-596915232432",CENTER_LON:-53.08875436,CENTER_LAT:-10.7722828,ADM0_VIZ_NAME:"Brazil",Short_Name_ZH:"巴西",Short_Name_FR:"Brésil",Short_Name_ES:"Brasil",Short_Name_RU:"Бразилия",Short_Name_AR:"البرازيل"}},{type:"Feature",id:161906,geometry:{type:"Point",coordinates:[-71.380093845,-37.868119222]},properties:{ADM0_NAME:"Chile",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:4471,cum_clin:null,cum_susp:null,cum_death:34,EPIWeek:15,EPIYear:2020,Comment:null,ID:161906,GUID:"b359383b-d629-4086-b6b3-2bb5380272dc",CENTER_LON:-71.38009385,CENTER_LAT:-37.86811922,ADM0_VIZ_NAME:"Chile",Short_Name_ZH:"智利",Short_Name_FR:"Chili",Short_Name_ES:"Chile",Short_Name_RU:"Чили",Short_Name_AR:"شيلي"}},{type:"Feature",id:161907,geometry:{type:"Point",coordinates:[-78.780961767,-1.42528336599997]},properties:{ADM0_NAME:"Ecuador",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:3465,cum_clin:null,cum_susp:null,cum_death:172,EPIWeek:15,EPIYear:2020,Comment:null,ID:161907,GUID:"41c1d495-2f62-42c7-a9be-16e90c179973",CENTER_LON:-78.78096177,CENTER_LAT:-1.42528337,ADM0_VIZ_NAME:"Ecuador",Short_Name_ZH:"厄瓜多尔",Short_Name_FR:"Équateur",Short_Name_ES:"Ecuador",Short_Name_RU:"Эквадор",Short_Name_AR:"إكوادور"}},{type:"Feature",id:161908,geometry:{type:"Point",coordinates:[-102.534990927,23.950928413]},properties:{ADM0_NAME:"Mexico",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:1890,cum_clin:null,cum_susp:null,cum_death:79,EPIWeek:15,EPIYear:2020,Comment:null,ID:161908,GUID:"6c394d8d-8acc-4369-a7ee-c367dc533fdf",CENTER_LON:-102.53499093,CENTER_LAT:23.95092841,ADM0_VIZ_NAME:"Mexico",Short_Name_ZH:"墨西哥",Short_Name_FR:"Mexique",Short_Name_ES:"México",Short_Name_RU:"Мексика",Short_Name_AR:"المكسيك"}},{type:"Feature",id:161909,geometry:{type:"Point",coordinates:[-80.1090688369999,8.50544318000004]},properties:{ADM0_NAME:"Panama",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:1801,cum_clin:null,cum_susp:null,cum_death:46,EPIWeek:15,EPIYear:2020,Comment:null,ID:161909,GUID:"91321513-fa2a-4cf9-a076-9b4e7d336306",CENTER_LON:-80.10906884,CENTER_LAT:8.50544318,ADM0_VIZ_NAME:"Panama",Short_Name_ZH:"巴拿马",Short_Name_FR:"Panama",Short_Name_ES:"Panamá",Short_Name_RU:"Панама",Short_Name_AR:"بنما"}},{type:"Feature",id:161910,geometry:{type:"Point",coordinates:[-74.375406681,-9.16377132599996]},properties:{ADM0_NAME:"Peru",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:1746,cum_clin:null,cum_susp:null,cum_death:73,EPIWeek:15,EPIYear:2020,Comment:null,ID:161910,GUID:"aec1089a-a796-4ccb-bba0-bffde1eda7ee",CENTER_LON:-74.37540668,CENTER_LAT:-9.16377133,ADM0_VIZ_NAME:"Peru",Short_Name_ZH:"秘鲁",Short_Name_FR:"Pérou",Short_Name_ES:"Perú",Short_Name_RU:"Перу",Short_Name_AR:"بيرو"}},{type:"Feature",id:161911,geometry:{type:"Point",coordinates:[-70.485434472,18.8930938570001]},properties:{ADM0_NAME:"Dominican Republic",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:1488,cum_clin:null,cum_susp:null,cum_death:68,EPIWeek:15,EPIYear:2020,Comment:null,ID:161911,GUID:"29bca7cc-63a9-4125-aba4-d9d7ffaec4f8",CENTER_LON:-70.48543447,CENTER_LAT:18.89309386,ADM0_VIZ_NAME:"Dominican Republic",Short_Name_ZH:"多米尼加 ",Short_Name_FR:"République dominicaine",Short_Name_ES:"República Dominicana",Short_Name_RU:"Доминиканская Республика",Short_Name_AR:"الجمهورية الدومينيكية"}},{type:"Feature",id:161912,geometry:{type:"Point",coordinates:[-65.167484744,-35.376672529]},properties:{ADM0_NAME:"Argentina",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:1451,cum_clin:null,cum_susp:null,cum_death:44,EPIWeek:15,EPIYear:2020,Comment:null,ID:161912,GUID:"61ea4a3a-5a12-410e-8af0-0d59d828a9dd",CENTER_LON:-65.16748474,CENTER_LAT:-35.37667253,ADM0_VIZ_NAME:"Argentina",Short_Name_ZH:"阿根廷 ",Short_Name_FR:"Argentine",Short_Name_ES:"Argentina",Short_Name_RU:"Аргентина",Short_Name_AR:"الأرجنتين"}},{type:"Feature",id:161913,geometry:{type:"Point",coordinates:[-73.075763345,3.90037400800003]},properties:{ADM0_NAME:"Colombia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:1406,cum_clin:null,cum_susp:null,cum_death:32,EPIWeek:15,EPIYear:2020,Comment:null,ID:161913,GUID:"140398f0-b719-4865-aa11-f3dd7a3e137b",CENTER_LON:-73.07576335,CENTER_LAT:3.90037401,ADM0_VIZ_NAME:"Colombia",Short_Name_ZH:"哥伦比亚",Short_Name_FR:"Colombie",Short_Name_ES:"Colombia",Short_Name_RU:"Колумбия",Short_Name_AR:"كولومبيا"}},{type:"Feature",id:161914,geometry:{type:"Point",coordinates:[-66.466127479,18.220930739]},properties:{ADM0_NAME:"Puerto Rico",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:452,cum_clin:null,cum_susp:null,cum_death:18,EPIWeek:15,EPIYear:2020,Comment:null,ID:161914,GUID:"d6d8a819-df69-4d1d-9773-210daee6fa94",CENTER_LON:-66.46612748,CENTER_LAT:18.22093074,ADM0_VIZ_NAME:"Puerto Rico",Short_Name_ZH:`波多黎各\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161915,geometry:{type:"Point",coordinates:[-84.189038674,9.97052135000007]},properties:{ADM0_NAME:"Costa Rica",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:435,cum_clin:null,cum_susp:null,cum_death:2,EPIWeek:15,EPIYear:2020,Comment:null,ID:161915,GUID:"6a30141b-1259-45ef-9303-9b3087a67606",CENTER_LON:-84.18903867,CENTER_LAT:9.97052135,ADM0_VIZ_NAME:"Costa Rica",Short_Name_ZH:"哥斯达黎加",Short_Name_FR:"Costa Rica",Short_Name_ES:"Costa Rica",Short_Name_RU:"Коста-Рика",Short_Name_AR:"كوستاريكا"}},{type:"Feature",id:161916,geometry:{type:"Point",coordinates:[-56.012173616,-32.7995699159999]},properties:{ADM0_NAME:"Uruguay",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:400,cum_clin:null,cum_susp:null,cum_death:5,EPIWeek:15,EPIYear:2020,Comment:null,ID:161916,GUID:"6c459166-4e08-4ab6-8ada-b4509dbc38d8",CENTER_LON:-56.01217362,CENTER_LAT:-32.79956992,ADM0_VIZ_NAME:"Uruguay",Short_Name_ZH:"乌拉圭",Short_Name_FR:"Uruguay",Short_Name_ES:"Uruguay",Short_Name_RU:"Уругвай",Short_Name_AR:"أوروغواي"}},{type:"Feature",id:161917,geometry:{type:"Point",coordinates:[-79.0381997969999,21.621420958]},properties:{ADM0_NAME:"Cuba",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:320,cum_clin:null,cum_susp:null,cum_death:8,EPIWeek:15,EPIYear:2020,Comment:null,ID:161917,GUID:"57e6170d-3eb1-4cfe-9335-a61c5f2ff534",CENTER_LON:-79.0381998,CENTER_LAT:21.62142096,ADM0_VIZ_NAME:"Cuba",Short_Name_ZH:"古巴",Short_Name_FR:"Cuba",Short_Name_ES:"Cuba",Short_Name_RU:"Куба",Short_Name_AR:"كوبا"}},{type:"Feature",id:161918,geometry:{type:"Point",coordinates:[-86.619658987,14.819348125]},properties:{ADM0_NAME:"Honduras",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:268,cum_clin:null,cum_susp:null,cum_death:22,EPIWeek:15,EPIYear:2020,Comment:null,ID:161918,GUID:"8d033cd7-4b1e-4c4c-87f0-879f94799ca2",CENTER_LON:-86.61965899,CENTER_LAT:14.81934813,ADM0_VIZ_NAME:"Honduras",Short_Name_ZH:"洪都拉斯",Short_Name_FR:"Honduras",Short_Name_ES:"Honduras",Short_Name_RU:"Гондурас",Short_Name_AR:"هندوراس"}},{type:"Feature",id:161919,geometry:{type:"Point",coordinates:[-64.6705484729999,-16.7151098919999]},properties:{ADM0_NAME:"Bolivia (Plurinational State of)",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:157,cum_clin:null,cum_susp:null,cum_death:10,EPIWeek:15,EPIYear:2020,Comment:null,ID:161919,GUID:"500e72b0-dbef-4fea-b333-bcd8fd377eb9",CENTER_LON:-64.67054847,CENTER_LAT:-16.71510989,ADM0_VIZ_NAME:"Bolivia (Plurinational State of)",Short_Name_ZH:"玻利维亚(多民族国)",Short_Name_FR:"Bolivie (État plurinational de)",Short_Name_ES:"Bolivia (Estado Plurinacional de) ",Short_Name_RU:"Боливия (Многонациональное Государство)",Short_Name_AR:"بوليفيا (دولة - المتعددة القوميات)"}},{type:"Feature",id:161920,geometry:{type:"Point",coordinates:[-61.021473822,14.6527741950001]},properties:{ADM0_NAME:"Martinique",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:145,cum_clin:null,cum_susp:null,cum_death:3,EPIWeek:15,EPIYear:2020,Comment:null,ID:161920,GUID:"91fe4643-e623-462d-a9ae-d704c5ea52c1",CENTER_LON:-61.02147382,CENTER_LAT:14.65277419,ADM0_VIZ_NAME:"Martinique",Short_Name_ZH:`马提尼克岛\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161921,geometry:{type:"Point",coordinates:[-66.1662151469999,7.12493711500002]},properties:{ADM0_NAME:"Venezuela (Bolivarian Republic of)",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:144,cum_clin:null,cum_susp:null,cum_death:3,EPIWeek:15,EPIYear:2020,Comment:null,ID:161921,GUID:"64a39a4b-9812-43f6-861e-d1f31045aced",CENTER_LON:-66.16621515,CENTER_LAT:7.12493711,ADM0_VIZ_NAME:"Venezuela (Bolivarian Republic of)",Short_Name_ZH:"委内瑞拉(玻利瓦尔共和国)",Short_Name_FR:"Venezuela (République bolivarienne du)",Short_Name_ES:"Venezuela (República Bolivariana de)",Short_Name_RU:"Венесуэла (Боливарианская Республика)",Short_Name_AR:"فنزويلا"}},{type:"Feature",id:161922,geometry:{type:"Point",coordinates:[-61.530392424,16.2012635740001]},properties:{ADM0_NAME:"Guadeloupe",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:134,cum_clin:null,cum_susp:null,cum_death:7,EPIWeek:15,EPIYear:2020,Comment:null,ID:161922,GUID:"899b5328-c489-48c0-b77d-536f26908563",CENTER_LON:-61.53039242,CENTER_LAT:16.20126357,ADM0_VIZ_NAME:"Guadeloupe",Short_Name_ZH:`瓜德罗普岛\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161923,geometry:{type:"Point",coordinates:[-58.390951781,-23.236128874]},properties:{ADM0_NAME:"Paraguay",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:104,cum_clin:null,cum_susp:null,cum_death:3,EPIWeek:15,EPIYear:2020,Comment:null,ID:161923,GUID:"7e78b4f3-d231-444c-a8ab-c82373666a3f",CENTER_LON:-58.39095178,CENTER_LAT:-23.23612887,ADM0_VIZ_NAME:"Paraguay",Short_Name_ZH:"巴拉圭",Short_Name_FR:"Paraguay",Short_Name_ES:"Paraguay",Short_Name_RU:"Парагвай",Short_Name_AR:"باراغواي"}},{type:"Feature",id:161924,geometry:{type:"Point",coordinates:[-61.2526372249999,10.4683642860001]},properties:{ADM0_NAME:"Trinidad and Tobago",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:103,cum_clin:null,cum_susp:null,cum_death:6,EPIWeek:15,EPIYear:2020,Comment:null,ID:161924,GUID:"f78fa74a-5f4e-4e3d-870e-aad4ac4fcc6c",CENTER_LON:-61.25263722,CENTER_LAT:10.46836429,ADM0_VIZ_NAME:"Trinidad and Tobago",Short_Name_ZH:"特立尼达和多巴哥",Short_Name_FR:"Trinité-et-Tobago",Short_Name_ES:"Trinidad y Tabago",Short_Name_RU:"Тринидад и Тобаго ",Short_Name_AR:"ترينيداد وتوباغو"}},{type:"Feature",id:161925,geometry:{type:"Point",coordinates:[-53.2412669619999,3.92438820100006]},properties:{ADM0_NAME:"French Guiana",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:66,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161925,GUID:"31ab5f81-ad33-43ce-8491-1fa569d46c57",CENTER_LON:-53.24126696,CENTER_LAT:3.9243882,ADM0_VIZ_NAME:"French Guiana",Short_Name_ZH:`法属圭亚那\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161926,geometry:{type:"Point",coordinates:[-69.977133134,12.5166873650001]},properties:{ADM0_NAME:"Aruba",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:64,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161926,GUID:"a5ca2f77-2705-4a8f-baee-ce6df1770224",CENTER_LON:-69.97713313,CENTER_LAT:12.51668736,ADM0_VIZ_NAME:"Aruba",Short_Name_ZH:`阿鲁巴\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161927,geometry:{type:"Point",coordinates:[-88.8656067429999,13.736145316]},properties:{ADM0_NAME:"El Salvador",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:62,cum_clin:null,cum_susp:null,cum_death:3,EPIWeek:15,EPIYear:2020,Comment:null,ID:161927,GUID:"fa42353f-8656-4bc4-8ef4-19ba8a07848c",CENTER_LON:-88.86560674,CENTER_LAT:13.73614532,ADM0_VIZ_NAME:"El Salvador",Short_Name_ZH:"萨尔瓦多",Short_Name_FR:"El Salvador",Short_Name_ES:"El Salvador",Short_Name_RU:"Сальвадор",Short_Name_AR:"السلفادور"}},{type:"Feature",id:161928,geometry:{type:"Point",coordinates:[-90.356949304,15.7023025980001]},properties:{ADM0_NAME:"Guatemala",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:61,cum_clin:null,cum_susp:null,cum_death:2,EPIWeek:15,EPIYear:2020,Comment:null,ID:161928,GUID:"7c9c0379-abf3-47b2-be97-0f40ded5f732",CENTER_LON:-90.3569493,CENTER_LAT:15.7023026,ADM0_VIZ_NAME:"Guatemala",Short_Name_ZH:"危地马拉",Short_Name_FR:"Guatemala",Short_Name_ES:"Guatemala",Short_Name_RU:"Гватемала",Short_Name_AR:"غواتيمالا"}},{type:"Feature",id:161929,geometry:{type:"Point",coordinates:[-77.3197508119999,18.151330639]},properties:{ADM0_NAME:"Jamaica",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:55,cum_clin:null,cum_susp:null,cum_death:3,EPIWeek:15,EPIYear:2020,Comment:null,ID:161929,GUID:"203d9c03-8c32-4506-8ae0-abfc176c586f",CENTER_LON:-77.31975081,CENTER_LAT:18.15133064,ADM0_VIZ_NAME:"Jamaica",Short_Name_ZH:"牙买加",Short_Name_FR:"Jamaïque",Short_Name_ES:"Jamaica",Short_Name_RU:"Ямайка",Short_Name_AR:"جامايكا"}},{type:"Feature",id:161930,geometry:{type:"Point",coordinates:[-59.5621269649999,13.1787990180001]},properties:{ADM0_NAME:"Barbados",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:51,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161930,GUID:"7c810b1f-298c-4f95-a84d-ce460e6e593d",CENTER_LON:-59.56212696,CENTER_LAT:13.17879902,ADM0_VIZ_NAME:"Barbados",Short_Name_ZH:"巴巴多斯",Short_Name_FR:"Barbade",Short_Name_ES:"Barbados",Short_Name_RU:"Барбадос",Short_Name_AR:"بربادوس"}},{type:"Feature",id:161931,geometry:{type:"Point",coordinates:[-64.7869272139999,17.967889896]},properties:{ADM0_NAME:"United States Virgin Islands",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:42,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161931,GUID:"446c32b0-82a6-46a6-896d-731014da7e78",CENTER_LON:-64.78692721,CENTER_LAT:17.9678899,ADM0_VIZ_NAME:"United States Virgin Islands",Short_Name_ZH:`美属维尔京群岛\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161932,geometry:{type:"Point",coordinates:[-64.7563772199999,32.3134949820001]},properties:{ADM0_NAME:"Bermuda",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:37,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161932,GUID:"52405a96-0ce0-44d8-9634-3d0585d5e7fa",CENTER_LON:-64.75637722,CENTER_LAT:32.31349498,ADM0_VIZ_NAME:"Bermuda",Short_Name_ZH:`百慕大\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161933,geometry:{type:"Point",coordinates:[-80.82909683,19.4315249970001]},properties:{ADM0_NAME:"Cayman Islands",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:35,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:null,ID:161933,GUID:"5e1bff1e-8435-4bf8-ae33-bea5d4269c84",CENTER_LON:-80.82909683,CENTER_LAT:19.431525,ADM0_VIZ_NAME:"Cayman Islands",Short_Name_ZH:`开曼群岛\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161934,geometry:{type:"Point",coordinates:[-63.064572292,18.0876049020001]},properties:{ADM0_NAME:"Saint Martin",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:29,cum_clin:null,cum_susp:null,cum_death:2,EPIWeek:15,EPIYear:2020,Comment:null,ID:161934,GUID:"17c12ab2-0c7d-412b-b525-3f740cbc3e6c",CENTER_LON:-63.06457229,CENTER_LAT:18.0876049,ADM0_VIZ_NAME:"Saint Martin",Short_Name_ZH:`圣马丁岛\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161935,geometry:{type:"Point",coordinates:[-76.5004385,24.166682904]},properties:{ADM0_NAME:"Bahamas",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:28,cum_clin:null,cum_susp:null,cum_death:4,EPIWeek:15,EPIYear:2020,Comment:null,ID:161935,GUID:"33b1cbcb-fe87-4a85-95cb-6da429e96a44",CENTER_LON:-76.5004385,CENTER_LAT:24.1666829,ADM0_VIZ_NAME:"Bahamas",Short_Name_ZH:"巴哈马",Short_Name_FR:"Bahamas",Short_Name_ES:"Bahamas",Short_Name_RU:"Багамские Острова",Short_Name_AR:"جزر البهاما"}},{type:"Feature",id:161936,geometry:{type:"Point",coordinates:[-58.9741634929999,4.79237827200006]},properties:{ADM0_NAME:"Guyana",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:24,cum_clin:null,cum_susp:null,cum_death:4,EPIWeek:15,EPIYear:2020,Comment:null,ID:161936,GUID:"b663554a-3aa6-47a6-ba74-453b3ef0dcd1",CENTER_LON:-58.97416349,CENTER_LAT:4.79237827,ADM0_VIZ_NAME:"Guyana",Short_Name_ZH:"圭亚那",Short_Name_FR:"Guyana",Short_Name_ES:"Guyana",Short_Name_RU:"Гайана",Short_Name_AR:"غيانا"}},{type:"Feature",id:161937,geometry:{type:"Point",coordinates:[-63.061943376,18.046835238]},properties:{ADM0_NAME:"Sint Maarten",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:23,cum_clin:null,cum_susp:null,cum_death:2,EPIWeek:15,EPIYear:2020,Comment:null,ID:161937,GUID:"7974e7a0-7846-4685-946a-da7f5315015d",CENTER_LON:-63.06194338,CENTER_LAT:18.04683524,ADM0_VIZ_NAME:"Sint Maarten",Short_Name_ZH:`圣马丁\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161938,geometry:{type:"Point",coordinates:[-72.683580138,18.9390013620001]},properties:{ADM0_NAME:"Haiti",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:21,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161938,GUID:"45438a36-15d1-416a-b380-1606669af4c7",CENTER_LON:-72.68358014,CENTER_LAT:18.93900136,ADM0_VIZ_NAME:"Haiti",Short_Name_ZH:"海地",Short_Name_FR:"Haïti",Short_Name_ES:"Haití",Short_Name_RU:"Гаити",Short_Name_AR:"هايتي"}},{type:"Feature",id:161939,geometry:{type:"Point",coordinates:[-60.968690838,13.8981151830001]},properties:{ADM0_NAME:"Saint Lucia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:14,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161939,GUID:"4f023367-6b34-4f1f-9570-0a3fb3983ca5",CENTER_LON:-60.96869084,CENTER_LAT:13.89811518,ADM0_VIZ_NAME:"Saint Lucia",Short_Name_ZH:"圣卢西亚",Short_Name_FR:"Sainte-Lucie",Short_Name_ES:"Santa Lucía",Short_Name_RU:"Сент-Люсия",Short_Name_AR:"سانت لوسيا"}},{type:"Feature",id:161940,geometry:{type:"Point",coordinates:[-61.650039087,12.162515732]},properties:{ADM0_NAME:"Grenada",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:12,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161940,GUID:"4b754e02-4287-4b40-9237-7e13fb010e05",CENTER_LON:-61.65003909,CENTER_LAT:12.16251573,ADM0_VIZ_NAME:"Grenada",Short_Name_ZH:"格林纳达",Short_Name_FR:"Grenade",Short_Name_ES:"Granada",Short_Name_RU:"Гренада",Short_Name_AR:"غرينادا"}},{type:"Feature",id:161941,geometry:{type:"Point",coordinates:[-68.967490546,12.187797523]},properties:{ADM0_NAME:"Curaçao",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:11,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:null,ID:161941,GUID:"9ebcf8c2-5724-465e-93ee-b30f90cc72d2",CENTER_LON:-68.96749055,CENTER_LAT:12.18779752,ADM0_VIZ_NAME:"Curaçao",Short_Name_ZH:`库拉索岛\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161942,geometry:{type:"Point",coordinates:[-61.355493849,15.4366125190001]},properties:{ADM0_NAME:"Dominica",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:11,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161942,GUID:"1c6dac95-666f-4994-abdc-7d788e9d27cd",CENTER_LON:-61.35549385,CENTER_LAT:15.43661252,ADM0_VIZ_NAME:"Dominica",Short_Name_ZH:"多米尼克",Short_Name_FR:"Dominique",Short_Name_ES:"Dominica",Short_Name_RU:"Доминика",Short_Name_AR:"دومينيكا"}},{type:"Feature",id:161943,geometry:{type:"Point",coordinates:[-55.9115812429999,4.12671321000005]},properties:{ADM0_NAME:"Suriname",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:10,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161943,GUID:"33662fcb-6959-4784-a877-29e3781477c2",CENTER_LON:-55.91158124,CENTER_LAT:4.12671321,ADM0_VIZ_NAME:"Suriname",Short_Name_ZH:"苏里南",Short_Name_FR:"Suriname",Short_Name_ES:"Suriname",Short_Name_RU:"Суринам",Short_Name_AR:"سورينام"}},{type:"Feature",id:161944,geometry:{type:"Point",coordinates:[-62.696173968,17.2658565570001]},properties:{ADM0_NAME:"Saint Kitts and Nevis",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:9,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161944,GUID:"f6334680-79c9-450c-bddb-95facb6af2b9",CENTER_LON:-62.69617397,CENTER_LAT:17.26585656,ADM0_VIZ_NAME:"Saint Kitts and Nevis",Short_Name_ZH:"圣基茨和尼维斯",Short_Name_FR:"Saint-Kitts-et-Nevis",Short_Name_ES:"Saint Kitts y Nevis",Short_Name_RU:"Сент-Китс и Невис",Short_Name_AR:"سانت كيتس ونيفس"}},{type:"Feature",id:161945,geometry:{type:"Point",coordinates:[-61.791127591,17.280137]},properties:{ADM0_NAME:"Antigua and Barbuda",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:7,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161945,GUID:"2debcae0-be57-4212-8b92-8a0be7da51a4",CENTER_LON:-61.79112759,CENTER_LAT:17.280137,ADM0_VIZ_NAME:"Antigua and Barbuda",Short_Name_ZH:"安提瓜和巴布达",Short_Name_FR:"Antigua-et-Barbuda",Short_Name_ES:"Antigua y Barbuda",Short_Name_RU:"Антигуа и Барбуда",Short_Name_AR:"أنتيغوا وبربودا"}},{type:"Feature",id:161946,geometry:{type:"Point",coordinates:[-62.186921449,16.7357596900001]},properties:{ADM0_NAME:"Montserrat",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:6,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161946,GUID:"9a351f16-f468-4e6a-925e-03db8fbd4ba7",CENTER_LON:-62.18692145,CENTER_LAT:16.73575969,ADM0_VIZ_NAME:"Montserrat",Short_Name_ZH:`蒙特塞拉特岛\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161947,geometry:null,properties:{ADM0_NAME:"Saint Bathélemy",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:6,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161947,GUID:null,CENTER_LON:null,CENTER_LAT:null,ADM0_VIZ_NAME:null,Short_Name_ZH:null,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161948,geometry:{type:"Point",coordinates:[-88.682785445,17.218528292]},properties:{ADM0_NAME:"Belize",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:5,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161948,GUID:"a4d24382-fdc3-4d00-9100-b548a6242d22",CENTER_LON:-88.68278545,CENTER_LAT:17.21852829,ADM0_VIZ_NAME:"Belize",Short_Name_ZH:"伯利兹",Short_Name_FR:"Belize",Short_Name_ES:"Belice",Short_Name_RU:"Белиз",Short_Name_AR:"بليز"}},{type:"Feature",id:161949,geometry:{type:"Point",coordinates:[-85.033750249,12.8400697610001]},properties:{ADM0_NAME:"Nicaragua",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:5,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:null,ID:161949,GUID:"85203b89-a328-4d85-b6e4-c9596a5c5a6f",CENTER_LON:-85.03375025,CENTER_LAT:12.84006976,ADM0_VIZ_NAME:"Nicaragua",Short_Name_ZH:"尼加拉瓜",Short_Name_FR:"Nicaragua",Short_Name_ES:"Nicaragua",Short_Name_RU:"Никарагуа",Short_Name_AR:"نيكاراغوا"}},{type:"Feature",id:161950,geometry:{type:"Point",coordinates:[-71.882079172,21.8086929190001]},properties:{ADM0_NAME:"Turks and Caicos Islands",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:5,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:null,ID:161950,GUID:"370668bf-3302-4cb1-928d-261a3fdd09ee",CENTER_LON:-71.88207917,CENTER_LAT:21.80869292,ADM0_VIZ_NAME:"Turks and Caicos Islands",Short_Name_ZH:`特克斯和凯科斯群岛\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161951,geometry:{type:"Point",coordinates:[-63.057956094,18.2242329370001]},properties:{ADM0_NAME:"Anguilla",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:3,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161951,GUID:"a4e72e84-00bb-4ad5-890e-a9e6734a28ee",CENTER_LON:-63.05795609,CENTER_LAT:18.22423294,ADM0_VIZ_NAME:"Anguilla",Short_Name_ZH:`安圭拉\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161952,geometry:{type:"Point",coordinates:[-64.481892015,18.5099570350001]},properties:{ADM0_NAME:"British Virgin Islands",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:3,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161952,GUID:"81eb8a93-1c6f-46a7-8927-543258b1b974",CENTER_LON:-64.48189201,CENTER_LAT:18.50995704,ADM0_VIZ_NAME:"British Virgin Islands",Short_Name_ZH:`英属维尔京群岛\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161953,geometry:{type:"Point",coordinates:[-61.2075300889999,13.2020546800001]},properties:{ADM0_NAME:"Saint Vincent and the Grenadines",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:3,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161953,GUID:"e0de017e-24ec-454f-aee3-57443de5b7d2",CENTER_LON:-61.20753009,CENTER_LAT:13.20205468,ADM0_VIZ_NAME:"Saint Vincent and the Grenadines",Short_Name_ZH:"圣文森特和格林纳丁斯",Short_Name_FR:"Saint-Vincent-et-les Grenadines",Short_Name_ES:"San Vicente y las Granadinas",Short_Name_RU:"Сент-Винсент и Гренадины",Short_Name_AR:"سانت فنسنت وجزر غرينادين"}},{type:"Feature",id:161954,geometry:{type:"Point",coordinates:[-67.6837091749999,12.801902598]},properties:{ADM0_NAME:"Bonaire, Sint Eustatius and Saba",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:2,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161954,GUID:"03d049e6-6b6d-40e8-8be7-c2d0bf288b51",CENTER_LON:-67.68370917,CENTER_LAT:12.8019026,ADM0_VIZ_NAME:"Bonaire, Sint Eustatius and Saba",Short_Name_ZH:`博内尔、圣尤斯特歇斯和萨巴\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161955,geometry:{type:"Point",coordinates:[-59.3723460369999,-51.739824397]},properties:{ADM0_NAME:"Falkland Islands (Malvinas)",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:2,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161955,GUID:"769ffe65-df8d-4c93-aae9-abb20ae84439",CENTER_LON:-59.37234604,CENTER_LAT:-51.7398244,ADM0_VIZ_NAME:"Falkland Islands (Malvinas)",Short_Name_ZH:`福克兰群岛(马尔维纳斯群岛)\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161956,geometry:{type:"Point",coordinates:[25.0887119870001,-28.993213517]},properties:{ADM0_NAME:"South Africa",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:1655,cum_clin:null,cum_susp:null,cum_death:11,EPIWeek:15,EPIYear:2020,Comment:null,ID:161956,GUID:"36a8fa2c-5b69-47e3-bac8-dc657e44de43",CENTER_LON:25.08871199,CENTER_LAT:-28.99321352,ADM0_VIZ_NAME:"South Africa",Short_Name_ZH:"南非",Short_Name_FR:"Afrique du Sud",Short_Name_ES:"Sudáfrica",Short_Name_RU:"Южная Африка",Short_Name_AR:"جنوب أفريقيا"}},{type:"Feature",id:161957,geometry:{type:"Point",coordinates:[2.63236594700004,28.1633574140001]},properties:{ADM0_NAME:"Algeria",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:1251,cum_clin:null,cum_susp:null,cum_death:130,EPIWeek:15,EPIYear:2020,Comment:null,ID:161957,GUID:"74e60ac9-fe75-4273-9483-536bb1dd9f64",CENTER_LON:2.63236595,CENTER_LAT:28.16335741,ADM0_VIZ_NAME:"Algeria",Short_Name_ZH:"阿尔及利亚",Short_Name_FR:"Algérie",Short_Name_ES:"Argelia",Short_Name_RU:"Алжир",Short_Name_AR:"الجزائر"}},{type:"Feature",id:161958,geometry:{type:"Point",coordinates:[12.7432535040001,5.68580436000002]},properties:{ADM0_NAME:"Cameroon",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:555,cum_clin:null,cum_susp:null,cum_death:9,EPIWeek:15,EPIYear:2020,Comment:null,ID:161958,GUID:"5cdb6bf4-89ce-457e-9c53-fb9142d71ba0",CENTER_LON:12.7432535,CENTER_LAT:5.68580436,ADM0_VIZ_NAME:"Cameroon",Short_Name_ZH:"喀麦隆",Short_Name_FR:"Cameroun",Short_Name_ES:"Camerún",Short_Name_RU:"Камерун",Short_Name_AR:"الكاميرون"}},{type:"Feature",id:161959,geometry:{type:"Point",coordinates:[-1.73983521099996,12.277937148]},properties:{ADM0_NAME:"Burkina Faso",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:345,cum_clin:null,cum_susp:null,cum_death:17,EPIWeek:15,EPIYear:2020,Comment:null,ID:161959,GUID:"9612ac85-d7cd-4b88-b2b9-c7b6db8ab6de",CENTER_LON:-1.73983521,CENTER_LAT:12.27793715,ADM0_VIZ_NAME:"Burkina Faso",Short_Name_ZH:"布基纳法索",Short_Name_FR:"Burkina Faso",Short_Name_ES:"Burkina Faso",Short_Name_RU:"Буркина-Фасо",Short_Name_AR:"بوركينا فاسو"}},{type:"Feature",id:161960,geometry:{type:"Point",coordinates:[55.538212738,-21.1216294619999]},properties:{ADM0_NAME:"Réunion",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:344,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161960,GUID:"be01a35a-ea31-4453-bb23-5a01330a658f",CENTER_LON:55.53821274,CENTER_LAT:-21.12162946,ADM0_VIZ_NAME:"Réunion",Short_Name_ZH:`留尼汪岛\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161961,geometry:null,properties:{ADM0_NAME:"Côte d'Ivoire",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:261,cum_clin:null,cum_susp:null,cum_death:2,EPIWeek:15,EPIYear:2020,Comment:null,ID:161961,GUID:null,CENTER_LON:null,CENTER_LAT:null,ADM0_VIZ_NAME:null,Short_Name_ZH:null,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161962,geometry:{type:"Point",coordinates:[8.10527725500003,9.59360399500002]},properties:{ADM0_NAME:"Nigeria",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:232,cum_clin:null,cum_susp:null,cum_death:5,EPIWeek:15,EPIYear:2020,Comment:null,ID:161962,GUID:"3eba1f03-98d4-4335-804e-6c3f9e7d5da1",CENTER_LON:8.10527726,CENTER_LAT:9.59360399,ADM0_VIZ_NAME:"Nigeria",Short_Name_ZH:"尼日利亚",Short_Name_FR:"Nigéria",Short_Name_ES:"Nigeria",Short_Name_RU:"Нигерия",Short_Name_AR:"نيجيريا"}},{type:"Feature",id:161963,geometry:{type:"Point",coordinates:[57.868475995,-20.1700677979999]},properties:{ADM0_NAME:"Mauritius",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:227,cum_clin:null,cum_susp:null,cum_death:7,EPIWeek:15,EPIYear:2020,Comment:null,ID:161963,GUID:"2094fffc-8af7-4e5e-8bcd-176608114177",CENTER_LON:57.868476,CENTER_LAT:-20.1700678,ADM0_VIZ_NAME:"Mauritius",Short_Name_ZH:"毛里求斯",Short_Name_FR:"Maurice",Short_Name_ES:"Mauricio",Short_Name_RU:"Маврикий",Short_Name_AR:"موريشيوس"}},{type:"Feature",id:161964,geometry:{type:"Point",coordinates:[-14.4681770789999,14.3669795380001]},properties:{ADM0_NAME:"Senegal",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:226,cum_clin:null,cum_susp:null,cum_death:2,EPIWeek:15,EPIYear:2020,Comment:null,ID:161964,GUID:"08acdf4e-cc04-46d9-b4c1-75f6ef39b685",CENTER_LON:-14.46817708,CENTER_LAT:14.36697954,ADM0_VIZ_NAME:"Senegal",Short_Name_ZH:"塞内加尔",Short_Name_FR:"Sénégal",Short_Name_ES:"Senegal",Short_Name_RU:"Сенегал",Short_Name_AR:"السنغال"}},{type:"Feature",id:161965,geometry:{type:"Point",coordinates:[-1.20704618899993,7.95964382200003]},properties:{ADM0_NAME:"Ghana",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:214,cum_clin:null,cum_susp:null,cum_death:5,EPIWeek:15,EPIYear:2020,Comment:null,ID:161965,GUID:"f582ca2f-9b52-4cea-ac99-2ae687930d8e",CENTER_LON:-1.20704619,CENTER_LAT:7.95964382,ADM0_VIZ_NAME:"Ghana",Short_Name_ZH:"加纳",Short_Name_FR:"Ghana",Short_Name_ES:"Ghana",Short_Name_RU:"Гана",Short_Name_AR:"غانا"}},{type:"Feature",id:161966,geometry:{type:"Point",coordinates:[9.39765753500006,17.4263228230001]},properties:{ADM0_NAME:"Niger",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:184,cum_clin:null,cum_susp:null,cum_death:10,EPIWeek:15,EPIYear:2020,Comment:null,ID:161966,GUID:"bb6da46b-2209-45c4-b51a-fb815b957eee",CENTER_LON:9.39765754,CENTER_LAT:17.42632282,ADM0_VIZ_NAME:"Niger",Short_Name_ZH:"尼日尔",Short_Name_FR:"Niger",Short_Name_ES:"Níger",Short_Name_RU:"Нигер",Short_Name_AR:"النيجر"}},{type:"Feature",id:161967,geometry:{type:"Point",coordinates:[23.6544653930001,-2.87619975299998]},properties:{ADM0_NAME:"Democratic Republic of the Congo",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:161,cum_clin:null,cum_susp:null,cum_death:18,EPIWeek:15,EPIYear:2020,Comment:null,ID:161967,GUID:"39cf5edd-97d7-4d13-a724-a5d098782320",CENTER_LON:23.65431545,CENTER_LAT:-2.87622576,ADM0_VIZ_NAME:"Democratic Republic of the Congo",Short_Name_ZH:"刚果民主共和国",Short_Name_FR:"République démocratique du Congo",Short_Name_ES:"República Democrática del Congo",Short_Name_RU:"Демократическая Республика Конго",Short_Name_AR:"جمهورية الكونغو الديمقراطية "}},{type:"Feature",id:161968,geometry:{type:"Point",coordinates:[45.139261742,-12.8183500609999]},properties:{ADM0_NAME:"Mayotte",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:147,cum_clin:null,cum_susp:null,cum_death:2,EPIWeek:15,EPIYear:2020,Comment:null,ID:161968,GUID:"54c780ec-3aa8-442e-987f-6589116a3f57",CENTER_LON:45.13926174,CENTER_LAT:-12.81835006,ADM0_VIZ_NAME:"Mayotte",Short_Name_ZH:`马约特岛\r +`,Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}},{type:"Feature",id:161969,geometry:{type:"Point",coordinates:[37.857864416,.529780176000031]},properties:{ADM0_NAME:"Kenya",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:142,cum_clin:null,cum_susp:null,cum_death:4,EPIWeek:15,EPIYear:2020,Comment:null,ID:161969,GUID:"2198ecc4-8b3b-4003-9ea9-874348df3de0",CENTER_LON:37.85786442,CENTER_LAT:.52978018,ADM0_VIZ_NAME:"Kenya",Short_Name_ZH:"肯尼亚",Short_Name_FR:"Kenya",Short_Name_ES:"Kenya",Short_Name_RU:"Кения",Short_Name_AR:"كينيا"}},{type:"Feature",id:161970,geometry:{type:"Point",coordinates:[-10.9418254249999,10.438540941]},properties:{ADM0_NAME:"Guinea",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:111,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161970,GUID:"3740a605-5160-4f27-bd0d-d8f08466011a",CENTER_LON:-10.94182542,CENTER_LAT:10.43854094,ADM0_VIZ_NAME:"Guinea",Short_Name_ZH:"几内亚",Short_Name_FR:"Guinée",Short_Name_ES:"Guinea",Short_Name_RU:"Гвинея",Short_Name_AR:"غينيا"}},{type:"Feature",id:161971,geometry:{type:"Point",coordinates:[29.917205531,-1.99796797799996]},properties:{ADM0_NAME:"Rwanda",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:102,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161971,GUID:"895ea23f-dbcd-467f-bf1e-54aa4d3f2c45",CENTER_LON:29.91720553,CENTER_LAT:-1.99796798,ADM0_VIZ_NAME:"Rwanda",Short_Name_ZH:"卢旺达",Short_Name_FR:"Rwanda",Short_Name_ES:"Rwanda",Short_Name_RU:"Руанда",Short_Name_AR:"رواندا"}},{type:"Feature",id:161972,geometry:{type:"Point",coordinates:[46.7059924820001,-19.373521329]},properties:{ADM0_NAME:"Madagascar",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:77,cum_clin:null,cum_susp:null,cum_death:2,EPIWeek:15,EPIYear:2020,Comment:null,ID:161972,GUID:"820b442d-b7ed-4c39-ab5a-51b0babbeecf",CENTER_LON:46.70599248,CENTER_LAT:-19.37352133,ADM0_VIZ_NAME:"Madagascar",Short_Name_ZH:"马达加斯加",Short_Name_FR:"Madagascar",Short_Name_ES:"Madagascar",Short_Name_RU:"Мадагаскар",Short_Name_AR:"مدغشقر"}},{type:"Feature",id:161973,geometry:{type:"Point",coordinates:[32.386266425,1.28002949000006]},properties:{ADM0_NAME:"Uganda",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:48,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161973,GUID:"1be45e1a-dfcd-4b79-870d-92166cf43e82",CENTER_LON:32.38622999,CENTER_LAT:1.28008463,ADM0_VIZ_NAME:"Uganda",Short_Name_ZH:"乌干达",Short_Name_FR:"Ouganda",Short_Name_ES:"Uganda",Short_Name_RU:"Уганда",Short_Name_AR:"أوغندا"}},{type:"Feature",id:161974,geometry:{type:"Point",coordinates:[15.224282988,-.839998298999944]},properties:{ADM0_NAME:"Congo",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:45,cum_clin:null,cum_susp:null,cum_death:5,EPIWeek:15,EPIYear:2020,Comment:null,ID:161974,GUID:"a32af07d-abed-484a-b1e9-4b7b0785c3dc",CENTER_LON:15.22427459,CENTER_LAT:-.84006603,ADM0_VIZ_NAME:"Congo",Short_Name_ZH:"刚果",Short_Name_FR:"Congo",Short_Name_ES:"Congo (el)",Short_Name_RU:"Конго",Short_Name_AR:"الكونغو"}},{type:"Feature",id:161975,geometry:{type:"Point",coordinates:[.97584596400003,8.53491037400005]},properties:{ADM0_NAME:"Togo",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:44,cum_clin:null,cum_susp:null,cum_death:3,EPIWeek:15,EPIYear:2020,Comment:null,ID:161975,GUID:"19b27a13-b30b-4a0a-b085-084cddf5db4b",CENTER_LON:.97584596,CENTER_LAT:8.53491037,ADM0_VIZ_NAME:"Togo",Short_Name_ZH:"多哥",Short_Name_FR:"Togo",Short_Name_ES:"Togo (el)",Short_Name_RU:"Того",Short_Name_AR:"توغو"}},{type:"Feature",id:161976,geometry:{type:"Point",coordinates:[39.6160189350001,8.62613927100006]},properties:{ADM0_NAME:"Ethiopia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:43,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:null,ID:161976,GUID:"e9f231cb-35e1-467b-8b7c-067df2b9b8f5",CENTER_LON:39.61601894,CENTER_LAT:8.62613927,ADM0_VIZ_NAME:"Ethiopia",Short_Name_ZH:"埃塞俄比亚",Short_Name_FR:"Éthiopie",Short_Name_ES:"Etiopía",Short_Name_RU:"Эфиопия",Short_Name_AR:"إثيوبيا"}},{type:"Feature",id:161977,geometry:{type:"Point",coordinates:[-3.52433671799997,17.350369329]},properties:{ADM0_NAME:"Mali",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:39,cum_clin:null,cum_susp:null,cum_death:4,EPIWeek:15,EPIYear:2020,Comment:null,ID:161977,GUID:"77642364-9b1b-46c8-aaf4-d9ffd8f62712",CENTER_LON:-3.52433672,CENTER_LAT:17.35036933,ADM0_VIZ_NAME:"Mali",Short_Name_ZH:"马里",Short_Name_FR:"Mali",Short_Name_ES:"Malí",Short_Name_RU:"Мали",Short_Name_AR:"مالي"}},{type:"Feature",id:161978,geometry:{type:"Point",coordinates:[27.7978489400001,-13.453075312]},properties:{ADM0_NAME:"Zambia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:39,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:null,ID:161978,GUID:"125935a9-188d-4b78-86a8-ffbf546077e0",CENTER_LON:27.79788004,CENTER_LAT:-13.45307543,ADM0_VIZ_NAME:"Zambia",Short_Name_ZH:"赞比亚",Short_Name_FR:"Zambie",Short_Name_ES:"Zambia",Short_Name_RU:"Замбия",Short_Name_AR:"زامبيا"}},{type:"Feature",id:161979,geometry:{type:"Point",coordinates:[38.852925552,15.3588410250001]},properties:{ADM0_NAME:"Eritrea",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:29,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161979,GUID:"7b9e18fe-ff3c-44de-9b50-b91a8311dddf",CENTER_LON:38.85292555,CENTER_LAT:15.35884102,ADM0_VIZ_NAME:"Eritrea",Short_Name_ZH:"厄立特里亚",Short_Name_FR:"Érythrée",Short_Name_ES:"Eritrea",Short_Name_RU:"Эритрея",Short_Name_AR:"إريتريا"}},{type:"Feature",id:161980,geometry:{type:"Point",coordinates:[2.34326270500003,9.64764996800005]},properties:{ADM0_NAME:"Benin",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:22,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161980,GUID:"27d0edf7-b070-4943-bb9b-dcee5a4d216e",CENTER_LON:2.34326271,CENTER_LAT:9.64764997,ADM0_VIZ_NAME:"Benin",Short_Name_ZH:"贝宁",Short_Name_FR:"Bénin",Short_Name_ES:"Benin",Short_Name_RU:"Бенин",Short_Name_AR:"بنن"}},{type:"Feature",id:161981,geometry:{type:"Point",coordinates:[34.8234035560001,-6.27020075299993]},properties:{ADM0_NAME:"United Republic of Tanzania",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:22,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:null,ID:161981,GUID:"a09fda23-b91a-49e4-ba7d-02cb8540b936",CENTER_LON:34.82340201,CENTER_LAT:-6.27019905,ADM0_VIZ_NAME:"United Republic of Tanzania",Short_Name_ZH:"坦桑尼亚联合共和国",Short_Name_FR:"République-Unie de Tanzanie",Short_Name_ES:"República Unida de Tanzanía",Short_Name_RU:"Объединенная Республика Танзания",Short_Name_AR:"جمهورية تنزانيا المتحدة"}},{type:"Feature",id:161982,geometry:{type:"Point",coordinates:[11.797157624,-.590677967999966]},properties:{ADM0_NAME:"Gabon",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:21,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:null,ID:161982,GUID:"cbf1734a-37f7-4691-bb44-0123114cb49e",CENTER_LON:11.79715762,CENTER_LAT:-.59067797,ADM0_VIZ_NAME:"Gabon",Short_Name_ZH:"加蓬",Short_Name_FR:"Gabon",Short_Name_ES:"Gabón",Short_Name_RU:"Габон",Short_Name_AR:"غابون"}},{type:"Feature",id:161983,geometry:{type:"Point",coordinates:[-14.987484013,12.016198296]},properties:{ADM0_NAME:"Guinea-Bissau",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:18,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161983,GUID:"0334af86-91ef-485e-805f-a204ef2764ab",CENTER_LON:-14.98748401,CENTER_LAT:12.0161983,ADM0_VIZ_NAME:"Guinea-Bissau",Short_Name_ZH:"几内亚比绍",Short_Name_FR:"Guinée-Bissau",Short_Name_ES:"Guinea-Bissau",Short_Name_RU:"Гвинея-Бисау",Short_Name_AR:"غينيا - بيساو"}},{type:"Feature",id:161984,geometry:{type:"Point",coordinates:[10.3384962750001,1.71016859900004]},properties:{ADM0_NAME:"Equatorial Guinea",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:16,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161984,GUID:"af7e3138-b823-4063-8a50-4408c8527cc9",CENTER_LON:10.33849628,CENTER_LAT:1.7101686,ADM0_VIZ_NAME:"Equatorial Guinea",Short_Name_ZH:"赤道几内亚",Short_Name_FR:"Guinée équatoriale",Short_Name_ES:"Guinea Ecuatorial",Short_Name_RU:"Экваториальная Гвинея",Short_Name_AR:"غينيا الاستوائية"}},{type:"Feature",id:161985,geometry:{type:"Point",coordinates:[17.218450277,-22.133293291]},properties:{ADM0_NAME:"Namibia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:16,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161985,GUID:"60026c01-d644-439e-beda-ec2c280304a7",CENTER_LON:17.21845028,CENTER_LAT:-22.13329329,ADM0_VIZ_NAME:"Namibia",Short_Name_ZH:"纳米比亚",Short_Name_FR:"Namibie",Short_Name_ES:"Namibia",Short_Name_RU:"Намибия",Short_Name_AR:"ناميبيا"}},{type:"Feature",id:161986,geometry:{type:"Point",coordinates:[17.543777778,-12.2957307139999]},properties:{ADM0_NAME:"Angola",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:14,cum_clin:null,cum_susp:null,cum_death:2,EPIWeek:15,EPIYear:2020,Comment:null,ID:161986,GUID:"2a5aaf40-e526-4778-a1e2-204d26254d21",CENTER_LON:17.54379621,CENTER_LAT:-12.29575318,ADM0_VIZ_NAME:"Angola",Short_Name_ZH:"安哥拉",Short_Name_FR:"Angola",Short_Name_ES:"Angola",Short_Name_RU:"Ангола",Short_Name_AR:"أنغولا"}},{type:"Feature",id:161987,geometry:{type:"Point",coordinates:[-9.30784656399993,6.44811846300007]},properties:{ADM0_NAME:"Liberia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:13,cum_clin:null,cum_susp:null,cum_death:3,EPIWeek:15,EPIYear:2020,Comment:null,ID:161987,GUID:"78dbdf5d-226b-4be4-b853-5a58d9da21a6",CENTER_LON:-9.30784656,CENTER_LAT:6.44811846,ADM0_VIZ_NAME:"Liberia",Short_Name_ZH:"利比里亚",Short_Name_FR:"Libéria",Short_Name_ES:"Liberia",Short_Name_RU:"Либерия",Short_Name_AR:"ليبريا"}},{type:"Feature",id:161988,geometry:{type:"Point",coordinates:[35.552260533,-17.260193924]},properties:{ADM0_NAME:"Mozambique",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:10,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161988,GUID:"b09a5bf6-36d9-4abd-9d4a-793639ac9457",CENTER_LON:35.55226053,CENTER_LAT:-17.26019392,ADM0_VIZ_NAME:"Mozambique",Short_Name_ZH:"莫桑比克",Short_Name_FR:"Mozambique",Short_Name_ES:"Mozambique",Short_Name_RU:"Мозамбик",Short_Name_AR:"موزامبيق"}},{type:"Feature",id:161989,geometry:{type:"Point",coordinates:[52.2300590070001,-6.39906405099993]},properties:{ADM0_NAME:"Seychelles",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:10,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161989,GUID:"17e46d71-5bc2-479c-8d3a-0d966592ac32",CENTER_LON:52.23005901,CENTER_LAT:-6.39906405,ADM0_VIZ_NAME:"Seychelles",Short_Name_ZH:"塞舌尔",Short_Name_FR:"Seychelles",Short_Name_ES:"Seychelles",Short_Name_RU:"Сейшельские Острова",Short_Name_AR:"سيشيل"}},{type:"Feature",id:161990,geometry:{type:"Point",coordinates:[20.482782022,6.57145244100008]},properties:{ADM0_NAME:"Central African Republic",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:9,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161990,GUID:"5a37f024-c6e9-444e-832a-57db29915f70",CENTER_LON:20.48278081,CENTER_LAT:6.57145342,ADM0_VIZ_NAME:"Central African Republic",Short_Name_ZH:"中非共和国",Short_Name_FR:"République centrafricaine",Short_Name_ES:"República Centroafricana",Short_Name_RU:"Центральноафриканская Республика",Short_Name_AR:"جمهورية أفريقيا الوسطى"}},{type:"Feature",id:161991,geometry:{type:"Point",coordinates:[18.6646033860001,15.361145703]},properties:{ADM0_NAME:"Chad",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:9,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161991,GUID:"aef0e5a2-d0cb-4074-82c0-39f932bd297a",CENTER_LON:18.66460339,CENTER_LAT:15.3611457,ADM0_VIZ_NAME:"Chad",Short_Name_ZH:"乍得",Short_Name_FR:"Tchad",Short_Name_ES:"Chad (el)",Short_Name_RU:"Чад",Short_Name_AR:"تشاد"}},{type:"Feature",id:161992,geometry:{type:"Point",coordinates:[31.497188798,-26.562116744]},properties:{ADM0_NAME:"Eswatini",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:9,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161992,GUID:"393f6615-8c13-42ca-9bdd-1594735cbdcf",CENTER_LON:31.4971888,CENTER_LAT:-26.56211674,ADM0_VIZ_NAME:"Eswatini",Short_Name_ZH:"斯威士兰",Short_Name_FR:"Eswatini",Short_Name_ES:"Eswatini",Short_Name_RU:"Эсватини",Short_Name_AR:"إسواتيني"}},{type:"Feature",id:161993,geometry:{type:"Point",coordinates:[29.871759825,-19.0000057739999]},properties:{ADM0_NAME:"Zimbabwe",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:9,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:null,ID:161993,GUID:"a125fc97-acbd-43f1-add2-1e5d11d2570a",CENTER_LON:29.87175983,CENTER_LAT:-19.00000577,ADM0_VIZ_NAME:"Zimbabwe",Short_Name_ZH:"津巴布韦",Short_Name_FR:"Zimbabwe",Short_Name_ES:"Zimbabwe",Short_Name_RU:"Зимбабве",Short_Name_AR:"زمبابوي"}},{type:"Feature",id:161994,geometry:{type:"Point",coordinates:[-10.3322604099999,20.259903606]},properties:{ADM0_NAME:"Mauritania",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:6,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:null,ID:161994,GUID:"c2aa3415-b740-47f3-8abc-c5ccbb14d5b0",CENTER_LON:-10.33226041,CENTER_LAT:20.25990361,ADM0_VIZ_NAME:"Mauritania",Short_Name_ZH:"毛里塔尼亚",Short_Name_FR:"Mauritanie",Short_Name_ES:"Mauritania",Short_Name_RU:"Мавритания",Short_Name_AR:"موريتانيا"}},{type:"Feature",id:161995,geometry:{type:"Point",coordinates:[-11.792102896,8.56034092400006]},properties:{ADM0_NAME:"Sierra Leone",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:6,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161995,GUID:"e1cd65ea-4261-4a92-a8af-1709465c2cd3",CENTER_LON:-11.7921029,CENTER_LAT:8.56034092,ADM0_VIZ_NAME:"Sierra Leone",Short_Name_ZH:"塞拉利昂",Short_Name_FR:"Sierra Leone",Short_Name_ES:"Sierra Leona",Short_Name_RU:"Сьерра-Леоне",Short_Name_AR:"سيراليون"}},{type:"Feature",id:161996,geometry:{type:"Point",coordinates:[-23.544999999,14.9280000000001]},properties:{ADM0_NAME:"Cabo Verde",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:5,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:null,ID:161996,GUID:"b6d5830a-0a76-4c5e-9b69-9bbc651c6fee",CENTER_LON:-23.545,CENTER_LAT:14.928,ADM0_VIZ_NAME:"Cabo Verde",Short_Name_ZH:"佛得角",Short_Name_FR:"Cabo Verde",Short_Name_ES:"Cabo Verde",Short_Name_RU:"Кабо-Верде",Short_Name_AR:"كابو فيردي"}},{type:"Feature",id:161997,geometry:{type:"Point",coordinates:[23.815077504,-22.182042021]},properties:{ADM0_NAME:"Botswana",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:4,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:null,ID:161997,GUID:"689dde45-4727-4b7b-9e35-5ddcc5ef2791",CENTER_LON:23.8150775,CENTER_LAT:-22.18204202,ADM0_VIZ_NAME:"Botswana",Short_Name_ZH:"博茨瓦纳",Short_Name_FR:"Botswana",Short_Name_ES:"Botswana",Short_Name_RU:"Ботсвана",Short_Name_AR:"بوتسوانا"}},{type:"Feature",id:161998,geometry:{type:"Point",coordinates:[-15.385619595,13.452944399]},properties:{ADM0_NAME:"Gambia",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:4,cum_clin:null,cum_susp:null,cum_death:1,EPIWeek:15,EPIYear:2020,Comment:null,ID:161998,GUID:"71d4622e-3ccd-4650-9e66-ee0421f0f2b3",CENTER_LON:-15.3856196,CENTER_LAT:13.4529444,ADM0_VIZ_NAME:"Gambia",Short_Name_ZH:"冈比亚",Short_Name_FR:"Gambie",Short_Name_ES:"Gambia",Short_Name_RU:"Гамбия",Short_Name_AR:"غامبيا"}},{type:"Feature",id:161999,geometry:{type:"Point",coordinates:[34.3069850380001,-13.21510424]},properties:{ADM0_NAME:"Malawi",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:4,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:161999,GUID:"895071fb-8240-4b2d-bfac-a51f8243d620",CENTER_LON:34.30698504,CENTER_LAT:-13.21510424,ADM0_VIZ_NAME:"Malawi",Short_Name_ZH:"马拉维",Short_Name_FR:"Malawi",Short_Name_ES:"Malawi",Short_Name_RU:"Малави",Short_Name_AR:"ملاوي"}},{type:"Feature",id:162e3,geometry:{type:"Point",coordinates:[6.71649314900003,.436446692000061]},properties:{ADM0_NAME:"Sao Tome and Principe",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:4,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:162e3,GUID:"8d36d705-3e3e-412e-a13b-1ee158a07c36",CENTER_LON:6.73729084,CENTER_LAT:.45825363,ADM0_VIZ_NAME:"Sao Tome and Principe",Short_Name_ZH:"圣多美和普林西比",Short_Name_FR:"Sao Tomé-et-Principe",Short_Name_ES:"Santo Tomé y Príncipe",Short_Name_RU:"Сан-Томе и Принсипи",Short_Name_AR:"سان تومي وبرينسيبي"}},{type:"Feature",id:162001,geometry:{type:"Point",coordinates:[29.8868213920001,-3.35629711799993]},properties:{ADM0_NAME:"Burundi",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:3,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:162001,GUID:"bf20d4f1-d25b-4be3-b8f5-7a2a94a20ecf",CENTER_LON:29.88682139,CENTER_LAT:-3.35629712,ADM0_VIZ_NAME:"Burundi",Short_Name_ZH:"布隆迪",Short_Name_FR:"Burundi",Short_Name_ES:"Burundi",Short_Name_RU:"Бурунди",Short_Name_AR:"بوروندي"}},{type:"Feature",id:162002,geometry:{type:"Point",coordinates:[30.340676547,7.27961187200003]},properties:{ADM0_NAME:"South Sudan",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:1,cum_clin:null,cum_susp:null,cum_death:0,EPIWeek:15,EPIYear:2020,Comment:null,ID:162002,GUID:"322068a7-b312-4393-b5d1-fe2dc7a5c78a",CENTER_LON:30.34067655,CENTER_LAT:7.27961187,ADM0_VIZ_NAME:"South Sudan",Short_Name_ZH:"南苏丹",Short_Name_FR:"Soudan du Sud",Short_Name_ES:" Sudán del Sur ",Short_Name_RU:"Южный Судан",Short_Name_AR:"جنوب السودان"}},{type:"Feature",id:162006,geometry:null,properties:{ADM0_NAME:"International conveyance (Diamond Princess)",ADM1_NAME:null,DateOfReport:15860448e5,DateOfDataEntry:1586196e6,new_conf:null,new_clin:null,new_susp:null,new_death:null,cum_conf:712,cum_clin:null,cum_susp:null,cum_death:11,EPIWeek:15,EPIYear:2020,Comment:null,ID:162006,GUID:null,CENTER_LON:null,CENTER_LAT:null,ADM0_VIZ_NAME:"International conveyance (Diamond Princess)",Short_Name_ZH:"国际交通工具(“钻石公主号”邮轮))",Short_Name_FR:null,Short_Name_ES:null,Short_Name_RU:null,Short_Name_AR:null}}]},vU={id:"map"},EU={__name:"custom-map",setup(e){let t,r,i,s;return Iv(()=>{t=new mU({id:"map",map:new lO({style:{position:"relative",width:"100%",height:"452px",version:8,sources:{},layers:[]},center:[110.19382669582967,50.258134],pitch:0,zoom:1})});const u=_U,n=gU;r=new GI({}),r.source(u,{transforms:[{type:"hexagon",size:8e5,field:"capacity",method:"sum"}]}).shape("hexagon").color("#ddd").style({coverage:.7,opacity:.8}),t.addLayer(r),i=new Ty({autoFit:!0}),i.source(n).shape("circle").size("cum_conf",[0,17]).scale("cum_conf",{type:"quantile"}).color("cum_conf",["#eff3ff","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#084594"]).active({color:"#0c2c84"}).style({opacity:.8}),s=new Ty({autoFit:!0}),s.source(n).shape("Short_Name_ZH","text").filter("cum_conf",h=>h>2e3).size(12).active(!0).color("#fff").style({opacity:1,strokeOpacity:1,strokeWidth:0}),t.addLayer(i),t.addLayer(s)}),Mv(()=>{var u,n,h,m;(u=r.destroy)==null||u.call(r),(n=s==null?void 0:s.destroy)==null||n.call(s),(h=i==null?void 0:i.destroy)==null||h.call(i),(m=t.destroy)==null||m.call(t)}),(u,n)=>(Nv(),Dv("div",vU))}},OU=Av(EU,[["__scopeId","data-v-99a4c5a7"]]);export{OU as default}; diff --git a/web/dist/assets/custom-map-DnMjOsTT.css b/web/dist/assets/custom-map-DnMjOsTT.css new file mode 100644 index 0000000..39b24d5 --- /dev/null +++ b/web/dist/assets/custom-map-DnMjOsTT.css @@ -0,0 +1 @@ +#map[data-v-99a4c5a7]{position:relative;width:100%;height:452px} diff --git a/web/dist/assets/editable-link-group-C7NNjVe6.js b/web/dist/assets/editable-link-group-C7NNjVe6.js new file mode 100644 index 0000000..9fd19af --- /dev/null +++ b/web/dist/assets/editable-link-group-C7NNjVe6.js @@ -0,0 +1 @@ +import{_ as u}from"./index-C-JhWVfG.js";import{a7 as f,H as c}from"./antd-vtmm7CAy.js";import{a8 as d,a2 as r,a3 as a,F as m,aj as k,k as t,aa as s,G as n,ad as h,u as x}from"./vue-Dl1fzmsf.js";const g={class:"linkGroup"},y={__name:"editable-link-group",setup(b){const l=[{title:"操作一",href:""},{title:"操作二",href:""},{title:"操作三",href:""},{title:"操作四",href:""},{title:"操作五",href:""},{title:"操作六",href:""}];return(v,e)=>{const i=d("router-link"),_=c;return r(),a("div",g,[(r(),a(m,null,k(l,(o,p)=>t(i,{key:p,to:o.href},{default:s(()=>[n(h(o.title),1)]),_:2},1032,["to"])),64)),t(_,{size:"small",type:"primary",ghost:""},{default:s(()=>[t(x(f)),e[0]||(e[0]=n(" 添加 "))]),_:1})])}}},E=u(y,[["__scopeId","data-v-2547def1"]]);export{E as default}; diff --git a/web/dist/assets/editable-link-group-CZRJ4KrB.css b/web/dist/assets/editable-link-group-CZRJ4KrB.css new file mode 100644 index 0000000..3afd2c2 --- /dev/null +++ b/web/dist/assets/editable-link-group-CZRJ4KrB.css @@ -0,0 +1 @@ +.linkGroup[data-v-2547def1]{padding:20px 0 8px 24px;font-size:0}.linkGroup>a[data-v-2547def1]{display:inline-block;width:25%;margin-bottom:13px;color:var(--text-color);font-size:14px} diff --git a/web/dist/assets/en-US-EmzdYEuA.js b/web/dist/assets/en-US-EmzdYEuA.js new file mode 100644 index 0000000..6132b15 --- /dev/null +++ b/web/dist/assets/en-US-EmzdYEuA.js @@ -0,0 +1 @@ +import{l as s}from"./antd-vtmm7CAy.js";import"./vue-Dl1fzmsf.js";const n={"navBar.lang":"Languages","layout.user.link.help":"Help","layout.user.link.privacy":"Privacy","layout.user.link.terms":"Terms","app.copyright.produced":"Produced by Ant Financial Experience Department","app.preview.down.block":"Download this page to your local project","app.welcome.link.fetch-blocks":"Get all block","app.welcome.link.block-list":"Quickly build standard, pages based on `block` development","app.setting.pagestyle":"Page style setting","app.setting.pagestyle.dark":"Dark style","app.setting.pagestyle.light":"Light style","app.setting.pagestyle.inverted":"Inverted style","app.setting.pagestyle.mode":"Layout mode","app.setting.pagestyle.top":"Top layout mode","app.setting.pagestyle.side":"Side layout mode","app.setting.pagestyle.mix":"Mix layout mode","app.setting.content-width.contentWidth":"Content Width","app.setting.content-width.fixed":"Fixed","app.setting.content-width.fluid":"Fluid","app.setting.content-width.fixedHeader":"Fixed Header","app.setting.content-width.fixSiderbar":"Fixed Siderbar","app.setting.content-width.splitMenus":"Auto Split Menus","app.setting.content-width.keepAlive":"KeepAlive","app.setting.content-width.accordionMode":"Menu Accordion Mode","app.setting.content-width.leftCollapsed":"sideMenu Left","app.setting.content-width.compactAlgorithm":"Compact Mode","app.setting.content-area.title":"Content Area","app.setting.content-area.header":"Header","app.setting.content-area.footer":"Footer","app.setting.content-area.menu":"Menu","app.setting.content-area.watermark":"Watermark","app.setting.content-area.menuHeader":"Menu Header","app.setting.content-area.multiTab":"Multi Tab","app.setting.content-area.multiTabFixed":"Fixed Multi Tab","app.setting.content-area.animationName":"Animation","app.setting.themecolor":"Theme Color","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.techBlue":"Technology (default)","app.setting.themecolor.geekblue":"Geek Glue","app.setting.themecolor.purple":"Golden Purple","app.setting.navigationmode":"Navigation Mode","app.setting.sidemenu":"Side Menu Layout","app.setting.topmenu":"Top Menu Layout","app.setting.fixedheader":"Fixed Header","app.setting.fixedsidebar":"Fixed Sidebar","app.setting.fixedsidebar.hint":"Works on Side Menu Layout","app.setting.hideheader":"Hidden Header when scrolling","app.setting.hideheader.hint":"Works when Hidden Header is enabled","app.setting.othersettings":"Other Settings","app.setting.weakmode":"Weak Mode","app.setting.graymode":"Gray Mode","app.setting.copy":"Copy Setting","app.setting.copyinfo":"copy success,please replace default-setting in config/default-setting.js","app.setting.production.hint":"Setting panel shows in development environment only, please manually modify","app.multiTab.title":"Multi Tab","app.multiTab.closeCurrent":"Close Current","app.multiTab.closeOther":"Close Other","app.multiTab.closeAll":"Close All","app.multiTab.refresh":"Refresh","app.multiTab.closeRight":"Close Right","app.multiTab.closeLeft":"Close Left","menu.welcome":"Welcome","menu.more-blocks":"More Blocks","menu.home":"Home","menu.admin":"Admin","menu.admin.sub-page":"Sub-Page","menu.login":"Login","menu.register":"Register","menu.register-result":"Register Result","menu.dashboard":"Dashboard","menu.dashboard.analysis":"Analysis","menu.dashboard.monitor":"Monitor","menu.dashboard.workplace":"Workplace","menu.exception.403":"403","menu.exception.404":"404","menu.exception.500":"500","menu.form":"Form","menu.form.basic-form":"Basic Form","menu.form.step-form":"Step Form","menu.form.step-form.info":"Step Form(write transfer information)","menu.form.step-form.confirm":"Step Form(confirm transfer information)","menu.form.step-form.result":"Step Form(finished)","menu.form.advanced-form":"Advanced Form","menu.link":"Link","menu.link.iframe":"Ant Design","menu.link.antdv":"Ant Design Vue","menu.link.external":"BaiDu","menu.menu":"Menu","menu.menu.menu1":"Menu1","menu.menu.menu2":"Menu2","menu.menu.menu3":"Menu1-1","menu.menu3.menu1":"Menu1-1-1","menu.menu3.menu2":"Menu1-1-2","menu.menu.menu4":"Menu2-1","menu.menu4.menu1":"Menu2-1-1","menu.menu4.menu2":"Menu2-1-2","menu.access":"Access","menu.access.common":"Common","menu.access.roles":"Roles","menu.access.menus":"Menu","menu.access.api":"API","menu.access.user":"User","menu.access.admin":"Admin","menu.list":"List","menu.list.table-list":"Search Table","menu.list.basic-list":"Basic List","menu.list.consult-table":"Consult Table","menu.list.crud-table":"CRUD Table","menu.list.card-list":"Card List","menu.list.search-list":"Search List","menu.list.search-list.articles":"Search List(articles)","menu.list.search-list.projects":"Search List(projects)","menu.list.search-list.applications":"Search List(applications)","menu.profile":"Profile","menu.profile.basic":"Basic Profile","menu.profile.advanced":"Advanced Profile","menu.result":"Result","menu.result.success":"Success","menu.result.fail":"Fail","menu.exception":"Exception","menu.exception.not-permission":"403","menu.exception.not-find":"404","menu.exception.server-error":"500","menu.exception.trigger":"Trigger","menu.account":"Account","menu.account.center":"Account Center","menu.account.settings":"Account Settings","menu.account.trigger":"Trigger Error","menu.account.logout":"Logout"},i=Object.freeze(Object.defineProperty({__proto__:null,default:n},Symbol.toStringTag,{value:"Module"})),c={"result.success.title":"Submission Success","result.success.description":"The submission results page is used to feed back the results of a series of operational tasks. If it is a simple operation, use the Message global prompt feedback. This text area can show a simple supplementary explanation. If there is a similar requirement for displaying “documents”, the following gray area can present more complicated content.","result.success.operate-title":"Project Name","result.success.operate-id":"Project ID","result.success.principal":"Principal","result.success.operate-time":"Effective time","result.success.step1-title":"Create project","result.success.step1-operator":"Kirk Lin","result.success.step2-title":"Departmental preliminary review","result.success.step2-operator":"Zev Zhu","result.success.step2-extra":"Urge","result.success.step3-title":"Financial review","result.success.step4-title":"Finish","result.success.btn-return":"Back List","result.success.btn-project":"View Project","result.success.btn-print":"Print","result.fail.error.title":"Submission Failed","result.fail.error.description":"Please check and modify the following information before resubmitting.","result.fail.error.hint-title":"The content you submitted has the following error:","result.fail.error.hint-text1":"Your account has been frozen","result.fail.error.hint-btn1":"Thaw immediately","result.fail.error.hint-text2":"Your account is not yet eligible to apply","result.fail.error.hint-btn2":"Upgrade immediately","result.fail.error.btn-text":"Return to modify","profile.basic.orderDetailTitle":"Order Details","profile.basic.orderNumber":"Order Number","profile.basic.orderStatus":"Order Status","profile.basic.orderStatusValue":"Finished","profile.basic.transactionNumber":"Transaction Number","profile.basic.subOrderNumber":"Suborder Number","profile.basic.customerInfoTitle":"Customer Information","profile.basic.customerName":"Customer Name","profile.basic.contactNumber":"Contact Number","profile.basic.deliveryMethod":"Delivery Method","profile.basic.deliveryAddress":"Delivery Address","profile.basic.remarks":"Remarks","profile.basic.productInfoTitle":"Product Information","profile.basic.productName":"Product Name","profile.basic.unitPrice":"Unit Price","profile.basic.quantity":"Quantity","profile.basic.subtotal":"Subtotal","profile.basic.paymentInfoTitle":"Payment Information","profile.basic.paymentMethod":"Payment Method","profile.basic.paymentTime":"Payment Time","profile.basic.paymentAmount":"Payment Amount","profile.basic.paymentStatus":"Payment Status","profile.advanced.creater":"Creator","profile.advanced.create-time":"Creation time","profile.advanced.create-effective-date":"effective date","profile.advanced.create-product":"product","profile.advanced.create-id":"Product documents","profile.advanced.create-info":"memo","profile.advanced.create-status":"Status","profile.advanced.create-status-finshed":"Finished","profile.advanced.create-price":"Price","profile.advanced.create-do1":"Opt1","profile.advanced.create-do2":"Opt1","profile.advanced.create-do3":"Opt1","profile.advanced.tab1":"detail","profile.advanced.tab2":"rules","profile.advanced.card":"Customer Card","profile.advanced.id":"ID card","profile.advanced.group":"Data Group","profile.advanced.group-data":"Data ID","profile.advanced.group-data-update":"Update Time","profile.advanced.call-log":"Contact records","profile.advanced.call-spent":"Contact duration","profile.advanced.call-date":"Contact Date","profile.advanced.log":"log1","profile.advanced.log1":"log1","profile.advanced.log2":"log3","profile.advanced.log-type":"type","profile.advanced.log-owner":"operator","profile.advanced.log-result":"result","profile.advanced.log-time":"start time","profile.advanced.log-info":"memo","profile.advanced.remove":"remove","profile.advanced.step-title":"progress","profile.advanced.step-notice":"Remind","form.basic-form.basic.title":"Basic form","form.basic-form.basic.description":"Form pages are used to collect or verify information to users, and basic forms are common in scenarios where there are fewer data items.","form.basic-form.title.label":"Title","form.basic-form.title.placeholder":"Give the target a name","form.basic-form.title.required":"Please enter a title","form.basic-form.date.label":"Start and end date","form.basic-form.placeholder.start":"Start date","form.basic-form.placeholder.end":"End date","form.basic-form.date.required":"Please select the start and end date","form.basic-form.goal.label":"Goal description","form.basic-form.goal.placeholder":"Please enter your work goals","form.basic-form.goal.required":"Please enter a description of the goal","form.basic-form.standard.label":"Metrics","form.basic-form.standard.placeholder":"Please enter a metric","form.basic-form.standard.required":"Please enter a metric","form.basic-form.client.label":"Client","form.basic-form.label.tooltip":"Target service object","form.basic-form.client.placeholder":"Please describe your customer service, internal customers directly {'@'}Name / job number","form.basic-form.client.required":"Please describe the customers you serve","form.basic-form.invites.label":"Inviting critics","form.basic-form.invites.placeholder":"Please direct {'@'}Name / job number, you can invite up to 5 people","form.basic-form.weight.label":"Weight","form.basic-form.weight.placeholder":"Please enter weight","form.basic-form.public.label":"Target disclosure","form.basic-form.label.help":"Customers and invitees are shared by default","form.basic-form.radio.public":"Public","form.basic-form.radio.partially-public":"Partially public","form.basic-form.radio.private":"Private","form.basic-form.publicUsers.placeholder":"Open to","form.basic-form.option.A":"Colleague A","form.basic-form.option.B":"Colleague B","form.basic-form.option.C":"Colleague C","form.basic-form.email.required":"Please enter your email!","form.basic-form.email.wrong-format":"The email address is in the wrong format!","form.basic-form.userName.required":"Please enter your userName!","form.basic-form.password.required":"Please enter your password!","form.basic-form.password.twice":"The passwords entered twice do not match!","form.basic-form.strength.msg":"Please enter at least 6 characters and don't use passwords that are easy to guess.","form.basic-form.strength.strong":"Strength: strong","form.basic-form.strength.medium":"Strength: medium","form.basic-form.strength.short":"Strength: too short","form.basic-form.confirm-password.required":"Please confirm your password!","form.basic-form.phone-number.required":"Please enter your phone number!","form.basic-form.phone-number.wrong-format":"Malformed phone number!","form.basic-form.verification-code.required":"Please enter the verification code!","form.basic-form.form.get-captcha":"Get Captcha","form.basic-form.captcha.second":"sec","form.basic-form.form.optional":" (optional) ","form.basic-form.form.submit":"Submit","form.basic-form.form.save":"Save","form.basic-form.email.placeholder":"Email","form.basic-form.password.placeholder":"Password","form.basic-form.confirm-password.placeholder":"Confirm password","form.basic-form.phone-number.placeholder":"Phone number","form.basic-form.verification-code.placeholder":"Verification code","account.center.tags":"tags","account.cneter.team":"team","account.center.article":"article","account.center.application":"application","account.center.project":"project","account.center.posted":"posted on","account.center.activity-user":"activity user","account.center.new-user":"new user","account.center.updated":"Updated a few minutes ago","account.settings.basic-setting":"Basic Setting","account.settings.security-setting":"Security Setting","account.settings.account-setting":"Account Binding","account.settings.message-setting":"New Message","account.settings.form-email":"email","account.settings.form-name":"nickname","account.settings.form-region":"nation/region","account.settings.form-address":"Street address","account.settings.form-phoneNumber":"phone number","account.settings.form-desc":"Personal profile","account.settings.form-region-China":"China","account.settings.form-input-plac":"please enter","account.settings.form-select-plac":"please select","account.settings.form-rule-name":"please enter nickname","account.settings.form-rule-phoneNumber":"Please enter phone number","account.settings.form-rule-address":"Please enter address","account.settings.form-rule-region":"please select","account.settings.form-rule-email":"please enter email","account.settings.form-rule-desc":"please enter profile","account.settings.basic-avatar":"avatar","account.settings.basic-avatar.upload":"Upload picture","account.settings.form-submit":"submit","account.settings.security.account-password":"Account password","account.settings.security.account-password-desc":"Current password strength: Strong","account.settings.security.phone":"Security phone","account.settings.security.phone-desc":"Attached phone: 131****8888","account.settings.security.email":"Spare email","account.settings.security.email-desc":"Bound email: ant**.com","account.settings.security.MFA":"MFA","account.settings.security.MFA-desc":"No MFA device is bound","account.settings.modify":"edit","account.settings.security-problem":"security problem","account.settings.security-problem-desc":"Have set","account.settings.account.taobao":"Bind Taobao","account.settings.account.alipay":"Bind Alipay","account.settings.account.dingding":"Bind Ding","account.settings.account.not.bind":"Currently not bound","account.settings.account.bind":"bind","account.settings.message.title1":"Other message","account.settings.message.title2":"System message","account.settings.message.title3":"To-do task","account.settings.message.desc1":"Messages from other users will be notified in the form of an internal message","account.settings.message.desc2":"Messages from other System will be notified in the form of an internal message","account.settings.message.desc3":"Messages from other task will be notified in the form of an internal message"},l=Object.freeze(Object.defineProperty({__proto__:null,default:c},Symbol.toStringTag,{value:"Module"})),m={"pages.layouts.userLayout.title":"N-Admin is a universal middle-stage management system based on Ant Design Vue","pages.login.accountLogin.tab":"Account Login","pages.login.accountLogin.errorMessage":"Incorrect username/password","pages.login.failure":"Login failed, please try again!","pages.login.success":"Login successful!","pages.login.username.placeholder":"Username: admin or user","pages.login.username.required":"Please input your username!","pages.login.password.placeholder":"Password: 123456","pages.login.password.required":"Please input your password!","pages.login.phoneLogin.tab":"Phone Login","pages.login.phoneLogin.errorMessage":"Verification Code Error","pages.login.phoneNumber.placeholder":"Phone Number","pages.login.phoneNumber.required":"Please input your phone number!","pages.login.phoneNumber.invalid":"Phone number is invalid!","pages.login.captcha.placeholder":"Verification Code","pages.login.captcha.required":"Please input verification code!","pages.login.phoneLogin.getVerificationCode":"Get Code","pages.getCaptchaSecondText":"sec(s)","pages.login.rememberMe":"Remember me","pages.login.forgotPassword":"Forgot Password ?","pages.login.submit":"Login","pages.login.loginWith":"Login with :","pages.login.registerAccount":"Register Account","pages.login.tips":"welcome to the system"},u=Object.freeze(Object.defineProperty({__proto__:null,default:m},Symbol.toStringTag,{value:"Module"})),t=Object.assign({"/src/locales/lang/global/en-US.js":i,"/src/locales/lang/pages/en-US.js":l,"/src/pages/common/locales/en-US.js":u}),o={};var a;for(const r in t){const e=(a=t[r])==null?void 0:a.default;e&&Object.assign(o,e)}const g={...o,antd:s};export{g as default}; diff --git a/web/dist/assets/error-CIY1aonp.js b/web/dist/assets/error-CIY1aonp.js new file mode 100644 index 0000000..377230c --- /dev/null +++ b/web/dist/assets/error-CIY1aonp.js @@ -0,0 +1 @@ +import{a9 as l,aa as o,a2 as p,k as a,G as r,u as _,ac as i}from"./vue-Dl1fzmsf.js";import{a as m}from"./index-C-JhWVfG.js";import{a6 as f,H as k}from"./antd-vtmm7CAy.js";const y={__name:"error",setup(d){const s=i(),{logout:n}=m();function u(){s.replace({path:"/"})}return(x,t)=>{const e=k,c=f;return p(),l(c,{status:"404",title:"404","sub-title":"对不起,当前访问的页面不存在!"},{extra:o(()=>[a(e,{type:"primary",onClick:u},{default:o(()=>t[0]||(t[0]=[r(" 返回首页 ")])),_:1}),a(e,{onClick:_(n)},{default:o(()=>t[1]||(t[1]=[r(" 退出登录 ")])),_:1},8,["onClick"])]),_:1})}}};export{y as default}; diff --git a/web/dist/assets/fail-DJTKNFSM.js b/web/dist/assets/fail-DJTKNFSM.js new file mode 100644 index 0000000..2d58b15 --- /dev/null +++ b/web/dist/assets/fail-DJTKNFSM.js @@ -0,0 +1 @@ +import{br as c,bs as n,H as p,a6 as f,ab as m}from"./antd-vtmm7CAy.js";import{ao as h,c as x,a2 as b,a9 as v,aa as l,k as r,u as t,G as o,ad as s,a4 as a}from"./vue-Dl1fzmsf.js";const y={class:"desc flex flex-col gap-2"},B={class:"font-500 ml-4 text-4"},C={class:"ml-4"},g={class:"ml-4 c-primary",hover:"c-primary-hover"},k={class:"ml-4"},N={class:"ml-4 c-primary",hover:"c-primary-hover"},G={__name:"fail",setup(V){const{t:e}=h(),i=x(()=>({title:e("result.fail.error.title"),description:e("result.fail.error.description")}));return(O,R)=>{const _=p,d=f,u=m;return b(),v(u,{bordered:!1},{default:l(()=>[r(d,{status:"error",title:t(i).title,"sub-title":t(i).description},{extra:l(()=>[r(_,{type:"primary"},{default:l(()=>[o(s(t(e)("result.fail.error.btn-text")),1)]),_:1})]),default:l(()=>[a("div",y,[a("div",B,s(t(e)("result.fail.error.hint-title")),1),a("div",C,[r(t(c),{class:"text-red-6"}),o(" "+s(t(e)("result.fail.error.hint-text1"))+" ",1),a("a",g,[o(s(t(e)("result.fail.error.hint-btn1"))+" ",1),r(t(n))])]),a("div",k,[r(t(c),{class:"text-red-6"}),o(" "+s(t(e)("result.fail.error.hint-text2"))+" ",1),a("a",N,[o(s(t(e)("result.fail.error.hint-btn2"))+" ",1),r(t(n))])])])]),_:1},8,["title","sub-title"])]),_:1})}}};export{G as default}; diff --git a/web/dist/assets/iframe-D3I215X_.css b/web/dist/assets/iframe-D3I215X_.css new file mode 100644 index 0000000..eaecb59 --- /dev/null +++ b/web/dist/assets/iframe-D3I215X_.css @@ -0,0 +1 @@ +.ant-pro-iframe-wrap .ant-spin-container{height:100%!important;width:100%!important;display:flex;flex-direction:column;flex:1} diff --git a/web/dist/assets/iframe-DZAZD2-t.js b/web/dist/assets/iframe-DZAZD2-t.js new file mode 100644 index 0000000..b03b481 --- /dev/null +++ b/web/dist/assets/iframe-DZAZD2-t.js @@ -0,0 +1 @@ +import{an as t,c as f,f as c,a2 as i,a3 as u,k as p,aa as d,a4 as _,u as n}from"./vue-Dl1fzmsf.js";import{bt as m}from"./antd-vtmm7CAy.js";const x={class:"bg-[var(--bg-color)] ant-pro-iframe-wrap","w-full":"","h-full":"","b-rd-8px":"","of-hidden":"",flex:"","flex-col":"","flex-1":""},h=["src"],v={__name:"iframe",setup(b){const e=t(),o=f(()=>{var a;return(a=e==null?void 0:e.meta)==null?void 0:a.url}),l=c(!0);function s(){l.value=!1}return(a,g)=>{const r=m;return i(),u("div",x,[p(r,{spinning:n(l),"wrapper-class-name":"b-rd-8px of-hidden w-full h-full flex flex-col flex-1"},{default:d(()=>[_("iframe",{"w-full":"","h-full":"",flex:"","flex-col":"","flex-1":"",src:n(o),style:{border:"none"},onLoad:s},null,40,h)]),_:1},8,["spinning"])])}}};export{v as default}; diff --git a/web/dist/assets/index-1DQ9lz7_.js b/web/dist/assets/index-1DQ9lz7_.js new file mode 100644 index 0000000..710c3a7 --- /dev/null +++ b/web/dist/assets/index-1DQ9lz7_.js @@ -0,0 +1 @@ +import{J as M,i as V}from"./index-C-JhWVfG.js";import{u as I}from"./context-Dawj80bg.js";import{V as y,an as N,s as j,D,w as L,c as R,a2 as n,a3 as d,a4 as t,u as s,a9 as g,aa as p,F as q,aj as z,G as k,ad as m,ae as f,k as E,S as o,af as w}from"./vue-Dl1fzmsf.js";import{b4 as G,b5 as J}from"./antd-vtmm7CAy.js";const P={class:"ant-pro-page-container"},W={flex:"","mt-8px":"","justify-between":""},A={flex:"","items-center":"","my-4px":"","of-hidden":""},H={"text-20px":"","line-height-32px":"","mr-12px":"","mb-0":"",truncate:"","font-600":""},K={key:1,"pt-12px":""},O={flex:"","w-full":""},Q={"flex-auto":""},U={"flex-shrink-0":""},te={__name:"index",props:{title:{type:String,required:!1}},setup(S){const{layoutMenu:$,appStore:B}=M(),{layoutSetting:C}=y(B),{menuDataMap:_}=y($),l=N();function u(){var c;const e=((c=l.meta)==null?void 0:c.originPath)??l.path;return e&&_.value.has(e)?_.value.get(e):{}}const a=j(u());D(()=>{a.value=u()});let r;L(()=>l.path,()=>{r&&(clearTimeout(r),r=void 0),r=setTimeout(()=>{a.value=u()},300)});const{contentWidth:h}=I(),T=R(()=>{const e=["flex flex-col flex-1"];return h.value==="Fluid"?e.push("w-full"):h.value==="Fixed"&&e.push("max-w-1200px w-1200px","mx-auto"),e});function i(e){return V(e)?e():e}return(e,c)=>{const x=G,F=J;return n(),d("div",P,[t("div",{class:w(["bg-[var(--bg-color)]",s(C).multiTab?"pb-16px":"py-16px"]),"px-24px":"","mb-24px":"","mx--24px":"","mt--24px":""},[s(a).hideInBreadcrumb?f("",!0):(n(),g(F,{key:0},{default:p(()=>{var v;return[(v=s(a).matched)!=null&&v.length?(n(!0),d(q,{key:0},z(s(a).matched,b=>(n(),g(x,{key:b.path},{default:p(()=>[k(m(i(b.title)),1)]),_:2},1024))),128)):f("",!0),E(x,null,{default:p(()=>[k(m(i(s(a).title)),1)]),_:1})]}),_:1})),t("div",W,[t("div",A,[o(e.$slots,"title",{},()=>[t("span",H,m(i(S.title??s(a).title)),1)])]),t("div",null,[o(e.$slots,"extra")])]),e.$slots.content||e.$slots.extraContent?(n(),d("div",K,[t("div",O,[t("div",Q,[o(e.$slots,"content")]),t("div",U,[o(e.$slots,"extraContent")])])])):f("",!0),o(e.$slots,"footer")],2),t("div",{class:w(s(T))},[o(e.$slots,"default")],2)])}}};export{te as _}; diff --git a/web/dist/assets/index-6uT0TKRD.css b/web/dist/assets/index-6uT0TKRD.css new file mode 100644 index 0000000..f466b03 --- /dev/null +++ b/web/dist/assets/index-6uT0TKRD.css @@ -0,0 +1 @@ +.mapChart[data-v-9ca3d409]{height:452px;padding-top:24px}.mapChart img[data-v-9ca3d409]{display:inline-block;max-width:100%;max-height:437px}.pie-stat{font-size:24px!important}@media screen and (max-width: 992px){.mapChart[data-v-9ca3d409]{height:auto}} diff --git a/web/dist/assets/index-7sBFw5PD.js b/web/dist/assets/index-7sBFw5PD.js new file mode 100644 index 0000000..5e27092 --- /dev/null +++ b/web/dist/assets/index-7sBFw5PD.js @@ -0,0 +1 @@ +import{_ as k}from"./index-1DQ9lz7_.js";import{f as S,r as B,ao as C,a2 as T,a9 as F,aa as o,k as a,u as e,a4 as R,G as m,ad as i,m as V,A}from"./vue-Dl1fzmsf.js";import{a0 as I,a1 as N,aC as D,aq as O,av as j,b8 as G,aA as H,u as P,v as $,H as z,V as E,ab as J}from"./antd-vtmm7CAy.js";import"./index-C-JhWVfG.js";import"./context-Dawj80bg.js";const Y=Object.assign({name:"BasicForm"},{__name:"index",setup(K){const c=S();async function g(){var p;try{const r=await((p=c.value)==null?void 0:p.validateFields());console.log("Success:",r)}catch(r){console.log("Failed:",r)}}const s=B({name:null,buildTime:[],goal:"",standard:"",client:"",invites:"",weight:0,target:1}),{t:l}=C();return(p,r)=>{const u=I,t=N,v=D,_=O,w=j,d=G,q=H,f=P,h=$,b=z,y=E,x=J,U=k;return T(),F(U,null,{default:o(()=>[a(x,{"body-style":{padding:"24px 32px"},bordered:!1},{default:o(()=>[a(y,{ref_key:"formRef",ref:c,model:e(s)},{default:o(()=>[a(t,{name:"name",label:e(l)("form.basic-form.title.label"),"label-col":{lg:{span:7},sm:{span:7}},rules:[{required:!0,message:e(l)("form.basic-form.title.required")}],"wrapper-col":{lg:{span:10},sm:{span:17}}},{default:o(()=>[a(u,{value:e(s).name,"onUpdate:value":r[0]||(r[0]=n=>e(s).name=n),placeholder:e(l)("form.basic-form.title.placeholder")},null,8,["value","placeholder"])]),_:1},8,["label","rules"]),a(t,{label:e(l)("form.basic-form.date.label"),"label-col":{lg:{span:7},sm:{span:7}},rules:[{required:!0,message:e(l)("form.basic-form.date.required")}],"wrapper-col":{lg:{span:10},sm:{span:17}},name:"buildTime"},{default:o(()=>[a(v,{value:e(s).buildTime,"onUpdate:value":r[1]||(r[1]=n=>e(s).buildTime=n),style:{width:"100%"}},null,8,["value"])]),_:1},8,["label","rules"]),a(t,{label:e(l)("form.basic-form.goal.label"),"label-col":{lg:{span:7},sm:{span:7}},rules:[{required:!0,message:e(l)("form.basic-form.goal.required")}],"wrapper-col":{lg:{span:10},sm:{span:17}},name:"goal"},{default:o(()=>[a(_,{value:e(s).goal,"onUpdate:value":r[2]||(r[2]=n=>e(s).goal=n),rows:4,placeholder:e(l)("form.basic-form.goal.placeholder")},null,8,["value","placeholder"])]),_:1},8,["label","rules"]),a(t,{label:e(l)("form.basic-form.standard.label"),"label-col":{lg:{span:7},sm:{span:7}},rules:[{required:!0,message:e(l)("form.basic-form.standard.required")}],"wrapper-col":{lg:{span:10},sm:{span:17}},name:"standard"},{default:o(()=>[a(_,{value:e(s).standard,"onUpdate:value":r[3]||(r[3]=n=>e(s).standard=n),rows:4,placeholder:e(l)("form.basic-form.standard.placeholder")},null,8,["value","placeholder"])]),_:1},8,["label","rules"]),a(t,{label:e(l)("form.basic-form.client.label"),"label-col":{lg:{span:7},sm:{span:7}},rules:[{required:!0,message:e(l)("form.basic-form.client.required")}],"wrapper-col":{lg:{span:10},sm:{span:17}},name:"client"},{default:o(()=>[a(u,{value:e(s).client,"onUpdate:value":r[4]||(r[4]=n=>e(s).client=n),name:"client",placeholder:e(l)("form.basic-form.client.placeholder")},null,8,["value","placeholder"])]),_:1},8,["label","rules"]),a(t,{label:e(l)("form.basic-form.invites.label"),"label-col":{lg:{span:7},sm:{span:7}},"wrapper-col":{lg:{span:10},sm:{span:17}},required:!1,name:"invites"},{default:o(()=>[a(u,{value:e(s).invites,"onUpdate:value":r[5]||(r[5]=n=>e(s).invites=n),name:"invites",placeholder:e(l)("form.basic-form.invites.placeholder")},null,8,["value","placeholder"])]),_:1},8,["label"]),a(t,{label:e(l)("form.basic-form.weight.label"),"label-col":{lg:{span:7},sm:{span:7}},"wrapper-col":{lg:{span:10},sm:{span:17}},required:!1,name:"weight"},{default:o(()=>[a(w,{value:e(s).weight,"onUpdate:value":r[6]||(r[6]=n=>e(s).weight=n),min:0,max:100},null,8,["value"]),r[8]||(r[8]=R("span",null," %",-1))]),_:1},8,["label"]),a(t,{label:e(l)("form.basic-form.public.label"),"label-col":{lg:{span:7},sm:{span:7}},"wrapper-col":{lg:{span:10},sm:{span:17}},required:!1,help:e(l)("form.basic-form.label.help"),name:"target"},{default:o(()=>[a(q,{value:e(s).target,"onUpdate:value":r[7]||(r[7]=n=>e(s).target=n)},{default:o(()=>[a(d,{value:1},{default:o(()=>[m(i(e(l)("form.basic-form.radio.public")),1)]),_:1}),a(d,{value:2},{default:o(()=>[m(i(e(l)("form.basic-form.radio.partially-public")),1)]),_:1}),a(d,{value:3},{default:o(()=>[m(i(e(l)("form.basic-form.radio.private")),1)]),_:1})]),_:1},8,["value"]),V(a(t,null,{default:o(()=>[a(h,{mode:"multiple"},{default:o(()=>[a(f,{value:"4"},{default:o(()=>[m(i(e(l)("form.basic-form.option.A")),1)]),_:1}),a(f,{value:"5"},{default:o(()=>[m(i(e(l)("form.basic-form.option.B")),1)]),_:1}),a(f,{value:"6"},{default:o(()=>[m(i(e(l)("form.basic-form.option.C")),1)]),_:1})]),_:1})]),_:1},512),[[A,e(s).target===2]])]),_:1},8,["label","help"]),a(t,{"wrapper-col":{span:24},style:{"text-align":"center"}},{default:o(()=>[a(b,{type:"primary",onClick:g},{default:o(()=>[m(i(e(l)("form.basic-form.form.submit")),1)]),_:1}),a(b,{style:{"margin-left":"8px"}},{default:o(()=>[m(i(e(l)("form.basic-form.form.save")),1)]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})]),_:1})}}});export{Y as default}; diff --git a/web/dist/assets/index-B1GlpGYB.js b/web/dist/assets/index-B1GlpGYB.js new file mode 100644 index 0000000..880a79a --- /dev/null +++ b/web/dist/assets/index-B1GlpGYB.js @@ -0,0 +1 @@ +import{_ as f}from"./index-1DQ9lz7_.js";import{an as b,ac as y,c as k,a2 as r,a9 as _,aa as e,a4 as c,k as t,u as g,S as i}from"./vue-Dl1fzmsf.js";import{bd as v,K as x,T as $}from"./antd-vtmm7CAy.js";import"./index-C-JhWVfG.js";import"./context-Dawj80bg.js";const j={class:"flex items-center justify-center"},B={class:"mt-6 mb--16px"},K={__name:"search-list-container",setup(p){const a=b(),o=y(),l=k(()=>a.path);function u(s){o.push(s)}return(s,S)=>{const m=v,n=x,d=$,h=f;return r(),_(h,{class:"search-list-container"},{content:e(()=>[c("div",j,[t(m,{placeholder:"请输入","enter-button":"搜索",style:{width:"300px"}})])]),footer:e(()=>[c("div",B,[t(d,{"active-key":g(l),"onUpdate:activeKey":u},{default:e(()=>[t(n,{key:"/list/search-list/articles",tab:"文章"}),t(n,{key:"/list/search-list/projects",tab:"项目"}),t(n,{key:"/list/search-list/applications",tab:"应用"})]),_:1},8,["active-key"])])]),default:e(()=>[i(s.$slots,"default")]),_:3})}}},V=Object.assign({name:"SearchList"},{__name:"index",setup(p){return(a,o)=>(r(),_(K,null,{default:e(()=>[i(a.$slots,"default")]),_:3}))}});export{V as default}; diff --git a/web/dist/assets/index-B3rEUUAe.js b/web/dist/assets/index-B3rEUUAe.js new file mode 100644 index 0000000..d4de944 --- /dev/null +++ b/web/dist/assets/index-B3rEUUAe.js @@ -0,0 +1 @@ +import{_ as U}from"./index-1DQ9lz7_.js";import{_ as w}from"./index-C-JhWVfG.js";import{u as V,v as L,a1 as P,a0 as R,H as A,V as $,F as q,G as K,a9 as O,aa as G,a6 as j,b9 as E,ba as H,ab as z}from"./antd-vtmm7CAy.js";import{f as B,r as I,a2 as v,a3 as N,k as t,aa as e,u,G as s,a4 as x,ac as D,a9 as S,ae as F}from"./vue-Dl1fzmsf.js";import"./context-Dawj80bg.js";const J={__name:"step1",emits:["nextStep"],setup(k,{emit:p}){const c=p,i=B(),_={lg:{span:5},sm:{span:5}},d={lg:{span:19},sm:{span:19}},l=I({paymentAccount:"",collectAccount:"test@example.com",name:"Kirk Lin",amount:1e6});async function n(){var r;try{await((r=i.value)==null?void 0:r.validateFields()),c("nextStep")}catch(a){console.log("Failed:",a)}}return(r,a)=>{const o=V,b=L,m=P,y=R,T=A,g=$,C=q;return v(),N("div",null,[t(g,{ref_key:"formRef",ref:i,model:u(l),style:{"max-width":"500px",margin:"40px auto 0"},"label-col":_,"wrapper-col":d},{default:e(()=>[t(m,{label:"付款账户",name:"paymentAccount",rules:[{required:!0,message:"付款账户必须填写"}]},{default:e(()=>[t(b,{value:u(l).paymentAccount,"onUpdate:value":a[0]||(a[0]=f=>u(l).paymentAccount=f),placeholder:"ant-design@alipay.com"},{default:e(()=>[t(o,{value:"1"},{default:e(()=>a[4]||(a[4]=[s(" antdv@aibayanyu.com ")])),_:1})]),_:1},8,["value"])]),_:1}),t(m,{label:"收款账户",name:"collectAccount",rules:[{required:!0,message:"收款账户必须填写"}]},{default:e(()=>[t(y,{value:u(l).collectAccount,"onUpdate:value":a[1]||(a[1]=f=>u(l).collectAccount=f)},null,8,["value"])]),_:1}),t(m,{label:"收款人姓名",name:"name",rules:[{required:!0,message:"收款人名称必须核对"}]},{default:e(()=>[t(y,{value:u(l).name,"onUpdate:value":a[2]||(a[2]=f=>u(l).name=f)},null,8,["value"])]),_:1}),t(m,{label:"转账金额",name:"amount",rules:[{required:!0,message:"转账金额必须填写"}]},{default:e(()=>[t(y,{value:u(l).amount,"onUpdate:value":a[3]||(a[3]=f=>u(l).amount=f),prefix:"¥"},null,8,["value"])]),_:1}),t(m,{"wrapper-col":{span:19,offset:5}},{default:e(()=>[t(T,{type:"primary",onClick:n},{default:e(()=>a[5]||(a[5]=[s(" 下一步 ")])),_:1})]),_:1})]),_:1},8,["model"]),t(C),a[6]||(a[6]=x("div",{class:"step-form-style-desc ant-steps-item-title"},[x("h3",null," 说明 "),x("h4",null,"转账到支付宝账户"),x("p",null,"如果需要,这里可以放一些关于产品的常见问题说明。如果需要,这里可以放一些关于产品的常见问题说明。如果需要,这里可以放一些关于产品的常见问题说明。"),x("h4",null,"转账到银行卡"),x("p",null,"如果需要,这里可以放一些关于产品的常见问题说明。如果需要,这里可以放一些关于产品的常见问题说明。如果需要,这里可以放一些关于产品的常见问题说明。")],-1))])}}},M=w(J,[["__scopeId","data-v-1db5d306"]]),Q={__name:"step2",emits:["prevStep","nextStep"],setup(k,{emit:p}){const c=p,i=B(),_={lg:{span:5},sm:{span:5}},d={lg:{span:19},sm:{span:19}},l=I({paymentPassword:"123456"});function n(){var a;(a=i.value)==null||a.validateFields().then(()=>{c("nextStep")})}function r(){c("prevStep")}return(a,o)=>{const b=K,m=P,y=q,T=R,g=A,C=$;return v(),N("div",null,[t(C,{ref_key:"formRef",ref:i,model:u(l),style:{"max-width":"500px",margin:"40px auto 0"}},{default:e(()=>[t(b,{closable:!0,message:"确认转账后,资金将直接打入对方账户,无法退回。",style:{"margin-bottom":"24px"}}),t(m,{label:"付款账户","label-col":_,"wrapper-col":d,class:"stepFormText"},{default:e(()=>o[1]||(o[1]=[s(" antdv@aibayanyu.com ")])),_:1}),t(m,{label:"收款账户","label-col":_,"wrapper-col":d,class:"stepFormText"},{default:e(()=>o[2]||(o[2]=[s(" test@example.com ")])),_:1}),t(m,{label:"收款人姓名","label-col":_,"wrapper-col":d,class:"stepFormText"},{default:e(()=>o[3]||(o[3]=[s(" Kirk Lin ")])),_:1}),t(m,{label:"转账金额","label-col":_,"wrapper-col":d,class:"stepFormText"},{default:e(()=>o[4]||(o[4]=[s(" ¥ 1,000,000.00 ")])),_:1}),t(y),t(m,{label:"支付密码","label-col":_,"wrapper-col":d,class:"stepFormText",name:"paymentPassword",rules:[{required:!0,message:"需要支付密码才能进行支付"}]},{default:e(()=>[t(T,{value:u(l).paymentPassword,"onUpdate:value":o[0]||(o[0]=f=>u(l).paymentPassword=f),type:"password",style:{width:"80%"}},null,8,["value"])]),_:1}),t(m,{"wrapper-col":{span:19,offset:5}},{default:e(()=>[t(g,{type:"primary",onClick:n},{default:e(()=>o[5]||(o[5]=[s(" 提交 ")])),_:1}),t(g,{style:{"margin-left":"8px"},onClick:r},{default:e(()=>o[6]||(o[6]=[s(" 上一步 ")])),_:1})]),_:1})]),_:1},8,["model"])])}}},W=w(Q,[["__scopeId","data-v-9ad048aa"]]),X={class:"information"},Y={__name:"step3",emits:["finish"],setup(k,{emit:p}){const c=p,i=D();function _(){c("finish")}function d(){i.push("/profile/advanced")}return(l,n)=>{const r=O,a=G,o=A,b=j,m=$;return v(),N("div",null,[t(m,null,{default:e(()=>[t(b,{title:"操作成功","is-success":!0,"sub-title":"预计两小时内到账",style:{"max-width":"560px",margin:"40px auto 0"}},{extra:e(()=>[t(o,{type:"primary",onClick:_},{default:e(()=>n[8]||(n[8]=[s(" 再转一笔 ")])),_:1}),t(o,{style:{"margin-left":"8px"},onClick:d},{default:e(()=>n[9]||(n[9]=[s(" 查看账单 ")])),_:1})]),default:e(()=>[x("div",X,[t(a,null,{default:e(()=>[t(r,{sm:8,xs:24},{default:e(()=>n[0]||(n[0]=[s(" 付款账户: ")])),_:1}),t(r,{sm:16,xs:24},{default:e(()=>n[1]||(n[1]=[s(" antdv@aibayanyu.com ")])),_:1})]),_:1}),t(a,null,{default:e(()=>[t(r,{sm:8,xs:24},{default:e(()=>n[2]||(n[2]=[s(" 收款账户: ")])),_:1}),t(r,{sm:16,xs:24},{default:e(()=>n[3]||(n[3]=[s(" test@example.com ")])),_:1})]),_:1}),t(a,null,{default:e(()=>[t(r,{sm:8,xs:24},{default:e(()=>n[4]||(n[4]=[s(" 收款人姓名: ")])),_:1}),t(r,{sm:16,xs:24},{default:e(()=>n[5]||(n[5]=[s(" Kirk Lin ")])),_:1})]),_:1}),t(a,null,{default:e(()=>[t(r,{sm:8,xs:24},{default:e(()=>n[6]||(n[6]=[s(" 转账金额: ")])),_:1}),t(r,{sm:16,xs:24},{default:e(()=>n[7]||(n[7]=[x("span",{class:"money"},"1,000,000",-1),s(" 元 ")])),_:1})]),_:1})])]),_:1})]),_:1})])}}},Z=w(Y,[["__scopeId","data-v-7e2fa340"]]),h={class:"content"},tt=Object.assign({name:"StepForm"},{__name:"index",setup(k){const p=I({currentTab:0,form:null});function c(){p.currentTab<2&&(p.currentTab+=1)}function i(){p.currentTab>0&&(p.currentTab-=1)}function _(){p.currentTab=0}return(d,l)=>{const n=E,r=H,a=z,o=U;return v(),S(o,null,{content:e(()=>l[0]||(l[0]=[s(" 将一个冗长或用户不熟悉的表单任务分成多个步骤,指导用户完成。 ")])),default:e(()=>[t(a,{bordered:!1},{default:e(()=>[t(r,{class:"steps",current:u(p).currentTab},{default:e(()=>[t(n,{title:"填写转账信息"}),t(n,{title:"确认转账信息"}),t(n,{title:"完成"})]),_:1},8,["current"]),x("div",h,[u(p).currentTab===0?(v(),S(M,{key:0,onNextStep:c})):F("",!0),u(p).currentTab===1?(v(),S(W,{key:1,onNextStep:c,onPrevStep:i})):F("",!0),u(p).currentTab===2?(v(),S(Z,{key:2,onPrevsStep:i,onFinish:_})):F("",!0)])]),_:1})]),_:1})}}}),lt=w(tt,[["__scopeId","data-v-f9f9c102"]]);export{lt as default}; diff --git a/web/dist/assets/index-BOtVkL__.js b/web/dist/assets/index-BOtVkL__.js new file mode 100644 index 0000000..93abdc5 --- /dev/null +++ b/web/dist/assets/index-BOtVkL__.js @@ -0,0 +1 @@ +import{_ as X}from"./index-1DQ9lz7_.js";import{d as F}from"./index-sUMRYBhU.js";import R from"./editable-link-group-C7NNjVe6.js";import{_ as V}from"./index-C-JhWVfG.js";import{c as T,aD as D,al as K,ab as O,b2 as U,ag as P,x as W,y as G,a9 as J,aa as $}from"./antd-vtmm7CAy.js";import{f as Z,o as q,j as M,a8 as S,a2 as c,a9 as y,aa as a,a4 as o,k as e,ad as s,G as r,a3 as k,F as j,aj as z}from"./vue-Dl1fzmsf.js";import"./context-Dawj80bg.js";import"./vec2-4Cx-bOHg.js";const H={class:"pageHeaderContent"},Y={class:"avatar"},Q={class:"content"},tt={class:"contentTitle"},et={class:"extraContent"},at={class:"statItem"},ot={class:"statItem"},st={class:"statItem"},nt={class:"cardTitle"},lt={class:"projectItemContent"},rt=["title"],it={class:"username"},pt={class:"event"},dt={href:""},mt={href:""},ct=["title"],ut={class:"chart"},_t={class:"members"},gt={class:"member"},bt=Object.assign({name:"Workplace"},{__name:"index",setup(ht){const p={avatar:"https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png",name:"吴彦祖",userid:"00000001",email:"antdesign@alipay.com",signature:"海纳百川,有容乃大",title:"交互专家",group:"蚂蚁金服-某某某事业群-某某平台部-某某技术部-UED"},b=[{id:"xxx1",title:"Alipay",logo:"https://gw.alipayobjects.com/zos/rmsportal/WdGqmHpayyMjiEhcKoVE.png",description:"那是一种内在的东西,他们到达不了,也无法触及的",updatedAt:"几秒前",member:"科学搬砖组",href:"",memberLink:""},{id:"xxx2",title:"Angular",logo:"https://gw.alipayobjects.com/zos/rmsportal/zOsKZmFRdUtvpqCImOVY.png",description:"希望是一个好东西,也许是最好的,好东西是不会消亡的",updatedAt:"6 年前",member:"全组都是吴彦祖",href:"",memberLink:""},{id:"xxx3",title:"Ant Design",logo:"https://gw.alipayobjects.com/zos/rmsportal/dURIMkkrRFpPgTuzkwnB.png",description:"城镇中有那么多的酒馆,她却偏偏走进了我的酒馆",updatedAt:"几秒前",member:"中二少女团",href:"",memberLink:""},{id:"xxx4",title:"Ant Design Pro",logo:"https://gw.alipayobjects.com/zos/rmsportal/sfjbOqnsXXJgNCjCzDBL.png",description:"那时候我只会想自己想要什么,从不想自己拥有什么",updatedAt:"6 年前",member:"程序员日常",href:"",memberLink:""},{id:"xxx5",title:"Bootstrap",logo:"https://gw.alipayobjects.com/zos/rmsportal/siCrBXXhmvTQGWPNLBow.png",description:"凛冬将至",updatedAt:"6 年前",member:"高逼格设计天团",href:"",memberLink:""},{id:"xxx6",title:"React",logo:"https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png",description:"生命就像一盒巧克力,结果往往出人意料",updatedAt:"6 年前",member:"骗你来学计算机",href:"",memberLink:""}],A=[{id:"trend-1",updatedAt:"几秒前",user:{name:"曲丽丽",avatar:"https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png"},group:{name:"高逼格设计天团",link:"http://github.com/"},project:{name:"六月迭代",link:"http://github.com/"},template1:"在",template2:"新建项目"},{id:"trend-2",updatedAt:"几秒前",user:{name:"付小小",avatar:"https://gw.alipayobjects.com/zos/rmsportal/cnrhVkzwxjPwAaCfPbdc.png"},group:{name:"高逼格设计天团",link:"http://github.com/"},project:{name:"六月迭代",link:"http://github.com/"},template1:"在",template2:"新建项目"},{id:"trend-3",updatedAt:"几秒前",user:{name:"林东东",avatar:"https://gw.alipayobjects.com/zos/rmsportal/gaOngJwsRYRaVAuXXcmB.png"},group:{name:"中二少女团",link:"http://github.com/"},project:{name:"六月迭代",link:"http://github.com/"},template1:"在",template2:"新建项目"},{id:"trend-4",updatedAt:"几秒前",user:{name:"周星星",avatar:"https://gw.alipayobjects.com/zos/rmsportal/WhxKECPNujWoWEFNdnJE.png"},group:{name:"5 月日常迭代",link:"http://github.com/"},template1:"将",template2:"更新至已发布状态"},{id:"trend-5",updatedAt:"几秒前",user:{name:"朱偏右",avatar:"https://gw.alipayobjects.com/zos/rmsportal/ubnKSIfAJTxIgXOKlciN.png"},group:{name:"工程效能",link:"http://github.com/"},project:{name:"留言",link:"http://github.com/"},template1:"在",template2:"发布了"},{id:"trend-6",updatedAt:"几秒前",user:{name:"乐哥",avatar:"https://gw.alipayobjects.com/zos/rmsportal/jZUIxmJycoymBprLOUbT.png"},group:{name:"程序员日常",link:"http://github.com/"},project:{name:"品牌迭代",link:"http://github.com/"},template1:"在",template2:"新建项目"}],h=Z(),w=[{name:"个人",label:"引用",value:10},{name:"个人",label:"口碑",value:8},{name:"个人",label:"产量",value:4},{name:"个人",label:"贡献",value:5},{name:"个人",label:"热度",value:7},{name:"团队",label:"引用",value:3},{name:"团队",label:"口碑",value:9},{name:"团队",label:"产量",value:6},{name:"团队",label:"贡献",value:3},{name:"团队",label:"热度",value:1},{name:"部门",label:"引用",value:4},{name:"部门",label:"口碑",value:1},{name:"部门",label:"产量",value:6},{name:"部门",label:"贡献",value:5},{name:"部门",label:"热度",value:7}];let l;return q(()=>{l=new F(h.value,{data:w,xField:"label",yField:"value",seriesField:"name",point:{size:4},legend:{layout:"horizontal",position:"bottom"}}),l.render()}),M(()=>{var u;(u=l==null?void 0:l.destroy)==null||u.call(l)}),(u,n)=>{const d=T,_=D,m=S("router-link"),B=K,i=O,C=U,L=P,I=W,N=G,g=J,f=$,E=X;return c(),y(E,null,{content:a(()=>[o("div",H,[o("div",Y,[e(d,{size:"large",src:p.avatar},null,8,["src"])]),o("div",Q,[o("div",tt," 早安, "+s(p.name)+" ,祝你开心每一天! ",1),o("div",null,s(p.title)+" |"+s(p.group),1)])])]),extraContent:a(()=>[o("div",et,[o("div",at,[e(_,{title:"项目数",value:56})]),o("div",ot,[e(_,{title:"团队内排名",value:8,suffix:"/ 24"})]),o("div",st,[e(_,{title:"项目访问",value:2223})])])]),default:a(()=>[e(f,{gutter:24},{default:a(()=>[e(g,{xl:16,lg:24,md:24,sm:24,xs:24},{default:a(()=>[e(i,{class:"projectList",style:{marginBottom:"24px"},title:"进行中的项目",bordered:!1,loading:!1,"body-style":{padding:0}},{extra:a(()=>[e(m,{to:"/"},{default:a(()=>n[0]||(n[0]=[r(" 全部项目 ")])),_:1})]),default:a(()=>[(c(),k(j,null,z(b,t=>e(C,{key:t.id,class:"projectGrid"},{default:a(()=>[e(i,{"body-style":{padding:0},style:{"box-shadow":"none"},bordered:!1},{default:a(()=>[e(B,{description:t.description,class:"w-full"},{title:a(()=>[o("div",nt,[e(d,{size:"small",src:t.logo},null,8,["src"]),e(m,{to:t.href},{default:a(()=>[r(s(t.title),1)]),_:2},1032,["to"])])]),_:2},1032,["description"]),o("div",lt,[e(m,{to:t.memberLink},{default:a(()=>[r(s(t.member||""),1)]),_:2},1032,["to"]),o("span",{class:"datetime","ml-2":"",title:t.updatedAt},s(t.updatedAt),9,rt)])]),_:2},1024)]),_:2},1024)),64))]),_:1}),e(i,{"body-style":{padding:0},bordered:!1,class:"activeCard",title:"动态",loading:!1},{default:a(()=>[e(N,{"data-source":A,class:"activitiesList"},{renderItem:a(({item:t})=>[(c(),y(I,{key:t.id},{default:a(()=>[e(L,null,{title:a(()=>{var v,x;return[o("span",null,[o("a",it,s(t.user.name),1),n[4]||(n[4]=r("  ")),o("span",pt,[o("span",null,s(t.template1),1),n[1]||(n[1]=r("  ")),o("a",dt,s((v=t==null?void 0:t.group)==null?void 0:v.name),1),n[2]||(n[2]=r("  ")),o("span",null,s(t.template2),1),n[3]||(n[3]=r("  ")),o("a",mt,s((x=t==null?void 0:t.project)==null?void 0:x.name),1)])])]}),avatar:a(()=>[e(d,{src:t.user.avatar},null,8,["src"])]),description:a(()=>[o("span",{class:"datetime",title:t.updatedAt},s(t.updatedAt),9,ct)]),_:2},1024)]),_:2},1024))]),_:1})]),_:1})]),_:1}),e(g,{xl:8,lg:24,md:24,sm:24,xs:24},{default:a(()=>[e(i,{style:{marginBottom:"24px"},title:"快速开始 / 便捷导航",bordered:!1,"body-style":{padding:0}},{default:a(()=>[e(R)]),_:1}),e(i,{style:{marginBottom:"24px"},bordered:!1,title:"XX 指数"},{default:a(()=>[o("div",ut,[o("div",{ref_key:"radarContainer",ref:h},null,512)])]),_:1}),e(i,{"body-style":{paddingTop:"12px",paddingBottom:"12px"},bordered:!1,title:"团队"},{default:a(()=>[o("div",_t,[e(f,{gutter:48},{default:a(()=>[(c(),k(j,null,z(b,t=>e(g,{key:`members-item-${t.id}`,span:12},{default:a(()=>[e(m,{to:t.href},{default:a(()=>[e(d,{src:t.logo,size:"small"},null,8,["src"]),o("span",gt,s(t.member),1)]),_:2},1032,["to"])]),_:2},1024)),64))]),_:1})])]),_:1})]),_:1})]),_:1})]),_:1})}}}),wt=V(bt,[["__scopeId","data-v-d047f31d"]]);export{wt as default}; diff --git a/web/dist/assets/index-BQnEXXu3.css b/web/dist/assets/index-BQnEXXu3.css new file mode 100644 index 0000000..26eb526 --- /dev/null +++ b/web/dist/assets/index-BQnEXXu3.css @@ -0,0 +1 @@ +.ant-pro-global-footer{padding:0 16px;text-align:center}.ant-pro-global-footer-links{margin-bottom:8px}.ant-pro-global-footer-links a{color:#00000073;transition:all .3s}.ant-pro-global-footer-links a:not(:last-child){margin-right:40px}.ant-pro-global-footer-links a:hover{color:#000000d9}.ant-pro-global-footer-copyright{color:#00000073;font-size:14px}[data-theme=dark] .ant-pro-global-footer-links a{color:#e5e0d873}[data-theme=dark] .ant-pro-global-footer-links a:hover{color:#e5e0d8d9}[data-theme=dark] .ant-pro-global-footer-copyright{color:#e5e0d873} diff --git a/web/dist/assets/index-BU6Mv0kW.js b/web/dist/assets/index-BU6Mv0kW.js new file mode 100644 index 0000000..125b218 --- /dev/null +++ b/web/dist/assets/index-BU6Mv0kW.js @@ -0,0 +1 @@ +import{_ as p}from"./index-1DQ9lz7_.js";import{_ as d}from"./index-C-JhWVfG.js";import{bp as u,bq as m,F as _,ab as y}from"./antd-vtmm7CAy.js";import{ao as x,a2 as N,a9 as g,aa as t,k as e,u as i,G as r,ad as I}from"./vue-Dl1fzmsf.js";import"./context-Dawj80bg.js";const T=Object.assign({name:"BasicProfile"},{__name:"index",setup(k){const{t:a}=x();return(v,l)=>{const o=u,s=m,b=_,f=y,n=p;return N(),g(n,null,{default:t(()=>[e(f,{bordered:!1},{default:t(()=>[e(s,{title:i(a)("profile.basic.orderDetailTitle")},{default:t(()=>[e(o,{label:i(a)("profile.basic.orderNumber")},{default:t(()=>l[0]||(l[0]=[r(" 1000000000 ")])),_:1},8,["label"]),e(o,{label:i(a)("profile.basic.orderStatus")},{default:t(()=>[r(I(i(a)("profile.basic.orderStatusValue")),1)]),_:1},8,["label"]),e(o,{label:i(a)("profile.basic.transactionNumber")},{default:t(()=>l[1]||(l[1]=[r(" 1234123421 ")])),_:1},8,["label"]),e(o,{label:i(a)("profile.basic.subOrderNumber")},{default:t(()=>l[2]||(l[2]=[r(" 3214321432 ")])),_:1},8,["label"])]),_:1},8,["title"]),e(b,{style:{"margin-bottom":"32px"}}),e(s,{title:i(a)("profile.basic.customerInfoTitle")},{default:t(()=>[e(o,{label:i(a)("profile.basic.customerName")},{default:t(()=>l[3]||(l[3]=[r(" 张三 ")])),_:1},8,["label"]),e(o,{label:i(a)("profile.basic.contactNumber")},{default:t(()=>l[4]||(l[4]=[r(" 18812345678 ")])),_:1},8,["label"]),e(o,{label:i(a)("profile.basic.deliveryMethod")},{default:t(()=>l[5]||(l[5]=[r(" 快速配送 ")])),_:1},8,["label"]),e(o,{label:i(a)("profile.basic.deliveryAddress")},{default:t(()=>l[6]||(l[6]=[r(" 北京市朝阳区建国路123号 ")])),_:1},8,["label"]),e(o,{label:i(a)("profile.basic.remarks")},{default:t(()=>l[7]||(l[7]=[r(" 无特殊要求 ")])),_:1},8,["label"])]),_:1},8,["title"]),e(b,{style:{"margin-bottom":"32px"}}),e(s,{title:i(a)("profile.basic.productInfoTitle")},{default:t(()=>[e(o,{label:i(a)("profile.basic.productName")},{default:t(()=>l[8]||(l[8]=[r(" 商品A ")])),_:1},8,["label"]),e(o,{label:i(a)("profile.basic.unitPrice")},{default:t(()=>l[9]||(l[9]=[r(" $50.00 ")])),_:1},8,["label"]),e(o,{label:i(a)("profile.basic.quantity")},{default:t(()=>l[10]||(l[10]=[r(" 3 ")])),_:1},8,["label"]),e(o,{label:i(a)("profile.basic.subtotal")},{default:t(()=>l[11]||(l[11]=[r(" $150.00 ")])),_:1},8,["label"])]),_:1},8,["title"]),e(b,{style:{"margin-bottom":"32px"}}),e(s,{title:i(a)("profile.basic.paymentInfoTitle")},{default:t(()=>[e(o,{label:i(a)("profile.basic.paymentMethod")},{default:t(()=>l[12]||(l[12]=[r(" 在线支付 ")])),_:1},8,["label"]),e(o,{label:i(a)("profile.basic.paymentTime")},{default:t(()=>l[13]||(l[13]=[r(" 2023-08-18 14:30:00 ")])),_:1},8,["label"]),e(o,{label:i(a)("profile.basic.paymentAmount")},{default:t(()=>l[14]||(l[14]=[r(" $150.00 ")])),_:1},8,["label"]),e(o,{label:i(a)("profile.basic.paymentStatus")},{default:t(()=>l[15]||(l[15]=[r(" 已支付 ")])),_:1},8,["label"])]),_:1},8,["title"])]),_:1})]),_:1})}}}),V=d(T,[["__scopeId","data-v-b552820d"]]);export{V as default}; diff --git a/web/dist/assets/index-BiXMN9XI.css b/web/dist/assets/index-BiXMN9XI.css new file mode 100644 index 0000000..4ff4ab1 --- /dev/null +++ b/web/dist/assets/index-BiXMN9XI.css @@ -0,0 +1 @@ +.title[data-v-b552820d]{color:#000000d9;font-size:16px;font-weight:500;margin-bottom:16px} diff --git a/web/dist/assets/index-BtIjtJ41.css b/web/dist/assets/index-BtIjtJ41.css new file mode 100644 index 0000000..9cfe03a --- /dev/null +++ b/web/dist/assets/index-BtIjtJ41.css @@ -0,0 +1 @@ +.ant-pro-footer-toolbar[data-v-51a4df24]{position:fixed;right:0;bottom:0;z-index:9;width:100%;height:56px;padding:0 24px;line-height:56px;background:var(--bg-color);box-shadow:var(--c-shadow)}.ant-pro-footer-toolbar[data-v-51a4df24]:after{display:block;clear:both;content:""}.footer-tool-bar__left[data-v-51a4df24]{float:left}.footer-tool-bar__right[data-v-51a4df24]{float:right}.footer-tool-bar__center[data-v-51a4df24]{float:none} diff --git a/web/dist/assets/index-C-JhWVfG.js b/web/dist/assets/index-C-JhWVfG.js new file mode 100644 index 0000000..9b9ae5e --- /dev/null +++ b/web/dist/assets/index-C-JhWVfG.js @@ -0,0 +1,8 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/en-US-EmzdYEuA.js","assets/antd-vtmm7CAy.js","assets/vue-Dl1fzmsf.js","assets/zh-CN-BDlPZngL.js","assets/index-CNQHvuR7.js","assets/index-O-XgQvxy.js","assets/index-BQnEXXu3.css","assets/route-view-CJGX2V7g.js","assets/context-Dawj80bg.js","assets/query-breakpoints-DXFMnBNk.js","assets/index-RzKFfKDQ.css","assets/login-DCz8WVZ8.js","assets/logo-Ft4BtHHg.js","assets/login-C58B044v.css","assets/401-C6PeSXhU.js","assets/route-view-BeW99koD.js","assets/redirect-DtfE1kjq.js","assets/error-CIY1aonp.js","assets/admin-Nl2XFEZr.js","assets/index-1DQ9lz7_.js","assets/admin-x2Ewtnku.js","assets/api-DDa9fDH4.js","assets/common-ChpZVeoj.js","assets/menu-Ba7hgb9_.js","assets/role-C9Rys4Lc.js","assets/center-CXB0VWrh.js","assets/center-Bu5yfVri.css","assets/settings-BDb3Pw3I.js","assets/settings-DCBrmXjc.css","assets/loading-DRwZdXST.js","assets/index-DXeijiIX.js","assets/introduce-row-mysvfOex.js","assets/index-sUMRYBhU.js","assets/vec2-4Cx-bOHg.js","assets/trend-DeLG38Nf.js","assets/trend-DxP3ucXS.css","assets/introduce-row-CuTtM03m.css","assets/sales-card-DWCqcnjI.js","assets/sales-card-CKU4DPZO.css","assets/number-info-D_kSTq0O.js","assets/number-info-2AVVFvRU.css","assets/proportion-sales-d0M_xNbH.js","assets/proportion-sales-CCHgKvZu.css","assets/offline-data-pclN1ie8.js","assets/offline-data-wjyv_JXp.css","assets/index-OXDW1Gq8.css","assets/active-chart-D-Rbify1.js","assets/active-chart-CPzqf4Dv.css","assets/custom-map-D96Na9xO.js","assets/custom-map-DnMjOsTT.css","assets/index-CCZn2xOr.js","assets/index-6uT0TKRD.css","assets/editable-link-group-C7NNjVe6.js","assets/editable-link-group-CZRJ4KrB.css","assets/index-BOtVkL__.js","assets/index-SfA75iIC.css","assets/403-B6htc2SF.js","assets/404-BF6vYG99.js","assets/500-3ZsQY5rx.js","assets/component-error-DF1aWLkb.js","assets/index-DRX5jdLA.js","assets/repository-form-B-X8I6s6.js","assets/task-form-Bya_CC5z.js","assets/index-BtIjtJ41.css","assets/index-7sBFw5PD.js","assets/index-B3rEUUAe.js","assets/index-jGmfTv42.css","assets/basic-list-BAtMnshM.js","assets/basic-list-DzCGC2KJ.css","assets/card-list-DxdnVGe9.js","assets/card-list-Dz8fRcmy.css","assets/crud-table-ykWPyRjs.js","assets/crud-table-CxRX0PTN.css","assets/applications-CX4Ej76O.js","assets/category-KW2cQk4I.js","assets/category-Coa7I0Sg.css","assets/articles-Bba17joW.js","assets/index-B1GlpGYB.js","assets/index-CtpGO9Wa.css","assets/projects-SGpPzyB3.js","assets/table-list-BNdXiXZh.js","assets/menu1-ETi5yJxK.js","assets/menu2-Cb1gxo7Q.js","assets/menu1-CZJbf7uc.js","assets/menu2-Cy4sVEZM.js","assets/menu1-BUzVyx-R.js","assets/menu2-krQF60os.js","assets/index-lzoRVGG7.js","assets/index-CHMKzSQl.css","assets/index-BU6Mv0kW.js","assets/index-BiXMN9XI.css","assets/fail-DJTKNFSM.js","assets/success-Bk0XrlRj.js","assets/iframe-DZAZD2-t.js","assets/iframe-D3I215X_.css"])))=>i.map(i=>d[i]); +var Ti=Object.defineProperty;var wi=(e,t,o)=>t in e?Ti(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var Jr=(e,t,o)=>wi(e,typeof t!="symbol"?t+"":t,o);import{R as To,f as $n,r as Qn,h as Oi,S as Ri,p as Si,e as Pi,U as Ci,V as er,u as Hn,y as Xr,W as Li,X as Di,Y as Zr,Z as xi,_ as wo,c as Jt,w as kn,$ as Ii,a0 as Mi,a1 as Ur,a2 as ft,a3 as jt,a4 as br,a5 as qn,a6 as Br,d as Ni,k as Xt,l as ji,Q as Oo,a7 as Fi,s as vr,a8 as Ui,a9 as Bi,aa as Er,ab as Vi}from"./vue-Dl1fzmsf.js";import{k as $i,a as tr,A as Ro,d as So,o as Hi,C as ki}from"./antd-vtmm7CAy.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))i(a);new MutationObserver(a=>{for(const c of a)if(c.type==="childList")for(const u of c.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&i(u)}).observe(document,{childList:!0,subtree:!0});function o(a){const c={};return a.integrity&&(c.integrity=a.integrity),a.referrerPolicy&&(c.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?c.credentials="include":a.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function i(a){if(a.ep)return;a.ep=!0;const c=o(a);fetch(a.href,c)}})();var nu=e=>typeof e=="function",zi=e=>Array.isArray(e);function ru(e,t=[],o){const i={};return Object.getOwnPropertyNames(e).forEach(c=>{t.includes(c)&&(i[c]=e[c])}),Object.assign(i,o)}function ou(e,t=[],o){if(e==null)return o||e;const i={};return Object.getOwnPropertyNames(e).forEach(c=>{t.includes(c)||(i[c]=e[c])}),Object.assign(i,o)}var Po=e=>/^(https?|mailto|tel|file):/.test(e),qi=e=>zi(e)?e:[e],he=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function iu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var nr={exports:{}};nr.exports;(function(e,t){var o=200,i="__lodash_hash_undefined__",a=9007199254740991,c="[object Arguments]",u="[object Array]",f="[object Boolean]",h="[object Date]",p="[object Error]",g="[object Function]",b="[object GeneratorFunction]",C="[object Map]",A="[object Number]",E="[object Object]",w="[object Promise]",m="[object RegExp]",T="[object Set]",D="[object String]",N="[object Symbol]",Y="[object WeakMap]",V="[object ArrayBuffer]",k="[object DataView]",X="[object Float32Array]",me="[object Float64Array]",Le="[object Int8Array]",We="[object Int16Array]",ht="[object Int32Array]",De="[object Uint8Array]",Ft="[object Uint8ClampedArray]",Ut="[object Uint16Array]",Bt="[object Uint32Array]",tn=/[\\^$.*+?()[\]{}|]/g,nn=/\w*$/,rn=/^\[object .+?Constructor\]$/,on=/^(?:0|[1-9]\d*)$/,I={};I[c]=I[u]=I[V]=I[k]=I[f]=I[h]=I[X]=I[me]=I[Le]=I[We]=I[ht]=I[C]=I[A]=I[E]=I[m]=I[T]=I[D]=I[N]=I[De]=I[Ft]=I[Ut]=I[Bt]=!0,I[p]=I[g]=I[Y]=!1;var sn=typeof he=="object"&&he&&he.Object===Object&&he,an=typeof self=="object"&&self&&self.Object===Object&&self,x=sn||an||Function("return this")(),mt=t&&!t.nodeType&&t,M=mt&&!0&&e&&!e.nodeType&&e,Oe=M&&M.exports===mt;function Vt(r,n){return r.set(n[0],n[1]),r}function J(r,n){return r.add(n),r}function _t(r,n){for(var s=-1,l=r?r.length:0;++s-1}function Pe(r,n){var s=this.__data__,l=nt(s,r);return l<0?s.push([r,n]):s[l][1]=n,this}q.prototype.clear=mn,q.prototype.delete=_n,q.prototype.get=gn,q.prototype.has=yn,q.prototype.set=Pe;function G(r){var n=-1,s=r?r.length:0;for(this.clear();++n-1&&r%1==0&&r-1&&r%1==0&&r<=a}function pe(r){var n=typeof r;return!!r&&(n=="object"||n=="function")}function Lt(r){return!!r&&typeof r=="object"}function Dt(r){return qe(r)?Ve(r):Ln(r)}function Bn(){return[]}function Yt(){return!1}e.exports=ut})(nr,nr.exports);nr.exports;var rr={exports:{}};rr.exports;(function(e,t){var o=200,i="__lodash_hash_undefined__",a=1,c=2,u=9007199254740991,f="[object Arguments]",h="[object Array]",p="[object AsyncFunction]",g="[object Boolean]",b="[object Date]",C="[object Error]",A="[object Function]",E="[object GeneratorFunction]",w="[object Map]",m="[object Number]",T="[object Null]",D="[object Object]",N="[object Promise]",Y="[object Proxy]",V="[object RegExp]",k="[object Set]",X="[object String]",me="[object Symbol]",Le="[object Undefined]",We="[object WeakMap]",ht="[object ArrayBuffer]",De="[object DataView]",Ft="[object Float32Array]",Ut="[object Float64Array]",Bt="[object Int8Array]",tn="[object Int16Array]",nn="[object Int32Array]",rn="[object Uint8Array]",on="[object Uint8ClampedArray]",I="[object Uint16Array]",sn="[object Uint32Array]",an=/[\\^$.*+?()[\]{}|]/g,x=/^\[object .+?Constructor\]$/,mt=/^(?:0|[1-9]\d*)$/,M={};M[Ft]=M[Ut]=M[Bt]=M[tn]=M[nn]=M[rn]=M[on]=M[I]=M[sn]=!0,M[f]=M[h]=M[ht]=M[g]=M[De]=M[b]=M[C]=M[A]=M[w]=M[m]=M[D]=M[V]=M[k]=M[X]=M[We]=!1;var Oe=typeof he=="object"&&he&&he.Object===Object&&he,Vt=typeof self=="object"&&self&&self.Object===Object&&self,J=Oe||Vt||Function("return this")(),_t=t&&!t.nodeType&&t,Ye=_t&&!0&&e&&!e.nodeType&&e,Je=Ye&&Ye.exports===_t,Xe=Je&&Oe.process,$t=function(){try{return Xe&&Xe.binding&&Xe.binding("util")}catch{}}(),gt=$t&&$t.isTypedArray;function Ht(r,n){for(var s=-1,l=r==null?0:r.length,_=0,v=[];++s-1}function Tn(r,n){var s=this.__data__,l=ot(s,r);return l<0?(++this.size,s.push([r,n])):s[l][1]=n,this}G.prototype.clear=bn,G.prototype.delete=vn,G.prototype.get=En,G.prototype.has=An,G.prototype.set=Tn;function W(r){var n=-1,s=r==null?0:r.length;for(this.clear();++nR))return!1;var S=v.get(r);if(S&&v.get(n))return S==n;var j=-1,F=!0,U=s&c?new Ve:void 0;for(v.set(r,n),v.set(n,r);++j-1&&r%1==0&&r-1&&r%1==0&&r<=u}function Ct(r){var n=typeof r;return r!=null&&(n=="object"||n=="function")}function pe(r){return r!=null&&typeof r=="object"}var Lt=gt?un(gt):Dn;function Dt(r){return ze(r)?Ln(r):xn(r)}function Bn(){return[]}function Yt(){return!1}e.exports=Ae})(rr,rr.exports);rr.exports;var or={exports:{}};or.exports;(function(e,t){var o=200,i="__lodash_hash_undefined__",a=800,c=16,u=9007199254740991,f="[object Arguments]",h="[object Array]",p="[object AsyncFunction]",g="[object Boolean]",b="[object Date]",C="[object Error]",A="[object Function]",E="[object GeneratorFunction]",w="[object Map]",m="[object Number]",T="[object Null]",D="[object Object]",N="[object Proxy]",Y="[object RegExp]",V="[object Set]",k="[object String]",X="[object Undefined]",me="[object WeakMap]",Le="[object ArrayBuffer]",We="[object DataView]",ht="[object Float32Array]",De="[object Float64Array]",Ft="[object Int8Array]",Ut="[object Int16Array]",Bt="[object Int32Array]",tn="[object Uint8Array]",nn="[object Uint8ClampedArray]",rn="[object Uint16Array]",on="[object Uint32Array]",I=/[\\^$.*+?()[\]{}|]/g,sn=/^\[object .+?Constructor\]$/,an=/^(?:0|[1-9]\d*)$/,x={};x[ht]=x[De]=x[Ft]=x[Ut]=x[Bt]=x[tn]=x[nn]=x[rn]=x[on]=!0,x[f]=x[h]=x[Le]=x[g]=x[We]=x[b]=x[C]=x[A]=x[w]=x[m]=x[D]=x[Y]=x[V]=x[k]=x[me]=!1;var mt=typeof he=="object"&&he&&he.Object===Object&&he,M=typeof self=="object"&&self&&self.Object===Object&&self,Oe=mt||M||Function("return this")(),Vt=t&&!t.nodeType&&t,J=Vt&&!0&&e&&!e.nodeType&&e,_t=J&&J.exports===Vt,Ye=_t&&mt.process,Je=function(){try{var n=J&&J.require&&J.require("util").types;return n||Ye&&Ye.binding&&Ye.binding("util")}catch{}}(),Xe=Je&&Je.isTypedArray;function $t(n,s,l){switch(l.length){case 0:return n.call(s);case 1:return n.call(s,l[0]);case 2:return n.call(s,l[0],l[1]);case 3:return n.call(s,l[0],l[1],l[2])}return n.apply(s,l)}function gt(n,s){for(var l=-1,_=Array(n);++l-1}function zt(n,s){var l=this.__data__,_=et(l,n);return _<0?(++this.size,l.push([n,s])):l[_][1]=s,this}te.prototype.clear=be,te.prototype.delete=dn,te.prototype.get=pn,te.prototype.has=hn,te.prototype.set=zt;function fe(n){var s=-1,l=n==null?0:n.length;for(this.clear();++s1?l[v-1]:void 0,R=v>2?l[2]:void 0;for(O=n.length>3&&typeof O=="function"?(v--,O):void 0,R&&In(l[0],l[1],R)&&(O=v<3?void 0:O,v=1),s=Object(s);++_-1&&n%1==0&&n0){if(++s>=a)return arguments[0]}else s=0;return n.apply(void 0,arguments)}}function Un(n){if(n!=null){try{return Ie.call(n)}catch{}try{return n+""}catch{}}return""}function at(n,s){return n===s||n!==n&&s!==s}var ct=Ve(function(){return arguments}())?Ve:function(n){return Ce(n)&&se.call(n,"callee")&&!fn.call(n,"callee")},K=Array.isArray;function ut(n){return n!=null&&qe(n.length)&&!ze(n)}function Wt(n){return Ce(n)&&ut(n)}var ke=Qe||r;function ze(n){if(!Ae(n))return!1;var s=tt(n);return s==A||s==E||s==p||s==N}function qe(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=u}function Ae(n){var s=typeof n;return n!=null&&(s=="object"||s=="function")}function Ce(n){return n!=null&&typeof n=="object"}function Pt(n){if(!Ce(n)||tt(n)!=D)return!1;var s=bt(n);if(s===null)return!0;var l=se.call(s,"constructor")&&s.constructor;return typeof l=="function"&&l instanceof l&&Ie.call(l)==ln}var Ct=Xe?Ht(Xe):nt;function pe(n){return $e(n,Lt(n))}function Lt(n){return ut(n)?Tn(n):de(n)}var Dt=Kt(function(n,s,l){rt(n,s,l)});function Bn(n){return function(){return n}}function Yt(n){return n}function r(){return!1}e.exports=Dt})(or,or.exports);or.exports;function Ki(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var cr=Ki,Gi={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd",animation:"animationend"},Wi={WebkitTransition:"webkitTransitionEnd",OTransition:"oTransitionEnd",transition:"transitionend"};function Co(e){const t=document.createElement("div");for(const o in e)if(e.hasOwnProperty(o)&&t.style[o]!==void 0)return{end:e[o]};return!1}cr()&&Co(Gi);cr()&&Co(Wi);function Yi(e,t){if(!e)return!1;if(e.contains)return e.contains(t);let o=t;for(;o;){if(o===e)return!0;o=o.parentNode}return!1}var Qr="data-vc-order",Ji="vc-util-key",Sr=new Map;function Lo({mark:e}={}){return e?e.startsWith("data-")?e:`data-${e}`:Ji}function Vr(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function Xi(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Do(e){return Array.from((Sr.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function xo(e,t={}){if(!cr())return null;const{csp:o,prepend:i}=t,a=document.createElement("style");a.setAttribute(Qr,Xi(i)),o!=null&&o.nonce&&(a.nonce=o==null?void 0:o.nonce),a.innerHTML=e;const c=Vr(t),{firstChild:u}=c;if(i){if(i==="queue"){const f=Do(c).filter(h=>["prepend","prependQueue"].includes(h.getAttribute(Qr)));if(f.length)return c.insertBefore(a,f[f.length-1].nextSibling),a}c.insertBefore(a,u)}else c.appendChild(a);return a}function Zi(e,t={}){const o=Vr(t);return Do(o).find(i=>i.getAttribute(Lo(t))===e)}function Qi(e,t){const o=Sr.get(e);if(!o||!Yi(document,o)){const i=xo("",t),{parentNode:a}=i;Sr.set(e,a),e.removeChild(i)}}function es(e,t,o={}){var u,f,h;const i=Vr(o);Qi(i,o);const a=Zi(t,o);if(a)return(u=o.csp)!=null&&u.nonce&&a.nonce!==((f=o.csp)==null?void 0:f.nonce)&&(a.nonce=(h=o.csp)==null?void 0:h.nonce),a.innerHTML!==e&&(a.innerHTML=e),a;const c=xo(e,o);return c.setAttribute(Lo(o),t),c}function ts(e,t){return`${t}${$i(e)}`}const Io="--pro-ant-",ns=`${Io}${Date.now()}-${Math.random()}`;function rs(e){const t={};if(!e)return;for(const i in e){const a=e[i];t[ts(i,Io)]=a}const o=Object.keys(t).map(i=>`${i}: ${t[i]};`);cr()&&es(`:root {${o.join(` +`)}}`,`${ns}-dynamic-theme`)}const os=To(()=>{const{token:e}=tr.useToken(),t=$n(e.value);return{token:t,setToken:i=>{t.value=i}}}),Zt=Qn({});function su(){return Zt}function is(e){Zt.message=e.message,Zt.modal=e.modal,Zt.notification=e.notification}function au(){return Zt.message}function ss(){return Zt.notification}const as=Object.assign({name:"TokenProvider"},{__name:"index",setup(e){const{token:t}=tr.useToken(),{setToken:o}=os(),{message:i,modal:a,notification:c}=Ro.useApp();return is({message:i,modal:a,notification:c}),Oi(()=>{o(t.value),rs(t.value)}),(u,f)=>Ri(u.$slots,"default")}}),Mo=Symbol("LayoutMenu");function cs(e,t){Si(Mo,{layoutMenu:e,appStore:t})}function cu(){return Pi(Mo,{})}const us={title:"N-Admin",theme:"inverted",logo:"/logo.svg",collapsed:!1,drawerVisible:!1,colorPrimary:"#1677FF",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixedSider:!0,splitMenus:!1,header:!0,menu:!0,watermark:!0,menuHeader:!0,footer:!0,colorWeak:!1,colorGray:!1,multiTab:!0,multiTabFixed:!1,keepAlive:!0,accordionMode:!1,leftCollapsed:!0,compactAlgorithm:!1,headerHeight:48,copyright:"Go-NuNu Team 2025",animationName:"slide-fadein-right"},uu=[{label:"None",value:"none"},{label:"Fadein Up",value:"slide-fadein-up"},{label:"Fadein Right",value:"slide-fadein-right"},{label:"Zoom Fadein",value:"zoom-fadein"},{label:"Fadein",value:"fadein"}],ls="modulepreload",fs=function(e){return"/"+e},eo={},y=function(t,o,i){let a=Promise.resolve();if(o&&o.length>0){document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),f=(u==null?void 0:u.nonce)||(u==null?void 0:u.getAttribute("nonce"));a=Promise.allSettled(o.map(h=>{if(h=fs(h),h in eo)return;eo[h]=!0;const p=h.endsWith(".css"),g=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${g}`))return;const b=document.createElement("link");if(b.rel=p?"stylesheet":ls,p||(b.as="script"),b.crossOrigin="",b.href=h,f&&b.setAttribute("nonce",f),document.head.appendChild(b),p)return new Promise((C,A)=>{b.addEventListener("load",C),b.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${h}`)))})}))}function c(u){const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=u,window.dispatchEvent(f),!f.defaultPrevented)throw u}return a.then(u=>{for(const f of u||[])f.status==="rejected"&&c(f.reason);return t().catch(c)})},ir=(e,t,o)=>{const i=e[t];return i?typeof i=="function"?i():Promise.resolve(i):new Promise((a,c)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(c.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==o?". Note that variables only represent file names one level deep.":""))))})};let B;const No="zh-CN";async function ds(){const e=ur(),{locale:t}=er(e);let o;try{o=await ir(Object.assign({"./lang/en-US.js":()=>y(()=>import("./en-US-EmzdYEuA.js"),__vite__mapDeps([0,1,2])),"./lang/zh-CN.js":()=>y(()=>import("./zh-CN-BDlPZngL.js"),__vite__mapDeps([3,1,2]))}),`./lang/${t.value}.js`,3)}catch{o=await ir(Object.assign({"./lang/en-US.js":()=>y(()=>import("./en-US-EmzdYEuA.js"),__vite__mapDeps([0,1,2])),"./lang/zh-CN.js":()=>y(()=>import("./zh-CN-BDlPZngL.js"),__vite__mapDeps([3,1,2]))}),`./lang/${No}.js`,3)}return{legacy:!1,locale:t.value,fallbackLocale:"zh-CN",messages:{[t.value]:o.default},sync:!0,silentTranslationWarn:!0,missingWarn:!1,silentFallbackWarn:!0}}async function ps(e){const t=await ds();B=Ci(t),e.use(B)}async function hs(e){const t=Hn(B.global.locale);try{if(t===e)return Xr();let o;try{o=await ir(Object.assign({"./lang/en-US.js":()=>y(()=>import("./en-US-EmzdYEuA.js"),__vite__mapDeps([0,1,2])),"./lang/zh-CN.js":()=>y(()=>import("./zh-CN-BDlPZngL.js"),__vite__mapDeps([3,1,2]))}),`./lang/${e}.js`,3)}catch{o=await ir(Object.assign({"./lang/en-US.js":()=>y(()=>import("./en-US-EmzdYEuA.js"),__vite__mapDeps([0,1,2])),"./lang/zh-CN.js":()=>y(()=>import("./zh-CN-BDlPZngL.js"),__vite__mapDeps([3,1,2]))}),`./lang/${No}.js`,3)}o&&B.global.setLocaleMessage(e,o.default)}catch(o){console.warn("load language error",o)}return Xr()}var ms={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(t,o){switch(o){case"W":return t+"周";default:return t+"日"}},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(t,o){var i=t*100+o;return i<600?"凌晨":i<900?"早上":i<1100?"上午":i<1300?"中午":i<1800?"下午":"晚上"}};So.locale(ms,null,!0);const _s=()=>y(()=>import("./index-CNQHvuR7.js"),__vite__mapDeps([4,5,2,1,6,7,8,9,10])),gs=[{path:"/login",component:()=>y(()=>import("./login-DCz8WVZ8.js"),__vite__mapDeps([11,5,2,1,6,12,13])),meta:{title:"登录"}},{path:"/401",name:"Error401",component:()=>y(()=>import("./401-C6PeSXhU.js"),__vite__mapDeps([14,2,1])),meta:{title:"授权已过期"}},{path:"/common",name:"LayoutBasicRedirect",component:_s,redirect:"/common/redirect",children:[{path:"/common/redirect",component:()=>y(()=>import("./route-view-BeW99koD.js"),__vite__mapDeps([15,2])),name:"CommonRedirect",redirect:"/redirect",children:[{path:"/redirect/:path(.*)",name:"RedirectPath",component:()=>y(()=>import("./redirect-DtfE1kjq.js"),__vite__mapDeps([16,2]))}]}]},{path:"/:pathMatch(.*)",meta:{title:"找不到页面"},component:()=>y(()=>import("./error-CIY1aonp.js"),__vite__mapDeps([17,2,1]))}],Ge=Li({routes:[...gs],history:Di("/")});function jo(e){var i,a;const{title:t,locale:o}=e.meta??{};(t||o)&&(o?Zr(((a=(i=B==null?void 0:B.global).t)==null?void 0:a.call(i,o))??t):Zr(t))}const ys="locale",Pr=xi(),to=wo(ys,Pr.value[0]),Fo=To(()=>{const e=$n(!1),t=ur(),o=Jt(()=>B?Hn(B.global.locale):"zh-CN"),i=Jt(()=>{var u,f,h;return((h=(f=(u=B==null?void 0:B.global)==null?void 0:u.getLocaleMessage)==null?void 0:f.call(u,Hn(o)))==null?void 0:h.antd)||void 0}),a=async u=>{if(B&&!e.value){e.value=!0;try{t.toggleLocale(u),await hs(u),B.mode==="legacy"?B.global.locale=u:B.global.locale.value=u,e.value=!1}catch{e.value=!1}}};return kn(o,()=>{i.value&&i.value.locale&&So.locale(i.value.locale);const u=Ge.currentRoute.value;jo(u)},{immediate:!0}),{locale:o,t:(u,f)=>{var p,g,b,C;return((g=(p=B==null?void 0:B.global)==null?void 0:p.t)==null?void 0:g.call(p,u))!==u?(C=(b=B==null?void 0:B.global)==null?void 0:b.t)==null?void 0:C.call(b,u):f??u},antd:i,setLocale:a}}),Jn=Ii(),no=Mi(Jn),ur=Ur("app",()=>{const{darkAlgorithm:e,compactAlgorithm:t,defaultAlgorithm:o}=tr,i=Qn(us),a=Qn({algorithm:tr.defaultAlgorithm,token:{colorBgContainer:"#fff",colorPrimary:i.colorPrimary},components:{}}),c=$n(to.value),u=m=>{to.value=m},f=(m=!0)=>{i.compactAlgorithm=m;const T=i.theme==="dark"?[e]:[o];m&&T.push(t),a.algorithm=T},h=m=>{var T;i.theme!==m&&(i.theme=m,m==="light"||m==="inverted"?(a.token&&(a.token.colorBgContainer="#fff"),(T=a.components)!=null&&T.Menu&&delete a.components.Menu,no(!1)):m==="dark"&&(no(!0),a.token&&(a.token.colorBgContainer="rgb(36, 37, 37)"),a.components&&(a.components={...a.components,Menu:{colorItemBg:"rgb(36, 37, 37)",colorSubItemBg:"rgb(36, 37, 37)",menuSubMenuBg:"rgb(36, 37, 37)"}})),f(i.compactAlgorithm))},p=m=>{i.drawerVisible=m},g=m=>{i.colorPrimary=m,a.token&&(a.token.colorPrimary=m)};Jn.value&&h("dark"),kn(Jn,()=>{Jn.value?h("dark"):h("light")}),kn(Pr,()=>{u(Pr.value[0])});const b=m=>{i.collapsed=m};function C(m=!0){i.colorGray=m;const T=document.querySelector("body");T&&(m?(A(!1),T.style.filter="grayscale(100%)"):T.style.filter="")}i.colorGray&&C(!0);function A(m=!0){i.colorWeak=m;const T=document.querySelector("body");T&&(m?(C(!1),T.style.filter="invert(80%)"):T.style.filter="")}i.colorWeak&&A(!0);const E=m=>{i.theme==="inverted"&&m==="mix"&&(i.theme="light"),m!=="mix"?i.splitMenus=!1:i.leftCollapsed=!0,m==="top"?i.contentWidth="Fixed":i.contentWidth="Fluid",i.layout=m};return{layoutSetting:i,theme:a,locale:c,toggleLocale:u,toggleTheme:h,toggleCollapsed:b,toggleDrawerVisible:p,changeSettingLayout:(m,T)=>{m==="theme"?h(T):m==="colorPrimary"?g(T):m==="layout"?E(T):m==="compactAlgorithm"?f(T):m==="colorWeak"?A(T):m==="colorGray"?C(T):m in i&&(i[m]=T)},toggleColorPrimary:g,toggleGray:C,toggleWeak:A}});function Cr(e){return([t,...o]=[])=>t&&(e(t)?t:Cr(e)(t.children)||Cr(e)(o))}function Uo(e,t){return function(){return e.apply(t,arguments)}}const{toString:bs}=Object.prototype,{getPrototypeOf:$r}=Object,lr=(e=>t=>{const o=bs.call(t);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),we=e=>(e=e.toLowerCase(),t=>lr(t)===e),fr=e=>t=>typeof t===e,{isArray:Qt}=Array,zn=fr("undefined");function vs(e){return e!==null&&!zn(e)&&e.constructor!==null&&!zn(e.constructor)&&le(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Bo=we("ArrayBuffer");function Es(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Bo(e.buffer),t}const As=fr("string"),le=fr("function"),Vo=fr("number"),dr=e=>e!==null&&typeof e=="object",Ts=e=>e===!0||e===!1,Xn=e=>{if(lr(e)!=="object")return!1;const t=$r(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},ws=we("Date"),Os=we("File"),Rs=we("Blob"),Ss=we("FileList"),Ps=e=>dr(e)&&le(e.pipe),Cs=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||le(e.append)&&((t=lr(e))==="formdata"||t==="object"&&le(e.toString)&&e.toString()==="[object FormData]"))},Ls=we("URLSearchParams"),[Ds,xs,Is,Ms]=["ReadableStream","Request","Response","Headers"].map(we),Ns=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Kn(e,t,{allOwnKeys:o=!1}={}){if(e===null||typeof e>"u")return;let i,a;if(typeof e!="object"&&(e=[e]),Qt(e))for(i=0,a=e.length;i0;)if(a=o[i],t===a.toLowerCase())return a;return null}const It=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ho=e=>!zn(e)&&e!==It;function Lr(){const{caseless:e}=Ho(this)&&this||{},t={},o=(i,a)=>{const c=e&&$o(t,a)||a;Xn(t[c])&&Xn(i)?t[c]=Lr(t[c],i):Xn(i)?t[c]=Lr({},i):Qt(i)?t[c]=i.slice():t[c]=i};for(let i=0,a=arguments.length;i(Kn(t,(a,c)=>{o&&le(a)?e[c]=Uo(a,o):e[c]=a},{allOwnKeys:i}),e),Fs=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Us=(e,t,o,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),o&&Object.assign(e.prototype,o)},Bs=(e,t,o,i)=>{let a,c,u;const f={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),c=a.length;c-- >0;)u=a[c],(!i||i(u,e,t))&&!f[u]&&(t[u]=e[u],f[u]=!0);e=o!==!1&&$r(e)}while(e&&(!o||o(e,t))&&e!==Object.prototype);return t},Vs=(e,t,o)=>{e=String(e),(o===void 0||o>e.length)&&(o=e.length),o-=t.length;const i=e.indexOf(t,o);return i!==-1&&i===o},$s=e=>{if(!e)return null;if(Qt(e))return e;let t=e.length;if(!Vo(t))return null;const o=new Array(t);for(;t-- >0;)o[t]=e[t];return o},Hs=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&$r(Uint8Array)),ks=(e,t)=>{const i=(e&&e[Symbol.iterator]).call(e);let a;for(;(a=i.next())&&!a.done;){const c=a.value;t.call(e,c[0],c[1])}},zs=(e,t)=>{let o;const i=[];for(;(o=e.exec(t))!==null;)i.push(o);return i},qs=we("HTMLFormElement"),Ks=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(o,i,a){return i.toUpperCase()+a}),ro=(({hasOwnProperty:e})=>(t,o)=>e.call(t,o))(Object.prototype),Gs=we("RegExp"),ko=(e,t)=>{const o=Object.getOwnPropertyDescriptors(e),i={};Kn(o,(a,c)=>{let u;(u=t(a,c,e))!==!1&&(i[c]=u||a)}),Object.defineProperties(e,i)},Ws=e=>{ko(e,(t,o)=>{if(le(e)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const i=e[o];if(le(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},Ys=(e,t)=>{const o={},i=a=>{a.forEach(c=>{o[c]=!0})};return Qt(e)?i(e):i(String(e).split(t)),o},Js=()=>{},Xs=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Ar="abcdefghijklmnopqrstuvwxyz",oo="0123456789",zo={DIGIT:oo,ALPHA:Ar,ALPHA_DIGIT:Ar+Ar.toUpperCase()+oo},Zs=(e=16,t=zo.ALPHA_DIGIT)=>{let o="";const{length:i}=t;for(;e--;)o+=t[Math.random()*i|0];return o};function Qs(e){return!!(e&&le(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const ea=e=>{const t=new Array(10),o=(i,a)=>{if(dr(i)){if(t.indexOf(i)>=0)return;if(!("toJSON"in i)){t[a]=i;const c=Qt(i)?[]:{};return Kn(i,(u,f)=>{const h=o(u,a+1);!zn(h)&&(c[f]=h)}),t[a]=void 0,c}}return i};return o(e,0)},ta=we("AsyncFunction"),na=e=>e&&(dr(e)||le(e))&&le(e.then)&&le(e.catch),qo=((e,t)=>e?setImmediate:t?((o,i)=>(It.addEventListener("message",({source:a,data:c})=>{a===It&&c===o&&i.length&&i.shift()()},!1),a=>{i.push(a),It.postMessage(o,"*")}))(`axios@${Math.random()}`,[]):o=>setTimeout(o))(typeof setImmediate=="function",le(It.postMessage)),ra=typeof queueMicrotask<"u"?queueMicrotask.bind(It):typeof process<"u"&&process.nextTick||qo,d={isArray:Qt,isArrayBuffer:Bo,isBuffer:vs,isFormData:Cs,isArrayBufferView:Es,isString:As,isNumber:Vo,isBoolean:Ts,isObject:dr,isPlainObject:Xn,isReadableStream:Ds,isRequest:xs,isResponse:Is,isHeaders:Ms,isUndefined:zn,isDate:ws,isFile:Os,isBlob:Rs,isRegExp:Gs,isFunction:le,isStream:Ps,isURLSearchParams:Ls,isTypedArray:Hs,isFileList:Ss,forEach:Kn,merge:Lr,extend:js,trim:Ns,stripBOM:Fs,inherits:Us,toFlatObject:Bs,kindOf:lr,kindOfTest:we,endsWith:Vs,toArray:$s,forEachEntry:ks,matchAll:zs,isHTMLForm:qs,hasOwnProperty:ro,hasOwnProp:ro,reduceDescriptors:ko,freezeMethods:Ws,toObjectSet:Ys,toCamelCase:Ks,noop:Js,toFiniteNumber:Xs,findKey:$o,global:It,isContextDefined:Ho,ALPHABET:zo,generateString:Zs,isSpecCompliantForm:Qs,toJSONObject:ea,isAsyncFn:ta,isThenable:na,setImmediate:qo,asap:ra};function L(e,t,o,i,a){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),o&&(this.config=o),i&&(this.request=i),a&&(this.response=a,this.status=a.status?a.status:null)}d.inherits(L,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:d.toJSONObject(this.config),code:this.code,status:this.status}}});const Ko=L.prototype,Go={};["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=>{Go[e]={value:e}});Object.defineProperties(L,Go);Object.defineProperty(Ko,"isAxiosError",{value:!0});L.from=(e,t,o,i,a,c)=>{const u=Object.create(Ko);return d.toFlatObject(e,u,function(h){return h!==Error.prototype},f=>f!=="isAxiosError"),L.call(u,e.message,t,o,i,a),u.cause=e,u.name=e.name,c&&Object.assign(u,c),u};const oa=null;function Dr(e){return d.isPlainObject(e)||d.isArray(e)}function Wo(e){return d.endsWith(e,"[]")?e.slice(0,-2):e}function io(e,t,o){return e?e.concat(t).map(function(a,c){return a=Wo(a),!o&&c?"["+a+"]":a}).join(o?".":""):t}function ia(e){return d.isArray(e)&&!e.some(Dr)}const sa=d.toFlatObject(d,{},null,function(t){return/^is[A-Z]/.test(t)});function pr(e,t,o){if(!d.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,o=d.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,m){return!d.isUndefined(m[w])});const i=o.metaTokens,a=o.visitor||g,c=o.dots,u=o.indexes,h=(o.Blob||typeof Blob<"u"&&Blob)&&d.isSpecCompliantForm(t);if(!d.isFunction(a))throw new TypeError("visitor must be a function");function p(E){if(E===null)return"";if(d.isDate(E))return E.toISOString();if(!h&&d.isBlob(E))throw new L("Blob is not supported. Use a Buffer instead.");return d.isArrayBuffer(E)||d.isTypedArray(E)?h&&typeof Blob=="function"?new Blob([E]):Buffer.from(E):E}function g(E,w,m){let T=E;if(E&&!m&&typeof E=="object"){if(d.endsWith(w,"{}"))w=i?w:w.slice(0,-2),E=JSON.stringify(E);else if(d.isArray(E)&&ia(E)||(d.isFileList(E)||d.endsWith(w,"[]"))&&(T=d.toArray(E)))return w=Wo(w),T.forEach(function(N,Y){!(d.isUndefined(N)||N===null)&&t.append(u===!0?io([w],Y,c):u===null?w:w+"[]",p(N))}),!1}return Dr(E)?!0:(t.append(io(m,w,c),p(E)),!1)}const b=[],C=Object.assign(sa,{defaultVisitor:g,convertValue:p,isVisitable:Dr});function A(E,w){if(!d.isUndefined(E)){if(b.indexOf(E)!==-1)throw Error("Circular reference detected in "+w.join("."));b.push(E),d.forEach(E,function(T,D){(!(d.isUndefined(T)||T===null)&&a.call(t,T,d.isString(D)?D.trim():D,w,C))===!0&&A(T,w?w.concat(D):[D])}),b.pop()}}if(!d.isObject(e))throw new TypeError("data must be an object");return A(e),t}function so(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(i){return t[i]})}function Hr(e,t){this._pairs=[],e&&pr(e,this,t)}const Yo=Hr.prototype;Yo.append=function(t,o){this._pairs.push([t,o])};Yo.toString=function(t){const o=t?function(i){return t.call(this,i,so)}:so;return this._pairs.map(function(a){return o(a[0])+"="+o(a[1])},"").join("&")};function aa(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Jo(e,t,o){if(!t)return e;const i=o&&o.encode||aa,a=o&&o.serialize;let c;if(a?c=a(t,o):c=d.isURLSearchParams(t)?t.toString():new Hr(t,o).toString(i),c){const u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+c}return e}class ao{constructor(){this.handlers=[]}use(t,o,i){return this.handlers.push({fulfilled:t,rejected:o,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){d.forEach(this.handlers,function(i){i!==null&&t(i)})}}const Xo={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ca=typeof URLSearchParams<"u"?URLSearchParams:Hr,ua=typeof FormData<"u"?FormData:null,la=typeof Blob<"u"?Blob:null,fa={isBrowser:!0,classes:{URLSearchParams:ca,FormData:ua,Blob:la},protocols:["http","https","file","blob","url","data"]},kr=typeof window<"u"&&typeof document<"u",xr=typeof navigator=="object"&&navigator||void 0,da=kr&&(!xr||["ReactNative","NativeScript","NS"].indexOf(xr.product)<0),pa=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ha=kr&&window.location.href||"http://localhost",ma=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:kr,hasStandardBrowserEnv:da,hasStandardBrowserWebWorkerEnv:pa,navigator:xr,origin:ha},Symbol.toStringTag,{value:"Module"})),oe={...ma,...fa};function _a(e,t){return pr(e,new oe.classes.URLSearchParams,Object.assign({visitor:function(o,i,a,c){return oe.isNode&&d.isBuffer(o)?(this.append(i,o.toString("base64")),!1):c.defaultVisitor.apply(this,arguments)}},t))}function ga(e){return d.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function ya(e){const t={},o=Object.keys(e);let i;const a=o.length;let c;for(i=0;i=o.length;return u=!u&&d.isArray(a)?a.length:u,h?(d.hasOwnProp(a,u)?a[u]=[a[u],i]:a[u]=i,!f):((!a[u]||!d.isObject(a[u]))&&(a[u]=[]),t(o,i,a[u],c)&&d.isArray(a[u])&&(a[u]=ya(a[u])),!f)}if(d.isFormData(e)&&d.isFunction(e.entries)){const o={};return d.forEachEntry(e,(i,a)=>{t(ga(i),a,o,0)}),o}return null}function ba(e,t,o){if(d.isString(e))try{return(t||JSON.parse)(e),d.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(0,JSON.stringify)(e)}const Gn={transitional:Xo,adapter:["xhr","http","fetch"],transformRequest:[function(t,o){const i=o.getContentType()||"",a=i.indexOf("application/json")>-1,c=d.isObject(t);if(c&&d.isHTMLForm(t)&&(t=new FormData(t)),d.isFormData(t))return a?JSON.stringify(Zo(t)):t;if(d.isArrayBuffer(t)||d.isBuffer(t)||d.isStream(t)||d.isFile(t)||d.isBlob(t)||d.isReadableStream(t))return t;if(d.isArrayBufferView(t))return t.buffer;if(d.isURLSearchParams(t))return o.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let f;if(c){if(i.indexOf("application/x-www-form-urlencoded")>-1)return _a(t,this.formSerializer).toString();if((f=d.isFileList(t))||i.indexOf("multipart/form-data")>-1){const h=this.env&&this.env.FormData;return pr(f?{"files[]":t}:t,h&&new h,this.formSerializer)}}return c||a?(o.setContentType("application/json",!1),ba(t)):t}],transformResponse:[function(t){const o=this.transitional||Gn.transitional,i=o&&o.forcedJSONParsing,a=this.responseType==="json";if(d.isResponse(t)||d.isReadableStream(t))return t;if(t&&d.isString(t)&&(i&&!this.responseType||a)){const u=!(o&&o.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(f){if(u)throw f.name==="SyntaxError"?L.from(f,L.ERR_BAD_RESPONSE,this,null,this.response):f}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:oe.classes.FormData,Blob:oe.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};d.forEach(["delete","get","head","post","put","patch"],e=>{Gn.headers[e]={}});const va=d.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"]),Ea=e=>{const t={};let o,i,a;return e&&e.split(` +`).forEach(function(u){a=u.indexOf(":"),o=u.substring(0,a).trim().toLowerCase(),i=u.substring(a+1).trim(),!(!o||t[o]&&va[o])&&(o==="set-cookie"?t[o]?t[o].push(i):t[o]=[i]:t[o]=t[o]?t[o]+", "+i:i)}),t},co=Symbol("internals");function Vn(e){return e&&String(e).trim().toLowerCase()}function Zn(e){return e===!1||e==null?e:d.isArray(e)?e.map(Zn):String(e)}function Aa(e){const t=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=o.exec(e);)t[i[1]]=i[2];return t}const Ta=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Tr(e,t,o,i,a){if(d.isFunction(i))return i.call(this,t,o);if(a&&(t=o),!!d.isString(t)){if(d.isString(i))return t.indexOf(i)!==-1;if(d.isRegExp(i))return i.test(t)}}function wa(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,o,i)=>o.toUpperCase()+i)}function Oa(e,t){const o=d.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+o,{value:function(a,c,u){return this[i].call(this,t,a,c,u)},configurable:!0})})}let ie=class{constructor(t){t&&this.set(t)}set(t,o,i){const a=this;function c(f,h,p){const g=Vn(h);if(!g)throw new Error("header name must be a non-empty string");const b=d.findKey(a,g);(!b||a[b]===void 0||p===!0||p===void 0&&a[b]!==!1)&&(a[b||h]=Zn(f))}const u=(f,h)=>d.forEach(f,(p,g)=>c(p,g,h));if(d.isPlainObject(t)||t instanceof this.constructor)u(t,o);else if(d.isString(t)&&(t=t.trim())&&!Ta(t))u(Ea(t),o);else if(d.isHeaders(t))for(const[f,h]of t.entries())c(h,f,i);else t!=null&&c(o,t,i);return this}get(t,o){if(t=Vn(t),t){const i=d.findKey(this,t);if(i){const a=this[i];if(!o)return a;if(o===!0)return Aa(a);if(d.isFunction(o))return o.call(this,a,i);if(d.isRegExp(o))return o.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,o){if(t=Vn(t),t){const i=d.findKey(this,t);return!!(i&&this[i]!==void 0&&(!o||Tr(this,this[i],i,o)))}return!1}delete(t,o){const i=this;let a=!1;function c(u){if(u=Vn(u),u){const f=d.findKey(i,u);f&&(!o||Tr(i,i[f],f,o))&&(delete i[f],a=!0)}}return d.isArray(t)?t.forEach(c):c(t),a}clear(t){const o=Object.keys(this);let i=o.length,a=!1;for(;i--;){const c=o[i];(!t||Tr(this,this[c],c,t,!0))&&(delete this[c],a=!0)}return a}normalize(t){const o=this,i={};return d.forEach(this,(a,c)=>{const u=d.findKey(i,c);if(u){o[u]=Zn(a),delete o[c];return}const f=t?wa(c):String(c).trim();f!==c&&delete o[c],o[f]=Zn(a),i[f]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const o=Object.create(null);return d.forEach(this,(i,a)=>{i!=null&&i!==!1&&(o[a]=t&&d.isArray(i)?i.join(", "):i)}),o}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,o])=>t+": "+o).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...o){const i=new this(t);return o.forEach(a=>i.set(a)),i}static accessor(t){const i=(this[co]=this[co]={accessors:{}}).accessors,a=this.prototype;function c(u){const f=Vn(u);i[f]||(Oa(a,u),i[f]=!0)}return d.isArray(t)?t.forEach(c):c(t),this}};ie.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);d.reduceDescriptors(ie.prototype,({value:e},t)=>{let o=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(i){this[o]=i}}});d.freezeMethods(ie);function wr(e,t){const o=this||Gn,i=t||o,a=ie.from(i.headers);let c=i.data;return d.forEach(e,function(f){c=f.call(o,c,a.normalize(),t?t.status:void 0)}),a.normalize(),c}function Qo(e){return!!(e&&e.__CANCEL__)}function en(e,t,o){L.call(this,e??"canceled",L.ERR_CANCELED,t,o),this.name="CanceledError"}d.inherits(en,L,{__CANCEL__:!0});function ei(e,t,o){const i=o.config.validateStatus;!o.status||!i||i(o.status)?e(o):t(new L("Request failed with status code "+o.status,[L.ERR_BAD_REQUEST,L.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}function Ra(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Sa(e,t){e=e||10;const o=new Array(e),i=new Array(e);let a=0,c=0,u;return t=t!==void 0?t:1e3,function(h){const p=Date.now(),g=i[c];u||(u=p),o[a]=h,i[a]=p;let b=c,C=0;for(;b!==a;)C+=o[b++],b=b%e;if(a=(a+1)%e,a===c&&(c=(c+1)%e),p-u{o=g,a=null,c&&(clearTimeout(c),c=null),e.apply(null,p)};return[(...p)=>{const g=Date.now(),b=g-o;b>=i?u(p,g):(a=p,c||(c=setTimeout(()=>{c=null,u(a)},i-b)))},()=>a&&u(a)]}const sr=(e,t,o=3)=>{let i=0;const a=Sa(50,250);return Pa(c=>{const u=c.loaded,f=c.lengthComputable?c.total:void 0,h=u-i,p=a(h),g=u<=f;i=u;const b={loaded:u,total:f,progress:f?u/f:void 0,bytes:h,rate:p||void 0,estimated:p&&f&&g?(f-u)/p:void 0,event:c,lengthComputable:f!=null,[t?"download":"upload"]:!0};e(b)},o)},uo=(e,t)=>{const o=e!=null;return[i=>t[0]({lengthComputable:o,total:e,loaded:i}),t[1]]},lo=e=>(...t)=>d.asap(()=>e(...t)),Ca=oe.hasStandardBrowserEnv?function(){const t=oe.navigator&&/(msie|trident)/i.test(oe.navigator.userAgent),o=document.createElement("a");let i;function a(c){let u=c;return t&&(o.setAttribute("href",u),u=o.href),o.setAttribute("href",u),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:o.pathname.charAt(0)==="/"?o.pathname:"/"+o.pathname}}return i=a(window.location.href),function(u){const f=d.isString(u)?a(u):u;return f.protocol===i.protocol&&f.host===i.host}}():function(){return function(){return!0}}(),La=oe.hasStandardBrowserEnv?{write(e,t,o,i,a,c){const u=[e+"="+encodeURIComponent(t)];d.isNumber(o)&&u.push("expires="+new Date(o).toGMTString()),d.isString(i)&&u.push("path="+i),d.isString(a)&&u.push("domain="+a),c===!0&&u.push("secure"),document.cookie=u.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Da(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function xa(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function ti(e,t){return e&&!Da(t)?xa(e,t):t}const fo=e=>e instanceof ie?{...e}:e;function Nt(e,t){t=t||{};const o={};function i(p,g,b){return d.isPlainObject(p)&&d.isPlainObject(g)?d.merge.call({caseless:b},p,g):d.isPlainObject(g)?d.merge({},g):d.isArray(g)?g.slice():g}function a(p,g,b){if(d.isUndefined(g)){if(!d.isUndefined(p))return i(void 0,p,b)}else return i(p,g,b)}function c(p,g){if(!d.isUndefined(g))return i(void 0,g)}function u(p,g){if(d.isUndefined(g)){if(!d.isUndefined(p))return i(void 0,p)}else return i(void 0,g)}function f(p,g,b){if(b in t)return i(p,g);if(b in e)return i(void 0,p)}const h={url:c,method:c,data:c,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,withXSRFToken:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:f,headers:(p,g)=>a(fo(p),fo(g),!0)};return d.forEach(Object.keys(Object.assign({},e,t)),function(g){const b=h[g]||a,C=b(e[g],t[g],g);d.isUndefined(C)&&b!==f||(o[g]=C)}),o}const ni=e=>{const t=Nt({},e);let{data:o,withXSRFToken:i,xsrfHeaderName:a,xsrfCookieName:c,headers:u,auth:f}=t;t.headers=u=ie.from(u),t.url=Jo(ti(t.baseURL,t.url),e.params,e.paramsSerializer),f&&u.set("Authorization","Basic "+btoa((f.username||"")+":"+(f.password?unescape(encodeURIComponent(f.password)):"")));let h;if(d.isFormData(o)){if(oe.hasStandardBrowserEnv||oe.hasStandardBrowserWebWorkerEnv)u.setContentType(void 0);else if((h=u.getContentType())!==!1){const[p,...g]=h?h.split(";").map(b=>b.trim()).filter(Boolean):[];u.setContentType([p||"multipart/form-data",...g].join("; "))}}if(oe.hasStandardBrowserEnv&&(i&&d.isFunction(i)&&(i=i(t)),i||i!==!1&&Ca(t.url))){const p=a&&c&&La.read(c);p&&u.set(a,p)}return t},Ia=typeof XMLHttpRequest<"u",Ma=Ia&&function(e){return new Promise(function(o,i){const a=ni(e);let c=a.data;const u=ie.from(a.headers).normalize();let{responseType:f,onUploadProgress:h,onDownloadProgress:p}=a,g,b,C,A,E;function w(){A&&A(),E&&E(),a.cancelToken&&a.cancelToken.unsubscribe(g),a.signal&&a.signal.removeEventListener("abort",g)}let m=new XMLHttpRequest;m.open(a.method.toUpperCase(),a.url,!0),m.timeout=a.timeout;function T(){if(!m)return;const N=ie.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),V={data:!f||f==="text"||f==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:N,config:e,request:m};ei(function(X){o(X),w()},function(X){i(X),w()},V),m=null}"onloadend"in m?m.onloadend=T:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(T)},m.onabort=function(){m&&(i(new L("Request aborted",L.ECONNABORTED,e,m)),m=null)},m.onerror=function(){i(new L("Network Error",L.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let Y=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const V=a.transitional||Xo;a.timeoutErrorMessage&&(Y=a.timeoutErrorMessage),i(new L(Y,V.clarifyTimeoutError?L.ETIMEDOUT:L.ECONNABORTED,e,m)),m=null},c===void 0&&u.setContentType(null),"setRequestHeader"in m&&d.forEach(u.toJSON(),function(Y,V){m.setRequestHeader(V,Y)}),d.isUndefined(a.withCredentials)||(m.withCredentials=!!a.withCredentials),f&&f!=="json"&&(m.responseType=a.responseType),p&&([C,E]=sr(p,!0),m.addEventListener("progress",C)),h&&m.upload&&([b,A]=sr(h),m.upload.addEventListener("progress",b),m.upload.addEventListener("loadend",A)),(a.cancelToken||a.signal)&&(g=N=>{m&&(i(!N||N.type?new en(null,e,m):N),m.abort(),m=null)},a.cancelToken&&a.cancelToken.subscribe(g),a.signal&&(a.signal.aborted?g():a.signal.addEventListener("abort",g)));const D=Ra(a.url);if(D&&oe.protocols.indexOf(D)===-1){i(new L("Unsupported protocol "+D+":",L.ERR_BAD_REQUEST,e));return}m.send(c||null)})},Na=(e,t)=>{const{length:o}=e=e?e.filter(Boolean):[];if(t||o){let i=new AbortController,a;const c=function(p){if(!a){a=!0,f();const g=p instanceof Error?p:this.reason;i.abort(g instanceof L?g:new en(g instanceof Error?g.message:g))}};let u=t&&setTimeout(()=>{u=null,c(new L(`timeout ${t} of ms exceeded`,L.ETIMEDOUT))},t);const f=()=>{e&&(u&&clearTimeout(u),u=null,e.forEach(p=>{p.unsubscribe?p.unsubscribe(c):p.removeEventListener("abort",c)}),e=null)};e.forEach(p=>p.addEventListener("abort",c));const{signal:h}=i;return h.unsubscribe=()=>d.asap(f),h}},ja=function*(e,t){let o=e.byteLength;if(o{const a=Fa(e,t);let c=0,u,f=h=>{u||(u=!0,i&&i(h))};return new ReadableStream({async pull(h){try{const{done:p,value:g}=await a.next();if(p){f(),h.close();return}let b=g.byteLength;if(o){let C=c+=b;o(C)}h.enqueue(new Uint8Array(g))}catch(p){throw f(p),p}},cancel(h){return f(h),a.return()}},{highWaterMark:2})},hr=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ri=hr&&typeof ReadableStream=="function",Ba=hr&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),oi=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Va=ri&&oi(()=>{let e=!1;const t=new Request(oe.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),ho=64*1024,Ir=ri&&oi(()=>d.isReadableStream(new Response("").body)),ar={stream:Ir&&(e=>e.body)};hr&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!ar[t]&&(ar[t]=d.isFunction(e[t])?o=>o[t]():(o,i)=>{throw new L(`Response type '${t}' is not supported`,L.ERR_NOT_SUPPORT,i)})})})(new Response);const $a=async e=>{if(e==null)return 0;if(d.isBlob(e))return e.size;if(d.isSpecCompliantForm(e))return(await new Request(oe.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(d.isArrayBufferView(e)||d.isArrayBuffer(e))return e.byteLength;if(d.isURLSearchParams(e)&&(e=e+""),d.isString(e))return(await Ba(e)).byteLength},Ha=async(e,t)=>{const o=d.toFiniteNumber(e.getContentLength());return o??$a(t)},ka=hr&&(async e=>{let{url:t,method:o,data:i,signal:a,cancelToken:c,timeout:u,onDownloadProgress:f,onUploadProgress:h,responseType:p,headers:g,withCredentials:b="same-origin",fetchOptions:C}=ni(e);p=p?(p+"").toLowerCase():"text";let A=Na([a,c&&c.toAbortSignal()],u),E;const w=A&&A.unsubscribe&&(()=>{A.unsubscribe()});let m;try{if(h&&Va&&o!=="get"&&o!=="head"&&(m=await Ha(g,i))!==0){let V=new Request(t,{method:"POST",body:i,duplex:"half"}),k;if(d.isFormData(i)&&(k=V.headers.get("content-type"))&&g.setContentType(k),V.body){const[X,me]=uo(m,sr(lo(h)));i=po(V.body,ho,X,me)}}d.isString(b)||(b=b?"include":"omit");const T="credentials"in Request.prototype;E=new Request(t,{...C,signal:A,method:o.toUpperCase(),headers:g.normalize().toJSON(),body:i,duplex:"half",credentials:T?b:void 0});let D=await fetch(E);const N=Ir&&(p==="stream"||p==="response");if(Ir&&(f||N&&w)){const V={};["status","statusText","headers"].forEach(Le=>{V[Le]=D[Le]});const k=d.toFiniteNumber(D.headers.get("content-length")),[X,me]=f&&uo(k,sr(lo(f),!0))||[];D=new Response(po(D.body,ho,X,()=>{me&&me(),w&&w()}),V)}p=p||"text";let Y=await ar[d.findKey(ar,p)||"text"](D,e);return!N&&w&&w(),await new Promise((V,k)=>{ei(V,k,{data:Y,headers:ie.from(D.headers),status:D.status,statusText:D.statusText,config:e,request:E})})}catch(T){throw w&&w(),T&&T.name==="TypeError"&&/fetch/i.test(T.message)?Object.assign(new L("Network Error",L.ERR_NETWORK,e,E),{cause:T.cause||T}):L.from(T,T&&T.code,e,E)}}),Mr={http:oa,xhr:Ma,fetch:ka};d.forEach(Mr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const mo=e=>`- ${e}`,za=e=>d.isFunction(e)||e===null||e===!1,ii={getAdapter:e=>{e=d.isArray(e)?e:[e];const{length:t}=e;let o,i;const a={};for(let c=0;c`adapter ${f} `+(h===!1?"is not supported by the environment":"is not available in the build"));let u=t?c.length>1?`since : +`+c.map(mo).join(` +`):" "+mo(c[0]):"as no adapter specified";throw new L("There is no suitable adapter to dispatch the request "+u,"ERR_NOT_SUPPORT")}return i},adapters:Mr};function Or(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new en(null,e)}function _o(e){return Or(e),e.headers=ie.from(e.headers),e.data=wr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ii.getAdapter(e.adapter||Gn.adapter)(e).then(function(i){return Or(e),i.data=wr.call(e,e.transformResponse,i),i.headers=ie.from(i.headers),i},function(i){return Qo(i)||(Or(e),i&&i.response&&(i.response.data=wr.call(e,e.transformResponse,i.response),i.response.headers=ie.from(i.response.headers))),Promise.reject(i)})}const si="1.7.7",zr={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{zr[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});const go={};zr.transitional=function(t,o,i){function a(c,u){return"[Axios v"+si+"] Transitional option '"+c+"'"+u+(i?". "+i:"")}return(c,u,f)=>{if(t===!1)throw new L(a(u," has been removed"+(o?" in "+o:"")),L.ERR_DEPRECATED);return o&&!go[u]&&(go[u]=!0,console.warn(a(u," has been deprecated since v"+o+" and will be removed in the near future"))),t?t(c,u,f):!0}};function qa(e,t,o){if(typeof e!="object")throw new L("options must be an object",L.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let a=i.length;for(;a-- >0;){const c=i[a],u=t[c];if(u){const f=e[c],h=f===void 0||u(f,c,e);if(h!==!0)throw new L("option "+c+" must be "+h,L.ERR_BAD_OPTION_VALUE);continue}if(o!==!0)throw new L("Unknown option "+c,L.ERR_BAD_OPTION)}}const Nr={assertOptions:qa,validators:zr},lt=Nr.validators;let Mt=class{constructor(t){this.defaults=t,this.interceptors={request:new ao,response:new ao}}async request(t,o){try{return await this._request(t,o)}catch(i){if(i instanceof Error){let a;Error.captureStackTrace?Error.captureStackTrace(a={}):a=new Error;const c=a.stack?a.stack.replace(/^.+\n/,""):"";try{i.stack?c&&!String(i.stack).endsWith(c.replace(/^.+\n.+\n/,""))&&(i.stack+=` +`+c):i.stack=c}catch{}}throw i}}_request(t,o){typeof t=="string"?(o=o||{},o.url=t):o=t||{},o=Nt(this.defaults,o);const{transitional:i,paramsSerializer:a,headers:c}=o;i!==void 0&&Nr.assertOptions(i,{silentJSONParsing:lt.transitional(lt.boolean),forcedJSONParsing:lt.transitional(lt.boolean),clarifyTimeoutError:lt.transitional(lt.boolean)},!1),a!=null&&(d.isFunction(a)?o.paramsSerializer={serialize:a}:Nr.assertOptions(a,{encode:lt.function,serialize:lt.function},!0)),o.method=(o.method||this.defaults.method||"get").toLowerCase();let u=c&&d.merge(c.common,c[o.method]);c&&d.forEach(["delete","get","head","post","put","patch","common"],E=>{delete c[E]}),o.headers=ie.concat(u,c);const f=[];let h=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(o)===!1||(h=h&&w.synchronous,f.unshift(w.fulfilled,w.rejected))});const p=[];this.interceptors.response.forEach(function(w){p.push(w.fulfilled,w.rejected)});let g,b=0,C;if(!h){const E=[_o.bind(this),void 0];for(E.unshift.apply(E,f),E.push.apply(E,p),C=E.length,g=Promise.resolve(o);b{if(!i._listeners)return;let c=i._listeners.length;for(;c-- >0;)i._listeners[c](a);i._listeners=null}),this.promise.then=a=>{let c;const u=new Promise(f=>{i.subscribe(f),c=f}).then(a);return u.cancel=function(){i.unsubscribe(c)},u},t(function(c,u,f){i.reason||(i.reason=new en(c,u,f),o(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const o=this._listeners.indexOf(t);o!==-1&&this._listeners.splice(o,1)}toAbortSignal(){const t=new AbortController,o=i=>{t.abort(i)};return this.subscribe(o),t.signal.unsubscribe=()=>this.unsubscribe(o),t.signal}static source(){let t;return{token:new ai(function(a){t=a}),cancel:t}}};function Ga(e){return function(o){return e.apply(null,o)}}function Wa(e){return d.isObject(e)&&e.isAxiosError===!0}const jr={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(jr).forEach(([e,t])=>{jr[t]=e});function ci(e){const t=new Mt(e),o=Uo(Mt.prototype.request,t);return d.extend(o,Mt.prototype,t,{allOwnKeys:!0}),d.extend(o,t,null,{allOwnKeys:!0}),o.create=function(a){return ci(Nt(e,a))},o}const H=ci(Gn);H.Axios=Mt;H.CanceledError=en;H.CancelToken=Ka;H.isCancel=Qo;H.VERSION=si;H.toFormData=pr;H.AxiosError=L;H.Cancel=H.CanceledError;H.all=function(t){return Promise.all(t)};H.spread=Ga;H.isAxiosError=Wa;H.mergeConfig=Nt;H.AxiosHeaders=ie;H.formToJSON=e=>Zo(d.isHTMLForm(e)?new FormData(e):e);H.getAdapter=ii.getAdapter;H.HttpStatusCode=jr;H.default=H;const{Axios:du,AxiosError:Ya,CanceledError:pu,isCancel:hu,CancelToken:mu,VERSION:_u,all:gu,Cancel:yu,isAxiosError:bu,spread:vu,toFormData:Eu,AxiosHeaders:Au,HttpStatusCode:Tu,formToJSON:wu,getAdapter:Ou,mergeConfig:Ru}=H,dt=(e,t)=>{const o=e.__vccOpts||e;for(const[i,a]of t)o[i]=a;return o},Ja={class:"pulse-wrapper"},Xa={__name:"pulse-spin",props:{color:{type:String,default:"#3ff9dc"}},setup(e){return qn(t=>({"6b8aaad6":e.color})),(t,o)=>(ft(),jt("div",Ja,o[0]||(o[0]=[br("div",{class:"pulse-item one"},null,-1),br("div",{class:"pulse-item two"},null,-1),br("div",{class:"pulse-item three"},null,-1)])))}},Za=dt(Xa,[["__scopeId","data-v-e67bdcfb"]]),Qa={class:"rect-wrapper"},ec={__name:"rect-spin",props:{color:{type:String,default:"#3ff9dc"}},setup(e){return qn(t=>({"70c0376a":e.color})),(t,o)=>(ft(),jt("div",Qa,o[0]||(o[0]=[Br('

',5)])))}},tc=dt(ec,[["__scopeId","data-v-b4a6ec85"]]),nc={class:"plane-wrapper"},rc={__name:"plane-spin",props:{color:{type:String,default:"#3ff9dc"}},setup(e){return qn(t=>({"9f3f7f1e":e.color})),(t,o)=>(ft(),jt("div",nc))}},oc=dt(rc,[["__scopeId","data-v-639d15d4"]]),ic={class:"cube-wrapper"},sc={__name:"cube-spin",props:{color:{type:String,default:"#3ff9dc"}},setup(e){return qn(t=>({"5f81929c":e.color})),(t,o)=>(ft(),jt("div",ic,o[0]||(o[0]=[Br('
',9)])))}},ac=dt(sc,[["__scopeId","data-v-89618f0a"]]),cc={},uc={class:"preloader-wrapper"};function lc(e,t){return ft(),jt("div",uc)}const fc=dt(cc,[["render",lc],["__scopeId","data-v-e47fb799"]]),dc={class:"chase-wrapper"},pc={__name:"chase-spin",props:{color:{type:String,default:"#3ff9dc"}},setup(e){return qn(t=>({41975117:e.color})),(t,o)=>(ft(),jt("div",dc,o[0]||(o[0]=[Br('
',6)])))}},hc=dt(pc,[["__scopeId","data-v-37d76f4c"]]),mc={},_c={class:"dots-loader"};function gc(e,t){return ft(),jt("div",_c)}const yc=dt(mc,[["render",gc],["__scopeId","data-v-661a5291"]]),bc=(e=>(e.PULSE="pulse",e.RECT="rect",e.PLANE="plane",e.CUBE="cube",e.PRELOADER="preloader",e.CHASE="chase",e.DOT="dot",e))({}),pt=new Map;pt.set("pulse",Za);pt.set("rect",tc);pt.set("plane",oc);pt.set("cube",ac);pt.set("preloader",fc);pt.set("chase",hc);pt.set("dot",yc);const vc=Ni({name:"BaseLoading",props:{text:{type:String,default:"正在加载中..."},textColor:{type:String,default:"#79bbff"},background:{type:String,default:"rgba(0, 0, 0, .5)"},modal:{type:Boolean,default:!0},spin:{type:String,default:"chase"},full:{type:Boolean,default:!1}},setup(e){const t=()=>{const{spin:o,textColor:i}=e;return ji(pt.get(o),{color:i})};return()=>{const{background:o,modal:i,full:a,text:c,textColor:u}=e;return Xt("div",{style:i?{background:o}:{},class:{"loading-container":!0,"is-fullscreen":a}},[Xt("div",{class:"loading-wrapper"},[t(),Xt("div",{class:"text",style:{color:u}},[c])])])}}}),ui=dt(vc,[["__scopeId","data-v-7de91895"]]);function li(e={}){const t=Oo(ui,{...e});let o=null,i=0,a=0;const c=e.minTime||0;return{open:(h=document.body)=>{var p;o||(o=t.mount(document.createElement("div"))),!(!o||!o.$el)&&((p=h==null?void 0:h.appendChild)==null||p.call(h,o.$el),i=performance.now())},close:()=>{var h;!o||!o.$el||(a=performance.now(),a-i{var p;(p=o.$el.parentNode)==null||p.removeChild(o.$el)},Math.floor(c-(a-i))):(h=o.$el.parentNode)==null||h.removeChild(o.$el))}}}const yo=li({spin:bc.CHASE,minTime:500});class Ec{constructor(){Jr(this,"loadingCount");this.loadingCount=0}addLoading(){this.loadingCount===0&&yo.open(),this.loadingCount++}closeLoading(){this.loadingCount>0&&(this.loadingCount===1&&yo.close(),this.loadingCount--)}}const fi="Authorization",mr=Fi(()=>wo(fi,null)),_r=(e=>(e.GET="GET",e.POST="POST",e.PUT="PUT",e.DELETE="DELETE",e))({}),Ac=(e=>(e.JSON="application/json;charset=UTF-8",e.FORM_URLENCODED="application/x-www-form-urlencoded;charset=UTF-8",e.FORM_DATA="multipart/form-data;charset=UTF-8",e))({}),qr=H.create({baseURL:"http://127.0.0.1:8000",timeout:6e4,headers:{"Content-Type":Ac.JSON}}),di=new Ec;async function Tc(e){const t=mr();t.value&&e.token!==!1&&e.headers.set(fi,t.value);const{locale:o}=Fo();return e.headers.set("Accept-Language",o.value??"zh-CN"),e.loading&&di.addLoading(),e}function wc(e){return e.data}function Oc(e){const t=mr(),o=ss();if(e.response){const{data:i,status:a,statusText:c}=e.response;a===401?(o==null||o.error({message:"401",description:(i==null?void 0:i.message)||c,duration:3}),t.value=null,Ge.push({path:"/login",query:{redirect:Ge.currentRoute.value.fullPath}}).then(()=>{})):a===403?o==null||o.error({message:"403",description:(i==null?void 0:i.message)||c,duration:3}):a===500?o==null||o.error({message:"500",description:(i==null?void 0:i.message)||c,duration:3}):o==null||o.error({message:"服务错误",description:(i==null?void 0:i.message)||c,duration:3})}return Promise.reject(e)}qr.interceptors.request.use(Tc);qr.interceptors.response.use(wc,Oc);function gr(e){const{loading:t}=e;return new Promise((o,i)=>{qr.request(e).then(a=>{o(a)}).catch(a=>{i(a)}).finally(()=>{t&&di.closeLoading()})})}function yr(e,t,o){const i={url:e,params:t,method:_r.GET,...o};return gr(i)}function pi(e,t,o){const i={url:e,data:t,method:_r.POST,...o};return gr(i)}function hi(e,t,o){const i={url:e,data:t,method:_r.PUT,...o};return gr(i)}function mi(e,t,o){const i={url:e,data:t,method:_r.DELETE,...o};return gr(i)}function Rc(){return yr("/v1/menus")}function Su(){return yr("/v1/admin/menus")}function Pu(e){return pi("/v1/admin/menu",e)}function Cu(e){return hi("/v1/admin/menu",e)}function Lu(e){return mi("/v1/admin/menu",e)}function Sc(){return yr("/v1/admin/user")}function Du(e){return yr("/v1/admin/users",e)}function xu(e){return pi("/v1/admin/user",e)}function Iu(e){return hi("/v1/admin/user",e)}function Mu(e){return mi("/v1/admin/user",e)}const _i="/dashboard",Pc=()=>y(()=>import("./index-CNQHvuR7.js"),__vite__mapDeps([4,5,2,1,6,7,8,9,10])),Cc={path:"/",name:"rootPath",redirect:_i,component:Pc,children:[]},Rr=Object.assign({"/src/pages/access/admin.vue":()=>y(()=>import("./admin-Nl2XFEZr.js"),__vite__mapDeps([18,19,8,2,1,20])),"/src/pages/access/api.vue":()=>y(()=>import("./api-DDa9fDH4.js"),__vite__mapDeps([21,19,8,2,1,20])),"/src/pages/access/common.vue":()=>y(()=>import("./common-ChpZVeoj.js"),__vite__mapDeps([22,2,1])),"/src/pages/access/menu.vue":()=>y(()=>import("./menu-Ba7hgb9_.js"),__vite__mapDeps([23,19,8,2,1])),"/src/pages/access/role.vue":()=>y(()=>import("./role-C9Rys4Lc.js"),__vite__mapDeps([24,19,8,2,1,20])),"/src/pages/account/center.vue":()=>y(()=>import("./center-CXB0VWrh.js"),__vite__mapDeps([25,2,12,1,26])),"/src/pages/account/settings.vue":()=>y(()=>import("./settings-BDb3Pw3I.js"),__vite__mapDeps([27,1,2,28])),"/src/pages/comps/loading.vue":()=>y(()=>import("./loading-DRwZdXST.js"),__vite__mapDeps([29,1,2])),"/src/pages/dashboard/analysis/index.vue":()=>y(()=>import("./index-DXeijiIX.js"),__vite__mapDeps([30,19,8,2,1,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45])),"/src/pages/dashboard/analysis/introduce-row.vue":()=>y(()=>import("./introduce-row-mysvfOex.js"),__vite__mapDeps([31,32,33,1,2,34,35,36])),"/src/pages/dashboard/analysis/number-info.vue":()=>y(()=>import("./number-info-D_kSTq0O.js"),__vite__mapDeps([39,1,2,40])),"/src/pages/dashboard/analysis/offline-data.vue":()=>y(()=>import("./offline-data-pclN1ie8.js"),__vite__mapDeps([43,39,1,2,40,32,33,44])),"/src/pages/dashboard/analysis/proportion-sales.vue":()=>y(()=>import("./proportion-sales-d0M_xNbH.js"),__vite__mapDeps([41,2,32,33,1,42])),"/src/pages/dashboard/analysis/sales-card.vue":()=>y(()=>import("./sales-card-DWCqcnjI.js"),__vite__mapDeps([37,32,33,1,2,38])),"/src/pages/dashboard/analysis/trend.vue":()=>y(()=>import("./trend-DeLG38Nf.js"),__vite__mapDeps([34,1,2,35])),"/src/pages/dashboard/monitor/active-chart.vue":()=>y(()=>import("./active-chart-D-Rbify1.js"),__vite__mapDeps([46,32,33,1,2,47])),"/src/pages/dashboard/monitor/custom-map.vue":()=>y(()=>import("./custom-map-D96Na9xO.js"),__vite__mapDeps([48,1,2,33,49])),"/src/pages/dashboard/monitor/index.vue":()=>y(()=>import("./index-CCZn2xOr.js"),__vite__mapDeps([50,19,8,2,1,32,33,46,47,48,49,51])),"/src/pages/dashboard/workplace/editable-link-group.vue":()=>y(()=>import("./editable-link-group-C7NNjVe6.js"),__vite__mapDeps([52,1,2,53])),"/src/pages/dashboard/workplace/index.vue":()=>y(()=>import("./index-BOtVkL__.js"),__vite__mapDeps([54,19,8,2,1,32,33,52,53,55])),"/src/pages/exception/401.vue":()=>y(()=>import("./401-C6PeSXhU.js"),__vite__mapDeps([14,2,1])),"/src/pages/exception/403.vue":()=>y(()=>import("./403-B6htc2SF.js"),__vite__mapDeps([56,2,1])),"/src/pages/exception/404.vue":()=>y(()=>import("./404-BF6vYG99.js"),__vite__mapDeps([57,2,1])),"/src/pages/exception/500.vue":()=>y(()=>import("./500-3ZsQY5rx.js"),__vite__mapDeps([58,2,1])),"/src/pages/exception/component-error.vue":()=>y(()=>import("./component-error-DF1aWLkb.js"),__vite__mapDeps([59,1,2])),"/src/pages/exception/error.vue":()=>y(()=>import("./error-CIY1aonp.js"),__vite__mapDeps([17,2,1])),"/src/pages/form/advanced-form/index.vue":()=>y(()=>import("./index-DRX5jdLA.js"),__vite__mapDeps([60,19,8,2,1,61,62,63])),"/src/pages/form/advanced-form/repository-form.vue":()=>y(()=>import("./repository-form-B-X8I6s6.js"),__vite__mapDeps([61,1,2])),"/src/pages/form/advanced-form/task-form.vue":()=>y(()=>import("./task-form-Bya_CC5z.js"),__vite__mapDeps([62,1,2])),"/src/pages/form/basic-form/index.vue":()=>y(()=>import("./index-7sBFw5PD.js"),__vite__mapDeps([64,19,8,2,1])),"/src/pages/form/step-form/index.vue":()=>y(()=>import("./index-B3rEUUAe.js"),__vite__mapDeps([65,19,8,2,1,66])),"/src/pages/list/basic-list.vue":()=>y(()=>import("./basic-list-BAtMnshM.js"),__vite__mapDeps([67,19,8,2,1,68])),"/src/pages/list/card-list.vue":()=>y(()=>import("./card-list-DxdnVGe9.js"),__vite__mapDeps([69,19,8,2,1,70])),"/src/pages/list/crud-table.vue":()=>y(()=>import("./crud-table-ykWPyRjs.js"),__vite__mapDeps([71,19,8,2,1,72])),"/src/pages/list/search-list/applications.vue":()=>y(()=>import("./applications-CX4Ej76O.js"),__vite__mapDeps([73,74,1,2,75])),"/src/pages/list/search-list/articles.vue":()=>y(()=>import("./articles-Bba17joW.js"),__vite__mapDeps([76,1,2,74,75])),"/src/pages/list/search-list/index.vue":()=>y(()=>import("./index-B1GlpGYB.js"),__vite__mapDeps([77,19,8,2,1,78])),"/src/pages/list/search-list/projects.vue":()=>y(()=>import("./projects-SGpPzyB3.js"),__vite__mapDeps([79,74,1,2,75])),"/src/pages/list/table-list.vue":()=>y(()=>import("./table-list-BNdXiXZh.js"),__vite__mapDeps([80,19,8,2,1])),"/src/pages/menu/menu-1-1/menu1.vue":()=>y(()=>import("./menu1-ETi5yJxK.js"),__vite__mapDeps([81,1,2])),"/src/pages/menu/menu-1-1/menu2.vue":()=>y(()=>import("./menu2-Cb1gxo7Q.js"),__vite__mapDeps([82,1,2])),"/src/pages/menu/menu-2-1/menu1.vue":()=>y(()=>import("./menu1-CZJbf7uc.js"),__vite__mapDeps([83,1,2])),"/src/pages/menu/menu-2-1/menu2.vue":()=>y(()=>import("./menu2-Cy4sVEZM.js"),__vite__mapDeps([84,1,2])),"/src/pages/menu/menu1.vue":()=>y(()=>import("./menu1-BUzVyx-R.js"),__vite__mapDeps([85,1,2])),"/src/pages/menu/menu2.vue":()=>y(()=>import("./menu2-krQF60os.js"),__vite__mapDeps([86,1,2])),"/src/pages/profile/advanced/index.vue":()=>y(()=>import("./index-lzoRVGG7.js"),__vite__mapDeps([87,19,8,2,1,9,88])),"/src/pages/profile/basic/index.vue":()=>y(()=>import("./index-BU6Mv0kW.js"),__vite__mapDeps([89,19,8,2,1,90])),"/src/pages/result/fail.vue":()=>y(()=>import("./fail-DJTKNFSM.js"),__vite__mapDeps([91,1,2])),"/src/pages/result/success.vue":()=>y(()=>import("./success-Bk0XrlRj.js"),__vite__mapDeps([92,9,2,1]))}),Q={Iframe:()=>y(()=>import("./iframe-DZAZD2-t.js"),__vite__mapDeps([93,2,1,94])),RouteView:()=>y(()=>import("./route-view-CJGX2V7g.js").then(e=>e.r),__vite__mapDeps([7,2])),ComponentError:()=>y(()=>import("./component-error-DF1aWLkb.js"),__vite__mapDeps([59,1,2]))};function bo(e){return typeof e=="object"&&"default"in e?e.default:e}function Lc(e){if(!e)return Q.ComponentError;if(e in Q)return Q[e];e.startsWith("/")&&(e=e.slice(1));const t=`/src/pages/${e}.vue`,o=`/src/pages/${e}/index.vue`;return o in Rr?bo(Rr[o]):bo(Rr[t])}const Dc=(e=>(e.ADMIN="ADMIN",e.USER="USER",e))({}),xc=(e=>(e.FRONTEND="FRONTEND",e.BACKEND="BACKEND",e))({}),Ic="BACKEND",vo=[{path:"/dashboard",redirect:"/dashboard/analysis",name:"Dashboard",meta:{title:"仪表盘",icon:"DashboardOutlined"},component:Q.RouteView,children:[{path:"/dashboard/analysis",name:"DashboardAnalysis",component:()=>y(()=>import("./index-DXeijiIX.js"),__vite__mapDeps([30,19,8,2,1,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45])),meta:{title:"分析页"}},{path:"/dashboard/monitor",name:"DashboardMonitor",component:()=>y(()=>import("./index-CCZn2xOr.js"),__vite__mapDeps([50,19,8,2,1,32,33,46,47,48,49,51])),meta:{title:"监控页"}},{path:"/dashboard/workplace",name:"DashboardWorkplace",component:()=>y(()=>import("./index-BOtVkL__.js"),__vite__mapDeps([54,19,8,2,1,32,33,52,53,55])),meta:{title:"监控页"}}]},{path:"/form",redirect:"/form/basic-form",name:"Form",meta:{title:"表单页",icon:"FormOutlined"},component:Q.RouteView,children:[{path:"/form/basic-form",name:"FormBasic",component:()=>y(()=>import("./index-7sBFw5PD.js"),__vite__mapDeps([64,19,8,2,1])),meta:{title:"基础表单",locale:"menu.form.basic-form"}},{path:"/form/step-form",name:"FormStep",component:()=>y(()=>import("./index-B3rEUUAe.js"),__vite__mapDeps([65,19,8,2,1,66])),meta:{title:"分步表单",locale:"menu.form.step-form"}},{path:"/form/advanced-form",name:"FormAdvanced",component:()=>y(()=>import("./index-DRX5jdLA.js"),__vite__mapDeps([60,19,8,2,1,61,62,63])),meta:{title:"高级表单",locale:"menu.form.advanced-form"}}]},{path:"/link",redirect:"/link/iframe",name:"Link",meta:{title:"链接",icon:"LinkOutlined"},component:Q.RouteView,children:[{path:"/link/iframe",name:"LinkIframe",component:Q.Iframe,meta:{title:"AntDesign",url:"https://ant.design/"}},{path:"/link/antdv",name:"LinkAntdv",component:Q.Iframe,meta:{title:"AntDesignVue",url:"https://antdv.com/"}},{path:"https://www.baidu.com",name:"LinkExternal",meta:{title:"跳转百度"}}]},{path:"/menu",redirect:"/menu/menu1",name:"Menu",meta:{title:"菜单",icon:"BarsOutlined"},component:Q.RouteView,children:[{path:"/menu/menu1",name:"MenuMenu11",component:()=>y(()=>import("./menu1-BUzVyx-R.js"),__vite__mapDeps([85,1,2])),meta:{title:"菜单1"}},{path:"/menu/menu2",name:"MenuMenu12",component:()=>y(()=>import("./menu2-krQF60os.js"),__vite__mapDeps([86,1,2])),meta:{title:"菜单2"}},{path:"/menu/menu3",redirect:"/menu/menu3/menu1",name:"MenuMenu1-1",meta:{title:"菜单1-1"},children:[{path:"/menu/menu3/menu1",name:"MenuMenu111",component:()=>y(()=>import("./menu1-ETi5yJxK.js"),__vite__mapDeps([81,1,2])),meta:{title:"菜单1-1-1"}},{path:"/menu/menu3/menu2",name:"MenuMenu112",component:()=>y(()=>import("./menu2-Cb1gxo7Q.js"),__vite__mapDeps([82,1,2])),meta:{title:"菜单1-1-2"}}]},{path:"/menu/menu4",redirect:"/menu/menu4/menu1",name:"MenuMenu2-1",meta:{title:"菜单2-1"},children:[{path:"/menu/menu4/menu1",name:"MenuMenu211",component:()=>y(()=>import("./menu1-CZJbf7uc.js"),__vite__mapDeps([83,1,2])),meta:{title:"菜单2-1-1"}},{path:"/menu/menu4/menu2",name:"MenuMenu212",component:()=>y(()=>import("./menu2-Cy4sVEZM.js"),__vite__mapDeps([84,1,2])),meta:{title:"菜单2-1-2"}}]}]},{path:"/profile",name:"profile",redirect:"/profile/basic",meta:{title:"menu.profile",icon:"ProfileOutlined",locale:"menu.profile"},component:Q.RouteView,children:[{path:"/profile/basic",name:"ProfileBasic",component:()=>y(()=>import("./index-BU6Mv0kW.js"),__vite__mapDeps([89,19,8,2,1,90])),meta:{title:"menu.profile.basic",locale:"menu.profile.basic"}}]},{path:"/access",redirect:"/access/common",name:"Access",meta:{title:"权限模块",icon:"ClusterOutlined"},children:[{path:"/access/common",name:"AccessCommon",component:()=>y(()=>import("./common-ChpZVeoj.js"),__vite__mapDeps([22,2,1])),meta:{title:"通用权限"}},{path:"/access/admin",name:"AccessAdmin",component:()=>y(()=>import("./admin-Nl2XFEZr.js"),__vite__mapDeps([18,19,8,2,1,20])),meta:{title:"管理员",access:[Dc.ADMIN]}}]},{path:"/exception",redirect:"/exception/403",name:"Exception",meta:{title:"异常页",icon:"WarningOutlined",locale:"menu.exception"},children:[{path:"/exception/403",name:"Exception403",component:()=>y(()=>import("./403-B6htc2SF.js"),__vite__mapDeps([56,2,1])),meta:{title:"403",locale:"menu.exception.not-permission"}},{path:"/exception/404",name:"Exception404",component:()=>y(()=>import("./404-BF6vYG99.js"),__vite__mapDeps([57,2,1])),meta:{title:"404",locale:"menu.exception.not-find"}},{path:"/exception/500",name:"Exception500",component:()=>y(()=>import("./500-3ZsQY5rx.js"),__vite__mapDeps([58,2,1])),meta:{title:"500",locale:"menu.exception.server-error"}}]},{path:"/result",redirect:"/result/success",name:"Result",meta:{title:"结果页",icon:"CheckCircleOutlined",locale:"menu.result"},component:Q.RouteView,children:[{path:"/result/success",name:"ResultSuccess",component:()=>y(()=>import("./success-Bk0XrlRj.js"),__vite__mapDeps([92,9,2,1])),meta:{title:"成功页",locale:"menu.result.success"}},{path:"/result/fail",name:"ResultFail",component:()=>y(()=>import("./fail-DJTKNFSM.js"),__vite__mapDeps([91,1,2])),meta:{title:"失败页",locale:"menu.result.fail"}}]},{path:"/list",redirect:"/list/card-list",name:"List",meta:{title:"列表页",icon:"TableOutlined",locale:"menu.list"},component:Q.RouteView,children:[{path:"/list/card-list",name:"CardList",component:()=>y(()=>import("./card-list-DxdnVGe9.js"),__vite__mapDeps([69,19,8,2,1,70])),meta:{title:"卡片列表",locale:"menu.list.card-list"}},{path:"/list/table-list",name:"ConsultTable",component:()=>y(()=>import("./table-list-BNdXiXZh.js"),__vite__mapDeps([80,19,8,2,1])),meta:{title:"查询表格",locale:"menu.list.consult-table"}},{path:"/list/crud-table",name:"CrudTable",component:()=>y(()=>import("./crud-table-ykWPyRjs.js"),__vite__mapDeps([71,19,8,2,1,72])),meta:{title:"增删改查表格",locale:"menu.list.crud-table"}},{path:"/list/basic-list",name:"BasicList",component:()=>y(()=>import("./basic-list-BAtMnshM.js"),__vite__mapDeps([67,19,8,2,1,68])),meta:{title:"标准列表",locale:"menu.list.basic-list"}},{path:"/list/search-list",name:"SearchList",component:()=>y(()=>import("./index-B1GlpGYB.js"),__vite__mapDeps([77,19,8,2,1,78])),meta:{title:"搜索列表",locale:"menu.list.search-list"},redirect:"/list/search-list/articles",children:[{path:"/list/search-list/articles",name:"SearchListArticles",component:()=>y(()=>import("./articles-Bba17joW.js"),__vite__mapDeps([76,1,2,74,75])),meta:{title:"搜索列表(文章)",locale:"menu.list.search-list.articles"}},{path:"/list/search-list/projects",name:"SearchListProjects",component:()=>y(()=>import("./projects-SGpPzyB3.js"),__vite__mapDeps([79,74,1,2,75])),meta:{title:"搜索列表(项目)",locale:"menu.list.search-list.projects"}},{path:"/list/search-list/applications",name:"SearchListApplications",component:()=>y(()=>import("./applications-CX4Ej76O.js"),__vite__mapDeps([73,74,1,2,75])),meta:{title:"搜索列表(应用)",locale:"menu.list.search-list.applications"}}]}]},{path:"/account",redirect:"/account/center",name:"Account",meta:{title:"个人页",icon:"UserOutlined",locale:"menu.account"},component:Q.RouteView,children:[{path:"/account/center",name:"AccountCenter",component:()=>y(()=>import("./center-CXB0VWrh.js"),__vite__mapDeps([25,2,12,1,26])),meta:{title:"个人主页",locale:"menu.account.center"}},{path:"/account/settings",name:"AccountSettings",component:()=>y(()=>import("./settings-BDb3Pw3I.js"),__vite__mapDeps([27,1,2,28])),meta:{title:"个人设置",locale:"menu.account.settings"}},{path:"/account/settings/:id",name:"AccountSettings1",component:()=>y(()=>import("./settings-BDb3Pw3I.js"),__vite__mapDeps([27,1,2,28])),meta:{title:"个人设置1",locale:"menu.account.settings",hideInMenu:!0,parentKeys:["/account/settings"]}}]}];function gi(){const e=Kr(),t=Jt(()=>e.roles);return{hasAccess:i=>{const a=e.roles;return qi(i).flat(1).some(u=>a==null?void 0:a.includes(u))},roles:t}}let Mc=1;const yi=()=>`Cache_Key_${Mc++}`;function Nc(e){const{title:t,locale:o}=e.meta||{};return t?o?B.global.t(o):t:""}function bi(e,t){var o,i,a,c,u,f,h,p,g,b,C;return{id:(o=e.meta)==null?void 0:o.id,parentId:(i=e.meta)==null?void 0:i.parentId,title:()=>Nc(e),icon:((a=e.meta)==null?void 0:a.icon)||"",path:t??e.path,hideInMenu:((c=e.meta)==null?void 0:c.hideInMenu)||!1,parentKeys:((u=e.meta)==null?void 0:u.parentKeys)||[],hideInBreadcrumb:((f=e.meta)==null?void 0:f.hideInBreadcrumb)||!1,hideChildrenInMenu:((h=e.meta)==null?void 0:h.hideChildrenInMenu)||!1,locale:(p=e.meta)==null?void 0:p.locale,keepAlive:((g=e.meta)==null?void 0:g.keepAlive)||!1,name:e.name,url:((b=e.meta)==null?void 0:b.url)||"",target:((C=e.meta)==null?void 0:C.target)||"_blank"}}function vi(e,t){const o=[];return e.forEach(i=>{var u;let a=i.path;!a.startsWith("/")&&!Po(a)&&(t?a=`${t.path}/${a}`:a=`/${a}`),i.name||(i.name=yi());const c=bi(i,a);c.children=[],i.children&&i.children.length&&(c.children=vi(i.children,c)),((u=c.children)==null?void 0:u.length)===0&&delete c.children,o.push(c)}),o}function jc(e){const t=new Map,o=new Map;for(const c of e){if(!c.id)continue;const u={path:c.path,name:c.name||yi(),component:Lc(c.component),redirect:c.redirect||void 0,meta:{title:c==null?void 0:c.title,icon:c==null?void 0:c.icon,keepAlive:c==null?void 0:c.keepAlive,id:c==null?void 0:c.id,parentId:c==null?void 0:c.parentId,affix:c==null?void 0:c.affix,parentKeys:c==null?void 0:c.parentKeys,url:c==null?void 0:c.url,hideInMenu:c==null?void 0:c.hideInMenu,hideChildrenInMenu:c==null?void 0:c.hideChildrenInMenu,hideInBreadcrumb:c==null?void 0:c.hideInBreadcrumb,target:c==null?void 0:c.target,locale:c==null?void 0:c.locale}},f=bi(u);t.set(c.id,u),o.set(c.id,f)}const i=[],a=[];for(const c of e){if(!c.id)continue;const u=t.get(c.id),f=o.get(c.id);if(!c.parentId)u&&f&&(i.push(u),a.push(f));else{const h=t.get(c.parentId),p=o.get(c.parentId);f&&u&&h&&p&&(h.children&&p.children?(h.children.push(u),p.children.push(f)):(p.children=[f],h.children=[u]))}}return{menuData:a,routeData:i}}async function Fc(){const{hasAccess:e}=gi();function t(a){return a.filter(c=>{var u,f;return!((u=c.meta)!=null&&u.access)||e((f=c.meta)==null?void 0:f.access)}).map(c=>{var u;return(u=c.children)!=null&&u.length&&(c.children=t(c.children)),c})}const o=t(vo);return{menuData:vi(o),routeData:vo}}function Uc(e){for(const t in Q)if(e===Q[t])return;return e}function Ei(e,t,o=[]){const i=[];for(const a of e){const c=[...o],u=Hi(a,["children"]);if(u.meta||(u.meta={}),t&&(u.meta.parentName=t),c.length>0&&(u.meta.parentComps=c),u.meta.originPath=u.path,i.push(u),a.children&&a.children.length){const f=Uc(a.component);f&&c.push(f),i.push(...Ei(a.children,a.name,[...c]))}}return i}function Bc(e){const t=Ei(e);return[{path:"/",redirect:_i,name:"ROOT_EMPTY_PATH",children:t}]}const Kr=Ur("user",()=>{const e=vr(),t=vr([]),o=vr(),i=mr(),a=Jt(()=>{var b;return(b=o.value)==null?void 0:b.avatar}),c=Jt(()=>{var b,C,A;return((b=o.value)==null?void 0:b.nickname)!==""?(C=o.value)==null?void 0:C.nickname:(A=o.value)==null?void 0:A.username}),u=Jt(()=>{var b;return(b=o.value)==null?void 0:b.roles}),f=async()=>{const{data:b}=await Rc();return jc(b.list??[])};return{userInfo:o,roles:u,getUserInfo:async()=>{const{data:b}=await Sc();o.value=b},logout:async()=>{i.value=null,o.value=void 0,e.value=void 0,t.value=[],window.location.href="/login"},routerData:e,menuData:t,generateDynamicRoutes:async()=>{const b=Ic===xc.BACKEND?f:Fc,{menuData:C,routeData:A}=await b();return t.value=C,e.value={...Cc,children:Bc(A)},e.value},avatar:a,nickname:c}});function Ai(e,t,o=[]){e.forEach(i=>{t.set(i.path,{...i,matched:o}),i.children&&i.children.length&&Ai(i.children,t,[...o,i])})}const Vc=Ur("layout-menu",()=>{const e=Kr(),t=ur(),{layoutSetting:o}=er(t),i=Qn(new Map),a=$n([]),c=$n([]),u=()=>{var w;const A=Ge.currentRoute.value,E=((w=A.meta)==null?void 0:w.originPath)??A.path;if(i.has(E)){const m=i.get(E);if(a.value=[],m&&(m.parentKeys&&m.parentKeys.length?a.value=m.parentKeys:a.value=[m.path]),m!=null&&m.matched){const T=m.matched.map(D=>D.path);o.value.accordionMode?c.value=T:c.value=[...new Set([...c.value,...T])]}}};kn(()=>e.menuData,A=>{Ai(A,i),u()},{immediate:!0,flush:"post"});const{menuData:f}=er(e),h=A=>E=>Cr(w=>w.path===A)(E),p=A=>{var m;const E=(m=f.value)==null?void 0:m.map(T=>T.path),w=A.find(T=>!c.value.includes(T));if(w)if(E.includes(w))c.value=[w];else{const T=A[A.length-2],D=h(T)(f.value),N=h(w)(f.value);D&&N&&D.parentId===N.parentId&&A.splice(A.indexOf(T),1),c.value=A}else c.value=A},g=A=>{const E=A[0];Po(E)||(a.value=A)},b=A=>{o.value.accordionMode?p(A):c.value=A};return kn(Ge.currentRoute,A=>{A.path!==a.value[0]&&u()}),{selectedKeys:a,openKeys:c,menuDataMap:i,handleSelectedKeys:g,handleOpenKeys:b,changeMenu:u,handleAccordionMode:p,clear:()=>{c.value=[],a.value=[]}}}),$c={__name:"App",setup(e){const t=ur(),{theme:o}=er(t),{antd:i}=Fo(),a=Vc();return cs(a,t),(c,u)=>{const f=Ui("RouterView"),h=as,p=Ro,g=ki;return ft(),Bi(g,{theme:Hn(o),locale:Hn(i)},{default:Er(()=>[Xt(p,{class:"h-full font-chinese antialiased"},{default:Er(()=>[Xt(h,null,{default:Er(()=>[Xt(f)]),_:1})]),_:1})]),_:1},8,["theme","locale"])}}},Hc={mounted(e,t){const{props:o}=ui,i=e.getAttribute("loading-full"),a=e.getAttribute("loading-text")||o.text.default,c=e.getAttribute("loading-text-color")||o.textColor.default,u=e.getAttribute("loading-background")||o.background.default,f=e.getAttribute("loading-spin")||o.spin.default,h=li({text:a,textColor:c,background:u,spin:f});e.instance=h,t.value&&h.open(i?document.body:e)},updated(e,t){const o=e.instance;o&&(t.value?o.open(e.getAttribute("loading-full")==="true"?document.body:e):o.close())},unmounted(e){var t;(t=e==null?void 0:e.instance)==null||t.close()}};function kc(e){e.directive("loading",Hc)}function zc(e,t){var i;const{hasAccess:o}=gi();o(t.value)||(i=e.parentNode)==null||i.removeChild(e)}function qc(e){e.directive("access",zc)}function Kc(e){return{all:e=e||new Map,on:function(t,o){var i=e.get(t);i?i.push(o):e.set(t,[o])},off:function(t,o){var i=e.get(t);i&&(o?i.splice(i.indexOf(o)>>>0,1):e.set(t,[]))},emit:function(t,o){var i=e.get(t);i&&i.slice().map(function(a){a(o)}),(i=e.get("*"))&&i.slice().map(function(a){a(t,o)})}}}const Gr=Kc(),Wr=Symbol("ROUTE_CHANGE");let Fr;function Gc(e){Gr.emit(Wr,e),Fr=e}function Nu(e,t=!0){Gr.on(Wr,e),t&&Fr&&e(Fr)}function ju(){Gr.off(Wr)}function Wc(){const e=document.querySelector("body > #loading-app");if(e){const t=document.querySelector("body");setTimeout(()=>{t==null||t.removeChild(e)},100)}}function Yc(){const e=document.getElementById("app");e&&setTimeout(()=>{e.scrollTo({top:0})},300)}const Eo=["/login","/error","/401","/404","/403"],Ao="/login";Ge.beforeEach(async(e,t,o)=>{var c;Gc(e);const i=Kr();if(mr().value){if(!i.userInfo&&!Eo.includes(e.path)&&!e.path.startsWith("/redirect"))try{await i.getUserInfo();const u=await i.generateDynamicRoutes();Ge.addRoute(u),o({...e,replace:!0});return}catch(u){u instanceof Ya&&((c=u==null?void 0:u.response)==null?void 0:c.status)===401&&o({path:"/401"})}else if(e.path===Ao){o({path:"/"});return}}else if(!Eo.includes(e.path)&&!e.path.startsWith("/redirect")){o({path:Ao,query:{redirect:encodeURIComponent(e.fullPath)}});return}o()});Ge.afterEach(e=>{jo(e),Wc(),Yc()});const Jc=Vi();async function Xc(){const e=Oo($c);e.use(Jc),await ps(e),Zc(e),e.use(Ge),e.mount("#app"),e.config.performance=!0}function Zc(e){kc(e),qc(e)}Xc();export{Ya as A,Pu as B,Lu as C,yr as D,hi as E,mi as F,li as G,iu as H,he as I,cu as J,dt as _,Kr as a,Vc as b,Po as c,os as d,su as e,ur as f,Fo as g,uu as h,nu as i,pi as j,Ge as k,Nu as l,ss as m,mr as n,ou as o,ru as p,Du as q,ju as r,Mu as s,Iu as t,au as u,xu as v,gi as w,Dc as x,Su as y,Cu as z}; diff --git a/web/dist/assets/index-C6_zVqWY.css b/web/dist/assets/index-C6_zVqWY.css new file mode 100644 index 0000000..ef29467 --- /dev/null +++ b/web/dist/assets/index-C6_zVqWY.css @@ -0,0 +1 @@ +.pulse-item[data-v-e67bdcfb]{position:relative;display:inline-block;width:20px;height:20px;background-color:var(--6b8aaad6);border-radius:50%;animation:pulse-loader-e67bdcfb .4s ease 0s infinite alternate}.two[data-v-e67bdcfb]{margin:0 15px;animation:pulse-loader-e67bdcfb .4s ease .2s infinite alternate}.three[data-v-e67bdcfb]{animation:pulse-loader-e67bdcfb .4s ease .4s infinite alternate}@keyframes pulse-loader-e67bdcfb{0%{opacity:1;transform:scale(1)}to{opacity:.5;transform:scale(.75)}}.rect-item[data-v-b4a6ec85]{display:inline-block;width:6px;height:60px;margin:0 4px;background-color:var(--70c0376a);animation:rect-loader-b4a6ec85 1.2s infinite ease-in-out}.rect2[data-v-b4a6ec85]{animation-delay:-1.1s}.rect3[data-v-b4a6ec85]{animation-delay:-1s}.rect4[data-v-b4a6ec85]{animation-delay:-.9s}.rect5[data-v-b4a6ec85]{animation-delay:-.8s}@keyframes rect-loader-b4a6ec85{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}.plane-wrapper[data-v-639d15d4]{display:inline-block;width:60px;height:60px;background-color:var(--9f3f7f1e);animation:plane-loader-639d15d4 1.2s infinite ease-in-out}@keyframes plane-loader-639d15d4{0%{transform:perspective(120px)}50%{transform:perspective(120px) rotateY(180deg)}to{transform:perspective(120px) rotateY(180deg) rotateX(180deg)}}.cube-wrapper[data-v-89618f0a]{display:inline-block;width:60px;height:60px}.cube[data-v-89618f0a]{float:left;width:33%;height:33%;background-color:var(--5f81929c);animation:cube-loader-89618f0a 1.3s infinite ease-in-out;animation-delay:.2s}.cube1[data-v-89618f0a]{animation-delay:.2s}.cube2[data-v-89618f0a]{animation-delay:.3s}.cube3[data-v-89618f0a]{animation-delay:.4s}.cube4[data-v-89618f0a]{animation-delay:.1s}.cube5[data-v-89618f0a]{animation-delay:.2s}.cube6[data-v-89618f0a]{animation-delay:.3s}.cube7[data-v-89618f0a]{animation-delay:0s}.cube8[data-v-89618f0a]{animation-delay:.1s}@keyframes cube-loader-89618f0a{0%,70%,to{transform:scaleZ(1)}35%{transform:scale3d(0,0,1)}}.preloader-wrapper[data-v-e47fb799]{position:relative;display:inline-block;width:20px;height:20px}.preloader-wrapper[data-v-e47fb799]:before{position:absolute;width:20px;height:20px;content:"";background:#00f;background:#9b59b6;border-radius:20px;animation:preloader-before-e47fb799 2s infinite ease-in-out}.preloader-wrapper[data-v-e47fb799]:after{position:absolute;left:22px;width:20px;height:20px;content:"";background:#00f;background:#2ecc71;border-radius:20px;animation:preloader-after-e47fb799 1.5s infinite ease-in-out}@keyframes preloader-before-e47fb799{0%{transform:translate(0) rotate(0)}50%{background:#2ecc71;border-radius:0;transform:translate(50px) scale(1.2) rotate(260deg)}to{transform:translate(0) rotate(0)}}@keyframes preloader-after-e47fb799{0%{transform:translate(0)}50%{background:#9b59b6;border-radius:0;transform:translate(-50px) scale(1.2) rotate(-260deg)}to{transform:translate(0)}}.chase-wrapper[data-v-37d76f4c]{display:inline-block;width:60px;height:60px;animation:chase-loader-37d76f4c 2.5s infinite linear both}.chase-item[data-v-37d76f4c]{position:absolute;top:0;left:0;width:100%;height:100%;animation:chase-dot-37d76f4c 2s infinite ease-in-out both}.chase-item[data-v-37d76f4c]:before{display:block;width:25%;height:25%;content:"";background-color:var(--41975117);border-radius:100%;animation:chase-dot-before-37d76f4c 2s infinite ease-in-out both}.chase-item[data-v-37d76f4c]:nth-child(1),.chase-item[data-v-37d76f4c]:nth-child(1):before{animation-delay:-1.1s}.chase-item[data-v-37d76f4c]:nth-child(2),.chase-item[data-v-37d76f4c]:nth-child(2):before{animation-delay:-1s}.chase-item[data-v-37d76f4c]:nth-child(3),.chase-item[data-v-37d76f4c]:nth-child(3):before{animation-delay:-.9s}.chase-item[data-v-37d76f4c]:nth-child(4),.chase-item[data-v-37d76f4c]:nth-child(4):before{animation-delay:-.8s}.chase-item[data-v-37d76f4c]:nth-child(5),.chase-item[data-v-37d76f4c]:nth-child(5):before{animation-delay:-.7s}.chase-item[data-v-37d76f4c]:nth-child(6),.chase-item[data-v-37d76f4c]:nth-child(6):before{animation-delay:-.6s}@keyframes chase-loader-37d76f4c{to{transform:rotate(1turn)}}@keyframes chase-dot-37d76f4c{80%,to{transform:rotate(360deg)}}@keyframes chase-dot-before-37d76f4c{50%{transform:scale(.4)}to,0%{transform:scale(1)}}.dots-loader[data-v-661a5291]:not(:required){position:relative;display:inline-block;width:7px;height:7px;margin-bottom:30px;overflow:hidden;text-indent:-9999px;background:transparent;border-radius:100%;box-shadow:#f86 -14px -14px 0 7px,#fc6 14px -14px 0 7px,#6d7 14px 14px 0 7px,#4ae -14px 14px 0 7px;transform-origin:50% 50%;animation:dots-loader-661a5291 5s infinite ease-in-out}@keyframes dots-loader-661a5291{0%{box-shadow:#f86 -14px -14px 0 7px,#fc6 14px -14px 0 7px,#6d7 14px 14px 0 7px,#4ae -14px 14px 0 7px}8.33%{box-shadow:#f86 14px -14px 0 7px,#fc6 14px -14px 0 7px,#6d7 14px 14px 0 7px,#4ae -14px 14px 0 7px}16.67%{box-shadow:#f86 14px 14px 0 7px,#fc6 14px 14px 0 7px,#6d7 14px 14px 0 7px,#4ae -14px 14px 0 7px}25%{box-shadow:#f86 -14px 14px 0 7px,#fc6 -14px 14px 0 7px,#6d7 -14px 14px 0 7px,#4ae -14px 14px 0 7px}33.33%{box-shadow:#f86 -14px -14px 0 7px,#fc6 -14px 14px 0 7px,#6d7 -14px -14px 0 7px,#4ae -14px -14px 0 7px}41.67%{box-shadow:#f86 14px -14px 0 7px,#fc6 -14px 14px 0 7px,#6d7 -14px -14px 0 7px,#4ae 14px -14px 0 7px}50%{box-shadow:#f86 14px 14px 0 7px,#fc6 -14px 14px 0 7px,#6d7 -14px -14px 0 7px,#4ae 14px -14px 0 7px}58.33%{box-shadow:#f86 -14px 14px 0 7px,#fc6 -14px 14px 0 7px,#6d7 -14px -14px 0 7px,#4ae 14px -14px 0 7px}66.67%{box-shadow:#f86 -14px -14px 0 7px,#fc6 -14px -14px 0 7px,#6d7 -14px -14px 0 7px,#4ae 14px -14px 0 7px}75%{box-shadow:#f86 14px -14px 0 7px,#fc6 14px -14px 0 7px,#6d7 14px -14px 0 7px,#4ae 14px -14px 0 7px}83.33%{box-shadow:#f86 14px 14px 0 7px,#fc6 14px -14px 0 7px,#6d7 14px 14px 0 7px,#4ae 14px 14px 0 7px}91.67%{box-shadow:#f86 -14px 14px 0 7px,#fc6 14px -14px 0 7px,#6d7 14px 14px 0 7px,#4ae -14px 14px 0 7px}to{box-shadow:#f86 -14px -14px 0 7px,#fc6 14px -14px 0 7px,#6d7 14px 14px 0 7px,#4ae -14px 14px 0 7px}}.loading-container[data-v-7de91895]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:9999}.loading-container.is-fullscreen[data-v-7de91895]{position:fixed}.loading-container .loading-wrapper[data-v-7de91895]{position:absolute;top:50%;width:100%;margin-top:-21px;text-align:center}.loading-container .loading-wrapper .text[data-v-7de91895]{width:100%;margin:8px 0}.loading-container .loading-wrapper .loading-icon[data-v-7de91895]{animation:rotating-7de91895 1.5s linear infinite}@keyframes rotating-7de91895{0%{transform:rotate(0)}to{transform:rotate(1turn)}}html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}.slide-fadein-up-enter-active,.slide-fadein-up-leave-active{transition:opacity .3s,transform .4s}.slide-fadein-up-enter-from{transform:translateY(20px);opacity:0}.slide-fadein-up-leave-to{transform:translateY(-20px);opacity:0}.slide-fadein-right-enter-active,.slide-fadein-right-leave-active{transition:opacity .3s,transform .3s,-webkit-transform .3s}.slide-fadein-right-enter-from{transform:translate(-20px);opacity:0}.slide-fadein-right-leave-to{transform:translate(20px);opacity:0}.zoom-fadein-enter-active,.zoom-fadein-leave-active{transition:transform .3s,opacity .3s ease-in-out}.zoom-fadein-enter-from{transform:scale(.99);opacity:0}.zoom-fadein-leave-to{transform:scale(1.01);opacity:0}.fadein-enter-active,.fadein-leave-active{transition:opacity .3s ease-in-out!important}.fadein-enter-from,.fadein-leave-to{opacity:0!important}html{--text-color: rgba(0,0,0,.85);--text-color-1: rgba(0,0,0,.45);--text-color-2: rgba(0,0,0,.2);--bg-color: #fff;--hover-color:rgba(0,0,0,.025);--bg-color-container: #f0f2f5;--c-shadow: 2px 0 8px 0 rgba(29,35,41,.05)}html.dark{--text-color: rgba(229, 224, 216, .85);--text-color-1: rgba(229, 224, 216, .45);--text-color-2: rgba(229, 224, 216, .45);--bg-color: rgb(36, 37, 37);--hover-color:rgb(42, 44, 55);--bg-color-container: rgb(42, 44, 44);--c-shadow: rgba(13, 13, 13, .65) 0 2px 8px 0}body{color:var(--text-color);background-color:var(--bg-color);text-rendering:optimizeLegibility;overflow:hidden}#app,body,html{height:100%}#app{overflow-x:hidden}*,:after,:before{box-sizing:border-box}*,: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: }@font-face{font-family:Punctuation Chinese;src:local("Punctuation Chinese"),local("-apple-system"),local("BlinkMacSystemFont"),local("PingFang SC"),local("Hiragino Sans GB"),local("Heiti SC"),local("Microsoft YaHei"),local("system-ui"),local("Ubuntu"),local("Droid Sans"),local("Source Han Sans SC"),local("Source Han Sans CN"),local("Source Han Sans"),local("sans-serif");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation Hei;src:local("Punctuation Hei"),local("PingFang SC"),local("Heiti SC"),local("Microsoft YaHei"),local("Source Han Sans SC"),local("Source Han Sans CN"),local("Noto Sans SC"),local("Noto Sans CJK SC"),local("WenQuanYi Micro Hei"),local("WenQuanYi Zen Hei"),local("SimHei"),local("WenQuanYi Zen Hei Sharp"),local("sans-serif");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation Kai;src:local("Punctuation Kai"),local("Kaiti SC"),local("STKaiti"),local("AR PL UKai CN"),local("AR PL UKai HK"),local("AR PL UKai TW"),local("AR PL UKai TW MBE"),local("AR PL KaitiM GB"),local("KaiTi"),local("KaiTi_GB2312"),local("DFKai-SB"),local("-apple-system"),local("BlinkMacSystemFont"),local("PingFang SC"),local("Hiragino Sans GB"),local("Heiti SC"),local("Microsoft YaHei"),local("system-ui"),local("Ubuntu"),local("Droid Sans"),local("Source Han Sans SC"),local("Source Han Sans CN"),local("Source Han Sans"),local("sans-serif");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation Song;src:local("Punctuation Song"),local("Songti SC"),local("Noto Serif SC"),local("Noto Serif CJK SC"),local("Source Han Serif SC"),local("Source Han Serif CN"),local("STSong"),local("AR PL New Sung"),local("AR PL SungtiL GB"),local("NSimSun"),local("SimSun"),local("WenQuanYi Bitmap Song"),local("AR PL UMing CN"),local("PMingLiU"),local("MingLiU"),local("-apple-system"),local("BlinkMacSystemFont"),local("PingFang SC"),local("Hiragino Sans GB"),local("Heiti SC"),local("Microsoft YaHei"),local("system-ui"),local("Ubuntu"),local("Droid Sans"),local("Source Han Sans SC"),local("Source Han Sans CN"),local("Source Han Sans"),local("sans-serif");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation Imitation-song;src:local("Punctuation Imitation-song"),local("STFangsong"),local("FangSong"),local("FangSong_GB2312"),local("-apple-system"),local("BlinkMacSystemFont"),local("PingFang SC"),local("Hiragino Sans GB"),local("Heiti SC"),local("Microsoft YaHei"),local("system-ui"),local("Ubuntu"),local("Droid Sans"),local("Source Han Sans SC"),local("Source Han Sans CN"),local("Source Han Sans"),local("sans-serif");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation New-song;src:local("Punctuation New-song"),local("SimSun-ExtB"),local("NSimSun"),local("Songti SC"),local("Noto Serif SC"),local("Noto Serif CJK SC"),local("Source Han Serif SC"),local("Source Han Serif CN"),local("STSong"),local("AR PL New Sung"),local("AR PL SungtiL GB"),local("NSimSun"),local("SimSun"),local("WenQuanYi Bitmap Song"),local("AR PL UMing CN"),local("PMingLiU"),local("MingLiU"),local("-apple-system"),local("BlinkMacSystemFont"),local("PingFang SC"),local("Hiragino Sans GB"),local("Heiti SC"),local("Microsoft YaHei"),local("system-ui"),local("Ubuntu"),local("Droid Sans"),local("Source Han Sans SC"),local("Source Han Sans CN"),local("Source Han Sans"),local("sans-serif");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation Li;src:local("Punctuation Li"),local("STLiti"),local("LiSu"),local("Hiragino Mincho ProN W6"),local("Hiragino Mincho ProN W3"),local("-apple-system"),local("BlinkMacSystemFont"),local("PingFang SC"),local("Hiragino Sans GB"),local("Heiti SC"),local("Microsoft YaHei"),local("system-ui"),local("Ubuntu"),local("Droid Sans"),local("Source Han Sans SC"),local("Source Han Sans CN"),local("Source Han Sans"),local("sans-serif");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}.container{width:100%}.flex-between{display:flex;align-items:center;justify-content:space-between}.flex-center{display:flex;align-items:center;justify-content:center}.flex-end{display:flex;align-items:flex-end;justify-content:space-between}@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,[absolute=""]{position:absolute}.fixed,[fixed=""]{position:fixed}.relative{position:relative}.bottom-0,[bottom-0=""]{bottom:0}.left-42px{left:42px}.z-11,[z-11=""]{z-index:11}[z-10=""]{z-index:10}.grid{display:grid}.m-0,[m-0=""]{margin:0}.m-1{margin:.25rem}.m-4{margin:1rem}.mx--24px,[mx--24px=""]{margin-left:-24px;margin-right:-24px}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4px,[my-4px=""]{margin-top:4px;margin-bottom:4px}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.mb--16px{margin-bottom:-16px}.mb--4px{margin-bottom:-4px}.mb--7{margin-bottom:-1.75rem}.mb-\[2px\]{margin-bottom:2px}.mb-0,[mb-0=""]{margin-bottom:0}.mb-12px,[mb-12px=""]{margin-bottom:12px}.mb-24px,[mb-24px=""]{margin-bottom:24px}.mb-4,[mb-4=""]{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.ml,.ml-4{margin-left:1rem}.ml-0{margin-left:0}.ml-2,[ml-2=""]{margin-left:.5rem}.ml-20{margin-left:5rem}.ml-5{margin-left:1.25rem}.mr-12px,[mr-12px=""]{margin-right:12px}.mr-2{margin-right:.5rem}.mr-5{margin-right:1.25rem}.mr-8px,[mr-8px=""]{margin-right:8px}.mt-10{margin-top:2.5rem}.mt-16px{margin-top:16px}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8px,[mt-8px=""]{margin-top:8px}[mt--24px=""]{margin-top:-24px}[mt-3=""]{margin-top:.75rem}.box-border{box-sizing:border-box}.inline{display:inline}.block,[block=""]{display:block}.inline-block{display:inline-block}.hidden{display:none}.h-\[150px\]{height:150px}.h-10{height:2.5rem}.h-15{height:3.75rem}.h-17{height:4.25rem}.h-204px{height:204px}.h-20px{height:20px}.h-27{height:6.75rem}.h-44px{height:44px}.h-48px,[h-48px=""]{height:48px}.h-5\/6{height:83.3333333333%}.h-56px{height:56px}.h-full,[h-full=""]{height:100%}.h-screen,[h-screen=""]{height:100vh}.h3{height:.75rem}.h4{height:1rem}.max-w-1200px{max-width:1200px}.min-h-\[520px\]{min-height:520px}.w-\[335px\]{width:335px}.w-1\/1,.w-100\%,.w-full,[w-full=""]{width:100%}.w-10{width:2.5rem}.w-1200px{width:1200px}.w-120px{width:120px}.w-24px{width:24px}.w-45{width:11.25rem}.w-48px{width:48px}.w-5\/6{width:83.3333333333%}.w-50\%{width:50%}.w-screen,[w-screen=""]{width:100vw}.flex,[flex=""]{display:flex}.flex-1,[flex-1=""]{flex:1 1 0%}[flex-auto=""]{flex:1 1 auto}.flex-shrink-0,[flex-shrink-0=""]{flex-shrink:0}.flex-shrink-0\>{flex-shrink:1}.flex-col,[flex-col=""]{flex-direction:column}.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}.items-end{align-items:flex-end}.items-center,[items-center=""]{align-items:center}.justify-end,[justify-end=""]{justify-content:flex-end}.justify-center{justify-content:center}.justify-between,[justify-between=""]{justify-content:space-between}.gap-2,[gap-2=""],[gap~="2"]{gap:.5rem}.gap-4{gap:1rem}[gap~="8"]{gap:2rem}.of-hidden,.overflow-hidden,[of-hidden=""]{overflow:hidden}.of-x-hidden{overflow-x:hidden}.of-y-auto{overflow-y:auto}.overflow-x-auto{overflow-x:auto}.truncate,[truncate=""]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.break-all{word-break:break-all}.b,.border{border-width:1px}.b-rd-8px,[b-rd-8px=""]{border-radius:8px}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.bg-\[var\(--bg-color-container\)\]{background-color:var(--bg-color-container)}.bg-\[var\(--bg-color\)\]{background-color:var(--bg-color)}.bg-\[var\(--hover-color\)\]{background-color:var(--hover-color)}.bg-gray-300{--un-bg-opacity:1;background-color:rgb(209 213 219 / var(--un-bg-opacity))}.bg-white{background-color:var(--pro-ant-color-white)}.dark .dark\:bg-\#242525{--un-bg-opacity:1;background-color:rgb(36 37 37 / var(--un-bg-opacity))}[hover~="bg-[var(--hover-color)]"]:hover{background-color:var(--hover-color)}.object-cover,[object-cover=""]{object-fit:cover}.p-8{padding:2rem}.px,.px-4{padding-left:1rem;padding-right:1rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-12px,[px-12px=""]{padding-left:12px;padding-right:12px}.px-24px,[px-24px=""]{padding-left:24px;padding-right:24px}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-50px,[px-50px=""]{padding-left:50px;padding-right:50px}.py-16px{padding-top:16px;padding-bottom:16px}.py-24px,[py-24px=""]{padding-top:24px;padding-bottom:24px}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pb-16px{padding-bottom:16px}.pl-45{padding-left:11.25rem}.pt-10px,[pt-10px=""]{padding-top:10px}[pt-12px=""]{padding-top:12px}.pie{padding-inline-end:1rem}.text-center{text-align:center}.text-12px{font-size:12px}.text-14px,[text-14px=""]{font-size:14px}.text-16px,[text-16px=""]{font-size:16px}.text-18px{font-size:18px}.text-20px,[text-20px=""]{font-size:20px}.text-24px{font-size:24px}.text-28px{font-size:28px}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3{font-size:.75rem}.text-4{font-size:1rem}.font-500,.font-medium,[font-500=""]{font-weight:500}.font-bold{font-weight:700}[font-600=""]{font-weight:600}.line-height-20px{line-height:20px}.line-height-32px,[line-height-32px=""]{line-height:32px}[line-height-22px=""]{line-height:22px}.font-chinese{font-family:Punctuation Chinese,Arial,-apple-system,BlinkMacSystemFont,PingFang SC,Hiragino Sans GB,Heiti SC,Microsoft YaHei,system-ui,Ubuntu,Droid Sans,Source Han Sans SC,Source Han Sans CN,Source Han Sans,sans-serif}.c-error,[c-error=""],[color~=error]{color:var(--pro-ant-color-error)}.c-primary,[c-primary=""],[color-primary~="layoutSetting.colorPrimary"]{color:var(--pro-ant-color-primary)}.c-primary-hover{color:var(--pro-ant-color-primary-hover)}.c-text,.c-text-tertiary\>,.c-text-tertiary\>19{color:var(--pro-ant-color-text)}[c-text-tertiary=""]{color:var(--pro-ant-color-text-tertiary)}[color~="#108ee9"]{--un-text-opacity:1;color:rgb(16 142 233 / var(--un-text-opacity))}[color~=pink]{--un-text-opacity:1;color:rgb(244 114 182 / var(--un-text-opacity))}[color~=success]{color:var(--pro-ant-color-success)}[color~=warning]{color:var(--pro-ant-color-warning)}[hover~=c-primary-hover]:hover{color:var(--pro-ant-color-primary-hover)}.text-black{--un-text-opacity:1;color:rgb(0 0 0 / var(--un-text-opacity))}.text-gray-400{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity))}.text-red-6{--un-text-opacity:1;color:rgb(220 38 38 / var(--un-text-opacity))}.text-slate-500{--un-text-opacity:1;color:rgb(100 116 139 / var(--un-text-opacity))}.text-zinc-400{--un-text-opacity:1;color:rgb(161 161 170 / var(--un-text-opacity))}.decoration-none,[decoration-none=""]{text-decoration:none}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[tab=""]{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.hover\:shadow-\[0_4px_20px_-5px_rgba\(0\,0\,0\,0\.35\)\]:hover{--un-shadow:0 4px 20px -5px var(--un-shadow-color, rgba(0, 0, 0, .35));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}.transition-all-300{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.duration-300{transition-duration:.3s}.ease,.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (min-width: 640px){[grid~="sm:"]{display:grid}}@media (min-width: 768px){[grid~="md:"]{display:grid}}@media (min-width: 1024px){[grid~="lg:"]{display:grid}}@media (min-width: 1280px){[grid~="xl:"]{display:grid}} diff --git a/web/dist/assets/index-CCZn2xOr.js b/web/dist/assets/index-CCZn2xOr.js new file mode 100644 index 0000000..bf14a10 --- /dev/null +++ b/web/dist/assets/index-CCZn2xOr.js @@ -0,0 +1 @@ +import{_ as h}from"./index-1DQ9lz7_.js";import{G as b,R as r,W as w,c as k}from"./index-sUMRYBhU.js";import F from"./active-chart-D-Rbify1.js";import B from"./custom-map-D96Na9xO.js";import{_ as S}from"./index-C-JhWVfG.js";import{aD as D,a9 as E,aE as R,aa as N,ab as q}from"./antd-vtmm7CAy.js";import{f as u,o as z,a2 as A,a9 as L,aa as a,k as e,a4 as n}from"./vue-Dl1fzmsf.js";import"./context-Dawj80bg.js";import"./vec2-4Cx-bOHg.js";const M={class:"mapChart"},W=Object.assign({name:"Monitor"},{__name:"index",setup(G){function v(m){return m.toLocaleString()}const f=Date.now()+1e3*60*60*24*2+1e3*30,g=[{name:"三亚市",value:69,type:1},{name:"白山市",value:70,type:2},{name:"石嘴山市",value:96,type:1},{name:"红河哈尼族彝族自治州",value:36,type:1},{name:"香港岛",value:53,type:1},{name:"三亚市",value:90,type:0},{name:"楚雄彝族自治州",value:6,type:1},{name:"长治市",value:59,type:2},{name:"三沙市",value:16,type:2},{name:"泉州市",value:87,type:1},{name:"安顺市",value:55,type:2},{name:"清远市",value:98,type:1},{name:"亳州市",value:2,type:1},{name:"重庆市",value:47,type:0},{name:"来宾市",value:61,type:0},{name:"嘉义县",value:36,type:1},{name:"宝鸡市",value:44,type:1},{name:"宜昌市",value:95,type:1},{name:"沧州市",value:63,type:0},{name:"海南藏族自治州",value:89,type:1},{name:"雅安市",value:17,type:0},{name:"白银市",value:44,type:2},{name:"临汾市",value:21,type:1},{name:"苏州市",value:65,type:1},{name:"新界",value:84,type:2},{name:"榆林市",value:80,type:1},{name:"三沙市",value:24,type:1},{name:"威海市",value:24,type:1},{name:"泰州市",value:82,type:1},{name:"克拉玛依市",value:30,type:1},{name:"邯郸市",value:72,type:1},{name:"亳州市",value:57,type:1},{name:"荆门市",value:82,type:2},{name:"宜昌市",value:98,type:1},{name:"伊犁哈萨克自治州",value:90,type:1},{name:"柳州市",value:26,type:1},{name:"日照市",value:10,type:0},{name:"石嘴山市",value:9,type:2},{name:"铁岭市",value:60,type:1},{name:"济南市",value:55,type:1},{name:"三沙市",value:80,type:0},{name:"临沂市",value:62,type:1},{name:"鸡西市",value:52,type:2},{name:"阿里地区",value:96,type:0},{name:"阿拉善盟",value:43,type:1},{name:"舟山市",value:85,type:1},{name:"澳门半岛",value:11,type:0},{name:"泰州市",value:48,type:0},{name:"杭州市",value:61,type:1},{name:"金门县",value:97,type:2},{name:"嘉兴市",value:67,type:1},{name:"潍坊市",value:35,type:0},{name:"北海市",value:46,type:1},{name:"本溪市",value:72,type:2},{name:"龙岩市",value:8,type:1},{name:"澳门半岛",value:53,type:1},{name:"黔西南布依族苗族自治州",value:89,type:0},{name:"无锡市",value:66,type:1},{name:"九龙",value:68,type:0},{name:"海东市",value:78,type:1},{name:"安阳市",value:16,type:1},{name:"黔南布依族苗族自治州",value:36,type:1},{name:"陇南市",value:42,type:1},{name:"香港岛",value:24,type:0},{name:"安阳市",value:11,type:0},{name:"离岛",value:24,type:1},{name:"海东市",value:94,type:0},{name:"汕头市",value:6,type:0},{name:"枣庄市",value:52,type:1},{name:"德州市",value:88,type:1},{name:"离岛",value:18,type:1},{name:"临汾市",value:91,type:0},{name:"牡丹江市",value:34,type:1},{name:"离岛",value:64,type:1},{name:"丽水市",value:33,type:1},{name:"聊城市",value:48,type:1},{name:"钦州市",value:13,type:1},{name:"嘉兴市",value:74,type:2},{name:"莆田市",value:67,type:1},{name:"萍乡市",value:39,type:1},{name:"北京市",value:25,type:1},{name:"九龙",value:39,type:1},{name:"临沧市",value:65,type:1},{name:"桂林市",value:1,type:0},{name:"黑河市",value:72,type:1},{name:"宿州市",value:15,type:1},{name:"呼和浩特市",value:41,type:2},{name:"岳阳市",value:72,type:0},{name:"安顺市",value:13,type:2},{name:"营口市",value:33,type:2},{name:"山南地区",value:11,type:2},{name:"南投县",value:5,type:2},{name:"乌海市",value:56,type:2},{name:"丹东市",value:100,type:2},{name:"中卫市",value:76,type:0},{name:"庆阳市",value:23,type:1},{name:"遵义市",value:56,type:0},{name:"晋中市",value:6,type:0},{name:"河源市",value:34,type:0},{name:"烟台市",value:95,type:0}],i=u(),y=u(),s=u(),d=u(),c=u(),_=u();return z(()=>{new b(i.value,{height:180,percent:.87,range:{ticks:[0,1/4,1/2,3/4,1],color:["#6395fa","#62daab","#657798","#f7c122"]},axis:{label:{formatter(m){return Number(m)*100}},subTickLine:{count:3}},statistic:{content:{content:"优",style:{color:"#30bf78"}}}}).render(),new r(y.value,{height:128,autoFit:!0,percent:.28,innerRadius:.8,color:["#fab120","#E8EDF3"]}).render(),new r(s.value,{height:128,autoFit:!0,percent:.22,innerRadius:.8,color:["#5DDECF","#E8EDF3"]}).render(),new r(d.value,{height:128,autoFit:!0,percent:.32,innerRadius:.8,color:["#2FC25B","#E8EDF3"]}).render(),new w(c.value,{data:g,height:162,wordField:"name",weightField:"value",colorField:"name",wordStyle:{fontSize:[10,20]},interactions:[{type:"element-active"}],state:{active:{style:{lineWidth:3}}}}).render(),new k(_.value,{height:161,percent:.35,outline:{border:2,distance:3},statistic:{content:{style:{fontSize:"17px"}}},wave:{length:128}}).render()}),(m,H)=>{const p=D,t=E,x=R,o=N,l=q,C=h;return A(),L(C,null,{default:a(()=>[e(o,{gutter:24},{default:a(()=>[e(t,{xl:18,lg:24,md:24,sm:24,xs:24,style:{marginBottom:"24px"}},{default:a(()=>[e(l,{title:"活动实时交易情况",bordered:!1},{default:a(()=>[e(o,null,{default:a(()=>[e(t,{md:6,sm:12,xs:24},{default:a(()=>[e(p,{title:"今日交易总额",suffix:"元",value:v(124543233)},null,8,["value"])]),_:1}),e(t,{md:6,sm:12,xs:24},{default:a(()=>[e(p,{title:"销售目标完成率",value:"92%"})]),_:1}),e(t,{md:6,sm:12,xs:24},{default:a(()=>[e(x,{title:"活动剩余时间",value:f,format:"HH:mm:ss:SSS"})]),_:1}),e(t,{md:6,sm:12,xs:24},{default:a(()=>[e(p,{title:"每秒交易总额",suffix:"元",value:v(234)},null,8,["value"])]),_:1})]),_:1}),n("div",M,[e(B)])]),_:1})]),_:1}),e(t,{xl:6,lg:24,md:24,sm:24,xs:24},{default:a(()=>[e(l,{title:"活动情况预测",style:{marginBottom:"24px"},bordered:!1},{default:a(()=>[e(F)]),_:1}),e(l,{title:"券核效率",style:{marginBottom:24},"body-style":{textAlign:"center"},bordered:!1},{default:a(()=>[n("div",{ref_key:"gaugeContainer",ref:i},null,512)]),_:1})]),_:1})]),_:1}),e(o,{gutter:24},{default:a(()=>[e(t,{xl:12,lg:24,sm:24,xs:24,style:{marginBottom:"24px"}},{default:a(()=>[e(l,{title:"各品类占比",bordered:!1,class:"pieCard"},{default:a(()=>[e(o,{style:{padding:"16px 0"}},{default:a(()=>[e(t,{span:8},{default:a(()=>[n("div",{ref_key:"ringContainer1",ref:y},null,512)]),_:1}),e(t,{span:8},{default:a(()=>[n("div",{ref_key:"ringContainer2",ref:s},null,512)]),_:1}),e(t,{span:8},{default:a(()=>[n("div",{ref_key:"ringContainer3",ref:d},null,512)]),_:1})]),_:1})]),_:1})]),_:1}),e(t,{xl:6,lg:12,sm:24,xs:24,style:{marginBottom:24}},{default:a(()=>[e(l,{title:"热门搜索",bordered:!1,"body-style":{overflow:"hidden"}},{default:a(()=>[n("div",{ref_key:"wordCloudContainer",ref:c},null,512)]),_:1})]),_:1}),e(t,{xl:6,lg:12,sm:24,xs:24,style:{marginBottom:24}},{default:a(()=>[e(l,{title:"资源剩余","body-style":{textAlign:"center",fontSize:0},bordered:!1},{default:a(()=>[n("div",{ref_key:"liquidContainer",ref:_},null,512)]),_:1})]),_:1})]),_:1})]),_:1})}}}),Q=S(W,[["__scopeId","data-v-9ca3d409"]]);export{Q as default}; diff --git a/web/dist/assets/index-CHMKzSQl.css b/web/dist/assets/index-CHMKzSQl.css new file mode 100644 index 0000000..b12899c --- /dev/null +++ b/web/dist/assets/index-CHMKzSQl.css @@ -0,0 +1 @@ +[data-v-e716833b] .ant-btn{border-radius:0!important}[data-v-e716833b] .ant-card-body{padding:0} diff --git a/web/dist/assets/index-CNQHvuR7.js b/web/dist/assets/index-CNQHvuR7.js new file mode 100644 index 0000000..0ac5c41 --- /dev/null +++ b/web/dist/assets/index-CNQHvuR7.js @@ -0,0 +1 @@ +import{_ as Ue,a as Fe,b as Pe}from"./index-O-XgQvxy.js";import{u as Oe,a as ge,b as be,i as ve,c as he,o as He,d as xe,e as Ke,f as $e,l as We,r as ze,g as De,h as Ne,p as Ie}from"./index-C-JhWVfG.js";import{u as Ce,_ as Ee}from"./route-view-CJGX2V7g.js";import{f as je,u as e,ac as Ge,V as X,a8 as ie,a2 as o,a9 as h,aa as l,k as i,G as B,a4 as w,ad as S,c as L,a3 as b,ae as x,af as R,s as J,F as T,S as K,ag as U,ah as V,ai as Ve,aj as Y,H as Je,m as Se,A as we,ak as Qe,b as Xe,B as ye,w as Ye,al as pe}from"./vue-Dl1fzmsf.js";import{U as Ze,b as et,L as tt,c as at,e as te,f as nt,M as Z,D as _e,g as qe,h as se,S as lt,i as ot,I as it,j as st,m as dt,n as Me,p as rt,q as ct,r as ut,s as Re,t as ae,u as mt,v as Be,w as re,x as ce,y as ue,z as de,B as ke,N as ft,E as ht,F as yt,G as pt,H as kt,J as gt,R as bt,K as vt,T as xt,O as $t}from"./antd-vtmm7CAy.js";import{u as N,s as E,n as ne,a as le,b as H,e as ee,c as Ct}from"./context-Dawj80bg.js";import{u as St}from"./query-breakpoints-DXFMnBNk.js";function me(){return new DOMException("The request is not allowed","NotAllowedError")}async function wt(t){if(!navigator.clipboard)throw me();return navigator.clipboard.writeText(t)}async function _t(t){const n=document.createElement("span");n.textContent=t,n.style.whiteSpace="pre",n.style.webkitUserSelect="auto",n.style.userSelect="all",document.body.appendChild(n);const a=window.getSelection(),u=window.document.createRange();a.removeAllRanges(),u.selectNode(n),a.addRange(u);let f=!1;try{f=window.document.execCommand("copy")}finally{a.removeAllRanges(),window.document.body.removeChild(n)}if(!f)throw me()}async function qt(t){try{await wt(t)}catch(n){try{await _t(t)}catch(a){throw a||n||me()}}}var Mt=(t=3e3)=>{const n=je(!1);return{copied:n,copy:u=>{const f=e(u);qt(f).then(()=>{n.value=!0;const r=setTimeout(()=>{n.value=!1,clearTimeout(r)},t)})}}};const Rt={hover:"bg-[var(--hover-color)]",flex:"","items-center":"","h-48px":"","px-12px":"","cursor-pointer":"",class:"transition-all-300"},Bt={class:"anticon"},Tt={__name:"index",setup(t){const n=Oe(),a=ge(),u=Ce(),f=be(),r=Ge(),{avatar:y,nickname:m,userInfo:d}=X(a);async function C({key:$}){if($==="logout"){const g=n.loading("退出登录...",0);try{await a.logout()}finally{g(),n.success("退出登录成功",3),r.push({path:"/login"}).then(()=>{u.clear(),f.clear()})}}}return($,g)=>{const v=at,p=ie("RouterLink"),s=te,c=nt,M=Z,W=_e;return o(),h(W,null,{overlay:l(()=>[i(M,{onClick:C},{default:l(()=>[i(s,{key:"0"},{icon:l(()=>[i(e(Ze))]),default:l(()=>[i(p,{to:"/account/center"},{default:l(()=>g[0]||(g[0]=[B(" 个人中心 ")])),_:1})]),_:1}),i(s,{key:"1"},{icon:l(()=>[i(e(et))]),default:l(()=>[i(p,{to:"/account/settings"},{default:l(()=>g[1]||(g[1]=[B(" 个人设置 ")])),_:1})]),_:1}),i(c),i(s,{key:"logout"},{icon:l(()=>[i(e(tt))]),default:l(()=>[g[2]||(g[2]=B(" 退出登录 "))]),_:1})]),_:1})]),default:l(()=>[w("span",Rt,[i(v,{src:e(y)??"/logo.svg","mr-8px":"",size:"small"},null,8,["src"]),w("span",Bt,S(e(m)),1)])]),_:1})}}},Lt={"c-primary":""},At=["src"],Ut={key:0},Ft={__name:"global-header-logo",setup(t){const{logo:n,title:a,layout:u,isMobile:f}=N(),r=L(()=>({"ant-pro-global-header-logo":u.value==="mix"||f.value,"ant-pro-top-nav-header-logo":u.value==="top"&&!f.value}));return(y,m)=>(o(),b("div",{class:R(e(r))},[w("a",Lt,[w("img",{src:e(n)},null,8,At),e(f)?x("",!0):(o(),b("h1",Ut,S(e(a)),1))])],2))}},Pt={__name:"index",setup(t){const{layout:n,isMobile:a,handleMobileCollapsed:u,theme:f,menuHeader:r,collapsed:y,handleCollapsed:m,leftCollapsed:d}=N(),C=J("ant-pro-global-header"),$=L(()=>({[C.value]:!0,[`${C.value}-layout-${n.value}`]:!!n.value,[`${C.value}-inverted`]:f.value==="inverted"&&n.value==="top"}));return(g,v)=>{const p=lt;return o(),b("div",{class:R([e($)])},[e(n)==="side"&&!e(a)&&!e(d)?(o(),b("span",{key:0,class:"ml-0 text-18px",onClick:v[0]||(v[0]=s=>{var c;return(c=e(m))==null?void 0:c(!e(y))})},[e(y)?(o(),h(e(qe),{key:0})):(o(),h(e(se),{key:1}))])):x("",!0),e(r)?(o(),b(T,{key:1},[e(n)!=="side"||e(a)?(o(),h(Ft,{key:0})):x("",!0)],64)):x("",!0),e(a)?(o(),b("span",{key:2,class:"ant-pro-global-header-collapsed-button",onClick:v[1]||(v[1]=(...s)=>e(u)&&e(u)(...s))},[i(e(se))])):x("",!0),w("div",{class:R(["flex-1",e(n)==="top"?`${e(C)}-top`:"overflow-x-auto"])},[K(g.$slots,"headerContent")],2),i(p,{align:"center","flex-shrink-0":""},{default:l(()=>[K(g.$slots,"headerActions")]),_:3})],2)}}},Ot={__name:"index",setup(t){const{headerHeight:n,fixedHeader:a,layout:u,isMobile:f,collapsed:r,collapsedWidth:y,siderWidth:m,menu:d,splitMenus:C,selectedMenus:$}=N(),g=L(()=>{const s={height:`${n.value}px`,lineHeight:`${n.value}px`,paddingInline:0};if((a.value||u.value==="mix")&&(s.zIndex=100,s.width="100%",s.right=0),u.value==="side"&&d.value){if(!f.value&&a.value){const c=r.value?y.value:m.value;s.width=`calc(100% - ${c}px)`}s.zIndex=19}return s}),v=L(()=>{const s=[];return(a.value||u.value==="mix")&&s.push("ant-pro-fixed-header"),u.value&&s.push("ant-pro-fixed-header-action"),u.value==="mix"&&s.push("ant-pro-fixed-header-inverted"),s}),p=L(()=>a.value||u.value==="mix"&&(C.value?($.value??[]).length>0:!0));return(s,c)=>{const M=ot;return o(),b(T,null,[e(p)?(o(),h(M,{key:0,style:U({height:`${e(n)}px`,lineHeight:`${e(n)}px`,background:"transparent"})},null,8,["style"])):x("",!0),i(M,{style:U(e(g)),class:R(e(v))},{default:l(()=>[i(Pt,null,V({_:2},[s.$slots.headerActions?{name:"headerActions",fn:l(()=>[K(s.$slots,"headerActions")]),key:"0"}:void 0,s.$slots.headerContent?{name:"headerContent",fn:l(()=>[K(s.$slots,"headerContent")]),key:"1"}:void 0]),1024)]),_:3},8,["style","class"])],64)}}},oe={__name:"async-icon",props:{icon:{type:[String,Function],required:!0}},setup(t){const n=t,a=L(()=>{if(ve(n.icon)){const u=n.icon();if(u)return u}else return it[n.icon]});return(u,f)=>t.icon?(o(),h(Ve(e(a)),{key:0})):x("",!0)}},Ht=["href","target"],Kt=["href","target"],Te={__name:"sub-menu",props:{item:{type:Object,required:!0},link:{type:Boolean,required:!1,default:!0}},setup(t){function n(a){return ve(a)?a():a}return(a,u)=>{const f=ie("sub-menu",!0),r=ie("RouterLink"),y=te,m=st;return t.item.children&&!t.item.hideChildrenInMenu?(o(),h(m,{key:t.item.path},V({title:l(()=>[B(S(n(t.item.title)),1)]),default:l(()=>[(o(!0),b(T,null,Y(t.item.children,d=>(o(),b(T,null,[d.hideInMenu?x("",!0):(o(),b(T,{key:0},[d.children?(o(),h(f,{key:d.path,item:d},null,8,["item"])):(o(),h(y,{key:d.path},V({default:l(()=>[e(he)(d.path)?(o(),b("a",{key:1,href:d.path,target:d.target??"_blank"},S(n(d.title)),9,Ht)):(o(),b(T,{key:0},[t.link?(o(),h(r,{key:0,to:d.path},{default:l(()=>[B(S(n(d.title)),1)]),_:2},1032,["to"])):(o(),b(T,{key:1},[B(S(n(d.title)),1)],64))],64))]),_:2},[d.icon?{name:"icon",fn:l(()=>[i(oe,{icon:d.icon},null,8,["icon"])]),key:"0"}:void 0]),1024))],64))],64))),256))]),_:2},[t.item.icon?{name:"icon",fn:l(()=>[i(oe,{icon:t.item.icon},null,8,["icon"])]),key:"0"}:void 0]),1024)):(o(),h(y,{key:t.item.path},V({default:l(()=>[e(he)(t.item.path)?(o(),b("a",{key:1,href:t.item.path,target:t.item.target??"_blank"},S(n(t.item.title)),9,Kt)):(o(),b(T,{key:0},[t.link?(o(),h(r,{key:0,to:t.item.path},{default:l(()=>[B(S(n(t.item.title)),1)]),_:1},8,["to"])):(o(),b(T,{key:1},[B(S(n(t.item.title)),1)],64))],64))]),_:2},[t.item.icon?{name:"icon",fn:l(()=>[i(oe,{icon:t.item.icon},null,8,["icon"])]),key:"0"}:void 0]),1024))}}},Le={__name:"index",setup(t){const{theme:n,collapsed:a,layout:u,isMobile:f,selectedMenus:r,selectedKeys:y,openKeys:m,handleOpenKeys:d,handleSelectedKeys:C,handleMenuSelect:$}=N(),g=L(()=>n.value==="inverted"?"dark":n.value);return(v,p)=>{const s=Z;return o(),h(s,{"selected-keys":e(y),"open-keys":e(a)?[]:e(m),mode:e(u)==="top"&&!e(f)?"horizontal":"inline",theme:e(g),collapsed:e(a),class:"ant-pro-sider-menu","onUpdate:openKeys":e(d),"onUpdate:selectedKeys":e(C),onSelect:e($)},{default:l(()=>[(o(!0),b(T,null,Y(e(r),c=>(o(),b(T,null,[c.hideInMenu?x("",!0):(o(),h(Te,{key:c.path,item:c},null,8,["item"]))],64))),256))]),_:1},8,["selected-keys","open-keys","mode","theme","collapsed","onUpdate:openKeys","onUpdate:selectedKeys","onSelect"])}}},Wt=["src"],zt={class:"flex-1 of-x-hidden of-y-auto scrollbar"},Ae={__name:"index",setup(t){const{collapsed:n,leftCollapsed:a,handleCollapsed:u,selectedMenus:f,splitMenus:r,layout:y,logo:m,theme:d,title:C,collapsedWidth:$,siderWidth:g,headerHeight:v,fixedSider:p,isMobile:s,header:c}=N(),M=J("ant-pro-sider"),W=L(()=>{const k={paddingTop:`${y.value!=="side"&&!s.value?v.value:0}px`,transition:"background-color 0.3s ease 0s, min-width 0.3s ease 0s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s",overflow:"hidden"};return y.value==="mix"&&c.value===!1&&(k.paddingTop="0px"),k}),Q=L(()=>({[M.value]:!0,[`${M.value}-fixed`]:p.value,[`${M.value}-layout-${y.value}`]:!!y.value})),I=L(()=>(y.value==="side"||s.value)&&y.value!=="mix");return(k,q)=>{const _=te,P=Z,O=dt;return o(),b(T,null,[e(p)?(o(),b("div",{key:0,style:U({width:e(n)?`${e($)}px`:`${e(g)}px`,maxWidth:e(n)?`${e($)}px`:`${e(g)}px`,minWidth:e(n)?`${e($)}px`:`${e(g)}px`,...e(W)})},null,4)):x("",!0),!e(r)||(e(f)??[]).length>0?(o(),h(O,{key:1,theme:e(d)==="inverted"?"dark":"light",collapsed:e(n)&&!e(s),trigger:null,"collapsed-width":e($),width:e(g),collapsible:"",class:R(e(Q)),style:U(e(W))},{default:l(()=>[e(I)?(o(),b("div",{key:0,class:R(["ant-pro-sider-logo",e(n)&&!e(s)?"ant-pro-sider-collapsed":""])},[w("a",null,[w("img",{src:e(m),alt:"logo"},null,8,Wt),!e(n)||e(s)?(o(),b("h1",{key:0,style:U({color:e(d)==="inverted"||e(d)==="dark"?"#fff":"#000"})},S(e(C)),5)):x("",!0)])],2)):x("",!0),w("div",zt,[i(Le)]),!e(s)&&e(a)?(o(),b("div",{key:1,class:R(["w-100% flex-shrink-0 ant-pro-sider-collapsed-button",e(d)==="inverted"?"ant-pro-sider-collapsed-button-inverted":""])},[i(P,{class:"ant-pro-sider-menu",mode:"inline",theme:e(d)==="inverted"?"dark":"light",selectable:!1,onClick:q[0]||(q[0]=z=>{var D;return(D=e(u))==null?void 0:D(!e(n))})},{default:l(()=>[i(_,null,{icon:l(()=>[e(n)?(o(),h(e(qe),{key:0})):(o(),h(e(se),{key:1}))]),_:1})]),_:1},8,["theme"])],2)):x("",!0)]),_:1},8,["theme","collapsed","collapsed-width","width","class","style"])):x("",!0)],64)}}},Dt={__name:"index",setup(t){const{mobileCollapsed:n,siderWidth:a}=N();return(u,f)=>{const r=Me;return o(),h(r,{open:e(n),"onUpdate:open":f[0]||(f[0]=y=>Je(n)?n.value=y:null),closable:!1,placement:"left",width:e(a)},{default:l(()=>[i(Ae)]),_:1},8,["open","width"])}}},Nt={__name:"split-menu",setup(t){const{splitState:n,menuData:a,handleSplitSelectedKeys:u}=N(),f=L(()=>{var r;return(r=a.value)==null?void 0:r.map(y=>({...He(y,["children"]),childrenCount:(y.children??[]).length}))});return(r,y)=>{const m=Z;return o(),h(m,{mode:"horizontal",theme:"dark",class:"ant-pro-sider-menu-header","selected-keys":e(n).selectedKeys,"onUpdate:selectedKeys":e(u)},{default:l(()=>[(o(!0),b(T,null,Y(e(f),d=>(o(),b(T,null,[d.hideInMenu?x("",!0):(o(),h(Te,{key:d.path,item:d,link:d.childrenCount<=0},null,8,["item","link"]))],64))),256))]),_:1},8,["selected-keys","onUpdate:selectedKeys"])}}},It={"onUpdate:openKeys":ee(),"onUpdate:selectedKeys":ee(),onMenuSelect:ee()},Et={layout:E("mix"),logo:E(),title:E(),collapsedWidth:ne(48),siderWidth:ne(234),headerHeight:ne(48),menuData:le(),fixedHeader:H(!1),fixedSider:H(!0),splitMenus:H(),collapsed:H(!1),leftCollapsed:H(!1),theme:E("light"),onCollapsed:ee(),isMobile:H(),contentWidth:E(),header:H(!0),footer:H(!0),menu:H(!0),menuHeader:H(!0),openKeys:le(),selectedKeys:le(),copyright:E(),...It},jt=["data-theme"],Gt=Object.assign({name:"BasicLayout"},{__name:"index",props:Et,emits:["update:collapsed"],setup(t,{emit:n}){const a=t,u=n;function f(d){var C;u("update:collapsed",d),(C=a==null?void 0:a.onCollapsed)==null||C.call(a,d)}const{layout:r,contentWidth:y}=Ct(a,{handleCollapsed:f}),m=L(()=>y.value==="Fixed"?"ant-pro-basicLayout-content-fixed":"");return(d,C)=>{const $=rt,g=Fe,v=ct,p=ut;return o(),b("div",{class:"ant-pro-basicLayout","data-theme":d.theme},[i(p,null,{default:l(()=>[d.menu?(o(),b(T,{key:0},[e(r)!=="top"&&!d.isMobile?(o(),h(Ae,{key:0})):x("",!0)],64)):x("",!0),i(p,null,{default:l(()=>[d.header?(o(),h(Ot,{key:0},V({_:2},[d.$slots.headerActions?{name:"headerActions",fn:l(()=>[K(d.$slots,"headerActions")]),key:"0"}:void 0,d.$slots.headerContent||e(r)==="top"||e(r)==="mix"?{name:"headerContent",fn:l(()=>[K(d.$slots,"headerContent",{},()=>[!d.isMobile&&e(r)==="top"?(o(),h(Le,{key:0})):x("",!0),!d.isMobile&&e(r)==="mix"&&a.splitMenus?(o(),h(Nt,{key:1})):x("",!0)])]),key:"1"}:void 0]),1024)):x("",!0),K(d.$slots,"contentPrefix"),i($,{class:"ant-pro-basicLayout-content",flex:"","flex-col":""},{default:l(()=>[w("div",{"h-full":"",flex:"","flex-col":"","flex-1":"",class:R(e(m))},[K(d.$slots,"default")],2)]),_:3}),d.footer?(o(),h(v,{key:1,style:{"background-color":"transparent"}},{default:l(()=>[K(d.$slots,"footerRender",{},()=>[i(Ue,{copyright:d.copyright},V({_:2},[d.$slots.renderFooterLinks?{name:"renderFooterLinks",fn:l(()=>[i(g)]),key:"0"}:void 0]),1032,["copyright"])])]),_:3})):x("",!0)]),_:3})]),_:3}),d.menu?(o(),h(Dt,{key:0})):x("",!0)],8,jt)}}}),Vt={"mb-24px":""},Jt={"font-500":"","mb-12px":"","text-14px":"","line-height-22px":""},j={__name:"body",props:{title:{type:String,required:!1}},setup(t){return(n,a)=>(o(),b("div",Vt,[w("h3",Jt,S(t.title),1),K(n.$slots,"default")]))}},G={__name:"block-checkbox",props:{theme:{type:String,required:!1},isDark:{type:Boolean,required:!1},checked:{type:Boolean,required:!1},t:{type:Function,required:!1}},setup(t){const n=t,a=J("ant-pro-drawer-setting-block-checkbox"),u=L(()=>({[`${a.value}-item`]:!0,[`${a.value}-theme-item`]:n.isDark,[`${a.value}-item-${n.theme}`]:!!n.theme,[`${a.value}-theme-item-${n.theme}`]:n.isDark})),{token:f}=xe();return(r,y)=>{const m=ae;return o(),h(m,null,{title:l(()=>{var d;return[B(S((d=t.t)==null?void 0:d.call(t,`app.setting.pagestyle.${t.theme}`??"")),1)]}),default:l(()=>{var d;return[w("div",{class:R(e(u))},[Se(i(e(Re),{style:U({color:(d=e(f))==null?void 0:d.colorPrimary}),class:R(`${e(a)}-selectIcon`)},null,8,["style","class"]),[[we,t.checked]])],2)]}),_:1})}}},Qt=["onClick"],Xt={__name:"theme-color",props:{colorList:{type:Array,required:!0},color:{type:String,required:!1},onChange:{type:Function,required:!1},t:{type:Function,required:!1}},setup(t){const n=J("ant-pro-drawer-setting-theme-color");return(a,u)=>{const f=ae;return o(),b("div",{class:R(`${e(n)}`)},[w("div",{class:R(`${e(n)}-content`)},[(o(!0),b(T,null,Y(t.colorList,r=>(o(),h(f,{key:r.color},{title:l(()=>{var y;return[B(S((y=t.t)==null?void 0:y.call(t,`app.setting.themecolor.${r.key}`)),1)]}),default:l(()=>[w("div",{class:R(`${e(n)}-block`),style:U({backgroundColor:r.color}),onClick:y=>{var m;return(m=t.onChange)==null?void 0:m.call(t,r.color)}},[Se(i(e(Re),null,null,512),[[we,t.color===r.color]])],14,Qt)]),_:2},1024))),128))],2)],2)}}},Yt={__name:"layout-setting",props:{contentWidth:{type:String,required:!1},layout:{type:String,required:!1},fixedHeader:{type:Boolean,required:!1},fixedSider:{type:Boolean,required:!1},splitMenus:{type:Boolean,required:!1},keepAlive:{type:Boolean,required:!1},accordionMode:{type:Boolean,required:!1},leftCollapsed:{type:Boolean,required:!1},compactAlgorithm:{type:Boolean,required:!1},t:{type:Function,required:!1}},emits:["changeSetting"],setup(t,{emit:n}){const a=t,u=n,f=L(()=>[{title:"内容区域宽度",key:"contentWidth",disabled:!1,disabledReason:""},{title:"固定 Header",key:"fixedHeader",disabled:a.layout==="mix",disabledReason:""},{title:"固定侧边菜单",key:"fixSiderbar",disabled:!1,disabledReason:""},{title:"自动分割菜单",key:"splitMenus",disabled:a.layout!=="mix",disabledReason:""},{title:"缓存功能",key:"keepAlive",disabled:!1,disabledReason:""},{title:"菜单手风琴模式",key:"accordionMode",disabled:!1,disabledReason:""},{title:"侧边菜单折叠 左侧",key:"leftCollapsed",disabled:a.layout!=="side",disabledReason:""},{title:"紧凑模式",key:"compactAlgorithm",disabled:!1,disabledReason:""}]);function r(y,m){u("changeSetting",y,m)}return(y,m)=>{const d=mt,C=Be,$=re,g=ce,v=ae,p=ue;return o(),h(p,{"data-source":e(f),split:!1},{renderItem:l(({item:s})=>[i(v,{title:s.disabled?s.disabledReason:"",placement:"left"},{default:l(()=>[i(g,null,{actions:l(()=>[s.key==="contentWidth"?(o(),h(C,{key:0,size:"small",disabled:s.disabled,value:t.contentWidth||"Fluid","onUpdate:value":m[0]||(m[0]=c=>r("contentWidth",c))},{default:l(()=>[t.layout==="top"?(o(),h(d,{key:0,value:"Fixed"},{default:l(()=>{var c;return[B(S(((c=t.t)==null?void 0:c.call(t,"app.setting.content-width.fixed"))??"Fixed"),1)]}),_:1})):x("",!0),i(d,{value:"Fluid"},{default:l(()=>{var c;return[B(S(((c=t.t)==null?void 0:c.call(t,"app.setting.content-width.fluid"))??"Fluid"),1)]}),_:1})]),_:2},1032,["disabled","value"])):x("",!0),s.key==="fixedHeader"?(o(),h($,{key:1,size:"small",checked:t.fixedHeader,disabled:s.disabled,"onUpdate:checked":m[1]||(m[1]=c=>r("fixedHeader",c))},null,8,["checked","disabled"])):x("",!0),s.key==="fixSiderbar"?(o(),h($,{key:2,size:"small",checked:t.fixedSider,disabled:s.disabled,"onUpdate:checked":m[2]||(m[2]=c=>r("fixedSider",c))},null,8,["checked","disabled"])):x("",!0),s.key==="splitMenus"?(o(),h($,{key:3,size:"small",checked:t.splitMenus,disabled:s.disabled,"onUpdate:checked":m[3]||(m[3]=c=>r("splitMenus",c))},null,8,["checked","disabled"])):x("",!0),s.key==="keepAlive"?(o(),h($,{key:4,size:"small",checked:t.keepAlive,disabled:s.disabled,"onUpdate:checked":m[4]||(m[4]=c=>r("keepAlive",c))},null,8,["checked","disabled"])):x("",!0),s.key==="accordionMode"?(o(),h($,{key:5,size:"small",checked:t.accordionMode,disabled:s.disabled,"onUpdate:checked":m[5]||(m[5]=c=>r("accordionMode",c))},null,8,["checked","disabled"])):x("",!0),s.key==="leftCollapsed"?(o(),h($,{key:6,size:"small",checked:t.leftCollapsed,disabled:s.disabled,"onUpdate:checked":m[6]||(m[6]=c=>r("leftCollapsed",c))},null,8,["checked","disabled"])):x("",!0),s.key==="compactAlgorithm"?(o(),h($,{key:7,size:"small",checked:t.compactAlgorithm,disabled:s.disabled,"onUpdate:checked":m[7]||(m[7]=c=>r("compactAlgorithm",c))},null,8,["checked","disabled"])):x("",!0)]),default:l(()=>{var c;return[w("span",{style:U({opacity:s.disabled?"0.5":"1"})},S(((c=t.t)==null?void 0:c.call(t,`app.setting.content-width.${s.key}`,s.title))??s.title),5)]}),_:2},1024)]),_:2},1032,["title"])]),_:1},8,["data-source"])}}},Zt={__name:"regional-setting",props:{layout:{type:String,required:!1},header:{type:Boolean,required:!1},footer:{type:Boolean,required:!1},menu:{type:Boolean,required:!1},watermark:{type:Boolean,required:!1},menuHeader:{type:Boolean,required:!1},multiTab:{type:Boolean,required:!1},multiTabFixed:{type:Boolean,required:!1},animationName:{type:String,required:!1},animationNameList:{type:Array,required:!1},t:{type:Function,required:!1}},emits:["changeSetting"],setup(t,{emit:n}){const a=t,u=n,f=L(()=>[{title:"动画",key:"animationName",disabled:!1,disabledReason:""},{title:"水印",key:"watermark",disabled:!1,disabledReason:""},{title:"顶栏",key:"header",disabled:!1,disabledReason:""},{title:"页脚",key:"footer",disabled:!1,disabledReason:""},{title:"菜单",key:"menu",disabled:a.layout==="top",disabledReason:""},{title:"菜单头",key:"menuHeader",disabled:!1,disabledReason:""},{title:"多页签",key:"multiTab",disabled:!1,disabledReason:""},{title:"固定多页签",key:"multiTabFixed",disabled:!1,disabledReason:"多页签开启后功能正常使用"}]);function r(y,m){u("changeSetting",y,m)}return(y,m)=>{const d=re,C=Be,$=ce,g=ae,v=ue;return o(),h(v,{"data-source":e(f),split:!1},{renderItem:l(({item:p})=>[i(g,{title:p.disabled?p.disabledReason:"",placement:"left"},{default:l(()=>[i($,null,{actions:l(()=>[p.key!=="animationName"?(o(),h(d,{key:0,size:"small",checked:a[p.key],disabled:p.disabled,"onUpdate:checked":s=>r(p.key,s)},null,8,["checked","disabled","onUpdate:checked"])):(o(),h(C,{key:1,style:{width:"120px"},value:t.animationName,options:t.animationNameList,size:"small","onUpdate:value":s=>r(p.key,s)},null,8,["value","options","onUpdate:value"]))]),default:l(()=>{var s;return[w("span",{style:U({opacity:p.disabled?"0.5":"1"})},S(((s=t.t)==null?void 0:s.call(t,`app.setting.content-area.${p.key}`,p.title))??p.title),5)]}),_:2},1024)]),_:2},1032,["title"])]),_:1},8,["data-source"])}}},ea={__name:"other-setting",props:{colorWeak:{type:Boolean,required:!1},colorGray:{type:Boolean,required:!1},t:{type:Function,required:!1}},emits:["changeSetting"],setup(t,{emit:n}){const a=t,u=n,f=L(()=>[{title:"weakmode",key:"colorWeak",disabled:!1,disabledReason:""},{title:"graymode",key:"colorGray",disabled:!1,disabledReason:""}]);function r(m,d){u("changeSetting",m,d)}function y(m){return Reflect.get(a,m)}return(m,d)=>{const C=re,$=ce,g=ue;return o(),h(g,{"data-source":e(f),split:!1},{renderItem:l(({item:v})=>[i($,null,{actions:l(()=>[i(C,{size:"small",checked:y(v.key),disabled:v.disabled,"onUpdate:checked":p=>r(v.key,p)},null,8,["checked","disabled","onUpdate:checked"])]),default:l(()=>{var p;return[w("span",{style:U({opacity:v.disabled?"0.5":"1"})},S(((p=t.t)==null?void 0:p.call(t,`app.setting.${v.title}`,v.title))??v.title),5)]}),_:2},1024)]),_:1},8,["data-source"])}}},ta={flex:"","gap-2":"","flex-col":""},aa=Object.assign({name:"SettingDrawer"},{__name:"index",props:{open:{type:Boolean,required:!1},theme:{type:String,required:!1,default:"light"},colorPrimary:{type:String,required:!1},colorList:{type:Array,required:!1,default:()=>[{key:"techBlue",color:"#1677FF"},{key:"daybreak",color:"#1890ff"},{key:"dust",color:"#F5222D"},{key:"volcano",color:"#FA541C"},{key:"sunset",color:"#FAAD14"},{key:"cyan",color:"#13C2C2"},{key:"green",color:"#52C41A"},{key:"geekblue",color:"#2F54EB"},{key:"purple",color:"#722ED1"}]},layout:{type:String,required:!1},contentWidth:{type:String,required:!1},fixedHeader:{type:Boolean,required:!1},fixedSider:{type:Boolean,required:!1},splitMenus:{type:Boolean,required:!1},keepAlive:{type:Boolean,required:!1},accordionMode:{type:Boolean,required:!1},leftCollapsed:{type:Boolean,required:!1},watermark:{type:Boolean,required:!1},header:{type:Boolean,required:!1},footer:{type:Boolean,required:!1},menu:{type:Boolean,required:!1},menuHeader:{type:Boolean,required:!1},colorWeak:{type:Boolean,required:!1},colorGray:{type:Boolean,required:!1},multiTab:{type:Boolean,required:!1},multiTabFixed:{type:Boolean,required:!1},compactAlgorithm:{type:Boolean,required:!1},animationName:{type:String,required:!1},animationNameList:{type:Array,required:!1},layoutSetting:{type:Object,required:!1},t:{type:Function,required:!1}},emits:["update:open","settingChange"],setup(t,{emit:n}){const a=t,u=n,{copy:f}=Mt(),r=J("ant-pro-drawer-setting"),{message:y}=Ke();function m(){var s;f(JSON.stringify(a.layoutSetting??{})),y==null||y.success((s=a==null?void 0:a.t)==null?void 0:s.call(a,"app.setting.copyinfo","拷贝成功,请到 config/default-settings.js 中替换默认配置"))}function d(s){u("update:open",s)}function C(s){u("settingChange","theme",s)}function $(s){u("settingChange","colorPrimary",s)}function g(s){u("settingChange","layout",s)}function v(s,c){u("settingChange",s,c)}const{token:p}=xe();return(s,c)=>{var k,q,_;const M=yt,W=pt,Q=kt,I=Me;return o(),b(T,null,[w("div",{class:R(`${e(r)}-handle`),style:U({backgroundColor:(k=e(p))==null?void 0:k.colorPrimary,borderEndStartRadius:`${(q=e(p))==null?void 0:q.borderRadius}px`,borderStartStartRadius:`${(_=e(p))==null?void 0:_.borderRadius}px`}),onClick:c[0]||(c[0]=P=>d(!t.open))},[t.open?(o(),h(e(de),{key:0,class:R(`${e(r)}-handle-icon${t.theme==="light"?"":"-dark"}`),style:{"font-size":"20px"}},null,8,["class"])):(o(),h(e(ke),{key:1,class:R(`${e(r)}-handle-icon${t.theme==="light"?"":"-dark"}`),style:{"font-size":"20px"}},null,8,["class"]))],6),i(I,{open:t.open,width:300,placement:"right",closable:!1,"onUpdate:open":d},{handle:l(()=>{var P,O,z;return[w("div",{class:R(`${e(r)}-handle`),style:U({position:"absolute",top:"240px",right:"300px",backgroundColor:(P=e(p))==null?void 0:P.colorPrimary,borderEndStartRadius:`${(O=e(p))==null?void 0:O.borderRadius}px`,borderStartStartRadius:`${(z=e(p))==null?void 0:z.borderRadius}px`}),onClick:c[1]||(c[1]=D=>d(!t.open))},[t.open?(o(),h(e(de),{key:0,class:R(`${e(r)}-handle-icon${a.theme==="light"?"":"-dark"}`),style:{"font-size":"20px"}},null,8,["class"])):(o(),h(e(ke),{key:1,class:R(`${e(r)}-handle-icon${a.theme==="light"?"":"-dark"}`),style:{"font-size":"20px"}},null,8,["class"]))],6)]}),default:l(()=>{var P,O,z,D,A;return[w("div",{class:R(`${e(r)}-content`)},[i(j,{title:((P=t.t)==null?void 0:P.call(t,"app.setting.pagestyle"))??"整体风格设计"},{default:l(()=>[w("div",{class:R(`${e(r)}-block-checkbox`)},[i(G,{t:t.t,checked:a.theme==="light",theme:"light","is-dark":a.theme==="dark",onClick:c[2]||(c[2]=F=>C("light"))},null,8,["t","checked","is-dark"]),t.layout!=="mix"?(o(),h(G,{key:0,t:t.t,checked:a.theme==="inverted",theme:"inverted","is-dark":a.theme==="dark",onClick:c[3]||(c[3]=F=>C("inverted"))},null,8,["t","checked","is-dark"])):x("",!0),i(G,{t:t.t,checked:a.theme==="dark",theme:"dark","is-dark":a.theme==="dark",onClick:c[4]||(c[4]=F=>C("dark"))},null,8,["t","checked","is-dark"])],2)]),_:1},8,["title"]),i(j,{title:((O=t.t)==null?void 0:O.call(t,"app.setting.themecolor"))??"主题色"},{default:l(()=>[i(Xt,{t:t.t,"color-list":t.colorList,color:t.colorPrimary,onChange:$},null,8,["t","color-list","color"])]),_:1},8,["title"]),i(M),i(j,{title:((z=t.t)==null?void 0:z.call(t,"app.setting.pagestyle.mode"))??"导航模式"},{default:l(()=>[w("div",{class:R(`${e(r)}-block-checkbox`)},[i(G,{t:t.t,theme:"side",checked:t.layout==="side","is-dark":a.theme==="dark",onClick:c[5]||(c[5]=F=>g("side"))},null,8,["t","checked","is-dark"]),i(G,{t:t.t,theme:"top",checked:t.layout==="top","is-dark":a.theme==="dark",onClick:c[6]||(c[6]=F=>g("top"))},null,8,["t","checked","is-dark"]),i(G,{t:t.t,theme:"mix",checked:t.layout==="mix","is-dark":a.theme==="dark",onClick:c[7]||(c[7]=F=>g("mix"))},null,8,["t","checked","is-dark"])],2)]),_:1},8,["title"]),i(Yt,{layout:t.layout,t:t.t,"content-width":t.contentWidth,"fixed-header":t.fixedHeader,"fixed-sider":t.fixedSider,"split-menus":t.splitMenus,"keep-alive":t.keepAlive,"accordion-mode":t.accordionMode,"left-collapsed":t.leftCollapsed,"compact-algorithm":t.compactAlgorithm,onChangeSetting:v},null,8,["layout","t","content-width","fixed-header","fixed-sider","split-menus","keep-alive","accordion-mode","left-collapsed","compact-algorithm"]),i(M),i(j,{title:((D=t.t)==null?void 0:D.call(t,"app.setting.content-area.title"))??"内容区域"},{default:l(()=>[i(Zt,{t:t.t,layout:t.layout,header:t.header,watermark:t.watermark,"menu-header":t.menuHeader,footer:t.footer,"animation-name":t.animationName,"animation-name-list":t.animationNameList,"multi-tab":t.multiTab,"multi-tab-fixed":t.multiTabFixed,menu:t.menu,onChangeSetting:v},null,8,["t","layout","header","watermark","menu-header","footer","animation-name","animation-name-list","multi-tab","multi-tab-fixed","menu"])]),_:1},8,["title"]),i(M),i(j,{title:((A=t.t)==null?void 0:A.call(t,"app.setting.othersettings"))??"其他设置"},{default:l(()=>[i(ea,{t:t.t,"color-weak":t.colorWeak,"color-gray":t.colorGray,onChangeSetting:v},null,8,["t","color-weak","color-gray"])]),_:1},8,["title"]),i(M),i(j,null,{default:l(()=>{var F;return[w("div",ta,[i(W,{type:"warning","show-icon":"",message:((F=t.t)==null?void 0:F.call(t,"app.setting.production.hint"))??"配置栏只在开发环境用于预览,生产环境不会展现,请拷贝后手动修改配置文件"},{icon:l(()=>[i(e(ft))]),_:1},8,["message"]),i(Q,{onClick:m},{default:l(()=>{var fe;return[i(e(ht)),B(" "+S((fe=t.t)==null?void 0:fe.call(t,"app.setting.copy","拷贝设置")),1)]}),_:1})])]}),_:1})],2)]}),_:1},8,["open"])],64)}}}),na=["onClick"],la=["onClick"],oa={class:"w-48px flex item-center justify-center"},ia={__name:"index",setup(t){const n=Ce(),{list:a,activeKey:u}=X(n),{layoutSetting:f}=X($e()),{layout:r,isMobile:y,collapsed:m,collapsedWidth:d,siderWidth:C,menu:$,selectedMenus:g}=N(),v=L(()=>{var q;const k={};if(f.value.multiTabFixed&&(k.position="fixed",k.top=`${f.value.headerHeight}px`,k.zIndex=199,k.right=0),(r.value==="side"||r.value==="mix")&&$.value&&!y.value&&f.value.multiTabFixed&&(q=g.value)!=null&&q.length){const _=m.value?d.value:C.value;k.width=`calc(100% - ${_}px)`}return f.value.header===!1&&(k.top="0px"),k}),p=J(),{height:s}=Qe(p);function c({key:k},q){k==="closeCurrent"?n.close(u.value):k==="closeLeft"?n.closeLeft(q):k==="closeRight"?n.closeRight(q):k==="closeOther"?n.closeOther(q):k==="refresh"&&n.refresh(u.value)}const M=L(()=>a.value.length===1||a.value.filter(k=>!k.affix).length<=1);function W(k){return a.value.findIndex(_=>_.fullPath===k)===0||a.value.filter(_=>!_.affix).length<=1}function Q(k){return a.value.findIndex(_=>_.fullPath===k)===a.value.length-1||a.value.filter(_=>!_.affix).length<=1}const I=L(()=>a.value.length===1||a.value.filter(k=>!k.affix).length<=1);return We(k=>{if(k.fullPath.startsWith("/redirect"))return;const q=a.value.find(_=>_.fullPath===k.fullPath);k.fullPath===u.value&&!(q!=null&&q.loading)||(u.value=k.fullPath,n.addItem(k))},!0),Xe(()=>{ze()}),(k,q)=>{const _=te,P=Z,O=_e,z=vt,D=xt;return o(),b(T,null,[e(f).multiTabFixed?(o(),b("div",{key:0,style:U({height:`${e(s)}px`})},null,4)):x("",!0),i(D,{ref_key:"tabsRef",ref:p,"active-key":e(u),style:U(e(v)),class:"bg-white dark:bg-#242525 w-100% pro-ant-multi-tab","pt-10px":"",type:"card",size:"small","tab-bar-gutter":5,"onUpdate:activeKey":e(n).switchTab},{leftExtra:l(()=>q[1]||(q[1]=[w("div",{class:"w-24px"},null,-1)])),rightExtra:l(()=>[w("div",oa,[i(O,{trigger:["hover"]},{overlay:l(()=>[i(P,{onClick:q[0]||(q[0]=A=>c(A,e(u)))},{default:l(()=>[i(_,{key:"closeOther",disabled:e(M)||e(I)},{default:l(()=>[B(S(k.$t("app.multiTab.closeOther")),1)]),_:1},8,["disabled"]),i(_,{key:"refresh"},{default:l(()=>[B(S(k.$t("app.multiTab.refresh")),1)]),_:1})]),_:1})]),default:l(()=>[i(e(gt),{class:"text-16px"})]),_:1})])]),default:l(()=>[(o(!0),b(T,null,Y(e(a),A=>(o(),h(z,{key:A.fullPath},{tab:l(()=>[i(O,{trigger:["contextmenu"]},{overlay:l(()=>[i(P,{onClick:F=>c(F,A.fullPath)},{default:l(()=>[i(_,{key:"closeCurrent",disabled:e(M)||e(u)!==A.fullPath},{default:l(()=>[B(S(k.$t("app.multiTab.closeCurrent")),1)]),_:2},1032,["disabled"]),i(_,{key:"closeLeft",disabled:e(M)||W(A.fullPath)},{default:l(()=>[B(S(k.$t("app.multiTab.closeLeft")),1)]),_:2},1032,["disabled"]),i(_,{key:"closeRight",disabled:e(M)||Q(A.fullPath)},{default:l(()=>[B(S(k.$t("app.multiTab.closeRight")),1)]),_:2},1032,["disabled"]),i(_,{key:"closeOther",disabled:e(M)||e(I)},{default:l(()=>[B(S(k.$t("app.multiTab.closeOther")),1)]),_:1},8,["disabled"]),i(_,{key:"refresh",disabled:!e(M)},{default:l(()=>[B(S(k.$t("app.multiTab.refresh")),1)]),_:1},8,["disabled"])]),_:2},1032,["onClick"])]),default:l(()=>[w("div",null,[B(S(A.locale?k.$t(A.locale):A.title)+" ",1),e(u)===A.fullPath?(o(),b("button",{key:0,class:"ant-tabs-tab-remove",style:{margin:"0"},onClick:ye(F=>e(n).refresh(A.fullPath),["stop"])},[i(e(bt),{spin:A.loading},null,8,["spin"])],8,na)):x("",!0),!A.affix&&e(a).length>1?(o(),b("button",{key:1,class:"ant-tabs-tab-remove",style:{margin:"0"},onClick:ye(F=>e(n).close(A.fullPath),["stop"])},[i(e(de))],8,la)):x("",!0)])]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["active-key","style","onUpdate:activeKey"])],64)}}},ha=Object.assign({name:"ProLayout"},{__name:"index",setup(t){const n=$e(),{layoutSetting:a}=X(n),u=ge(),f=be(),{t:r}=De(),{selectedKeys:y,openKeys:m}=X(f),{isMobile:d,isPad:C}=St();Ye(C,g=>{g?n.toggleCollapsed(!0):n.toggleCollapsed(!1)});const $=L(()=>Ie(n.layoutSetting,["fixedHeader","fixedSider","splitMenus","menuHeader","header","menu","layout","footer","contentWidth","compactAlgorithm"]));return(g,v)=>{const p=Tt,s=Pe,c=$t;return o(),b(T,null,[i(Gt,pe({collapsed:e(a).collapsed,theme:e(a).theme,"menu-data":e(u).menuData},e($),{"selected-keys":e(y),"open-keys":e(a).layout==="top"?[]:e(m),copyright:e(a).copyright,"is-mobile":e(d),logo:e(a).logo,title:e(a).title,"accordion-mode":e(a).accordionMode,"left-collapsed":e(a).leftCollapsed,"header-height":e(a).headerHeight,"onUpdate:openKeys":e(f).handleOpenKeys,"onUpdate:selectedKeys":e(f).handleSelectedKeys,"onUpdate:collapsed":e(n).toggleCollapsed}),{headerActions:l(()=>[i(p),i(s)]),contentPrefix:l(()=>[e(a).multiTab?(o(),h(ia,{key:0})):x("",!0)]),renderFooterLinks:l(()=>v[1]||(v[1]=[])),default:l(()=>[i(c,{"h-full":"",flex:"","flex-col":"","flex-1":"",content:e(a).watermark?e(a).title??"Antdv Pro":""},{default:l(()=>[i(Ee)]),_:1},8,["content"])]),_:1},16,["collapsed","theme","menu-data","selected-keys","open-keys","copyright","is-mobile","logo","title","accordion-mode","left-collapsed","header-height","onUpdate:openKeys","onUpdate:selectedKeys","onUpdate:collapsed"]),i(aa,pe({open:e(a).drawerVisible,"onUpdate:open":v[0]||(v[0]=M=>e(a).drawerVisible=M),t:e(r),theme:e(a).theme,"color-primary":e(a).colorPrimary,"color-weak":e(a).colorWeak,"color-gray":e(a).colorGray,"multi-tab":e(a).multiTab,"multi-tab-fixed":e(a).multiTabFixed,"animation-name-list":e(Ne),"animation-name":e(a).animationName,"keep-alive":e(a).keepAlive,"accordion-mode":e(a).accordionMode,"left-collapsed":e(a).leftCollapsed,watermark:e(a).watermark},e($),{"layout-setting":e(a),onSettingChange:e(n).changeSettingLayout}),null,16,["open","t","theme","color-primary","color-weak","color-gray","multi-tab","multi-tab-fixed","animation-name-list","animation-name","keep-alive","accordion-mode","left-collapsed","watermark","layout-setting","onSettingChange"])],64)}}});export{ha as default}; diff --git a/web/dist/assets/index-CtpGO9Wa.css b/web/dist/assets/index-CtpGO9Wa.css new file mode 100644 index 0000000..ac3e030 --- /dev/null +++ b/web/dist/assets/index-CtpGO9Wa.css @@ -0,0 +1 @@ +.search-list-container .ant-tabs-nav{margin-bottom:0}.search-list-container .ant-tabs-nav:before{border-bottom:none} diff --git a/web/dist/assets/index-DRX5jdLA.js b/web/dist/assets/index-DRX5jdLA.js new file mode 100644 index 0000000..0088916 --- /dev/null +++ b/web/dist/assets/index-DRX5jdLA.js @@ -0,0 +1 @@ +import{_ as N}from"./index-1DQ9lz7_.js";import{u as T}from"./context-Dawj80bg.js";import{_ as V}from"./index-C-JhWVfG.js";import{s as W,c as z,a2 as c,a3 as I,a4 as l,S as k,af as M,u as d,ag as j,F as S,f as g,r as A,a9 as w,aa as a,G as u,k as n,ae as v}from"./vue-Dl1fzmsf.js";import D from"./repository-form-B-X8I6s6.js";import O from"./task-form-Bya_CC5z.js";import{ab as E,b6 as G,ae as H,H as L,S as q}from"./antd-vtmm7CAy.js";const J={class:"footer-tool-bar__left"},K={class:"footer-tool-bar__center"},P={class:"footer-tool-bar__right"},Q=Object.assign({name:"FooterToolBar"},{__name:"index",setup(x){const i=W("ant-pro-footer-toolbar"),{siderWidth:m,collapsed:_,collapsedWidth:o,isMobile:f,layout:p}=T(),t=z(()=>{if(!(f.value||p.value==="top"))return`calc(100% - ${_.value?o.value:m.value}px)`});return(e,r)=>(c(),I(S,null,[l("div",{class:M(d(i)),style:j({width:d(t),transition:"0.3s all"})},[l("div",J,[k(e.$slots,"left",{},void 0,!0)]),l("div",K,[k(e.$slots,"default",{},void 0,!0)]),l("div",P,[k(e.$slots,"right",{},void 0,!0)])],6),r[0]||(r[0]=l("div",{class:"h-56px"},null,-1))],64))}}),U=V(Q,[["__scopeId","data-v-51a4df24"]]),re=Object.assign({name:"AdvancedForm"},{__name:"index",setup(x){const i=g(),m=g();async function _(){var t,e;try{await((t=m.value)==null?void 0:t.handleSubmit()),await((e=i.value)==null?void 0:e.handleSubmit())}catch(r){console.log("Failed:",r)}}const o=A({columns:[{title:"成员姓名",dataIndex:"name",key:"name",width:"20%",scopedSlots:{customRender:"name"}},{title:"工号",dataIndex:"workId",key:"workId",width:"20%",scopedSlots:{customRender:"workId"}},{title:"所属部门",dataIndex:"department",key:"department",width:"40%",scopedSlots:{customRender:"department"}},{title:"操作",key:"action",scopedSlots:{customRender:"operation"}}],data:[{key:"1",name:"员工1",workId:"001",editable:!1,department:"行政部"},{key:"2",name:"员工2",workId:"002",editable:!1,department:"IT部"},{key:"3",name:"员工3",workId:"003",editable:!1,department:"财务部"}]});function f(){const t=o.data.length===0?"1":(Number.parseInt(o.data[o.data.length-1].key)+1).toString(),e={key:t,name:`员工${t}`,workId:Number.parseInt(t)<10?`00${t}`:Number.parseInt(t)<100?`0${t}`:t,editable:!0,department:["行政部","IT部","财务部"][Math.floor(Math.random()*3)]};o.data.push(e)}function p(t){o.data=o.data.filter(e=>e.key!==t)}return(t,e)=>{const r=E,$=G,C=H,y=L,F=q,R=U,B=N;return c(),w(B,null,{content:a(()=>e[0]||(e[0]=[u(" 高级表单常见于一次性输入和提交大批量数据的场景。 ")])),default:a(()=>[n(F,{size:"large",direction:"vertical",style:{width:"100%"}},{default:a(()=>[n(r,{class:"card",title:"仓库管理",bordered:!1},{default:a(()=>[n(D,{ref_key:"repositoryFormRef",ref:i,"show-submit":!1},null,512)]),_:1}),n(r,{class:"card",title:"任务管理",bordered:!1},{default:a(()=>[n(O,{ref_key:"taskFormRef",ref:m,"show-submit":!1},null,512)]),_:1}),n(r,null,{default:a(()=>[n(C,{columns:d(o).columns,"data-source":d(o).data,pagination:!1},{bodyCell:a(s=>{var b;return[((b=s==null?void 0:s.column)==null?void 0:b.key)==="action"?(c(),I(S,{key:0},[d(o).data.length?(c(),w($,{key:0,title:"Sure to delete?",onConfirm:X=>{var h;return p((h=s==null?void 0:s.record)==null?void 0:h.key)}},{default:a(()=>e[1]||(e[1]=[l("a",null,"Delete",-1)])),_:2},1032,["onConfirm"])):v("",!0)],64)):v("",!0)]}),_:1},8,["columns","data-source"]),n(y,{style:{width:"100%","margin-top":"16px","margin-bottom":"8px"},type:"dashed",onClick:f},{default:a(()=>e[2]||(e[2]=[u(" 新增成员 ")])),_:1})]),_:1})]),_:1}),n(R,null,{left:a(()=>e[3]||(e[3]=[u(" 测试 ")])),right:a(()=>[n(y,{type:"primary",onClick:_},{default:a(()=>e[4]||(e[4]=[u(" 提交 ")])),_:1})]),_:1})]),_:1})}}});export{re as default}; diff --git a/web/dist/assets/index-DXeijiIX.js b/web/dist/assets/index-DXeijiIX.js new file mode 100644 index 0000000..6402e7b --- /dev/null +++ b/web/dist/assets/index-DXeijiIX.js @@ -0,0 +1 @@ +import{_ as E}from"./index-1DQ9lz7_.js";import F from"./introduce-row-mysvfOex.js";import G from"./sales-card-DWCqcnjI.js";import{T as B}from"./index-sUMRYBhU.js";import D from"./number-info-D_kSTq0O.js";import L from"./trend-DeLG38Nf.js";import{_ as R}from"./index-C-JhWVfG.js";import{ak as j,aw as I,e as q,M as P,D as H,t as J,a9 as S,aa as N,ae as K,ab as Q}from"./antd-vtmm7CAy.js";import{f as _,o as U,a2 as o,a9 as r,aa as t,a4 as u,k as n,G as c,u as l,a3 as W,ad as A,ae as X,aq as i}from"./vue-Dl1fzmsf.js";import Y from"./proportion-sales-d0M_xNbH.js";import Z from"./offline-data-pclN1ie8.js";import"./context-Dawj80bg.js";import"./vec2-4Cx-bOHg.js";const tt={class:"iconGroup"},nt={key:0},et={style:{marginRight:"4px"}},at={__name:"top-search",props:{loading:{type:Boolean,default:!1}},setup(k){const g=[{title:"排名",dataIndex:"index",key:"index"},{title:"搜索关键词",dataIndex:"keyword",key:"keyword"},{title:"用户数",dataIndex:"count",key:"count",sorter:(s,a)=>s.count-a.count},{title:"周涨幅",dataIndex:"range",key:"range",sorter:(s,a)=>s.range-a.range}],y=[{index:1,keyword:"搜索关键词-0",count:286,range:10,status:1},{index:2,keyword:"搜索关键词-1",count:659,range:9,status:1},{index:3,keyword:"搜索关键词-2",count:579,range:5,status:0},{index:4,keyword:"搜索关键词-3",count:369,range:51,status:0},{index:5,keyword:"搜索关键词-4",count:658,range:11,status:1},{index:6,keyword:"搜索关键词-5",count:956,range:52,status:0},{index:7,keyword:"搜索关键词-6",count:607,range:23,status:0},{index:8,keyword:"搜索关键词-7",count:19,range:22,status:1},{index:9,keyword:"搜索关键词-8",count:309,range:77,status:1},{index:10,keyword:"搜索关键词-9",count:382,range:99,status:0},{index:11,keyword:"搜索关键词-10",count:526,range:58,status:0},{index:12,keyword:"搜索关键词-11",count:824,range:18,status:0},{index:13,keyword:"搜索关键词-12",count:140,range:10,status:1},{index:14,keyword:"搜索关键词-13",count:781,range:82,status:1},{index:15,keyword:"搜索关键词-14",count:231,range:16,status:1},{index:16,keyword:"搜索关键词-15",count:672,range:9,status:1},{index:17,keyword:"搜索关键词-16",count:305,range:52,status:0},{index:18,keyword:"搜索关键词-17",count:32,range:37,status:1},{index:19,keyword:"搜索关键词-18",count:596,range:73,status:0},{index:20,keyword:"搜索关键词-19",count:346,range:82,status:0},{index:21,keyword:"搜索关键词-20",count:622,range:12,status:1},{index:22,keyword:"搜索关键词-21",count:845,range:12,status:0},{index:23,keyword:"搜索关键词-22",count:187,range:37,status:1},{index:24,keyword:"搜索关键词-23",count:822,range:30,status:1},{index:25,keyword:"搜索关键词-24",count:733,range:77,status:0},{index:26,keyword:"搜索关键词-25",count:356,range:91,status:0},{index:27,keyword:"搜索关键词-26",count:771,range:17,status:1},{index:28,keyword:"搜索关键词-27",count:50,range:41,status:1},{index:29,keyword:"搜索关键词-28",count:224,range:1,status:0},{index:30,keyword:"搜索关键词-29",count:218,range:81,status:1},{index:31,keyword:"搜索关键词-30",count:696,range:34,status:0},{index:32,keyword:"搜索关键词-31",count:379,range:56,status:1},{index:33,keyword:"搜索关键词-32",count:750,range:44,status:1},{index:34,keyword:"搜索关键词-33",count:905,range:66,status:1},{index:35,keyword:"搜索关键词-34",count:806,range:41,status:0},{index:36,keyword:"搜索关键词-35",count:854,range:92,status:1},{index:37,keyword:"搜索关键词-36",count:887,range:18,status:1},{index:38,keyword:"搜索关键词-37",count:755,range:24,status:0},{index:39,keyword:"搜索关键词-38",count:267,range:41,status:1},{index:40,keyword:"搜索关键词-39",count:34,range:38,status:0},{index:41,keyword:"搜索关键词-40",count:942,range:16,status:0},{index:42,keyword:"搜索关键词-41",count:844,range:56,status:0},{index:43,keyword:"搜索关键词-42",count:559,range:28,status:1},{index:44,keyword:"搜索关键词-43",count:29,range:97,status:1},{index:45,keyword:"搜索关键词-44",count:989,range:43,status:0},{index:46,keyword:"搜索关键词-45",count:377,range:24,status:1},{index:47,keyword:"搜索关键词-46",count:990,range:47,status:1},{index:48,keyword:"搜索关键词-47",count:848,range:64,status:1},{index:49,keyword:"搜索关键词-48",count:549,range:68,status:1},{index:50,keyword:"搜索关键词-49",count:53,range:47,status:1}],m=[1,6,4,8,3,7,2],x=_(),d=_();return U(()=>{new B(x.value,{height:45,data:m,smooth:!0,autoFit:!0}).render(),new B(d.value,{height:45,data:m,smooth:!0,autoFit:!0}).render()}),(s,a)=>{const w=q,O=P,V=H,f=J,p=S,$=N,M=K,z=Q;return o(),r(z,{loading:k.loading,bordered:!1,title:"线上热门搜索",style:{height:"100%"}},{extra:t(()=>[u("span",tt,[n(V,{placement:"bottomRight"},{overlay:t(()=>[n(O,null,{default:t(()=>[n(w,null,{default:t(()=>a[0]||(a[0]=[c("操作一")])),_:1}),n(w,null,{default:t(()=>a[1]||(a[1]=[c("操作二")])),_:1})]),_:1})]),default:t(()=>[n(l(j))]),_:1})])]),default:t(()=>[n($,{gutter:68},{default:t(()=>[n(p,{sm:12,xs:24,style:{marginBottom:"24px"}},{default:t(()=>[n(D,{gap:8,total:12321,status:"up","sub-total":17.1},{subTitle:t(()=>[u("span",null,[a[2]||(a[2]=c(" 人均搜索次数 ")),n(f,{title:"指标说明"},{default:t(()=>[n(l(I),{style:{marginLeft:"8px"}})]),_:1})])]),_:1}),u("div",{ref_key:"tinyAreaContainer1",ref:x},null,512)]),_:1}),n(p,{sm:12,xs:24,style:{marginBottom:"24px"}},{default:t(()=>[n(D,{gap:8,total:2.7,status:"down","sub-total":26.2},{subTitle:t(()=>[u("span",null,[a[3]||(a[3]=c(" 搜索用户数 ")),n(f,{title:"指标说明"},{default:t(()=>[n(l(I),{style:{marginLeft:"8px"}})]),_:1})])]),_:1}),u("div",{ref_key:"tinyAreaContainer2",ref:d},null,512)]),_:1})]),_:1}),n(M,{"row-key":e=>e.index,size:"small",columns:g,"data-source":y,pagination:{style:{marginBottom:0},pageSize:5}},{bodyCell:t(e=>{var b,h,v,C;return[((b=e==null?void 0:e.column)==null?void 0:b.key)==="keyword"?(o(),W("a",nt,A((h=e==null?void 0:e.record)==null?void 0:h.keyword),1)):((v=e==null?void 0:e.column)==null?void 0:v.key)==="range"?(o(),r(L,{key:1,flag:((C=e==null?void 0:e.record)==null?void 0:C.status)===1?"down":"up"},{default:t(()=>{var T;return[u("span",et,A((T=e==null?void 0:e.record)==null?void 0:T.range)+"%",1)]}),_:2},1032,["flag"])):X("",!0)]}),_:1},8,["row-key"])]),_:1},8,["loading"])}}},ot=R(at,[["__scopeId","data-v-dba406d9"]]),wt=Object.assign({name:"Analysis"},{__name:"index",setup(k){const g=_(!1),y=_([]);return(m,x)=>{const d=S,s=N,a=E;return o(),r(a,null,{default:t(()=>[(o(),r(i,{fallback:null},{default:t(()=>[n(F,{loading:l(g),"visit-data":l(y)},null,8,["loading","visit-data"])]),_:1})),(o(),r(i,{fallback:null},{default:t(()=>[n(G)]),_:1})),n(s,{gutter:24,style:{marginTop:"24px"}},{default:t(()=>[n(d,{xl:12,lg:24,md:24,sm:24,xs:24},{default:t(()=>[(o(),r(i,{fallback:null},{default:t(()=>[n(ot)]),_:1}))]),_:1}),n(d,{xl:12,lg:24,md:24,sm:24,xs:24},{default:t(()=>[(o(),r(i,{fallback:null},{default:t(()=>[n(Y)]),_:1}))]),_:1})]),_:1}),(o(),r(i,{fallback:null},{default:t(()=>[n(Z)]),_:1}))]),_:1})}}});export{wt as default}; diff --git a/web/dist/assets/index-O-XgQvxy.js b/web/dist/assets/index-O-XgQvxy.js new file mode 100644 index 0000000..c83bdb5 --- /dev/null +++ b/web/dist/assets/index-O-XgQvxy.js @@ -0,0 +1 @@ +import{_ as y,g as $}from"./index-C-JhWVfG.js";import{a2 as a,a3 as r,a4 as u,a9 as b,aa as s,k as i,u as l,G as p,s as v,af as d,S as C,ae as m,ad as f}from"./vue-Dl1fzmsf.js";import{e as w,M as L,D as N,a4 as S,a5 as V}from"./antd-vtmm7CAy.js";const z={name:"CarbonTranslate"},B={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 32 32"};function A(o,e,n,c,_,t){return a(),r("svg",B,e[0]||(e[0]=[u("path",{fill:"currentColor",d:"M27.85 29H30l-6-15h-2.35l-6 15h2.15l1.6-4h6.85zm-7.65-6l2.62-6.56L25.45 23zM18 7V5h-7V2H9v3H2v2h10.74a14.71 14.71 0 0 1-3.19 6.18A13.5 13.5 0 0 1 7.26 9h-2.1a16.47 16.47 0 0 0 3 5.58A16.84 16.84 0 0 1 3 18l.75 1.86A18.47 18.47 0 0 0 9.53 16a16.92 16.92 0 0 0 5.76 3.84L16 18a14.48 14.48 0 0 1-5.12-3.37A17.64 17.64 0 0 0 14.8 7z"},null,-1)]))}const F=y(z,[["render",A]]),G={hover:"bg-[var(--hover-color)]",flex:"","items-center":"","h-48px":"","px-12px":"","text-16px":"","cursor-pointer":"",class:"transition-all-300"},q={__name:"index",setup(o){const{locale:e,setLocale:n}=$();function c({key:_}){n(_)}return(_,t)=>{const h=F,g=w,k=L,x=N;return a(),b(x,null,{overlay:s(()=>[i(k,{"selected-keys":[l(e)],onClick:c},{default:s(()=>[i(g,{key:"zh-CN"},{icon:s(()=>t[0]||(t[0]=[u("span",null," 🇨🇳 ",-1)])),default:s(()=>[t[1]||(t[1]=p(" 简体中文 "))]),_:1}),i(g,{key:"en-US"},{icon:s(()=>t[2]||(t[2]=[u("span",null," 🇺🇸 ",-1)])),default:s(()=>[t[3]||(t[3]=p(" English "))]),_:1})]),_:1},8,["selected-keys"])]),default:s(()=>[u("span",G,[i(h,{class:"anticon"})])]),_:1})}}},M={"decoration-none":"",href:"https://github.com/go-nunu/nunu",target:"_blank"},E=Object.assign({name:"FooterLinks"},{__name:"footer-links",setup(o){return(e,n)=>(a(),r("a",M,[i(l(S),{style:{"margin-right":"5px"}}),n[0]||(n[0]=p("Go-NuNu"))]))}}),O={key:0,href:"https://beian.miit.gov.cn/",target:"_blank"},T=Object.assign({name:"GlobalFooter"},{__name:"index",props:{copyright:{type:String,required:!1},icp:{type:String,required:!1}},setup(o){const e=v("ant-pro-global-footer");return(n,c)=>(a(),r("div",{class:d(l(e))},[n.$slots.renderFooterLinks?(a(),r("div",{key:0,class:d(`${l(e)}-links`)},[C(n.$slots,"renderFooterLinks")],2)):m("",!0),o.copyright?(a(),r("div",{key:1,class:d(`${l(e)}-copyright`)},[o.icp?(a(),r("a",O,f(o.icp),1)):m("",!0),c[0]||(c[0]=p()),i(l(V)),p(" "+f(o.copyright),1)],2)):m("",!0)],2))}});export{T as _,E as a,q as b}; diff --git a/web/dist/assets/index-OXDW1Gq8.css b/web/dist/assets/index-OXDW1Gq8.css new file mode 100644 index 0000000..c045861 --- /dev/null +++ b/web/dist/assets/index-OXDW1Gq8.css @@ -0,0 +1 @@ +.iconGroup span.anticon[data-v-dba406d9]{margin-left:16px;color:inherit;cursor:pointer;transition:color .32s}.iconGroup span.anticon[data-v-dba406d9]:hover{color:var(--text-color)} diff --git a/web/dist/assets/index-RzKFfKDQ.css b/web/dist/assets/index-RzKFfKDQ.css new file mode 100644 index 0000000..e5c5981 --- /dev/null +++ b/web/dist/assets/index-RzKFfKDQ.css @@ -0,0 +1 @@ +.ant-pro-global-header{position:relative;display:flex;align-items:center;height:100%;padding:0 24px;background:#fff;box-shadow:0 1px 4px #00152914}.ant-pro-global-header>*{height:100%}.ant-pro-global-header-top .ant-menu-horizontal>.ant-menu-submenu{top:unset}.ant-pro-global-header-collapsed-button{display:flex;font-size:20px;align-items:center;margin-left:24px}.ant-pro-global-header-logo{position:relative;overflow:hidden}.ant-pro-global-header-logo a{display:flex;align-items:center;height:100%}.ant-pro-global-header-logo a img{height:28px}.ant-pro-global-header-logo a h1{height:32px;margin:0 0 0 12px;font-weight:600;font-size:18px;line-height:32px}.ant-pro-global-header-layout-mix{background:#001529}.ant-pro-global-header-layout-mix .anticon,.ant-pro-global-header-layout-mix .ant-pro-global-header-logo h1{color:#fff}.ant-pro-global-header .ant-menu-horizontal{border-bottom:none!important}.ant-pro-global-header-inverted{--hover-color: #2a2c37;color:#e5e0d8d9;background:#001529;box-shadow:0 1px 4px #00152914}.ant-pro-global-header-inverted .ant-pro-top-nav-header-logo h1{color:#e5e0d8}.ant-pro-top-nav-header-logo{position:relative;min-width:165px;height:100%;overflow:hidden;margin-right:25px}.ant-pro-top-nav-header-logo img{display:inline-block;height:32px;vertical-align:middle}.ant-pro-top-nav-header-logo h1{display:inline-block;margin:0 0 0 12px;font-size:16px;vertical-align:top;color:#000000d9}[data-theme=dark] .ant-pro-top-nav-header-logo h1{color:#e5e0d8d9}[data-theme=dark] .ant-pro-global-header{background:#001529;box-shadow:#0d0d0da6 0 2px 8px}[data-theme=dark] .ant-pro-global-header-layout-mix{background:#0f1c29}[data-theme=dark] .ant-pro-global-header-layout-mix .anticon,[data-theme=dark] .ant-pro-global-header-layout-mix .ant-pro-global-header-logo h1{color:#e5e0d8}[data-theme=dark] .ant-pro-global-header-layout-top,[data-theme=dark] .ant-pro-global-header-layout-side{background-color:#242525}.ant-pro-fixed-header{position:fixed;top:0}.ant-pro-fixed-header-inverted{--hover-color: #2a2c37}.ant-pro-fixed-header-action{transition:width .3s cubic-bezier(.645,.045,.355,1)}.ant-pro-sider .ant-layout-sider-children{display:flex;flex-direction:column;height:100%}.ant-pro-sider-fixed{position:fixed!important;top:0;left:0;height:100%;z-index:100;box-shadow:2px 0 8px #1d23290d}.ant-pro-sider-menu{position:relative;z-index:10;min-height:100%;border-inline-end:none!important}.ant-pro-sider-collapsed-button{border-top:1px solid rgba(0,0,0,.06)}.ant-pro-sider-collapsed-button-inverted{border-top:1px solid rgba(143,132,117,.06)}.ant-pro-sider-light .ant-menu-light{border-right-color:transparent}.ant-pro-sider-logo{position:relative;display:flex;align-items:center;padding:16px 24px;cursor:pointer;transition:padding .3s cubic-bezier(.645,.045,.355,1)}.ant-pro-sider-logo>a{display:flex;align-items:center;justify-content:center;min-height:32px;width:100%}.ant-pro-sider-logo img{display:inline-block;height:32px;vertical-align:middle}.ant-pro-sider-logo h1{display:inline-block;height:32px;margin:0 0 0 12px;font-weight:600;font-size:18px;line-height:32px;vertical-align:middle;animation:pro-layout-title-hide .3s;width:calc(100% - 32px);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-pro-sider-collapsed{padding:16px 8px}[data-theme=dark] .ant-pro-sider-collapsed-button{border-top:1px solid rgba(143,132,117,.06)}[data-theme=dark] .ant-pro-sider-fixed{box-shadow:#0d0d0da6 0 2px 8px}@keyframes pro-layout-title-hide{0%{display:none;opacity:0}80%{display:none;opacity:0}to{display:unset;opacity:1}}.scrollbar::-webkit-scrollbar{width:5px;height:10px}.scrollbar::-webkit-scrollbar-thumb{border-radius:5px;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#bebebe33}.scrollbar::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 5px rgba(227,227,227,.2);border-radius:0;background:#0000001a}.ant-pro-sider-menu-header{margin-left:14px}[data-theme=dark] .ant-pro-sider-menu-header{background:transparent}.ant-pro-basicLayout{display:flex;flex-direction:column;width:100%;min-height:100%}.ant-pro-basicLayout .ant-layout{background:#f0f2f5}.ant-pro-basicLayout-content{margin:24px;display:flex}.ant-pro-basicLayout-content-fluid{width:100%}.ant-pro-basicLayout-content-fixed{width:1200px;max-width:1200px;margin:0 auto}.ant-pro-basicLayout-content-fixed:has(.ant-pro-page-container){width:100%;max-width:unset;margin:unset}[data-theme=dark] .ant-layout{background:#2a2c2c}.ant-pro-drawer-setting-handle{position:fixed;inset-block-start:240px;inset-inline-end:0px;z-index:0;display:flex;align-items:center;justify-content:center;width:48px;height:48px;font-size:16px;text-align:center;-webkit-backdropilter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);cursor:pointer;pointer-events:auto}.ant-pro-drawer-setting-handle-icon{color:#fff}.ant-pro-drawer-setting-handle-icon-dark{color:#e5e0d8}.ant-pro-drawer-setting-block-checkbox{display:flex;min-height:42px}.ant-pro-drawer-setting-block-checkbox-selectIcon{position:absolute;right:6px;bottom:4px;font-weight:700;font-size:14px;pointer-events:none}.ant-pro-drawer-setting-block-checkbox-item{position:relative;width:44px;height:36px;margin-right:16px;overflow:hidden;background-color:#f0f2f5;border-radius:4px;box-shadow:0 1px 2.5px #0000002e;cursor:pointer}.ant-pro-drawer-setting-block-checkbox-item:before{position:absolute;top:0;left:0;width:33%;height:100%;background-color:#fff;content:""}.ant-pro-drawer-setting-block-checkbox-item:after{position:absolute;top:0;left:0;width:100%;height:25%;background-color:#fff;content:""}.ant-pro-drawer-setting-block-checkbox-item-dark{background-color:#001529d9}.ant-pro-drawer-setting-block-checkbox-item-dark:before{background-color:#001529a6;content:""}.ant-pro-drawer-setting-block-checkbox-item-dark:after{background-color:#001529d9}.ant-pro-drawer-setting-block-checkbox-item-light:before{background-color:#fff;content:""}.ant-pro-drawer-setting-block-checkbox-item-light:after{background-color:#fff}.ant-pro-drawer-setting-block-checkbox-item-inverted:before,.ant-pro-drawer-setting-block-checkbox-item-side:before{z-index:1;background-color:#001529;content:""}.ant-pro-drawer-setting-block-checkbox-item-inverted:after,.ant-pro-drawer-setting-block-checkbox-item-side:after{background-color:#fff}.ant-pro-drawer-setting-block-checkbox-item-top:before{background-color:transparent;content:""}.ant-pro-drawer-setting-block-checkbox-item-top:after{background-color:#001529}.ant-pro-drawer-setting-block-checkbox-item-mix:before{background-color:#fff;content:""}.ant-pro-drawer-setting-block-checkbox-item-mix:after{background-color:#001529}.ant-pro-drawer-setting-block-checkbox-theme-item{background:#2a2c2c;box-shadow:#0d0d0d2e 0 1px 2.5px}.ant-pro-drawer-setting-block-checkbox-theme-item-light:before,.ant-pro-drawer-setting-block-checkbox-theme-item-light:after{background-color:#242525}.ant-pro-drawer-setting-block-checkbox-theme-item-dark:before,.ant-pro-drawer-setting-block-checkbox-theme-item-dark:after{background-color:#0f1c29a6}.ant-pro-drawer-setting-block-checkbox-theme-item-side:before,.ant-pro-drawer-setting-block-checkbox-theme-item-inverted:before{background-color:#0f1c29}.ant-pro-drawer-setting-block-checkbox-theme-item-side:after,.ant-pro-drawer-setting-block-checkbox-theme-item-inverted:after{background-color:#242525}.ant-pro-drawer-setting-block-checkbox-theme-item-mix:before{background-color:#242525}.ant-pro-drawer-setting-theme-color{margin-top:16px;overflow:hidden}.ant-pro-drawer-setting-theme-color-block{float:left;width:20px;height:20px;margin-top:8px;margin-right:8px;font-weight:700;display:flex;color:#fff;align-items:center;justify-content:center;border-radius:2px;cursor:pointer}.ant-pro-drawer-setting-content .ant-list-item{padding-inline:0;padding-block:8px}.pro-ant-multi-tab .ant-tabs-nav-operations{display:none!important} diff --git a/web/dist/assets/index-SfA75iIC.css b/web/dist/assets/index-SfA75iIC.css new file mode 100644 index 0000000..d8b494c --- /dev/null +++ b/web/dist/assets/index-SfA75iIC.css @@ -0,0 +1 @@ +.activitiesList[data-v-d047f31d]{padding:0 24px 8px}.activitiesList .username[data-v-d047f31d]{color:var(--text-color)}.activitiesList .event[data-v-d047f31d]{font-weight:400}.pageHeaderContent[data-v-d047f31d]{display:flex}.pageHeaderContent .avatar[data-v-d047f31d]{flex:0 1 72px}.pageHeaderContent .avatar>span[data-v-d047f31d]{display:block;width:72px;height:72px;border-radius:72px}.pageHeaderContent .content[data-v-d047f31d]{position:relative;top:4px;flex:1 1 auto;margin-left:24px;color:var(--pro-ant-color-text-tertiary);line-height:22px}.pageHeaderContent .content .contentTitle[data-v-d047f31d]{margin-bottom:12px;color:var(--pro-ant-color-text);font-weight:500;font-size:20px;line-height:28px}.extraContent[data-v-d047f31d]{zoom:1;float:right;white-space:nowrap}.extraContent[data-v-d047f31d]:before,.extraContent[data-v-d047f31d]:after{display:table;content:" "}.extraContent[data-v-d047f31d]:after{clear:both;height:0;font-size:0;visibility:hidden}.extraContent .statItem[data-v-d047f31d]{position:relative;display:inline-block;padding:0 32px}.extraContent .statItem>p[data-v-d047f31d]:first-child{margin-bottom:4px;color:var(--pro-ant-color-text-tertiary);font-size:14px;line-height:22px}.extraContent .statItem>p[data-v-d047f31d]{margin:0;color:var(--pro-ant-color-text);font-size:30px;line-height:38px}.extraContent .statItem>p>span[data-v-d047f31d]{color:var(--pro-ant-color-text-tertiary);font-size:20px}.extraContent .statItem[data-v-d047f31d]:after{position:absolute;top:8px;right:0;width:1px;height:40px;content:""}.extraContent .statItem[data-v-d047f31d]:last-child{padding-right:0}.extraContent .statItem[data-v-d047f31d]:last-child:after{display:none}.members a[data-v-d047f31d]{display:block;height:24px;margin:12px 0;color:var(--text-color);transition:all .3s;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:break-all}.members a .member[data-v-d047f31d]{margin-left:12px;font-size:14px;line-height:24px;vertical-align:top}.members a[data-v-d047f31d]:hover{color:#1890ff}.projectList[data-v-d047f31d] .ant-card-meta-description{height:44px;overflow:hidden;color:var(--pro-ant-color-text-tertiary);line-height:22px}.projectList .cardTitle[data-v-d047f31d]{font-size:0}.projectList .cardTitle a[data-v-d047f31d]{display:inline-block;height:24px;margin-left:12px;color:var(--pro-ant-color-text);font-size:14px;line-height:24px;vertical-align:top}.projectList .cardTitle a[data-v-d047f31d]:hover{color:var(--pro-ant-color-primary-hover)}.projectList .projectGrid[data-v-d047f31d]{width:33.33%}.projectList .projectItemContent[data-v-d047f31d]{display:flex;height:20px;margin-top:8px;font-size:12px;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:break-all}.projectList .projectItemContent a[data-v-d047f31d]{display:inline-block;flex:1 1 0;color:var(--pro-ant-color-text-tertiary);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:break-all}.projectList .projectItemContent a[data-v-d047f31d]:hover{color:var(--pro-ant-color-primary-hover)}.projectList .projectItemContent .datetime[data-v-d047f31d]{flex:0 0 auto;float:right;color:var(--pro-ant-color-text-quaternary)}.datetime[data-v-d047f31d]{color:var(--pro-ant-color-text-quaternary)}@media screen and (max-width: 1200px) and (min-width: 992px){.activeCard[data-v-d047f31d]{margin-bottom:24px}.members[data-v-d047f31d]{margin-bottom:0}.extraContent[data-v-d047f31d]{margin-left:-44px}.extraContent .statItem[data-v-d047f31d]{padding:0 16px}}@media screen and (max-width: 992px){.activeCard[data-v-d047f31d]{margin-bottom:24px}.members[data-v-d047f31d]{margin-bottom:0}.extraContent[data-v-d047f31d]{float:none;margin-right:0}.extraContent .statItem[data-v-d047f31d]{padding:0 16px;text-align:left}.extraContent .statItem[data-v-d047f31d]:after{display:none}}@media screen and (max-width: 768px){.extraContent[data-v-d047f31d]{margin-left:-16px}.projectList .projectGrid[data-v-d047f31d]{width:50%}}@media screen and (max-width: 576px){.pageHeaderContent[data-v-d047f31d]{display:block}.pageHeaderContent .content[data-v-d047f31d]{margin-left:0}.extraContent .statItem[data-v-d047f31d]{float:none}}@media screen and (max-width: 480px){.projectList .projectGrid[data-v-d047f31d]{width:100%}} diff --git a/web/dist/assets/index-jGmfTv42.css b/web/dist/assets/index-jGmfTv42.css new file mode 100644 index 0000000..3b6fd20 --- /dev/null +++ b/web/dist/assets/index-jGmfTv42.css @@ -0,0 +1 @@ +.step-form-style-desc[data-v-1db5d306]{padding:0 56px}.step-form-style-desc h3[data-v-1db5d306]{margin:0 0 12px;font-size:16px;line-height:32px}.step-form-style-desc h4[data-v-1db5d306]{margin:0 0 4px;font-size:14px;line-height:22px}.step-form-style-desc p[data-v-1db5d306]{margin-top:0;margin-bottom:12px;line-height:22px}.stepFormText[data-v-9ad048aa]{margin-bottom:24px}.stepFormText .ant-form-item-label[data-v-9ad048aa],.stepFormText .ant-form-item-control[data-v-9ad048aa],.information[data-v-7e2fa340]{line-height:22px}.information .ant-row[data-v-7e2fa340]:not(:last-child){margin-bottom:24px}.money[data-v-7e2fa340]{font-family:Helvetica Neue,sans-serif;font-weight:500;font-size:20px;line-height:14px}.steps[data-v-f9f9c102]{max-width:750px;margin:16px auto} diff --git a/web/dist/assets/index-lzoRVGG7.js b/web/dist/assets/index-lzoRVGG7.js new file mode 100644 index 0000000..3bdf28f --- /dev/null +++ b/web/dist/assets/index-lzoRVGG7.js @@ -0,0 +1 @@ +import{_ as N}from"./index-1DQ9lz7_.js";import{_ as C}from"./index-C-JhWVfG.js";import{a9 as K,az as z,aA as A,aa as F,ab as $,K as I,T,au as w,d as f,b9 as O,H as B,ba as U,bp as V,bq as j,F as H,ag as R,x as S,y as X,ae as q}from"./antd-vtmm7CAy.js";import{f as k,ao as h,a2 as g,a3 as E,k as t,aa as a,a4 as o,ad as s,u as e,H as M,G as r,F as G,a9 as Y}from"./vue-Dl1fzmsf.js";import{u as L}from"./query-breakpoints-DXFMnBNk.js";import"./context-Dawj80bg.js";const Q={class:"text-20px font-medium"},J={class:"flex"},P={class:"flex flex-col items-end mr-5"},W={class:"text-gray-400"},Z={class:"text-24px"},ee={class:"flex flex-col items-end"},te={class:"text-gray-400"},ae={__name:"header-info",setup(x){const n=k("a"),i=k(),{t:l}=h();return(d,p)=>{const c=K,_=z,m=A,v=F,D=$,u=I,b=T;return g(),E(G,null,[t(v,null,{default:a(()=>[t(c,{span:19},{default:a(()=>[o("span",Q,s(e(l)("profile.basic.orderNumber"))+": 335231129436 ",1)]),_:1}),t(c,{span:5},{default:a(()=>[t(m,{value:e(n),"onUpdate:value":p[0]||(p[0]=y=>M(n)?n.value=y:null),"button-style":"solid"},{default:a(()=>[t(_,{value:"a"},{default:a(()=>[r(s(e(l)("profile.advanced.create-do1")),1)]),_:1}),t(_,{value:"b"},{default:a(()=>[r(s(e(l)("profile.advanced.create-do2")),1)]),_:1}),t(_,{value:"c"},{default:a(()=>[r(s(e(l)("profile.advanced.create-do3")),1)]),_:1})]),_:1},8,["value"])]),_:1})]),_:1}),t(D,{bordered:!1,class:"my-5"},{default:a(()=>[t(v,null,{default:a(()=>[t(c,{span:8},{default:a(()=>[o("div",null,[o("p",null,s(e(l)("profile.advanced.creater"))+": windlil ",1),o("p",null,s(e(l)("profile.advanced.create-time"))+": 2020-12-12 ",1),o("p",null,s(e(l)("profile.advanced.create-effective-date"))+": 2021-01-01 ",1)])]),_:1}),t(c,{span:8},{default:a(()=>[o("div",null,[o("p",null,s(e(l)("profile.advanced.create-product"))+": XX服务 ",1),o("p",null,s(e(l)("profile.advanced.create-id"))+": 12345 ",1),o("p",null,s(e(l)("profile.advanced.create-info"))+": 请于两个工作日内确认 ",1)])]),_:1}),t(c,{span:8,class:"pl-45"},{default:a(()=>[o("div",J,[o("div",P,[o("p",W,s(e(l)("profile.advanced.create-status")),1),o("p",Z,s(e(l)("profile.advanced.create-status-finshed")),1)]),o("div",ee,[o("p",te,s(e(l)("profile.advanced.create-price")),1),p[2]||(p[2]=o("p",{class:"text-24px"}," ¥666.66 ",-1))])])]),_:1})]),_:1})]),_:1}),t(b,{"active-key":e(i),"onUpdate:activeKey":p[1]||(p[1]=y=>M(i)?i.value=y:null),class:"mb--7"},{default:a(()=>[t(u,{key:"1",tab:e(l)("profile.advanced.tab1")},null,8,["tab"]),t(u,{key:"2",tab:e(l)("profile.advanced.tab2"),"force-render":""},null,8,["tab"])]),_:1},8,["active-key"])],64)}}},le=C(ae,[["__scopeId","data-v-e716833b"]]),ne={class:"text-3"},oe={class:"text-12px align-left"},se={class:"text-3"},de={class:"text-12px"},re={style:{margin:"8px 0 4px"}},ie={class:"text-3"},pe={class:"text-3"},ce={__name:"step-card",setup(x){const{isMobile:n}=L(),{t:i}=h();return(l,d)=>{const p=O,c=B,_=U,m=$;return g(),Y(m,{title:e(i)("profile.advanced.step-title"),bordered:!1},{default:a(()=>[t(_,{current:1,direction:e(n)&&"horizontal"||"horizontal","progress-dot":""},{default:a(()=>[t(p,{title:e(i)("result.success.step1-title")},{description:a(()=>[o("div",oe,[o("div",null,[d[0]||(d[0]=r(" windlil ")),t(e(w),{class:"m-1 c-primary"})]),o("div",null,s(e(f)().subtract(6,"h").format("YYYY-MM-DD hh:mm")),1)])]),default:a(()=>[o("span",ne,s(e(i)("result.success.step1-title")),1)]),_:1},8,["title"]),t(p,{title:e(i)("result.success.step2-title")},{description:a(()=>[o("div",de,[o("div",re,[r(s(e(i)("result.success.step2-operator"))+" ",1),t(e(w),{class:"m-1 c-primary"})]),o("div",null,[t(c,{type:"link"},{default:a(()=>[r(s(e(i)("profile.advanced.step-notice")),1)]),_:1})])])]),default:a(()=>[o("span",se,s(e(i)("result.success.step2-title")),1)]),_:1},8,["title"]),t(p,{title:e(i)("result.success.step3-title")},{default:a(()=>[o("span",ie,s(e(i)("result.success.step3-title")),1)]),_:1},8,["title"]),t(p,{title:e(i)("result.success.step4-title")},{default:a(()=>[o("span",pe,s(e(i)("result.success.step4-title")),1)]),_:1},8,["title"])]),_:1},8,["direction"])]),_:1},8,["title"])}}},_e={__name:"user-info",setup(x){const{t:n}=h();return(i,l)=>{const d=V,p=j,c=H,_=$;return g(),Y(_,{bordered:!1,class:"my-6"},{default:a(()=>[t(p,{title:e(n)("profile.basic.customerInfoTitle")},{default:a(()=>[t(d,{label:e(n)("profile.basic.customerName")},{default:a(()=>l[0]||(l[0]=[r(" 张三 ")])),_:1},8,["label"]),t(d,{label:e(n)("profile.advanced.card")},{default:a(()=>l[1]||(l[1]=[r(" xxx ")])),_:1},8,["label"]),t(d,{label:e(n)("profile.advanced.id")},{default:a(()=>l[2]||(l[2]=[r(" xxx ")])),_:1},8,["label"]),t(d,{label:e(n)("profile.basic.contactNumber")},{default:a(()=>l[3]||(l[3]=[r(" 16866666666 ")])),_:1},8,["label"]),t(d,{label:e(n)("profile.basic.deliveryAddress")},{default:a(()=>l[4]||(l[4]=[r(" 张三 16866666666 广东省广州市 ")])),_:1},8,["label"])]),_:1},8,["title"]),t(c,{style:{"margin-bottom":"32px"}}),t(p,{title:e(n)("profile.advanced.group")},{default:a(()=>[t(d,{label:e(n)("profile.advanced.group-data")},{default:a(()=>l[5]||(l[5]=[r(" 688 ")])),_:1},8,["label"]),t(d,{label:e(n)("profile.advanced.group-data-update")},{default:a(()=>[r(s(e(f)().format("YYYY-MM-DD hh:mm")),1)]),_:1},8,["label"]),t(d,{label:e(n)("profile.advanced.group-data")},{default:a(()=>l[6]||(l[6]=[r(" 688 ")])),_:1},8,["label"]),t(d,{label:e(n)("profile.advanced.group-data-update")},{default:a(()=>[r(s(e(f)().format("YYYY-MM-DD hh:mm")),1)]),_:1},8,["label"]),t(d,{label:e(n)("profile.advanced.group-data")},{default:a(()=>l[7]||(l[7]=[r(" 688 ")])),_:1},8,["label"])]),_:1},8,["title"]),t(_,{title:e(n)("profile.advanced.group")},{default:a(()=>[t(p,null,{default:a(()=>[t(d,{label:e(n)("profile.advanced.group-data")},{default:a(()=>l[8]||(l[8]=[r(" 688 ")])),_:1},8,["label"]),t(d,{label:e(n)("profile.advanced.group-data-update")},{default:a(()=>[r(s(e(f)().format("YYYY-MM-DD hh:mm")),1)]),_:1},8,["label"]),t(d,{label:e(n)("profile.advanced.group-data")},{default:a(()=>l[9]||(l[9]=[r(" 688 ")])),_:1},8,["label"]),t(d,{label:e(n)("profile.advanced.group-data-update")},{default:a(()=>[r(s(e(f)().format("YYYY-MM-DD hh:mm")),1)]),_:1},8,["label"]),t(d,{label:e(n)("profile.advanced.group-data")},{default:a(()=>l[10]||(l[10]=[r(" 688 ")])),_:1},8,["label"])]),_:1}),t(c,{style:{"margin-bottom":"32px"}}),t(p,null,{default:a(()=>[t(d,{label:e(n)("profile.advanced.group-data")},{default:a(()=>l[11]||(l[11]=[r(" 688 ")])),_:1},8,["label"]),t(d,{label:e(n)("profile.advanced.group-data-update")},{default:a(()=>[r(s(e(f)().format("YYYY-MM-DD hh:mm")),1)]),_:1},8,["label"]),t(d,{label:e(n)("profile.advanced.group-data")},{default:a(()=>l[12]||(l[12]=[r(" 688 ")])),_:1},8,["label"]),t(d,{label:e(n)("profile.advanced.group-data-update")},{default:a(()=>[r(s(e(f)().format("YYYY-MM-DD hh:mm")),1)]),_:1},8,["label"]),t(d,{label:e(n)("profile.advanced.group-data")},{default:a(()=>l[13]||(l[13]=[r(" 688 ")])),_:1},8,["label"])]),_:1})]),_:1},8,["title"])]),_:1})}}},ue={class:"px-10"},fe={__name:"phone-data",setup(x){const{t:n}=h(),i=k([{name:"张三",phone:"16866666666",spentTime:"30min",date:"2022-7-10 14:20"},{name:"张三",phone:"16866666666",spentTime:"99min",date:"2022-7-6 16:00"},{name:"张三",phone:"16866666666",spentTime:"20min",date:"2022-7-3 9:20"},{name:"张三",phone:"16866666666",spentTime:"80min",date:"2022-6-20 9:50"}]);function l(d){const p=i.value.indexOf(d);i.value.splice(p,1)}return(d,p)=>{const c=B,_=R,m=S,v=X,D=$;return g(),Y(D,{title:e(n)("profile.advanced.call-log")},{default:a(()=>[t(v,{"item-layout":"horizontal","data-source":e(i)},{renderItem:a(({item:u})=>[t(m,null,{actions:a(()=>[o("div",null,[o("span",null,s(e(n)("profile.advanced.call-spent")),1),o("span",null,s(u.spentTime),1)]),o("div",ue,[o("span",null,s(e(n)("profile.advanced.call-date")),1),o("span",null,s(u.date),1)]),t(c,{danger:"",type:"link",onClick:b=>l(u)},{default:a(()=>[r(s(e(n)("profile.advanced.remove")),1)]),_:2},1032,["onClick"])]),default:a(()=>[t(_,{description:u.phone},{title:a(()=>[o("a",null,s(u.name),1)]),_:2},1032,["description"])]),_:2},1024)]),_:1},8,["data-source"])]),_:1},8,["title"])}}},me={__name:"log-card",setup(x){const{t:n}=h(),i=k(),l=k([{title:n("profile.advanced.log-type"),dataIndex:"type",key:"type",slots:{customRender:"type"}},{title:n("profile.advanced.log-owner"),dataIndex:"owner",key:"owner",width:100},{title:n("profile.advanced.log-result"),dataIndex:"result",key:"result"},{title:n("profile.advanced.log-time"),dataIndex:"time",key:"time"},{title:n("profile.advanced.log-info"),dataIndex:"info",key:"info"}]),d=[{key:"1",type:"创建订单",owner:"烟雨",result:"成功",time:f().format("YYYY-MM-DD hh:mm"),info:"无"},{key:"2",type:"创建订单",owner:"烟雨",result:"成功",time:f().format("YYYY-MM-DD hh:mm"),info:"无"},{key:"3",type:"创建订单",owner:"烟雨",result:"成功",time:f().format("YYYY-MM-DD hh:mm"),info:"无"}];function p(c){if(c==="type")return n("profile.advanced.log-type");if(c==="owner")return n("profile.advanced.log-owner");if(c==="result")return n("profile.advanced.log-result");if(c==="time")return n("profile.advanced.log-time");if(c==="info")return n("profile.advanced.log-info")}return(c,_)=>{const m=q,v=I,D=T,u=$;return g(),Y(u,{class:"my-6"},{default:a(()=>[t(D,{"active-key":e(i),"onUpdate:activeKey":_[0]||(_[0]=b=>M(i)?i.value=b:null)},{default:a(()=>[t(v,{key:"1",tab:e(n)("profile.advanced.log")},{default:a(()=>[t(m,{"data-source":d,columns:e(l)},{headerCell:a(b=>{var y;return[r(s(p((y=b==null?void 0:b.column)==null?void 0:y.key)),1)]}),_:1},8,["columns"])]),_:1},8,["tab"]),t(v,{key:"2",tab:e(n)("profile.advanced.log1")},{default:a(()=>[t(m,{"data-source":d,columns:e(l)},null,8,["columns"])]),_:1},8,["tab"]),t(v,{key:"3",tab:e(n)("profile.advanced.log2")},{default:a(()=>[t(m,{"data-source":d,columns:e(l)},null,8,["columns"])]),_:1},8,["tab"])]),_:1},8,["active-key"])]),_:1})}}},ve={__name:"advanced-container",setup(x){return(n,i)=>{const l=N;return g(),Y(l,null,{content:a(()=>[t(le)]),default:a(()=>[t(ce),t(_e),t(fe),t(me)]),_:1})}}},ke=Object.assign({name:"Advanced"},{__name:"index",setup(x){return(n,i)=>(g(),Y(ve))}});export{ke as default}; diff --git a/web/dist/assets/index-sUMRYBhU.js b/web/dist/assets/index-sUMRYBhU.js new file mode 100644 index 0000000..b5c2f3c --- /dev/null +++ b/web/dist/assets/index-sUMRYBhU.js @@ -0,0 +1,82 @@ +import{B as Kn,_ as E,C as Ql,D as Yx,n as ap,d as $x,F as $t,G as Ht,e as vi,H as ee,I as Ji,a as Ue,u as m,J as Jn,y as Z,s as Hx,K as $i,L as Xx,z as yt,r as ht,x as q,v as ta,w as ea}from"./vec2-4Cx-bOHg.js";import{b3 as Wx}from"./antd-vtmm7CAy.js";import{H as _x}from"./index-C-JhWVfG.js";const os=Object.freeze(Object.defineProperty({__proto__:null,get Base(){return He},get Circle(){return ZF},get Ellipse(){return QF},get Image(){return KF},get Line(){return JF},get Marker(){return eT},get Path(){return Hc},get Polygon(){return lT},get Polyline(){return uT},get Rect(){return fT},get Text(){return vT}},Symbol.toStringTag,{value:"Module"})),ss=Object.freeze(Object.defineProperty({__proto__:null,get Base(){return De},get Circle(){return wT},get Dom(){return bT},get Ellipse(){return ST},get Image(){return CT},get Line(){return MT},get Marker(){return AT},get Path(){return FT},get Polygon(){return TT},get Polyline(){return ET},get Rect(){return LT},get Text(){return OT}},Symbol.toStringTag,{value:"Module"}));var xe=function(r){return r!==null&&typeof r!="function"&&isFinite(r.length)},ai=function(r,e){return xe(r)?r.indexOf(e)>-1:!1},qt=function(r,e){if(!xe(r))return r;for(var t=[],i=0;ia[s])return 1;if(n[s]t?t:r},ll=function(r,e){var t=e.toString(),i=t.indexOf(".");if(i===-1)return Math.round(r);var n=t.substr(i+1).length;return n>20&&(n=20),parseFloat(r.toFixed(n))},rt=function(r){return jr(r,"Number")},rw=1e-5;function Xt(r,e,t){return t===void 0&&(t=rw),Math.abs(r-e)i&&(t=a,i=o)}return t}},iw=function(r,e){if(R(r)){for(var t,i=1/0,n=0;ne?(i&&(clearTimeout(i),i=null),s=c,o=r.apply(n,a),i||(n=a=null)):!i&&t.trailing!==!1&&(i=setTimeout(l,h)),o};return u.cancel=function(){clearTimeout(i),s=0,i=n=a=null},u},yw=function(r){return xe(r)?Array.prototype.slice.call(r):[]};var $a={};const Zr=function(r){return r=r||"g",$a[r]?$a[r]+=1:$a[r]=1,r+$a[r]},Pr=function(){};function Vt(r){return B(r)?0:xe(r)?r.length:Object.keys(r).length}var Ha;const Xa=dn(function(r,e){e===void 0&&(e={});var t=e.fontSize,i=e.fontFamily,n=e.fontWeight,a=e.fontStyle,o=e.fontVariant;return Ha||(Ha=document.createElement("canvas").getContext("2d")),Ha.font=[a,o,n,t+"px",i].join(" "),Ha.measureText(Q(r)?r:"").width},function(r,e){return e===void 0&&(e={}),Kn([r],us(e)).join("")}),mw=function(r,e,t,i){var n=16,a=Xa(i,t),o=Q(r)?r:Fa(r),s=e,l=[],u,c;if(Xa(r,t)<=e)return r;for(;u=o.substr(0,n),c=Xa(u,t),!(c+a>s&&c>s);)if(l.push(u),s-=c,o=o.substr(n),!o)return l.join("");for(;u=o.substr(0,1),c=Xa(u,t),!(c+a>s);)if(l.push(u),s-=c,o=o.substr(1),!o)return l.join("");return""+l.join("")+i};var xw=function(){function r(){this.map={}}return r.prototype.has=function(e){return this.map[e]!==void 0},r.prototype.get=function(e,t){var i=this.map[e];return i===void 0?t:i},r.prototype.set=function(e,t){this.map[e]=t},r.prototype.clear=function(){this.map={}},r.prototype.delete=function(e){delete this.map[e]},r.prototype.size=function(){return Object.keys(this.map).length},r}(),It;(function(r){r.FORE="fore",r.MID="mid",r.BG="bg"})(It||(It={}));var G;(function(r){r.TOP="top",r.TOP_LEFT="top-left",r.TOP_RIGHT="top-right",r.RIGHT="right",r.RIGHT_TOP="right-top",r.RIGHT_BOTTOM="right-bottom",r.LEFT="left",r.LEFT_TOP="left-top",r.LEFT_BOTTOM="left-bottom",r.BOTTOM="bottom",r.BOTTOM_LEFT="bottom-left",r.BOTTOM_RIGHT="bottom-right",r.RADIUS="radius",r.CIRCLE="circle",r.NONE="none"})(G||(G={}));var Gt;(function(r){r.AXIS="axis",r.GRID="grid",r.LEGEND="legend",r.TOOLTIP="tooltip",r.ANNOTATION="annotation",r.SLIDER="slider",r.SCROLLBAR="scrollbar",r.OTHER="other"})(Gt||(Gt={}));var _i={FORE:3,MID:2,BG:1},ot;(function(r){r.BEFORE_RENDER="beforerender",r.AFTER_RENDER="afterrender",r.BEFORE_PAINT="beforepaint",r.AFTER_PAINT="afterpaint",r.BEFORE_CHANGE_DATA="beforechangedata",r.AFTER_CHANGE_DATA="afterchangedata",r.BEFORE_CLEAR="beforeclear",r.AFTER_CLEAR="afterclear",r.BEFORE_DESTROY="beforedestroy",r.BEFORE_CHANGE_SIZE="beforechangesize",r.AFTER_CHANGE_SIZE="afterchangesize"})(ot||(ot={}));var Br;(function(r){r.BEFORE_DRAW_ANIMATE="beforeanimate",r.AFTER_DRAW_ANIMATE="afteranimate",r.BEFORE_RENDER_LABEL="beforerenderlabel",r.AFTER_RENDER_LABEL="afterrenderlabel"})(Br||(Br={}));var ae;(function(r){r.MOUSE_ENTER="plot:mouseenter",r.MOUSE_DOWN="plot:mousedown",r.MOUSE_MOVE="plot:mousemove",r.MOUSE_UP="plot:mouseup",r.MOUSE_LEAVE="plot:mouseleave",r.TOUCH_START="plot:touchstart",r.TOUCH_MOVE="plot:touchmove",r.TOUCH_END="plot:touchend",r.TOUCH_CANCEL="plot:touchcancel",r.CLICK="plot:click",r.DBLCLICK="plot:dblclick",r.CONTEXTMENU="plot:contextmenu",r.LEAVE="plot:leave",r.ENTER="plot:enter"})(ae||(ae={}));var Ro;(function(r){r.ACTIVE="active",r.INACTIVE="inactive",r.SELECTED="selected",r.DEFAULT="default"})(Ro||(Ro={}));var Hi=["color","shape","size"],bt="_origin",Nh=1,Gh=1,Vh=.25,yp={};function ww(r){var e=yp[r];if(!e)throw new Error("G engine '".concat(r,"' is not exist, please register it at first."));return e}function mp(r,e){yp[r]=e}function Bi(r,e,t){if(r){if(typeof r.addEventListener=="function")return r.addEventListener(e,t,!1),{remove:function(){r.removeEventListener(e,t,!1)}};if(typeof r.attachEvent=="function")return r.attachEvent("on"+e,t),{remove:function(){r.detachEvent("on"+e,t)}}}}var On,cl,xp,Jl;function bw(){On=document.createElement("table"),cl=document.createElement("tr"),xp=/^\s*<(\w+|!)[^>]*>/,Jl={tr:document.createElement("tbody"),tbody:On,thead:On,tfoot:On,td:cl,th:cl,"*":document.createElement("div")}}function Rr(r){On||bw();var e=xp.test(r)&&RegExp.$1;(!e||!(e in Jl))&&(e="*");var t=Jl[e];r=typeof r=="string"?r.replace(/(^\s*)|(\s*$)/g,""):r,t.innerHTML=""+r;var i=t.childNodes[0];return i&&t.contains(i)&&t.removeChild(i),i}function ue(r,e,t){var i;try{i=window.getComputedStyle?window.getComputedStyle(r,null)[e]:r.style[e]}catch{}finally{i=i===void 0?t:i}return i}function Sw(r,e){var t=ue(r,"height",e);return t==="auto"&&(t=r.offsetHeight),parseFloat(t)}function Cw(r,e){var t=Sw(r,e),i=parseFloat(ue(r,"borderTopWidth"))||0,n=parseFloat(ue(r,"paddingTop"))||0,a=parseFloat(ue(r,"paddingBottom"))||0,o=parseFloat(ue(r,"borderBottomWidth"))||0,s=parseFloat(ue(r,"marginTop"))||0,l=parseFloat(ue(r,"marginBottom"))||0;return t+i+o+n+a+s+l}function Mw(r,e){var t=ue(r,"width",e);return t==="auto"&&(t=r.offsetWidth),parseFloat(t)}function Aw(r,e){var t=Mw(r,e),i=parseFloat(ue(r,"borderLeftWidth"))||0,n=parseFloat(ue(r,"paddingLeft"))||0,a=parseFloat(ue(r,"paddingRight"))||0,o=parseFloat(ue(r,"borderRightWidth"))||0,s=parseFloat(ue(r,"marginRight"))||0,l=parseFloat(ue(r,"marginLeft"))||0;return t+i+o+n+a+l+s}function Kt(r,e){if(r)for(var t in e)e.hasOwnProperty(t)&&(r.style[t]=e[t]);return r}function Fw(r){var e=getComputedStyle(r);return{width:(r.clientWidth||parseInt(e.width,10))-parseInt(e.paddingLeft,10)-parseInt(e.paddingRight,10),height:(r.clientHeight||parseInt(e.height,10))-parseInt(e.paddingTop,10)-parseInt(e.paddingBottom,10)}}function Yh(r){return typeof r=="number"&&!isNaN(r)}function $h(r,e,t,i){var n=t,a=i;if(e){var o=Fw(r);n=o.width?o.width:n,a=o.height?o.height:a}return{width:Math.max(Yh(n)?n:Nh,Nh),height:Math.max(Yh(a)?a:Gh,Gh)}}function Tw(r){var e=r.parentNode;e&&e.removeChild(r)}var Ew="*",rc=function(){function r(){this._events={}}return r.prototype.on=function(e,t,i){return this._events[e]||(this._events[e]=[]),this._events[e].push({callback:t,once:!!i}),this},r.prototype.once=function(e,t){return this.on(e,t,!0)},r.prototype.emit=function(e){for(var t=this,i=[],n=1;n2&&(t.push([n].concat(o.splice(0,2))),s="l",n=n==="m"?"l":"L"),s==="o"&&o.length===1&&t.push([n,o[0]]),s==="r")t.push([n].concat(o));else for(;o.length>=e[s]&&(t.push([n].concat(o.splice(0,e[s]))),!!e[s]););return r}),t},tu=function(r,e){for(var t=[],i=0,n=r.length;n-2*!e>i;i+=2){var a=[{x:+r[i-2],y:+r[i-1]},{x:+r[i],y:+r[i+1]},{x:+r[i+2],y:+r[i+3]},{x:+r[i+4],y:+r[i+5]}];e?i?n-4===i?a[3]={x:+r[0],y:+r[1]}:n-2===i&&(a[2]={x:+r[0],y:+r[1]},a[3]={x:+r[2],y:+r[3]}):a[0]={x:+r[n-2],y:+r[n-1]}:n-4===i?a[3]=a[2]:i||(a[0]={x:+r[i],y:+r[i+1]}),t.push(["C",(-a[0].x+6*a[1].x+a[2].x)/6,(-a[0].y+6*a[1].y+a[2].y)/6,(a[1].x+6*a[2].x-a[3].x)/6,(a[1].y+6*a[2].y-a[3].y)/6,a[2].x,a[2].y])}return t},Wa=function(r,e,t,i,n){var a=[];if(n===null&&i===null&&(i=t),r=+r,e=+e,t=+t,i=+i,n!==null){var o=Math.PI/180,s=r+t*Math.cos(-i*o),l=r+t*Math.cos(-n*o),u=e+t*Math.sin(-i*o),c=e+t*Math.sin(-n*o);a=[["M",s,u],["A",t,t,0,+(n-i>180),0,l,c]]}else a=[["M",r,e],["m",0,-i],["a",t,i,0,1,1,0,2*i],["a",t,i,0,1,1,0,-2*i],["z"]];return a},eu=function(r){if(r=Xi(r),!r||!r.length)return[["M",0,0]];var e=[],t=0,i=0,n=0,a=0,o=0,s,l;r[0][0]==="M"&&(t=+r[0][1],i=+r[0][2],n=t,a=i,o++,e[0]=["M",t,i]);for(var u=r.length===3&&r[0][0]==="M"&&r[1][0].toUpperCase()==="R"&&r[2][0].toUpperCase()==="Z",c=void 0,h=void 0,f=o,v=r.length;f1&&(S=Math.sqrt(S),t=S*t,i=S*i);var M=t*t,F=i*i,T=(a===o?-1:1)*Math.sqrt(Math.abs((M*F-M*w*w-F*b*b)/(M*w*w+F*b*b)));g=T*t*w/i+(r+s)/2,y=T*-i*b/t+(e+l)/2,d=Math.asin(((e-y)/i).toFixed(9)),p=Math.asin(((l-y)/i).toFixed(9)),d=rp&&(d=d-Math.PI*2),!o&&p>d&&(p=p-Math.PI*2)}var L=p-d;if(Math.abs(L)>c){var k=p,P=s,O=l;p=d+c*(o&&p>d?1:-1),s=g+t*Math.cos(p),l=y+i*Math.sin(p),f=wp(s,l,t,i,n,0,o,P,O,[p,k,g,y])}L=p-d;var z=Math.cos(d),V=Math.sin(d),U=Math.cos(p),D=Math.sin(p),N=Math.tan(L/4),W=4/3*t*N,$=4/3*i*N,Y=[r,e],_=[r+W*V,e-$*z],et=[s+W*D,l-$*U],at=[s,l];if(_[0]=2*Y[0]-_[0],_[1]=2*Y[1]-_[1],u)return[_,et,at].concat(f);f=[_,et,at].concat(f).join().split(",");for(var K=[],tt=0,gt=f.length;tt7){b[w].shift();for(var S=b[w];S.length;)o[w]="A",i&&(s[w]="A"),b.splice(w++,0,["C"].concat(S.splice(0,6)));b.splice(w,1),c=Math.max(t.length,i&&i.length||0)}},v=function(b,w,S,M,F){b&&w&&b[F][0]==="M"&&w[F][0]!=="M"&&(w.splice(F,0,["M",M.x,M.y]),S.bx=0,S.by=0,S.x=b[F][1],S.y=b[F][2],c=Math.max(t.length,i&&i.length||0))};c=Math.max(t.length,i&&i.length||0);for(var d=0;d1?1:l<0?0:l;for(var u=l/2,c=12,h=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],f=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],v=0,d=0;d0&&v<1&&l.push(v);continue}var p=h*h-4*f*c,g=Math.sqrt(p);if(!(p<0)){var y=(-h+g)/(2*c);y>0&&y<1&&l.push(y);var x=(-h-g)/(2*c);x>0&&x<1&&l.push(x)}}for(var b=l.length,w=b,S;b--;)v=l[b],S=1-v,u[0][b]=S*S*S*r+3*S*S*v*t+3*S*v*v*n+v*v*v*o,u[1][b]=S*S*S*e+3*S*S*v*i+3*S*v*v*a+v*v*v*s;return u[0][w]=r,u[1][w]=e,u[0][w+1]=o,u[1][w+1]=s,u[0].length=u[1].length=w+2,{min:{x:Math.min.apply(0,u[0]),y:Math.min.apply(0,u[1])},max:{x:Math.max.apply(0,u[0]),y:Math.max.apply(0,u[1])}}},Dw=function(r,e,t,i,n,a,o,s){if(!(Math.max(r,t)Math.max(n,o)||Math.max(e,i)Math.max(a,s))){var l=(r*i-e*t)*(n-o)-(r-t)*(n*s-a*o),u=(r*i-e*t)*(a-s)-(e-i)*(n*s-a*o),c=(r-t)*(a-s)-(e-i)*(n-o);if(c){var h=l/c,f=u/c,v=+h.toFixed(2),d=+f.toFixed(2);if(!(v<+Math.min(r,t).toFixed(2)||v>+Math.max(r,t).toFixed(2)||v<+Math.min(n,o).toFixed(2)||v>+Math.max(n,o).toFixed(2)||d<+Math.min(e,i).toFixed(2)||d>+Math.max(e,i).toFixed(2)||d<+Math.min(a,s).toFixed(2)||d>+Math.max(a,s).toFixed(2)))return{x:h,y:f}}}},Cr=function(r,e,t){return e>=r.x&&e<=r.x+r.width&&t>=r.y&&t<=r.y+r.height},Sp=function(r,e,t,i,n){if(n)return[["M",+r+ +n,e],["l",t-n*2,0],["a",n,n,0,0,1,n,n],["l",0,i-n*2],["a",n,n,0,0,1,-n,n],["l",n*2-t,0],["a",n,n,0,0,1,-n,-n],["l",0,n*2-i],["a",n,n,0,0,1,n,-n],["z"]];var a=[["M",r,e],["l",t,0],["l",0,i],["l",-t,0],["z"]];return a.parsePathArray=bp,a},iu=function(r,e,t,i){return r===null&&(r=e=t=i=0),e===null&&(e=r.y,t=r.width,i=r.height,r=r.x),{x:r,y:e,width:t,w:t,height:i,h:i,x2:r+t,y2:e+i,cx:r+t/2,cy:e+i/2,r1:Math.min(t,i)/2,r2:Math.max(t,i)/2,r0:Math.sqrt(t*t+i*i)/2,path:Sp(r,e,t,i),vb:[r,e,t,i].join(" ")}},Ow=function(r,e){return r=iu(r),e=iu(e),Cr(e,r.x,r.y)||Cr(e,r.x2,r.y)||Cr(e,r.x,r.y2)||Cr(e,r.x2,r.y2)||Cr(r,e.x,e.y)||Cr(r,e.x2,e.y)||Cr(r,e.x,e.y2)||Cr(r,e.x2,e.y2)||(r.xe.x||e.xr.x)&&(r.ye.y||e.yr.y)},_h=function(r,e,t,i,n,a,o,s){R(r)||(r=[r,e,t,i,n,a,o,s]);var l=Pw.apply(null,r);return iu(l.min.x,l.min.y,l.max.x-l.min.x,l.max.y-l.min.y)},qh=function(r,e,t,i,n,a,o,s,l){var u=1-l,c=Math.pow(u,3),h=Math.pow(u,2),f=l*l,v=f*l,d=c*r+h*3*l*t+u*3*l*l*n+v*o,p=c*e+h*3*l*i+u*3*l*l*a+v*s,g=r+2*l*(t-r)+f*(n-2*t+r),y=e+2*l*(i-e)+f*(a-2*i+e),x=t+2*l*(n-t)+f*(o-2*n+t),b=i+2*l*(a-i)+f*(s-2*a+i),w=u*r+l*t,S=u*e+l*i,M=u*n+l*o,F=u*a+l*s,T=90-Math.atan2(g-x,y-b)*180/Math.PI;return{x:d,y:p,m:{x:g,y},n:{x,y:b},start:{x:w,y:S},end:{x:M,y:F},alpha:T}},Bw=function(r,e,t){var i=_h(r),n=_h(e);if(!Ow(i,n))return t?0:[];for(var a=Wh.apply(0,r),o=Wh.apply(0,e),s=~~(a/8),l=~~(o/8),u=[],c=[],h={},f=t?0:[],v=0;v=0&&F<=1&&T>=0&&T<=1&&(t?f+=1:f.push({x:M.x,y:M.y,t1:F,t2:T}))}}return f},Rw=function(r,e,t){r=ru(r),e=ru(e);for(var i,n,a,o,s,l,u,c,h,f,v=t?0:[],d=0,p=r.length;d=3&&(h.length===3&&f.push("Q"),f=f.concat(h[1])),h.length===2&&f.push("L"),f=f.concat(h[h.length-1]),f});return c}var Vw=function(r,e,t){if(t===1)return[[].concat(r)];var i=[];if(e[0]==="L"||e[0]==="C"||e[0]==="Q")i=i.concat(Gw(r,e,t));else{var n=[].concat(r);n[0]==="M"&&(n[0]="L");for(var a=0;a<=t-1;a++)i.push(n)}return i},Yw=function(r,e){if(r.length===1)return r;var t=r.length-1,i=e.length-1,n=t/i,a=[];if(r.length===1&&r[0][0]==="M"){for(var o=0;o=0;l--)o=a[l].index,a[l].type==="add"?r.splice(o,0,[].concat(r[o])):r.splice(o,1)}i=r.length;var h=n-i;if(i0)t=hl(t,r[i-1],1);else{r[i]=e[i];break}r[i]=["Q"].concat(t.reduce(function(n,a){return n.concat(a)},[]));break;case"T":r[i]=["T"].concat(t[0]);break;case"C":if(t.length<3)if(i>0)t=hl(t,r[i-1],2);else{r[i]=e[i];break}r[i]=["C"].concat(t.reduce(function(n,a){return n.concat(a)},[]));break;case"S":if(t.length<2)if(i>0)t=hl(t,r[i-1],1);else{r[i]=e[i];break}r[i]=["S"].concat(t.reduce(function(n,a){return n.concat(a)},[]));break;default:r[i]=e[i]}return r};const nc=Object.freeze(Object.defineProperty({__proto__:null,catmullRomToBezier:tu,fillPath:Yw,fillPathByDiff:Cp,formatPath:nu,intersection:zw,parsePathArray:bp,parsePathString:Xi,pathToAbsolute:eu,pathToCurve:ru,rectPath:Sp},Symbol.toStringTag,{value:"Module"}));var Ta=function(){function r(e,t){this.bubbles=!0,this.target=null,this.currentTarget=null,this.delegateTarget=null,this.delegateObject=null,this.defaultPrevented=!1,this.propagationStopped=!1,this.shape=null,this.fromShape=null,this.toShape=null,this.propagationPath=[],this.type=e,this.name=e,this.originalEvent=t,this.timeStamp=t.timeStamp}return r.prototype.preventDefault=function(){this.defaultPrevented=!0,this.originalEvent.preventDefault&&this.originalEvent.preventDefault()},r.prototype.stopPropagation=function(){this.propagationStopped=!0},r.prototype.toString=function(){var e=this.type;return"[Event (type="+e+")]"},r.prototype.save=function(){},r.prototype.restore=function(){},r}();function Ap(r,e){var t=r.indexOf(e);t!==-1&&r.splice(t,1)}var Uh=typeof window<"u"&&typeof window.document<"u";function Fp(r,e){if(r.isCanvas())return!0;for(var t=e.getParent(),i=!1;t;){if(t===r){i=!0;break}t=t.getParent()}return i}function ra(r){return r.cfg.visible&&r.cfg.capture}var hs=function(r){E(e,r);function e(t){var i=r.call(this)||this;i.destroyed=!1;var n=i.getDefaultCfg();return i.cfg=mt(n,t),i}return e.prototype.getDefaultCfg=function(){return{}},e.prototype.get=function(t){return this.cfg[t]},e.prototype.set=function(t,i){this.cfg[t]=i},e.prototype.destroy=function(){this.cfg={destroyed:!0},this.off(),this.destroyed=!0},e}(rc),jh=function(r,e,t){if(t||arguments.length===2)for(var i=0,n=e.length,a;i"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new jw:typeof navigator<"u"?t1(navigator.userAgent):r1()}function Jw(r){return r!==""&&Kw.reduce(function(e,t){var i=t[0],n=t[1];if(e)return e;var a=n.exec(r);return!!a&&[i,a]},!1)}function t1(r){var e=Jw(r);if(!e)return null;var t=e[0],i=e[1];if(t==="searchbot")return new Uw;var n=i[1]&&i[1].split(".").join("_").split("_").slice(0,3);n?n.length=0;return t?n?Math.PI*2-i:i:n?i:Math.PI*2-i}function Kh(r,e){var t=[],i=r[0],n=r[1],a=r[2],o=r[3],s=r[4],l=r[5],u=r[6],c=r[7],h=r[8],f=e[0],v=e[1],d=e[2],p=e[3],g=e[4],y=e[5],x=e[6],b=e[7],w=e[8];return t[0]=f*i+v*o+d*u,t[1]=f*n+v*s+d*c,t[2]=f*a+v*l+d*h,t[3]=p*i+g*o+y*u,t[4]=p*n+g*s+y*c,t[5]=p*a+g*l+y*h,t[6]=x*i+b*o+w*u,t[7]=x*n+b*s+w*c,t[8]=x*a+b*l+w*h,t}function hr(r,e){var t=[],i=e[0],n=e[1];return t[0]=r[0]*i+r[3]*n+r[6],t[1]=r[1]*i+r[4]*n+r[7],t}function vs(r){var e=[],t=r[0],i=r[1],n=r[2],a=r[3],o=r[4],s=r[5],l=r[6],u=r[7],c=r[8],h=c*o-s*u,f=-c*a+s*l,v=u*a-o*l,d=t*h+i*f+n*v;return d?(d=1/d,e[0]=h*d,e[1]=(-c*i+n*u)*d,e[2]=(s*i-n*o)*d,e[3]=f*d,e[4]=(c*t-n*l)*d,e[5]=(-s*t+n*a)*d,e[6]=v*d,e[7]=(-u*t+i*l)*d,e[8]=(o*t-i*a)*d,e):null}var An=Rt,fl="matrix",c1=["zIndex","capture","visible","type"],h1=["repeat"],f1=":",v1="*";function d1(r){for(var e=[],t=0;to.delay&&C(e.toAttrs,function(s,l){a.call(o.toAttrs,l)&&(delete o.toAttrs[l],delete o.fromAttrs[l])})}),r}var kp=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;i.attrs={};var n=i.getDefaultAttrs();return mt(n,t.attrs),i.attrs=n,i.initAttrs(n),i.initAnimate(),i}return e.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},e.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},e.prototype.onCanvasChange=function(t){},e.prototype.initAttrs=function(t){},e.prototype.initAnimate=function(){this.set("animable",!0),this.set("animating",!1)},e.prototype.isGroup=function(){return!1},e.prototype.getParent=function(){return this.get("parent")},e.prototype.getCanvas=function(){return this.get("canvas")},e.prototype.attr=function(){for(var t,i=[],n=0;n0?a=y1(a,w):n.addAnimator(this),a.push(w),this.set("animations",a),this.set("_pause",{isPaused:!1})}},e.prototype.stopAnimate=function(t){var i=this;t===void 0&&(t=!0);var n=this.get("animations");C(n,function(a){t&&(a.onFrame?i.attr(a.onFrame(1)):i.attr(a.toAttrs)),a.callback&&a.callback()}),this.set("animating",!1),this.set("animations",[])},e.prototype.pauseAnimate=function(){var t=this.get("timeline"),i=this.get("animations"),n=t.getTime();return C(i,function(a){a._paused=!0,a._pauseTime=n,a.pauseCallback&&a.pauseCallback()}),this.set("_pause",{isPaused:!0,pauseTime:n}),this},e.prototype.resumeAnimate=function(){var t=this.get("timeline"),i=t.getTime(),n=this.get("animations"),a=this.get("_pause").pauseTime;return C(n,function(o){o.startTime=o.startTime+(i-a),o._paused=!1,o._pauseTime=null,o.resumeCallback&&o.resumeCallback()}),this.set("_pause",{isPaused:!1}),this.set("animations",n),this},e.prototype.emitDelegation=function(t,i){var n=this,a=i.propagationPath;this.getEvents();var o;t==="mouseenter"?o=i.fromShape:t==="mouseleave"&&(o=i.toShape);for(var s=function(h){var f=a[h],v=f.get("name");if(v){if((f.isGroup()||f.isCanvas&&f.isCanvas())&&o&&Fp(f,o))return"break";R(v)?C(v,function(d){n.emitDelegateEvent(f,d,i)}):l.emitDelegateEvent(f,v,i)}},l=this,u=0;u0)});o.length>0?C(o,function(l){var u=l.getBBox(),c=u.minX,h=u.maxX,f=u.minY,v=u.maxY;ci&&(i=h),fa&&(a=v)}):(t=0,i=0,n=0,a=0);var s={x:t,y:n,minX:t,minY:n,maxX:i,maxY:a,width:i-t,height:a-n};return s},e.prototype.getCanvasBBox=function(){var t=1/0,i=-1/0,n=1/0,a=-1/0,o=this.getChildren().filter(function(l){return l.get("visible")&&(!l.isGroup()||l.isGroup()&&l.getChildren().length>0)});o.length>0?C(o,function(l){var u=l.getCanvasBBox(),c=u.minX,h=u.maxX,f=u.minY,v=u.maxY;ci&&(i=h),fa&&(a=v)}):(t=0,i=0,n=0,a=0);var s={x:t,y:n,minX:t,minY:n,maxX:i,maxY:a,width:i-t,height:a-n};return s},e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return t.children=[],t},e.prototype.onAttrChange=function(t,i,n){if(r.prototype.onAttrChange.call(this,t,i,n),t==="matrix"){var a=this.getTotalMatrix();this._applyChildrenMarix(a)}},e.prototype.applyMatrix=function(t){var i=this.getTotalMatrix();r.prototype.applyMatrix.call(this,t);var n=this.getTotalMatrix();n!==i&&this._applyChildrenMarix(n)},e.prototype._applyChildrenMarix=function(t){var i=this.getChildren();C(i,function(n){n.applyMatrix(t)})},e.prototype.addShape=function(){for(var t=[],i=0;i=0;s--){var l=t[s];if(ra(l)&&(l.isGroup()?o=l.getShape(i,n,a):l.isHit(i,n)&&(o=l)),o)break}return o},e.prototype.add=function(t){var i=this.getCanvas(),n=this.getChildren(),a=this.get("timeline"),o=t.getParent();o&&m1(o,t),t.set("parent",this),i&&Lp(t,i),a&&Ip(t,a),n.push(t),t.onCanvasChange("add"),this._applyElementMatrix(t)},e.prototype._applyElementMatrix=function(t){var i=this.getTotalMatrix();i&&t.applyMatrix(i)},e.prototype.getChildren=function(){return this.get("children")||[]},e.prototype.sort=function(){var t=this.getChildren();C(t,function(i,n){return i[au]=n,i}),t.sort(x1(function(i,n){return i.get("zIndex")-n.get("zIndex")})),this.onCanvasChange("sort")},e.prototype.clear=function(){if(this.set("clearing",!0),!this.destroyed){for(var t=this.getChildren(),i=t.length-1;i>=0;i--)t[i].destroy();this.set("children",[]),this.onCanvasChange("clear"),this.set("clearing",!1)}},e.prototype.destroy=function(){this.get("destroyed")||(this.clear(),r.prototype.destroy.call(this))},e.prototype.getFirst=function(){return this.getChildByIndex(0)},e.prototype.getLast=function(){var t=this.getChildren();return this.getChildByIndex(t.length-1)},e.prototype.getChildByIndex=function(t){var i=this.getChildren();return i[t]},e.prototype.getCount=function(){var t=this.getChildren();return t.length},e.prototype.contain=function(t){var i=this.getChildren();return i.indexOf(t)>-1},e.prototype.removeChild=function(t,i){i===void 0&&(i=!0),this.contain(t)&&t.remove(i)},e.prototype.findAll=function(t){var i=[],n=this.getChildren();return C(n,function(a){t(a)&&i.push(a),a.isGroup()&&(i=i.concat(a.findAll(t)))}),i},e.prototype.find=function(t){var i=null,n=this.getChildren();return C(n,function(a){if(t(a)?i=a:a.isGroup()&&(i=a.find(t)),i)return!1}),i},e.prototype.findById=function(t){return this.find(function(i){return i.get("id")===t})},e.prototype.findByClassName=function(t){return this.find(function(i){return i.get("className")===t})},e.prototype.findAllByName=function(t){return this.findAll(function(i){return i.get("name")===t})},e}(kp),en=0,Bn=0,Fn=0,Dp=1e3,zo,Rn,No=0,Si=0,ds=0,ia=typeof performance=="object"&&performance.now?performance:Date,Op=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(r){setTimeout(r,17)};function Bp(){return Si||(Op(w1),Si=ia.now()+ds)}function w1(){Si=0}function ou(){this._call=this._time=this._next=null}ou.prototype=Rp.prototype={constructor:ou,restart:function(r,e,t){if(typeof r!="function")throw new TypeError("callback is not a function");t=(t==null?Bp():+t)+(e==null?0:+e),!this._next&&Rn!==this&&(Rn?Rn._next=this:zo=this,Rn=this),this._call=r,this._time=t,su()},stop:function(){this._call&&(this._call=null,this._time=1/0,su())}};function Rp(r,e,t){var i=new ou;return i.restart(r,e,t),i}function b1(){Bp(),++en;for(var r=zo,e;r;)(e=Si-r._time)>=0&&r._call.call(null,e),r=r._next;--en}function tf(){Si=(No=ia.now())+ds,en=Bn=0;try{b1()}finally{en=0,C1(),Si=0}}function S1(){var r=ia.now(),e=r-No;e>Dp&&(ds-=e,No=r)}function C1(){for(var r,e=zo,t,i=1/0;e;)e._call?(i>e._time&&(i=e._time),r=e,e=e._next):(t=e._next,e._next=null,e=r?r._next=t:zo=t);Rn=r,su(i)}function su(r){if(!en){Bn&&(Bn=clearTimeout(Bn));var e=r-Si;e>24?(r<1/0&&(Bn=setTimeout(tf,r-ia.now()-ds)),Fn&&(Fn=clearInterval(Fn))):(Fn||(No=ia.now(),Fn=setInterval(S1,Dp)),en=1,Op(tf))}}function sc(r,e,t){r.prototype=e.prototype=t,t.constructor=r}function zp(r,e){var t=Object.create(r.prototype);for(var i in e)t[i]=e[i];return t}function Ea(){}var na=.7,Go=1/na,qi="\\s*([+-]?\\d+)\\s*",aa="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Qe="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",M1=/^#([0-9a-f]{3,8})$/,A1=new RegExp(`^rgb\\(${qi},${qi},${qi}\\)$`),F1=new RegExp(`^rgb\\(${Qe},${Qe},${Qe}\\)$`),T1=new RegExp(`^rgba\\(${qi},${qi},${qi},${aa}\\)$`),E1=new RegExp(`^rgba\\(${Qe},${Qe},${Qe},${aa}\\)$`),k1=new RegExp(`^hsl\\(${aa},${Qe},${Qe}\\)$`),L1=new RegExp(`^hsla\\(${aa},${Qe},${Qe},${aa}\\)$`),ef={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};sc(Ea,oa,{copy(r){return Object.assign(new this.constructor,this,r)},displayable(){return this.rgb().displayable()},hex:rf,formatHex:rf,formatHex8:I1,formatHsl:P1,formatRgb:nf,toString:nf});function rf(){return this.rgb().formatHex()}function I1(){return this.rgb().formatHex8()}function P1(){return Np(this).formatHsl()}function nf(){return this.rgb().formatRgb()}function oa(r){var e,t;return r=(r+"").trim().toLowerCase(),(e=M1.exec(r))?(t=e[1].length,e=parseInt(e[1],16),t===6?af(e):t===3?new he(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):t===8?qa(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):t===4?qa(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=A1.exec(r))?new he(e[1],e[2],e[3],1):(e=F1.exec(r))?new he(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=T1.exec(r))?qa(e[1],e[2],e[3],e[4]):(e=E1.exec(r))?qa(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=k1.exec(r))?lf(e[1],e[2]/100,e[3]/100,1):(e=L1.exec(r))?lf(e[1],e[2]/100,e[3]/100,e[4]):ef.hasOwnProperty(r)?af(ef[r]):r==="transparent"?new he(NaN,NaN,NaN,0):null}function af(r){return new he(r>>16&255,r>>8&255,r&255,1)}function qa(r,e,t,i){return i<=0&&(r=e=t=NaN),new he(r,e,t,i)}function D1(r){return r instanceof Ea||(r=oa(r)),r?(r=r.rgb(),new he(r.r,r.g,r.b,r.opacity)):new he}function lu(r,e,t,i){return arguments.length===1?D1(r):new he(r,e,t,i??1)}function he(r,e,t,i){this.r=+r,this.g=+e,this.b=+t,this.opacity=+i}sc(he,lu,zp(Ea,{brighter(r){return r=r==null?Go:Math.pow(Go,r),new he(this.r*r,this.g*r,this.b*r,this.opacity)},darker(r){return r=r==null?na:Math.pow(na,r),new he(this.r*r,this.g*r,this.b*r,this.opacity)},rgb(){return this},clamp(){return new he(di(this.r),di(this.g),di(this.b),Vo(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:of,formatHex:of,formatHex8:O1,formatRgb:sf,toString:sf}));function of(){return`#${li(this.r)}${li(this.g)}${li(this.b)}`}function O1(){return`#${li(this.r)}${li(this.g)}${li(this.b)}${li((isNaN(this.opacity)?1:this.opacity)*255)}`}function sf(){const r=Vo(this.opacity);return`${r===1?"rgb(":"rgba("}${di(this.r)}, ${di(this.g)}, ${di(this.b)}${r===1?")":`, ${r})`}`}function Vo(r){return isNaN(r)?1:Math.max(0,Math.min(1,r))}function di(r){return Math.max(0,Math.min(255,Math.round(r)||0))}function li(r){return r=di(r),(r<16?"0":"")+r.toString(16)}function lf(r,e,t,i){return i<=0?r=e=t=NaN:t<=0||t>=1?r=e=NaN:e<=0&&(r=NaN),new ze(r,e,t,i)}function Np(r){if(r instanceof ze)return new ze(r.h,r.s,r.l,r.opacity);if(r instanceof Ea||(r=oa(r)),!r)return new ze;if(r instanceof ze)return r;r=r.rgb();var e=r.r/255,t=r.g/255,i=r.b/255,n=Math.min(e,t,i),a=Math.max(e,t,i),o=NaN,s=a-n,l=(a+n)/2;return s?(e===a?o=(t-i)/s+(t0&&l<1?0:o,new ze(o,s,l,r.opacity)}function B1(r,e,t,i){return arguments.length===1?Np(r):new ze(r,e,t,i??1)}function ze(r,e,t,i){this.h=+r,this.s=+e,this.l=+t,this.opacity=+i}sc(ze,B1,zp(Ea,{brighter(r){return r=r==null?Go:Math.pow(Go,r),new ze(this.h,this.s,this.l*r,this.opacity)},darker(r){return r=r==null?na:Math.pow(na,r),new ze(this.h,this.s,this.l*r,this.opacity)},rgb(){var r=this.h%360+(this.h<0)*360,e=isNaN(r)||isNaN(this.s)?0:this.s,t=this.l,i=t+(t<.5?t:1-t)*e,n=2*t-i;return new he(vl(r>=240?r-240:r+120,n,i),vl(r,n,i),vl(r<120?r+240:r-120,n,i),this.opacity)},clamp(){return new ze(uf(this.h),Ua(this.s),Ua(this.l),Vo(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const r=Vo(this.opacity);return`${r===1?"hsl(":"hsla("}${uf(this.h)}, ${Ua(this.s)*100}%, ${Ua(this.l)*100}%${r===1?")":`, ${r})`}`}}));function uf(r){return r=(r||0)%360,r<0?r+360:r}function Ua(r){return Math.max(0,Math.min(1,r||0))}function vl(r,e,t){return(r<60?e+(t-e)*r/60:r<180?t:r<240?e+(t-e)*(240-r)/60:e)*255}const lc=r=>()=>r;function R1(r,e){return function(t){return r+t*e}}function z1(r,e,t){return r=Math.pow(r,t),e=Math.pow(e,t)-r,t=1/t,function(i){return Math.pow(r+i*e,t)}}function N1(r){return(r=+r)==1?Gp:function(e,t){return t-e?z1(e,t,r):lc(isNaN(e)?t:e)}}function Gp(r,e){var t=e-r;return t?R1(r,t):lc(isNaN(r)?e:r)}const cf=function r(e){var t=N1(e);function i(n,a){var o=t((n=lu(n)).r,(a=lu(a)).r),s=t(n.g,a.g),l=t(n.b,a.b),u=Gp(n.opacity,a.opacity);return function(c){return n.r=o(c),n.g=s(c),n.b=l(c),n.opacity=u(c),n+""}}return i.gamma=r,i}(1);function Vp(r,e){e||(e=[]);var t=r?Math.min(e.length,r.length):0,i=e.slice(),n;return function(a){for(n=0;nt&&(a=e.slice(t,a),s[o]?s[o]+=a:s[++o]=a),(i=i[0])===(n=n[0])?s[o]?s[o]+=n:s[++o]=n:(s[++o]=null,l.push({i:o,x:uu(i,n)})),t=dl.lastIndex;return tu.length?(l=Xi(a[s]),u=Xi(n[s]),u=Cp(u,l),u=nu(u,l),e.fromAttrs.path=u,e.toAttrs.path=l):e.pathFormatted||(l=Xi(a[s]),u=Xi(n[s]),u=nu(u,l),e.fromAttrs.path=u,e.toAttrs.path=l,e.pathFormatted=!0),i[s]=[];for(var c=0;c0){for(var s=e.animators.length-1;s>=0;s--){if(i=e.animators[s],i.destroyed){e.removeAnimator(s);continue}if(!i.isAnimatePaused()){n=i.get("animations");for(var l=n.length-1;l>=0;l--)a=n[l],t=Cb(i,a,o),t&&(n.splice(l,1),t=!1,a.callback&&a.callback())}n.length===0&&e.removeAnimator(s)}var u=e.canvas.get("autoDraw");u||e.canvas.draw()}})},r.prototype.addAnimator=function(e){this.animators.push(e)},r.prototype.removeAnimator=function(e){this.animators.splice(e,1)},r.prototype.isAnimating=function(){return!!this.animators.length},r.prototype.stop=function(){this.timer&&this.timer.stop()},r.prototype.stopAllAnimations=function(e){e===void 0&&(e=!0),this.animators.forEach(function(t){t.stopAnimate(e)}),this.animators=[],this.canvas.draw()},r.prototype.getTime=function(){return this.current},r}(),Ab=40,wf=0,bf=["mousedown","mouseup","dblclick","mouseout","mouseover","mousemove","mouseleave","mouseenter","touchstart","touchmove","touchend","dragenter","dragover","dragleave","drop","contextmenu","mousewheel"];function Sf(r,e,t){t.name=e,t.target=r,t.currentTarget=r,t.delegateTarget=r,r.emit(e,t)}function Fb(r,e,t){if(t.bubbles){var i=void 0,n=!1;if(e==="mouseenter"?(i=t.fromShape,n=!0):e==="mouseleave"&&(n=!0,i=t.toShape),r.isCanvas()&&n)return;if(i&&Fp(r,i)){t.bubbles=!1;return}t.name=e,t.currentTarget=r,t.delegateTarget=r,r.emit(e,t)}}var Tb=function(){function r(e){var t=this;this.draggingShape=null,this.dragging=!1,this.currentShape=null,this.mousedownShape=null,this.mousedownPoint=null,this._eventCallback=function(i){var n=i.type;t._triggerEvent(n,i)},this._onDocumentMove=function(i){var n=t.canvas,a=n.get("el");if(a!==i.target&&(t.dragging||t.currentShape)){var o=t._getPointInfo(i);t.dragging&&t._emitEvent("drag",i,o,t.draggingShape)}},this._onDocumentMouseUp=function(i){var n=t.canvas,a=n.get("el");if(a!==i.target&&t.dragging){var o=t._getPointInfo(i);t.draggingShape&&t._emitEvent("drop",i,o,null),t._emitEvent("dragend",i,o,t.draggingShape),t._afterDrag(t.draggingShape,o,i)}},this.canvas=e.canvas}return r.prototype.init=function(){this._bindEvents()},r.prototype._bindEvents=function(){var e=this,t=this.canvas.get("el");C(bf,function(i){t.addEventListener(i,e._eventCallback)}),document&&(document.addEventListener("mousemove",this._onDocumentMove),document.addEventListener("mouseup",this._onDocumentMouseUp))},r.prototype._clearEvents=function(){var e=this,t=this.canvas.get("el");C(bf,function(i){t.removeEventListener(i,e._eventCallback)}),document&&(document.removeEventListener("mousemove",this._onDocumentMove),document.removeEventListener("mouseup",this._onDocumentMouseUp))},r.prototype._getEventObj=function(e,t,i,n,a,o){var s=new Ta(e,t);return s.fromShape=a,s.toShape=o,s.x=i.x,s.y=i.y,s.clientX=i.clientX,s.clientY=i.clientY,s.propagationPath.push(n),s},r.prototype._getShape=function(e,t){return this.canvas.getShape(e.x,e.y,t)},r.prototype._getPointInfo=function(e){var t=this.canvas,i=t.getClientByEvent(e),n=t.getPointByEvent(e);return{x:n.x,y:n.y,clientX:i.x,clientY:i.y}},r.prototype._triggerEvent=function(e,t){var i=this._getPointInfo(t),n=this._getShape(i,t),a=this["_on"+e],o=!1;if(a)a.call(this,i,n,t);else{var s=this.currentShape;e==="mouseenter"||e==="dragenter"||e==="mouseover"?(this._emitEvent(e,t,i,null,null,n),n&&this._emitEvent(e,t,i,n,null,n),e==="mouseenter"&&this.draggingShape&&this._emitEvent("dragenter",t,i,null)):e==="mouseleave"||e==="dragleave"||e==="mouseout"?(o=!0,s&&this._emitEvent(e,t,i,s,s,null),this._emitEvent(e,t,i,null,s,null),e==="mouseleave"&&this.draggingShape&&this._emitEvent("dragleave",t,i,null)):this._emitEvent(e,t,i,n,null,null)}if(o||(this.currentShape=n),n&&!n.get("destroyed")){var l=this.canvas,u=l.get("el");u.style.cursor=n.attr("cursor")||l.get("cursor")}},r.prototype._onmousedown=function(e,t,i){i.button===wf&&(this.mousedownShape=t,this.mousedownPoint=e,this.mousedownTimeStamp=i.timeStamp),this._emitEvent("mousedown",i,e,t,null,null)},r.prototype._emitMouseoverEvents=function(e,t,i,n){var a=this.canvas.get("el");i!==n&&(i&&(this._emitEvent("mouseout",e,t,i,i,n),this._emitEvent("mouseleave",e,t,i,i,n),(!n||n.get("destroyed"))&&(a.style.cursor=this.canvas.get("cursor"))),n&&(this._emitEvent("mouseover",e,t,n,i,n),this._emitEvent("mouseenter",e,t,n,i,n)))},r.prototype._emitDragoverEvents=function(e,t,i,n,a){n?(n!==i&&(i&&this._emitEvent("dragleave",e,t,i,i,n),this._emitEvent("dragenter",e,t,n,i,n)),a||this._emitEvent("dragover",e,t,n)):i&&this._emitEvent("dragleave",e,t,i,i,n),a&&this._emitEvent("dragover",e,t,n)},r.prototype._afterDrag=function(e,t,i){e&&(e.set("capture",!0),this.draggingShape=null),this.dragging=!1;var n=this._getShape(t,i);n!==e&&this._emitMouseoverEvents(i,t,e,n),this.currentShape=n},r.prototype._onmouseup=function(e,t,i){if(i.button===wf){var n=this.draggingShape;this.dragging?(n&&this._emitEvent("drop",i,e,t),this._emitEvent("dragend",i,e,n),this._afterDrag(n,e,i)):(this._emitEvent("mouseup",i,e,t),t===this.mousedownShape&&this._emitEvent("click",i,e,t),this.mousedownShape=null,this.mousedownPoint=null)}},r.prototype._ondragover=function(e,t,i){i.preventDefault();var n=this.currentShape;this._emitDragoverEvents(i,e,n,t,!0)},r.prototype._onmousemove=function(e,t,i){var n=this.canvas,a=this.currentShape,o=this.draggingShape;if(this.dragging)o&&this._emitDragoverEvents(i,e,a,t,!1),this._emitEvent("drag",i,e,o);else{var s=this.mousedownPoint;if(s){var l=this.mousedownShape,u=i.timeStamp,c=u-this.mousedownTimeStamp,h=s.clientX-e.clientX,f=s.clientY-e.clientY,v=h*h+f*f;c>120||v>Ab?l&&l.get("draggable")?(o=this.mousedownShape,o.set("capture",!1),this.draggingShape=o,this.dragging=!0,this._emitEvent("dragstart",i,e,o),this.mousedownShape=null,this.mousedownPoint=null):!l&&n.get("draggable")?(this.dragging=!0,this._emitEvent("dragstart",i,e,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(i,e,a,t),this._emitEvent("mousemove",i,e,t)):(this._emitMouseoverEvents(i,e,a,t),this._emitEvent("mousemove",i,e,t))}else this._emitMouseoverEvents(i,e,a,t),this._emitEvent("mousemove",i,e,t)}},r.prototype._emitEvent=function(e,t,i,n,a,o){var s=this._getEventObj(e,t,i,n,a,o);if(n){s.shape=n,Sf(n,e,s);for(var l=n.getParent();l;)l.emitDelegation(e,s),s.propagationStopped||Fb(l,e,s),s.propagationPath.push(l),l=l.getParent()}else{var u=this.canvas;Sf(u,e,s)}},r.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},r}(),Cf="px",Mf=Tp(),Eb=Mf&&Mf.name==="firefox",ps=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;return i.initContainer(),i.initDom(),i.initEvents(),i.initTimeline(),i}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return t.cursor="default",t.supportCSSTransform=!1,t},e.prototype.initContainer=function(){var t=this.get("container");Q(t)&&(t=document.getElementById(t),this.set("container",t))},e.prototype.initDom=function(){var t=this.createDom();this.set("el",t);var i=this.get("container");i.appendChild(t),this.setDOMSize(this.get("width"),this.get("height"))},e.prototype.initEvents=function(){var t=new Tb({canvas:this});t.init(),this.set("eventController",t)},e.prototype.initTimeline=function(){var t=new Mb(this);this.set("timeline",t)},e.prototype.setDOMSize=function(t,i){var n=this.get("el");Uh&&(n.style.width=t+Cf,n.style.height=i+Cf)},e.prototype.changeSize=function(t,i){this.setDOMSize(t,i),this.set("width",t),this.set("height",i),this.onCanvasChange("changeSize")},e.prototype.getRenderer=function(){return this.get("renderer")},e.prototype.getCursor=function(){return this.get("cursor")},e.prototype.setCursor=function(t){this.set("cursor",t);var i=this.get("el");Uh&&i&&(i.style.cursor=t)},e.prototype.getPointByEvent=function(t){var i=this.get("supportCSSTransform");if(i){if(Eb&&!B(t.layerX)&&t.layerX!==t.offsetX)return{x:t.layerX,y:t.layerY};if(!B(t.offsetX))return{x:t.offsetX,y:t.offsetY}}var n=this.getClientByEvent(t),a=n.x,o=n.y;return this.getPointByClient(a,o)},e.prototype.getClientByEvent=function(t){var i=t;return t.touches&&(t.type==="touchend"?i=t.changedTouches[0]:i=t.touches[0]),{x:i.clientX,y:i.clientY}},e.prototype.getPointByClient=function(t,i){var n=this.get("el"),a=n.getBoundingClientRect();return{x:t-a.left,y:i-a.top}},e.prototype.getClientByPoint=function(t,i){var n=this.get("el"),a=n.getBoundingClientRect();return{x:t+a.left,y:i+a.top}},e.prototype.draw=function(){},e.prototype.removeDom=function(){var t=this.get("el");t.parentNode.removeChild(t)},e.prototype.clearEvents=function(){var t=this.get("eventController");t.destroy()},e.prototype.isCanvas=function(){return!0},e.prototype.getParent=function(){return null},e.prototype.destroy=function(){var t=this.get("timeline");this.get("destroyed")||(this.clear(),t&&t.stop(),this.clearEvents(),this.removeDom(),r.prototype.destroy.call(this))},e}(Pp),gs=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.isGroup=function(){return!0},e.prototype.isEntityGroup=function(){return!1},e.prototype.clone=function(){for(var t=r.prototype.clone.call(this),i=this.getChildren(),n=0;n=t&&n.minY<=i&&n.maxY>=i},e.prototype.afterAttrsChange=function(t){r.prototype.afterAttrsChange.call(this,t),this.clearCacheBBox()},e.prototype.getBBox=function(){var t=this.cfg.bbox;return t||(t=this.calculateBBox(),this.set("bbox",t)),t},e.prototype.getCanvasBBox=function(){var t=this.cfg.canvasBBox;return t||(t=this.calculateCanvasBBox(),this.set("canvasBBox",t)),t},e.prototype.applyMatrix=function(t){r.prototype.applyMatrix.call(this,t),this.set("canvasBBox",null)},e.prototype.calculateCanvasBBox=function(){var t=this.getBBox(),i=this.getTotalMatrix(),n=t.minX,a=t.minY,o=t.maxX,s=t.maxY;if(i){var l=hr(i,[t.minX,t.minY]),u=hr(i,[t.maxX,t.minY]),c=hr(i,[t.minX,t.maxY]),h=hr(i,[t.maxX,t.maxY]);n=Math.min(l[0],u[0],c[0],h[0]),o=Math.max(l[0],u[0],c[0],h[0]),a=Math.min(l[1],u[1],c[1],h[1]),s=Math.max(l[1],u[1],c[1],h[1])}var f=this.attrs;if(f.shadowColor){var v=f.shadowBlur,d=v===void 0?0:v,p=f.shadowOffsetX,g=p===void 0?0:p,y=f.shadowOffsetY,x=y===void 0?0:y,b=n-d+g,w=o+d+g,S=a-d+x,M=s+d+x;n=Math.min(n,b),o=Math.max(o,w),a=Math.min(a,S),s=Math.max(s,M)}return{x:n,y:a,minX:n,minY:a,maxX:o,maxY:s,width:o-n,height:s-a}},e.prototype.clearCacheBBox=function(){this.set("bbox",null),this.set("canvasBBox",null)},e.prototype.isClipShape=function(){return this.get("isClipShape")},e.prototype.isInShape=function(t,i){return!1},e.prototype.isOnlyHitBox=function(){return!1},e.prototype.isHit=function(t,i){var n=this.get("startArrowShape"),a=this.get("endArrowShape"),o=[t,i,1];o=this.invertFromMatrix(o);var s=o[0],l=o[1],u=this._isInBBox(s,l);return this.isOnlyHitBox()?u:!!(u&&!this.isClipped(s,l)&&(this.isInShape(s,l)||n&&n.isHit(s,l)||a&&a.isHit(s,l)))},e}(kp),qp=new Map;function Pe(r,e){qp.set(r,e)}function ms(r){return qp.get(r)}function Up(r){var e=r.attr(),t=e.x,i=e.y,n=e.width,a=e.height;return{x:t,y:i,width:n,height:a}}function jp(r){var e=r.attr(),t=e.x,i=e.y,n=e.r;return{x:t-n,y:i-n,width:n*2,height:n*2}}function te(r,e,t,i){var n=r-t,a=e-i;return Math.sqrt(n*n+a*a)}function Ao(r,e){return Math.abs(r-e)<.001}function pn(r,e){var t=Le(r),i=Le(e),n=be(r),a=be(e);return{x:t,y:i,width:n-t,height:a-i}}function xs(r){return(r+Math.PI*2)%(Math.PI*2)}const Wt={box:function(r,e,t,i){return pn([r,t],[e,i])},length:function(r,e,t,i){return te(r,e,t,i)},pointAt:function(r,e,t,i,n){return{x:(1-n)*r+n*t,y:(1-n)*e+n*i}},pointDistance:function(r,e,t,i,n,a){var o=(t-r)*(n-r)+(i-e)*(a-e);if(o<0)return te(r,e,n,a);var s=(t-r)*(t-r)+(i-e)*(i-e);return o>s?te(t,i,n,a):this.pointToLine(r,e,t,i,n,a)},pointToLine:function(r,e,t,i,n,a){var o=[t-r,i-e];if(Yx(o,[0,0]))return Math.sqrt((n-r)*(n-r)+(a-e)*(a-e));var s=[-o[1],o[0]];ap(s,s);var l=[n-r,a-e];return Math.abs($x(l,s))},tangentAngle:function(r,e,t,i){return Math.atan2(i-e,t-r)}};var kb=1e-4;function Zp(r,e,t,i,n,a){var o,s=1/0,l=[t,i],u=20;a&&a>200&&(u=a/10);for(var c=1/u,h=c/10,f=0;f<=u;f++){var v=f*c,d=[n.apply(null,r.concat([v])),n.apply(null,e.concat([v]))],p=te(l[0],l[1],d[0],d[1]);p=0&&p=0?[n]:[]}function Ff(r,e,t,i){return 2*(1-i)*(e-r)+2*i*(t-e)}function Qp(r,e,t,i,n,a,o){var s=Er(r,t,n,o),l=Er(e,i,a,o),u=Wt.pointAt(r,e,t,i,o),c=Wt.pointAt(t,i,n,a,o);return[[r,e,u.x,u.y,s,l],[s,l,c.x,c.y,n,a]]}function fu(r,e,t,i,n,a,o){if(o===0)return(te(r,e,t,i)+te(t,i,n,a)+te(r,e,n,a))/2;var s=Qp(r,e,t,i,n,a,.5),l=s[0],u=s[1];return l.push(o-1),u.push(o-1),fu.apply(null,l)+fu.apply(null,u)}const Kp={box:function(r,e,t,i,n,a){var o=Af(r,t,n)[0],s=Af(e,i,a)[0],l=[r,n],u=[e,a];return o!==void 0&&l.push(Er(r,t,n,o)),s!==void 0&&u.push(Er(e,i,a,s)),pn(l,u)},length:function(r,e,t,i,n,a){return fu(r,e,t,i,n,a,3)},nearestPoint:function(r,e,t,i,n,a,o,s){return Zp([r,t,n],[e,i,a],o,s,Er)},pointDistance:function(r,e,t,i,n,a,o,s){var l=this.nearestPoint(r,e,t,i,n,a,o,s);return te(l.x,l.y,o,s)},interpolationAt:Er,pointAt:function(r,e,t,i,n,a,o){return{x:Er(r,t,n,o),y:Er(e,i,a,o)}},divide:function(r,e,t,i,n,a,o){return Qp(r,e,t,i,n,a,o)},tangentAngle:function(r,e,t,i,n,a,o){var s=Ff(r,t,n,o),l=Ff(e,i,a,o),u=Math.atan2(l,s);return xs(u)}};function kr(r,e,t,i,n){var a=1-n;return a*a*a*r+3*e*n*a*a+3*t*n*n*a+i*n*n*n}function Tf(r,e,t,i,n){var a=1-n;return 3*(a*a*(e-r)+2*a*n*(t-e)+n*n*(i-t))}function pl(r,e,t,i){var n=-3*r+9*e-9*t+3*i,a=6*r-12*e+6*t,o=3*e-3*r,s=[],l,u,c;if(Ao(n,0))Ao(a,0)||(l=-o/a,l>=0&&l<=1&&s.push(l));else{var h=a*a-4*n*o;Ao(h,0)?s.push(-a/(2*n)):h>0&&(c=Math.sqrt(h),l=(-a+c)/(2*n),u=(-a-c)/(2*n),l>=0&&l<=1&&s.push(l),u>=0&&u<=1&&s.push(u))}return s}function Jp(r,e,t,i,n,a,o,s,l){var u=kr(r,t,n,o,l),c=kr(e,i,a,s,l),h=Wt.pointAt(r,e,t,i,l),f=Wt.pointAt(t,i,n,a,l),v=Wt.pointAt(n,a,o,s,l),d=Wt.pointAt(h.x,h.y,f.x,f.y,l),p=Wt.pointAt(f.x,f.y,v.x,v.y,l);return[[r,e,h.x,h.y,d.x,d.y,u,c],[u,c,p.x,p.y,v.x,v.y,o,s]]}function vu(r,e,t,i,n,a,o,s,l){if(l===0)return Lb([r,t,n,o],[e,i,a,s]);var u=Jp(r,e,t,i,n,a,o,s,.5),c=u[0],h=u[1];return c.push(l-1),h.push(l-1),vu.apply(null,c)+vu.apply(null,h)}const Hn={extrema:pl,box:function(r,e,t,i,n,a,o,s){for(var l=[r,o],u=[e,s],c=pl(r,t,n,o),h=pl(e,i,a,s),f=0;f0?t:t*-1}const Ib={box:function(r,e,t,i){return{x:r-t,y:e-i,width:t*2,height:i*2}},length:function(r,e,t,i){return Math.PI*(3*(t+i)-Math.sqrt((3*t+i)*(t+3*i)))},nearestPoint:function(r,e,t,i,n,a){var o=t,s=i;if(o===0||s===0)return{x:r,y:e};for(var l=n-r,u=a-e,c=Math.abs(l),h=Math.abs(u),f=o*o,v=s*s,d=Math.PI/4,p,g,y=0;y<4;y++){p=o*Math.cos(d),g=s*Math.sin(d);var x=(f-v)*Math.pow(Math.cos(d),3)/o,b=(v-f)*Math.pow(Math.sin(d),3)/s,w=p-x,S=g-b,M=c-x,F=h-b,T=Math.hypot(S,w),L=Math.hypot(F,M),k=T*Math.asin((w*F-S*M)/(T*L)),P=k/Math.sqrt(f+v-p*p-g*g);d+=P,d=Math.min(Math.PI/2,Math.max(0,d))}return{x:r+Ef(p,l),y:e+Ef(g,u)}},pointDistance:function(r,e,t,i,n,a){var o=this.nearestPoint(r,e,t,i,n,a);return te(o.x,o.y,n,a)},pointAt:function(r,e,t,i,n){var a=2*Math.PI*n;return{x:r+t*Math.cos(a),y:e+i*Math.sin(a)}},tangentAngle:function(r,e,t,i,n){var a=2*Math.PI*n,o=Math.atan2(i*Math.cos(a),-t*Math.sin(a));return xs(o)}};function Pb(r,e,t,i,n,a,o,s){return-1*t*Math.cos(n)*Math.sin(s)-i*Math.sin(n)*Math.cos(s)}function Db(r,e,t,i,n,a,o,s){return-1*t*Math.sin(n)*Math.sin(s)+i*Math.cos(n)*Math.cos(s)}function Ob(r,e,t){return Math.atan(-e/r*Math.tan(t))}function Bb(r,e,t){return Math.atan(e/(r*Math.tan(t)))}function kf(r,e,t,i,n,a){return t*Math.cos(n)*Math.cos(a)-i*Math.sin(n)*Math.sin(a)+r}function Lf(r,e,t,i,n,a){return t*Math.sin(n)*Math.cos(a)+i*Math.cos(n)*Math.sin(a)+e}function Rb(r,e,t,i){var n=Math.atan2(i*r,t*e);return(n+Math.PI*2)%(Math.PI*2)}function If(r,e,t){return{x:r*Math.cos(t),y:e*Math.sin(t)}}function Pf(r,e,t){var i=Math.cos(t),n=Math.sin(t);return[r*i-e*n,r*n+e*i]}const zb={box:function(r,e,t,i,n,a,o){for(var s=Ob(t,i,n),l=1/0,u=-1/0,c=[a,o],h=-Math.PI*2;h<=Math.PI*2;h+=Math.PI){var f=s+h;au&&(u=v)}for(var d=Bb(t,i,n),p=1/0,g=-1/0,y=[a,o],h=-Math.PI*2;h<=Math.PI*2;h+=Math.PI){var x=d+h;ag&&(g=b)}return{x:l,y:p,width:u-l,height:g-p}},length:function(r,e,t,i,n,a,o){},nearestPoint:function(r,e,t,i,n,a,o,s,l){var u=Pf(s-r,l-e,-n),c=u[0],h=u[1],f=Ib.nearestPoint(0,0,t,i,c,h),v=Rb(t,i,f.x,f.y);vo&&(f=If(t,i,o));var d=Pf(f.x,f.y,n);return{x:d[0]+r,y:d[1]+e}},pointDistance:function(r,e,t,i,n,a,o,s,l){var u=this.nearestPoint(r,e,t,i,s,l);return te(u.x,u.y,s,l)},pointAt:function(r,e,t,i,n,a,o,s){var l=(o-a)*s+a;return{x:kf(r,e,t,i,n,l),y:Lf(r,e,t,i,n,l)}},tangentAngle:function(r,e,t,i,n,a,o,s){var l=(o-a)*s+a,u=Pb(r,e,t,i,n,a,o,l),c=Db(r,e,t,i,n,a,o,l);return xs(Math.atan2(c,u))}};function tg(r){for(var e=0,t=[],i=0;i1||e<0||r.length<2)return null;var t=tg(r),i=t.segments,n=t.totalLength;if(n===0)return{x:r[0][0],y:r[0][1]};for(var a=0,o=null,s=0;s=a&&e<=a+h){var f=(e-a)/h;o=Wt.pointAt(u[0],u[1],c[0],c[1],f);break}a+=h}return o}function Vb(r,e){if(e>1||e<0||r.length<2)return 0;for(var t=tg(r),i=t.segments,n=t.totalLength,a=0,o=0,s=0;s=a&&e<=a+h){o=Math.atan2(c[1]-u[1],c[0]-u[0]);break}a+=h}return o}function Yb(r,e,t){for(var i=1/0,n=0;n1){var n=Xb(e,t);return e*i+n*(i-1)}return e}function Xb(r,e){return e?e-r:r*.14}function Wb(r,e){var t=ws(),i=0;if(B(r)||r==="")return i;if(t.save(),t.font=e,Q(r)&&r.includes(` +`)){var n=r.split(` +`);C(n,function(a){var o=t.measureText(a).width;i1){var n=t[0].charAt(0);t.splice(1,0,t[0].substr(1)),t[0]=n}C(t,function(a,o){isNaN(a)||(t[o]=+a)}),e[i]=t}),e}function Zb(r,e,t,i){var n=[],a=!!i,o,s,l,u,c,h,f;if(a){l=i[0],u=i[1];for(var v=0,d=r.length;v2&&(t.push([n].concat(o.splice(0,2))),s="l",n=n==="m"?"l":"L"),s==="o"&&o.length===1&&t.push([n,o[0]]),s==="r")t.push([n].concat(o));else for(;o.length>=e[s]&&(t.push([n].concat(o.splice(0,e[s]))),!!e[s]););return""}),t}var tS=/[a-z]/;function Of(r,e){return[e[0]+(e[0]-r[0]),e[1]+(e[1]-r[1])]}function ig(r){var e=rg(r);if(!e||!e.length)return[["M",0,0]];for(var t=!1,i=0;i=0){t=!0;break}}if(!t)return e;var a=[],o=0,s=0,l=0,u=0,c=0,h=e[0];(h[0]==="M"||h[0]==="m")&&(o=+h[1],s=+h[2],l=o,u=s,c++,a[0]=["M",o,s]);for(var i=c,f=e.length;i1&&(t*=Math.sqrt(v),i*=Math.sqrt(v));var d=t*t*(f*f)+i*i*(h*h),p=d?Math.sqrt((t*t*(i*i)-d)/d):1;a===o&&(p*=-1),isNaN(p)&&(p=0);var g=i?p*t*f/i:0,y=t?p*-i*h/t:0,x=(s+u)/2+Math.cos(n)*g-Math.sin(n)*y,b=(l+c)/2+Math.sin(n)*g+Math.cos(n)*y,w=[(h-g)/t,(f-y)/i],S=[(-1*h-g)/t,(-1*f-y)/i],M=Bf([1,0],w),F=Bf(w,S);return du(w,S)<=-1&&(F=Math.PI),du(w,S)>=1&&(F=0),o===0&&F>0&&(F=F-2*Math.PI),o===1&&F<0&&(F=F+2*Math.PI),{cx:x,cy:b,rx:pu(r,[u,c])?0:t,ry:pu(r,[u,c])?0:i,startAngle:M,endAngle:M+F,xRotation:n,arcFlag:a,sweepFlag:o}}function Rf(r,e){return[e[0]+(e[0]-r[0]),e[1]+(e[1]-r[1])]}function ng(r){r=jb(r);for(var e=[],t=null,i=null,n=null,a=0,o=r.length,s=0;s=e&&r<=t};function rS(r,e,t,i){var n=.001,a={x:t.x-r.x,y:t.y-r.y},o={x:e.x-r.x,y:e.y-r.y},s={x:i.x-t.x,y:i.y-t.y},l=o.x*s.y-o.y*s.x,u=l*l,c=o.x*o.x+o.y*o.y,h=s.x*s.x+s.y*s.y,f=null;if(u>n*c*h){var v=(a.x*s.y-a.y*s.x)/l,d=(a.x*o.y-a.y*o.x)/l;zf(v,0,1)&&zf(d,0,1)&&(f={x:r.x+v*o.x,y:r.y+v*o.y})}return f}var iS=1e-6;function yl(r){return Math.abs(r)0!=yl(s[1]-t)>0&&yl(e-(t-o[1])*(o[0]-s[0])/(o[1]-s[1])-o[0])<0&&(i=!i)}return i}function Gf(r){for(var e=[],t=r.length,i=0;i1){var o=r[0],s=r[t-1];e.push({from:{x:s[0],y:s[1]},to:{x:o[0],y:o[1]}})}return e}function aS(r,e){var t=!1;return C(r,function(i){if(rS(i.from,i.to,e.from,e.to))return t=!0,!1}),t}function Vf(r){var e=r.map(function(i){return i[0]}),t=r.map(function(i){return i[1]});return{minX:Math.min.apply(null,e),maxX:Math.max.apply(null,e),minY:Math.min.apply(null,t),maxY:Math.max.apply(null,t)}}function oS(r,e){return!(e.minX>r.maxX||e.maxXr.maxY||e.maxYMath.PI/2?Math.PI-u:u,c=c>Math.PI/2?Math.PI-c:c;var h={xExtra:Math.cos(l/2-u)*(e/2*(1/Math.sin(l/2)))-e/2||0,yExtra:Math.cos(c-l/2)*(e/2*(1/Math.sin(l/2)))-e/2||0};return h}function uS(r){var e=r.attr(),t=e.path,i=e.stroke,n=i?e.lineWidth:0,a=r.get("segments")||ng(t),o=lS(a,n),s=o.x,l=o.y,u=o.width,c=o.height,h={minX:s,minY:l,maxX:s+u,maxY:l+c};return h=vc(r,h),{x:h.minX,y:h.minY,width:h.maxX-h.minX,height:h.maxY-h.minY}}function cS(r){var e=r.attr(),t=e.x1,i=e.y1,n=e.x2,a=e.y2,o=Math.min(t,n),s=Math.max(t,n),l=Math.min(i,a),u=Math.max(i,a),c={minX:o,maxX:s,minY:l,maxY:u};return c=vc(r,c),{x:c.minX,y:c.minY,width:c.maxX-c.minX,height:c.maxY-c.minY}}function hS(r){var e=r.attr(),t=e.x,i=e.y,n=e.rx,a=e.ry;return{x:t-n,y:i-a,width:n*2,height:a*2}}Pe("rect",Up);Pe("image",Up);Pe("circle",jp);Pe("marker",jp);Pe("polyline",$b);Pe("polygon",Hb);Pe("text",_b);Pe("path",uS);Pe("line",cS);Pe("ellipse",hS);var Yf=0,fS=1/2,vS=1/2,dS=.05,Cs=function(){function r(e){var t=e.xField,i=e.yField,n=e.adjustNames,a=n===void 0?["x","y"]:n,o=e.dimValuesMap;this.adjustNames=a,this.xField=t,this.yField=i,this.dimValuesMap=o}return r.prototype.isAdjust=function(e){return this.adjustNames.indexOf(e)>=0},r.prototype.getAdjustRange=function(e,t,i){var n=this.yField,a=i.indexOf(t),o=i.length,s,l;return!n&&this.isAdjust("y")?(s=0,l=1):o>1?(s=i[a===0?0:a-1],l=i[a===o-1?o-1:a+1],a!==0?s+=(t-s)/2:s-=(l-t)/2,a!==o-1?l-=(l-t)/2:l+=(t-i[o-2])/2):(s=t===0?0:t-.5,l=t===0?1:t+.5),{pre:s,next:l}},r.prototype.adjustData=function(e,t){var i=this,n=this.getDimValues(t);C(e,function(a,o){C(n,function(s,l){i.adjustDim(l,s,a,o)})})},r.prototype.groupData=function(e,t){return C(e,function(i){i[t]===void 0&&(i[t]=Yf)}),me(e,t)},r.prototype.adjustDim=function(e,t,i,n){},r.prototype.getDimValues=function(e){var t=this,i=t.xField,n=t.yField,a=mt({},this.dimValuesMap),o=[];if(i&&this.isAdjust("x")&&o.push(i),n&&this.isAdjust("y")&&o.push(n),o.forEach(function(l){a&&a[l]||(a[l]=Ve(e,l).sort(function(u,c){return u-c}))}),!n&&this.isAdjust("y")){var s="y";a[s]=[Yf,1]}return a},r}(),ag={},og=function(r){return ag[r.toLowerCase()]},Ms=function(r,e){if(og(r))throw new Error("Adjust type '"+r+"' existed.");ag[r.toLowerCase()]=e};/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */var gu=function(r,e){return gu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])},gu(r,e)};function As(r,e){gu(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var je=function(){return je=Object.assign||function(e){for(var t,i=1,n=arguments.length;i=0){var d=this.getIntervalOnlyOffset(n,i);v=c+d}else if(!B(u)&&B(l)&&u>=0){var d=this.getDodgeOnlyOffset(n,i);v=c+d}else if(!B(l)&&!B(u)&&l>=0&&u>=0){var d=this.getIntervalAndDodgeOffset(n,i);v=c+d}else{var p=f*o/n,g=s*p,d=1/2*(f-n*p-(n-1)*g)+((i+1)*p+i*g)-1/2*p-1/2*f;v=(c+h)/2+d}return v},e.prototype.getIntervalOnlyOffset=function(t,i){var n=this,a=n.defaultSize,o=n.intervalPadding,s=n.xDimensionLegenth,l=n.groupNum,u=n.dodgeRatio,c=n.maxColumnWidth,h=n.minColumnWidth,f=n.columnWidthRatio,v=o/s,d=(1-(l-1)*v)/l*u/(t-1),p=((1-v*(l-1))/l-d*(t-1))/t;if(p=B(f)?p:1/l/t*f,!B(c)){var g=c/s;p=Math.min(p,g)}if(!B(h)){var y=h/s;p=Math.max(p,y)}p=a?a/s:p,d=((1-(l-1)*v)/l-t*p)/(t-1);var x=((1/2+i)*p+i*d+1/2*v)*l-v/2;return x},e.prototype.getDodgeOnlyOffset=function(t,i){var n=this,a=n.defaultSize,o=n.dodgePadding,s=n.xDimensionLegenth,l=n.groupNum,u=n.marginRatio,c=n.maxColumnWidth,h=n.minColumnWidth,f=n.columnWidthRatio,v=o/s,d=1*u/(l-1),p=((1-d*(l-1))/l-v*(t-1))/t;if(p=f?1/l/t*f:p,!B(c)){var g=c/s;p=Math.min(p,g)}if(!B(h)){var y=h/s;p=Math.max(p,y)}p=a?a/s:p,d=(1-(p*t+v*(t-1))*l)/(l-1);var x=((1/2+i)*p+i*v+1/2*d)*l-d/2;return x},e.prototype.getIntervalAndDodgeOffset=function(t,i){var n=this,a=n.intervalPadding,o=n.dodgePadding,s=n.xDimensionLegenth,l=n.groupNum,u=a/s,c=o/s,h=((1-u*(l-1))/l-c*(t-1))/t,f=((1/2+i)*h+i*c+1/2*u)*l-u/2;return f},e.prototype.getDistribution=function(t){var i=this.adjustDataArray,n=this.cacheMap,a=n[t];return a||(a={},C(i,function(o,s){var l=Ve(o,t);l.length||l.push(0),C(l,function(u){a[u]||(a[u]=[]),a[u].push(s)})}),n[t]=a),a},e}(Cs);function gS(r,e){return(e-r)*Math.random()+r}var yS=function(r){As(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.process=function(t){var i=re(t),n=we(i);return this.adjustData(i,n),i},e.prototype.adjustDim=function(t,i,n){var a=this,o=this.groupData(n,t);return C(o,function(s,l){return a.adjustGroup(s,t,parseFloat(l),i)})},e.prototype.getAdjustOffset=function(t){var i=t.pre,n=t.next,a=(n-i)*dS;return gS(i+a,n-a)},e.prototype.adjustGroup=function(t,i,n,a){var o=this,s=this.getAdjustRange(i,n,a);return C(t,function(l){l[i]=o.getAdjustOffset(s)}),t},e}(Cs),ml=xw,mS=function(r){As(e,r);function e(t){var i=r.call(this,t)||this,n=t.adjustNames,a=n===void 0?["y"]:n,o=t.height,s=o===void 0?NaN:o,l=t.size,u=l===void 0?10:l,c=t.reverseOrder,h=c===void 0?!1:c;return i.adjustNames=a,i.height=s,i.size=u,i.reverseOrder=h,i}return e.prototype.process=function(t){var i=this,n=i.yField,a=i.reverseOrder,o=n?this.processStack(t):this.processOneDimStack(t);return a?this.reverse(o):o},e.prototype.reverse=function(t){return t.slice(0).reverse()},e.prototype.processStack=function(t){var i=this,n=i.xField,a=i.yField,o=i.reverseOrder,s=o?this.reverse(t):t,l=new ml,u=new ml;return s.map(function(c){return c.map(function(h){var f,v=A(h,n,0),d=A(h,[a]),p=v.toString();if(d=R(d)?d[1]:d,!B(d)){var g=d>=0?l:u;g.has(p)||g.set(p,0);var y=g.get(p),x=d+y;return g.set(p,x),je(je({},h),(f={},f[a]=[y,x],f))}return h})})},e.prototype.processOneDimStack=function(t){var i=this,n=this,a=n.xField,o=n.height,s=n.reverseOrder,l="y",u=s?this.reverse(t):t,c=new ml;return u.map(function(h){return h.map(function(f){var v,d=i.size,p=f[a],g=d*2/o;c.has(p)||c.set(p,g/2);var y=c.get(p);return c.set(p,y+g),je(je({},f),(v={},v[l]=y,v))})})},e}(Cs),xS=function(r){As(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.process=function(t){var i=we(t),n=this,a=n.xField,o=n.yField,s=this.getXValuesMaxMap(i),l=Math.max.apply(Math,Object.keys(s).map(function(u){return s[u]}));return Mt(t,function(u){return Mt(u,function(c){var h,f,v=c[o],d=c[a];if(R(v)){var p=(l-s[d])/2;return je(je({},c),(h={},h[o]=Mt(v,function(y){return p+y}),h))}var g=(l-v)/2;return je(je({},c),(f={},f[o]=[g,v+g],f))})})},e.prototype.getXValuesMaxMap=function(t){var i=this,n=this,a=n.xField,o=n.yField,s=me(t,function(l){return l[a]});return pw(s,function(l){return i.getDimMaxValue(l,o)})},e.prototype.getDimMaxValue=function(t,i){var n=Mt(t,function(o){return A(o,i,[])}),a=we(n);return Math.max.apply(Math,a)},e}(Cs);Ms("Dodge",pS);Ms("Jitter",yS);Ms("Stack",mS);Ms("Symmetric",xS);var $f=function(r,e){return Q(e)?e:r.invert(r.scale(e))},ka=function(){function r(e){this.names=[],this.scales=[],this.linear=!1,this.values=[],this.callback=function(){return[]},this._parseCfg(e)}return r.prototype.mapping=function(){for(var e=this,t=[],i=0;i1?1:Number(e),i=r.length-1,n=Math.floor(i*t),a=i*t-n,o=r[n],s=n===i?o:r[n+1];return sg([xl(o,s,a,0),xl(o,s,a,1),xl(o,s,a,2)])},Ka,ug=function(r){if(r[0]==="#"&&r.length===7)return r;Ka||(Ka=AS()),Ka.style.color=r;var e=document.defaultView.getComputedStyle(Ka,"").getPropertyValue("color"),t=wS.exec(e),i=t[1].split(/\s*,\s*/).map(function(n){return Number(n)});return e=sg(i),e},TS=function(r){var e=Q(r)?r.split("-"):r,t=Mt(e,function(i){return lg(i.indexOf("#")===-1?ug(i):i)});return function(i){return FS(t,i)}},ES=function(r){if(MS(r)){var e,t=void 0;if(r[0]==="l"){var i=bS.exec(r),n=+i[1]+90;t=i[2],e="linear-gradient("+n+"deg, "}else if(r[0]==="r"){e="radial-gradient(";var i=SS.exec(r);t=i[4]}var a=t.match(CS);return C(a,function(o,s){var l=o.split(":");e+=l[1]+" "+l[0]*100+"%",s!==a.length-1&&(e+=", ")}),e+=")",e}return r};const zr={rgb2arr:lg,gradient:TS,toRGB:dn(ug),toCSSGradient:ES};var kS=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;return i.type="color",i.names=["color"],Q(i.values)&&(i.linear=!0),i.gradient=zr.gradient(i.values),i}return e.prototype.getLinearValue=function(t){return this.gradient(t)},e}(ka),LS=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;return i.type="opacity",i.names=["opacity"],i}return e}(ka),IS=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;return i.names=["x","y"],i.type="position",i}return e.prototype.mapping=function(t,i){var n=this.scales,a=n[0],o=n[1];return B(t)||B(i)?[]:[R(t)?t.map(function(s){return a.scale(s)}):a.scale(t),R(i)?i.map(function(s){return o.scale(s)}):o.scale(i)]},e}(ka),PS=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;return i.type="shape",i.names=["shape"],i}return e.prototype.getLinearValue=function(t){var i=Math.round((this.values.length-1)*t);return this.values[i]},e}(ka),DS=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;return i.type="size",i.names=["size"],i}return e}(ka),cg={};function OS(r){return cg[r]}function rr(r,e){cg[r]=e}var dc=function(){function r(e){this.type="base",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=e,this.initCfg(),this.init()}return r.prototype.translate=function(e){return e},r.prototype.change=function(e){mt(this.__cfg__,e),this.init()},r.prototype.clone=function(){return this.constructor(this.__cfg__)},r.prototype.getTicks=function(){var e=this;return Mt(this.ticks,function(t,i){return pt(t)?t:{text:e.getText(t,i),tickValue:t,value:e.scale(t)}})},r.prototype.getText=function(e,t){var i=this.formatter,n=i?i(e,t):e;return B(n)||!X(n.toString)?"":n.toString()},r.prototype.getConfig=function(e){return this.__cfg__[e]},r.prototype.init=function(){mt(this,this.__cfg__),this.setDomain(),fe(this.getConfig("ticks"))&&(this.ticks=this.calculateTicks())},r.prototype.initCfg=function(){},r.prototype.setDomain=function(){},r.prototype.calculateTicks=function(){var e=this.tickMethod,t=[];if(Q(e)){var i=OS(e);if(!i)throw new Error("There is no method to to calculate ticks!");t=i(this)}else X(e)&&(t=e(this));return t},r.prototype.rangeMin=function(){return this.range[0]},r.prototype.rangeMax=function(){return this.range[1]},r.prototype.calcPercent=function(e,t,i){return rt(e)?(e-t)/(i-t):NaN},r.prototype.calcValue=function(e,t,i){return t+e*(i-t)},r}(),Fs=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="cat",t.isCategory=!0,t}return e.prototype.buildIndexMap=function(){if(!this.translateIndexMap){this.translateIndexMap=new Map;for(var t=0;tthis.max?NaN:this.values[a]},e.prototype.getText=function(t){for(var i=[],n=1;n1?t-1:t}this.translateIndexMap&&(this.translateIndexMap=void 0)},e}(dc),hg=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,Tr="\\d\\d?",Mr="\\d\\d",BS="\\d{3}",RS="\\d{4}",Wn="[^\\s]+",fg=/\[([^]*?)\]/gm;function vg(r,e){for(var t=[],i=0,n=r.length;i-1?n:null}};function $r(r){for(var e=[],t=1;t3?0:(r-r%10!==10?1:0)*r%10]}},$o=$r({},pc),gg=function(r){return $o=$r($o,r)},Xf=function(r){return r.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},ne=function(r,e){for(e===void 0&&(e=2),r=String(r);r.length0?"-":"+")+ne(Math.floor(Math.abs(e)/60)*100+Math.abs(e)%60,4)},Z:function(r){var e=r.getTimezoneOffset();return(e>0?"-":"+")+ne(Math.floor(Math.abs(e)/60),2)+":"+ne(Math.abs(e)%60,2)}},Wf=function(r){return+r-1},_f=[null,Tr],qf=[null,Wn],Uf=["isPm",Wn,function(r,e){var t=r.toLowerCase();return t===e.amPm[0]?0:t===e.amPm[1]?1:null}],jf=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(r){var e=(r+"").match(/([+-]|\d\d)/gi);if(e){var t=+e[1]*60+parseInt(e[2],10);return e[0]==="+"?t:-t}return 0}],VS={D:["day",Tr],DD:["day",Mr],Do:["day",Tr+Wn,function(r){return parseInt(r,10)}],M:["month",Tr,Wf],MM:["month",Mr,Wf],YY:["year",Mr,function(r){var e=new Date,t=+(""+e.getFullYear()).substr(0,2);return+(""+(+r>68?t-1:t)+r)}],h:["hour",Tr,void 0,"isPm"],hh:["hour",Mr,void 0,"isPm"],H:["hour",Tr],HH:["hour",Mr],m:["minute",Tr],mm:["minute",Mr],s:["second",Tr],ss:["second",Mr],YYYY:["year",RS],S:["millisecond","\\d",function(r){return+r*100}],SS:["millisecond",Mr,function(r){return+r*10}],SSS:["millisecond",BS],d:_f,dd:_f,ddd:qf,dddd:qf,MMM:["month",Wn,Hf("monthNamesShort")],MMMM:["month",Wn,Hf("monthNames")],a:Uf,A:Uf,ZZ:jf,Z:jf},Ho={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},yg=function(r){return $r(Ho,r)},mg=function(r,e,t){if(e===void 0&&(e=Ho.default),t===void 0&&(t={}),typeof r=="number"&&(r=new Date(r)),Object.prototype.toString.call(r)!=="[object Date]"||isNaN(r.getTime()))throw new Error("Invalid Date pass to format");e=Ho[e]||e;var i=[];e=e.replace(fg,function(a,o){return i.push(o),"@@@"});var n=$r($r({},$o),t);return e=e.replace(hg,function(a){return GS[a](r,n)}),e.replace(/@@@/g,function(){return i.shift()})};function xg(r,e,t){if(t===void 0&&(t={}),typeof e!="string")throw new Error("Invalid format in fecha parse");if(e=Ho[e]||e,r.length>1e3)return null;var i=new Date,n={year:i.getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},a=[],o=[],s=e.replace(fg,function(w,S){return o.push(Xf(S)),"@@@"}),l={},u={};s=Xf(s).replace(hg,function(w){var S=VS[w],M=S[0],F=S[1],T=S[3];if(l[M])throw new Error("Invalid format. "+M+" specified twice in format");return l[M]=!0,T&&(u[T]=!0),a.push(S),"("+F+")"}),Object.keys(u).forEach(function(w){if(!l[w])throw new Error("Invalid format. "+w+" is required in specified format")}),s=s.replace(/@@@/g,function(){return o.shift()});var c=r.match(new RegExp(s,"i"));if(!c)return null;for(var h=$r($r({},$o),t),f=1;f11||n.month<0||n.day>31||n.day<1||n.hour>23||n.hour<0||n.minute>59||n.minute<0||n.second>59||n.second<0)return null;return y}var wg={format:mg,parse:xg,defaultI18n:pc,setGlobalDateI18n:gg,setGlobalDateMasks:yg};const YS=Object.freeze(Object.defineProperty({__proto__:null,assign:$r,default:wg,defaultI18n:pc,format:mg,parse:xg,setGlobalDateI18n:gg,setGlobalDateMasks:yg},Symbol.toStringTag,{value:"Module"}));function $S(r){return function(e,t,i,n){for(var a=B(i)?0:i,o=B(n)?e.length:n;a>>1;r(e[s])>t?o=s:a=s+1}return a}}var Zf="format";function bg(r,e){var t=YS[Zf]||wg[Zf];return t(r,e)}function Xo(r){return Q(r)&&(r.indexOf("T")>0?r=new Date(r).getTime():r=new Date(r.replace(/-/gi,"/")).getTime()),fp(r)&&(r=r.getTime()),r}var Re=1e3,pi=60*Re,gi=60*pi,fr=24*gi,_n=fr*31,Qf=fr*365,Tn=[["HH:mm:ss",Re],["HH:mm:ss",Re*10],["HH:mm:ss",Re*30],["HH:mm",pi],["HH:mm",pi*10],["HH:mm",pi*30],["HH",gi],["HH",gi*6],["HH",gi*12],["YYYY-MM-DD",fr],["YYYY-MM-DD",fr*4],["YYYY-WW",fr*7],["YYYY-MM",_n],["YYYY-MM",_n*4],["YYYY-MM",_n*6],["YYYY",fr*380]];function HS(r,e,t){var i=(e-r)/t,n=$S(function(o){return o[1]})(Tn,i)-1,a=Tn[n];return n<0?a=Tn[0]:n>=Tn.length&&(a=zt(Tn)),a}var XS=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="timeCat",t}return e.prototype.translate=function(t){t=Xo(t);var i=this.values.indexOf(t);return i===-1&&(rt(t)&&t-1){var a=this.values[n],o=this.formatter;return a=o?o(a,i):bg(a,this.mask),a}return t},e.prototype.initCfg=function(){this.tickMethod="time-cat",this.mask="YYYY-MM-DD",this.tickCount=7},e.prototype.setDomain=function(){var t=this.values;C(t,function(i,n){t[n]=Xo(i)}),t.sort(function(i,n){return i-n}),r.prototype.setDomain.call(this)},e}(Fs),Ts=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.isContinuous=!0,t}return e.prototype.scale=function(t){if(B(t))return NaN;var i=this.rangeMin(),n=this.rangeMax(),a=this.max,o=this.min;if(a===o)return i;var s=this.getScalePercent(t);return i+s*(n-i)},e.prototype.init=function(){r.prototype.init.call(this);var t=this.ticks,i=ye(t),n=zt(t);ithis.max&&(this.max=n),B(this.minLimit)||(this.min=i),B(this.maxLimit)||(this.max=n)},e.prototype.setDomain=function(){var t=lp(this.values),i=t.min,n=t.max;B(this.min)&&(this.min=i),B(this.max)&&(this.max=n),this.min>this.max&&(this.min=i,this.max=n)},e.prototype.calculateTicks=function(){var t=this,i=r.prototype.calculateTicks.call(this);return this.nice||(i=qt(i,function(n){return n>=t.min&&n<=t.max})),i},e.prototype.getScalePercent=function(t){var i=this.max,n=this.min;return(t-n)/(i-n)},e.prototype.getInvertPercent=function(t){return(t-this.rangeMin())/(this.rangeMax()-this.rangeMin())},e}(dc),Es=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="linear",t.isLinear=!0,t}return e.prototype.invert=function(t){var i=this.getInvertPercent(t);return this.min+i*(this.max-this.min)},e.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},e}(Ts);function Lr(r,e){var t=Math.E,i;return e>=0?i=Math.pow(t,Math.log(e)/r):i=Math.pow(t,Math.log(-e)/r)*-1,i}function Te(r,e){return r===1?1:Math.log(e)/Math.log(r)}function Sg(r,e,t){B(t)&&(t=Math.max.apply(null,r));var i=t;return C(r,function(n){n>0&&n1&&(i=1),i}var WS=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="log",t}return e.prototype.invert=function(t){var i=this.base,n=Te(i,this.max),a=this.rangeMin(),o=this.rangeMax()-a,s,l=this.positiveMin;if(l){if(t===0)return 0;s=Te(i,l/i);var u=1/(n-s)*o;if(t=0?1:-1;return Math.pow(s,n)*l},e.prototype.initCfg=function(){this.tickMethod="pow",this.exponent=2,this.tickCount=5,this.nice=!0},e.prototype.getScalePercent=function(t){var i=this.max,n=this.min;if(i===n)return 0;var a=this.exponent,o=(Lr(a,t)-Lr(a,n))/(Lr(a,i)-Lr(a,n));return o},e}(Ts),qS=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="time",t}return e.prototype.getText=function(t,i){var n=this.translate(t),a=this.formatter;return a?a(n,i):bg(n,this.mask)},e.prototype.scale=function(t){var i=t;return(Q(i)||fp(i))&&(i=this.translate(i)),r.prototype.scale.call(this,i)},e.prototype.translate=function(t){return Xo(t)},e.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},e.prototype.setDomain=function(){var t=this.values,i=this.getConfig("min"),n=this.getConfig("max");if((!B(i)||!rt(i))&&(this.min=this.translate(this.min)),(!B(n)||!rt(n))&&(this.max=this.translate(this.max)),t&&t.length){var a=[],o=1/0,s=o,l=0;C(t,function(u){var c=Xo(u);if(isNaN(c))throw new TypeError("Invalid Time: "+u+" in time scale!");o>c?(s=o,o=c):s>c&&(s=c),l1&&(this.minTickInterval=s-o),B(i)&&(this.min=o),B(n)&&(this.max=l)}},e}(Es),Cg=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="quantize",t}return e.prototype.invert=function(t){var i=this.ticks,n=i.length,a=this.getInvertPercent(t),o=Math.floor(a*(n-1));if(o>=n-1)return zt(i);if(o<0)return ye(i);var s=i[o],l=i[o+1],u=o/(n-1),c=(o+1)/(n-1);return s+(a-u)/(c-u)*(l-s)},e.prototype.initCfg=function(){this.tickMethod="r-pretty",this.tickCount=5,this.nice=!0},e.prototype.calculateTicks=function(){var t=r.prototype.calculateTicks.call(this);return this.nice||(zt(t)!==this.max&&t.push(this.max),ye(t)!==this.min&&t.unshift(this.min)),t},e.prototype.getScalePercent=function(t){var i=this.ticks;if(tzt(i))return 1;var n=0;return C(i,function(a,o){if(t>=a)n=o;else return!1}),n/(i.length-1)},e}(Ts),US=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="quantile",t}return e.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},e}(Cg),Mg={};function yu(r){return Mg[r]}function ir(r,e){if(yu(r))throw new Error("type '"+r+"' existed.");Mg[r]=e}var jS=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="identity",t.isIdentity=!0,t}return e.prototype.calculateTicks=function(){return this.values},e.prototype.scale=function(t){return this.values[0]!==t&&rt(t)?t:this.range[0]},e.prototype.invert=function(t){var i=this.range;return ti[1]?NaN:this.values[0]},e}(dc);function Ag(r){var e=r.values,t=r.tickInterval,i=r.tickCount,n=r.showLast;if(rt(t)){var a=qt(e,function(d,p){return p%t===0}),o=zt(e);return n&&zt(a)!==o&&a.push(o),a}var s=e.length,l=r.min,u=r.max;if(B(l)&&(l=0),B(u)&&(u=e.length-1),!rt(i)||i>=s)return e.slice(l,u+1);if(i<=0||u<=0)return[];for(var c=i===1?s:Math.floor(s/(i-1)),h=[],f=l,v=0;v=u);v++)f=Math.min(l+v*c,u),v===i-1&&n?h.push(e[u]):h.push(e[f]);return h}function ZS(r){var e=r.min,t=r.max,i=r.nice,n=r.tickCount,a=new QS;return a.domain([e,t]),i&&a.nice(n),a.ticks(n)}var bl=5,Kf=Math.sqrt(50),Jf=Math.sqrt(10),tv=Math.sqrt(2),QS=function(){function r(){this._domain=[0,1]}return r.prototype.domain=function(e){return e?(this._domain=Array.from(e,Number),this):this._domain.slice()},r.prototype.nice=function(e){var t,i;e===void 0&&(e=bl);var n=this._domain.slice(),a=0,o=this._domain.length-1,s=this._domain[a],l=this._domain[o],u;return l0?(s=Math.floor(s/u)*u,l=Math.ceil(l/u)*u,u=Fo(s,l,e)):u<0&&(s=Math.ceil(s*u)/u,l=Math.floor(l*u)/u,u=Fo(s,l,e)),u>0?(n[a]=Math.floor(s/u)*u,n[o]=Math.ceil(l/u)*u,this.domain(n)):u<0&&(n[a]=Math.ceil(s*u)/u,n[o]=Math.floor(l*u)/u,this.domain(n)),this},r.prototype.ticks=function(e){return e===void 0&&(e=bl),KS(this._domain[0],this._domain[this._domain.length-1],e||bl)},r}();function KS(r,e,t){var i,n=-1,a,o,s;if(e=+e,r=+r,t=+t,r===e&&t>0)return[r];if((i=e0)for(r=Math.ceil(r/s),e=Math.floor(e/s),o=new Array(a=Math.ceil(e-r+1));++n=0?(a>=Kf?10:a>=Jf?5:a>=tv?2:1)*Math.pow(10,n):-Math.pow(10,-n)/(a>=Kf?10:a>=Jf?5:a>=tv?2:1)}function ev(r,e,t){var i;return t==="ceil"?i=Math.ceil(r/e):t==="floor"?i=Math.floor(r/e):i=Math.round(r/e),i*e}function gc(r,e,t){var i=ev(r,t,"floor"),n=ev(e,t,"ceil");i=ll(i,t),n=ll(n,t);for(var a=[],o=Math.max((n-i)/(Math.pow(2,12)-1),t),s=i;s<=n;s=s+o){var l=ll(s,o);a.push(l)}return{min:i,max:n,ticks:a}}function yc(r,e,t){var i,n=r.minLimit,a=r.maxLimit,o=r.min,s=r.max,l=r.tickCount,u=l===void 0?5:l,c=B(n)?B(e)?o:e:n,h=B(a)?B(t)?s:t:a;if(c>h&&(i=[c,h],h=i[0],c=i[1]),u<=2)return[c,h];for(var f=(h-c)/(u-1),v=[],d=0;d=0&&(l=1),1-s/(o-1)-t+l}function nC(r,e,t){var i=Vt(e),n=gp(e,r),a=1;return 1-n/(i-1)-t+a}function aC(r,e,t,i,n,a){var o=(r-1)/(a-n),s=(e-1)/(Math.max(a,i)-Math.min(t,n));return 2-Math.max(o/s,s/o)}function oC(r,e){return r>=e?2-(r-1)/(e-1):1}function sC(r,e,t,i){var n=e-r;return 1-.5*(Math.pow(e-i,2)+Math.pow(r-t,2))/Math.pow(.1*n,2)}function lC(r,e,t){var i=e-r;if(t>i){var n=(t-i)/2;return 1-Math.pow(n,2)/Math.pow(.1*i,2)}return 1}function uC(){return 1}function cC(r,e,t,i,n,a){t===void 0&&(t=5),i===void 0&&(i=!0),n===void 0&&(n=tC),a===void 0&&(a=[.25,.2,.5,.05]);var o=t<0?0:Math.round(t);if(Number.isNaN(r)||Number.isNaN(e)||typeof r!="number"||typeof e!="number"||!o)return{min:0,max:0,ticks:[]};if(e-r<1e-15||o===1)return{min:r,max:e,ticks:[r]};if(e-r>1e148){var s=t||5,l=(e-r)/s;return{min:r,max:e,ticks:Array(s).fill(null).map(function(_,et){return ii(r+l*et)})}}for(var u={score:-2,lmin:0,lmax:0,lstep:0},c=1;c<1/0;){for(var h=0;hu.score&&(!i||T<=r&&L>=e)&&(u.lmin=T,u.lmax=L,u.lstep=k,u.score=U)}y+=1}d+=1}}c+=1}var D=ii(u.lmax),N=ii(u.lmin),W=ii(u.lstep),$=Math.floor(rC((D-N)/W))+1,Y=new Array($);Y[0]=ii(N);for(var h=1;h<$;h++)Y[h]=ii(Y[h-1]+W);return{min:Math.min(r,ye(Y)),max:Math.max(e,zt(Y)),ticks:Y}}function hC(r){var e=r.min,t=r.max,i=r.tickCount,n=r.nice,a=r.tickInterval,o=r.minLimit,s=r.maxLimit,l=cC(e,t,i,n).ticks;return!B(o)||!B(s)?yc(r,ye(l),zt(l)):a?gc(e,t,a).ticks:l}function fC(r){var e=r.base,t=r.tickCount,i=r.min,n=r.max,a=r.values,o,s=Te(e,n);if(i>0)o=Math.floor(Te(e,i));else{var l=Sg(a,e,n);o=Math.floor(Te(e,l))}for(var u=s-o,c=Math.ceil(u/t),h=[],f=o;f=0?1:-1;return Math.pow(o,e)*s})}function dC(r,e){var t=r.length*e;return e===1?r[r.length-1]:e===0?r[0]:t%1!==0?r[Math.ceil(t)-1]:r.length%2===0?(r[t-1]+r[t])/2:r[t]}function pC(r){var e=r.tickCount,t=r.values;if(!t||!t.length)return[];for(var i=t.slice().sort(function(s,l){return s-l}),n=[],a=0;a1&&(n=n*Math.ceil(s)),i&&nQf)for(var l=Wo(t),u=Math.ceil(a/Qf),c=s;c<=l+u;c=c+u)o.push(xC(c));else if(a>_n)for(var h=Math.ceil(a/_n),f=mu(e),v=wC(e,t),c=0;c<=v+h;c=c+h)o.push(bC(s,c+f));else if(a>fr)for(var d=new Date(e),p=d.getFullYear(),g=d.getMonth(),y=d.getDate(),x=Math.ceil(a/fr),b=SC(e,t),c=0;cgi)for(var d=new Date(e),p=d.getFullYear(),g=d.getMonth(),x=d.getDate(),w=d.getHours(),S=Math.ceil(a/gi),M=CC(e,t),c=0;c<=M+S;c=c+S)o.push(new Date(p,g,x,w+c).getTime());else if(a>pi)for(var F=MC(e,t),T=Math.ceil(a/pi),c=0;c<=F+T;c=c+T)o.push(e+c*pi);else{var L=a;L=512&&console.warn("Notice: current ticks length("+o.length+') >= 512, may cause performance issues, even out of memory. Because of the configure "tickInterval"(in milliseconds, current is '+a+") is too small, increase the value to solve the problem!"),o}rr("cat",Ag);rr("time-cat",mC);rr("wilkinson-extended",hC);rr("r-pretty",gC);rr("time",yC);rr("time-pretty",AC);rr("log",fC);rr("pow",vC);rr("quantile",pC);rr("d3-linear",JS);ir("cat",Fs);ir("category",Fs);ir("identity",jS);ir("linear",Es);ir("log",WS);ir("pow",_S);ir("time",qS);ir("timeCat",XS);ir("quantize",Cg);ir("quantile",US);var Tg={},Eg=function(r){return Tg[r.toLowerCase()]},La=function(r,e){if(Eg(r))throw new Error("Attribute type '".concat(r,"' existed."));Tg[r.toLowerCase()]=e};La("Color",kS);La("Opacity",LS);La("Position",IS);La("Shape",PS);La("Size",DS);var mc=function(){function r(e){this.type="coordinate",this.isRect=!1,this.isHelix=!1,this.isPolar=!1,this.isReflectX=!1,this.isReflectY=!1;var t=e.start,i=e.end,n=e.matrix,a=n===void 0?[1,0,0,0,1,0,0,0,1]:n,o=e.isTransposed,s=o===void 0?!1:o;this.start=t,this.end=i,this.matrix=a,this.originalMatrix=Z([],a),this.isTransposed=s}return r.prototype.initial=function(){this.center={x:(this.start.x+this.end.x)/2,y:(this.start.y+this.end.y)/2},this.width=Math.abs(this.end.x-this.start.x),this.height=Math.abs(this.end.y-this.start.y)},r.prototype.update=function(e){mt(this,e),this.initial()},r.prototype.convertDim=function(e,t){var i,n=this[t],a=n.start,o=n.end;return this.isReflect(t)&&(i=[o,a],a=i[0],o=i[1]),a+e*(o-a)},r.prototype.invertDim=function(e,t){var i,n=this[t],a=n.start,o=n.end;return this.isReflect(t)&&(i=[o,a],a=i[0],o=i[1]),(e-a)/(o-a)},r.prototype.applyMatrix=function(e,t,i){i===void 0&&(i=0);var n=this.matrix,a=[e,t,i];return Jn(a,a,n),a},r.prototype.invertMatrix=function(e,t,i){i===void 0&&(i=0);var n=this.matrix,a=n1([0,0,0,0,0,0,0,0,0],n),o=[e,t,i];return a&&Jn(o,o,a),o},r.prototype.convert=function(e){var t=this.convertPoint(e),i=t.x,n=t.y,a=this.applyMatrix(i,n,1);return{x:a[0],y:a[1]}},r.prototype.invert=function(e){var t=this.invertMatrix(e.x,e.y,1);return this.invertPoint({x:t[0],y:t[1]})},r.prototype.rotate=function(e){var t=this.matrix,i=this.center;return Gi(t,t,[-i.x,-i.y]),ac(t,t,e),Gi(t,t,[i.x,i.y]),this},r.prototype.reflect=function(e){return e==="x"?this.isReflectX=!this.isReflectX:this.isReflectY=!this.isReflectY,this},r.prototype.scale=function(e,t){var i=this.matrix,n=this.center;return Gi(i,i,[-n.x,-n.y]),Ep(i,i,[e,t]),Gi(i,i,[n.x,n.y]),this},r.prototype.translate=function(e,t){var i=this.matrix;return Gi(i,i,[e,t]),this},r.prototype.transpose=function(){return this.isTransposed=!this.isTransposed,this},r.prototype.getCenter=function(){return this.center},r.prototype.getWidth=function(){return this.width},r.prototype.getHeight=function(){return this.height},r.prototype.getRadius=function(){return this.radius},r.prototype.isReflect=function(e){return e==="x"?this.isReflectX:this.isReflectY},r.prototype.resetMatrix=function(e){this.matrix=e||Z([],this.originalMatrix)},r}(),kg=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;return i.isRect=!0,i.type="cartesian",i.initial(),i}return e.prototype.initial=function(){r.prototype.initial.call(this);var t=this.start,i=this.end;this.x={start:t.x,end:i.x},this.y={start:t.y,end:i.y}},e.prototype.convertPoint=function(t){var i,n=t.x,a=t.y;return this.isTransposed&&(i=[a,n],n=i[0],a=i[1]),{x:this.convertDim(n,"x"),y:this.convertDim(a,"y")}},e.prototype.invertPoint=function(t){var i,n=this.invertDim(t.x,"x"),a=this.invertDim(t.y,"y");return this.isTransposed&&(i=[a,n],n=i[0],a=i[1]),{x:n,y:a}},e}(mc),FC=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;i.isHelix=!0,i.type="helix";var n=t.startAngle,a=n===void 0?1.25*Math.PI:n,o=t.endAngle,s=o===void 0?7.25*Math.PI:o,l=t.innerRadius,u=l===void 0?0:l,c=t.radius;return i.startAngle=a,i.endAngle=s,i.innerRadius=u,i.radius=c,i.initial(),i}return e.prototype.initial=function(){r.prototype.initial.call(this);var t=(this.endAngle-this.startAngle)/(2*Math.PI)+1,i=Math.min(this.width,this.height)/2;this.radius&&this.radius>=0&&this.radius<=1&&(i=i*this.radius),this.d=Math.floor(i*(1-this.innerRadius)/t),this.a=this.d/(Math.PI*2),this.x={start:this.startAngle,end:this.endAngle},this.y={start:this.innerRadius*i,end:this.innerRadius*i+this.d*.99}},e.prototype.convertPoint=function(t){var i,n=t.x,a=t.y;this.isTransposed&&(i=[a,n],n=i[0],a=i[1]);var o=this.convertDim(n,"x"),s=this.a*o,l=this.convertDim(a,"y");return{x:this.center.x+Math.cos(o)*(s+l),y:this.center.y+Math.sin(o)*(s+l)}},e.prototype.invertPoint=function(t){var i,n=this.d+this.y.start,a=Hx([0,0],[t.x,t.y],[this.center.x,this.center.y]),o=oc(a,[1,0],!0),s=o*this.a;$i(a)this.width/i?(s=this.width/i,this.circleCenter={x:this.center.x-(.5-a)*this.width,y:this.center.y-(.5-o)*s*n}):(s=this.height/n,this.circleCenter={x:this.center.x-(.5-a)*s*i,y:this.center.y-(.5-o)*this.height}),this.polarRadius=this.radius,this.radius?this.radius>0&&this.radius<=1?this.polarRadius=s*this.radius:(this.radius<=0||this.radius>s)&&(this.polarRadius=s):this.polarRadius=s,this.x={start:this.startAngle,end:this.endAngle},this.y={start:this.innerRadius*this.polarRadius,end:this.polarRadius}},e.prototype.getRadius=function(){return this.polarRadius},e.prototype.convertPoint=function(t){var i,n=this.getCenter(),a=t.x,o=t.y;return this.isTransposed&&(i=[o,a],a=i[0],o=i[1]),a=this.convertDim(a,"x"),o=this.convertDim(o,"y"),{x:n.x+Math.cos(a)*o,y:n.y+Math.sin(a)*o}},e.prototype.invertPoint=function(t){var i,n=this.getCenter(),a=[t.x-n.x,t.y-n.y],o=this,s=o.startAngle,l=o.endAngle;this.isReflect("x")&&(i=[l,s],s=i[0],l=i[1]);var u=[1,0,0,0,1,0,0,0,1];ac(u,u,s);var c=[1,0,0];Jn(c,c,u);var h=[c[0],c[1]],f=oc(h,a,l0?d:-d;var p=this.invertDim(v,"y"),g={x:0,y:0};return g.x=this.isTransposed?p:d,g.y=this.isTransposed?d:p,g},e.prototype.getCenter=function(){return this.circleCenter},e.prototype.getOneBox=function(){var t=this.startAngle,i=this.endAngle;if(Math.abs(i-t)>=Math.PI*2)return{minX:-1,maxX:1,minY:-1,maxY:1};for(var n=[0,Math.cos(t),Math.cos(i)],a=[0,Math.sin(t),Math.sin(i)],o=Math.min(t,i);o=0;i--)r.removeChild(e[i])}function IC(r,e){return!!r.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))}function la(r){var e=r.start,t=r.end,i=Math.min(e.x,t.x),n=Math.min(e.y,t.y),a=Math.max(e.x,t.x),o=Math.max(e.y,t.y);return{x:i,y:n,minX:i,minY:n,maxX:a,maxY:o,width:a-i,height:o-n}}function PC(r){var e=r.map(function(s){return s.x}),t=r.map(function(s){return s.y}),i=Math.min.apply(Math,e),n=Math.min.apply(Math,t),a=Math.max.apply(Math,e),o=Math.max.apply(Math,t);return{x:i,y:n,minX:i,minY:n,maxX:a,maxY:o,width:a-i,height:o-n}}function Ls(r,e,t,i){var n=r+t,a=e+i;return{x:r,y:e,width:t,height:i,minX:r,minY:e,maxX:isNaN(n)?0:n,maxY:isNaN(a)?0:a}}function yi(r,e,t){return(1-t)*r+e*t}function Ui(r,e,t){return{x:r.x+Math.cos(t)*e,y:r.y+Math.sin(t)*e}}function DC(r,e){var t=e.x-r.x,i=e.y-r.y;return Math.sqrt(t*t+i*i)}var qo=function(r,e,t){return t===void 0&&(t=Math.pow(Number.EPSILON,.5)),[r,e].includes(1/0)?Math.abs(r)===Math.abs(e):Math.abs(r-e)0?C(l,function(u){if(u.get("visible")){if(u.isGroup()&&u.get("children").length===0)return!0;var c=Og(u),h=u.applyToMatrix([c.minX,c.minY,1]),f=u.applyToMatrix([c.minX,c.maxY,1]),v=u.applyToMatrix([c.maxX,c.minY,1]),d=u.applyToMatrix([c.maxX,c.maxY,1]),p=Math.min(h[0],f[0],v[0],d[0]),g=Math.max(h[0],f[0],v[0],d[0]),y=Math.min(h[1],f[1],v[1],d[1]),x=Math.max(h[1],f[1],v[1],d[1]);pa&&(a=g),ys&&(s=x)}}):(n=0,a=0,o=0,s=0),i=Ls(n,o,a-n,s-o)}return t?OC(i,t):i}function BC(r,e){if(!(!r.getClip()&&!e.getClip())){var t=e.getClip();if(!t){r.setClip(null);return}var i={type:t.get("type"),attrs:t.attr()};r.setClip(i)}}function se(r){return r+"px"}function Bg(r,e,t,i){var n=DC(r,e),a=i/n,o=0;return t==="start"?o=0-a:t==="end"&&(o=1+a),{x:yi(r.x,e.x,o),y:yi(r.y,e.y,o)}}var RC={none:[],point:["x","y"],region:["start","end"],points:["points"],circle:["center","radius","startAngle","endAngle"]},Rg=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;return i.initCfg(),i}return e.prototype.getDefaultCfg=function(){return{id:"",name:"",type:"",locationType:"none",offsetX:0,offsetY:0,animate:!1,capture:!0,updateAutoRender:!1,animateOption:{appear:null,update:{duration:400,easing:"easeQuadInOut"},enter:{duration:400,easing:"easeQuadInOut"},leave:{duration:350,easing:"easeQuadIn"}},events:null,defaultCfg:{},visible:!0}},e.prototype.clear=function(){},e.prototype.update=function(t){var i=this,n=this.get("defaultCfg")||{};C(t,function(a,o){var s=i.get(o),l=a;s!==a&&(pt(a)&&n[o]&&(l=H({},n[o],a)),i.set(o,l))}),this.updateInner(t),this.afterUpdate(t)},e.prototype.updateInner=function(t){},e.prototype.afterUpdate=function(t){Vr(t,"visible")&&(t.visible?this.show():this.hide()),Vr(t,"capture")&&this.setCapture(t.capture)},e.prototype.getLayoutBBox=function(){return this.getBBox()},e.prototype.getLocationType=function(){return this.get("locationType")},e.prototype.getOffset=function(){return{offsetX:this.get("offsetX"),offsetY:this.get("offsetY")}},e.prototype.setOffset=function(t,i){this.update({offsetX:t,offsetY:i})},e.prototype.setLocation=function(t){var i=m({},t);this.update(i)},e.prototype.getLocation=function(){var t=this,i={},n=this.get("locationType"),a=RC[n];return C(a,function(o){i[o]=t.get(o)}),i},e.prototype.isList=function(){return!1},e.prototype.isSlider=function(){return!1},e.prototype.init=function(){},e.prototype.initCfg=function(){var t=this,i=this.get("defaultCfg");C(i,function(n,a){var o=t.get(a);if(pt(o)){var s=H({},n,o);t.set(a,s)}})},e}(hs),ei="update_status",zC=["visible","tip","delegateObject"],NC=["container","group","shapesMap","isRegister","isUpdating","destroyed"],Qt=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{container:null,shapesMap:{},group:null,capture:!0,isRegister:!1,isUpdating:!1,isInit:!0})},e.prototype.remove=function(){this.clear();var t=this.get("group");t.remove()},e.prototype.clear=function(){var t=this.get("group");t.clear(),this.set("shapesMap",{}),this.clearOffScreenCache(),this.set("isInit",!0)},e.prototype.getChildComponentById=function(t){var i=this.getElementById(t),n=i&&i.get("component");return n},e.prototype.getElementById=function(t){return this.get("shapesMap")[t]},e.prototype.getElementByLocalId=function(t){var i=this.getElementId(t);return this.getElementById(i)},e.prototype.getElementsByName=function(t){var i=[];return C(this.get("shapesMap"),function(n){n.get("name")===t&&i.push(n)}),i},e.prototype.getContainer=function(){return this.get("container")},e.prototype.updateInner=function(t){this.offScreenRender(),this.get("updateAutoRender")&&this.render()},e.prototype.render=function(){var t=this.get("offScreenGroup");t||(t=this.offScreenRender());var i=this.get("group");this.updateElements(t,i),this.deleteElements(),this.applyOffset(),this.get("eventInitted")||(this.initEvent(),this.set("eventInitted",!0)),this.set("isInit",!1)},e.prototype.show=function(){var t=this.get("group");t.show(),this.set("visible",!0)},e.prototype.hide=function(){var t=this.get("group");t.hide(),this.set("visible",!1)},e.prototype.setCapture=function(t){var i=this.get("group");i.set("capture",t),this.set("capture",t)},e.prototype.destroy=function(){this.removeEvent(),this.remove(),r.prototype.destroy.call(this)},e.prototype.getBBox=function(){return this.get("group").getCanvasBBox()},e.prototype.getLayoutBBox=function(){var t=this.get("group"),i=this.getInnerLayoutBBox(),n=t.getTotalMatrix();return n&&(i=LC(n,i)),i},e.prototype.on=function(t,i,n){var a=this.get("group");return a.on(t,i,n),this},e.prototype.off=function(t,i){var n=this.get("group");return n&&n.off(t,i),this},e.prototype.emit=function(t,i){var n=this.get("group");n.emit(t,i)},e.prototype.init=function(){r.prototype.init.call(this),this.get("group")||this.initGroup(),this.offScreenRender()},e.prototype.getInnerLayoutBBox=function(){return this.get("offScreenBBox")||this.get("group").getBBox()},e.prototype.delegateEmit=function(t,i){var n=this.get("group");i.target=n,n.emit(t,i),Ig(n,t,i)},e.prototype.createOffScreenGroup=function(){var t=this.get("group"),i=t.getGroupBase(),n=new i({delegateObject:this.getDelegateObject()});return n},e.prototype.applyOffset=function(){var t=this.get("offsetX"),i=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t,y:i})},e.prototype.initGroup=function(){var t=this.get("container");this.set("group",t.addGroup({id:this.get("id"),name:this.get("name"),capture:this.get("capture"),visible:this.get("visible"),isComponent:!0,component:this,delegateObject:this.getDelegateObject()}))},e.prototype.offScreenRender=function(){this.clearOffScreenCache();var t=this.createOffScreenGroup();return this.renderInner(t),this.set("offScreenGroup",t),this.set("offScreenBBox",Og(t)),t},e.prototype.addGroup=function(t,i){this.appendDelegateObject(t,i);var n=t.addGroup(i);return this.get("isRegister")&&this.registerElement(n),n},e.prototype.addShape=function(t,i){this.appendDelegateObject(t,i);var n=t.addShape(i);return this.get("isRegister")&&this.registerElement(n),n},e.prototype.addComponent=function(t,i){var n=i.id,a=i.component,o=yt(i,["id","component"]),s=new a(m(m({},o),{id:n,container:t,updateAutoRender:this.get("updateAutoRender")}));return s.init(),s.render(),this.get("isRegister")&&this.registerElement(s.get("group")),s},e.prototype.initEvent=function(){},e.prototype.removeEvent=function(){var t=this.get("group");t.off()},e.prototype.getElementId=function(t){var i=this.get("id"),n=this.get("name");return i+"-"+n+"-"+t},e.prototype.registerElement=function(t){var i=t.get("id");this.get("shapesMap")[i]=t},e.prototype.unregisterElement=function(t){var i=t.get("id");delete this.get("shapesMap")[i]},e.prototype.moveElementTo=function(t,i){var n=xc(i);t.attr("matrix",n)},e.prototype.addAnimation=function(t,i,n){var a=i.attr("opacity");B(a)&&(a=1),i.attr("opacity",0),i.animate({opacity:a},n)},e.prototype.removeAnimation=function(t,i,n){i.animate({opacity:0},n)},e.prototype.updateAnimation=function(t,i,n,a){i.animate(n,a)},e.prototype.updateElements=function(t,i){var n=this,a=this.get("animate"),o=this.get("animateOption"),s=t.getChildren().slice(0),l;C(s,function(u){var c=u.get("id"),h=n.getElementById(c),f=u.get("name");if(h)if(u.get("isComponent")){var v=u.get("component"),d=h.get("component"),p=tc(v.cfg,qx(fn(v.cfg),NC));d.update(p),h.set(ei,"update")}else{var g=n.getReplaceAttrs(h,u);a&&o.update?n.updateAnimation(f,h,g,o.update):h.attr(g),u.isGroup()&&n.updateElements(u,h),C(zC,function(w){h.set(w,u.get(w))}),BC(h,u),l=h,h.set(ei,"update")}else{i.add(u);var y=i.getChildren();if(y.splice(y.length-1,1),l){var x=y.indexOf(l);y.splice(x+1,0,u)}else y.unshift(u);if(n.registerElement(u),u.set(ei,"add"),u.get("isComponent")){var v=u.get("component");v.set("container",i)}else u.isGroup()&&n.registerNewGroup(u);if(l=u,a){var b=n.get("isInit")?o.appear:o.enter;b&&n.addAnimation(f,u,b)}}})},e.prototype.clearUpdateStatus=function(t){var i=t.getChildren();C(i,function(n){n.set(ei,null)})},e.prototype.clearOffScreenCache=function(){var t=this.get("offScreenGroup");t&&t.destroy(),this.set("offScreenGroup",null),this.set("offScreenBBox",null)},e.prototype.getDelegateObject=function(){var t,i=this.get("name"),n=(t={},t[i]=this,t.component=this,t);return n},e.prototype.appendDelegateObject=function(t,i){var n=t.get("delegateObject");i.delegateObject||(i.delegateObject={}),mt(i.delegateObject,n)},e.prototype.getReplaceAttrs=function(t,i){var n=t.attr(),a=i.attr();return C(n,function(o,s){a[s]===void 0&&(a[s]=void 0)}),a},e.prototype.registerNewGroup=function(t){var i=this,n=t.getChildren();C(n,function(a){i.registerElement(a),a.set(ei,"add"),a.isGroup()&&i.registerNewGroup(a)})},e.prototype.deleteElements=function(){var t=this,i=this.get("shapesMap"),n=[];C(i,function(s,l){!s.get(ei)||s.destroyed?n.push([l,s]):s.set(ei,null)});var a=this.get("animate"),o=this.get("animateOption");C(n,function(s){var l=s[0],u=s[1];if(!u.destroyed){var c=u.get("name");if(a&&o.leave){var h=mt({callback:function(){t.removeElement(u)}},o.leave);t.removeAnimation(c,u,h)}else t.removeElement(u)}delete i[l]})},e.prototype.removeElement=function(t){if(t.get("isGroup")){var i=t.get("component");i&&i.destroy()}t.remove()},e}(Rg),Sl="…";function GC(r){for(var e=0,t=0;t0&&r.charCodeAt(e)<128?1:2}function VC(r,e,t){t===void 0&&(t="tail");var i=r.length,n="";if(t==="tail"){for(var a=0,o=0;a=19968&&s<=40869?a+=2:a+=1}a>t&&(t=a,i=n)}return r[i].getBBox().width}function xu(r){if(r.length>HC)return XC(r);var e=0;return C(r,function(t){var i=t.getBBox(),n=i.width;e=0?f=VC(a,h,i):f=YC,f&&(e.attr("text",f),c=!0)}return c?e.set("tip",a):e.set("tip",null),c}function Is(r,e){var t=e.x,i=e.y,n=e.content,a=e.style,o=e.id,s=e.name,l=e.rotate,u=e.maxLength,c=e.autoEllipsis,h=e.isVertical,f=e.ellipsisPosition,v=e.background,d=r.addGroup({id:o+"-group",name:s+"-group",attrs:{x:t,y:i}}),p=d.addShape({type:"text",id:o,name:s,attrs:m({x:0,y:0,text:n},a)}),g=_o(A(v,"padding",0));if(u&&c){var y=u-(g[1]+g[3]);qn(!h,p,y,f)}if(v){var x=A(v,"style",{}),b=p.getCanvasBBox(),w=b.minX,S=b.minY,M=b.width,F=b.height,T=d.addShape("rect",{id:o+"-bg",name:o+"-bg",attrs:m({x:w-g[3],y:S-g[0],width:M+g[1]+g[3],height:F+g[0]+g[2]},x)});T.toBack()}wc(d,t,i),Dg(d,l,t,i)}const lt={fontFamily:` + BlinkMacSystemFont, "Segoe UI", Roboto,"Helvetica Neue", + Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", + SimSun, "sans-serif"`,textColor:"#2C3542",activeTextColor:"#333333",uncheckedColor:"#D8D8D8",lineColor:"#416180",regionColor:"#CCD7EB",verticalAxisRotate:-Math.PI/4,horizontalAxisRotate:Math.PI/4,descriptionIconStroke:"#fff",descriptionIconFill:"rgba(58, 73, 101, .25)"};var _C=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"annotation",type:"line",locationType:"region",start:null,end:null,style:{},text:null,defaultCfg:{style:{fill:lt.textColor,fontSize:12,textAlign:"center",textBaseline:"bottom",fontFamily:lt.fontFamily},text:{position:"center",autoRotate:!0,content:null,offsetX:0,offsetY:0,style:{stroke:lt.lineColor,lineWidth:1}}}})},e.prototype.renderInner=function(t){this.renderLine(t),this.get("text")&&this.renderLabel(t)},e.prototype.renderLine=function(t){var i=this.get("start"),n=this.get("end"),a=this.get("style");this.addShape(t,{type:"line",id:this.getElementId("line"),name:"annotation-line",attrs:m({x1:i.x,y1:i.y,x2:n.x,y2:n.y},a)})},e.prototype.getLabelPoint=function(t,i,n){var a;return n==="start"?a=0:n==="center"?a=.5:Q(n)&&n.indexOf("%")!==-1?a=parseInt(n,10)/100:rt(n)?a=n:a=1,(a>1||a<0)&&(a=1),{x:yi(t.x,i.x,a),y:yi(t.y,i.y,a)}},e.prototype.renderLabel=function(t){var i=this.get("text"),n=this.get("start"),a=this.get("end"),o=i.position,s=i.content,l=i.style,u=i.offsetX,c=i.offsetY,h=i.autoRotate,f=i.maxLength,v=i.autoEllipsis,d=i.ellipsisPosition,p=i.background,g=i.isVertical,y=g===void 0?!1:g,x=this.getLabelPoint(n,a,o),b=x.x+u,w=x.y+c,S={id:this.getElementId("line-text"),name:"annotation-line-text",x:b,y:w,content:s,style:l,maxLength:f,autoEllipsis:v,ellipsisPosition:d,background:p,isVertical:y};if(h){var M=[a.x-n.x,a.y-n.y];S.rotate=Math.atan2(M[1],M[0])}Is(t,S)},e}(Qt),qC=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"annotation",type:"text",locationType:"point",x:0,y:0,content:"",rotate:null,style:{},background:null,maxLength:null,autoEllipsis:!0,isVertical:!1,ellipsisPosition:"tail",defaultCfg:{style:{fill:lt.textColor,fontSize:12,textAlign:"center",textBaseline:"middle",fontFamily:lt.fontFamily}}})},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetLocation()},e.prototype.renderInner=function(t){var i=this.getLocation(),n=i.x,a=i.y,o=this.get("content"),s=this.get("style"),l=this.getElementId("text"),u=this.get("name")+"-text",c=this.get("maxLength"),h=this.get("autoEllipsis"),f=this.get("isVertical"),v=this.get("ellipsisPosition"),d=this.get("background"),p=this.get("rotate"),g={id:l,name:u,x:n,y:a,content:o,style:s,maxLength:c,autoEllipsis:h,isVertical:f,ellipsisPosition:v,background:d,rotate:p};Is(t,g)},e.prototype.resetLocation=function(){var t=this.getElementByLocalId("text-group");if(t){var i=this.getLocation(),n=i.x,a=i.y,o=this.get("rotate");wc(t,n,a),Dg(t,o,n,a)}},e}(Qt),UC=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"annotation",type:"arc",locationType:"circle",center:null,radius:100,startAngle:-Math.PI/2,endAngle:Math.PI*3/2,style:{stroke:"#999",lineWidth:1}})},e.prototype.renderInner=function(t){this.renderArc(t)},e.prototype.getArcPath=function(){var t=this.getLocation(),i=t.center,n=t.radius,a=t.startAngle,o=t.endAngle,s=Ui(i,n,a),l=Ui(i,n,o),u=o-a>Math.PI?1:0,c=[["M",s.x,s.y]];if(o-a===Math.PI*2){var h=Ui(i,n,a+Math.PI);c.push(["A",n,n,0,u,1,h.x,h.y]),c.push(["A",n,n,0,u,1,l.x,l.y])}else c.push(["A",n,n,0,u,1,l.x,l.y]);return c},e.prototype.renderArc=function(t){var i=this.getArcPath(),n=this.get("style");this.addShape(t,{type:"path",id:this.getElementId("arc"),name:"annotation-arc",attrs:m({path:i},n)})},e}(Qt),jC=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"annotation",type:"region",locationType:"region",start:null,end:null,style:{},defaultCfg:{style:{lineWidth:0,fill:lt.regionColor,opacity:.4}}})},e.prototype.renderInner=function(t){this.renderRegion(t)},e.prototype.renderRegion=function(t){var i=this.get("start"),n=this.get("end"),a=this.get("style"),o=la({start:i,end:n});this.addShape(t,{type:"rect",id:this.getElementId("region"),name:"annotation-region",attrs:m({x:o.x,y:o.y,width:o.width,height:o.height},a)})},e}(Qt),ZC=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"annotation",type:"image",locationType:"region",start:null,end:null,src:null,style:{}})},e.prototype.renderInner=function(t){this.renderImage(t)},e.prototype.getImageAttrs=function(){var t=this.get("start"),i=this.get("end"),n=this.get("style"),a=la({start:t,end:i}),o=this.get("src");return m({x:a.x,y:a.y,img:o,width:a.width,height:a.height},n)},e.prototype.renderImage=function(t){this.addShape(t,{type:"image",id:this.getElementId("image"),name:"annotation-image",attrs:this.getImageAttrs()})},e}(Qt),QC=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"annotation",type:"dataMarker",locationType:"point",x:0,y:0,point:{},line:{},text:{},direction:"upward",autoAdjust:!0,coordinateBBox:null,defaultCfg:{point:{display:!0,style:{r:3,fill:"#FFFFFF",stroke:"#1890FF",lineWidth:2}},line:{display:!0,length:20,style:{stroke:lt.lineColor,lineWidth:1}},text:{content:"",display:!0,style:{fill:lt.textColor,opacity:.65,fontSize:12,textAlign:"start",fontFamily:lt.fontFamily}}}})},e.prototype.renderInner=function(t){A(this.get("line"),"display")&&this.renderLine(t),A(this.get("text"),"display")&&this.renderText(t),A(this.get("point"),"display")&&this.renderPoint(t),this.get("autoAdjust")&&this.autoAdjust(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x")+this.get("offsetX"),y:this.get("y")+this.get("offsetY")})},e.prototype.renderPoint=function(t){var i=this.getShapeAttrs().point;this.addShape(t,{type:"circle",id:this.getElementId("point"),name:"annotation-point",attrs:i})},e.prototype.renderLine=function(t){var i=this.getShapeAttrs().line;this.addShape(t,{type:"path",id:this.getElementId("line"),name:"annotation-line",attrs:i})},e.prototype.renderText=function(t){var i=this.getShapeAttrs().text,n=i.x,a=i.y,o=i.text,s=yt(i,["x","y","text"]),l=this.get("text"),u=l.background,c=l.maxLength,h=l.autoEllipsis,f=l.isVertival,v=l.ellipsisPosition,d={x:n,y:a,id:this.getElementId("text"),name:"annotation-text",content:o,style:s,background:u,maxLength:c,autoEllipsis:h,isVertival:f,ellipsisPosition:v};Is(t,d)},e.prototype.autoAdjust=function(t){var i=this.get("direction"),n=this.get("x"),a=this.get("y"),o=A(this.get("line"),"length",0),s=this.get("coordinateBBox"),l=t.getBBox(),u=l.minX,c=l.maxX,h=l.minY,f=l.maxY,v=t.findById(this.getElementId("text-group")),d=t.findById(this.getElementId("text")),p=t.findById(this.getElementId("line"));if(s&&v){var g=v.attr("x"),y=v.attr("y"),x=d.getCanvasBBox(),b=x.width,w=x.height,S=0,M=0;if(n+u<=s.minX)if(i==="leftward")S=1;else{var F=s.minX-(n+u);g=v.attr("x")+F}else if(n+c>=s.maxX)if(i==="rightward")S=-1;else{var F=n+c-s.maxX;g=v.attr("x")-F}if(S&&(p&&p.attr("path",[["M",0,0],["L",o*S,0]]),g=(o+2+b)*S),a+h<=s.minY)if(i==="upward")M=1;else{var F=s.minY-(a+h);y=v.attr("y")+F}else if(a+f>=s.maxY)if(i==="downward")M=-1;else{var F=a+f-s.maxY;y=v.attr("y")-F}M&&(p&&p.attr("path",[["M",0,0],["L",0,o*M]]),y=(o+2+w)*M),(g!==v.attr("x")||y!==v.attr("y"))&&wc(v,g,y)}},e.prototype.getShapeAttrs=function(){var t=A(this.get("line"),"display"),i=A(this.get("point"),"style",{}),n=A(this.get("line"),"style",{}),a=A(this.get("text"),"style",{}),o=this.get("direction"),s=t?A(this.get("line"),"length",0):0,l=0,u=0,c="top",h="start";switch(o){case"upward":u=-1,c="bottom";break;case"downward":u=1,c="top";break;case"leftward":l=-1,h="end";break;case"rightward":l=1,h="start";break}return{point:m({x:0,y:0},i),line:m({path:[["M",0,0],["L",s*l,s*u]]},n),text:m({x:(s+2)*l,y:(s+2)*u,text:A(this.get("text"),"content",""),textBaseline:c,textAlign:h},a)}},e}(Qt),KC=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"annotation",type:"dataRegion",locationType:"points",points:[],lineLength:0,region:{},text:{},defaultCfg:{region:{style:{lineWidth:0,fill:lt.regionColor,opacity:.4}},text:{content:"",style:{textAlign:"center",textBaseline:"bottom",fontSize:12,fill:lt.textColor,fontFamily:lt.fontFamily}}}})},e.prototype.renderInner=function(t){var i=A(this.get("region"),"style",{});A(this.get("text"),"style",{});var n=this.get("lineLength")||0,a=this.get("points");if(a.length){var o=PC(a),s=[];s.push(["M",a[0].x,o.minY-n]),a.forEach(function(u){s.push(["L",u.x,u.y])}),s.push(["L",a[a.length-1].x,a[a.length-1].y-n]),this.addShape(t,{type:"path",id:this.getElementId("region"),name:"annotation-region",attrs:m({path:s},i)});var l=m({id:this.getElementId("text"),name:"annotation-text",x:(o.minX+o.maxX)/2,y:o.minY-n},this.get("text"));Is(t,l)}},e}(Qt),JC=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"annotation",type:"regionFilter",locationType:"region",start:null,end:null,color:null,shape:[]})},e.prototype.renderInner=function(t){var i=this,n=this.get("start"),a=this.get("end"),o=this.addGroup(t,{id:this.getElementId("region-filter"),capture:!1});C(this.get("shapes"),function(l,u){var c=l.get("type"),h=re(l.attr());i.adjustShapeAttrs(h),i.addShape(o,{id:i.getElementId("shape-"+c+"-"+u),capture:!1,type:c,attrs:h})});var s=la({start:n,end:a});o.setClip({type:"rect",attrs:{x:s.minX,y:s.minY,width:s.width,height:s.height}})},e.prototype.adjustShapeAttrs=function(t){var i=this.get("color");t.fill&&(t.fill=t.fillStyle=i),t.stroke=t.strokeStyle=i},e}(Qt),tM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"annotation",type:"shape",draw:Pr})},e.prototype.renderInner=function(t){var i=this.get("render");X(i)&&i(t)},e}(Qt),Sc=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{container:null,containerTpl:"
",updateAutoRender:!0,containerClassName:"",parent:null})},e.prototype.getContainer=function(){return this.get("container")},e.prototype.show=function(){var t=this.get("container");t.style.display="",this.set("visible",!0)},e.prototype.hide=function(){var t=this.get("container");t.style.display="none",this.set("visible",!1)},e.prototype.setCapture=function(t){var i=this.getContainer(),n=t?"auto":"none";i.style.pointerEvents=n,this.set("capture",t)},e.prototype.getBBox=function(){var t=this.getContainer(),i=parseFloat(t.style.left)||0,n=parseFloat(t.style.top)||0;return Ls(i,n,t.clientWidth,t.clientHeight)},e.prototype.clear=function(){var t=this.get("container");bc(t)},e.prototype.destroy=function(){this.removeEvent(),this.removeDom(),r.prototype.destroy.call(this)},e.prototype.init=function(){r.prototype.init.call(this),this.initContainer(),this.initDom(),this.resetStyles(),this.applyStyles(),this.initEvent(),this.initCapture(),this.initVisible()},e.prototype.initCapture=function(){this.setCapture(this.get("capture"))},e.prototype.initVisible=function(){this.get("visible")?this.show():this.hide()},e.prototype.initDom=function(){},e.prototype.initContainer=function(){var t=this.get("container");if(B(t)){t=this.createDom();var i=this.get("parent");Q(i)&&(i=document.getElementById(i),this.set("parent",i)),i.appendChild(t),this.get("containerId")&&t.setAttribute("id",this.get("containerId")),this.set("container",t)}else Q(t)&&(t=document.getElementById(t),this.set("container",t));this.get("parent")||this.set("parent",t.parentNode)},e.prototype.resetStyles=function(){var t=this.get("domStyles"),i=this.get("defaultStyles");t?t=H({},i,t):t=i,this.set("domStyles",t)},e.prototype.applyStyles=function(){var t=this.get("domStyles");if(t){var i=this.getContainer();this.applyChildrenStyles(i,t);var n=this.get("containerClassName");if(n&&IC(i,n)){var a=t[n];Kt(i,a)}}},e.prototype.applyChildrenStyles=function(t,i){C(i,function(n,a){var o=t.getElementsByClassName(a);C(o,function(s){Kt(s,n)})})},e.prototype.applyStyle=function(t,i){var n=this.get("domStyles");Kt(i,n[t])},e.prototype.createDom=function(){var t=this.get("containerTpl");return Rr(t)},e.prototype.initEvent=function(){},e.prototype.removeDom=function(){var t=this.get("container");t&&t.parentNode&&t.parentNode.removeChild(t)},e.prototype.removeEvent=function(){},e.prototype.updateInner=function(t){Vr(t,"domStyles")&&(this.resetStyles(),this.applyStyles()),this.resetPosition()},e.prototype.resetPosition=function(){},e}(Rg),eM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"annotation",type:"html",locationType:"point",x:0,y:0,containerTpl:'
',alignX:"left",alignY:"top",html:"",zIndex:7})},e.prototype.render=function(){var t=this.getContainer(),i=this.get("html");bc(t);var n=X(i)?i(t):i;if(vp(n))t.appendChild(n);else if(Q(n)||rt(n)){var a=Rr(""+n);a&&t.appendChild(a)}this.resetPosition()},e.prototype.resetPosition=function(){var t=this.getContainer(),i=this.getLocation(),n=i.x,a=i.y,o=this.get("alignX"),s=this.get("alignY"),l=this.get("offsetX"),u=this.get("offsetY"),c=Aw(t),h=Cw(t),f={x:n,y:a};o==="middle"?f.x-=Math.round(c/2):o==="right"&&(f.x-=Math.round(c)),s==="middle"?f.y-=Math.round(h/2):s==="bottom"&&(f.y-=Math.round(h)),l&&(f.x+=l),u&&(f.y+=u),Kt(t,{position:"absolute",left:f.x+"px",top:f.y+"px",zIndex:this.get("zIndex")})},e}(Sc);const rM=Object.freeze(Object.defineProperty({__proto__:null,Arc:UC,DataMarker:QC,DataRegion:KC,Html:eM,Image:ZC,Line:_C,Region:jC,RegionFilter:JC,Shape:tM,Text:qC},Symbol.toStringTag,{value:"Module"}));function zn(r,e,t){var i=e+"Style",n=null;return C(t,function(a,o){r[o]&&a[i]&&(n||(n={}),mt(n,a[i]))}),n}var zg=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"axis",ticks:[],line:{},tickLine:{},subTickLine:null,title:null,label:{},verticalFactor:1,verticalLimitLength:null,overlapOrder:["autoRotate","autoEllipsis","autoHide"],tickStates:{},optimize:{},defaultCfg:{line:{style:{lineWidth:1,stroke:lt.lineColor}},tickLine:{style:{lineWidth:1,stroke:lt.lineColor},alignTick:!0,length:5,displayWithLabel:!0},subTickLine:{style:{lineWidth:1,stroke:lt.lineColor},count:4,length:2},label:{autoRotate:!0,autoHide:!1,autoEllipsis:!1,style:{fontSize:12,fill:lt.textColor,fontFamily:lt.fontFamily,fontWeight:"normal"},offset:10,offsetX:0,offsetY:0},title:{autoRotate:!0,spacing:5,position:"center",style:{fontSize:12,fill:lt.textColor,textBaseline:"middle",fontFamily:lt.fontFamily,textAlign:"center"},iconStyle:{fill:lt.descriptionIconFill,stroke:lt.descriptionIconStroke},description:""},tickStates:{active:{labelStyle:{fontWeight:500},tickLineStyle:{lineWidth:2}},inactive:{labelStyle:{fill:lt.uncheckedColor}}},optimize:{enable:!0,threshold:400}},theme:{}})},e.prototype.renderInner=function(t){this.get("line")&&this.drawLine(t),this.drawTicks(t),this.get("title")&&this.drawTitle(t)},e.prototype.isList=function(){return!0},e.prototype.getItems=function(){return this.get("ticks")},e.prototype.setItems=function(t){this.update({ticks:t})},e.prototype.updateItem=function(t,i){mt(t,i),this.clear(),this.render()},e.prototype.clearItems=function(){var t=this.getElementByLocalId("label-group");t&&t.clear()},e.prototype.setItemState=function(t,i,n){t[i]=n,this.updateTickStates(t)},e.prototype.hasState=function(t,i){return!!t[i]},e.prototype.getItemStates=function(t){var i=this.get("tickStates"),n=[];return C(i,function(a,o){t[o]&&n.push(o)}),n},e.prototype.clearItemsState=function(t){var i=this,n=this.getItemsByState(t);C(n,function(a){i.setItemState(a,t,!1)})},e.prototype.getItemsByState=function(t){var i=this,n=this.getItems();return qt(n,function(a){return i.hasState(a,t)})},e.prototype.getSidePoint=function(t,i){var n=this,a=n.getSideVector(i,t);return{x:t.x+a[0],y:t.y+a[1]}},e.prototype.getTextAnchor=function(t){var i;return Xt(t[0],0)?i="center":t[0]>0?i="start":t[0]<0&&(i="end"),i},e.prototype.getTextBaseline=function(t){var i;return Xt(t[1],0)?i="middle":t[1]>0?i="top":t[1]<0&&(i="bottom"),i},e.prototype.processOverlap=function(t){},e.prototype.drawLine=function(t){var i=this.getLinePath(),n=this.get("line");this.addShape(t,{type:"path",id:this.getElementId("line"),name:"axis-line",attrs:mt({path:i},n.style)})},e.prototype.getTickLineItems=function(t){var i=this,n=[],a=this.get("tickLine"),o=a.alignTick,s=a.length,l=1,u=t.length;return u>=2&&(l=t[1].value-t[0].value),C(t,function(c){var h=c.point;o||(h=i.getTickPoint(c.value-l/2));var f=i.getSidePoint(h,s);n.push({startPoint:h,tickValue:c.value,endPoint:f,tickId:c.id,id:"tickline-"+c.id})}),n},e.prototype.getSubTickLineItems=function(t){var i=[],n=this.get("subTickLine"),a=n.count,o=t.length;if(o>=2)for(var s=0;s0){var n=Vt(i);if(n>t.threshold){var a=Math.ceil(n/t.threshold),o=i.filter(function(s,l){return l%a===0});this.set("ticks",o),this.set("originalTicks",i)}}},e.prototype.getLabelAttrs=function(t,i,n){var a=this.get("label"),o=a.offset,s=a.offsetX,l=a.offsetY,u=a.rotate,c=a.formatter,h=this.getSidePoint(t.point,o),f=this.getSideVector(o,h),v=c?c(t.name,t,i):t.name,d=a.style;d=X(d)?A(this.get("theme"),["label","style"],{}):d;var p=mt({x:h.x+s,y:h.y+l,text:v,textAlign:this.getTextAnchor(f),textBaseline:this.getTextBaseline(f)},d);return u&&(p.matrix=Ci(h,u)),p},e.prototype.drawLabels=function(t){var i=this,n=this.get("ticks"),a=this.addGroup(t,{name:"axis-label-group",id:this.getElementId("label-group")});C(n,function(f,v){i.addShape(a,{type:"text",name:"axis-label",id:i.getElementId("label-"+f.id),attrs:i.getLabelAttrs(f,v,n),delegateObject:{tick:f,item:f,index:v}})}),this.processOverlap(a);var o=a.getChildren(),s=A(this.get("theme"),["label","style"],{}),l=this.get("label"),u=l.style,c=l.formatter;if(X(u)){var h=o.map(function(f){return A(f.get("delegateObject"),"tick")});C(o,function(f,v){var d=f.get("delegateObject").tick,p=c?c(d.name,d,v):d.name,g=mt({},s,u(p,v,h));f.attr(g)})}},e.prototype.getTitleAttrs=function(){var t=this.get("title"),i=t.style,n=t.position,a=t.offset,o=t.spacing,s=o===void 0?0:o,l=t.autoRotate,u=i.fontSize,c=.5;n==="start"?c=0:n==="end"&&(c=1);var h=this.getTickPoint(c),f=this.getSidePoint(h,a||s+u/2),v=mt({x:f.x,y:f.y,text:t.text},i),d=t.rotate,p=d;if(B(d)&&l){var g=this.getAxisVector(h),y=[1,0];p=oc(g,y,!0)}if(p){var x=Ci(f,p);v.matrix=x}return v},e.prototype.drawTitle=function(t){var i,n=this.getTitleAttrs(),a=this.addShape(t,{type:"text",id:this.getElementId("title"),name:"axis-title",attrs:n});!((i=this.get("title"))===null||i===void 0)&&i.description&&this.drawDescriptionIcon(t,a,n.matrix)},e.prototype.drawDescriptionIcon=function(t,i,n){var a=this.addGroup(t,{name:"axis-description",id:this.getElementById("description")}),o=i.getBBox(),s=o.maxX,l=o.maxY,u=o.height,c=this.get("title").iconStyle,h=4,f=u/2,v=f/6,d=s+h,p=l-u/2,g=[d+f,p-f],y=g[0],x=g[1],b=[y+f,x+f],w=b[0],S=b[1],M=[y,S+f],F=M[0],T=M[1],L=[d,x+f],k=L[0],P=L[1],O=[d+f,p-u/4],z=O[0],V=O[1],U=[z,V+v],D=U[0],N=U[1],W=[D,N+v],$=W[0],Y=W[1],_=[$,Y+f*3/4],et=_[0],at=_[1];this.addShape(a,{type:"path",id:this.getElementId("title-description-icon"),name:"axis-title-description-icon",attrs:m({path:[["M",y,x],["A",f,f,0,0,1,w,S],["A",f,f,0,0,1,F,T],["A",f,f,0,0,1,k,P],["A",f,f,0,0,1,y,x],["M",z,V],["L",D,N],["M",$,Y],["L",et,at]],lineWidth:v,matrix:n},c)}),this.addShape(a,{type:"rect",id:this.getElementId("title-description-rect"),name:"axis-title-description-rect",attrs:{x:d,y:p-u/2,width:u,height:u,stroke:"#000",fill:"#000",opacity:0,matrix:n,cursor:"pointer"}})},e.prototype.applyTickStates=function(t,i){var n=this.getItemStates(t);if(n.length){var a=this.get("tickStates"),o=this.getElementId("label-"+t.id),s=i.findById(o);if(s){var l=zn(t,"label",a);l&&s.attr(l)}var u=this.getElementId("tickline-"+t.id),c=i.findById(u);if(c){var h=zn(t,"tickLine",a);h&&c.attr(h)}}},e.prototype.updateTickStates=function(t){var i=this.getItemStates(t),n=this.get("tickStates"),a=this.get("label"),o=this.getElementByLocalId("label-"+t.id),s=this.get("tickLine"),l=this.getElementByLocalId("tickline-"+t.id);if(i.length){if(o){var u=zn(t,"label",n);u&&o.attr(u)}if(l){var c=zn(t,"tickLine",n);c&&l.attr(c)}}else o&&o.attr(a.style),l&&l.attr(s.style)},e}(Qt);function Cc(r,e,t,i){var n=e.getChildren(),a=!1;return C(n,function(o){var s=qn(r,o,t,i);a=a||s}),a}function iM(){return Ng}function nM(r,e,t){return Cc(r,e,t,"head")}function Ng(r,e,t){return Cc(r,e,t,"tail")}function aM(r,e,t){return Cc(r,e,t,"middle")}const oM=Object.freeze(Object.defineProperty({__proto__:null,ellipsisHead:nM,ellipsisMiddle:aM,ellipsisTail:Ng,getDefault:iM},Symbol.toStringTag,{value:"Module"}));function sM(r){var e=r.attr("matrix");return e&&e[0]!==1}function Gg(r){var e=sM(r)?kC(r.attr("matrix")):0;return e%360}function wu(r,e,t,i){var n=!1,a=Gg(e),o=Math.abs(r?t.attr("y")-e.attr("y"):t.attr("x")-e.attr("x")),s=(r?t.attr("y")>e.attr("y"):t.attr("x")>e.attr("x"))?e.getBBox():t.getBBox();if(r){var l=Math.abs(Math.cos(a));qo(l,0,Math.PI/180)?n=s.width+i>o:n=s.height/l+i>o}else{var l=Math.abs(Math.sin(a));qo(l,0,Math.PI/180)?n=s.width+i>o:n=s.height/l+i>o}return n}function ua(r,e,t,i){var n=(i==null?void 0:i.minGap)||0,a=e.getChildren().slice().filter(function(v){return v.get("visible")});if(!a.length)return!1;var o=!1;t&&a.reverse();for(var s=a.length,l=a[0],u=l,c=1;c1){f=Math.ceil(f);for(var p=0;p2){var o=n[0],s=n[n.length-1];o.get("visible")||(o.show(),ua(r,e,!1,i)&&(a=!0)),s.get("visible")||(s.show(),ua(r,e,!0,i)&&(a=!0))}return a}const vM=Object.freeze(Object.defineProperty({__proto__:null,equidistance:Yg,equidistanceWithReverseBoth:fM,getDefault:lM,reserveBoth:hM,reserveFirst:uM,reserveLast:cM},Symbol.toStringTag,{value:"Module"}));function dM(r,e){C(r,function(t){var i=t.attr("x"),n=t.attr("y"),a=Ci({x:i,y:n},e);t.attr("matrix",a)})}function $g(r,e,t,i){var n=e.getChildren();if(!n.length||!r&&n.length<2)return!1;var a=xu(n),o=!1;if(r)o=!!t&&a>t;else{var s=Math.abs(n[1].attr("x")-n[0].attr("x"));o=a>s}if(o){var l=i(t,a);dM(n,l)}return o}function pM(){return Hg}function Hg(r,e,t,i){return $g(r,e,t,function(){return rt(i)?i:r?lt.verticalAxisRotate:lt.horizontalAxisRotate})}function gM(r,e,t){return $g(r,e,t,function(i,n){if(!i)return r?lt.verticalAxisRotate:lt.horizontalAxisRotate;if(r)return-Math.acos(i/n);var a=0;return i>n?a=Math.PI/4:(a=Math.asin(i/n),a>Math.PI/4&&(a=Math.PI/4)),a})}const yM=Object.freeze(Object.defineProperty({__proto__:null,fixedAngle:Hg,getDefault:pM,unfixedAngle:gM},Symbol.toStringTag,{value:"Module"})),Xg=Object.freeze(Object.defineProperty({__proto__:null,autoEllipsis:oM,autoHide:vM,autoRotate:yM},Symbol.toStringTag,{value:"Module"}));var mM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getLinePath=function(){var t=this.get("start"),i=this.get("end"),n=[];return n.push(["M",t.x,t.y]),n.push(["L",i.x,i.y]),n},e.prototype.getInnerLayoutBBox=function(){var t=this.get("start"),i=this.get("end"),n=r.prototype.getInnerLayoutBBox.call(this),a=Math.min(t.x,i.x,n.x),o=Math.min(t.y,i.y,n.y),s=Math.max(t.x,i.x,n.maxX),l=Math.max(t.y,i.y,n.maxY);return{x:a,y:o,minX:a,minY:o,maxX:s,maxY:l,width:s-a,height:l-o}},e.prototype.isVertical=function(){var t=this.get("start"),i=this.get("end");return Xt(t.x,i.x)},e.prototype.isHorizontal=function(){var t=this.get("start"),i=this.get("end");return Xt(t.y,i.y)},e.prototype.getTickPoint=function(t){var i=this,n=i.get("start"),a=i.get("end"),o=a.x-n.x,s=a.y-n.y;return{x:n.x+o*t,y:n.y+s*t}},e.prototype.getSideVector=function(t){var i=this.getAxisVector(),n=ap([0,0],i),a=this.get("verticalFactor"),o=[n[1],n[0]*-1];return ee([0,0],o,t*a)},e.prototype.getAxisVector=function(){var t=this.get("start"),i=this.get("end");return[i.x-t.x,i.y-t.y]},e.prototype.processOverlap=function(t){var i=this,n=this.isVertical(),a=this.isHorizontal();if(!(!n&&!a)){var o=this.get("label"),s=this.get("title"),l=this.get("verticalLimitLength"),u=o.offset,c=l,h=0,f=0;s&&(h=s.style.fontSize,f=s.spacing),c&&(c=c-u-f-h);var v=this.get("overlapOrder");if(C(v,function(g){o[g]&&i.canProcessOverlap(g)&&i.autoProcessOverlap(g,o[g],t,c)}),s&&B(s.offset)){var d=t.getCanvasBBox(),p=n?d.width:d.height;s.offset=u+p+f+h/2}}},e.prototype.canProcessOverlap=function(t){var i=this.get("label");return t==="autoRotate"?B(i.rotate):!0},e.prototype.autoProcessOverlap=function(t,i,n,a){var o=this,s=this.isVertical(),l=!1,u=Xg[t];if(i===!0)this.get("label"),l=u.getDefault()(s,n,a);else if(X(i))l=i(s,n,a);else if(pt(i)){var c=i;u[c.type]&&(l=u[c.type](s,n,a,c.cfg))}else u[i]&&(l=u[i](s,n,a));if(t==="autoRotate"){if(l){var h=n.getChildren(),f=this.get("verticalFactor");C(h,function(d){var p=d.attr("textAlign");if(p==="center"){var g=f>0?"end":"start";d.attr("textAlign",g)}})}}else if(t==="autoHide"){var v=n.getChildren().slice(0);C(v,function(d){d.get("visible")||(o.get("isRegister")&&o.unregisterElement(d),d.remove())})}},e}(zg),xM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{type:"circle",locationType:"circle",center:null,radius:null,startAngle:-Math.PI/2,endAngle:Math.PI*3/2})},e.prototype.getLinePath=function(){var t=this.get("center"),i=t.x,n=t.y,a=this.get("radius"),o=a,s=this.get("startAngle"),l=this.get("endAngle"),u=[];if(Math.abs(l-s)===Math.PI*2)u=[["M",i,n-o],["A",a,o,0,1,1,i,n+o],["A",a,o,0,1,1,i,n-o],["Z"]];else{var c=this.getCirclePoint(s),h=this.getCirclePoint(l),f=Math.abs(l-s)>Math.PI?1:0,v=s>l?0:1;u=[["M",i,n],["L",c.x,c.y],["A",a,o,0,f,v,h.x,h.y],["L",i,n]]}return u},e.prototype.getTickPoint=function(t){var i=this.get("startAngle"),n=this.get("endAngle"),a=i+(n-i)*t;return this.getCirclePoint(a)},e.prototype.getSideVector=function(t,i){var n=this.get("center"),a=[i.x-n.x,i.y-n.y],o=this.get("verticalFactor"),s=$i(a);return ee(a,a,o*t/s),a},e.prototype.getAxisVector=function(t){var i=this.get("center"),n=[t.x-i.x,t.y-i.y];return[n[1],-1*n[0]]},e.prototype.getCirclePoint=function(t,i){var n=this.get("center");return i=i||this.get("radius"),{x:n.x+Math.cos(t)*i,y:n.y+Math.sin(t)*i}},e.prototype.canProcessOverlap=function(t){var i=this.get("label");return t==="autoRotate"?B(i.rotate):!0},e.prototype.processOverlap=function(t){var i=this,n=this.get("label"),a=this.get("title"),o=this.get("verticalLimitLength"),s=n.offset,l=o,u=0,c=0;a&&(u=a.style.fontSize,c=a.spacing),l&&(l=l-s-c-u);var h=this.get("overlapOrder");if(C(h,function(v){n[v]&&i.canProcessOverlap(v)&&i.autoProcessOverlap(v,n[v],t,l)}),a&&B(a.offset)){var f=t.getCanvasBBox().height;a.offset=s+f+c+u/2}},e.prototype.autoProcessOverlap=function(t,i,n,a){var o=this,s=!1,l=Xg[t];if(a>0)if(i===!0)s=l.getDefault()(!1,n,a);else if(X(i))s=i(!1,n,a);else if(pt(i)){var u=i;l[u.type]&&(s=l[u.type](!1,n,a,u.cfg))}else l[i]&&(s=l[i](!1,n,a));if(t==="autoRotate"){if(s){var c=n.getChildren(),h=this.get("verticalFactor");C(c,function(v){var d=v.attr("textAlign");if(d==="center"){var p=h>0?"end":"start";v.attr("textAlign",p)}})}}else if(t==="autoHide"){var f=n.getChildren().slice(0);C(f,function(v){v.get("visible")||(o.get("isRegister")&&o.unregisterElement(v),v.remove())})}},e}(zg),Mc=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"crosshair",type:"base",line:{},text:null,textBackground:{},capture:!1,defaultCfg:{line:{style:{lineWidth:1,stroke:lt.lineColor}},text:{position:"start",offset:10,autoRotate:!1,content:null,style:{fill:lt.textColor,textAlign:"center",textBaseline:"middle",fontFamily:lt.fontFamily}},textBackground:{padding:5,style:{stroke:lt.lineColor}}}})},e.prototype.renderInner=function(t){this.get("line")&&this.renderLine(t),this.get("text")&&(this.renderText(t),this.renderBackground(t))},e.prototype.renderText=function(t){var i=this.get("text"),n=i.style,a=i.autoRotate,o=i.content;if(!B(o)){var s=this.getTextPoint(),l=null;if(a){var u=this.getRotateAngle();l=Ci(s,u)}this.addShape(t,{type:"text",name:"crosshair-text",id:this.getElementId("text"),attrs:m(m(m({},s),{text:o,matrix:l}),n)})}},e.prototype.renderLine=function(t){var i=this.getLinePath(),n=this.get("line"),a=n.style;this.addShape(t,{type:"path",name:"crosshair-line",id:this.getElementId("line"),attrs:m({path:i},a)})},e.prototype.renderBackground=function(t){var i=this.getElementId("text"),n=t.findById(i),a=this.get("textBackground");if(a&&n){var o=n.getBBox(),s=_o(a.padding),l=a.style,u=this.addShape(t,{type:"rect",name:"crosshair-text-background",id:this.getElementId("text-background"),attrs:m({x:o.x-s[3],y:o.y-s[0],width:o.width+s[1]+s[3],height:o.height+s[0]+s[2],matrix:n.attr("matrix")},l)});u.toBack()}},e}(Qt),Wg=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),i=t.start,n=t.end,a=this.get("text").position,o=Math.atan2(n.y-i.y,n.x-i.x),s=a==="start"?o-Math.PI/2:o+Math.PI/2;return s},e.prototype.getTextPoint=function(){var t=this.getLocation(),i=t.start,n=t.end,a=this.get("text"),o=a.position,s=a.offset;return Bg(i,n,o,s)},e.prototype.getLinePath=function(){var t=this.getLocation(),i=t.start,n=t.end;return[["M",i.x,i.y],["L",n.x,n.y]]},e}(Mc),wM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{type:"circle",locationType:"circle",center:null,radius:100,startAngle:-Math.PI/2,endAngle:Math.PI*3/2})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),i=t.startAngle,n=t.endAngle,a=this.get("text").position,o=a==="start"?i+Math.PI/2:n-Math.PI/2;return o},e.prototype.getTextPoint=function(){var t=this.get("text"),i=t.position,n=t.offset,a=this.getLocation(),o=a.center,s=a.radius,l=a.startAngle,u=a.endAngle,c=i==="start"?l:u,h=this.getRotateAngle()-Math.PI,f=Ui(o,s,c),v=Math.cos(h)*n,d=Math.sin(h)*n;return{x:f.x+v,y:f.y+d}},e.prototype.getLinePath=function(){var t=this.getLocation(),i=t.center,n=t.radius,a=t.startAngle,o=t.endAngle,s=null;if(o-a===Math.PI*2){var l=i.x,u=i.y;s=[["M",l,u-n],["A",n,n,0,1,1,l,u+n],["A",n,n,0,1,1,l,u-n],["Z"]]}else{var c=Ui(i,n,a),h=Ui(i,n,o),f=Math.abs(o-a)>Math.PI?1:0,v=a>o?0:1;s=[["M",c.x,c.y],["A",n,n,0,f,v,h.x,h.y]]}return s},e}(Mc),ca="g2-crosshair",bu=ca+"-line",Su=ca+"-text",En;const bM=(En={},En[""+ca]={position:"relative"},En[""+bu]={position:"absolute",backgroundColor:"rgba(0, 0, 0, 0.25)"},En[""+Su]={position:"absolute",color:lt.textColor,fontFamily:lt.fontFamily},En);var SM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"crosshair",type:"html",locationType:"region",start:{x:0,y:0},end:{x:0,y:0},capture:!1,text:null,containerTpl:'
',crosshairTpl:'
',textTpl:'{content}',domStyles:null,containerClassName:ca,defaultStyles:bM,defaultCfg:{text:{position:"start",content:null,align:"center",offset:10}}})},e.prototype.render=function(){this.resetText(),this.resetPosition()},e.prototype.initCrossHair=function(){var t=this.getContainer(),i=this.get("crosshairTpl"),n=Rr(i);t.appendChild(n),this.applyStyle(bu,n),this.set("crosshairEl",n)},e.prototype.getTextPoint=function(){var t=this.getLocation(),i=t.start,n=t.end,a=this.get("text"),o=a.position,s=a.offset;return Bg(i,n,o,s)},e.prototype.resetText=function(){var t=this.get("text"),i=this.get("textEl");if(t){var n=t.content;if(!i){var a=this.getContainer(),o=hp(this.get("textTpl"),t);i=Rr(o),a.appendChild(i),this.applyStyle(Su,i),this.set("textEl",i)}i.innerHTML=n}else i&&i.remove()},e.prototype.isVertical=function(t,i){return t.x===i.x},e.prototype.resetPosition=function(){var t=this.get("crosshairEl");t||(this.initCrossHair(),t=this.get("crosshairEl"));var i=this.get("start"),n=this.get("end"),a=Math.min(i.x,n.x),o=Math.min(i.y,n.y);this.isVertical(i,n)?Kt(t,{width:"1px",height:se(Math.abs(n.y-i.y))}):Kt(t,{height:"1px",width:se(Math.abs(n.x-i.x))}),Kt(t,{top:se(o),left:se(a)}),this.alignText()},e.prototype.alignText=function(){var t=this.get("textEl");if(t){var i=this.get("text").align,n=t.clientWidth,a=this.getTextPoint();switch(i){case"center":a.x=a.x-n/2;break;case"right":a.x=a.x-n}Kt(t,{top:se(a.y),left:se(a.x)})}},e.prototype.updateInner=function(t){Vr(t,"text")&&this.resetText(),r.prototype.updateInner.call(this,t)},e}(Sc);const iv=Object.freeze(Object.defineProperty({__proto__:null,Base:Mc,Circle:wM,Html:SM,Line:Wg},Symbol.toStringTag,{value:"Module"}));var _g=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"grid",line:{},alternateColor:null,capture:!1,items:[],closed:!1,defaultCfg:{line:{type:"line",style:{lineWidth:1,stroke:lt.lineColor}}}})},e.prototype.getLineType=function(){var t=this.get("line")||this.get("defaultCfg").line;return t.type},e.prototype.renderInner=function(t){this.drawGrid(t)},e.prototype.getAlternatePath=function(t,i){var n=this.getGridPath(t),a=i.slice(0).reverse(),o=this.getGridPath(a,!0),s=this.get("closed");return s?n=n.concat(o):(o[0][0]="L",n=n.concat(o),n.push(["Z"])),n},e.prototype.getPathStyle=function(){return this.get("line").style},e.prototype.drawGrid=function(t){var i=this,n=this.get("line"),a=this.get("items"),o=this.get("alternateColor"),s=null;C(a,function(l,u){var c=l.id||u;if(n){var h=i.getPathStyle();h=X(h)?h(l,u,a):h;var f=i.getElementId("line-"+c),v=i.getGridPath(l.points);i.addShape(t,{type:"path",name:"grid-line",id:f,attrs:mt({path:v},h)})}if(o&&u>0){var d=i.getElementId("region-"+c),p=u%2===0;if(Q(o))p&&i.drawAlternateRegion(d,t,s.points,l.points,o);else{var g=p?o[1]:o[0];i.drawAlternateRegion(d,t,s.points,l.points,g)}}s=l})},e.prototype.drawAlternateRegion=function(t,i,n,a,o){var s=this.getAlternatePath(n,a);this.addShape(i,{type:"path",id:t,name:"grid-region",attrs:{path:s,fill:o}})},e}(Qt);function CM(r,e,t,i){var n=t-r,a=i-e;return Math.sqrt(n*n+a*a)}var MM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{type:"circle",center:null,closed:!0})},e.prototype.getGridPath=function(t,i){var n=this.getLineType(),a=this.get("closed"),o=[];if(t.length)if(n==="circle"){var s=this.get("center"),l=t[0],u=CM(s.x,s.y,l.x,l.y),c=i?0:1;a?(o.push(["M",s.x,s.y-u]),o.push(["A",u,u,0,0,c,s.x,s.y+u]),o.push(["A",u,u,0,0,c,s.x,s.y-u]),o.push(["Z"])):C(t,function(h,f){f===0?o.push(["M",h.x,h.y]):o.push(["A",u,u,0,0,c,h.x,h.y])})}else C(t,function(h,f){f===0?o.push(["M",h.x,h.y]):o.push(["L",h.x,h.y])}),a&&o.push(["Z"]);return o},e}(_g),AM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{type:"line"})},e.prototype.getGridPath=function(t){var i=[];return C(t,function(n,a){a===0?i.push(["M",n.x,n.y]):i.push(["L",n.x,n.y])}),i},e}(_g),qg=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"legend",layout:"horizontal",locationType:"point",x:0,y:0,offsetX:0,offsetY:0,title:null,background:null})},e.prototype.getLayoutBBox=function(){var t=r.prototype.getLayoutBBox.call(this),i=this.get("maxWidth"),n=this.get("maxHeight"),a=t.width,o=t.height;return i&&(a=Math.min(a,i)),n&&(o=Math.min(o,n)),Ls(t.minX,t.minY,a,o)},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetLocation()},e.prototype.resetLocation=function(){var t=this.get("x"),i=this.get("y"),n=this.get("offsetX"),a=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t+n,y:i+a})},e.prototype.applyOffset=function(){this.resetLocation()},e.prototype.getDrawPoint=function(){return this.get("currentPoint")},e.prototype.setDrawPoint=function(t){return this.set("currentPoint",t)},e.prototype.renderInner=function(t){this.resetDraw(),this.get("title")&&this.drawTitle(t),this.drawLegendContent(t),this.get("background")&&this.drawBackground(t)},e.prototype.drawBackground=function(t){var i=this.get("background"),n=t.getBBox(),a=_o(i.padding),o=m({x:0,y:0,width:n.width+a[1]+a[3],height:n.height+a[0]+a[2]},i.style),s=this.addShape(t,{type:"rect",id:this.getElementId("background"),name:"legend-background",attrs:o});s.toBack()},e.prototype.drawTitle=function(t){var i=this.get("currentPoint"),n=this.get("title"),a=n.spacing,o=n.style,s=n.text,l=this.addShape(t,{type:"text",id:this.getElementId("title"),name:"legend-title",attrs:m({text:s,x:i.x,y:i.y},o)}),u=l.getBBox();this.set("currentPoint",{x:i.x,y:u.maxY+a})},e.prototype.resetDraw=function(){var t=this.get("background"),i={x:0,y:0};if(t){var n=_o(t.padding);i.x=n[3],i.y=n[0]}this.set("currentPoint",i)},e}(Qt),Cl={marker:{style:{inactiveFill:"#000",inactiveOpacity:.45,fill:"#000",opacity:1,size:12}},text:{style:{fill:"#ccc",fontSize:12}}},to={fill:lt.textColor,fontSize:12,textAlign:"start",textBaseline:"middle",fontFamily:lt.fontFamily,fontWeight:"normal",lineHeight:12},Ml="navigation-arrow-right",Al="navigation-arrow-left",nv={right:90*Math.PI/180,left:270*Math.PI/180,up:0,down:180*Math.PI/180},FM=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.currentPageIndex=1,t.totalPagesCnt=1,t.pageWidth=0,t.pageHeight=0,t.startX=0,t.startY=0,t.onNavigationBack=function(){var i=t.getElementByLocalId("item-group");if(t.currentPageIndex>1){t.currentPageIndex-=1,t.updateNavigation();var n=t.getCurrentNavigationMatrix();t.get("animate")?i.animate({matrix:n},100):i.attr({matrix:n})}},t.onNavigationAfter=function(){var i=t.getElementByLocalId("item-group");if(t.currentPageIndexg&&(g=F),v==="horizontal"?(y&&yu}if(s==="horizontal"){var T=this.get("maxRow")||1,L=v+(T===1?0:M),k=u-f-g.width-g.minX;this.pageHeight=L*T,this.pageWidth=k,C(l,function(O){var z=O.getBBox(),V=h||z.width;(b&&bw&&(w=z.width)}),S=w,w+=f,u&&(w=Math.min(u,w),S=Math.min(u,S)),this.pageWidth=w,this.pageHeight=c-Math.max(g.height,v+M);var P=Math.floor(this.pageHeight/(v+M));C(l,function(O,z){z!==0&&z%P===0&&(x+=1,y.x+=w,y.y=o),n.moveElementTo(O,y),O.getParent().setClip({type:"rect",attrs:{x:y.x,y:y.y,width:w,height:v}}),y.y+=v+M}),this.totalPagesCnt=x,this.moveElementTo(p,{x:a+S/2-g.width/2-g.minX,y:c-g.height-g.minY})}this.pageHeight&&this.pageWidth&&i.getParent().setClip({type:"rect",attrs:{x:this.startX,y:this.startY,width:this.pageWidth,height:this.pageHeight}}),s==="horizontal"&&this.get("maxRow")?this.totalPagesCnt=Math.ceil(x/this.get("maxRow")):this.totalPagesCnt=x,this.currentPageIndex>this.totalPagesCnt&&(this.currentPageIndex=1),this.updateNavigation(p),i.attr("matrix",this.getCurrentNavigationMatrix())},e.prototype.drawNavigation=function(t,i,n,a){var o={x:0,y:0},s=this.addGroup(t,{id:this.getElementId("navigation-group"),name:"legend-navigation"}),l=A(a.marker,"style",{}),u=l.size,c=u===void 0?12:u,h=yt(l,["size"]),f=this.drawArrow(s,o,Al,i==="horizontal"?"up":"left",c,h);f.on("click",this.onNavigationBack);var v=f.getBBox();o.x+=v.width+2;var d=this.addShape(s,{type:"text",id:this.getElementId("navigation-text"),name:"navigation-text",attrs:m({x:o.x,y:o.y+c/2,text:n,textBaseline:"middle"},A(a.text,"style"))}),p=d.getBBox();o.x+=p.width+2;var g=this.drawArrow(s,o,Ml,i==="horizontal"?"down":"right",c,h);return g.on("click",this.onNavigationAfter),s},e.prototype.updateNavigation=function(t){var i=H({},Cl,this.get("pageNavigator")),n=i.marker.style,a=n.fill,o=n.opacity,s=n.inactiveFill,l=n.inactiveOpacity,u=this.currentPageIndex+"/"+this.totalPagesCnt,c=t?t.getChildren()[1]:this.getElementByLocalId("navigation-text"),h=t?t.findById(this.getElementId(Al)):this.getElementByLocalId(Al),f=t?t.findById(this.getElementId(Ml)):this.getElementByLocalId(Ml);c.attr("text",u),h.attr("opacity",this.currentPageIndex===1?l:o),h.attr("fill",this.currentPageIndex===1?s:a),h.attr("cursor",this.currentPageIndex===1?"not-allowed":"pointer"),f.attr("opacity",this.currentPageIndex===this.totalPagesCnt?l:o),f.attr("fill",this.currentPageIndex===this.totalPagesCnt?s:a),f.attr("cursor",this.currentPageIndex===this.totalPagesCnt?"not-allowed":"pointer");var v=h.getBBox().maxX+2;c.attr("x",v),v+=c.getBBox().width+2,this.updateArrowPath(f,{x:v,y:0})},e.prototype.drawArrow=function(t,i,n,a,o,s){var l=i.x,u=i.y,c=this.addShape(t,{type:"path",id:this.getElementId(n),name:n,attrs:m({size:o,direction:a,path:[["M",l+o/2,u],["L",l,u+o],["L",l+o,u+o],["Z"]],cursor:"pointer"},s)});return c.attr("matrix",Ci({x:l+o/2,y:u+o/2},nv[a])),c},e.prototype.updateArrowPath=function(t,i){var n=i.x,a=i.y,o=t.attr(),s=o.size,l=o.direction,u=Ci({x:n+s/2,y:a+s/2},nv[l]);t.attr("path",[["M",n+s/2,a],["L",n,a+s],["L",n+s,a+s],["Z"]]),t.attr("matrix",u)},e.prototype.getCurrentNavigationMatrix=function(){var t=this,i=t.currentPageIndex,n=t.pageWidth,a=t.pageHeight,o=this.get("layout"),s=o==="horizontal"?{x:0,y:a*(1-i)}:{x:n*(1-i),y:0};return xc(s)},e.prototype.applyItemStates=function(t,i){var n=this.getItemStates(t),a=n.length>0;if(a){var o=i.getChildren(),s=this.get("itemStates");C(o,function(l){var u=l.get("name"),c=u.split("-")[2],h=zn(t,c,s);h&&(l.attr(h),c==="marker"&&!(l.get("isStroke")&&l.get("isFill"))&&(l.get("isStroke")&&l.attr("fill",null),l.get("isFill")&&l.attr("stroke",null)))})}},e.prototype.getLimitItemWidth=function(){var t=this.get("itemWidth"),i=this.get("maxItemWidth");return i?t&&(i=t<=i?t:i):t&&(i=t),i},e}(qg),TM=1.4,av=.4,EM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{type:"continue",min:0,max:100,value:null,colors:[],track:{},rail:{},label:{},handler:{},slidable:!0,tip:null,step:null,maxWidth:null,maxHeight:null,defaultCfg:{label:{align:"rail",spacing:5,formatter:null,style:{fontSize:12,fill:lt.textColor,textBaseline:"middle",fontFamily:lt.fontFamily}},handler:{size:10,style:{fill:"#fff",stroke:"#333"}},track:{},rail:{type:"color",size:20,defaultLength:100,style:{fill:"#DCDEE2"}},title:{spacing:5,style:{fill:lt.textColor,fontSize:12,textAlign:"start",textBaseline:"top"}}}})},e.prototype.isSlider=function(){return!0},e.prototype.getValue=function(){return this.getCurrentValue()},e.prototype.getRange=function(){return{min:this.get("min"),max:this.get("max")}},e.prototype.setRange=function(t,i){this.update({min:t,max:i})},e.prototype.setValue=function(t){var i=this.getValue();this.set("value",t);var n=this.get("group");this.resetTrackClip(),this.get("slidable")&&this.resetHandlers(n),this.delegateEmit("valuechanged",{originValue:i,value:t})},e.prototype.initEvent=function(){var t=this.get("group");this.bindSliderEvent(t),this.bindRailEvent(t),this.bindTrackEvent(t)},e.prototype.drawLegendContent=function(t){this.drawRail(t),this.drawLabels(t),this.fixedElements(t),this.resetTrack(t),this.resetTrackClip(t),this.get("slidable")&&this.resetHandlers(t)},e.prototype.bindSliderEvent=function(t){this.bindHandlersEvent(t)},e.prototype.bindHandlersEvent=function(t){var i=this;t.on("legend-handler-min:drag",function(n){var a=i.getValueByCanvasPoint(n.x,n.y),o=i.getCurrentValue(),s=o[1];sa&&(s=a),i.setValue([s,a])})},e.prototype.bindRailEvent=function(t){},e.prototype.bindTrackEvent=function(t){var i=this,n=null;t.on("legend-track:dragstart",function(a){n={x:a.x,y:a.y}}),t.on("legend-track:drag",function(a){if(n){var o=i.getValueByCanvasPoint(n.x,n.y),s=i.getValueByCanvasPoint(a.x,a.y),l=i.getCurrentValue(),u=l[1]-l[0],c=i.getRange(),h=s-o;h<0?l[0]+h>c.min?i.setValue([l[0]+h,l[1]+h]):i.setValue([c.min,c.min+u]):h>0&&(h>0&&l[1]+ho&&(h=o),h0&&this.changeRailLength(a,s,n[s]-v)}},e.prototype.changeRailLength=function(t,i,n){var a=t.getBBox(),o;i==="height"?o=this.getRailPath(a.x,a.y,a.width,n):o=this.getRailPath(a.x,a.y,n,a.height),t.attr("path",o)},e.prototype.changeRailPosition=function(t,i,n){var a=t.getBBox(),o=this.getRailPath(i,n,a.width,a.height);t.attr("path",o)},e.prototype.fixedHorizontal=function(t,i,n,a){var o=this.get("label"),s=o.align,l=o.spacing,u=n.getBBox(),c=t.getBBox(),h=i.getBBox(),f=u.height;this.fitRailLength(c,h,u,n),u=n.getBBox(),s==="rail"?(t.attr({x:a.x,y:a.y+f/2}),this.changeRailPosition(n,a.x+c.width+l,a.y),i.attr({x:a.x+c.width+u.width+l*2,y:a.y+f/2})):s==="top"?(t.attr({x:a.x,y:a.y}),i.attr({x:a.x+u.width,y:a.y}),this.changeRailPosition(n,a.x,a.y+c.height+l)):(this.changeRailPosition(n,a.x,a.y),t.attr({x:a.x,y:a.y+u.height+l}),i.attr({x:a.x+u.width,y:a.y+u.height+l}))},e.prototype.fixedVertail=function(t,i,n,a){var o=this.get("label"),s=o.align,l=o.spacing,u=n.getBBox(),c=t.getBBox(),h=i.getBBox();if(this.fitRailLength(c,h,u,n),u=n.getBBox(),s==="rail")t.attr({x:a.x,y:a.y}),this.changeRailPosition(n,a.x,a.y+c.height+l),i.attr({x:a.x,y:a.y+c.height+u.height+l*2});else if(s==="right")t.attr({x:a.x+u.width+l,y:a.y}),this.changeRailPosition(n,a.x,a.y),i.attr({x:a.x+u.width+l,y:a.y+u.height});else{var f=Math.max(c.width,h.width);t.attr({x:a.x,y:a.y}),this.changeRailPosition(n,a.x+f+l,a.y),i.attr({x:a.x,y:a.y+u.height})}},e}(qg),mr="g2-tooltip",xr="g2-tooltip-title",ha="g2-tooltip-list",Ps="g2-tooltip-list-item",Ds="g2-tooltip-marker",Os="g2-tooltip-value",Ug="g2-tooltip-name",Ac="g2-tooltip-crosshair-x",Fc="g2-tooltip-crosshair-y";const kM=Object.freeze(Object.defineProperty({__proto__:null,CONTAINER_CLASS:mr,CROSSHAIR_X:Ac,CROSSHAIR_Y:Fc,LIST_CLASS:ha,LIST_ITEM_CLASS:Ps,MARKER_CLASS:Ds,NAME_CLASS:Ug,TITLE_CLASS:xr,VALUE_CLASS:Os},Symbol.toStringTag,{value:"Module"}));var We;const LM=(We={},We[""+mr]={position:"absolute",visibility:"visible",zIndex:8,transition:"visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1), left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1)",backgroundColor:"rgba(255, 255, 255, 0.9)",boxShadow:"0px 0px 10px #aeaeae",borderRadius:"3px",color:"rgb(87, 87, 87)",fontSize:"12px",fontFamily:lt.fontFamily,lineHeight:"20px",padding:"10px 10px 6px 10px"},We[""+xr]={marginBottom:"4px"},We[""+ha]={margin:"0px",listStyleType:"none",padding:"0px"},We[""+Ps]={listStyleType:"none",marginBottom:"4px"},We[""+Ds]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},We[""+Os]={display:"inline-block",float:"right",marginLeft:"30px"},We[""+Ac]={position:"absolute",width:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},We[""+Fc]={position:"absolute",height:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},We);function IM(r,e,t,i,n){var a={left:rn.x+n.width,top:en.y+n.height};return a}function PM(r,e,t,i,n,a){var o=r,s=e;switch(a){case"left":o=r-i-t,s=e-n/2;break;case"right":o=r+t,s=e-n/2;break;case"top":o=r-i/2,s=e-n-t;break;case"bottom":o=r-i/2,s=e+t;break;default:o=r+t,s=e-n-t;break}return{x:o,y:s}}function DM(r,e,t,i,n,a,o){var s=PM(r,e,t,i,n,a);if(o){var l=IM(s.x,s.y,i,n,o);a==="auto"?(l.right&&(s.x=Math.max(0,r-i-t)),l.top&&(s.y=Math.max(0,e-n-t))):a==="top"||a==="bottom"?(l.left&&(s.x=o.x),l.right&&(s.x=o.x+o.width-i),a==="top"&&l.top&&(s.y=e+t),a==="bottom"&&l.bottom&&(s.y=e-n-t)):(l.top&&(s.y=o.y),l.bottom&&(s.y=o.y+o.height-n),a==="left"&&l.left&&(s.x=r+t),a==="right"&&l.right&&(s.x=r-i-t))}return s}function OM(r,e){var t=!1;return C(e,function(i){if(Vr(r,i))return t=!0,!1}),t}var BM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"tooltip",type:"html",x:0,y:0,items:[],customContent:null,containerTpl:'
    ',itemTpl:'
  • + + {name}: + {value} +
  • `,xCrosshairTpl:'
    ',yCrosshairTpl:'
    ',title:null,showTitle:!0,region:null,crosshairsRegion:null,containerClassName:mr,crosshairs:null,offset:10,position:"right",domStyles:null,defaultStyles:LM})},e.prototype.render=function(){this.get("customContent")?this.renderCustomContent():(this.resetTitle(),this.renderItems()),this.resetPosition()},e.prototype.clear=function(){this.clearCrosshairs(),this.setTitle(""),this.clearItemDoms()},e.prototype.show=function(){var t=this.getContainer();!t||this.destroyed||(this.set("visible",!0),Kt(t,{visibility:"visible"}),this.setCrossHairsVisible(!0))},e.prototype.hide=function(){var t=this.getContainer();!t||this.destroyed||(this.set("visible",!1),Kt(t,{visibility:"hidden"}),this.setCrossHairsVisible(!1))},e.prototype.getLocation=function(){return{x:this.get("x"),y:this.get("y")}},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetPosition()},e.prototype.setCrossHairsVisible=function(t){var i=t?"":"none",n=this.get("xCrosshairDom"),a=this.get("yCrosshairDom");n&&Kt(n,{display:i}),a&&Kt(a,{display:i})},e.prototype.initContainer=function(){if(r.prototype.initContainer.call(this),this.get("customContent")){this.get("container")&&this.get("container").remove();var t=this.getHtmlContentNode();this.get("parent").appendChild(t),this.set("container",t),this.resetStyles(),this.applyStyles()}},e.prototype.updateInner=function(t){this.get("customContent")?this.renderCustomContent():(OM(t,["title","showTitle"])&&this.resetTitle(),Vr(t,"items")&&this.renderItems()),r.prototype.updateInner.call(this,t)},e.prototype.initDom=function(){this.cacheDoms()},e.prototype.removeDom=function(){r.prototype.removeDom.call(this),this.clearCrosshairs()},e.prototype.resetPosition=function(){var t=this.get("x"),i=this.get("y"),n=this.get("offset"),a=this.getOffset(),o=a.offsetX,s=a.offsetY,l=this.get("position"),u=this.get("region"),c=this.getContainer(),h=this.getBBox(),f=h.width,v=h.height,d;u&&(d=la(u));var p=DM(t,i,n,f,v,l,d);Kt(c,{left:se(p.x+o),top:se(p.y+s)}),this.resetCrosshairs()},e.prototype.renderCustomContent=function(){var t=this.getHtmlContentNode(),i=this.get("parent"),n=this.get("container");n&&n.parentNode===i?i.replaceChild(t,n):i.appendChild(t),this.set("container",t),this.resetStyles(),this.applyStyles()},e.prototype.getHtmlContentNode=function(){var t,i=this.get("customContent");if(i){var n=i(this.get("title"),this.get("items"));vp(n)?t=n:t=Rr(n)}return t},e.prototype.cacheDoms=function(){var t=this.getContainer(),i=t.getElementsByClassName(xr)[0],n=t.getElementsByClassName(ha)[0];this.set("titleDom",i),this.set("listDom",n)},e.prototype.resetTitle=function(){var t=this.get("title"),i=this.get("showTitle");i&&t?this.setTitle(t):this.setTitle("")},e.prototype.setTitle=function(t){var i=this.get("titleDom");i&&(i.innerText=t)},e.prototype.resetCrosshairs=function(){var t=this.get("crosshairsRegion"),i=this.get("crosshairs");if(!t||!i)this.clearCrosshairs();else{var n=la(t),a=this.get("xCrosshairDom"),o=this.get("yCrosshairDom");i==="x"?(this.resetCrosshair("x",n),o&&(o.remove(),this.set("yCrosshairDom",null))):i==="y"?(this.resetCrosshair("y",n),a&&(a.remove(),this.set("xCrosshairDom",null))):(this.resetCrosshair("x",n),this.resetCrosshair("y",n)),this.setCrossHairsVisible(this.get("visible"))}},e.prototype.resetCrosshair=function(t,i){var n=this.checkCrosshair(t),a=this.get(t);t==="x"?Kt(n,{left:se(a),top:se(i.y),height:se(i.height)}):Kt(n,{top:se(a),left:se(i.x),width:se(i.width)})},e.prototype.checkCrosshair=function(t){var i=t+"CrosshairDom",n=t+"CrosshairTpl",a="CROSSHAIR_"+t.toUpperCase(),o=kM[a],s=this.get(i),l=this.get("parent");return s||(s=Rr(this.get(n)),this.applyStyle(o,s),l.appendChild(s),this.set(i,s)),s},e.prototype.renderItems=function(){this.clearItemDoms();var t=this.get("items"),i=this.get("itemTpl"),n=this.get("listDom");n&&(C(t,function(a){var o=zr.toCSSGradient(a.color),s=m(m({},a),{color:o}),l=hp(i,s),u=Rr(l);n.appendChild(u)}),this.applyChildrenStyles(n,this.get("domStyles")))},e.prototype.clearItemDoms=function(){this.get("listDom")&&bc(this.get("listDom"))},e.prototype.clearCrosshairs=function(){var t=this.get("xCrosshairDom"),i=this.get("yCrosshairDom");t&&t.remove(),i&&i.remove(),this.set("xCrosshairDom",null),this.set("yCrosshairDom",null)},e}(Sc),RM={opacity:0},zM={stroke:"#C5C5C5",strokeOpacity:.85},NM={fill:"#CACED4",opacity:.85};function GM(r){return Mt(r,function(e,t){var i=t===0?"M":"L",n=e[0],a=e[1];return[i,n,a]})}function jg(r){return GM(r)}function VM(r){if(r.length<=2)return jg(r);var e=[];C(r,function(o){Pt(o,e.slice(e.length-2))||e.push(o[0],o[1])});var t=Qb(e,!1),i=ye(r),n=i[0],a=i[1];return t.unshift(["M",n,a]),t}function YM(r,e,t,i){i===void 0&&(i=!0);var n=new Es({values:r}),a=new Fs({values:Mt(r,function(s,l){return l})}),o=Mt(r,function(s,l){return[a.scale(l)*e,t-n.scale(s)*t]});return i?VM(o):jg(o)}function $M(r,e){var t=new Es({values:r}),i=t.max<0?t.max:Math.max(0,t.min);return e-t.scale(i)*e}function HM(r,e,t,i){var n=Kn(r),a=$M(i,t);return n.push(["L",e,a]),n.push(["L",0,a]),n.push(["Z"]),n}var XM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"trend",x:0,y:0,width:200,height:16,smooth:!0,isArea:!1,data:[],backgroundStyle:RM,lineStyle:zM,areaStyle:NM})},e.prototype.renderInner=function(t){var i=this.cfg,n=i.width,a=i.height,o=i.data,s=i.smooth,l=i.isArea,u=i.backgroundStyle,c=i.lineStyle,h=i.areaStyle;this.addShape(t,{id:this.getElementId("background"),type:"rect",attrs:m({x:0,y:0,width:n,height:a},u)});var f=YM(o,n,a,s);if(this.addShape(t,{id:this.getElementId("line"),type:"path",attrs:m({path:f},c)}),l){var v=HM(f,n,a,o);this.addShape(t,{id:this.getElementId("area"),type:"path",attrs:m({path:v},h)})}},e.prototype.applyOffset=function(){var t=this.cfg,i=t.x,n=t.y;this.moveElementTo(this.get("group"),{x:i,y:n})},e}(Qt),Zg={fill:"#F7F7F7",stroke:"#BFBFBF",radius:2,opacity:1,cursor:"ew-resize",highLightFill:"#FFF"},ov=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"handler",x:0,y:0,width:10,height:24,style:Zg})},e.prototype.renderInner=function(t){var i=this.cfg,n=i.width,a=i.height,o=i.style,s=o.fill,l=o.stroke,u=o.radius,c=o.opacity,h=o.cursor;this.addShape(t,{type:"rect",id:this.getElementId("background"),attrs:{x:0,y:0,width:n,height:a,fill:s,stroke:l,radius:u,opacity:c,cursor:h}});var f=1/3*n,v=2/3*n,d=1/4*a,p=3/4*a;this.addShape(t,{id:this.getElementId("line-left"),type:"line",attrs:{x1:f,y1:d,x2:f,y2:p,stroke:l,cursor:h}}),this.addShape(t,{id:this.getElementId("line-right"),type:"line",attrs:{x1:v,y1:d,x2:v,y2:p,stroke:l,cursor:h}})},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.bindEvents=function(){var t=this;this.get("group").on("mouseenter",function(){var i=t.get("style").highLightFill;t.getElementByLocalId("background").attr("fill",i),t.draw()}),this.get("group").on("mouseleave",function(){var i=t.get("style").fill;t.getElementByLocalId("background").attr("fill",i),t.draw()})},e.prototype.draw=function(){var t=this.get("container").get("canvas");t&&t.draw()},e}(Qt),WM={fill:"#416180",opacity:.05},_M={fill:"#5B8FF9",opacity:.15,cursor:"move"},To=10,qM={width:To,height:24},UM={textBaseline:"middle",fill:"#000",opacity:.45},jM="sliderchange",ZM=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.onMouseDown=function(i){return function(n){t.currentTarget=i;var a=n.originalEvent;a.stopPropagation(),a.preventDefault(),t.prevX=A(a,"touches.0.pageX",a.pageX),t.prevY=A(a,"touches.0.pageY",a.pageY);var o=t.getContainerDOM();o.addEventListener("mousemove",t.onMouseMove),o.addEventListener("mouseup",t.onMouseUp),o.addEventListener("mouseleave",t.onMouseUp),o.addEventListener("touchmove",t.onMouseMove),o.addEventListener("touchend",t.onMouseUp),o.addEventListener("touchcancel",t.onMouseUp)}},t.onMouseMove=function(i){var n=t.cfg.width,a=[t.get("start"),t.get("end")];i.stopPropagation(),i.preventDefault();var o=A(i,"touches.0.pageX",i.pageX),s=A(i,"touches.0.pageY",i.pageY),l=o-t.prevX,u=t.adjustOffsetRange(l/n);t.updateStartEnd(u),t.updateUI(t.getElementByLocalId("foreground"),t.getElementByLocalId("minText"),t.getElementByLocalId("maxText")),t.prevX=o,t.prevY=s,t.draw(),t.emit(jM,[t.get("start"),t.get("end")].sort()),t.delegateEmit("valuechanged",{originValue:a,value:[t.get("start"),t.get("end")]})},t.onMouseUp=function(){t.currentTarget&&(t.currentTarget=void 0);var i=t.getContainerDOM();i&&(i.removeEventListener("mousemove",t.onMouseMove),i.removeEventListener("mouseup",t.onMouseUp),i.removeEventListener("mouseleave",t.onMouseUp),i.removeEventListener("touchmove",t.onMouseMove),i.removeEventListener("touchend",t.onMouseUp),i.removeEventListener("touchcancel",t.onMouseUp))},t}return e.prototype.setRange=function(t,i){this.set("minLimit",t),this.set("maxLimit",i);var n=this.get("start"),a=this.get("end"),o=Ct(n,t,i),s=Ct(a,t,i);!this.get("isInit")&&(n!==o||a!==s)&&this.setValue([o,s])},e.prototype.getRange=function(){return{min:this.get("minLimit")||0,max:this.get("maxLimit")||1}},e.prototype.setValue=function(t){var i=this.getRange();if(R(t)&&t.length===2){var n=[this.get("start"),this.get("end")];this.update({start:Ct(t[0],i.min,i.max),end:Ct(t[1],i.min,i.max)}),this.get("updateAutoRender")||this.render(),this.delegateEmit("valuechanged",{originValue:n,value:t})}},e.prototype.getValue=function(){return[this.get("start"),this.get("end")]},e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"slider",x:0,y:0,width:100,height:16,backgroundStyle:{},foregroundStyle:{},handlerStyle:{},textStyle:{},defaultCfg:{backgroundStyle:WM,foregroundStyle:_M,handlerStyle:qM,textStyle:UM}})},e.prototype.update=function(t){var i=t.start,n=t.end,a=m({},t);B(i)||(a.start=Ct(i,0,1)),B(n)||(a.end=Ct(n,0,1)),r.prototype.update.call(this,a),this.minHandler=this.getChildComponentById(this.getElementId("minHandler")),this.maxHandler=this.getChildComponentById(this.getElementId("maxHandler")),this.trend=this.getChildComponentById(this.getElementId("trend"))},e.prototype.init=function(){this.set("start",Ct(this.get("start"),0,1)),this.set("end",Ct(this.get("end"),0,1)),r.prototype.init.call(this)},e.prototype.render=function(){r.prototype.render.call(this),this.updateUI(this.getElementByLocalId("foreground"),this.getElementByLocalId("minText"),this.getElementByLocalId("maxText"))},e.prototype.renderInner=function(t){var i=this.cfg;i.start,i.end;var n=i.width,a=i.height,o=i.trendCfg,s=o===void 0?{}:o,l=i.minText,u=i.maxText,c=i.backgroundStyle,h=c===void 0?{}:c,f=i.foregroundStyle,v=f===void 0?{}:f,d=i.textStyle,p=d===void 0?{}:d,g=H({},Zg,this.cfg.handlerStyle);Vt(A(s,"data"))&&(this.trend=this.addComponent(t,m({component:XM,id:this.getElementId("trend"),x:0,y:0,width:n,height:a},s))),this.addShape(t,{id:this.getElementId("background"),type:"rect",attrs:m({x:0,y:0,width:n,height:a},h)}),this.addShape(t,{id:this.getElementId("minText"),type:"text",attrs:m({y:a/2,textAlign:"right",text:l,silent:!1},p)}),this.addShape(t,{id:this.getElementId("maxText"),type:"text",attrs:m({y:a/2,textAlign:"left",text:u,silent:!1},p)}),this.addShape(t,{id:this.getElementId("foreground"),name:"foreground",type:"rect",attrs:m({y:0,height:a},v)});var y=A(g,"width",To),x=A(g,"height",24);this.minHandler=this.addComponent(t,{component:ov,id:this.getElementId("minHandler"),name:"handler-min",x:0,y:(a-x)/2,width:y,height:x,cursor:"ew-resize",style:g}),this.maxHandler=this.addComponent(t,{component:ov,id:this.getElementId("maxHandler"),name:"handler-max",x:0,y:(a-x)/2,width:y,height:x,cursor:"ew-resize",style:g})},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.updateUI=function(t,i,n){var a=this.cfg,o=a.start,s=a.end,l=a.width,u=a.minText,c=a.maxText,h=a.handlerStyle,f=a.height,v=o*l,d=s*l;this.trend&&(this.trend.update({width:l,height:f}),this.get("updateAutoRender")||this.trend.render()),t.attr("x",v),t.attr("width",d-v);var p=A(h,"width",To);i.attr("text",u),n.attr("text",c);var g=this._dodgeText([v,d],i,n),y=g[0],x=g[1];this.minHandler&&(this.minHandler.update({x:v-p/2}),this.get("updateAutoRender")||this.minHandler.render()),C(y,function(b,w){return i.attr(w,b)}),this.maxHandler&&(this.maxHandler.update({x:d-p/2}),this.get("updateAutoRender")||this.maxHandler.render()),C(x,function(b,w){return n.attr(w,b)})},e.prototype.bindEvents=function(){var t=this.get("group");t.on("handler-min:mousedown",this.onMouseDown("minHandler")),t.on("handler-min:touchstart",this.onMouseDown("minHandler")),t.on("handler-max:mousedown",this.onMouseDown("maxHandler")),t.on("handler-max:touchstart",this.onMouseDown("maxHandler"));var i=t.findById(this.getElementId("foreground"));i.on("mousedown",this.onMouseDown("foreground")),i.on("touchstart",this.onMouseDown("foreground"))},e.prototype.adjustOffsetRange=function(t){var i=this.cfg,n=i.start,a=i.end;switch(this.currentTarget){case"minHandler":{var o=0-n,s=1-n;return Math.min(s,Math.max(o,t))}case"maxHandler":{var o=0-a,s=1-a;return Math.min(s,Math.max(o,t))}case"foreground":{var o=0-n,s=1-a;return Math.min(s,Math.max(o,t))}}},e.prototype.updateStartEnd=function(t){var i=this.cfg,n=i.start,a=i.end;switch(this.currentTarget){case"minHandler":n+=t;break;case"maxHandler":a+=t;break;case"foreground":n+=t,a+=t;break}this.set("start",n),this.set("end",a)},e.prototype._dodgeText=function(t,i,n){var a,o,s=this.cfg,l=s.handlerStyle,u=s.width,c=2,h=A(l,"width",To),f=t[0],v=t[1],d=!1;f>v&&(a=[v,f],f=a[0],v=a[1],o=[n,i],i=o[0],n=o[1],d=!0);var p=i.getBBox(),g=n.getBBox(),y=p.width>f-c?{x:f+h/2+c,textAlign:"left"}:{x:f-h/2-c,textAlign:"right"},x=g.width>u-v-c?{x:v-h/2-c,textAlign:"right"}:{x:v+h/2+c,textAlign:"left"};return d?[x,y]:[y,x]},e.prototype.draw=function(){var t=this.get("container"),i=t&&t.get("canvas");i&&i.draw()},e.prototype.getContainerDOM=function(){var t=this.get("container"),i=t&&t.get("canvas");return i&&i.get("container")},e}(Qt),QM={trackColor:"rgba(0,0,0,0)",thumbColor:"rgba(0,0,0,0.15)",size:8,lineCap:"round"},Fl={default:QM,hover:{thumbColor:"rgba(0,0,0,0.2)"}},KM=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.clearEvents=Pr,t.onStartEvent=function(i){return function(n){t.isMobile=i,n.originalEvent.preventDefault();var a=i?A(n.originalEvent,"touches.0.clientX"):n.clientX,o=i?A(n.originalEvent,"touches.0.clientY"):n.clientY;t.startPos=t.cfg.isHorizontal?a:o,t.bindLaterEvent()}},t.bindLaterEvent=function(){var i=t.getContainerDOM(),n=[];t.isMobile?n=[Bi(i,"touchmove",t.onMouseMove),Bi(i,"touchend",t.onMouseUp),Bi(i,"touchcancel",t.onMouseUp)]:n=[Bi(i,"mousemove",t.onMouseMove),Bi(i,"mouseup",t.onMouseUp),Bi(i,"mouseleave",t.onMouseUp)],t.clearEvents=function(){n.forEach(function(a){a.remove()})}},t.onMouseMove=function(i){var n=t.cfg,a=n.isHorizontal,o=n.thumbOffset;i.preventDefault();var s=t.isMobile?A(i,"touches.0.clientX"):i.clientX,l=t.isMobile?A(i,"touches.0.clientY"):i.clientY,u=a?s:l,c=u-t.startPos;t.startPos=u,t.updateThumbOffset(o+c)},t.onMouseUp=function(i){i.preventDefault(),t.clearEvents()},t.onTrackClick=function(i){var n=t.cfg,a=n.isHorizontal,o=n.x,s=n.y,l=n.thumbLen,u=t.getContainerDOM(),c=u.getBoundingClientRect(),h=i.clientX,f=i.clientY,v=a?h-c.left-o-l/2:f-c.top-s-l/2,d=t.validateRange(v);t.updateThumbOffset(d)},t.onThumbMouseOver=function(){var i=t.cfg.theme.hover.thumbColor;t.getElementByLocalId("thumb").attr("stroke",i),t.draw()},t.onThumbMouseOut=function(){var i=t.cfg.theme.default.thumbColor;t.getElementByLocalId("thumb").attr("stroke",i),t.draw()},t}return e.prototype.setRange=function(t,i){this.set("minLimit",t),this.set("maxLimit",i);var n=this.getValue(),a=Ct(n,t,i);n!==a&&!this.get("isInit")&&this.setValue(a)},e.prototype.getRange=function(){var t=this.get("minLimit")||0,i=this.get("maxLimit")||1;return{min:t,max:i}},e.prototype.setValue=function(t){var i=this.getRange(),n=this.getValue();this.update({thumbOffset:(this.get("trackLen")-this.get("thumbLen"))*Ct(t,i.min,i.max)}),this.delegateEmit("valuechange",{originalValue:n,value:this.getValue()})},e.prototype.getValue=function(){return Ct(this.get("thumbOffset")/(this.get("trackLen")-this.get("thumbLen")),0,1)},e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"scrollbar",isHorizontal:!0,minThumbLen:20,thumbOffset:0,theme:Fl})},e.prototype.renderInner=function(t){this.renderTrackShape(t),this.renderThumbShape(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.renderTrackShape=function(t){var i=this.cfg,n=i.trackLen,a=i.theme,o=a===void 0?{default:{}}:a,s=H({},Fl,o).default,l=s.lineCap,u=s.trackColor,c=s.size,h=A(this.cfg,"size",c),f=this.get("isHorizontal")?{x1:0+h/2,y1:h/2,x2:n-h/2,y2:h/2,lineWidth:h,stroke:u,lineCap:l}:{x1:h/2,y1:0+h/2,x2:h/2,y2:n-h/2,lineWidth:h,stroke:u,lineCap:l};return this.addShape(t,{id:this.getElementId("track"),name:"track",type:"line",attrs:f})},e.prototype.renderThumbShape=function(t){var i=this.cfg,n=i.thumbOffset,a=i.thumbLen,o=i.theme,s=H({},Fl,o).default,l=s.size,u=s.lineCap,c=s.thumbColor,h=A(this.cfg,"size",l),f=this.get("isHorizontal")?{x1:n+h/2,y1:h/2,x2:n+a-h/2,y2:h/2,lineWidth:h,stroke:c,lineCap:u,cursor:"default"}:{x1:h/2,y1:n+h/2,x2:h/2,y2:n+a-h/2,lineWidth:h,stroke:c,lineCap:u,cursor:"default"};return this.addShape(t,{id:this.getElementId("thumb"),name:"thumb",type:"line",attrs:f})},e.prototype.bindEvents=function(){var t=this.get("group");t.on("mousedown",this.onStartEvent(!1)),t.on("mouseup",this.onMouseUp),t.on("touchstart",this.onStartEvent(!0)),t.on("touchend",this.onMouseUp);var i=t.findById(this.getElementId("track"));i.on("click",this.onTrackClick);var n=t.findById(this.getElementId("thumb"));n.on("mouseover",this.onThumbMouseOver),n.on("mouseout",this.onThumbMouseOut)},e.prototype.getContainerDOM=function(){var t=this.get("container"),i=t&&t.get("canvas");return i&&i.get("container")},e.prototype.validateRange=function(t){var i=this.cfg,n=i.thumbLen,a=i.trackLen,o=t;return t+n>a?o=a-n:t+na.x?a.x:e,t=ta.y?a.y:i,n=n=i&&r<=n}function oA(r,e,t){if(Q(r))return r.padEnd(e,t);if(R(r)){var i=r.length;if(i=this.minX&&e.maxX<=this.maxX&&e.minY>=this.minY&&e.maxY<=this.maxY},r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height)},r.prototype.add=function(){for(var e=[],t=0;te.minX&&this.minYe.minY},r.prototype.size=function(){return this.width*this.height},r.prototype.isPointIn=function(e){return e.x>=this.minX&&e.x<=this.maxX&&e.y>=this.minY&&e.y<=this.maxY},r}();function sA(r){return[[r.minX,r.minY],[r.maxX,r.minY],[r.maxX,r.maxY],[r.minX,r.maxY]]}function Ia(r){if(r.isPolar&&!r.isTransposed)return(r.endAngle-r.startAngle)*r.getRadius();var e=r.convert({x:0,y:0}),t=r.convert({x:1,y:0});return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function lA(r){if(r.isPolar){var e=r.startAngle,t=r.endAngle;return t-e===Math.PI*2}return!1}function Rs(r,e){var t=r.getCenter();return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function uA(r,e){var t=!1;if(r)if(r.type==="theta"){var i=r.start,n=r.end;t=Wi(e.x,i.x,n.x)&&Wi(e.y,i.y,n.y)}else{var a=r.invert(e);t=Wi(a.x,0,1)&&Wi(a.y,0,1)}return t}function nn(r,e){var t=r.getCenter();return Math.atan2(e.y-t.y,e.x-t.x)}function Tc(r,e){e===void 0&&(e=0);var t=r.start,i=r.end,n=r.getWidth(),a=r.getHeight();if(r.isPolar){var o=r.startAngle,s=r.endAngle,l=r.getCenter(),u=r.getRadius();return{type:"path",startState:{path:Nr(l.x,l.y,u+e,o,o)},endState:function(h){var f=(s-o)*h+o,v=Nr(l.x,l.y,u+e,o,f);return{path:v}},attrs:{path:Nr(l.x,l.y,u+e,o,s)}}}var c;return r.isTransposed?c={height:a+e*2}:c={width:n+e*2},{type:"rect",startState:{x:t.x-e,y:i.y-e,width:r.isTransposed?n+e*2:0,height:r.isTransposed?0:a+e*2},endState:c,attrs:{x:t.x-e,y:i.y-e,width:n+e*2,height:a+e*2}}}function cA(r,e){e===void 0&&(e=0);var t=r.start,i=r.end,n=r.getWidth(),a=r.getHeight(),o=Math.min(t.x,i.x),s=Math.min(t.y,i.y);return ie.fromRange(o-e,s-e,o+n+e,s+a+e)}var hA=/^(?:(?!0000)[0-9]{4}([-/.]+)(?:(?:0?[1-9]|1[0-2])\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\1(?:29|30)|(?:0?[13578]|1[02])\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]+)0?2\2(?:29))(\s+([01]|([01][0-9]|2[0-3])):([0-9]|[0-5][0-9]):([0-9]|[0-5][0-9]))?$/;function fA(r){var e="linear";return hA.test(r)?e="timeCat":Q(r)&&(e="cat"),e}function Jg(r,e,t,i){return e===void 0&&(e={}),e.type?e.type:r.type!=="identity"&&Hi.includes(t)&&["interval"].includes(i)||r.isCategory?"cat":r.type}function vA(r,e,t){var i=e||[];if(rt(r)||B(jx(i,r))&&fe(t)){var n=yu("identity");return new n({field:r.toString(),values:[r]})}var a=Ve(i,r),o=A(t,"type",fA(a[0])),s=yu(o);return new s(m({field:r,values:a},t))}function dA(r,e){if(r.type!=="identity"&&e.type!=="identity"){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);r.change(t)}}function va(r){return r.alias||r.field}function ty(r,e,t){var i=r.values,n=i.length,a;if(n===1)a=[.5,1];else{var o=1,s=0;lA(e)?e.isTransposed?(o=A(t,"widthRatio.multiplePie",1/1.3),s=1/n*o,a=[s/2,1-s/2]):a=[0,1-1/n]:(s=1/n/2,a=[s,1-s])}return a}function pA(r){var e=r.values.filter(function(t){return!B(t)&&!isNaN(t)});return Math.max.apply(Math,Z(Z([],q(e),!1),[B(r.max)?-1/0:r.max],!1))}function gA(r){var e,t;switch(r){case G.TOP:e={x:0,y:1},t={x:1,y:1};break;case G.RIGHT:e={x:1,y:0},t={x:1,y:1};break;case G.BOTTOM:e={x:0,y:0},t={x:1,y:0};break;case G.LEFT:e={x:0,y:0},t={x:0,y:1};break;default:e=t={x:0,y:0}}return{start:e,end:t}}function yA(r){var e,t;return r.isTransposed?(e={x:0,y:0},t={x:1,y:0}):(e={x:0,y:0},t={x:0,y:1}),{start:e,end:t}}function eo(r,e){var t={start:{x:0,y:0},end:{x:0,y:0}};r.isRect?t=gA(e):r.isPolar&&(t=yA(r));var i=t.start,n=t.end;return{start:r.convert(i),end:r.convert(n)}}function ey(r){var e=r.start,t=r.end;return e.x===t.x}function cv(r,e){var t=r.start,i=r.end,n=ey(r);return n?(t.y-i.y)*(e.x-t.x)>0?1:-1:(i.x-t.x)*(t.y-e.y)>0?-1:1}function ro(r,e){var t=A(r,["components","axis"],{});return H({},A(t,["common"],{}),H({},A(t,[e],{})))}function hv(r,e,t){var i=A(r,["components","axis"],{});return H({},A(i,["common","title"],{}),H({},A(i,[e,"title"],{})),t)}function Tl(r){var e=r.x,t=r.y,i=r.circleCenter,n=t.start>t.end,a=r.isTransposed?r.convert({x:n?0:1,y:0}):r.convert({x:0,y:n?0:1}),o=[a.x-i.x,a.y-i.y],s=[1,0],l=a.y>i.y?Ql(o,s):Ql(o,s)*-1,u=l+(e.end-e.start),c=Math.sqrt(Math.pow(a.x-i.x,2)+Math.pow(a.y-i.y,2));return{center:i,radius:c,startAngle:l,endAngle:u}}function Uo(r,e){return tn(r)?r===!1?!1:{}:A(r,[e])}function fv(r,e){return A(r,"position",e)}function vv(r,e){return A(e,["title","text"],va(r))}var gn=function(){function r(e,t){this.destroyed=!1,this.facets=[],this.view=e,this.cfg=H({},this.getDefaultCfg(),t)}return r.prototype.init=function(){this.container||(this.container=this.createContainer());var e=this.view.getData();this.facets=this.generateFacets(e)},r.prototype.render=function(){this.renderViews()},r.prototype.update=function(){},r.prototype.clear=function(){this.clearFacetViews()},r.prototype.destroy=function(){this.clear(),this.container&&(this.container.remove(!0),this.container=void 0),this.destroyed=!0,this.view=void 0,this.facets=[]},r.prototype.facetToView=function(e){var t=e.region,i=e.data,n=e.padding,a=n===void 0?this.cfg.padding:n,o=this.view.createView({region:t,padding:a});o.data(i||[]),e.view=o,this.beforeEachView(o,e);var s=this.cfg.eachView;return s&&s(o,e),this.afterEachView(o,e),o},r.prototype.createContainer=function(){var e=this.view.getLayer(It.FORE);return e.addGroup()},r.prototype.renderViews=function(){this.createFacetViews()},r.prototype.createFacetViews=function(){var e=this;return this.facets.map(function(t){return e.facetToView(t)})},r.prototype.clearFacetViews=function(){var e=this;C(this.facets,function(t){t.view&&(e.view.removeView(t.view),t.view=void 0)})},r.prototype.parseSpacing=function(){var e=this.view.viewBBox,t=e.width,i=e.height,n=this.cfg.spacing;return n.map(function(a,o){return rt(a)?a/(o===0?t:i):parseFloat(a)/100})},r.prototype.getFieldValues=function(e,t){var i=[],n={};return C(e,function(a){var o=a[t];!B(o)&&!n[o]&&(i.push(o),n[o]=!0)}),i},r.prototype.getRegion=function(e,t,i,n){var a=q(this.parseSpacing(),2),o=a[0],s=a[1],l=(1+o)/(t===0?1:t)-o,u=(1+s)/(e===0?1:e)-s,c={x:(l+o)*i,y:(u+s)*n},h={x:c.x+l,y:c.y+u};return{start:c,end:h}},r.prototype.getDefaultCfg=function(){return{eachView:void 0,showTitle:!0,spacing:[0,0],padding:10,fields:[]}},r.prototype.getDefaultTitleCfg=function(){var e=this.view.getTheme().fontFamily;return{style:{fontSize:14,fill:"#666",fontFamily:e}}},r.prototype.processAxis=function(e,t){var i=e.getOptions(),n=i.coordinate,a=e.geometries,o=A(n,"type","rect");if(o==="rect"&&a.length){B(i.axes)&&(i.axes={});var s=i.axes,l=q(a[0].getXYFields(),2),u=l[0],c=l[1],h=Uo(s,u),f=Uo(s,c);h!==!1&&(i.axes[u]=this.getXAxisOption(u,s,h,t)),f!==!1&&(i.axes[c]=this.getYAxisOption(c,s,f,t))}},r.prototype.getFacetDataFilter=function(e){return function(t){return Qu(e,function(i){var n=i.field,a=i.value;return!B(a)&&n?t[n]===a:!0})}},r}(),ry={},mA=function(r){return ry[vn(r)]},yn=function(r,e){ry[vn(r)]=e},St=function(){function r(e,t){this.context=e,this.cfg=t,e.addAction(this)}return r.prototype.applyCfg=function(e){mt(this,e)},r.prototype.init=function(){this.applyCfg(this.cfg)},r.prototype.destroy=function(){this.context.removeAction(this),this.context=null},r}(),xA=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.execute=function(){this.callback&&this.callback(this.context)},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.callback=null},e}(St),Ec={};function wA(r,e){var t=Ec[r],i=null;if(t){var n=t.ActionClass,a=t.cfg;i=new n(e,a),i.name=r,i.init()}return i}function zs(r){var e=Ec[r];return A(e,"ActionClass")}function j(r,e,t){Ec[r]={ActionClass:e,cfg:t}}function bA(r,e){var t=new xA(e);return t.callback=r,t.name="callback",t}function SA(r,e){var t=[];if(r.length){t.push(["M",r[0].x,r[0].y]);for(var i=1,n=r.length;i=o[u]?1:0,f=c>Math.PI?1:0,v=t.convert(s),d=Rs(t,v);if(d>=.5)if(c===Math.PI*2){var p={x:(s.x+o.x)/2,y:(s.y+o.y)/2},g=t.convert(p);l.push(["A",d,d,0,f,h,g.x,g.y]),l.push(["A",d,d,0,f,h,v.x,v.y])}else l.push(["A",d,d,0,f,h,v.x,v.y]);return l}function MA(r){C(r,function(e,t){var i=e;if(i[0].toLowerCase()==="a"){var n=r[t-1],a=r[t+1];a&&a[0].toLowerCase()==="a"?n&&n[0].toLowerCase()==="l"&&(n[0]="M"):n&&n[0].toLowerCase()==="a"&&a&&a[0].toLowerCase()==="l"&&(a[0]="M")}})}var AA=function(r,e,t,i){var n,a=[],o=!!i,s,l,u,c,h,f,v;if(o){n=q(i,2),u=n[0],c=n[1];for(var d=0,p=r.length;d0&&n>0&&(i>=e||n>=e)}function sy(r,e){var t=r.getCanvasBBox();return oy(r,e)?t:null}function ly(r,e){var t=r.event.maskShapes;return t.map(function(i){return sy(i,e)}).filter(function(i){return!!i})}function EA(r,e){var t=r.event,i=t.target;return uy(i,e)}function uy(r,e){return oy(r,e)?r.attr("path"):null}function kA(r,e){var t=r.event.maskShapes;return t.map(function(i){return uy(i,e)})}function Hr(r){var e=r.event,t,i=e.target;return i&&(t=i.get("element")),t}function Mi(r){var e=r.event,t=e.target,i;return t&&(i=t.get("delegateObject")),i}function cy(r){var e=r.event.gEvent;return!(e&&e.fromShape&&e.toShape&&e.fromShape.get("element")===e.toShape.get("element"))}function da(r){return r&&r.component&&r.component.isList()}function hy(r){return r&&r.component&&r.component.isSlider()}function pa(r){var e=r.event,t=e.target;return t&&(t==null?void 0:t.get("name"))==="mask"||Ns(r)}function Ns(r){var e;return((e=r.event.target)===null||e===void 0?void 0:e.get("name"))==="multi-mask"}function kc(r,e){var t=r.event.target;if(Ns(r))return LA(r,e);if(t.get("type")==="path"){var i=EA(r,e);return i?py(r.view,i):void 0}var n=ay(r,e);return n?Gs(r.view,n):null}function LA(r,e){var t=r.event.target;if(t.get("type")==="path"){var i=kA(r,e);return i.length>0?i.flatMap(function(a){return py(r.view,a)}):null}var n=ly(r,e);return n.length>0?n.flatMap(function(a){return Gs(r.view,a)}):null}function fy(r,e,t){if(Ns(r))return IA(r,e,t);var i=ay(r,t);return i?vy(i,r,e):null}function vy(r,e,t){var i=e.view,n=Mu(i,t,{x:r.x,y:r.y}),a=Mu(i,t,{x:r.maxX,y:r.maxY}),o={minX:n.x,minY:n.y,maxX:a.x,maxY:a.y};return Gs(t,o)}function IA(r,e,t){var i=ly(r,t);return i.length>0?i.flatMap(function(n){return vy(n,r,e)}):null}function _t(r){var e=r.geometries,t=[];return C(e,function(i){var n=i.elements;t=t.concat(n)}),r.views&&r.views.length&&C(r.views,function(i){t=t.concat(_t(i))}),t}function PA(r,e,t){var i=_t(r);return i.filter(function(n){return Ye(n,e)===t})}function dy(r,e){var t=r.geometries,i=[];return C(t,function(n){var a=n.getElementsBy(function(o){return o.hasState(e)});i=i.concat(a)}),i}function Ye(r,e){var t=r.getModel(),i=t.data,n;return R(i)?n=i[0][e]:n=i[e],n}function DA(r,e){return!(e.minX>r.maxX||e.maxXr.maxY||e.maxY=e.x&&r.y<=e.y&&r.maxY>e.y}function Ke(r){var e=r.parent,t=null;return e&&(t=e.views.filter(function(i){return i!==r})),t}function BA(r,e){var t=r.getCoordinate();return t.invert(e)}function Mu(r,e,t){var i=BA(r,t);return e.getCoordinate().convert(i)}function yy(r,e,t,i){var n=!1;return C(r,function(a){if(a[t]===e[t]&&a[i]===e[i])return n=!0,!1}),n}function an(r,e){var t=r.getScaleByField(e);return!t&&r.views&&C(r.views,function(i){if(t=an(i,e),t)return!1}),t}var RA=function(){function r(e){this.actions=[],this.event=null,this.cacheMap={},this.view=e}return r.prototype.cache=function(){for(var e=[],t=0;t=0&&t.splice(i,1)},r.prototype.getCurrentPoint=function(){var e=this.event;if(e)if(e.target instanceof HTMLElement){var t=this.view.getCanvas(),i=t.getPointByClient(e.clientX,e.clientY);return i}else return{x:e.x,y:e.y};return null},r.prototype.getCurrentShape=function(){return A(this.event,["gEvent","shape"])},r.prototype.isInPlot=function(){var e=this.getCurrentPoint();return e?this.view.isPointInPlot(e):!1},r.prototype.isInShape=function(e){var t=this.getCurrentShape();return t?t.get("name")===e:!1},r.prototype.isInComponent=function(e){var t=gy(this.view),i=this.getCurrentPoint();return i?!!t.find(function(n){var a=n.getBBox();return e?n.get("name")===e&&pv(a,i):pv(a,i)}):!1},r.prototype.destroy=function(){C(this.actions.slice(),function(e){e.destroy()}),this.view=null,this.event=null,this.actions=null,this.cacheMap=null},r}(),zA=function(){function r(e,t){this.view=e,this.cfg=t}return r.prototype.init=function(){this.initEvents()},r.prototype.initEvents=function(){},r.prototype.clearEvents=function(){},r.prototype.destroy=function(){this.clearEvents()},r}();function gv(r,e,t){var i=r.split(":"),n=i[0],a=e.getAction(n)||wA(n,e);if(!a)throw new Error("There is no action named ".concat(n));var o=i[1];return{action:a,methodName:o,arg:t}}function yv(r){var e=r.action,t=r.methodName,i=r.arg;if(e[t])e[t](i);else throw new Error("Action(".concat(e.name,") doesn't have a method called ").concat(t))}var ge={START:"start",SHOW_ENABLE:"showEnable",END:"end",ROLLBACK:"rollback",PROCESSING:"processing"},NA=function(r){E(e,r);function e(t,i){var n=r.call(this,t,i)||this;return n.callbackCaches={},n.emitCaches={},n.steps=i,n}return e.prototype.init=function(){this.initContext(),r.prototype.init.call(this)},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.steps=null,this.context&&(this.context.destroy(),this.context=null),this.callbackCaches=null,this.view=null},e.prototype.initEvents=function(){var t=this;C(this.steps,function(i,n){C(i,function(a){var o=t.getActionCallback(n,a);o&&t.bindEvent(a.trigger,o)})})},e.prototype.clearEvents=function(){var t=this;C(this.steps,function(i,n){C(i,function(a){var o=t.getActionCallback(n,a);o&&t.offEvent(a.trigger,o)})})},e.prototype.initContext=function(){var t=this.view,i=new RA(t);this.context=i;var n=this.steps;C(n,function(a){C(a,function(o){if(X(o.action))o.actionObject={action:bA(o.action,i),methodName:"execute"};else if(Q(o.action))o.actionObject=gv(o.action,i,o.arg);else if(R(o.action)){var s=o.action,l=R(o.arg)?o.arg:[o.arg];o.actionObject=[],C(s,function(u,c){o.actionObject.push(gv(u,i,l[c]))})}})})},e.prototype.isAllowStep=function(t){var i=this.currentStepName,n=this.steps;if(i===t||t===ge.SHOW_ENABLE)return!0;if(t===ge.PROCESSING)return i===ge.START;if(t===ge.START)return i!==ge.PROCESSING;if(t===ge.END)return i===ge.PROCESSING||i===ge.START;if(t===ge.ROLLBACK){if(n[ge.END])return i===ge.END;if(i===ge.START)return!0}return!1},e.prototype.isAllowExecute=function(t,i){if(this.isAllowStep(t)){var n=this.getKey(t,i);return i.once&&this.emitCaches[n]?!1:i.isEnable?i.isEnable(this.context):!0}return!1},e.prototype.enterStep=function(t){this.currentStepName=t,this.emitCaches={}},e.prototype.afterExecute=function(t,i){t!==ge.SHOW_ENABLE&&this.currentStepName!==t&&this.enterStep(t);var n=this.getKey(t,i);this.emitCaches[n]=!0},e.prototype.getKey=function(t,i){return t+i.trigger+i.action},e.prototype.getActionCallback=function(t,i){var n=this,a=this.context,o=this.callbackCaches,s=i.actionObject;if(i.action&&s){var l=this.getKey(t,i);if(!o[l]){var u=function(c){a.event=c,n.isAllowExecute(t,i)?(R(s)?C(s,function(h){a.event=c,yv(h)}):(a.event=c,yv(s)),n.afterExecute(t,i),i.callback&&(a.event=c,i.callback(a))):a.event=null};i.debounce?o[l]=dp(u,i.debounce.wait,i.debounce.immediate):i.throttle?o[l]=ec(u,i.throttle.wait,{leading:i.throttle.leading,trailing:i.throttle.trailing}):o[l]=u}return o[l]}return null},e.prototype.bindEvent=function(t,i){var n=t.split(":");n[0]==="window"?window.addEventListener(n[1],i):n[0]==="document"?document.addEventListener(n[1],i):this.view.on(t,i)},e.prototype.offEvent=function(t,i){var n=t.split(":");n[0]==="window"?window.removeEventListener(n[1],i):n[0]==="document"?document.removeEventListener(n[1],i):this.view.off(t,i)},e}(zA),my={};function GA(r){return my[vn(r)]}function it(r,e){my[vn(r)]=e}function VA(r,e,t){var i=GA(r);if(!i)return null;if(Ze(i)){var n=mt(re(i),t);return new NA(e,n)}else{var a=i;return new a(e,t)}}function YA(r){return{title:{autoRotate:!0,position:"center",spacing:r.axisTitleSpacing,style:{fill:r.axisTitleTextFillColor,fontSize:r.axisTitleTextFontSize,lineHeight:r.axisTitleTextLineHeight,textBaseline:"middle",fontFamily:r.fontFamily},iconStyle:{fill:r.axisDescriptionIconFillColor}},label:{autoRotate:!1,autoEllipsis:!1,autoHide:{type:"equidistance",cfg:{minGap:6}},offset:r.axisLabelOffset,style:{fill:r.axisLabelFillColor,fontSize:r.axisLabelFontSize,lineHeight:r.axisLabelLineHeight,fontFamily:r.fontFamily}},line:{style:{lineWidth:r.axisLineBorder,stroke:r.axisLineBorderColor}},grid:{line:{type:"line",style:{stroke:r.axisGridBorderColor,lineWidth:r.axisGridBorder,lineDash:r.axisGridLineDash}},alignTick:!0,animate:!0},tickLine:{style:{lineWidth:r.axisTickLineBorder,stroke:r.axisTickLineBorderColor},alignTick:!0,length:r.axisTickLineLength},subTickLine:null,animate:!0}}function $A(r){return{title:null,marker:{symbol:"circle",spacing:r.legendMarkerSpacing,style:{r:r.legendCircleMarkerSize,fill:r.legendMarkerColor}},itemName:{spacing:5,style:{fill:r.legendItemNameFillColor,fontFamily:r.fontFamily,fontSize:r.legendItemNameFontSize,lineHeight:r.legendItemNameLineHeight,fontWeight:r.legendItemNameFontWeight,textAlign:"start",textBaseline:"middle"}},itemStates:{active:{nameStyle:{opacity:.8}},unchecked:{nameStyle:{fill:"#D8D8D8"},markerStyle:{fill:"#D8D8D8",stroke:"#D8D8D8"}},inactive:{nameStyle:{fill:"#D8D8D8"},markerStyle:{opacity:.2}}},flipPage:!0,pageNavigator:{marker:{style:{size:r.legendPageNavigatorMarkerSize,inactiveFill:r.legendPageNavigatorMarkerInactiveFillColor,inactiveOpacity:r.legendPageNavigatorMarkerInactiveFillOpacity,fill:r.legendPageNavigatorMarkerFillColor,opacity:r.legendPageNavigatorMarkerFillOpacity}},text:{style:{fill:r.legendPageNavigatorTextFillColor,fontSize:r.legendPageNavigatorTextFontSize}}},animate:!1,maxItemWidth:200,itemSpacing:r.legendItemSpacing,itemMarginBottom:r.legendItemMarginBottom,padding:r.legendPadding}}function xy(r){var e,t={point:{default:{fill:r.pointFillColor,r:r.pointSize,stroke:r.pointBorderColor,lineWidth:r.pointBorder,fillOpacity:r.pointFillOpacity},active:{stroke:r.pointActiveBorderColor,lineWidth:r.pointActiveBorder},selected:{stroke:r.pointSelectedBorderColor,lineWidth:r.pointSelectedBorder},inactive:{fillOpacity:r.pointInactiveFillOpacity,strokeOpacity:r.pointInactiveBorderOpacity}},hollowPoint:{default:{fill:r.hollowPointFillColor,lineWidth:r.hollowPointBorder,stroke:r.hollowPointBorderColor,strokeOpacity:r.hollowPointBorderOpacity,r:r.hollowPointSize},active:{stroke:r.hollowPointActiveBorderColor,strokeOpacity:r.hollowPointActiveBorderOpacity},selected:{lineWidth:r.hollowPointSelectedBorder,stroke:r.hollowPointSelectedBorderColor,strokeOpacity:r.hollowPointSelectedBorderOpacity},inactive:{strokeOpacity:r.hollowPointInactiveBorderOpacity}},area:{default:{fill:r.areaFillColor,fillOpacity:r.areaFillOpacity,stroke:null},active:{fillOpacity:r.areaActiveFillOpacity},selected:{fillOpacity:r.areaSelectedFillOpacity},inactive:{fillOpacity:r.areaInactiveFillOpacity}},hollowArea:{default:{fill:null,stroke:r.hollowAreaBorderColor,lineWidth:r.hollowAreaBorder,strokeOpacity:r.hollowAreaBorderOpacity},active:{fill:null,lineWidth:r.hollowAreaActiveBorder},selected:{fill:null,lineWidth:r.hollowAreaSelectedBorder},inactive:{strokeOpacity:r.hollowAreaInactiveBorderOpacity}},interval:{default:{fill:r.intervalFillColor,fillOpacity:r.intervalFillOpacity},active:{stroke:r.intervalActiveBorderColor,lineWidth:r.intervalActiveBorder},selected:{stroke:r.intervalSelectedBorderColor,lineWidth:r.intervalSelectedBorder},inactive:{fillOpacity:r.intervalInactiveFillOpacity,strokeOpacity:r.intervalInactiveBorderOpacity}},hollowInterval:{default:{fill:r.hollowIntervalFillColor,stroke:r.hollowIntervalBorderColor,lineWidth:r.hollowIntervalBorder,strokeOpacity:r.hollowIntervalBorderOpacity},active:{stroke:r.hollowIntervalActiveBorderColor,lineWidth:r.hollowIntervalActiveBorder,strokeOpacity:r.hollowIntervalActiveBorderOpacity},selected:{stroke:r.hollowIntervalSelectedBorderColor,lineWidth:r.hollowIntervalSelectedBorder,strokeOpacity:r.hollowIntervalSelectedBorderOpacity},inactive:{stroke:r.hollowIntervalInactiveBorderColor,lineWidth:r.hollowIntervalInactiveBorder,strokeOpacity:r.hollowIntervalInactiveBorderOpacity}},line:{default:{stroke:r.lineBorderColor,lineWidth:r.lineBorder,strokeOpacity:r.lineBorderOpacity,fill:null,lineAppendWidth:10,lineCap:"round",lineJoin:"round"},active:{lineWidth:r.lineActiveBorder},selected:{lineWidth:r.lineSelectedBorder},inactive:{strokeOpacity:r.lineInactiveBorderOpacity}}},i=YA(r),n=$A(r);return{background:r.backgroundColor,defaultColor:r.brandColor,subColor:r.subColor,semanticRed:r.paletteSemanticRed,semanticGreen:r.paletteSemanticGreen,padding:"auto",fontFamily:r.fontFamily,columnWidthRatio:1/2,maxColumnWidth:null,minColumnWidth:null,roseWidthRatio:.9999999,multiplePieWidthRatio:1/1.3,colors10:r.paletteQualitative10,colors20:r.paletteQualitative20,sequenceColors:r.paletteSequence,shapes:{point:["hollow-circle","hollow-square","hollow-bowtie","hollow-diamond","hollow-hexagon","hollow-triangle","hollow-triangle-down","circle","square","bowtie","diamond","hexagon","triangle","triangle-down","cross","tick","plus","hyphen","line"],line:["line","dash","dot","smooth"],area:["area","smooth","line","smooth-line"],interval:["rect","hollow-rect","line","tick"]},sizes:[1,10],geometries:{interval:{rect:{default:{style:t.interval.default},active:{style:t.interval.active},inactive:{style:t.interval.inactive},selected:{style:function(a){var o=a.geometry.coordinate;if(o.isPolar&&o.isTransposed){var s=fa(a.getModel(),o),l=s.startAngle,u=s.endAngle,c=(l+u)/2,h=7.5,f=h*Math.cos(c),v=h*Math.sin(c);return{matrix:Rt(null,[["t",f,v]])}}return t.interval.selected}}},"hollow-rect":{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}},line:{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}},tick:{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}},funnel:{default:{style:t.interval.default},active:{style:t.interval.active},inactive:{style:t.interval.inactive},selected:{style:t.interval.selected}},pyramid:{default:{style:t.interval.default},active:{style:t.interval.active},inactive:{style:t.interval.inactive},selected:{style:t.interval.selected}}},line:{line:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},dot:{default:{style:m(m({},t.line.default),{lineCap:null,lineDash:[1,1]})},active:{style:m(m({},t.line.active),{lineCap:null,lineDash:[1,1]})},inactive:{style:m(m({},t.line.inactive),{lineCap:null,lineDash:[1,1]})},selected:{style:m(m({},t.line.selected),{lineCap:null,lineDash:[1,1]})}},dash:{default:{style:m(m({},t.line.default),{lineCap:null,lineDash:[5.5,1]})},active:{style:m(m({},t.line.active),{lineCap:null,lineDash:[5.5,1]})},inactive:{style:m(m({},t.line.inactive),{lineCap:null,lineDash:[5.5,1]})},selected:{style:m(m({},t.line.selected),{lineCap:null,lineDash:[5.5,1]})}},smooth:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},hv:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},vh:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},hvh:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},vhv:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}}},polygon:{polygon:{default:{style:t.interval.default},active:{style:t.interval.active},inactive:{style:t.interval.inactive},selected:{style:t.interval.selected}}},point:{circle:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},square:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},bowtie:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},diamond:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},hexagon:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},triangle:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},"triangle-down":{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},"hollow-circle":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-square":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-bowtie":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-diamond":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-hexagon":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-triangle":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-triangle-down":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},cross:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},tick:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},plus:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},hyphen:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},line:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}}},area:{area:{default:{style:t.area.default},active:{style:t.area.active},inactive:{style:t.area.inactive},selected:{style:t.area.selected}},smooth:{default:{style:t.area.default},active:{style:t.area.active},inactive:{style:t.area.inactive},selected:{style:t.area.selected}},line:{default:{style:t.hollowArea.default},active:{style:t.hollowArea.active},inactive:{style:t.hollowArea.inactive},selected:{style:t.hollowArea.selected}},"smooth-line":{default:{style:t.hollowArea.default},active:{style:t.hollowArea.active},inactive:{style:t.hollowArea.inactive},selected:{style:t.hollowArea.selected}}},schema:{candle:{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}},box:{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}}},edge:{line:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},vhv:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},smooth:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},arc:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}}},violin:{violin:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},smooth:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},hollow:{default:{style:t.hollowArea.default},active:{style:t.hollowArea.active},inactive:{style:t.hollowArea.inactive},selected:{style:t.hollowArea.selected}},"hollow-smooth":{default:{style:t.hollowArea.default},active:{style:t.hollowArea.active},inactive:{style:t.hollowArea.inactive},selected:{style:t.hollowArea.selected}}}},components:{axis:{common:i,top:{position:"top",grid:null,title:null,verticalLimitLength:1/2},bottom:{position:"bottom",grid:null,title:null,verticalLimitLength:1/2},left:{position:"left",title:null,line:null,tickLine:null,verticalLimitLength:1/3},right:{position:"right",title:null,line:null,tickLine:null,verticalLimitLength:1/3},circle:{title:null,grid:H({},i.grid,{line:{type:"line"}})},radius:{title:null,grid:H({},i.grid,{line:{type:"circle"}})}},legend:{common:n,right:{layout:"vertical",padding:r.legendVerticalPadding},left:{layout:"vertical",padding:r.legendVerticalPadding},top:{layout:"horizontal",padding:r.legendHorizontalPadding},bottom:{layout:"horizontal",padding:r.legendHorizontalPadding},continuous:{title:null,background:null,track:{},rail:{type:"color",size:r.sliderRailHeight,defaultLength:r.sliderRailWidth,style:{fill:r.sliderRailFillColor,stroke:r.sliderRailBorderColor,lineWidth:r.sliderRailBorder}},label:{align:"rail",spacing:4,formatter:null,style:{fill:r.sliderLabelTextFillColor,fontSize:r.sliderLabelTextFontSize,lineHeight:r.sliderLabelTextLineHeight,textBaseline:"middle",fontFamily:r.fontFamily}},handler:{size:r.sliderHandlerWidth,style:{fill:r.sliderHandlerFillColor,stroke:r.sliderHandlerBorderColor}},slidable:!0,padding:n.padding}},tooltip:{showContent:!0,follow:!0,showCrosshairs:!1,showMarkers:!0,shared:!1,enterable:!1,position:"auto",marker:{symbol:"circle",stroke:"#fff",shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0,0,0,0.09)",lineWidth:2,r:4},crosshairs:{line:{style:{stroke:r.tooltipCrosshairsBorderColor,lineWidth:r.tooltipCrosshairsBorder}},text:null,textBackground:{padding:2,style:{fill:"rgba(0, 0, 0, 0.25)",lineWidth:0,stroke:null}},follow:!1},domStyles:(e={},e["".concat(mr)]={position:"absolute",visibility:"hidden",zIndex:8,transition:"left 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s, top 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s",backgroundColor:r.tooltipContainerFillColor,opacity:r.tooltipContainerFillOpacity,boxShadow:r.tooltipContainerShadow,borderRadius:"".concat(r.tooltipContainerBorderRadius,"px"),color:r.tooltipTextFillColor,fontSize:"".concat(r.tooltipTextFontSize,"px"),fontFamily:r.fontFamily,lineHeight:"".concat(r.tooltipTextLineHeight,"px"),padding:"0 12px 0 12px"},e["".concat(xr)]={marginBottom:"12px",marginTop:"12px"},e["".concat(ha)]={margin:0,listStyleType:"none",padding:0},e["".concat(Ps)]={listStyleType:"none",padding:0,marginBottom:"12px",marginTop:"12px",marginLeft:0,marginRight:0},e["".concat(Ds)]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},e["".concat(Os)]={display:"inline-block",float:"right",marginLeft:"30px"},e)},annotation:{arc:{style:{stroke:r.annotationArcBorderColor,lineWidth:r.annotationArcBorder},animate:!0},line:{style:{stroke:r.annotationLineBorderColor,lineDash:r.annotationLineDash,lineWidth:r.annotationLineBorder},text:{position:"start",autoRotate:!0,style:{fill:r.annotationTextFillColor,stroke:r.annotationTextBorderColor,lineWidth:r.annotationTextBorder,fontSize:r.annotationTextFontSize,textAlign:"start",fontFamily:r.fontFamily,textBaseline:"bottom"}},animate:!0},text:{style:{fill:r.annotationTextFillColor,stroke:r.annotationTextBorderColor,lineWidth:r.annotationTextBorder,fontSize:r.annotationTextFontSize,textBaseline:"middle",textAlign:"start",fontFamily:r.fontFamily},animate:!0},region:{top:!1,style:{lineWidth:r.annotationRegionBorder,stroke:r.annotationRegionBorderColor,fill:r.annotationRegionFillColor,fillOpacity:r.annotationRegionFillOpacity},animate:!0},image:{top:!1,animate:!0},dataMarker:{top:!0,point:{style:{r:3,stroke:r.brandColor,lineWidth:2}},line:{style:{stroke:r.annotationLineBorderColor,lineWidth:r.annotationLineBorder},length:r.annotationDataMarkerLineLength},text:{style:{textAlign:"start",fill:r.annotationTextFillColor,stroke:r.annotationTextBorderColor,lineWidth:r.annotationTextBorder,fontSize:r.annotationTextFontSize,fontFamily:r.fontFamily}},direction:"upward",autoAdjust:!0,animate:!0},dataRegion:{style:{region:{fill:r.annotationRegionFillColor,fillOpacity:r.annotationRegionFillOpacity},text:{textAlign:"center",textBaseline:"bottom",fill:r.annotationTextFillColor,stroke:r.annotationTextBorderColor,lineWidth:r.annotationTextBorder,fontSize:r.annotationTextFontSize,fontFamily:r.fontFamily}},animate:!0}},slider:{common:{padding:[8,8,8,8],backgroundStyle:{fill:r.cSliderBackgroundFillColor,opacity:r.cSliderBackgroundFillOpacity},foregroundStyle:{fill:r.cSliderForegroundFillColor,opacity:r.cSliderForegroundFillOpacity},handlerStyle:{width:r.cSliderHandlerWidth,height:r.cSliderHandlerHeight,fill:r.cSliderHandlerFillColor,opacity:r.cSliderHandlerFillOpacity,stroke:r.cSliderHandlerBorderColor,lineWidth:r.cSliderHandlerBorder,radius:r.cSliderHandlerBorderRadius,highLightFill:r.cSliderHandlerHighlightFillColor},textStyle:{fill:r.cSliderTextFillColor,opacity:r.cSliderTextFillOpacity,fontSize:r.cSliderTextFontSize,lineHeight:r.cSliderTextLineHeight,fontWeight:r.cSliderTextFontWeight,stroke:r.cSliderTextBorderColor,lineWidth:r.cSliderTextBorder}}},scrollbar:{common:{padding:[8,8,8,8]},default:{style:{trackColor:r.scrollbarTrackFillColor,thumbColor:r.scrollbarThumbFillColor}},hover:{style:{thumbColor:r.scrollbarThumbHighlightFillColor}}}},labels:{offset:12,style:{fill:r.labelFillColor,fontSize:r.labelFontSize,fontFamily:r.fontFamily,stroke:r.labelBorderColor,lineWidth:r.labelBorder},fillColorDark:r.labelFillColorDark,fillColorLight:r.labelFillColorLight,autoRotate:!0},innerLabels:{style:{fill:r.innerLabelFillColor,fontSize:r.innerLabelFontSize,fontFamily:r.fontFamily,stroke:r.innerLabelBorderColor,lineWidth:r.innerLabelBorder},autoRotate:!0},overflowLabels:{style:{fill:r.overflowLabelFillColor,fontSize:r.overflowLabelFontSize,fontFamily:r.fontFamily,stroke:r.overflowLabelBorderColor,lineWidth:r.overflowLabelBorder}},pieLabels:{labelHeight:14,offset:10,labelLine:{style:{lineWidth:r.labelLineBorder}},autoRotate:!0}}}var vt={100:"#000",95:"#0D0D0D",85:"#262626",65:"#595959",45:"#8C8C8C",25:"#BFBFBF",15:"#D9D9D9",6:"#F0F0F0"},Ri={100:"#FFFFFF",95:"#F2F2F2",85:"#D9D9D9",65:"#A6A6A6",45:"#737373",25:"#404040",15:"#262626",6:"#0F0F0F"},HA=["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"],XA=["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"],WA=["#B8E1FF","#9AC5FF","#7DAAFF","#5B8FF9","#3D76DD","#085EC0","#0047A5","#00318A","#001D70"],wy=function(r){r===void 0&&(r={});var e=r.paletteQualitative10,t=e===void 0?HA:e,i=r.paletteQualitative20,n=i===void 0?XA:i,a=r.brandColor,o=a===void 0?t[0]:a,s={backgroundColor:"transparent",brandColor:o,subColor:"rgba(0,0,0,0.05)",paletteQualitative10:t,paletteQualitative20:n,paletteSemanticRed:"#F4664A",paletteSemanticGreen:"#30BF78",paletteSemanticYellow:"#FAAD14",paletteSequence:WA,fontFamily:`"Segoe UI", Roboto, "Helvetica Neue", Arial, + "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", + "Noto Color Emoji"`,axisLineBorderColor:vt[25],axisLineBorder:1,axisLineDash:null,axisTitleTextFillColor:vt[65],axisTitleTextFontSize:12,axisTitleTextLineHeight:12,axisTitleTextFontWeight:"normal",axisTitleSpacing:12,axisDescriptionIconFillColor:Ri[85],axisTickLineBorderColor:vt[25],axisTickLineLength:4,axisTickLineBorder:1,axisSubTickLineBorderColor:vt[15],axisSubTickLineLength:2,axisSubTickLineBorder:1,axisLabelFillColor:vt[45],axisLabelFontSize:12,axisLabelLineHeight:12,axisLabelFontWeight:"normal",axisLabelOffset:8,axisGridBorderColor:vt[15],axisGridBorder:1,axisGridLineDash:null,legendTitleTextFillColor:vt[45],legendTitleTextFontSize:12,legendTitleTextLineHeight:21,legendTitleTextFontWeight:"normal",legendMarkerColor:o,legendMarkerSpacing:8,legendMarkerSize:4,legendCircleMarkerSize:4,legendSquareMarkerSize:4,legendLineMarkerSize:5,legendItemNameFillColor:vt[65],legendItemNameFontSize:12,legendItemNameLineHeight:12,legendItemNameFontWeight:"normal",legendItemSpacing:24,legendItemMarginBottom:12,legendPadding:[8,8,8,8],legendHorizontalPadding:[8,0,8,0],legendVerticalPadding:[0,8,0,8],legendPageNavigatorMarkerSize:12,legendPageNavigatorMarkerInactiveFillColor:vt[100],legendPageNavigatorMarkerInactiveFillOpacity:.45,legendPageNavigatorMarkerFillColor:vt[100],legendPageNavigatorMarkerFillOpacity:1,legendPageNavigatorTextFillColor:vt[45],legendPageNavigatorTextFontSize:12,sliderRailFillColor:vt[15],sliderRailBorder:0,sliderRailBorderColor:null,sliderRailWidth:100,sliderRailHeight:12,sliderLabelTextFillColor:vt[45],sliderLabelTextFontSize:12,sliderLabelTextLineHeight:12,sliderLabelTextFontWeight:"normal",sliderHandlerFillColor:vt[6],sliderHandlerWidth:10,sliderHandlerHeight:14,sliderHandlerBorder:1,sliderHandlerBorderColor:vt[25],annotationArcBorderColor:vt[15],annotationArcBorder:1,annotationLineBorderColor:vt[25],annotationLineBorder:1,annotationLineDash:null,annotationTextFillColor:vt[65],annotationTextFontSize:12,annotationTextLineHeight:12,annotationTextFontWeight:"normal",annotationTextBorderColor:null,annotationTextBorder:0,annotationRegionFillColor:vt[100],annotationRegionFillOpacity:.06,annotationRegionBorder:0,annotationRegionBorderColor:null,annotationDataMarkerLineLength:16,tooltipCrosshairsBorderColor:vt[25],tooltipCrosshairsBorder:1,tooltipCrosshairsLineDash:null,tooltipContainerFillColor:"rgb(255, 255, 255)",tooltipContainerFillOpacity:.95,tooltipContainerShadow:"0px 0px 10px #aeaeae",tooltipContainerBorderRadius:3,tooltipTextFillColor:vt[65],tooltipTextFontSize:12,tooltipTextLineHeight:12,tooltipTextFontWeight:"bold",labelFillColor:vt[65],labelFillColorDark:"#2c3542",labelFillColorLight:"#ffffff",labelFontSize:12,labelLineHeight:12,labelFontWeight:"normal",labelBorderColor:null,labelBorder:0,innerLabelFillColor:Ri[100],innerLabelFontSize:12,innerLabelLineHeight:12,innerLabelFontWeight:"normal",innerLabelBorderColor:null,innerLabelBorder:0,overflowLabelFillColor:vt[65],overflowLabelFontSize:12,overflowLabelLineHeight:12,overflowLabelFontWeight:"normal",overflowLabelBorderColor:Ri[100],overflowLabelBorder:1,labelLineBorder:1,labelLineBorderColor:vt[25],cSliderRailHieght:16,cSliderBackgroundFillColor:"#416180",cSliderBackgroundFillOpacity:.05,cSliderForegroundFillColor:"#5B8FF9",cSliderForegroundFillOpacity:.15,cSliderHandlerHeight:24,cSliderHandlerWidth:10,cSliderHandlerFillColor:"#F7F7F7",cSliderHandlerFillOpacity:1,cSliderHandlerHighlightFillColor:"#FFF",cSliderHandlerBorderColor:"#BFBFBF",cSliderHandlerBorder:1,cSliderHandlerBorderRadius:2,cSliderTextFillColor:"#000",cSliderTextFillOpacity:.45,cSliderTextFontSize:12,cSliderTextLineHeight:12,cSliderTextFontWeight:"normal",cSliderTextBorderColor:null,cSliderTextBorder:0,scrollbarTrackFillColor:"rgba(0,0,0,0)",scrollbarThumbFillColor:"rgba(0,0,0,0.15)",scrollbarThumbHighlightFillColor:"rgba(0,0,0,0.2)",pointFillColor:o,pointFillOpacity:.95,pointSize:4,pointBorder:1,pointBorderColor:Ri[100],pointBorderOpacity:1,pointActiveBorderColor:vt[100],pointSelectedBorder:2,pointSelectedBorderColor:vt[100],pointInactiveFillOpacity:.3,pointInactiveBorderOpacity:.3,hollowPointSize:4,hollowPointBorder:1,hollowPointBorderColor:o,hollowPointBorderOpacity:.95,hollowPointFillColor:Ri[100],hollowPointActiveBorder:1,hollowPointActiveBorderColor:vt[100],hollowPointActiveBorderOpacity:1,hollowPointSelectedBorder:2,hollowPointSelectedBorderColor:vt[100],hollowPointSelectedBorderOpacity:1,hollowPointInactiveBorderOpacity:.3,lineBorder:2,lineBorderColor:o,lineBorderOpacity:1,lineActiveBorder:3,lineSelectedBorder:3,lineInactiveBorderOpacity:.3,areaFillColor:o,areaFillOpacity:.25,areaActiveFillColor:o,areaActiveFillOpacity:.5,areaSelectedFillColor:o,areaSelectedFillOpacity:.5,areaInactiveFillOpacity:.3,hollowAreaBorderColor:o,hollowAreaBorder:2,hollowAreaBorderOpacity:1,hollowAreaActiveBorder:3,hollowAreaActiveBorderColor:vt[100],hollowAreaSelectedBorder:3,hollowAreaSelectedBorderColor:vt[100],hollowAreaInactiveBorderOpacity:.3,intervalFillColor:o,intervalFillOpacity:.95,intervalActiveBorder:1,intervalActiveBorderColor:vt[100],intervalActiveBorderOpacity:1,intervalSelectedBorder:2,intervalSelectedBorderColor:vt[100],intervalSelectedBorderOpacity:1,intervalInactiveBorderOpacity:.3,intervalInactiveFillOpacity:.3,hollowIntervalBorder:2,hollowIntervalBorderColor:o,hollowIntervalBorderOpacity:1,hollowIntervalFillColor:Ri[100],hollowIntervalActiveBorder:2,hollowIntervalActiveBorderColor:vt[100],hollowIntervalSelectedBorder:3,hollowIntervalSelectedBorderColor:vt[100],hollowIntervalSelectedBorderOpacity:1,hollowIntervalInactiveBorderOpacity:.3};return m(m({},s),r)};wy();function Zo(r){var e=r.styleSheet,t=e===void 0?{}:e,i=yt(r,["styleSheet"]),n=wy(t);return H({},xy(n),i)}var _A=Zo({}),Au={default:_A};function Un(r){return A(Au,vn(r),Au.default)}function qA(r,e){Au[vn(r)]=Zo(e)}function mv(r,e,t){var i=t.translate(r),n=t.translate(e);return Xt(i,n)}function UA(r,e){var t=e.coordinate,i=e.getXScale(),n=i.range,a=n[n.length-1],o=n[0],s=t.invert(r),l=s.x;return t.isPolar&&l>(1+a)/2&&(l=o),i.translate(i.invert(l))}function xv(r,e,t){var i=t.coordinate,n=t.getYScale(),a=n.field,o=i.invert(e),s=n.invert(o.y),l=Ne(r,function(u){var c=u[bt];return c[a][0]<=s&&c[a][1]>=s});return l||r[r.length-1]}var jA=dn(function(r){if(r.isCategory)return 1;for(var e=r.values,t=e.length,i=r.translate(e[0]),n=i,a=0;an&&(n=s)}return(n-i)/(t-1)});function ZA(r,e,t){var i=e.getAttribute("position"),n=i.getFields(),a=e.scales,o=X(t)||!t?n[0]:t,s=a[o],l=s?s.getText(r[o]):r[o]||o;return X(t)?t(l,r):l}function QA(r){var e=us(r.attributes);return qt(e,function(t){return ai(Hi,t.type)})}function by(r){var e,t,i=QA(r),n;try{for(var a=ht(i),o=a.next();!o.done;o=a.next()){var s=o.value,l=s.getScale(s.type);if(l&&l.isLinear){var u=A(r.scaleDefs,l.field),c=Jg(l,u,s.type,r.type);if(c!=="cat"){n=l;break}}}}catch(v){e={error:v}}finally{try{o&&!o.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}var h=r.getXScale(),f=r.getYScale();return n||f||h}function KA(r,e){var t=e.field,i=r[t];if(R(i)){var n=i.map(function(a){return e.getText(a)});return n.join("-")}return e.getText(i)}function JA(r,e){var t,i=e.getGroupScales();if(i.length&&(t=i[0]),t){var n=t.field;return t.getText(r[n])}var a=by(e);return va(a)}function Sy(r,e,t){if(e.length===0)return null;var i=t.type,n=t.getXScale(),a=t.getYScale(),o=n.field,s=a.field,l=null;if(i==="heatmap"||i==="point"){for(var u=t.coordinate,c=u.invert(r),h=n.invert(c.x),f=a.invert(c.y),v=1/0,d=0;d=w)if(T)R(l)||(l=[]),l.push(L);else{l=L;break}}R(l)&&(l=xv(l,r,t))}else{var k=void 0;if(!n.isLinear&&n.type!=="timeCat"){for(var d=0;dn.translate(F)||wn.max||wMath.abs(n.translate(k[bt][o])-w)&&(b=k)}var U=jA(t.getXScale());return!l&&Math.abs(n.translate(b[bt][o])-w)<=U/2&&(l=b),l}function Ic(r,e,t,i){var n,a;t===void 0&&(t=""),i===void 0&&(i=!1);var o=r[bt],s=ZA(o,e,t),l=e.tooltipOption,u=e.theme.defaultColor,c=[],h,f;function v(L,k){if(i||!B(k)&&k!==""){var P={title:s,data:o,mappingData:r,name:L,value:k,color:r.color||u,marker:!0};c.push(P)}}if(pt(l)){var d=l.fields,p=l.callback;if(p){var g=d.map(function(L){return r[bt][L]}),y=p.apply(void 0,Z([],q(g),!1)),x=m({data:r[bt],mappingData:r,title:s,color:r.color||u,marker:!0},y);c.push(x)}else{var b=e.scales;try{for(var w=ht(d),S=w.next();!S.done;S=w.next()){var M=S.value;if(!B(o[M])){var F=b[M];h=va(F),f=F.getText(o[M]),v(h,f)}}}catch(L){n={error:L}}finally{try{S&&!S.done&&(a=w.return)&&a.call(w)}finally{if(n)throw n.error}}}}else{var T=by(e);f=KA(o,T),h=JA(o,e),v(h,f)}return c}function wv(r,e,t,i){var n,a,o=i.showNil,s=[],l=r.dataArray;if(!fe(l)){r.sort(l);try{for(var u=ht(l),c=u.next();!c.done;c=u.next()){var h=c.value,f=Sy(e,h,r);if(f){var v=r.getElementId(f),d=r.elementsMap[v];if(r.type==="heatmap"||d.visible){var p=Ic(f,r,t,o);p.length&&s.push(p)}}}}catch(g){n={error:g}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}}return s}function bv(r,e,t,i){var n=i.showNil,a=[],o=r.container,s=o.getShape(e.x,e.y);if(s&&s.get("visible")&&s.get("origin")){var l=s.get("origin").mappingData,u=Ic(l,r,t,n);u.length&&a.push(u)}return a}function Fu(r,e,t){var i,n,a=[],o=r.geometries,s=t.shared,l=t.title,u=t.reversed;try{for(var c=ht(o),h=c.next();!h.done;h=c.next()){var f=h.value;if(f.visible&&f.tooltipOption!==!1){var v=f.type,d=void 0;["point","edge","polygon"].includes(v)?d=bv(f,e,l,t):["area","line","path","heatmap"].includes(v)||s!==!1?d=wv(f,e,l,t):d=bv(f,e,l,t),d.length&&(u&&d.reverse(),a.push(d))}}}catch(p){i={error:p}}finally{try{h&&!h.done&&(n=c.return)&&n.call(c)}finally{if(i)throw i.error}}return a}function tF(r,e,t){var i,n,a=Fu(r,e,t);try{for(var o=ht(r.views),s=o.next();!s.done;s=o.next()){var l=s.value;a=a.concat(Fu(l,e,t))}}catch(u){i={error:u}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function eF(r){return!rt(r)&&!R(r)}function Pc(r){r===void 0&&(r=0);var e=R(r)?r:[r];switch(e.length){case 0:e=[0,0,0,0];break;case 1:e=new Array(4).fill(e[0]);break;case 2:e=Z(Z([],q(e),!1),q(e),!1);break;case 3:e=Z(Z([],q(e),!1),[e[1]],!1);break;default:e=e.slice(0,4);break}return e}var Dc={};function Li(r,e){Dc[r]=e}function rF(){return Object.keys(Dc)}function iF(r){return Dc[r]}var nF=function(){function r(e){this.option=this.wrapperOption(e)}return r.prototype.update=function(e){return this.option=this.wrapperOption(e),this},r.prototype.hasAction=function(e){var t=this.option.actions;return ls(t,function(i){return i[0]===e})},r.prototype.create=function(e,t){var i=this.option,n=i.type,a=i.cfg,o=n==="theta",s=m({start:e,end:t},a),l=EC(o?"polar":n);return this.coordinate=new l(s),this.coordinate.type=n,o&&(this.hasAction("transpose")||this.transpose()),this.execActions(),this.coordinate},r.prototype.adjust=function(e,t){return this.coordinate.update({start:e,end:t}),this.coordinate.resetMatrix(),this.execActions(["scale","rotate","translate"]),this.coordinate},r.prototype.rotate=function(e){return this.option.actions.push(["rotate",e]),this},r.prototype.reflect=function(e){return this.option.actions.push(["reflect",e]),this},r.prototype.scale=function(e,t){return this.option.actions.push(["scale",e,t]),this},r.prototype.transpose=function(){return this.option.actions.push(["transpose"]),this},r.prototype.getOption=function(){return this.option},r.prototype.getCoordinate=function(){return this.coordinate},r.prototype.wrapperOption=function(e){return m({type:"rect",actions:[],cfg:{}},e)},r.prototype.execActions=function(e){var t=this,i=this.option.actions;C(i,function(n){var a,o=q(n),s=o[0],l=o.slice(1),u=B(e)?!0:e.includes(s);u&&(a=t.coordinate)[s].apply(a,Z([],q(l),!1))})},r}(),Tt=function(){function r(e,t,i){this.view=e,this.gEvent=t,this.data=i,this.type=t.type}return r.fromData=function(e,t,i){return new r(e,new Ta(t,{}),i)},Object.defineProperty(r.prototype,"target",{get:function(){return this.gEvent.target},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"event",{get:function(){return this.gEvent.originalEvent},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"x",{get:function(){return this.gEvent.x},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"y",{get:function(){return this.gEvent.y},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"clientX",{get:function(){return this.gEvent.clientX},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"clientY",{get:function(){return this.gEvent.clientY},enumerable:!1,configurable:!0}),r.prototype.toString=function(){return"[Event (type=".concat(this.type,")]")},r.prototype.clone=function(){return new r(this.view,this.gEvent,this.data)},r}();function aF(r){var e=r.getController("axis"),t=r.getController("legend"),i=r.getController("annotation"),n=r.getController("slider"),a=r.getController("scrollbar");[e,n,a,t,i].forEach(function(o){o&&o.layout()})}var oF=function(){function r(){this.scales=new Map,this.syncScales=new Map}return r.prototype.createScale=function(e,t,i,n){var a=i,o=this.getScaleMeta(n);if(t.length===0&&o){var s=o.scale,l={type:s.type};s.isCategory&&(l.values=s.values),a=H(l,o.scaleDef,i)}var u=vA(e,t,a);return this.cacheScale(u,i,n),u},r.prototype.sync=function(e,t){var i=this;this.syncScales.forEach(function(n,a){var o=Number.MAX_SAFE_INTEGER,s=Number.MIN_SAFE_INTEGER,l=[];C(n,function(u){var c=i.getScale(u);s=rt(c.max)?Math.max(s,c.max):s,o=rt(c.min)?Math.min(o,c.min):o,C(c.values,function(h){l.includes(h)||l.push(h)})}),C(n,function(u){var c=i.getScale(u);if(c.isContinuous)c.change({min:o,max:s,values:l});else if(c.isCategory){var h=c.range,f=i.getScaleMeta(u);l&&!A(f,["scaleDef","range"])&&(h=ty(H({},c,{values:l}),e,t)),c.change({values:l,range:h})}})})},r.prototype.cacheScale=function(e,t,i){var n=this.getScaleMeta(i);n&&n.scale.type===e.type?(dA(n.scale,e),n.scaleDef=t):(n={key:i,scale:e,scaleDef:t},this.scales.set(i,n));var a=this.getSyncKey(n);if(n.syncKey=a,this.removeFromSyncScales(i),a){var o=this.syncScales.get(a);o||(o=[],this.syncScales.set(a,o)),o.push(i)}},r.prototype.getScale=function(e){var t=this.getScaleMeta(e);if(!t){var i=zt(e.split("-")),n=this.syncScales.get(i);n&&n.length&&(t=this.getScaleMeta(n[0]))}return t&&t.scale},r.prototype.deleteScale=function(e){var t=this.getScaleMeta(e);if(t){var i=t.syncKey,n=this.syncScales.get(i);if(n&&n.length){var a=n.indexOf(e);a!==-1&&n.splice(a,1)}}this.scales.delete(e)},r.prototype.clear=function(){this.scales.clear(),this.syncScales.clear()},r.prototype.removeFromSyncScales=function(e){var t=this;this.syncScales.forEach(function(i,n){var a=i.indexOf(e);if(a!==-1)return i.splice(a,1),i.length===0&&t.syncScales.delete(n),!1})},r.prototype.getSyncKey=function(e){var t=e.scale,i=e.scaleDef,n=t.field,a=A(i,["sync"]);return a===!0?n:a===!1?void 0:a},r.prototype.getScaleMeta=function(e){return this.scales.get(e)},r}(),Eo=function(){function r(e,t,i,n){e===void 0&&(e=0),t===void 0&&(t=0),i===void 0&&(i=0),n===void 0&&(n=0),this.top=e,this.right=t,this.bottom=i,this.left=n}return r.instance=function(e,t,i,n){return e===void 0&&(e=0),t===void 0&&(t=0),i===void 0&&(i=0),n===void 0&&(n=0),new r(e,t,i,n)},r.prototype.max=function(e){var t=q(e,4),i=t[0],n=t[1],a=t[2],o=t[3];return this.top=Math.max(this.top,i),this.right=Math.max(this.right,n),this.bottom=Math.max(this.bottom,a),this.left=Math.max(this.left,o),this},r.prototype.shrink=function(e){var t=q(e,4),i=t[0],n=t[1],a=t[2],o=t[3];return this.top+=i,this.right+=n,this.bottom+=a,this.left+=o,this},r.prototype.inc=function(e,t){var i=e.width,n=e.height;switch(t){case G.TOP:case G.TOP_LEFT:case G.TOP_RIGHT:this.top+=n;break;case G.RIGHT:case G.RIGHT_TOP:case G.RIGHT_BOTTOM:this.right+=i;break;case G.BOTTOM:case G.BOTTOM_LEFT:case G.BOTTOM_RIGHT:this.bottom+=n;break;case G.LEFT:case G.LEFT_TOP:case G.LEFT_BOTTOM:this.left+=i;break}return this},r.prototype.getPadding=function(){return[this.top,this.right,this.bottom,this.left]},r.prototype.clone=function(){return new(r.bind.apply(r,Z([void 0],q(this.getPadding()),!1)))},r}();function sF(r){var e=r.padding;if(!eF(e))return new(Eo.bind.apply(Eo,Z([void 0],q(Pc(e)),!1)));var t=r.viewBBox,i=new Eo,n=[],a=[],o=[];return C(r.getComponents(),function(s){var l=s.type;l===Gt.AXIS?n.push(s):[Gt.LEGEND,Gt.SLIDER,Gt.SCROLLBAR].includes(l)?a.push(s):l!==Gt.GRID&&l!==Gt.TOOLTIP&&o.push(s)}),C(n,function(s){var l=s.component,u=l.getLayoutBBox(),c=new ie(u.x,u.y,u.width,u.height),h=c.exceed(t);i.max(h)}),C(a,function(s){var l=s.component,u=s.direction,c=l.getLayoutBBox(),h=l.get("padding"),f=new ie(c.x,c.y,c.width,c.height).expand(h);i.inc(f,u)}),C(o,function(s){var l=s.component,u=s.direction,c=l.getLayoutBBox(),h=new ie(c.x,c.y,c.width,c.height);i.inc(h,u)}),i}function lF(r,e,t){var i=t.instance();e.forEach(function(n){n.autoPadding=i.max(n.autoPadding.getPadding())})}var Cy=function(r){E(e,r);function e(t){var i=r.call(this,{visible:t.visible})||this;i.views=[],i.geometries=[],i.controllers=[],i.interactions={},i.limitInPlot=!1,i.options={data:[],animate:!0},i.usedControllers=rF(),i.scalePool=new oF,i.layoutFunc=aF,i.isPreMouseInPlot=!1,i.isDataChanged=!1,i.isCoordinateChanged=!1,i.createdScaleKeys=new Map,i.onCanvasEvent=function(b){var w=b.name;if(!w.includes(":")){var S=i.createViewEvent(b);i.doPlotEvent(S),i.emit(w,S)}},i.onDelegateEvents=function(b){var w=b.name;if(w.includes(":")){var S=i.createViewEvent(b);i.emit(w,S)}};var n=t.id,a=n===void 0?Zr("view"):n,o=t.parent,s=t.canvas,l=t.backgroundGroup,u=t.middleGroup,c=t.foregroundGroup,h=t.region,f=h===void 0?{start:{x:0,y:0},end:{x:1,y:1}}:h,v=t.padding,d=t.appendPadding,p=t.theme,g=t.options,y=t.limitInPlot,x=t.syncViewPadding;return i.parent=o,i.canvas=s,i.backgroundGroup=l,i.middleGroup=u,i.foregroundGroup=c,i.region=f,i.padding=v,i.appendPadding=d,i.options=m(m({},i.options),g),i.limitInPlot=y,i.id=a,i.syncViewPadding=x,i.themeObject=pt(p)?H({},Un("default"),Zo(p)):Un(p),i.init(),i}return e.prototype.setLayout=function(t){this.layoutFunc=t},e.prototype.init=function(){this.calculateViewBBox(),this.initEvents(),this.initComponentController(),this.initOptions()},e.prototype.render=function(t,i){t===void 0&&(t=!1),this.emit(ot.BEFORE_RENDER,Tt.fromData(this,ot.BEFORE_RENDER,i)),this.paint(t),this.emit(ot.AFTER_RENDER,Tt.fromData(this,ot.AFTER_RENDER,i)),this.visible===!1&&this.changeVisible(!1)},e.prototype.clear=function(){var t=this;this.emit(ot.BEFORE_CLEAR),this.filteredData=[],this.coordinateInstance=void 0,this.isDataChanged=!1,this.isCoordinateChanged=!1;for(var i=this.geometries,n=0;n');k.appendChild(P);var O=$h(k,l,a,o),z=ww(f),V=new z.Canvas(m({container:P,pixelRatio:v,localRefresh:p,supportCSSTransform:b},O));return i=r.call(this,{parent:null,canvas:V,backgroundGroup:V.addGroup({zIndex:_i.BG}),middleGroup:V.addGroup({zIndex:_i.MID}),foregroundGroup:V.addGroup({zIndex:_i.FORE}),padding:u,appendPadding:c,visible:y,options:M,limitInPlot:F,theme:T,syncViewPadding:L})||this,i.onResize=dp(function(){i.forceFit()},300),i.ele=k,i.canvas=V,i.width=O.width,i.height=O.height,i.autoFit=l,i.localRefresh=p,i.renderer=f,i.wrapperElement=P,i.updateCanvasStyle(),i.bindAutoFit(),i.initDefaultInteractions(S),i}return e.prototype.initDefaultInteractions=function(t){var i=this;C(t,function(n){i.interaction(n)})},e.prototype.aria=function(t){var i="aria-label";t===!1?this.ele.removeAttribute(i):this.ele.setAttribute(i,t.label)},e.prototype.changeSize=function(t,i){return this.width===t&&this.height===i?this:(this.emit(ot.BEFORE_CHANGE_SIZE),this.width=t,this.height=i,this.canvas.changeSize(t,i),this.render(!0),this.emit(ot.AFTER_CHANGE_SIZE),this)},e.prototype.clear=function(){r.prototype.clear.call(this),this.aria(!1)},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.unbindAutoFit(),this.canvas.destroy(),Tw(this.wrapperElement),this.wrapperElement=null},e.prototype.changeVisible=function(t){return r.prototype.changeVisible.call(this,t),this.wrapperElement.style.display=t?"":"none",this},e.prototype.forceFit=function(){if(!this.destroyed){var t=$h(this.ele,!0,this.width,this.height),i=t.width,n=t.height;this.changeSize(i,n)}},e.prototype.updateCanvasStyle=function(){Kt(this.canvas.get("el"),{display:"inline-block",verticalAlign:"middle"})},e.prototype.bindAutoFit=function(){this.autoFit&&window.addEventListener("resize",this.onResize)},e.prototype.unbindAutoFit=function(){this.autoFit&&window.removeEventListener("resize",this.onResize)},e}(Cy),mn=function(){function r(e){this.visible=!0,this.components=[],this.view=e}return r.prototype.clear=function(e){C(this.components,function(t){t.component.destroy()}),this.components=[]},r.prototype.destroy=function(){this.clear()},r.prototype.getComponents=function(){return this.components},r.prototype.changeVisible=function(e){this.visible!==e&&(this.components.forEach(function(t){e?t.component.show():t.component.hide()}),this.visible=e)},r}();function cF(r){for(var e=[],t=function(n){var a=r[n],o=Ne(e,function(s){return s.color===a.color&&s.name===a.name&&s.value===a.value&&s.title===a.title});o||e.push(a)},i=0;i1){var w=u[0],S=Math.abs(t.y-w[0].y);try{for(var M=ht(u),F=M.next();!F.done;F=M.next()){var T=F.value,L=Math.abs(t.y-T[0].y);L<=S&&(w=T,S=L)}}catch(k){s={error:k}}finally{try{F&&!F.done&&(l=M.return)&&l.call(M)}finally{if(s)throw s.error}}u=[w]}return cF(we(u))}return[]},e.prototype.layout=function(){},e.prototype.update=function(){if(this.point&&this.showTooltip(this.point),this.tooltip){var t=this.view.getCanvas();this.tooltip.set("region",{start:{x:0,y:0},end:{x:t.get("width"),y:t.get("height")}})}},e.prototype.isCursorEntered=function(t){if(this.tooltip){var i=this.tooltip.getContainer(),n=this.tooltip.get("capture");if(i&&n){var a=i.getBoundingClientRect(),o=a.x,s=a.y,l=a.width,u=a.height;return new ie(o,s,l,u).isPointIn(t)}}return!1},e.prototype.getTooltipCfg=function(){var t=this.view,i=t.getOptions().tooltip,n=this.processCustomContent(i),a=t.getTheme(),o=A(a,["components","tooltip"],{}),s=A(n,"enterable",o.enterable);return H({},o,n,{capture:!!(s||this.isLocked)})},e.prototype.processCustomContent=function(t){if(tn(t)||!A(t,"customContent"))return t;var i=t.customContent,n=function(a,o){var s=i(a,o)||"";return Q(s)?'
    '+s+"
    ":s};return m(m({},t),{customContent:n})},e.prototype.getTitle=function(t){var i=t[0].title||t[0].name;return this.title=i,i},e.prototype.renderTooltip=function(){var t=this.view.getCanvas(),i={start:{x:0,y:0},end:{x:t.get("width"),y:t.get("height")}},n=this.getTooltipCfg(),a=new Bs(m(m({parent:t.get("el").parentNode,region:i},n),{visible:!1,crosshairs:null}));a.init(),this.tooltip=a},e.prototype.renderTooltipMarkers=function(t,i){var n,a,o=this.getTooltipMarkersGroup(),s=this.view.getRootView(),l=s.limitInPlot;try{for(var u=ht(t),c=u.next();!c.done;c=u.next()){var h=c.value,f=h.x,v=h.y;if(l||o!=null&&o.getClip()){var d=Tc(s.getCoordinate()),p=d.type,g=d.attrs;o==null||o.setClip({type:p,attrs:g})}else o==null||o.setClip(void 0);var y=this.view.getTheme(),x=A(y,["components","tooltip","marker"],{}),b=m(m({fill:h.color,symbol:"circle",shadowColor:h.color},X(i)?m(m({},x),i(h)):i),{x:f,y:v});o.addShape("marker",{attrs:b})}}catch(w){n={error:w}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}},e.prototype.renderCrosshairs=function(t,i){var n=A(i,["crosshairs","type"],"x");n==="x"?(this.yCrosshair&&this.yCrosshair.hide(),this.renderXCrosshairs(t,i)):n==="y"?(this.xCrosshair&&this.xCrosshair.hide(),this.renderYCrosshairs(t,i)):n==="xy"&&(this.renderXCrosshairs(t,i),this.renderYCrosshairs(t,i))},e.prototype.renderXCrosshairs=function(t,i){var n=this.getViewWithGeometry(this.view).getCoordinate(),a,o;if(n.isRect)n.isTransposed?(a={x:n.start.x,y:t.y},o={x:n.end.x,y:t.y}):(a={x:t.x,y:n.end.y},o={x:t.x,y:n.start.y});else{var s=nn(n,t),l=n.getCenter(),u=n.getRadius();o=Ot(l.x,l.y,u,s),a=l}var c=H({start:a,end:o,container:this.getTooltipCrosshairsGroup()},A(i,"crosshairs",{}),this.getCrosshairsText("x",t,i));delete c.type;var h=this.xCrosshair;h?h.update(c):(h=new Wg(c),h.init()),h.render(),h.show(),this.xCrosshair=h},e.prototype.renderYCrosshairs=function(t,i){var n=this.getViewWithGeometry(this.view).getCoordinate(),a,o;if(n.isRect){var s=void 0,l=void 0;n.isTransposed?(s={x:t.x,y:n.end.y},l={x:t.x,y:n.start.y}):(s={x:n.start.x,y:t.y},l={x:n.end.x,y:t.y}),a={start:s,end:l},o="Line"}else a={center:n.getCenter(),radius:Rs(n,t),startAngle:n.startAngle,endAngle:n.endAngle},o="Circle";a=H({container:this.getTooltipCrosshairsGroup()},a,A(i,"crosshairs",{}),this.getCrosshairsText("y",t,i)),delete a.type;var u=this.yCrosshair;u?n.isRect&&u.get("type")==="circle"||!n.isRect&&u.get("type")==="line"?(u=new iv[o](a),u.init()):u.update(a):(u=new iv[o](a),u.init()),u.render(),u.show(),this.yCrosshair=u},e.prototype.getCrosshairsText=function(t,i,n){var a=A(n,["crosshairs","text"]),o=A(n,["crosshairs","follow"]),s=this.items;if(a){var l=this.getViewWithGeometry(this.view),u=s[0],c=l.getXScale(),h=l.getYScales()[0],f=void 0,v=void 0;if(o){var d=this.view.getCoordinate().invert(i);f=c.invert(d.x),v=h.invert(d.y)}else f=u.data[c.field],v=u.data[h.field];var p=t==="x"?f:v;return X(a)?a=a(t,p,s,i):a.content=p,{text:a}}},e.prototype.getGuideGroup=function(){if(!this.guideGroup){var t=this.view.foregroundGroup;this.guideGroup=t.addGroup({name:"tooltipGuide",capture:!1})}return this.guideGroup},e.prototype.getTooltipMarkersGroup=function(){var t=this.tooltipMarkersGroup;return t&&!t.destroyed?(t.clear(),t.show()):(t=this.getGuideGroup().addGroup({name:"tooltipMarkersGroup"}),t.toFront(),this.tooltipMarkersGroup=t),t},e.prototype.getTooltipCrosshairsGroup=function(){var t=this.tooltipCrosshairsGroup;return t||(t=this.getGuideGroup().addGroup({name:"tooltipCrosshairsGroup",capture:!1}),t.toBack(),this.tooltipCrosshairsGroup=t),t},e.prototype.findItemsFromView=function(t,i){var n,a;if(t.getOptions().tooltip===!1)return[];var o=this.getTooltipCfg(),s=Fu(t,i,o);try{for(var l=ht(t.views),u=l.next();!u.done;u=l.next()){var c=u.value;s=s.concat(this.findItemsFromView(c,i))}}catch(h){n={error:h}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}return s},e.prototype.getViewWithGeometry=function(t){var i=this;return t.geometries.length?t:Ne(t.views,function(n){return i.getViewWithGeometry(n)})},e.prototype.getItemsAfterProcess=function(t){var i=this.getTooltipCfg().customItems,n=i||function(a){return a};return n(t)},e}(mn),Ay={};function Fy(r){return Ay[r.toLowerCase()]}function Se(r,e){Ay[r.toLowerCase()]=e}var on={appear:{duration:450,easing:"easeQuadOut"},update:{duration:400,easing:"easeQuadInOut"},enter:{duration:400,easing:"easeQuadInOut"},leave:{duration:350,easing:"easeQuadIn"}},hF={interval:function(r){return{enter:{animation:r.isRect?r.isTransposed?"scale-in-x":"scale-in-y":"fade-in"},update:{animation:r.isPolar&&r.isTransposed?"sector-path-update":null},leave:{animation:"fade-out"}}},line:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},path:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},point:{appear:{animation:"zoom-in"},enter:{animation:"zoom-in"},leave:{animation:"zoom-out"}},area:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},polygon:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},schema:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},edge:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},label:{appear:{animation:"fade-in",delay:450},enter:{animation:"fade-in"},update:{animation:"position-update"},leave:{animation:"fade-out"}}},Sv={line:function(){return{animation:"wave-in"}},area:function(){return{animation:"wave-in"}},path:function(){return{animation:"fade-in"}},interval:function(r){var e;return r.isRect?e=r.isTransposed?"grow-in-x":"grow-in-y":(e="grow-in-xy",r.isPolar&&r.isTransposed&&(e="wave-in")),{animation:e}},schema:function(r){var e;return r.isRect?e=r.isTransposed?"grow-in-x":"grow-in-y":e="grow-in-xy",{animation:e}},polygon:function(){return{animation:"fade-in",duration:500}},edge:function(){return{animation:"fade-in"}}};function fF(r,e){return{delay:X(r.delay)?r.delay(e):r.delay,easing:X(r.easing)?r.easing(e):r.easing,duration:X(r.duration)?r.duration(e):r.duration,callback:r.callback,repeat:r.repeat}}function Ty(r,e,t){var i=hF[r];return i&&(X(i)&&(i=i(e)),i=H({},on,i)),i}function ji(r,e,t){var i=A(r.get("origin"),"data",bt),n=e.animation,a=fF(e,i);if(n){var o=Fy(n);o&&o(r,a,t)}else r.animate(t.toAttrs,a)}function vF(r,e,t,i,n){if(Sv[t]){var a=Sv[t](i),o=Fy(A(a,"animation",""));if(o){var s=m(m(m({},on.appear),a),e);r.stopAnimate(),o(r,s,{coordinate:i,minYPoint:n,toAttrs:null})}}}var Oc="element-background",Ey=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;i.labelShape=[],i.states=[];var n=t.shapeFactory,a=t.container,o=t.offscreenGroup,s=t.elementIndex,l=t.visible,u=l===void 0?!0:l;return i.shapeFactory=n,i.container=a,i.offscreenGroup=o,i.visible=u,i.elementIndex=s,i}return e.prototype.draw=function(t,i){i===void 0&&(i=!1),this.model=t,this.data=t.data,this.shapeType=this.getShapeType(t),this.drawShape(t,i),this.visible===!1&&this.changeVisible(!1)},e.prototype.update=function(t){var i=this,n=i.shapeFactory,a=i.shape;if(a){this.model=t,this.data=t.data,this.shapeType=this.getShapeType(t),this.setShapeInfo(a,t);var o=this.getOffscreenGroup(),s=n.drawShape(this.shapeType,t,o);s.cfg.data=this.data,s.cfg.origin=t,s.cfg.element=this,this.syncShapeStyle(a,s,this.getStates(),this.getAnimateCfg("update"))}},e.prototype.destroy=function(){var t=this,i=t.shapeFactory,n=t.shape;if(n){var a=this.getAnimateCfg("leave");a?ji(n,a,{coordinate:i.coordinate,toAttrs:m({},n.attr())}):n.remove(!0)}this.states=[],this.shapeFactory=void 0,this.container=void 0,this.shape=void 0,this.animate=void 0,this.geometry=void 0,this.labelShape=[],this.model=void 0,this.data=void 0,this.offscreenGroup=void 0,this.statesStyle=void 0,r.prototype.destroy.call(this)},e.prototype.changeVisible=function(t){r.prototype.changeVisible.call(this,t),t?(this.shape&&this.shape.show(),this.labelShape&&this.labelShape.forEach(function(i){i.show()})):(this.shape&&this.shape.hide(),this.labelShape&&this.labelShape.forEach(function(i){i.hide()}))},e.prototype.setState=function(t,i){var n=this,a=n.states,o=n.shapeFactory,s=n.model,l=n.shape,u=n.shapeType,c=a.indexOf(t);if(i){if(c>-1)return;a.push(t),(t==="active"||t==="selected")&&(l==null||l.toFront())}else{if(c===-1)return;if(a.splice(c,1),t==="active"||t==="selected"){var h=this.geometry,f=h.sortZIndex,v=h.zIndexReversed,d=v?this.geometry.elements.length-this.elementIndex:this.elementIndex;f?l.setZIndex(d):l.set("zIndex",d)}}var p=o.drawShape(u,s,this.getOffscreenGroup());a.length?this.syncShapeStyle(l,p,a,null):this.syncShapeStyle(l,p,["reset"],null),p.remove(!0);var g={state:t,stateStatus:i,element:this,target:this.container};this.container.emit("statechange",g),Ig(this.shape,"statechange",g)},e.prototype.clearStates=function(){var t=this,i=this.states;C(i,function(n){t.setState(n,!1)}),this.states=[]},e.prototype.hasState=function(t){return this.states.includes(t)},e.prototype.getStates=function(){return this.states},e.prototype.getData=function(){return this.data},e.prototype.getModel=function(){return this.model},e.prototype.getBBox=function(){var t=this,i=t.shape,n=t.labelShape,a={x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0};return i&&(a=i.getCanvasBBox()),n&&n.forEach(function(o){var s=o.getCanvasBBox();a.x=Math.min(s.x,a.x),a.y=Math.min(s.y,a.y),a.minX=Math.min(s.minX,a.minX),a.minY=Math.min(s.minY,a.minY),a.maxX=Math.max(s.maxX,a.maxX),a.maxY=Math.max(s.maxY,a.maxY)}),a.width=a.maxX-a.minX,a.height=a.maxY-a.minY,a},e.prototype.getStatesStyle=function(){if(!this.statesStyle){var t=this,i=t.shapeType,n=t.geometry,a=t.shapeFactory,o=n.stateOption,s=a.defaultShapeType,l=a.theme[i]||a.theme[s];this.statesStyle=H({},l,o)}return this.statesStyle},e.prototype.getStateStyle=function(t,i){var n=this.getStatesStyle(),a=A(n,[t,"style"],{}),o=a[i]||a;return X(o)?o(this):o},e.prototype.getAnimateCfg=function(t){var i=this,n=this.animate;if(n){var a=n[t];return a&&m(m({},a),{callback:function(){var o;X(a.callback)&&a.callback(),(o=i.geometry)===null||o===void 0||o.emit(Br.AFTER_DRAW_ANIMATE)}})}return null},e.prototype.drawShape=function(t,i){var n;i===void 0&&(i=!1);var a=this,o=a.shapeFactory,s=a.container,l=a.shapeType;if(this.shape=o.drawShape(l,t,s),this.shape){this.setShapeInfo(this.shape,t);var u=this.shape.cfg.name;u?Q(u)&&(this.shape.cfg.name=["element",u]):this.shape.cfg.name=["element",this.shapeFactory.geometryType];var c=i?"enter":"appear",h=this.getAnimateCfg(c);h&&((n=this.geometry)===null||n===void 0||n.emit(Br.BEFORE_DRAW_ANIMATE),ji(this.shape,h,{coordinate:o.coordinate,toAttrs:m({},this.shape.attr())}))}},e.prototype.getOffscreenGroup=function(){if(!this.offscreenGroup){var t=this.container.getGroupBase();this.offscreenGroup=new t({})}return this.offscreenGroup},e.prototype.setShapeInfo=function(t,i){var n=this;if(t.cfg.origin=i,t.cfg.element=this,t.isGroup()){var a=t.get("children");a.forEach(function(o){n.setShapeInfo(o,i)})}},e.prototype.syncShapeStyle=function(t,i,n,a,o){var s=this,l;if(n===void 0&&(n=[]),o===void 0&&(o=0),!(!t||!i)){var u=t.get("clipShape"),c=i.get("clipShape");if(this.syncShapeStyle(u,c,n,a),t.isGroup())for(var h=t.get("children"),f=i.get("children"),v=0;v=0?a=i:n<=0?a=n:a=0,a},e.prototype.createAttrOption=function(t,i,n){if(B(i)||pt(i))pt(i)&&Pt(Object.keys(i),["values"])?Bt(this.attributeOption,t,{fields:i.values}):Bt(this.attributeOption,t,i);else{var a={};rt(i)?a.values=[i]:a.fields=kn(i),n&&(X(n)?a.callback=n:a.values=n),Bt(this.attributeOption,t,a)}},e.prototype.initAttributes=function(){var t=this,i=this,n=i.attributes,a=i.attributeOption,o=i.theme,s=i.shapeType;this.groupScales=[];var l={},u=function(f){if(a.hasOwnProperty(f)){var v=a[f];if(!v)return{value:void 0};var d=m({},v),p=d.callback,g=d.values,y=d.fields,x=y===void 0?[]:y,b=x.map(function(S){var M=t.scales[S];if(!l[S]&&Hi.includes(f)){var F=Jg(M,A(t.scaleDefs,S),f,t.type);F==="cat"&&(t.groupScales.push(M),l[S]=!0)}return M});d.scales=b,f!=="position"&&b.length===1&&b[0].type==="identity"?d.values=b[0].values:!p&&!g&&(f==="size"?d.values=o.sizes:f==="shape"?d.values=o.shapes[s]||[]:f==="color"&&(b.length?d.values=b[0].values.length<=10?o.colors10:o.colors20:d.values=o.colors10));var w=Eg(f);n[f]=new w(d)}};for(var c in a){var h=u(c);if(typeof h=="object")return h.value}},e.prototype.processData=function(t){var i,n;this.hasSorted=!1;for(var a=this.getAttribute("position").scales,o=a.filter(function(F){return F.isCategory}),s=this.groupData(t),l=[],u=0,c=s.length;us&&(s=h)}var f=this.scaleDefs,v={};ot.max&&!A(f,[a,"max"])&&(v.max=s),t.change(v)},e.prototype.beforeMapping=function(t){var i=t;if(this.sortable&&this.sort(i),this.generatePoints)for(var n=0,a=i.length;n1)for(var f=0;f0})}function Oy(r,e,t){var i=t.data,n=t.origin,a=t.animateCfg,o=t.coordinate,s=A(a,"update");r.set("data",i),r.set("origin",n),r.set("animateCfg",a),r.set("coordinate",o),r.set("visible",e.get("visible")),(r.getChildren()||[]).forEach(function(l,u){var c=e.getChildByIndex(u);if(!c)r.removeChild(l),l.remove(!0);else{l.set("data",i),l.set("origin",n),l.set("animateCfg",a),l.set("coordinate",o);var h=Kg(l,c);s?ji(l,s,{toAttrs:h,coordinate:o}):l.attr(h),c.isGroup()&&Oy(l,c,t)}}),C(e.getChildren(),function(l,u){R(r.getChildren())&&u>=r.getCount()&&(l.destroyed||r.add(l))})}var CF=function(){function r(e){this.shapesMap={};var t=e.layout,i=e.container;this.layout=t,this.container=i}return r.prototype.render=function(e,t,i){return i===void 0&&(i=!1),ta(this,void 0,void 0,function(){var n,a,o,s,l,u,c,h,f=this;return ea(this,function(v){switch(v.label){case 0:if(n={},a=this.createOffscreenGroup(),!e.length)return[3,2];try{for(o=ht(e),s=o.next();!s.done;s=o.next())l=s.value,l&&(n[l.id]=this.renderLabel(l,a))}catch(d){c={error:d}}finally{try{s&&!s.done&&(h=o.return)&&h.call(o)}finally{if(c)throw c.error}}return[4,this.doLayout(e,t,n)];case 1:v.sent(),this.renderLabelLine(e,n),this.renderLabelBackground(e,n),this.adjustLabel(e,n),v.label=2;case 2:return u=this.shapesMap,C(n,function(d,p){if(d.destroyed)delete n[p];else{if(u[p]){var g=d.get("data"),y=d.get("origin"),x=d.get("coordinate"),b=d.get("animateCfg"),w=u[p];Oy(w,n[p],{data:g,origin:y,animateCfg:b,coordinate:x}),n[p]=w}else{if(f.container.destroyed)return;f.container.add(d);var S=A(d.get("animateCfg"),i?"enter":"appear");S&&ji(d,S,{toAttrs:m({},d.attr()),coordinate:d.get("coordinate")})}delete u[p]}}),C(u,function(d){var p=A(d.get("animateCfg"),"leave");p?ji(d,p,{toAttrs:null,coordinate:d.get("coordinate")}):d.remove(!0)}),this.shapesMap=n,a.destroy(),[2]}})})},r.prototype.clear=function(){this.container.clear(),this.shapesMap={}},r.prototype.destroy=function(){this.container.destroy(),this.shapesMap=null},r.prototype.renderLabel=function(e,t){var i=e.id,n=e.elementId,a=e.data,o=e.mappingData,s=e.coordinate,l=e.animate,u=e.content,c=e.capture,h={id:i,elementId:n,capture:c,data:a,origin:m(m({},o),{data:o[bt]}),coordinate:s},f=t.addGroup(m({name:"label",animateCfg:this.animate===!1||l===null||l===!1?!1:H({},this.animate,l)},h)),v;if(u.isGroup&&u.isGroup()||u.isShape&&u.isShape()){var d=u.getCanvasBBox(),p=d.width,g=d.height,y=A(e,"textAlign","left"),x=e.x,b=e.y-g/2;y==="center"?x=x-p/2:(y==="right"||y==="end")&&(x=x-p),Oa(u,x,b),v=u,f.add(u)}else{var w=A(e,["style","fill"]);v=f.addShape("text",m({attrs:m(m({x:e.x,y:e.y,textAlign:e.textAlign,textBaseline:A(e,"textBaseline","middle"),text:e.content},e.style),{fill:sw(w)?e.color:w})},h))}return e.rotate&&Rc(v,e.rotate),f},r.prototype.doLayout=function(e,t,i){return ta(this,void 0,void 0,function(){var n,a=this;return ea(this,function(o){switch(o.label){case 0:return this.layout?(n=R(this.layout)?this.layout:[this.layout],[4,Promise.all(n.map(function(s){var l=pF(A(s,"type",""));if(l){var u=[],c=[];return C(i,function(h,f){u.push(h),c.push(t[h.get("elementId")])}),l(e,u,c,a.region,s.cfg)}}))]):[3,2];case 1:o.sent(),o.label=2;case 2:return[2]}})})},r.prototype.renderLabelLine=function(e,t){C(e,function(i){var n=A(i,"coordinate");if(!(!i||!n)){var a=n.getCenter(),o=n.getRadius();if(i.labelLine){var s=A(i,"labelLine",{}),l=i.id,u=s.path;if(!u){var c=Ot(a.x,a.y,o,i.angle);u=[["M",c.x,c.y],["L",i.x,i.y]]}var h=t[l];h.destroyed||h.addShape("path",{capture:!1,attrs:m({path:u,stroke:i.color?i.color:A(i,["style","fill"],"#000"),fill:null},s.style),id:l,origin:i.mappingData,data:i.data,coordinate:i.coordinate})}}})},r.prototype.renderLabelBackground=function(e,t){C(e,function(i){var n=A(i,"coordinate"),a=A(i,"background");if(!(!a||!n)){var o=i.id,s=t[o];if(!s.destroyed){var l=s.getChildren()[0];if(l){var u=Dy(s,i,a.padding),c=u.rotation,h=yt(u,["rotation"]),f=s.addShape("rect",{attrs:m(m({},h),a.style||{}),id:o,origin:i.mappingData,data:i.data,coordinate:i.coordinate});if(f.setZIndex(-1),c){var v=l.getMatrix();f.setMatrix(v)}}}}})},r.prototype.createOffscreenGroup=function(){var e=this.container,t=e.getGroupBase(),i=new t({});return i},r.prototype.adjustLabel=function(e,t){C(e,function(i){if(i){var n=i.id,a=t[n];if(!a.destroyed){var o=a.findAll(function(s){return s.get("type")!=="path"});C(o,function(s){s&&(i.offsetX&&s.attr("x",s.attr("x")+i.offsetX),i.offsetY&&s.attr("y",s.attr("y")+i.offsetY))})}}})},r}();function Mv(r){var e=0;return C(r,function(t){e+=t}),e/r.length}var Ys=function(){function r(e){this.geometry=e}return r.prototype.getLabelItems=function(e){var t=this,i=[],n=this.getLabelCfgs(e);return C(e,function(a,o){var s=n[o];if(!s||B(a.x)||B(a.y)){i.push(null);return}var l=R(s.content)?s.content:[s.content];s.content=l;var u=l.length;C(l,function(c,h){if(B(c)||c===""){i.push(null);return}var f=m(m({},s),t.getLabelPoint(s,a,h));f.textAlign||(f.textAlign=t.getLabelAlign(f,h,u)),f.offset<=0&&(f.labelLine=null),i.push(f)})}),i},r.prototype.render=function(e,t){return t===void 0&&(t=!1),ta(this,void 0,void 0,function(){var i,n,a;return ea(this,function(o){switch(o.label){case 0:return i=this.getLabelItems(e),n=this.getLabelsRenderer(),a=this.getGeometryShapes(),[4,n.render(i,a,t)];case 1:return o.sent(),[2]}})})},r.prototype.clear=function(){var e=this.labelsRenderer;e&&e.clear()},r.prototype.destroy=function(){var e=this.labelsRenderer;e&&e.destroy(),this.labelsRenderer=null},r.prototype.getCoordinate=function(){return this.geometry.coordinate},r.prototype.getDefaultLabelCfg=function(e,t){var i=this.geometry,n=i.type,a=i.theme;return n==="polygon"||n==="interval"&&t==="middle"||e<0&&!["line","point","path"].includes(n)?A(a,"innerLabels",{}):A(a,"labels",{})},r.prototype.getThemedLabelCfg=function(e){var t=this.geometry,i=this.getDefaultLabelCfg(),n=t.type,a=t.theme,o;return n==="polygon"||e.offset<0&&!["line","point","path"].includes(n)?o=H({},i,a.innerLabels,e):o=H({},i,a.labels,e),o},r.prototype.setLabelPosition=function(e,t,i,n){},r.prototype.getLabelOffset=function(e){var t=this.getCoordinate(),i=this.getOffsetVector(e);return t.isTransposed?i[0]:i[1]},r.prototype.getLabelOffsetPoint=function(e,t,i){var n=e.offset,a=this.getCoordinate(),o=a.isTransposed,s=o?"x":"y",l=o?1:-1,u={x:0,y:0};return t>0||i===1?u[s]=n*l:u[s]=n*l*-1,u},r.prototype.getLabelPoint=function(e,t,i){var n=this.getCoordinate(),a=e.content.length;function o(g,y,x){x===void 0&&(x=!1);var b=g;return R(b)&&(e.content.length===1?x?b=Mv(b):b.length<=2?b=b[g.length-1]:b=Mv(b):b=b[y]),b}var s={content:e.content[i],x:0,y:0,start:{x:0,y:0},color:"#fff"},l=R(t.shape)?t.shape[0]:t.shape,u=l==="funnel"||l==="pyramid";if(this.geometry.type==="polygon"){var c=aA(t.x,t.y);s.x=c[0],s.y=c[1]}else this.geometry.type==="interval"&&!u?(s.x=o(t.x,i,!0),s.y=o(t.y,i)):(s.x=o(t.x,i),s.y=o(t.y,i));if(u){var h=A(t,"nextPoints"),f=A(t,"points");if(h){var v=n.convert(f[1]),d=n.convert(h[1]);s.x=(v.x+d.x)/2,s.y=(v.y+d.y)/2}else if(l==="pyramid"){var v=n.convert(f[1]),d=n.convert(f[2]);s.x=(v.x+d.x)/2,s.y=(v.y+d.y)/2}}e.position&&this.setLabelPosition(s,t,i,e.position);var p=this.getLabelOffsetPoint(e,i,a);return s.start={x:s.x,y:s.y},s.x+=p.x,s.y+=p.y,s.color=t.color,s},r.prototype.getLabelAlign=function(e,t,i){var n="center",a=this.getCoordinate();if(a.isTransposed){var o=e.offset;o<0?n="right":o===0?n="center":n="left",i>1&&t===0&&(n==="right"?n="left":n==="left"&&(n="right"))}return n},r.prototype.getLabelId=function(e){var t=this.geometry,i=t.type,n=t.getXScale(),a=t.getYScale(),o=e[bt],s=t.getElementId(e);return i==="line"||i==="area"?s+=" ".concat(o[n.field]):i==="path"&&(s+=" ".concat(o[n.field],"-").concat(o[a.field])),s},r.prototype.getLabelsRenderer=function(){var e=this.geometry,t=e.labelsContainer,i=e.labelOption,n=e.canvasRegion,a=e.animateOption,o=this.geometry.coordinate,s=this.labelsRenderer;return s||(s=new CF({container:t,layout:A(i,["cfg","layout"],{type:this.defaultLayout})}),this.labelsRenderer=s),s.region=n,s.animate=a?Ty("label",o):!1,s},r.prototype.getLabelCfgs=function(e){var t=this,i=this.geometry,n=i.labelOption,a=i.scales,o=i.coordinate,s=n,l=s.fields,u=s.callback,c=s.cfg,h=l.map(function(v){return a[v]}),f=[];return C(e,function(v,d){var p=v[bt],g=t.getLabelText(p,h),y;if(u){var x=l.map(function(F){return p[F]});if(y=u.apply(void 0,Z([],q(x),!1)),B(y)){f.push(null);return}}var b=m(m({id:t.getLabelId(v),elementId:t.geometry.getElementId(v),data:p,mappingData:v,coordinate:o},c),y);X(b.position)&&(b.position=b.position(p,v,d));var w=t.getLabelOffset(b.offset||0),S=t.getDefaultLabelCfg(w,b.position);b=H({},S,b),b.offset=t.getLabelOffset(b.offset||0);var M=b.content;X(M)?b.content=M(p,v,d):si(M)&&(b.content=g[0]),f.push(b)}),f},r.prototype.getLabelText=function(e,t){var i=[];return C(t,function(n){var a=e[n.field];R(a)?a=a.map(function(o){return n.getText(o)}):a=n.getText(a),B(a)||a===""?i.push(null):i.push(a)}),i},r.prototype.getOffsetVector=function(e){e===void 0&&(e=0);var t=this.getCoordinate(),i=0;return rt(e)&&(i=e),t.isTransposed?t.applyMatrix(i,0):t.applyMatrix(0,i)},r.prototype.getGeometryShapes=function(){var e=this.geometry,t={};return C(e.elementsMap,function(i,n){t[n]=i.shape}),C(e.getOffscreenGroup().getChildren(),function(i){var n=e.getElementId(i.get("origin").mappingData);t[n]=i}),t},r}();function Tu(r,e,t){if(!r)return t;var i;if(r.callback&&r.callback.length>1){var n=Array(r.callback.length-1).fill("");i=r.mapping.apply(r,Z([e],q(n),!1)).join("")}else i=r.mapping(e).join("");return i||t}var Ai={hexagon:function(r,e,t){var i=t/2*Math.sqrt(3);return[["M",r,e-t],["L",r+i,e-t/2],["L",r+i,e+t/2],["L",r,e+t],["L",r-i,e+t/2],["L",r-i,e-t/2],["Z"]]},bowtie:function(r,e,t){var i=t-1.5;return[["M",r-t,e-i],["L",r+t,e+i],["L",r+t,e-i],["L",r-t,e+i],["Z"]]},cross:function(r,e,t){return[["M",r-t,e-t],["L",r+t,e+t],["M",r+t,e-t],["L",r-t,e+t]]},tick:function(r,e,t){return[["M",r-t/2,e-t],["L",r+t/2,e-t],["M",r,e-t],["L",r,e+t],["M",r-t/2,e+t],["L",r+t/2,e+t]]},plus:function(r,e,t){return[["M",r-t,e],["L",r+t,e],["M",r,e-t],["L",r,e+t]]},hyphen:function(r,e,t){return[["M",r-t,e],["L",r+t,e]]},line:function(r,e,t){return[["M",r,e-t],["L",r,e+t]]}},MF=["line","cross","tick","plus","hyphen"];function AF(r,e){return X(e)?e(r):H({},r,e)}function FF(r,e){var t=r.symbol;if(Q(t)&&MF.indexOf(t)!==-1){var i=A(r,"style",{}),n=A(i,"lineWidth",1),a=i.stroke||i.fill||e;r.style=H({},r.style,{lineWidth:n,stroke:a,fill:null})}}function By(r){var e=r.symbol;Q(e)&&Ai[e]&&(r.symbol=Ai[e])}function El(r){return r.startsWith(G.LEFT)||r.startsWith(G.RIGHT)?"vertical":"horizontal"}function Ry(r,e,t,i,n){var a=t.getScale(t.type);if(a.isCategory){var o=a.field,s=e.getAttribute("color"),l=e.getAttribute("shape"),u=r.getTheme().defaultColor,c=e.coordinate.isPolar;return a.getTicks().map(function(h,f){var v,d=h.text,p=h.value,g=d,y=a.invert(p),x=r.filterFieldData(o,[(v={},v[o]=y,v)]).length===0;C(r.views,function(F){var T;F.filterFieldData(o,[(T={},T[o]=y,T)]).length||(x=!0)});var b=Tu(s,y,u),w=Tu(l,y,"point"),S=e.getShapeMarker(w,{color:b,isInPolar:c}),M=n;return X(M)&&(M=M(g,f,m({name:g,value:y},H({},i,S)))),S=H({},i,S,le(m({},M),["style"])),FF(S,b),M&&M.style&&(S.style=AF(S.style,M.style)),By(S),{id:y,name:g,value:y,marker:S,unchecked:x}})}return[]}function TF(r,e,t){return t.map(function(i,n){var a=e;X(a)&&(a=a(i.name,n,H({},r,i)));var o=X(i.marker)?i.marker(i.name,n,H({},r,i)):i.marker,s=H({},r,a,o);return By(s),i.marker=s,i})}function Av(r,e){var t=A(r,["components","legend"],{});return H({},A(t,["common"],{}),H({},A(t,[e],{})))}function kl(r){return r?!1:r==null||isNaN(r)}function Fv(r){if(R(r))return kl(r[1].y);var e=r.y;return R(e)?kl(e[0]):kl(e)}function $s(r,e,t){if(e===void 0&&(e=!1),t===void 0&&(t=!0),!r.length||r.length===1&&!t)return[];if(e){for(var i=[],n=0,a=r.length;n=r&&n<=r+t&&a>=e&&a<=e+i}function ga(r,e){return!(e.minX>r.maxX||e.maxXr.maxY||e.maxY=0&&n<1/2*Math.PI?(s={x:o.minX,y:o.minY},l={x:o.maxX,y:o.maxY}):1/2*Math.PI<=n&&n1&&(t*=Math.sqrt(v),i*=Math.sqrt(v));var d=t*t*(f*f)+i*i*(h*h),p=d?Math.sqrt((t*t*(i*i)-d)/d):1;a===o&&(p*=-1),isNaN(p)&&(p=0);var g=i?p*t*f/i:0,y=t?p*-i*h/t:0,x=(s+u)/2+Math.cos(n)*g-Math.sin(n)*y,b=(l+c)/2+Math.sin(n)*g+Math.cos(n)*y,w=[(h-g)/t,(f-y)/i],S=[(-1*h-g)/t,(-1*f-y)/i],M=Ev([1,0],w),F=Ev(w,S);return ku(w,S)<=-1&&(F=Math.PI),ku(w,S)>=1&&(F=0),o===0&&F>0&&(F=F-2*Math.PI),o===1&&F<0&&(F=F+2*Math.PI),{cx:x,cy:b,rx:Tv(r,[u,c])?0:t,ry:Tv(r,[u,c])?0:i,startAngle:M,endAngle:M+F,xRotation:n,arcFlag:a,sweepFlag:o}}var Ko=Math.sin,Jo=Math.cos,Nc=Math.atan2,no=Math.PI;function Wy(r,e,t,i,n,a,o){var s=e.stroke,l=e.lineWidth,u=t-n,c=i-a,h=Nc(c,u),f=new Hc({type:"path",canvas:r.get("canvas"),isArrowShape:!0,attrs:{path:"M"+10*Jo(no/6)+","+10*Ko(no/6)+" L0,0 L"+10*Jo(no/6)+",-"+10*Ko(no/6),stroke:s,lineWidth:l}});f.translate(n,a),f.rotateAtPoint(n,a,h),r.set(o?"startArrowShape":"endArrowShape",f)}function _y(r,e,t,i,n,a,o){var s=e.startArrow,l=e.endArrow,u=e.stroke,c=e.lineWidth,h=o?s:l,f=h.d,v=h.fill,d=h.stroke,p=h.lineWidth,g=yt(h,["d","fill","stroke","lineWidth"]),y=t-n,x=i-a,b=Nc(x,y);f&&(n=n-Jo(b)*f,a=a-Ko(b)*f);var w=new Hc({type:"path",canvas:r.get("canvas"),isArrowShape:!0,attrs:m(m({},g),{stroke:d||u,lineWidth:p||c,fill:v})});w.translate(n,a),w.rotateAtPoint(n,a,b),r.set(o?"startArrowShape":"endArrowShape",w)}function mi(r,e,t,i,n){var a=Nc(i-e,t-r);return{dx:Jo(a)*n,dy:Ko(a)*n}}function Gc(r,e,t,i,n,a){typeof e.startArrow=="object"?_y(r,e,t,i,n,a,!0):e.startArrow?Wy(r,e,t,i,n,a,!0):r.set("startArrowShape",null)}function Vc(r,e,t,i,n,a){typeof e.endArrow=="object"?_y(r,e,t,i,n,a,!1):e.endArrow?Wy(r,e,t,i,n,a,!1):r.set("startArrowShape",null)}var kv={fill:"fillStyle",stroke:"strokeStyle",opacity:"globalAlpha"};function sn(r,e){var t=e.attr();for(var i in t){var n=t[i],a=kv[i]?kv[i]:i;a==="matrix"&&n?r.transform(n[0],n[1],n[3],n[4],n[6],n[7]):a==="lineDash"&&r.setLineDash?R(n)&&r.setLineDash(n):(a==="strokeStyle"||a==="fillStyle"?n=HF(r,e,n):a==="globalAlpha"&&(n=n*r.globalAlpha),r[a]=n)}}function Lu(r,e,t){for(var i=0;iS?w:S,P=w>S?1:w/S,O=w>S?S/w:1;e.translate(x,b),e.rotate(T),e.scale(P,O),e.arc(0,0,k,M,F,1-L),e.scale(1/P,1/O),e.rotate(-T),e.translate(-x,-b)}break}case"Z":e.closePath();break}if(f==="Z")s=l;else{var z=h.length;s=[h[z-2],h[z-1]]}}}}function jy(r,e){var t=r.get("canvas");t&&(e==="remove"&&(r._cacheCanvasBBox=r.get("cacheCanvasBBox")),r.get("hasChanged")||(r.set("hasChanged",!0),r.cfg.parent&&r.cfg.parent.get("hasChanged")||(t.refreshElement(r,e,t),t.get("autoDraw")&&t.draw())))}function qF(r){var e;if(r.destroyed)e=r._cacheCanvasBBox;else{var t=r.get("cacheCanvasBBox"),i=t&&!!(t.width&&t.height),n=r.getCanvasBBox(),a=n&&!!(n.width&&n.height);i&&a?e=RF(t,n):i?e=t:a&&(e=n)}return e}function UF(r){if(!r.length)return null;var e=[],t=[],i=[],n=[];return C(r,function(a){var o=qF(a);o&&(e.push(o.minX),t.push(o.minY),i.push(o.maxX),n.push(o.maxY))}),{minX:Le(e),minY:Le(t),maxX:be(i),maxY:be(n)}}function jF(r,e){return!r||!e||!ga(r,e)?null:{minX:Math.max(r.minX,e.minX),minY:Math.max(r.minY,e.minY),maxX:Math.min(r.maxX,e.maxX),maxY:Math.min(r.maxY,e.maxY)}}var $c=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.onCanvasChange=function(t){jy(this,t)},e.prototype.getShapeBase=function(){return os},e.prototype.getGroupBase=function(){return e},e.prototype._applyClip=function(t,i){i&&(t.save(),sn(t,i),i.createPath(t),t.restore(),t.clip(),i._afterDraw())},e.prototype.cacheCanvasBBox=function(){var t=this.cfg.children,i=[],n=[];C(t,function(f){var v=f.cfg.cacheCanvasBBox;v&&f.cfg.isInView&&(i.push(v.minX,v.maxX),n.push(v.minY,v.maxY))});var a=null;if(i.length){var o=Le(i),s=be(i),l=Le(n),u=be(n);a={minX:o,minY:l,x:o,y:l,maxX:s,maxY:u,width:s-o,height:u-l};var c=this.cfg.canvas;if(c){var h=c.getViewRange();this.set("isInView",ga(a,h))}}else this.set("isInView",!1);this.set("cacheCanvasBBox",a)},e.prototype.draw=function(t,i){var n=this.cfg.children,a=i?this.cfg.refresh:!0;n.length&&a&&(t.save(),sn(t,this),this._applyClip(t,this.getClip()),Lu(t,n,i),t.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set("hasChanged",!1)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("hasChanged",!1)},e}(gs),He=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},e.prototype.getShapeBase=function(){return os},e.prototype.getGroupBase=function(){return $c},e.prototype.onCanvasChange=function(t){jy(this,t)},e.prototype.calculateBBox=function(){var t=this.get("type"),i=this.getHitLineWidth(),n=ms(t),a=n(this),o=i/2,s=a.x-o,l=a.y-o,u=a.x+a.width+o,c=a.y+a.height+o;return{x:s,minX:s,y:l,minY:l,width:a.width+i,height:a.height+i,maxX:u,maxY:c}},e.prototype.isFill=function(){return!!this.attrs.fill||this.isClipShape()},e.prototype.isStroke=function(){return!!this.attrs.stroke},e.prototype._applyClip=function(t,i){i&&(t.save(),sn(t,i),i.createPath(t),t.restore(),t.clip(),i._afterDraw())},e.prototype.draw=function(t,i){var n=this.cfg.clipShape;if(i){if(this.cfg.refresh===!1){this.set("hasChanged",!1);return}var a=this.getCanvasBBox();if(!ga(i,a)){this.set("hasChanged",!1),this.cfg.isInView&&this._afterDraw();return}}t.save(),sn(t,this),this._applyClip(t,n),this.drawPath(t),t.restore(),this._afterDraw()},e.prototype.getCanvasViewBox=function(){var t=this.cfg.canvas;return t?t.getViewRange():null},e.prototype.cacheCanvasBBox=function(){var t=this.getCanvasViewBox();if(t){var i=this.getCanvasBBox(),n=ga(i,t);this.set("isInView",n),n?this.set("cacheCanvasBBox",i):this.set("cacheCanvasBBox",null)}},e.prototype._afterDraw=function(){this.cacheCanvasBBox(),this.set("hasChanged",!1),this.set("refresh",null)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("isInView",null),this.set("hasChanged",!1)},e.prototype.drawPath=function(t){this.createPath(t),this.strokeAndFill(t),this.afterDrawPath(t)},e.prototype.fill=function(t){t.fill()},e.prototype.stroke=function(t){t.stroke()},e.prototype.strokeAndFill=function(t){var i=this.attrs,n=i.lineWidth,a=i.opacity,o=i.strokeOpacity,s=i.fillOpacity;this.isFill()&&(!B(s)&&s!==1?(t.globalAlpha=s,this.fill(t),t.globalAlpha=a):this.fill(t)),this.isStroke()&&n>0&&(!B(o)&&o!==1&&(t.globalAlpha=o),this.stroke(t)),this.afterDrawPath(t)},e.prototype.createPath=function(t){},e.prototype.afterDrawPath=function(t){},e.prototype.isInShape=function(t,i){var n=this.isStroke(),a=this.isFill(),o=this.getHitLineWidth();return this.isInStrokeOrPath(t,i,n,a,o)},e.prototype.isInStrokeOrPath=function(t,i,n,a,o){return!1},e.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var t=this.attrs;return t.lineWidth+t.lineAppendWidth},e}(ys),ZF=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{x:0,y:0,r:0})},e.prototype.isInStrokeOrPath=function(t,i,n,a,o){var s=this.attr(),l=s.x,u=s.y,c=s.r,h=o/2,f=$y(l,u,t,i);return a&&n?f<=c+h:a?f<=c:n?f>=c-h&&f<=c+h:!1},e.prototype.createPath=function(t){var i=this.attr(),n=i.x,a=i.y,o=i.r;t.beginPath(),t.arc(n,a,o,0,Math.PI*2,!1),t.closePath()},e}(He);function ao(r,e,t,i){return r/(t*t)+e/(i*i)}var QF=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{x:0,y:0,rx:0,ry:0})},e.prototype.isInStrokeOrPath=function(t,i,n,a,o){var s=this.attr(),l=o/2,u=s.x,c=s.y,h=s.rx,f=s.ry,v=(t-u)*(t-u),d=(i-c)*(i-c);return a&&n?ao(v,d,h+l,f+l)<=1:a?ao(v,d,h,f)<=1:n?ao(v,d,h-l,f-l)>=1&&ao(v,d,h+l,f+l)<=1:!1},e.prototype.createPath=function(t){var i=this.attr(),n=i.x,a=i.y,o=i.rx,s=i.ry;if(t.beginPath(),t.ellipse)t.ellipse(n,a,o,s,0,0,Math.PI*2,!1);else{var l=o>s?o:s,u=o>s?1:o/s,c=o>s?s/o:1;t.save(),t.translate(n,a),t.scale(u,c),t.arc(0,0,l,0,Math.PI*2),t.restore(),t.closePath()}},e}(He);function Lv(r){return r instanceof HTMLElement&&Q(r.nodeName)&&r.nodeName.toUpperCase()==="CANVAS"}var KF=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{x:0,y:0,width:0,height:0})},e.prototype.initAttrs=function(t){this._setImage(t.img)},e.prototype.isStroke=function(){return!1},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._afterLoading=function(){if(this.get("toDraw")===!0){var t=this.get("canvas");t?t.draw():this.createPath(this.get("context"))}},e.prototype._setImage=function(t){var i=this,n=this.attrs;if(Q(t)){var a=new Image;a.onload=function(){if(i.destroyed)return!1;i.attr("img",a),i.set("loading",!1),i._afterLoading();var o=i.get("callback");o&&o.call(i)},a.crossOrigin="Anonymous",a.src=t,this.set("loading",!0)}else t instanceof Image?(n.width||(n.width=t.width),n.height||(n.height=t.height)):Lv(t)&&(n.width||(n.width=Number(t.getAttribute("width"))),n.height||(n.height,Number(t.getAttribute("height"))))},e.prototype.onAttrChange=function(t,i,n){r.prototype.onAttrChange.call(this,t,i,n),t==="img"&&this._setImage(i)},e.prototype.createPath=function(t){if(this.get("loading")){this.set("toDraw",!0),this.set("context",t);return}var i=this.attr(),n=i.x,a=i.y,o=i.width,s=i.height,l=i.sx,u=i.sy,c=i.swidth,h=i.sheight,f=i.img;(f instanceof Image||Lv(f))&&(!B(l)&&!B(u)&&!B(c)&&!B(h)?t.drawImage(f,l,u,c,h,n,a,o,s):t.drawImage(f,n,a,o,s))},e}(He);function Dr(r,e,t,i,n,a,o){var s=Math.min(r,t),l=Math.max(r,t),u=Math.min(e,i),c=Math.max(e,i),h=n/2;return a>=s-h&&a<=l+h&&o>=u-h&&o<=c+h?Wt.pointToLine(r,e,t,i,a,o)<=n/2:!1}var JF=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.initAttrs=function(t){this.setArrow()},e.prototype.onAttrChange=function(t,i,n){r.prototype.onAttrChange.call(this,t,i,n),this.setArrow()},e.prototype.setArrow=function(){var t=this.attr(),i=t.x1,n=t.y1,a=t.x2,o=t.y2,s=t.startArrow,l=t.endArrow;s&&Gc(this,t,a,o,i,n),l&&Vc(this,t,i,n,a,o)},e.prototype.isInStrokeOrPath=function(t,i,n,a,o){if(!n||!o)return!1;var s=this.attr(),l=s.x1,u=s.y1,c=s.x2,h=s.y2;return Dr(l,u,c,h,o,t,i)},e.prototype.createPath=function(t){var i=this.attr(),n=i.x1,a=i.y1,o=i.x2,s=i.y2,l=i.startArrow,u=i.endArrow,c={dx:0,dy:0},h={dx:0,dy:0};l&&l.d&&(c=mi(n,a,o,s,i.startArrow.d)),u&&u.d&&(h=mi(n,a,o,s,i.endArrow.d)),t.beginPath(),t.moveTo(n+c.dx,a+c.dy),t.lineTo(o-h.dx,s-h.dy)},e.prototype.afterDrawPath=function(t){var i=this.get("startArrowShape"),n=this.get("endArrowShape");i&&i.draw(t),n&&n.draw(t)},e.prototype.getTotalLength=function(){var t=this.attr(),i=t.x1,n=t.y1,a=t.x2,o=t.y2;return Wt.length(i,n,a,o)},e.prototype.getPoint=function(t){var i=this.attr(),n=i.x1,a=i.y1,o=i.x2,s=i.y2;return Wt.pointAt(n,a,o,s,t)},e}(He),tT={circle:function(r,e,t){return[["M",r-t,e],["A",t,t,0,1,0,r+t,e],["A",t,t,0,1,0,r-t,e]]},square:function(r,e,t){return[["M",r-t,e-t],["L",r+t,e-t],["L",r+t,e+t],["L",r-t,e+t],["Z"]]},diamond:function(r,e,t){return[["M",r-t,e],["L",r,e-t],["L",r+t,e],["L",r,e+t],["Z"]]},triangle:function(r,e,t){var i=t*Math.sin(.3333333333333333*Math.PI);return[["M",r-t,e+i],["L",r,e-i],["L",r+t,e+i],["Z"]]},"triangle-down":function(r,e,t){var i=t*Math.sin(.3333333333333333*Math.PI);return[["M",r-t,e-i],["L",r+t,e-i],["L",r,e+i],["Z"]]}},eT=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.initAttrs=function(t){this._resetParamsCache()},e.prototype._resetParamsCache=function(){this.set("paramsCache",{})},e.prototype.onAttrChange=function(t,i,n){r.prototype.onAttrChange.call(this,t,i,n),["symbol","x","y","r","radius"].indexOf(t)!==-1&&this._resetParamsCache()},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._getR=function(t){return B(t.r)?t.radius:t.r},e.prototype._getPath=function(){var t=this.attr(),i=t.x,n=t.y,a=t.symbol||"circle",o=this._getR(t),s,l;if(X(a))s=a,l=s(i,n,o),l=ig(l);else{if(s=e.Symbols[a],!s)return console.warn(a+" marker is not supported."),null;l=s(i,n,o)}return l},e.prototype.createPath=function(t){var i=this._getPath(),n=this.get("paramsCache");Uy(this,t,{path:i},n)},e.Symbols=tT,e}(He);function Zy(r,e,t){var i=ws();return r.createPath(i),i.isPointInPath(e,t)}var rT=1e-6;function Ll(r){return Math.abs(r)0!=Ll(s[1]-t)>0&&Ll(e-(t-o[1])*(o[0]-s[0])/(o[1]-s[1])-o[0])<0&&(i=!i)}return i}function Nn(r,e,t,i,n,a,o,s){var l=(Math.atan2(s-e,o-r)+Math.PI*2)%(Math.PI*2);if(ln)return!1;var u={x:r+t*Math.cos(l),y:e+t*Math.sin(l)};return $y(u.x,u.y,o,s)<=a/2}var nT=Rt;function aT(r){for(var e=!1,t=r.length,i=0;ib?x:b,L=x>b?1:x/b,k=x>b?b/x:1,P=nT(null,[["t",-g,-y],["r",-M],["s",1/L,1/k]]);Jn(F,F,P),a=Nn(0,0,T,w,S,e,F[0],F[1]);break}if(a)break}}return a}function sT(r){for(var e=r.length,t=[],i=[],n=[],a=0;a0&&i.push(n),{polygons:t,polylines:i}}const oo=m({hasArc:aT,extractPolygons:sT,isPointInStroke:oT},nc);function Iv(r,e,t){for(var i=!1,n=0;n=c[0]&&t<=c[1]&&(n=(t-c[0])/(c[1]-c[0]),a=h)});var s=o[a];if(B(s)||B(a))return null;var l=s.length,u=o[a+1];return Hn.pointAt(s[l-2],s[l-1],u[1],u[2],u[3],u[4],u[5],u[6],n)},e.prototype._calculateCurve=function(){var t=this.attr().path;this.set("curve",oo.pathToCurve(t))},e.prototype._setTcache=function(){var t=0,i=0,n=[],a,o,s,l,u=this.get("curve");if(u){if(C(u,function(c,h){s=u[h+1],l=c.length,s&&(t+=Hn.length(c[l-2],c[l-1],s[1],s[2],s[3],s[4],s[5],s[6])||0)}),this.set("totalLength",t),t===0){this.set("tCache",[]);return}C(u,function(c,h){s=u[h+1],l=c.length,s&&(a=[],a[0]=i/t,o=Hn.length(c[l-2],c[l-1],s[1],s[2],s[3],s[4],s[5],s[6]),i+=o||0,a[1]=i/t,n.push(a))}),this.set("tCache",n)}},e.prototype.getStartTangent=function(){var t=this.getSegments(),i;if(t.length>1){var n=t[0].currentPoint,a=t[1].currentPoint,o=t[1].startTangent;i=[],o?(i.push([n[0]-o[0],n[1]-o[1]]),i.push([n[0],n[1]])):(i.push([a[0],a[1]]),i.push([n[0],n[1]]))}return i},e.prototype.getEndTangent=function(){var t=this.getSegments(),i=t.length,n;if(i>1){var a=t[i-2].currentPoint,o=t[i-1].currentPoint,s=t[i-1].endTangent;n=[],s?(n.push([o[0]-s[0],o[1]-s[1]]),n.push([o[0],o[1]])):(n.push([a[0],a[1]]),n.push([o[0],o[1]]))}return n},e}(He);function Ky(r,e,t,i,n){var a=r.length;if(a<2)return!1;for(var o=0;o=s[0]&&t<=s[1]&&(a=(t-s[0])/(s[1]-s[0]),o=l)}),Wt.pointAt(i[o][0],i[o][1],i[o+1][0],i[o+1][1],a)},e.prototype._setTcache=function(){var t=this.attr().points;if(!(!t||t.length===0)){var i=this.getTotalLength();if(!(i<=0)){var n=0,a=[],o,s;C(t,function(l,u){t[u+1]&&(o=[],o[0]=n/i,s=Wt.length(l[0],l[1],t[u+1][0],t[u+1][1]),n+=s,o[1]=n/i,a.push(o))}),this.set("tCache",a)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,i=[];return i.push([t[1][0],t[1][1]]),i.push([t[0][0],t[0][1]]),i},e.prototype.getEndTangent=function(){var t=this.attr().points,i=t.length-1,n=[];return n.push([t[i-1][0],t[i-1][1]]),n.push([t[i][0],t[i][1]]),n},e}(He);function cT(r,e,t,i,n,a,o){var s=n/2;return ui(r-s,e-s,t,n,a,o)||ui(r+t-s,e-s,n,i,a,o)||ui(r+s,e+i-s,t,n,a,o)||ui(r-s,e+s,n,i,a,o)}function hT(r,e,t,i,n,a,o,s){return Dr(r+n,e,r+t-n,e,a,o,s)||Dr(r+t,e+n,r+t,e+i-n,a,o,s)||Dr(r+t-n,e+i,r+n,e+i,a,o,s)||Dr(r,e+i-n,r,e+n,a,o,s)||Nn(r+t-n,e+n,n,1.5*Math.PI,2*Math.PI,a,o,s)||Nn(r+t-n,e+i-n,n,0,.5*Math.PI,a,o,s)||Nn(r+n,e+i-n,n,.5*Math.PI,Math.PI,a,o,s)||Nn(r+n,e+n,n,Math.PI,1.5*Math.PI,a,o,s)}var fT=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.isInStrokeOrPath=function(t,i,n,a,o){var s=this.attr(),l=s.x,u=s.y,c=s.width,h=s.height,f=s.radius;if(f){var d=!1;return n&&(d=hT(l,u,c,h,f,o,t,i)),!d&&a&&(d=Zy(this,t,i)),d}else{var v=o/2;if(a&&n)return ui(l-v,u-v,c+v,h+v,t,i);if(a)return ui(l,u,c,h,t,i);if(n)return cT(l,u,c,h,o,t,i)}},e.prototype.createPath=function(t){var i=this.attr(),n=i.x,a=i.y,o=i.width,s=i.height,l=i.radius;if(t.beginPath(),l===0)t.rect(n,a,o,s);else{var u=XF(l),c=u[0],h=u[1],f=u[2],v=u[3];t.moveTo(n+c,a),t.lineTo(n+o-h,a),h!==0&&t.arc(n+o-h,a+h,h,-Math.PI/2,0),t.lineTo(n+o,a+s-f),f!==0&&t.arc(n+o-f,a+s-f,f,0,Math.PI/2),t.lineTo(n+v,a+s),v!==0&&t.arc(n+v,a+s-v,v,Math.PI/2,Math.PI),t.lineTo(n,a+c),c!==0&&t.arc(n+c,a+c,c,Math.PI,Math.PI*1.5),t.closePath()}},e}(He),vT=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.isOnlyHitBox=function(){return!0},e.prototype.initAttrs=function(t){this._assembleFont(),t.text&&this._setText(t.text)},e.prototype._assembleFont=function(){var t=this.attrs;t.font=Ss(t)},e.prototype._setText=function(t){var i=null;Q(t)&&t.indexOf(` +`)!==-1&&(i=t.split(` +`)),this.set("textArr",i)},e.prototype.onAttrChange=function(t,i,n){r.prototype.onAttrChange.call(this,t,i,n),t.startsWith("font")&&this._assembleFont(),t==="text"&&this._setText(i)},e.prototype._getSpaceingY=function(){var t=this.attrs,i=t.lineHeight,n=t.fontSize*1;return i?i-n:n*.14},e.prototype._drawTextArr=function(t,i,n){var a=this.attrs,o=a.textBaseline,s=a.x,l=a.y,u=a.fontSize*1,c=this._getSpaceingY(),h=bs(a.text,a.fontSize,a.lineHeight),f;C(i,function(v,d){f=l+d*(c+u)-h+u,o==="middle"&&(f+=h-u-(h-u)/2),o==="top"&&(f+=h-u),B(v)||(n?t.fillText(v,s,f):t.strokeText(v,s,f))})},e.prototype._drawText=function(t,i){var n=this.attr(),a=n.x,o=n.y,s=this.get("textArr");if(s)this._drawTextArr(t,s,i);else{var l=n.text;B(l)||(i?t.fillText(l,a,o):t.strokeText(l,a,o))}},e.prototype.strokeAndFill=function(t){var i=this.attrs,n=i.lineWidth,a=i.opacity,o=i.strokeOpacity,s=i.fillOpacity;this.isStroke()&&n>0&&(!B(o)&&o!==1&&(t.globalAlpha=a),this.stroke(t)),this.isFill()&&(!B(s)&&s!==1?(t.globalAlpha=s,this.fill(t),t.globalAlpha=a):this.fill(t)),this.afterDrawPath(t)},e.prototype.fill=function(t){this._drawText(t,!0)},e.prototype.stroke=function(t){this._drawText(t,!1)},e}(He);function dT(r,e){if(e){var t=vs(e);return hr(t,r)}return r}function Jy(r,e,t){var i=r.getTotalMatrix();if(i){var n=dT([e,t,1],i),a=n[0],o=n[1];return[a,o]}return[e,t]}function Pv(r,e,t){if(r.isCanvas&&r.isCanvas())return!0;if(!ra(r)||r.cfg.isInView===!1)return!1;if(r.cfg.clipShape){var i=Jy(r,e,t),n=i[0],a=i[1];if(r.isClipped(n,a))return!1}var o=r.cfg.cacheCanvasBBox||r.getCanvasBBox();return e>=o.minX&&e<=o.maxX&&t>=o.minY&&t<=o.maxY}function tm(r,e,t){if(!Pv(r,e,t))return null;for(var i=null,n=r.getChildren(),a=n.length,o=a-1;o>=0;o--){var s=n[o];if(s.isGroup())i=tm(s,e,t);else if(Pv(s,e,t)){var l=s,u=Jy(s,e,t),c=u[0],h=u[1];l.isInShape(c,h)&&(i=s)}if(i)break}return i}var pT=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return t.renderer="canvas",t.autoDraw=!0,t.localRefresh=!0,t.refreshElements=[],t.clipView=!0,t.quickHit=!1,t},e.prototype.onCanvasChange=function(t){(t==="attr"||t==="sort"||t==="changeSize")&&(this.set("refreshElements",[this]),this.draw())},e.prototype.getShapeBase=function(){return os},e.prototype.getGroupBase=function(){return $c},e.prototype.getPixelRatio=function(){var t=this.get("pixelRatio")||BF();return t>=1?Math.ceil(t):1},e.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},e.prototype.createDom=function(){var t=document.createElement("canvas"),i=t.getContext("2d");return this.set("context",i),t},e.prototype.setDOMSize=function(t,i){r.prototype.setDOMSize.call(this,t,i);var n=this.get("context"),a=this.get("el"),o=this.getPixelRatio();a.width=o*t,a.height=o*i,o>1&&n.scale(o,o)},e.prototype.clear=function(){r.prototype.clear.call(this),this._clearFrame();var t=this.get("context"),i=this.get("el");t.clearRect(0,0,i.width,i.height)},e.prototype.getShape=function(t,i){var n;return this.get("quickHit")?n=tm(this,t,i):n=r.prototype.getShape.call(this,t,i,null),n},e.prototype._getRefreshRegion=function(){var t=this.get("refreshElements"),i=this.getViewRange(),n;if(t.length&&t[0]===this)n=i;else if(n=UF(t),n){n.minX=Math.floor(n.minX),n.minY=Math.floor(n.minY),n.maxX=Math.ceil(n.maxX),n.maxY=Math.ceil(n.maxY),n.maxY+=1;var a=this.get("clipView");a&&(n=jF(n,i))}return n},e.prototype.refreshElement=function(t){var i=this.get("refreshElements");i.push(t)},e.prototype._clearFrame=function(){var t=this.get("drawFrame");t&&(hw(t),this.set("drawFrame",null),this.set("refreshElements",[]))},e.prototype.draw=function(){var t=this.get("drawFrame");this.get("autoDraw")&&t||this._startDraw()},e.prototype._drawAll=function(){var t=this.get("context"),i=this.get("el"),n=this.getChildren();t.clearRect(0,0,i.width,i.height),sn(t,this),Lu(t,n),this.set("refreshElements",[])},e.prototype._drawRegion=function(){var t=this.get("context"),i=this.get("refreshElements"),n=this.getChildren(),a=this._getRefreshRegion();a?(t.clearRect(a.minX,a.minY,a.maxX-a.minX,a.maxY-a.minY),t.save(),t.beginPath(),t.rect(a.minX,a.minY,a.maxX-a.minX,a.maxY-a.minY),t.clip(),sn(t,this),WF(this,n,a),Lu(t,n,a),t.restore()):i.length&&qy(i),C(i,function(o){o.get("hasChanged")&&o.set("hasChanged",!1)}),this.set("refreshElements",[])},e.prototype._startDraw=function(){var t=this,i=this.get("drawFrame"),n=this.get("drawFrameCallback");i||(i=cw(function(){t.get("localRefresh")?t._drawRegion():t._drawAll(),t.set("drawFrame",null),n&&n()}),this.set("drawFrame",i))},e.prototype.skipDraw=function(){},e.prototype.removeDom=function(){var t=this.get("el");t.width=0,t.height=0,t.parentNode.removeChild(t)},e}(ps),gT="0.5.12";const yT=Object.freeze(Object.defineProperty({__proto__:null,AbstractCanvas:ps,AbstractGroup:gs,AbstractShape:ys,Base:hs,Canvas:pT,Event:Ta,Group:$c,PathUtil:nc,Shape:os,assembleFont:Ss,getArcParams:Qo,getBBoxMethod:ms,getOffScreenContext:ws,getTextHeight:bs,invert:vs,isAllowCapture:ra,multiplyVec2:hr,registerBBox:Pe,registerEasing:_p,version:gT},Symbol.toStringTag,{value:"Module"}));var Pu={rect:"path",circle:"circle",line:"line",path:"path",marker:"path",text:"text",polyline:"polyline",polygon:"polygon",image:"image",ellipse:"ellipse",dom:"foreignObject"},ct={opacity:"opacity",fillStyle:"fill",fill:"fill",fillOpacity:"fill-opacity",strokeStyle:"stroke",strokeOpacity:"stroke-opacity",stroke:"stroke",x:"x",y:"y",r:"r",rx:"rx",ry:"ry",width:"width",height:"height",x1:"x1",x2:"x2",y1:"y1",y2:"y2",lineCap:"stroke-linecap",lineJoin:"stroke-linejoin",lineWidth:"stroke-width",lineDash:"stroke-dasharray",lineDashOffset:"stroke-dashoffset",miterLimit:"stroke-miterlimit",font:"font",fontSize:"font-size",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",fontFamily:"font-family",startArrow:"marker-start",endArrow:"marker-end",path:"d",class:"class",id:"id",style:"style",preserveAspectRatio:"preserveAspectRatio"};function Ie(r){return document.createElementNS("http://www.w3.org/2000/svg",r)}function em(r){var e=Pu[r.type],t=r.getParent();if(!e)throw new Error("the type "+r.type+" is not supported by svg");var i=Ie(e);if(r.get("id")&&(i.id=r.get("id")),r.set("el",i),r.set("attrs",{}),t){var n=t.get("el");n||(n=t.createDom(),t.set("el",n)),n.appendChild(i)}return i}function rm(r,e){var t=r.get("el"),i=yw(t.children).sort(e),n=document.createDocumentFragment();i.forEach(function(a){n.appendChild(a)}),t.appendChild(n)}function mT(r,e){var t=r.parentNode,i=Array.from(t.childNodes).filter(function(s){return s.nodeType===1&&s.nodeName.toLowerCase()!=="defs"}),n=i[e],a=i.indexOf(r);if(n){if(a>e)t.insertBefore(r,n);else if(a0&&(i?"stroke"in n?this._setColor(t,"stroke",s):"strokeStyle"in n&&this._setColor(t,"stroke",l):this._setColor(t,"stroke",s||l),c&&f.setAttribute(ct.strokeOpacity,c),h&&f.setAttribute(ct.lineWidth,h))},e.prototype._setColor=function(t,i,n){var a=this.get("el");if(!n){a.setAttribute(ct[i],"none");return}if(n=n.trim(),/^[r,R,L,l]{1}[\s]*\(/.test(n)){var o=t.find("gradient",n);o||(o=t.addGradient(n)),a.setAttribute(ct[i],"url(#"+o+")")}else if(/^[p,P]{1}[\s]*\(/.test(n)){var o=t.find("pattern",n);o||(o=t.addPattern(n)),a.setAttribute(ct[i],"url(#"+o+")")}else a.setAttribute(ct[i],n)},e.prototype.shadow=function(t,i){var n=this.attr(),a=i||n,o=a.shadowOffsetX,s=a.shadowOffsetY,l=a.shadowBlur,u=a.shadowColor;(o||s||l||u)&&xT(this,t)},e.prototype.transform=function(t){var i=this.attr(),n=(t||i).matrix;n&&Ba(this)},e.prototype.isInShape=function(t,i){return this.isPointInPath(t,i)},e.prototype.isPointInPath=function(t,i){var n=this.get("el"),a=this.get("canvas"),o=a.get("el").getBoundingClientRect(),s=t+o.left,l=i+o.top,u=document.elementFromPoint(s,l);return!!(u&&u.isEqualNode(n))},e.prototype.getHitLineWidth=function(){var t=this.attrs,i=t.lineWidth,n=t.lineAppendWidth;return this.isStroke()?i+n:0},e}(ys),wT=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="circle",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{x:0,y:0,r:0})},e.prototype.createPath=function(t,i){var n=this.attr(),a=this.get("el");C(i||n,function(o,s){s==="x"||s==="y"?a.setAttribute("c"+s,o):ct[s]&&a.setAttribute(ct[s],o)})},e}(De),bT=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="dom",t.canFill=!1,t.canStroke=!1,t}return e.prototype.createPath=function(t,i){var n=this.attr(),a=this.get("el");if(C(i||n,function(u,c){ct[c]&&a.setAttribute(ct[c],u)}),typeof n.html=="function"){var o=n.html.call(this,n);if(o instanceof Element||o instanceof HTMLDocument){for(var s=a.childNodes,l=s.length-1;l>=0;l--)a.removeChild(s[l]);a.appendChild(o)}else a.innerHTML=o}else a.innerHTML=n.html},e}(De),ST=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="ellipse",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{x:0,y:0,rx:0,ry:0})},e.prototype.createPath=function(t,i){var n=this.attr(),a=this.get("el");C(i||n,function(o,s){s==="x"||s==="y"?a.setAttribute("c"+s,o):ct[s]&&a.setAttribute(ct[s],o)})},e}(De),CT=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="image",t.canFill=!1,t.canStroke=!1,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{x:0,y:0,width:0,height:0})},e.prototype.createPath=function(t,i){var n=this,a=this.attr(),o=this.get("el");C(i||a,function(s,l){l==="img"?n._setImage(a.img):ct[l]&&o.setAttribute(ct[l],s)})},e.prototype.setAttr=function(t,i){this.attrs[t]=i,t==="img"&&this._setImage(i)},e.prototype._setImage=function(t){var i=this.attr(),n=this.get("el");if(Q(t))n.setAttribute("href",t);else if(t instanceof window.Image)i.width||(n.setAttribute("width",t.width),this.attr("width",t.width)),i.height||(n.setAttribute("height",t.height),this.attr("height",t.height)),n.setAttribute("href",t.src);else if(t instanceof HTMLElement&&Q(t.nodeName)&&t.nodeName.toUpperCase()==="CANVAS")n.setAttribute("href",t.toDataURL());else if(t instanceof ImageData){var a=document.createElement("canvas");a.setAttribute("width",""+t.width),a.setAttribute("height",""+t.height),a.getContext("2d").putImageData(t,0,0),i.width||(n.setAttribute("width",""+t.width),this.attr("width",t.width)),i.height||(n.setAttribute("height",""+t.height),this.attr("height",t.height)),n.setAttribute("href",a.toDataURL())}},e}(De),MT=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="line",t.canFill=!1,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,i){var n=this.attr(),a=this.get("el");C(i||n,function(o,s){if(s==="startArrow"||s==="endArrow")if(o){var l=pt(o)?t.addArrow(n,ct[s]):t.getDefaultArrow(n,ct[s]);a.setAttribute(ct[s],"url(#"+l+")")}else a.removeAttribute(ct[s]);else ct[s]&&a.setAttribute(ct[s],o)})},e.prototype.getTotalLength=function(){var t=this.attr(),i=t.x1,n=t.y1,a=t.x2,o=t.y2;return Wt.length(i,n,a,o)},e.prototype.getPoint=function(t){var i=this.attr(),n=i.x1,a=i.y1,o=i.x2,s=i.y2;return Wt.pointAt(n,a,o,s,t)},e}(De),so={circle:function(r,e,t){return[["M",r,e],["m",-t,0],["a",t,t,0,1,0,t*2,0],["a",t,t,0,1,0,-t*2,0]]},square:function(r,e,t){return[["M",r-t,e-t],["L",r+t,e-t],["L",r+t,e+t],["L",r-t,e+t],["Z"]]},diamond:function(r,e,t){return[["M",r-t,e],["L",r,e-t],["L",r+t,e],["L",r,e+t],["Z"]]},triangle:function(r,e,t){var i=t*Math.sin(.3333333333333333*Math.PI);return[["M",r-t,e+i],["L",r,e-i],["L",r+t,e+i],["z"]]},triangleDown:function(r,e,t){var i=t*Math.sin(.3333333333333333*Math.PI);return[["M",r-t,e-i],["L",r+t,e-i],["L",r,e+i],["Z"]]}};const Dv={get:function(r){return so[r]},register:function(r,e){so[r]=e},remove:function(r){delete so[r]},getAll:function(){return so}};var AT=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="marker",t.canFill=!0,t.canStroke=!0,t}return e.prototype.createPath=function(t){var i=this.get("el");i.setAttribute("d",this._assembleMarker())},e.prototype._assembleMarker=function(){var t=this._getPath();return R(t)?t.map(function(i){return i.join(" ")}).join(""):t},e.prototype._getPath=function(){var t=this.attr(),i=t.x,n=t.y,a=t.r||t.radius,o=t.symbol||"circle",s;return X(o)?s=o:s=Dv.get(o),s?s(i,n,a):(console.warn(s+" symbol is not exist."),null)},e.symbolsFactory=Dv,e}(De),FT=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="path",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,i){var n=this,a=this.attr(),o=this.get("el");C(i||a,function(s,l){if(l==="path"&&R(s))o.setAttribute("d",n._formatPath(s));else if(l==="startArrow"||l==="endArrow")if(s){var u=pt(s)?t.addArrow(a,ct[l]):t.getDefaultArrow(a,ct[l]);o.setAttribute(ct[l],"url(#"+u+")")}else o.removeAttribute(ct[l]);else ct[l]&&o.setAttribute(ct[l],s)})},e.prototype._formatPath=function(t){var i=t.map(function(n){return n.join(" ")}).join("");return~i.indexOf("NaN")?"":i},e.prototype.getTotalLength=function(){var t=this.get("el");return t?t.getTotalLength():null},e.prototype.getPoint=function(t){var i=this.get("el"),n=this.getTotalLength();if(n===0)return null;var a=i?i.getPointAtLength(t*n):null;return a?{x:a.x,y:a.y}:null},e}(De),TT=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="polygon",t.canFill=!0,t.canStroke=!0,t}return e.prototype.createPath=function(t,i){var n=this.attr(),a=this.get("el");C(i||n,function(o,s){s==="points"&&R(o)&&o.length>=2?a.setAttribute("points",o.map(function(l){return l[0]+","+l[1]}).join(" ")):ct[s]&&a.setAttribute(ct[s],o)})},e}(De),ET=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="polyline",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{startArrow:!1,endArrow:!1})},e.prototype.onAttrChange=function(t,i,n){r.prototype.onAttrChange.call(this,t,i,n),["points"].indexOf(t)!==-1&&this._resetCache()},e.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},e.prototype.createPath=function(t,i){var n=this.attr(),a=this.get("el");C(i||n,function(o,s){s==="points"&&R(o)&&o.length>=2?a.setAttribute("points",o.map(function(l){return l[0]+","+l[1]}).join(" ")):ct[s]&&a.setAttribute(ct[s],o)})},e.prototype.getTotalLength=function(){var t=this.attr().points,i=this.get("totalLength");return B(i)?(this.set("totalLength",eg.length(t)),this.get("totalLength")):i},e.prototype.getPoint=function(t){var i=this.attr().points,n=this.get("tCache");n||(this._setTcache(),n=this.get("tCache"));var a,o;return C(n,function(s,l){t>=s[0]&&t<=s[1]&&(a=(t-s[0])/(s[1]-s[0]),o=l)}),Wt.pointAt(i[o][0],i[o][1],i[o+1][0],i[o+1][1],a)},e.prototype._setTcache=function(){var t=this.attr().points;if(!(!t||t.length===0)){var i=this.getTotalLength();if(!(i<=0)){var n=0,a=[],o,s;C(t,function(l,u){t[u+1]&&(o=[],o[0]=n/i,s=Wt.length(l[0],l[1],t[u+1][0],t[u+1][1]),n+=s,o[1]=n/i,a.push(o))}),this.set("tCache",a)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,i=[];return i.push([t[1][0],t[1][1]]),i.push([t[0][0],t[0][1]]),i},e.prototype.getEndTangent=function(){var t=this.attr().points,i=t.length-1,n=[];return n.push([t[i-1][0],t[i-1][1]]),n.push([t[i][0],t[i][1]]),n},e}(De);function kT(r){var e=0,t=0,i=0,n=0;return R(r)?r.length===1?e=t=i=n=r[0]:r.length===2?(e=i=r[0],t=n=r[1]):r.length===3?(e=r[0],t=n=r[1],i=r[2]):(e=r[0],t=r[1],i=r[2],n=r[3]):e=t=i=n=r,{r1:e,r2:t,r3:i,r4:n}}var LT=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="rect",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.createPath=function(t,i){var n=this,a=this.attr(),o=this.get("el"),s=!1,l=["x","y","width","height","radius"];C(i||a,function(u,c){l.indexOf(c)!==-1&&!s?(o.setAttribute("d",n._assembleRect(a)),s=!0):l.indexOf(c)===-1&&ct[c]&&o.setAttribute(ct[c],u)})},e.prototype._assembleRect=function(t){var i=t.x,n=t.y,a=t.width,o=t.height,s=t.radius;if(!s)return"M "+i+","+n+" l "+a+",0 l 0,"+o+" l"+-a+" 0 z";var l=kT(s);R(s)?s.length===1?l.r1=l.r2=l.r3=l.r4=s[0]:s.length===2?(l.r1=l.r3=s[0],l.r2=l.r4=s[1]):s.length===3?(l.r1=s[0],l.r2=l.r4=s[1],l.r3=s[2]):(l.r1=s[0],l.r2=s[1],l.r3=s[2],l.r4=s[3]):l.r1=l.r2=l.r3=l.r4=s;var u=[["M "+(i+l.r1)+","+n],["l "+(a-l.r1-l.r2)+",0"],["a "+l.r2+","+l.r2+",0,0,1,"+l.r2+","+l.r2],["l 0,"+(o-l.r2-l.r3)],["a "+l.r3+","+l.r3+",0,0,1,"+-l.r3+","+l.r3],["l "+(l.r3+l.r4-a)+",0"],["a "+l.r4+","+l.r4+",0,0,1,"+-l.r4+","+-l.r4],["l 0,"+(l.r4+l.r1-o)],["a "+l.r1+","+l.r1+",0,0,1,"+l.r1+","+-l.r1],["z"]];return u.join(" ")},e}(De),Ov=.3,IT={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},PT={top:"text-before-edge",middle:"central",bottom:"text-after-edge",alphabetic:"alphabetic",hanging:"hanging"},DT={left:"left",start:"left",center:"middle",right:"end",end:"end"},OT=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="text",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.createPath=function(t,i){var n=this,a=this.attr(),o=this.get("el");this._setFont(),C(i||a,function(s,l){l==="text"?n._setText(""+s):l==="matrix"&&s?Ba(n):ct[l]&&o.setAttribute(ct[l],s)}),o.setAttribute("paint-order","stroke"),o.setAttribute("style","stroke-linecap:butt; stroke-linejoin:miter;")},e.prototype._setFont=function(){var t=this.get("el"),i=this.attr(),n=i.textBaseline,a=i.textAlign,o=Tp();o&&o.name==="firefox"?t.setAttribute("dominant-baseline",PT[n]||"alphabetic"):t.setAttribute("alignment-baseline",IT[n]||"baseline"),t.setAttribute("text-anchor",DT[a]||"left")},e.prototype._setText=function(t){var i=this.get("el"),n=this.attr(),a=n.x,o=n.textBaseline,s=o===void 0?"bottom":o;if(!t)i.innerHTML="";else if(~t.indexOf(` +`)){var l=t.split(` +`),u=l.length-1,c="";C(l,function(h,f){f===0?s==="alphabetic"?c+=''+h+"":s==="top"?c+=''+h+"":s==="middle"?c+=''+h+"":s==="bottom"?c+=''+h+"":s==="hanging"&&(c+=''+h+""):c+=''+h+""}),i.innerHTML=c}else i.innerHTML=t},e}(De),BT=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,RT=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,zT=/[\d.]+:(#[^\s]+|[^)]+\))/gi;function am(r){var e=r.match(zT);if(!e)return"";var t="";return e.sort(function(i,n){return i=i.split(":"),n=n.split(":"),Number(i[0])-Number(n[0])}),C(e,function(i){i=i.split(":"),t+=''}),t}function NT(r,e){var t=BT.exec(r),i=Ku(Ju(parseFloat(t[1])),Math.PI*2),n=t[2],a,o;i>=0&&i<.5*Math.PI?(a={x:0,y:0},o={x:1,y:1}):.5*Math.PI<=i&&i`;t.innerHTML=i},r}(),Bv=function(){function r(e,t){this.cfg={};var i=Ie("marker"),n=Zr("marker_");i.setAttribute("id",n);var a=Ie("path");a.setAttribute("stroke",e.stroke||"none"),a.setAttribute("fill",e.fill||"none"),i.appendChild(a),i.setAttribute("overflow","visible"),i.setAttribute("orient","auto-start-reverse"),this.el=i,this.child=a,this.id=n;var o=e[t==="marker-start"?"startArrow":"endArrow"];return this.stroke=e.stroke||"#000",o===!0?this._setDefaultPath(t,a):(this.cfg=o,this._setMarker(e.lineWidth,a)),this}return r.prototype.match=function(){return!1},r.prototype._setDefaultPath=function(e,t){var i=this.el;t.setAttribute("d","M0,0 L"+10*Math.cos(Math.PI/6)+",5 L0,10"),i.setAttribute("refX",""+10*Math.cos(Math.PI/6)),i.setAttribute("refY","5")},r.prototype._setMarker=function(e,t){var i=this.el,n=this.cfg.path,a=this.cfg.d;R(n)&&(n=n.map(function(o){return o.join(" ")}).join("")),t.setAttribute("d",n),i.appendChild(t),a&&i.setAttribute("refX",""+a/e)},r.prototype.update=function(e){var t=this.child;t.attr?t.attr("fill",e):t.setAttribute("fill",e)},r}(),XT=function(){function r(e){this.type="clip",this.cfg={};var t=Ie("clipPath");this.el=t,this.id=Zr("clip_"),t.id=this.id;var i=e.cfg.el;return t.appendChild(i),this.cfg=e,this}return r.prototype.match=function(){return!1},r.prototype.remove=function(){var e=this.el;e.parentNode.removeChild(e)},r}(),WT=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,_T=function(){function r(e){this.cfg={};var t=Ie("pattern");t.setAttribute("patternUnits","userSpaceOnUse");var i=Ie("image");t.appendChild(i);var n=Zr("pattern_");t.id=n,this.el=t,this.id=n,this.cfg=e;var a=WT.exec(e),o=a[2];i.setAttribute("href",o);var s=new Image;o.match(/^data:/i)||(s.crossOrigin="Anonymous"),s.src=o;function l(){t.setAttribute("width",""+s.width),t.setAttribute("height",""+s.height)}return s.complete?l():(s.onload=l,s.src=s.src),this}return r.prototype.match=function(e,t){return this.cfg===t},r}(),qT=function(){function r(e){var t=Ie("defs"),i=Zr("defs_");t.id=i,e.appendChild(t),this.children=[],this.defaultArrow={},this.el=t,this.canvas=e}return r.prototype.find=function(e,t){for(var i=this.children,n=null,a=0;a0&&(v[0][0]="L")),a=a.concat(v)}),a.push(["Z"])}return a}function Hs(r,e,t,i,n){for(var a=Dt(r,e,!e,"lineWidth"),o=r.connectNulls,s=r.isInCircle,l=r.points,u=r.showSinglePoint,c=$s(l,o,u),h=[],f=0,v=c.length;fo&&(o=l),l=i[0]}));var g=this.scales[d];try{for(var y=ht(t),x=y.next();!x.done;x=y.next()){var b=x.value,w=this.getDrawCfg(b),S=w.x,M=w.y,F=g.scale(b[bt][d]);this.drawGrayScaleBlurredCircle(S-u.x,M-c.y,n+a,F,p)}}catch(k){o={error:k}}finally{try{x&&!x.done&&(s=y.return)&&s.call(y)}finally{if(o)throw o.error}}var T=p.getImageData(0,0,h,f);this.clearShadowCanvasCtx(),this.colorize(T),p.putImageData(T,0,0);var L=this.getImageShape();L.attr("x",u.x),L.attr("y",c.y),L.attr("width",h),L.attr("height",f),L.attr("img",p.canvas),L.set("origin",this.getShapeInfo(t))},e.prototype.getDefaultSize=function(){var t=this.getAttribute("position"),i=this.coordinate;return Math.min(i.getWidth()/(t.scales[0].ticks.length*4),i.getHeight()/(t.scales[1].ticks.length*4))},e.prototype.clearShadowCanvasCtx=function(){var t=this.getShadowCanvasCtx();t.clearRect(0,0,t.canvas.width,t.canvas.height)},e.prototype.getShadowCanvasCtx=function(){var t=this.shadowCanvas;return t||(t=document.createElement("canvas"),this.shadowCanvas=t),t.width=this.coordinate.getWidth(),t.height=this.coordinate.getHeight(),t.getContext("2d")},e.prototype.getGrayScaleBlurredCanvas=function(){return this.grayScaleBlurredCanvas||(this.grayScaleBlurredCanvas=document.createElement("canvas")),this.grayScaleBlurredCanvas},e.prototype.drawGrayScaleBlurredCircle=function(t,i,n,a,o){var s=this.getGrayScaleBlurredCanvas();o.globalAlpha=a,o.drawImage(s,t-n,i-n)},e.prototype.colorize=function(t){for(var i=this.getAttribute("color"),n=t.data,a=this.paletteCache,o=3;oe&&(t=t?e/(1+i/t):0,i=e-t),n+a>e&&(n=n?e/(1+a/n):0,a=e-n),[t||0,i||0,n||0,a||0]}function lm(r,e,t){var i=[];if(t.isRect){var n=t.isTransposed?{x:t.start.x,y:e[0].y}:{x:e[0].x,y:t.start.y},a=t.isTransposed?{x:t.end.x,y:e[2].y}:{x:e[3].x,y:t.end.y},o=A(r,["background","style","radius"]);if(o){var s=t.isTransposed?Math.abs(e[0].y-e[2].y):e[2].x-e[1].x,l=t.isTransposed?t.getWidth():t.getHeight(),u=q(sm(o,Math.min(s,l)),4),c=u[0],h=u[1],f=u[2],v=u[3],d=t.isTransposed&&t.isReflect("y"),p=d?0:1,g=function(M){return d?-M:M};i.push(["M",n.x,a.y+g(c)]),c!==0&&i.push(["A",c,c,0,0,p,n.x+c,a.y]),i.push(["L",a.x-h,a.y]),h!==0&&i.push(["A",h,h,0,0,p,a.x,a.y+g(h)]),i.push(["L",a.x,n.y-g(f)]),f!==0&&i.push(["A",f,f,0,0,p,a.x-f,n.y]),i.push(["L",n.x+v,n.y]),v!==0&&i.push(["A",v,v,0,0,p,n.x,n.y-g(v)])}else i.push(["M",n.x,n.y]),i.push(["L",a.x,n.y]),i.push(["L",a.x,a.y]),i.push(["L",n.x,a.y]),i.push(["L",n.x,n.y]);i.push(["z"])}if(t.isPolar){var y=t.getCenter(),x=fa(r,t),b=x.startAngle,w=x.endAngle;if(t.type!=="theta"&&!t.isTransposed)i=Nr(y.x,y.y,t.getRadius(),b,w);else{var S=function(T){return Math.pow(T,2)},c=Math.sqrt(S(y.x-e[0].x)+S(y.y-e[0].y)),h=Math.sqrt(S(y.x-e[2].x)+S(y.y-e[2].y));i=Nr(y.x,y.y,c,t.startAngle,t.endAngle,h)}}return i}function e2(r,e,t){var i=t.getWidth(),n=t.getHeight(),a=t.type==="rect",o=[],s=(r[2].x-r[1].x)/2,l=t.isTransposed?s*n/i:s*i/n;return e==="round"?(a?(o.push(["M",r[0].x,r[0].y+l]),o.push(["L",r[1].x,r[1].y-l]),o.push(["A",s,s,0,0,1,r[2].x,r[2].y-l]),o.push(["L",r[3].x,r[3].y+l]),o.push(["A",s,s,0,0,1,r[0].x,r[0].y+l])):(o.push(["M",r[0].x,r[0].y]),o.push(["L",r[1].x,r[1].y]),o.push(["A",s,s,0,0,1,r[2].x,r[2].y]),o.push(["L",r[3].x,r[3].y]),o.push(["A",s,s,0,0,1,r[0].x,r[0].y])),o.push(["z"])):o=qc(r),o}function um(r,e,t){var i=[];return B(e)?t?i.push(["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["L",(r[2].x+r[3].x)/2,(r[2].y+r[3].y)/2],["Z"]):i.push(["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["L",r[2].x,r[2].y],["L",r[3].x,r[3].y],["Z"]):i.push(["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["L",e[1].x,e[1].y],["L",e[0].x,e[0].y],["Z"]),i}function Ln(r,e){return[e,r]}function r2(r,e,t){var i,n,a,o,s,l,u,c=q(Z([],q(r),!1),4),h=c[0],f=c[1],v=c[2],d=c[3],p=q(typeof t=="number"?Array(4).fill(t):t,4),g=p[0],y=p[1],x=p[2],b=p[3];e.isTransposed&&(i=q(Ln(f,d),2),f=i[0],d=i[1]),e.isReflect("y")&&(n=q(Ln(h,f),2),h=n[0],f=n[1],a=q(Ln(v,d),2),v=a[0],d=a[1]),e.isReflect("x")&&(o=q(Ln(h,d),2),h=o[0],d=o[1],s=q(Ln(f,v),2),f=s[0],v=s[1]);var w=[],S=function(M){return Math.abs(M)};return l=q(sm([g,y,x,b],Math.min(S(d.x-h.x),S(f.y-h.y))).map(function(M){return S(M)}),4),g=l[0],y=l[1],x=l[2],b=l[3],e.isTransposed&&(u=q([b,g,y,x],4),g=u[0],y=u[1],x=u[2],b=u[3]),h.yo&&(n=o)}return n}function n2(r,e){if(e){var t=we(r),i=Ve(t,e);return i.length}return r.length}function Uc(r){var e=r.theme,t=r.coordinate,i=r.getXScale(),n=i.values,a=r.beforeMappingData,o=n.length,s=Ia(r.coordinate),l=r.intervalPadding,u=r.dodgePadding,c=r.maxColumnWidth||e.maxColumnWidth,h=r.minColumnWidth||e.minColumnWidth,f=r.columnWidthRatio||e.columnWidthRatio,v=r.multiplePieWidthRatio||e.multiplePieWidthRatio,d=r.roseWidthRatio||e.roseWidthRatio;if(i.isLinear&&n.length>1){n.sort();var p=i2(n,i);o=(i.max-i.min)/p,n.length>o&&(o=n.length)}var g=i.range,y=1/o,x=1;if(t.isPolar?t.isTransposed&&o>1?x=v:x=d:(i.isLinear&&(y*=g[1]-g[0]),x=f),!B(l)&&l>=0){var b=l/s;y=(1-(o-1)*b)/o}else y*=x;if(r.getAdjust("dodge")){var w=r.getAdjust("dodge"),S=w.dodgeBy,M=n2(a,S);if(!B(u)&&u>=0){var F=u/s;y=(y-F*(M-1))/M}else!B(l)&&l>=0&&(y*=x),y=y/M;y=y>=0?y:0}if(!B(c)&&c>=0){var T=c/s;y>T&&(y=T)}if(!B(h)&&h>=0){var L=h/s;y0&&!A(i,[n,"min"])&&t.change({min:0}),o<=0&&!A(i,[n,"max"])&&t.change({max:0}))}},e.prototype.getDrawCfg=function(t){var i=r.prototype.getDrawCfg.call(this,t);return i.background=this.background,i},e}(Kr),o2=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;i.type="line";var n=t.sortable,a=n===void 0?!1:n;return i.sortable=a,i}return e}(Wc),cm=["circle","square","bowtie","diamond","hexagon","triangle","triangle-down"],s2=["cross","tick","plus","hyphen","line"];function jc(r,e,t,i,n){var a,o,s=Dt(e,n,!n,"r"),l=r.parsePoints(e.points),u=l[0];if(e.isStack)u=l[1];else if(l.length>1){var c=t.addGroup();try{for(var h=ht(l),f=h.next();!f.done;f=h.next()){var v=f.value;c.addShape({type:"marker",attrs:m(m(m({},s),{symbol:Ai[i]||i}),v)})}}catch(d){a={error:d}}finally{try{f&&!f.done&&(o=h.return)&&o.call(h)}finally{if(a)throw a.error}}return c}return t.addShape({type:"marker",attrs:m(m(m({},s),{symbol:Ai[i]||i}),u)})}Qr("point",{defaultShapeType:"hollow-circle",getDefaultPoints:function(r){return zc(r)}});C(cm,function(r){ft("point","hollow-".concat(r),{draw:function(e,t){return jc(this,e,t,r,!0)},getMarker:function(e){var t=e.color;return{symbol:Ai[r]||r,style:{r:4.5,stroke:t,fill:null}}}})});var l2=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="point",t.shapeType="point",t.generatePoints=!0,t}return e.prototype.getDrawCfg=function(t){var i=r.prototype.getDrawCfg.call(this,t);return m(m({},i),{isStack:!!this.getAdjust("stack")})},e}(Kr);function u2(r){for(var e=r[0],t=1,i=[["M",e.x,e.y]];t2?"weight":"normal",a;if(r.isInCircle){var o={x:0,y:1};return n==="normal"?a=d2(i[0],i[1],o):(t.fill=t.stroke,a=p2(i,o)),a=this.parsePath(a),e.addShape("path",{attrs:m(m({},t),{path:a})})}else{if(n==="normal")return i=this.parsePoints(i),a=Qg((i[1].x+i[0].x)/2,i[0].y,Math.abs(i[1].x-i[0].x)/2,Math.PI,Math.PI*2),e.addShape("path",{attrs:m(m({},t),{path:a})});var s=Du(i[1],i[3]),l=Du(i[2],i[0]);return a=[["M",i[0].x,i[0].y],["L",i[1].x,i[1].y],s,["L",i[3].x,i[3].y],["L",i[2].x,i[2].y],l,["Z"]],a=this.parsePath(a),t.fill=t.stroke,e.addShape("path",{attrs:m(m({},t),{path:a})})}},getMarker:function(r){return{symbol:"circle",style:{r:4.5,fill:r.color}}}});function g2(r,e){var t=Du(r,e),i=[["M",r.x,r.y]];return i.push(t),i}ft("edge","smooth",{draw:function(r,e){var t=Dt(r,!0,!1,"lineWidth"),i=r.points,n=this.parsePath(g2(i[0],i[1]));return e.addShape("path",{attrs:m(m({},t),{path:n})})},getMarker:function(r){return{symbol:"circle",style:{r:4.5,fill:r.color}}}});var lo=1/3;function y2(r,e){var t=[];t.push({x:r.x,y:r.y*(1-lo)+e.y*lo}),t.push({x:e.x,y:r.y*(1-lo)+e.y*lo}),t.push(e);var i=[["M",r.x,r.y]];return C(t,function(n){i.push(["L",n.x,n.y])}),i}ft("edge","vhv",{draw:function(r,e){var t=Dt(r,!0,!1,"lineWidth"),i=r.points,n=this.parsePath(y2(i[0],i[1]));return e.addShape("path",{attrs:m(m({},t),{path:n})})},getMarker:function(r){return{symbol:"circle",style:{r:4.5,fill:r.color}}}});ft("interval","funnel",{getPoints:function(r){return r.size=r.size*2,_c(r)},draw:function(r,e){var t=Dt(r,!1,!0),i=this.parsePath(um(r.points,r.nextPoints,!1)),n=e.addShape("path",{attrs:m(m({},t),{path:i}),name:"interval"});return n},getMarker:function(r){var e=r.color;return{symbol:"square",style:{r:4,fill:e}}}});ft("interval","hollow-rect",{draw:function(r,e){var t=Dt(r,!0,!1),i=e,n=r==null?void 0:r.background;if(n){i=e.addGroup();var a=Gy(r),o=lm(r,this.parsePoints(r.points),this.coordinate);i.addShape("path",{attrs:m(m({},a),{path:o}),capture:!1,zIndex:-1,name:Oc})}var s=this.parsePath(qc(r.points)),l=i.addShape("path",{attrs:m(m({},t),{path:s}),name:"interval"});return n?i:l},getMarker:function(r){var e=r.color,t=r.isInPolar;return t?{symbol:"circle",style:{r:4.5,stroke:e,fill:null}}:{symbol:"square",style:{r:4,stroke:e,fill:null}}}});function m2(r){var e=r.x,t=r.y,i=r.y0;return R(t)?t.map(function(n,a){return{x:R(e)?e[a]:e,y:n}}):[{x:e,y:i},{x:e,y:t}]}ft("interval","line",{getPoints:function(r){return m2(r)},draw:function(r,e){var t=Dt(r,!0,!1,"lineWidth"),i=le(m({},t),["fill"]),n=this.parsePath(qc(r.points,!1)),a=e.addShape("path",{attrs:m(m({},i),{path:n}),name:"interval"});return a},getMarker:function(r){var e=r.color;return{symbol:function(t,i,n){return[["M",t,i-n],["L",t,i+n]]},style:{r:5,stroke:e}}}});ft("interval","pyramid",{getPoints:function(r){return r.size=r.size*2,_c(r)},draw:function(r,e){var t=Dt(r,!1,!0),i=this.parsePath(um(r.points,r.nextPoints,!0)),n=e.addShape("path",{attrs:m(m({},t),{path:i}),name:"interval"});return n},getMarker:function(r){var e=r.color;return{symbol:"square",style:{r:4,fill:e}}}});function x2(r){var e,t=r.x,i=r.y,n=r.y0,a=r.size,o,s;R(i)?(e=q(i,2),o=e[0],s=e[1]):(o=n,s=i);var l=t+a/2,u=t-a/2;return[{x:t,y:o},{x:t,y:s},{x:u,y:o},{x:l,y:o},{x:u,y:s},{x:l,y:s}]}function w2(r){return[["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["M",r[4].x,r[4].y],["L",r[5].x,r[5].y]]}ft("interval","tick",{getPoints:function(r){return x2(r)},draw:function(r,e){var t=Dt(r,!0,!1),i=this.parsePath(w2(r.points)),n=e.addShape("path",{attrs:m(m({},t),{path:i}),name:"interval"});return n},getMarker:function(r){var e=r.color;return{symbol:function(t,i,n){return[["M",t-n/2,i-n],["L",t+n/2,i-n],["M",t,i-n],["L",t,i+n],["M",t-n/2,i+n],["L",t+n/2,i+n]]},style:{r:5,stroke:e}}}});var b2=function(r,e,t){var i=r.x,n=r.y,a=e.x,o=e.y,s;switch(t){case"hv":s=[{x:a,y:n}];break;case"vh":s=[{x:i,y:o}];break;case"hvh":var l=(a+i)/2;s=[{x:l,y:n},{x:l,y:o}];break;case"vhv":var u=(n+o)/2;s=[{x:i,y:u},{x:a,y:u}];break}return s};function S2(r,e){var t=[];return C(r,function(i,n){var a=r[n+1];if(t.push(i),a){var o=b2(i,a,e);t=t.concat(o)}}),t}function C2(r){return r.map(function(e,t){return t===0?["M",e.x,e.y]:["L",e.x,e.y]})}function M2(r,e){var t=$s(r.points,r.connectNulls,r.showSinglePoint),i=[];return C(t,function(n){var a=S2(n,e);i=i.concat(C2(a))}),m(m({},Dt(r,!0,!1,"lineWidth")),{path:i})}C(["hv","vh","hvh","vhv"],function(r){ft("line",r,{draw:function(e,t){var i=M2(e,r),n=t.addShape({type:"path",attrs:i,name:"line"});return n},getMarker:function(e){return Vy(e,r)}})});C(s2,function(r){ft("point",r,{draw:function(e,t){return jc(this,e,t,r,!0)},getMarker:function(e){var t=e.color;return{symbol:Ai[r],style:{r:4.5,stroke:t,fill:null}}}})});ft("point","image",{draw:function(r,e){var t,i,n=Dt(r,!1,!1,"r").r,a=this.parsePoints(r.points),o=a[0];if(r.isStack)o=a[1];else if(a.length>1){var s=e.addGroup();try{for(var l=ht(a),u=l.next();!u.done;u=l.next()){var c=u.value;s.addShape("image",{attrs:{x:c.x-n/2,y:c.y-n,width:n,height:n,img:r.shape[1]}})}}catch(h){t={error:h}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(t)throw t.error}}return s}return e.addShape("image",{attrs:{x:o.x-n/2,y:o.y-n,width:n,height:n,img:r.shape[1]}})},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{r:4.5,fill:e}}}});C(cm,function(r){ft("point",r,{draw:function(e,t){return jc(this,e,t,r,!1)},getMarker:function(e){var t=e.color;return{symbol:Ai[r]||r,style:{r:4.5,fill:t}}}})});function Rv(r){var e=R(r)?r:[r],t=e[0],i=e[e.length-1],n=e.length>1?e[1]:t,a=e.length>3?e[3]:i,o=e.length>2?e[2]:n;return{min:t,max:i,min1:n,max1:a,median:o}}function zv(r,e,t){var i=t/2,n;if(R(e)){var a=Rv(e),o=a.min,s=a.max,l=a.median,u=a.min1,c=a.max1,h=r-i,f=r+i;n=[[h,s],[f,s],[r,s],[r,c],[h,u],[h,c],[f,c],[f,u],[r,u],[r,o],[h,o],[f,o],[h,l],[f,l]]}else{e=B(e)?.5:e;var v=Rv(r),o=v.min,s=v.max,l=v.median,u=v.min1,c=v.max1,d=e-i,p=e+i;n=[[o,d],[o,p],[o,e],[u,e],[u,d],[u,p],[c,p],[c,d],[c,e],[s,e],[s,d],[s,p],[l,d],[l,p]]}return n.map(function(g){return{x:g[0],y:g[1]}})}function A2(r){return[["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["M",r[4].x,r[4].y],["L",r[5].x,r[5].y],["L",r[6].x,r[6].y],["L",r[7].x,r[7].y],["L",r[4].x,r[4].y],["Z"],["M",r[8].x,r[8].y],["L",r[9].x,r[9].y],["M",r[10].x,r[10].y],["L",r[11].x,r[11].y],["M",r[12].x,r[12].y],["L",r[13].x,r[13].y]]}ft("schema","box",{getPoints:function(r){var e=r.x,t=r.y,i=r.size;return zv(e,t,i)},draw:function(r,e){var t=Dt(r,!0,!1),i=this.parsePath(A2(r.points)),n=e.addShape("path",{attrs:m(m({},t),{path:i,name:"schema"})});return n},getMarker:function(r){var e=r.color;return{symbol:function(t,i,n){var a=[i-6,i-3,i,i+3,i+6],o=zv(t,a,n);return[["M",o[0].x+1,o[0].y],["L",o[1].x-1,o[1].y],["M",o[2].x,o[2].y],["L",o[3].x,o[3].y],["M",o[4].x,o[4].y],["L",o[5].x,o[5].y],["L",o[6].x,o[6].y],["L",o[7].x,o[7].y],["L",o[4].x,o[4].y],["Z"],["M",o[8].x,o[8].y],["L",o[9].x,o[9].y],["M",o[10].x+1,o[10].y],["L",o[11].x-1,o[11].y],["M",o[12].x,o[12].y],["L",o[13].x,o[13].y]]},style:{r:6,lineWidth:1,stroke:e}}}});function F2(r){var e=R(r)?r:[r],t=e.sort(function(i,n){return n-i});return oA(t,4,t[t.length-1])}function Nv(r,e,t){var i=F2(e);return[{x:r,y:i[0]},{x:r,y:i[1]},{x:r-t/2,y:i[2]},{x:r-t/2,y:i[1]},{x:r+t/2,y:i[1]},{x:r+t/2,y:i[2]},{x:r,y:i[2]},{x:r,y:i[3]}]}function T2(r){return[["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["L",r[4].x,r[4].y],["L",r[5].x,r[5].y],["Z"],["M",r[6].x,r[6].y],["L",r[7].x,r[7].y]]}ft("schema","candle",{getPoints:function(r){var e=r.x,t=r.y,i=r.size;return Nv(e,t,i)},draw:function(r,e){var t=Dt(r,!0,!0),i=this.parsePath(T2(r.points)),n=e.addShape("path",{attrs:m(m({},t),{path:i,name:"schema"})});return n},getMarker:function(r){var e=r.color;return{symbol:function(t,i,n){var a=[i+7.5,i+3,i-3,i-7.5],o=Nv(t,a,n);return[["M",o[0].x,o[0].y],["L",o[1].x,o[1].y],["M",o[2].x,o[2].y],["L",o[3].x,o[3].y],["L",o[4].x,o[4].y],["L",o[5].x,o[5].y],["Z"],["M",o[6].x,o[6].y],["L",o[7].x,o[7].y]]},style:{lineWidth:1,stroke:e,fill:e,r:6}}}});function E2(r,e){var t=Math.abs(r[0].x-r[2].x),i=Math.abs(r[0].y-r[2].y),n=Math.min(t,i);e&&(n=Ct(e,0,Math.min(t,i))),n=n/2;var a=(r[0].x+r[2].x)/2,o=(r[0].y+r[2].y)/2;return{x:a-n,y:o-n,width:n*2,height:n*2}}ft("polygon","square",{draw:function(r,e){if(!fe(r.points)){var t=Dt(r,!0,!0),i=this.parsePoints(r.points);return e.addShape("rect",{attrs:m(m({},t),E2(i,r.size)),name:"polygon"})}},getMarker:function(r){var e=r.color;return{symbol:"square",style:{r:4,fill:e}}}});ft("violin","smooth",{draw:function(r,e){var t=Dt(r,!0,!0),i=this.parsePath(Ny(r.points));return e.addShape("path",{attrs:m(m({},t),{path:i})})},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{stroke:null,r:4,fill:e}}}});ft("violin","hollow",{draw:function(r,e){var t=Dt(r,!0,!1),i=this.parsePath(zy(r.points));return e.addShape("path",{attrs:m(m({},t),{path:i})})},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{r:4,fill:null,stroke:e}}}});ft("violin","hollow-smooth",{draw:function(r,e){var t=Dt(r,!0,!1),i=this.parsePath(Ny(r.points));return e.addShape("path",{attrs:m(m({},t),{path:i})})},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{r:4,fill:null,stroke:e}}}});var k2=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getLabelValueDir=function(t){var i="y",n=t.points;return n[0][i]<=n[2][i]?1:-1},e.prototype.getLabelOffsetPoint=function(t,i,n,a){var o,s=r.prototype.getLabelOffsetPoint.call(this,t,i,n),l=this.getCoordinate(),u=l.isTransposed,c=u?"x":"y",h=this.getLabelValueDir(t.mappingData);return s=m(m({},s),(o={},o[c]=s[c]*h,o)),l.isReflect("x")&&(s=m(m({},s),{x:s.x*-1})),l.isReflect("y")&&(s=m(m({},s),{y:s.y*-1})),s},e.prototype.getThemedLabelCfg=function(t){var i=this.geometry,n=this.getDefaultLabelCfg(),a=i.theme;return H({},n,a.labels,t.position==="middle"?{offset:0}:{},t)},e.prototype.setLabelPosition=function(t,i,n,a){var o=this.getCoordinate(),s=o.isTransposed,l=i.points,u=o.convert(l[0]),c=o.convert(l[2]),h=this.getLabelValueDir(i),f,v,d,p,g=R(i.shape)?i.shape[0]:i.shape;if(g==="funnel"||g==="pyramid"){var y=A(i,"nextPoints"),x=A(i,"points");if(y){var b=o.convert(x[0]),w=o.convert(x[1]),S=o.convert(y[0]),M=o.convert(y[1]);s?(f=Math.min(S.y,b.y),d=Math.max(S.y,b.y),v=(w.x+M.x)/2,p=(b.x+S.x)/2):(f=Math.min((w.y+M.y)/2,(b.y+S.y)/2),d=Math.max((w.y+M.y)/2,(b.y+S.y)/2),v=M.x,p=b.x)}else f=Math.min(c.y,u.y),d=Math.max(c.y,u.y),v=c.x,p=u.x}else f=Math.min(c.y,u.y),d=Math.max(c.y,u.y),v=c.x,p=u.x;switch(a){case"right":t.x=v,t.y=(f+d)/2,t.textAlign=A(t,"textAlign",h>0?"left":"right");break;case"left":t.x=p,t.y=(f+d)/2,t.textAlign=A(t,"textAlign",h>0?"left":"right");break;case"bottom":s&&(t.x=(v+p)/2),t.y=d,t.textAlign=A(t,"textAlign","center"),t.textBaseline=A(t,"textBaseline",h>0?"bottom":"top");break;case"middle":s&&(t.x=(v+p)/2),t.y=(f+d)/2,t.textAlign=A(t,"textAlign","center"),t.textBaseline=A(t,"textBaseline","middle");break;case"top":s&&(t.x=(v+p)/2),t.y=f,t.textAlign=A(t,"textAlign","center"),t.textBaseline=A(t,"textBaseline",h>0?"bottom":"top");break}},e}(Ys),uo=Math.PI/2,hm=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getLabelOffset=function(t){var i=this.getCoordinate(),n=0;if(rt(t))n=t;else if(Q(t)&&t.indexOf("%")!==-1){var a=i.getRadius();i.innerRadius>0&&(a=a*(1-i.innerRadius)),n=parseFloat(t)*.01*a}return n},e.prototype.getLabelItems=function(t){var i=r.prototype.getLabelItems.call(this,t),n=this.geometry.getYScale();return Mt(i,function(a){if(a&&n){var o=n.scale(A(a.data,n.field));return m(m({},a),{percent:o})}return a})},e.prototype.getLabelAlign=function(t){var i=this.getCoordinate(),n;if(t.labelEmit)n=t.angle<=Math.PI/2&&t.angle>=-Math.PI/2?"left":"right";else if(!i.isTransposed)n="center";else{var a=i.getCenter(),o=t.offset;Math.abs(t.x-a.x)<1?n="center":t.angle>Math.PI||t.angle<=0?n=o>0?"left":"right":n=o>0?"right":"left"}return n},e.prototype.getLabelPoint=function(t,i,n){var a=1,o,s=t.content[n];this.isToMiddle(i)?o=this.getMiddlePoint(i.points):(t.content.length===1&&n===0?n=1:n===0&&(a=-1),o=this.getArcPoint(i,n));var l=t.offset*a,u=this.getPointAngle(o),c=t.labelEmit,h=this.getCirclePoint(u,l,o,c);return h.r===0?h.content="":(h.content=s,h.angle=u,h.color=i.color),h.rotate=t.autoRotate?this.getLabelRotate(u,l,c):t.rotate,h.start={x:o.x,y:o.y},h},e.prototype.getArcPoint=function(t,i){return i===void 0&&(i=0),!R(t.x)&&!R(t.y)?{x:t.x,y:t.y}:{x:R(t.x)?t.x[i]:t.x,y:R(t.y)?t.y[i]:t.y}},e.prototype.getPointAngle=function(t){return nn(this.getCoordinate(),t)},e.prototype.getCirclePoint=function(t,i,n,a){var o=this.getCoordinate(),s=o.getCenter(),l=Rs(o,n);if(l===0)return m(m({},s),{r:l});var u=t;if(o.isTransposed&&l>i&&!a){var c=Math.asin(i/(2*l));u=t+c*2}else l=l+i;return{x:s.x+l*Math.cos(u),y:s.y+l*Math.sin(u),r:l}},e.prototype.getLabelRotate=function(t,i,n){var a=t+uo;return n&&(a-=uo),a&&(a>uo?a=a-Math.PI:a<-uo&&(a=a+Math.PI)),a},e.prototype.getMiddlePoint=function(t){var i=this.getCoordinate(),n=t.length,a={x:0,y:0};return C(t,function(o){a.x+=o.x,a.y+=o.y}),a.x/=n,a.y/=n,a=i.convert(a),a},e.prototype.isToMiddle=function(t){return t.x.length>2},e}(Ys),L2=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.defaultLayout="distribute",t}return e.prototype.getDefaultLabelCfg=function(t,i){var n=r.prototype.getDefaultLabelCfg.call(this,t,i);return H({},n,A(this.geometry.theme,"pieLabels",{}))},e.prototype.getLabelOffset=function(t){return r.prototype.getLabelOffset.call(this,t)||0},e.prototype.getLabelRotate=function(t,i,n){var a;return i<0&&(a=t,a>Math.PI/2&&(a=a-Math.PI),a<-Math.PI/2&&(a=a+Math.PI)),a},e.prototype.getLabelAlign=function(t){var i=this.getCoordinate(),n=i.getCenter(),a;return t.angle<=Math.PI/2&&t.x>=n.x?a="left":a="right",t.offset<=0&&(a==="right"?a="left":a="right"),a},e.prototype.getArcPoint=function(t){return t},e.prototype.getPointAngle=function(t){var i=this.getCoordinate(),n={x:R(t.x)?t.x[0]:t.x,y:t.y[0]},a={x:R(t.x)?t.x[1]:t.x,y:t.y[1]},o,s=nn(i,n);if(t.points&&t.points[0].y===t.points[1].y)o=s;else{var l=nn(i,a);s>=l&&(l=l+Math.PI*2),o=s+(l-s)/2}return o},e.prototype.getCirclePoint=function(t,i){var n=this.getCoordinate(),a=n.getCenter(),o=n.getRadius()+i;return m(m({},Ot(a.x,a.y,o,t)),{angle:t,r:o})},e}(hm),Gv=4;function I2(r,e,t,i,n,a){var o,s,l=!0,u=i.start,c=i.end,h=Math.min(u.y,c.y),f=Math.abs(u.y-c.y),v,d=0,p=Number.MIN_VALUE,g=e.map(function(F){return F.y>d&&(d=F.y),F.yf&&(f=d-h);l;)for(g.forEach(function(F){var T=(Math.min.apply(p,F.targets)+Math.max.apply(p,F.targets))/2;F.pos=Math.min(Math.max(p,T-F.size/2),f-F.size)}),l=!1,v=g.length;v--;)if(v>0){var y=g[v-1],x=g[v];y.pos+y.size>x.pos&&(y.size+=x.size,y.targets=y.targets.concat(x.targets),y.pos+y.size>f&&(y.pos=f-y.size),g.splice(v,1),l=!0)}v=0,g.forEach(function(F){var T=h+t/2;F.targets.forEach(function(){e[v].y=F.pos+T,T+=t,v++})});var b={};try{for(var w=ht(r),S=w.next();!S.done;S=w.next()){var M=S.value;b[M.get("id")]=M}}catch(F){o={error:F}}finally{try{S&&!S.done&&(s=w.return)&&s.call(w)}finally{if(o)throw o.error}}e.forEach(function(F){var T=F.r*F.r,L=Math.pow(Math.abs(F.y-n.y),2);if(T0){var l=14,u=o+n,c=u*2+l*2,h={start:a.start,end:a.end},f=[[],[]];r.forEach(function(v){v&&(v.textAlign==="right"?f[0].push(v):f[1].push(v))}),f.forEach(function(v,d){var p=c/l;v.length>p&&(v.sort(function(g,y){return y["..percent"]-g["..percent"]}),v.splice(p,v.length-p)),v.sort(function(g,y){return g.y-y.y}),I2(e,v,l,h,s,d)})}C(r,function(v){if(v&&v.labelLine){var d=v.offset,p=v.angle,g=Ot(s.x,s.y,o,p),y=Ot(s.x,s.y,o+d/2,p),x=v.x+A(v,"offsetX",0),b=v.y+A(v,"offsetY",0),w={x:x-Math.cos(p)*Gv,y:b-Math.sin(p)*Gv};pt(v.labelLine)||(v.labelLine={}),v.labelLine.path=["M ".concat(g.x),"".concat(g.y," Q").concat(y.x),"".concat(y.y," ").concat(w.x),w.y].join(",")}})}}function fm(r,e,t){var i=r.filter(function(d){return!d.invisible});i.sort(function(d,p){return d.y-p.y});var n=!0,a=t.minY,o=t.maxY,s=Math.abs(a-o),l,u=0,c=Number.MIN_VALUE,h=i.map(function(d){return d.y>u&&(u=d.y),d.ys&&(s=u-a);n;)for(h.forEach(function(d){var p=(Math.min.apply(c,d.targets)+Math.max.apply(c,d.targets))/2;d.pos=Math.min(Math.max(c,p-d.size/2),s-d.size),d.pos=Math.max(0,d.pos)}),n=!1,l=h.length;l--;)if(l>0){var f=h[l-1],v=h[l];f.pos+f.size>v.pos&&(f.size+=v.size,f.targets=f.targets.concat(v.targets),f.pos+f.size>s&&(f.pos=s-f.size),h.splice(l,1),n=!0)}l=0,h.forEach(function(d){var p=a+e/2;d.targets.forEach(function(){i[l].y=d.pos+p,p+=e,l++})})}var Vv=4;function D2(r,e){var t=e.getCenter(),i=e.getRadius();if(r&&r.labelLine){var n=r.angle,a=r.offset,o=Ot(t.x,t.y,i,n),s=r.x+A(r,"offsetX",0)*(Math.cos(n)>0?1:-1),l=r.y+A(r,"offsetY",0)*(Math.sin(n)>0?1:-1),u={x:s-Math.cos(n)*Vv,y:l-Math.sin(n)*Vv},c=r.labelLine.smooth,h=[],f=u.x-t.x,v=u.y-t.y,d=Math.atan(v/f);if(f<0&&(d+=Math.PI),c===!1){pt(r.labelLine)||(r.labelLine={});var p=0;(n<0&&n>-Math.PI/2||n>Math.PI*1.5)&&u.y>o.y&&(p=1),n>=0&&no.y&&(p=1),n>=Math.PI/2&&nu.y&&(p=1),(n<-Math.PI/2||n>=Math.PI&&nu.y&&(p=1);var g=a/2>4?4:Math.max(a/2-1,0),y=Ot(t.x,t.y,i+g,n),x=Ot(t.x,t.y,i+a/2,d),b=0;h.push("M ".concat(o.x," ").concat(o.y)),h.push("L ".concat(y.x," ").concat(y.y)),h.push("A ".concat(t.x," ").concat(t.y," 0 ").concat(b," ").concat(p," ").concat(x.x," ").concat(x.y)),h.push("L ".concat(u.x," ").concat(u.y))}else{var y=Ot(t.x,t.y,i+(a/2>4?4:Math.max(a/2-1,0)),n),w=o.xMath.pow(Math.E,-16)&&h.push.apply(h,["C",u.x+w*4,u.y,2*y.x-o.x,2*y.y-o.y,o.x,o.y]),h.push("L ".concat(o.x," ").concat(o.y))}r.labelLine.path=h.join(" ")}}function O2(r,e,t,i){var n,a,o=qt(r,function(T){return!B(T)}),s=e[0]&&e[0].get("coordinate");if(s){var l=s.getCenter(),u=s.getRadius(),c={};try{for(var h=ht(e),f=h.next();!f.done;f=h.next()){var v=f.value;c[v.get("id")]=v}}catch(T){n={error:T}}finally{try{f&&!f.done&&(a=h.return)&&a.call(h)}finally{if(n)throw n.error}}var d=A(o[0],"labelHeight",14),p=A(o[0],"offset",0);if(!(p<=0)){var g="left",y="right",x=me(o,function(T){return T.xk&&(T.sort(function(P,O){return O.percent-P.percent}),C(T,function(P,O){O+1>k&&(c[P.id].set("visible",!1),P.invisible=!0)})),fm(T,d,F)}),C(x,function(T,L){C(T,function(k){var P=L===y,O=c[k.id],z=O.getChildByIndex(0);if(z){var V=u+p,U=k.y-l.y,D=Math.pow(V,2),N=Math.pow(U,2),W=D-N>0?D-N:0,$=Math.sqrt(W),Y=Math.abs(Math.cos(k.angle)*V);P?k.x=l.x+Math.max($,Y):k.x=l.x-Math.max($,Y)}z&&(z.attr("y",k.y),z.attr("x",k.x)),D2(k,s)})})}}}var Bu=4,B2=4,Yv=4;function R2(r,e,t){var i=e.getCenter(),n=e.getRadius(),a={x:r.x-(t?Yv:-Yv),y:r.y},o=Ot(i.x,i.y,n+Bu,r.angle),s={x:a.x,y:a.y},l={x:o.x,y:o.y},u=Ot(i.x,i.y,n,r.angle),c="";if(a.y!==o.y){var h=t?4:-4;s.y=a.y,r.angle<0&&r.angle>=-Math.PI/2&&(s.x=Math.max(o.x,a.x-h),a.y0&&r.angleo.y?l.y=s.y:(l.y=o.y,l.x=Math.max(l.x,s.x-h))),r.angle>Math.PI/2&&(s.x=Math.min(o.x,a.x-h),a.y>o.y?l.y=s.y:(l.y=o.y,l.x=Math.min(l.x,s.x-h))),r.angle<-Math.PI/2&&(s.x=Math.min(o.x,a.x-h),a.ys.x||T.x===s.x&&T.y>s.y,P=B(T.offsetX)?B2:T.offsetX,O=Ot(s.x,s.y,l+Bu,T.angle),z=d+P;T.x=s.x+(k?1:-1)*(l+z),T.y=O.y}}});var p=o.start,g=o.end,y="left",x="right",b=me(r,function(T){return T.xw&&(w=Math.min(L,Math.abs(p.y-g.y)))});var S={minX:p.x,maxX:g.x,minY:s.y-w/2,maxY:s.y+w/2};C(b,function(T,L){var k=w/v;T.length>k&&(T.sort(function(P,O){return O.percent-P.percent}),C(T,function(P,O){O>k&&(u[P.id].set("visible",!1),P.invisible=!0)})),fm(T,v,S)});var M=S.minY,F=S.maxY;C(b,function(T,L){var k=L===x;C(T,function(P){var O=A(u,P&&[P.id]);if(O){if(P.yF){O.set("visible",!1);return}var z=O.getChildByIndex(0),V=z.getCanvasBBox(),U={x:k?V.x:V.maxX,y:V.y+V.height/2};Oa(z,P.x-U.x,P.y-U.y),P.labelLine&&R2(P,o,k)}})})}}function N2(r,e,t,i){C(e,function(n){var a=i.minX,o=i.minY,s=i.maxX,l=i.maxY,u=n.getCanvasBBox(),c=u.minX,h=u.minY,f=u.maxX,v=u.maxY,d=u.x,p=u.y,g=u.width,y=u.height,x=d,b=p;(cs?x=s-g:f>s&&(x=x-(f-s)),h>l?b=l-y:v>l&&(b=b-(v-l)),(x!==d||b!==p)&&Oa(n,x-d,b-p)})}function G2(r,e,t,i){C(e,function(n,a){var o=n.getCanvasBBox(),s=t[a].getBBox();(o.minXs.maxX||o.maxY>s.maxY)&&n.remove(!0)})}var V2=100,vm=function(){function r(e){e===void 0&&(e={}),this.bitmap={};var t=e.xGap,i=t===void 0?1:t,n=e.yGap,a=n===void 0?8:n;this.xGap=i,this.yGap=a}return r.prototype.hasGap=function(e){for(var t=!0,i=this.bitmap,n=Math.round(e.minX),a=Math.round(e.maxX),o=Math.round(e.minY),s=Math.round(e.maxY),l=n;l<=a;l+=1){if(!i[l]){i[l]={};continue}if(l===n||l===a){for(var u=o;u<=s;u++)if(i[l][u]){t=!1;break}}else if(i[l][o]||i[l][s]){t=!1;break}}return t},r.prototype.fillGap=function(e){for(var t=this.bitmap,i=Math.round(e.minX),n=Math.round(e.maxX),a=Math.round(e.minY),o=Math.round(e.maxY),s=i;s<=n;s+=1)t[s]||(t[s]={});for(var s=i;s<=n;s+=this.xGap){for(var l=a;l<=o;l+=this.yGap)t[s][l]=!0;t[s][o]=!0}if(this.yGap!==1)for(var s=a;s<=o;s+=1)t[i][s]=!0,t[n][s]=!0;if(this.xGap!==1)for(var s=i;s<=n;s+=1)t[s][a]=!0,t[s][o]=!0},r.prototype.destroy=function(){this.bitmap={}},r}();function Y2(r,e,t){t===void 0&&(t=V2);var i=-1,n=r.attr(),a=n.x,o=n.y,s=r.getCanvasBBox(),l=Math.sqrt(s.width*s.width+s.height*s.height),u,c=-i,h=0,f=0,v=function(y){var x=y*.1;return[x*Math.cos(x),x*Math.sin(x)]};if(e.hasGap(s))return e.fillGap(s),!0;for(var d=!1,p=0,g={};Math.min(Math.abs(h),Math.abs(f))4)return[];var e=function(n,a){return[a.x-n.x,a.y-n.y]},t=e(r[0],r[1]),i=e(r[1],r[2]);return[t,i]}function co(r,e,t){e===void 0&&(e=0),t===void 0&&(t={x:0,y:0});var i=r.x,n=r.y;return{x:(i-t.x)*Math.cos(-e)+(n-t.y)*Math.sin(-e)+t.x,y:(t.x-i)*Math.sin(-e)+(n-t.y)*Math.cos(-e)+t.y}}function Hv(r){var e=[{x:r.x,y:r.y},{x:r.x+r.width,y:r.y},{x:r.x+r.width,y:r.y+r.height},{x:r.x,y:r.y+r.height}],t=r.rotation;return t?[co(e[0],t,e[0]),co(e[1],t,e[0]),co(e[2],t,e[0]),co(e[3],t,e[0])]:e}function Xv(r,e){if(r.length>4)return{min:0,max:0};var t=[];return r.forEach(function(i){t.push(W2([i.x,i.y],e))}),{min:Math.min.apply(Math,Z([],q(t),!1)),max:Math.max.apply(Math,Z([],q(t),!1))}}function _2(r,e){return r.max>e.min&&r.minr.x+r.width+t||e.x+e.widthr.y+r.height+t||e.y+e.height"u")){var e;try{e=new Blob([r.toString()],{type:"application/javascript"})}catch{e=new window.BlobBuilder,e.append(r.toString()),e=e.getBlob()}return new Z2(URL.createObjectURL(e))}}var K2=function(r){function e(){function u(b,w){return(b[0]||0)*(w[0]||0)+(b[1]||0)*(w[1]||0)+0*(w[2]||0)}function c(b){if(b.length>4)return[];var w=function(F,T){return[T.x-F.x,T.y-F.y]},S=w(b[0],b[1]),M=w(b[1],b[2]);return[S,M]}function h(b,w,S){w===void 0&&(w=0),S===void 0&&(S={x:0,y:0});var M=b.x,F=b.y;return{x:(M-S.x)*Math.cos(-w)+(F-S.y)*Math.sin(-w)+S.x,y:(S.x-M)*Math.sin(-w)+(F-S.y)*Math.cos(-w)+S.y}}function f(b){var w=[{x:b.x,y:b.y},{x:b.x+b.width,y:b.y},{x:b.x+b.width,y:b.y+b.height},{x:b.x,y:b.y+b.height}],S=b.rotation;return S?[h(w[0],S,w[0]),h(w[1],S,w[0]),h(w[2],S,w[0]),h(w[3],S,w[0])]:w}function v(b,w){if(b.length>4)return{min:0,max:0};var S=[];return b.forEach(function(M){S.push(u([M.x,M.y],w))}),{min:Math.min.apply(null,S),max:Math.max.apply(null,S)}}function d(b,w){return b.max>w.min&&b.minb.x+b.width+S||w.x+w.widthb.y+b.height+S||w.y+w.height=a.height:o.width>=a.width}function nE(r,e,t){var i=!!r.getAdjust("stack");return i||e.every(function(n,a){var o=t[a];return iE(r,n,o)})}function aE(r,e,t){var i=r.coordinate,n=ie.fromObject(t.getBBox()),a=Xr(e);i.isTransposed?a.attr({x:n.minX+n.width/2,textAlign:"center"}):a.attr({y:n.minY+n.height/2,textBaseline:"middle"})}function oE(r,e,t){var i;if(t.length!==0){var n=(i=t[0])===null||i===void 0?void 0:i.get("element"),a=n==null?void 0:n.geometry;if(!(!a||a.type!=="interval")){var o=nE(a,e,t);o&&t.forEach(function(s,l){var u=e[l];aE(a,u,s)})}}}function sE(r){var e=500,t=[],i=Math.max(Math.floor(r.length/e),1);return C(r,function(n,a){a%i===0?t.push(n):n.set("visible",!1)}),t}function lE(r,e,t){var i;if(t.length!==0){var n=(i=t[0])===null||i===void 0?void 0:i.get("element"),a=n==null?void 0:n.geometry;if(!(!a||a.type!=="interval")){var o=sE(e),s=q(a.getXYFields(),1),l=s[0],u=[],c=[],h=me(o,function(g){return g.get("data")[l]}),f=bi(Mt(o,function(g){return g.get("data")[l]})),v;o.forEach(function(g){g.set("visible",!0)});var d=function(g){g&&(g.length&&c.push(g.pop()),c.push.apply(c,Z([],q(g),!1)))};for(Vt(f)>0&&(v=f.shift(),d(h[v])),Vt(f)>0&&(v=f.pop(),d(h[v])),C(f.reverse(),function(g){d(h[g])});c.length>0;){var p=c.shift();p.get("visible")&&(SF(p,u)?p.set("visible",!1):u.push(p))}}}}function uE(r,e){var t=r.getXYFields()[1],i=[],n=e.sort(function(a,o){return a.get("data")[t]-a.get("data")[t]});return n.length>0&&i.push(n.shift()),n.length>0&&i.push(n.pop()),i.push.apply(i,Z([],q(n),!1)),i}function dm(r,e,t){return r.some(function(i){return t(i,e)})}function cE(r,e,t){var i=Math.max(0,Math.min(r.x+r.width+t,e.x+e.width+t)-Math.max(r.x-t,e.x-t)),n=Math.max(0,Math.min(r.y+r.height+t,e.y+e.height+t)-Math.max(r.y-t,e.y-t));return i*n}function Uv(r,e){return dm(r,e,function(t,i){var n=Xr(t),a=Xr(i);return cE(n.getCanvasBBox(),a.getCanvasBBox(),2)>0})}function hE(r,e,t,i,n){var a,o;if(t.length!==0){var s=(a=t[0])===null||a===void 0?void 0:a.get("element"),l=s==null?void 0:s.geometry;if(!(!l||l.type!=="point")){var u=q(l.getXYFields(),2),c=u[0],h=u[1],f=me(e,function(p){return p.get("data")[c]}),v=[],d=n&&n.offset||((o=r[0])===null||o===void 0?void 0:o.offset)||12;Mt(fn(f).reverse(),function(p){for(var g=uE(l,f[p]);g.length;){var y=g.shift(),x=Xr(y);if(dm(v,y,function(S,M){return S.get("data")[c]===M.get("data")[c]&&S.get("data")[h]===M.get("data")[h]})){x.set("visible",!1);continue}var b=Uv(v,y),w=!1;if(b&&(x.attr("y",x.attr("y")+2*d),w=Uv(v,y)),w){x.set("visible",!1);continue}v.push(y)}})}}}function fE(r,e){var t=r.getXYFields()[1],i=[],n=e.sort(function(a,o){return a.get("data")[t]-a.get("data")[t]});return n.length>0&&i.push(n.shift()),n.length>0&&i.push(n.pop()),i.push.apply(i,Z([],q(n),!1)),i}function pm(r,e,t){return r.some(function(i){return t(i,e)})}function vE(r,e,t){var i=Math.max(0,Math.min(r.x+r.width+t,e.x+e.width+t)-Math.max(r.x-t,e.x-t)),n=Math.max(0,Math.min(r.y+r.height+t,e.y+e.height+t)-Math.max(r.y-t,e.y-t));return i*n}function jv(r,e){return pm(r,e,function(t,i){var n=Xr(t),a=Xr(i);return vE(n.getCanvasBBox(),a.getCanvasBBox(),2)>0})}function dE(r,e,t,i,n){var a,o;if(t.length!==0){var s=(a=t[0])===null||a===void 0?void 0:a.get("element"),l=s==null?void 0:s.geometry;if(!(!l||["path","line","area"].indexOf(l.type)<0)){var u=q(l.getXYFields(),2),c=u[0],h=u[1],f=me(e,function(p){return p.get("data")[c]}),v=[],d=n&&n.offset||((o=r[0])===null||o===void 0?void 0:o.offset)||12;Mt(fn(f).reverse(),function(p){for(var g=fE(l,f[p]);g.length;){var y=g.shift(),x=Xr(y);if(pm(v,y,function(S,M){return S.get("data")[c]===M.get("data")[c]&&S.get("data")[h]===M.get("data")[h]})){x.set("visible",!1);continue}var b=jv(v,y),w=!1;if(b&&(x.attr("y",x.attr("y")+2*d),w=jv(v,y)),w){x.set("visible",!1);continue}v.push(y)}})}}}var Dl;function pE(){return Dl||(Dl=document.createElement("canvas").getContext("2d")),Dl}var ho=dn(function(r,e){e===void 0&&(e={});var t=e.fontSize,i=e.fontFamily,n=e.fontWeight,a=e.fontStyle,o=e.fontVariant,s=pE();return s.font=[a,o,n,"".concat(t,"px"),i].join(" "),s.measureText(Q(r)?r:"").width},function(r,e){return e===void 0&&(e={}),Z([r],q(us(e)),!1).join("")}),gE=function(r,e,t){var i=16,n=ho("...",t),a;Q(r)?a=r:a=Fa(r);var o=e,s=[],l,u;if(ho(r,t)<=e)return r;for(;l=a.substr(0,i),u=ho(l,t),!(u+n>o&&u>o);)if(s.push(l),o-=u,a=a.substr(i),!a)return s.join("");for(;l=a.substr(0,1),u=ho(l,t),!(u+n>o);)if(s.push(l),o-=u,a=a.substr(1),!a)return s.join("");return"".concat(s.join(""),"...")};function yE(r,e,t,i,n){if(!(e.length<=0)){var a=(n==null?void 0:n.direction)||["top","right","bottom","left"],o=(n==null?void 0:n.action)||"translate",s=(n==null?void 0:n.margin)||0,l=e[0].get("coordinate");if(l){var u=cA(l,s),c=u.minX,h=u.minY,f=u.maxX,v=u.maxY;C(e,function(d){var p=d.getCanvasBBox(),g=p.minX,y=p.minY,x=p.maxX,b=p.maxY,w=p.x,S=p.y,M=p.width,F=p.height,T=w,L=S;if(a.indexOf("left")>=0&&(g=0&&(y=0&&(g>f?T=f-M:x>f&&(T=T-(x-f))),a.indexOf("bottom")>=0&&(y>v?L=v-F:b>v&&(L=L-(b-v))),T!==w||L!==S){var k=T-w;if(o==="translate")Oa(d,k,L-S);else if(o==="ellipsis"){var P=d.findAll(function(O){return O.get("type")==="text"});P.forEach(function(O){var z=tc(O.attr(),["fontSize","fontFamily","fontWeight","fontStyle","fontVariant"]),V=O.getCanvasBBox(),U=gE(O.attr("text"),V.width-Math.abs(k),z);O.attr("text",U)})}else d.hide()}})}}}function mE(r,e,t){var i={fillOpacity:B(r.attr("fillOpacity"))?1:r.attr("fillOpacity"),strokeOpacity:B(r.attr("strokeOpacity"))?1:r.attr("strokeOpacity"),opacity:B(r.attr("opacity"))?1:r.attr("opacity")};r.attr({fillOpacity:0,strokeOpacity:0,opacity:0}),r.animate(i,e)}function xE(r,e,t){var i={fillOpacity:0,strokeOpacity:0,opacity:0},n=e.easing,a=e.duration,o=e.delay;r.animate(i,a,n,function(){r.remove(!0)},o)}function wE(r,e,t){var i,n=q(e,2),a=n[0],o=n[1];return r.applyToMatrix([a,o,1]),t==="x"?(r.setMatrix(Rt(r.getMatrix(),[["t",-a,-o],["s",.01,1],["t",a,o]])),i=Rt(r.getMatrix(),[["t",-a,-o],["s",100,1],["t",a,o]])):t==="y"?(r.setMatrix(Rt(r.getMatrix(),[["t",-a,-o],["s",1,.01],["t",a,o]])),i=Rt(r.getMatrix(),[["t",-a,-o],["s",1,100],["t",a,o]])):t==="xy"&&(r.setMatrix(Rt(r.getMatrix(),[["t",-a,-o],["s",.01,.01],["t",a,o]])),i=Rt(r.getMatrix(),[["t",-a,-o],["s",100,100],["t",a,o]])),i}function Zc(r,e,t,i,n){var a=t.start,o=t.end,s=t.getWidth(),l=t.getHeight(),u,c;n==="y"?(u=a.x+s/2,c=i.ya.x?i.x:a.x,c=a.y+l/2):n==="xy"&&(t.isPolar?(u=t.getCenter().x,c=t.getCenter().y):(u=(a.x+o.x)/2,c=(a.y+o.y)/2));var h=wE(r,[u,c],n);r.animate({matrix:h},e)}function bE(r,e,t){var i=t.coordinate,n=t.minYPoint;Zc(r,e,i,n,"x")}function SE(r,e,t){var i=t.coordinate,n=t.minYPoint;Zc(r,e,i,n,"y")}function CE(r,e,t){var i=t.coordinate,n=t.minYPoint;Zc(r,e,i,n,"xy")}function ME(r,e,t){var i=r.getTotalLength();r.attr("lineDash",[i]),r.animate(function(n){return{lineDashOffset:(1-n)*i}},e)}function AE(r,e,t){var i=t.toAttrs,n=i.x,a=i.y;delete i.x,delete i.y,r.attr(i),r.animate({x:n,y:a},e)}function FE(r,e,t){var i=r.getBBox(),n=r.get("origin").mappingData,a=n.points,o=a[0].y-a[1].y>0?i.maxX:i.minX,s=(i.minY+i.maxY)/2;r.applyToMatrix([o,s,1]);var l=Rt(r.getMatrix(),[["t",-o,-s],["s",.01,1],["t",o,s]]);r.setMatrix(l),r.animate({matrix:Rt(r.getMatrix(),[["t",-o,-s],["s",100,1],["t",o,s]])},e)}function TE(r,e,t){var i=r.getBBox(),n=r.get("origin").mappingData,a=(i.minX+i.maxX)/2,o=n.points,s=o[0].y-o[1].y<=0?i.maxY:i.minY;r.applyToMatrix([a,s,1]);var l=Rt(r.getMatrix(),[["t",-a,-s],["s",1,.01],["t",a,s]]);r.setMatrix(l),r.animate({matrix:Rt(r.getMatrix(),[["t",-a,-s],["s",1,100],["t",a,s]])},e)}function Zv(r,e){var t,i=Qo(r,e),n=i.startAngle,a=i.endAngle;return!Xt(n,-Math.PI*.5)&&n<-Math.PI*.5&&(n+=Math.PI*2),!Xt(a,-Math.PI*.5)&&a<-Math.PI*.5&&(a+=Math.PI*2),e[5]===0&&(t=q([a,n],2),n=t[0],a=t[1]),Xt(n,Math.PI*1.5)&&(n=Math.PI*-.5),Xt(a,Math.PI*-.5)&&!Xt(n,a)&&(a=Math.PI*1.5),{startAngle:n,endAngle:a}}function Qv(r){var e;return r[0]==="M"||r[0]==="L"?e=[r[1],r[2]]:(r[0]==="a"||r[0]==="A"||r[0]==="C")&&(e=[r[r.length-2],r[r.length-1]]),e}function Kv(r){var e,t,i,n=r.filter(function(b){return b[0]==="A"||b[0]==="a"});if(n.length===0)return{startAngle:0,endAngle:0,radius:0,innerRadius:0};var a=n[0],o=n.length>1?n[1]:n[0],s=r.indexOf(a),l=r.indexOf(o),u=Qv(r[s-1]),c=Qv(r[l-1]),h=Zv(u,a),f=h.startAngle,v=h.endAngle,d=Zv(c,o),p=d.startAngle,g=d.endAngle;Xt(f,p)&&Xt(v,g)?(t=f,i=v):(t=Math.min(f,p),i=Math.max(v,g));var y=a[1],x=n[n.length-1][1];return y=0;u--){var c=this.getFacetsByLevel(t,u);try{for(var h=(i=void 0,ht(c)),f=h.next();!f.done;f=h.next()){var v=f.value;this.isLeaf(v)||(v.originColIndex=v.columnIndex,v.columnIndex=this.getRegionIndex(v.children),v.columnValuesLength=o.length)}}catch(d){i={error:d}}finally{try{f&&!f.done&&(n=h.return)&&n.call(h)}finally{if(i)throw i.error}}}},e.prototype.getFacetsByLevel=function(t,i){var n=[];return t.forEach(function(a){a.rowIndex===i&&n.push(a)}),n},e.prototype.getRegionIndex=function(t){var i=t[0],n=t[t.length-1];return(n.columnIndex-i.columnIndex)/2+i.columnIndex},e.prototype.isLeaf=function(t){return!t.children||!t.children.length},e.prototype.getRows=function(){return this.cfg.fields.length+1},e.prototype.getChildFacets=function(t,i,n){var a=this,o=this.cfg.fields,s=o.length;if(!(s=v){var g=n.parsePosition([d[l],d[s.field]]);g&&f.push(g)}if(d[l]===h)return!1}),f},e.prototype.parsePercentPosition=function(t){var i=parseFloat(t[0])/100,n=parseFloat(t[1])/100,a=this.view.getCoordinate(),o=a.start,s=a.end,l={x:Math.min(o.x,s.x),y:Math.min(o.y,s.y)},u=a.getWidth()*i+l.x,c=a.getHeight()*n+l.y;return{x:u,y:c}},e.prototype.getCoordinateBBox=function(){var t=this.view.getCoordinate(),i=t.start,n=t.end,a=t.getWidth(),o=t.getHeight(),s={x:Math.min(i.x,n.x),y:Math.min(i.y,n.y)};return{x:s.x,y:s.y,minX:s.x,minY:s.y,maxX:s.x+a,maxY:s.y+o,width:a,height:o}},e.prototype.getAnnotationCfg=function(t,i,n){var a=this,o=this.view.getCoordinate(),s=this.view.getCanvas(),l={};if(B(i))return null;var u=i.start,c=i.end,h=i.position,f=this.parsePosition(u),v=this.parsePosition(c),d=this.parsePosition(h);if(["arc","image","line","region","regionFilter"].includes(t)&&(!f||!v))return null;if(["text","dataMarker","html"].includes(t)&&!d)return null;if(t==="arc"){var p=i;p.start,p.end;var g=yt(p,["start","end"]),y=nn(o,f),x=nn(o,v);y>x&&(x=Math.PI*2+x),l=m(m({},g),{center:o.getCenter(),radius:Rs(o,f),startAngle:y,endAngle:x})}else if(t==="image"){var b=i;b.start,b.end;var g=yt(b,["start","end"]);l=m(m({},g),{start:f,end:v,src:i.src})}else if(t==="line"){var w=i;w.start,w.end;var g=yt(w,["start","end"]);l=m(m({},g),{start:f,end:v,text:A(i,"text",null)})}else if(t==="region"){var S=i;S.start,S.end;var g=yt(S,["start","end"]);l=m(m({},g),{start:f,end:v})}else if(t==="text"){var M=this.view.getData(),F=i;F.position;var T=F.content,g=yt(F,["position","content"]),L=T;X(T)&&(L=T(M)),l=m(m(m({},d),g),{content:L})}else if(t==="dataMarker"){var k=i;k.position;var P=k.point,O=k.line,z=k.text,V=k.autoAdjust,U=k.direction,g=yt(k,["position","point","line","text","autoAdjust","direction"]);l=m(m(m({},g),d),{coordinateBBox:this.getCoordinateBBox(),point:P,line:O,text:z,autoAdjust:V,direction:U})}else if(t==="dataRegion"){var D=i,N=D.start,W=D.end,$=D.region,z=D.text,Y=D.lineLength,g=yt(D,["start","end","region","text","lineLength"]);l=m(m({},g),{points:this.getRegionPoints(N,W),region:$,text:z,lineLength:Y})}else if(t==="regionFilter"){var _=i;_.start,_.end;var et=_.apply,at=_.color,g=yt(_,["start","end","apply","color"]),K=this.view.geometries,tt=[],gt=function(Xe){Xe&&(Xe.isGroup()?Xe.getChildren().forEach(function(Mn){return gt(Mn)}):tt.push(Xe))};C(K,function(Xe){et?ai(et,Xe.type)&&C(Xe.elements,function(Mn){gt(Mn.shape)}):C(Xe.elements,function(Mn){gt(Mn.shape)})}),l=m(m({},g),{color:at,shapes:tt,start:f,end:v})}else if(t==="shape"){var Ft=i,kt=Ft.render,Ut=yt(Ft,["render"]),ar=function(Vx){if(X(i.render))return kt(Vx,a.view,{parsePosition:a.parsePosition.bind(a)})};l=m(m({},Ut),{render:ar})}else if(t==="html"){var or=i,sr=or.html;or.position;var Ut=yt(or,["html","position"]),ti=function(Xe){return X(sr)?sr(Xe,a.view):sr};l=m(m(m({},Ut),d),{parent:s.get("el").parentNode,html:ti})}var Sr=H({},n,m(m({},l),{top:i.top,style:i.style,offsetX:i.offsetX,offsetY:i.offsetY}));return t!=="html"&&(Sr.container=this.getComponentContainer(Sr)),Sr.animate=this.view.getOptions().animate&&Sr.animate&&A(i,"animate",Sr.animate),Sr.animateOption=H({},on,Sr.animateOption,i.animateOption),Sr},e.prototype.isTop=function(t){return A(t,"top",!0)},e.prototype.getComponentContainer=function(t){return this.isTop(t)?this.foregroundContainer:this.backgroundContainer},e.prototype.getAnnotationTheme=function(t){return A(this.view.getTheme(),["components","annotation",t],{})},e.prototype.updateOrCreate=function(t){var i=this.cache.get(this.getCacheKey(t));if(i){var n=t.type,a=this.getAnnotationTheme(n),o=this.getAnnotationCfg(n,t,a);o&&le(o,["container"]),i.component.update(m(m({},o||{}),{visible:!!o})),ai(vo,t.type)&&i.component.render()}else i=this.createAnnotation(t),i&&(i.component.init(),ai(vo,t.type)&&i.component.render());return i},e.prototype.syncCache=function(t){var i=this,n=new Map(this.cache);return t.forEach(function(a,o){n.set(o,a)}),n.forEach(function(a,o){Ne(i.option,function(s){return o===i.getCacheKey(s)})||(a.component.destroy(),n.delete(o))}),n},e.prototype.getCacheKey=function(t){return t},e}(mn);function td(r,e){var t=H({},A(r,["components","axis","common"]),A(r,["components","axis",e]));return A(t,["grid"],{})}function po(r,e,t,i){var n=[],a=e.getTicks();return r.isPolar&&a.push({value:1,text:"",tickValue:""}),a.reduce(function(o,s,l){var u=s.value;if(i)n.push({points:[r.convert(t==="y"?{x:0,y:u}:{x:u,y:0}),r.convert(t==="y"?{x:1,y:u}:{x:u,y:1})]});else if(l){var c=o.value,h=(c+u)/2;n.push({points:[r.convert(t==="y"?{x:0,y:h}:{x:h,y:0}),r.convert(t==="y"?{x:1,y:h}:{x:h,y:1})]})}return s},a[0]),n}function Bl(r,e,t,i,n){var a=e.values.length,o=[],s=t.getTicks();return s.reduce(function(l,u){var c=l?l.value:u.value,h=u.value,f=(c+h)/2;return n==="x"?o.push({points:[r.convert({x:i?h:f,y:0}),r.convert({x:i?h:f,y:1})]}):o.push({points:Mt(Array(a+1),function(v,d){return r.convert({x:d/a,y:i?h:f})})}),u},s[0]),o}function ed(r,e){var t=A(e,"grid");if(t===null)return!1;var i=A(r,"grid");return!(t===void 0&&i===null)}var Fr=["container"],rd=m(m({},on),{appear:null}),VE=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;return i.cache=new Map,i.gridContainer=i.view.getLayer(It.BG).addGroup(),i.gridForeContainer=i.view.getLayer(It.FORE).addGroup(),i.axisContainer=i.view.getLayer(It.BG).addGroup(),i.axisForeContainer=i.view.getLayer(It.FORE).addGroup(),i}return Object.defineProperty(e.prototype,"name",{get:function(){return"axis"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.render=function(){this.update()},e.prototype.layout=function(){var t=this,i=this.view.getCoordinate();C(this.getComponents(),function(n){var a=n.component,o=n.direction,s=n.type,l=n.extra,u=l.dim,c=l.scale,h=l.alignTick,f;if(s===Gt.AXIS)i.isPolar?u==="x"?f=i.isTransposed?eo(i,o):Tl(i):u==="y"&&(f=i.isTransposed?Tl(i):eo(i,o)):f=eo(i,o);else if(s===Gt.GRID)if(i.isPolar){var v=void 0;i.isTransposed?v=u==="x"?Bl(i,t.view.getYScales()[0],c,h,u):po(i,c,u,h):v=u==="x"?po(i,c,u,h):Bl(i,t.view.getXScale(),c,h,u),f={items:v,center:t.view.getCoordinate().getCenter()}}else f={items:po(i,c,u,h)};a.update(f)})},e.prototype.update=function(){this.option=this.view.getOptions().axes;var t=new Map;this.updateXAxes(t),this.updateYAxes(t);var i=new Map;this.cache.forEach(function(n,a){t.has(a)?i.set(a,n):n.component.destroy()}),this.cache=i},e.prototype.clear=function(){r.prototype.clear.call(this),this.cache.clear(),this.gridContainer.clear(),this.gridForeContainer.clear(),this.axisContainer.clear(),this.axisForeContainer.clear()},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.gridContainer.remove(!0),this.gridForeContainer.remove(!0),this.axisContainer.remove(!0),this.axisForeContainer.remove(!0)},e.prototype.getComponents=function(){var t=[];return this.cache.forEach(function(i){t.push(i)}),t},e.prototype.updateXAxes=function(t){var i=this.view.getXScale();if(!(!i||i.isIdentity)){var n=Uo(this.option,i.field);if(n!==!1){var a=fv(n,G.BOTTOM),o=It.BG,s="x",l=this.view.getCoordinate(),u=this.getId("axis",i.field),c=this.getId("grid",i.field);if(l.isRect){var h=this.cache.get(u);if(h){var f=this.getLineAxisCfg(i,n,a);le(f,Fr),h.component.update(f),t.set(u,h)}else h=this.createLineAxis(i,n,o,a,s),this.cache.set(u,h),t.set(u,h);var v=this.cache.get(c);if(v){var f=this.getLineGridCfg(i,n,a,s);le(f,Fr),v.component.update(f),t.set(c,v)}else v=this.createLineGrid(i,n,o,a,s),v&&(this.cache.set(c,v),t.set(c,v))}else if(l.isPolar){var h=this.cache.get(u);if(h){var f=l.isTransposed?this.getLineAxisCfg(i,n,G.RADIUS):this.getCircleAxisCfg(i,n,a);le(f,Fr),h.component.update(f),t.set(u,h)}else{if(l.isTransposed){if(si(n))return;h=this.createLineAxis(i,n,o,G.RADIUS,s)}else h=this.createCircleAxis(i,n,o,a,s);this.cache.set(u,h),t.set(u,h)}var v=this.cache.get(c);if(v){var f=l.isTransposed?this.getCircleGridCfg(i,n,G.RADIUS,s):this.getLineGridCfg(i,n,G.CIRCLE,s);le(f,Fr),v.component.update(f),t.set(c,v)}else{if(l.isTransposed){if(si(n))return;v=this.createCircleGrid(i,n,o,G.RADIUS,s)}else v=this.createLineGrid(i,n,o,G.CIRCLE,s);v&&(this.cache.set(c,v),t.set(c,v))}}}}},e.prototype.updateYAxes=function(t){var i=this,n=this.view.getYScales();C(n,function(a,o){if(!(!a||a.isIdentity)){var s=a.field,l=Uo(i.option,s);if(l!==!1){var u=It.BG,c="y",h=i.getId("axis",s),f=i.getId("grid",s),v=i.view.getCoordinate();if(v.isRect){var d=fv(l,o===0?G.LEFT:G.RIGHT),p=i.cache.get(h);if(p){var g=i.getLineAxisCfg(a,l,d);le(g,Fr),p.component.update(g),t.set(h,p)}else p=i.createLineAxis(a,l,u,d,c),i.cache.set(h,p),t.set(h,p);var y=i.cache.get(f);if(y){var g=i.getLineGridCfg(a,l,d,c);le(g,Fr),y.component.update(g),t.set(f,y)}else y=i.createLineGrid(a,l,u,d,c),y&&(i.cache.set(f,y),t.set(f,y))}else if(v.isPolar){var p=i.cache.get(h);if(p){var g=v.isTransposed?i.getCircleAxisCfg(a,l,G.CIRCLE):i.getLineAxisCfg(a,l,G.RADIUS);le(g,Fr),p.component.update(g),t.set(h,p)}else{if(v.isTransposed){if(si(l))return;p=i.createCircleAxis(a,l,u,G.CIRCLE,c)}else p=i.createLineAxis(a,l,u,G.RADIUS,c);i.cache.set(h,p),t.set(h,p)}var y=i.cache.get(f);if(y){var g=v.isTransposed?i.getLineGridCfg(a,l,G.CIRCLE,c):i.getCircleGridCfg(a,l,G.RADIUS,c);le(g,Fr),y.component.update(g),t.set(f,y)}else{if(v.isTransposed){if(si(l))return;y=i.createLineGrid(a,l,u,G.CIRCLE,c)}else y=i.createCircleGrid(a,l,u,G.RADIUS,c);y&&(i.cache.set(f,y),t.set(f,y))}}}}})},e.prototype.createLineAxis=function(t,i,n,a,o){var s={component:new JM(this.getLineAxisCfg(t,i,a)),layer:n,direction:a===G.RADIUS?G.NONE:a,type:Gt.AXIS,extra:{dim:o,scale:t}};return s.component.set("field",t.field),s.component.init(),s},e.prototype.createLineGrid=function(t,i,n,a,o){var s=this.getLineGridCfg(t,i,a,o);if(s){var l={component:new eA(s),layer:n,direction:G.NONE,type:Gt.GRID,extra:{dim:o,scale:t,alignTick:A(s,"alignTick",!0)}};return l.component.init(),l}},e.prototype.createCircleAxis=function(t,i,n,a,o){var s={component:new tA(this.getCircleAxisCfg(t,i,a)),layer:n,direction:a,type:Gt.AXIS,extra:{dim:o,scale:t}};return s.component.set("field",t.field),s.component.init(),s},e.prototype.createCircleGrid=function(t,i,n,a,o){var s=this.getCircleGridCfg(t,i,a,o);if(s){var l={component:new rA(s),layer:n,direction:G.NONE,type:Gt.GRID,extra:{dim:o,scale:t,alignTick:A(s,"alignTick",!0)}};return l.component.init(),l}},e.prototype.getLineAxisCfg=function(t,i,n){var a=A(i,["top"])?this.axisForeContainer:this.axisContainer,o=this.view.getCoordinate(),s=eo(o,n),l=vv(t,i),u=ro(this.view.getTheme(),n),c=A(i,["title"])?H({title:{style:{text:l}}},{title:hv(this.view.getTheme(),n,i.title)},i):i,h=H(m(m({container:a},s),{ticks:t.getTicks().map(function(b){return{id:"".concat(b.tickValue),name:b.text,value:b.value}}),verticalFactor:o.isPolar?cv(s,o.getCenter())*-1:cv(s,o.getCenter()),theme:u}),u,c),f=this.getAnimateCfg(h),v=f.animate,d=f.animateOption;h.animateOption=d,h.animate=v;var p=ey(s),g=A(h,"verticalLimitLength",p?1/3:1/2);if(g<=1){var y=this.view.getCanvas().get("width"),x=this.view.getCanvas().get("height");h.verticalLimitLength=g*(p?y:x)}return h},e.prototype.getLineGridCfg=function(t,i,n,a){if(ed(ro(this.view.getTheme(),n),i)){var o=td(this.view.getTheme(),n),s=H({container:A(i,["top"])?this.gridForeContainer:this.gridContainer},o,A(i,"grid"),this.getAnimateCfg(i));return s.items=po(this.view.getCoordinate(),t,a,A(s,"alignTick",!0)),s}},e.prototype.getCircleAxisCfg=function(t,i,n){var a=A(i,["top"])?this.axisForeContainer:this.axisContainer,o=this.view.getCoordinate(),s=t.getTicks().map(function(p){return{id:"".concat(p.tickValue),name:p.text,value:p.value}});!t.isCategory&&Math.abs(o.endAngle-o.startAngle)===Math.PI*2&&s.length&&(s[s.length-1].name="");var l=vv(t,i),u=ro(this.view.getTheme(),G.CIRCLE),c=A(i,["title"])?H({title:{style:{text:l}}},{title:hv(this.view.getTheme(),n,i.title)},i):i,h=H(m(m({container:a},Tl(this.view.getCoordinate())),{ticks:s,verticalFactor:1,theme:u}),u,c),f=this.getAnimateCfg(h),v=f.animate,d=f.animateOption;return h.animate=v,h.animateOption=d,h},e.prototype.getCircleGridCfg=function(t,i,n,a){if(ed(ro(this.view.getTheme(),n),i)){var o=td(this.view.getTheme(),G.RADIUS),s=H({container:A(i,["top"])?this.gridForeContainer:this.gridContainer,center:this.view.getCoordinate().getCenter()},o,A(i,"grid"),this.getAnimateCfg(i)),l=A(s,"alignTick",!0),u=a==="x"?this.view.getYScales()[0]:this.view.getXScale();return s.items=Bl(this.view.getCoordinate(),u,t,l,a),s}},e.prototype.getId=function(t,i){var n=this.view.getCoordinate();return"".concat(t,"-").concat(i,"-").concat(n.type)},e.prototype.getAnimateCfg=function(t){return{animate:this.view.getOptions().animate&&A(t,"animate"),animateOption:t&&t.animateOption?H({},rd,t.animateOption):rd}},e}(mn);function Or(r,e,t){return t===G.TOP?[r.minX+r.width/2-e.width/2,r.minY]:t===G.BOTTOM?[r.minX+r.width/2-e.width/2,r.maxY-e.height]:t===G.LEFT?[r.minX,r.minY+r.height/2-e.height/2]:t===G.RIGHT?[r.maxX-e.width,r.minY+r.height/2-e.height/2]:t===G.TOP_LEFT||t===G.LEFT_TOP?[r.tl.x,r.tl.y]:t===G.TOP_RIGHT||t===G.RIGHT_TOP?[r.tr.x-e.width,r.tr.y]:t===G.BOTTOM_LEFT||t===G.LEFT_BOTTOM?[r.bl.x,r.bl.y-e.height]:t===G.BOTTOM_RIGHT||t===G.RIGHT_BOTTOM?[r.br.x-e.width,r.br.y-e.height]:[0,0]}function id(r,e){return tn(r)?r===!1?!1:{}:A(r,[e],r)}function go(r){return A(r,"position",G.BOTTOM)}var YE=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;return i.container=i.view.getLayer(It.FORE).addGroup(),i}return Object.defineProperty(e.prototype,"name",{get:function(){return"legend"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.render=function(){this.update()},e.prototype.layout=function(){var t=this;this.layoutBBox=this.view.viewBBox,C(this.components,function(i){var n=i.component,a=i.direction,o=El(a),s=n.get("maxWidthRatio"),l=n.get("maxHeightRatio"),u=t.getCategoryLegendSizeCfg(o,s,l),c=n.get("maxWidth"),h=n.get("maxHeight");n.update({maxWidth:Math.min(u.maxWidth,c||0),maxHeight:Math.min(u.maxHeight,h||0)});var f=n.get("padding"),v=n.getLayoutBBox(),d=new ie(v.x,v.y,v.width,v.height).expand(f),p=q(Or(t.view.viewBBox,d,a),2),g=p[0],y=p[1],x=q(Or(t.layoutBBox,d,a),2),b=x[0],w=x[1],S=0,M=0;a.startsWith("top")||a.startsWith("bottom")?(S=g,M=w):(S=b,M=y),n.setLocation({x:S+f[3],y:M+f[0]}),t.layoutBBox=t.layoutBBox.cut(d,a)})},e.prototype.update=function(){var t=this;this.option=this.view.getOptions().legends;var i={},n=function(f,v,d){var p=t.getId(d.field),g=t.getComponentById(p);if(g){var y=void 0,x=id(t.option,d.field);x!==!1&&(A(x,"custom")?y=t.getCategoryCfg(f,v,d,x,!0):d.isLinear?y=t.getContinuousCfg(f,v,d,x):d.isCategory&&(y=t.getCategoryCfg(f,v,d,x))),y&&(le(y,["container"]),g.direction=go(x),g.component.update(y),i[p]=!0)}else{var b=t.createFieldLegend(f,v,d);b&&(b.component.init(),t.components.push(b),i[p]=!0)}};if(A(this.option,"custom")){var a="global-custom",o=this.getComponentById(a);if(o){var s=this.getCategoryCfg(void 0,void 0,void 0,this.option,!0);le(s,["container"]),o.component.update(s),i[a]=!0}else{var l=this.createCustomLegend(void 0,void 0,void 0,this.option);if(l){l.init();var u=It.FORE,c=go(this.option);this.components.push({id:a,component:l,layer:u,direction:c,type:Gt.LEGEND,extra:void 0}),i[a]=!0}}}else this.loopLegends(n);var h=[];C(this.getComponents(),function(f){i[f.id]?h.push(f):f.component.destroy()}),this.components=h},e.prototype.clear=function(){r.prototype.clear.call(this),this.container.clear()},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.container.remove(!0)},e.prototype.getGeometries=function(t){var i=this,n=t.geometries;return C(t.views,function(a){n=n.concat(i.getGeometries(a))}),n},e.prototype.loopLegends=function(t){var i=this.view.getRootView()===this.view;if(i){var n=this.getGeometries(this.view),a={};C(n,function(o){var s=o.getGroupAttributes();C(s,function(l){var u=l.getScale(l.type);!u||u.type==="identity"||a[u.field]||(t(o,l,u),a[u.field]=!0)})})}},e.prototype.createFieldLegend=function(t,i,n){var a,o=id(this.option,n.field),s=It.FORE,l=go(o);if(o!==!1&&(A(o,"custom")?a=this.createCustomLegend(t,i,n,o):n.isLinear?a=this.createContinuousLegend(t,i,n,o):n.isCategory&&(a=this.createCategoryLegend(t,i,n,o))),a)return a.set("field",n.field),{id:this.getId(n.field),component:a,layer:s,direction:l,type:Gt.LEGEND,extra:{scale:n}}},e.prototype.createCustomLegend=function(t,i,n,a){var o=this.getCategoryCfg(t,i,n,a,!0);return new sv(o)},e.prototype.createContinuousLegend=function(t,i,n,a){var o=this.getContinuousCfg(t,i,n,le(a,["value"]));return new iA(o)},e.prototype.createCategoryLegend=function(t,i,n,a){var o=this.getCategoryCfg(t,i,n,a);return new sv(o)},e.prototype.getContinuousCfg=function(t,i,n,a){var o=n.getTicks(),s=Ne(o,function(p){return p.value===0}),l=Ne(o,function(p){return p.value===1}),u=o.map(function(p){var g=p.value,y=p.tickValue,x=i.mapping(n.invert(g)).join("");return{value:y,attrValue:x,color:x,scaleValue:g}});s||u.push({value:n.min,attrValue:i.mapping(n.invert(0)).join(""),color:i.mapping(n.invert(0)).join(""),scaleValue:0}),l||u.push({value:n.max,attrValue:i.mapping(n.invert(1)).join(""),color:i.mapping(n.invert(1)).join(""),scaleValue:1}),u.sort(function(p,g){return p.value-g.value});var c={min:ye(u).value,max:zt(u).value,colors:[],rail:{type:i.type},track:{}};i.type==="size"&&(c.track={style:{fill:i.type==="size"?this.view.getTheme().defaultColor:void 0}}),i.type==="color"&&(c.colors=u.map(function(p){return p.attrValue}));var h=this.container,f=go(a),v=El(f),d=A(a,"title");return d&&(d=H({text:va(n)},d)),c.container=h,c.layout=v,c.title=d,c.animateOption=on,this.mergeLegendCfg(c,a,"continuous")},e.prototype.getCategoryCfg=function(t,i,n,a,o){var s=this.container,l=A(a,"position",G.BOTTOM),u=Av(this.view.getTheme(),l),c=A(u,["marker"]),h=A(a,"marker"),f=El(l),v=A(u,["pageNavigator"]),d=A(a,"pageNavigator"),p=o?TF(c,h,a.items):Ry(this.view,t,i,c,h),g=A(a,"title");g&&(g=H({text:n?va(n):""},g));var y=A(a,"maxWidthRatio"),x=A(a,"maxHeightRatio"),b=this.getCategoryLegendSizeCfg(f,y,x);b.container=s,b.layout=f,b.items=p,b.title=g,b.animateOption=on,b.pageNavigator=H({},v,d);var w=this.mergeLegendCfg(b,a,l);w.reversed&&w.items.reverse();var S=A(w,"maxItemWidth");return S&&S<=1&&(w.maxItemWidth=this.view.viewBBox.width*S),w},e.prototype.mergeLegendCfg=function(t,i,n){var a=n.split("-")[0],o=Av(this.view.getTheme(),a);return H({},o,t,i)},e.prototype.getId=function(t){return"".concat(this.name,"-").concat(t)},e.prototype.getComponentById=function(t){return Ne(this.components,function(i){return i.id===t})},e.prototype.getCategoryLegendSizeCfg=function(t,i,n){i===void 0&&(i=Vh),n===void 0&&(n=Vh);var a=this.view.viewBBox,o=a.width,s=a.height;return t==="vertical"?{maxWidth:o*i,maxHeight:s}:{maxWidth:o,maxHeight:s*n}},e}(mn),$E=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;return i.onChangeFn=Pr,i.resetMeasure=function(){i.clear()},i.onValueChange=function(n){var a=q(n,2),o=a[0],s=a[1];i.start=o,i.end=s,i.changeViewData(o,s)},i.container=i.view.getLayer(It.FORE).addGroup(),i.onChangeFn=ec(i.onValueChange,20,{leading:!0}),i.width=0,i.view.on(ot.BEFORE_CHANGE_DATA,i.resetMeasure),i.view.on(ot.BEFORE_CHANGE_SIZE,i.resetMeasure),i}return Object.defineProperty(e.prototype,"name",{get:function(){return"slider"},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){r.prototype.destroy.call(this),this.view.off(ot.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(ot.BEFORE_CHANGE_SIZE,this.resetMeasure)},e.prototype.init=function(){},e.prototype.render=function(){this.option=this.view.getOptions().slider;var t=this.getSliderCfg(),i=t.start,n=t.end;B(this.start)&&(this.start=i,this.end=n);var a=this.view.getOptions().data;this.option&&!fe(a)?this.slider?this.slider=this.updateSlider():(this.slider=this.createSlider(),this.slider.component.on("sliderchange",this.onChangeFn)):this.slider&&(this.slider.component.destroy(),this.slider=void 0)},e.prototype.layout=function(){var t=this;if(this.option&&!this.width&&(this.measureSlider(),setTimeout(function(){t.view.destroyed||t.changeViewData(t.start,t.end)},0)),this.slider){var i=this.view.coordinateBBox.width,n=this.slider.component.get("padding"),a=q(n,4),o=a[0];a[1],a[2];var s=a[3],l=this.slider.component.getLayoutBBox(),u=new ie(l.x,l.y,Math.min(l.width,i),l.height).expand(n),c=this.getMinMaxText(this.start,this.end),h=c.minText,f=c.maxText,v=q(Or(this.view.viewBBox,u,G.BOTTOM),2);v[0];var d=v[1],p=q(Or(this.view.coordinateBBox,u,G.BOTTOM),2),g=p[0];p[1],this.slider.component.update(m(m({},this.getSliderCfg()),{x:g+s,y:d+o,width:this.width,start:this.start,end:this.end,minText:h,maxText:f})),this.view.viewBBox=this.view.viewBBox.cut(u,G.BOTTOM)}},e.prototype.update=function(){this.render()},e.prototype.createSlider=function(){var t=this.getSliderCfg(),i=new ZM(m({container:this.container},t));return i.init(),{component:i,layer:It.FORE,direction:G.BOTTOM,type:Gt.SLIDER}},e.prototype.updateSlider=function(){var t=this.getSliderCfg();if(this.width){var i=this.getMinMaxText(this.start,this.end),n=i.minText,a=i.maxText;t=m(m({},t),{width:this.width,start:this.start,end:this.end,minText:n,maxText:a})}return this.slider.component.update(t),this.slider},e.prototype.measureSlider=function(){var t=this.getSliderCfg().width;this.width=t},e.prototype.getSliderCfg=function(){var t={height:16,start:0,end:1,minText:"",maxText:"",x:0,y:0,width:this.view.coordinateBBox.width};if(pt(this.option)){var i=m({data:this.getData()},A(this.option,"trendCfg",{}));t=H({},t,this.getThemeOptions(),this.option),t=m(m({},t),{trendCfg:i})}return t.start=Ct(Math.min(B(t.start)?0:t.start,B(t.end)?1:t.end),0,1),t.end=Ct(Math.max(B(t.start)?0:t.start,B(t.end)?1:t.end),0,1),t},e.prototype.getData=function(){var t=this.view.getOptions().data,i=q(this.view.getYScales(),1),n=i[0],a=this.view.getGroupScales();if(a.length){var o=a[0],s=o.field,l=o.ticks;return t.reduce(function(u,c){return c[s]===l[0]&&u.push(c[n.field]),u},[])}return t.map(function(u){return u[n.field]||0})},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return A(t,["components","slider","common"],{})},e.prototype.getMinMaxText=function(t,i){var n=this.view.getOptions().data,a=this.view.getXScale(),o=Ve(n,a.field);a.isLinear&&(o=o.sort());var s=o,l=Vt(n);if(!a||!l)return{};var u=Vt(s),c=Math.round(t*(u-1)),h=Math.round(i*(u-1)),f=A(s,[c]),v=A(s,[h]),d=this.getSliderCfg().formatter;return d&&(f=d(f,n[c],c),v=d(v,n[h],h)),{minText:f,maxText:v}},e.prototype.changeViewData=function(t,i){var n=this.view.getOptions().data,a=this.view.getXScale(),o=Vt(n);if(!(!a||!o)){var s=Ve(n,a.field),l=this.view.getXScale().isLinear?s.sort(function(v,d){return Number(v)-Number(d)}):s,u=l,c=Vt(u),h=Math.round(t*(c-1)),f=Math.round(i*(c-1));this.view.filter(a.field,function(v,d){var p=u.indexOf(v);return p>-1?Wi(p,h,f):!0}),this.view.render(!0)}},e.prototype.getComponents=function(){return this.slider?[this.slider]:[]},e.prototype.clear=function(){this.slider&&(this.slider.component.destroy(),this.slider=void 0),this.width=0,this.start=void 0,this.end=void 0},e}(mn),yo=0,nd=8,HE=32,XE=20,WE=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;return i.onChangeFn=Pr,i.resetMeasure=function(){i.clear()},i.onValueChange=function(n){var a=n.ratio,o=i.getValidScrollbarCfg().animate;i.ratio=Ct(a,0,1);var s=i.view.getOptions().animate;o||i.view.animate(!1),i.changeViewData(i.getScrollRange(),!0),i.view.animate(s)},i.container=i.view.getLayer(It.FORE).addGroup(),i.onChangeFn=ec(i.onValueChange,20,{leading:!0}),i.trackLen=0,i.thumbLen=0,i.ratio=0,i.view.on(ot.BEFORE_CHANGE_DATA,i.resetMeasure),i.view.on(ot.BEFORE_CHANGE_SIZE,i.resetMeasure),i}return Object.defineProperty(e.prototype,"name",{get:function(){return"scrollbar"},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){r.prototype.destroy.call(this),this.view.off(ot.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(ot.BEFORE_CHANGE_SIZE,this.resetMeasure)},e.prototype.init=function(){},e.prototype.render=function(){this.option=this.view.getOptions().scrollbar,this.option?this.scrollbar?this.scrollbar=this.updateScrollbar():(this.scrollbar=this.createScrollbar(),this.scrollbar.component.on("scrollchange",this.onChangeFn)):this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0)},e.prototype.layout=function(){var t=this;if(this.option&&!this.trackLen&&(this.measureScrollbar(),setTimeout(function(){t.view.destroyed||t.changeViewData(t.getScrollRange(),!0)})),this.scrollbar){var i=this.view.coordinateBBox.width,n=this.scrollbar.component.get("padding"),a=this.scrollbar.component.getLayoutBBox(),o=new ie(a.x,a.y,Math.min(a.width,i),a.height).expand(n),s=this.getScrollbarComponentCfg(),l=void 0,u=void 0;if(s.isHorizontal){var c=q(Or(this.view.viewBBox,o,G.BOTTOM),2);c[0];var h=c[1],f=q(Or(this.view.coordinateBBox,o,G.BOTTOM),2),v=f[0];f[1],l=v,u=h}else{var d=q(Or(this.view.viewBBox,o,G.RIGHT),2);d[0];var h=d[1],p=q(Or(this.view.viewBBox,o,G.RIGHT),2),v=p[0];p[1],l=v,u=h}l+=n[3],u+=n[0],this.trackLen?this.scrollbar.component.update(m(m({},s),{x:l,y:u,trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio})):this.scrollbar.component.update(m(m({},s),{x:l,y:u})),this.view.viewBBox=this.view.viewBBox.cut(o,s.isHorizontal?G.BOTTOM:G.RIGHT)}},e.prototype.update=function(){this.render()},e.prototype.getComponents=function(){return this.scrollbar?[this.scrollbar]:[]},e.prototype.clear=function(){this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0),this.trackLen=0,this.thumbLen=0,this.ratio=0,this.cnt=0,this.step=0,this.data=void 0,this.xScaleCfg=void 0,this.yScalesCfg=[]},e.prototype.setValue=function(t){this.onValueChange({ratio:t})},e.prototype.getValue=function(){return this.ratio},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return A(t,["components","scrollbar","common"],{})},e.prototype.getScrollbarTheme=function(t){var i=A(this.view.getTheme(),["components","scrollbar"]),n=t||{},a=n.thumbHighlightColor,o=yt(n,["thumbHighlightColor"]);return{default:H({},A(i,["default","style"],{}),o),hover:H({},A(i,["hover","style"],{}),{thumbColor:a})}},e.prototype.measureScrollbar=function(){var t=this.view.getXScale(),i=this.view.getYScales().slice();this.data=this.getScrollbarData(),this.step=this.getStep(),this.cnt=this.getCnt();var n=this.getScrollbarComponentCfg(),a=n.trackLen,o=n.thumbLen;this.trackLen=a,this.thumbLen=o,this.xScaleCfg={field:t.field,values:t.values||[]},this.yScalesCfg=i},e.prototype.getScrollRange=function(){var t=Math.floor((this.cnt-this.step)*Ct(this.ratio,0,1)),i=Math.min(t+this.step-1,this.cnt-1);return[t,i]},e.prototype.changeViewData=function(t,i){var n=this,a=q(t,2),o=a[0],s=a[1],l=this.getValidScrollbarCfg().type,u=l!=="vertical",c=Ve(this.data,this.xScaleCfg.field),h=this.view.getXScale().isLinear?c.sort(function(v,d){return Number(v)-Number(d)}):c,f=u?h:h.reverse();this.yScalesCfg.forEach(function(v){n.view.scale(v.field,{formatter:v.formatter,type:v.type,min:v.min,max:v.max,tickMethod:v.tickMethod})}),this.view.filter(this.xScaleCfg.field,function(v){var d=f.indexOf(v);return d>-1?Wi(d,o,s):!0}),this.view.render(!0)},e.prototype.createScrollbar=function(){var t=this.getValidScrollbarCfg().type,i=t!=="vertical",n=new KM(m(m({container:this.container},this.getScrollbarComponentCfg()),{x:0,y:0}));return n.init(),{component:n,layer:It.FORE,direction:i?G.BOTTOM:G.RIGHT,type:Gt.SCROLLBAR}},e.prototype.updateScrollbar=function(){var t=this.getScrollbarComponentCfg(),i=this.trackLen?m(m({},t),{trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio}):m({},t);return this.scrollbar.component.update(i),this.scrollbar},e.prototype.getStep=function(){if(this.step)return this.step;var t=this.view.coordinateBBox,i=this.getValidScrollbarCfg(),n=i.type,a=i.categorySize,o=n!=="vertical";return Math.floor((o?t.width:t.height)/a)},e.prototype.getCnt=function(){if(this.cnt)return this.cnt;var t=this.view.getXScale(),i=this.getScrollbarData(),n=Ve(i,t.field);return Vt(n)},e.prototype.getScrollbarComponentCfg=function(){var t=this.view,i=t.coordinateBBox,n=t.viewBBox,a=this.getValidScrollbarCfg(),o=a.type,s=a.padding,l=a.width,u=a.height,c=a.style,h=o!=="vertical",f=q(s,4),v=f[0],d=f[1],p=f[2],g=f[3],y=h?{x:i.minX+g,y:n.maxY-u-p}:{x:n.maxX-l-d,y:i.minY+v},x=this.getStep(),b=this.getCnt(),w=h?i.width-g-d:i.height-v-p,S=Math.max(w*Ct(x/b,0,1),XE);return m(m({},this.getThemeOptions()),{x:y.x,y:y.y,size:h?u:l,isHorizontal:h,trackLen:w,thumbLen:S,thumbOffset:0,theme:this.getScrollbarTheme(c)})},e.prototype.getValidScrollbarCfg=function(){var t={type:"horizontal",categorySize:HE,width:nd,height:nd,padding:[0,0,0,0],animate:!0,style:{}};return pt(this.option)&&(t=m(m({},t),this.option)),(!pt(this.option)||!this.option.padding)&&(t.padding=t.type==="horizontal"?[yo,0,yo,0]:[0,yo,0,yo]),t},e.prototype.getScrollbarData=function(){var t=this.view.getCoordinate(),i=this.getValidScrollbarCfg(),n=this.view.getOptions().data||[];return t.isReflect("y")&&i.type==="vertical"&&(n=Z([],q(n),!1).reverse()),n},e}(mn),_E={fill:"#CCD6EC",opacity:.3};function qE(r,e,t){var i,n,a,o,s,l,u=tF(r,e,t);if(u.length){u=we(u);try{for(var c=ht(u),h=c.next();!h.done;h=c.next()){var f=h.value;try{for(var v=(a=void 0,ht(f)),d=v.next();!d.done;d=v.next()){var p=d.value,g=p.mappingData,y=g.x,x=g.y;p.x=R(y)?y[y.length-1]:y,p.y=R(x)?x[x.length-1]:x}}catch(k){a={error:k}}finally{try{d&&!d.done&&(o=v.return)&&o.call(v)}finally{if(a)throw a.error}}}}catch(k){i={error:k}}finally{try{h&&!h.done&&(n=c.return)&&n.call(c)}finally{if(i)throw i.error}}var b=t.shared;if(b===!1&&u.length>1){var w=u[0],S=Math.abs(e.y-w[0].y);try{for(var M=ht(u),F=M.next();!F.done;F=M.next()){var T=F.value,L=Math.abs(e.y-T[0].y);L<=S&&(w=T,S=L)}}catch(k){s={error:k}}finally{try{F&&!F.done&&(l=M.return)&&l.call(M)}finally{if(s)throw s.error}}u=[w]}return bi(we(u))}return[]}var UE=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.show=function(t){var i=this.context.view,n=this.context.event,a=i.getController("tooltip").getTooltipCfg(),o=qE(i,{x:n.x,y:n.y},a);if(!Pt(o,this.items)&&(this.items=o,o.length)){var s=i.getXScale().field,l=o[0].data[s],u=[],c=i.geometries;if(C(c,function(W){if(W.type==="interval"||W.type==="schema"){var $=W.getElementsBy(function(Y){var _=Y.getData();return _[s]===l});u=u.concat($)}}),u.length){var h=i.getCoordinate(),f=u[0].shape.getCanvasBBox(),v=u[0].shape.getCanvasBBox(),d=f;C(u,function(W){var $=W.shape.getCanvasBBox();h.isTransposed?($.minYv.maxY&&(v=$)):($.minXv.maxX&&(v=$)),d.x=Math.min($.minX,d.minX),d.y=Math.min($.minY,d.minY),d.width=Math.max($.maxX,d.maxX)-d.x,d.height=Math.max($.maxY,d.maxY)-d.y});var p=i.backgroundGroup,g=i.coordinateBBox,y=void 0;if(h.isRect){var x=i.getXScale(),b=t||{},w=b.appendRatio,S=b.appendWidth;B(S)&&(w=B(w)?x.isLinear?0:.25:w,S=h.isTransposed?w*v.height:w*f.width);var M=void 0,F=void 0,T=void 0,L=void 0;h.isTransposed?(M=g.minX,F=Math.min(v.minY,f.minY)-S,T=g.width,L=d.height+S*2):(M=Math.min(f.minX,v.minX)-S,F=g.minY,T=d.width+S*2,L=g.height),y=[["M",M,F],["L",M+T,F],["L",M+T,F+L],["L",M,F+L],["Z"]]}else{var k=ye(u),P=zt(u),O=fa(k.getModel(),h).startAngle,z=fa(P.getModel(),h).endAngle,V=h.getCenter(),U=h.getRadius(),D=h.innerRadius*U;y=Nr(V.x,V.y,U,O,z,D)}if(this.regionPath)this.regionPath.attr("path",y),this.regionPath.show();else{var N=A(t,"style",_E);this.regionPath=p.addShape({type:"path",name:"active-region",capture:!1,attrs:m(m({},N),{path:y})})}}}},e.prototype.hide=function(){this.regionPath&&this.regionPath.hide(),this.items=null},e.prototype.destroy=function(){this.hide(),this.regionPath&&this.regionPath.remove(!0),r.prototype.destroy.call(this)},e}(St),gm=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.timeStamp=0,t}return e.prototype.show=function(){var t=this.context,i=t.event,n=t.view,a=n.isTooltipLocked();if(!a){var o=this.timeStamp,s=+new Date,l=A(t.view.getOptions(),"tooltip.showDelay",16);if(s-o>l){var u=this.location,c={x:i.x,y:i.y};(!u||!Pt(u,c))&&this.showTooltip(n,c),this.timeStamp=s,this.location=c}}},e.prototype.hide=function(){var t=this.context.view,i=t.getController("tooltip"),n=this.context.event,a=n.clientX,o=n.clientY;i.isCursorEntered({x:a,y:o})||t.isTooltipLocked()||(this.hideTooltip(t),this.location=null)},e.prototype.showTooltip=function(t,i){t.showTooltip(i)},e.prototype.hideTooltip=function(t){t.hideTooltip()},e}(St),jE=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.showTooltip=function(t,i){var n=Ke(t);C(n,function(a){var o=Mu(t,a,i);a.showTooltip(o)})},e.prototype.hideTooltip=function(t){var i=Ke(t);C(i,function(n){n.hideTooltip()})},e}(gm),ZE=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.timeStamp=0,t}return e.prototype.destroy=function(){r.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.show=function(){var t=this.context,i=t.event,n=this.timeStamp,a=+new Date;if(a-n>16){var o=this.location,s={x:i.x,y:i.y};(!o||!Pt(o,s))&&this.showTooltip(s),this.timeStamp=a,this.location=s}},e.prototype.hide=function(){this.hideTooltip(),this.location=null},e.prototype.showTooltip=function(t){var i=this.context,n=i.event,a=n.target;if(a&&a.get("tip")){if(!this.tooltip)this.renderTooltip();else{var o=i.view,s=o.canvas,l={start:{x:0,y:0},end:{x:s.get("width"),y:s.get("height")}};this.tooltip.set("region",l)}var u=a.get("tip");this.tooltip.update(m({title:u},t)),this.tooltip.show()}},e.prototype.hideTooltip=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,i=this.context.view,n=i.canvas,a={start:{x:0,y:0},end:{x:n.get("width"),y:n.get("height")}},o=i.getTheme(),s=A(o,["components","tooltip","domStyles"],{}),l=new Bs({parent:n.get("el").parentNode,region:a,visible:!1,crosshairs:null,domStyles:m({},H({},s,(t={},t[mr]={"max-width":"50%"},t[xr]={"word-break":"break-all"},t)))});l.init(),l.setCapture(!1),this.tooltip=l},e}(St),Kc=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="",t}return e.prototype.hasState=function(t){return t.hasState(this.stateName)},e.prototype.setElementState=function(t,i){t.setState(this.stateName,i)},e.prototype.setState=function(){this.setStateEnable(!0)},e.prototype.clear=function(){var t=this.context.view;this.clearViewState(t)},e.prototype.clearViewState=function(t){var i=this,n=dy(t,this.stateName);C(n,function(a){i.setElementState(a,!1)})},e}(St);function ad(r){return A(r.get("delegateObject"),"item")}var Jc=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.ignoreListItemStates=["unchecked"],t}return e.prototype.isItemIgnore=function(t,i){var n=this.ignoreListItemStates,a=n.filter(function(o){return i.hasState(t,o)});return!!a.length},e.prototype.setStateByComponent=function(t,i,n){var a=this.context.view,o=t.get("field"),s=_t(a);this.setElementsStateByItem(s,o,i,n)},e.prototype.setStateByElement=function(t,i){this.setElementState(t,i)},e.prototype.isMathItem=function(t,i,n){var a=this.context.view,o=an(a,i),s=Ye(t,i);return!B(s)&&n.name===o.getText(s)},e.prototype.setElementsStateByItem=function(t,i,n,a){var o=this;C(t,function(s){o.isMathItem(s,i,n)&&s.setState(o.stateName,a)})},e.prototype.setStateEnable=function(t){var i=Hr(this.context);if(i)cy(this.context)&&this.setStateByElement(i,t);else{var n=Mi(this.context);if(da(n)){var a=n.item,o=n.component;if(a&&o&&!this.isItemIgnore(a,o)){var s=this.context.event.gEvent;if(s&&s.fromShape&&s.toShape&&ad(s.fromShape)===ad(s.toShape))return;this.setStateByComponent(o,a,t)}}}},e.prototype.toggle=function(){var t=Hr(this.context);if(t){var i=t.hasState(this.stateName);this.setElementState(t,!i)}},e.prototype.reset=function(){this.setStateEnable(!1)},e}(Kc),QE=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="active",t}return e.prototype.active=function(){this.setState()},e}(Jc),KE=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.cache={},t}return e.prototype.getColorScale=function(t,i){var n=i.geometry.getAttribute("color");if(!n)return null;var a=t.getScaleByField(n.getFields()[0]);return a},e.prototype.getLinkPath=function(t,i){var n=this.context.view,a=n.getCoordinate().isTransposed,o=t.shape.getCanvasBBox(),s=i.shape.getCanvasBBox(),l=a?[["M",o.minX,o.minY],["L",s.minX,s.maxY],["L",s.maxX,s.maxY],["L",o.maxX,o.minY],["Z"]]:[["M",o.maxX,o.minY],["L",s.minX,s.minY],["L",s.minX,s.maxY],["L",o.maxX,o.maxY],["Z"]];return l},e.prototype.addLinkShape=function(t,i,n,a){var o={opacity:.4,fill:i.shape.attr("fill")};t.addShape({type:"path",attrs:m(m({},H({},o,X(a)?a(o,i):a)),{path:this.getLinkPath(i,n)})})},e.prototype.linkByElement=function(t,i){var n=this,a=this.context.view,o=this.getColorScale(a,t);if(o){var s=Ye(t,o.field);if(!this.cache[s]){var l=PA(a,o.field,s),u=this.linkGroup,c=u.addGroup();this.cache[s]=c;var h=l.length;C(l,function(f,v){if(v=0},i)},e}(th),ik=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="active",t}return e.prototype.highlight=function(){this.setState()},e.prototype.setElementState=function(t,i){var n=this.context.view,a=_t(n);ym(a,function(o){return t===o},i)},e.prototype.clear=function(){var t=this.context.view;rh(t)},e}(eh),nk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="selected",t}return e.prototype.selected=function(){this.setState()},e}(th),ak=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="selected",t}return e.prototype.selected=function(){this.setState()},e}(Jc),ok=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="selected",t}return e.prototype.selected=function(){this.setState()},e}(eh),Ii=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="",t.ignoreItemStates=[],t}return e.prototype.getTriggerListInfo=function(){var t=Mi(this.context),i=null;return da(t)&&(i={item:t.item,list:t.component}),i},e.prototype.getAllowComponents=function(){var t=this,i=this.context.view,n=gy(i),a=[];return C(n,function(o){o.isList()&&t.allowSetStateByElement(o)&&a.push(o)}),a},e.prototype.hasState=function(t,i){return t.hasState(i,this.stateName)},e.prototype.clearAllComponentsState=function(){var t=this,i=this.getAllowComponents();C(i,function(n){n.clearItemsState(t.stateName)})},e.prototype.allowSetStateByElement=function(t){var i=t.get("field");if(!i)return!1;if(this.cfg&&this.cfg.componentNames){var n=t.get("name");if(this.cfg.componentNames.indexOf(n)===-1)return!1}var a=this.context.view,o=an(a,i);return o&&o.isCategory},e.prototype.allowSetStateByItem=function(t,i){var n=this.ignoreItemStates;if(n.length){var a=n.filter(function(o){return i.hasState(t,o)});return a.length===0}return!0},e.prototype.setStateByElement=function(t,i,n){var a=t.get("field"),o=this.context.view,s=an(o,a),l=Ye(i,a),u=s.getText(l);this.setItemsState(t,u,n)},e.prototype.setStateEnable=function(t){var i=this,n=Hr(this.context);if(n){var a=this.getAllowComponents();C(a,function(u){i.setStateByElement(u,n,t)})}else{var o=Mi(this.context);if(da(o)){var s=o.item,l=o.component;this.allowSetStateByElement(l)&&this.allowSetStateByItem(s,l)&&this.setItemState(l,s,t)}}},e.prototype.setItemsState=function(t,i,n){var a=this,o=t.getItems();C(o,function(s){s.name===i&&a.setItemState(t,s,n)})},e.prototype.setItemState=function(t,i,n){t.setItemState(i,this.stateName,n)},e.prototype.setState=function(){this.setStateEnable(!0)},e.prototype.reset=function(){this.setStateEnable(!1)},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var i=t.list,n=t.item,a=this.hasState(i,n);this.setItemState(i,n,!a)}},e.prototype.clear=function(){var t=this.getTriggerListInfo();t?t.list.clearItemsState(this.stateName):this.clearAllComponentsState()},e}(St),sk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="active",t}return e.prototype.active=function(){this.setState()},e}(Ii),od="inactive",sd="active";function lk(r){var e=r.getItems();C(e,function(t){r.hasState(t,sd)&&r.setItemState(t,sd,!1),r.hasState(t,od)&&r.setItemState(t,od,!1)})}var In="inactive",ri="active",nh=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName=ri,t.ignoreItemStates=["unchecked"],t}return e.prototype.setItemsState=function(t,i,n){this.setHighlightBy(t,function(a){return a.name===i},n)},e.prototype.setItemState=function(t,i,n){t.getItems(),this.setHighlightBy(t,function(a){return a===i},n)},e.prototype.setHighlightBy=function(t,i,n){var a=t.getItems();if(n)C(a,function(l){i(l)?(t.hasState(l,In)&&t.setItemState(l,In,!1),t.setItemState(l,ri,!0)):t.hasState(l,ri)||t.setItemState(l,In,!0)});else{var o=t.getItemsByState(ri),s=!0;C(o,function(l){if(!i(l))return s=!1,!1}),s?this.clear():C(a,function(l){i(l)&&(t.hasState(l,ri)&&t.setItemState(l,ri,!1),t.setItemState(l,In,!0))})}},e.prototype.highlight=function(){this.setState()},e.prototype.clear=function(){var t=this.getTriggerListInfo();if(t)lk(t.list);else{var i=this.getAllowComponents();C(i,function(n){n.clearItemsState(ri),n.clearItemsState(In)})}},e}(Ii),uk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="selected",t}return e.prototype.selected=function(){this.setState()},e}(Ii),ck=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="unchecked",t}return e.prototype.unchecked=function(){this.setState()},e}(Ii),zi="unchecked",mo="checked",hk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName=mo,t}return e.prototype.setItemState=function(t,i,n){this.setCheckedBy(t,function(a){return a===i},n)},e.prototype.setCheckedBy=function(t,i,n){var a=t.getItems();n&&C(a,function(o){i(o)?(t.hasState(o,zi)&&t.setItemState(o,zi,!1),t.setItemState(o,mo,!0)):t.hasState(o,mo)||t.setItemState(o,zi,!0)})},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var i=t.list,n=t.item,a=!ls(i.getItems(),function(o){return i.hasState(o,zi)});a||i.hasState(n,zi)?this.setItemState(i,n,!0):this.reset()}},e.prototype.checked=function(){this.setState()},e.prototype.reset=function(){var t=this.getAllowComponents();C(t,function(i){i.clearItemsState(mo),i.clearItemsState(zi)})},e}(Ii),Ni="unchecked",fk=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.toggle=function(){var t,i,n,a,o,s,l,u,c=this.getTriggerListInfo();if(c!=null&&c.item){var h=c.list,f=c.item,v=h.getItems(),d=v.filter(function(k){return!h.hasState(k,Ni)}),p=v.filter(function(k){return h.hasState(k,Ni)}),g=d[0];if(v.length===d.length)try{for(var y=ht(v),x=y.next();!x.done;x=y.next()){var b=x.value;h.setItemState(b,Ni,b.id!==f.id)}}catch(k){t={error:k}}finally{try{x&&!x.done&&(i=y.return)&&i.call(y)}finally{if(t)throw t.error}}else if(v.length-p.length===1)if(g.id===f.id)try{for(var w=ht(v),S=w.next();!S.done;S=w.next()){var b=S.value;h.setItemState(b,Ni,!1)}}catch(k){n={error:k}}finally{try{S&&!S.done&&(a=w.return)&&a.call(w)}finally{if(n)throw n.error}}else try{for(var M=ht(v),F=M.next();!F.done;F=M.next()){var b=F.value;h.setItemState(b,Ni,b.id!==f.id)}}catch(k){o={error:k}}finally{try{F&&!F.done&&(s=M.return)&&s.call(M)}finally{if(o)throw o.error}}else try{for(var T=ht(v),L=T.next();!L.done;L=T.next()){var b=L.value;h.setItemState(b,Ni,b.id!==f.id)}}catch(k){l={error:k}}finally{try{L&&!L.done&&(u=T.return)&&u.call(T)}finally{if(l)throw l.error}}}},e}(Ii),ld="showRadio",Rl="legend-radio-tip",vk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.timeStamp=0,t}return e.prototype.show=function(){var t=this.getTriggerListInfo();if(t!=null&&t.item){var i=t.list,n=t.item;i.setItemState(n,ld,!0)}},e.prototype.hide=function(){var t=this.getTriggerListInfo();if(t!=null&&t.item){var i=t.list,n=t.item;i.setItemState(n,ld,!1)}},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.showTip=function(){var t=this.context,i=t.event,n=this.timeStamp,a=+new Date,o=this.context.event.target;if(a-n>16&&o.get("name")==="legend-item-radio"){var s=this.location,l={x:i.x,y:i.y};this.timeStamp=a,this.location=l,(!s||!Pt(s,l))&&this.showTooltip(l)}},e.prototype.hideTip=function(){this.hideTooltip(),this.location=null},e.prototype.showTooltip=function(t){var i=this.context,n=i.event,a=n.target;if(a&&a.get("tip")){this.tooltip||this.renderTooltip();var o=i.view.getCanvas().get("el").getBoundingClientRect(),s=o.x,l=o.y;this.tooltip.update(m(m({title:a.get("tip")},t),{x:t.x+s,y:t.y+l})),this.tooltip.show()}},e.prototype.hideTooltip=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,i=(t={},t[mr]={padding:"6px 8px",transform:"translate(-50%, -80%)",background:"rgba(0,0,0,0.75)",color:"#fff","border-radius":"2px","z-index":100},t[xr]={"font-size":"12px","line-height":"14px","margin-bottom":0,"word-break":"break-all"},t);document.getElementById(Rl)&&document.body.removeChild(document.getElementById(Rl));var n=new Bs({parent:document.body,region:null,visible:!1,crosshairs:null,domStyles:i,containerId:Rl});n.init(),n.setCapture(!1),this.tooltip=n},e}(Ii),ah=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.maskShape=null,t.points=[],t.starting=!1,t.moving=!1,t.preMovePoint=null,t.shapeType="path",t}return e.prototype.getCurrentPoint=function(){var t=this.context.event;return{x:t.x,y:t.y}},e.prototype.emitEvent=function(t){var i="mask:".concat(t),n=this.context.view,a=this.context.event;n.emit(i,{target:this.maskShape,shape:this.maskShape,points:this.points,x:a.x,y:a.y})},e.prototype.createMask=function(){var t=this.context.view,i=this.getMaskAttrs(),n=t.foregroundGroup.addShape({type:this.shapeType,name:"mask",draggable:!0,attrs:m({fill:"#C5D4EB",opacity:.3},i)});return n},e.prototype.getMaskPath=function(){return[]},e.prototype.show=function(){this.maskShape&&(this.maskShape.show(),this.emitEvent("show"))},e.prototype.start=function(t){this.starting=!0,this.moving=!1,this.points=[this.getCurrentPoint()],this.maskShape||(this.maskShape=this.createMask(),this.maskShape.set("capture",!1)),this.updateMask(t==null?void 0:t.maskStyle),this.emitEvent("start")},e.prototype.moveStart=function(){this.moving=!0,this.preMovePoint=this.getCurrentPoint()},e.prototype.move=function(){if(!(!this.moving||!this.maskShape)){var t=this.getCurrentPoint(),i=this.preMovePoint,n=t.x-i.x,a=t.y-i.y,o=this.points;C(o,function(s){s.x+=n,s.y+=a}),this.updateMask(),this.emitEvent("change"),this.preMovePoint=t}},e.prototype.updateMask=function(t){var i=H({},this.getMaskAttrs(),t);this.maskShape.attr(i)},e.prototype.moveEnd=function(){this.moving=!1,this.preMovePoint=null},e.prototype.end=function(){this.starting=!1,this.emitEvent("end"),this.maskShape&&this.maskShape.set("capture",!0)},e.prototype.hide=function(){this.maskShape&&(this.maskShape.hide(),this.emitEvent("hide"))},e.prototype.resize=function(){this.starting&&this.maskShape&&(this.points.push(this.getCurrentPoint()),this.updateMask(),this.emitEvent("change"))},e.prototype.destroy=function(){this.points=[],this.maskShape&&this.maskShape.remove(),this.maskShape=null,this.preMovePoint=null,r.prototype.destroy.call(this)},e}(St);function xm(r){var e=zt(r),t=0,i=0,n=0;if(r.length){var a=r[0];t=Lc(a,e)/2,i=(e.x+a.x)/2,n=(e.y+a.y)/2}return{x:i,y:n,r:t}}var dk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.shapeType="circle",t}return e.prototype.getMaskAttrs=function(){return xm(this.points)},e}(ah);function wm(r){return{start:ye(r),end:zt(r)}}function bm(r,e){var t=Math.min(r.x,e.x),i=Math.min(r.y,e.y),n=Math.abs(e.x-r.x),a=Math.abs(e.y-r.y);return{x:t,y:i,width:n,height:a}}var Sm=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.shapeType="rect",t}return e.prototype.getRegion=function(){return wm(this.points)},e.prototype.getMaskAttrs=function(){var t=this.getRegion(),i=t.start,n=t.end;return bm(i,n)},e}(ah);function ud(r){r.x=Ct(r.x,0,1),r.y=Ct(r.y,0,1)}function Cm(r,e,t,i){var n=null,a=null,o=i.invert(ye(r)),s=i.invert(zt(r));return t&&(ud(o),ud(s)),e==="x"?(n=i.convert({x:o.x,y:0}),a=i.convert({x:s.x,y:1})):(n=i.convert({x:0,y:o.y}),a=i.convert({x:1,y:s.y})),{start:n,end:a}}var Mm=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.dim="x",t.inPlot=!0,t}return e.prototype.getRegion=function(){var t=this.context.view.getCoordinate();return Cm(this.points,this.dim,this.inPlot,t)},e}(Sm);function oh(r){var e=[];return r.length&&(C(r,function(t,i){i===0?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])}),e.push(["L",r[0].x,r[0].y])),e}function Am(r){return{path:oh(r)}}var Fm=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getMaskPath=function(){return oh(this.points)},e.prototype.getMaskAttrs=function(){return Am(this.points)},e.prototype.addPoint=function(){this.resize()},e}(ah);function sh(r){return OA(r,!0)}function Tm(r){return{path:sh(r)}}var pk=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getMaskPath=function(){return sh(this.points)},e.prototype.getMaskAttrs=function(){return Tm(this.points)},e}(Fm),lh=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.maskShapes=[],t.starting=!1,t.moving=!1,t.recordPoints=null,t.preMovePoint=null,t.shapeType="path",t.maskType="multi-mask",t}return e.prototype.getCurrentPoint=function(){var t=this.context.event;return{x:t.x,y:t.y}},e.prototype.emitEvent=function(t){var i="".concat(this.maskType,":").concat(t),n=this.context.view,a=this.context.event,o={type:this.shapeType,name:this.maskType,get:function(s){return o.hasOwnProperty(s)?o[s]:void 0}};n.emit(i,{target:o,maskShapes:this.maskShapes,multiPoints:this.recordPoints,x:a.x,y:a.y})},e.prototype.createMask=function(t){var i=this.context.view,n=this.recordPoints[t],a=this.getMaskAttrs(n),o=i.foregroundGroup.addShape({type:this.shapeType,name:"mask",draggable:!0,attrs:m({fill:"#C5D4EB",opacity:.3},a)});this.maskShapes.push(o)},e.prototype.getMaskPath=function(t){return[]},e.prototype.show=function(){this.maskShapes.length>0&&(this.maskShapes.forEach(function(t){return t.show()}),this.emitEvent("show"))},e.prototype.start=function(t){this.recordPointStart(),this.starting=!0,this.moving=!1;var i=this.recordPoints.length-1;this.createMask(i),this.updateShapesCapture(!1),this.updateMask(t==null?void 0:t.maskStyle),this.emitEvent("start")},e.prototype.moveStart=function(){this.moving=!0,this.preMovePoint=this.getCurrentPoint(),this.updateShapesCapture(!1)},e.prototype.move=function(){if(!(!this.moving||this.maskShapes.length===0)){var t=this.getCurrentPoint(),i=this.preMovePoint,n=t.x-i.x,a=t.y-i.y,o=this.getCurMaskShapeIndex();o>-1&&(this.recordPoints[o].forEach(function(s){s.x+=n,s.y+=a}),this.updateMask(),this.emitEvent("change"),this.preMovePoint=t)}},e.prototype.updateMask=function(t){var i=this;this.recordPoints.forEach(function(n,a){var o=H({},i.getMaskAttrs(n),t);i.maskShapes[a].attr(o)})},e.prototype.resize=function(){this.starting&&this.maskShapes.length>0&&(this.recordPointContinue(),this.updateMask(),this.emitEvent("change"))},e.prototype.moveEnd=function(){this.moving=!1,this.preMovePoint=null,this.updateShapesCapture(!0)},e.prototype.end=function(){this.starting=!1,this.emitEvent("end"),this.updateShapesCapture(!0)},e.prototype.hide=function(){this.maskShapes.length>0&&(this.maskShapes.forEach(function(t){return t.hide()}),this.emitEvent("hide"))},e.prototype.remove=function(){var t=this.getCurMaskShapeIndex();t>-1&&(this.recordPoints.splice(t,1),this.maskShapes[t].remove(),this.maskShapes.splice(t,1),this.preMovePoint=null,this.updateShapesCapture(!0),this.emitEvent("change"))},e.prototype.clearAll=function(){this.recordPointClear(),this.maskShapes.forEach(function(t){return t.remove()}),this.maskShapes=[],this.preMovePoint=null},e.prototype.clear=function(){var t=this.getCurMaskShapeIndex();t===-1?(this.recordPointClear(),this.maskShapes.forEach(function(i){return i.remove()}),this.maskShapes=[],this.emitEvent("clearAll")):(this.recordPoints.splice(t,1),this.maskShapes[t].remove(),this.maskShapes.splice(t,1),this.preMovePoint=null,this.emitEvent("clearSingle")),this.preMovePoint=null},e.prototype.destroy=function(){this.clear(),r.prototype.destroy.call(this)},e.prototype.getRecordPoints=function(){var t;return Z([],q((t=this.recordPoints)!==null&&t!==void 0?t:[]),!1)},e.prototype.recordPointStart=function(){var t=this.getRecordPoints(),i=this.getCurrentPoint();this.recordPoints=Z(Z([],q(t),!1),[[i]],!1)},e.prototype.recordPointContinue=function(){var t=this.getRecordPoints(),i=this.getCurrentPoint(),n=t.splice(-1,1)[0]||[];n.push(i),this.recordPoints=Z(Z([],q(t),!1),[n],!1)},e.prototype.recordPointClear=function(){this.recordPoints=[]},e.prototype.updateShapesCapture=function(t){this.maskShapes.forEach(function(i){return i.set("capture",t)})},e.prototype.getCurMaskShapeIndex=function(){var t=this.getCurrentPoint();return this.maskShapes.findIndex(function(i){var n=i.attrs,a=n.width,o=n.height,s=n.r,l=a===0||o===0||s===0;return!l&&i.isHit(t.x,t.y)})},e}(St),Em=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.shapeType="rect",t}return e.prototype.getRegion=function(t){return wm(t)},e.prototype.getMaskAttrs=function(t){var i=this.getRegion(t),n=i.start,a=i.end;return bm(n,a)},e}(lh),km=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.dim="x",t.inPlot=!0,t}return e.prototype.getRegion=function(t){var i=this.context.view.getCoordinate();return Cm(t,this.dim,this.inPlot,i)},e}(Em),gk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.shapeType="circle",t.getMaskAttrs=xm,t}return e}(lh),Lm=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.getMaskPath=oh,t.getMaskAttrs=Am,t}return e.prototype.addPoint=function(){this.resize()},e}(lh),yk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.getMaskPath=sh,t.getMaskAttrs=Tm,t}return e}(Lm),mk=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.setCursor=function(t){var i=this.context.view;i.getCanvas().setCursor(t)},e.prototype.default=function(){this.setCursor("default")},e.prototype.pointer=function(){this.setCursor("pointer")},e.prototype.move=function(){this.setCursor("move")},e.prototype.crosshair=function(){this.setCursor("crosshair")},e.prototype.wait=function(){this.setCursor("wait")},e.prototype.help=function(){this.setCursor("help")},e.prototype.text=function(){this.setCursor("text")},e.prototype.eResize=function(){this.setCursor("e-resize")},e.prototype.wResize=function(){this.setCursor("w-resize")},e.prototype.nResize=function(){this.setCursor("n-resize")},e.prototype.sResize=function(){this.setCursor("s-resize")},e.prototype.neResize=function(){this.setCursor("ne-resize")},e.prototype.nwResize=function(){this.setCursor("nw-resize")},e.prototype.seResize=function(){this.setCursor("se-resize")},e.prototype.swResize=function(){this.setCursor("sw-resize")},e.prototype.nsResize=function(){this.setCursor("ns-resize")},e.prototype.ewResize=function(){this.setCursor("ew-resize")},e.prototype.zoomIn=function(){this.setCursor("zoom-in")},e.prototype.zoomOut=function(){this.setCursor("zoom-out")},e}(St),xk=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.filterView=function(t,i,n){var a=this;t.getScaleByField(i)&&t.filter(i,n),t.views&&t.views.length&&C(t.views,function(o){a.filterView(o,i,n)})},e.prototype.filter=function(){var t=Mi(this.context);if(t){var i=this.context.view,n=t.component,a=n.get("field");if(da(t)){if(a){var o=n.getItemsByState("unchecked"),s=an(i,a),l=o.map(function(v){return v.name});l.length?this.filterView(i,a,function(v){var d=s.getText(v);return!l.includes(d)}):this.filterView(i,a,null),i.render(!0)}}else if(hy(t)){var u=n.getValue(),c=q(u,2),h=c[0],f=c[1];this.filterView(i,a,function(v){return v>=h&&v<=f}),i.render(!0)}}},e}(St);function cd(r,e,t,i){var n=Math.min(t[e],i[e]),a=Math.max(t[e],i[e]),o=q(r.range,2),s=o[0],l=o[1];if(nl&&(a=l),n===l&&a===l)return null;var u=r.invert(n),c=r.invert(a);if(r.isCategory){var h=r.values.indexOf(u),f=r.values.indexOf(c),v=r.values.slice(h,f+1);return function(d){return v.includes(d)}}else return function(d){return d>=u&&d<=c}}var oe;(function(r){r.FILTER="brush-filter-processing",r.RESET="brush-filter-reset",r.BEFORE_FILTER="brush-filter:beforefilter",r.AFTER_FILTER="brush-filter:afterfilter",r.BEFORE_RESET="brush-filter:beforereset",r.AFTER_RESET="brush-filter:afterreset"})(oe||(oe={}));var Xs=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.dims=["x","y"],t.startPoint=null,t.isStarted=!1,t}return e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.start=function(){var t=this.context;this.isStarted=!0,this.startPoint=t.getCurrentPoint()},e.prototype.filter=function(){var t,i;if(pa(this.context)){var n=this.context.event.target,a=n.getCanvasBBox();t={x:a.x,y:a.y},i={x:a.maxX,y:a.maxY}}else{if(!this.isStarted)return;t=this.startPoint,i=this.context.getCurrentPoint()}if(!(Math.abs(t.x-i.x)<5||Math.abs(t.x-i.y)<5)){var o=this.context,s=o.view,l=o.event,u={view:s,event:l,dims:this.dims};s.emit(oe.BEFORE_FILTER,Tt.fromData(s,oe.BEFORE_FILTER,u));var c=s.getCoordinate(),h=c.invert(i),f=c.invert(t);if(this.hasDim("x")){var v=s.getXScale(),d=cd(v,"x",h,f);this.filterView(s,v.field,d)}if(this.hasDim("y")){var p=s.getYScales()[0],d=cd(p,"y",h,f);this.filterView(s,p.field,d)}this.reRender(s,{source:oe.FILTER}),s.emit(oe.AFTER_FILTER,Tt.fromData(s,oe.AFTER_FILTER,u))}},e.prototype.end=function(){this.isStarted=!1},e.prototype.reset=function(){var t=this.context.view;if(t.emit(oe.BEFORE_RESET,Tt.fromData(t,oe.BEFORE_RESET,{})),this.isStarted=!1,this.hasDim("x")){var i=t.getXScale();this.filterView(t,i.field,null)}if(this.hasDim("y")){var n=t.getYScales()[0];this.filterView(t,n.field,null)}this.reRender(t,{source:oe.RESET}),t.emit(oe.AFTER_RESET,Tt.fromData(t,oe.AFTER_RESET,{}))},e.prototype.filterView=function(t,i,n){t.filter(i,n)},e.prototype.reRender=function(t,i){t.render(!0,i)},e}(St),uh=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.filterView=function(t,i,n){var a=Ke(t);C(a,function(o){o.filter(i,n)})},e.prototype.reRender=function(t){var i=Ke(t);C(i,function(n){n.render(!0)})},e}(Xs),wk=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.filter=function(){var t=Mi(this.context),i=this.context.view,n=_t(i);if(pa(this.context)){var a=kc(this.context,10);a&&C(n,function(p){a.includes(p)?p.show():p.hide()})}else if(t){var o=t.component,s=o.get("field");if(da(t)){if(s){var l=o.getItemsByState("unchecked"),u=an(i,s),c=l.map(function(p){return p.name});C(n,function(p){var g=Ye(p,s),y=u.getText(g);c.indexOf(y)>=0?p.hide():p.show()})}}else if(hy(t)){var h=o.getValue(),f=q(h,2),v=f[0],d=f[1];C(n,function(p){var g=Ye(p,s);g>=v&&g<=d?p.show():p.hide()})}}},e.prototype.clear=function(){var t=_t(this.context.view);C(t,function(i){i.show()})},e.prototype.reset=function(){this.clear()},e}(St),Im=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.byRecord=!1,t}return e.prototype.filter=function(){pa(this.context)&&(this.byRecord?this.filterByRecord():this.filterByBBox())},e.prototype.filterByRecord=function(){var t=this.context.view,i=kc(this.context,10);if(i){var n=t.getXScale().field,a=t.getYScales()[0].field,o=i.map(function(l){return l.getModel().data}),s=Ke(t);C(s,function(l){var u=_t(l);C(u,function(c){var h=c.getModel().data;yy(o,h,n,a)?c.show():c.hide()})})}},e.prototype.filterByBBox=function(){var t=this,i=this.context.view,n=Ke(i);C(n,function(a){var o=fy(t.context,a,10),s=_t(a);o&&C(s,function(l){o.includes(l)?l.show():l.hide()})})},e.prototype.reset=function(){var t=Ke(this.context.view);C(t,function(i){var n=_t(i);C(n,function(a){a.show()})})},e}(St),bk=10,Sk=5,Ck=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.buttonGroup=null,t.buttonCfg={name:"button",text:"button",textStyle:{x:0,y:0,fontSize:12,fill:"#333333",cursor:"pointer"},padding:[8,10],style:{fill:"#f7f7f7",stroke:"#cccccc",cursor:"pointer"},activeStyle:{fill:"#e6e6e6"}},t}return e.prototype.getButtonCfg=function(){return H(this.buttonCfg,this.cfg)},e.prototype.drawButton=function(){var t=this.getButtonCfg(),i=this.context.view.foregroundGroup.addGroup({name:t.name}),n=i.addShape({type:"text",name:"button-text",attrs:m({text:t.text},t.textStyle)}),a=n.getBBox(),o=Pc(t.padding),s=i.addShape({type:"rect",name:"button-rect",attrs:m({x:a.x-o[3],y:a.y-o[0],width:a.width+o[1]+o[3],height:a.height+o[0]+o[2]},t.style)});s.toBack(),i.on("mouseenter",function(){s.attr(t.activeStyle)}),i.on("mouseleave",function(){s.attr(t.style)}),this.buttonGroup=i},e.prototype.resetPosition=function(){var t=this.context.view,i=t.getCoordinate(),n=i.convert({x:1,y:1}),a=this.buttonGroup,o=a.getBBox(),s=Rt(null,[["t",n.x-o.width-bk,n.y+o.height+Sk]]);a.setMatrix(s)},e.prototype.show=function(){this.buttonGroup||this.drawButton(),this.resetPosition(),this.buttonGroup.show()},e.prototype.hide=function(){this.buttonGroup&&this.buttonGroup.hide()},e.prototype.destroy=function(){var t=this.buttonGroup;t&&t.remove(),r.prototype.destroy.call(this)},e}(St),Mk=4,Ak=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.starting=!1,t.dragStart=!1,t}return e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint()},e.prototype.drag=function(){if(this.startPoint){var t=this.context.getCurrentPoint(),i=this.context.view,n=this.context.event;this.dragStart?i.emit("drag",{target:n.target,x:n.x,y:n.y}):Lc(t,this.startPoint)>Mk&&(i.emit("dragstart",{target:n.target,x:n.x,y:n.y}),this.dragStart=!0)}},e.prototype.end=function(){if(this.dragStart){var t=this.context.view,i=this.context.event;t.emit("dragend",{target:i.target,x:i.x,y:i.y})}this.starting=!1,this.dragStart=!1},e}(St),Fk=5,Tk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.starting=!1,t.isMoving=!1,t.startPoint=null,t.startMatrix=null,t}return e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint(),this.startMatrix=this.context.view.middleGroup.getMatrix()},e.prototype.move=function(){if(this.starting){var t=this.startPoint,i=this.context.getCurrentPoint(),n=Lc(t,i);if(n>Fk&&!this.isMoving&&(this.isMoving=!0),this.isMoving){var a=this.context.view,o=Rt(this.startMatrix,[["t",i.x-t.x,i.y-t.y]]);a.backgroundGroup.setMatrix(o),a.foregroundGroup.setMatrix(o),a.middleGroup.setMatrix(o)}}},e.prototype.end=function(){this.isMoving&&(this.isMoving=!1),this.startMatrix=null,this.starting=!1,this.startPoint=null},e.prototype.reset=function(){this.starting=!1,this.startPoint=null,this.isMoving=!1;var t=this.context.view;t.backgroundGroup.resetMatrix(),t.foregroundGroup.resetMatrix(),t.middleGroup.resetMatrix(),this.isMoving=!1},e}(St),hd="x",fd="y",Pm=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.dims=[hd,fd],t.cfgFields=["dims"],t.cacheScaleDefs={},t}return e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.getScale=function(t){var i=this.context.view;return t==="x"?i.getXScale():i.getYScales()[0]},e.prototype.resetDim=function(t){var i=this.context.view;if(this.hasDim(t)&&this.cacheScaleDefs[t]){var n=this.getScale(t);i.scale(n.field,this.cacheScaleDefs[t]),this.cacheScaleDefs[t]=null}},e.prototype.reset=function(){this.resetDim(hd),this.resetDim(fd);var t=this.context.view;t.render(!0)},e}(St),Ek=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.startPoint=null,t.starting=!1,t.startCache={},t}return e.prototype.start=function(){var t=this;this.startPoint=this.context.getCurrentPoint(),this.starting=!0;var i=this.dims;C(i,function(n){var a=t.getScale(n),o=a.min,s=a.max,l=a.values;t.startCache[n]={min:o,max:s,values:l}})},e.prototype.end=function(){this.startPoint=null,this.starting=!1,this.startCache={}},e.prototype.translate=function(){var t=this;if(this.starting){var i=this.startPoint,n=this.context.view.getCoordinate(),a=this.context.getCurrentPoint(),o=n.invert(i),s=n.invert(a),l=s.x-o.x,u=s.y-o.y,c=this.context.view,h=this.dims;C(h,function(f){t.translateDim(f,{x:l*-1,y:u*-1})}),c.render(!0)}},e.prototype.translateDim=function(t,i){if(this.hasDim(t)){var n=this.getScale(t);n.isLinear&&this.translateLinear(t,n,i)}},e.prototype.translateLinear=function(t,i,n){var a=this.context.view,o=this.startCache[t],s=o.min,l=o.max,u=l-s,c=n[t]*u;this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:i.nice,min:s,max:l}),a.scale(i.field,{nice:!1,min:s+c,max:l+c})},e.prototype.reset=function(){r.prototype.reset.call(this),this.startPoint=null,this.starting=!1},e}(Pm),kk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.zoomRatio=.05,t}return e.prototype.zoomIn=function(){this.zoom(this.zoomRatio)},e.prototype.zoom=function(t){var i=this,n=this.dims;C(n,function(a){i.zoomDim(a,t)}),this.context.view.render(!0)},e.prototype.zoomOut=function(){this.zoom(-1*this.zoomRatio)},e.prototype.zoomDim=function(t,i){if(this.hasDim(t)){var n=this.getScale(t);n.isLinear&&this.zoomLinear(t,n,i)}},e.prototype.zoomLinear=function(t,i,n){var a=this.context.view;this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:i.nice,min:i.min,max:i.max});var o=this.cacheScaleDefs[t],s=o.max-o.min,l=i.min,u=i.max,c=n*s,h=l-c,f=u+c,v=f-h,d=v/s;f>h&&d<100&&d>.01&&a.scale(i.field,{nice:!1,min:l-c,max:u+c})},e}(Pm);function Lk(r){var e=r.gEvent.originalEvent;return e.deltaY>0}var Ik=1,Pk=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.scroll=function(t){var i=this.context,n=i.view,a=i.event;if(n.getOptions().scrollbar){var o=(t==null?void 0:t.wheelDelta)||Ik,s=n.getController("scrollbar"),l=n.getXScale(),u=n.getOptions().data,c=Vt(Ve(u,l.field)),h=Vt(l.values),f=s.getValue(),v=Math.floor((c-h)*f),d=v+(Lk(a)?o:-o),p=o/(c-h)/1e4,g=Ct(d/(c-h)+p,0,1);s.setValue(g)}},e}(St),Dk="aixs-description-tooltip",Ok=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.show=function(){var t=this.context,i=Mi(t).axis,n=i.cfg.title,a=n.description,o=n.text,s=n.descriptionTooltipStyle,l=t.event,u=l.x,c=l.y;this.tooltip||this.renderTooltip(),this.tooltip.update({title:o||"",customContent:function(){return` +
    +
    + 字段说明:`).concat(a,` +
    +
    + `)},x:u,y:c}),this.tooltip.show()},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.hide=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,i=this.context.view,n=i.canvas,a={start:{x:0,y:0},end:{x:n.get("width"),y:n.get("height")}},o=new Bs({parent:n.get("el").parentNode,region:a,visible:!1,containerId:Dk,domStyles:m({},H({},(t={},t[mr]={"max-width":"50%",padding:"10px","line-height":"15px","font-size":"12px",color:"rgba(0, 0, 0, .65)"},t[xr]={"word-break":"break-all","margin-bottom":"3px"},t)))});o.init(),o.setCapture(!1),this.tooltip=o},e}(St);qA("dark",xy(OF));mp("canvas",yT);mp("svg",ZT);nr("Polygon",c2);nr("Interval",a2);nr("Schema",h2);nr("Path",Wc);nr("Point",l2);nr("Line",o2);nr("Area",KT);nr("Edge",JT);nr("Heatmap",t2);nr("Violin",v2);Da("base",Ys);Da("interval",k2);Da("pie",L2);Da("polar",hm);de("overlap",X2);de("distribute",P2);de("fixed-overlap",H2);de("hide-overlap",tE);de("limit-in-shape",G2);de("limit-in-canvas",N2);de("limit-in-plot",yE);de("pie-outer",O2);de("adjust-color",rE);de("interval-adjust-position",oE);de("interval-hide-overlap",lE);de("point-adjust-position",hE);de("pie-spider",z2);de("path-adjust-position",dE);Se("fade-in",mE);Se("fade-out",xE);Se("grow-in-x",bE);Se("grow-in-xy",CE);Se("grow-in-y",SE);Se("scale-in-x",FE);Se("scale-in-y",TE);Se("wave-in",kE);Se("zoom-in",LE);Se("zoom-out",IE);Se("position-update",AE);Se("sector-path-update",EE);Se("path-in",ME);yn("rect",RE);yn("mirror",BE);yn("list",DE);yn("matrix",OE);yn("circle",PE);yn("tree",zE);Li("axis",VE);Li("legend",YE);Li("tooltip",My);Li("annotation",GE);Li("slider",$E);Li("scrollbar",WE);j("tooltip",gm);j("sibling-tooltip",jE);j("ellipsis-text",ZE);j("element-active",QE);j("element-single-active",tk);j("element-range-active",JE);j("element-highlight",ih);j("element-highlight-by-x",rk);j("element-highlight-by-color",ek);j("element-single-highlight",ik);j("element-range-highlight",mm);j("element-sibling-highlight",mm,{effectSiblings:!0,effectByRecord:!0});j("element-selected",ak);j("element-single-selected",ok);j("element-range-selected",nk);j("element-link-by-color",KE);j("active-region",UE);j("list-active",sk);j("list-selected",uk);j("list-highlight",nh);j("list-unchecked",ck);j("list-checked",hk);j("list-focus",fk);j("list-radio",vk);j("legend-item-highlight",nh,{componentNames:["legend"]});j("axis-label-highlight",nh,{componentNames:["axis"]});j("axis-description",Ok);j("rect-mask",Sm);j("x-rect-mask",Mm,{dim:"x"});j("y-rect-mask",Mm,{dim:"y"});j("circle-mask",dk);j("path-mask",Fm);j("smooth-path-mask",pk);j("rect-multi-mask",Em);j("x-rect-multi-mask",km,{dim:"x"});j("y-rect-multi-mask",km,{dim:"y"});j("circle-multi-mask",gk);j("path-multi-mask",Lm);j("smooth-path-multi-mask",yk);j("cursor",mk);j("data-filter",xk);j("brush",Xs);j("brush-x",Xs,{dims:["x"]});j("brush-y",Xs,{dims:["y"]});j("sibling-filter",uh);j("sibling-x-filter",uh,{dims:"x"});j("sibling-y-filter",uh,{dims:"y"});j("element-filter",wk);j("element-sibling-filter",Im);j("element-sibling-filter-record",Im,{byRecord:!0});j("view-drag",Ak);j("view-move",Tk);j("scale-translate",Ek);j("scale-zoom",kk);j("reset-button",Ck,{name:"reset-button",text:"reset"});j("mousewheel-scroll",Pk);function pr(r){return r.isInPlot()}it("tooltip",{start:[{trigger:"plot:mousemove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:touchmove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"plot:mouseleave",action:"tooltip:hide"},{trigger:"plot:leave",action:"tooltip:hide"},{trigger:"plot:touchend",action:"tooltip:hide"}]});it("ellipsis-text",{start:[{trigger:"legend-item-name:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"legend-item-name:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"legend-item-name:mouseleave",action:"ellipsis-text:hide"},{trigger:"legend-item-name:touchend",action:"ellipsis-text:hide"},{trigger:"axis-label:mouseleave",action:"ellipsis-text:hide"},{trigger:"axis-label:mouseout",action:"ellipsis-text:hide"},{trigger:"axis-label:touchend",action:"ellipsis-text:hide"}]});it("element-active",{start:[{trigger:"element:mouseenter",action:"element-active:active"}],end:[{trigger:"element:mouseleave",action:"element-active:reset"}]});it("element-selected",{start:[{trigger:"element:click",action:"element-selected:toggle"}]});it("element-highlight",{start:[{trigger:"element:mouseenter",action:"element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight:reset"}]});it("element-highlight-by-x",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-x:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-x:reset"}]});it("element-highlight-by-color",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-color:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-color:reset"}]});it("legend-active",{start:[{trigger:"legend-item:mouseenter",action:["list-active:active","element-active:active"]}],end:[{trigger:"legend-item:mouseleave",action:["list-active:reset","element-active:reset"]}]});it("legend-highlight",{start:[{trigger:"legend-item:mouseenter",action:["legend-item-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"legend-item:mouseleave",action:["legend-item-highlight:reset","element-highlight:reset"]}]});it("axis-label-highlight",{start:[{trigger:"axis-label:mouseenter",action:["axis-label-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"axis-label:mouseleave",action:["axis-label-highlight:reset","element-highlight:reset"]}]});it("element-list-highlight",{start:[{trigger:"element:mouseenter",action:["list-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"element:mouseleave",action:["list-highlight:reset","element-highlight:reset"]}]});it("element-range-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(r){return!r.isInShape("mask")},action:["rect-mask:start","rect-mask:show"]},{trigger:"mask:dragstart",action:["rect-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:drag",action:["rect-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end"]},{trigger:"mask:dragend",action:["rect-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(r){return!r.isInPlot()},action:["element-range-highlight:clear","rect-mask:end","rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear","rect-mask:hide"]}]});it("brush",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:pr,action:["brush:start","rect-mask:start","rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:pr,action:["rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:pr,action:["brush:filter","brush:end","rect-mask:end","rect-mask:hide","reset-button:show"]}],rollback:[{trigger:"reset-button:click",action:["brush:reset","reset-button:hide","cursor:crosshair"]}]});it("brush-visible",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"plot:mousedown",action:["rect-mask:start","rect-mask:show"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end","rect-mask:hide","element-filter:filter","element-range-highlight:clear"]}],rollback:[{trigger:"dblclick",action:["element-filter:clear"]}]});it("brush-x",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:pr,action:["brush-x:start","x-rect-mask:start","x-rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:pr,action:["x-rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:pr,action:["brush-x:filter","brush-x:end","x-rect-mask:end","x-rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["brush-x:reset"]}]});it("element-path-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:pr,action:"path-mask:start"},{trigger:"mousedown",isEnable:pr,action:"path-mask:show"}],processing:[{trigger:"mousemove",action:"path-mask:addPoint"}],end:[{trigger:"mouseup",action:"path-mask:end"}],rollback:[{trigger:"dblclick",action:"path-mask:hide"}]});it("brush-x-multi",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"mousedown",isEnable:pr,action:["x-rect-multi-mask:start","x-rect-multi-mask:show"]},{trigger:"mask:dragstart",action:["x-rect-multi-mask:moveStart"]}],processing:[{trigger:"mousemove",isEnable:function(r){return!Ns(r)},action:["x-rect-multi-mask:resize"]},{trigger:"multi-mask:change",action:"element-range-highlight:highlight"},{trigger:"mask:drag",action:["x-rect-multi-mask:move"]}],end:[{trigger:"mouseup",action:["x-rect-multi-mask:end"]},{trigger:"mask:dragend",action:["x-rect-multi-mask:moveEnd"]}],rollback:[{trigger:"dblclick",action:["x-rect-multi-mask:clear","cursor:crosshair"]},{trigger:"multi-mask:clearAll",action:["element-range-highlight:clear"]},{trigger:"multi-mask:clearSingle",action:["element-range-highlight:highlight"]}]});it("element-single-selected",{start:[{trigger:"element:click",action:"element-single-selected:toggle"}]});it("legend-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:["cursor:pointer","list-radio:show"]},{trigger:"legend-item:mouseleave",action:["cursor:default","list-radio:hide"]}],start:[{trigger:"legend-item:click",isEnable:function(r){return!r.isInShape("legend-item-radio")},action:["legend-item-highlight:reset","element-highlight:reset","list-unchecked:toggle","data-filter:filter","list-radio:show"]},{trigger:"legend-item-radio:mouseenter",action:["list-radio:showTip"]},{trigger:"legend-item-radio:mouseleave",action:["list-radio:hideTip"]},{trigger:"legend-item-radio:click",action:["list-focus:toggle","data-filter:filter","list-radio:show"]}]});it("continuous-filter",{start:[{trigger:"legend:valuechanged",action:"data-filter:filter"}]});it("continuous-visible-filter",{start:[{trigger:"legend:valuechanged",action:"element-filter:filter"}]});it("legend-visible-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:["legend-item-highlight:reset","element-highlight:reset","list-unchecked:toggle","element-filter:filter"]}]});it("active-region",{start:[{trigger:"plot:mousemove",action:"active-region:show"}],end:[{trigger:"plot:mouseleave",action:"active-region:hide"}]});it("axis-description",{start:[{trigger:"axis-description:mousemove",action:"axis-description:show"}],end:[{trigger:"axis-description:mouseleave",action:"axis-description:hide"}]});function vd(r){return r.gEvent.preventDefault(),r.gEvent.originalEvent.deltaY>0}it("view-zoom",{start:[{trigger:"plot:mousewheel",isEnable:function(r){return vd(r.event)},action:"scale-zoom:zoomOut",throttle:{wait:100,leading:!0,trailing:!1}},{trigger:"plot:mousewheel",isEnable:function(r){return!vd(r.event)},action:"scale-zoom:zoomIn",throttle:{wait:100,leading:!0,trailing:!1}}]});it("sibling-tooltip",{start:[{trigger:"plot:mousemove",action:"sibling-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"sibling-tooltip:hide"}]});it("plot-mousewheel-scroll",{start:[{trigger:"plot:mousewheel",action:"mousewheel-scroll:scroll"}]});var ce=["type","alias","tickCount","tickInterval","min","max","nice","minLimit","maxLimit","range","tickMethod","base","exponent","mask","sync"],$e;(function(r){r.ERROR="error",r.WARN="warn",r.INFO="log"})($e||($e={}));var Bk="AntV/G2Plot";function Rk(r){for(var e=[],t=1;t=0}),n=t.every(function(a){return A(a,[e])<=0});return i?{min:0}:n?{max:0}:{}}function Dm(r,e,t,i,n){if(n===void 0&&(n=[]),!Array.isArray(r))return{nodes:[],links:[]};var a=[],o={},s=-1;return r.forEach(function(l){var u=l[e],c=l[t],h=l[i],f=dt(l,n);o[u]||(o[u]=m({id:++s,name:u},f)),o[c]||(o[c]=m({id:++s,name:c},f)),a.push(m({source:o[u].id,target:o[c].id,value:h},f))}),{nodes:Object.values(o).sort(function(l,u){return l.id-u.id}),links:a}}function ln(r,e){var t=qt(r,function(i){var n=i[e];return n===null||typeof n=="number"&&!isNaN(n)});return br($e.WARN,t.length===r.length,"illegal data existed in chart data."),t}var zk=5,Nk={}.toString,Om=function(r,e){return Nk.call(r)==="[object "+e+"]"},Gk=function(r){return Om(r,"Array")},Vk=function(r){return typeof r=="object"&&r!==null},dd=function(r){if(!Vk(r)||!Om(r,"Object"))return!1;for(var e=r;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(r)===e},Bm=function(r,e,t,i){t=t||0,i=i||zk;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var a=e[n];a?dd(a)?(dd(r[n])||(r[n]={}),t=i&&r<=n}function Wr(r){if(rt(r))return[r,r,r,r];if(R(r)){var e=r.length;if(e===1)return[r[0],r[0],r[0],r[0]];if(e===2)return[r[0],r[1],r[0],r[1]];if(e===3)return[r[0],r[1],r[2],r[1]];if(e===4)return r}return[0,0,0,0]}function Ws(r,e,t){e===void 0&&(e="bottom"),t===void 0&&(t=25);var i=Wr(r),n=[e.startsWith("top")?t:0,e.startsWith("right")?t:0,e.startsWith("bottom")?t:0,e.startsWith("left")?t:0];return[i[0]+n[0],i[1]+n[1],i[2]+n[2],i[3]+n[3]]}function hh(r){var e=r.map(function(i){return Wr(i)}),t=[0,0,0,0];return e.length>0&&(t=t.map(function(i,n){return e.forEach(function(a,o){i+=e[o][n]}),i})),t}function Xk(r,e){var t=[];if(r.length){t.push(["M",r[0].x,r[0].y]);for(var i=1,n=r.length;i"},key:"".concat(l===0?"top":"bottom","-statistic")},dt(s,["offsetX","offsetY","rotate","style","formatter"])))}})},Uk=function(r,e,t){var i=e.statistic,n=i.title,a=i.content;[n,a].forEach(function(o){if(o){var s=X(o.style)?o.style(t):o.style;r.annotation().html(m({position:["50%","100%"],html:function(l,u){var c=u.getCoordinate(),h=u.views[0].getCoordinate(),f=h.getCenter(),v=h.getRadius(),d=Math.max(Math.sin(h.startAngle),Math.sin(h.endAngle))*v,p=f.y+d-c.y.start-parseFloat(A(s,"fontSize",0)),g=c.getRadius()*c.innerRadius*2;zm(l,m({width:"".concat(g,"px"),transform:"translate(-50%, ".concat(p,"px)")},Rm(s)));var y=u.getData();if(o.customHtml)return o.customHtml(l,u,t,y);var x=o.content;return o.formatter&&(x=o.formatter(t,y)),x?Q(x)?x:"".concat(x):"
    "}},dt(o,["offsetX","offsetY","rotate","style","formatter"])))}})};function Nm(r,e){return e?Jt(e,function(t,i,n){return t.replace(new RegExp("{\\s*".concat(n,"\\s*}"),"g"),i)},r):r}function st(r,e){return r.views.find(function(t){return t.id===e})}function Gn(r){var e=r.parent;return e?e.views:[]}function gd(r){return Gn(r).filter(function(e){return e!==r})}function Ra(r,e,t){t===void 0&&(t=r.geometries),typeof e=="boolean"?r.animate(e):r.animate(!0),C(t,function(i){var n;X(e)?n=e(i.type||i.shapeType,i)||!0:n=e,i.animate(n)})}function qs(){return typeof window=="object"?window==null?void 0:window.devicePixelRatio:2}function fh(r,e){e===void 0&&(e=r);var t=document.createElement("canvas"),i=qs();t.width=r*i,t.height=e*i,t.style.width="".concat(r,"px"),t.style.height="".concat(e,"px");var n=t.getContext("2d");return n.scale(i,i),t}function vh(r,e,t,i){i===void 0&&(i=t);var n=e.backgroundColor,a=e.opacity;r.globalAlpha=a,r.fillStyle=n,r.beginPath(),r.fillRect(0,0,t,i),r.closePath()}function Gm(r,e,t){var i=r+e;return t?i*2:i}function Vm(r,e){var t=e?[[r*.25,r*.25],[r*.75,r*.75]]:[[r*.5,r*.5]];return t}function dh(r,e){var t=e*Math.PI/180,i={a:Math.cos(t)*(1/r),b:Math.sin(t)*(1/r),c:-Math.sin(t)*(1/r),d:Math.cos(t)*(1/r),e:0,f:0};return i}var jk={size:6,padding:2,backgroundColor:"transparent",opacity:1,rotation:0,fill:"#fff",fillOpacity:.5,stroke:"transparent",lineWidth:0,isStagger:!0};function Zk(r,e,t,i){var n=e.size,a=e.fill,o=e.lineWidth,s=e.stroke,l=e.fillOpacity;r.beginPath(),r.globalAlpha=l,r.fillStyle=a,r.strokeStyle=s,r.lineWidth=o,r.arc(t,i,n/2,0,2*Math.PI,!1),r.fill(),o&&r.stroke(),r.closePath()}function Qk(r){var e=I({},jk,r),t=e.size,i=e.padding,n=e.isStagger,a=e.rotation,o=Gm(t,i,n),s=Vm(o,n),l=fh(o,o),u=l.getContext("2d");vh(u,e,o);for(var c=0,h=s;c1&&arguments[1]!==void 0?arguments[1]:60,a=null;return function(){for(var o=this,s=arguments.length,l=new Array(s),u=0;ub){var S=w/p.length,M=Math.max(1,Math.ceil(b/S)-1),F="".concat(p.slice(0,M),"...");x.attr("text",F)}}}}function jL(r,e,t){qL(r,e,t),UL(r,e,t)}function ZL(r,e,t){return e===void 0&&(e=!0),t===void 0&&(t=!1),function(i){var n=i.options,a=i.chart,o=n.conversionTag,s=n.theme;return o&&!t&&(a.theme(I({},pt(s)?s:Un(s),{columnWidthRatio:1/3})),a.annotation().shape({render:function(l,u){var c=l.addGroup({id:"".concat(a.id,"-conversion-tag-group"),name:"conversion-tag-group"}),h=Ne(a.geometries,function(d){return d.type==="interval"}),f={view:u,geometry:h,group:c,field:r,horizontal:e,options:_L(o,e)},v=h.elements;C(v,function(d,p){p>0&&jL(f,v[p-1],d)})}})),i}}function QL(r){var e=r.options,t=e.legend,i=e.seriesField,n=e.isStack;return i?t!==!1&&(t=m({position:n?"right-top":"top-left"},t)):t=!1,r.options.legend=t,r}function KL(r){var e=r.chart,t=r.options,i=t.data,n=t.columnStyle,a=t.color,o=t.columnWidthRatio,s=t.isPercent,l=t.isGroup,u=t.isStack,c=t.xField,h=t.yField,f=t.seriesField,v=t.groupField,d=t.tooltip,p=t.shape,g=s&&l&&u?IL(i,h,[c,v],h):Na(i,h,c,h,s),y=[];u&&f&&!l?g.forEach(function(w){var S=y.find(function(M){return M[c]===w[c]&&M[f]===w[f]});S?S[h]+=w[h]||0:y.push(m({},w))}):y=g,e.data(y);var x=s?m({formatter:function(w){var S;return{name:l&&u?"".concat(w[f]," - ").concat(w[v]):(S=w[f])!==null&&S!==void 0?S:w[c],value:(Number(w[h])*100).toFixed(2)+"%"}}},d):d,b=I({},r,{options:{data:y,widthRatio:o,tooltip:x,interval:{shape:p,style:n,color:a}}});return Zt(b),b}function xh(r){var e,t,i=r.options,n=i.xAxis,a=i.yAxis,o=i.xField,s=i.yField,l=i.data,u=i.isPercent,c=u?{max:1,min:0,minLimit:0,maxLimit:1}:{};return J(Lt((e={},e[o]=n,e[s]=a,e),(t={},t[o]={type:"cat"},t[s]=m(m({},ch(l,s)),c),t)))(r)}function JL(r){var e=r.chart,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return i===!1?e.axis(a,!1):e.axis(a,i),n===!1?e.axis(o,!1):e.axis(o,n),r}function tI(r){var e=r.chart,t=r.options,i=t.legend,n=t.seriesField;return i&&n?e.legend(n,i):i===!1&&e.legend(!1),r}function eI(r){var e=r.chart,t=r.options,i=t.label,n=t.yField,a=t.isRange,o=jt(e,"interval");if(!i)o.label(!1);else{var s=i.callback,l=yt(i,["callback"]);o.label({fields:[n],callback:s,cfg:m({layout:l!=null&&l.position?void 0:[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}]},Yt(a?m({content:function(u){var c;return(c=u[n])===null||c===void 0?void 0:c.join("-")}},l):l))})}return r}function rI(r){var e=r.chart,t=r.options,i=t.tooltip,n=t.isGroup,a=t.isStack,o=t.groupField,s=t.data,l=t.xField,u=t.yField,c=t.seriesField;if(i===!1)e.tooltip(!1);else{var h=i;if(n&&a){var f=h.customItems,v=(h==null?void 0:h.formatter)||function(d){return{name:"".concat(d[c]," - ").concat(d[o]),value:d[u]}};h=m(m({},h),{customItems:function(d){var p=[];return C(d,function(g){var y=qt(s,function(x){return op(x,dt(g.data,[l,c]))});y.forEach(function(x){p.push(m(m(m({},g),{value:x[u],data:x,mappingData:{_origin:x}}),v(x)))})}),f?f(p):p}})}e.tooltip(h)}return r}function el(r,e){e===void 0&&(e=!1);var t=r.options,i=t.seriesField;return J(QL,ut,Ce("columnStyle"),Jr,Ym("rect"),KL,xh,JL,tI,rI,za,ph,eI,Jm,At,xt,Et(),ZL(t.yField,!e,!!i),WL(!t.isStack),Ti)(r)}function iI(r){var e=r.options,t=e.xField,i=e.yField,n=e.xAxis,a=e.yAxis,o={left:"bottom",right:"top",top:"left",bottom:"right"},s=a!==!1?m({position:o[(a==null?void 0:a.position)||"left"]},a):!1,l=n!==!1?m({position:o[(n==null?void 0:n.position)||"bottom"]},n):!1;return m(m({},r),{options:m(m({},e),{xField:i,yField:t,xAxis:s,yAxis:l})})}function nI(r){var e=r.options,t=e.label;return t&&!t.position&&(t.position="left",t.layout||(t.layout=[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}])),I({},r,{options:{label:t}})}function aI(r){var e=r.options,t=e.seriesField,i=e.isStack,n=e.legend;return t?n!==!1&&(n=m({position:i?"top-left":"right-top"},n||{})):n=!1,I({},r,{options:{legend:n}})}function oI(r){var e=r.options,t=[{type:"transpose"},{type:"reflectY"}].concat(e.coordinate||[]);return I({},r,{options:{coordinate:t}})}function sI(r){var e=r.chart,t=r.options,i=t.barStyle,n=t.barWidthRatio,a=t.minBarWidth,o=t.maxBarWidth,s=t.barBackground;return el({chart:e,options:m(m({},t),{columnStyle:i,columnWidthRatio:n,minColumnWidth:a,maxColumnWidth:o,columnBackground:s})},!0)}function e0(r){return J(iI,nI,aI,Nt,oI,sI)(r)}var lI=I({},nt.getDefaultOptions(),{barWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},legend:{radio:{}},interactions:[{type:"active-region"}]}),uI=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="bar",t}return e.getDefaultOptions=function(){return lI},e.prototype.changeData=function(t){var i,n;this.updateOption({data:t});var a=this,o=a.chart,s=a.options,l=s.isPercent,u=s.xField,c=s.yField,h=s.xAxis,f=s.yAxis;i=[c,u],u=i[0],c=i[1],n=[f,h],h=n[0],f=n[1];var v=m(m({},s),{xField:u,yField:c,yAxis:f,xAxis:h});xh({chart:o,options:v}),o.changeData(Na(t,u,c,u,l))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return e0},e}(nt),cI=I({},nt.getDefaultOptions(),{columnWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},legend:{radio:{}},interactions:[{type:"active-region"}]}),hI=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="column",t}return e.getDefaultOptions=function(){return cI},e.prototype.changeData=function(t){this.updateOption({data:t});var i=this.options,n=i.yField,a=i.xField,o=i.isPercent,s=this,l=s.chart,u=s.options;xh({chart:l,options:u}),this.chart.changeData(Na(t,n,a,n,o))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return el},e}(nt),Gl,_r="$$percentage$$",qr="$$mappingValue$$",gr="$$conversion$$",Gu="$$totalPercentage$$",xa="$$x$$",wa="$$y$$",fI={appendPadding:[0,80],minSize:0,maxSize:1,meta:(Gl={},Gl[qr]={min:0,max:1,nice:!1},Gl),label:{style:{fill:"#fff",fontSize:12}},tooltip:{showTitle:!1,showMarkers:!1,shared:!1},conversionTag:{offsetX:10,offsetY:0,style:{fontSize:12,fill:"rgba(0,0,0,0.45)"}}},r0="CONVERSION_TAG_NAME";function wh(r,e,t){var i=[],n=t.yField,a=t.maxSize,o=t.minSize,s=A(cp(e,n),[n]),l=rt(a)?a:1,u=rt(o)?o:0;return i=Mt(r,function(c,h){var f=(c[n]||0)/s;return c[_r]=f,c[qr]=(l-u)*f+u,c[gr]=[A(r,[h-1,n]),c[n]],c}),i}function bh(r){return function(e){var t=e.chart,i=e.options,n=i.conversionTag,a=i.filteredData,o=a||t.getOptions().data;if(n){var s=n.formatter;o.forEach(function(l,u){if(!(u<=0||Number.isNaN(l[qr]))){var c=r(l,u,o,{top:!0,name:r0,text:{content:X(s)?s(l,o):s,offsetX:n.offsetX,offsetY:n.offsetY,position:"end",autoRotate:!1,style:m({textAlign:"start",textBaseline:"middle"},n.style)}});t.annotation().line(c)}})}return e}}function vI(r){var e=r.chart,t=r.options,i=t.data,n=i===void 0?[]:i,a=t.yField,o=t.maxSize,s=t.minSize,l=wh(n,n,{yField:a,maxSize:o,minSize:s});return e.data(l),r}function dI(r){var e=r.chart,t=r.options,i=t.xField,n=t.yField,a=t.color,o=t.tooltip,s=t.label,l=t.shape,u=l===void 0?"funnel":l,c=t.funnelStyle,h=t.state,f=Oe(o,[i,n]),v=f.fields,d=f.formatter;pe({chart:e,options:{type:"interval",xField:i,yField:qr,colorField:i,tooltipFields:R(v)&&v.concat([_r,gr]),mapping:{shape:u,tooltip:d,color:a,style:c},label:s,state:h}});var p=jt(r.chart,"interval");return p.adjust("symmetric"),r}function pI(r){var e=r.chart,t=r.options,i=t.isTransposed;return e.coordinate({type:"rect",actions:i?[]:[["transpose"],["scale",1,-1]]}),r}function i0(r){var e=r.options,t=r.chart,i=e.maxSize,n=A(t,["geometries","0","dataArray"],[]),a=A(t,["options","data","length"]),o=Mt(n,function(l){return A(l,["0","nextPoints","0","x"])*a-.5}),s=function(l,u,c,h){var f=i-(i-l[qr])/2;return m(m({},h),{start:[o[u-1]||u-.5,f],end:[o[u-1]||u-.5,f+.05]})};return bh(s)(r),r}function n0(r){return J(vI,dI,pI,i0)(r)}function gI(r){var e,t=r.chart,i=r.options,n=i.data,a=n===void 0?[]:n,o=i.yField;return t.data(a),t.scale((e={},e[o]={sync:!0},e)),r}function yI(r){var e=r.chart,t=r.options,i=t.data,n=t.xField,a=t.yField,o=t.color,s=t.compareField,l=t.isTransposed,u=t.tooltip,c=t.maxSize,h=t.minSize,f=t.label,v=t.funnelStyle,d=t.state,p=t.showFacetTitle;return e.facet("mirror",{fields:[s],transpose:!l,padding:l?0:[32,0,0,0],showTitle:p,eachView:function(g,y){var x=l?y.rowIndex:y.columnIndex;l||g.coordinate({type:"rect",actions:[["transpose"],["scale",x===0?-1:1,-1]]});var b=wh(y.data,i,{yField:a,maxSize:c,minSize:h});g.data(b);var w=Oe(u,[n,a,s]),S=w.fields,M=w.formatter,F=l?{offset:x===0?10:-23,position:x===0?"bottom":"top"}:{offset:10,position:"left",style:{textAlign:x===0?"end":"start"}};pe({chart:g,options:{type:"interval",xField:n,yField:qr,colorField:n,tooltipFields:R(S)&&S.concat([_r,gr]),mapping:{shape:"funnel",tooltip:M,color:o,style:v},label:f===!1?!1:I({},F,f),state:d}})}}),r}function a0(r){var e=r.chart,t=r.index,i=r.options,n=i.conversionTag,a=i.isTransposed;(rt(t)?[e]:e.views).forEach(function(o,s){var l=A(o,["geometries","0","dataArray"],[]),u=A(o,["options","data","length"]),c=Mt(l,function(f){return A(f,["0","nextPoints","0","x"])*u-.5}),h=function(f,v,d,p){var g=(t||s)===0?-1:1;return I({},p,{start:[c[v-1]||v-.5,f[qr]],end:[c[v-1]||v-.5,f[qr]+.05],text:a?{style:{textAlign:"start"}}:{offsetX:n!==!1?g*n.offsetX:0,style:{textAlign:(t||s)===0?"end":"start"}}})};bh(h)(I({},{chart:o,options:i}))})}function mI(r){var e=r.chart;return e.once("beforepaint",function(){return a0(r)}),r}function xI(r){return J(gI,yI,mI)(r)}function wI(r){var e=r.chart,t=r.options,i=t.data,n=i===void 0?[]:i,a=t.yField,o=Jt(n,function(u,c){return u+(c[a]||0)},0),s=cp(n,a)[a],l=Mt(n,function(u,c){var h=[],f=[];if(u[Gu]=(u[a]||0)/o,c){var v=n[c-1][xa],d=n[c-1][wa];h[0]=v[3],f[0]=d[3],h[1]=v[2],f[1]=d[2]}else h[0]=-.5,f[0]=1,h[1]=.5,f[1]=1;return f[2]=f[1]-u[Gu],h[2]=(f[2]+1)/4,f[3]=f[2],h[3]=-h[2],u[xa]=h,u[wa]=f,u[_r]=(u[a]||0)/s,u[gr]=[A(n,[c-1,a]),u[a]],u});return e.data(l),r}function bI(r){var e=r.chart,t=r.options,i=t.xField,n=t.yField,a=t.color,o=t.tooltip,s=t.label,l=t.funnelStyle,u=t.state,c=Oe(o,[i,n]),h=c.fields,f=c.formatter;return pe({chart:e,options:{type:"polygon",xField:xa,yField:wa,colorField:i,tooltipFields:R(h)&&h.concat([_r,gr]),label:s,state:u,mapping:{tooltip:f,color:a,style:l}}}),r}function SI(r){var e=r.chart,t=r.options,i=t.isTransposed;return e.coordinate({type:"rect",actions:i?[["transpose"],["reflect","x"]]:[]}),r}function CI(r){var e=function(t,i,n,a){return m(m({},a),{start:[t[xa][1],t[wa][1]],end:[t[xa][1]+.05,t[wa][1]]})};return bh(e)(r),r}function MI(r){return J(wI,bI,SI,CI)(r)}function AI(r){var e,t=r.chart,i=r.options,n=i.data,a=n===void 0?[]:n,o=i.yField;return t.data(a),t.scale((e={},e[o]={sync:!0},e)),r}function FI(r){var e=r.chart,t=r.options,i=t.seriesField,n=t.isTransposed,a=t.showFacetTitle;return e.facet("rect",{fields:[i],padding:[n?0:32,10,0,10],showTitle:a,eachView:function(o,s){n0(I({},r,{chart:o,options:{data:s.data}}))}}),r}function TI(r){return J(AI,FI)(r)}var EI=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.rendering=!1,t}return e.prototype.change=function(t){var i=this;if(!this.rendering){var n=t.seriesField,a=t.compareField,o=a?a0:i0,s=this.context.view,l=n||a?s.views:[s];Mt(l,function(u,c){var h=u.getController("annotation"),f=qt(A(h,["option"],[]),function(d){var p=d.name;return p!==r0});h.clear(!0),C(f,function(d){typeof d=="object"&&u.annotation()[d.type](d)});var v=A(u,["filteredData"],u.getOptions().data);o({chart:u,index:c,options:m(m({},t),{filteredData:wh(v,v,t)})}),u.filterData(v),i.rendering=!0,u.render(!0)})}this.rendering=!1},e}(St),o0="funnel-conversion-tag",Vu="funnel-afterrender",s0={trigger:"afterrender",action:"".concat(o0,":change")};j(o0,EI);it(Vu,{start:[s0]});function kI(r){var e=r.options,t=e.compareField,i=e.xField,n=e.yField,a=e.locale,o=e.funnelStyle,s=e.data,l=Us(a),u={label:t?{fields:[i,n,t,_r,gr],formatter:function(h){return"".concat(h[n])}}:{fields:[i,n,_r,gr],offset:0,position:"middle",formatter:function(h){return"".concat(h[i]," ").concat(h[n])}},tooltip:{title:i,formatter:function(h){return{name:h[i],value:h[n]}}},conversionTag:{formatter:function(h){return"".concat(l.get(["conversionTag","label"]),": ").concat(t0.apply(void 0,h[gr]))}}},c;return(t||o)&&(c=function(h){return I({},t&&{lineWidth:1,stroke:"#fff"},X(o)?o(h):o)}),I({options:u},r,{options:{funnelStyle:c,data:re(s)}})}function LI(r){var e=r.options,t=e.compareField,i=e.dynamicHeight,n=e.seriesField;return n?TI(r):t?xI(r):i?MI(r):n0(r)}function II(r){var e,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return J(Lt((e={},e[a]=i,e[o]=n,e)))(r)}function PI(r){var e=r.chart;return e.axis(!1),r}function DI(r){var e=r.chart,t=r.options,i=t.legend;return i===!1?e.legend(!1):e.legend(i),r}function OI(r){var e=r.chart,t=r.options,i=t.interactions,n=t.dynamicHeight;return C(i,function(a){a.enable===!1?e.removeInteraction(a.type):e.interaction(a.type,a.cfg||{})}),n?e.removeInteraction(Vu):e.interaction(Vu,{start:[m(m({},s0),{arg:t})]}),r}function l0(r){return J(kI,LI,II,PI,Nt,OI,DI,xt,ut,Et())(r)}var BI=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="funnel",t}return e.getDefaultOptions=function(){return fI},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return l0},e.prototype.setState=function(t,i,n){n===void 0&&(n=!0);var a=ma(this.chart);C(a,function(o){i(o.getData())&&o.setState(t,n)})},e.prototype.getStates=function(){var t=ma(this.chart),i=[];return C(t,function(n){var a=n.getData(),o=n.getStates();C(o,function(s){i.push({data:a,state:s,geometry:n.geometry,element:n})})}),i},e.CONVERSATION_FIELD=gr,e.PERCENT_FIELD=_r,e.TOTAL_PERCENT_FIELD=Gu,e}(nt),wo,Sh="range",u0="type",vr="percent",RI="#f0f0f0",c0="indicator-view",h0="range-view",zI={percent:0,range:{ticks:[]},innerRadius:.9,radius:.95,startAngle:-7/6*Math.PI,endAngle:1/6*Math.PI,syncViewPadding:!0,axis:{line:null,label:{offset:-24,style:{textAlign:"center",textBaseline:"middle"}},subTickLine:{length:-8},tickLine:{length:-12},grid:null},indicator:{pointer:{style:{lineWidth:5,lineCap:"round"}},pin:{style:{r:9.75,lineWidth:4.5,fill:"#fff"}}},statistic:{title:!1},meta:(wo={},wo[Sh]={sync:"v"},wo[vr]={sync:"v",tickCount:5,tickInterval:.2},wo),animation:!1};function NI(r,e){return r.map(function(t,i){var n;return n={},n[Sh]=t-(r[i-1]||0),n[u0]="".concat(i),n[vr]=e,n})}function f0(r){var e;return[(e={},e[vr]=Ct(r,0,1),e)]}function v0(r,e){var t=A(e,["ticks"],[]),i=Vt(t)?bi(t):[0,Ct(r,0,1),1];return i[0]||i.shift(),NI(i,r)}function GI(r){var e=r.chart,t=r.options,i=t.percent,n=t.range,a=t.radius,o=t.innerRadius,s=t.startAngle,l=t.endAngle,u=t.axis,c=t.indicator,h=t.gaugeStyle,f=t.type,v=t.meter,d=n.color,p=n.width;if(c){var g=f0(i),y=e.createView({id:c0});y.data(g),y.point().position("".concat(vr,"*1")).shape(c.shape||"gauge-indicator").customInfo({defaultColor:e.getTheme().defaultColor,indicator:c}),y.coordinate("polar",{startAngle:s,endAngle:l,radius:o*a}),y.axis(vr,u),y.scale(vr,dt(u,ce))}var x=v0(i,t.range),b=e.createView({id:h0});b.data(x);var w=Q(d)?[d,RI]:d,S=Zt({chart:b,options:{xField:"1",yField:Sh,seriesField:u0,rawFields:[vr],isStack:!0,interval:{color:w,style:h,shape:f==="meter"?"meter-gauge":null},args:{zIndexReversed:!0,sortZIndex:!0},minColumnWidth:p,maxColumnWidth:p}}).ext,M=S.geometry;return M.customInfo({meter:v}),b.coordinate("polar",{innerRadius:o,radius:a,startAngle:s,endAngle:l}).transpose(),r}function VI(r){var e;return J(Lt((e={range:{min:0,max:1,maxLimit:1,minLimit:0}},e[vr]={},e)))(r)}function d0(r,e){var t=r.chart,i=r.options,n=i.statistic,a=i.percent;if(t.getController("annotation").clear(!0),n){var o=n.content,s=void 0;o&&(s=I({},{content:"".concat((a*100).toFixed(2),"%"),style:{opacity:.75,fontSize:"30px",lineHeight:1,textAlign:"center",color:"rgba(44,53,66,0.85)"}},o)),Uk(t,{statistic:m(m({},n),{content:s})},{percent:a})}return e&&t.render(!0),r}function YI(r){var e=r.chart,t=r.options,i=t.tooltip;return i?e.tooltip(I({showTitle:!1,showMarkers:!1,containerTpl:'
    ',domStyles:{"g2-tooltip":{padding:"4px 8px",fontSize:"10px"}},customContent:function(n,a){var o=A(a,[0,"data",vr],0);return"".concat((o*100).toFixed(2),"%")}},i)):e.tooltip(!1),r}function $I(r){var e=r.chart;return e.legend(!1),r}function p0(r){return J(ut,xt,GI,VI,YI,d0,At,Et(),$I)(r)}ft("point","gauge-indicator",{draw:function(r,e){var t=r.customInfo,i=t.indicator,n=t.defaultColor,a=i,o=a.pointer,s=a.pin,l=e.addGroup(),u=this.parsePoint({x:0,y:0});return o&&l.addShape("line",{name:"pointer",attrs:m({x1:u.x,y1:u.y,x2:r.x,y2:r.y,stroke:n},o.style)}),s&&l.addShape("circle",{name:"pin",attrs:m({x:u.x,y:u.y,stroke:n},s.style)}),l}});ft("interval","meter-gauge",{draw:function(r,e){var t=r.customInfo.meter,i=t===void 0?{}:t,n=i.steps,a=n===void 0?50:n,o=i.stepRatio,s=o===void 0?.5:o;a=a<1?1:a,s=Ct(s,0,1);var l=this.coordinate,u=l.startAngle,c=l.endAngle,h=0;if(s>0&&s<1){var f=c-u;h=f/a/(s/(1-s)+1-1/a)}for(var v=h/(1-s)*s,d=e.addGroup(),p=this.coordinate.getCenter(),g=this.coordinate.getRadius(),y=ve.getAngle(r,this.coordinate),x=y.startAngle,b=y.endAngle,w=x;w1?l/(i-1):s.max),!t&&!i){var c=XI(o);u=l/c}var h={},f=me(a,n);fe(f)?C(a,function(d){var p=d[e],g=xd(p,u,i),y="".concat(g[0],"-").concat(g[1]);Vr(h,y)||(h[y]={range:g,count:0}),h[y].count+=1}):Object.keys(f).forEach(function(d){C(f[d],function(p){var g=p[e],y=xd(g,u,i),x="".concat(y[0],"-").concat(y[1]),b="".concat(x,"-").concat(d);Vr(h,b)||(h[b]={range:y,count:0},h[b][n]=d),h[b].count+=1})});var v=[];return C(h,function(d){v.push(d)}),v}var rs="range",ba="count",WI=I({},nt.getDefaultOptions(),{columnStyle:{stroke:"#FFFFFF"},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]});function _I(r){var e=r.chart,t=r.options,i=t.data,n=t.binField,a=t.binNumber,o=t.binWidth,s=t.color,l=t.stackField,u=t.legend,c=t.columnStyle,h=g0(i,n,o,a,l);e.data(h);var f=I({},r,{options:{xField:rs,yField:ba,seriesField:l,isStack:!0,interval:{color:s,style:c}}});return Zt(f),u&&l?e.legend(l,u):e.legend(!1),r}function qI(r){var e,t=r.options,i=t.xAxis,n=t.yAxis;return J(Lt((e={},e[rs]=i,e[ba]=n,e)))(r)}function UI(r){var e=r.chart,t=r.options,i=t.xAxis,n=t.yAxis;return i===!1?e.axis(rs,!1):e.axis(rs,i),n===!1?e.axis(ba,!1):e.axis(ba,n),r}function jI(r){var e=r.chart,t=r.options,i=t.label,n=jt(e,"interval");if(!i)n.label(!1);else{var a=i.callback,o=yt(i,["callback"]);n.label({fields:[ba],callback:a,cfg:Yt(o)})}return r}function y0(r){return J(ut,Ce("columnStyle"),_I,qI,UI,Jr,jI,Nt,At,xt)(r)}var ZI=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="histogram",t}return e.getDefaultOptions=function(){return WI},e.prototype.changeData=function(t){this.updateOption({data:t});var i=this.options,n=i.binField,a=i.binNumber,o=i.binWidth,s=i.stackField;this.chart.changeData(g0(t,n,o,a,s))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return y0},e}(nt),QI=I({},nt.getDefaultOptions(),{tooltip:{shared:!0,showMarkers:!0,showCrosshairs:!0,crosshairs:{type:"x"}},legend:{position:"top-left",radio:{}},isStack:!1}),KI=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.active=function(){var t=this.getView(),i=this.context.event;if(i.data){var n=i.data.items,a=t.geometries.filter(function(o){return o.type==="point"});C(a,function(o){C(o.elements,function(s){var l=sp(n,function(u){return u.data===s.data})!==-1;s.setState("active",l)})})}},e.prototype.reset=function(){var t=this.getView(),i=t.geometries.filter(function(n){return n.type==="point"});C(i,function(n){C(n.elements,function(a){a.setState("active",!1)})})},e.prototype.getView=function(){return this.context.view},e}(St);j("marker-active",KI);it("marker-active",{start:[{trigger:"tooltip:show",action:"marker-active:active"}],end:[{trigger:"tooltip:hide",action:"marker-active:reset"}]});var JI=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="line",t}return e.getDefaultOptions=function(){return QI},e.prototype.changeData=function(t){this.updateOption({data:t});var i=this,n=i.chart,a=i.options;tl({chart:n,options:a}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return Qm},e}(nt),m0=I({},nt.getDefaultOptions(),{legend:{position:"right",radio:{}},tooltip:{shared:!1,showTitle:!1,showMarkers:!1},label:{layout:{type:"limit-in-plot",cfg:{action:"ellipsis"}}},pieStyle:{stroke:"white",lineWidth:1},statistic:{title:{style:{fontWeight:300,color:"#4B535E",textAlign:"center",fontSize:"20px",lineHeight:1}},content:{style:{fontWeight:"bold",color:"rgba(44,53,66,0.85)",textAlign:"center",fontSize:"32px",lineHeight:1}}},theme:{components:{annotation:{text:{animate:!1}}}}}),tP=[1,0,0,0,1,0,0,0,1];function Yu(r,e){var t=Z([],tP,!0);return ve.transform(t,r)}var eP=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getActiveElements=function(){var t=ve.getDelegationObject(this.context);if(t){var i=this.context.view,n=t.component,a=t.item,o=n.get("field");if(o){var s=i.geometries[0].elements;return s.filter(function(l){return l.getModel().data[o]===a.value})}}return[]},e.prototype.getActiveElementLabels=function(){var t=this.context.view,i=this.getActiveElements(),n=t.geometries[0].labelsContainer.getChildren();return n.filter(function(a){return i.find(function(o){return Pt(o.getData(),a.get("data"))})})},e.prototype.transfrom=function(t){t===void 0&&(t=7.5);var i=this.getActiveElements(),n=this.getActiveElementLabels();i.forEach(function(a,o){var s=n[o],l=a.geometry.coordinate;if(l.isPolar&&l.isTransposed){var u=ve.getAngle(a.getModel(),l),c=u.startAngle,h=u.endAngle,f=(c+h)/2,v=t,d=v*Math.cos(f),p=v*Math.sin(f);a.shape.setMatrix(Yu([["t",d,p]])),s.setMatrix(Yu([["t",d,p]]))}})},e.prototype.active=function(){this.transfrom()},e.prototype.reset=function(){this.transfrom(0)},e}(St);function rP(r){var e=r.event,t,i=e.target;return i&&(t=i.get("element")),t}var iP=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getAnnotations=function(t){var i=t||this.context.view;return i.getController("annotation").option},e.prototype.getInitialAnnotation=function(){return this.initialAnnotation},e.prototype.init=function(){var t=this,i=this.context.view;i.removeInteraction("tooltip"),i.on("afterchangesize",function(){var n=t.getAnnotations(i);t.initialAnnotation=n})},e.prototype.change=function(t){var i=this.context,n=i.view,a=i.event;this.initialAnnotation||(this.initialAnnotation=this.getAnnotations());var o=A(a,["data","data"]);if(a.type.match("legend-item")){var s=ve.getDelegationObject(this.context),l=n.getGroupedFields()[0];if(s&&l){var u=s.item;o=n.getData().find(function(v){return v[l]===u.value})}}if(o){var c=A(t,"annotations",[]),h=A(t,"statistic",{});n.getController("annotation").clear(!0),C(c,function(v){typeof v=="object"&&n.annotation()[v.type](v)}),_s(n,{statistic:h,plotType:"pie"},o),n.render(!0)}var f=rP(this.context);f&&f.shape.toFront()},e.prototype.reset=function(){var t=this.context.view,i=t.getController("annotation");i.clear(!0);var n=this.getInitialAnnotation();C(n,function(a){t.annotation()[a.type](a)}),t.render(!0)},e}(St),x0="pie-statistic";j(x0,iP);it("pie-statistic-active",{start:[{trigger:"element:mouseenter",action:"pie-statistic:change"}],end:[{trigger:"element:mouseleave",action:"pie-statistic:reset"}]});j("pie-legend",eP);it("pie-legend-active",{start:[{trigger:"legend-item:mouseenter",action:"pie-legend:active"}],end:[{trigger:"legend-item:mouseleave",action:"pie-legend:reset"}]});function nP(r,e){var t=null;return C(r,function(i){typeof i[e]=="number"&&(t+=i[e])}),t}function aP(r,e){var t;switch(r){case"inner":return t="-30%",Q(e)&&e.endsWith("%")?parseFloat(e)*.01>0?t:e:e<0?e:t;case"outer":return t=12,Q(e)&&e.endsWith("%")?parseFloat(e)*.01<0?t:e:e>0?e:t;default:return e}}function is(r,e){return Qu(ln(r,e),function(t){return t[e]===0})}function oP(r){var e=r.chart,t=r.options,i=t.data,n=t.angleField,a=t.colorField,o=t.color,s=t.pieStyle,l=t.shape,u=ln(i,n);if(is(u,n)){var c="$$percentage$$";u=u.map(function(f){var v;return m(m({},f),(v={},v[c]=1/u.length,v))}),e.data(u);var h=I({},r,{options:{xField:"1",yField:c,seriesField:a,isStack:!0,interval:{color:o,shape:l,style:s},args:{zIndexReversed:!0,sortZIndex:!0}}});Zt(h)}else{e.data(u);var h=I({},r,{options:{xField:"1",yField:n,seriesField:a,isStack:!0,interval:{color:o,shape:l,style:s},args:{zIndexReversed:!0,sortZIndex:!0}}});Zt(h)}return r}function sP(r){var e,t=r.chart,i=r.options,n=i.meta,a=i.colorField,o=I({},n);return t.scale(o,(e={},e[a]={type:"cat"},e)),r}function lP(r){var e=r.chart,t=r.options,i=t.radius,n=t.innerRadius,a=t.startAngle,o=t.endAngle;return e.coordinate({type:"theta",cfg:{radius:i,innerRadius:n,startAngle:a,endAngle:o}}),r}function uP(r){var e=r.chart,t=r.options,i=t.label,n=t.colorField,a=t.angleField,o=e.geometries[0];if(!i)o.label(!1);else{var s=i.callback,l=yt(i,["callback"]),u=Yt(l);if(u.content){var c=u.content;u.content=function(d,p,g){var y=d[n],x=d[a],b=e.getScaleByField(a),w=b==null?void 0:b.scale(x);return X(c)?c(m(m({},d),{percent:w}),p,g):Q(c)?Nm(c,{value:x,name:y,percentage:rt(w)&&!B(x)?"".concat((w*100).toFixed(2),"%"):null}):c}}var h={inner:"",outer:"pie-outer",spider:"pie-spider"},f=u.type?h[u.type]:"pie-outer",v=u.layout?R(u.layout)?u.layout:[u.layout]:[];u.layout=(f?[{type:f}]:[]).concat(v),o.label({fields:n?[a,n]:[a],callback:s,cfg:m(m({},u),{offset:aP(u.type,u.offset),type:"pie"})})}return r}function w0(r){var e=r.innerRadius,t=r.statistic,i=r.angleField,n=r.colorField,a=r.meta,o=r.locale,s=Us(o);if(e&&t){var l=I({},m0.statistic,t),u=l.title,c=l.content;return u!==!1&&(u=I({},{formatter:function(h){var f=h?h[n]:B(u.content)?s.get(["statistic","total"]):u.content,v=A(a,[n,"formatter"])||function(d){return d};return v(f)}},u)),c!==!1&&(c=I({},{formatter:function(h,f){var v=h?h[i]:nP(f,i),d=A(a,[i,"formatter"])||function(p){return p};return h||B(c.content)?d(v):c.content}},c)),I({},{statistic:{title:u,content:c}},r)}return r}function b0(r){var e=r.chart,t=r.options,i=w0(t),n=i.innerRadius,a=i.statistic;return e.getController("annotation").clear(!0),J(Et())(r),n&&a&&_s(e,{statistic:a,plotType:"pie"}),r}function cP(r){var e=r.chart,t=r.options,i=t.tooltip,n=t.colorField,a=t.angleField,o=t.data;if(i===!1)e.tooltip(i);else if(e.tooltip(I({},i,{shared:!1})),is(o,a)){var s=A(i,"fields"),l=A(i,"formatter");fe(A(i,"fields"))&&(s=[n,a],l=l||function(u){return{name:u[n],value:Fa(u[a])}}),e.geometries[0].tooltip(s.join("*"),Vi(s,l))}return r}function hP(r){var e=r.chart,t=r.options,i=w0(t),n=i.interactions,a=i.statistic,o=i.annotations;return C(n,function(s){var l,u;if(s.enable===!1)e.removeInteraction(s.type);else if(s.type==="pie-statistic-active"){var c=[];!((l=s.cfg)===null||l===void 0)&&l.start||(c=[{trigger:"element:mouseenter",action:"".concat(x0,":change"),arg:{statistic:a,annotations:o}}]),C((u=s.cfg)===null||u===void 0?void 0:u.start,function(h){c.push(m(m({},h),{arg:{statistic:a,annotations:o}}))}),e.interaction(s.type,I({},s.cfg,{start:c}))}else e.interaction(s.type,s.cfg||{})}),r}function S0(r){return J(Ce("pieStyle"),oP,sP,ut,lP,xn,cP,uP,Jr,b0,hP,xt)(r)}var fP=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="pie",t}return e.getDefaultOptions=function(){return m0},e.prototype.changeData=function(t){this.chart.emit(ot.BEFORE_CHANGE_DATA,Tt.fromData(this.chart,ot.BEFORE_CHANGE_DATA,null));var i=this.options,n=this.options.angleField,a=ln(i.data,n),o=ln(t,n);is(a,n)||is(o,n)?this.update({data:t}):(this.updateOption({data:t}),this.chart.data(o),b0({chart:this.chart,options:this.options}),this.chart.render(!0)),this.chart.emit(ot.AFTER_CHANGE_DATA,Tt.fromData(this.chart,ot.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return S0},e}(nt),C0=["#FAAD14","#E8EDF3"],vP={percent:.2,color:C0,animation:{}};function Ch(r){var e=Ct(Fi(r)?r:0,0,1);return[{current:"".concat(e),type:"current",percent:e},{current:"".concat(e),type:"target",percent:1}]}function M0(r){var e=r.chart,t=r.options,i=t.percent,n=t.progressStyle,a=t.color,o=t.barWidthRatio;e.data(Ch(i));var s=I({},r,{options:{xField:"current",yField:"percent",seriesField:"type",widthRatio:o,interval:{style:n,color:Q(a)?[a,C0[1]]:a},args:{zIndexReversed:!0,sortZIndex:!0}}});return Zt(s),e.tooltip(!1),e.axis(!1),e.legend(!1),r}function dP(r){var e=r.chart;return e.coordinate("rect").transpose(),r}function A0(r){return J(M0,Lt({}),dP,xt,ut,Et())(r)}var pP=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="process",t}return e.getDefaultOptions=function(){return vP},e.prototype.changeData=function(t){this.updateOption({percent:t}),this.chart.changeData(Ch(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return A0},e}(nt);function gP(r){var e=r.chart,t=r.options,i=t.innerRadius,n=t.radius;return e.coordinate("theta",{innerRadius:i,radius:n}),r}function F0(r,e){var t=r.chart,i=r.options,n=i.innerRadius,a=i.statistic,o=i.percent,s=i.meta;if(t.getController("annotation").clear(!0),n&&a){var l=A(s,["percent","formatter"])||function(c){return"".concat((c*100).toFixed(2),"%")},u=a.content;u&&(u=I({},u,{content:B(u.content)?l(o):u.content})),_s(t,{statistic:m(m({},a),{content:u}),plotType:"ring-progress"},{percent:o})}return e&&t.render(!0),r}function T0(r){return J(M0,Lt({}),gP,F0,xt,ut,Et())(r)}var yP={percent:.2,innerRadius:.8,radius:.98,color:["#FAAD14","#E8EDF3"],statistic:{title:!1,content:{style:{fontSize:"14px",fontWeight:300,fill:"#4D4D4D",textAlign:"center",textBaseline:"middle"}}},animation:{}},mP=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="ring-process",t}return e.getDefaultOptions=function(){return yP},e.prototype.changeData=function(t){this.chart.emit(ot.BEFORE_CHANGE_DATA,Tt.fromData(this.chart,ot.BEFORE_CHANGE_DATA,null)),this.updateOption({percent:t}),this.chart.data(Ch(t)),F0({chart:this.chart,options:this.options},!0),this.chart.emit(ot.AFTER_CHANGE_DATA,Tt.fromData(this.chart,ot.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return T0},e}(nt);function Ur(r,e){return xP(r)||wP(r,e)||bP()}function xP(r){if(Array.isArray(r))return r}function wP(r,e){var t=[],i=!0,n=!1,a=void 0;try{for(var o=r[Symbol.iterator](),s;!(i=(s=o.next()).done)&&(t.push(s.value),!(e&&t.length===e));i=!0);}catch(l){n=!0,a=l}finally{try{!i&&o.return!=null&&o.return()}finally{if(n)throw a}}return t}function bP(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function Mh(r,e,t,i){r=r.filter(function(d,p){var g=e(d,p),y=t(d,p);return g!=null&&isFinite(g)&&y!=null&&isFinite(y)}),i&&r.sort(function(d,p){return e(d)-e(p)});for(var n=r.length,a=new Float64Array(n),o=new Float64Array(n),s=0,l=0,u,c,h,f=0;fn&&(c.splice(v+1,0,y),f=!0)}return f}}function Va(r,e,t,i){var n=i-r*r,a=Math.abs(n)<1e-24?0:(t-r*e)/n,o=e-a*r;return[o,a]}function CP(){var r=function(a){return a[0]},e=function(a){return a[1]},t;function i(n){var a=0,o=0,s=0,l=0,u=0,c=0,h=t?+t[0]:1/0,f=t?+t[1]:-1/0;Di(n,r,e,function(b,w){var S=Math.log(w),M=b*w;++a,o+=(w-o)/a,l+=(M-l)/a,c+=(b*M-c)/a,s+=(w*S-s)/a,u+=(M*S-u)/a,t||(bf&&(f=b))});var v=Va(l/o,s/o,u/o,c/o),d=Ur(v,2),p=d[0],g=d[1];p=Math.exp(p);var y=function(w){return p*Math.exp(g*w)},x=Ga(h,f,y);return x.a=p,x.b=g,x.predict=y,x.rSquared=bn(n,r,e,o,y),x}return i.domain=function(n){return arguments.length?(t=n,i):t},i.x=function(n){return arguments.length?(r=n,i):r},i.y=function(n){return arguments.length?(e=n,i):e},i}function E0(){var r=function(a){return a[0]},e=function(a){return a[1]},t;function i(n){var a=0,o=0,s=0,l=0,u=0,c=t?+t[0]:1/0,h=t?+t[1]:-1/0;Di(n,r,e,function(x,b){++a,o+=(x-o)/a,s+=(b-s)/a,l+=(x*b-l)/a,u+=(x*x-u)/a,t||(xh&&(h=x))});var f=Va(o,s,l,u),v=Ur(f,2),d=v[0],p=v[1],g=function(b){return p*b+d},y=[[c,g(c)],[h,g(h)]];return y.a=p,y.b=d,y.predict=g,y.rSquared=bn(n,r,e,s,g),y}return i.domain=function(n){return arguments.length?(t=n,i):t},i.x=function(n){return arguments.length?(r=n,i):r},i.y=function(n){return arguments.length?(e=n,i):e},i}function MP(r){r.sort(function(t,i){return t-i});var e=r.length/2;return e%1===0?(r[e-1]+r[e])/2:r[Math.floor(e)]}var bd=2,Sd=1e-12;function AP(){var r=function(a){return a[0]},e=function(a){return a[1]},t=.3;function i(n){for(var a=Mh(n,r,e,!0),o=Ur(a,4),s=o[0],l=o[1],u=o[2],c=o[3],h=s.length,f=Math.max(2,~~(t*h)),v=new Float64Array(h),d=new Float64Array(h),p=new Float64Array(h).fill(1),g=-1;++g<=bd;){for(var y=[0,f-1],x=0;xs[S]-b?w:S,F=0,T=0,L=0,k=0,P=0,O=1/Math.abs(s[M]-b||1),z=w;z<=S;++z){var V=s[z],U=l[z],D=FP(Math.abs(b-V)*O)*p[z],N=V*D;F+=D,T+=N,L+=U*D,k+=U*N,P+=V*N}var W=Va(T/F,L/F,k/F,P/F),$=Ur(W,2),Y=$[0],_=$[1];v[x]=Y+_*b,d[x]=Math.abs(l[x]-v[x]),TP(s,x+1,y)}if(g===bd)break;var et=MP(d);if(Math.abs(et)=1?Sd:(tt=1-K*K)*tt}return EP(s,v,u,c)}return i.bandwidth=function(n){return arguments.length?(t=n,i):t},i.x=function(n){return arguments.length?(r=n,i):r},i.y=function(n){return arguments.length?(e=n,i):e},i}function FP(r){return(r=1-r*r*r)*r*r}function TP(r,e,t){var i=r[e],n=t[0],a=t[1]+1;if(!(a>=r.length))for(;e>n&&r[a]-i<=i-r[n];)t[0]=++n,t[1]=a,++a}function EP(r,e,t,i){for(var n=r.length,a=[],o=0,s=0,l=[],u;of&&(f=w))});var d=Va(s,l,u,c),p=Ur(d,2),g=p[0],y=p[1],x=function(S){return y*Math.log(S)/v+g},b=Ga(h,f,x);return b.a=y,b.b=g,b.predict=x,b.rSquared=bn(a,r,e,l,x),b}return n.domain=function(a){return arguments.length?(i=a,n):i},n.x=function(a){return arguments.length?(r=a,n):r},n.y=function(a){return arguments.length?(e=a,n):e},n.base=function(a){return arguments.length?(t=a,n):t},n}function k0(){var r=function(a){return a[0]},e=function(a){return a[1]},t;function i(n){var a=Mh(n,r,e),o=Ur(a,4),s=o[0],l=o[1],u=o[2],c=o[3],h=s.length,f=0,v=0,d=0,p=0,g=0,y,x,b,w;for(y=0;yT&&(T=D))});var L=d-f*f,k=f*L-v*v,P=(g*f-p*v)/k,O=(p*L-g*v)/k,z=-P*f,V=function(N){return N=N-u,P*N*N+O*N+z+c},U=Ga(F,T,V);return U.a=P,U.b=O-2*P*u,U.c=z-O*u+P*u*u+c,U.predict=V,U.rSquared=bn(n,r,e,S,V),U}return i.domain=function(n){return arguments.length?(t=n,i):t},i.x=function(n){return arguments.length?(r=n,i):r},i.y=function(n){return arguments.length?(e=n,i):e},i}function LP(){var r=function(o){return o[0]},e=function(o){return o[1]},t=3,i;function n(a){if(t===1){var o=E0().x(r).y(e).domain(i)(a);return o.coefficients=[o.b,o.a],delete o.a,delete o.b,o}if(t===2){var s=k0().x(r).y(e).domain(i)(a);return s.coefficients=[s.c,s.b,s.a],delete s.a,delete s.b,delete s.c,s}var l=Mh(a,r,e),u=Ur(l,4),c=u[0],h=u[1],f=u[2],v=u[3],d=c.length,p=[],g=[],y=t+1,x=0,b=0,w=i?+i[0]:1/0,S=i?+i[1]:-1/0;Di(a,r,e,function(V,U){++b,x+=(U-x)/b,i||(VS&&(S=V))});var M,F,T,L,k;for(M=0;M=0;--a)for(s=e[a],l=1,n[a]+=s,o=1;o<=a;++o)l*=(a+1-o)/o,n[a-o]+=s*Math.pow(t,o)*l;return n[0]+=i,n}function PP(r){var e=r.length-1,t=[],i,n,a,o,s;for(i=0;iMath.abs(r[i][o])&&(o=n);for(a=i;a=i;a--)r[a][n]-=r[a][i]*r[i][n]/r[i][i]}for(n=e-1;n>=0;--n){for(s=0,a=n+1;af&&(f=b))});var v=Va(o,s,l,u),d=Ur(v,2),p=d[0],g=d[1];p=Math.exp(p);var y=function(w){return p*Math.pow(w,g)},x=Ga(h,f,y);return x.a=p,x.b=g,x.predict=y,x.rSquared=bn(n,r,e,c,y),x}return i.domain=function(n){return arguments.length?(t=n,i):t},i.x=function(n){return arguments.length?(r=n,i):r},i.y=function(n){return arguments.length?(e=n,i):e},i}var OP={exp:CP,linear:E0,loess:AP,log:kP,poly:LP,pow:DP,quad:k0};function BP(r,e){var t=10,i={regionStyle:[{position:{start:[r,"max"],end:["max",e]},style:{fill:"#d8d0c0",opacity:.4}},{position:{start:["min","max"],end:[r,e]},style:{fill:"#a3dda1",opacity:.4}},{position:{start:["min",e],end:[r,"min"]},style:{fill:"#d8d0c0",opacity:.4}},{position:{start:[r,e],end:["max","min"]},style:{fill:"#a3dda1",opacity:.4}}],lineStyle:{stroke:"#9ba29a",lineWidth:1},labelStyle:[{position:["max",e],offsetX:-t,offsetY:-t,style:{textAlign:"right",textBaseline:"bottom",fontSize:14,fill:"#ccc"}},{position:["min",e],offsetX:t,offsetY:-t,style:{textAlign:"left",textBaseline:"bottom",fontSize:14,fill:"#ccc"}},{position:["min",e],offsetX:t,offsetY:t,style:{textAlign:"left",textBaseline:"top",fontSize:14,fill:"#ccc"}},{position:["max",e],offsetX:-t,offsetY:t,style:{textAlign:"right",textBaseline:"top",fontSize:14,fill:"#ccc"}}]};return i}var RP=function(r,e){var t=e.view,i=e.options,n=i.xField,a=i.yField,o=t.getScaleByField(n),s=t.getScaleByField(a),l=r.map(function(u){return t.getCoordinate().convert({x:o.scale(u[0]),y:s.scale(u[1])})});return qk(l,!1)},zP=function(r){var e=r.options,t=e.xField,i=e.yField,n=e.data,a=e.regressionLine,o=a.type,s=o===void 0?"linear":o,l=a.algorithm,u=a.equation,c,h=null;if(l)c=R(l)?l:l(n),h=u;else{var f=OP[s]().x(function(v){return v[t]}).y(function(v){return v[i]});c=f(n),h=GP(s,c)}return[RP(c,r),h]},NP=function(r){var e,t=r.meta,i=t===void 0?{}:t,n=r.xField,a=r.yField,o=r.data,s=o[0][n],l=o[0][a],u=s>0,c=l>0;function h(f,v){var d=A(i,[f]);function p(y){return A(d,y)}var g={};return v==="x"?(rt(s)&&(rt(p("min"))||(g.min=u?0:s*2),rt(p("max"))||(g.max=u?s*2:0)),g):(rt(l)&&(rt(p("min"))||(g.min=c?0:l*2),rt(p("max"))||(g.max=c?l*2:0)),g)}return m(m({},i),(e={},e[n]=m(m({},i[n]),h(n,"x")),e[a]=m(m({},i[a]),h(a,"y")),e))};function GP(r,e){var t,i,n,a=function(u,c){return c===void 0&&(c=4),Math.round(u*Math.pow(10,c))/Math.pow(10,c)},o=function(u){return Number.isFinite(u)?a(u):"?"};switch(r){case"linear":return"y = ".concat(o(e.a),"x + ").concat(o(e.b),", R^2 = ").concat(o(e.rSquared));case"exp":return"y = ".concat(o(e.a),"e^(").concat(o(e.b),"x), R^2 = ").concat(o(e.rSquared));case"log":return"y = ".concat(o(e.a),"ln(x) + ").concat(o(e.b),", R^2 = ").concat(o(e.rSquared));case"quad":return"y = ".concat(o(e.a),"x^2 + ").concat(o(e.b),"x + ").concat(o(e.c),", R^2 = ").concat(o(e.rSquared));case"poly":for(var s="y = ".concat(o((t=e.coefficients)===null||t===void 0?void 0:t[0])," + ").concat(o((i=e.coefficients)===null||i===void 0?void 0:i[1]),"x + ").concat(o((n=e.coefficients)===null||n===void 0?void 0:n[2]),"x^2"),l=3;l
    ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}},showCrosshairs:!0,crosshairs:{type:"x"}},iD={appendPadding:2,tooltip:m({},R0),animation:{}};function nD(r){var e=r.chart,t=r.options,i=t.data,n=t.color,a=t.areaStyle,o=t.point,s=t.line,l=o==null?void 0:o.state,u=Oi(i);e.data(u);var c=I({},r,{options:{xField:Ca,yField:Qi,area:{color:n,style:a},line:s,point:o}}),h=I({},c,{options:{tooltip:!1}}),f=I({},c,{options:{tooltip:!1,state:l}});return js(c),wn(h),Me(f),e.axis(!1),e.legend(!1),r}function Sn(r){var e,t,i=r.options,n=i.xAxis,a=i.yAxis,o=i.data,s=Oi(o);return J(Lt((e={},e[Ca]=n,e[Qi]=a,e),(t={},t[Ca]={type:"cat"},t[Qi]=ch(s,Qi),t)))(r)}function z0(r){return J(Ce("areaStyle"),nD,Sn,Nt,ut,xt,Et())(r)}var aD={appendPadding:2,tooltip:m({},R0),color:"l(90) 0:#E5EDFE 1:#ffffff",areaStyle:{fillOpacity:.6},line:{size:1,color:"#5B8FF9"},animation:{}},oD=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="tiny-area",t}return e.getDefaultOptions=function(){return aD},e.prototype.changeData=function(t){this.updateOption({data:t});var i=this,n=i.chart,a=i.options;Sn({chart:n,options:a}),n.changeData(Oi(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return z0},e}(nt);function sD(r){var e=r.chart,t=r.options,i=t.data,n=t.color,a=t.columnStyle,o=t.columnWidthRatio,s=Oi(i);e.data(s);var l=I({},r,{options:{xField:Ca,yField:Qi,widthRatio:o,interval:{style:a,color:n}}});return Zt(l),e.axis(!1),e.legend(!1),e.interaction("element-active"),r}function N0(r){return J(ut,Ce("columnStyle"),sD,Sn,Nt,xt,Et())(r)}var lD={showTitle:!1,shared:!0,showMarkers:!1,customContent:function(r,e){return"".concat(A(e,[0,"data","y"],0))},containerTpl:'
    ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}}},uD={appendPadding:2,tooltip:m({},lD),animation:{}},cD=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="tiny-column",t}return e.getDefaultOptions=function(){return uD},e.prototype.changeData=function(t){this.updateOption({data:t});var i=this,n=i.chart,a=i.options;Sn({chart:n,options:a}),n.changeData(Oi(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return N0},e}(nt);function hD(r){var e=r.chart,t=r.options,i=t.data,n=t.color,a=t.lineStyle,o=t.point,s=o==null?void 0:o.state,l=Oi(i);e.data(l);var u=I({},r,{options:{xField:Ca,yField:Qi,line:{color:n,style:a},point:o}}),c=I({},u,{options:{tooltip:!1,state:s}});return wn(u),Me(c),e.axis(!1),e.legend(!1),r}function G0(r){return J(hD,Sn,ut,Nt,xt,Et())(r)}var fD=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="tiny-line",t}return e.getDefaultOptions=function(){return iD},e.prototype.changeData=function(t){this.updateOption({data:t});var i=this,n=i.chart,a=i.options;Sn({chart:n,options:a}),n.changeData(Oi(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return G0},e}(nt),vD={line:Qm,pie:S0,column:el,bar:e0,area:Km,gauge:p0,"tiny-line":G0,"tiny-column":N0,"tiny-area":z0,"ring-progress":T0,progress:A0,scatter:I0,histogram:y0,funnel:l0,stock:B0},dD={line:JI,pie:fP,column:hI,bar:uI,area:VL,gauge:HI,"tiny-line":fD,"tiny-column":cD,"tiny-area":oD,"ring-progress":mP,progress:pP,scatter:UP,histogram:ZI,funnel:BI,stock:rD},pD={pie:{label:!1},column:{tooltip:{showMarkers:!1}},bar:{tooltip:{showMarkers:!1}}};function $u(r,e,t){var i=dD[r];if(!i){console.error("could not find ".concat(r," plot"));return}var n=vD[r];n({chart:e,options:I({},i.getDefaultOptions(),A(pD,r,{}),t)})}function gD(r){var e=r.chart,t=r.options,i=t.views,n=t.legend;return C(i,function(a){var o=a.region,s=a.data,l=a.meta,u=a.axes,c=a.coordinate,h=a.interactions,f=a.annotations,v=a.tooltip,d=a.geometries,p=e.createView({region:o});p.data(s);var g={};u&&C(u,function(y,x){g[x]=dt(y,ce)}),g=I({},l,g),p.scale(g),u?C(u,function(y,x){p.axis(x,y)}):p.axis(!1),p.coordinate(c),C(d,function(y){var x=pe({chart:p,options:y}).ext,b=y.adjust;b&&x.geometry.adjust(b)}),C(h,function(y){y.enable===!1?p.removeInteraction(y.type):p.interaction(y.type,y.cfg)}),C(f,function(y){p.annotation()[y.type](m({},y))}),typeof a.animation=="boolean"?p.animate(!1):(p.animate(!0),C(p.geometries,function(y){y.animate(a.animation)})),v&&(p.interaction("tooltip"),p.tooltip(v))}),n?C(n,function(a,o){e.legend(o,a)}):e.legend(!1),e.tooltip(t.tooltip),r}function yD(r){var e=r.chart,t=r.options,i=t.plots,n=t.data,a=n===void 0?[]:n;return C(i,function(o){var s=o.type,l=o.region,u=o.options,c=u===void 0?{}:u,h=o.top,f=c.tooltip;if(h){$u(s,e,m(m({},c),{data:a}));return}var v=e.createView(m({region:l},dt(c,qm)));f&&v.interaction("tooltip"),$u(s,v,m({data:a},c))}),r}function mD(r){var e=r.chart,t=r.options;return e.option("slider",t.slider),r}function xD(r){return J(xt,gD,yD,At,xt,ut,Nt,mD,Et())(r)}function wD(r,e){var t=r.getModel(),i=t.data,n;return R(i)?n=i[0][e]:n=i[e],n}function bD(r){var e=ts(r);C(e,function(t){t.hasState("active")&&t.setState("active",!1),t.hasState("selected")&&t.setState("selected",!1),t.hasState("inactive")&&t.setState("inactive",!1)})}var SD=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getAssociationItems=function(t,i){var n,a=this.context.event,o=i||{},s=o.linkField,l=o.dim,u=[];if(!((n=a.data)===null||n===void 0)&&n.data){var c=a.data.data;C(t,function(h){var f,v,d=s;if(l==="x"?d=h.getXScale().field:l==="y"?d=(f=h.getYScales().find(function(g){return g.field===d}))===null||f===void 0?void 0:f.field:d||(d=(v=h.getGroupScales()[0])===null||v===void 0?void 0:v.field),!!d){var p=Mt(ts(h),function(g){var y=!1,x=!1,b=R(c)?A(c[0],d):A(c,d);return wD(g,d)===b?y=!0:x=!0,{element:g,view:h,active:y,inactive:x}});u.push.apply(u,p)}})}return u},e.prototype.showTooltip=function(t){var i=gd(this.context.view),n=this.getAssociationItems(i,t);C(n,function(a){if(a.active){var o=a.element.shape.getCanvasBBox();a.view.showTooltip({x:o.minX+o.width/2,y:o.minY+o.height/2})}})},e.prototype.hideTooltip=function(){var t=gd(this.context.view);C(t,function(i){i.hideTooltip()})},e.prototype.active=function(t){var i=Gn(this.context.view),n=this.getAssociationItems(i,t);C(n,function(a){var o=a.active,s=a.element;o&&s.setState("active",!0)})},e.prototype.selected=function(t){var i=Gn(this.context.view),n=this.getAssociationItems(i,t);C(n,function(a){var o=a.active,s=a.element;o&&s.setState("selected",!0)})},e.prototype.highlight=function(t){var i=Gn(this.context.view),n=this.getAssociationItems(i,t);C(n,function(a){var o=a.inactive,s=a.element;o&&s.setState("inactive",!0)})},e.prototype.reset=function(){var t=Gn(this.context.view);C(t,function(i){bD(i)})},e}(St);j("association",SD);it("association-active",{start:[{trigger:"element:mouseenter",action:"association:active"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]});it("association-selected",{start:[{trigger:"element:mouseenter",action:"association:selected"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]});it("association-highlight",{start:[{trigger:"element:mouseenter",action:"association:highlight"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]});it("association-tooltip",{start:[{trigger:"element:mousemove",action:"association:showTooltip"}],end:[{trigger:"element:mouseleave",action:"association:hideTooltip"}]});(function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="mix",t}return e.prototype.getSchemaAdaptor=function(){return xD},e})(nt);var Cd;(function(r){r.DEV="DEV",r.BETA="BETA",r.STABLE="STABLE"})(Cd||(Cd={}));var tr="first-axes-view",er="second-axes-view",hi="series-field-key";function V0(r,e,t,i,n){var a=[];e.forEach(function(h){i.forEach(function(f){var v,d=(v={},v[r]=f[r],v[t]=h,v[h]=f[h],v);a.push(d)})});var o=Object.values(me(a,t)),s=o[0],l=s===void 0?[]:s,u=o[1],c=u===void 0?[]:u;return n?[l.reverse(),c.reverse()]:[l,c]}function dr(r){return r!=="vertical"}function CD(r,e,t){var i=e[0],n=e[1],a=i.autoPadding,o=n.autoPadding,s=r.__axisPosition,l=s.layout,u=s.position;if(dr(l)&&u==="top"&&(i.autoPadding=t.instance(a.top,0,a.bottom,a.left),n.autoPadding=t.instance(o.top,a.left,o.bottom,0)),dr(l)&&u==="bottom"&&(i.autoPadding=t.instance(a.top,a.right/2+5,a.bottom,a.left),n.autoPadding=t.instance(o.top,o.right,o.bottom,a.right/2+5)),!dr(l)&&u==="bottom"){var c=a.left>=o.left?a.left:o.left;i.autoPadding=t.instance(a.top,a.right,a.bottom/2+5,c),n.autoPadding=t.instance(a.bottom/2+5,o.right,o.bottom,c)}if(!dr(l)&&u==="top"){var c=a.left>=o.left?a.left:o.left;i.autoPadding=t.instance(a.top,a.right,0,c),n.autoPadding=t.instance(0,o.right,a.top,c)}}function MD(r){var e=r.chart,t=r.options,i=t.data,n=t.xField,a=t.yField,o=t.color,s=t.barStyle,l=t.widthRatio,u=t.legend,c=t.layout,h=V0(n,a,hi,i,dr(c));u?e.legend(hi,u):u===!1&&e.legend(!1);var f,v,d=h[0],p=h[1];dr(c)?(f=e.createView({region:{start:{x:0,y:0},end:{x:.5,y:1}},id:tr}),f.coordinate().transpose().reflect("x"),v=e.createView({region:{start:{x:.5,y:0},end:{x:1,y:1}},id:er}),v.coordinate().transpose(),f.data(d),v.data(p)):(f=e.createView({region:{start:{x:0,y:0},end:{x:1,y:.5}},id:tr}),v=e.createView({region:{start:{x:0,y:.5},end:{x:1,y:1}},id:er}),v.coordinate().reflect("y"),f.data(d),v.data(p));var g=I({},r,{chart:f,options:{widthRatio:l,xField:n,yField:a[0],seriesField:hi,interval:{color:o,style:s}}});Zt(g);var y=I({},r,{chart:v,options:{xField:n,yField:a[1],seriesField:hi,widthRatio:l,interval:{color:o,style:s}}});return Zt(y),r}function AD(r){var e,t,i,n=r.options,a=r.chart,o=n.xAxis,s=n.yAxis,l=n.xField,u=n.yField,c=st(a,tr),h=st(a,er),f={};return fn((n==null?void 0:n.meta)||{}).map(function(v){A(n==null?void 0:n.meta,[v,"alias"])&&(f[v]=n.meta[v].alias)}),a.scale((e={},e[hi]={sync:!0,formatter:function(v){return A(f,v,v)}},e)),Lt((t={},t[l]=o,t[u[0]]=s[u[0]],t))(I({},r,{chart:c})),Lt((i={},i[l]=o,i[u[1]]=s[u[1]],i))(I({},r,{chart:h})),r}function FD(r){var e=r.chart,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField,s=t.layout,l=st(e,tr),u=st(e,er);return(i==null?void 0:i.position)==="bottom"?u.axis(a,m(m({},i),{label:{formatter:function(){return""}}})):u.axis(a,!1),i===!1?l.axis(a,!1):l.axis(a,m({position:dr(s)?"top":"bottom"},i)),n===!1?(l.axis(o[0],!1),u.axis(o[1],!1)):(l.axis(o[0],n[o[0]]),u.axis(o[1],n[o[1]])),e.__axisPosition={position:l.getOptions().axes[a].position,layout:s},r}function TD(r){var e=r.chart;return At(I({},r,{chart:st(e,tr)})),At(I({},r,{chart:st(e,er)})),r}function ED(r){var e=r.chart,t=r.options,i=t.yField,n=t.yAxis;return Ti(I({},r,{chart:st(e,tr),options:{yAxis:n[i[0]]}})),Ti(I({},r,{chart:st(e,er),options:{yAxis:n[i[1]]}})),r}function kD(r){var e=r.chart;return ut(I({},r,{chart:st(e,tr)})),ut(I({},r,{chart:st(e,er)})),ut(r),r}function LD(r){var e=r.chart;return xt(I({},r,{chart:st(e,tr)})),xt(I({},r,{chart:st(e,er)})),r}function ID(r){var e=this,t,i,n=r.chart,a=r.options,o=a.label,s=a.yField,l=a.layout,u=st(n,tr),c=st(n,er),h=jt(u,"interval"),f=jt(c,"interval");if(!o)h.label(!1),f.label(!1);else{var v=o.callback,d=yt(o,["callback"]);d.position||(d.position="middle"),d.offset===void 0&&(d.offset=2);var p=m({},d);if(dr(l)){var g=((t=p.style)===null||t===void 0?void 0:t.textAlign)||(d.position==="middle"?"center":"left");d.style=I({},d.style,{textAlign:g});var y={left:"right",right:"left",center:"center"};p.style=I({},p.style,{textAlign:y[g]})}else{var x={top:"bottom",bottom:"top",middle:"middle"};typeof d.position=="string"?d.position=x[d.position]:typeof d.position=="function"&&(d.position=function(){for(var S=[],M=0;M1?"".concat(e,"_").concat(t):"".concat(e)}function H0(r){var e=r.data,t=r.xField,i=r.measureField,n=r.rangeField,a=r.targetField,o=r.layout,s=[],l=[];e.forEach(function(h,f){var v=[h[n]].flat();v.sort(function(g,y){return g-y}),v.forEach(function(g,y){var x,b=y===0?g:v[y]-v[y-1];s.push((x={rKey:"".concat(n,"_").concat(y)},x[t]=t?h[t]:String(f),x[n]=b,x))});var d=[h[i]].flat();d.forEach(function(g,y){var x;s.push((x={mKey:Md(d,i,y)},x[t]=t?h[t]:String(f),x[i]=g,x))});var p=[h[a]].flat();p.forEach(function(g,y){var x;s.push((x={tKey:Md(p,a,y)},x[t]=t?h[t]:String(f),x[a]=g,x))}),l.push(h[n],h[i],h[a])});var u=Math.min.apply(Math,l.flat(1/0)),c=Math.max.apply(Math,l.flat(1/0));return u=u>0?0:u,o==="vertical"&&s.reverse(),{min:u,max:c,ds:s}}function $D(r){var e=r.chart,t=r.options,i=t.bulletStyle,n=t.targetField,a=t.rangeField,o=t.measureField,s=t.xField,l=t.color,u=t.layout,c=t.size,h=t.label,f=H0(t),v=f.min,d=f.max,p=f.ds;e.data(p);var g=I({},r,{options:{xField:s,yField:a,seriesField:"rKey",isStack:!0,label:A(h,"range"),interval:{color:A(l,"range"),style:A(i,"range"),size:A(c,"range")}}});Zt(g),e.geometries[0].tooltip(!1);var y=I({},r,{options:{xField:s,yField:o,seriesField:"mKey",isStack:!0,label:A(h,"measure"),interval:{color:A(l,"measure"),style:A(i,"measure"),size:A(c,"measure")}}});Zt(y);var x=I({},r,{options:{xField:s,yField:n,seriesField:"tKey",label:A(h,"target"),point:{color:A(l,"target"),style:A(i,"target"),size:X(A(c,"target"))?function(b){return A(c,"target")(b)/2}:A(c,"target")/2,shape:u==="horizontal"?"line":"hyphen"}}});return Me(x),u==="horizontal"&&e.coordinate().transpose(),m(m({},r),{ext:{data:{min:v,max:d}}})}function X0(r){var e,t,i=r.options,n=r.ext,a=i.xAxis,o=i.yAxis,s=i.targetField,l=i.rangeField,u=i.measureField,c=i.xField,h=n.data;return J(Lt((e={},e[c]=a,e[u]=o,e),(t={},t[u]={min:h==null?void 0:h.min,max:h==null?void 0:h.max,sync:!0},t[s]={sync:"".concat(u)},t[l]={sync:"".concat(u)},t)))(r)}function HD(r){var e=r.chart,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.measureField,s=t.rangeField,l=t.targetField;return e.axis("".concat(s),!1),e.axis("".concat(l),!1),i===!1?e.axis("".concat(a),!1):e.axis("".concat(a),i),n===!1?e.axis("".concat(o),!1):e.axis("".concat(o),n),r}function XD(r){var e=r.chart,t=r.options,i=t.legend;return e.removeInteraction("legend-filter"),e.legend(i),e.legend("rKey",!1),e.legend("mKey",!1),e.legend("tKey",!1),r}function WD(r){var e=r.chart,t=r.options,i=t.label,n=t.measureField,a=t.targetField,o=t.rangeField,s=e.geometries,l=s[0],u=s[1],c=s[2];return A(i,"range")?l.label("".concat(o),m({layout:[{type:"limit-in-plot"}]},Yt(i.range))):l.label(!1),A(i,"measure")?u.label("".concat(n),m({layout:[{type:"limit-in-plot"}]},Yt(i.measure))):u.label(!1),A(i,"target")?c.label("".concat(a),m({layout:[{type:"limit-in-plot"}]},Yt(i.target))):c.label(!1),r}function _D(r){J($D,X0,HD,XD,ut,WD,Nt,At,xt)(r)}var qD=I({},nt.getDefaultOptions(),{layout:"horizontal",size:{range:30,measure:20,target:20},xAxis:{tickLine:!1,line:null},bulletStyle:{range:{fillOpacity:.5}},label:{measure:{position:"right"}},tooltip:{showMarkers:!1}});(function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="bullet",t}return e.getDefaultOptions=function(){return qD},e.prototype.changeData=function(t){this.updateOption({data:t});var i=H0(this.options),n=i.min,a=i.max,o=i.ds;X0({options:this.options,ext:{data:{min:n,max:a}},chart:this.chart}),this.chart.changeData(o)},e.prototype.getSchemaAdaptor=function(){return _D},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e})(nt);var UD={y:0,nodeWidthRatio:.05,weight:!1,nodePaddingRatio:.1,id:function(r){return r.id},source:function(r){return r.source},target:function(r){return r.target},sourceWeight:function(r){return r.value||1},targetWeight:function(r){return r.value||1},sortBy:null};function jD(r,e,t){C(r,function(i,n){i.inEdges=e.filter(function(a){return"".concat(t.target(a))==="".concat(n)}),i.outEdges=e.filter(function(a){return"".concat(t.source(a))==="".concat(n)}),i.edges=i.outEdges.concat(i.inEdges),i.frequency=i.edges.length,i.value=0,i.inEdges.forEach(function(a){i.value+=t.targetWeight(a)}),i.outEdges.forEach(function(a){i.value+=t.sourceWeight(a)})})}function ZD(r,e){var t={weight:function(n,a){return a.value-n.value},frequency:function(n,a){return a.frequency-n.frequency},id:function(n,a){return"".concat(e.id(n)).localeCompare("".concat(e.id(a)))}},i=t[e.sortBy];!i&&X(e.sortBy)&&(i=e.sortBy),i&&r.sort(i)}function QD(r,e){var t=r.length;if(!t)throw new TypeError("Invalid nodes: it's empty!");if(e.weight){var i=e.nodePaddingRatio;if(i<0||i>=1)throw new TypeError("Invalid nodePaddingRatio: it must be in range [0, 1)!");var n=i/(2*t),a=e.nodeWidthRatio;if(a<=0||a>=1)throw new TypeError("Invalid nodeWidthRatio: it must be in range (0, 1)!");var o=0;r.forEach(function(l){o+=l.value}),r.forEach(function(l){l.weight=l.value/o,l.width=l.weight*(1-i),l.height=a}),r.forEach(function(l,u){for(var c=0,h=u-1;h>=0;h--)c+=r[h].width+2*n;var f=l.minX=n+c,v=l.maxX=l.minX+l.width,d=l.minY=e.y-a/2,p=l.maxY=d+a;l.x=[f,v,v,f],l.y=[d,d,p,p]})}else{var s=1/t;r.forEach(function(l,u){l.x=(u+.5)*s,l.y=e.y})}return r}function KD(r,e,t){if(t.weight){var i={};C(r,function(n,a){i[a]=n.value}),e.forEach(function(n){var a=t.source(n),o=t.target(n),s=r[a],l=r[o];if(s&&l){var u=i[a],c=t.sourceWeight(n),h=s.minX+(s.value-u)/s.value*s.width,f=h+c/s.value*s.width;i[a]-=c;var v=i[o],d=t.targetWeight(n),p=l.minX+(l.value-v)/l.value*l.width,g=p+d/l.value*l.width;i[o]-=d;var y=t.y;n.x=[h,f,p,g],n.y=[y,y,y,y],n.source=s,n.target=l}})}else e.forEach(function(n){var a=r[t.source(n)],o=r[t.target(n)];a&&o&&(n.x=[a.x,o.x],n.y=[a.y,o.y],n.source=a,n.target=o)});return e}function JD(r){return mt({},UD,r)}function tO(r,e){var t=JD(r),i={},n=e.nodes,a=e.links;n.forEach(function(l){var u=t.id(l);i[u]=l}),jD(i,a,t),ZD(n,t);var o=QD(n,t),s=KD(i,a,t);return{nodes:o,links:s}}var W0="x",_0="y",q0="name",U0="source",eO={nodeStyle:{opacity:1,fillOpacity:1,lineWidth:1},edgeStyle:{opacity:.5,lineWidth:2},label:{fields:["x","name"],callback:function(r,e){var t=(r[0]+r[1])/2,i=t>.5?-4:4;return{offsetX:i,content:e}},labelEmit:!0,style:{fill:"#8c8c8c"}},tooltip:{showTitle:!1,showMarkers:!1,fields:["source","target","value","isNode"],showContent:function(r){return!A(r,[0,"data","isNode"])},formatter:function(r){var e=r.source,t=r.target,i=r.value;return{name:"".concat(e," -> ").concat(t),value:i}}},interactions:[{type:"element-active"}],weight:!0,nodePaddingRatio:.1,nodeWidthRatio:.05};function rO(r){var e=r.options,t=e.data,i=e.sourceField,n=e.targetField,a=e.weightField,o=e.nodePaddingRatio,s=e.nodeWidthRatio,l=e.rawFields,u=l===void 0?[]:l,c=Dm(t,i,n,a),h=tO({weight:!0,nodePaddingRatio:o,nodeWidthRatio:s},c),f=h.nodes,v=h.links,d=f.map(function(g){return m(m({},dt(g,Z(["id","x","y","name"],u,!0))),{isNode:!0})}),p=v.map(function(g){return m(m({source:g.source.name,target:g.target.name,name:g.source.name||g.target.name},dt(g,Z(["x","y","value"],u,!0))),{isNode:!1})});return m(m({},r),{ext:m(m({},r.ext),{chordData:{nodesData:d,edgesData:p}})})}function iO(r){var e,t=r.chart;return t.scale((e={x:{sync:!0,nice:!0},y:{sync:!0,nice:!0,max:1}},e[q0]={sync:"color"},e[U0]={sync:"color"},e)),r}function nO(r){var e=r.chart;return e.axis(!1),r}function aO(r){var e=r.chart;return e.legend(!1),r}function oO(r){var e=r.chart,t=r.options,i=t.tooltip;return e.tooltip(i),r}function sO(r){var e=r.chart;return e.coordinate("polar").reflect("y"),r}function lO(r){var e=r.chart,t=r.options,i=r.ext.chordData.nodesData,n=t.nodeStyle,a=t.label,o=t.tooltip,s=e.createView();return s.data(i),Zs({chart:s,options:{xField:W0,yField:_0,seriesField:q0,polygon:{style:n},label:a,tooltip:o}}),r}function uO(r){var e=r.chart,t=r.options,i=r.ext.chordData.edgesData,n=t.edgeStyle,a=t.tooltip,o=e.createView();o.data(i);var s={xField:W0,yField:_0,seriesField:U0,edge:{style:n,shape:"arc"},tooltip:a};return Hm({chart:o,options:s}),r}function cO(r){var e=r.chart,t=r.options,i=t.animation;return Ra(e,i,Yk(e)),r}function hO(r){return J(ut,rO,sO,iO,nO,aO,oO,uO,lO,At,Jr,cO)(r)}(function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="chord",t}return e.getDefaultOptions=function(){return eO},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return hO},e})(nt);var fO=["x","y","r","name","value","path","depth"],vO={colorField:"name",autoFit:!0,pointStyle:{lineWidth:0,stroke:"#fff"},legend:!1,hierarchyConfig:{size:[1,1],padding:0},label:{fields:["name"],layout:{type:"limit-in-shape"}},tooltip:{showMarkers:!1,showTitle:!1},drilldown:{enabled:!1}},Ad=4,dO=0,Fd=5,Td="drilldown-bread-crumb",pO={position:"top-left",dividerText:"/",textStyle:{fontSize:12,fill:"rgba(0, 0, 0, 0.65)",cursor:"pointer"},activeTextStyle:{fill:"#87B5FF"}},Ma="hierarchy-data-transform-params",gO=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.name="drill-down",t.historyCache=[],t.breadCrumbGroup=null,t.breadCrumbCfg=pO,t}return e.prototype.click=function(){var t=A(this.context,["event","data","data"]);if(!t)return!1;this.drill(t),this.drawBreadCrumb()},e.prototype.resetPosition=function(){if(this.breadCrumbGroup){var t=this.context.view.getCoordinate(),i=this.breadCrumbGroup,n=i.getBBox(),a=this.getButtonCfg().position,o={x:t.start.x,y:t.end.y-(n.height+Fd*2)};t.isPolar&&(o={x:0,y:0}),a==="bottom-left"&&(o={x:t.start.x,y:t.start.y});var s=ve.transform(null,[["t",o.x+dO,o.y+n.height+Fd]]);i.setMatrix(s)}},e.prototype.back=function(){Vt(this.historyCache)&&this.backTo(this.historyCache.slice(0,-1))},e.prototype.reset=function(){this.historyCache[0]&&this.backTo(this.historyCache.slice(0,1)),this.historyCache=[],this.hideCrumbGroup()},e.prototype.drill=function(t){var i=this.context.view,n=A(i,["interactions","drill-down","cfg","transformData"],function(u){return u}),a=n(m({data:t.data},t[Ma]));i.changeData(a);for(var o=[],s=t;s;){var l=s.data;o.unshift({id:"".concat(l.name,"_").concat(s.height,"_").concat(s.depth),name:l.name,children:n(m({data:l},t[Ma]))}),s=s.parent}this.historyCache=(this.historyCache||[]).slice(0,-1).concat(o)},e.prototype.backTo=function(t){if(!(!t||t.length<=0)){var i=this.context.view,n=zt(t).children;i.changeData(n),t.length>1?(this.historyCache=t,this.drawBreadCrumb()):(this.historyCache=[],this.hideCrumbGroup())}},e.prototype.getButtonCfg=function(){var t=this.context.view,i=A(t,["interactions","drill-down","cfg","drillDownConfig"]);return I(this.breadCrumbCfg,i==null?void 0:i.breadCrumb,this.cfg)},e.prototype.drawBreadCrumb=function(){this.drawBreadCrumbGroup(),this.resetPosition(),this.breadCrumbGroup.show()},e.prototype.drawBreadCrumbGroup=function(){var t=this,i=this.getButtonCfg(),n=this.historyCache;this.breadCrumbGroup?this.breadCrumbGroup.clear():this.breadCrumbGroup=this.context.view.foregroundGroup.addGroup({name:Td});var a=0;n.forEach(function(o,s){var l=t.breadCrumbGroup.addShape({type:"text",id:o.id,name:"".concat(Td,"_").concat(o.name,"_text"),attrs:m(m({text:s===0&&!B(i.rootText)?i.rootText:o.name},i.textStyle),{x:a,y:0})}),u=l.getBBox();if(a+=u.width+Ad,l.on("click",function(f){var v,d=f.target.get("id");if(d!==((v=zt(n))===null||v===void 0?void 0:v.id)){var p=n.slice(0,n.findIndex(function(g){return g.id===d})+1);t.backTo(p)}}),l.on("mouseenter",function(f){var v,d=f.target.get("id");d!==((v=zt(n))===null||v===void 0?void 0:v.id)?l.attr(i.activeTextStyle):l.attr({cursor:"default"})}),l.on("mouseleave",function(){l.attr(i.textStyle)}),s=0;)e+=t[i].value;r.value=e}function FO(){return this.eachAfter(AO)}function TO(r,e){let t=-1;for(const i of this)r.call(e,i,++t,this);return this}function EO(r,e){for(var t=this,i=[t],n,a,o=-1;t=i.pop();)if(r.call(e,t,++o,this),n=t.children)for(a=n.length-1;a>=0;--a)i.push(n[a]);return this}function kO(r,e){for(var t=this,i=[t],n=[],a,o,s,l=-1;t=i.pop();)if(n.push(t),a=t.children)for(o=0,s=a.length;o=0;)t+=i[n].value;e.value=t})}function PO(r){return this.eachBefore(function(e){e.children&&e.children.sort(r)})}function DO(r){for(var e=this,t=OO(e,r),i=[e];e!==t;)e=e.parent,i.push(e);for(var n=i.length;r!==t;)i.splice(n,0,r),r=r.parent;return i}function OO(r,e){if(r===e)return r;var t=r.ancestors(),i=e.ancestors(),n=null;for(r=t.pop(),e=i.pop();r===e;)n=r,r=t.pop(),e=i.pop();return n}function BO(){for(var r=this,e=[r];r=r.parent;)e.push(r);return e}function RO(){return Array.from(this)}function zO(){var r=[];return this.eachBefore(function(e){e.children||r.push(e)}),r}function NO(){var r=this,e=[];return r.each(function(t){t!==r&&e.push({source:t.parent,target:t})}),e}function*GO(){var r=this,e,t=[r],i,n,a;do for(e=t.reverse(),t=[];r=e.pop();)if(yield r,i=r.children)for(n=0,a=i.length;n=0;--s)n.push(a=o[s]=new cn(o[s])),a.parent=i,a.depth=i.depth+1;return t.eachBefore(j0)}function VO(){return Cn(this).eachBefore(HO)}function YO(r){return r.children}function $O(r){return Array.isArray(r)?r[1]:null}function HO(r){r.data.value!==void 0&&(r.value=r.data.value),r.data=r.data.data}function j0(r){var e=0;do r.height=e;while((r=r.parent)&&r.height<++e)}function cn(r){this.data=r,this.depth=this.height=0,this.parent=null}cn.prototype=Cn.prototype={constructor:cn,count:FO,each:TO,eachAfter:kO,eachBefore:EO,find:LO,sum:IO,sort:PO,path:DO,ancestors:BO,descendants:RO,leaves:zO,links:NO,copy:VO,[Symbol.iterator]:GO};function XO(r){return typeof r=="object"&&"length"in r?r:Array.from(r)}function WO(r){for(var e=r.length,t,i;e;)i=Math.random()*e--|0,t=r[e],r[e]=r[i],r[i]=t;return r}function Z0(r){for(var e=0,t=(r=WO(Array.from(r))).length,i=[],n,a;e0&&t*t>i*i+n*n}function Yl(r,e){for(var t=0;tl?(n=(u+l-a)/(2*u),s=Math.sqrt(Math.max(0,l/u-n*n)),t.x=r.x-n*i-s*o,t.y=r.y-n*o+s*i):(n=(u+a-l)/(2*u),s=Math.sqrt(Math.max(0,a/u-n*n)),t.x=e.x+n*i-s*o,t.y=e.y+n*o+s*i)):(t.x=e.x+t.r,t.y=e.y)}function kd(r,e){var t=r.r+e.r-1e-6,i=e.x-r.x,n=e.y-r.y;return t>0&&t*t>i*i+n*n}function Ld(r){var e=r._,t=r.next._,i=e.r+t.r,n=(e.x*t.r+t.x*e.r)/i,a=(e.y*t.r+t.y*e.r)/i;return n*n+a*a}function So(r){this._=r,this.next=null,this.previous=null}function J0(r){if(!(n=(r=XO(r)).length))return 0;var e,t,i,n,a,o,s,l,u,c,h;if(e=r[0],e.x=0,e.y=0,!(n>1))return e.r;if(t=r[1],e.x=-t.r,t.x=e.r,t.y=0,!(n>2))return e.r+t.r;Ed(t,e,i=r[2]),e=new So(e),t=new So(t),i=new So(i),e.next=i.previous=t,t.next=e.previous=i,i.next=t.previous=e;t:for(s=3;s0)throw new Error("cycle");return l}return t.id=function(i){return arguments.length?(r=ns(i),t):r},t.parentId=function(i){return arguments.length?(e=ns(i),t):e},t}function rB(r,e){return r.parent===e.parent?1:2}function Hl(r){var e=r.children;return e?e[0]:r.t}function Xl(r){var e=r.children;return e?e[e.length-1]:r.t}function iB(r,e,t){var i=t/(e.i-r.i);e.c-=i,e.s+=t,r.c+=i,e.z+=t,e.m+=t}function nB(r){for(var e=0,t=0,i=r.children,n=i.length,a;--n>=0;)a=i[n],a.z+=e,a.m+=e,e+=a.s+(t+=a.c)}function aB(r,e,t){return r.a.parent===e.parent?r.a:t}function Io(r,e){this._=r,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}Io.prototype=Object.create(cn.prototype);function oB(r){for(var e=new Io(r,0),t,i=[e],n,a,o,s;t=i.pop();)if(a=t._.children)for(t.children=new Array(s=a.length),o=s-1;o>=0;--o)i.push(n=t.children[o]=new Io(a[o],o)),n.parent=t;return(e.parent=new Io(null,0)).children=[e],e}function sB(){var r=rB,e=1,t=1,i=null;function n(u){var c=oB(u);if(c.eachAfter(a),c.parent.m=-c.z,c.eachBefore(o),i)u.eachBefore(l);else{var h=u,f=u,v=u;u.eachBefore(function(x){x.xf.x&&(f=x),x.depth>v.depth&&(v=x)});var d=h===f?1:r(h,f)/2,p=d-h.x,g=e/(f.x+d+p),y=t/(v.depth||1);u.eachBefore(function(x){x.x=(x.x+p)*g,x.y=x.depth*y})}return u}function a(u){var c=u.children,h=u.parent.children,f=u.i?h[u.i-1]:null;if(c){nB(u);var v=(c[0].z+c[c.length-1].z)/2;f?(u.z=f.z+r(u._,f._),u.m=u.z-v):u.z=v}else f&&(u.z=f.z+r(u._,f._));u.parent.A=s(u,f,u.parent.A||h[0])}function o(u){u._.x=u.z+u.parent.m,u.m+=u.parent.m}function s(u,c,h){if(c){for(var f=u,v=u,d=c,p=f.parent.children[0],g=f.m,y=v.m,x=d.m,b=p.m,w;d=Xl(d),f=Hl(f),d&&f;)p=Hl(p),v=Xl(v),v.a=u,w=d.z+x-f.z-g+r(d._,f._),w>0&&(iB(aB(d,u,h),u,w),g+=w,y+=w),x+=d.m,g+=f.m,b+=p.m,y+=v.m;d&&!Xl(v)&&(v.t=d,v.m+=x-y),f&&!Hl(p)&&(p.t=f,p.m+=g-b,h=u)}return h}function l(u){u.x*=e,u.y=u.depth*t}return n.separation=function(u){return arguments.length?(r=u,n):r},n.size=function(u){return arguments.length?(i=!1,e=+u[0],t=+u[1],n):i?null:[e,t]},n.nodeSize=function(u){return arguments.length?(i=!0,e=+u[0],t=+u[1],n):i?[e,t]:null},n}function il(r,e,t,i,n){for(var a=r.children,o,s=-1,l=a.length,u=r.value&&(n-t)/r.value;++sx&&(x=u),M=g*g*S,b=Math.max(x/M,M/y),b>w){g-=u;break}w=b}o.push(l={value:g,dice:v1?i:1)},t}(ix);function ox(){var r=ax,e=!1,t=1,i=1,n=[0],a=oi,o=oi,s=oi,l=oi,u=oi;function c(f){return f.x0=f.y0=0,f.x1=t,f.y1=i,f.eachBefore(h),n=[0],e&&f.eachBefore(ex),f}function h(f){var v=n[f.depth],d=f.x0+v,p=f.y0+v,g=f.x1-v,y=f.y1-v;g=f-1){var x=a[h];x.x0=d,x.y0=p,x.x1=g,x.y1=y;return}for(var b=u[h],w=v/2+b,S=h+1,M=f-1;S>>1;u[F]y-p){var k=v?(d*L+g*T)/v:g;c(h,S,T,d,p,k,y),c(S,f,L,k,p,g,y)}else{var P=v?(p*L+y*T)/v:y;c(h,S,T,d,p,g,P),c(S,f,L,d,P,g,y)}}}function uB(r,e,t,i,n){(r.depth&1?il:Ya)(r,e,t,i,n)}const cB=function r(e){function t(i,n,a,o,s){if((l=i._squarify)&&l.ratio===e)for(var l,u,c,h,f=-1,v,d=l.length,p=i.value;++f1?i:1)},t}(ix),Od=Object.freeze(Object.defineProperty({__proto__:null,cluster:MO,hierarchy:Cn,pack:tx,packEnclose:Z0,packSiblings:jO,partition:rx,stratify:eB,tree:sB,treemap:ox,treemapBinary:lB,treemapDice:Ya,treemapResquarify:cB,treemapSlice:il,treemapSliceDice:uB,treemapSquarify:ax},Symbol.toStringTag,{value:"Module"}));var sx="nodeIndex",lx="childNodeCount",Ah="nodeAncestor",Wl="Invalid field: it must be a string!";function Fh(r,e){var t=r.field,i=r.fields;if(Q(t))return t;if(R(t))return console.warn(Wl),t[0];if(console.warn("".concat(Wl," will try to get fields instead.")),Q(i))return i;if(R(i)&&i.length)return i[0];throw new TypeError(Wl)}function Th(r){var e=[];if(r&&r.each){var t,i;r.each(function(n){var a,o;n.parent!==t?(t=n.parent,i=0):i+=1;var s=qt((((a=n.ancestors)===null||a===void 0?void 0:a.call(n))||[]).map(function(l){return e.find(function(u){return u.name===l.name})||l}),function(l){var u=l.depth;return u>0&&u1;)c="".concat((u=h.parent.data)===null||u===void 0?void 0:u.name," / ").concat(c),h=h.parent;if(a&&l.depth>2)return null;var f=I({},l.data,m(m(m({},dt(l.data,n)),{path:c}),l));f.ext=t,f[Ma]={hierarchyConfig:t,rawFields:n,enableDrillDown:a},s.push(f)}),s}function cx(r,e,t){var i=hh([r,e]),n=i[0],a=i[1],o=i[2],s=i[3],l=t.width,u=t.height,c=l-(s+a),h=u-(n+o),f=Math.min(c,h),v=(c-f)/2,d=(h-f)/2,p=n+d,g=a+v,y=o+d,x=s+v,b=[p,g,y,x],w=f<0?0:f;return{finalPadding:b,finalSize:w}}function vB(r){var e=r.chart,t=Math.min(e.viewBBox.width,e.viewBBox.height);return I({options:{size:function(i){var n=i.r;return n*t}}},r)}function dB(r){var e=r.options,t=r.chart,i=t.viewBBox,n=e.padding,a=e.appendPadding,o=e.drilldown,s=a;if(o!=null&&o.enabled){var l=Ws(t.appendPadding,A(o,["breadCrumb","position"]));s=hh([l,a])}var u=cx(n,s,i).finalPadding;return t.padding=u,t.appendPadding=0,r}function pB(r){var e=r.chart,t=r.options,i=e.padding,n=e.appendPadding,a=t.color,o=t.colorField,s=t.pointStyle,l=t.hierarchyConfig,u=t.sizeField,c=t.rawFields,h=c===void 0?[]:c,f=t.drilldown,v=ux({data:t.data,hierarchyConfig:l,enableDrillDown:f==null?void 0:f.enabled,rawFields:h});e.data(v);var d=e.viewBBox,p=cx(i,n,d).finalSize,g=function(y){var x=y.r;return x*p};return u&&(g=function(y){return y[u]*p}),Me(I({},r,{options:{xField:"x",yField:"y",seriesField:o,sizeField:u,rawFields:Z(Z([],fO,!0),h,!0),point:{color:a,style:s,shape:"circle",size:g}}})),r}function gB(r){return J(Lt({},{x:{min:0,max:1,minLimit:0,maxLimit:1,nice:!0},y:{min:0,max:1,minLimit:0,maxLimit:1,nice:!0}}))(r)}function yB(r){var e=r.chart,t=r.options,i=t.tooltip;if(i===!1)e.tooltip(!1);else{var n=i;A(i,"fields")||(n=I({},{customItems:function(a){return a.map(function(o){var s=A(e.getOptions(),"scales"),l=A(s,["name","formatter"],function(c){return c}),u=A(s,["value","formatter"],function(c){return c});return m(m({},o),{name:l(o.data.name),value:u(o.data.value)})})}},n)),e.tooltip(n)}return r}function mB(r){var e=r.chart;return e.axis(!1),r}function xB(r){var e=r.drilldown,t=r.interactions,i=t===void 0?[]:t;return e!=null&&e.enabled?I({},r,{interactions:Z(Z([],i,!0),[{type:"drill-down",cfg:{drillDownConfig:e,transformData:ux,enableDrillDown:!0}}],!1)}):r}function wB(r){var e=r.chart,t=r.options;return At({chart:e,options:xB(t)}),r}function bB(r){return J(Ce("pointStyle"),vB,dB,ut,gB,pB,mB,xn,yB,wB,xt,Et())(r)}function Bd(r){var e=A(r,["event","data","data"],{});return R(e.children)&&e.children.length>0}function Rd(r){var e=r.view.getCoordinate(),t=e.innerRadius;if(t){var i=r.event,n=i.x,a=i.y,o=e.center,s=o.x,l=o.y,u=e.getRadius()*t,c=Math.sqrt(Math.pow(s-n,2)+Math.pow(l-a,2));return c-1?Hk(v,c,h):!0}),r.getRootView().render(!0)}};function AB(r){var e,t=r.options,i=t.geometryOptions,n=i===void 0?[]:i,a=t.xField,o=t.yField,s=Qu(n,function(l){var u=l.geometry;return u===Ei.Line||u===void 0});return I({},{options:{geometryOptions:[],meta:(e={},e[a]={type:"cat",sync:!0,range:s?[0,1]:void 0},e),tooltip:{showMarkers:s,showCrosshairs:s,shared:!0,crosshairs:{type:"x"}},interactions:s?[{type:"legend-visible-filter"}]:[{type:"legend-visible-filter"},{type:"active-region"}],legend:{position:"top-left"}}},r,{options:{yAxis:Nd(o,t.yAxis),geometryOptions:[zd(a,o[0],n[0]),zd(a,o[1],n[1])],annotations:Nd(o,t.annotations)}})}function FB(r){var e,t,i=r.chart,n=r.options,a=n.geometryOptions,o={line:0,column:1},s=[{type:(e=a[0])===null||e===void 0?void 0:e.geometry,id:Ae},{type:(t=a[1])===null||t===void 0?void 0:t.geometry,id:Fe}];return s.sort(function(l,u){return-o[l.type]+o[u.type]}).forEach(function(l){return i.createView({id:l.id})}),r}function TB(r){var e=r.chart,t=r.options,i=t.xField,n=t.yField,a=t.geometryOptions,o=t.data,s=t.tooltip,l=[m(m({},a[0]),{id:Ae,data:o[0],yField:n[0]}),m(m({},a[1]),{id:Fe,data:o[1],yField:n[1]})];return l.forEach(function(u){var c=u.id,h=u.data,f=u.yField,v=Eh(u)&&u.isPercent,d=v?Um(h,f,i,f):h,p=st(e,c).data(d),g=v?m({formatter:function(y){return{name:y[u.seriesField]||f,value:(Number(y[f])*100).toFixed(2)+"%"}}},s):s;MB({chart:p,options:{xField:i,yField:f,tooltip:g,geometryOption:u}})}),r}function EB(r){var e,t=r.chart,i=r.options,n=i.geometryOptions,a=((e=t.getTheme())===null||e===void 0?void 0:e.colors10)||[],o=0;return t.once("beforepaint",function(){C(n,function(s,l){var u=st(t,l===0?Ae:Fe);if(!s.color){var c=u.getGroupScales(),h=A(c,[0,"values","length"],1),f=a.slice(o,o+h).concat(l===0?[]:a);u.geometries.forEach(function(v){s.seriesField?v.color(s.seriesField,f):v.color(f[0])}),o+=h}}),t.render(!0)}),r}function kB(r){var e,t,i=r.chart,n=r.options,a=n.xAxis,o=n.yAxis,s=n.xField,l=n.yField;return Lt((e={},e[s]=a,e[l[0]]=o[0],e))(I({},r,{chart:st(i,Ae)})),Lt((t={},t[s]=a,t[l[1]]=o[1],t))(I({},r,{chart:st(i,Fe)})),r}function LB(r){var e=r.chart,t=r.options,i=st(e,Ae),n=st(e,Fe),a=t.xField,o=t.yField,s=t.xAxis,l=t.yAxis;return e.axis(a,!1),e.axis(o[0],!1),e.axis(o[1],!1),i.axis(a,s),i.axis(o[0],Gd(l[0],hn.Left)),n.axis(a,!1),n.axis(o[1],Gd(l[1],hn.Right)),r}function IB(r){var e=r.chart,t=r.options,i=t.tooltip,n=st(e,Ae),a=st(e,Fe);return e.tooltip(i),n.tooltip({shared:!0}),a.tooltip({shared:!0}),r}function PB(r){var e=r.chart;return At(I({},r,{chart:st(e,Ae)})),At(I({},r,{chart:st(e,Fe)})),r}function DB(r){var e=r.chart,t=r.options,i=t.annotations,n=A(i,[0]),a=A(i,[1]);return Et(n)(I({},r,{chart:st(e,Ae),options:{annotations:n}})),Et(a)(I({},r,{chart:st(e,Fe),options:{annotations:a}})),r}function OB(r){var e=r.chart;return ut(I({},r,{chart:st(e,Ae)})),ut(I({},r,{chart:st(e,Fe)})),ut(r),r}function BB(r){var e=r.chart;return xt(I({},r,{chart:st(e,Ae)})),xt(I({},r,{chart:st(e,Fe)})),r}function RB(r){var e=r.chart,t=r.options,i=t.yAxis;return Ti(I({},r,{chart:st(e,Ae),options:{yAxis:i[0]}})),Ti(I({},r,{chart:st(e,Fe),options:{yAxis:i[1]}})),r}function zB(r){var e=r.chart,t=r.options,i=t.legend,n=t.geometryOptions,a=t.yField,o=t.data,s=st(e,Ae),l=st(e,Fe);if(i===!1)e.legend(!1);else if(pt(i)&&i.custom===!0)e.legend(i);else{var u=A(n,[0,"legend"],i),c=A(n,[1,"legend"],i);e.once("beforepaint",function(){var h=o[0].length?Vd({view:s,geometryOption:n[0],yField:a[0],legend:u}):[],f=o[1].length?Vd({view:l,geometryOption:n[1],yField:a[1],legend:c}):[];e.legend(I({},i,{custom:!0,items:h.concat(f)}))}),n[0].seriesField&&s.legend(n[0].seriesField,u),n[1].seriesField&&l.legend(n[1].seriesField,c),e.on("legend-item:click",function(h){var f=A(h,"gEvent.delegateObject",{});if(f&&f.item){var v=f.item,d=v.value,p=v.isGeometry,g=v.viewId;if(p){var y=sp(a,function(w){return w===d});if(y>-1){var x=A(st(e,g),"geometries");C(x,function(w){w.changeVisible(!f.item.unchecked)})}}else{var b=A(e.getController("legend"),"option.items",[]);C(e.views,function(w){var S=w.getGroupScales();C(S,function(M){M.values&&M.values.indexOf(d)>-1&&w.filter(M.field,function(F){var T=Ne(b,function(L){return L.value===F});return!T.unchecked})}),e.render(!0)})}}})}return r}function NB(r){var e=r.chart,t=r.options,i=t.slider,n=st(e,Ae),a=st(e,Fe);return i&&(n.option("slider",i),n.on("slider:valuechanged",function(o){var s=o.event,l=s.value,u=s.originValue;Pt(l,u)||Yd(a,l)}),e.once("afterpaint",function(){if(!tn(i)){var o=i.start,s=i.end;(o||s)&&Yd(a,[o,s])}})),r}function GB(r){return J(AB,FB,OB,TB,kB,LB,RB,IB,PB,DB,BB,EB,zB,NB)(r)}(function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="dual-axes",t}return e.prototype.getDefaultOptions=function(){return I({},r.prototype.getDefaultOptions.call(this),{yAxis:[],syncViewPadding:!0})},e.prototype.getSchemaAdaptor=function(){return GB},e})(nt);function VB(r,e){var t=e.data,i=e.coordinate,n=e.interactions,a=e.annotations,o=e.animation,s=e.tooltip,l=e.axes,u=e.meta,c=e.geometries;t&&r.data(t);var h={};l&&C(l,function(f,v){h[v]=dt(f,ce)}),h=I({},u,h),r.scale(h),i&&r.coordinate(i),l===!1?r.axis(!1):C(l,function(f,v){r.axis(v,f)}),C(c,function(f){var v=pe({chart:r,options:f}).ext,d=f.adjust;d&&v.geometry.adjust(d)}),C(n,function(f){f.enable===!1?r.removeInteraction(f.type):r.interaction(f.type,f.cfg)}),C(a,function(f){r.annotation()[f.type](m({},f))}),Ra(r,o),s?(r.interaction("tooltip"),r.tooltip(s)):s===!1&&r.removeInteraction("tooltip")}function YB(r){var e=r.chart,t=r.options,i=t.type,n=t.data,a=t.fields,o=t.eachView,s=cs(t,["type","data","fields","eachView","axes","meta","tooltip","coordinate","theme","legend","interactions","annotations"]);return e.data(n),e.facet(i,m(m({},s),{fields:a,eachView:function(l,u){var c=o(l,u);if(c.geometries)VB(l,c);else{var h=c,f=h.options;f.tooltip&&l.interaction("tooltip"),$u(h.type,l,f)}}})),r}function $B(r){var e=r.chart,t=r.options,i=t.axes,n=t.meta,a=t.tooltip,o=t.coordinate,s=t.theme,l=t.legend,u=t.interactions,c=t.annotations,h={};return i&&C(i,function(f,v){h[v]=dt(f,ce)}),h=I({},n,h),e.scale(h),e.coordinate(o),i?C(i,function(f,v){e.axis(v,f)}):e.axis(!1),a?(e.interaction("tooltip"),e.tooltip(a)):a===!1&&e.removeInteraction("tooltip"),e.legend(l),s&&e.theme(s),C(u,function(f){f.enable===!1?e.removeInteraction(f.type):e.interaction(f.type,f.cfg)}),C(c,function(f){e.annotation()[f.type](m({},f))}),r}function HB(r){return J(ut,YB,$B)(r)}var XB={title:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}},rowTitle:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}},columnTitle:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}}};(function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="area",t}return e.getDefaultOptions=function(){return XB},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return HB},e})(nt);function WB(r){var e=r.chart,t=r.options,i=t.data,n=t.type,a=t.xField,o=t.yField,s=t.colorField,l=t.sizeField,u=t.sizeRatio,c=t.shape,h=t.color,f=t.tooltip,v=t.heatmapStyle,d=t.meta;e.data(i);var p="polygon";n==="density"&&(p="heatmap");var g=Oe(f,[a,o,s]),y=g.fields,x=g.formatter,b=1;return(u||u===0)&&(!c&&!l?console.warn("sizeRatio is not in effect: Must define shape or sizeField first"):u<0||u>1?console.warn("sizeRatio is not in effect: It must be a number in [0,1]"):b=u),pe(I({},r,{options:{type:p,colorField:s,tooltipFields:y,shapeField:l||"",label:void 0,mapping:{tooltip:x,shape:c&&(l?function(w){var S=i.map(function(L){return L[l]}),M=(d==null?void 0:d[l])||{},F=M.min,T=M.max;return F=rt(F)?F:Math.min.apply(Math,S),T=rt(T)?T:Math.max.apply(Math,S),[c,(A(w,l)-F)/(T-F),b]}:function(){return[c,1,b]}),color:h||s&&e.getTheme().sequenceColors.join("-"),style:v}}})),r}function _B(r){var e,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return J(Lt((e={},e[a]=i,e[o]=n,e)))(r)}function qB(r){var e=r.chart,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return i===!1?e.axis(a,!1):e.axis(a,i),n===!1?e.axis(o,!1):e.axis(o,n),r}function UB(r){var e=r.chart,t=r.options,i=t.legend,n=t.colorField,a=t.sizeField,o=t.sizeLegend,s=i!==!1;return n&&e.legend(n,s?i:!1),a&&e.legend(a,o===void 0?i:o),!s&&!o&&e.legend(!1),r}function jB(r){var e=r.chart,t=r.options,i=t.label,n=t.colorField,a=t.type,o=jt(e,a==="density"?"heatmap":"polygon");if(!i)o.label(!1);else if(n){var s=i.callback,l=yt(i,["callback"]);o.label({fields:[n],callback:s,cfg:Yt(l)})}return r}function ZB(r){var e,t,i=r.chart,n=r.options,a=n.coordinate,o=n.reflect,s=I({actions:[]},a??{type:"rect"});return o&&((t=(e=s.actions)===null||e===void 0?void 0:e.push)===null||t===void 0||t.call(e,["reflect",o])),i.coordinate(s),r}function QB(r){return J(ut,Ce("heatmapStyle"),_B,ZB,WB,qB,UB,Nt,jB,Et(),At,xt,Jr)(r)}var KB=I({},nt.getDefaultOptions(),{type:"polygon",legend:!1,coordinate:{type:"rect"},xAxis:{tickLine:null,line:null,grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}},yAxis:{grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}}});ft("polygon","circle",{draw:function(r,e){var t,i,n=r.x,a=r.y,o=this.parsePoints(r.points),s=Math.abs(o[2].x-o[1].x),l=Math.abs(o[1].y-o[0].y),u=Math.min(s,l)/2,c=Number(r.shape[1]),h=Number(r.shape[2]),f=Math.sqrt(h),v=u*f*Math.sqrt(c),d=((t=r.style)===null||t===void 0?void 0:t.fill)||r.color||((i=r.defaultStyle)===null||i===void 0?void 0:i.fill),p=e.addShape("circle",{attrs:m(m(m({x:n,y:a,r:v},r.defaultStyle),r.style),{fill:d})});return p}});ft("polygon","square",{draw:function(r,e){var t,i,n=r.x,a=r.y,o=this.parsePoints(r.points),s=Math.abs(o[2].x-o[1].x),l=Math.abs(o[1].y-o[0].y),u=Math.min(s,l),c=Number(r.shape[1]),h=Number(r.shape[2]),f=Math.sqrt(h),v=u*f*Math.sqrt(c),d=((t=r.style)===null||t===void 0?void 0:t.fill)||r.color||((i=r.defaultStyle)===null||i===void 0?void 0:i.fill),p=e.addShape("rect",{attrs:m(m(m({x:n-v/2,y:a-v/2,width:v,height:v},r.defaultStyle),r.style),{fill:d})});return p}});(function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="heatmap",t}return e.getDefaultOptions=function(){return KB},e.prototype.getSchemaAdaptor=function(){return QB},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e})(nt);var JB="liquid";function fx(r){return[{percent:r,type:JB}]}function tR(r){var e=r.chart,t=r.options,i=t.percent,n=t.liquidStyle,a=t.radius,o=t.outline,s=t.wave,l=t.shape,u=t.shapeStyle,c=t.animation;e.scale({percent:{min:0,max:1}}),e.data(fx(i));var h=t.color||e.getTheme().defaultColor,f=I({},r,{options:{xField:"type",yField:"percent",widthRatio:a,interval:{color:h,style:n,shape:"liquid-fill-gauge"}}}),v=Zt(f).ext,d=v.geometry,p=e.getTheme().background,g={percent:i,radius:a,outline:o,wave:s,shape:l,shapeStyle:u,background:p,animation:c};return d.customInfo(g),e.legend(!1),e.axis(!1),e.tooltip(!1),r}function vx(r,e){var t=r.chart,i=r.options,n=i.statistic,a=i.percent,o=i.meta;t.getController("annotation").clear(!0);var s=A(o,["percent","formatter"])||function(u){return"".concat((u*100).toFixed(2),"%")},l=n.content;return l&&(l=I({},l,{content:B(l.content)?s(a):l.content})),_s(t,{statistic:m(m({},n),{content:l}),plotType:"liquid"},{percent:a}),e&&t.render(!0),r}function eR(r){return J(ut,Ce("liquidStyle"),tR,vx,Lt({}),xt,At)(r)}var rR={radius:.9,statistic:{title:!1,content:{style:{opacity:.75,fontSize:"30px",lineHeight:"30px",textAlign:"center"}}},outline:{border:2,distance:0},wave:{count:3,length:192},shape:"circle"},$d=5e3;function Hd(r,e,t){return r+(e-r)*t}function iR(r){var e=m({opacity:1},r.style);return r.color&&!e.fill&&(e.fill=r.color),e}function nR(r){var e={fill:"#fff",fillOpacity:0,lineWidth:4},t=mt({},e,r.style);return r.color&&!t.stroke&&(t.stroke=r.color),rt(r.opacity)&&(t.opacity=t.strokeOpacity=r.opacity),t}function aR(r,e,t,i){return e===0?[[r+1/2*t/Math.PI/2,i/2],[r+1/2*t/Math.PI,i],[r+t/4,i]]:e===1?[[r+1/2*t/Math.PI/2*(Math.PI-2),i],[r+1/2*t/Math.PI/2*(Math.PI-1),i/2],[r+t/4,0]]:e===2?[[r+1/2*t/Math.PI/2,-i/2],[r+1/2*t/Math.PI,-i],[r+t/4,-i]]:[[r+1/2*t/Math.PI/2*(Math.PI-2),-i],[r+1/2*t/Math.PI/2*(Math.PI-1),-i/2],[r+t/4,0]]}function oR(r,e,t,i,n,a,o){for(var s=Math.ceil(2*r/t*4)*4,l=[],u=i;u<-Math.PI*2;)u+=Math.PI*2;for(;u>0;)u-=Math.PI*2;u=u/Math.PI/2*t;var c=a-r+u-r*2;l.push(["M",c,e]);for(var h=0,f=0;f0){var O=e.addGroup({name:"waves"}),z=O.setClip({type:"path",attrs:{path:P}});sR(b.x,b.y,1-r.points[1].y,g,F,O,z,M*2,y,h)}return e.addShape("path",{name:"distance",attrs:{path:P,fill:"transparent",lineWidth:d+p*2,stroke:c==="transparent"?"#fff":c}}),e.addShape("path",{name:"wrap",attrs:mt(T,{path:P,fill:"transparent",lineWidth:d})}),e}});var N5=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="liquid",t}return e.getDefaultOptions=function(){return rR},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.changeData=function(t){this.chart.emit(ot.BEFORE_CHANGE_DATA,Tt.fromData(this.chart,ot.BEFORE_CHANGE_DATA,null)),this.updateOption({percent:t}),this.chart.data(fx(t)),vx({chart:this.chart,options:this.options},!0),this.chart.emit(ot.AFTER_CHANGE_DATA,Tt.fromData(this.chart,ot.AFTER_CHANGE_DATA,null))},e.prototype.getSchemaAdaptor=function(){return eR},e}(nt);function vR(r){var e=r.chart,t=r.options,i=t.data,n=t.lineStyle,a=t.color,o=t.point,s=t.area;e.data(i);var l=I({},r,{options:{line:{style:n,color:a},point:o&&m({color:a},o),area:s&&m({color:a},s),label:void 0}}),u=I({},l,{options:{tooltip:!1}}),c=(o==null?void 0:o.state)||t.state,h=I({},l,{options:{tooltip:!1,state:c}});return wn(l),Me(h),js(u),r}function dR(r){var e,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return J(Lt((e={},e[a]=i,e[o]=n,e)))(r)}function pR(r){var e=r.chart,t=r.options,i=t.radius,n=t.startAngle,a=t.endAngle;return e.coordinate("polar",{radius:i,startAngle:n,endAngle:a}),r}function gR(r){var e=r.chart,t=r.options,i=t.xField,n=t.xAxis,a=t.yField,o=t.yAxis;return e.axis(i,n),e.axis(a,o),r}function yR(r){var e=r.chart,t=r.options,i=t.label,n=t.yField,a=jt(e,"line");if(!i)a.label(!1);else{var o=i.fields,s=i.callback,l=yt(i,["fields","callback"]);a.label({fields:o||[n],callback:s,cfg:Yt(l)})}return r}function mR(r){return J(vR,dR,ut,pR,gR,xn,Nt,yR,At,xt,Et())(r)}var xR=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"name",{get:function(){return"radar-tooltip"},enumerable:!1,configurable:!0}),e.prototype.getTooltipItems=function(t){var i=this.getTooltipCfg(),n=i.shared,a=i.title,o=r.prototype.getTooltipItems.call(this,t);if(o.length>0){var s=this.view.geometries[0],l=s.dataArray,u=o[0].name,c=[];return l.forEach(function(h){h.forEach(function(f){var v=ve.getTooltipItems(f,s),d=v[0];if(!n&&d&&d.name===u){var p=B(a)?u:a;c.push(m(m({},d),{name:d.title,title:p}))}else if(n&&d){var p=B(a)?d.name||u:a;c.push(m(m({},d),{name:d.title,title:p}))}})}),c}return[]},e}(My);Li("radar-tooltip",xR);var wR=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.init=function(){var t=this.context.view;t.removeInteraction("tooltip")},e.prototype.show=function(){var t=this.context.event,i=this.getTooltipController();i.showTooltip({x:t.x,y:t.y})},e.prototype.hide=function(){var t=this.getTooltipController();t.hideTooltip()},e.prototype.getTooltipController=function(){var t=this.context.view;return t.getController("radar-tooltip")},e}(St);j("radar-tooltip",wR);it("radar-tooltip",{start:[{trigger:"plot:mousemove",action:"radar-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"radar-tooltip:hide"}]});var G5=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="radar",t}return e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return I({},r.prototype.getDefaultOptions.call(this),{xAxis:{label:{offset:15},grid:{line:{type:"line"}}},yAxis:{grid:{line:{type:"circle"}}},legend:{position:"top"},tooltip:{shared:!0,showCrosshairs:!0,showMarkers:!0,crosshairs:{type:"xy",line:{style:{stroke:"#565656",lineDash:[4]}},follow:!0}}})},e.prototype.getSchemaAdaptor=function(){return mR},e}(nt);function bR(r,e,t){var i=t.map(function(o){return o[e]}).filter(function(o){return o!==void 0}),n=i.length>0?Math.max.apply(Math,i):0,a=Math.abs(r)%360;return a?n*360/a:n}function SR(r,e,t){var i=[];return r.forEach(function(n){var a=i.find(function(o){return o[e]===n[e]});a?a[t]+=n[t]||null:i.push(m({},n))}),i}function CR(r){var e=r.chart,t=r.options,i=t.barStyle,n=t.color,a=t.tooltip,o=t.colorField,s=t.type,l=t.xField,u=t.yField,c=t.data,h=t.shape,f=ln(c,u);e.data(f);var v=I({},r,{options:{tooltip:a,seriesField:o,interval:{style:i,color:n,shape:h||(s==="line"?"line":"intervel")},minColumnWidth:t.minBarWidth,maxColumnWidth:t.maxBarWidth,columnBackground:t.barBackground}});return Zt(v),s==="line"&&Me({chart:e,options:{xField:l,yField:u,seriesField:o,point:{shape:"circle",color:n}}}),r}function dx(r){var e,t=r.options,i=t.yField,n=t.xField,a=t.data,o=t.isStack,s=t.isGroup,l=t.colorField,u=t.maxAngle,c=o&&!s&&l?SR(a,n,i):a,h=ln(c,i);return J(Lt((e={},e[i]={min:0,max:bR(u,i,h)},e)))(r)}function MR(r){var e=r.chart,t=r.options,i=t.radius,n=t.innerRadius,a=t.startAngle,o=t.endAngle;return e.coordinate({type:"polar",cfg:{radius:i,innerRadius:n,startAngle:a,endAngle:o}}).transpose(),r}function AR(r){var e=r.chart,t=r.options,i=t.xField,n=t.xAxis;return e.axis(i,n),r}function FR(r){var e=r.chart,t=r.options,i=t.label,n=t.yField,a=jt(e,"interval");if(!i)a.label(!1);else{var o=i.callback,s=yt(i,["callback"]);a.label({fields:[n],callback:o,cfg:m(m({},Yt(s)),{type:"polar"})})}return r}function TR(r){return J(Ce("barStyle"),CR,dx,AR,MR,At,xt,ut,Nt,xn,Et(),FR)(r)}var ER=I({},nt.getDefaultOptions(),{interactions:[{type:"element-active"}],legend:!1,tooltip:{showMarkers:!1},xAxis:{grid:null,tickLine:null,line:null},maxAngle:240});(function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="radial-bar",t}return e.getDefaultOptions=function(){return ER},e.prototype.changeData=function(t){this.updateOption({data:t}),dx({chart:this.chart,options:this.options}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return TR},e})(nt);function kR(r){var e=r.chart,t=r.options,i=t.data,n=t.sectorStyle,a=t.shape,o=t.color;return e.data(i),J(Zt)(I({},r,{options:{marginRatio:1,interval:{style:n,color:o,shape:a}}})),r}function LR(r){var e=r.chart,t=r.options,i=t.label,n=t.xField,a=jt(e,"interval");if(i===!1)a.label(!1);else if(pt(i)){var o=i.callback,s=i.fields,l=yt(i,["callback","fields"]),u=l.offset,c=l.layout;(u===void 0||u>=0)&&(c=c?R(c)?c:[c]:[],l.layout=qt(c,function(h){return h.type!=="limit-in-shape"}),l.layout.length||delete l.layout),a.label({fields:s||[n],callback:o,cfg:Yt(l)})}else br($e.WARN,i===null,"the label option must be an Object."),a.label({fields:[n]});return r}function IR(r){var e=r.chart,t=r.options,i=t.legend,n=t.seriesField;return i===!1?e.legend(!1):n&&e.legend(n,i),r}function PR(r){var e=r.chart,t=r.options,i=t.radius,n=t.innerRadius,a=t.startAngle,o=t.endAngle;return e.coordinate({type:"polar",cfg:{radius:i,innerRadius:n,startAngle:a,endAngle:o}}),r}function DR(r){var e,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return J(Lt((e={},e[a]=i,e[o]=n,e)))(r)}function OR(r){var e=r.chart,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return i?e.axis(a,i):e.axis(a,!1),n?e.axis(o,n):e.axis(o,!1),r}function BR(r){J(Ce("sectorStyle"),kR,DR,LR,PR,OR,IR,Nt,At,xt,ut,Et(),Jr)(r)}var RR=I({},nt.getDefaultOptions(),{xAxis:!1,yAxis:!1,legend:{position:"right",radio:{}},sectorStyle:{stroke:"#fff",lineWidth:1},label:{layout:{type:"limit-in-shape"}},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]});(function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="rose",t}return e.getDefaultOptions=function(){return RR},e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return BR},e})(nt);var Wd="x",_d="y",qd="name",nl="nodes",al="edges";function zR(r,e,t){var i=[];return r.forEach(function(n){var a=n[e],o=n[t];i.includes(a)||i.push(a),i.includes(o)||i.push(o)}),i}function NR(r,e,t,i){var n={};return e.forEach(function(a){n[a]={},e.forEach(function(o){n[a][o]=0})}),r.forEach(function(a){n[a[t]][a[i]]=1}),n}function GR(r,e,t){if(!R(r))return[];var i=[],n=zR(r,e,t),a=NR(r,n,e,t),o={};n.forEach(function(l){o[l]=0});function s(l){o[l]=1,n.forEach(function(u){if(a[l][u]!=0)if(o[u]==1)i.push("".concat(l,"_").concat(u));else{if(o[u]==-1)return;s(u)}}),o[l]=-1}return n.forEach(function(l){o[l]!=-1&&s(l)}),i.length!==0&&console.warn("sankey data contains circle, ".concat(i.length," records removed."),i),r.filter(function(l){return i.findIndex(function(u){return u==="".concat(l[e],"_").concat(l[t])})<0})}function VR(r){return r.target.depth}function YR(r){return r.depth}function $R(r,e){return e-1-r.height}function kh(r,e){return r.sourceLinks.length?r.depth:e-1}function HR(r){return r.targetLinks.length?r.depth:r.sourceLinks.length?iw(r.sourceLinks,VR)-1:0}function Co(r){return function(){return r}}function _l(r,e){for(var t=0,i=0;iW)throw new Error("circular link");$=Y,Y=new Set}if(u)for(var et=Math.max(ql(N,function(tt){return tt.depth})+1,0),at=void 0,K=0;KW)throw new Error("circular link");$=Y,Y=new Set}}function w(D){for(var N=D.nodes,W=Math.max(ql(N,function(kt){return kt.depth})+1,0),$=(t-r-n)/(W-1),Y=new Array(W).fill(0).map(function(){return[]}),_=0,et=N;_0){var ti=(tt/gt-K.y0)*N;K.y0+=ti,K.y1+=ti,O(K)}}c===void 0&&_.sort(as),_.length&&L(_,W)}}function T(D,N,W){for(var $=D.length,Y=$-2;Y>=0;--Y){for(var _=D[Y],et=0,at=_;et0){var ti=(tt/gt-K.y0)*N;K.y0+=ti,K.y1+=ti,O(K)}}c===void 0&&_.sort(as),_.length&&L(_,W)}}function L(D,N){var W=D.length>>1,$=D[W];P(D,$.y0-o,W-1,N),k(D,$.y1+o,W+1,N),P(D,i,D.length-1,N),k(D,e,0,N)}function k(D,N,W,$){for(;W1e-6&&(Y.y0+=_,Y.y1+=_),N=Y.y1+o}}function P(D,N,W,$){for(;W>=0;--W){var Y=D[W],_=(Y.y1-N)*$;_>1e-6&&(Y.y0-=_,Y.y1-=_),N=Y.y0-o}}function O(D){var N=D.sourceLinks,W=D.targetLinks;if(h===void 0){for(var $=0,Y=W;$ "+n,value:a}}},nodeWidthRatio:.008,nodePaddingRatio:.01,animation:{appear:{animation:"wave-in"},enter:{animation:"wave-in"}}}},e.prototype.changeData=function(t){this.updateOption({data:t});var i=px(this.options,this.chart.width,this.chart.height),n=i.nodes,a=i.edges,o=st(this.chart,nl),s=st(this.chart,al);o.changeData(n),s.changeData(a)},e.prototype.getSchemaAdaptor=function(){return lz},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e})(nt);var Lh="ancestor-node",gx="value",Aa="path",cz=[Aa,sx,Ah,lx,"name","depth","height"],hz=I({},nt.getDefaultOptions(),{innerRadius:0,radius:.85,hierarchyConfig:{field:"value"},tooltip:{shared:!0,showMarkers:!1,offset:20,showTitle:!1},legend:!1,sunburstStyle:{lineWidth:.5,stroke:"#FFF"},drilldown:{enabled:!0}}),fz={field:"value",size:[1,1],round:!1,padding:0,sort:function(r,e){return e.value-r.value},as:["x","y"],ignoreParentValue:!0};function vz(r,e){e=mt({},fz,e);var t=e.as;if(!R(t)||t.length!==2)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var i;try{i=Fh(e)}catch(l){console.warn(l)}var n=function(l){return rx().size(e.size).round(e.round).padding(e.padding)(Cn(l).sum(function(u){return Vt(u.children)?e.ignoreParentValue?0:u[i]-Jt(u.children,function(c,h){return c+h[i]},0):u[i]}).sort(e.sort))},a=n(r),o=t[0],s=t[1];return a.each(function(l){var u,c;l[o]=[l.x0,l.x1,l.x1,l.x0],l[s]=[l.y1,l.y1,l.y0,l.y0],l.name=l.name||((u=l.data)===null||u===void 0?void 0:u.name)||((c=l.data)===null||c===void 0?void 0:c.label),l.data.name=l.name,["x0","x1","y0","y1"].forEach(function(h){t.indexOf(h)===-1&&delete l[h]})}),Th(a)}var dz={field:"value",tile:"treemapSquarify",size:[1,1],round:!1,ignoreParentValue:!0,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,as:["x","y"],sort:function(r,e){return e.value-r.value},ratio:.5*(1+Math.sqrt(5))};function pz(r,e){return r==="treemapSquarify"?Od[r].ratio(e):Od[r]}function yx(r,e){e=mt({},dz,e);var t=e.as;if(!R(t)||t.length!==2)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var i;try{i=Fh(e)}catch(u){console.warn(u)}var n=pz(e.tile,e.ratio),a=function(u){return ox().tile(n).size(e.size).round(e.round).padding(e.padding).paddingInner(e.paddingInner).paddingOuter(e.paddingOuter).paddingTop(e.paddingTop).paddingRight(e.paddingRight).paddingBottom(e.paddingBottom).paddingLeft(e.paddingLeft)(Cn(u).sum(function(c){return e.ignoreParentValue&&c.children?0:c[i]}).sort(e.sort))},o=a(r),s=t[0],l=t[1];return o.each(function(u){u[s]=[u.x0,u.x1,u.x1,u.x0],u[l]=[u.y1,u.y1,u.y0,u.y0],["x0","x1","y0","y1"].forEach(function(c){t.indexOf(c)===-1&&delete u[c]})}),Th(o)}function mx(r){var e=r.data,t=r.colorField,i=r.rawFields,n=r.hierarchyConfig,a=n===void 0?{}:n,o=a.activeDepth,s={partition:vz,treemap:yx},l=r.seriesField,u=r.type||"partition",c=s[u](e,m(m({field:l||"value"},cs(a,["activeDepth"])),{type:"hierarchy.".concat(u),as:["x","y"]})),h=[];return c.forEach(function(f){var v,d,p,g,y,x;if(f.depth===0||o>0&&f.depth>o)return null;for(var b=f.data.name,w=m({},f);w.depth>1;)b="".concat((d=w.parent.data)===null||d===void 0?void 0:d.name," / ").concat(b),w=w.parent;var S=m(m(m({},dt(f.data,Z(Z([],i||[],!0),[a.field],!1))),(v={},v[Aa]=b,v[Lh]=w.data.name,v)),f);l&&(S[l]=f.data[l]||((g=(p=f.parent)===null||p===void 0?void 0:p.data)===null||g===void 0?void 0:g[l])),t&&(S[t]=f.data[t]||((x=(y=f.parent)===null||y===void 0?void 0:y.data)===null||x===void 0?void 0:x[t])),S.ext=a,S[Ma]={hierarchyConfig:a,colorField:t,rawFields:i},h.push(S)}),h}function gz(r){var e=r.chart,t=r.options,i=t.color,n=t.colorField,a=n===void 0?Lh:n,o=t.sunburstStyle,s=t.rawFields,l=s===void 0?[]:s,u=t.shape,c=mx(t);e.data(c);var h;return o&&(h=function(f){return I({},{fillOpacity:Math.pow(.85,f.depth)},X(o)?o(f):o)}),Zs(I({},r,{options:{xField:"x",yField:"y",seriesField:a,rawFields:bi(Z(Z([],cz,!0),l,!0)),polygon:{color:i,style:h,shape:u}}})),r}function yz(r){var e=r.chart;return e.axis(!1),r}function mz(r){var e=r.chart,t=r.options,i=t.label,n=jt(e,"polygon");if(!i)n.label(!1);else{var a=i.fields,o=a===void 0?["name"]:a,s=i.callback,l=yt(i,["fields","callback"]);n.label({fields:o,callback:s,cfg:Yt(l)})}return r}function xz(r){var e=r.chart,t=r.options,i=t.innerRadius,n=t.radius,a=t.reflect,o=e.coordinate({type:"polar",cfg:{innerRadius:i,radius:n}});return a&&o.reflect(a),r}function wz(r){var e,t=r.options,i=t.hierarchyConfig,n=t.meta;return J(Lt({},(e={},e[gx]=A(n,A(i,["field"],"value")),e)))(r)}function bz(r){var e=r.chart,t=r.options,i=t.tooltip;if(i===!1)e.tooltip(!1);else{var n=i;A(i,"fields")||(n=I({},{customItems:function(a){return a.map(function(o){var s=A(e.getOptions(),"scales"),l=A(s,[Aa,"formatter"],function(c){return c}),u=A(s,[gx,"formatter"],function(c){return c});return m(m({},o),{name:l(o.data[Aa]),value:u(o.data.value)})})}},n)),e.tooltip(n)}return r}function Sz(r){var e=r.drilldown,t=r.interactions,i=t===void 0?[]:t;return e!=null&&e.enabled?I({},r,{interactions:Z(Z([],i,!0),[{type:"drill-down",cfg:{drillDownConfig:e,transformData:mx}}],!1)}):r}function Cz(r){var e=r.chart,t=r.options,i=t.drilldown;return At({chart:e,options:Sz(t)}),i!=null&&i.enabled&&(e.appendPadding=Ws(e.appendPadding,A(i,["breadCrumb","position"]))),r}function Mz(r){return J(ut,Ce("sunburstStyle"),gz,yz,wz,xn,xz,bz,mz,Cz,xt,Et())(r)}(function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="sunburst",t}return e.getDefaultOptions=function(){return hz},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return Mz},e.SUNBURST_ANCESTOR_FIELD=Lh,e.SUNBURST_PATH_FIELD=Aa,e.NODE_ANCESTORS_FIELD=Ah,e})(nt);function xx(r,e){if(R(r))return r.find(function(t){return t.type===e})}function wx(r,e){var t=xx(r,e);return t&&t.enable!==!1}function Ih(r){var e=r.interactions,t=r.drilldown;return A(t,"enabled")||wx(e,"treemap-drill-down")}function Az(r){var e=r.interactions["drill-down"];if(e){var t=e.context.actions.find(function(i){return i.name==="drill-down-action"});t.reset()}}function Ph(r){var e=r.data,t=r.colorField,i=r.enableDrillDown,n=r.hierarchyConfig,a=yx(e,m(m({},n),{type:"hierarchy.treemap",field:"value",as:["x","y"]})),o=[];return a.forEach(function(s){if(s.depth===0||i&&s.depth!==1||!i&&s.children)return null;var l=s.ancestors().map(function(f){return{data:f.data,height:f.height,value:f.value}}),u=i&&R(e.path)?l.concat(e.path.slice(1)):l,c=Object.assign({},s.data,m({x:s.x,y:s.y,depth:s.depth,value:s.value,path:u},s));if(!s.data[t]&&s.parent){var h=s.ancestors().find(function(f){return f.data[t]});c[t]=h==null?void 0:h.data[t]}else c[t]=s.data[t];c[Ma]={hierarchyConfig:n,colorField:t,enableDrillDown:i},o.push(c)}),o}function Fz(r){var e=r.options,t=e.colorField;return I({options:{rawFields:["value"],tooltip:{fields:["name","value",t,"path"],formatter:function(i){return{name:i.name,value:i.value}}}}},r)}function Tz(r){var e=r.chart,t=r.options,i=t.color,n=t.colorField,a=t.rectStyle,o=t.hierarchyConfig,s=t.rawFields,l=Ph({data:t.data,colorField:t.colorField,enableDrillDown:Ih(t),hierarchyConfig:o});return e.data(l),Zs(I({},r,{options:{xField:"x",yField:"y",seriesField:n,rawFields:s,polygon:{color:i,style:a}}})),e.coordinate().reflect("y"),r}function Ez(r){var e=r.chart;return e.axis(!1),r}function kz(r){var e=r.drilldown,t=r.interactions,i=t===void 0?[]:t,n=Ih(r);return n?I({},r,{interactions:Z(Z([],i,!0),[{type:"drill-down",cfg:{drillDownConfig:e,transformData:Ph}}],!1)}):r}function Lz(r){var e=r.chart,t=r.options,i=t.interactions,n=t.drilldown;At({chart:e,options:kz(t)});var a=xx(i,"view-zoom");a&&(a.enable!==!1?e.getCanvas().on("mousewheel",function(s){s.preventDefault()}):e.getCanvas().off("mousewheel"));var o=Ih(t);return o&&(e.appendPadding=Ws(e.appendPadding,A(n,["breadCrumb","position"]))),r}function Iz(r){return J(Fz,ut,Ce("rectStyle"),Tz,Ez,xn,Nt,Lz,xt,Et())(r)}var Pz={colorField:"name",rectStyle:{lineWidth:1,stroke:"#fff"},hierarchyConfig:{tile:"treemapSquarify"},label:{fields:["name"],layout:{type:"limit-in-shape"}},tooltip:{showMarkers:!1,showTitle:!1},drilldown:{enabled:!1,breadCrumb:{position:"bottom-left",rootText:"初始",dividerText:"/",textStyle:{fontSize:12,fill:"rgba(0, 0, 0, 0.65)",cursor:"pointer"},activeTextStyle:{fill:"#87B5FF"}}}};(function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="treemap",t}return e.getDefaultOptions=function(){return Pz},e.prototype.changeData=function(t){var i=this.options,n=i.colorField,a=i.interactions,o=i.hierarchyConfig;this.updateOption({data:t});var s=Ph({data:t,colorField:n,enableDrillDown:wx(a,"treemap-drill-down"),hierarchyConfig:o});this.chart.changeData(s),Az(this.chart)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return Iz},e})(nt);var yr="id",Xu="path",Dz={appendPadding:[10,0,20,0],blendMode:"multiply",tooltip:{showTitle:!1,showMarkers:!1,fields:["id","size"],formatter:function(r){return{name:r.id,value:r.size}}},legend:{position:"top-left"},label:{style:{textAlign:"center",fill:"#fff"}},interactions:[{type:"legend-filter",enable:!1}],state:{active:{style:{stroke:"#000"}},selected:{style:{stroke:"#000",lineWidth:2}},inactive:{style:{fillOpacity:.3,strokeOpacity:.3}}},defaultInteractions:["tooltip","venn-legend-active"]};function ol(r){if(r){var e=r.geometries[0].elements;e.forEach(function(t){t.shape.toFront()})}}var Oz=zs("element-active"),Bz=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.syncElementsPos=function(){ol(this.context.view)},e.prototype.active=function(){r.prototype.active.call(this),this.syncElementsPos()},e.prototype.toggle=function(){r.prototype.toggle.call(this),this.syncElementsPos()},e.prototype.reset=function(){r.prototype.reset.call(this),this.syncElementsPos()},e}(Oz),Rz=zs("element-highlight"),zz=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.syncElementsPos=function(){ol(this.context.view)},e.prototype.highlight=function(){r.prototype.highlight.call(this),this.syncElementsPos()},e.prototype.toggle=function(){r.prototype.toggle.call(this),this.syncElementsPos()},e.prototype.clear=function(){r.prototype.clear.call(this),this.syncElementsPos()},e.prototype.reset=function(){r.prototype.reset.call(this),this.syncElementsPos()},e}(Rz),Nz=zs("element-selected"),Gz=zs("element-single-selected"),Vz=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.syncElementsPos=function(){ol(this.context.view)},e.prototype.selected=function(){r.prototype.selected.call(this),this.syncElementsPos()},e.prototype.toggle=function(){r.prototype.toggle.call(this),this.syncElementsPos()},e.prototype.reset=function(){r.prototype.reset.call(this),this.syncElementsPos()},e}(Nz),Yz=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.syncElementsPos=function(){ol(this.context.view)},e.prototype.selected=function(){r.prototype.selected.call(this),this.syncElementsPos()},e.prototype.toggle=function(){r.prototype.toggle.call(this),this.syncElementsPos()},e.prototype.reset=function(){r.prototype.reset.call(this),this.syncElementsPos()},e}(Gz);j("venn-element-active",Bz);j("venn-element-highlight",zz);j("venn-element-selected",Vz);j("venn-element-single-selected",Yz);it("venn-element-active",{start:[{trigger:"element:mouseenter",action:"venn-element-active:active"}],end:[{trigger:"element:mouseleave",action:"venn-element-active:reset"}]});it("venn-element-highlight",{start:[{trigger:"element:mouseenter",action:"venn-element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"venn-element-highlight:reset"}]});it("venn-element-selected",{start:[{trigger:"element:click",action:"venn-element-selected:toggle"}],rollback:[{trigger:"dblclick",action:["venn-element-selected:reset"]}]});it("venn-element-single-selected",{start:[{trigger:"element:click",action:"venn-element-single-selected:toggle"}],rollback:[{trigger:"dblclick",action:["venn-element-single-selected:reset"]}]});it("venn-legend-active",{start:[{trigger:"legend-item:mouseenter",action:["list-active:active","venn-element-active:active"]}],end:[{trigger:"legend-item:mouseleave",action:["list-active:reset","venn-element-active:reset"]}]});it("venn-legend-highlight",{start:[{trigger:"legend-item:mouseenter",action:["legend-item-highlight:highlight","venn-element-highlight:highlight"]}],end:[{trigger:"legend-item:mouseleave",action:["legend-item-highlight:reset","venn-element-highlight:reset"]}]});var $z=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getLabelPoint=function(t,i,n){var a=t.data,o=a.x,s=a.y,l=t.customLabelInfo,u=l.offsetX,c=l.offsetY;return{content:t.content[n],x:o+u,y:s+c}},e}(Ys);Da("venn",$z);var Qn=` +\v\f\r   ᠎              \u2028\u2029`,Hz=new RegExp("([a-z])["+Qn+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+Qn+"]*,?["+Qn+"]*)+)","ig"),Xz=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+Qn+"]*,?["+Qn+"]*","ig");function Wz(r){if(!r)return null;if(Wx(r))return r;var e={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},t=[];return String(r).replace(Hz,function(i,n,a){var o=[],s=n.toLowerCase();if(a.replace(Xz,function(l,u){u&&o.push(+u)}),s==="m"&&o.length>2&&(t.push([n].concat(o.splice(0,2))),s="l",n=n==="m"?"l":"L"),s==="o"&&o.length===1&&t.push([n,o[0]]),s==="r")t.push([n].concat(o));else for(;o.length>=e[s]&&(t.push([n].concat(o.splice(0,e[s]))),!!e[s]););return""}),t}function _z(r){return I({},r.defaultStyle,{fill:r.color},r.style)}ft("schema","venn",{draw:function(r,e){var t=r.data,i=Wz(t[Xu]),n=_z(r),a=e.addGroup({name:"venn-shape"});a.addShape("path",{attrs:m(m({},n),{path:i}),name:"venn-path"});var o=r.customInfo,s=o.offsetX,l=o.offsetY,u=ve.transform(null,[["t",s,l]]);return a.setMatrix(u),a},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{lineWidth:0,stroke:e,fill:e,r:4}}}});var qz=function(r){return function(e,t){var i=[];return i[0]=r(e[0],t[0]),i[1]=r(e[1],t[1]),i[2]=r(e[2],t[2]),i}},Kd={normal:function(r){return r},multiply:function(r,e){return r*e/255},screen:function(r,e){return 255*(1-(1-r/255)*(1-e/255))},overlay:function(r,e){return e<128?2*r*e/255:255*(1-2*(1-r/255)*(1-e/255))},darken:function(r,e){return r>e?e:r},lighten:function(r,e){return r>e?r:e},dodge:function(r,e){return r===255?255:(r=255*(e/255)/(1-r/255),r>255?255:r)},burn:function(r,e){return e===255?255:r===0?0:255*(1-Math.min(1,(1-e/255)/(r/255)))}},Uz=function(r){if(!Kd[r])throw new Error("unknown blend mode "+r);return Kd[r]};function jz(r,e,t){t===void 0&&(t="normal");var i=qz(Uz(t))(Mo(r),Mo(e)),n=Mo(r),a=n[0],o=n[1],s=n[2],l=n[3],u=Mo(e),c=u[0],h=u[1],f=u[2],v=u[3],d=Number((l+v*(1-l)).toFixed(2)),p=Math.round((l*(1-v)*(a/255)+l*v*(i[0]/255)+(1-l)*v*(c/255))/d*255),g=Math.round((l*(1-v)*(o/255)+l*v*(i[1]/255)+(1-l)*v*(h/255))/d*255),y=Math.round((l*(1-v)*(s/255)+l*v*(i[2]/255)+(1-l)*v*(f/255))/d*255);return"rgba(".concat(p,", ").concat(g,", ").concat(y,", ").concat(d,")")}function Mo(r){var e=r.replace("/s+/g",""),t;return typeof e=="string"&&!e.startsWith("rgba")&&!e.startsWith("#")?t=zr.rgb2arr(zr.toRGB(e)).concat([1]):(e.startsWith("rgba")&&(t=e.replace("rgba(","").replace(")","").split(",")),e.startsWith("#")&&(t=zr.rgb2arr(e).concat([1])),t.map(function(i,n){return n===3?Number(i):i|0}))}function Zz(r,e,t,i){i=i||{};var n=i.maxIterations||100,a=i.tolerance||1e-10,o=r(e),s=r(t),l=t-e;if(o*s>0)throw"Initial bisect points must have opposite signs";if(o===0)return e;if(s===0)return t;for(var u=0;u=0&&(e=c),Math.abs(l)=d[v-1].fx){var P=!1;if(w.fx>k.fx?(cr(S,1+c,b,-c,k),S.fx=r(S),S.fx=1)break;for(p=1;ps+a*n*l||u>=y)g=n;else{if(Math.abs(h)<=-o*l)return n;h*(g-p)>=0&&(g=p),p=n,y=u}return 0}for(var d=0;d<10;++d){if(cr(i.x,1,t.x,n,e),u=i.fx=r(i.x,i.fxprime),h=Ki(i.fxprime,e),u>s+a*n*l||d&&u>=c)return v(f,n,c);if(Math.abs(h)<=-o*l)return n;if(h>=0)return v(n,f,u);c=u,f=n,n*=2}return n}function Kz(r,e,t){var i={x:e.slice(),fx:0,fxprime:e.slice()},n={x:e.slice(),fx:0,fxprime:e.slice()},a=e.slice(),o,s,l=1,u;t=t||{},u=t.maxIterations||e.length*20,i.fx=r(i.x,i.fxprime),o=i.fxprime.slice(),qu(o,i.fxprime,-1);for(var c=0;c1){var l=Ax(i);for(o=0;o-1){var p=r[h.parentIndex[d]],g=Math.atan2(h.x-p.x,h.y-p.y),y=Math.atan2(c.x-p.x,c.y-p.y),x=y-g;x<0&&(x+=2*Math.PI);var b=y-x/2,w=Ge(f,{x:p.x+p.radius*Math.sin(b),y:p.y+p.radius*Math.cos(b)});w>p.radius*2&&(w=p.radius*2),(v===null||v.width>w)&&(v={circle:p,width:w,p1:h,p2:c})}v!==null&&(s.push(v),n+=Uu(v.circle.radius,v.width),c=h)}}else{var S=r[0];for(o=1;oMath.abs(S.radius-r[o].radius)){M=!0;break}M?n=a=0:(n=S.radius*S.radius*Math.PI,s.push({circle:S,p1:{x:S.x,y:S.y+S.radius},p2:{x:S.x-Sx,y:S.y+S.radius},width:S.radius*2}))}return a/=2,e&&(e.area=n+a,e.arcArea=n,e.polygonArea=a,e.arcs=s,e.innerPoints=i,e.intersectionPoints=t),n+a}function Jz(r,e){for(var t=0;te[t].radius+Sx)return!1;return!0}function tN(r){for(var e=[],t=0;t=r+e)return 0;if(t<=Math.abs(r-e))return Math.PI*Math.min(r,e)*Math.min(r,e);var i=r-(t*t-e*e+r*r)/(2*t),n=e-(t*t-r*r+e*e)/(2*t);return Uu(r,i)+Uu(e,n)}function Mx(r,e){var t=Ge(r,e),i=r.radius,n=e.radius;if(t>=i+n||t<=Math.abs(i-n))return[];var a=(i*i-n*n+t*t)/(2*t),o=Math.sqrt(i*i-a*a),s=r.x+a*(e.x-r.x)/t,l=r.y+a*(e.y-r.y)/t,u=-(e.y-r.y)*(o/t),c=-(e.x-r.x)*(o/t);return[{x:s+u,y:l-c},{x:s-u,y:l+c}]}function Ax(r){for(var e={x:0,y:0},t=0;t=o&&(a=t[i],o=s)}var l=bx(function(f){return-1*jl({x:f[0],y:f[1]},r,e)},[a.x,a.y],{maxIterations:500,minErrorDelta:1e-10}).x,u={x:l[0],y:l[1]},c=!0;for(i=0;ir[i].radius){c=!1;break}for(i=0;i0&&console.log("WARNING: area "+a+" not represented on screen")}return t}function iN(r,e,t){var i=[],n=r-t,a=e;return i.push("M",n,a),i.push("A",t,t,0,1,0,n+2*t,a),i.push("A",t,t,0,1,0,n,a),i.join(" ")}function nN(r){var e={};Dh(r,e);var t=e.arcs;if(t.length===0)return"M 0 0";if(t.length==1){var i=t[0].circle;return iN(i.x,i.y,i.radius)}else{for(var n=[` +M`,t[0].p2.x,t[0].p2.y],a=0;as;n.push(` +A`,s,s,0,l?1:0,1,o.p1.x,o.p1.y)}return n.join(" ")}}function aN(r,e){e=e||{},e.maxIterations=e.maxIterations||500;var t=e.initialLayout||uN,i=e.lossFunction||Oh;r=oN(r);var n=t(r,e),a=[],o=[],s;for(s in n)n.hasOwnProperty(s)&&(a.push(n[s].x),a.push(n[s].y),o.push(s));for(var l=bx(function(h){for(var f={},v=0;vu?1:-1}),i=0;i=Math.min(e[o].size,e[s].size)?h=1:a.size<=1e-10&&(h=-1),n[o][s]=n[s][o]=h}),{distances:i,constraints:n}}function lN(r,e,t,i){var n=0,a;for(a=0;a0&&d<=h||f<0&&d>=h||(n+=2*p*p,e[2*a]+=4*p*(o-u),e[2*a+1]+=4*p*(s-c),e[2*l]+=4*p*(u-o),e[2*l+1]+=4*p*(c-s))}return n}function uN(r,e){var t=hN(r,e),i=e.lossFunction||Oh;if(r.length>=8){var n=cN(r,e),a=i(n,r),o=i(t,r);a+1e-8=Math.min(i[c].size,i[h].size)&&(u=0),n[c].push({set:h,size:l.size,weight:u}),n[h].push({set:c,size:l.size,weight:u})}var f=[];for(a in n)if(n.hasOwnProperty(a)){for(var v=0,o=0;o=y.length)){var z=Math.max(O-h,0),V=O,U=Math.min(O+h,y.length-1),D=z-(O-h),N=O+h-U,W=w[-h-1+D]||0,$=w[-h-1+N]||0,Y=S/(S-W-$);D>0&&(F+=Y*(D-1)*M);var _=Math.max(0,O-h+1);a.inside(0,y.length-1,_)&&(y[_].y+=Y*1*M),a.inside(0,y.length-1,V+1)&&(y[V+1].y-=Y*2*M),a.inside(0,y.length-1,U+1)&&(y[U+1].y+=Y*1*M)}});var T=F,L=0,k=0;return y.forEach(function(P){L+=P.y,T+=L,P.y=T,k+=T}),k>0&&y.forEach(function(P){P.y/=k}),y};function s(l,u){for(var c={},h=0,f=-u;f<=u;f++)h+=l(f/u),c[f]=h;return c}r.exports.getExpectedValueFromPdf=function(l){if(!(!l||l.length===0)){var u=0;return l.forEach(function(c){u+=c.x*c.y}),u}},r.exports.getXWithLeftTailArea=function(l,u){if(!(!l||l.length===0)){for(var c=0,h=0,f=0;f=u));f++);return l[h].x}},r.exports.getPerplexity=function(l){if(!(!l||l.length===0)){var u=0;return l.forEach(function(c){var h=Math.log(c.y);isFinite(h)&&(u+=c.y*h)}),u=-u/i,Math.pow(2,u)}}})(Px);var DN=Px.exports;const ON=_x(DN);function tp(r,e){var t=r.length*e;if(r.length===0)throw new Error("quantile requires at least one data point.");if(e<0||e>1)throw new Error("quantiles must be between 0 and 1");return e===1?r[r.length-1]:e===0?r[0]:t%1!==0?r[Math.ceil(t)-1]:r.length%2===0?(r[t-1]+r[t])/2:r[t]}function Pn(r,e,t){var i=r[e];r[e]=r[t],r[t]=i}function Po(r,e,t,i){for(t=t||0,i=i||r.length-1;i>t;){if(i-t>600){var n=i-t+1,a=e-t+1,o=Math.log(n),s=.5*Math.exp(2*o/3),l=.5*Math.sqrt(o*s*(n-s)/n);a-n/2<0&&(l*=-1);var u=Math.max(t,Math.floor(e-a*s/n+l)),c=Math.min(i,Math.floor(e+(n-a)*s/n+l));Po(r,e,u,c)}var h=r[e],f=t,v=i;for(Pn(r,t,e),r[i]>h&&Pn(r,t,i);fh;)v--}r[t]===h?Pn(r,t,v):(v++,Pn(r,v,i)),v<=e&&(t=v+1),e<=v&&(i=v-1)}}function Dn(r,e){var t=r.slice();if(Array.isArray(e)){BN(t,e);for(var i=[],n=0;n0?c:h},g=I({},r,{options:{xField:n,yField:ke,seriesField:n,rawFields:[a,sl,Zu,ke],widthRatio:l,interval:{style:u,shape:v||"waterfall",color:p}}}),y=Zt(g).ext,x=y.geometry;return x.customInfo(m(m({},d),{leaderLine:s})),r}function KN(r){var e,t,i=r.options,n=i.xAxis,a=i.yAxis,o=i.xField,s=i.yField,l=i.meta,u=I({},{alias:s},A(l,s));return J(Lt((e={},e[o]=n,e[s]=a,e[ke]=a,e),I({},l,(t={},t[ke]=u,t[sl]=u,t[Rh]=u,t))))(r)}function JN(r){var e=r.chart,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return i===!1?e.axis(a,!1):e.axis(a,i),n===!1?(e.axis(o,!1),e.axis(ke,!1)):(e.axis(o,n),e.axis(ke,n)),r}function t5(r){var e=r.chart,t=r.options,i=t.legend,n=t.total,a=t.risingFill,o=t.fallingFill,s=t.locale,l=Us(s);if(i===!1)e.legend(!1);else{var u=[{name:l.get(["general","increase"]),value:"increase",marker:{symbol:"square",style:{r:5,fill:a}}},{name:l.get(["general","decrease"]),value:"decrease",marker:{symbol:"square",style:{r:5,fill:o}}}];n&&u.push({name:n.label||"",value:"total",marker:{symbol:"square",style:I({},{r:5},A(n,"style"))}}),e.legend(I({},{custom:!0,position:"top",items:u},i)),e.removeInteraction("legend-filter")}return r}function e5(r){var e=r.chart,t=r.options,i=t.label,n=t.labelMode,a=t.xField,o=jt(e,"interval");if(!i)o.label(!1);else{var s=i.callback,l=yt(i,["callback"]);o.label({fields:n==="absolute"?[Rh,a]:[sl,a],callback:s,cfg:Yt(l)})}return r}function r5(r){var e=r.chart,t=r.options,i=t.tooltip,n=t.xField,a=t.yField;if(i!==!1){e.tooltip(m({showCrosshairs:!1,showMarkers:!1,shared:!0,fields:[a]},i));var o=e.geometries[0];i!=null&&i.formatter?o.tooltip("".concat(n,"*").concat(a),i.formatter):o.tooltip(a)}else e.tooltip(!1);return r}function i5(r){return J(ZN,ut,QN,KN,JN,t5,r5,e5,Jr,At,xt,Et())(r)}(function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="waterfall",t}return e.getDefaultOptions=function(){return _N},e.prototype.changeData=function(t){var i=this.options,n=i.xField,a=i.yField,o=i.total;this.updateOption({data:t}),this.chart.changeData(zx(t,n,a,o))},e.prototype.getSchemaAdaptor=function(){return i5},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e})(nt);var zh="color",n5=I({},nt.getDefaultOptions(),{timeInterval:2e3,legend:!1,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!1,fields:["text","value",zh],formatter:function(r){return{name:r.text,value:r.value}}},wordStyle:{fontFamily:"Verdana",fontWeight:"normal",padding:1,fontSize:[12,60],rotation:[0,90],rotationSteps:2,rotateRatio:.5}}),a5={font:function(){return"serif"},padding:1,size:[500,500],spiral:"archimedean",timeInterval:3e3};function o5(r,e){return e=mt({},a5,e),s5(r,e)}function s5(r,e){var t=w5();["font","fontSize","fontWeight","padding","rotate","size","spiral","timeInterval","random"].forEach(function(l){B(e[l])||t[l](e[l])}),t.words(r),e.imageMask&&t.createMask(e.imageMask);var i=t.start(),n=i._tags;n.forEach(function(l){l.x+=e.size[0]/2,l.y+=e.size[1]/2});var a=e.size,o=a[0],s=a[1];return n.push({text:"",value:0,x:0,y:0,opacity:0}),n.push({text:"",value:0,x:o,y:s,opacity:0}),n}var Zl=Math.PI/180,Yn=64,Bo=2048;function l5(r){return r.text}function u5(){return"serif"}function ip(){return"normal"}function c5(r){return r.value}function h5(){return~~(Math.random()*2)*90}function f5(){return 1}function v5(r,e,t,i){if(!e.sprite){var n=r.context,a=r.ratio;n.clearRect(0,0,(Yn<<5)/a,Bo/a);var o=0,s=0,l=0,u=t.length;for(--i;++i>5<<5,h=~~Math.max(Math.abs(p+g),Math.abs(p-g))}else c=c+31>>5<<5;if(h>l&&(l=h),o+c>=Yn<<5&&(o=0,s+=l,l=0),s+h>=Bo)break;n.translate((o+(c>>1))/a,(s+(h>>1))/a),e.rotate&&n.rotate(e.rotate*Zl),n.fillText(e.text,0,0),e.padding&&(n.lineWidth=2*e.padding,n.strokeText(e.text,0,0)),n.restore(),e.width=c,e.height=h,e.xoff=o,e.yoff=s,e.x1=c>>1,e.y1=h>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,o+=c}for(var x=n.getImageData(0,0,(Yn<<5)/a,Bo/a).data,b=[];--i>=0;)if(e=t[i],!!e.hasText){for(var c=e.width,w=c>>5,h=e.y1-e.y0,S=0;S>5),k=x[(s+T)*(Yn<<5)+(o+S)<<2]?1<<31-S%32:0;b[L]|=k,M|=k}M?F=T:(e.y0++,h--,T--,s++)}e.y1=e.y0+F,e.sprite=b.slice(0,(e.y1-e.y0)*w)}}}function d5(r,e,t){t>>=5;for(var i=r.sprite,n=r.width>>5,a=r.x-(n<<4),o=a&127,s=32-o,l=r.y1-r.y0,u=(r.y+r.y0)*t+(a>>5),c,h=0;h>>o:0))&e[u+f])return!0;u+=t}return!1}function p5(r,e){var t=r[0],i=r[1];e.x+e.x0i.x&&(i.x=e.x+e.x1),e.y+e.y1>i.y&&(i.y=e.y+e.y1)}function g5(r,e){return r.x+r.x1>e[0].x&&r.x+r.x0e[0].y&&r.y+r.y0>5)*r[1]),w=l.length,S=[],M=l.map(function(k,P,O){return k.text=c.call(this,k,P,O),k.font=e.call(this,k,P,O),k.style=h.call(this,k,P,O),k.weight=i.call(this,k,P,O),k.rotate=n.call(this,k,P,O),k.size=~~t.call(this,k,P,O),k.padding=a.call(this,k,P,O),k}).sort(function(k,P){return P.size-k.size}),F=-1,T=v.board?[{x:0,y:0},{x:g,y}]:null;L();function L(){for(var k=Date.now();Date.now()-k>1,P.y=y*(s()+.5)>>1,v5(x,P,M,F),P.hasText&&p(b,P,T)&&(S.push(P),T?v.hasImage||p5(T,P):T=[{x:P.x+P.x0,y:P.y+P.y0},{x:P.x+P.x1,y:P.y+P.y1}],P.x-=r[0]>>1,P.y-=r[1]>>1)}v._tags=S,v._bounds=T}return v};function d(g){g.width=g.height=1;var y=Math.sqrt(g.getContext("2d",{willReadFrequently:!0}).getImageData(0,0,1,1).data.length>>2);g.width=(Yn<<5)/y,g.height=Bo/y;var x=g.getContext("2d",{willReadFrequently:!0});return x.fillStyle=x.strokeStyle="red",x.textAlign="center",{context:x,ratio:y}}function p(g,y,x){for(var b=y.x,w=y.y,S=Math.sqrt(r[0]*r[0]+r[1]*r[1]),M=o(r),F=s()<.5?1:-1,T,L=-F,k,P;(T=M(L+=F))&&(k=~~T[0],P=~~T[1],!(Math.min(Math.abs(k),Math.abs(P))>=S));)if(y.x=b+k,y.y=w+P,!(y.x+y.x0<0||y.y+y.y0<0||y.x+y.x1>r[0]||y.y+y.y1>r[1])&&(!x||!d5(y,g,r[0]))&&(!x||g5(y,x))){for(var O=y.sprite,z=y.width>>5,V=r[0]>>5,U=y.x-(z<<4),D=U&127,N=32-D,W=y.y1-y.y0,$=void 0,Y=(y.y+y.y0)*V+(U>>5),_=0;_>>D:0);Y+=V}return delete y.sprite,!0}return!1}return v.createMask=function(g){var y=document.createElement("canvas"),x=r[0],b=r[1];if(!(!x||!b)){var w=x>>5,S=np((x>>5)*b);y.width=x,y.height=b;var M=y.getContext("2d");M.drawImage(g,0,0,g.width,g.height,0,0,x,b);for(var F=M.getImageData(0,0,x,b).data,T=0;T>5),P=T*x+L<<2,O=F[P]>=250&&F[P+1]>=250&&F[P+2]>=250,z=O?1<<31-L%32:0;S[k]|=z}v.board=S,v.hasImage=!0}},v.timeInterval=function(g){u=g??1/0},v.words=function(g){l=g},v.size=function(g){r=[+g[0],+g[1]]},v.font=function(g){e=qe(g)},v.fontWeight=function(g){i=qe(g)},v.rotate=function(g){n=qe(g)},v.spiral=function(g){o=x5[g]||g},v.fontSize=function(g){t=qe(g)},v.padding=function(g){a=qe(g)},v.random=function(g){s=qe(g)},v}function Gx(r){var e=r.options,t=r.chart,i=t,n=i.width,a=i.height,o=i.padding,s=i.appendPadding,l=i.ele,u=e.data,c=e.imageMask,h=e.wordField,f=e.weightField,v=e.colorField,d=e.wordStyle,p=e.timeInterval,g=e.random,y=e.spiral,x=e.autoFit,b=x===void 0?!0:x,w=e.placementStrategy;if(!u||!u.length)return[];var S=d.fontFamily,M=d.fontWeight,F=d.padding,T=d.fontSize,L=A5(u,f),k=[E5(L),k5(L)],P=u.map(function(V){return{text:V[h],value:V[f],color:V[v],datum:V}}),O={imageMask:c,font:S,fontSize:M5(T,k),fontWeight:M,size:b5({width:n,height:a,padding:o,appendPadding:s,autoFit:b,container:l}),padding:F,timeInterval:p,random:g,spiral:y,rotate:F5(e)};if(X(w)){var z=P.map(function(V,U,D){return m(m(m({},V),{hasText:!!V.text,font:qe(O.font)(V,U,D),weight:qe(O.fontWeight)(V,U,D),rotate:qe(O.rotate)(V,U,D),size:qe(O.fontSize)(V,U,D),style:"normal"}),w.call(t,V,U,D))});return z.push({text:"",value:0,x:0,y:0,opacity:0}),z.push({text:"",value:0,x:O.size[0],y:O.size[1],opacity:0}),z}return o5(P,O)}function b5(r){var e=r.width,t=r.height,i=r.container,n=r.autoFit,a=r.padding,o=r.appendPadding;if(n){var s=Ru(i);e=s.width,t=s.height}e=e||400,t=t||400;var l=S5({padding:a,appendPadding:o}),u=l[0],c=l[1],h=l[2],f=l[3],v=[e-(f+c),t-(u+h)];return v}function S5(r){var e=Wr(r.padding),t=Wr(r.appendPadding),i=e[0]+t[0],n=e[1]+t[1],a=e[2]+t[2],o=e[3]+t[3];return[i,n,a,o]}function C5(r){return new Promise(function(e,t){if(r instanceof HTMLImageElement){e(r);return}if(Q(r)){var i=new Image;i.crossOrigin="anonymous",i.src=r,i.onload=function(){e(i)},i.onerror=function(){br($e.ERROR,!1,"image %s load failed !!!",r),t()};return}br($e.WARN,r===void 0,"The type of imageMask option must be String or HTMLImageElement."),t()})}function M5(r,e){if(X(r))return r;if(R(r)){var t=r[0],i=r[1];if(!e)return function(){return(i+t)/2};var n=e[0],a=e[1];return a===n?function(){return(i+t)/2}:function(s){var l=s.value;return(i-t)/(a-n)*(l-n)+t}}return function(){return r}}function A5(r,e){return r.map(function(t){return t[e]}).filter(function(t){return typeof t=="number"&&!isNaN(t)})}function F5(r){var e=T5(r),t=e.rotation,i=e.rotationSteps;if(!R(t))return t;var n=t[0],a=t[1],o=i===1?0:(a-n)/(i-1);return function(){return a===n?a:Math.floor(Math.random()*i)*o}}function T5(r){var e=r.wordStyle.rotationSteps;return e<1&&(br($e.WARN,!1,"The rotationSteps option must be greater than or equal to 1."),e=1),{rotation:r.wordStyle.rotation,rotationSteps:e}}function E5(r){return Math.min.apply(Math,r)}function k5(r){return Math.max.apply(Math,r)}function L5(r){var e=r.chart,t=r.options,i=t.colorField,n=t.color,a=Gx(r);e.data(a);var o=I({},r,{options:{xField:"x",yField:"y",seriesField:i&&zh,rawFields:X(n)&&Z(Z([],A(t,"rawFields",[]),!0),["datum"],!1),point:{color:n,shape:"word-cloud"}}}),s=Me(o).ext;return s.geometry.label(!1),e.coordinate().reflect("y"),e.axis(!1),r}function I5(r){return J(Lt({x:{nice:!1},y:{nice:!1}}))(r)}function P5(r){var e=r.chart,t=r.options,i=t.legend,n=t.colorField;return i===!1?e.legend(!1):n&&e.legend(zh,i),r}function D5(r){J(L5,I5,Nt,P5,At,xt,ut,Jr)(r)}ft("point","word-cloud",{draw:function(r,e){var t=r.x,i=r.y,n=e.addShape("text",{attrs:m(m({},O5(r)),{x:t,y:i})}),a=r.data.rotate;return typeof a=="number"&&ve.rotate(n,a*Math.PI/180),n}});function O5(r){return{fontSize:r.data.size,text:r.data.text,textAlign:"center",fontFamily:r.data.font,fontWeight:r.data.weight,fill:r.color||r.defaultStyle.stroke,textBaseline:"alphabetic"}}var V5=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="word-cloud",t}return e.getDefaultOptions=function(){return n5},e.prototype.changeData=function(t){this.updateOption({data:t}),this.options.imageMask?this.render():this.chart.changeData(Gx({chart:this.chart,options:this.options}))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.render=function(){var t=this;return new Promise(function(i){var n=t.options.imageMask;if(!n){r.prototype.render.call(t),i();return}var a=function(o){t.options=m(m({},t.options),{imageMask:o||null}),r.prototype.render.call(t),i()};C5(n).then(a).catch(a)})},e.prototype.getSchemaAdaptor=function(){return D5},e.prototype.triggerResize=function(){var t=this;this.chart.destroyed||(this.execAdaptor(),window.setTimeout(function(){r.prototype.triggerResize.call(t)}))},e}(nt);(function(r){E(e,r);function e(t,i,n,a){var o=r.call(this,t,I({},a,i))||this;return o.type="g2-plot",o.defaultOptions=a,o.adaptor=n,o}return e.prototype.getDefaultOptions=function(){return this.defaultOptions},e.prototype.getSchemaAdaptor=function(){return this.adaptor},e})(nt);$m("en-US",oL);$m("zh-CN",sL);export{hI as C,HI as G,JI as L,pP as P,mP as R,oD as T,V5 as W,cD as a,fP as b,N5 as c,G5 as d}; diff --git a/web/dist/assets/introduce-row-CuTtM03m.css b/web/dist/assets/introduce-row-CuTtM03m.css new file mode 100644 index 0000000..6cfa5be --- /dev/null +++ b/web/dist/assets/introduce-row-CuTtM03m.css @@ -0,0 +1 @@ +.chartCard[data-v-d45c7c26]{position:relative}.chartCard .chartTop[data-v-d45c7c26]{position:relative;width:100%;overflow:hidden}.chartCard .chartTopMargin[data-v-d45c7c26]{margin-bottom:12px}.chartCard .chartTopHasMargin[data-v-d45c7c26]{margin-bottom:20px}.chartCard .metaWrap[data-v-d45c7c26]{float:left}.chartCard .avatar[data-v-d45c7c26]{position:relative;top:4px;float:left;margin-right:20px}.chartCard .avatar img[data-v-d45c7c26]{border-radius:100%}.chartCard .meta[data-v-d45c7c26]{height:22px;font-size:14px;line-height:22px}.chartCard .action[data-v-d45c7c26]{position:absolute;top:4px;right:0;line-height:1;cursor:pointer}.chartCard .total[data-v-d45c7c26]{height:38px;margin-top:4px;margin-bottom:0;overflow:hidden;font-size:30px;line-height:38px;white-space:nowrap;text-overflow:ellipsis;word-break:break-all}.chartCard .content[data-v-d45c7c26]{position:relative;width:100%;margin-bottom:12px}.chartCard .contentFixed[data-v-d45c7c26]{position:absolute;bottom:0;left:0;width:100%}.chartCard .footer[data-v-d45c7c26]{margin-top:8px;padding-top:9px;border-top:1px solid var(--pro-ant-color-border)}.chartCard .footer[data-v-d45c7c26]>*{position:relative}.chartCard .footerMargin[data-v-d45c7c26]{margin-top:20px}.field[data-v-188539b8]{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.field .label[data-v-188539b8],.field .number[data-v-188539b8]{font-size:14px;line-height:22px}.field .number[data-v-188539b8]{margin-left:8px} diff --git a/web/dist/assets/introduce-row-mysvfOex.js b/web/dist/assets/introduce-row-mysvfOex.js new file mode 100644 index 0000000..6f747c7 --- /dev/null +++ b/web/dist/assets/introduce-row-mysvfOex.js @@ -0,0 +1 @@ +import{T as A,a as E,P as I}from"./index-sUMRYBhU.js";import{_ as N}from"./index-C-JhWVfG.js";import{ab as V,aw as g,t as z,a9 as D,aa as H}from"./antd-vtmm7CAy.js";import{a2 as B,a9 as R,aa as t,a4 as e,ad as d,S as m,ag as W,a3 as j,f as w,s as S,o as G,j as L,k as a,ar as v,as as h,u as y,G as b}from"./vue-Dl1fzmsf.js";import C from"./trend-DeLG38Nf.js";import"./vec2-4Cx-bOHg.js";const M={class:"chartCard"},O={class:"chartTop"},U={class:"metaWrap"},q={class:"meta"},J={class:"title"},K={class:"action"},Q={class:"total"},X={class:"contentFixed"},Y={class:"footer"},Z={__name:"chart-card",props:{loading:{type:Boolean,default:!1},bordered:{type:Boolean,default:!1},title:{type:String,default:""},total:{type:Number},contentHeight:{type:Number}},setup(n){const r=n;return(l,$)=>{const u=V;return B(),R(u,{bind:r,"body-style":{padding:"20px 24px 8px 24px"}},{default:t(()=>[e("div",M,[e("div",O,[e("div",U,[e("div",q,[e("span",J,d(n.title),1),e("span",K,[m(l.$slots,"action",{},void 0,!0)])]),e("div",Q,[m(l.$slots,"total",{},void 0,!0)])])]),e("div",{class:"content",style:W({height:`${n.contentHeight}px`||"auto"})},[e("div",X,[m(l.$slots,"default",{},void 0,!0)])],4),e("div",Y,[m(l.$slots,"footer",{},void 0,!0)])])]),_:3},8,["bind"])}}},x=N(Z,[["__scopeId","data-v-d45c7c26"]]),tt={class:"field"},et={class:"label"},at={class:"number"},ot={__name:"field",props:{label:{type:String,default:""},value:{type:String,default:""}},setup(n){return(r,l)=>(B(),j("div",tt,[e("span",et,d(n.label),1),e("span",at,d(n.value),1)]))}},T=N(ot,[["__scopeId","data-v-188539b8"]]),nt={style:{whiteSpace:"nowrap",overflow:"hidden"}},ct={__name:"introduce-row",props:{loading:{type:Boolean,default:!1}},setup(n){function r(i){return i.toLocaleString()}const l={xs:24,sm:12,md:12,lg:12,xl:6,style:{marginBottom:"24px"}},$=w(),u=w(),k=w(),F=[7,5,4,2,4,7,5,6,5,9,6,3,1,5,3,6,5],c=S(),f=S(),_=S();return G(()=>{var i,o,s;c.value=new A($.value,{height:46,data:F,smooth:!0,autoFit:!0,areaStyle:{fill:"l(270) 0:#ffffff 0.5:#d4bcf2 1:#975FE4"},line:{color:"#975FE4"}}),(i=c.value)==null||i.render(),f.value=new E(u.value,{height:46,autoFit:!0,data:F}),(o=f.value)==null||o.render(),_.value=new I(k.value,{height:46,autoFit:!0,percent:.78,barWidthRatio:.2,color:"#13C2C2"}),(s=_.value)==null||s.render()}),L(()=>{var i,o,s;(i=c.value)==null||i.destroy(),c.value=void 0,(o=f.value)==null||o.destroy(),f.value=void 0,(s=_.value)==null||s.destroy(),_.value=void 0}),(i,o)=>{const s=z,p=D,P=H;return B(),R(P,{gutter:24},{default:t(()=>[a(p,v(h({...l})),{default:t(()=>[a(x,{bordered:!1,title:"总销售额",loading:n.loading,"content-height":46},{action:t(()=>[a(s,{title:"指标说明"},{default:t(()=>[a(y(g))]),_:1})]),total:t(()=>[e("span",null,d(`¥${r(126560)}`),1)]),footer:t(()=>[a(T,{label:"日销售额",value:"¥12,423"})]),default:t(()=>[a(C,{flag:"up",style:{marginRight:"16px"}},{default:t(()=>o[0]||(o[0]=[b(" 周同比 "),e("span",{class:"trendText"},"12%",-1)])),_:1}),a(C,{flag:"down"},{default:t(()=>o[1]||(o[1]=[b(" 日同比 "),e("span",{class:"trendText"},"11%",-1)])),_:1})]),_:1},8,["loading"])]),_:1},16),a(p,v(h({...l})),{default:t(()=>[a(x,{bordered:!1,title:"访问量",loading:n.loading,"content-height":46},{action:t(()=>[a(s,{title:"指标说明"},{default:t(()=>[a(y(g))]),_:1})]),total:t(()=>[e("span",null,d(`${r(8846)}`),1)]),footer:t(()=>[a(T,{label:"日访问量",value:r(1234)},null,8,["value"])]),default:t(()=>[e("div",{ref_key:"tinyAreaContainer",ref:$},null,512)]),_:1},8,["loading"])]),_:1},16),a(p,v(h({...l})),{default:t(()=>[a(x,{bordered:!1,title:"支付笔数",loading:n.loading,"content-height":46},{action:t(()=>[a(s,{title:"指标说明"},{default:t(()=>[a(y(g))]),_:1})]),total:t(()=>[e("span",null,d(`${r(6560)}`),1)]),footer:t(()=>[a(T,{label:"转化率",value:"60%"})]),default:t(()=>[e("div",{ref_key:"tinyColumnContainer",ref:u},null,512)]),_:1},8,["loading"])]),_:1},16),a(p,v(h({...l})),{default:t(()=>[a(x,{bordered:!1,title:"运营活动效果",loading:n.loading,"content-height":46},{action:t(()=>[a(s,{title:"指标说明"},{default:t(()=>[a(y(g))]),_:1})]),total:t(()=>o[2]||(o[2]=[e("span",null,d("78%"),-1)])),footer:t(()=>[e("div",nt,[a(C,{flag:"up",style:{marginRight:"16px"}},{default:t(()=>o[3]||(o[3]=[b(" 周同比 "),e("span",{class:"trendText"},"12%",-1)])),_:1}),a(C,{flag:"down"},{default:t(()=>o[4]||(o[4]=[b(" 日同比 "),e("span",{class:"trendText"},"11%",-1)])),_:1})])]),default:t(()=>[e("div",{ref_key:"progressContainer",ref:k},null,512)]),_:1},8,["loading"])]),_:1},16)]),_:1})}}};export{ct as default}; diff --git a/web/dist/assets/loading-DRwZdXST.js b/web/dist/assets/loading-DRwZdXST.js new file mode 100644 index 0000000..76e2f59 --- /dev/null +++ b/web/dist/assets/loading-DRwZdXST.js @@ -0,0 +1 @@ +import{G as v}from"./index-C-JhWVfG.js";import{H as T,S as w,ab as B,av as z}from"./antd-vtmm7CAy.js";import{f as i,n as D,a2 as r,a3 as m,k as t,aa as a,m as S,u as d,G as u,F as $,aj as F,a9 as G,ad as H,H as N}from"./vue-Dl1fzmsf.js";const V={class:"loading-wrapper"},j=["loading-full"],A={__name:"loading",setup(E){const p=i(!1),c=i(!1),s=i(1e3),k=i(["pulse","rect","plane","cube","preloader","chase","dot"]);function g(o){c.value=o===2,p.value=!0,setTimeout(()=>{p.value=!1},2e3)}function y(o){const{open:e,close:n}=v({spin:o});e(),setTimeout(()=>{n()},2e3)}function b(){const{open:o,close:e}=v({minTime:s.value});o(),e()}return(o,e)=>{const n=T,f=w,_=B,C=z,x=D("loading");return r(),m("div",V,[t(_,{title:"指令方式加载loading",hoverable:!0,bordered:!1},{default:a(()=>[S((r(),m("div",{class:"relative w-full h-[150px]","loading-text":"自定义指令loading","loading-spin":"pulse","loading-full":d(c)},[t(f,{size:15},{default:a(()=>[t(n,{type:"primary",onClick:e[0]||(e[0]=l=>g(1))},{default:a(()=>e[3]||(e[3]=[u(" v-loading指令全屏 ")])),_:1}),t(n,{type:"primary",onClick:e[1]||(e[1]=l=>g(2))},{default:a(()=>e[4]||(e[4]=[u(" v-loading指令非全屏 ")])),_:1})]),_:1})],8,j)),[[x,d(p)]])]),_:1}),t(_,{title:"hook加载loading",hoverable:"",bordered:!1,style:{"margin-top":"15px"}},{default:a(()=>[t(f,{size:15},{default:a(()=>[(r(!0),m($,null,F(d(k),(l,L)=>(r(),G(n,{key:l,type:"primary",onClick:R=>y(l)},{default:a(()=>[u(" loading"+H(L+1),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1}),t(_,{title:"hooloading最小时长",hoverable:"",bordered:!1},{default:a(()=>[t(f,{size:15},{default:a(()=>[t(C,{value:d(s),"onUpdate:value":e[2]||(e[2]=l=>N(s)?s.value=l:null)},null,8,["value"]),t(n,{type:"primary",onClick:b},{default:a(()=>e[5]||(e[5]=[u(" 点击触发loading ")])),_:1})]),_:1})]),_:1})])}}};export{A as default}; diff --git a/web/dist/assets/login-C58B044v.css b/web/dist/assets/login-C58B044v.css new file mode 100644 index 0000000..3b77b09 --- /dev/null +++ b/web/dist/assets/login-C58B044v.css @@ -0,0 +1 @@ +.login-container[data-v-63571e16]{display:flex;flex-direction:column;height:100vh;overflow:auto;background:var(--bg-color-container)}.login-lang[data-v-63571e16]{height:40px;line-height:44px}.login-content[data-v-63571e16]{position:absolute;top:0;left:0;right:0;bottom:0}.ant-pro-form-login-container[data-v-63571e16]{display:flex;flex:1 1;flex-direction:column;height:100%;padding:32px 0;overflow:auto;background:inherit}.ant-pro-form-login-header a[data-v-63571e16]{text-decoration:none}.ant-pro-form-login-title[data-v-63571e16]{color:var(--text-color);font-weight:600;font-size:33px;line-height:1}.ant-pro-form-login-logo[data-v-63571e16]{width:44px;height:44px;margin-right:16px;vertical-align:top}.ant-pro-form-login-desc[data-v-63571e16]{color:var(--text-color-1);font-size:14px;margin-left:16px}.ant-pro-form-login-main-right .ant-tabs-nav-list[data-v-63571e16]{margin:0 auto;font-size:16px}.ant-pro-form-login-main-right .ant-pro-form-login-other[data-v-63571e16]{line-height:22px;text-align:center}.ant-pro-form-login-main[data-v-63571e16]{box-shadow:var(--c-shadow)}.icon[data-v-63571e16]{margin-left:8px;color:var(--text-color-2);font-size:24px;vertical-align:middle;cursor:pointer;transition:color .3s}.icon[data-v-63571e16]:hover{color:var(--pro-ant-color-primary)}@media (min-width: 992px){.ant-pro-form-login-main-left[data-v-63571e16]{width:700px}}@media (min-width: 768px) and (max-width: 991px){.ant-pro-login-divider[data-v-63571e16]{display:none}.ant-pro-form-login-main[data-v-63571e16]{width:400px}.ant-pro-form-login-main-left[data-v-63571e16]{display:none}.ant-pro-form-login-main-right[data-v-63571e16]{width:100%}.ant-pro-form-login-desc[data-v-63571e16]{display:none}}@media screen and (max-width: 767px){.ant-pro-form-login-main[data-v-63571e16]{width:350px}.ant-pro-form-login-main-left[data-v-63571e16]{display:none}.ant-pro-form-login-main-right[data-v-63571e16]{width:100%}.ant-pro-form-login-desc[data-v-63571e16],.ant-pro-login-divider[data-v-63571e16]{display:none}} diff --git a/web/dist/assets/login-DCz8WVZ8.js b/web/dist/assets/login-DCz8WVZ8.js new file mode 100644 index 0000000..96af4f3 --- /dev/null +++ b/web/dist/assets/login-DCz8WVZ8.js @@ -0,0 +1 @@ +var ae=Object.defineProperty;var re=(l,a,c)=>a in l?ae(l,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[a]=c;var v=(l,a,c)=>re(l,typeof a!="symbol"?a+"":a,c);import{_ as ie,b as le,a as ce}from"./index-O-XgQvxy.js";import{_ as I,j as de,k as ue,u as pe,m as me,f as ge,n as _e,g as he,A as fe}from"./index-C-JhWVfG.js";import{a2 as p,a3 as f,a4 as n,V as ve,r as we,s as k,f as be,am as xe,o as ye,u as e,j as ke,ad as g,a9 as $,k as o,aa as d,ae as M,F as C,G as z,ac as $e}from"./vue-Dl1fzmsf.js";import{_ as Me}from"./logo-Ft4BtHHg.js";import{Q as Ce,F as ze,V as Le,U as qe,W as V,X as Ae,Y as Te,Z as Ee,$ as Pe,K as Fe,T as Ie,G as Ue,a0 as Be,a1 as Ne,a2 as Re,H as Se,a3 as Ve}from"./antd-vtmm7CAy.js";var We=async(l=0)=>new Promise(a=>{const c=setTimeout(()=>{a(!0),clearTimeout(c)},l)});const He={name:"CarbonSun"},je={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 32 32"};function Oe(l,a,c,_,m,L){return p(),f("svg",je,a[0]||(a[0]=[n("path",{fill:"currentColor",d:"M16 12.005a4 4 0 1 1-4 4a4.005 4.005 0 0 1 4-4m0-2a6 6 0 1 0 6 6a6 6 0 0 0-6-6ZM5.394 6.813L6.81 5.399l3.505 3.506L8.9 10.319zM2 15.005h5v2H2zm3.394 10.193L8.9 21.692l1.414 1.414l-3.505 3.506zM15 25.005h2v5h-2zm6.687-1.9l1.414-1.414l3.506 3.506l-1.414 1.414zm3.313-8.1h5v2h-5zm-3.313-6.101l3.506-3.506l1.414 1.414l-3.506 3.506zM15 2.005h2v5h-2z"},null,-1)]))}const Ye=I(He,[["render",Oe]]),Ze={name:"CarbonMoon"},De={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 32 32"};function Ge(l,a,c,_,m,L){return p(),f("svg",De,a[0]||(a[0]=[n("path",{fill:"currentColor",d:"M13.502 5.414a15.075 15.075 0 0 0 11.594 18.194a11.113 11.113 0 0 1-7.975 3.39c-.138 0-.278.005-.418 0a11.094 11.094 0 0 1-3.2-21.584M14.98 3a1.002 1.002 0 0 0-.175.016a13.096 13.096 0 0 0 1.825 25.981c.164.006.328 0 .49 0a13.072 13.072 0 0 0 10.703-5.555a1.01 1.01 0 0 0-.783-1.565A13.08 13.08 0 0 1 15.89 4.38A1.015 1.015 0 0 0 14.98 3Z"},null,-1)]))}const Ke=I(Ze,[["render",Ge]]),Qe="/assets/login-left-YYnMV6bm.png";function Xe(l){return de("/v1/login",l,{token:!1,customDev:!1,loading:!0})}function Je(l,a=""){var m;const c=((m=ue.currentRoute.value)==null?void 0:m.query)??{},_=Ce(c,l)??a;return decodeURIComponent(_)}const t={width:0,height:0,canvas:null,ctx:null,circles:[],animate:!0,requestId:null},et=function(l){if(!t||!l)throw new Error("no canvasInstance");t.width=window.innerWidth,t.height=window.innerHeight,t.canvas=l,t.canvas.width=t.width,t.canvas.height=t.height,t.ctx=t.canvas.getContext("2d"),t.circles=[];for(let a=0;at.height)}function O(){t.width=window.innerWidth,t.height=window.innerHeight,t.canvas.width=t.width,t.canvas.height=t.height}function Y(){if(t.animate){t.ctx.clearRect(0,0,t.width,t.height);for(const l in t.circles)t.circles[l].draw()}t.requestId=requestAnimationFrame(Y)}class tt{constructor(){v(this,"pos");v(this,"alpha");v(this,"scale");v(this,"velocity");v(this,"draw");this.pos={x:Math.random()*t.width,y:t.height+Math.random()*100},this.alpha=.1+Math.random()*.3,this.scale=.1+Math.random()*.3,this.velocity=Math.random();const a=Math.random()*255,c=Math.random()*255,_=Math.random()*255;this.draw=function(){this.pos.y-=this.velocity,this.alpha-=5e-4,t.ctx.beginPath(),t.ctx.arc(this.pos.x,this.pos.y,this.scale*10,0,2*Math.PI,!1),t.ctx.fillStyle=`rgba(${a},${c},${_},${this.alpha})`,t.ctx.fill()}}}function ot(){window.addEventListener("scroll",j),window.addEventListener("resize",O)}function st(){window.removeEventListener("scroll",j),window.removeEventListener("resize",O),cancelAnimationFrame(t.requestId)}const W={init:et,removeListeners:st},nt={class:"login-container"},at={"h-screen":"","w-screen":"",absolute:"","z-10":""},rt={class:"login-content flex-center"},it={class:"ant-pro-form-login-main rounded"},lt={class:"flex-between h-15 px-4 mb-[2px]"},ct={class:"flex-end"},dt={class:"ant-pro-form-login-desc"},ut={class:"login-lang flex-center relative z-11"},pt={class:"box-border flex min-h-[520px]"},mt={class:"ant-pro-form-login-main-right px-5 w-[335px] flex-center flex-col relative z-11"},gt={class:"text-center py-6 text-2xl"},_t={flex:"","items-center":""},ht={class:"mb-24px flex-between"},ft={class:"text-slate-500"},vt={class:"ant-pro-form-login-other"},wt=["data-theme"],H=60,bt={__name:"login",setup(l){const a=pe(),c=me(),_=ge(),{layoutSetting:m}=ve(_),L=$e(),Z=_e(),r=we({username:void 0,password:void 0,mobile:void 0,code:void 0,type:"account",remember:!0}),{t:i}=he(),q=k(),x=k(!1),A=k(!1),T=k(!1),U=be(),{counter:D,pause:G,reset:K,resume:Q,isActive:B}=xe(1e3,{controls:!0,immediate:!1,callback(h){h&&h===H&&G()}});async function X(){x.value=!0;try{await q.value.validate(["mobile"]),setTimeout(()=>{K(),Q(),x.value=!1,a.success("验证码是:123456")},3e3)}catch{x.value=!1}}async function w(){var h;A.value=!0;try{await((h=q.value)==null?void 0:h.validate());let s;r.type==="account"?s={username:r.username,password:r.password}:s={mobile:r.mobile,code:r.code,type:"mobile"};const{data:b}=await Xe(s);Z.value=b==null?void 0:b.accessToken,c.success({message:"登录成功",description:"欢迎回来!",duration:3});const E=Je("redirect","/");L.push({path:E,replace:!0})}catch(s){s instanceof fe&&(T.value=!0),A.value=!1}}return ye(async()=>{await We(300),W.init(e(U))}),ke(()=>{W.removeListeners()}),(h,s)=>{const b=Ke,E=Ye,J=le,P=ze,N=Fe,ee=Ie,R=Ue,F=Be,y=Ne,te=Re,S=Se,oe=Ve,se=Le,ne=ce;return p(),f("div",nt,[n("div",at,[n("canvas",{ref_key:"bubbleCanvas",ref:U},null,512)]),n("div",rt,[n("div",it,[n("div",lt,[n("div",ct,[s[7]||(s[7]=n("span",{class:"ant-pro-form-login-logo"},[n("img",{"w-full":"","h-full":"","object-cover":"",src:Me})],-1)),s[8]||(s[8]=n("span",{class:"ant-pro-form-login-title"}," N-Admin ",-1)),n("span",dt,g(e(i)("pages.layouts.userLayout.title")),1)]),n("div",ut,[n("span",{class:"flex-center cursor-pointer text-16px",onClick:s[0]||(s[0]=u=>e(_).toggleTheme(e(m).theme==="dark"?"light":"dark"))},[e(m).theme==="light"?(p(),$(b,{key:0})):(p(),$(E,{key:1}))]),o(J)])]),o(P,{"m-0":""}),n("div",pt,[s[9]||(s[9]=n("div",{class:"ant-pro-form-login-main-left min-h-[520px] flex-center bg-[var(--bg-color-container)]"},[n("img",{src:Qe,class:"h-5/6 w-5/6"})],-1)),o(P,{"m-0":"",type:"vertical",class:"ant-pro-login-divider min-h-[520px]"}),n("div",mt,[n("div",gt,g(e(i)("pages.login.tips")),1),o(se,{ref_key:"formRef",ref:q,model:e(r)},{default:d(()=>[o(ee,{"active-key":e(r).type,"onUpdate:activeKey":s[1]||(s[1]=u=>e(r).type=u),centered:""},{default:d(()=>[o(N,{key:"account",tab:e(i)("pages.login.accountLogin.tab")},null,8,["tab"]),o(N,{key:"mobile",tab:e(i)("pages.login.phoneLogin.tab")},null,8,["tab"])]),_:1},8,["active-key"]),e(T)&&e(r).type==="account"?(p(),$(R,{key:0,"mb-24px":"",message:e(i)("pages.login.accountLogin.errorMessage"),type:"error","show-icon":""},null,8,["message"])):M("",!0),e(T)&&e(r).type==="mobile"?(p(),$(R,{key:1,"mb-24px":"",message:e(i)("pages.login.phoneLogin.errorMessage"),type:"error","show-icon":""},null,8,["message"])):M("",!0),e(r).type==="account"?(p(),f(C,{key:2},[o(y,{name:"username",rules:[{required:!0,message:e(i)("pages.login.username.required")}]},{default:d(()=>[o(F,{value:e(r).username,"onUpdate:value":s[2]||(s[2]=u=>e(r).username=u),"allow-clear":"",autocomplete:"off",placeholder:e(i)("pages.login.username.placeholder"),size:"large",onPressEnter:w},{prefix:d(()=>[o(e(qe))]),_:1},8,["value","placeholder"])]),_:1},8,["rules"]),o(y,{name:"password",rules:[{required:!0,message:e(i)("pages.login.password.required")}]},{default:d(()=>[o(te,{value:e(r).password,"onUpdate:value":s[3]||(s[3]=u=>e(r).password=u),"allow-clear":"",placeholder:e(i)("pages.login.password.placeholder"),size:"large",onPressEnter:w},{prefix:d(()=>[o(e(V))]),_:1},8,["value","placeholder"])]),_:1},8,["rules"])],64)):M("",!0),e(r).type==="mobile"?(p(),f(C,{key:3},[o(y,{name:"mobile",rules:[{required:!0,message:e(i)("pages.login.phoneNumber.required")},{pattern:/^(86)?1([38][0-9]|4[579]|5[0-35-9]|6[6]|7[0135678]|9[89])[0-9]{8}$/,message:e(i)("pages.login.phoneNumber.invalid")}]},{default:d(()=>[o(F,{value:e(r).mobile,"onUpdate:value":s[4]||(s[4]=u=>e(r).mobile=u),"allow-clear":"",placeholder:e(i)("pages.login.phoneNumber.placeholder"),size:"large",onPressEnter:w},{prefix:d(()=>[o(e(Ae))]),_:1},8,["value","placeholder"])]),_:1},8,["rules"]),o(y,{name:"code",rules:[{required:!0,message:e(i)("pages.login.captcha.required")}]},{default:d(()=>[n("div",_t,[o(F,{value:e(r).code,"onUpdate:value":s[5]||(s[5]=u=>e(r).code=u),style:{flex:"1 1 0%",transition:"width 0.3s ease 0s","margin-right":"8px"},"allow-clear":"",placeholder:e(i)("pages.login.captcha.placeholder"),size:"large",onPressEnter:w},{prefix:d(()=>[o(e(V))]),_:1},8,["value","placeholder"]),o(S,{loading:e(x),disabled:e(B),size:"large",onClick:X},{default:d(()=>[e(B)?(p(),f(C,{key:1},[z(g(H-e(D))+" "+g(e(i)("pages.getCaptchaSecondText")),1)],64)):(p(),f(C,{key:0},[z(g(e(i)("pages.login.phoneLogin.getVerificationCode")),1)],64))]),_:1},8,["loading","disabled"])])]),_:1},8,["rules"])],64)):M("",!0),n("div",ht,[o(oe,{checked:e(r).remember,"onUpdate:checked":s[6]||(s[6]=u=>e(r).remember=u)},{default:d(()=>[z(g(e(i)("pages.login.rememberMe")),1)]),_:1},8,["checked"]),n("a",null,g(e(i)("pages.login.forgotPassword")),1)]),o(S,{type:"primary",block:"",loading:e(A),size:"large",onClick:w},{default:d(()=>[z(g(e(i)("pages.login.submit")),1)]),_:1},8,["loading"])]),_:1},8,["model"]),o(P,null,{default:d(()=>[n("span",ft,g(e(i)("pages.login.loginWith")),1)]),_:1}),n("div",vt,[o(e(Te),{class:"icon"}),o(e(Ee),{class:"icon"}),o(e(Pe),{class:"icon"})])])])])]),n("div",{"py-24px":"","px-50px":"",fixed:"","bottom-0":"","z-11":"","w-screen":"","data-theme":e(m).theme,"text-14px":""},[o(ie,{copyright:e(m).copyright,icp:"京ICP备123456789号-1"},{renderFooterLinks:d(()=>[o(ne)]),_:1},8,["copyright"])],8,wt)])}}},zt=I(bt,[["__scopeId","data-v-63571e16"]]);export{zt as default}; diff --git a/web/dist/assets/login-left-YYnMV6bm.png b/web/dist/assets/login-left-YYnMV6bm.png new file mode 100644 index 0000000..e679f77 Binary files /dev/null and b/web/dist/assets/login-left-YYnMV6bm.png differ diff --git a/web/dist/assets/logo-Ft4BtHHg.js b/web/dist/assets/logo-Ft4BtHHg.js new file mode 100644 index 0000000..8390197 --- /dev/null +++ b/web/dist/assets/logo-Ft4BtHHg.js @@ -0,0 +1 @@ +const o="/logo.svg";export{o as _}; diff --git a/web/dist/assets/menu-Ba7hgb9_.js b/web/dist/assets/menu-Ba7hgb9_.js new file mode 100644 index 0000000..8ab2bf9 --- /dev/null +++ b/web/dist/assets/menu-Ba7hgb9_.js @@ -0,0 +1 @@ +import{_ as ge}from"./index-1DQ9lz7_.js";import{I as R,a7 as he,R as ke,a8 as ye,B as Ie,H as we,t as Ce,M as be,D as xe,a3 as Ae,ac as Ue,ab as Me,S as Te,ae as Se,a0 as Le,a1 as Oe,a9 as Be,aa as De,u as ze,v as Re,V as Ve,n as qe}from"./antd-vtmm7CAy.js";import{u as Ne,y as je,z as Fe,B as $e,a as G,C as Ee}from"./index-C-JhWVfG.js";import{s as V,r as K,f as C,c as J,w as He,o as Pe,a2 as v,a9 as U,aa as a,k as t,u as o,G as c,H as Q,a3 as M,ae as T,a4 as S,ai as W,ad as X,F as Ge,aj as Ke}from"./vue-Dl1fzmsf.js";import"./context-Dawj80bg.js";const Je={key:0,flex:"","gap-2":""},Qe=["onClick"],We=["onClick"],Xe=["onClick"],Ye={key:1,"gap-2":""},Ze={style:{"margin-left":"5px"}},st={__name:"menu",setup(et){const Y=Object.keys(R).filter(l=>!(l==="default"||l==="getTwoToneColor"||l==="setTwoToneColor"||l==="createFromIconfontCN")),g=Ne(),L=V([{title:"#",dataIndex:"id",width:150},{title:"菜单标题",dataIndex:"title",width:150},{title:"组件路径",dataIndex:"component",width:200},{title:"路由标识",dataIndex:"name"},{title:"路由",dataIndex:"path",width:100},{title:"重定向地址",dataIndex:"redirect",width:200},{title:"url",dataIndex:"url",width:200},{title:"权重",dataIndex:"weight",width:80},{title:"更新时间",dataIndex:"updatedAt",width:200},{title:"操作",dataIndex:"action",width:200}]),Z={title:[{required:!0,message:"please enter title"}],component:[{required:!0,message:"please enter component"}],parentId:[{required:!0,message:"please enter parentId"}],name:[{required:!0,message:"Please enter name"}],url:[{required:!0,message:"please enter url"}],path:[{required:!0,message:"Please select an path"}]},b=V(!1),O=V([]),s=K({id:0,parentId:0,weight:0,parentTitle:"根菜单",path:"",name:"",title:"",component:"",locale:"",icon:"",redirect:"",url:"",keepAlive:!1,hideInMenu:!1}),q=()=>{Object.assign(s,{id:0,parentId:0,weight:0,parentTitle:"根菜单",path:"",name:"",title:"",component:"",locale:"",icon:"",redirect:"",url:"",keepAlive:!1,hideInMenu:!1})},y=C(["large"]),ee=C([{key:"large",label:"默认",title:"默认"},{key:"middle",label:"中等",title:"中等"},{key:"small",label:"紧凑",title:"紧凑"}]),I=C(!1),te=J(()=>L.value.map(l=>l.dataIndex==="action"?{label:l.title,value:l.dataIndex,disabled:!0}:{label:l.title,value:l.dataIndex})),ae=l=>{const e=new Map;l.forEach(d=>e.set(d.id,{...d}));const i=[];return l.forEach(d=>{const h=e.get(d.id);if(h.key=h.id,d.parentId===0||!e.has(d.parentId))i.push(h);else{const m=e.get(d.parentId);m&&(m.children||(m.children=[]),m.children.push(h))}}),i},B=C(!1),f=J(()=>L.value.map(l=>l.dataIndex)),u=K({indeterminate:!1,checkAll:!0,checkList:f.value});async function x(){if(!b.value){b.value=!0;try{const{data:l}=await je({});O.value=ae(l.list)??[]}catch(l){console.log(l)}finally{b.value=!1}}}async function N(){await x()}async function ne(){const l=g.loading("提交中......");try{let e={};s.weight=Number(s.weight),s.id>0?e=await Fe({...s}):e=await $e({...s}),e.code===0&&(await x(),await G().generateDynamicRoutes(),I.value=!1,s.id>0?g.success("更新成功"):g.success("创建成功"))}catch(e){console.log(e)}finally{l()}}async function j(l){q(),l.id&&(s.parentId=l.id,s.parentTitle=l.title),I.value=!0}async function le(l){q(),Object.assign(s,l);let e=O.value.find(i=>i.id===l.parentId);s.parentTitle=e?e.title:"根菜单",I.value=!0}async function oe(l){if(l.children&&l.children.length>0){g.error("存在子节点,不允许删除");return}const e=g.loading("删除中......");try{(await Ee({id:l.id})).code===0&&(await x(),await G().generateDynamicRoutes(),g.success("删除成功"))}catch(i){console.log(i)}finally{e()}}function se(){I.value=!1,N()}function ie(l){y.value[0]=l.key}function A(l){return L.value.filter(e=>!!l.includes(e.dataIndex))}const w=C(A(f.value));function de(l){Object.assign(u,{checkList:l.target.checked?f.value:[],indeterminate:!0}),w.value=l.target.checked?A(f.value):w.value.filter(e=>e.dataIndex==="action")}He(()=>u.checkList,l=>{u.indeterminate=!!l.length&&l.length{x()}),(l,e)=>{const i=we,d=Ce,h=be,m=xe,pe=Ae,ce=Ue,F=Me,$=Te,fe=Se,_=Le,r=Oe,p=Be,E=De,k=ze,D=Re,_e=Ve,ve=qe,me=ge;return v(),U(me,null,{default:a(()=>[t(F,{title:"菜单列表"},{extra:a(()=>[t($,{size:"middle"},{default:a(()=>[t(i,{type:"primary",onClick:j},{icon:a(()=>[t(o(he))]),default:a(()=>[e[15]||(e[15]=c(" 添加根菜单 "))]),_:1}),t(d,{title:"刷新"},{default:a(()=>[t(o(ke),{onClick:N})]),_:1}),t(d,{title:"密度"},{default:a(()=>[t(m,{trigger:"click"},{overlay:a(()=>[t(h,{"selected-keys":o(y),"onUpdate:selectedKeys":e[0]||(e[0]=n=>Q(y)?y.value=n:null),items:o(ee),onClick:ie},null,8,["selected-keys","items"])]),default:a(()=>[t(o(ye))]),_:1})]),_:1}),t(d,{title:"列设置"},{default:a(()=>[t(m,{open:o(B),"onUpdate:open":e[3]||(e[3]=n=>Q(B)?B.value=n:null),trigger:"click"},{overlay:a(()=>[t(F,null,{title:a(()=>[t(pe,{checked:o(u).checkAll,"onUpdate:checked":e[1]||(e[1]=n=>o(u).checkAll=n),indeterminate:o(u).indeterminate,onChange:de},{default:a(()=>e[16]||(e[16]=[c(" 列选择 ")])),_:1},8,["checked","indeterminate"])]),extra:a(()=>[t(i,{type:"link",onClick:ue},{default:a(()=>e[17]||(e[17]=[c(" 重置 ")])),_:1})]),default:a(()=>[t(ce,{value:o(u).checkList,"onUpdate:value":e[2]||(e[2]=n=>o(u).checkList=n),options:o(te),style:{display:"flex","flex-direction":"column"},onChange:re},null,8,["value","options"])]),_:1})]),default:a(()=>[t(o(Ie))]),_:1},8,["open"])]),_:1})]),_:1})]),default:a(()=>[t(fe,{loading:o(b),columns:o(w),pagination:!1,"data-source":o(O),size:o(y)[0],"expand-column-width":100},{bodyCell:a(n=>{var z,H;return[((z=n==null?void 0:n.column)==null?void 0:z.dataIndex)==="action"?(v(),M("div",Je,[n!=null&&n.record.parentId?T("",!0):(v(),M("a",{key:0,onClick:P=>j(n==null?void 0:n.record)}," 添加子菜单 ",8,Qe)),S("a",{onClick:P=>le(n==null?void 0:n.record)}," 编辑 ",8,We),S("a",{"c-error":"",onClick:P=>oe(n==null?void 0:n.record)}," 删除 ",8,Xe)])):T("",!0),((H=n==null?void 0:n.column)==null?void 0:H.dataIndex)==="title"?(v(),M("div",Ye,[n.record.icon?(v(),U(W(R[n.record.icon]),{key:0})):T("",!0),c(" "+X(n.record.title),1)])):T("",!0)]}),_:1},8,["loading","columns","data-source","size"])]),_:1}),t(ve,{title:o(s).id>0?"编辑":"添加"+(o(s).parentId>0?"子菜单":"菜单"),width:720,open:o(I),"body-style":{paddingBottom:"80px"},"footer-style":{textAlign:"right"},onClose:se},{extra:a(()=>[t($,null,{default:a(()=>[t(i,{onClick:l.onClose},{default:a(()=>e[23]||(e[23]=[c("取消")])),_:1},8,["onClick"]),t(i,{type:"primary",onClick:ne},{default:a(()=>e[24]||(e[24]=[c("提交")])),_:1})]),_:1})]),default:a(()=>[t(_e,{model:o(s),rules:Z,layout:"vertical"},{default:a(()=>[t(E,{gutter:16},{default:a(()=>[t(p,{span:12},{default:a(()=>[t(r,{label:"组件路径",name:"component"},{default:a(()=>[t(_,{value:o(s).component,"onUpdate:value":e[4]||(e[4]=n=>o(s).component=n),placeholder:"例:/dashboard/analysis"},null,8,["value"])]),_:1})]),_:1}),t(p,{span:12},{default:a(()=>[t(r,{label:"路由地址",name:"path"},{default:a(()=>[t(_,{value:o(s).path,"onUpdate:value":e[5]||(e[5]=n=>o(s).path=n),placeholder:"例:/dashboard/analysis"},null,8,["value"])]),_:1})]),_:1})]),_:1}),t(E,{gutter:16},{default:a(()=>[t(p,{span:12},{default:a(()=>[t(r,{label:"菜单标题",name:"title"},{default:a(()=>[t(_,{value:o(s).title,"onUpdate:value":e[6]||(e[6]=n=>o(s).title=n),placeholder:"例:分析页"},null,8,["value"])]),_:1})]),_:1}),t(p,{span:12},{default:a(()=>[t(r,{label:"路由标识",name:"name"},{default:a(()=>[t(_,{value:o(s).name,"onUpdate:value":e[7]||(e[7]=n=>o(s).name=n),placeholder:"例:DashboardAnalysis"},null,8,["value"])]),_:1})]),_:1}),t(p,{span:12},{default:a(()=>[t(r,{label:"父级菜单",name:"parentId"},{default:a(()=>[t(_,{disabled:"",value:o(s).parentTitle,"onUpdate:value":e[8]||(e[8]=n=>o(s).parentTitle=n)},null,8,["value"]),t(_,{style:{display:"none"},value:o(s).parentId,"onUpdate:value":e[9]||(e[9]=n=>o(s).parentId=n)},null,8,["value"])]),_:1})]),_:1}),t(p,{span:12},{default:a(()=>[t(r,{label:"图标",name:"icon"},{default:a(()=>[t(D,{value:o(s).icon,"onUpdate:value":e[10]||(e[10]=n=>o(s).icon=n)},{default:a(()=>[t(k,{value:""},{default:a(()=>e[18]||(e[18]=[S("span",{style:{"margin-left":"5px"}},"无图标",-1)])),_:1}),(v(!0),M(Ge,null,Ke(o(Y),(n,z)=>(v(),U(k,{value:n},{default:a(()=>[(v(),U(W(R[n]))),S("span",Ze,X(n),1)]),_:2},1032,["value"]))),256))]),_:1},8,["value"])]),_:1})]),_:1}),t(p,{span:12},{default:a(()=>[t(r,{label:"是否保活",name:"keepAlive"},{default:a(()=>[t(D,{value:o(s).keepAlive,"onUpdate:value":e[11]||(e[11]=n=>o(s).keepAlive=n),placeholder:""},{default:a(()=>[t(k,{value:!0},{default:a(()=>e[19]||(e[19]=[c("是")])),_:1}),t(k,{value:!1},{default:a(()=>e[20]||(e[20]=[c("否")])),_:1})]),_:1},8,["value"])]),_:1})]),_:1}),t(p,{span:12},{default:a(()=>[t(r,{label:"是否隐藏",name:"hideInMenu"},{default:a(()=>[t(D,{value:o(s).hideInMenu,"onUpdate:value":e[12]||(e[12]=n=>o(s).hideInMenu=n),placeholder:""},{default:a(()=>[t(k,{value:!0},{default:a(()=>e[21]||(e[21]=[c("是")])),_:1}),t(k,{value:!1},{default:a(()=>e[22]||(e[22]=[c("否")])),_:1})]),_:1},8,["value"])]),_:1})]),_:1}),t(p,{span:12},{default:a(()=>[t(r,{label:"排序权重",name:"weight"},{default:a(()=>[t(_,{type:"number",value:o(s).weight,"onUpdate:value":e[13]||(e[13]=n=>o(s).weight=n),placeholder:"权重越大越靠前"},null,8,["value"])]),_:1})]),_:1}),t(p,{span:12},{default:a(()=>[t(r,{label:"多语言标识",name:"locale"},{default:a(()=>[t(_,{value:o(s).locale,"onUpdate:value":e[14]||(e[14]=n=>o(s).locale=n),placeholder:"置空则使用菜单标题"},null,8,["value"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["title","open"])]),_:1})}}};export{st as default}; diff --git a/web/dist/assets/menu1-BUzVyx-R.js b/web/dist/assets/menu1-BUzVyx-R.js new file mode 100644 index 0000000..f4d431f --- /dev/null +++ b/web/dist/assets/menu1-BUzVyx-R.js @@ -0,0 +1 @@ +import{_ as o}from"./index-C-JhWVfG.js";import{a0 as n}from"./antd-vtmm7CAy.js";import{a2 as r,a3 as a,G as s,k as c}from"./vue-Dl1fzmsf.js";const m={};function _(p,e){const t=n;return r(),a("div",null,[e[0]||(e[0]=s(" Menu1 ")),c(t)])}const d=o(m,[["render",_]]);export{d as default}; diff --git a/web/dist/assets/menu1-CZJbf7uc.js b/web/dist/assets/menu1-CZJbf7uc.js new file mode 100644 index 0000000..7448f43 --- /dev/null +++ b/web/dist/assets/menu1-CZJbf7uc.js @@ -0,0 +1 @@ +import{_ as o}from"./index-C-JhWVfG.js";import{a0 as n}from"./antd-vtmm7CAy.js";import{a2 as r,a3 as a,G as s,k as c}from"./vue-Dl1fzmsf.js";const m={};function _(p,e){const t=n;return r(),a("div",null,[e[0]||(e[0]=s(" Menu2-1-1 ")),c(t)])}const d=o(m,[["render",_]]);export{d as default}; diff --git a/web/dist/assets/menu1-ETi5yJxK.js b/web/dist/assets/menu1-ETi5yJxK.js new file mode 100644 index 0000000..3cb2477 --- /dev/null +++ b/web/dist/assets/menu1-ETi5yJxK.js @@ -0,0 +1 @@ +import{_ as o}from"./index-C-JhWVfG.js";import{a0 as n}from"./antd-vtmm7CAy.js";import{a2 as r,a3 as a,G as s,k as c}from"./vue-Dl1fzmsf.js";const m={};function _(p,e){const t=n;return r(),a("div",null,[e[0]||(e[0]=s(" Menu1-1-1 ")),c(t)])}const d=o(m,[["render",_]]);export{d as default}; diff --git a/web/dist/assets/menu2-Cb1gxo7Q.js b/web/dist/assets/menu2-Cb1gxo7Q.js new file mode 100644 index 0000000..df9cb0b --- /dev/null +++ b/web/dist/assets/menu2-Cb1gxo7Q.js @@ -0,0 +1 @@ +import{_ as o}from"./index-C-JhWVfG.js";import{a0 as n}from"./antd-vtmm7CAy.js";import{a2 as r,a3 as a,G as s,k as c}from"./vue-Dl1fzmsf.js";const m={};function _(p,e){const t=n;return r(),a("div",null,[e[0]||(e[0]=s(" Menu1-1-2 ")),c(t)])}const d=o(m,[["render",_]]);export{d as default}; diff --git a/web/dist/assets/menu2-Cy4sVEZM.js b/web/dist/assets/menu2-Cy4sVEZM.js new file mode 100644 index 0000000..bee223c --- /dev/null +++ b/web/dist/assets/menu2-Cy4sVEZM.js @@ -0,0 +1 @@ +import{_ as o}from"./index-C-JhWVfG.js";import{a0 as n}from"./antd-vtmm7CAy.js";import{a2 as r,a3 as a,G as s,k as c}from"./vue-Dl1fzmsf.js";const m={};function _(p,e){const t=n;return r(),a("div",null,[e[0]||(e[0]=s(" Menu2-1-2 ")),c(t)])}const d=o(m,[["render",_]]);export{d as default}; diff --git a/web/dist/assets/menu2-krQF60os.js b/web/dist/assets/menu2-krQF60os.js new file mode 100644 index 0000000..f1b6a4d --- /dev/null +++ b/web/dist/assets/menu2-krQF60os.js @@ -0,0 +1 @@ +import{_ as o}from"./index-C-JhWVfG.js";import{a0 as n}from"./antd-vtmm7CAy.js";import{a2 as r,a3 as a,G as s,k as c}from"./vue-Dl1fzmsf.js";const m={};function _(p,e){const t=n;return r(),a("div",null,[e[0]||(e[0]=s(" Menu2 ")),c(t)])}const d=o(m,[["render",_]]);export{d as default}; diff --git a/web/dist/assets/number-info-2AVVFvRU.css b/web/dist/assets/number-info-2AVVFvRU.css new file mode 100644 index 0000000..e4461fc --- /dev/null +++ b/web/dist/assets/number-info-2AVVFvRU.css @@ -0,0 +1 @@ +.numberInfo .suffix[data-v-e8866e00]{margin-left:4px;color:var(--text-color);font-size:16px;font-style:normal}.numberInfo .numberInfoSubTitle[data-v-e8866e00]{height:22px;overflow:hidden;font-size:14px;line-height:22px;white-space:nowrap;text-overflow:ellipsis;word-break:break-all}.numberInfo .numberInfoValue[data-v-e8866e00]{margin-top:4px;overflow:hidden;font-size:0;white-space:nowrap;text-overflow:ellipsis;word-break:break-all}.numberInfo .numberInfoValue>span[data-v-e8866e00]{display:inline-block;height:32px;margin-right:32px;font-size:24px;line-height:32px}.numberInfo .numberInfoValue .subTotal[data-v-e8866e00]{margin-right:0;font-size:16px;vertical-align:top}.numberInfo .numberInfoValue .subTotal .anticon[data-v-e8866e00]{margin-left:4px;font-size:12px;transform:scale(.82)}.numberInfo .numberInfoValue .subTotal[data-v-e8866e00] .anticon-caret-up{color:#f5222d}.numberInfo .numberInfoValue .subTotal[data-v-e8866e00] .anticon-caret-down{color:#52c41a}.numberInfolight .numberInfoValue>span[data-v-e8866e00]{color:var(--text-color)} diff --git a/web/dist/assets/number-info-D_kSTq0O.js b/web/dist/assets/number-info-D_kSTq0O.js new file mode 100644 index 0000000..d472333 --- /dev/null +++ b/web/dist/assets/number-info-D_kSTq0O.js @@ -0,0 +1 @@ +import{_ as r}from"./index-C-JhWVfG.js";import{ax as c,ay as m}from"./antd-vtmm7CAy.js";import{a2 as e,a3 as o,a4 as a,ad as s,S as d,G as b,a9 as l,u,ae as f,ag as y}from"./vue-Dl1fzmsf.js";const g={class:"numberInfo"},S=["title"],T={class:"numberInfoSubTitle"},N={key:0,class:"subTotal"},k={__name:"number-info",props:{gap:{type:Number},subTotal:{type:Number},total:{type:[Number,String]},status:{type:String},title:{type:String}},setup(t){return(i,p)=>{var n;return e(),o("div",g,[a("div",{class:"numberInfoTitle",title:t.title},s(t.title),9,S),a("div",T,[d(i.$slots,"subTitle",{},void 0,!0)]),a("div",{class:"numberInfoValue",style:y(t.gap?{marginTop:t.gap}:{})},[a("span",null,s((n=t.total)==null?void 0:n.toLocaleString()),1),t.status||t.subTotal?(e(),o("span",N,[b(s(t.subTotal)+" ",1),t.status&&t.status==="up"?(e(),l(u(c),{key:0})):(e(),l(u(m),{key:1}))])):f("",!0)],4)])}}},x=r(k,[["__scopeId","data-v-e8866e00"]]);export{x as default}; diff --git a/web/dist/assets/offline-data-pclN1ie8.js b/web/dist/assets/offline-data-pclN1ie8.js new file mode 100644 index 0000000..ee2d9b2 --- /dev/null +++ b/web/dist/assets/offline-data-pclN1ie8.js @@ -0,0 +1 @@ +import x from"./number-info-D_kSTq0O.js";import{R as h,L as b}from"./index-sUMRYBhU.js";import{f as u,o as v,a2 as p,a3 as c,a9 as S,aa as e,k as a,u as k,H as C,F as D,aj as F,G as T,ad as w,a4 as B}from"./vue-Dl1fzmsf.js";import{_ as N}from"./index-C-JhWVfG.js";import{a9 as R,aa as $,K as E,T as K,ab as L}from"./antd-vtmm7CAy.js";import"./vec2-4Cx-bOHg.js";const V={__name:"custom-ring-progress",props:{percent:{type:Number,default:0}},setup(o){const t=o,n=u();return v(()=>{new h(n.value,{height:60,width:60,autoFit:!0,percent:t.percent,innerRadius:.7,color:["#fab120","#E8EDF3"],statistic:{content:!1}}).render()}),(s,d)=>(p(),c("div",{ref_key:"container",ref:n},null,512))}},A={__name:"custom-line",props:{offlineChartData:{type:Array}},setup(o){const t=o,n=u();return v(()=>{new b(n.value,{data:t.offlineChartData,padding:"auto",xField:"date",yField:"value",xAxis:{tickCount:5},seriesField:"type",legend:{position:"top"},slider:{start:.1,end:.5}}).render()}),(s,d)=>(p(),c("div",{ref_key:"container",ref:n},null,512))}},I={style:{padding:"0 24px"}},j={__name:"offline-data",props:{loading:{type:Boolean,default:!1}},setup(o){const t=u();function n(){}const s=[{name:"Stores 0",cvr:.9},{name:"Stores 1",cvr:.9},{name:"Stores 2",cvr:.2},{name:"Stores 3",cvr:.1},{name:"Stores 4",cvr:.1},{name:"Stores 5",cvr:.2},{name:"Stores 6",cvr:.3},{name:"Stores 7",cvr:.7},{name:"Stores 8",cvr:.9},{name:"Stores 9",cvr:.6}],d=[{date:"03:26",type:"客流量",value:36},{date:"03:26",type:"支付笔数",value:53},{date:"03:56",type:"客流量",value:98},{date:"03:56",type:"支付笔数",value:31},{date:"04:26",type:"客流量",value:62},{date:"04:26",type:"支付笔数",value:109},{date:"04:56",type:"客流量",value:76},{date:"04:56",type:"支付笔数",value:11},{date:"05:26",type:"客流量",value:39},{date:"05:26",type:"支付笔数",value:56},{date:"05:56",type:"客流量",value:52},{date:"05:56",type:"支付笔数",value:98},{date:"06:26",type:"客流量",value:29},{date:"06:26",type:"支付笔数",value:101},{date:"06:56",type:"客流量",value:10},{date:"06:56",type:"支付笔数",value:13},{date:"07:26",type:"客流量",value:29},{date:"07:26",type:"支付笔数",value:62},{date:"07:56",type:"客流量",value:70},{date:"07:56",type:"支付笔数",value:20},{date:"08:26",type:"客流量",value:21},{date:"08:26",type:"支付笔数",value:41},{date:"08:56",type:"客流量",value:86},{date:"08:56",type:"支付笔数",value:104},{date:"09:26",type:"客流量",value:91},{date:"09:26",type:"支付笔数",value:76},{date:"09:56",type:"客流量",value:31},{date:"09:56",type:"支付笔数",value:72},{date:"10:26",type:"客流量",value:14},{date:"10:26",type:"支付笔数",value:37},{date:"10:56",type:"客流量",value:45},{date:"10:56",type:"支付笔数",value:106},{date:"11:26",type:"客流量",value:31},{date:"11:26",type:"支付笔数",value:69},{date:"11:56",type:"客流量",value:99},{date:"11:56",type:"支付笔数",value:103},{date:"12:26",type:"客流量",value:49},{date:"12:26",type:"支付笔数",value:33},{date:"12:56",type:"客流量",value:86},{date:"12:56",type:"支付笔数",value:23}];return(G,l)=>{const i=R,y=$,_=E,f=K,m=L;return p(),S(m,{loading:o.loading,class:"offlineCard",bordered:!1,style:{marginTop:"32px"}},{default:e(()=>[a(f,{"active-key":k(t),"onUpdate:activeKey":l[0]||(l[0]=r=>C(t)?t.value=r:null),onChange:n},{default:e(()=>[(p(),c(D,null,F(s,(r,g)=>a(_,{key:g},{tab:e(()=>[a(y,{gutter:8,style:{width:"138px",margin:"8px 0"}},{default:e(()=>[a(i,{span:12},{default:e(()=>[a(x,{title:r.name,gap:2,total:`${r.cvr*100}%`},{subTitle:e(()=>l[1]||(l[1]=[T(w("转化率"))])),_:2},1032,["title","total"])]),_:2},1024),a(i,{span:12,style:{paddingTop:"36px"}},{default:e(()=>[a(V,{percent:r.cvr},null,8,["percent"])]),_:2},1024)]),_:2},1024)]),default:e(()=>[B("div",I,[a(A,{"offline-chart-data":d})])]),_:2},1024)),64))]),_:1},8,["active-key"])]),_:1},8,["loading"])}}},z=N(j,[["__scopeId","data-v-a72f50ea"]]);export{z as default}; diff --git a/web/dist/assets/offline-data-wjyv_JXp.css b/web/dist/assets/offline-data-wjyv_JXp.css new file mode 100644 index 0000000..69b3d42 --- /dev/null +++ b/web/dist/assets/offline-data-wjyv_JXp.css @@ -0,0 +1 @@ +.offlineCard[data-v-a72f50ea] .ant-tabs-ink-bar{bottom:auto}.offlineCard[data-v-a72f50ea] .ant-tabs-bar{border-bottom:none}.offlineCard[data-v-a72f50ea] .ant-tabs-nav-container-scrolling{padding-right:40px;padding-left:40px}.offlineCard[data-v-a72f50ea] .ant-tabs-tab-prev-icon:before{position:relative;left:6px}.offlineCard[data-v-a72f50ea] .ant-tabs-tab-next-icon:before{position:relative;right:6px} diff --git a/web/dist/assets/projects-SGpPzyB3.js b/web/dist/assets/projects-SGpPzyB3.js new file mode 100644 index 0000000..ed94999 --- /dev/null +++ b/web/dist/assets/projects-SGpPzyB3.js @@ -0,0 +1 @@ +import{_ as j}from"./category-KW2cQk4I.js";import{bl as h,al as v,c as u,bm as y,ab as z,x as _,y as q}from"./antd-vtmm7CAy.js";import{a2 as o,a3 as n,k as t,a4 as a,aa as e,F as B,aj as k,a9 as x}from"./vue-Dl1fzmsf.js";const C={class:"mt-4"},f=["src"],A={class:"h-44px"},W={class:"flex h-20px mt-16px mb--4px line-height-20px justify-between"},P={__name:"projects",setup(I){const i=[{id:"fake-list-0",owner:"付小小",title:"Alipay",avatar:"https://gw.alipayobjects.com/zos/rmsportal/WdGqmHpayyMjiEhcKoVE.png",cover:"https://gw.alipayobjects.com/zos/rmsportal/uMfMFlvUuceEyPpotzlq.png",status:"active",percent:77,logo:"https://gw.alipayobjects.com/zos/rmsportal/WdGqmHpayyMjiEhcKoVE.png",href:"https://ant.design",updatedAt:1693311806623,createdAt:1693311806623,subDescription:"那是一种内在的东西, 他们到达不了,也无法触及的",description:"在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。",activeUser:151434,newUser:1224,star:168,like:114,message:14,content:"段落示意:蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。",members:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/ZiESqWwCXBRQoaPONSJe.png",name:"曲丽丽",id:"member1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/tBOxZPlITHqwlGjsJWaF.png",name:"王昭君",id:"member2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/sBxjgqiuHMGRkIjqlQCd.png",name:"董娜娜",id:"member3"}]},{id:"fake-list-1",owner:"曲丽丽",title:"Angular",avatar:"https://gw.alipayobjects.com/zos/rmsportal/zOsKZmFRdUtvpqCImOVY.png",cover:"https://gw.alipayobjects.com/zos/rmsportal/iZBVOIhGJiAnhplqjvZW.png",status:"exception",percent:92,logo:"https://gw.alipayobjects.com/zos/rmsportal/zOsKZmFRdUtvpqCImOVY.png",href:"https://ant.design",updatedAt:1693304606623,createdAt:1693304606623,subDescription:"希望是一个好东西,也许是最好的,好东西是不会消亡的",description:"在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。",activeUser:127745,newUser:1714,star:158,like:133,message:19,content:"段落示意:蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。",members:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/ZiESqWwCXBRQoaPONSJe.png",name:"曲丽丽",id:"member1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/tBOxZPlITHqwlGjsJWaF.png",name:"王昭君",id:"member2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/sBxjgqiuHMGRkIjqlQCd.png",name:"董娜娜",id:"member3"}]},{id:"fake-list-2",owner:"林东东",title:"Ant Design",avatar:"https://gw.alipayobjects.com/zos/rmsportal/dURIMkkrRFpPgTuzkwnB.png",cover:"https://gw.alipayobjects.com/zos/rmsportal/iXjVmWVHbCJAyqvDxdtx.png",status:"normal",percent:62,logo:"https://gw.alipayobjects.com/zos/rmsportal/dURIMkkrRFpPgTuzkwnB.png",href:"https://ant.design",updatedAt:1693297406623,createdAt:1693297406623,subDescription:"生命就像一盒巧克力,结果往往出人意料",description:"在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。",activeUser:163034,newUser:1139,star:129,like:141,message:15,content:"段落示意:蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。",members:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/ZiESqWwCXBRQoaPONSJe.png",name:"曲丽丽",id:"member1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/tBOxZPlITHqwlGjsJWaF.png",name:"王昭君",id:"member2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/sBxjgqiuHMGRkIjqlQCd.png",name:"董娜娜",id:"member3"}]},{id:"fake-list-3",owner:"周星星",title:"Ant Design Pro",avatar:"https://gw.alipayobjects.com/zos/rmsportal/sfjbOqnsXXJgNCjCzDBL.png",cover:"https://gw.alipayobjects.com/zos/rmsportal/gLaIAoVWTtLbBWZNYEMg.png",status:"active",percent:96,logo:"https://gw.alipayobjects.com/zos/rmsportal/sfjbOqnsXXJgNCjCzDBL.png",href:"https://ant.design",updatedAt:1693290206623,createdAt:1693290206623,subDescription:"城镇中有那么多的酒馆,她却偏偏走进了我的酒馆",description:"在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。",activeUser:129450,newUser:1222,star:191,like:169,message:14,content:"段落示意:蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。",members:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/ZiESqWwCXBRQoaPONSJe.png",name:"曲丽丽",id:"member1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/tBOxZPlITHqwlGjsJWaF.png",name:"王昭君",id:"member2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/sBxjgqiuHMGRkIjqlQCd.png",name:"董娜娜",id:"member3"}]},{id:"fake-list-4",owner:"吴加好",title:"Bootstrap",avatar:"https://gw.alipayobjects.com/zos/rmsportal/siCrBXXhmvTQGWPNLBow.png",cover:"https://gw.alipayobjects.com/zos/rmsportal/gLaIAoVWTtLbBWZNYEMg.png",status:"exception",percent:71,logo:"https://gw.alipayobjects.com/zos/rmsportal/siCrBXXhmvTQGWPNLBow.png",href:"https://ant.design",updatedAt:1693283006623,createdAt:1693283006623,subDescription:"那时候我只会想自己想要什么,从不想自己拥有什么",description:"在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。",activeUser:157918,newUser:1827,star:120,like:134,message:17,content:"段落示意:蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。",members:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/ZiESqWwCXBRQoaPONSJe.png",name:"曲丽丽",id:"member1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/tBOxZPlITHqwlGjsJWaF.png",name:"王昭君",id:"member2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/sBxjgqiuHMGRkIjqlQCd.png",name:"董娜娜",id:"member3"}]},{id:"fake-list-5",owner:"朱偏右",title:"React",avatar:"https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png",cover:"https://gw.alipayobjects.com/zos/rmsportal/iXjVmWVHbCJAyqvDxdtx.png",status:"normal",percent:79,logo:"https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png",href:"https://ant.design",updatedAt:1693275806623,createdAt:1693275806623,subDescription:"那是一种内在的东西, 他们到达不了,也无法触及的",description:"在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。",activeUser:187255,newUser:1645,star:200,like:198,message:15,content:"段落示意:蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。",members:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/ZiESqWwCXBRQoaPONSJe.png",name:"曲丽丽",id:"member1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/tBOxZPlITHqwlGjsJWaF.png",name:"王昭君",id:"member2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/sBxjgqiuHMGRkIjqlQCd.png",name:"董娜娜",id:"member3"}]},{id:"fake-list-6",owner:"鱼酱",title:"Vue",avatar:"https://gw.alipayobjects.com/zos/rmsportal/ComBAopevLwENQdKWiIn.png",cover:"https://gw.alipayobjects.com/zos/rmsportal/iZBVOIhGJiAnhplqjvZW.png",status:"active",percent:88,logo:"https://gw.alipayobjects.com/zos/rmsportal/ComBAopevLwENQdKWiIn.png",href:"https://ant.design",updatedAt:1693268606623,createdAt:1693268606623,subDescription:"希望是一个好东西,也许是最好的,好东西是不会消亡的",description:"在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。",activeUser:137325,newUser:1106,star:123,like:155,message:19,content:"段落示意:蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。",members:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/ZiESqWwCXBRQoaPONSJe.png",name:"曲丽丽",id:"member1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/tBOxZPlITHqwlGjsJWaF.png",name:"王昭君",id:"member2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/sBxjgqiuHMGRkIjqlQCd.png",name:"董娜娜",id:"member3"}]},{id:"fake-list-7",owner:"乐哥",title:"Webpack",avatar:"https://gw.alipayobjects.com/zos/rmsportal/nxkuOJlFJuAUhzlMTCEe.png",cover:"https://gw.alipayobjects.com/zos/rmsportal/uMfMFlvUuceEyPpotzlq.png",status:"exception",percent:86,logo:"https://gw.alipayobjects.com/zos/rmsportal/nxkuOJlFJuAUhzlMTCEe.png",href:"https://ant.design",updatedAt:1693261406623,createdAt:1693261406623,subDescription:"生命就像一盒巧克力,结果往往出人意料",description:"在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。",activeUser:194936,newUser:1036,star:133,like:175,message:11,content:"段落示意:蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。",members:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/ZiESqWwCXBRQoaPONSJe.png",name:"曲丽丽",id:"member1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/tBOxZPlITHqwlGjsJWaF.png",name:"王昭君",id:"member2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/sBxjgqiuHMGRkIjqlQCd.png",name:"董娜娜",id:"member3"}]}];return(Z,r)=>{const m=h,c=v,l=u,g=y,d=z,b=_,w=q;return o(),n("div",null,[t(j),a("div",C,[t(w,{"data-source":i,grid:{gutter:16,xs:1,sm:2,md:4,lg:4,xl:4,xxl:4}},{renderItem:e(({item:s})=>[t(b,{style:{padding:"0"}},{default:e(()=>[t(d,{hoverable:""},{cover:e(()=>[a("img",{src:s.cover},null,8,f)]),default:e(()=>[t(c,{title:s.title},{description:e(()=>[a("div",A,[t(m,{ellipsis:{rows:2},content:s.subDescription},null,8,["content"])])]),_:2},1032,["title"]),a("div",W,[r[0]||(r[0]=a("span",{"c-text-tertiary":""},"19 分钟前",-1)),a("div",null,[t(g,null,{default:e(()=>[(o(!0),n(B,null,k(s.members,p=>(o(),x(l,{key:p.id,src:p.avatar,size:22},null,8,["src"]))),128))]),_:2},1024)])])]),_:2},1024)]),_:2},1024)]),_:1})])])}}};export{P as default}; diff --git a/web/dist/assets/proportion-sales-CCHgKvZu.css b/web/dist/assets/proportion-sales-CCHgKvZu.css new file mode 100644 index 0000000..8d66a4d --- /dev/null +++ b/web/dist/assets/proportion-sales-CCHgKvZu.css @@ -0,0 +1 @@ +.salesCardExtra[data-v-19053afe]{height:inherit}.salesTypeRadio[data-v-19053afe]{position:absolute;right:54px;bottom:12px}.salesCard[data-v-19053afe] .ant-card-head{position:relative} diff --git a/web/dist/assets/proportion-sales-d0M_xNbH.js b/web/dist/assets/proportion-sales-d0M_xNbH.js new file mode 100644 index 0000000..e67103e --- /dev/null +++ b/web/dist/assets/proportion-sales-d0M_xNbH.js @@ -0,0 +1 @@ +import{f as u,s as P,o as R,b as S,a2 as E,a9 as M,aa as a,a4 as o,k as t,G as s,u as i,m as y,A as c}from"./vue-Dl1fzmsf.js";import{b as N}from"./index-sUMRYBhU.js";import{_ as O}from"./index-C-JhWVfG.js";import{ak as V,e as $,M as A,D as F,az as z,aA as G,aB as I,ab as L}from"./antd-vtmm7CAy.js";import"./vec2-4Cx-bOHg.js";const U={class:"salesCardExtra"},j={class:"salesTypeRadio"},q={__name:"proportion-sales",props:{loading:{type:Boolean,default:!1}},setup(g){const l=u("all"),m=u(),x=u(),v=u();function C(n){l.value=n.target.value}const _=P([]);function p(n,e){const r=new N(n,{appendPadding:10,data:e,angleField:"y",colorField:"x",radius:1,innerRadius:.6,label:{type:"spider",formatter:d=>`${d.x}: ${d.y.toLocaleString()}`},legend:!1,interactions:[{type:"element-selected"},{type:"element-active"}],statistic:{title:{content:"销售额"}}});r.render(),_.value.push(r)}const T=[{x:"家用电器",y:4544},{x:"食用酒水",y:3321},{x:"个护健康",y:3113},{x:"服饰箱包",y:2341},{x:"母婴产品",y:1231},{x:"其他",y:1231}],b=[{x:"家用电器",y:244},{x:"食用酒水",y:321},{x:"个护健康",y:311},{x:"服饰箱包",y:41},{x:"母婴产品",y:121},{x:"其他",y:111}],k=[{x:"家用电器",y:99},{x:"食用酒水",y:188},{x:"个护健康",y:344},{x:"服饰箱包",y:255},{x:"其他",y:65}];return R(()=>{p(m.value,T),p(x.value,b),p(v.value,k)}),S(()=>{_.value.forEach(n=>{var e;(e=n==null?void 0:n.destroy)==null||e.call(n)}),_.value=[]}),(n,e)=>{const r=$,d=A,w=F,f=z,D=G,B=I,h=L;return E(),M(h,{loading:g.loading,class:"salesCard",bordered:!1,title:"销售额类别占比",style:{height:"100%"}},{extra:a(()=>[o("div",U,[t(w,{placement:"bottomRight"},{overlay:a(()=>[t(d,null,{default:a(()=>[t(r,null,{default:a(()=>e[0]||(e[0]=[s("操作一")])),_:1}),t(r,null,{default:a(()=>e[1]||(e[1]=[s("操作二")])),_:1})]),_:1})]),default:a(()=>[t(i(V))]),_:1}),o("div",j,[t(D,{value:i(l),onChange:C},{default:a(()=>[t(f,{value:"all"},{default:a(()=>e[2]||(e[2]=[s(" 全部渠道 ")])),_:1}),t(f,{value:"online"},{default:a(()=>e[3]||(e[3]=[s(" 线上 ")])),_:1}),t(f,{value:"stores"},{default:a(()=>e[4]||(e[4]=[s(" 门店 ")])),_:1})]),_:1},8,["value"])])])]),default:a(()=>[o("div",null,[t(B,null,{default:a(()=>e[5]||(e[5]=[s("销售额")])),_:1}),y(o("div",{ref_key:"pieContainer1",ref:m},null,512),[[c,i(l)==="all"]]),y(o("div",{ref_key:"pieContainer2",ref:x},null,512),[[c,i(l)==="online"]]),y(o("div",{ref_key:"pieContainer3",ref:v},null,512),[[c,i(l)==="stores"]])])]),_:1},8,["loading"])}}},X=O(q,[["__scopeId","data-v-19053afe"]]);export{X as default}; diff --git a/web/dist/assets/query-breakpoints-DXFMnBNk.js b/web/dist/assets/query-breakpoints-DXFMnBNk.js new file mode 100644 index 0000000..4617c00 --- /dev/null +++ b/web/dist/assets/query-breakpoints-DXFMnBNk.js @@ -0,0 +1 @@ +import{r,av as n}from"./vue-Dl1fzmsf.js";const a={xl:1600,lg:1199,md:991,sm:767,xs:575};function m(){const s=r(n(a)),e=s.smaller("sm"),t=s.between("sm","md"),o=s.greater("md");return{breakpoints:s,isMobile:e,isPad:t,isDesktop:o}}export{m as u}; diff --git a/web/dist/assets/redirect-DtfE1kjq.js b/web/dist/assets/redirect-DtfE1kjq.js new file mode 100644 index 0000000..0b62bd1 --- /dev/null +++ b/web/dist/assets/redirect-DtfE1kjq.js @@ -0,0 +1 @@ +import{a3 as s,a4 as n,an as c,ac as p,a2 as u}from"./vue-Dl1fzmsf.js";const m={__name:"redirect",setup(l){const r=c(),t=p(),e=r.params,a=e!=null&&e.path?decodeURIComponent(e.path):"";return a?t.replace(a):t.replace("/"),(d,o)=>(u(),s("div",null,o[0]||(o[0]=[n("h1",null,"Redirecting...",-1)])))}};export{m as default}; diff --git a/web/dist/assets/repository-form-B-X8I6s6.js b/web/dist/assets/repository-form-B-X8I6s6.js new file mode 100644 index 0000000..e905ad4 --- /dev/null +++ b/web/dist/assets/repository-form-B-X8I6s6.js @@ -0,0 +1 @@ +import{a0 as q,a1 as R,a9 as U,u as B,v as V,aa as F,b7 as N,H as A,V as C}from"./antd-vtmm7CAy.js";import{f as I,r as K,a2 as g,a9 as b,aa as l,k as a,u,G as o,ae as L}from"./vue-Dl1fzmsf.js";const H={__name:"repository-form",props:{showSubmit:{type:Boolean,default:!1}},setup(y,{expose:w}){const f=I();async function _(){var d;try{return await((d=f.value)==null?void 0:d.validateFields())}catch(e){console.log("Failed:",e)}}const t=K({name:null,url:null,owner:null,approver:null,dateRange:null,type:null});return w({handleSubmit:_}),(d,e)=>{const i=q,s=R,m=U,r=B,p=V,v=F,k=N,x=A,S=C;return g(),b(S,{ref_key:"formRef",ref:f,model:u(t),onSubmit:_},{default:l(()=>[a(v,{class:"form-row",gutter:16},{default:l(()=>[a(m,{lg:6,md:12,sm:24},{default:l(()=>[a(s,{name:"name",rules:[{required:!0,message:"请输入仓库名称"}],label:"仓库名"},{default:l(()=>[a(i,{value:u(t).name,"onUpdate:value":e[0]||(e[0]=n=>u(t).name=n),placeholder:"请输入仓库名称"},null,8,["value"])]),_:1})]),_:1}),a(m,{xl:{span:7,offset:1},lg:{span:8},md:{span:12},sm:24},{default:l(()=>[a(s,{name:"url",rules:[{required:!0,message:"请输入仓库地址"}],label:"仓库地址"},{default:l(()=>[a(i,{value:u(t).url,"onUpdate:value":e[1]||(e[1]=n=>u(t).url=n),placeholder:"请输入仓库地址"},null,8,["value"])]),_:1})]),_:1}),a(m,{xl:{span:9,offset:1},lg:{span:10},md:{span:24},sm:24},{default:l(()=>[a(s,{name:"owner",rules:[{required:!0,message:"请选择管理员"}],label:"仓库管理员"},{default:l(()=>[a(p,{value:u(t).owner,"onUpdate:value":e[2]||(e[2]=n=>u(t).owner=n),placeholder:"请选择管理员"},{default:l(()=>[a(r,{value:"林同学"},{default:l(()=>e[6]||(e[6]=[o(" 林同学 ")])),_:1}),a(r,{value:"张同学"},{default:l(()=>e[7]||(e[7]=[o(" 张同学 ")])),_:1}),a(r,{value:"李同学"},{default:l(()=>e[8]||(e[8]=[o(" 李同学 ")])),_:1})]),_:1},8,["value"])]),_:1})]),_:1})]),_:1}),a(v,{class:"form-row",gutter:16},{default:l(()=>[a(m,{lg:6,md:12,sm:24},{default:l(()=>[a(s,{name:"approver",rules:[{required:!0,message:"请选择审批员"}],label:"审批人"},{default:l(()=>[a(p,{value:u(t).approver,"onUpdate:value":e[3]||(e[3]=n=>u(t).approver=n),placeholder:"请选择审批员"},{default:l(()=>[a(r,{value:"Kirk Lin"},{default:l(()=>e[9]||(e[9]=[o(" Kirk Lin ")])),_:1}),a(r,{value:"Aibayanyu"},{default:l(()=>e[10]||(e[10]=[o(" Aibayanyu ")])),_:1})]),_:1},8,["value"])]),_:1})]),_:1}),a(m,{xl:{span:7,offset:1},lg:{span:8},md:{span:12},sm:24},{default:l(()=>[a(s,{name:"dateRange",rules:[{required:!0,message:"请选择生效日期"}],label:"生效日期"},{default:l(()=>[a(k,{value:u(t).dateRange,"onUpdate:value":e[4]||(e[4]=n=>u(t).dateRange=n),style:{width:"100%"}},null,8,["value"])]),_:1})]),_:1}),a(m,{xl:{span:9,offset:1},lg:{span:10},md:{span:24},sm:24},{default:l(()=>[a(s,{name:"type",rules:[{required:!0,message:"请选择仓库类型"}],label:"仓库类型"},{default:l(()=>[a(p,{value:u(t).type,"onUpdate:value":e[5]||(e[5]=n=>u(t).type=n),placeholder:"请选择仓库类型"},{default:l(()=>[a(r,{value:"公开"},{default:l(()=>e[11]||(e[11]=[o(" 公开 ")])),_:1}),a(r,{value:"私密"},{default:l(()=>e[12]||(e[12]=[o(" 私密 ")])),_:1})]),_:1},8,["value"])]),_:1})]),_:1})]),_:1}),y.showSubmit?(g(),b(s,{key:0},{default:l(()=>[a(x,{"html-type":"submit"},{default:l(()=>e[13]||(e[13]=[o(" Submit ")])),_:1})]),_:1})):L("",!0)]),_:1},8,["model"])}}};export{H as default}; diff --git a/web/dist/assets/role-C9Rys4Lc.js b/web/dist/assets/role-C9Rys4Lc.js new file mode 100644 index 0000000..4401359 --- /dev/null +++ b/web/dist/assets/role-C9Rys4Lc.js @@ -0,0 +1 @@ +import{_ as Ue}from"./index-1DQ9lz7_.js";import{g as Me,b as De,a as Pe,e as Te,f as Be,h as Oe,i as $e}from"./admin-x2Ewtnku.js";import{u as Ee,y as Le,a as Ve}from"./index-C-JhWVfG.js";import{a7 as je,R as Ne,a8 as Fe,B as He,a0 as qe,a1 as We,a9 as Ge,H as Je,S as Qe,aa as Xe,V as Ye,ab as Ze,t as et,M as tt,D as at,a3 as nt,ac as lt,ae as ot,n as st,ad as it,af as dt,K as ut,T as rt}from"./antd-vtmm7CAy.js";import{s as x,r as K,f as p,c as le,w as ct,o as pt,a2 as R,a9 as oe,aa as t,k as a,u as o,G as f,H as U,a3 as W,a4 as M,ae as T,ad as B}from"./vue-Dl1fzmsf.js";import"./context-Dawj80bg.js";const ft={key:0,flex:"","gap-2":""},_t=["onClick"],mt=["onClick"],gt=["onClick"],yt={style:{display:"inline-block",width:"200px"}},kt={key:1,style:{opacity:".65"}},vt={style:{display:"inline-block","min-width":"200px"}},St={__name:"role",setup(ht){const m=Ee(),O=x([{title:"#",dataIndex:"id"},{title:"角色唯一标识",dataIndex:"sid"},{title:"角色名称",dataIndex:"name"},{title:"创建时间",dataIndex:"createdAt"},{title:"更新时间",dataIndex:"updatedAt"},{title:"操作",dataIndex:"action"}]),v=x(!1),g=K({pageSize:10,pageSizeOptions:["10","20","30","40"],current:1,total:100,showSizeChanger:!0,showQuickJumper:!0,showTotal:n=>`总数据位:${n}`,onChange(n,e){g.pageSize=e,g.current=n,y()}}),G=x([]),$=x([]),J=x([]),h=K({name:"",sid:""}),d=K({id:0,name:"",sid:"",createdAt:"",updatedAt:""}),se=K({id:0,name:"",sid:"",createdAt:"",updatedAt:""}),E=()=>{Object.assign(d,{id:0,name:"",sid:"",createdAt:"",updatedAt:""})},ie={name:[{required:!0,message:"Please enter name"}],sid:[{required:!0,message:"please enter sid"}]},C=p(["large"]),de=p([{key:"large",label:"默认",title:"默认"},{key:"middle",label:"中等",title:"中等"},{key:"small",label:"紧凑",title:"紧凑"}]),L=p("1"),w=p([]),A=p([]),Q=x([]),b=p(!1),I=p(!1),V=p(""),ue=le(()=>O.value.map(n=>n.dataIndex==="action"?{label:n.title,value:n.dataIndex,disabled:!0}:{label:n.title,value:n.dataIndex})),j=p(!1),_=le(()=>O.value.map(n=>n.dataIndex)),c=K({indeterminate:!1,checkAll:!0,checkList:_.value}),X=()=>{b.value=!1,I.value=!1};async function y(){if(!v.value){v.value=!0;try{const{data:n}=await Me({...h,page:g.current,pageSize:g.pageSize});G.value=n.list??[],g.total=n.total??0}catch(n){console.log(n)}finally{v.value=!1}}}async function N(){g.current=1,await y()}async function re(){d.name="",d.sid="",await y()}function Y(){b.value=!1,I.value=!1,V.value="",N()}async function ce(n){E(),b.value=!0}async function pe(n){E(),Object.assign(d,n),b.value=!0}async function fe(n){V.value=n.sid,E();const{data:e}=await Le();Q.value=me(e.list)??[];const{data:u}=await De({role:n.sid});$.value=u.list??[],w.value=$.value.filter(i=>i.startsWith("api:")),A.value=$.value.filter(i=>i.startsWith("menu:"));const{data:s}=await Pe({page:1,pageSize:1e4});J.value=_e(s.list)??[],I.value=!0}const _e=n=>{const e=new Map;n.forEach(s=>{const i=s.group;e.has(i)||e.set(i,[]),s.key="api:"+s.path+","+s.method,s.title=s.name,e.get(i).push(s)});const u=[];return e.forEach((s,i)=>{u.push({key:i,title:i,group:i,children:s})}),u},me=n=>{const e=new Map;n.forEach(s=>e.set(s.id,{...s}));const u=[];return n.forEach(s=>{const i=e.get(s.id);if(i.key="menu:"+i.path+",read",s.parentId===0||!e.has(s.parentId))u.push(i);else{const r=e.get(s.parentId);r&&(r.children||(r.children=[]),r.children.push(i))}}),u};async function ge(n){const e=m.loading("删除中......");try{(await Te({id:n.id})).code===0&&await y(),m.success("删除成功")}catch(u){console.log(u)}finally{e()}}function ye(n){C.value[0]=n.key}function D(n){return O.value.filter(e=>!!n.includes(e.dataIndex))}const S=p(D(_.value));function ke(n){Object.assign(c,{checkList:n.target.checked?_.value:[],indeterminate:!0}),S.value=n.target.checked?D(_.value):S.value.filter(e=>e.dataIndex==="action")}ct(()=>c.checkList,n=>{c.indeterminate=!!n.length&&n.length<_.value.length,c.checkAll=n.length===_.value.length});function ve(){c.checkList=_.value,S.value=D(_.value)}function he(n){const e=D(n);S.value=e}pt(()=>{y()});async function be(){const n=m.loading("提交中......");try{let e={};d.id>0?e=await Be({...d}):e=await Oe({...d}),e.code===0&&(await y(),b.value=!1,d.id>0?m.success("更新成功"):m.success("创建成功"))}catch(e){console.log(e)}finally{n()}}async function xe(){const n=m.loading("提交中......");try{(await $e({role:V.value,list:[...w.value,...A.value]})).code===0&&(await y(),I.value=!1,m.success("更新成功"),await Ve().generateDynamicRoutes())}catch(e){console.log(e)}finally{n()}}return(n,e)=>{const u=qe,s=We,i=Ge,r=Je,P=Qe,F=Xe,Z=Ye,H=Ze,q=et,Ce=tt,ee=at,we=nt,Ae=lt,Ie=ot,te=st,Se=it,ae=dt,ne=ut,ze=rt,Ke=Ue;return R(),oe(Ke,null,{default:t(()=>[a(H,{"mb-4":""},{default:t(()=>[a(Z,{model:o(h)},{default:t(()=>[a(F,{gutter:[15,0]},{default:t(()=>[a(i,{span:8},{default:t(()=>[a(s,{name:"desc",label:"角色ID"},{default:t(()=>[a(u,{value:o(h).sid,"onUpdate:value":e[0]||(e[0]=l=>o(h).sid=l)},null,8,["value"])]),_:1})]),_:1}),a(i,{span:8},{default:t(()=>[a(s,{name:"name",label:"角色名称"},{default:t(()=>[a(u,{value:o(h).name,"onUpdate:value":e[1]||(e[1]=l=>o(h).name=l)},null,8,["value"])]),_:1})]),_:1}),a(i,{span:8},{default:t(()=>[a(P,{flex:"","justify-end":"","w-full":""},{default:t(()=>[a(r,{loading:o(v),type:"primary",onClick:N},{default:t(()=>e[11]||(e[11]=[f(" 查询 ")])),_:1},8,["loading"]),a(r,{loading:o(v),onClick:re},{default:t(()=>e[12]||(e[12]=[f(" 重置 ")])),_:1},8,["loading"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),a(H,{title:"角色列表"},{extra:t(()=>[a(P,{size:"middle"},{default:t(()=>[a(r,{type:"primary",onClick:ce},{icon:t(()=>[a(o(je))]),default:t(()=>[e[13]||(e[13]=f(" 新增 "))]),_:1}),a(q,{title:"刷新"},{default:t(()=>[a(o(Ne),{onClick:N})]),_:1}),a(q,{title:"密度"},{default:t(()=>[a(ee,{trigger:"click"},{overlay:t(()=>[a(Ce,{"selected-keys":o(C),"onUpdate:selectedKeys":e[2]||(e[2]=l=>U(C)?C.value=l:null),items:o(de),onClick:ye},null,8,["selected-keys","items"])]),default:t(()=>[a(o(Fe))]),_:1})]),_:1}),a(q,{title:"列设置"},{default:t(()=>[a(ee,{open:o(j),"onUpdate:open":e[5]||(e[5]=l=>U(j)?j.value=l:null),trigger:"click"},{overlay:t(()=>[a(H,null,{title:t(()=>[a(we,{checked:o(c).checkAll,"onUpdate:checked":e[3]||(e[3]=l=>o(c).checkAll=l),indeterminate:o(c).indeterminate,onChange:ke},{default:t(()=>e[14]||(e[14]=[f(" 列选择 ")])),_:1},8,["checked","indeterminate"])]),extra:t(()=>[a(r,{type:"link",onClick:ve},{default:t(()=>e[15]||(e[15]=[f(" 重置 ")])),_:1})]),default:t(()=>[a(Ae,{value:o(c).checkList,"onUpdate:value":e[4]||(e[4]=l=>o(c).checkList=l),options:o(ue),style:{display:"flex","flex-direction":"column"},onChange:he},null,8,["value","options"])]),_:1})]),default:t(()=>[a(o(He))]),_:1},8,["open"])]),_:1})]),_:1})]),default:t(()=>[a(Ie,{loading:o(v),columns:o(S),"data-source":o(G),pagination:o(g),size:o(C)[0]},{bodyCell:t(l=>{var k;return[((k=l==null?void 0:l.column)==null?void 0:k.dataIndex)==="action"?(R(),W("div",ft,[M("a",{onClick:z=>fe(l==null?void 0:l.record)}," 分配权限 ",8,_t),M("a",{onClick:z=>pe(l==null?void 0:l.record)}," 编辑 ",8,mt),(l==null?void 0:l.record.sid)!=="admin"?(R(),W("a",{key:0,"c-error":"",onClick:z=>ge(l==null?void 0:l.record)}," 删除 ",8,gt)):T("",!0)])):T("",!0)]}),_:1},8,["loading","columns","data-source","pagination","size"])]),_:1}),a(te,{title:o(d).id>0?"编辑":"添加角色",width:400,open:o(b),"body-style":{paddingBottom:"80px"},"footer-style":{textAlign:"right"},onClose:Y},{extra:t(()=>[a(P,null,{default:t(()=>[a(r,{onClick:X},{default:t(()=>e[16]||(e[16]=[f("取消")])),_:1}),a(r,{type:"primary",onClick:be},{default:t(()=>e[17]||(e[17]=[f("提交")])),_:1})]),_:1})]),default:t(()=>[a(Z,{model:o(d),rules:ie,layout:"vertical"},{default:t(()=>[a(F,{gutter:16},{default:t(()=>[a(i,{span:24},{default:t(()=>[a(s,{label:"角色标识",name:"sid"},{default:t(()=>[a(u,{disabled:o(d).id>0,value:o(d).sid,"onUpdate:value":e[6]||(e[6]=l=>o(d).sid=l),placeholder:"唯一标识,创建后不可修改"},null,8,["disabled","value"])]),_:1})]),_:1})]),_:1}),a(F,{gutter:16},{default:t(()=>[a(i,{span:24},{default:t(()=>[a(s,{label:"角色名称",name:"name"},{default:t(()=>[a(u,{value:o(d).name,"onUpdate:value":e[7]||(e[7]=l=>o(d).name=l),placeholder:"角色名称"},null,8,["value"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["title","open"]),a(te,{title:o(se).id>0?"编辑":"添加角色",width:600,open:o(I),"body-style":{paddingBottom:"80px"},"footer-style":{textAlign:"right"},onClose:Y},{extra:t(()=>[a(P,null,{default:t(()=>[a(r,{onClick:X},{default:t(()=>e[18]||(e[18]=[f("取消")])),_:1}),a(r,{type:"primary",onClick:xe},{default:t(()=>e[19]||(e[19]=[f("提交")])),_:1})]),_:1})]),default:t(()=>[e[20]||(e[20]=M("span",null,"超级管理员",-1)),a(ze,{activeKey:o(L),"onUpdate:activeKey":e[10]||(e[10]=l=>U(L)?L.value=l:null)},{default:t(()=>[a(ne,{key:"1",tab:"接口权限"},{default:t(()=>[a(ae,{defaultExpandAll:"",checkedKeys:o(w),"onUpdate:checkedKeys":e[8]||(e[8]=l=>U(w)?w.value=l:null),checkable:"","tree-data":o(J),fieldNames:{title:"name"}},{title:t(({group:l,title:k,path:z,method:Re})=>[M("span",yt,B(k),1),l!==k?(R(),oe(Se,{key:0,style:{display:"inline-block",width:"55px","font-size":"11px","text-align":"center"}},{default:t(()=>[f(B(Re),1)]),_:2},1024)):T("",!0),l!==k?(R(),W("span",kt,B(z),1)):T("",!0)]),_:1},8,["checkedKeys","tree-data"])]),_:1}),a(ne,{key:"2",tab:"菜单权限"},{default:t(()=>[a(ae,{defaultExpandAll:"",checkedKeys:o(A),"onUpdate:checkedKeys":e[9]||(e[9]=l=>U(A)?A.value=l:null),checkable:"","tree-data":o(Q)},{title:t(({title:l,key:k,parentId:z})=>[M("span",vt,B(l),1)]),_:1},8,["checkedKeys","tree-data"])]),_:1})]),_:1},8,["activeKey"])]),_:1},8,["title","open"])]),_:1})}}};export{St as default}; diff --git a/web/dist/assets/route-view-BeW99koD.js b/web/dist/assets/route-view-BeW99koD.js new file mode 100644 index 0000000..372738a --- /dev/null +++ b/web/dist/assets/route-view-BeW99koD.js @@ -0,0 +1 @@ +import{a9 as o,a2 as t,a8 as a}from"./vue-Dl1fzmsf.js";const _=Object.assign({name:"RouteView"},{__name:"route-view",setup(n){return(r,s)=>{const e=a("RouterView");return t(),o(e)}}});export{_ as default}; diff --git a/web/dist/assets/route-view-CJGX2V7g.js b/web/dist/assets/route-view-CJGX2V7g.js new file mode 100644 index 0000000..6e33c2a --- /dev/null +++ b/web/dist/assets/route-view-CJGX2V7g.js @@ -0,0 +1 @@ +import{a1 as b,f as C,s as I,d as M,an as L,l as S,at as T,k as P,V as k,a8 as N,a2 as d,a3 as V,aa as x,q as O,u as v,a9 as w,au as E,ai as A}from"./vue-Dl1fzmsf.js";import{f as R,u as j,k as y,i as B}from"./index-C-JhWVfG.js";const K=["/login","/404","/403"],W=b("multi-tab",()=>{const n=C([]),u=I(),l=C(null),f=R(),a=C([]),o=j(),r=e=>{if(!e||e.path.startsWith("/redirect")||e.path.startsWith("/common")||e.path==="/"||K.includes(e.path))return;if(l.value&&setTimeout(()=>{l.value&&(l.value.loading=!1,l.value=null)},500),n.value.some(m=>m.fullPath===e.fullPath)){!a.value.includes(e==null?void 0:e.name)&&f.layoutSetting.keepAlive&&e.meta.keepAlive&&e.name&&a.value.push(e.name);return}const t={path:e.path,fullPath:e.fullPath,title:e.meta.title,name:e.name,icon:e.meta.icon,affix:e.meta.affix,locale:e.meta.locale};!a.value.includes(t==null?void 0:t.name)&&f.layoutSetting.keepAlive&&e.meta.keepAlive&&e.name&&a.value.push(e.name),n.value.push(t)},c=e=>{if(n.value.length<=1){o.error("不能关闭最后一个标签页");return}const t=n.value.findIndex(s=>s.fullPath===e);if(t<0){o.error("当前页签不存在无法关闭");return}const m=n.value[t];if(m.fullPath===u.value){const s=t===0?n.value[t+1]:n.value[t-1];u.value=s.fullPath,y.push(s.fullPath)}f.layoutSetting.keepAlive&&m.name&&(a.value=a.value.filter(s=>s!==m.name)),n.value=n.value.filter(s=>s.fullPath!==e)},h=e=>{const t=n.value.find(m=>m.fullPath===e);t&&(a.value=a.value.filter(m=>m!==t.name),t.loading=!0,l.value=t,y.replace(`/redirect/${encodeURIComponent(t.fullPath)}`))},i=e=>{e!==u.value&&y.push(e)};return{list:n,activeKey:u,cacheList:a,close:c,clear:()=>{n.value=[],a.value=[],u.value=void 0,l.value=null},closeLeft:e=>{i(e);const t=n.value.findIndex(s=>s.fullPath===e);n.value.slice(0,t).forEach(s=>{s.affix||c(s.fullPath)})},closeRight:e=>{i(e);const t=n.value.findIndex(s=>s.fullPath===e);n.value.slice(t+1).forEach(s=>{s.affix||c(s.fullPath)})},closeOther:e=>{i(e),n.value.forEach(t=>{t.affix||t.fullPath!==e&&c(t.fullPath)})},refresh:h,switchTab:i,addItem:r}}),q=M({name:"ParentCompConsumer",setup(n,{slots:u}){const l=L(),f=new Map;return()=>{var r,c,h;const a=(r=l.meta)==null?void 0:r.parentName,o=(c=l.meta)==null?void 0:c.parentComps;if(a){if(f.has(a))return f.get(a);if(o!=null&&o.length){let i;for(const p of[...o].reverse()){const _=B(p)?T(p):p;i?i=S(_,null,{default:()=>i}):i=S(_,null,u)}if(i)return f.set(a,i),i}}return(h=u==null?void 0:u.default)==null?void 0:h.call(u)}}}),g=new Map;function z(){const n=L();return{getComp:l=>{var c;if(!n.name)return l;const f=(c=l==null?void 0:l.type)==null?void 0:c.name,a=n.name;if(g.has(a))return g.get(a);const o=l;if(f&&f===a)return g.set(a,o),o;const r=P(o);return r.type||(r.type={}),r.type.name=a,g.set(a,r),r}}}const D={class:"flex flex-col h-full"},F=Object.assign({name:"CustomRouteView"},{__name:"route-view",setup(n){const u=R(),{layoutSetting:l}=k(u),f=W(),{cacheList:a}=k(f),{getComp:o}=z();return(r,c)=>{const h=N("RouterView");return d(),V("div",D,[P(v(q),null,{default:x(()=>[P(h,null,{default:x(({Component:i,route:p})=>[P(O,{appear:"",name:v(l).animationName,mode:"out-in"},{default:x(()=>[v(l).keepAlive?(d(),w(E,{key:0,include:[...v(a)]},[(d(),w(A(v(o)(i)),{key:p.fullPath}))],1032,["include"])):(d(),w(A(i),{key:p.fullPath}))]),_:2},1032,["name"])]),_:1})]),_:1})])}}}),J=Object.freeze(Object.defineProperty({__proto__:null,default:F},Symbol.toStringTag,{value:"Module"}));export{F as _,J as r,W as u}; diff --git a/web/dist/assets/sales-card-CKU4DPZO.css b/web/dist/assets/sales-card-CKU4DPZO.css new file mode 100644 index 0000000..55969a7 --- /dev/null +++ b/web/dist/assets/sales-card-CKU4DPZO.css @@ -0,0 +1 @@ +.rankingList[data-v-88fc954a]{margin:25px 0 0;padding:0;list-style:none}.rankingList li[data-v-88fc954a]{display:flex;align-items:center;margin-top:16px;zoom:1}.rankingList li[data-v-88fc954a]:before,.rankingList li[data-v-88fc954a]:after{display:table;content:" "}.rankingList li[data-v-88fc954a]:after{clear:both;height:0;font-size:0;visibility:hidden}.rankingList li span[data-v-88fc954a]{color:var(--text-color);font-size:14px;line-height:22px}.rankingList li .rankingItemNumber[data-v-88fc954a]{display:inline-block;width:20px;height:20px;margin-top:1.5px;margin-right:16px;font-weight:600;font-size:12px;line-height:20px;text-align:center;background-color:#fafafa;border-radius:20px}.rankingList li .rankingItemNumber.active[data-v-88fc954a]{color:#fff;background-color:#314659}.rankingList li .rankingItemTitle[data-v-88fc954a]{flex:1;margin-right:8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.salesExtra[data-v-88fc954a]{display:inline-block;margin-right:24px}.salesExtra a[data-v-88fc954a]{margin-left:24px;color:var(--text-color)}.salesExtra a[data-v-88fc954a]:hover,.salesExtra a.currentDate[data-v-88fc954a]{color:#1890ff}.salesCard .salesBar[data-v-88fc954a]{padding:0 0 32px 32px}.salesCard .salesRank[data-v-88fc954a]{padding:0 32px 32px 72px}.salesCard[data-v-88fc954a] .ant-tabs-nav-wrap{padding-left:16px}.salesCard[data-v-88fc954a] .ant-tabs-nav-wrap .ant-tabs-tab{padding-top:16px;padding-bottom:14px;line-height:24px}.salesCard[data-v-88fc954a] .ant-tabs-bar{padding-left:16px}.salesCard[data-v-88fc954a] .ant-tabs-bar .ant-tabs-tab{padding-top:16px;padding-bottom:14px;line-height:24px}.salesCard[data-v-88fc954a] .ant-tabs-extra-content{padding-right:24px;line-height:55px}.salesCard[data-v-88fc954a] .ant-card-head{position:relative}.salesCard[data-v-88fc954a] .ant-card-head-title{align-items:normal}.salesCardExtra[data-v-88fc954a]{height:inherit}.salesTypeRadio[data-v-88fc954a]{position:absolute;right:54px;bottom:12px}.offlineCard[data-v-88fc954a] .ant-tabs-ink-bar{bottom:auto}.offlineCard[data-v-88fc954a] .ant-tabs-bar{border-bottom:none}.offlineCard[data-v-88fc954a] .ant-tabs-nav-container-scrolling{padding-right:40px;padding-left:40px}.offlineCard[data-v-88fc954a] .ant-tabs-tab-prev-icon:before{position:relative;left:6px}.offlineCard[data-v-88fc954a] .ant-tabs-tab-next-icon:before{position:relative;right:6px}.offlineCard[data-v-88fc954a] .ant-tabs-tab-active h4{color:#1890ff}@media screen and (max-width: 992px){.salesExtra[data-v-88fc954a]{display:none}.rankingList li span[data-v-88fc954a]:first-child{margin-right:8px}}@media screen and (max-width: 768px){.rankingTitle[data-v-88fc954a]{margin-top:16px}.salesCard .salesBar[data-v-88fc954a]{padding:16px}}@media screen and (max-width: 576px){.salesExtraWrap[data-v-88fc954a]{display:none}.salesCard[data-v-88fc954a] .ant-tabs-content{padding-top:30px}} diff --git a/web/dist/assets/sales-card-DWCqcnjI.js b/web/dist/assets/sales-card-DWCqcnjI.js new file mode 100644 index 0000000..7016429 --- /dev/null +++ b/web/dist/assets/sales-card-DWCqcnjI.js @@ -0,0 +1 @@ +import{C}from"./index-sUMRYBhU.js";import{d as r,aC as Y,a9 as M,aa as N,K as V,T as S,ab as $}from"./antd-vtmm7CAy.js";import{_ as j}from"./index-C-JhWVfG.js";import{f,s as A,o as z,j as H,a2 as k,a9 as q,aa as l,a4 as a,k as o,u as K,a3 as F,F as B,aj as T,af as I,ad as u}from"./vue-Dl1fzmsf.js";import"./vec2-4Cx-bOHg.js";const O={class:"salesCard"},U={class:"salesExtraWrap"},W={class:"salesBar"},G={class:"salesRank"},J={class:"rankingList"},Q=["title"],X={class:"rankingItemValue"},Z={class:"salesBar"},ee={class:"salesRank"},ae={class:"rankingList"},te=["title"],se={class:"rankingItemValue"},ne={__name:"sales-card",props:{loading:{type:Boolean,default:!1}},setup(L){const y=[];for(let t=0;t<7;t+=1)y.push({title:`工专路 ${t} 号店`,total:323234});const d=f();function p(t){const e=new Date;let n,s;switch(t){case"day":d.value=[r(new Date(e.getFullYear(),e.getMonth(),e.getDate())),r(new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59,999))];break;case"week":n=new Date(e.setDate(e.getDate()-e.getDay())),s=new Date(e.setDate(e.getDate()+6)),d.value=[r(n),r(s)];break;case"month":n=new Date(e.getFullYear(),e.getMonth(),1),s=new Date(e.getFullYear(),e.getMonth()+1,0),d.value=[r(n),r(s)];break;case"year":n=new Date(e.getFullYear(),0,1),s=new Date(e.getFullYear(),11,31),d.value=[r(n),r(s)];break;default:return null}}p("day");function _(t){var e,n,s;(n=(e=t.target)==null?void 0:e.parentElement)==null||n.querySelectorAll("a").forEach(m=>{m.classList.remove("currentDate")}),(s=t.target)==null||s.classList.add("currentDate"),p(t.target.__vnode.key)}function x(t){return t.toLocaleString()}const h=[{x:"1月",y:809},{x:"2月",y:766},{x:"3月",y:585},{x:"4月",y:763},{x:"5月",y:853},{x:"6月",y:898},{x:"7月",y:1096},{x:"8月",y:452},{x:"9月",y:244},{x:"10月",y:838},{x:"11月",y:673},{x:"12月",y:431}],v=f(),D=f();let b=!1;function R(t){t==="views"&&!b&&setTimeout(()=>{new C(D.value,{data:h,xField:"x",yField:"y",height:300,xAxis:{label:{autoHide:!0,autoRotate:!1}},meta:{y:{alias:"销售量"}}}).render(),b=!0})}const g=A();return z(()=>{var t;g.value=new C(v.value,{data:h,xField:"x",yField:"y",height:300,xAxis:{label:{autoHide:!0,autoRotate:!1}},meta:{y:{alias:"销售量"}}}),(t=g.value)==null||t.render()}),H(()=>{var t;(t=g.value)==null||t.destroy(),g.value=void 0}),(t,e)=>{const n=Y,s=M,m=N,w=V,E=S,P=$;return k(),q(P,{loading:L.loading,bordered:!1,"body-style":{padding:0}},{default:l(()=>[a("div",O,[o(E,{size:"large","tab-bar-style":{marginBottom:"24px"},onChange:R},{rightExtra:l(()=>[a("div",U,[a("div",{class:"salesExtra"},[a("a",{key:"day",class:"currentDate",onClick:_},"今日"),a("a",{key:"week",onClick:_},"本周"),a("a",{key:"month",onClick:_},"本月"),a("a",{key:"year",onClick:_},"本年")]),o(n,{value:K(d),style:{width:"256px"}},null,8,["value"])])]),default:l(()=>[o(w,{key:"sales",tab:"销售额"},{default:l(()=>[o(m,null,{default:l(()=>[o(s,{xl:16,lg:12,md:12,sm:24,xs:24},{default:l(()=>[a("div",W,[a("div",{ref_key:"columnPlotContainer1",ref:v},null,512)])]),_:1}),o(s,{xl:8,lg:12,md:12,sm:24,xs:24},{default:l(()=>[a("div",G,[e[0]||(e[0]=a("h4",{class:"rankingTitle"}," 门店销售额排名 ",-1)),a("ul",J,[(k(),F(B,null,T(y,(i,c)=>a("li",{key:c},[a("span",{class:I(`rankingItemNumber ${c<3?"active":""}`)},u(c+1),3),a("span",{class:"rankingItemTitle",title:i.title},u(i.title),9,Q),a("span",X,u(x(i.total)),1)])),64))])])]),_:1})]),_:1})]),_:1}),o(w,{key:"views",tab:"访问量"},{default:l(()=>[o(m,null,{default:l(()=>[o(s,{xl:16,lg:12,md:12,sm:24,xs:24},{default:l(()=>[a("div",Z,[a("div",{ref_key:"columnPlotContainer2",ref:D},null,512)])]),_:1}),o(s,{xl:8,lg:12,md:12,sm:24,xs:24},{default:l(()=>[a("div",ee,[e[1]||(e[1]=a("h4",{class:"rankingTitle"}," 门店访问量排名 ",-1)),a("ul",ae,[(k(),F(B,null,T(y,(i,c)=>a("li",{key:c},[a("span",{class:I(`rankingItemNumber ${c<3?"active":""}`)},u(c+1),3),a("span",{class:"rankingItemTitle",title:i.title},u(i.title),9,te),a("span",se,u(x(i.total)),1)])),64))])])]),_:1})]),_:1})]),_:1})]),_:1})])]),_:1},8,["loading"])}}},ue=j(ne,[["__scopeId","data-v-88fc954a"]]);export{ue as default}; diff --git a/web/dist/assets/settings-BDb3Pw3I.js b/web/dist/assets/settings-BDb3Pw3I.js new file mode 100644 index 0000000..cf459c0 --- /dev/null +++ b/web/dist/assets/settings-BDb3Pw3I.js @@ -0,0 +1 @@ +import{ap as J,a0 as L,a1 as P,u as E,v as Q,aq as W,H as $,V as X,a9 as S,c as Y,ar as Z,aa as T,ab as w,ag as C,x as U,y as A,as as tt,at as et,au as at,w as nt,M as st}from"./antd-vtmm7CAy.js";import{ao as x,f as z,r as V,c as O,a2 as l,a9 as i,aa as a,k as n,u as e,G as k,ad as g,a4 as v,J as ot,ae as h,H as ct}from"./vue-Dl1fzmsf.js";import{_ as B}from"./index-C-JhWVfG.js";const lt={class:"flex flex-col items-center"},it={__name:"basic-setting",setup(N){const{t}=x(),c=z(),y={span:0},p={span:13},o=V({email:"AntdvPro@abc.com",name:"N-Admin",region:void 0,desc:"",address:"",phoneNumber:""}),r=O(()=>({name:[{required:!0,message:t("account.settings.form-rule-name"),trigger:"change"}],phoneNumber:[{required:!0,message:t("account.settings.form-rule-phoneNumber"),trigger:"change"}],address:[{required:!0,message:t("account.settings.form-rule-address"),trigger:"change"}],region:[{required:!0,message:t("account.settings.form-rule-region"),trigger:"change"}],email:[{required:!0,message:t("account.settings.form-rule-email"),trigger:"change"}],desc:[{required:!0,message:t("account.settings.form-rule-desc"),trigger:"blur"}]}));function m(){c.value.validate().then(()=>{console.log("values",o,ot(o))}).catch(d=>{console.log("error",d)})}function _(){console.log("change")}return(d,s)=>{const f=L,b=P,R=E,D=Q,M=W,q=$,F=X,I=S,H=Y,K=Z,j=T,G=w;return l(),i(G,{title:e(t)("account.settings.basic-setting"),bordered:!1},{default:a(()=>[n(j,null,{default:a(()=>[n(I,{span:12},{default:a(()=>[n(F,{ref_key:"formRef",ref:c,model:e(o),rules:e(r),"label-col":y,"wrapper-col":p},{default:a(()=>[n(b,{"label-col":{span:24},label:e(t)("account.settings.form-email"),name:"email"},{default:a(()=>[n(f,{value:e(o).email,"onUpdate:value":s[0]||(s[0]=u=>e(o).email=u),placeholder:e(t)("account.settings.form-input-plac"),style:{width:"320px"}},null,8,["value","placeholder"])]),_:1},8,["label"]),n(b,{"label-col":{span:24},label:e(t)("account.settings.form-name"),name:"name"},{default:a(()=>[n(f,{value:e(o).name,"onUpdate:value":s[1]||(s[1]=u=>e(o).name=u),placeholder:e(t)("account.settings.form-input-plac"),style:{width:"320px"}},null,8,["value","placeholder"])]),_:1},8,["label"]),n(b,{label:e(t)("account.settings.form-region"),"label-col":{span:24},name:"region"},{default:a(()=>[n(D,{value:e(o).region,"onUpdate:value":s[2]||(s[2]=u=>e(o).region=u),placeholder:e(t)("account.settings.form-select-plac")},{default:a(()=>[n(R,{value:"China"},{default:a(()=>[k(g(e(t)("account.settings.form-region-China")),1)]),_:1})]),_:1},8,["value","placeholder"])]),_:1},8,["label"]),n(b,{"label-col":{span:24},label:e(t)("account.settings.form-address"),name:"address"},{default:a(()=>[n(f,{value:e(o).address,"onUpdate:value":s[3]||(s[3]=u=>e(o).address=u),placeholder:e(t)("account.settings.form-input-plac"),style:{width:"320px"}},null,8,["value","placeholder"])]),_:1},8,["label"]),n(b,{"label-col":{span:24},label:e(t)("account.settings.form-phoneNumber"),name:"phoneNumber"},{default:a(()=>[n(f,{value:e(o).phoneNumber,"onUpdate:value":s[4]||(s[4]=u=>e(o).phoneNumber=u),placeholder:e(t)("account.settings.form-input-plac")},null,8,["value","placeholder"])]),_:1},8,["label"]),n(b,{name:"desc",label:e(t)("account.settings.form-desc"),"label-col":{span:24}},{default:a(()=>[n(M,{value:e(o).desc,"onUpdate:value":s[5]||(s[5]=u=>e(o).desc=u),placeholder:e(t)("account.settings.form-input-plac")},null,8,["value","placeholder"])]),_:1},8,["label"]),n(b,null,{default:a(()=>[n(q,{type:"primary",onClick:m},{default:a(()=>[k(g(e(t)("account.settings.form-submit")),1)]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1}),n(I,{span:4},{default:a(()=>[v("p",null,g(e(t)("account.settings.basic-avatar")),1),v("div",lt,[n(H,{size:100},{icon:a(()=>s[6]||(s[6]=[v("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png",alt:""},null,-1)])),_:1}),n(K,{name:"file","file-list":[],onChange:_},{default:a(()=>[n(q,{class:"mt-4"},{default:a(()=>[n(e(J)),k(" "+g(e(t)("account.settings.basic-avatar.upload")),1)]),_:1})]),_:1})])]),_:1})]),_:1})]),_:1},8,["title"])}}},ut={href:"https://www.antdv.com/"},rt={__name:"security-setting",setup(N){const{t}=x(),c=O(()=>[{title:t("account.settings.security.account-password"),desc:t("account.settings.security.account-password-desc")},{title:t("account.settings.security.phone"),desc:t("account.settings.security.phone-desc")},{title:t("account.settings.security-problem"),desc:t("account.settings.security-problem-desc")},{title:t("account.settings.security.email"),desc:t("account.settings.security.email-desc")},{title:t("account.settings.security.MFA"),desc:t("account.settings.security.MFA-desc")}]);return(y,p)=>{const o=C,r=$,m=U,_=A,d=w;return l(),i(d,{title:e(t)("account.settings.security-setting"),bordered:!1},{default:a(()=>[n(_,{"item-layout":"horizontal","data-source":e(c)},{renderItem:a(({item:s})=>[n(m,null,{actions:a(()=>[n(r,{type:"link"},{default:a(()=>[k(g(e(t)("account.settings.modify")),1)]),_:1})]),default:a(()=>[n(o,{description:s.desc},{title:a(()=>[v("a",ut,g(s.title),1)]),_:2},1032,["description"])]),_:2},1024)]),_:1},8,["data-source"])]),_:1},8,["title"])}}},_t=B(rt,[["__scopeId","data-v-9c228196"]]),dt={href:"https://www.antdv.com/"},pt={__name:"account-setting",setup(N){const{t}=x(),c=O(()=>[{title:t("account.settings.account.taobao"),avatar:"TaobaoOutlined"},{title:t("account.settings.account.alipay"),avatar:"AlipayOutlined"},{title:t("account.settings.account.dingding"),avatar:"DingdingOutlined"}]);return(y,p)=>{const o=C,r=$,m=U,_=A,d=w;return l(),i(d,{title:e(t)("account.settings.account-setting"),bordered:!1},{default:a(()=>[n(_,{"item-layout":"horizontal","data-source":e(c)},{renderItem:a(({item:s})=>[n(m,null,{actions:a(()=>[n(r,{type:"link"},{default:a(()=>[k(g(e(t)("account.settings.account.bind")),1)]),_:1})]),default:a(()=>[n(o,{description:e(t)("account.settings.account.not.bind")},{title:a(()=>[v("a",dt,g(s.title),1)]),avatar:a(()=>[s.avatar==="TaobaoOutlined"?(l(),i(e(tt),{key:0,style:{color:"#ff4000"},class:"account-setting-avatar"})):h("",!0),s.avatar==="AlipayOutlined"?(l(),i(e(et),{key:1,style:{color:"#2eabff"},class:"account-setting-avatar"})):h("",!0),s.avatar==="DingdingOutlined"?(l(),i(e(at),{key:2,style:{color:"#fff","background-color":"#2eabff"},class:"account-setting-avatar"})):h("",!0)]),_:2},1032,["description"])]),_:2},1024)]),_:1},8,["data-source"])]),_:1},8,["title"])}}},mt=B(pt,[["__scopeId","data-v-b4b2e52a"]]),gt={href:"https://www.antdv.com/"},ft={__name:"message-setting",setup(N){const{t}=x(),c=V([{title:t("account.settings.message.title1"),desc:t("account.settings.message.desc1"),checked:!0},{title:t("account.settings.message.title2"),desc:t("account.settings.message.desc2"),checked:!0},{title:t("account.settings.message.title3"),desc:t("account.settings.message.desc3"),checked:!0}]);return(y,p)=>{const o=C,r=nt,m=U,_=A,d=w;return l(),i(d,{title:e(t)("account.settings.message-setting"),bordered:!1},{default:a(()=>[n(_,{"item-layout":"horizontal","data-source":e(c)},{renderItem:a(({item:s})=>[n(m,null,{actions:a(()=>[n(r,{checked:s.checked,"onUpdate:checked":f=>s.checked=f},null,8,["checked","onUpdate:checked"])]),default:a(()=>[n(o,{description:s.desc},{title:a(()=>[v("a",gt,g(s.title),1)]),_:2},1032,["description"])]),_:2},1024)]),_:1},8,["data-source"])]),_:1},8,["title"])}}},vt={__name:"settings",setup(N){const{t}=x(),c=z(["1"]),y=O(()=>[{key:"1",label:p("1"),title:"Navigation One"},{key:"2",label:p("2"),title:"Navigation Two"},{key:"3",label:p("3"),title:"Navigation Two"},{key:"4",label:p("4"),title:"Navigation Two"}]);function p(o){switch(o){case"1":return t("account.settings.basic-setting");case"2":return t("account.settings.security-setting");case"3":return t("account.settings.account-setting");case"4":return t("account.settings.message-setting")}}return(o,r)=>{const m=st,_=S,d=T,s=w;return l(),i(s,null,{default:a(()=>[n(d,{gutter:24},{default:a(()=>[n(_,{span:4,style:{"padding-left":"0"}},{default:a(()=>[n(m,{"selected-keys":e(c),"onUpdate:selectedKeys":r[0]||(r[0]=f=>ct(c)?c.value=f:null),style:{width:"250px"},mode:"inline",items:e(y)},null,8,["selected-keys","items"])]),_:1}),n(_,{span:20},{default:a(()=>[e(c)[0]==="1"?(l(),i(it,{key:0})):h("",!0),e(c)[0]==="2"?(l(),i(_t,{key:1})):h("",!0),e(c)[0]==="3"?(l(),i(mt,{key:2})):h("",!0),e(c)[0]==="4"?(l(),i(ft,{key:3})):h("",!0)]),_:1})]),_:1})]),_:1})}}};export{vt as default}; diff --git a/web/dist/assets/settings-DCBrmXjc.css b/web/dist/assets/settings-DCBrmXjc.css new file mode 100644 index 0000000..c3752cb --- /dev/null +++ b/web/dist/assets/settings-DCBrmXjc.css @@ -0,0 +1 @@ +[data-v-9c228196] .ant-card-body,[data-v-b4b2e52a] .ant-card-body{padding-left:0!important}.account-setting-avatar[data-v-b4b2e52a]{font-size:48px;line-height:48px;border-radius:2px} diff --git a/web/dist/assets/success-Bk0XrlRj.js b/web/dist/assets/success-Bk0XrlRj.js new file mode 100644 index 0000000..aeb681e --- /dev/null +++ b/web/dist/assets/success-Bk0XrlRj.js @@ -0,0 +1 @@ +import{u as b}from"./query-breakpoints-DXFMnBNk.js";import{au as _,H as v,a9 as y,aa as k,b9 as B,ba as h,a6 as N,ab as V}from"./antd-vtmm7CAy.js";import{ao as w,c as z,a2 as C,a9 as D,aa as e,k as l,u as t,G as c,ad as n,a4 as a}from"./vue-Dl1fzmsf.js";const S={class:"content"},j={class:"font-500 ml-4 text-4"},G={class:"text-3"},H={class:"relative text-12px align-left left-42px"},I={style:{margin:"8px 0 4px"}},K={class:"text-3"},L={class:"relative text-12px align-left left-42px"},M={style:{margin:"8px 0 4px"}},O={class:"text-3"},Q={class:"text-3"},F={__name:"success",setup(R){const{t:s}=w(),{isMobile:d}=b(),p=z(()=>({title:s("result.success.title"),description:s("result.success.description")}));return(T,o)=>{const u=v,r=y,m=k,i=B,f=h,x=N,g=V;return C(),D(g,{bordered:!1},{default:e(()=>[l(x,{status:"success",title:t(p).title,"sub-title":t(p).description},{extra:e(()=>[l(u,{type:"primary"},{default:e(()=>[c(n(t(s)("result.success.btn-return")),1)]),_:1}),l(u,{class:"ml-2"},{default:e(()=>[c(n(t(s)("result.success.btn-project")),1)]),_:1}),l(u,{class:"ml-2"},{default:e(()=>[c(n(t(s)("result.success.btn-print")),1)]),_:1})]),default:e(()=>[a("div",S,[a("div",j,n(t(s)("result.success.operate-title")),1),l(m,{class:"ml-4"},{default:e(()=>[l(r,{xs:24,sm:12,md:12,lg:12,xl:6},{default:e(()=>[a("span",null,n(t(s)("result.success.operate-id"))+":",1),o[0]||(o[0]=c(" 20230824089 "))]),_:1}),l(r,{xs:24,sm:12,md:12,lg:12,xl:6},{default:e(()=>[a("span",null,n(t(s)("result.success.principal"))+":",1),o[1]||(o[1]=c(" Kirk Lin是谁? "))]),_:1}),l(r,{xs:24,sm:24,md:24,lg:24,xl:12},{default:e(()=>[a("span",null,n(t(s)("result.success.operate-time"))+":",1),o[2]||(o[2]=c(" 2023-08-12 ~ 2024-08-12 "))]),_:1})]),_:1}),l(f,{current:1,direction:t(d)&&"horizontal"||"horizontal","progress-dot":""},{default:e(()=>[l(i,{title:t(s)("result.success.step1-title")},{description:e(()=>[a("div",H,[a("div",I,[c(n(t(s)("result.success.step1-operator"))+" ",1),l(t(_),{class:"m-1 c-primary"})]),o[3]||(o[3]=a("div",null,"2023-08-17 12:32",-1))])]),default:e(()=>[a("span",G,n(t(s)("result.success.step1-title")),1)]),_:1},8,["title"]),l(i,{title:t(s)("result.success.step2-title")},{description:e(()=>[a("div",L,[a("div",M,[c(n(t(s)("result.success.step2-operator"))+" ",1),l(t(_),{class:"m-1 c-primary"})]),o[4]||(o[4]=a("div",null,"2023-08-17 13:32",-1))])]),default:e(()=>[a("span",K,n(t(s)("result.success.step2-title")),1)]),_:1},8,["title"]),l(i,{title:t(s)("result.success.step3-title")},{default:e(()=>[a("span",O,n(t(s)("result.success.step3-title")),1)]),_:1},8,["title"]),l(i,{title:t(s)("result.success.step4-title")},{default:e(()=>[a("span",Q,n(t(s)("result.success.step4-title")),1)]),_:1},8,["title"])]),_:1},8,["direction"])])]),_:1},8,["title","sub-title"])]),_:1})}}};export{F as default}; diff --git a/web/dist/assets/table-list-BNdXiXZh.js b/web/dist/assets/table-list-BNdXiXZh.js new file mode 100644 index 0000000..e6f32e0 --- /dev/null +++ b/web/dist/assets/table-list-BNdXiXZh.js @@ -0,0 +1 @@ +import{_ as me}from"./index-1DQ9lz7_.js";import{j as ve,F as ge,u as ke}from"./index-C-JhWVfG.js";import{bn as ye,bo as xe,a7 as be,R as Ce,a8 as we,B as he,bb as q,a0 as Ie,a1 as Se,a9 as Ae,bf as ze,aa as Oe,u as Ue,v as De,av as Ne,H as Le,S as Me,V as Ve,ab as Be,t as Re,M as $e,D as je,a3 as He,ac as Pe,ae as Fe,aq as Te}from"./antd-vtmm7CAy.js";import{s as M,r as V,f,c as E,w as qe,o as Ee,a2 as m,a9 as S,aa as a,k as t,u as n,G as i,ae as B,ad as G,H as R,a3 as J,a4 as Ge}from"./vue-Dl1fzmsf.js";import"./context-Dawj80bg.js";async function Je(w){return ve("/list/consult-list",w,{customDev:!0})}async function Ke(w){return ge(`/list/${w}`,null,{customDev:!0})}const Qe={key:0,flex:"","gap-2":""},We=["onClick"],Xe={key:1,"gap-2":""},lt={__name:"table-list",setup(w){const K={0:"关闭",1:"运行中",2:"上线",3:"错误"},$=ke(),A=M([{title:"#",dataIndex:"id"},{title:"规则名称",dataIndex:"name"},{title:"描述",dataIndex:"desc"},{title:"服务调用次数",dataIndex:"callNo"},{title:"状态",dataIndex:"status",width:100},{title:"上次调度时间",dataIndex:"updatedAt",width:200},{title:"操作",dataIndex:"action",width:200}]),r=M(!1),c=V({pageSize:10,pageSizeOptions:["10","20","30","40"],current:1,total:100,showSizeChanger:!0,showQuickJumper:!0,showTotal:o=>`总数据位:${o}`,onChange(o,e){c.pageSize=e,c.current=o,k()}}),j=M([]),u=V({name:void 0,callNo:void 0,desc:void 0,status:void 0,updatedAt:void 0}),v=f(["large"]),Q=f([{key:"large",label:"默认",title:"默认"},{key:"middle",label:"中等",title:"中等"},{key:"small",label:"紧凑",title:"紧凑"}]),g=f(!1),W=E(()=>A.value.map(o=>o.dataIndex==="action"?{label:o.title,value:o.dataIndex,disabled:!0}:{label:o.title,value:o.dataIndex})),z=f(!1),d=E(()=>A.value.map(o=>o.dataIndex)),s=V({indeterminate:!1,checkAll:!0,checkList:d.value});async function k(){if(!r.value){r.value=!0;try{const{data:o}=await Je({...u,current:c.current,pageSize:c.pageSize});j.value=o??[]}catch(o){console.log(o)}finally{r.value=!1}}}async function O(){c.current=1,await k()}async function X(){u.name=void 0,u.desc=void 0,await k()}async function Y(o){const e=$.loading("删除中......");try{(await Ke(o.id)).code===200&&await k(),$.success("删除成功")}catch(_){console.log(_)}finally{e()}}function Z(){g.value=!1,q.destroyAll(),O()}function ee(o){v.value[0]=o.key}function h(o){return A.value.filter(e=>!!o.includes(e.dataIndex))}const y=f(h(d.value));function te(o){Object.assign(s,{checkList:o.target.checked?d.value:[],indeterminate:!0}),y.value=o.target.checked?h(d.value):y.value.filter(e=>e.dataIndex==="action")}qe(()=>s.checkList,o=>{s.indeterminate=!!o.length&&o.length{k()});const x=f(!1);return(o,e)=>{const _=Ie,b=Se,p=Ae,le=ze,U=Oe,I=Ue,oe=De,ue=Ne,C=Le,D=Me,se=Ve,N=Be,L=Re,ie=$e,H=je,de=He,re=Pe,ce=Fe,_e=Te,pe=q,fe=me;return m(),S(fe,null,{default:a(()=>[t(N,{"mb-4":""},{default:a(()=>[t(se,{"label-col":{span:7},model:n(u)},{default:a(()=>[t(U,{gutter:[15,0]},{default:a(()=>[t(p,{span:8},{default:a(()=>[t(b,{name:"name",label:"规则名称"},{default:a(()=>[t(_,{value:n(u).name,"onUpdate:value":e[0]||(e[0]=l=>n(u).name=l)},null,8,["value"])]),_:1})]),_:1}),t(p,{span:8},{default:a(()=>[t(b,{name:"desc",label:"描述"},{default:a(()=>[t(_,{value:n(u).desc,"onUpdate:value":e[1]||(e[1]=l=>n(u).desc=l)},null,8,["value"])]),_:1})]),_:1}),t(p,{span:8},{default:a(()=>[t(b,{name:"updatedAt",label:"上次调用时间"},{default:a(()=>[t(le,{value:n(u).updatedAt,"onUpdate:value":e[2]||(e[2]=l=>n(u).updatedAt=l),style:{width:"100%"}},null,8,["value"])]),_:1})]),_:1})]),_:1}),n(x)?(m(),S(U,{key:0,gutter:[15,0]},{default:a(()=>[t(p,{span:8},{default:a(()=>[t(b,{name:"status",label:"状态"},{default:a(()=>[t(oe,{value:n(u).status,"onUpdate:value":e[3]||(e[3]=l=>n(u).status=l)},{default:a(()=>[t(I,{value:"0"},{default:a(()=>e[12]||(e[12]=[i(" 关闭 ")])),_:1}),t(I,{value:"1"},{default:a(()=>e[13]||(e[13]=[i(" 运行中 ")])),_:1}),t(I,{value:"2"},{default:a(()=>e[14]||(e[14]=[i(" 上线 ")])),_:1}),t(I,{value:"3"},{default:a(()=>e[15]||(e[15]=[i(" 错误 ")])),_:1})]),_:1},8,["value"])]),_:1})]),_:1}),t(p,{span:8},{default:a(()=>[t(b,{name:"callNo",label:"服务调用次数"},{default:a(()=>[t(ue,{value:n(u).callNo,"onUpdate:value":e[4]||(e[4]=l=>n(u).callNo=l),style:{width:"100%"}},null,8,["value"])]),_:1})]),_:1})]),_:1})):B("",!0),t(U,{span:24,style:{"text-align":"right"}},{default:a(()=>[t(p,{span:24},{default:a(()=>[t(D,{flex:"","justify-end":"","w-full":""},{default:a(()=>[t(C,{loading:n(r),type:"primary",onClick:O},{default:a(()=>e[16]||(e[16]=[i(" 查询 ")])),_:1},8,["loading"]),t(C,{loading:n(r),onClick:X},{default:a(()=>e[17]||(e[17]=[i(" 重置 ")])),_:1},8,["loading"]),t(C,{type:"link",onClick:e[5]||(e[5]=l=>x.value=!n(x))},{default:a(()=>[i(G(n(x)?"收起":"展开")+" ",1),n(x)?(m(),S(n(ye),{key:0})):(m(),S(n(xe),{key:1}))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(N,{title:"查询表格"},{extra:a(()=>[t(D,{size:"middle"},{default:a(()=>[t(C,{type:"primary",onClick:e[6]||(e[6]=()=>g.value=!0)},{icon:a(()=>[t(n(be))]),default:a(()=>[e[18]||(e[18]=i(" 新增 "))]),_:1}),t(L,{title:"刷新"},{default:a(()=>[t(n(Ce),{onClick:O})]),_:1}),t(L,{title:"密度"},{default:a(()=>[t(H,{trigger:"click"},{overlay:a(()=>[t(ie,{"selected-keys":n(v),"onUpdate:selectedKeys":e[7]||(e[7]=l=>R(v)?v.value=l:null),items:n(Q),onClick:ee},null,8,["selected-keys","items"])]),default:a(()=>[t(n(we))]),_:1})]),_:1}),t(L,{title:"列设置"},{default:a(()=>[t(H,{open:n(z),"onUpdate:open":e[10]||(e[10]=l=>R(z)?z.value=l:null),trigger:"click"},{overlay:a(()=>[t(N,null,{title:a(()=>[t(de,{checked:n(s).checkAll,"onUpdate:checked":e[8]||(e[8]=l=>n(s).checkAll=l),indeterminate:n(s).indeterminate,onChange:te},{default:a(()=>e[19]||(e[19]=[i(" 列选择 ")])),_:1},8,["checked","indeterminate"])]),extra:a(()=>[t(C,{type:"link",onClick:ae},{default:a(()=>e[20]||(e[20]=[i(" 重置 ")])),_:1})]),default:a(()=>[t(re,{value:n(s).checkList,"onUpdate:value":e[9]||(e[9]=l=>n(s).checkList=l),options:n(W),style:{display:"flex","flex-direction":"column"},onChange:ne},null,8,["value","options"])]),_:1})]),default:a(()=>[t(n(he))]),_:1},8,["open"])]),_:1})]),_:1})]),default:a(()=>[t(ce,{loading:n(r),columns:n(y),"data-source":n(j),pagination:n(c),size:n(v)[0]},{bodyCell:a(l=>{var P,F,T;return[((P=l==null?void 0:l.column)==null?void 0:P.dataIndex)==="action"?(m(),J("div",Qe,[Ge("a",{"c-error":"",onClick:Ye=>Y(l==null?void 0:l.record)}," 删除 ",8,We)])):B("",!0),((F=l==null?void 0:l.column)==null?void 0:F.dataIndex)==="status"?(m(),J("div",Xe,G(K[(T=l==null?void 0:l.record)==null?void 0:T.status]),1)):B("",!0)]}),_:1},8,["loading","columns","data-source","pagination","size"])]),_:1}),t(pe,{open:n(g),"onUpdate:open":e[11]||(e[11]=l=>R(g)?g.value=l:null),title:"新建规则",width:"400px",onOk:Z},{default:a(()=>[t(D,{direction:"vertical",size:"large",class:"w-full"},{default:a(()=>[t(_,{placeholder:"请输入"}),t(_e,{placeholder:"请输入"})]),_:1})]),_:1},8,["open"])]),_:1})}}};export{lt as default}; diff --git a/web/dist/assets/task-form-Bya_CC5z.js b/web/dist/assets/task-form-Bya_CC5z.js new file mode 100644 index 0000000..23a2115 --- /dev/null +++ b/web/dist/assets/task-form-Bya_CC5z.js @@ -0,0 +1 @@ +import{a0 as S,a1 as q,a9 as R,u as U,v as B,aa as V,b7 as F,H as N,V as A}from"./antd-vtmm7CAy.js";import{f as C,r as I,a2 as g,a9 as b,aa as l,k as e,u as n,G as r,ae as K}from"./vue-Dl1fzmsf.js";const G={__name:"task-form",props:{showSubmit:{type:Boolean,default:!1}},setup(y,{expose:w}){const f=C();async function _(){var p;try{return await((p=f.value)==null?void 0:p.validateFields())}catch(a){console.log("Failed:",a)}}const t=I({name2:null,url2:null,owner2:null,approver2:null,dateRange2:null,type2:null});return w({handleSubmit:_}),(p,a)=>{const i=S,o=q,s=R,m=U,d=B,v=V,c=F,k=N,x=A;return g(),b(x,{ref_key:"formRef",ref:f,model:n(t),onSubmit:_},{default:l(()=>[e(v,{class:"form-row",gutter:16},{default:l(()=>[e(s,{lg:6,md:12,sm:24},{default:l(()=>[e(o,{name:"name2",rules:[{required:!0,message:"请输入任务名称"}],label:"任务名"},{default:l(()=>[e(i,{value:n(t).name2,"onUpdate:value":a[0]||(a[0]=u=>n(t).name2=u),placeholder:"请输入任务名称"},null,8,["value"])]),_:1})]),_:1}),e(s,{xl:{span:7,offset:1},lg:{span:8},md:{span:12},sm:24},{default:l(()=>[e(o,{name:"url2",rules:[{required:!0,message:"请输入任务描述"}],label:"任务描述"},{default:l(()=>[e(i,{value:n(t).url2,"onUpdate:value":a[1]||(a[1]=u=>n(t).url2=u),placeholder:"请输入任务描述"},null,8,["value"])]),_:1})]),_:1}),e(s,{xl:{span:9,offset:1},lg:{span:10},md:{span:24},sm:24},{default:l(()=>[e(o,{name:"owner2",rules:[{required:!0,message:"请选择执行人"}],label:"执行人"},{default:l(()=>[e(d,{value:n(t).owner2,"onUpdate:value":a[2]||(a[2]=u=>n(t).owner2=u),placeholder:"请选择执行人"},{default:l(()=>[e(m,{value:"KirkLin"},{default:l(()=>a[6]||(a[6]=[r(" Kirk Lin ")])),_:1})]),_:1},8,["value"])]),_:1})]),_:1})]),_:1}),e(v,{class:"form-row",gutter:16},{default:l(()=>[e(s,{lg:6,md:12,sm:24},{default:l(()=>[e(o,{name:"approver2",rules:[{required:!0,message:"请选择责任人"}],label:"责任人"},{default:l(()=>[e(d,{value:n(t).approver2,"onUpdate:value":a[3]||(a[3]=u=>n(t).approver2=u),placeholder:"请选择责任人"},{default:l(()=>[e(m,{value:"Aibayanyu"},{default:l(()=>a[7]||(a[7]=[r(" Aibayanyu ")])),_:1})]),_:1},8,["value"])]),_:1})]),_:1}),e(s,{xl:{span:7,offset:1},lg:{span:8},md:{span:12},sm:24},{default:l(()=>[e(o,{name:"dateRange2",rules:[{required:!0,message:"请选择提醒时间"}],label:"提醒时间"},{default:l(()=>[e(c,{value:n(t).dateRange2,"onUpdate:value":a[4]||(a[4]=u=>n(t).dateRange2=u),style:{width:"100%"}},null,8,["value"])]),_:1})]),_:1}),e(s,{xl:{span:9,offset:1},lg:{span:10},md:{span:24},sm:24},{default:l(()=>[e(o,{name:"type2",rules:[{required:!0,message:"请选择任务类型"}],label:"任务类型"},{default:l(()=>[e(d,{value:n(t).type2,"onUpdate:value":a[5]||(a[5]=u=>n(t).type2=u),placeholder:"请选择任务类型"},{default:l(()=>[e(m,{value:"定时执行"},{default:l(()=>a[8]||(a[8]=[r(" 定时执行 ")])),_:1}),e(m,{value:"周期执行"},{default:l(()=>a[9]||(a[9]=[r(" 周期执行 ")])),_:1})]),_:1},8,["value"])]),_:1})]),_:1})]),_:1}),y.showSubmit?(g(),b(o,{key:0},{default:l(()=>[e(k,{"html-type":"submit"},{default:l(()=>a[10]||(a[10]=[r(" Submit ")])),_:1})]),_:1})):K("",!0)]),_:1},8,["model"])}}};export{G as default}; diff --git a/web/dist/assets/trend-DeLG38Nf.js b/web/dist/assets/trend-DeLG38Nf.js new file mode 100644 index 0000000..d1c4dac --- /dev/null +++ b/web/dist/assets/trend-DeLG38Nf.js @@ -0,0 +1 @@ +import{_ as n}from"./index-C-JhWVfG.js";import{ax as l,ay as o}from"./antd-vtmm7CAy.js";import{a2 as a,a3 as d,S as c,a4 as i,a9 as t,u as r,af as f}from"./vue-Dl1fzmsf.js";const u=["title"],m={__name:"trend",props:{flag:{type:String,default:void 0},children:{type:String,default:void 0}},setup(e){return(s,p)=>(a(),d("div",{title:e.children,class:"trendItem"},[c(s.$slots,"default",{},void 0,!0),i("span",{class:f(e.flag)},[e.flag==="up"?(a(),t(r(l),{key:0})):(a(),t(r(o),{key:1}))],2)],8,u))}},y=n(m,[["__scopeId","data-v-9a18f7da"]]);export{y as default}; diff --git a/web/dist/assets/trend-DxP3ucXS.css b/web/dist/assets/trend-DxP3ucXS.css new file mode 100644 index 0000000..1197d7f --- /dev/null +++ b/web/dist/assets/trend-DxP3ucXS.css @@ -0,0 +1 @@ +.trendItem[data-v-9a18f7da]{display:inline-block;font-size:14px;line-height:22px}.trendItem .up[data-v-9a18f7da],.trendItem .down[data-v-9a18f7da]{position:relative;top:1px;margin-left:4px}.trendItem .up span[data-v-9a18f7da],.trendItem .down span[data-v-9a18f7da]{font-size:12px;transform:scale(.83)}.trendItem .up[data-v-9a18f7da]{color:#f5222d}.trendItem .down[data-v-9a18f7da]{top:-1px;color:#52c41a}.trendItem.trendItemGrey .up[data-v-9a18f7da],.trendItem.trendItemGrey .down[data-v-9a18f7da]{color:var(--text-color)}.trendItem.reverseColor .up[data-v-9a18f7da]{color:#52c41a}.trendItem.reverseColor .down[data-v-9a18f7da]{color:#f5222d} diff --git a/web/dist/assets/vec2-4Cx-bOHg.js b/web/dist/assets/vec2-4Cx-bOHg.js new file mode 100644 index 0000000..57d3243 --- /dev/null +++ b/web/dist/assets/vec2-4Cx-bOHg.js @@ -0,0 +1 @@ +var h=function(r,n){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},h(r,n)};function d(r,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");h(r,n);function t(){this.constructor=r}r.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}var v=function(){return v=Object.assign||function(n){for(var t,e=1,i=arguments.length;e0&&a[a.length-1])&&(f[0]===6||f[0]===2)){t=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]=r.length&&(r=void 0),{value:r&&r[e++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function S(r,n){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var e=t.call(r),i,a=[],c;try{for(;(n===void 0||n-- >0)&&!(i=e.next()).done;)a.push(i.value)}catch(u){c={error:u}}finally{try{i&&!i.done&&(t=e.return)&&t.call(e)}finally{if(c)throw c.error}}return a}function A(){for(var r=0,n=0,t=arguments.length;n0&&(a=1/Math.sqrt(a)),r[0]=n[0]*a,r[1]=n[1]*a,r[2]=n[2]*a,r}function x(r,n){return r[0]*n[0]+r[1]*n[1]+r[2]*n[2]}function P(r,n,t){var e=n[0],i=n[1],a=n[2],c=t[0],u=t[1],o=t[2];return r[0]=i*o-a*u,r[1]=a*c-e*o,r[2]=e*u-i*c,r}function F(r,n,t){var e=n[0],i=n[1],a=n[2],c=t[3]*e+t[7]*i+t[11]*a+t[15];return c=c||1,r[0]=(t[0]*e+t[4]*i+t[8]*a+t[12])/c,r[1]=(t[1]*e+t[5]*i+t[9]*a+t[13])/c,r[2]=(t[2]*e+t[6]*i+t[10]*a+t[14])/c,r}function I(r,n,t){var e=n[0],i=n[1],a=n[2];return r[0]=e*t[0]+i*t[3]+a*t[6],r[1]=e*t[1]+i*t[4]+a*t[7],r[2]=e*t[2]+i*t[5]+a*t[8],r}function k(r,n){var t=r[0],e=r[1],i=r[2],a=n[0],c=n[1],u=n[2],o=Math.sqrt(t*t+e*e+i*i),f=Math.sqrt(a*a+c*c+u*u),s=o*f,y=s&&x(r,n)/s;return Math.acos(Math.min(Math.max(y,-1),1))}var T=g;(function(){var r=p();return function(n,t,e,i,a,c){var u,o;for(t||(t=3),e||(e=0),i?o=Math.min(i*t+e,n.length):o=n.length,u=e;u0&&(i=1/Math.sqrt(i)),r[0]=n[0]*i,r[1]=n[1]*i,r}function N(r,n){return r[0]*n[0]+r[1]*n[1]}function Q(r,n,t,e){var i=n[0],a=n[1];return r[0]=i+e*(t[0]-i),r[1]=a+e*(t[1]-a),r}function U(r,n,t){var e=n[0],i=n[1];return r[0]=t[0]*e+t[3]*i+t[6],r[1]=t[1]*e+t[4]*i+t[7],r}function W(r,n){var t=r[0],e=r[1],i=n[0],a=n[1],c=Math.sqrt(t*t+e*e)*Math.sqrt(i*i+a*a),u=c&&(t*i+e*a)/c;return Math.acos(Math.min(Math.max(u,-1),1))}function X(r,n){return r[0]===n[0]&&r[1]===n[1]}var Z=w;(function(){var r=_();return function(n,t,e,i,a,c){var u,o;for(t||(t=2),e||(e=0),i?o=Math.min(i*t+e,n.length):o=n.length,u=e;un in t}const ge={},Tn=[],Et=()=>{},mu=()=>!1,es=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),yl=e=>e.startsWith("onUpdate:"),Ne=Object.assign,Tl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},pu=Object.prototype.hasOwnProperty,fe=(e,t)=>pu.call(e,t),z=Array.isArray,Cn=e=>mr(e)==="[object Map]",Gi=e=>mr(e)==="[object Set]",gu=e=>mr(e)==="[object RegExp]",te=e=>typeof e=="function",ye=e=>typeof e=="string",Yt=e=>typeof e=="symbol",be=e=>e!==null&&typeof e=="object",Yi=e=>(be(e)||te(e))&&te(e.then)&&te(e.catch),Xi=Object.prototype.toString,mr=e=>Xi.call(e),_u=e=>mr(e).slice(8,-1),qi=e=>mr(e)==="[object Object]",Cl=e=>ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Kn=El(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ts=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},vu=/-(\w)/g,dt=ts(e=>e.replace(vu,(t,n)=>n?n.toUpperCase():"")),bu=/\B([A-Z])/g,Xt=ts(e=>e.replace(bu,"-$1").toLowerCase()),ns=ts(e=>e.charAt(0).toUpperCase()+e.slice(1)),Cs=ts(e=>e?`on${ns(e)}`:""),Bt=(e,t)=>!Object.is(e,t),Gn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Eu=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Qi=e=>{const t=ye(e)?Number(e):NaN;return isNaN(t)?e:t};let oo;const zi=()=>oo||(oo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function rs(e){if(z(e)){const t={};for(let n=0;n{if(n){const r=n.split(Tu);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ss(e){let t="";if(ye(e))t=e;else if(z(e))for(let n=0;n!!(e&&e.__v_isRef===!0),Ou=e=>ye(e)?e:e==null?"":z(e)||be(e)&&(e.toString===Xi||!te(e.toString))?ea(e)?Ou(e.value):JSON.stringify(e,ta,2):String(e),ta=(e,t)=>ea(t)?ta(e,t.value):Cn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,l],s)=>(n[Ls(r,s)+" =>"]=l,n),{})}:Gi(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ls(n))}:Yt(t)?Ls(t):be(t)&&!z(t)&&!qi(t)?String(t):t,Ls=(e,t="")=>{var n;return Yt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.5.8 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Ye;class na{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ye,!t&&Ye&&(this.index=(Ye.scopes||(Ye.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;let e;for(;Yn;){let t=Yn;for(Yn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function ia(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function aa(e,t=!1){let n,r=e.depsTail,l=r;for(;l;){const s=l.prevDep;l.version===-1?(l===r&&(r=s),Ol(l,t),Nu(l)):n=l,l.dep.activeLink=l.prevActiveLink,l.prevActiveLink=void 0,l=s}e.deps=n,e.depsTail=r}function js(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ca(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ca(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===nr))return;e.globalVersion=nr;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!js(e)){e.flags&=-3;return}const n=pe,r=ft;pe=e,ft=!0;try{ia(e);const l=e.fn(e._value);(t.version===0||Bt(l,e._value))&&(e._value=l,t.version++)}catch(l){throw t.version++,l}finally{pe=n,ft=r,aa(e,!0),e.flags&=-3}}function Ol(e,t=!1){const{dep:n,prevSub:r,nextSub:l}=e;if(r&&(r.nextSub=l,e.prevSub=void 0),l&&(l.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r),!n.subs)if(n.computed){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Ol(s,!0)}else n.map&&!t&&(n.map.delete(n.key),n.map.size||rr.delete(n.target))}function Nu(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ft=!0;const ua=[];function qt(){ua.push(ft),ft=!1}function Jt(){const e=ua.pop();ft=e===void 0?!0:e}function io(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=pe;pe=void 0;try{t()}finally{pe=n}}}let nr=0;class Au{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ls{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.target=void 0,this.map=void 0,this.key=void 0}track(t){if(!pe||!ft||pe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==pe)n=this.activeLink=new Au(pe,this),pe.deps?(n.prevDep=pe.depsTail,pe.depsTail.nextDep=n,pe.depsTail=n):pe.deps=pe.depsTail=n,pe.flags&4&&fa(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=pe.depsTail,n.nextDep=void 0,pe.depsTail.nextDep=n,pe.depsTail=n,pe.deps===n&&(pe.deps=r)}return n}trigger(t){this.version++,nr++,this.notify(t)}notify(t){Sl();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Il()}}}function fa(e){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)fa(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}const rr=new WeakMap,ln=Symbol(""),Bs=Symbol(""),sr=Symbol("");function Ve(e,t,n){if(ft&&pe){let r=rr.get(e);r||rr.set(e,r=new Map);let l=r.get(n);l||(r.set(n,l=new ls),l.target=e,l.map=r,l.key=n),l.track()}}function wt(e,t,n,r,l,s){const o=rr.get(e);if(!o){nr++;return}const i=a=>{a&&a.trigger()};if(Sl(),t==="clear")o.forEach(i);else{const a=z(e),f=a&&Cl(n);if(a&&n==="length"){const u=Number(r);o.forEach((c,d)=>{(d==="length"||d===sr||!Yt(d)&&d>=u)&&i(c)})}else switch(n!==void 0&&i(o.get(n)),f&&i(o.get(sr)),t){case"add":a?f&&i(o.get("length")):(i(o.get(ln)),Cn(e)&&i(o.get(Bs)));break;case"delete":a||(i(o.get(ln)),Cn(e)&&i(o.get(Bs)));break;case"set":Cn(e)&&i(o.get(ln));break}}Il()}function wu(e,t){var n;return(n=rr.get(e))==null?void 0:n.get(t)}function pn(e){const t=ie(e);return t===e?t:(Ve(t,"iterate",sr),ot(e)?t:t.map(He))}function os(e){return Ve(e=ie(e),"iterate",sr),e}const Ru={__proto__:null,[Symbol.iterator](){return Is(this,Symbol.iterator,He)},concat(...e){return pn(this).concat(...e.map(t=>z(t)?pn(t):t))},entries(){return Is(this,"entries",e=>(e[1]=He(e[1]),e))},every(e,t){return Tt(this,"every",e,t,void 0,arguments)},filter(e,t){return Tt(this,"filter",e,t,n=>n.map(He),arguments)},find(e,t){return Tt(this,"find",e,t,He,arguments)},findIndex(e,t){return Tt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Tt(this,"findLast",e,t,He,arguments)},findLastIndex(e,t){return Tt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Tt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Os(this,"includes",e)},indexOf(...e){return Os(this,"indexOf",e)},join(e){return pn(this).join(e)},lastIndexOf(...e){return Os(this,"lastIndexOf",e)},map(e,t){return Tt(this,"map",e,t,void 0,arguments)},pop(){return $n(this,"pop")},push(...e){return $n(this,"push",e)},reduce(e,...t){return ao(this,"reduce",e,t)},reduceRight(e,...t){return ao(this,"reduceRight",e,t)},shift(){return $n(this,"shift")},some(e,t){return Tt(this,"some",e,t,void 0,arguments)},splice(...e){return $n(this,"splice",e)},toReversed(){return pn(this).toReversed()},toSorted(e){return pn(this).toSorted(e)},toSpliced(...e){return pn(this).toSpliced(...e)},unshift(...e){return $n(this,"unshift",e)},values(){return Is(this,"values",He)}};function Is(e,t,n){const r=os(e),l=r[t]();return r!==e&&!ot(e)&&(l._next=l.next,l.next=()=>{const s=l._next();return s.value&&(s.value=n(s.value)),s}),l}const Pu=Array.prototype;function Tt(e,t,n,r,l,s){const o=os(e),i=o!==e&&!ot(e),a=o[t];if(a!==Pu[t]){const c=a.apply(e,s);return i?He(c):c}let f=n;o!==e&&(i?f=function(c,d){return n.call(this,He(c),d,e)}:n.length>2&&(f=function(c,d){return n.call(this,c,d,e)}));const u=a.call(o,f,r);return i&&l?l(u):u}function ao(e,t,n,r){const l=os(e);let s=n;return l!==e&&(ot(e)?n.length>3&&(s=function(o,i,a){return n.call(this,o,i,a,e)}):s=function(o,i,a){return n.call(this,o,He(i),a,e)}),l[t](s,...r)}function Os(e,t,n){const r=ie(e);Ve(r,"iterate",sr);const l=r[t](...n);return(l===-1||l===!1)&&Rl(n[0])?(n[0]=ie(n[0]),r[t](...n)):l}function $n(e,t,n=[]){qt(),Sl();const r=ie(e)[t].apply(e,n);return Il(),Jt(),r}const ku=El("__proto__,__v_isRef,__isVue"),da=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Yt));function Mu(e){Yt(e)||(e=String(e));const t=ie(this);return Ve(t,"has",e),t.hasOwnProperty(e)}class ha{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const l=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!l;if(n==="__v_isReadonly")return l;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(l?s?Yu:_a:s?ga:pa).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=z(t);if(!l){let a;if(o&&(a=Ru[n]))return a;if(n==="hasOwnProperty")return Mu}const i=Reflect.get(t,n,ve(t)?t:r);return(Yt(n)?da.has(n):ku(n))||(l||Ve(t,"get",n),s)?i:ve(i)?o&&Cl(n)?i:i.value:be(i)?l?as(i):gr(i):i}}class ma extends ha{constructor(t=!1){super(!1,t)}set(t,n,r,l){let s=t[n];if(!this._isShallow){const a=un(s);if(!ot(r)&&!un(r)&&(s=ie(s),r=ie(r)),!z(t)&&ve(s)&&!ve(r))return a?!1:(s.value=r,!0)}const o=z(t)&&Cl(n)?Number(n)e,is=e=>Reflect.getPrototypeOf(e);function Lr(e,t,n=!1,r=!1){e=e.__v_raw;const l=ie(e),s=ie(t);n||(Bt(t,s)&&Ve(l,"get",t),Ve(l,"get",s));const{has:o}=is(l),i=r?Nl:n?kl:He;if(o.call(l,t))return i(e.get(t));if(o.call(l,s))return i(e.get(s));e!==l&&e.get(t)}function Sr(e,t=!1){const n=this.__v_raw,r=ie(n),l=ie(e);return t||(Bt(e,l)&&Ve(r,"has",e),Ve(r,"has",l)),e===l?n.has(e):n.has(e)||n.has(l)}function Ir(e,t=!1){return e=e.__v_raw,!t&&Ve(ie(e),"iterate",ln),Reflect.get(e,"size",e)}function co(e,t=!1){!t&&!ot(e)&&!un(e)&&(e=ie(e));const n=ie(this);return is(n).has.call(n,e)||(n.add(e),wt(n,"add",e,e)),this}function uo(e,t,n=!1){!n&&!ot(t)&&!un(t)&&(t=ie(t));const r=ie(this),{has:l,get:s}=is(r);let o=l.call(r,e);o||(e=ie(e),o=l.call(r,e));const i=s.call(r,e);return r.set(e,t),o?Bt(t,i)&&wt(r,"set",e,t):wt(r,"add",e,t),this}function fo(e){const t=ie(this),{has:n,get:r}=is(t);let l=n.call(t,e);l||(e=ie(e),l=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return l&&wt(t,"delete",e,void 0),s}function ho(){const e=ie(this),t=e.size!==0,n=e.clear();return t&&wt(e,"clear",void 0,void 0),n}function Or(e,t){return function(r,l){const s=this,o=s.__v_raw,i=ie(o),a=t?Nl:e?kl:He;return!e&&Ve(i,"iterate",ln),o.forEach((f,u)=>r.call(l,a(f),a(u),s))}}function Nr(e,t,n){return function(...r){const l=this.__v_raw,s=ie(l),o=Cn(s),i=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,f=l[e](...r),u=n?Nl:t?kl:He;return!t&&Ve(s,"iterate",a?Bs:ln),{next(){const{value:c,done:d}=f.next();return d?{value:c,done:d}:{value:i?[u(c[0]),u(c[1])]:u(c),done:d}},[Symbol.iterator](){return this}}}}function Mt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Uu(){const e={get(s){return Lr(this,s)},get size(){return Ir(this)},has:Sr,add:co,set:uo,delete:fo,clear:ho,forEach:Or(!1,!1)},t={get(s){return Lr(this,s,!1,!0)},get size(){return Ir(this)},has:Sr,add(s){return co.call(this,s,!0)},set(s,o){return uo.call(this,s,o,!0)},delete:fo,clear:ho,forEach:Or(!1,!0)},n={get(s){return Lr(this,s,!0)},get size(){return Ir(this,!0)},has(s){return Sr.call(this,s,!0)},add:Mt("add"),set:Mt("set"),delete:Mt("delete"),clear:Mt("clear"),forEach:Or(!0,!1)},r={get(s){return Lr(this,s,!0,!0)},get size(){return Ir(this,!0)},has(s){return Sr.call(this,s,!0)},add:Mt("add"),set:Mt("set"),delete:Mt("delete"),clear:Mt("clear"),forEach:Or(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Nr(s,!1,!1),n[s]=Nr(s,!0,!1),t[s]=Nr(s,!1,!0),r[s]=Nr(s,!0,!0)}),[e,n,t,r]}const[Wu,Hu,Vu,ju]=Uu();function Al(e,t){const n=t?e?ju:Vu:e?Hu:Wu;return(r,l,s)=>l==="__v_isReactive"?!e:l==="__v_isReadonly"?e:l==="__v_raw"?r:Reflect.get(fe(n,l)&&l in r?n:r,l,s)}const Bu={get:Al(!1,!1)},Ku={get:Al(!1,!0)},Gu={get:Al(!0,!1)};const pa=new WeakMap,ga=new WeakMap,_a=new WeakMap,Yu=new WeakMap;function Xu(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function qu(e){return e.__v_skip||!Object.isExtensible(e)?0:Xu(_u(e))}function gr(e){return un(e)?e:wl(e,!1,Du,Bu,pa)}function va(e){return wl(e,!1,$u,Ku,ga)}function as(e){return wl(e,!0,xu,Gu,_a)}function wl(e,t,n,r,l){if(!be(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=l.get(e);if(s)return s;const o=qu(e);if(o===0)return e;const i=new Proxy(e,o===2?r:n);return l.set(e,i),i}function Rt(e){return un(e)?Rt(e.__v_raw):!!(e&&e.__v_isReactive)}function un(e){return!!(e&&e.__v_isReadonly)}function ot(e){return!!(e&&e.__v_isShallow)}function Rl(e){return e?!!e.__v_raw:!1}function ie(e){const t=e&&e.__v_raw;return t?ie(t):e}function Pl(e){return!fe(e,"__v_skip")&&Object.isExtensible(e)&&Ji(e,"__v_skip",!0),e}const He=e=>be(e)?gr(e):e,kl=e=>be(e)?as(e):e;function ve(e){return e?e.__v_isRef===!0:!1}function ue(e){return ba(e,!1)}function cs(e){return ba(e,!0)}function ba(e,t){return ve(e)?e:new Ju(e,t)}class Ju{constructor(t,n){this.dep=new ls,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ie(t),this._value=n?t:He(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||ot(t)||un(t);t=r?t:ie(t),Bt(t,n)&&(this._rawValue=t,this._value=r?t:He(t),this.dep.trigger())}}function Og(e){e.dep&&e.dep.trigger()}function on(e){return ve(e)?e.value:e}const Qu={get:(e,t,n)=>t==="__v_raw"?e:on(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const l=e[t];return ve(l)&&!ve(n)?(l.value=n,!0):Reflect.set(e,t,n,r)}};function Ea(e){return Rt(e)?e:new Proxy(e,Qu)}class zu{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new ls,{get:r,set:l}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=l}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Zu(e){return new zu(e)}function ef(e){const t=z(e)?new Array(e.length):{};for(const n in e)t[n]=Ta(e,n);return t}class tf{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return wu(ie(this._object),this._key)}}class nf{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function ya(e,t,n){return ve(e)?e:te(e)?new nf(e):be(e)&&arguments.length>1?Ta(e,t,n):ue(e)}function Ta(e,t,n){const r=e[t];return ve(r)?r:new tf(e,t,n)}class rf{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ls(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=nr-1,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&pe!==this)return oa(this),!0}get value(){const t=this.dep.track();return ca(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function sf(e,t,n=!1){let r,l;return te(e)?r=e:(r=e.get,l=e.set),new rf(r,l,n)}const Ar={},Wr=new WeakMap;let sn;function lf(e,t=!1,n=sn){if(n){let r=Wr.get(n);r||Wr.set(n,r=[]),r.push(e)}}function of(e,t,n=ge){const{immediate:r,deep:l,once:s,scheduler:o,augmentJob:i,call:a}=n,f=b=>l?b:ot(b)||l===!1||l===0?Nt(b,1):Nt(b);let u,c,d,g,E=!1,C=!1;if(ve(e)?(c=()=>e.value,E=ot(e)):Rt(e)?(c=()=>f(e),E=!0):z(e)?(C=!0,E=e.some(b=>Rt(b)||ot(b)),c=()=>e.map(b=>{if(ve(b))return b.value;if(Rt(b))return f(b);if(te(b))return a?a(b,2):b()})):te(e)?t?c=a?()=>a(e,2):e:c=()=>{if(d){qt();try{d()}finally{Jt()}}const b=sn;sn=u;try{return a?a(e,3,[g]):e(g)}finally{sn=b}}:c=Et,t&&l){const b=c,T=l===!0?1/0:l;c=()=>Nt(b(),T)}const A=Ll(),w=()=>{u.stop(),A&&Tl(A.effects,u)};if(s&&t){const b=t;t=(...T)=>{b(...T),w()}}let N=C?new Array(e.length).fill(Ar):Ar;const v=b=>{if(!(!(u.flags&1)||!u.dirty&&!b))if(t){const T=u.run();if(l||E||(C?T.some((L,R)=>Bt(L,N[R])):Bt(T,N))){d&&d();const L=sn;sn=u;try{const R=[T,N===Ar?void 0:C&&N[0]===Ar?[]:N,g];a?a(t,3,R):t(...R),N=T}finally{sn=L}}}else u.run()};return i&&i(v),u=new sa(c),u.scheduler=o?()=>o(v,!1):v,g=b=>lf(b,!1,u),d=u.onStop=()=>{const b=Wr.get(u);if(b){if(a)a(b,4);else for(const T of b)T();Wr.delete(u)}},t?r?v(!0):N=u.run():o?o(v.bind(null,!0),!0):u.run(),w.pause=u.pause.bind(u),w.resume=u.resume.bind(u),w.stop=w,w}function Nt(e,t=1/0,n){if(t<=0||!be(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ve(e))Nt(e.value,t,n);else if(z(e))for(let r=0;r{Nt(r,t,n)});else if(qi(e)){for(const r in e)Nt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Nt(e[r],t,n)}return e}/** +* @vue/runtime-core v3.5.8 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function _r(e,t,n,r){try{return r?e(...r):e()}catch(l){Fn(l,t,n)}}function ht(e,t,n,r){if(te(e)){const l=_r(e,t,n,r);return l&&Yi(l)&&l.catch(s=>{Fn(s,t,n)}),l}if(z(e)){const l=[];for(let s=0;s>>1,l=Xe[r],s=or(l);s=or(n)?Xe.push(e):Xe.splice(cf(t),0,e),e.flags|=1,La()}}function La(){!lr&&!Ks&&(Ks=!0,Ml=Ca.then(Ia))}function Gs(e){z(e)?Ln.push(...e):Wt&&e.id===-1?Wt.splice(_n+1,0,e):e.flags&1||(Ln.push(e),e.flags|=1),La()}function mo(e,t,n=lr?vt+1:0){for(;nor(n)-or(r));if(Ln.length=0,Wt){Wt.push(...t);return}for(Wt=t,_n=0;_ne.id==null?e.flags&2?-1:1/0:e.id;function Ia(e){Ks=!1,lr=!0;try{for(vt=0;vt{r._d&&Oo(-1);const s=Hr(t);let o;try{o=e(...l)}finally{Hr(s),r._d&&Oo(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Ng(e,t){if(Re===null)return e;const n=ps(Re),r=e.dirs||(e.dirs=[]);for(let l=0;le.__isTeleport,Xn=e=>e&&(e.disabled||e.disabled===""),ff=e=>e&&(e.defer||e.defer===""),po=e=>typeof SVGElement<"u"&&e instanceof SVGElement,go=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ys=(e,t)=>{const n=e&&e.to;return ye(n)?t?t(n):null:n},df={name:"Teleport",__isTeleport:!0,process(e,t,n,r,l,s,o,i,a,f){const{mc:u,pc:c,pbc:d,o:{insert:g,querySelector:E,createText:C,createComment:A}}=f,w=Xn(t.props);let{shapeFlag:N,children:v,dynamicChildren:b}=t;if(e==null){const T=t.el=C(""),L=t.anchor=C("");g(T,n,r),g(L,n,r);const R=(I,M)=>{N&16&&(l&&l.isCE&&(l.ce._teleportTarget=I),u(v,I,M,l,s,o,i,a))},P=()=>{const I=t.target=Ys(t.props,E),M=wa(I,t,C,g);I&&(o!=="svg"&&po(I)?o="svg":o!=="mathml"&&go(I)&&(o="mathml"),w||(R(I,M),Dr(t)))};w&&(R(n,L),Dr(t)),ff(t.props)?Fe(P,s):P()}else{t.el=e.el,t.targetStart=e.targetStart;const T=t.anchor=e.anchor,L=t.target=e.target,R=t.targetAnchor=e.targetAnchor,P=Xn(e.props),I=P?n:L,M=P?T:R;if(o==="svg"||po(L)?o="svg":(o==="mathml"||go(L))&&(o="mathml"),b?(d(e.dynamicChildren,b,I,l,s,o,i),Bl(e,t,!0)):a||c(e,t,I,M,l,s,o,i,!1),w)P?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):wr(t,n,T,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const j=t.target=Ys(t.props,E);j&&wr(t,j,null,f,0)}else P&&wr(t,L,R,f,1);Dr(t)}},remove(e,t,n,{um:r,o:{remove:l}},s){const{shapeFlag:o,children:i,anchor:a,targetStart:f,targetAnchor:u,target:c,props:d}=e;if(c&&(l(f),l(u)),s&&l(a),o&16){const g=s||!Xn(d);for(let E=0;E{e.isMounted=!0}),fs(()=>{e.isUnmounting=!0}),e}const rt=[Function,Array],Pa={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:rt,onEnter:rt,onAfterEnter:rt,onEnterCancelled:rt,onBeforeLeave:rt,onLeave:rt,onAfterLeave:rt,onLeaveCancelled:rt,onBeforeAppear:rt,onAppear:rt,onAfterAppear:rt,onAppearCancelled:rt},ka=e=>{const t=e.subTree;return t.component?ka(t.component):t},mf={name:"BaseTransition",props:Pa,setup(e,{slots:t}){const n=Ze(),r=Ra();return()=>{const l=t.default&&Dl(t.default(),!0);if(!l||!l.length)return;const s=Ma(l),o=ie(e),{mode:i}=o;if(r.isLeaving)return Ns(s);const a=_o(s);if(!a)return Ns(s);let f=ir(a,o,r,n,d=>f=d);a.type!==De&&Kt(a,f);const u=n.subTree,c=u&&_o(u);if(c&&c.type!==De&&!ct(a,c)&&ka(n).type!==De){const d=ir(c,o,r,n);if(Kt(c,d),i==="out-in"&&a.type!==De)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave},Ns(s);i==="in-out"&&a.type!==De&&(d.delayLeave=(g,E,C)=>{const A=Fa(r,c);A[String(c.key)]=c,g[Ht]=()=>{E(),g[Ht]=void 0,delete f.delayedLeave},f.delayedLeave=C})}return s}}};function Ma(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==De){t=n;break}}return t}const pf=mf;function Fa(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function ir(e,t,n,r,l){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:a,onEnter:f,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:d,onLeave:g,onAfterLeave:E,onLeaveCancelled:C,onBeforeAppear:A,onAppear:w,onAfterAppear:N,onAppearCancelled:v}=t,b=String(e.key),T=Fa(n,e),L=(I,M)=>{I&&ht(I,r,9,M)},R=(I,M)=>{const j=M[1];L(I,M),z(I)?I.every(D=>D.length<=1)&&j():I.length<=1&&j()},P={mode:o,persisted:i,beforeEnter(I){let M=a;if(!n.isMounted)if(s)M=A||a;else return;I[Ht]&&I[Ht](!0);const j=T[b];j&&ct(e,j)&&j.el[Ht]&&j.el[Ht](),L(M,[I])},enter(I){let M=f,j=u,D=c;if(!n.isMounted)if(s)M=w||f,j=N||u,D=v||c;else return;let q=!1;const ae=I[Rr]=Te=>{q||(q=!0,Te?L(D,[I]):L(j,[I]),P.delayedLeave&&P.delayedLeave(),I[Rr]=void 0)};M?R(M,[I,ae]):ae()},leave(I,M){const j=String(e.key);if(I[Rr]&&I[Rr](!0),n.isUnmounting)return M();L(d,[I]);let D=!1;const q=I[Ht]=ae=>{D||(D=!0,M(),ae?L(C,[I]):L(E,[I]),I[Ht]=void 0,T[j]===e&&delete T[j])};T[j]=e,g?R(g,[I,q]):q()},clone(I){const M=ir(I,t,n,r,l);return l&&l(M),M}};return P}function Ns(e){if(br(e))return e=Pt(e),e.children=null,e}function _o(e){if(!br(e))return Aa(e.type)&&e.children?Ma(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&te(n.default))return n.default()}}function Kt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Kt(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Dl(e,t=!1,n){let r=[],l=0;for(let s=0;s1)for(let s=0;sXs(E,t&&(z(t)?t[C]:t),n,r,l));return}if(an(r)&&!l)return;const s=r.shapeFlag&4?ps(r.component):r.el,o=l?null:s,{i,r:a}=e,f=t&&t.r,u=i.refs===ge?i.refs={}:i.refs,c=i.setupState,d=ie(c),g=c===ge?()=>!1:E=>fe(d,E);if(f!=null&&f!==a&&(ye(f)?(u[f]=null,g(f)&&(c[f]=null)):ve(f)&&(f.value=null)),te(a))_r(a,i,12,[o,u]);else{const E=ye(a),C=ve(a);if(E||C){const A=()=>{if(e.f){const w=E?g(a)?c[a]:u[a]:a.value;l?z(w)&&Tl(w,s):z(w)?w.includes(s)||w.push(s):E?(u[a]=[s],g(a)&&(c[a]=u[a])):(a.value=[s],e.k&&(u[e.k]=a.value))}else E?(u[a]=o,g(a)&&(c[a]=o)):C&&(a.value=o,e.k&&(u[e.k]=o))};o?(A.id=-1,Fe(A,n)):A()}}}const vo=e=>e.nodeType===8;function gf(e,t){if(vo(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(vo(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const an=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function wg(e){te(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:l=200,hydrate:s,timeout:o,suspensible:i=!0,onError:a}=e;let f=null,u,c=0;const d=()=>(c++,f=null,g()),g=()=>{let E;return f||(E=f=t().catch(C=>{if(C=C instanceof Error?C:new Error(String(C)),a)return new Promise((A,w)=>{a(C,()=>A(d()),()=>w(C),c+1)});throw C}).then(C=>E!==f&&f?f:(C&&(C.__esModule||C[Symbol.toStringTag]==="Module")&&(C=C.default),u=C,C)))};return Dn({name:"AsyncComponentWrapper",__asyncLoader:g,__asyncHydrate(E,C,A){const w=s?()=>{const N=s(A,v=>gf(E,v));N&&(C.bum||(C.bum=[])).push(N)}:A;u?w():g().then(()=>!C.isUnmounted&&w())},get __asyncResolved(){return u},setup(){const E=Ae;if(xl(E),u)return()=>As(u,E);const C=v=>{f=null,Fn(v,E,13,!r)};if(i&&E.suspense||Tr)return g().then(v=>()=>As(v,E)).catch(v=>(C(v),()=>r?Ie(r,{error:v}):null));const A=ue(!1),w=ue(),N=ue(!!l);return l&&setTimeout(()=>{N.value=!1},l),o!=null&&setTimeout(()=>{if(!A.value&&!w.value){const v=new Error(`Async component timed out after ${o}ms.`);C(v),w.value=v}},o),g().then(()=>{A.value=!0,E.parent&&br(E.parent.vnode)&&E.parent.update()}).catch(v=>{C(v),w.value=v}),()=>{if(A.value&&u)return As(u,E);if(w.value&&r)return Ie(r,{error:w.value});if(n&&!N.value)return Ie(n)}}})}function As(e,t){const{ref:n,props:r,children:l,ce:s}=t.vnode,o=Ie(e,r,l);return o.ref=n,o.ce=s,delete t.vnode.ce,o}const br=e=>e.type.__isKeepAlive,_f={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Ze(),r=n.ctx;if(!r.renderer)return()=>{const N=t.default&&t.default();return N&&N.length===1?N[0]:N};const l=new Map,s=new Set;let o=null;const i=n.suspense,{renderer:{p:a,m:f,um:u,o:{createElement:c}}}=r,d=c("div");r.activate=(N,v,b,T,L)=>{const R=N.component;f(N,v,b,0,i),a(R.vnode,N,v,b,R,i,T,N.slotScopeIds,L),Fe(()=>{R.isDeactivated=!1,R.a&&Gn(R.a);const P=N.props&&N.props.onVnodeMounted;P&&st(P,R.parent,N)},i)},r.deactivate=N=>{const v=N.component;jr(v.m),jr(v.a),f(N,d,null,1,i),Fe(()=>{v.da&&Gn(v.da);const b=N.props&&N.props.onVnodeUnmounted;b&&st(b,v.parent,N),v.isDeactivated=!0},i)};function g(N){ws(N),u(N,n,i,!0)}function E(N){l.forEach((v,b)=>{const T=rl(v.type);T&&!N(T)&&C(b)})}function C(N){const v=l.get(N);v&&(!o||!ct(v,o))?g(v):o&&ws(o),l.delete(N),s.delete(N)}Ue(()=>[e.include,e.exclude],([N,v])=>{N&&E(b=>jn(N,b)),v&&E(b=>!jn(v,b))},{flush:"post",deep:!0});let A=null;const w=()=>{A!=null&&(Br(n.subTree.type)?Fe(()=>{l.set(A,Pr(n.subTree))},n.subTree.suspense):l.set(A,Pr(n.subTree)))};return hn(w),Ul(w),fs(()=>{l.forEach(N=>{const{subTree:v,suspense:b}=n,T=Pr(v);if(N.type===T.type&&N.key===T.key){ws(T);const L=T.component.da;L&&Fe(L,b);return}g(N)})}),()=>{if(A=null,!t.default)return o=null;const N=t.default(),v=N[0];if(N.length>1)return o=null,N;if(!Nn(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return o=null,v;let b=Pr(v);if(b.type===De)return o=null,b;const T=b.type,L=rl(an(b)?b.type.__asyncResolved||{}:T),{include:R,exclude:P,max:I}=e;if(R&&(!L||!jn(R,L))||P&&L&&jn(P,L))return b.shapeFlag&=-257,o=b,v;const M=b.key==null?T:b.key,j=l.get(M);return b.el&&(b=Pt(b),v.shapeFlag&128&&(v.ssContent=b)),A=M,j?(b.el=j.el,b.component=j.component,b.transition&&Kt(b,b.transition),b.shapeFlag|=512,s.delete(M),s.add(M)):(s.add(M),I&&s.size>parseInt(I,10)&&C(s.values().next().value)),b.shapeFlag|=256,o=b,Br(v.type)?v:b}}},Rg=_f;function jn(e,t){return z(e)?e.some(n=>jn(n,t)):ye(e)?e.split(",").includes(t):gu(e)?(e.lastIndex=0,e.test(t)):!1}function vf(e,t){Da(e,"a",t)}function bf(e,t){Da(e,"da",t)}function Da(e,t,n=Ae){const r=e.__wdc||(e.__wdc=()=>{let l=n;for(;l;){if(l.isDeactivated)return;l=l.parent}return e()});if(us(t,r,n),n){let l=n.parent;for(;l&&l.parent;)br(l.parent.vnode)&&Ef(r,t,n,l),l=l.parent}}function Ef(e,t,n,r){const l=us(t,e,r,!0);ds(()=>{Tl(r[t],l)},n)}function ws(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Pr(e){return e.shapeFlag&128?e.ssContent:e}function us(e,t,n=Ae,r=!1){if(n){const l=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{qt();const i=yr(n),a=ht(t,n,e,o);return i(),Jt(),a});return r?l.unshift(s):l.push(s),s}}const kt=e=>(t,n=Ae)=>{(!Tr||e==="sp")&&us(e,(...r)=>t(...r),n)},$l=kt("bm"),hn=kt("m"),yf=kt("bu"),Ul=kt("u"),fs=kt("bum"),ds=kt("um"),Tf=kt("sp"),Cf=kt("rtg"),Lf=kt("rtc");function Sf(e,t=Ae){us("ec",e,t)}const Wl="components",If="directives";function Pg(e,t){return Hl(Wl,e,!0,t)||e}const xa=Symbol.for("v-ndc");function kg(e){return ye(e)?Hl(Wl,e,!1)||e:e||xa}function Mg(e){return Hl(If,e)}function Hl(e,t,n=!0,r=!1){const l=Re||Ae;if(l){const s=l.type;if(e===Wl){const i=rl(s,!1);if(i&&(i===t||i===dt(t)||i===ns(dt(t))))return s}const o=bo(l[e]||s[e],t)||bo(l.appContext[e],t);return!o&&r?s:o}}function bo(e,t){return e&&(e[t]||e[dt(t)]||e[ns(dt(t))])}function Fg(e,t,n,r){let l;const s=n,o=z(e);if(o||ye(e)){const i=o&&Rt(e);let a=!1;i&&(a=!ot(e),e=os(e)),l=new Array(e.length);for(let f=0,u=e.length;ft(i,a,void 0,s));else{const i=Object.keys(e);l=new Array(i.length);for(let a=0,f=i.length;a{const s=r.fn(...l);return s&&(s.key=r.key),s}:r.fn)}return e}function xg(e,t,n={},r,l){if(Re.ce||Re.parent&&an(Re.parent)&&Re.parent.ce)return t!=="default"&&(n.name=t),Kr(),el($e,null,[Ie("slot",n,r&&r())],64);let s=e[t];s&&s._c&&(s._d=!1),Kr();const o=s&&$a(s(n)),i=el($e,{key:(n.key||o&&o.key||`_${t}`)+(!o&&r?"_fb":"")},o||(r?r():[]),o&&e._===1?64:-2);return!l&&i.scopeId&&(i.slotScopeIds=[i.scopeId+"-s"]),s&&s._c&&(s._d=!0),i}function $a(e){return e.some(t=>Nn(t)?!(t.type===De||t.type===$e&&!$a(t.children)):!0)?e:null}const qs=e=>e?sc(e)?ps(e):qs(e.parent):null,qn=Ne(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>qs(e.parent),$root:e=>qs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Vl(e),$forceUpdate:e=>e.f||(e.f=()=>{Fl(e.update)}),$nextTick:e=>e.n||(e.n=vr.bind(e.proxy)),$watch:e=>Qf.bind(e)}),Rs=(e,t)=>e!==ge&&!e.__isScriptSetup&&fe(e,t),Of={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:l,props:s,accessCache:o,type:i,appContext:a}=e;let f;if(t[0]!=="$"){const g=o[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return l[t];case 4:return n[t];case 3:return s[t]}else{if(Rs(r,t))return o[t]=1,r[t];if(l!==ge&&fe(l,t))return o[t]=2,l[t];if((f=e.propsOptions[0])&&fe(f,t))return o[t]=3,s[t];if(n!==ge&&fe(n,t))return o[t]=4,n[t];Js&&(o[t]=0)}}const u=qn[t];let c,d;if(u)return t==="$attrs"&&Ve(e.attrs,"get",""),u(e);if((c=i.__cssModules)&&(c=c[t]))return c;if(n!==ge&&fe(n,t))return o[t]=4,n[t];if(d=a.config.globalProperties,fe(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:l,ctx:s}=e;return Rs(l,t)?(l[t]=n,!0):r!==ge&&fe(r,t)?(r[t]=n,!0):fe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:l,propsOptions:s}},o){let i;return!!n[o]||e!==ge&&fe(e,o)||Rs(t,o)||(i=s[0])&&fe(i,o)||fe(r,o)||fe(qn,o)||fe(l.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:fe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function $g(){return Nf().attrs}function Nf(){const e=Ze();return e.setupContext||(e.setupContext=oc(e))}function Eo(e){return z(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Js=!0;function Af(e){const t=Vl(e),n=e.proxy,r=e.ctx;Js=!1,t.beforeCreate&&yo(t.beforeCreate,e,"bc");const{data:l,computed:s,methods:o,watch:i,provide:a,inject:f,created:u,beforeMount:c,mounted:d,beforeUpdate:g,updated:E,activated:C,deactivated:A,beforeDestroy:w,beforeUnmount:N,destroyed:v,unmounted:b,render:T,renderTracked:L,renderTriggered:R,errorCaptured:P,serverPrefetch:I,expose:M,inheritAttrs:j,components:D,directives:q,filters:ae}=t;if(f&&wf(f,r,null),o)for(const Z in o){const le=o[Z];te(le)&&(r[Z]=le.bind(n))}if(l){const Z=l.call(n,n);be(Z)&&(e.data=gr(Z))}if(Js=!0,s)for(const Z in s){const le=s[Z],je=te(le)?le.bind(n,n):te(le.get)?le.get.bind(n,n):Et,qe=!te(le)&&te(le.set)?le.set.bind(n):Et,Ce=ce({get:je,set:qe});Object.defineProperty(r,Z,{enumerable:!0,configurable:!0,get:()=>Ce.value,set:Le=>Ce.value=Le})}if(i)for(const Z in i)Ua(i[Z],r,n,Z);if(a){const Z=te(a)?a.call(n):a;Reflect.ownKeys(Z).forEach(le=>{Jn(le,Z[le])})}u&&yo(u,e,"c");function re(Z,le){z(le)?le.forEach(je=>Z(je.bind(n))):le&&Z(le.bind(n))}if(re($l,c),re(hn,d),re(yf,g),re(Ul,E),re(vf,C),re(bf,A),re(Sf,P),re(Lf,L),re(Cf,R),re(fs,N),re(ds,b),re(Tf,I),z(M))if(M.length){const Z=e.exposed||(e.exposed={});M.forEach(le=>{Object.defineProperty(Z,le,{get:()=>n[le],set:je=>n[le]=je})})}else e.exposed||(e.exposed={});T&&e.render===Et&&(e.render=T),j!=null&&(e.inheritAttrs=j),D&&(e.components=D),q&&(e.directives=q),I&&xl(e)}function wf(e,t,n=Et){z(e)&&(e=Qs(e));for(const r in e){const l=e[r];let s;be(l)?"default"in l?s=ze(l.from||r,l.default,!0):s=ze(l.from||r):s=ze(l),ve(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):t[r]=s}}function yo(e,t,n){ht(z(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ua(e,t,n,r){let l=r.includes(".")?Qa(n,r):()=>n[r];if(ye(e)){const s=t[e];te(s)&&Ue(l,s)}else if(te(e))Ue(l,e.bind(n));else if(be(e))if(z(e))e.forEach(s=>Ua(s,t,n,r));else{const s=te(e.handler)?e.handler.bind(n):t[e.handler];te(s)&&Ue(l,s,e)}}function Vl(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:l,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,i=s.get(t);let a;return i?a=i:!l.length&&!n&&!r?a=t:(a={},l.length&&l.forEach(f=>Vr(a,f,o,!0)),Vr(a,t,o)),be(t)&&s.set(t,a),a}function Vr(e,t,n,r=!1){const{mixins:l,extends:s}=t;s&&Vr(e,s,n,!0),l&&l.forEach(o=>Vr(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const i=Rf[o]||n&&n[o];e[o]=i?i(e[o],t[o]):t[o]}return e}const Rf={data:To,props:Co,emits:Co,methods:Bn,computed:Bn,beforeCreate:Ke,created:Ke,beforeMount:Ke,mounted:Ke,beforeUpdate:Ke,updated:Ke,beforeDestroy:Ke,beforeUnmount:Ke,destroyed:Ke,unmounted:Ke,activated:Ke,deactivated:Ke,errorCaptured:Ke,serverPrefetch:Ke,components:Bn,directives:Bn,watch:kf,provide:To,inject:Pf};function To(e,t){return t?e?function(){return Ne(te(e)?e.call(this,this):e,te(t)?t.call(this,this):t)}:t:e}function Pf(e,t){return Bn(Qs(e),Qs(t))}function Qs(e){if(z(e)){const t={};for(let n=0;n1)return n&&te(t)?t.call(r&&r.proxy):t}}function Df(){return!!(Ae||Re||cn)}const Ha={},Va=()=>Object.create(Ha),ja=e=>Object.getPrototypeOf(e)===Ha;function xf(e,t,n,r=!1){const l={},s=Va();e.propsDefaults=Object.create(null),Ba(e,t,l,s);for(const o in e.propsOptions[0])o in l||(l[o]=void 0);n?e.props=r?l:va(l):e.type.props?e.props=l:e.props=s,e.attrs=s}function $f(e,t,n,r){const{props:l,attrs:s,vnode:{patchFlag:o}}=e,i=ie(l),[a]=e.propsOptions;let f=!1;if((r||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let c=0;c{a=!0;const[d,g]=Ka(c,t,!0);Ne(o,d),g&&i.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!a)return be(e)&&r.set(e,Tn),Tn;if(z(s))for(let u=0;ue[0]==="_"||e==="$stable",jl=e=>z(e)?e.map(at):[at(e)],Wf=(e,t,n)=>{if(t._n)return t;const r=uf((...l)=>jl(t(...l)),n);return r._c=!1,r},Ya=(e,t,n)=>{const r=e._ctx;for(const l in e){if(Ga(l))continue;const s=e[l];if(te(s))t[l]=Wf(l,s,r);else if(s!=null){const o=jl(s);t[l]=()=>o}}},Xa=(e,t)=>{const n=jl(t);e.slots.default=()=>n},qa=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},Hf=(e,t,n)=>{const r=e.slots=Va();if(e.vnode.shapeFlag&32){const l=t._;l?(qa(r,t,n),n&&Ji(r,"_",l,!0)):Ya(t,r)}else t&&Xa(e,t)},Vf=(e,t,n)=>{const{vnode:r,slots:l}=e;let s=!0,o=ge;if(r.shapeFlag&32){const i=t._;i?n&&i===1?s=!1:qa(l,t,n):(s=!t.$stable,Ya(t,l)),o=t}else t&&(Xa(e,t),o={default:1});if(s)for(const i in l)!Ga(i)&&o[i]==null&&delete l[i]},Fe=cd;function jf(e){return Bf(e)}function Bf(e,t){const n=zi();n.__VUE__=!0;const{insert:r,remove:l,patchProp:s,createElement:o,createText:i,createComment:a,setText:f,setElementText:u,parentNode:c,nextSibling:d,setScopeId:g=Et,insertStaticContent:E}=e,C=(_,h,S,$=null,F=null,W=null,K=void 0,m=null,p=!!h.dynamicChildren)=>{if(_===h)return;_&&!ct(_,h)&&($=x(_),Le(_,F,W,!0),_=null),h.patchFlag===-2&&(p=!1,h.dynamicChildren=null);const{type:y,ref:U,shapeFlag:V}=h;switch(y){case Er:A(_,h,S,$);break;case De:w(_,h,S,$);break;case Qn:_==null&&N(h,S,$,K);break;case $e:D(_,h,S,$,F,W,K,m,p);break;default:V&1?T(_,h,S,$,F,W,K,m,p):V&6?q(_,h,S,$,F,W,K,m,p):(V&64||V&128)&&y.process(_,h,S,$,F,W,K,m,p,X)}U!=null&&F&&Xs(U,_&&_.ref,W,h||_,!h)},A=(_,h,S,$)=>{if(_==null)r(h.el=i(h.children),S,$);else{const F=h.el=_.el;h.children!==_.children&&f(F,h.children)}},w=(_,h,S,$)=>{_==null?r(h.el=a(h.children||""),S,$):h.el=_.el},N=(_,h,S,$)=>{[_.el,_.anchor]=E(_.children,h,S,$,_.el,_.anchor)},v=({el:_,anchor:h},S,$)=>{let F;for(;_&&_!==h;)F=d(_),r(_,S,$),_=F;r(h,S,$)},b=({el:_,anchor:h})=>{let S;for(;_&&_!==h;)S=d(_),l(_),_=S;l(h)},T=(_,h,S,$,F,W,K,m,p)=>{h.type==="svg"?K="svg":h.type==="math"&&(K="mathml"),_==null?L(h,S,$,F,W,K,m,p):I(_,h,F,W,K,m,p)},L=(_,h,S,$,F,W,K,m)=>{let p,y;const{props:U,shapeFlag:V,transition:H,dirs:O}=_;if(p=_.el=o(_.type,W,U&&U.is,U),V&8?u(p,_.children):V&16&&P(_.children,p,null,$,F,Ps(_,W),K,m),O&&Zt(_,null,$,"created"),R(p,_,_.scopeId,K,$),U){for(const J in U)J!=="value"&&!Kn(J)&&s(p,J,null,U[J],W,$);"value"in U&&s(p,"value",null,U.value,W),(y=U.onVnodeBeforeMount)&&st(y,$,_)}O&&Zt(_,null,$,"beforeMount");const k=Kf(F,H);k&&H.beforeEnter(p),r(p,h,S),((y=U&&U.onVnodeMounted)||k||O)&&Fe(()=>{y&&st(y,$,_),k&&H.enter(p),O&&Zt(_,null,$,"mounted")},F)},R=(_,h,S,$,F)=>{if(S&&g(_,S),$)for(let W=0;W<$.length;W++)g(_,$[W]);if(F){let W=F.subTree;if(h===W||Br(W.type)&&(W.ssContent===h||W.ssFallback===h)){const K=F.vnode;R(_,K,K.scopeId,K.slotScopeIds,F.parent)}}},P=(_,h,S,$,F,W,K,m,p=0)=>{for(let y=p;y<_.length;y++){const U=_[y]=m?Vt(_[y]):at(_[y]);C(null,U,h,S,$,F,W,K,m)}},I=(_,h,S,$,F,W,K)=>{const m=h.el=_.el;let{patchFlag:p,dynamicChildren:y,dirs:U}=h;p|=_.patchFlag&16;const V=_.props||ge,H=h.props||ge;let O;if(S&&en(S,!1),(O=H.onVnodeBeforeUpdate)&&st(O,S,h,_),U&&Zt(h,_,S,"beforeUpdate"),S&&en(S,!0),(V.innerHTML&&H.innerHTML==null||V.textContent&&H.textContent==null)&&u(m,""),y?M(_.dynamicChildren,y,m,S,$,Ps(h,F),W):K||le(_,h,m,null,S,$,Ps(h,F),W,!1),p>0){if(p&16)j(m,V,H,S,F);else if(p&2&&V.class!==H.class&&s(m,"class",null,H.class,F),p&4&&s(m,"style",V.style,H.style,F),p&8){const k=h.dynamicProps;for(let J=0;J{O&&st(O,S,h,_),U&&Zt(h,_,S,"updated")},$)},M=(_,h,S,$,F,W,K)=>{for(let m=0;m{if(h!==S){if(h!==ge)for(const W in h)!Kn(W)&&!(W in S)&&s(_,W,h[W],null,F,$);for(const W in S){if(Kn(W))continue;const K=S[W],m=h[W];K!==m&&W!=="value"&&s(_,W,m,K,F,$)}"value"in S&&s(_,"value",h.value,S.value,F)}},D=(_,h,S,$,F,W,K,m,p)=>{const y=h.el=_?_.el:i(""),U=h.anchor=_?_.anchor:i("");let{patchFlag:V,dynamicChildren:H,slotScopeIds:O}=h;O&&(m=m?m.concat(O):O),_==null?(r(y,S,$),r(U,S,$),P(h.children||[],S,U,F,W,K,m,p)):V>0&&V&64&&H&&_.dynamicChildren?(M(_.dynamicChildren,H,S,F,W,K,m),(h.key!=null||F&&h===F.subTree)&&Bl(_,h,!0)):le(_,h,S,U,F,W,K,m,p)},q=(_,h,S,$,F,W,K,m,p)=>{h.slotScopeIds=m,_==null?h.shapeFlag&512?F.ctx.activate(h,S,$,K,p):ae(h,S,$,F,W,K,p):Te(_,h,p)},ae=(_,h,S,$,F,W,K)=>{const m=_.component=_d(_,$,F);if(br(_)&&(m.ctx.renderer=X),vd(m,!1,K),m.asyncDep){if(F&&F.registerDep(m,re,K),!_.el){const p=m.subTree=Ie(De);w(null,p,h,S)}}else re(m,_,h,S,F,W,K)},Te=(_,h,S)=>{const $=h.component=_.component;if(rd(_,h,S))if($.asyncDep&&!$.asyncResolved){Z($,h,S);return}else $.next=h,$.update();else h.el=_.el,$.vnode=h},re=(_,h,S,$,F,W,K)=>{const m=()=>{if(_.isMounted){let{next:V,bu:H,u:O,parent:k,vnode:J}=_;{const Be=Ja(_);if(Be){V&&(V.el=J.el,Z(_,V,K)),Be.asyncDep.then(()=>{_.isUnmounted||m()});return}}let Q=V,Se;en(_,!1),V?(V.el=J.el,Z(_,V,K)):V=J,H&&Gn(H),(Se=V.props&&V.props.onVnodeBeforeUpdate)&&st(Se,k,V,J),en(_,!0);const Oe=ks(_),Me=_.subTree;_.subTree=Oe,C(Me,Oe,c(Me.el),x(Me),_,F,W),V.el=Oe.el,Q===null&&Kl(_,Oe.el),O&&Fe(O,F),(Se=V.props&&V.props.onVnodeUpdated)&&Fe(()=>st(Se,k,V,J),F)}else{let V;const{el:H,props:O}=h,{bm:k,m:J,parent:Q,root:Se,type:Oe}=_,Me=an(h);if(en(_,!1),k&&Gn(k),!Me&&(V=O&&O.onVnodeBeforeMount)&&st(V,Q,h),en(_,!0),H&&he){const Be=()=>{_.subTree=ks(_),he(H,_.subTree,_,F,null)};Me&&Oe.__asyncHydrate?Oe.__asyncHydrate(H,_,Be):Be()}else{Se.ce&&Se.ce._injectChildStyle(Oe);const Be=_.subTree=ks(_);C(null,Be,S,$,_,F,W),h.el=Be.el}if(J&&Fe(J,F),!Me&&(V=O&&O.onVnodeMounted)){const Be=h;Fe(()=>st(V,Q,Be),F)}(h.shapeFlag&256||Q&&an(Q.vnode)&&Q.vnode.shapeFlag&256)&&_.a&&Fe(_.a,F),_.isMounted=!0,h=S=$=null}};_.scope.on();const p=_.effect=new sa(m);_.scope.off();const y=_.update=p.run.bind(p),U=_.job=p.runIfDirty.bind(p);U.i=_,U.id=_.uid,p.scheduler=()=>Fl(U),en(_,!0),y()},Z=(_,h,S)=>{h.component=_;const $=_.vnode.props;_.vnode=h,_.next=null,$f(_,h.props,$,S),Vf(_,h.children,S),qt(),mo(_),Jt()},le=(_,h,S,$,F,W,K,m,p=!1)=>{const y=_&&_.children,U=_?_.shapeFlag:0,V=h.children,{patchFlag:H,shapeFlag:O}=h;if(H>0){if(H&128){qe(y,V,S,$,F,W,K,m,p);return}else if(H&256){je(y,V,S,$,F,W,K,m,p);return}}O&8?(U&16&&ke(y,F,W),V!==y&&u(S,V)):U&16?O&16?qe(y,V,S,$,F,W,K,m,p):ke(y,F,W,!0):(U&8&&u(S,""),O&16&&P(V,S,$,F,W,K,m,p))},je=(_,h,S,$,F,W,K,m,p)=>{_=_||Tn,h=h||Tn;const y=_.length,U=h.length,V=Math.min(y,U);let H;for(H=0;HU?ke(_,F,W,!0,!1,V):P(h,S,$,F,W,K,m,p,V)},qe=(_,h,S,$,F,W,K,m,p)=>{let y=0;const U=h.length;let V=_.length-1,H=U-1;for(;y<=V&&y<=H;){const O=_[y],k=h[y]=p?Vt(h[y]):at(h[y]);if(ct(O,k))C(O,k,S,null,F,W,K,m,p);else break;y++}for(;y<=V&&y<=H;){const O=_[V],k=h[H]=p?Vt(h[H]):at(h[H]);if(ct(O,k))C(O,k,S,null,F,W,K,m,p);else break;V--,H--}if(y>V){if(y<=H){const O=H+1,k=OH)for(;y<=V;)Le(_[y],F,W,!0),y++;else{const O=y,k=y,J=new Map;for(y=k;y<=H;y++){const tt=h[y]=p?Vt(h[y]):at(h[y]);tt.key!=null&&J.set(tt.key,y)}let Q,Se=0;const Oe=H-k+1;let Me=!1,Be=0;const mn=new Array(Oe);for(y=0;y=Oe){Le(tt,F,W,!0);continue}let _t;if(tt.key!=null)_t=J.get(tt.key);else for(Q=k;Q<=H;Q++)if(mn[Q-k]===0&&ct(tt,h[Q])){_t=Q;break}_t===void 0?Le(tt,F,W,!0):(mn[_t-k]=y+1,_t>=Be?Be=_t:Me=!0,C(tt,h[_t],S,null,F,W,K,m,p),Se++)}const so=Me?Gf(mn):Tn;for(Q=so.length-1,y=Oe-1;y>=0;y--){const tt=k+y,_t=h[tt],lo=tt+1{const{el:W,type:K,transition:m,children:p,shapeFlag:y}=_;if(y&6){Ce(_.component.subTree,h,S,$);return}if(y&128){_.suspense.move(h,S,$);return}if(y&64){K.move(_,h,S,X);return}if(K===$e){r(W,h,S);for(let V=0;Vm.enter(W),F);else{const{leave:V,delayLeave:H,afterLeave:O}=m,k=()=>r(W,h,S),J=()=>{V(W,()=>{k(),O&&O()})};H?H(W,k,J):J()}else r(W,h,S)},Le=(_,h,S,$=!1,F=!1)=>{const{type:W,props:K,ref:m,children:p,dynamicChildren:y,shapeFlag:U,patchFlag:V,dirs:H,cacheIndex:O}=_;if(V===-2&&(F=!1),m!=null&&Xs(m,null,S,_,!0),O!=null&&(h.renderCache[O]=void 0),U&256){h.ctx.deactivate(_);return}const k=U&1&&H,J=!an(_);let Q;if(J&&(Q=K&&K.onVnodeBeforeUnmount)&&st(Q,h,_),U&6)gt(_.component,S,$);else{if(U&128){_.suspense.unmount(S,$);return}k&&Zt(_,null,h,"beforeUnmount"),U&64?_.type.remove(_,h,S,X,$):y&&!y.hasOnce&&(W!==$e||V>0&&V&64)?ke(y,h,S,!1,!0):(W===$e&&V&384||!F&&U&16)&&ke(p,h,S),$&&nt(_)}(J&&(Q=K&&K.onVnodeUnmounted)||k)&&Fe(()=>{Q&&st(Q,h,_),k&&Zt(_,null,h,"unmounted")},S)},nt=_=>{const{type:h,el:S,anchor:$,transition:F}=_;if(h===$e){et(S,$);return}if(h===Qn){b(_);return}const W=()=>{l(S),F&&!F.persisted&&F.afterLeave&&F.afterLeave()};if(_.shapeFlag&1&&F&&!F.persisted){const{leave:K,delayLeave:m}=F,p=()=>K(S,W);m?m(_.el,W,p):p()}else W()},et=(_,h)=>{let S;for(;_!==h;)S=d(_),l(_),_=S;l(h)},gt=(_,h,S)=>{const{bum:$,scope:F,job:W,subTree:K,um:m,m:p,a:y}=_;jr(p),jr(y),$&&Gn($),F.stop(),W&&(W.flags|=8,Le(K,_,h,S)),m&&Fe(m,h),Fe(()=>{_.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&_.asyncDep&&!_.asyncResolved&&_.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},ke=(_,h,S,$=!1,F=!1,W=0)=>{for(let K=W;K<_.length;K++)Le(_[K],h,S,$,F)},x=_=>{if(_.shapeFlag&6)return x(_.component.subTree);if(_.shapeFlag&128)return _.suspense.next();const h=d(_.anchor||_.el),S=h&&h[Na];return S?d(S):h};let Y=!1;const B=(_,h,S)=>{_==null?h._vnode&&Le(h._vnode,null,null,!0):C(h._vnode||null,_,h,null,null,null,S),h._vnode=_,Y||(Y=!0,mo(),Sa(),Y=!1)},X={p:C,um:Le,m:Ce,r:nt,mt:ae,mc:P,pc:le,pbc:M,n:x,o:e};let oe,he;return{render:B,hydrate:oe,createApp:Ff(B,oe)}}function Ps({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function en({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Kf(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Bl(e,t,n=!1){const r=e.children,l=t.children;if(z(r)&&z(l))for(let s=0;s>1,e[n[i]]0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=t[o];return n}function Ja(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ja(t)}function jr(e){if(e)for(let t=0;tze(Yf);function qf(e,t){return hs(e,null,t)}function Jf(e,t){return hs(e,null,{flush:"post"})}function Ue(e,t,n){return hs(e,t,n)}function hs(e,t,n=ge){const{immediate:r,deep:l,flush:s,once:o}=n,i=Ne({},n);let a;if(Tr)if(s==="sync"){const d=Xf();a=d.__watcherHandles||(d.__watcherHandles=[])}else if(!t||r)i.once=!0;else{const d=()=>{};return d.stop=Et,d.resume=Et,d.pause=Et,d}const f=Ae;i.call=(d,g,E)=>ht(d,f,g,E);let u=!1;s==="post"?i.scheduler=d=>{Fe(d,f&&f.suspense)}:s!=="sync"&&(u=!0,i.scheduler=(d,g)=>{g?d():Fl(d)}),i.augmentJob=d=>{t&&(d.flags|=4),u&&(d.flags|=2,f&&(d.id=f.uid,d.i=f))};const c=of(e,t,i);return a&&a.push(c),c}function Qf(e,t,n){const r=this.proxy,l=ye(e)?e.includes(".")?Qa(r,e):()=>r[e]:e.bind(r,r);let s;te(t)?s=t:(s=t.handler,n=t);const o=yr(this),i=hs(l,s.bind(r),n);return o(),i}function Qa(e,t){const n=t.split(".");return()=>{let r=e;for(let l=0;lt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${dt(t)}Modifiers`]||e[`${Xt(t)}Modifiers`];function Zf(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ge;let l=n;const s=t.startsWith("update:"),o=s&&zf(r,t.slice(7));o&&(o.trim&&(l=n.map(u=>ye(u)?u.trim():u)),o.number&&(l=n.map(Eu)));let i,a=r[i=Cs(t)]||r[i=Cs(dt(t))];!a&&s&&(a=r[i=Cs(Xt(t))]),a&&ht(a,e,6,l);const f=r[i+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,ht(f,e,6,l)}}function za(e,t,n=!1){const r=t.emitsCache,l=r.get(e);if(l!==void 0)return l;const s=e.emits;let o={},i=!1;if(!te(e)){const a=f=>{const u=za(f,t,!0);u&&(i=!0,Ne(o,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!s&&!i?(be(e)&&r.set(e,null),null):(z(s)?s.forEach(a=>o[a]=null):Ne(o,s),be(e)&&r.set(e,o),o)}function ms(e,t){return!e||!es(t)?!1:(t=t.slice(2).replace(/Once$/,""),fe(e,t[0].toLowerCase()+t.slice(1))||fe(e,Xt(t))||fe(e,t))}function ks(e){const{type:t,vnode:n,proxy:r,withProxy:l,propsOptions:[s],slots:o,attrs:i,emit:a,render:f,renderCache:u,props:c,data:d,setupState:g,ctx:E,inheritAttrs:C}=e,A=Hr(e);let w,N;try{if(n.shapeFlag&4){const b=l||r,T=b;w=at(f.call(T,b,u,c,g,d,E)),N=i}else{const b=t;w=at(b.length>1?b(c,{attrs:i,slots:o,emit:a}):b(c,null)),N=t.props?i:td(i)}}catch(b){zn.length=0,Fn(b,e,1),w=Ie(De)}let v=w;if(N&&C!==!1){const b=Object.keys(N),{shapeFlag:T}=v;b.length&&T&7&&(s&&b.some(yl)&&(N=nd(N,s)),v=Pt(v,N,!1,!0))}return n.dirs&&(v=Pt(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&Kt(v,n.transition),w=v,Hr(A),w}function ed(e,t=!0){let n;for(let r=0;r{let t;for(const n in e)(n==="class"||n==="style"||es(n))&&((t||(t={}))[n]=e[n]);return t},nd=(e,t)=>{const n={};for(const r in e)(!yl(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function rd(e,t,n){const{props:r,children:l,component:s}=e,{props:o,children:i,patchFlag:a}=t,f=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?So(r,o,f):!!o;if(a&8){const u=t.dynamicProps;for(let c=0;ce.__isSuspense;let Zs=0;const sd={name:"Suspense",__isSuspense:!0,process(e,t,n,r,l,s,o,i,a,f){if(e==null)ld(t,n,r,l,s,o,i,a,f);else{if(s&&s.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}od(e,t,n,r,l,o,i,a,f)}},hydrate:id,normalize:ad},Ug=sd;function ar(e,t){const n=e.props&&e.props[t];te(n)&&n()}function ld(e,t,n,r,l,s,o,i,a){const{p:f,o:{createElement:u}}=a,c=u("div"),d=e.suspense=Za(e,l,r,t,c,n,s,o,i,a);f(null,d.pendingBranch=e.ssContent,c,null,r,d,s,o),d.deps>0?(ar(e,"onPending"),ar(e,"onFallback"),f(null,e.ssFallback,t,n,r,null,s,o),Sn(d,e.ssFallback)):d.resolve(!1,!0)}function od(e,t,n,r,l,s,o,i,{p:a,um:f,o:{createElement:u}}){const c=t.suspense=e.suspense;c.vnode=t,t.el=e.el;const d=t.ssContent,g=t.ssFallback,{activeBranch:E,pendingBranch:C,isInFallback:A,isHydrating:w}=c;if(C)c.pendingBranch=d,ct(d,C)?(a(C,d,c.hiddenContainer,null,l,c,s,o,i),c.deps<=0?c.resolve():A&&(w||(a(E,g,n,r,l,null,s,o,i),Sn(c,g)))):(c.pendingId=Zs++,w?(c.isHydrating=!1,c.activeBranch=C):f(C,l,c),c.deps=0,c.effects.length=0,c.hiddenContainer=u("div"),A?(a(null,d,c.hiddenContainer,null,l,c,s,o,i),c.deps<=0?c.resolve():(a(E,g,n,r,l,null,s,o,i),Sn(c,g))):E&&ct(d,E)?(a(E,d,n,r,l,c,s,o,i),c.resolve(!0)):(a(null,d,c.hiddenContainer,null,l,c,s,o,i),c.deps<=0&&c.resolve()));else if(E&&ct(d,E))a(E,d,n,r,l,c,s,o,i),Sn(c,d);else if(ar(t,"onPending"),c.pendingBranch=d,d.shapeFlag&512?c.pendingId=d.component.suspenseId:c.pendingId=Zs++,a(null,d,c.hiddenContainer,null,l,c,s,o,i),c.deps<=0)c.resolve();else{const{timeout:N,pendingId:v}=c;N>0?setTimeout(()=>{c.pendingId===v&&c.fallback(g)},N):N===0&&c.fallback(g)}}function Za(e,t,n,r,l,s,o,i,a,f,u=!1){const{p:c,m:d,um:g,n:E,o:{parentNode:C,remove:A}}=f;let w;const N=ud(e);N&&t&&t.pendingBranch&&(w=t.pendingId,t.deps++);const v=e.props?Qi(e.props.timeout):void 0,b=s,T={vnode:e,parent:t,parentComponent:n,namespace:o,container:r,hiddenContainer:l,deps:0,pendingId:Zs++,timeout:typeof v=="number"?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(L=!1,R=!1){const{vnode:P,activeBranch:I,pendingBranch:M,pendingId:j,effects:D,parentComponent:q,container:ae}=T;let Te=!1;T.isHydrating?T.isHydrating=!1:L||(Te=I&&M.transition&&M.transition.mode==="out-in",Te&&(I.transition.afterLeave=()=>{j===T.pendingId&&(d(M,ae,s===b?E(I):s,0),Gs(D))}),I&&(C(I.el)===ae&&(s=E(I)),g(I,q,T,!0)),Te||d(M,ae,s,0)),Sn(T,M),T.pendingBranch=null,T.isInFallback=!1;let re=T.parent,Z=!1;for(;re;){if(re.pendingBranch){re.effects.push(...D),Z=!0;break}re=re.parent}!Z&&!Te&&Gs(D),T.effects=[],N&&t&&t.pendingBranch&&w===t.pendingId&&(t.deps--,t.deps===0&&!R&&t.resolve()),ar(P,"onResolve")},fallback(L){if(!T.pendingBranch)return;const{vnode:R,activeBranch:P,parentComponent:I,container:M,namespace:j}=T;ar(R,"onFallback");const D=E(P),q=()=>{T.isInFallback&&(c(null,L,M,D,I,null,j,i,a),Sn(T,L))},ae=L.transition&&L.transition.mode==="out-in";ae&&(P.transition.afterLeave=q),T.isInFallback=!0,g(P,I,null,!0),ae||q()},move(L,R,P){T.activeBranch&&d(T.activeBranch,L,R,P),T.container=L},next(){return T.activeBranch&&E(T.activeBranch)},registerDep(L,R,P){const I=!!T.pendingBranch;I&&T.deps++;const M=L.vnode.el;L.asyncDep.catch(j=>{Fn(j,L,0)}).then(j=>{if(L.isUnmounted||T.isUnmounted||T.pendingId!==L.suspenseId)return;L.asyncResolved=!0;const{vnode:D}=L;nl(L,j,!1),M&&(D.el=M);const q=!M&&L.subTree.el;R(L,D,C(M||L.subTree.el),M?null:E(L.subTree),T,o,P),q&&A(q),Kl(L,D.el),I&&--T.deps===0&&T.resolve()})},unmount(L,R){T.isUnmounted=!0,T.activeBranch&&g(T.activeBranch,n,L,R),T.pendingBranch&&g(T.pendingBranch,n,L,R)}};return T}function id(e,t,n,r,l,s,o,i,a){const f=t.suspense=Za(t,r,n,e.parentNode,document.createElement("div"),null,l,s,o,i,!0),u=a(e,f.pendingBranch=t.ssContent,n,f,s,o);return f.deps===0&&f.resolve(!1,!0),u}function ad(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Io(r?n.default:n),e.ssFallback=r?Io(n.fallback):Ie(De)}function Io(e){let t;if(te(e)){const n=On&&e._c;n&&(e._d=!1,Kr()),e=e(),n&&(e._d=!0,t=Qe,ec())}return z(e)&&(e=ed(e)),e=at(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function cd(e,t){t&&t.pendingBranch?z(e)?t.effects.push(...e):t.effects.push(e):Gs(e)}function Sn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let l=t.el;for(;!l&&t.component;)t=t.component.subTree,l=t.el;n.el=l,r&&r.subTree===n&&(r.vnode.el=l,Kl(r,l))}function ud(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const $e=Symbol.for("v-fgt"),Er=Symbol.for("v-txt"),De=Symbol.for("v-cmt"),Qn=Symbol.for("v-stc"),zn=[];let Qe=null;function Kr(e=!1){zn.push(Qe=e?null:[])}function ec(){zn.pop(),Qe=zn[zn.length-1]||null}let On=1;function Oo(e){On+=e,e<0&&Qe&&(Qe.hasOnce=!0)}function tc(e){return e.dynamicChildren=On>0?Qe||Tn:null,ec(),On>0&&Qe&&Qe.push(e),e}function Wg(e,t,n,r,l,s){return tc(rc(e,t,n,r,l,s,!0))}function el(e,t,n,r,l){return tc(Ie(e,t,n,r,l,!0))}function Nn(e){return e?e.__v_isVNode===!0:!1}function ct(e,t){return e.type===t.type&&e.key===t.key}const nc=({key:e})=>e??null,xr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ye(e)||ve(e)||te(e)?{i:Re,r:e,k:t,f:!!n}:e:null);function rc(e,t=null,n=null,r=0,l=null,s=e===$e?0:1,o=!1,i=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&nc(t),ref:t&&xr(t),scopeId:Oa,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:s,patchFlag:r,dynamicProps:l,dynamicChildren:null,appContext:null,ctx:Re};return i?(Gl(a,n),s&128&&e.normalize(a)):n&&(a.shapeFlag|=ye(n)?8:16),On>0&&!o&&Qe&&(a.patchFlag>0||s&6)&&a.patchFlag!==32&&Qe.push(a),a}const Ie=fd;function fd(e,t=null,n=null,r=0,l=null,s=!1){if((!e||e===xa)&&(e=De),Nn(e)){const i=Pt(e,t,!0);return n&&Gl(i,n),On>0&&!s&&Qe&&(i.shapeFlag&6?Qe[Qe.indexOf(e)]=i:Qe.push(i)),i.patchFlag=-2,i}if(yd(e)&&(e=e.__vccOpts),t){t=dd(t);let{class:i,style:a}=t;i&&!ye(i)&&(t.class=ss(i)),be(a)&&(Rl(a)&&!z(a)&&(a=Ne({},a)),t.style=rs(a))}const o=ye(e)?1:Br(e)?128:Aa(e)?64:be(e)?4:te(e)?2:0;return rc(e,t,n,r,l,o,s,!0)}function dd(e){return e?Rl(e)||ja(e)?Ne({},e):e:null}function Pt(e,t,n=!1,r=!1){const{props:l,ref:s,patchFlag:o,children:i,transition:a}=e,f=t?md(l||{},t):l,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&nc(f),ref:t&&t.ref?n&&s?z(s)?s.concat(xr(t)):[s,xr(t)]:xr(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==$e?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Pt(e.ssContent),ssFallback:e.ssFallback&&Pt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&Kt(u,a.clone(u)),u}function hd(e=" ",t=0){return Ie(Er,null,e,t)}function Hg(e,t){const n=Ie(Qn,null,e);return n.staticCount=t,n}function Vg(e="",t=!1){return t?(Kr(),el(De,null,e)):Ie(De,null,e)}function at(e){return e==null||typeof e=="boolean"?Ie(De):z(e)?Ie($e,null,e.slice()):typeof e=="object"?Vt(e):Ie(Er,null,String(e))}function Vt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Pt(e)}function Gl(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(z(t))n=16;else if(typeof t=="object")if(r&65){const l=t.default;l&&(l._c&&(l._d=!1),Gl(e,l()),l._c&&(l._d=!0));return}else{n=32;const l=t._;!l&&!ja(t)?t._ctx=Re:l===3&&Re&&(Re.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else te(t)?(t={default:t,_ctx:Re},n=32):(t=String(t),r&64?(n=16,t=[hd(t)]):n=8);e.children=t,e.shapeFlag|=n}function md(...e){const t={};for(let n=0;nAe||Re;let Gr,tl;{const e=zi(),t=(n,r)=>{let l;return(l=e[n])||(l=e[n]=[]),l.push(r),s=>{l.length>1?l.forEach(o=>o(s)):l[0](s)}};Gr=t("__VUE_INSTANCE_SETTERS__",n=>Ae=n),tl=t("__VUE_SSR_SETTERS__",n=>Tr=n)}const yr=e=>{const t=Ae;return Gr(e),e.scope.on(),()=>{e.scope.off(),Gr(t)}},No=()=>{Ae&&Ae.scope.off(),Gr(null)};function sc(e){return e.vnode.shapeFlag&4}let Tr=!1;function vd(e,t=!1,n=!1){t&&tl(t);const{props:r,children:l}=e.vnode,s=sc(e);xf(e,r,s,t),Hf(e,l,n);const o=s?bd(e,t):void 0;return t&&tl(!1),o}function bd(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Of);const{setup:r}=n;if(r){const l=e.setupContext=r.length>1?oc(e):null,s=yr(e);qt();const o=_r(r,e,0,[e.props,l]);if(Jt(),s(),Yi(o)){if(an(e)||xl(e),o.then(No,No),t)return o.then(i=>{nl(e,i,t)}).catch(i=>{Fn(i,e,0)});e.asyncDep=o}else nl(e,o,t)}else lc(e,t)}function nl(e,t,n){te(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:be(t)&&(e.setupState=Ea(t)),lc(e,n)}let Ao;function lc(e,t,n){const r=e.type;if(!e.render){if(!t&&Ao&&!r.render){const l=r.template||Vl(e).template;if(l){const{isCustomElement:s,compilerOptions:o}=e.appContext.config,{delimiters:i,compilerOptions:a}=r,f=Ne(Ne({isCustomElement:s,delimiters:i},o),a);r.render=Ao(l,f)}}e.render=r.render||Et}{const l=yr(e);qt();try{Af(e)}finally{Jt(),l()}}}const Ed={get(e,t){return Ve(e,"get",""),e[t]}};function oc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Ed),slots:e.slots,emit:e.emit,expose:t}}function ps(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ea(Pl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in qn)return qn[n](e)},has(t,n){return n in t||n in qn}})):e.proxy}function rl(e,t=!0){return te(e)?e.displayName||e.name:e.name||t&&e.__name}function yd(e){return te(e)&&"__vccOpts"in e}const ce=(e,t)=>sf(e,t,Tr);function Cr(e,t,n){const r=arguments.length;return r===2?be(t)&&!z(t)?Nn(t)?Ie(e,null,[t]):Ie(e,t):Ie(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Nn(n)&&(n=[n]),Ie(e,t,n))}const Td="3.5.8";/** +* @vue/runtime-dom v3.5.8 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let sl;const wo=typeof window<"u"&&window.trustedTypes;if(wo)try{sl=wo.createPolicy("vue",{createHTML:e=>e})}catch{}const ic=sl?e=>sl.createHTML(e):e=>e,Cd="http://www.w3.org/2000/svg",Ld="http://www.w3.org/1998/Math/MathML",Ot=typeof document<"u"?document:null,Ro=Ot&&Ot.createElement("template"),Sd={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const l=t==="svg"?Ot.createElementNS(Cd,e):t==="mathml"?Ot.createElementNS(Ld,e):n?Ot.createElement(e,{is:n}):Ot.createElement(e);return e==="select"&&r&&r.multiple!=null&&l.setAttribute("multiple",r.multiple),l},createText:e=>Ot.createTextNode(e),createComment:e=>Ot.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ot.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,l,s){const o=n?n.previousSibling:t.lastChild;if(l&&(l===s||l.nextSibling))for(;t.insertBefore(l.cloneNode(!0),n),!(l===s||!(l=l.nextSibling)););else{Ro.innerHTML=ic(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const i=Ro.content;if(r==="svg"||r==="mathml"){const a=i.firstChild;for(;a.firstChild;)i.appendChild(a.firstChild);i.removeChild(a)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ft="transition",Un="animation",An=Symbol("_vtc"),ac={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},cc=Ne({},Pa,ac),Id=e=>(e.displayName="Transition",e.props=cc,e),jg=Id((e,{slots:t})=>Cr(pf,uc(e),t)),tn=(e,t=[])=>{z(e)?e.forEach(n=>n(...t)):e&&e(...t)},Po=e=>e?z(e)?e.some(t=>t.length>1):e.length>1:!1;function uc(e){const t={};for(const D in e)D in ac||(t[D]=e[D]);if(e.css===!1)return t;const{name:n="v",type:r,duration:l,enterFromClass:s=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:a=s,appearActiveClass:f=o,appearToClass:u=i,leaveFromClass:c=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,E=Od(l),C=E&&E[0],A=E&&E[1],{onBeforeEnter:w,onEnter:N,onEnterCancelled:v,onLeave:b,onLeaveCancelled:T,onBeforeAppear:L=w,onAppear:R=N,onAppearCancelled:P=v}=t,I=(D,q,ae)=>{$t(D,q?u:i),$t(D,q?f:o),ae&&ae()},M=(D,q)=>{D._isLeaving=!1,$t(D,c),$t(D,g),$t(D,d),q&&q()},j=D=>(q,ae)=>{const Te=D?R:N,re=()=>I(q,D,ae);tn(Te,[q,re]),ko(()=>{$t(q,D?a:s),It(q,D?u:i),Po(Te)||Mo(q,r,C,re)})};return Ne(t,{onBeforeEnter(D){tn(w,[D]),It(D,s),It(D,o)},onBeforeAppear(D){tn(L,[D]),It(D,a),It(D,f)},onEnter:j(!1),onAppear:j(!0),onLeave(D,q){D._isLeaving=!0;const ae=()=>M(D,q);It(D,c),It(D,d),dc(),ko(()=>{D._isLeaving&&($t(D,c),It(D,g),Po(b)||Mo(D,r,A,ae))}),tn(b,[D,ae])},onEnterCancelled(D){I(D,!1),tn(v,[D])},onAppearCancelled(D){I(D,!0),tn(P,[D])},onLeaveCancelled(D){M(D),tn(T,[D])}})}function Od(e){if(e==null)return null;if(be(e))return[Ms(e.enter),Ms(e.leave)];{const t=Ms(e);return[t,t]}}function Ms(e){return Qi(e)}function It(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[An]||(e[An]=new Set)).add(t)}function $t(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[An];n&&(n.delete(t),n.size||(e[An]=void 0))}function ko(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Nd=0;function Mo(e,t,n,r){const l=e._endId=++Nd,s=()=>{l===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:o,timeout:i,propCount:a}=fc(e,t);if(!o)return r();const f=o+"end";let u=0;const c=()=>{e.removeEventListener(f,d),s()},d=g=>{g.target===e&&++u>=a&&c()};setTimeout(()=>{u(n[E]||"").split(", "),l=r(`${Ft}Delay`),s=r(`${Ft}Duration`),o=Fo(l,s),i=r(`${Un}Delay`),a=r(`${Un}Duration`),f=Fo(i,a);let u=null,c=0,d=0;t===Ft?o>0&&(u=Ft,c=o,d=s.length):t===Un?f>0&&(u=Un,c=f,d=a.length):(c=Math.max(o,f),u=c>0?o>f?Ft:Un:null,d=u?u===Ft?s.length:a.length:0);const g=u===Ft&&/\b(transform|all)(,|$)/.test(r(`${Ft}Property`).toString());return{type:u,timeout:c,propCount:d,hasTransform:g}}function Fo(e,t){for(;e.lengthDo(n)+Do(e[r])))}function Do(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function dc(){return document.body.offsetHeight}function Ad(e,t,n){const r=e[An];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Yr=Symbol("_vod"),hc=Symbol("_vsh"),Bg={beforeMount(e,{value:t},{transition:n}){e[Yr]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Wn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Wn(e,!0),r.enter(e)):r.leave(e,()=>{Wn(e,!1)}):Wn(e,t))},beforeUnmount(e,{value:t}){Wn(e,t)}};function Wn(e,t){e.style.display=t?e[Yr]:"none",e[hc]=!t}const mc=Symbol("");function Kg(e){const t=Ze();if(!t)return;const n=t.ut=(l=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>Xr(s,l))},r=()=>{const l=e(t.proxy);t.ce?Xr(t.ce,l):ll(t.subTree,l),n(l)};$l(()=>{Jf(r)}),hn(()=>{const l=new MutationObserver(r);l.observe(t.subTree.el.parentNode,{childList:!0}),ds(()=>l.disconnect())})}function ll(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{ll(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Xr(e.el,t);else if(e.type===$e)e.children.forEach(n=>ll(n,t));else if(e.type===Qn){let{el:n,anchor:r}=e;for(;n&&(Xr(n,t),n!==r);)n=n.nextSibling}}function Xr(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const l in t)n.setProperty(`--${l}`,t[l]),r+=`--${l}: ${t[l]};`;n[mc]=r}}const wd=/(^|;)\s*display\s*:/;function Rd(e,t,n){const r=e.style,l=ye(n);let s=!1;if(n&&!l){if(t)if(ye(t))for(const o of t.split(";")){const i=o.slice(0,o.indexOf(":")).trim();n[i]==null&&$r(r,i,"")}else for(const o in t)n[o]==null&&$r(r,o,"");for(const o in n)o==="display"&&(s=!0),$r(r,o,n[o])}else if(l){if(t!==n){const o=r[mc];o&&(n+=";"+o),r.cssText=n,s=wd.test(n)}}else t&&e.removeAttribute("style");Yr in e&&(e[Yr]=s?r.display:"",e[hc]&&(r.display="none"))}const xo=/\s*!important$/;function $r(e,t,n){if(z(n))n.forEach(r=>$r(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Pd(e,t);xo.test(n)?e.setProperty(Xt(r),n.replace(xo,""),"important"):e[r]=n}}const $o=["Webkit","Moz","ms"],Fs={};function Pd(e,t){const n=Fs[t];if(n)return n;let r=dt(t);if(r!=="filter"&&r in e)return Fs[t]=r;r=ns(r);for(let l=0;l<$o.length;l++){const s=$o[l]+r;if(s in e)return Fs[t]=s}return t}const Uo="http://www.w3.org/1999/xlink";function Wo(e,t,n,r,l,s=Iu(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Uo,t.slice(6,t.length)):e.setAttributeNS(Uo,t,n):n==null||s&&!Zi(n)?e.removeAttribute(t):e.setAttribute(t,s?"":Yt(n)?String(n):n)}function kd(e,t,n,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?ic(n):n);return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const o=l==="OPTION"?e.getAttribute("value")||"":e.value,i=n==null?e.type==="checkbox"?"on":"":String(n);(o!==i||!("_value"in e))&&(e.value=i),n==null&&e.removeAttribute(t),e._value=n;return}let s=!1;if(n===""||n==null){const o=typeof e[t];o==="boolean"?n=Zi(n):n==null&&o==="string"?(n="",s=!0):o==="number"&&(n=0,s=!0)}try{e[t]=n}catch{}s&&e.removeAttribute(t)}function Md(e,t,n,r){e.addEventListener(t,n,r)}function Fd(e,t,n,r){e.removeEventListener(t,n,r)}const Ho=Symbol("_vei");function Dd(e,t,n,r,l=null){const s=e[Ho]||(e[Ho]={}),o=s[t];if(r&&o)o.value=r;else{const[i,a]=xd(t);if(r){const f=s[t]=Wd(r,l);Md(e,i,f,a)}else o&&(Fd(e,i,o,a),s[t]=void 0)}}const Vo=/(?:Once|Passive|Capture)$/;function xd(e){let t;if(Vo.test(e)){t={};let r;for(;r=e.match(Vo);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Xt(e.slice(2)),t]}let Ds=0;const $d=Promise.resolve(),Ud=()=>Ds||($d.then(()=>Ds=0),Ds=Date.now());function Wd(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ht(Hd(r,n.value),t,5,[r])};return n.value=e,n.attached=Ud(),n}function Hd(e,t){if(z(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>l=>!l._stopped&&r&&r(l))}else return t}const jo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Vd=(e,t,n,r,l,s)=>{const o=l==="svg";t==="class"?Ad(e,r,o):t==="style"?Rd(e,n,r):es(t)?yl(t)||Dd(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):jd(e,t,r,o))?(kd(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Wo(e,t,r,o,s,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Wo(e,t,r,o))};function jd(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&jo(t)&&te(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const l=e.tagName;if(l==="IMG"||l==="VIDEO"||l==="CANVAS"||l==="SOURCE")return!1}return jo(t)&&ye(n)?!1:!!(t in e||e._isVueCE&&(/[A-Z]/.test(t)||!ye(n)))}const pc=new WeakMap,gc=new WeakMap,qr=Symbol("_moveCb"),Bo=Symbol("_enterCb"),Bd=e=>(delete e.props.mode,e),Kd=Bd({name:"TransitionGroup",props:Ne({},cc,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ze(),r=Ra();let l,s;return Ul(()=>{if(!l.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!qd(l[0].el,n.vnode.el,o))return;l.forEach(Gd),l.forEach(Yd);const i=l.filter(Xd);dc(),i.forEach(a=>{const f=a.el,u=f.style;It(f,o),u.transform=u.webkitTransform=u.transitionDuration="";const c=f[qr]=d=>{d&&d.target!==f||(!d||/transform$/.test(d.propertyName))&&(f.removeEventListener("transitionend",c),f[qr]=null,$t(f,o))};f.addEventListener("transitionend",c)})}),()=>{const o=ie(e),i=uc(o);let a=o.tag||$e;if(l=[],s)for(let f=0;f{i.split(/\s+/).forEach(a=>a&&r.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&r.classList.add(i)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:o}=fc(r);return s.removeChild(r),o}const Jd=["ctrl","shift","alt","meta"],Qd={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Jd.some(n=>e[`${n}Key`]&&!t.includes(n))},Yg=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(l,...s)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=l=>{if(!("key"in l))return;const s=Xt(l.key);if(t.some(o=>o===s||zd[o]===s))return e(l)})},Zd=Ne({patchProp:Vd},Sd);let Ko;function _c(){return Ko||(Ko=jf(Zd))}const qg=(...e)=>{_c().render(...e)},Jg=(...e)=>{const t=_c().createApp(...e),{mount:n}=t;return t.mount=r=>{const l=th(r);if(!l)return;const s=t._component;!te(s)&&!s.render&&!s.template&&(s.template=l.innerHTML),l.nodeType===1&&(l.textContent="");const o=n(l,!1,eh(l));return l instanceof Element&&(l.removeAttribute("v-cloak"),l.setAttribute("data-v-app","")),o},t};function eh(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function th(e){return ye(e)?document.querySelector(e):e}var nh=!1;/*! + * pinia v2.2.2 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */let vc;const gs=e=>vc=e,bc=Symbol();function ol(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Zn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Zn||(Zn={}));function Qg(){const e=pr(!0),t=e.run(()=>ue({}));let n=[],r=[];const l=Pl({install(s){gs(l),l._a=s,s.provide(bc,l),s.config.globalProperties.$pinia=l,r.forEach(o=>n.push(o)),r=[]},use(s){return!this._a&&!nh?r.push(s):n.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return l}const Ec=()=>{};function Go(e,t,n,r=Ec){e.push(t);const l=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),r())};return!n&&Ll()&&ra(l),l}function gn(e,...t){e.slice().forEach(n=>{n(...t)})}const rh=e=>e(),Yo=Symbol(),xs=Symbol();function il(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],l=e[n];ol(l)&&ol(r)&&e.hasOwnProperty(n)&&!ve(r)&&!Rt(r)?e[n]=il(l,r):e[n]=r}return e}const sh=Symbol();function lh(e){return!ol(e)||!e.hasOwnProperty(sh)}const{assign:Ut}=Object;function oh(e){return!!(ve(e)&&e.effect)}function ih(e,t,n,r){const{state:l,actions:s,getters:o}=t,i=n.state.value[e];let a;function f(){i||(n.state.value[e]=l?l():{});const u=ef(n.state.value[e]);return Ut(u,s,Object.keys(o||{}).reduce((c,d)=>(c[d]=Pl(ce(()=>{gs(n);const g=n._s.get(e);return o[d].call(g,g)})),c),{}))}return a=yc(e,f,t,n,r,!0),a}function yc(e,t,n={},r,l,s){let o;const i=Ut({actions:{}},n),a={deep:!0};let f,u,c=[],d=[],g;const E=r.state.value[e];!s&&!E&&(r.state.value[e]={}),ue({});let C;function A(P){let I;f=u=!1,typeof P=="function"?(P(r.state.value[e]),I={type:Zn.patchFunction,storeId:e,events:g}):(il(r.state.value[e],P),I={type:Zn.patchObject,payload:P,storeId:e,events:g});const M=C=Symbol();vr().then(()=>{C===M&&(f=!0)}),u=!0,gn(c,I,r.state.value[e])}const w=s?function(){const{state:I}=n,M=I?I():{};this.$patch(j=>{Ut(j,M)})}:Ec;function N(){o.stop(),c=[],d=[],r._s.delete(e)}const v=(P,I="")=>{if(Yo in P)return P[xs]=I,P;const M=function(){gs(r);const j=Array.from(arguments),D=[],q=[];function ae(Z){D.push(Z)}function Te(Z){q.push(Z)}gn(d,{args:j,name:M[xs],store:T,after:ae,onError:Te});let re;try{re=P.apply(this&&this.$id===e?this:T,j)}catch(Z){throw gn(q,Z),Z}return re instanceof Promise?re.then(Z=>(gn(D,Z),Z)).catch(Z=>(gn(q,Z),Promise.reject(Z))):(gn(D,re),re)};return M[Yo]=!0,M[xs]=I,M},b={_p:r,$id:e,$onAction:Go.bind(null,d),$patch:A,$reset:w,$subscribe(P,I={}){const M=Go(c,P,I.detached,()=>j()),j=o.run(()=>Ue(()=>r.state.value[e],D=>{(I.flush==="sync"?u:f)&&P({storeId:e,type:Zn.direct,events:g},D)},Ut({},a,I)));return M},$dispose:N},T=gr(b);r._s.set(e,T);const R=(r._a&&r._a.runWithContext||rh)(()=>r._e.run(()=>(o=pr()).run(()=>t({action:v}))));for(const P in R){const I=R[P];if(ve(I)&&!oh(I)||Rt(I))s||(E&&lh(I)&&(ve(I)?I.value=E[P]:il(I,E[P])),r.state.value[e][P]=I);else if(typeof I=="function"){const M=v(I,P);R[P]=M,i.actions[P]=I}}return Ut(T,R),Ut(ie(T),R),Object.defineProperty(T,"$state",{get:()=>r.state.value[e],set:P=>{A(I=>{Ut(I,P)})}}),r._p.forEach(P=>{Ut(T,o.run(()=>P({store:T,app:r._a,pinia:r,options:i})))}),E&&s&&n.hydrate&&n.hydrate(T.$state,E),f=!0,u=!0,T}function zg(e,t,n){let r,l;const s=typeof t=="function";typeof e=="string"?(r=e,l=s?n:t):(l=e,r=e.id);function o(i,a){const f=Df();return i=i||(f?ze(bc,null):null),i&&gs(i),i=vc,i._s.has(r)||(s?yc(r,t,l,i):ih(r,l,i)),i._s.get(r)}return o.$id=r,o}function Zg(e){{e=ie(e);const t={};for(const n in e){const r=e[n];(ve(r)||Rt(r))&&(t[n]=ya(e,n))}return t}}function fn(e){return Ll()?(ra(e),!0):!1}function e_(e){let t=!1,n;const r=pr(!0);return(...l)=>(t||(n=r.run(()=>e(...l)),t=!0),n)}const In=new WeakMap,ah=(e,t)=>{var n;const r=(n=Ze())==null?void 0:n.proxy;if(r==null)throw new Error("provideLocal must be called in setup");In.has(r)||In.set(r,Object.create(null));const l=In.get(r);l[e]=t,Jn(e,t)},ch=(...e)=>{var t;const n=e[0],r=(t=Ze())==null?void 0:t.proxy;if(r==null)throw new Error("injectLocal must be called in setup");return In.has(r)&&n in In.get(r)?In.get(r)[n]:ze(...e)};function t_(e,t){const n=Symbol(e.name||"InjectionState"),r=void 0;return[(...o)=>{const i=e(...o);return ah(n,i),i},()=>ch(n,r)]}function n_(e){let t=0,n,r;const l=()=>{t-=1,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return(...s)=>(t+=1,n||(r=pr(!0),n=r.run(()=>e(...s))),fn(l),n)}function mt(e){return typeof e=="function"?e():on(e)}const Jr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const uh=e=>e!=null,fh=Object.prototype.toString,dh=e=>fh.call(e)==="[object Object]",Tc=()=>{};function hh(e,t){function n(...r){return new Promise((l,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(l).catch(s)})}return n}const Cc=e=>e();function mh(e=Cc){const t=ue(!0);function n(){t.value=!1}function r(){t.value=!0}const l=(...s)=>{t.value&&e(...s)};return{isActive:as(t),pause:n,resume:r,eventFilter:l}}function ph(e,t){var n;if(typeof e=="number")return e+t;const r=((n=e.match(/^-?\d+\.?\d*/))==null?void 0:n[0])||"",l=e.slice(r.length),s=Number.parseFloat(r)+t;return Number.isNaN(s)?e:s+l}function Lc(e){return Ze()}function Sc(...e){if(e.length!==1)return ya(...e);const t=e[0];return typeof t=="function"?as(Zu(()=>({get:t,set:Tc}))):ue(t)}function gh(e,t,n={}){const{eventFilter:r=Cc,...l}=n;return Ue(e,hh(r,t),l)}function _h(e,t,n={}){const{eventFilter:r,...l}=n,{eventFilter:s,pause:o,resume:i,isActive:a}=mh(r);return{stop:gh(e,t,{...l,eventFilter:s}),pause:o,resume:i,isActive:a}}function vh(e,t){Lc()&&fs(e,t)}function Yl(e,t=!0,n){Lc()?hn(e,n):t?e():vr(e)}function bh(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:l=!1}=n;let s=null;const o=ue(!1);function i(){s&&(clearInterval(s),s=null)}function a(){o.value=!1,i()}function f(){const u=mt(t);u<=0||(o.value=!0,l&&e(),i(),s=setInterval(e,u))}if(r&&Jr&&f(),ve(t)||typeof t=="function"){const u=Ue(t,()=>{o.value&&Jr&&f()});fn(u)}return fn(a),{isActive:o,pause:a,resume:f}}function r_(e=1e3,t={}){const{controls:n=!1,immediate:r=!0,callback:l}=t,s=ue(0),o=()=>s.value+=1,i=()=>{s.value=0},a=bh(l?()=>{o(),l(s.value)}:o,e,{immediate:r});return n?{counter:s,reset:i,...a}:s}function s_(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,l=ve(e),s=ue(e);function o(i){if(arguments.length)return s.value=i,s.value;{const a=mt(n);return s.value=s.value===a?mt(r):a,s.value}}return l?o:[s,o]}function dn(e){var t;const n=mt(e);return(t=n==null?void 0:n.$el)!=null?t:n}const yt=Jr?window:void 0,Eh=Jr?window.document:void 0;function cr(...e){let t,n,r,l;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,l]=e,t=yt):[t,n,r,l]=e,!t)return Tc;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],o=()=>{s.forEach(u=>u()),s.length=0},i=(u,c,d,g)=>(u.addEventListener(c,d,g),()=>u.removeEventListener(c,d,g)),a=Ue(()=>[dn(t),mt(l)],([u,c])=>{if(o(),!u)return;const d=dh(c)?{...c}:c;s.push(...n.flatMap(g=>r.map(E=>i(u,g,E,d))))},{immediate:!0,flush:"post"}),f=()=>{a(),o()};return fn(f),f}function yh(){const e=ue(!1),t=Ze();return t&&hn(()=>{e.value=!0},t),e}function Xl(e){const t=yh();return ce(()=>(t.value,!!e()))}function Ic(e,t,n={}){const{window:r=yt,...l}=n;let s;const o=Xl(()=>r&&"MutationObserver"in r),i=()=>{s&&(s.disconnect(),s=void 0)},a=ce(()=>{const d=mt(e),g=(Array.isArray(d)?d:[d]).map(dn).filter(uh);return new Set(g)}),f=Ue(()=>a.value,d=>{i(),o.value&&d.size&&(s=new MutationObserver(t),d.forEach(g=>s.observe(g,l)))},{immediate:!0,flush:"post"}),u=()=>s==null?void 0:s.takeRecords(),c=()=>{i(),f()};return fn(c),{isSupported:o,stop:c,takeRecords:u}}function vn(e,t={}){const{window:n=yt}=t,r=Xl(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let l;const s=ue(!1),o=f=>{s.value=f.matches},i=()=>{l&&("removeEventListener"in l?l.removeEventListener("change",o):l.removeListener(o))},a=qf(()=>{r.value&&(i(),l=n.matchMedia(mt(e)),"addEventListener"in l?l.addEventListener("change",o):l.addListener(o),s.value=l.matches)});return fn(()=>{a(),i(),l=void 0}),s}function l_(e,t={}){function n(u,c){let d=mt(e[mt(u)]);return c!=null&&(d=ph(d,c)),typeof d=="number"&&(d=`${d}px`),d}const{window:r=yt,strategy:l="min-width"}=t;function s(u){return r?r.matchMedia(u).matches:!1}const o=u=>vn(()=>`(min-width: ${n(u)})`,t),i=u=>vn(()=>`(max-width: ${n(u)})`,t),a=Object.keys(e).reduce((u,c)=>(Object.defineProperty(u,c,{get:()=>l==="min-width"?o(c):i(c),enumerable:!0,configurable:!0}),u),{});function f(){const u=Object.keys(e).map(c=>[c,o(c)]);return ce(()=>u.filter(([,c])=>c.value).map(([c])=>c))}return Object.assign(a,{greaterOrEqual:o,smallerOrEqual:i,greater(u){return vn(()=>`(min-width: ${n(u,.1)})`,t)},smaller(u){return vn(()=>`(max-width: ${n(u,-.1)})`,t)},between(u,c){return vn(()=>`(min-width: ${n(u)}) and (max-width: ${n(c,-.1)})`,t)},isGreater(u){return s(`(min-width: ${n(u,.1)})`)},isGreaterOrEqual(u){return s(`(min-width: ${n(u)})`)},isSmaller(u){return s(`(max-width: ${n(u,-.1)})`)},isSmallerOrEqual(u){return s(`(max-width: ${n(u)})`)},isInBetween(u,c){return s(`(min-width: ${n(u)}) and (max-width: ${n(c,-.1)})`)},current:f,active(){const u=f();return ce(()=>u.value.length===0?"":u.value.at(-1))}})}const kr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Mr="__vueuse_ssr_handlers__",Th=Ch();function Ch(){return Mr in kr||(kr[Mr]=kr[Mr]||{}),kr[Mr]}function Oc(e,t){return Th[e]||t}function Lh(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Sh={boolean:{read:e=>e==="true",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()}},Xo="vueuse-storage";function Ih(e,t,n,r={}){var l;const{flush:s="pre",deep:o=!0,listenToStorageChanges:i=!0,writeDefaults:a=!0,mergeDefaults:f=!1,shallow:u,window:c=yt,eventFilter:d,onError:g=M=>{console.error(M)},initOnMounted:E}=r,C=(u?cs:ue)(typeof t=="function"?t():t);if(!n)try{n=Oc("getDefaultStorage",()=>{var M;return(M=yt)==null?void 0:M.localStorage})()}catch(M){g(M)}if(!n)return C;const A=mt(t),w=Lh(A),N=(l=r.serializer)!=null?l:Sh[w],{pause:v,resume:b}=_h(C,()=>L(C.value),{flush:s,deep:o,eventFilter:d});c&&i&&Yl(()=>{cr(c,"storage",P),cr(c,Xo,I),E&&P()}),E||P();function T(M,j){c&&c.dispatchEvent(new CustomEvent(Xo,{detail:{key:e,oldValue:M,newValue:j,storageArea:n}}))}function L(M){try{const j=n.getItem(e);if(M==null)T(j,null),n.removeItem(e);else{const D=N.write(M);j!==D&&(n.setItem(e,D),T(j,D))}}catch(j){g(j)}}function R(M){const j=M?M.newValue:n.getItem(e);if(j==null)return a&&A!=null&&n.setItem(e,N.write(A)),A;if(!M&&f){const D=N.read(j);return typeof f=="function"?f(D,A):w==="object"&&!Array.isArray(D)?{...A,...D}:D}else return typeof j!="string"?j:N.read(j)}function P(M){if(!(M&&M.storageArea!==n)){if(M&&M.key==null){C.value=A;return}if(!(M&&M.key!==e)){v();try{(M==null?void 0:M.newValue)!==N.write(C.value)&&(C.value=R(M))}catch(j){g(j)}finally{M?vr(b):b()}}}}function I(M){P(M.detail)}return C}function Nc(e){return vn("(prefers-color-scheme: dark)",e)}function Oh(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:l=yt,storage:s,storageKey:o="vueuse-color-scheme",listenToStorageChanges:i=!0,storageRef:a,emitAuto:f,disableTransition:u=!0}=e,c={auto:"",light:"light",dark:"dark",...e.modes||{}},d=Nc({window:l}),g=ce(()=>d.value?"dark":"light"),E=a||(o==null?Sc(r):Ih(o,r,s,{window:l,listenToStorageChanges:i})),C=ce(()=>E.value==="auto"?g.value:E.value),A=Oc("updateHTMLAttrs",(b,T,L)=>{const R=typeof b=="string"?l==null?void 0:l.document.querySelector(b):dn(b);if(!R)return;let P;if(u&&(P=l.document.createElement("style"),P.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),l.document.head.appendChild(P)),T==="class"){const I=L.split(/\s/g);Object.values(c).flatMap(M=>(M||"").split(/\s/g)).filter(Boolean).forEach(M=>{I.includes(M)?R.classList.add(M):R.classList.remove(M)})}else R.setAttribute(T,L);u&&(l.getComputedStyle(P).opacity,document.head.removeChild(P))});function w(b){var T;A(t,n,(T=c[b])!=null?T:b)}function N(b){e.onChanged?e.onChanged(b,w):w(b)}Ue(C,N,{flush:"post",immediate:!0}),Yl(()=>N(C.value));const v=ce({get(){return f?E.value:C.value},set(b){E.value=b}});try{return Object.assign(v,{store:E,system:g,state:C})}catch{return v}}function o_(e={}){const{valueDark:t="dark",valueLight:n="",window:r=yt}=e,l=Oh({...e,onChanged:(i,a)=>{var f;e.onChanged?(f=e.onChanged)==null||f.call(e,i==="dark",a,i):a(i)},modes:{dark:t,light:n}}),s=ce(()=>l.system?l.system.value:Nc({window:r}).value?"dark":"light");return ce({get(){return l.value==="dark"},set(i){const a=i?"dark":"light";s.value===a?l.value="auto":l.value=a}})}function Nh(e,t,n={}){const{window:r=yt,...l}=n;let s;const o=Xl(()=>r&&"ResizeObserver"in r),i=()=>{s&&(s.disconnect(),s=void 0)},a=ce(()=>Array.isArray(e)?e.map(c=>dn(c)):[dn(e)]),f=Ue(a,c=>{if(i(),o.value&&r){s=new ResizeObserver(t);for(const d of c)d&&s.observe(d,l)}},{immediate:!0,flush:"post"}),u=()=>{i(),f()};return fn(u),{isSupported:o,stop:u}}function i_(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:l=!0,immediate:s=!0}=t,o=ue(0),i=ue(0),a=ue(0),f=ue(0),u=ue(0),c=ue(0),d=ue(0),g=ue(0);function E(){const C=dn(e);if(!C){n&&(o.value=0,i.value=0,a.value=0,f.value=0,u.value=0,c.value=0,d.value=0,g.value=0);return}const A=C.getBoundingClientRect();o.value=A.height,i.value=A.bottom,a.value=A.left,f.value=A.right,u.value=A.top,c.value=A.width,d.value=A.x,g.value=A.y}return Nh(e,E),Ue(()=>dn(e),C=>!C&&E()),Ic(e,E,{attributeFilter:["style","class"]}),l&&cr("scroll",E,{capture:!0,passive:!0}),r&&cr("resize",E,{passive:!0}),Yl(()=>{s&&E()}),{height:o,bottom:i,left:a,right:f,top:u,width:c,x:d,y:g,update:E}}function a_(e={}){const{window:t=yt}=e;if(!t)return ue(["en"]);const n=t.navigator,r=ue(n.languages);return cr(t,"languagechange",()=>{r.value=n.languages}),r}function c_(e=null,t={}){var n,r,l;const{document:s=Eh,restoreOnUnmount:o=c=>c}=t,i=(n=s==null?void 0:s.title)!=null?n:"",a=Sc((r=e??(s==null?void 0:s.title))!=null?r:null),f=e&&typeof e=="function";function u(c){if(!("titleTemplate"in t))return c;const d=t.titleTemplate||"%s";return typeof d=="function"?d(c):mt(d).replace(/%s/g,c)}return Ue(a,(c,d)=>{c!==d&&s&&(s.title=u(typeof c=="string"?c:""))},{immediate:!0}),t.observe&&!t.titleTemplate&&s&&!f&&Ic((l=s.head)==null?void 0:l.querySelector("title"),()=>{s&&s.title!==a.value&&(a.value=u(s.title))},{childList:!0}),vh(()=>{if(o){const c=o(i,a.value||"");c!=null&&s&&(s.title=c)}}),a}/*! + * shared v9.14.0 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */const Qr=typeof window<"u",Qt=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Ah=(e,t,n)=>wh({l:e,k:t,s:n}),wh=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),we=e=>typeof e=="number"&&isFinite(e),Rh=e=>wc(e)==="[object Date]",Gt=e=>wc(e)==="[object RegExp]",_s=e=>ne(e)&&Object.keys(e).length===0,We=Object.assign;let qo;const At=()=>qo||(qo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Jo(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const Ph=Object.prototype.hasOwnProperty;function zr(e,t){return Ph.call(e,t)}const Ee=Array.isArray,_e=e=>typeof e=="function",G=e=>typeof e=="string",se=e=>typeof e=="boolean",de=e=>e!==null&&typeof e=="object",kh=e=>de(e)&&_e(e.then)&&_e(e.catch),Ac=Object.prototype.toString,wc=e=>Ac.call(e),ne=e=>{if(!de(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Mh=e=>e==null?"":Ee(e)||ne(e)&&e.toString===Ac?JSON.stringify(e,null,2):String(e);function Fh(e,t=""){return e.reduce((n,r,l)=>l===0?n+r:n+t+r,"")}function vs(e){let t=e;return()=>++t}function Dh(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Fr=e=>!de(e)||Ee(e);function Ur(e,t){if(Fr(e)||Fr(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:l}=n.pop();Object.keys(r).forEach(s=>{Fr(r[s])||Fr(l[s])?l[s]=r[s]:n.push({src:r[s],des:l[s]})})}}/*! + * message-compiler v9.14.0 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */function xh(e,t,n){return{line:e,column:t,offset:n}}function Zr(e,t,n){return{start:e,end:t}}const $h=/\{([0-9a-zA-Z]+)\}/g;function Rc(e,...t){return t.length===1&&Uh(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace($h,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Pc=Object.assign,Qo=e=>typeof e=="string",Uh=e=>e!==null&&typeof e=="object";function kc(e,t=""){return e.reduce((n,r,l)=>l===0?n+r:n+t+r,"")}const ql={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Wh={[ql.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Hh(e,t,...n){const r=Rc(Wh[e],...n||[]),l={message:String(r),code:e};return t&&(l.location=t),l}const ee={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},Vh={[ee.EXPECTED_TOKEN]:"Expected token: '{0}'",[ee.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ee.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ee.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ee.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ee.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ee.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ee.EMPTY_PLACEHOLDER]:"Empty placeholder",[ee.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ee.INVALID_LINKED_FORMAT]:"Invalid linked format",[ee.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ee.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ee.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ee.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ee.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ee.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function xn(e,t,n={}){const{domain:r,messages:l,args:s}=n,o=Rc((l||Vh)[e]||"",...s||[]),i=new SyntaxError(String(o));return i.code=e,t&&(i.location=t),i.domain=r,i}function jh(e){throw e}const Ct=" ",Bh="\r",Ge=` +`,Kh="\u2028",Gh="\u2029";function Yh(e){const t=e;let n=0,r=1,l=1,s=0;const o=R=>t[R]===Bh&&t[R+1]===Ge,i=R=>t[R]===Ge,a=R=>t[R]===Gh,f=R=>t[R]===Kh,u=R=>o(R)||i(R)||a(R)||f(R),c=()=>n,d=()=>r,g=()=>l,E=()=>s,C=R=>o(R)||a(R)||f(R)?Ge:t[R],A=()=>C(n),w=()=>C(n+s);function N(){return s=0,u(n)&&(r++,l=0),o(n)&&n++,n++,l++,t[n]}function v(){return o(n+s)&&s++,s++,t[n+s]}function b(){n=0,r=1,l=1,s=0}function T(R=0){s=R}function L(){const R=n+s;for(;R!==n;)N();s=0}return{index:c,line:d,column:g,peekOffset:E,charAt:C,currentChar:A,currentPeek:w,next:N,peek:v,reset:b,resetPeek:T,skipToPeek:L}}const Dt=void 0,Xh=".",zo="'",qh="tokenizer";function Jh(e,t={}){const n=t.location!==!1,r=Yh(e),l=()=>r.index(),s=()=>xh(r.line(),r.column(),r.index()),o=s(),i=l(),a={currentType:14,offset:i,startLoc:o,endLoc:o,lastType:14,lastOffset:i,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},f=()=>a,{onError:u}=t;function c(m,p,y,...U){const V=f();if(p.column+=y,p.offset+=y,u){const H=n?Zr(V.startLoc,p):null,O=xn(m,H,{domain:qh,args:U});u(O)}}function d(m,p,y){m.endLoc=s(),m.currentType=p;const U={type:p};return n&&(U.loc=Zr(m.startLoc,m.endLoc)),y!=null&&(U.value=y),U}const g=m=>d(m,14);function E(m,p){return m.currentChar()===p?(m.next(),p):(c(ee.EXPECTED_TOKEN,s(),0,p),"")}function C(m){let p="";for(;m.currentPeek()===Ct||m.currentPeek()===Ge;)p+=m.currentPeek(),m.peek();return p}function A(m){const p=C(m);return m.skipToPeek(),p}function w(m){if(m===Dt)return!1;const p=m.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p===95}function N(m){if(m===Dt)return!1;const p=m.charCodeAt(0);return p>=48&&p<=57}function v(m,p){const{currentType:y}=p;if(y!==2)return!1;C(m);const U=w(m.currentPeek());return m.resetPeek(),U}function b(m,p){const{currentType:y}=p;if(y!==2)return!1;C(m);const U=m.currentPeek()==="-"?m.peek():m.currentPeek(),V=N(U);return m.resetPeek(),V}function T(m,p){const{currentType:y}=p;if(y!==2)return!1;C(m);const U=m.currentPeek()===zo;return m.resetPeek(),U}function L(m,p){const{currentType:y}=p;if(y!==8)return!1;C(m);const U=m.currentPeek()===".";return m.resetPeek(),U}function R(m,p){const{currentType:y}=p;if(y!==9)return!1;C(m);const U=w(m.currentPeek());return m.resetPeek(),U}function P(m,p){const{currentType:y}=p;if(!(y===8||y===12))return!1;C(m);const U=m.currentPeek()===":";return m.resetPeek(),U}function I(m,p){const{currentType:y}=p;if(y!==10)return!1;const U=()=>{const H=m.currentPeek();return H==="{"?w(m.peek()):H==="@"||H==="%"||H==="|"||H===":"||H==="."||H===Ct||!H?!1:H===Ge?(m.peek(),U()):D(m,!1)},V=U();return m.resetPeek(),V}function M(m){C(m);const p=m.currentPeek()==="|";return m.resetPeek(),p}function j(m){const p=C(m),y=m.currentPeek()==="%"&&m.peek()==="{";return m.resetPeek(),{isModulo:y,hasSpace:p.length>0}}function D(m,p=!0){const y=(V=!1,H="",O=!1)=>{const k=m.currentPeek();return k==="{"?H==="%"?!1:V:k==="@"||!k?H==="%"?!0:V:k==="%"?(m.peek(),y(V,"%",!0)):k==="|"?H==="%"||O?!0:!(H===Ct||H===Ge):k===Ct?(m.peek(),y(!0,Ct,O)):k===Ge?(m.peek(),y(!0,Ge,O)):!0},U=y();return p&&m.resetPeek(),U}function q(m,p){const y=m.currentChar();return y===Dt?Dt:p(y)?(m.next(),y):null}function ae(m){const p=m.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p>=48&&p<=57||p===95||p===36}function Te(m){return q(m,ae)}function re(m){const p=m.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p>=48&&p<=57||p===95||p===36||p===45}function Z(m){return q(m,re)}function le(m){const p=m.charCodeAt(0);return p>=48&&p<=57}function je(m){return q(m,le)}function qe(m){const p=m.charCodeAt(0);return p>=48&&p<=57||p>=65&&p<=70||p>=97&&p<=102}function Ce(m){return q(m,qe)}function Le(m){let p="",y="";for(;p=je(m);)y+=p;return y}function nt(m){A(m);const p=m.currentChar();return p!=="%"&&c(ee.EXPECTED_TOKEN,s(),0,p),m.next(),"%"}function et(m){let p="";for(;;){const y=m.currentChar();if(y==="{"||y==="}"||y==="@"||y==="|"||!y)break;if(y==="%")if(D(m))p+=y,m.next();else break;else if(y===Ct||y===Ge)if(D(m))p+=y,m.next();else{if(M(m))break;p+=y,m.next()}else p+=y,m.next()}return p}function gt(m){A(m);let p="",y="";for(;p=Z(m);)y+=p;return m.currentChar()===Dt&&c(ee.UNTERMINATED_CLOSING_BRACE,s(),0),y}function ke(m){A(m);let p="";return m.currentChar()==="-"?(m.next(),p+=`-${Le(m)}`):p+=Le(m),m.currentChar()===Dt&&c(ee.UNTERMINATED_CLOSING_BRACE,s(),0),p}function x(m){return m!==zo&&m!==Ge}function Y(m){A(m),E(m,"'");let p="",y="";for(;p=q(m,x);)p==="\\"?y+=B(m):y+=p;const U=m.currentChar();return U===Ge||U===Dt?(c(ee.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),U===Ge&&(m.next(),E(m,"'")),y):(E(m,"'"),y)}function B(m){const p=m.currentChar();switch(p){case"\\":case"'":return m.next(),`\\${p}`;case"u":return X(m,p,4);case"U":return X(m,p,6);default:return c(ee.UNKNOWN_ESCAPE_SEQUENCE,s(),0,p),""}}function X(m,p,y){E(m,p);let U="";for(let V=0;V{const U=m.currentChar();return U==="{"||U==="%"||U==="@"||U==="|"||U==="("||U===")"||!U||U===Ct?y:(y+=U,m.next(),p(y))};return p("")}function S(m){A(m);const p=E(m,"|");return A(m),p}function $(m,p){let y=null;switch(m.currentChar()){case"{":return p.braceNest>=1&&c(ee.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),m.next(),y=d(p,2,"{"),A(m),p.braceNest++,y;case"}":return p.braceNest>0&&p.currentType===2&&c(ee.EMPTY_PLACEHOLDER,s(),0),m.next(),y=d(p,3,"}"),p.braceNest--,p.braceNest>0&&A(m),p.inLinked&&p.braceNest===0&&(p.inLinked=!1),y;case"@":return p.braceNest>0&&c(ee.UNTERMINATED_CLOSING_BRACE,s(),0),y=F(m,p)||g(p),p.braceNest=0,y;default:{let V=!0,H=!0,O=!0;if(M(m))return p.braceNest>0&&c(ee.UNTERMINATED_CLOSING_BRACE,s(),0),y=d(p,1,S(m)),p.braceNest=0,p.inLinked=!1,y;if(p.braceNest>0&&(p.currentType===5||p.currentType===6||p.currentType===7))return c(ee.UNTERMINATED_CLOSING_BRACE,s(),0),p.braceNest=0,W(m,p);if(V=v(m,p))return y=d(p,5,gt(m)),A(m),y;if(H=b(m,p))return y=d(p,6,ke(m)),A(m),y;if(O=T(m,p))return y=d(p,7,Y(m)),A(m),y;if(!V&&!H&&!O)return y=d(p,13,he(m)),c(ee.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,y.value),A(m),y;break}}return y}function F(m,p){const{currentType:y}=p;let U=null;const V=m.currentChar();switch((y===8||y===9||y===12||y===10)&&(V===Ge||V===Ct)&&c(ee.INVALID_LINKED_FORMAT,s(),0),V){case"@":return m.next(),U=d(p,8,"@"),p.inLinked=!0,U;case".":return A(m),m.next(),d(p,9,".");case":":return A(m),m.next(),d(p,10,":");default:return M(m)?(U=d(p,1,S(m)),p.braceNest=0,p.inLinked=!1,U):L(m,p)||P(m,p)?(A(m),F(m,p)):R(m,p)?(A(m),d(p,12,_(m))):I(m,p)?(A(m),V==="{"?$(m,p)||U:d(p,11,h(m))):(y===8&&c(ee.INVALID_LINKED_FORMAT,s(),0),p.braceNest=0,p.inLinked=!1,W(m,p))}}function W(m,p){let y={type:14};if(p.braceNest>0)return $(m,p)||g(p);if(p.inLinked)return F(m,p)||g(p);switch(m.currentChar()){case"{":return $(m,p)||g(p);case"}":return c(ee.UNBALANCED_CLOSING_BRACE,s(),0),m.next(),d(p,3,"}");case"@":return F(m,p)||g(p);default:{if(M(m))return y=d(p,1,S(m)),p.braceNest=0,p.inLinked=!1,y;const{isModulo:V,hasSpace:H}=j(m);if(V)return H?d(p,0,et(m)):d(p,4,nt(m));if(D(m))return d(p,0,et(m));break}}return y}function K(){const{currentType:m,offset:p,startLoc:y,endLoc:U}=a;return a.lastType=m,a.lastOffset=p,a.lastStartLoc=y,a.lastEndLoc=U,a.offset=l(),a.startLoc=s(),r.currentChar()===Dt?d(a,14):W(r,a)}return{nextToken:K,currentOffset:l,currentPosition:s,context:f}}const Qh="parser",zh=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Zh(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function em(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function l(v,b,T,L,...R){const P=v.currentPosition();if(P.offset+=L,P.column+=L,n){const I=t?Zr(T,P):null,M=xn(b,I,{domain:Qh,args:R});n(M)}}function s(v,b,T,L,...R){const P=v.currentPosition();if(P.offset+=L,P.column+=L,r){const I=t?Zr(T,P):null;r(Hh(b,I,R))}}function o(v,b,T){const L={type:v};return t&&(L.start=b,L.end=b,L.loc={start:T,end:T}),L}function i(v,b,T,L){t&&(v.end=b,v.loc&&(v.loc.end=T))}function a(v,b){const T=v.context(),L=o(3,T.offset,T.startLoc);return L.value=b,i(L,v.currentOffset(),v.currentPosition()),L}function f(v,b){const T=v.context(),{lastOffset:L,lastStartLoc:R}=T,P=o(5,L,R);return P.index=parseInt(b,10),v.nextToken(),i(P,v.currentOffset(),v.currentPosition()),P}function u(v,b,T){const L=v.context(),{lastOffset:R,lastStartLoc:P}=L,I=o(4,R,P);return I.key=b,T===!0&&(I.modulo=!0),v.nextToken(),i(I,v.currentOffset(),v.currentPosition()),I}function c(v,b){const T=v.context(),{lastOffset:L,lastStartLoc:R}=T,P=o(9,L,R);return P.value=b.replace(zh,Zh),v.nextToken(),i(P,v.currentOffset(),v.currentPosition()),P}function d(v){const b=v.nextToken(),T=v.context(),{lastOffset:L,lastStartLoc:R}=T,P=o(8,L,R);return b.type!==12?(l(v,ee.UNEXPECTED_EMPTY_LINKED_MODIFIER,T.lastStartLoc,0),P.value="",i(P,L,R),{nextConsumeToken:b,node:P}):(b.value==null&&l(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,it(b)),P.value=b.value||"",i(P,v.currentOffset(),v.currentPosition()),{node:P})}function g(v,b){const T=v.context(),L=o(7,T.offset,T.startLoc);return L.value=b,i(L,v.currentOffset(),v.currentPosition()),L}function E(v){const b=v.context(),T=o(6,b.offset,b.startLoc);let L=v.nextToken();if(L.type===9){const R=d(v);T.modifier=R.node,L=R.nextConsumeToken||v.nextToken()}switch(L.type!==10&&l(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,it(L)),L=v.nextToken(),L.type===2&&(L=v.nextToken()),L.type){case 11:L.value==null&&l(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,it(L)),T.key=g(v,L.value||"");break;case 5:L.value==null&&l(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,it(L)),T.key=u(v,L.value||"");break;case 6:L.value==null&&l(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,it(L)),T.key=f(v,L.value||"");break;case 7:L.value==null&&l(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,it(L)),T.key=c(v,L.value||"");break;default:{l(v,ee.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const R=v.context(),P=o(7,R.offset,R.startLoc);return P.value="",i(P,R.offset,R.startLoc),T.key=P,i(T,R.offset,R.startLoc),{nextConsumeToken:L,node:T}}}return i(T,v.currentOffset(),v.currentPosition()),{node:T}}function C(v){const b=v.context(),T=b.currentType===1?v.currentOffset():b.offset,L=b.currentType===1?b.endLoc:b.startLoc,R=o(2,T,L);R.items=[];let P=null,I=null;do{const D=P||v.nextToken();switch(P=null,D.type){case 0:D.value==null&&l(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,it(D)),R.items.push(a(v,D.value||""));break;case 6:D.value==null&&l(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,it(D)),R.items.push(f(v,D.value||""));break;case 4:I=!0;break;case 5:D.value==null&&l(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,it(D)),R.items.push(u(v,D.value||"",!!I)),I&&(s(v,ql.USE_MODULO_SYNTAX,b.lastStartLoc,0,it(D)),I=null);break;case 7:D.value==null&&l(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,it(D)),R.items.push(c(v,D.value||""));break;case 8:{const q=E(v);R.items.push(q.node),P=q.nextConsumeToken||null;break}}}while(b.currentType!==14&&b.currentType!==1);const M=b.currentType===1?b.lastOffset:v.currentOffset(),j=b.currentType===1?b.lastEndLoc:v.currentPosition();return i(R,M,j),R}function A(v,b,T,L){const R=v.context();let P=L.items.length===0;const I=o(1,b,T);I.cases=[],I.cases.push(L);do{const M=C(v);P||(P=M.items.length===0),I.cases.push(M)}while(R.currentType!==14);return P&&l(v,ee.MUST_HAVE_MESSAGES_IN_PLURAL,T,0),i(I,v.currentOffset(),v.currentPosition()),I}function w(v){const b=v.context(),{offset:T,startLoc:L}=b,R=C(v);return b.currentType===14?R:A(v,T,L,R)}function N(v){const b=Jh(v,Pc({},e)),T=b.context(),L=o(0,T.offset,T.startLoc);return t&&L.loc&&(L.loc.source=v),L.body=w(b),e.onCacheKey&&(L.cacheKey=e.onCacheKey(v)),T.currentType!==14&&l(b,ee.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,v[T.offset]||""),i(L,b.currentOffset(),b.currentPosition()),L}return{parse:N}}function it(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function tm(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function Zo(e,t){for(let n=0;nei(n)),e}function ei(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;ni;function f(A,w){i.code+=A}function u(A,w=!0){const N=w?l:"";f(s?N+" ".repeat(A):N)}function c(A=!0){const w=++i.indentLevel;A&&u(w)}function d(A=!0){const w=--i.indentLevel;A&&u(w)}function g(){u(i.indentLevel)}return{context:a,push:f,indent:c,deindent:d,newline:g,helper:A=>`_${A}`,needIndent:()=>i.needIndent}}function im(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),wn(e,t.key),t.modifier?(e.push(", "),wn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function am(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const l=t.items.length;for(let s=0;s1){e.push(`${n("plural")}([`),e.indent(r());const l=t.cases.length;for(let s=0;s{const n=Qo(t.mode)?t.mode:"normal",r=Qo(t.filename)?t.filename:"message.intl",l=!!t.sourceMap,s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` +`,o=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],a=om(e,{mode:n,filename:r,sourceMap:l,breakLineCode:s,needIndent:o});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(o),i.length>0&&(a.push(`const { ${kc(i.map(c=>`${c}: _${c}`),", ")} } = ctx`),a.newline()),a.push("return "),wn(a,e),a.deindent(o),a.push("}"),delete e.helpers;const{code:f,map:u}=a.context();return{ast:e,code:f,map:u?u.toJSON():void 0}};function dm(e,t={}){const n=Pc({},t),r=!!n.jit,l=!!n.minify,s=n.optimize==null?!0:n.optimize,i=em(n).parse(e);return r?(s&&rm(i),l&&bn(i),{ast:i,code:""}):(nm(i,n),fm(i,n))}/*! + * core-base v9.14.0 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */function hm(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(At().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(At().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(At().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const zt=[];zt[0]={w:[0],i:[3,0],"[":[4],o:[7]};zt[1]={w:[1],".":[2],"[":[4],o:[7]};zt[2]={w:[2],i:[3,0],0:[3,0]};zt[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};zt[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};zt[5]={"'":[4,0],o:8,l:[5,0]};zt[6]={'"':[4,0],o:8,l:[6,0]};const mm=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function pm(e){return mm.test(e)}function gm(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function _m(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function vm(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:pm(t)?gm(t):"*"+t}function bm(e){const t=[];let n=-1,r=0,l=0,s,o,i,a,f,u,c;const d=[];d[0]=()=>{o===void 0?o=i:o+=i},d[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},d[2]=()=>{d[0](),l++},d[3]=()=>{if(l>0)l--,r=4,d[0]();else{if(l=0,o===void 0||(o=vm(o),o===!1))return!1;d[1]()}};function g(){const E=e[n+1];if(r===5&&E==="'"||r===6&&E==='"')return n++,i="\\"+E,d[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&g())){if(a=_m(s),c=zt[r],f=c[a]||c.l||8,f===8||(r=f[0],f[1]!==void 0&&(u=d[f[1]],u&&(i=s,u()===!1))))return;if(r===7)return t}}const ti=new Map;function Em(e,t){return de(e)?e[t]:null}function ym(e,t){if(!de(e))return null;let n=ti.get(t);if(n||(n=bm(t),n&&ti.set(t,n)),!n)return null;const r=n.length;let l=e,s=0;for(;se,Cm=e=>"",Lm="text",Sm=e=>e.length===0?"":Fh(e),Im=Mh;function ni(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Om(e){const t=we(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(we(e.named.count)||we(e.named.n))?we(e.named.count)?e.named.count:we(e.named.n)?e.named.n:t:t}function Nm(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Am(e={}){const t=e.locale,n=Om(e),r=de(e.pluralRules)&&G(t)&&_e(e.pluralRules[t])?e.pluralRules[t]:ni,l=de(e.pluralRules)&&G(t)&&_e(e.pluralRules[t])?ni:void 0,s=w=>w[r(n,w.length,l)],o=e.list||[],i=w=>o[w],a=e.named||{};we(e.pluralIndex)&&Nm(n,a);const f=w=>a[w];function u(w){const N=_e(e.messages)?e.messages(w):de(e.messages)?e.messages[w]:!1;return N||(e.parent?e.parent.message(w):Cm)}const c=w=>e.modifiers?e.modifiers[w]:Tm,d=ne(e.processor)&&_e(e.processor.normalize)?e.processor.normalize:Sm,g=ne(e.processor)&&_e(e.processor.interpolate)?e.processor.interpolate:Im,E=ne(e.processor)&&G(e.processor.type)?e.processor.type:Lm,A={list:i,named:f,plural:s,linked:(w,...N)=>{const[v,b]=N;let T="text",L="";N.length===1?de(v)?(L=v.modifier||L,T=v.type||T):G(v)&&(L=v||L):N.length===2&&(G(v)&&(L=v||L),G(b)&&(T=b||T));const R=u(w)(A),P=T==="vnode"&&Ee(R)&&L?R[0]:R;return L?c(L)(P,T):P},message:u,type:E,interpolate:g,normalize:d,values:We({},o,a)};return A}let ur=null;function wm(e){ur=e}function Rm(e,t,n){ur&&ur.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Pm=km("function:translate");function km(e){return t=>ur&&ur.emit(e,t)}const Mc=ql.__EXTEND_POINT__,nn=vs(Mc),Mm={NOT_FOUND_KEY:Mc,FALLBACK_TO_TRANSLATE:nn(),CANNOT_FORMAT_NUMBER:nn(),FALLBACK_TO_NUMBER_FORMAT:nn(),CANNOT_FORMAT_DATE:nn(),FALLBACK_TO_DATE_FORMAT:nn(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:nn(),__EXTEND_POINT__:nn()},Fc=ee.__EXTEND_POINT__,rn=vs(Fc),ut={INVALID_ARGUMENT:Fc,INVALID_DATE_ARGUMENT:rn(),INVALID_ISO_DATE_ARGUMENT:rn(),NOT_SUPPORT_NON_STRING_MESSAGE:rn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:rn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:rn(),NOT_SUPPORT_LOCALE_TYPE:rn(),__EXTEND_POINT__:rn()};function bt(e){return xn(e,null,void 0)}function Ql(e,t){return t.locale!=null?ri(t.locale):ri(e.locale)}let $s;function ri(e){if(G(e))return e;if(_e(e)){if(e.resolvedOnce&&$s!=null)return $s;if(e.constructor.name==="Function"){const t=e();if(kh(t))throw bt(ut.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return $s=t}else throw bt(ut.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw bt(ut.NOT_SUPPORT_LOCALE_TYPE)}function Fm(e,t,n){return[...new Set([n,...Ee(t)?t:de(t)?Object.keys(t):G(t)?[t]:[n]])]}function Dc(e,t,n){const r=G(n)?n:Rn,l=e;l.__localeChainCache||(l.__localeChainCache=new Map);let s=l.__localeChainCache.get(r);if(!s){s=[];let o=[n];for(;Ee(o);)o=si(s,o,t);const i=Ee(t)||!ne(t)?t:t.default?t.default:null;o=G(i)?[i]:i,Ee(o)&&si(s,o,!1),l.__localeChainCache.set(r,s)}return s}function si(e,t,n){let r=!0;for(let l=0;l`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Um(){return{upper:(e,t)=>t==="text"&&G(e)?e.toUpperCase():t==="vnode"&&de(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&G(e)?e.toLowerCase():t==="vnode"&&de(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&G(e)?oi(e):t==="vnode"&&de(e)&&"__v_isVNode"in e?oi(e.children):e}}let xc;function ii(e){xc=e}let $c;function Wm(e){$c=e}let Uc;function Hm(e){Uc=e}let Wc=null;const Vm=e=>{Wc=e},jm=()=>Wc;let Hc=null;const ai=e=>{Hc=e},Bm=()=>Hc;let ci=0;function Km(e={}){const t=_e(e.onWarn)?e.onWarn:Dh,n=G(e.version)?e.version:$m,r=G(e.locale)||_e(e.locale)?e.locale:Rn,l=_e(r)?Rn:r,s=Ee(e.fallbackLocale)||ne(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l,o=ne(e.messages)?e.messages:{[l]:{}},i=ne(e.datetimeFormats)?e.datetimeFormats:{[l]:{}},a=ne(e.numberFormats)?e.numberFormats:{[l]:{}},f=We({},e.modifiers||{},Um()),u=e.pluralRules||{},c=_e(e.missing)?e.missing:null,d=se(e.missingWarn)||Gt(e.missingWarn)?e.missingWarn:!0,g=se(e.fallbackWarn)||Gt(e.fallbackWarn)?e.fallbackWarn:!0,E=!!e.fallbackFormat,C=!!e.unresolving,A=_e(e.postTranslation)?e.postTranslation:null,w=ne(e.processor)?e.processor:null,N=se(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter,b=_e(e.messageCompiler)?e.messageCompiler:xc,T=_e(e.messageResolver)?e.messageResolver:$c||Em,L=_e(e.localeFallbacker)?e.localeFallbacker:Uc||Fm,R=de(e.fallbackContext)?e.fallbackContext:void 0,P=e,I=de(P.__datetimeFormatters)?P.__datetimeFormatters:new Map,M=de(P.__numberFormatters)?P.__numberFormatters:new Map,j=de(P.__meta)?P.__meta:{};ci++;const D={version:n,cid:ci,locale:r,fallbackLocale:s,messages:o,modifiers:f,pluralRules:u,missing:c,missingWarn:d,fallbackWarn:g,fallbackFormat:E,unresolving:C,postTranslation:A,processor:w,warnHtmlMessage:N,escapeParameter:v,messageCompiler:b,messageResolver:T,localeFallbacker:L,fallbackContext:R,onWarn:t,__meta:j};return D.datetimeFormats=i,D.numberFormats=a,D.__datetimeFormatters=I,D.__numberFormatters=M,__INTLIFY_PROD_DEVTOOLS__&&Rm(D,n,j),D}function zl(e,t,n,r,l){const{missing:s,onWarn:o}=e;if(s!==null){const i=s(e,n,t,l);return G(i)?i:t}else return t}function Hn(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Gm(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Ym(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;rXm(n,e)}function Xm(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,l=r.c||r.cases;return e.plural(l.reduce((s,o)=>[...s,ui(e,o)],[]))}else return ui(e,n)}function ui(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((l,s)=>[...l,al(e,s)],[]);return e.normalize(r)}}function al(e,t){const n=t.t||t.type;switch(n){case 3:{const r=t;return r.v||r.value}case 9:{const r=t;return r.v||r.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(r.i!=null?r.i:r.index))}case 6:{const r=t,l=r.m||r.modifier;return e.linked(al(e,r.k||r.key),l?al(e,l):void 0,e.type)}case 7:{const r=t;return r.v||r.value}case 8:{const r=t;return r.v||r.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Vc=e=>e;let yn=Object.create(null);const Pn=e=>de(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function jc(e,t={}){let n=!1;const r=t.onError||jh;return t.onError=l=>{n=!0,r(l)},{...dm(e,t),detectError:n}}const qm=(e,t)=>{if(!G(e))throw bt(ut.NOT_SUPPORT_NON_STRING_MESSAGE);{se(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Vc)(e),l=yn[r];if(l)return l;const{code:s,detectError:o}=jc(e,t),i=new Function(`return ${s}`)();return o?i:yn[r]=i}};function Jm(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&G(e)){se(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Vc)(e),l=yn[r];if(l)return l;const{ast:s,detectError:o}=jc(e,{...t,location:!1,jit:!0}),i=Us(s);return o?i:yn[r]=i}else{const n=e.cacheKey;if(n){const r=yn[n];return r||(yn[n]=Us(e))}else return Us(e)}}const fi=()=>"",lt=e=>_e(e);function di(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:l,messageCompiler:s,fallbackLocale:o,messages:i}=e,[a,f]=cl(...t),u=se(f.missingWarn)?f.missingWarn:e.missingWarn,c=se(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,d=se(f.escapeParameter)?f.escapeParameter:e.escapeParameter,g=!!f.resolvedMessage,E=G(f.default)||se(f.default)?se(f.default)?s?a:()=>a:f.default:n?s?a:()=>a:"",C=n||E!=="",A=Ql(e,f);d&&Qm(f);let[w,N,v]=g?[a,A,i[A]||{}]:Bc(e,a,A,o,c,u),b=w,T=a;if(!g&&!(G(b)||Pn(b)||lt(b))&&C&&(b=E,T=b),!g&&(!(G(b)||Pn(b)||lt(b))||!G(N)))return l?bs:a;let L=!1;const R=()=>{L=!0},P=lt(b)?b:Kc(e,a,N,b,T,R);if(L)return b;const I=ep(e,N,v,f),M=Am(I),j=zm(e,P,M),D=r?r(j,a):j;if(__INTLIFY_PROD_DEVTOOLS__){const q={timestamp:Date.now(),key:G(a)?a:lt(b)?b.key:"",locale:N||(lt(b)?b.locale:""),format:G(b)?b:lt(b)?b.source:"",message:D};q.meta=We({},e.__meta,jm()||{}),Pm(q)}return D}function Qm(e){Ee(e.list)?e.list=e.list.map(t=>G(t)?Jo(t):t):de(e.named)&&Object.keys(e.named).forEach(t=>{G(e.named[t])&&(e.named[t]=Jo(e.named[t]))})}function Bc(e,t,n,r,l,s){const{messages:o,onWarn:i,messageResolver:a,localeFallbacker:f}=e,u=f(e,r,n);let c={},d,g=null;const E="translate";for(let C=0;Cr;return f.locale=n,f.key=t,f}const a=o(r,Zm(e,n,l,r,i,s));return a.locale=n,a.key=t,a.source=r,a}function zm(e,t,n){return t(n)}function cl(...e){const[t,n,r]=e,l={};if(!G(t)&&!we(t)&&!lt(t)&&!Pn(t))throw bt(ut.INVALID_ARGUMENT);const s=we(t)?String(t):(lt(t),t);return we(n)?l.plural=n:G(n)?l.default=n:ne(n)&&!_s(n)?l.named=n:Ee(n)&&(l.list=n),we(r)?l.plural=r:G(r)?l.default=r:ne(r)&&We(l,r),[s,l]}function Zm(e,t,n,r,l,s){return{locale:t,key:n,warnHtmlMessage:l,onError:o=>{throw s&&s(o),o},onCacheKey:o=>Ah(t,n,o)}}function ep(e,t,n,r){const{modifiers:l,pluralRules:s,messageResolver:o,fallbackLocale:i,fallbackWarn:a,missingWarn:f,fallbackContext:u}=e,d={locale:t,modifiers:l,pluralRules:s,messages:g=>{let E=o(n,g);if(E==null&&u){const[,,C]=Bc(u,g,t,i,a,f);E=o(C,g)}if(G(E)||Pn(E)){let C=!1;const w=Kc(e,g,t,E,g,()=>{C=!0});return C?fi:w}else return lt(E)?E:fi}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),we(r.plural)&&(d.pluralIndex=r.plural),d}function hi(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:l,onWarn:s,localeFallbacker:o}=e,{__datetimeFormatters:i}=e,[a,f,u,c]=ul(...t),d=se(u.missingWarn)?u.missingWarn:e.missingWarn;se(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const g=!!u.part,E=Ql(e,u),C=o(e,l,E);if(!G(a)||a==="")return new Intl.DateTimeFormat(E,c).format(f);let A={},w,N=null;const v="datetime format";for(let L=0;L{Gc.includes(a)?o[a]=n[a]:s[a]=n[a]}),G(r)?s.locale=r:ne(r)&&(o=r),ne(l)&&(o=l),[s.key||"",i,s,o]}function mi(e,t,n){const r=e;for(const l in n){const s=`${t}__${l}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function pi(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:l,onWarn:s,localeFallbacker:o}=e,{__numberFormatters:i}=e,[a,f,u,c]=fl(...t),d=se(u.missingWarn)?u.missingWarn:e.missingWarn;se(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const g=!!u.part,E=Ql(e,u),C=o(e,l,E);if(!G(a)||a==="")return new Intl.NumberFormat(E,c).format(f);let A={},w,N=null;const v="number format";for(let L=0;L{Yc.includes(a)?o[a]=n[a]:s[a]=n[a]}),G(r)?s.locale=r:ne(r)&&(o=r),ne(l)&&(o=l),[s.key||"",i,s,o]}function gi(e,t,n){const r=e;for(const l in n){const s=`${t}__${l}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}hm();/*! + * vue-i18n v9.14.0 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */const tp="9.14.0";function np(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(At().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(At().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(At().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(At().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(At().__INTLIFY_PROD_DEVTOOLS__=!1)}const Xc=Mm.__EXTEND_POINT__,Lt=vs(Xc);Lt(),Lt(),Lt(),Lt(),Lt(),Lt(),Lt(),Lt(),Lt();const qc=ut.__EXTEND_POINT__,Je=vs(qc),Pe={UNEXPECTED_RETURN_TYPE:qc,INVALID_ARGUMENT:Je(),MUST_BE_CALL_SETUP_TOP:Je(),NOT_INSTALLED:Je(),NOT_AVAILABLE_IN_LEGACY_MODE:Je(),REQUIRED_VALUE:Je(),INVALID_VALUE:Je(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Je(),NOT_INSTALLED_WITH_PROVIDE:Je(),UNEXPECTED_ERROR:Je(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Je(),BRIDGE_SUPPORT_VUE_2_ONLY:Je(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Je(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Je(),__EXTEND_POINT__:Je()};function xe(e,...t){return xn(e,null,void 0)}const dl=Qt("__translateVNode"),hl=Qt("__datetimeParts"),ml=Qt("__numberParts"),Jc=Qt("__setPluralRules"),Qc=Qt("__injectWithOption"),pl=Qt("__dispose");function fr(e){if(!de(e))return e;for(const t in e)if(zr(e,t))if(!t.includes("."))de(e[t])&&fr(e[t]);else{const n=t.split("."),r=n.length-1;let l=e,s=!1;for(let o=0;o{if("locale"in i&&"resource"in i){const{locale:a,resource:f}=i;a?(o[a]=o[a]||{},Ur(f,o[a])):Ur(f,o)}else G(i)&&Ur(JSON.parse(i),o)}),l==null&&s)for(const i in o)zr(o,i)&&fr(o[i]);return o}function zc(e){return e.type}function Zc(e,t,n){let r=de(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Es(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const l=Object.keys(r);l.length&&l.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(de(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(de(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function _i(e){return Ie(Er,null,e,0)}const vi="__INTLIFY_META__",bi=()=>[],rp=()=>!1;let Ei=0;function yi(e){return(t,n,r,l)=>e(n,r,Ze()||void 0,l)}const sp=()=>{const e=Ze();let t=null;return e&&(t=zc(e)[vi])?{[vi]:t}:null};function Zl(e={},t){const{__root:n,__injectWithOption:r}=e,l=n===void 0,s=e.flatJson,o=Qr?ue:cs,i=!!e.translateExistCompatible;let a=se(e.inheritLocale)?e.inheritLocale:!0;const f=o(n&&a?n.locale.value:G(e.locale)?e.locale:Rn),u=o(n&&a?n.fallbackLocale.value:G(e.fallbackLocale)||Ee(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:f.value),c=o(Es(f.value,e)),d=o(ne(e.datetimeFormats)?e.datetimeFormats:{[f.value]:{}}),g=o(ne(e.numberFormats)?e.numberFormats:{[f.value]:{}});let E=n?n.missingWarn:se(e.missingWarn)||Gt(e.missingWarn)?e.missingWarn:!0,C=n?n.fallbackWarn:se(e.fallbackWarn)||Gt(e.fallbackWarn)?e.fallbackWarn:!0,A=n?n.fallbackRoot:se(e.fallbackRoot)?e.fallbackRoot:!0,w=!!e.fallbackFormat,N=_e(e.missing)?e.missing:null,v=_e(e.missing)?yi(e.missing):null,b=_e(e.postTranslation)?e.postTranslation:null,T=n?n.warnHtmlMessage:se(e.warnHtmlMessage)?e.warnHtmlMessage:!0,L=!!e.escapeParameter;const R=n?n.modifiers:ne(e.modifiers)?e.modifiers:{};let P=e.pluralRules||n&&n.pluralRules,I;I=(()=>{l&&ai(null);const O={version:tp,locale:f.value,fallbackLocale:u.value,messages:c.value,modifiers:R,pluralRules:P,missing:v===null?void 0:v,missingWarn:E,fallbackWarn:C,fallbackFormat:w,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:T,escapeParameter:L,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};O.datetimeFormats=d.value,O.numberFormats=g.value,O.__datetimeFormatters=ne(I)?I.__datetimeFormatters:void 0,O.__numberFormatters=ne(I)?I.__numberFormatters:void 0;const k=Km(O);return l&&ai(k),k})(),Hn(I,f.value,u.value);function j(){return[f.value,u.value,c.value,d.value,g.value]}const D=ce({get:()=>f.value,set:O=>{f.value=O,I.locale=f.value}}),q=ce({get:()=>u.value,set:O=>{u.value=O,I.fallbackLocale=u.value,Hn(I,f.value,O)}}),ae=ce(()=>c.value),Te=ce(()=>d.value),re=ce(()=>g.value);function Z(){return _e(b)?b:null}function le(O){b=O,I.postTranslation=O}function je(){return N}function qe(O){O!==null&&(v=yi(O)),N=O,I.missing=v}const Ce=(O,k,J,Q,Se,Oe)=>{j();let Me;try{__INTLIFY_PROD_DEVTOOLS__,l||(I.fallbackContext=n?Bm():void 0),Me=O(I)}finally{__INTLIFY_PROD_DEVTOOLS__,l||(I.fallbackContext=void 0)}if(J!=="translate exists"&&we(Me)&&Me===bs||J==="translate exists"&&!Me){const[Be,mn]=k();return n&&A?Q(n):Se(Be)}else{if(Oe(Me))return Me;throw xe(Pe.UNEXPECTED_RETURN_TYPE)}};function Le(...O){return Ce(k=>Reflect.apply(di,null,[k,...O]),()=>cl(...O),"translate",k=>Reflect.apply(k.t,k,[...O]),k=>k,k=>G(k))}function nt(...O){const[k,J,Q]=O;if(Q&&!de(Q))throw xe(Pe.INVALID_ARGUMENT);return Le(k,J,We({resolvedMessage:!0},Q||{}))}function et(...O){return Ce(k=>Reflect.apply(hi,null,[k,...O]),()=>ul(...O),"datetime format",k=>Reflect.apply(k.d,k,[...O]),()=>li,k=>G(k))}function gt(...O){return Ce(k=>Reflect.apply(pi,null,[k,...O]),()=>fl(...O),"number format",k=>Reflect.apply(k.n,k,[...O]),()=>li,k=>G(k))}function ke(O){return O.map(k=>G(k)||we(k)||se(k)?_i(String(k)):k)}const Y={normalize:ke,interpolate:O=>O,type:"vnode"};function B(...O){return Ce(k=>{let J;const Q=k;try{Q.processor=Y,J=Reflect.apply(di,null,[Q,...O])}finally{Q.processor=null}return J},()=>cl(...O),"translate",k=>k[dl](...O),k=>[_i(k)],k=>Ee(k))}function X(...O){return Ce(k=>Reflect.apply(pi,null,[k,...O]),()=>fl(...O),"number format",k=>k[ml](...O),bi,k=>G(k)||Ee(k))}function oe(...O){return Ce(k=>Reflect.apply(hi,null,[k,...O]),()=>ul(...O),"datetime format",k=>k[hl](...O),bi,k=>G(k)||Ee(k))}function he(O){P=O,I.pluralRules=P}function _(O,k){return Ce(()=>{if(!O)return!1;const J=G(k)?k:f.value,Q=$(J),Se=I.messageResolver(Q,O);return i?Se!=null:Pn(Se)||lt(Se)||G(Se)},()=>[O],"translate exists",J=>Reflect.apply(J.te,J,[O,k]),rp,J=>se(J))}function h(O){let k=null;const J=Dc(I,u.value,f.value);for(let Q=0;Q{a&&(f.value=O,I.locale=O,Hn(I,f.value,u.value))}),Ue(n.fallbackLocale,O=>{a&&(u.value=O,I.fallbackLocale=O,Hn(I,f.value,u.value))}));const H={id:Ei,locale:D,fallbackLocale:q,get inheritLocale(){return a},set inheritLocale(O){a=O,O&&n&&(f.value=n.locale.value,u.value=n.fallbackLocale.value,Hn(I,f.value,u.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:ae,get modifiers(){return R},get pluralRules(){return P||{}},get isGlobal(){return l},get missingWarn(){return E},set missingWarn(O){E=O,I.missingWarn=E},get fallbackWarn(){return C},set fallbackWarn(O){C=O,I.fallbackWarn=C},get fallbackRoot(){return A},set fallbackRoot(O){A=O},get fallbackFormat(){return w},set fallbackFormat(O){w=O,I.fallbackFormat=w},get warnHtmlMessage(){return T},set warnHtmlMessage(O){T=O,I.warnHtmlMessage=O},get escapeParameter(){return L},set escapeParameter(O){L=O,I.escapeParameter=O},t:Le,getLocaleMessage:$,setLocaleMessage:F,mergeLocaleMessage:W,getPostTranslationHandler:Z,setPostTranslationHandler:le,getMissingHandler:je,setMissingHandler:qe,[Jc]:he};return H.datetimeFormats=Te,H.numberFormats=re,H.rt=nt,H.te=_,H.tm=S,H.d=et,H.n=gt,H.getDateTimeFormat=K,H.setDateTimeFormat=m,H.mergeDateTimeFormat=p,H.getNumberFormat=y,H.setNumberFormat=U,H.mergeNumberFormat=V,H[Qc]=r,H[dl]=B,H[hl]=oe,H[ml]=X,H}function lp(e){const t=G(e.locale)?e.locale:Rn,n=G(e.fallbackLocale)||Ee(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=_e(e.missing)?e.missing:void 0,l=se(e.silentTranslationWarn)||Gt(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=se(e.silentFallbackWarn)||Gt(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=se(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,a=ne(e.modifiers)?e.modifiers:{},f=e.pluralizationRules,u=_e(e.postTranslation)?e.postTranslation:void 0,c=G(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,g=se(e.sync)?e.sync:!0;let E=e.messages;if(ne(e.sharedMessages)){const L=e.sharedMessages;E=Object.keys(L).reduce((P,I)=>{const M=P[I]||(P[I]={});return We(M,L[I]),P},E||{})}const{__i18n:C,__root:A,__injectWithOption:w}=e,N=e.datetimeFormats,v=e.numberFormats,b=e.flatJson,T=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:E,flatJson:b,datetimeFormats:N,numberFormats:v,missing:r,missingWarn:l,fallbackWarn:s,fallbackRoot:o,fallbackFormat:i,modifiers:a,pluralRules:f,postTranslation:u,warnHtmlMessage:c,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:g,translateExistCompatible:T,__i18n:C,__root:A,__injectWithOption:w}}function gl(e={},t){{const n=Zl(lp(e)),{__extender:r}=e,l={id:n.id,get locale(){return n.locale.value},set locale(s){n.locale.value=s},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(s){n.fallbackLocale.value=s},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(s){},get missing(){return n.getMissingHandler()},set missing(s){n.setMissingHandler(s)},get silentTranslationWarn(){return se(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(s){n.missingWarn=se(s)?!s:s},get silentFallbackWarn(){return se(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(s){n.fallbackWarn=se(s)?!s:s},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(s){n.fallbackFormat=s},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(s){n.setPostTranslationHandler(s)},get sync(){return n.inheritLocale},set sync(s){n.inheritLocale=s},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){n.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(s){n.escapeParameter=s},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(s){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...s){const[o,i,a]=s,f={};let u=null,c=null;if(!G(o))throw xe(Pe.INVALID_ARGUMENT);const d=o;return G(i)?f.locale=i:Ee(i)?u=i:ne(i)&&(c=i),Ee(a)?u=a:ne(a)&&(c=a),Reflect.apply(n.t,n,[d,u||c||{},f])},rt(...s){return Reflect.apply(n.rt,n,[...s])},tc(...s){const[o,i,a]=s,f={plural:1};let u=null,c=null;if(!G(o))throw xe(Pe.INVALID_ARGUMENT);const d=o;return G(i)?f.locale=i:we(i)?f.plural=i:Ee(i)?u=i:ne(i)&&(c=i),G(a)?f.locale=a:Ee(a)?u=a:ne(a)&&(c=a),Reflect.apply(n.t,n,[d,u||c||{},f])},te(s,o){return n.te(s,o)},tm(s){return n.tm(s)},getLocaleMessage(s){return n.getLocaleMessage(s)},setLocaleMessage(s,o){n.setLocaleMessage(s,o)},mergeLocaleMessage(s,o){n.mergeLocaleMessage(s,o)},d(...s){return Reflect.apply(n.d,n,[...s])},getDateTimeFormat(s){return n.getDateTimeFormat(s)},setDateTimeFormat(s,o){n.setDateTimeFormat(s,o)},mergeDateTimeFormat(s,o){n.mergeDateTimeFormat(s,o)},n(...s){return Reflect.apply(n.n,n,[...s])},getNumberFormat(s){return n.getNumberFormat(s)},setNumberFormat(s,o){n.setNumberFormat(s,o)},mergeNumberFormat(s,o){n.mergeNumberFormat(s,o)},getChoiceIndex(s,o){return-1}};return l.__extender=r,l}}const eo={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function op({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,l)=>[...r,...l.type===$e?l.children:[l]],[]):t.reduce((n,r)=>{const l=e[r];return l&&(n[r]=l()),n},{})}function eu(e){return $e}const ip=Dn({name:"i18n-t",props:We({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>we(e)||!isNaN(e)}},eo),setup(e,t){const{slots:n,attrs:r}=t,l=e.i18n||to({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(c=>c!=="_"),o={};e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=G(e.plural)?+e.plural:e.plural);const i=op(t,s),a=l[dl](e.keypath,i,o),f=We({},r),u=G(e.tag)||de(e.tag)?e.tag:eu();return Cr(u,f,a)}}}),Ti=ip;function ap(e){return Ee(e)&&!G(e[0])}function tu(e,t,n,r){const{slots:l,attrs:s}=t;return()=>{const o={part:!0};let i={};e.locale&&(o.locale=e.locale),G(e.format)?o.key=e.format:de(e.format)&&(G(e.format.key)&&(o.key=e.format.key),i=Object.keys(e.format).reduce((d,g)=>n.includes(g)?We({},d,{[g]:e.format[g]}):d,{}));const a=r(e.value,o,i);let f=[o.key];Ee(a)?f=a.map((d,g)=>{const E=l[d.type],C=E?E({[d.type]:d.value,index:g,parts:a}):[d.value];return ap(C)&&(C[0].key=`${d.type}-${g}`),C}):G(a)&&(f=[a]);const u=We({},s),c=G(e.tag)||de(e.tag)?e.tag:eu();return Cr(c,u,f)}}const cp=Dn({name:"i18n-n",props:We({value:{type:Number,required:!0},format:{type:[String,Object]}},eo),setup(e,t){const n=e.i18n||to({useScope:e.scope,__useComponent:!0});return tu(e,t,Yc,(...r)=>n[ml](...r))}}),Ci=cp,up=Dn({name:"i18n-d",props:We({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},eo),setup(e,t){const n=e.i18n||to({useScope:e.scope,__useComponent:!0});return tu(e,t,Gc,(...r)=>n[hl](...r))}}),Li=up;function fp(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function dp(e){const t=o=>{const{instance:i,modifiers:a,value:f}=o;if(!i||!i.$)throw xe(Pe.UNEXPECTED_ERROR);const u=fp(e,i.$),c=Si(f);return[Reflect.apply(u.t,u,[...Ii(c)]),u]};return{created:(o,i)=>{const[a,f]=t(i);Qr&&e.global===f&&(o.__i18nWatcher=Ue(f.locale,()=>{i.instance&&i.instance.$forceUpdate()})),o.__composer=f,o.textContent=a},unmounted:o=>{Qr&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:i})=>{if(o.__composer){const a=o.__composer,f=Si(i);o.textContent=Reflect.apply(a.t,a,[...Ii(f)])}},getSSRProps:o=>{const[i]=t(o);return{textContent:i}}}}function Si(e){if(G(e))return{path:e};if(ne(e)){if(!("path"in e))throw xe(Pe.REQUIRED_VALUE,"path");return e}else throw xe(Pe.INVALID_VALUE)}function Ii(e){const{path:t,locale:n,args:r,choice:l,plural:s}=e,o={},i=r||{};return G(n)&&(o.locale=n),we(l)&&(o.plural=l),we(s)&&(o.plural=s),[t,i,o]}function hp(e,t,...n){const r=ne(n[0])?n[0]:{},l=!!r.useI18nComponentName;(se(r.globalInstall)?r.globalInstall:!0)&&([l?"i18n":Ti.name,"I18nT"].forEach(o=>e.component(o,Ti)),[Ci.name,"I18nN"].forEach(o=>e.component(o,Ci)),[Li.name,"I18nD"].forEach(o=>e.component(o,Li))),e.directive("t",dp(t))}function mp(e,t,n){return{beforeCreate(){const r=Ze();if(!r)throw xe(Pe.UNEXPECTED_ERROR);const l=this.$options;if(l.i18n){const s=l.i18n;if(l.__i18n&&(s.__i18n=l.__i18n),s.__root=t,this===this.$root)this.$i18n=Oi(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=gl(s);const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}}else if(l.__i18n)if(this===this.$root)this.$i18n=Oi(e,l);else{this.$i18n=gl({__i18n:l.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;l.__i18nGlobal&&Zc(t,l,l),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,o)=>this.$i18n.te(s,o),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=Ze();if(!r)throw xe(Pe.UNEXPECTED_ERROR);const l=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,l.__disposer&&(l.__disposer(),delete l.__disposer,delete l.__extender),n.__deleteInstance(r),delete this.$i18n}}}function Oi(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[Jc](t.pluralizationRules||e.pluralizationRules);const n=Es(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const pp=Qt("global-vue-i18n");function u_(e={},t){const n=__VUE_I18N_LEGACY_API__&&se(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=se(e.globalInjection)?e.globalInjection:!0,l=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,s=new Map,[o,i]=gp(e,n),a=Qt("");function f(d){return s.get(d)||null}function u(d,g){s.set(d,g)}function c(d){s.delete(d)}{const d={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return l},async install(g,...E){if(g.__VUE_I18N_SYMBOL__=a,g.provide(g.__VUE_I18N_SYMBOL__,d),ne(E[0])){const w=E[0];d.__composerExtend=w.__composerExtend,d.__vueI18nExtend=w.__vueI18nExtend}let C=null;!n&&r&&(C=Sp(g,d.global)),__VUE_I18N_FULL_INSTALL__&&hp(g,d,...E),__VUE_I18N_LEGACY_API__&&n&&g.mixin(mp(i,i.__composer,d));const A=g.unmount;g.unmount=()=>{C&&C(),d.dispose(),A()}},get global(){return i},dispose(){o.stop()},__instances:s,__getInstance:f,__setInstance:u,__deleteInstance:c};return d}}function to(e={}){const t=Ze();if(t==null)throw xe(Pe.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw xe(Pe.NOT_INSTALLED);const n=_p(t),r=bp(n),l=zc(t),s=vp(e,l);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw xe(Pe.NOT_AVAILABLE_IN_LEGACY_MODE);return Cp(t,s,r,e)}if(s==="global")return Zc(r,e,l),r;if(s==="parent"){let a=Ep(n,t,e.__useComponent);return a==null&&(a=r),a}const o=n;let i=o.__getInstance(t);if(i==null){const a=We({},e);"__i18n"in l&&(a.__i18n=l.__i18n),r&&(a.__root=r),i=Zl(a),o.__composerExtend&&(i[pl]=o.__composerExtend(i)),Tp(o,t,i),o.__setInstance(t,i)}return i}function gp(e,t,n){const r=pr();{const l=__VUE_I18N_LEGACY_API__&&t?r.run(()=>gl(e)):r.run(()=>Zl(e));if(l==null)throw xe(Pe.UNEXPECTED_ERROR);return[r,l]}}function _p(e){{const t=ze(e.isCE?pp:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw xe(e.isCE?Pe.NOT_INSTALLED_WITH_PROVIDE:Pe.UNEXPECTED_ERROR);return t}}function vp(e,t){return _s(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function bp(e){return e.mode==="composition"?e.global:e.global.__composer}function Ep(e,t,n=!1){let r=null;const l=t.root;let s=yp(t,n);for(;s!=null;){const o=e;if(e.mode==="composition")r=o.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const i=o.__getInstance(s);i!=null&&(r=i.__composer,n&&r&&!r[Qc]&&(r=null))}if(r!=null||l===s)break;s=s.parent}return r}function yp(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Tp(e,t,n){hn(()=>{},t),ds(()=>{const r=n;e.__deleteInstance(t);const l=r[pl];l&&(l(),delete r[pl])},t)}function Cp(e,t,n,r={}){const l=t==="local",s=cs(null);if(l&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw xe(Pe.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const o=se(r.inheritLocale)?r.inheritLocale:!G(r.locale),i=ue(!l||o?n.locale.value:G(r.locale)?r.locale:Rn),a=ue(!l||o?n.fallbackLocale.value:G(r.fallbackLocale)||Ee(r.fallbackLocale)||ne(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:i.value),f=ue(Es(i.value,r)),u=ue(ne(r.datetimeFormats)?r.datetimeFormats:{[i.value]:{}}),c=ue(ne(r.numberFormats)?r.numberFormats:{[i.value]:{}}),d=l?n.missingWarn:se(r.missingWarn)||Gt(r.missingWarn)?r.missingWarn:!0,g=l?n.fallbackWarn:se(r.fallbackWarn)||Gt(r.fallbackWarn)?r.fallbackWarn:!0,E=l?n.fallbackRoot:se(r.fallbackRoot)?r.fallbackRoot:!0,C=!!r.fallbackFormat,A=_e(r.missing)?r.missing:null,w=_e(r.postTranslation)?r.postTranslation:null,N=l?n.warnHtmlMessage:se(r.warnHtmlMessage)?r.warnHtmlMessage:!0,v=!!r.escapeParameter,b=l?n.modifiers:ne(r.modifiers)?r.modifiers:{},T=r.pluralRules||l&&n.pluralRules;function L(){return[i.value,a.value,f.value,u.value,c.value]}const R=ce({get:()=>s.value?s.value.locale.value:i.value,set:h=>{s.value&&(s.value.locale.value=h),i.value=h}}),P=ce({get:()=>s.value?s.value.fallbackLocale.value:a.value,set:h=>{s.value&&(s.value.fallbackLocale.value=h),a.value=h}}),I=ce(()=>s.value?s.value.messages.value:f.value),M=ce(()=>u.value),j=ce(()=>c.value);function D(){return s.value?s.value.getPostTranslationHandler():w}function q(h){s.value&&s.value.setPostTranslationHandler(h)}function ae(){return s.value?s.value.getMissingHandler():A}function Te(h){s.value&&s.value.setMissingHandler(h)}function re(h){return L(),h()}function Z(...h){return s.value?re(()=>Reflect.apply(s.value.t,null,[...h])):re(()=>"")}function le(...h){return s.value?Reflect.apply(s.value.rt,null,[...h]):""}function je(...h){return s.value?re(()=>Reflect.apply(s.value.d,null,[...h])):re(()=>"")}function qe(...h){return s.value?re(()=>Reflect.apply(s.value.n,null,[...h])):re(()=>"")}function Ce(h){return s.value?s.value.tm(h):{}}function Le(h,S){return s.value?s.value.te(h,S):!1}function nt(h){return s.value?s.value.getLocaleMessage(h):{}}function et(h,S){s.value&&(s.value.setLocaleMessage(h,S),f.value[h]=S)}function gt(h,S){s.value&&s.value.mergeLocaleMessage(h,S)}function ke(h){return s.value?s.value.getDateTimeFormat(h):{}}function x(h,S){s.value&&(s.value.setDateTimeFormat(h,S),u.value[h]=S)}function Y(h,S){s.value&&s.value.mergeDateTimeFormat(h,S)}function B(h){return s.value?s.value.getNumberFormat(h):{}}function X(h,S){s.value&&(s.value.setNumberFormat(h,S),c.value[h]=S)}function oe(h,S){s.value&&s.value.mergeNumberFormat(h,S)}const he={get id(){return s.value?s.value.id:-1},locale:R,fallbackLocale:P,messages:I,datetimeFormats:M,numberFormats:j,get inheritLocale(){return s.value?s.value.inheritLocale:o},set inheritLocale(h){s.value&&(s.value.inheritLocale=h)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(f.value)},get modifiers(){return s.value?s.value.modifiers:b},get pluralRules(){return s.value?s.value.pluralRules:T},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:d},set missingWarn(h){s.value&&(s.value.missingWarn=h)},get fallbackWarn(){return s.value?s.value.fallbackWarn:g},set fallbackWarn(h){s.value&&(s.value.missingWarn=h)},get fallbackRoot(){return s.value?s.value.fallbackRoot:E},set fallbackRoot(h){s.value&&(s.value.fallbackRoot=h)},get fallbackFormat(){return s.value?s.value.fallbackFormat:C},set fallbackFormat(h){s.value&&(s.value.fallbackFormat=h)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:N},set warnHtmlMessage(h){s.value&&(s.value.warnHtmlMessage=h)},get escapeParameter(){return s.value?s.value.escapeParameter:v},set escapeParameter(h){s.value&&(s.value.escapeParameter=h)},t:Z,getPostTranslationHandler:D,setPostTranslationHandler:q,getMissingHandler:ae,setMissingHandler:Te,rt:le,d:je,n:qe,tm:Ce,te:Le,getLocaleMessage:nt,setLocaleMessage:et,mergeLocaleMessage:gt,getDateTimeFormat:ke,setDateTimeFormat:x,mergeDateTimeFormat:Y,getNumberFormat:B,setNumberFormat:X,mergeNumberFormat:oe};function _(h){h.locale.value=i.value,h.fallbackLocale.value=a.value,Object.keys(f.value).forEach(S=>{h.mergeLocaleMessage(S,f.value[S])}),Object.keys(u.value).forEach(S=>{h.mergeDateTimeFormat(S,u.value[S])}),Object.keys(c.value).forEach(S=>{h.mergeNumberFormat(S,c.value[S])}),h.escapeParameter=v,h.fallbackFormat=C,h.fallbackRoot=E,h.fallbackWarn=g,h.missingWarn=d,h.warnHtmlMessage=N}return $l(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw xe(Pe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const h=s.value=e.proxy.$i18n.__composer;t==="global"?(i.value=h.locale.value,a.value=h.fallbackLocale.value,f.value=h.messages.value,u.value=h.datetimeFormats.value,c.value=h.numberFormats.value):l&&_(h)}),he}const Lp=["locale","fallbackLocale","availableLocales"],Ni=["t","rt","d","n","tm","te"];function Sp(e,t){const n=Object.create(null);return Lp.forEach(l=>{const s=Object.getOwnPropertyDescriptor(t,l);if(!s)throw xe(Pe.UNEXPECTED_ERROR);const o=ve(s.value)?{get(){return s.value.value},set(i){s.value.value=i}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,l,o)}),e.config.globalProperties.$i18n=n,Ni.forEach(l=>{const s=Object.getOwnPropertyDescriptor(t,l);if(!s||!s.value)throw xe(Pe.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${l}`,s)}),()=>{delete e.config.globalProperties.$i18n,Ni.forEach(l=>{delete e.config.globalProperties[`$${l}`]})}}np();__INTLIFY_JIT_COMPILATION__?ii(Jm):ii(qm);Wm(ym);Hm(Dc);if(__INTLIFY_PROD_DEVTOOLS__){const e=At();e.__INTLIFY__=!0,wm(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}/*! + * vue-router v4.4.5 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const En=typeof document<"u";function nu(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ip(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&nu(e.default)}const me=Object.assign;function Ws(e,t){const n={};for(const r in t){const l=t[r];n[r]=pt(l)?l.map(e):e(l)}return n}const er=()=>{},pt=Array.isArray,ru=/#/g,Op=/&/g,Np=/\//g,Ap=/=/g,wp=/\?/g,su=/\+/g,Rp=/%5B/g,Pp=/%5D/g,lu=/%5E/g,kp=/%60/g,ou=/%7B/g,Mp=/%7C/g,iu=/%7D/g,Fp=/%20/g;function no(e){return encodeURI(""+e).replace(Mp,"|").replace(Rp,"[").replace(Pp,"]")}function Dp(e){return no(e).replace(ou,"{").replace(iu,"}").replace(lu,"^")}function _l(e){return no(e).replace(su,"%2B").replace(Fp,"+").replace(ru,"%23").replace(Op,"%26").replace(kp,"`").replace(ou,"{").replace(iu,"}").replace(lu,"^")}function xp(e){return _l(e).replace(Ap,"%3D")}function $p(e){return no(e).replace(ru,"%23").replace(wp,"%3F")}function Up(e){return e==null?"":$p(e).replace(Np,"%2F")}function dr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Wp=/\/$/,Hp=e=>e.replace(Wp,"");function Hs(e,t,n="/"){let r,l={},s="",o="";const i=t.indexOf("#");let a=t.indexOf("?");return i=0&&(a=-1),a>-1&&(r=t.slice(0,a),s=t.slice(a+1,i>-1?i:t.length),l=e(s)),i>-1&&(r=r||t.slice(0,i),o=t.slice(i,t.length)),r=Kp(r??t,n),{fullPath:r+(s&&"?")+s+o,path:r,query:l,hash:dr(o)}}function Vp(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ai(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function jp(e,t,n){const r=t.matched.length-1,l=n.matched.length-1;return r>-1&&r===l&&kn(t.matched[r],n.matched[l])&&au(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function kn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function au(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Bp(e[n],t[n]))return!1;return!0}function Bp(e,t){return pt(e)?wi(e,t):pt(t)?wi(t,e):e===t}function wi(e,t){return pt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Kp(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),l=r[r.length-1];(l===".."||l===".")&&r.push("");let s=n.length-1,o,i;for(o=0;o1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(o).join("/")}const xt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var hr;(function(e){e.pop="pop",e.push="push"})(hr||(hr={}));var tr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(tr||(tr={}));function Gp(e){if(!e)if(En){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Hp(e)}const Yp=/^[^#]+#/;function Xp(e,t){return e.replace(Yp,"#")+t}function qp(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const ys=()=>({left:window.scrollX,top:window.scrollY});function Jp(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),l=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!l)return;t=qp(l,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Ri(e,t){return(history.state?history.state.position-t:-1)+e}const vl=new Map;function Qp(e,t){vl.set(e,t)}function zp(e){const t=vl.get(e);return vl.delete(e),t}let Zp=()=>location.protocol+"//"+location.host;function cu(e,t){const{pathname:n,search:r,hash:l}=t,s=e.indexOf("#");if(s>-1){let i=l.includes(e.slice(s))?e.slice(s).length:1,a=l.slice(i);return a[0]!=="/"&&(a="/"+a),Ai(a,"")}return Ai(n,e)+r+l}function eg(e,t,n,r){let l=[],s=[],o=null;const i=({state:d})=>{const g=cu(e,location),E=n.value,C=t.value;let A=0;if(d){if(n.value=g,t.value=d,o&&o===E){o=null;return}A=C?d.position-C.position:0}else r(g);l.forEach(w=>{w(n.value,E,{delta:A,type:hr.pop,direction:A?A>0?tr.forward:tr.back:tr.unknown})})};function a(){o=n.value}function f(d){l.push(d);const g=()=>{const E=l.indexOf(d);E>-1&&l.splice(E,1)};return s.push(g),g}function u(){const{history:d}=window;d.state&&d.replaceState(me({},d.state,{scroll:ys()}),"")}function c(){for(const d of s)d();s=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:f,destroy:c}}function Pi(e,t,n,r=!1,l=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:l?ys():null}}function tg(e){const{history:t,location:n}=window,r={value:cu(e,n)},l={value:t.state};l.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(a,f,u){const c=e.indexOf("#"),d=c>-1?(n.host&&document.querySelector("base")?e:e.slice(c))+a:Zp()+e+a;try{t[u?"replaceState":"pushState"](f,"",d),l.value=f}catch(g){console.error(g),n[u?"replace":"assign"](d)}}function o(a,f){const u=me({},t.state,Pi(l.value.back,a,l.value.forward,!0),f,{position:l.value.position});s(a,u,!0),r.value=a}function i(a,f){const u=me({},l.value,t.state,{forward:a,scroll:ys()});s(u.current,u,!0);const c=me({},Pi(r.value,a,null),{position:u.position+1},f);s(a,c,!1),r.value=a}return{location:r,state:l,push:i,replace:o}}function f_(e){e=Gp(e);const t=tg(e),n=eg(e,t.state,t.location,t.replace);function r(s,o=!0){o||n.pauseListeners(),history.go(s)}const l=me({location:"",base:e,go:r,createHref:Xp.bind(null,e)},t,n);return Object.defineProperty(l,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(l,"state",{enumerable:!0,get:()=>t.state.value}),l}function ng(e){return typeof e=="string"||e&&typeof e=="object"}function uu(e){return typeof e=="string"||typeof e=="symbol"}const fu=Symbol("");var ki;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ki||(ki={}));function Mn(e,t){return me(new Error,{type:e,[fu]:!0},t)}function St(e,t){return e instanceof Error&&fu in e&&(t==null||!!(e.type&t))}const Mi="[^/]+?",rg={sensitive:!1,strict:!1,start:!0,end:!0},sg=/[.+*?^${}()[\]/\\]/g;function lg(e,t){const n=me({},rg,t),r=[];let l=n.start?"^":"";const s=[];for(const f of e){const u=f.length?[]:[90];n.strict&&!f.length&&(l+="/");for(let c=0;ct.length?t.length===1&&t[0]===80?1:-1:0}function du(e,t){let n=0;const r=e.score,l=t.score;for(;n0&&t[t.length-1]<0}const ig={type:0,value:""},ag=/[a-zA-Z0-9_]/;function cg(e){if(!e)return[[]];if(e==="/")return[[ig]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${f}": ${g}`)}let n=0,r=n;const l=[];let s;function o(){s&&l.push(s),s=[]}let i=0,a,f="",u="";function c(){f&&(n===0?s.push({type:0,value:f}):n===1||n===2||n===3?(s.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:f,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),f="")}function d(){f+=a}for(;i{o(v)}:er}function o(c){if(uu(c)){const d=r.get(c);d&&(r.delete(c),n.splice(n.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=n.indexOf(c);d>-1&&(n.splice(d,1),c.record.name&&r.delete(c.record.name),c.children.forEach(o),c.alias.forEach(o))}}function i(){return n}function a(c){const d=mg(c,n);n.splice(d,0,c),c.record.name&&!$i(c)&&r.set(c.record.name,c)}function f(c,d){let g,E={},C,A;if("name"in c&&c.name){if(g=r.get(c.name),!g)throw Mn(1,{location:c});A=g.record.name,E=me(Di(d.params,g.keys.filter(v=>!v.optional).concat(g.parent?g.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),c.params&&Di(c.params,g.keys.map(v=>v.name))),C=g.stringify(E)}else if(c.path!=null)C=c.path,g=n.find(v=>v.re.test(C)),g&&(E=g.parse(C),A=g.record.name);else{if(g=d.name?r.get(d.name):n.find(v=>v.re.test(d.path)),!g)throw Mn(1,{location:c,currentLocation:d});A=g.record.name,E=me({},d.params,c.params),C=g.stringify(E)}const w=[];let N=g;for(;N;)w.unshift(N.record),N=N.parent;return{name:A,path:C,params:E,matched:w,meta:hg(w)}}e.forEach(c=>s(c));function u(){n.length=0,r.clear()}return{addRoute:s,resolve:f,removeRoute:o,clearRoutes:u,getRoutes:i,getRecordMatcher:l}}function Di(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function xi(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:dg(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 dg(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function $i(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function hg(e){return e.reduce((t,n)=>me(t,n.meta),{})}function Ui(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function mg(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;du(e,t[s])<0?r=s:n=s+1}const l=pg(e);return l&&(r=t.lastIndexOf(l,r-1)),r}function pg(e){let t=e;for(;t=t.parent;)if(hu(t)&&du(e,t)===0)return t}function hu({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function gg(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let l=0;ls&&_l(s)):[r&&_l(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function _g(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=pt(r)?r.map(l=>l==null?null:""+l):r==null?r:""+r)}return t}const vg=Symbol(""),Hi=Symbol(""),Ts=Symbol(""),ro=Symbol(""),bl=Symbol("");function Vn(){let e=[];function t(r){return e.push(r),()=>{const l=e.indexOf(r);l>-1&&e.splice(l,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function jt(e,t,n,r,l,s=o=>o()){const o=r&&(r.enterCallbacks[l]=r.enterCallbacks[l]||[]);return()=>new Promise((i,a)=>{const f=d=>{d===!1?a(Mn(4,{from:n,to:t})):d instanceof Error?a(d):ng(d)?a(Mn(2,{from:t,to:d})):(o&&r.enterCallbacks[l]===o&&typeof d=="function"&&o.push(d),i())},u=s(()=>e.call(r&&r.instances[l],t,n,f));let c=Promise.resolve(u);e.length<3&&(c=c.then(f)),c.catch(d=>a(d))})}function Vs(e,t,n,r,l=s=>s()){const s=[];for(const o of e)for(const i in o.components){let a=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(nu(a)){const u=(a.__vccOpts||a)[t];u&&s.push(jt(u,n,r,o,i,l))}else{let f=a();s.push(()=>f.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${i}" at "${o.path}"`);const c=Ip(u)?u.default:u;o.mods[i]=u,o.components[i]=c;const g=(c.__vccOpts||c)[t];return g&&jt(g,n,r,o,i,l)()}))}}return s}function Vi(e){const t=ze(Ts),n=ze(ro),r=ce(()=>{const a=on(e.to);return t.resolve(a)}),l=ce(()=>{const{matched:a}=r.value,{length:f}=a,u=a[f-1],c=n.matched;if(!u||!c.length)return-1;const d=c.findIndex(kn.bind(null,u));if(d>-1)return d;const g=ji(a[f-2]);return f>1&&ji(u)===g&&c[c.length-1].path!==g?c.findIndex(kn.bind(null,a[f-2])):d}),s=ce(()=>l.value>-1&&Tg(n.params,r.value.params)),o=ce(()=>l.value>-1&&l.value===n.matched.length-1&&au(n.params,r.value.params));function i(a={}){return yg(a)?t[on(e.replace)?"replace":"push"](on(e.to)).catch(er):Promise.resolve()}return{route:r,href:ce(()=>r.value.href),isActive:s,isExactActive:o,navigate:i}}const bg=Dn({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:Vi,setup(e,{slots:t}){const n=gr(Vi(e)),{options:r}=ze(Ts),l=ce(()=>({[Bi(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Bi(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:Cr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:l.value},s)}}}),Eg=bg;function yg(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Tg(e,t){for(const n in t){const r=t[n],l=e[n];if(typeof r=="string"){if(r!==l)return!1}else if(!pt(l)||l.length!==r.length||r.some((s,o)=>s!==l[o]))return!1}return!0}function ji(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Bi=(e,t,n)=>e??t??n,Cg=Dn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=ze(bl),l=ce(()=>e.route||r.value),s=ze(Hi,0),o=ce(()=>{let f=on(s);const{matched:u}=l.value;let c;for(;(c=u[f])&&!c.components;)f++;return f}),i=ce(()=>l.value.matched[o.value]);Jn(Hi,ce(()=>o.value+1)),Jn(vg,i),Jn(bl,l);const a=ue();return Ue(()=>[a.value,i.value,e.name],([f,u,c],[d,g,E])=>{u&&(u.instances[c]=f,g&&g!==u&&f&&f===d&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),f&&u&&(!g||!kn(u,g)||!d)&&(u.enterCallbacks[c]||[]).forEach(C=>C(f))},{flush:"post"}),()=>{const f=l.value,u=e.name,c=i.value,d=c&&c.components[u];if(!d)return Ki(n.default,{Component:d,route:f});const g=c.props[u],E=g?g===!0?f.params:typeof g=="function"?g(f):g:null,A=Cr(d,me({},E,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(c.instances[u]=null)},ref:a}));return Ki(n.default,{Component:A,route:f})||A}}});function Ki(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Lg=Cg;function d_(e){const t=fg(e.routes,e),n=e.parseQuery||gg,r=e.stringifyQuery||Wi,l=e.history,s=Vn(),o=Vn(),i=Vn(),a=cs(xt);let f=xt;En&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ws.bind(null,x=>""+x),c=Ws.bind(null,Up),d=Ws.bind(null,dr);function g(x,Y){let B,X;return uu(x)?(B=t.getRecordMatcher(x),X=Y):X=x,t.addRoute(X,B)}function E(x){const Y=t.getRecordMatcher(x);Y&&t.removeRoute(Y)}function C(){return t.getRoutes().map(x=>x.record)}function A(x){return!!t.getRecordMatcher(x)}function w(x,Y){if(Y=me({},Y||a.value),typeof x=="string"){const h=Hs(n,x,Y.path),S=t.resolve({path:h.path},Y),$=l.createHref(h.fullPath);return me(h,S,{params:d(S.params),hash:dr(h.hash),redirectedFrom:void 0,href:$})}let B;if(x.path!=null)B=me({},x,{path:Hs(n,x.path,Y.path).path});else{const h=me({},x.params);for(const S in h)h[S]==null&&delete h[S];B=me({},x,{params:c(h)}),Y.params=c(Y.params)}const X=t.resolve(B,Y),oe=x.hash||"";X.params=u(d(X.params));const he=Vp(r,me({},x,{hash:Dp(oe),path:X.path})),_=l.createHref(he);return me({fullPath:he,hash:oe,query:r===Wi?_g(x.query):x.query||{}},X,{redirectedFrom:void 0,href:_})}function N(x){return typeof x=="string"?Hs(n,x,a.value.path):me({},x)}function v(x,Y){if(f!==x)return Mn(8,{from:Y,to:x})}function b(x){return R(x)}function T(x){return b(me(N(x),{replace:!0}))}function L(x){const Y=x.matched[x.matched.length-1];if(Y&&Y.redirect){const{redirect:B}=Y;let X=typeof B=="function"?B(x):B;return typeof X=="string"&&(X=X.includes("?")||X.includes("#")?X=N(X):{path:X},X.params={}),me({query:x.query,hash:x.hash,params:X.path!=null?{}:x.params},X)}}function R(x,Y){const B=f=w(x),X=a.value,oe=x.state,he=x.force,_=x.replace===!0,h=L(B);if(h)return R(me(N(h),{state:typeof h=="object"?me({},oe,h.state):oe,force:he,replace:_}),Y||B);const S=B;S.redirectedFrom=Y;let $;return!he&&jp(r,X,B)&&($=Mn(16,{to:S,from:X}),Ce(X,X,!0,!1)),($?Promise.resolve($):M(S,X)).catch(F=>St(F)?St(F,2)?F:qe(F):le(F,S,X)).then(F=>{if(F){if(St(F,2))return R(me({replace:_},N(F.to),{state:typeof F.to=="object"?me({},oe,F.to.state):oe,force:he}),Y||S)}else F=D(S,X,!0,_,oe);return j(S,X,F),F})}function P(x,Y){const B=v(x,Y);return B?Promise.reject(B):Promise.resolve()}function I(x){const Y=et.values().next().value;return Y&&typeof Y.runWithContext=="function"?Y.runWithContext(x):x()}function M(x,Y){let B;const[X,oe,he]=Sg(x,Y);B=Vs(X.reverse(),"beforeRouteLeave",x,Y);for(const h of X)h.leaveGuards.forEach(S=>{B.push(jt(S,x,Y))});const _=P.bind(null,x,Y);return B.push(_),ke(B).then(()=>{B=[];for(const h of s.list())B.push(jt(h,x,Y));return B.push(_),ke(B)}).then(()=>{B=Vs(oe,"beforeRouteUpdate",x,Y);for(const h of oe)h.updateGuards.forEach(S=>{B.push(jt(S,x,Y))});return B.push(_),ke(B)}).then(()=>{B=[];for(const h of he)if(h.beforeEnter)if(pt(h.beforeEnter))for(const S of h.beforeEnter)B.push(jt(S,x,Y));else B.push(jt(h.beforeEnter,x,Y));return B.push(_),ke(B)}).then(()=>(x.matched.forEach(h=>h.enterCallbacks={}),B=Vs(he,"beforeRouteEnter",x,Y,I),B.push(_),ke(B))).then(()=>{B=[];for(const h of o.list())B.push(jt(h,x,Y));return B.push(_),ke(B)}).catch(h=>St(h,8)?h:Promise.reject(h))}function j(x,Y,B){i.list().forEach(X=>I(()=>X(x,Y,B)))}function D(x,Y,B,X,oe){const he=v(x,Y);if(he)return he;const _=Y===xt,h=En?history.state:{};B&&(X||_?l.replace(x.fullPath,me({scroll:_&&h&&h.scroll},oe)):l.push(x.fullPath,oe)),a.value=x,Ce(x,Y,B,_),qe()}let q;function ae(){q||(q=l.listen((x,Y,B)=>{if(!gt.listening)return;const X=w(x),oe=L(X);if(oe){R(me(oe,{replace:!0}),X).catch(er);return}f=X;const he=a.value;En&&Qp(Ri(he.fullPath,B.delta),ys()),M(X,he).catch(_=>St(_,12)?_:St(_,2)?(R(_.to,X).then(h=>{St(h,20)&&!B.delta&&B.type===hr.pop&&l.go(-1,!1)}).catch(er),Promise.reject()):(B.delta&&l.go(-B.delta,!1),le(_,X,he))).then(_=>{_=_||D(X,he,!1),_&&(B.delta&&!St(_,8)?l.go(-B.delta,!1):B.type===hr.pop&&St(_,20)&&l.go(-1,!1)),j(X,he,_)}).catch(er)}))}let Te=Vn(),re=Vn(),Z;function le(x,Y,B){qe(x);const X=re.list();return X.length?X.forEach(oe=>oe(x,Y,B)):console.error(x),Promise.reject(x)}function je(){return Z&&a.value!==xt?Promise.resolve():new Promise((x,Y)=>{Te.add([x,Y])})}function qe(x){return Z||(Z=!x,ae(),Te.list().forEach(([Y,B])=>x?B(x):Y()),Te.reset()),x}function Ce(x,Y,B,X){const{scrollBehavior:oe}=e;if(!En||!oe)return Promise.resolve();const he=!B&&zp(Ri(x.fullPath,0))||(X||!B)&&history.state&&history.state.scroll||null;return vr().then(()=>oe(x,Y,he)).then(_=>_&&Jp(_)).catch(_=>le(_,x,Y))}const Le=x=>l.go(x);let nt;const et=new Set,gt={currentRoute:a,listening:!0,addRoute:g,removeRoute:E,clearRoutes:t.clearRoutes,hasRoute:A,getRoutes:C,resolve:w,options:e,push:b,replace:T,go:Le,back:()=>Le(-1),forward:()=>Le(1),beforeEach:s.add,beforeResolve:o.add,afterEach:i.add,onError:re.add,isReady:je,install(x){const Y=this;x.component("RouterLink",Eg),x.component("RouterView",Lg),x.config.globalProperties.$router=Y,Object.defineProperty(x.config.globalProperties,"$route",{enumerable:!0,get:()=>on(a)}),En&&!nt&&a.value===xt&&(nt=!0,b(l.location).catch(oe=>{}));const B={};for(const oe in xt)Object.defineProperty(B,oe,{get:()=>a.value[oe],enumerable:!0});x.provide(Ts,Y),x.provide(ro,va(B)),x.provide(bl,a);const X=x.unmount;et.add(x),x.unmount=function(){et.delete(x),et.size<1&&(f=xt,q&&q(),q=null,a.value=xt,nt=!1,Z=!1),X()}}};function ke(x){return x.reduce((Y,B)=>Y.then(()=>I(B)),Promise.resolve())}return gt}function Sg(e,t){const n=[],r=[],l=[],s=Math.max(t.matched.length,e.matched.length);for(let o=0;okn(f,i))?r.push(i):n.push(i));const a=e.matched[o];a&&(t.matched.find(f=>kn(f,a))||l.push(a))}return[n,r,l]}function h_(){return ze(Ts)}function m_(e){return ze(ro)}export{o_ as $,Bg as A,Yg as B,De as C,$l as D,Ag as E,$e as F,hd as G,ve as H,ef as I,ie as J,$g as K,yf as L,Ll as M,ra as N,Gg as O,vf as P,Jg as Q,n_ as R,xg as S,Er as T,u_ as U,Zg as V,d_ as W,f_ as X,c_ as Y,a_ as Z,Ih as _,Ul as a,s_ as a0,zg as a1,Kr as a2,Wg as a3,rc as a4,Kg as a5,Hg as a6,e_ as a7,Pg as a8,el as a9,uf as aa,Qg as ab,h_ as ac,Ou as ad,Vg as ae,ss as af,rs as ag,Dg as ah,kg as ai,Fg as aj,i_ as ak,md as al,r_ as am,m_ as an,to as ao,Xg as ap,Ug as aq,Ig as ar,dd as as,wg as at,Rg as au,l_ as av,t_ as aw,ds as b,ce as c,Dn as d,ze as e,ue as f,Ze as g,qf as h,Nn as i,fs as j,Ie as k,Cr as l,Ng as m,Mg as n,hn as o,Jn as p,jg as q,gr as r,cs as s,Og as t,on as u,Pt as v,Ue as w,qg as x,vr as y,ya as z}; diff --git a/web/dist/assets/zh-CN-BDlPZngL.js b/web/dist/assets/zh-CN-BDlPZngL.js new file mode 100644 index 0000000..a910ad9 --- /dev/null +++ b/web/dist/assets/zh-CN-BDlPZngL.js @@ -0,0 +1 @@ +import{_ as o,P as l}from"./antd-vtmm7CAy.js";import"./vue-Dl1fzmsf.js";const m={"navBar.lang":"语言","layout.user.link.help":"帮助","layout.user.link.privacy":"隐私","layout.user.link.terms":"条款","app.copyright.produced":"蚂蚁集团体验技术部出品","app.preview.down.block":"下载此页面到本地项目","app.welcome.link.fetch-blocks":"获取全部区块","app.welcome.link.block-list":"基于 block 开发,快速构建标准页面","app.setting.pagestyle":"整体风格设置","app.setting.pagestyle.dark":"暗色菜单风格","app.setting.pagestyle.light":"亮色菜单风格","app.setting.pagestyle.inverted":"反转色菜单色风格","app.setting.pagestyle.mode":"导航模式","app.setting.pagestyle.top":"顶部布局模式","app.setting.pagestyle.side":"侧边栏布局模式","app.setting.pagestyle.mix":"混合布局模式","app.setting.content-width.contentWidth":"内容区域宽度","app.setting.content-width.fixed":"定宽","app.setting.content-width.fluid":"流式","app.setting.content-width.fixedHeader":"固定Header","app.setting.content-width.fixSiderbar":"固定侧边栏菜单","app.setting.content-width.splitMenus":"自动分割菜单","app.setting.content-width.keepAlive":"缓存功能","app.setting.content-width.accordionMode":"菜单手风琴模式","app.setting.content-width.leftCollapsed":"侧边菜单折叠左侧","app.setting.content-width.compactAlgorithm":"紧凑模式","app.setting.content-area.title":"内容区域","app.setting.content-area.header":"顶栏","app.setting.content-area.footer":"页脚","app.setting.content-area.menu":"菜单","app.setting.content-area.watermark":"水印","app.setting.content-area.menuHeader":"菜单头","app.setting.content-area.multiTab":"多页签","app.setting.content-area.multiTabFixed":"固定多页签","app.setting.content-area.animationName":"动画","app.setting.themecolor":"主题色","app.setting.themecolor.dust":"薄暮","app.setting.themecolor.volcano":"火山","app.setting.themecolor.sunset":"日暮","app.setting.themecolor.cyan":"明青","app.setting.themecolor.green":"极光绿","app.setting.themecolor.daybreak":"拂晓","app.setting.themecolor.techBlue":"科技(默认)","app.setting.themecolor.geekblue":"极客蓝","app.setting.themecolor.purple":"酱紫","app.setting.navigationmode":"导航模式","app.setting.sidemenu":"侧边菜单布局","app.setting.topmenu":"顶部菜单布局","app.setting.fixedheader":"固定 Header","app.setting.fixedsidebar":"固定侧边菜单","app.setting.fixedsidebar.hint":"侧边菜单布局时可配置","app.setting.hideheader":"下滑时隐藏 Header","app.setting.hideheader.hint":"固定 Header 时可配置","app.setting.othersettings":"其他设置","app.setting.weakmode":"色弱模式","app.setting.graymode":"灰色模式","app.setting.copy":"拷贝设置","app.setting.copyinfo":"拷贝成功,请到 config/default-settings.js 中替换默认配置","app.setting.production.hint":"配置栏只在开发环境用于预览,生产环境不会展现,请拷贝后手动修改配置文件","app.multiTab.title":"多页签","app.multiTab.closeCurrent":"关闭当前","app.multiTab.closeOther":"关闭其他","app.multiTab.closeAll":"关闭全部","app.multiTab.refresh":"刷新当前","app.multiTab.closeRight":"关闭右侧","app.multiTab.closeLeft":"关闭左侧","menu.welcome":"欢迎","menu.more-blocks":"更多区块","menu.home":"首页","menu.admin":"管理页","menu.admin.sub-page":"二级管理页","menu.login":"登录","menu.register":"注册","menu.register-result":"注册结果","menu.dashboard":"仪表盘","menu.dashboard.analysis":"分析页","menu.dashboard.monitor":"监控页","menu.dashboard.workplace":"工作台","menu.exception.403":"403","menu.exception.404":"404","menu.exception.500":"500","menu.form":"表单页","menu.form.basic-form":"基础表单","menu.form.step-form":"分步表单","menu.form.step-form.info":"分步表单(填写转账信息)","menu.form.step-form.confirm":"分步表单(确认转账信息)","menu.form.step-form.result":"分步表单(完成)","menu.form.advanced-form":"高级表单","menu.link":"链接","menu.link.iframe":"AntDesign","menu.link.antdv":"AntDesignVue","menu.link.external":"跳转百度","menu.menu":"菜单","menu.menu.menu1":"菜单1","menu.menu.menu2":"菜单2","menu.menu.menu3":"菜单1-1","menu.menu3.menu1":"菜单1-1-1","menu.menu3.menu2":"菜单1-1-2","menu.menu.menu4":"菜单2-1","menu.menu4.menu1":"菜单2-1-1","menu.menu4.menu2":"菜单2-1-2","menu.access":"权限模块","menu.access.common":"通用权限","menu.access.roles":"角色管理","menu.access.menus":"菜单管理","menu.access.api":"接口管理","menu.access.user":"普通用户","menu.access.admin":"管理账号","menu.list":"列表页","menu.list.table-list":"查询表格","menu.list.basic-list":"标准列表","menu.list.consult-table":"查询表格","menu.list.crud-table":"增删改查表格","menu.list.card-list":"卡片列表","menu.list.search-list":"搜索列表","menu.list.search-list.articles":"搜索列表(文章)","menu.list.search-list.projects":"搜索列表(项目)","menu.list.search-list.applications":"搜索列表(应用)","menu.profile":"详情页","menu.profile.basic":"基础详情页","menu.profile.advanced":"高级详情页","menu.result":"结果页","menu.result.success":"成功页","menu.result.fail":"失败页","menu.exception":"异常页","menu.exception.not-permission":"403","menu.exception.not-find":"404","menu.exception.server-error":"500","menu.exception.trigger":"触发错误","menu.account":"个人页","menu.account.center":"个人中心","menu.account.settings":"个人设置","menu.account.trigger":"触发报错","menu.account.logout":"退出登录"},p=Object.freeze(Object.defineProperty({__proto__:null,default:m},Symbol.toStringTag,{value:"Module"})),u={"result.success.title":"提交成功","result.success.description":"提交结果页用于反馈一系列操作任务的处理结果, 如果仅是简单操作,使用 Message 全局提示反馈即可。 本文字区域可以展示简单的补充说明,如果有类似展示 “单据”的需求,下面这个灰色区域可以呈现比较复杂的内容。","result.success.operate-title":"项目名称","result.success.operate-id":"项目 ID","result.success.principal":"负责人","result.success.operate-time":"生效时间","result.success.step1-title":"创建项目","result.success.step1-operator":"Kirk Lin","result.success.step2-title":"部门初审","result.success.step2-operator":"清风不问烟雨","result.success.step2-extra":"催一下","result.success.step3-title":"财务复核","result.success.step4-title":"完成","result.success.btn-return":"返回列表","result.success.btn-project":"查看项目","result.success.btn-print":"打印","result.fail.error.title":"提交失败","result.fail.error.description":"请核对并修改以下信息后,再重新提交。","result.fail.error.hint-title":"您提交的内容有如下错误:","result.fail.error.hint-text1":"您的账户已被冻结","result.fail.error.hint-btn1":"立即解冻","result.fail.error.hint-text2":"您的账户还不具备申请资格","result.fail.error.hint-btn2":"立即升级","result.fail.error.btn-text":"返回修改","profile.basic.orderDetailTitle":"订单详情","profile.basic.orderNumber":"订单号","profile.basic.orderStatus":"订单状态","profile.basic.orderStatusValue":"已完成","profile.basic.transactionNumber":"交易号","profile.basic.subOrderNumber":"子订单号","profile.basic.customerInfoTitle":"客户信息","profile.basic.customerName":"客户姓名","profile.basic.contactNumber":"联系电话","profile.basic.deliveryMethod":"送货方式","profile.basic.deliveryAddress":"送货地址","profile.basic.remarks":"备注信息","profile.basic.productInfoTitle":"商品信息","profile.basic.productName":"商品名称","profile.basic.unitPrice":"单价","profile.basic.quantity":"数量","profile.basic.subtotal":"小计","profile.basic.paymentInfoTitle":"支付信息","profile.basic.paymentMethod":"支付方式","profile.basic.paymentTime":"支付时间","profile.basic.paymentAmount":"支付金额","profile.basic.paymentStatus":"支付状态","profile.advanced.creater":"创建人","profile.advanced.create-time":"创建时间","profile.advanced.create-effective-date":"生效日期","profile.advanced.create-product":"产品","profile.advanced.create-id":"产品单据","profile.advanced.create-info":"备注信息","profile.advanced.create-status":"状态","profile.advanced.create-status-finshed":"已完成","profile.advanced.create-price":"金额","profile.advanced.create-do1":"操作一","profile.advanced.create-do2":"操作二","profile.advanced.create-do3":"操作三","profile.advanced.tab1":"详细","profile.advanced.tab2":"规则","profile.advanced.card":"客户卡号","profile.advanced.id":"身份证","profile.advanced.group":"信息组","profile.advanced.group-data":"数据ID","profile.advanced.group-data-update":"本数据更新时间","profile.advanced.call-log":"联系记录","profile.advanced.call-spent":"联系时长","profile.advanced.call-date":"联系日期","profile.advanced.log":"日志一","profile.advanced.log1":"日志二","profile.advanced.log2":"日志三","profile.advanced.log-type":"操作类型","profile.advanced.log-owner":"操作人","profile.advanced.log-result":"结果","profile.advanced.log-time":"开始时间","profile.advanced.log-info":"备注","profile.advanced.remove":"删除","profile.advanced.step-title":"流程进度","profile.advanced.step-notice":"催一下","form.basic-form.basic.title":"基础表单","form.basic-form.basic.description":"表单页用于向用户收集或验证信息,基础表单常见于数据项较少的表单场景。","form.basic-form.title.label":"标题","form.basic-form.title.placeholder":"给目标起个名字","form.basic-form.title.required":"请输入标题","form.basic-form.date.label":"起止日期","form.basic-form.placeholder.start":"开始日期","form.basic-form.placeholder.end":"结束日期","form.basic-form.date.required":"请选择起止日期","form.basic-form.goal.label":"目标描述","form.basic-form.goal.placeholder":"请输入你的阶段性工作目标","form.basic-form.goal.required":"请输入目标描述","form.basic-form.standard.label":"衡量标准","form.basic-form.standard.placeholder":"请输入衡量标准","form.basic-form.standard.required":"请输入衡量标准","form.basic-form.client.label":"客户","form.basic-form.client.required":"请描述你服务的客户","form.basic-form.label.tooltip":"目标的服务对象","form.basic-form.client.placeholder":"请描述你服务的客户,内部客户直接 {'@'}姓名/工号","form.basic-form.invites.label":"邀评人","form.basic-form.invites.placeholder":"请直接 {'@'}姓名/工号,最多可邀请 5 人","form.basic-form.weight.label":"权重","form.basic-form.weight.placeholder":"请输入","form.basic-form.public.label":"目标公开","form.basic-form.label.help":"客户、邀评人默认被分享","form.basic-form.radio.public":"公开","form.basic-form.radio.partially-public":"部分公开","form.basic-form.radio.private":"不公开","form.basic-form.publicUsers.placeholder":"公开给","form.basic-form.option.A":"同事一","form.basic-form.option.B":"同事二","form.basic-form.option.C":"同事三","form.basic-form.email.required":"请输入邮箱地址!","form.basic-form.email.wrong-format":"邮箱地址格式错误!","form.basic-form.userName.required":"请输入用户名!","form.basic-form.password.required":"请输入密码!","form.basic-form.password.twice":"两次输入的密码不匹配!","form.basic-form.strength.msg":"请至少输入 6 个字符。请不要使用容易被猜到的密码。","form.basic-form.strength.strong":"强度:强","form.basic-form.strength.medium":"强度:中","form.basic-form.strength.short":"强度:太短","form.basic-form.confirm-password.required":"请确认密码!","form.basic-form.phone-number.required":"请输入手机号!","form.basic-form.phone-number.wrong-format":"手机号格式错误!","form.basic-form.verification-code.required":"请输入验证码!","form.basic-form.form.get-captcha":"获取验证码","form.basic-form.captcha.second":"秒","form.basic-form.form.optional":"(选填)","form.basic-form.form.submit":"提交","form.basic-form.form.save":"保存","form.basic-form.email.placeholder":"邮箱","form.basic-form.password.placeholder":"至少6位密码,区分大小写","form.basic-form.confirm-password.placeholder":"确认密码","form.basic-form.phone-number.placeholder":"手机号","form.basic-form.verification-code.placeholder":"验证码","account.center.tags":"标签","account.cneter.team":"团队","account.center.article":"文章","account.center.application":"应用","account.center.project":"项目","account.center.posted":"发布在","account.center.activity-user":"活跃用户","account.center.new-user":"新增用户","account.center.updated":"几分钟前更新","account.settings.basic-setting":"基本设置","account.settings.security-setting":"安全设置","account.settings.account-setting":"账号绑定","account.settings.message-setting":"新消息通知","account.settings.form-email":"邮箱","account.settings.form-name":"昵称","account.settings.form-region":"国家/地区","account.settings.form-address":"街道地址","account.settings.form-phoneNumber":"联系电话","account.settings.form-desc":"个人简介","account.settings.form-region-China":"中国","account.settings.form-input-plac":"请输入","account.settings.form-select-plac":"请选择","account.settings.form-rule-name":"请输入昵称","account.settings.form-rule-phoneNumber":"请输入联系电话","account.settings.form-rule-address":"请输入街道地址","account.settings.form-rule-region":"请选择","account.settings.form-rule-email":"请输入邮箱地址","account.settings.form-rule-desc":"请输入个人简介","account.settings.basic-avatar":"头像","account.settings.basic-avatar.upload":"上传头像","account.settings.form-submit":"提交","account.settings.security.account-password":"账户密码","account.settings.security.account-password-desc":"当前密码强度: 强","account.settings.security.phone":"密保手机","account.settings.security.phone-desc":"已绑定手机: 131****8888","account.settings.security.email":"备用邮箱","account.settings.security.email-desc":"已绑定邮箱: ant**.com","account.settings.security.MFA":"MFA 设备","account.settings.security.MFA-desc":"未绑定 MFA 设备","account.settings.modify":"修改","account.settings.security-problem":"密保问题","account.settings.security-problem-desc":"已设置","account.settings.account.taobao":"绑定淘宝","account.settings.account.alipay":"绑定支付宝","account.settings.account.dingding":"绑定钉钉","account.settings.account.not.bind":"当前尚未绑定","account.settings.account.bind":"绑定","account.settings.message.title1":"其他消息","account.settings.message.title2":"系统消息","account.settings.message.title3":"待办任务","account.settings.message.desc1":"其他用户的消息将以站内信的形式通知","account.settings.message.desc2":"系统消息将以站内信的形式通知","account.settings.message.desc3":"待办任务将以站内信的形式通知"},d=Object.freeze(Object.defineProperty({__proto__:null,default:u},Symbol.toStringTag,{value:"Module"})),f={"pages.layouts.userLayout.title":"N-Admin 是一个基于Ant Design Vue的通用中台管理系统","pages.login.accountLogin.tab":"账户密码登录","pages.login.accountLogin.errorMessage":"错误的用户名和密码","pages.login.failure":"登录失败,请重试!","pages.login.success":"登录成功!","pages.login.username.placeholder":"用户名: admin or user","pages.login.username.required":"用户名是必填项!","pages.login.password.placeholder":"密码: 123456","pages.login.password.required":"密码是必填项!","pages.login.phoneLogin.tab":"手机号登录","pages.login.phoneLogin.errorMessage":"验证码错误","pages.login.phoneNumber.placeholder":"请输入手机号!","pages.login.phoneNumber.required":"手机号是必填项!","pages.login.phoneNumber.invalid":"不合法的手机号!","pages.login.captcha.placeholder":"请输入验证码!","pages.login.captcha.required":"验证码是必填项!","pages.login.phoneLogin.getVerificationCode":"获取验证码","pages.getCaptchaSecondText":"秒后重新获取","pages.login.rememberMe":"自动登录","pages.login.forgotPassword":"忘记密码 ?","pages.login.submit":"登录","pages.login.loginWith":"其他登录方式 :","pages.login.registerAccount":"注册账户","pages.login.tips":"欢迎使用本系统"},g=Object.freeze(Object.defineProperty({__proto__:null,default:f},Symbol.toStringTag,{value:"Module"})),b={locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",yearFormat:"YYYY年",dayFormat:"D日",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH时mm分ss秒",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"},s={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]},t={lang:o({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},b),timePickerLocale:o({},s)};t.lang.ok="确定";const e="${label}不是一个有效的${type}",h={locale:"zh-cn",Pagination:l,DatePicker:t,TimePicker:s,Calendar:t,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckall:"全选",filterSearchPlaceholder:"在筛选项中搜索",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Tour:{Next:"下一步",Previous:"上一步",Finish:"结束导览"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开"},PageHeader:{back:"返回"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:e,method:e,array:e,object:e,number:e,date:e,boolean:e,integer:e,float:e,regexp:e,email:e,url:e,hex:e},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"},QRCode:{expired:"二维码已过期",refresh:"点击刷新",scanned:"已扫描"}},r=Object.assign({"/src/locales/lang/global/zh-CN.js":p,"/src/locales/lang/pages/zh-CN.js":d,"/src/pages/common/locales/zh-CN.js":g}),i={};var n;for(const c in r){const a=(n=r[c])==null?void 0:n.default;a&&Object.assign(i,a)}const x={...i,antd:h};export{x as default}; diff --git a/web/dist/index.html b/web/dist/index.html new file mode 100644 index 0000000..c6c7759 --- /dev/null +++ b/web/dist/index.html @@ -0,0 +1,125 @@ + + + + + + + + Antdv Pro + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + diff --git a/web/dist/loading.js b/web/dist/loading.js new file mode 100644 index 0000000..68b863b --- /dev/null +++ b/web/dist/loading.js @@ -0,0 +1,211 @@ +/** + * loading 占位 + * 解决首次加载时白屏的问题 + */ +(function () { + const div = document.createElement("div") + const body = document.querySelector("body"); + body.appendChild(div) + div.setAttribute("id","loading-app") + if (div && div.innerHTML === '') { + div.innerHTML = ` + + +
    +
    +
    + + + + + + +
    +
    +
    + 正在加载资源 +
    +
    + 初次加载资源可能需要较多时间 请耐心等待 +
    +
    + `; + } +})(); diff --git a/web/dist/logo.svg b/web/dist/logo.svg new file mode 100644 index 0000000..d3b66a6 --- /dev/null +++ b/web/dist/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web/embed.go b/web/embed.go new file mode 100644 index 0000000..8c462b7 --- /dev/null +++ b/web/embed.go @@ -0,0 +1,10 @@ +package web + +import "embed" + +//go:embed dist/* +var assets embed.FS + +func Assets() embed.FS { + return assets +} diff --git a/web/eslint.config.js b/web/eslint.config.js new file mode 100644 index 0000000..f53b304 --- /dev/null +++ b/web/eslint.config.js @@ -0,0 +1,17 @@ +import antfu from '@antfu/eslint-config' + +export default antfu({ + rules: { + 'no-console': 0, + 'style/quote-props': 0, + 'no-undef': 0, + 'unused-imports/no-unused-vars': 0, + }, + ignores: [ + 'types/auto-imports.d.ts', + 'types/components.d.ts', + 'public', + 'tsconfig.*.json', + 'tsconfig.json', + ], +}) diff --git a/web/index.html b/web/index.html new file mode 100644 index 0000000..f5550fe --- /dev/null +++ b/web/index.html @@ -0,0 +1,22 @@ + + + + + + + Antdv Pro + + + +
    + + + + diff --git a/web/mist.config.ts b/web/mist.config.ts new file mode 100644 index 0000000..c787983 --- /dev/null +++ b/web/mist.config.ts @@ -0,0 +1,6 @@ +import { defineConfig } from '@mistjs/cli' + +export default defineConfig({ + // 关闭nitro服务 + // nitro: false, +}) diff --git a/web/package.json b/web/package.json new file mode 100644 index 0000000..eeb42b1 --- /dev/null +++ b/web/package.json @@ -0,0 +1,89 @@ +{ + "name": "n-admin", + "type": "module", + "engines": { + "node": ">=18.15.0" + }, + "scripts": { + "dev": "mist --host", + "build": "vue-tsc && mist build", + "clear:vercel": "rm -rf ./vercel.json", + "build:vercel": "run-s clear:vercel build:nitro", + "build:nitro": "mist build nitro", + "start:nirto": "node .output/server/index.mjs", + "preview": "mist preview", + "lint": "eslint src --fix", + "typecheck": "vue-tsc --noEmit", + "bump:patch": "changelogen --bump --output CHANGELOG.md --release", + "bump:minor": "changelogen --bump --output CHANGELOG.md --release --minor", + "bump:major": "changelogen --bump --output CHANGELOG.md --release --major", + "prepare": "husky", + "dir-tree": "esno ./scripts/dir-tree", + "gen:uno": "esno ./scripts/gen-unocss" + }, + "dependencies": { + "@ant-design/icons-vue": "^7.0.1", + "@antv/g2plot": "^2.4.32", + "@antv/l7": "^2.22.1", + "@ctrl/tinycolor": "^4.1.0", + "@v-c/utils": "^0.0.26", + "@vueuse/core": "^10.11.1", + "ant-design-vue": "^4.2.6", + "axios": "^1.7.7", + "dayjs": "^1.11.13", + "lodash-es": "^4.17.21", + "mitt": "^3.0.1", + "pinia": "^2.2.2", + "vue": "^3.5.8", + "vue-i18n": "^9.14.0", + "vue-router": "^4.4.5" + }, + "devDependencies": { + "@antfu/eslint-config": "^2.27.3", + "@commitlint/cli": "^18.6.1", + "@commitlint/config-conventional": "^18.6.3", + "@mistjs/cli": "0.0.1-beta.9", + "@mistjs/vite-plugin-preload": "^0.0.1", + "@types/fs-extra": "^11.0.4", + "@types/lodash": "^4.17.7", + "@types/lodash-es": "^4.17.12", + "@types/node": "^20.16.5", + "@types/treeify": "^1.0.3", + "@vitejs/plugin-vue": "^5.1.4", + "@vitejs/plugin-vue-jsx": "^3.1.0", + "@vue/test-utils": "^2.4.6", + "antdv-component-resolver": "^1.0.7", + "antdv-style": "0.0.1-beta.2", + "changelogen": "^0.5.7", + "cross-env": "^7.0.3", + "directory-tree": "^3.5.2", + "esbuild": "^0.20.2", + "eslint": "^8.57.1", + "esno": "^0.17.0", + "execa": "^8.0.1", + "fs-extra": "^11.2.0", + "husky": "^9.1.6", + "jsdom": "^22.1.0", + "less": "^4.2.0", + "lint-staged": "^14.0.1", + "lodash": "^4.17.21", + "nitropack": "^2.9.7", + "npm-run-all": "^4.1.5", + "picocolors": "^1.1.0", + "treeify": "^1.1.0", + "ts-node": "^10.9.2", + "typescript": "~5.5.2", + "unocss": "^0.57.7", + "unocss-preset-chinese": "^0.3.3", + "unocss-preset-ease": "^0.0.3", + "unplugin-auto-import": "^0.16.7", + "unplugin-config": "^0.1.5", + "unplugin-vue-components": "^0.26.0", + "vite": "^5.4.7", + "vitest": "^0.34.6", + "vue-tsc": "^2.1.6" + }, + "lint-staged": { + "**/*.{vue,ts,js,jsx,tsx}": "eslint src --fix" + } +} diff --git a/web/plugins/constants.ts b/web/plugins/constants.ts new file mode 100644 index 0000000..220cb6b --- /dev/null +++ b/web/plugins/constants.ts @@ -0,0 +1,5 @@ +// This constant defines the name of the configuration file that will be used in the production environment +export const GLOB_CONFIG_FILE_NAME = '_app.config.js' + +// This constant sets the output directory for the Vite package +export const OUTPUT_DIR = 'dist' diff --git a/web/plugins/index.ts b/web/plugins/index.ts new file mode 100644 index 0000000..f089bb9 --- /dev/null +++ b/web/plugins/index.ts @@ -0,0 +1,50 @@ +import type { PluginOption } from 'vite' +import vue from '@vitejs/plugin-vue' +import vueJsx from '@vitejs/plugin-vue-jsx' +import AutoImport from 'unplugin-auto-import/vite' +import GenerateConfig from 'unplugin-config/vite' +import Components from 'unplugin-vue-components/vite' +import VitePluginPreloadAll from '@mistjs/vite-plugin-preload' +import Unocss from 'unocss/vite' +import AntdvResolver from 'antdv-component-resolver' +import { GLOB_CONFIG_FILE_NAME, OUTPUT_DIR } from './constants' +import { viteBuildInfo } from './vite-build-info' + +export function createVitePlugins(env: Record) { + const vitePluginList: (PluginOption | PluginOption[])[] = [ + vue(), + vueJsx(), + VitePluginPreloadAll(), + AutoImport({ + imports: [ + 'vue', + 'vue-router', + 'vue-i18n', + '@vueuse/core', + 'pinia', + ], + dts: 'types/auto-imports.d.ts', + dirs: ['src/stores', 'src/composables'], + }), + Components({ + resolvers: [AntdvResolver()], + dts: 'types/components.d.ts', + dirs: ['src/components'], + }), + // https://github.com/kirklin/unplugin-config + GenerateConfig({ + appName: env.VITE_GLOB_APP_TITLE, + configFile: { + generate: true, + fileName: GLOB_CONFIG_FILE_NAME, + outputDir: OUTPUT_DIR, + }, + envVariables: { + prefix: 'VITE_GLOB_', + }, + }), + Unocss(), + viteBuildInfo(env.VITE_APP_NAME), + ] + return vitePluginList +} diff --git a/web/plugins/vite-build-info.ts b/web/plugins/vite-build-info.ts new file mode 100644 index 0000000..3285db6 --- /dev/null +++ b/web/plugins/vite-build-info.ts @@ -0,0 +1,93 @@ +import { readdir, stat } from 'node:fs' +import type { Plugin, ResolvedConfig } from 'vite' +import dayjs from 'dayjs' +import type { Dayjs } from 'dayjs' +import duration from 'dayjs/plugin/duration' +import pkg from 'picocolors' + +const { green, blue, bold } = pkg +dayjs.extend(duration) + +const fileListTotal: number[] = [] + +function recursiveDirectory(folder: string, callback: Function): void { + readdir(folder, (err, files: string[]) => { + if (err) + throw err + let count = 0 + const checkEnd = () => { + ++count === files.length && callback() + } + files.forEach((item: string) => { + stat(`${folder}/${item}`, async (err, stats) => { + if (err) + throw err + if (stats.isFile()) { + fileListTotal.push(stats.size) + checkEnd() + } + else if (stats.isDirectory()) { + recursiveDirectory(`${folder}/${item}/`, checkEnd) + } + }) + }) + files.length === 0 && callback() + }) +} + +function sum(arr: number[]) { + return arr.reduce((t: number, c: number) => { + return t + c + }, 0) +} +function formatBytes(a: number, b?: number): string { + if (a === 0) + return '0 Bytes' + const c = 1024 + const d = b || 2 + const e = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'] + const f = Math.floor(Math.log(a) / Math.log(c)) + return `${Number.parseFloat((a / c ** f).toFixed(d))} ${e[f]}` +} + +export function viteBuildInfo(name: string): Plugin { + let config: ResolvedConfig + let startTime: Dayjs + let endTime: Dayjs + return { + name: 'vite:buildInfo', + configResolved(resolvedConfig) { + config = resolvedConfig + }, + buildStart() { + console.log( + bold( + green( + `👏欢迎使用${blue(`[${name}]`)},现在正全力为您${config.command === 'build' ? '打包' : '编译' + }`, + ), + ), + ) + if (config.command === 'build') + startTime = dayjs(new Date()) + }, + closeBundle() { + if (config.command === 'build') { + endTime = dayjs(new Date()) + recursiveDirectory(config.build.outDir, () => { + console.log( + bold( + green( + `恭喜打包完成🎉(总用时${dayjs + .duration(endTime.diff(startTime)) + .format('mm分ss秒')},打包后的大小为${formatBytes( + sum(fileListTotal), + )})`, + ), + ), + ) + }) + } + }, + } +} diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml new file mode 100644 index 0000000..e867525 --- /dev/null +++ b/web/pnpm-lock.yaml @@ -0,0 +1,12373 @@ +lockfileVersion: '9.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +importers: + + .: + dependencies: + '@ant-design/icons-vue': + specifier: ^7.0.1 + version: 7.0.1(vue@3.5.8(typescript@5.5.4)) + '@antv/g2plot': + specifier: ^2.4.32 + version: 2.4.32 + '@antv/l7': + specifier: ^2.22.1 + version: 2.22.1 + '@ctrl/tinycolor': + specifier: ^4.1.0 + version: 4.1.0 + '@v-c/utils': + specifier: ^0.0.26 + version: 0.0.26(typescript@5.5.4) + '@vueuse/core': + specifier: ^10.11.1 + version: 10.11.1(vue@3.5.8(typescript@5.5.4)) + ant-design-vue: + specifier: ^4.2.6 + version: 4.2.6(vue@3.5.8(typescript@5.5.4)) + axios: + specifier: ^1.7.7 + version: 1.7.7 + dayjs: + specifier: ^1.11.13 + version: 1.11.13 + lodash-es: + specifier: ^4.17.21 + version: 4.17.21 + mitt: + specifier: ^3.0.1 + version: 3.0.1 + pinia: + specifier: ^2.2.2 + version: 2.2.2(typescript@5.5.4)(vue@3.5.8(typescript@5.5.4)) + vue: + specifier: ^3.5.8 + version: 3.5.8(typescript@5.5.4) + vue-i18n: + specifier: ^9.14.0 + version: 9.14.0(vue@3.5.8(typescript@5.5.4)) + vue-router: + specifier: ^4.4.5 + version: 4.4.5(vue@3.5.8(typescript@5.5.4)) + devDependencies: + '@antfu/eslint-config': + specifier: ^2.27.3 + version: 2.27.3(@typescript-eslint/utils@8.6.0(eslint@8.57.1)(typescript@5.5.4))(@vue/compiler-sfc@3.5.8)(eslint@8.57.1)(typescript@5.5.4)(vitest@0.34.6(jsdom@22.1.0)(less@4.2.0)(terser@5.33.0)) + '@commitlint/cli': + specifier: ^18.6.1 + version: 18.6.1(@types/node@20.16.5)(typescript@5.5.4) + '@commitlint/config-conventional': + specifier: ^18.6.3 + version: 18.6.3 + '@mistjs/cli': + specifier: 0.0.1-beta.9 + version: 0.0.1-beta.9(vite@5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0)) + '@mistjs/vite-plugin-preload': + specifier: ^0.0.1 + version: 0.0.1(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0)) + '@types/fs-extra': + specifier: ^11.0.4 + version: 11.0.4 + '@types/lodash': + specifier: ^4.17.7 + version: 4.17.7 + '@types/lodash-es': + specifier: ^4.17.12 + version: 4.17.12 + '@types/node': + specifier: ^20.16.5 + version: 20.16.5 + '@types/treeify': + specifier: ^1.0.3 + version: 1.0.3 + '@vitejs/plugin-vue': + specifier: ^5.1.4 + version: 5.1.4(vite@5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0))(vue@3.5.8(typescript@5.5.4)) + '@vitejs/plugin-vue-jsx': + specifier: ^3.1.0 + version: 3.1.0(vite@5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0))(vue@3.5.8(typescript@5.5.4)) + '@vue/test-utils': + specifier: ^2.4.6 + version: 2.4.6 + antdv-component-resolver: + specifier: ^1.0.7 + version: 1.0.7(unplugin-vue-components@0.26.0(@babel/parser@7.25.6)(rollup@4.22.4)(vue@3.5.8(typescript@5.5.4))(webpack-sources@3.2.3)) + antdv-style: + specifier: 0.0.1-beta.2 + version: 0.0.1-beta.2(vue@3.5.8(typescript@5.5.4)) + changelogen: + specifier: ^0.5.7 + version: 0.5.7 + cross-env: + specifier: ^7.0.3 + version: 7.0.3 + directory-tree: + specifier: ^3.5.2 + version: 3.5.2 + esbuild: + specifier: ^0.20.2 + version: 0.20.2 + eslint: + specifier: ^8.57.1 + version: 8.57.1 + esno: + specifier: ^0.17.0 + version: 0.17.0 + execa: + specifier: ^8.0.1 + version: 8.0.1 + fs-extra: + specifier: ^11.2.0 + version: 11.2.0 + husky: + specifier: ^9.1.6 + version: 9.1.6 + jsdom: + specifier: ^22.1.0 + version: 22.1.0 + less: + specifier: ^4.2.0 + version: 4.2.0 + lint-staged: + specifier: ^14.0.1 + version: 14.0.1 + lodash: + specifier: ^4.17.21 + version: 4.17.21 + nitropack: + specifier: ^2.9.7 + version: 2.9.7(webpack-sources@3.2.3) + npm-run-all: + specifier: ^4.1.5 + version: 4.1.5 + picocolors: + specifier: ^1.1.0 + version: 1.1.0 + treeify: + specifier: ^1.1.0 + version: 1.1.0 + ts-node: + specifier: ^10.9.2 + version: 10.9.2(@types/node@20.16.5)(typescript@5.5.4) + typescript: + specifier: ~5.5.2 + version: 5.5.4 + unocss: + specifier: ^0.57.7 + version: 0.57.7(postcss@8.4.47)(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0)) + unocss-preset-chinese: + specifier: ^0.3.3 + version: 0.3.3(unocss@0.57.7(postcss@8.4.47)(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0))) + unocss-preset-ease: + specifier: ^0.0.3 + version: 0.0.3(unocss@0.57.7(postcss@8.4.47)(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0))) + unplugin-auto-import: + specifier: ^0.16.7 + version: 0.16.7(@vueuse/core@10.11.1(vue@3.5.8(typescript@5.5.4)))(rollup@4.22.4)(webpack-sources@3.2.3) + unplugin-config: + specifier: ^0.1.5 + version: 0.1.5(esbuild@0.20.2)(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0))(webpack-sources@3.2.3) + unplugin-vue-components: + specifier: ^0.26.0 + version: 0.26.0(@babel/parser@7.25.6)(rollup@4.22.4)(vue@3.5.8(typescript@5.5.4))(webpack-sources@3.2.3) + vite: + specifier: ^5.4.7 + version: 5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0) + vitest: + specifier: ^0.34.6 + version: 0.34.6(jsdom@22.1.0)(less@4.2.0)(terser@5.33.0) + vue-tsc: + specifier: ^2.1.6 + version: 2.1.6(typescript@5.5.4) + +packages: + + '@amap/amap-jsapi-loader@1.0.1': + resolution: {integrity: sha512-nPyLKt7Ow/ThHLkSvn2etQlUzqxmTVgK7bIgwdBRTg2HK5668oN7xVxkaiRe3YZEzGzfV2XgH5Jmu2T73ljejw==} + + '@ampproject/remapping@2.3.0': + resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} + engines: {node: '>=6.0.0'} + + '@ant-design/colors@6.0.0': + resolution: {integrity: sha512-qAZRvPzfdWHtfameEGP2Qvuf838NhergR35o+EuVyB5XvSA98xod5r4utvi4TJ3ywmevm290g9nsCG5MryrdWQ==} + + '@ant-design/icons-svg@4.4.2': + resolution: {integrity: sha512-vHbT+zJEVzllwP+CM+ul7reTEfBR0vgxFe7+lREAsAA7YGsYpboiq2sQNeQeRvh09GfQgs/GyFEvZpJ9cLXpXA==} + + '@ant-design/icons-vue@7.0.1': + resolution: {integrity: sha512-eCqY2unfZK6Fe02AwFlDHLfoyEFreP6rBwAZMIJ1LugmfMiVgwWDYlp1YsRugaPtICYOabV1iWxXdP12u9U43Q==} + peerDependencies: + vue: '>=3.0.3' + + '@antfu/eslint-config@2.27.3': + resolution: {integrity: sha512-Y2Vh/LvPAaYoyLwCiZHJ7p76LEIGg6debeUA4Qs+KOrlGuXLQWRmdZlC6SB33UDNzXqkFeaXAlEcYUqvYoiMKA==} + hasBin: true + peerDependencies: + '@eslint-react/eslint-plugin': ^1.5.8 + '@prettier/plugin-xml': ^3.4.1 + '@unocss/eslint-plugin': '>=0.50.0' + astro-eslint-parser: ^1.0.2 + eslint: '>=8.40.0' + eslint-plugin-astro: ^1.2.0 + eslint-plugin-format: '>=0.1.0' + eslint-plugin-react-hooks: ^4.6.0 + eslint-plugin-react-refresh: ^0.4.4 + eslint-plugin-solid: ^0.13.2 + eslint-plugin-svelte: '>=2.35.1' + prettier-plugin-astro: ^0.13.0 + prettier-plugin-slidev: ^1.0.5 + svelte-eslint-parser: '>=0.37.0' + peerDependenciesMeta: + '@eslint-react/eslint-plugin': + optional: true + '@prettier/plugin-xml': + optional: true + '@unocss/eslint-plugin': + optional: true + astro-eslint-parser: + optional: true + eslint-plugin-astro: + optional: true + eslint-plugin-format: + optional: true + eslint-plugin-react-hooks: + optional: true + eslint-plugin-react-refresh: + optional: true + eslint-plugin-solid: + optional: true + eslint-plugin-svelte: + optional: true + prettier-plugin-astro: + optional: true + prettier-plugin-slidev: + optional: true + svelte-eslint-parser: + optional: true + + '@antfu/install-pkg@0.4.1': + resolution: {integrity: sha512-T7yB5QNG29afhWVkVq7XeIMBa5U/vs9mX69YqayXypPRmYzUmzwnYltplHmPtZ4HPCn+sQKeXW8I47wCbuBOjw==} + + '@antfu/utils@0.7.10': + resolution: {integrity: sha512-+562v9k4aI80m1+VuMHehNJWLOFjBnXn3tdOitzD0il5b7smkSBal4+a3oKiQTbrwMmN/TBUMDvbdoWDehgOww==} + + '@antv/adjust@0.2.5': + resolution: {integrity: sha512-MfWZOkD9CqXRES6MBGRNe27Q577a72EIwyMnE29wIlPliFvJfWwsrONddpGU7lilMpVKecS3WAzOoip3RfPTRQ==} + + '@antv/async-hook@2.2.9': + resolution: {integrity: sha512-4BUp2ZUaTi2fYL67Ltkf6eV912rYJeSBokGhd5fhhnpUkMA1LEI1mg97Pqmx3yC50VEQ+LKXZxj9ePZs80ECfw==} + + '@antv/attr@0.3.5': + resolution: {integrity: sha512-wuj2gUo6C8Q2ASSMrVBuTcb5LcV+Tc0Egiy6bC42D0vxcQ+ta13CLxgMmHz8mjD0FxTPJDXSciyszRSC5TdLsg==} + + '@antv/color-util@2.0.6': + resolution: {integrity: sha512-KnPEaAH+XNJMjax9U35W67nzPI+QQ2x27pYlzmSIWrbj4/k8PGrARXfzDTjwoozHJY8qG62Z+Ww6Alhu2FctXQ==} + + '@antv/component@0.8.35': + resolution: {integrity: sha512-VnRa5X77nBPI952o2xePEEMSNZ6g2mcUDrQY8mVL2kino/8TFhqDq5fTRmDXZyWyIYd4ulJTz5zgeSwAnX/INQ==} + + '@antv/coord@0.3.1': + resolution: {integrity: sha512-rFE94C8Xzbx4xmZnHh2AnlB3Qm1n5x0VT3OROy257IH6Rm4cuzv1+tZaUBATviwZd99S+rOY9telw/+6C9GbRw==} + + '@antv/dom-util@2.0.4': + resolution: {integrity: sha512-2shXUl504fKwt82T3GkuT4Uoc6p9qjCKnJ8gXGLSW4T1W37dqf9AV28aCfoVPHp2BUXpSsB+PAJX2rG/jLHsLQ==} + + '@antv/event-emitter@0.1.3': + resolution: {integrity: sha512-4ddpsiHN9Pd4UIlWuKVK1C4IiZIdbwQvy9i7DUSI3xNJ89FPUFt8lxDYj8GzzfdllV0NkJTRxnG+FvLk0llidg==} + + '@antv/g-base@0.5.16': + resolution: {integrity: sha512-jP06wggTubDPHXoKwFg3/f1lyxBX9ywwN3E/HG74Nd7DXqOXQis8tsIWW+O6dS/h9vyuXLd1/wDWkMMm3ZzXdg==} + + '@antv/g-canvas@0.5.17': + resolution: {integrity: sha512-sXYJMWTOlb/Ycb6sTKu00LcJqInXJY4t99+kSM40u2OfqrXYmaXDjHR7D2V0roMkbK/QWiWS9UnEidCR1VtMOA==} + + '@antv/g-device-api@1.6.12': + resolution: {integrity: sha512-bOLA3MqvPFbTNNhrNyEpyYzAC8gHPioJHqKtPfAfdXBec+to2nciQoihGhRrosDwjAQLBLtVF+nc7zG2DnHgcg==} + + '@antv/g-math@0.1.9': + resolution: {integrity: sha512-KHMSfPfZ5XHM1PZnG42Q2gxXfOitYveNTA7L61lR6mhZ8Y/aExsYmHqaKBsSarU0z+6WLrl9C07PQJZaw0uljQ==} + + '@antv/g-svg@0.5.7': + resolution: {integrity: sha512-jUbWoPgr4YNsOat2Y/rGAouNQYGpw4R0cvlN0YafwOyacFFYy2zC8RslNd6KkPhhR3XHNSqJOuCYZj/YmLUwYw==} + + '@antv/g2@4.2.11': + resolution: {integrity: sha512-QiqxLLYDWkv9c4oTcXscs6NMxBuWZ1JCarHPZ27J43IN2BV+qUKw8yce0A8CBR8fCILEFqQAfS00Szqpye036Q==} + + '@antv/g2plot@2.4.32': + resolution: {integrity: sha512-HTBuAMa+PJ6DqY1XCX1GBNTGz/IBmn9lx2xu18NQSHtgXAIHWSF+WYs7Aj8iaujcapM8g+IPgjS6ObO1u9CbFg==} + + '@antv/l7-component@2.22.1': + resolution: {integrity: sha512-Sf2TIch4QV/5yhlNV3ktNSjrfCnbuNTLzOifG98ybVkZZJTvQKvTV46AmOcf9DE4hrod1F4VcBTwdVJGXKGryw==} + + '@antv/l7-core@2.22.1': + resolution: {integrity: sha512-V0E8StMJYsw1269XpfUizbVLCwRZfyj/sb5KIJQ1vyyCTpSaHSdHAAFDBjd/nOXd/CP6xxxO1u5tUxyqWexQvg==} + + '@antv/l7-layers@2.22.1': + resolution: {integrity: sha512-rBsx3+Xi3R2Ak/vIXNwOIePSQK1IAcwvyHFddVFHdtCfSchmcC1tdtpPmg83VKoIHmtmC+dEQb1l1/fWSK5usg==} + + '@antv/l7-map@2.22.1': + resolution: {integrity: sha512-zVAxbiuYfOdeXOzc2jXWJm7imCbC12SB3/E6fiM8u+k+7FW4x2ijIDSG/UaHvuylKa2SK/uXW2LaOsj7FVImNQ==} + + '@antv/l7-maps@2.22.1': + resolution: {integrity: sha512-6cYqNMSM07hQ0X+Vm8gUmy7RXpD0ZbZAq4fGJ7jmI1rSwMubvWntEZj6AX2856Gcas7HUh7I4bPeqxkRo5gu6Q==} + + '@antv/l7-renderer@2.22.1': + resolution: {integrity: sha512-mnuCDgeocs8AX+YUoOF9hfDDkX0GwbfFKc87Y46eXWC47pIY+7HpqULKOZNWqOoTVVcOiueS/6l2/k6AnBdMPA==} + + '@antv/l7-scene@2.22.1': + resolution: {integrity: sha512-7AyGBhFSOwv8heoYaDqOr47+KftZQvLfSYD+p+pd2y7Y5B85+oNGXbPV/zCjfrSt15R1fzxt9v7GgruQjx/+Iw==} + + '@antv/l7-source@2.22.1': + resolution: {integrity: sha512-4DiYKqS0OTJxHJkAUx09Ni7AIL8T9wUKxtvqSKnQmBDcZfvxpSYJ4x7uorVjtejVSb6LI1hxnHJtyJ3SbrH31g==} + + '@antv/l7-utils@2.22.1': + resolution: {integrity: sha512-dJhLM3zJKxcihmcQ20wiEkDrWoshJhgtTLeigf8dtgp5TNeYHnaN8saulCOgSiBe8TI/UD1kFx9iFAV13PptoQ==} + + '@antv/l7@2.22.1': + resolution: {integrity: sha512-MxJLzqy360PNXGaubkGaq4ScMDxqvmHodqEvBUSd7l/DSe2aZNUNiGnCOpTDWm1t9hOKnfvqsmQIWkQGfg9O0g==} + + '@antv/matrix-util@3.0.4': + resolution: {integrity: sha512-BAPyu6dUliHcQ7fm9hZSGKqkwcjEDVLVAstlHULLvcMZvANHeLXgHEgV7JqcAV/GIhIz8aZChIlzM1ZboiXpYQ==} + + '@antv/matrix-util@3.1.0-beta.3': + resolution: {integrity: sha512-W2R6Za3A6CmG51Y/4jZUM/tFgYSq7vTqJL1VD9dKrvwxS4sE0ZcXINtkp55CdyBwJ6Cwm8pfoRpnD4FnHahN0A==} + + '@antv/path-util@2.0.15': + resolution: {integrity: sha512-R2VLZ5C8PLPtr3VciNyxtjKqJ0XlANzpFb5sE9GE61UQqSRuSVSzIakMxjEPrpqbgc+s+y8i+fmc89Snu7qbNw==} + + '@antv/path-util@3.0.1': + resolution: {integrity: sha512-tpvAzMpF9Qm6ik2YSMqICNU5tco5POOW7S4XoxZAI/B0L26adU+Md/SmO0BBo2SpuywKvzPH3hPT3xmoyhr04Q==} + + '@antv/scale@0.3.18': + resolution: {integrity: sha512-GHwE6Lo7S/Q5fgaLPaCsW+CH+3zl4aXpnN1skOiEY0Ue9/u+s2EySv6aDXYkAqs//i0uilMDD/0/4n8caX9U9w==} + + '@antv/util@2.0.17': + resolution: {integrity: sha512-o6I9hi5CIUvLGDhth0RxNSFDRwXeywmt6ExR4+RmVAzIi48ps6HUy+svxOCayvrPBN37uE6TAc2KDofRo0nK9Q==} + + '@antv/util@3.3.10': + resolution: {integrity: sha512-basGML3DFA3O87INnzvDStjzS+n0JLEhRnRsDzP9keiXz8gT1z/fTdmJAZFOzMMWxy+HKbi7NbSt0+8vz/OsBQ==} + + '@babel/code-frame@7.24.7': + resolution: {integrity: sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==} + engines: {node: '>=6.9.0'} + + '@babel/compat-data@7.25.4': + resolution: {integrity: sha512-+LGRog6RAsCJrrrg/IO6LGmpphNe5DiK30dGjCoxxeGv49B10/3XYGxPsAwrDlMFcFEvdAUavDT8r9k/hSyQqQ==} + engines: {node: '>=6.9.0'} + + '@babel/core@7.25.2': + resolution: {integrity: sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==} + engines: {node: '>=6.9.0'} + + '@babel/generator@7.25.6': + resolution: {integrity: sha512-VPC82gr1seXOpkjAAKoLhP50vx4vGNlF4msF64dSFq1P8RfB+QAuJWGHPXXPc8QyfVWwwB/TNNU4+ayZmHNbZw==} + engines: {node: '>=6.9.0'} + + '@babel/helper-annotate-as-pure@7.24.7': + resolution: {integrity: sha512-BaDeOonYvhdKw+JoMVkAixAAJzG2jVPIwWoKBPdYuY9b452e2rPuI9QPYh3KpofZ3pW2akOmwZLOiOsHMiqRAg==} + engines: {node: '>=6.9.0'} + + '@babel/helper-compilation-targets@7.25.2': + resolution: {integrity: sha512-U2U5LsSaZ7TAt3cfaymQ8WHh0pxvdHoEk6HVpaexxixjyEquMh0L0YNJNM6CTGKMXV1iksi0iZkGw4AcFkPaaw==} + engines: {node: '>=6.9.0'} + + '@babel/helper-create-class-features-plugin@7.25.4': + resolution: {integrity: sha512-ro/bFs3/84MDgDmMwbcHgDa8/E6J3QKNTk4xJJnVeFtGE+tL0K26E3pNxhYz2b67fJpt7Aphw5XcploKXuCvCQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + + '@babel/helper-member-expression-to-functions@7.24.8': + resolution: {integrity: sha512-LABppdt+Lp/RlBxqrh4qgf1oEH/WxdzQNDJIu5gC/W1GyvPVrOBiItmmM8wan2fm4oYqFuFfkXmlGpLQhPY8CA==} + engines: {node: '>=6.9.0'} + + '@babel/helper-module-imports@7.24.7': + resolution: {integrity: sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA==} + engines: {node: '>=6.9.0'} + + '@babel/helper-module-transforms@7.25.2': + resolution: {integrity: sha512-BjyRAbix6j/wv83ftcVJmBt72QtHI56C7JXZoG2xATiLpmoC7dpd8WnkikExHDVPpi/3qCmO6WY1EaXOluiecQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + + '@babel/helper-optimise-call-expression@7.24.7': + resolution: {integrity: sha512-jKiTsW2xmWwxT1ixIdfXUZp+P5yURx2suzLZr5Hi64rURpDYdMW0pv+Uf17EYk2Rd428Lx4tLsnjGJzYKDM/6A==} + engines: {node: '>=6.9.0'} + + '@babel/helper-plugin-utils@7.24.8': + resolution: {integrity: sha512-FFWx5142D8h2Mgr/iPVGH5G7w6jDn4jUSpZTyDnQO0Yn7Ks2Kuz6Pci8H6MPCoUJegd/UZQ3tAvfLCxQSnWWwg==} + engines: {node: '>=6.9.0'} + + '@babel/helper-replace-supers@7.25.0': + resolution: {integrity: sha512-q688zIvQVYtZu+i2PsdIu/uWGRpfxzr5WESsfpShfZECkO+d2o+WROWezCi/Q6kJ0tfPa5+pUGUlfx2HhrA3Bg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + + '@babel/helper-simple-access@7.24.7': + resolution: {integrity: sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg==} + engines: {node: '>=6.9.0'} + + '@babel/helper-skip-transparent-expression-wrappers@7.24.7': + resolution: {integrity: sha512-IO+DLT3LQUElMbpzlatRASEyQtfhSE0+m465v++3jyyXeBTBUjtVZg28/gHeV5mrTJqvEKhKroBGAvhW+qPHiQ==} + engines: {node: '>=6.9.0'} + + '@babel/helper-string-parser@7.24.8': + resolution: {integrity: sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==} + engines: {node: '>=6.9.0'} + + '@babel/helper-validator-identifier@7.24.7': + resolution: {integrity: sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==} + engines: {node: '>=6.9.0'} + + '@babel/helper-validator-option@7.24.8': + resolution: {integrity: sha512-xb8t9tD1MHLungh/AIoWYN+gVHaB9kwlu8gffXGSt3FFEIT7RjS+xWbc2vUD1UTZdIpKj/ab3rdqJ7ufngyi2Q==} + engines: {node: '>=6.9.0'} + + '@babel/helpers@7.25.6': + resolution: {integrity: sha512-Xg0tn4HcfTijTwfDwYlvVCl43V6h4KyVVX2aEm4qdO/PC6L2YvzLHFdmxhoeSA3eslcE6+ZVXHgWwopXYLNq4Q==} + engines: {node: '>=6.9.0'} + + '@babel/highlight@7.24.7': + resolution: {integrity: sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==} + engines: {node: '>=6.9.0'} + + '@babel/parser@7.25.6': + resolution: {integrity: sha512-trGdfBdbD0l1ZPmcJ83eNxB9rbEax4ALFTF7fN386TMYbeCQbyme5cOEXQhbGXKebwGaB/J52w1mrklMcbgy6Q==} + engines: {node: '>=6.0.0'} + hasBin: true + + '@babel/plugin-syntax-jsx@7.24.7': + resolution: {integrity: sha512-6ddciUPe/mpMnOKv/U+RSd2vvVy+Yw/JfBB0ZHYjEZt9NLHmCUylNYlsbqCCS1Bffjlb0fCwC9Vqz+sBz6PsiQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-syntax-typescript@7.25.4': + resolution: {integrity: sha512-uMOCoHVU52BsSWxPOMVv5qKRdeSlPuImUCB2dlPuBSU+W2/ROE7/Zg8F2Kepbk+8yBa68LlRKxO+xgEVWorsDg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-modules-commonjs@7.24.8': + resolution: {integrity: sha512-WHsk9H8XxRs3JXKWFiqtQebdh9b/pTk4EgueygFzYlTKAg0Ud985mSevdNjdXdFBATSKVJGQXP1tv6aGbssLKA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-typescript@7.25.2': + resolution: {integrity: sha512-lBwRvjSmqiMYe/pS0+1gggjJleUJi7NzjvQ1Fkqtt69hBa/0t1YuW/MLQMAPixfwaQOHUXsd6jeU3Z+vdGv3+A==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/preset-typescript@7.24.7': + resolution: {integrity: sha512-SyXRe3OdWwIwalxDg5UtJnJQO+YPcTfwiIY2B0Xlddh9o7jpWLvv8X1RthIeDOxQ+O1ML5BLPCONToObyVQVuQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/runtime@7.25.6': + resolution: {integrity: sha512-VBj9MYyDb9tuLq7yzqjgzt6Q+IBQLrGZfdjOekyEirZPHxXWoTSGUTMrpsfi58Up73d13NfYLv8HT9vmznjzhQ==} + engines: {node: '>=6.9.0'} + + '@babel/template@7.25.0': + resolution: {integrity: sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==} + engines: {node: '>=6.9.0'} + + '@babel/traverse@7.25.6': + resolution: {integrity: sha512-9Vrcx5ZW6UwK5tvqsj0nGpp/XzqthkT0dqIc9g1AdtygFToNtTF67XzYS//dm+SAK9cp3B9R4ZO/46p63SCjlQ==} + engines: {node: '>=6.9.0'} + + '@babel/types@7.25.6': + resolution: {integrity: sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw==} + engines: {node: '>=6.9.0'} + + '@clack/core@0.3.4': + resolution: {integrity: sha512-H4hxZDXgHtWTwV3RAVenqcC4VbJZNegbBjlPvzOzCouXtS2y3sDvlO3IsbrPNWuLWPPlYVYPghQdSF64683Ldw==} + + '@clack/prompts@0.7.0': + resolution: {integrity: sha512-0MhX9/B4iL6Re04jPrttDm+BsP8y6mS7byuv0BvXgdXhbV5PdlsHt55dvNsuBCPZ7xq1oTAOOuotR9NFbQyMSA==} + bundledDependencies: + - is-unicode-supported + + '@cloudflare/kv-asset-handler@0.3.4': + resolution: {integrity: sha512-YLPHc8yASwjNkmcDMQMY35yiWjoKAKnhUbPRszBRS0YgH+IXtsMp61j+yTcnCE3oO2DgP0U3iejLC8FTtKDC8Q==} + engines: {node: '>=16.13'} + + '@commitlint/cli@18.6.1': + resolution: {integrity: sha512-5IDE0a+lWGdkOvKH892HHAZgbAjcj1mT5QrfA/SVbLJV/BbBMGyKN0W5mhgjekPJJwEQdVNvhl9PwUacY58Usw==} + engines: {node: '>=v18'} + hasBin: true + + '@commitlint/config-conventional@18.6.3': + resolution: {integrity: sha512-8ZrRHqF6je+TRaFoJVwszwnOXb/VeYrPmTwPhf0WxpzpGTcYy1p0SPyZ2eRn/sRi/obnWAcobtDAq6+gJQQNhQ==} + engines: {node: '>=v18'} + + '@commitlint/config-validator@18.6.1': + resolution: {integrity: sha512-05uiToBVfPhepcQWE1ZQBR/Io3+tb3gEotZjnI4tTzzPk16NffN6YABgwFQCLmzZefbDcmwWqJWc2XT47q7Znw==} + engines: {node: '>=v18'} + + '@commitlint/ensure@18.6.1': + resolution: {integrity: sha512-BPm6+SspyxQ7ZTsZwXc7TRQL5kh5YWt3euKmEIBZnocMFkJevqs3fbLRb8+8I/cfbVcAo4mxRlpTPfz8zX7SnQ==} + engines: {node: '>=v18'} + + '@commitlint/execute-rule@18.6.1': + resolution: {integrity: sha512-7s37a+iWyJiGUeMFF6qBlyZciUkF8odSAnHijbD36YDctLhGKoYltdvuJ/AFfRm6cBLRtRk9cCVPdsEFtt/2rg==} + engines: {node: '>=v18'} + + '@commitlint/format@18.6.1': + resolution: {integrity: sha512-K8mNcfU/JEFCharj2xVjxGSF+My+FbUHoqR+4GqPGrHNqXOGNio47ziiR4HQUPKtiNs05o8/WyLBoIpMVOP7wg==} + engines: {node: '>=v18'} + + '@commitlint/is-ignored@18.6.1': + resolution: {integrity: sha512-MOfJjkEJj/wOaPBw5jFjTtfnx72RGwqYIROABudOtJKW7isVjFe9j0t8xhceA02QebtYf4P/zea4HIwnXg8rvA==} + engines: {node: '>=v18'} + + '@commitlint/lint@18.6.1': + resolution: {integrity: sha512-8WwIFo3jAuU+h1PkYe5SfnIOzp+TtBHpFr4S8oJWhu44IWKuVx6GOPux3+9H1iHOan/rGBaiacicZkMZuluhfQ==} + engines: {node: '>=v18'} + + '@commitlint/load@18.6.1': + resolution: {integrity: sha512-p26x8734tSXUHoAw0ERIiHyW4RaI4Bj99D8YgUlVV9SedLf8hlWAfyIFhHRIhfPngLlCe0QYOdRKYFt8gy56TA==} + engines: {node: '>=v18'} + + '@commitlint/message@18.6.1': + resolution: {integrity: sha512-VKC10UTMLcpVjMIaHHsY1KwhuTQtdIKPkIdVEwWV+YuzKkzhlI3aNy6oo1eAN6b/D2LTtZkJe2enHmX0corYRw==} + engines: {node: '>=v18'} + + '@commitlint/parse@18.6.1': + resolution: {integrity: sha512-eS/3GREtvVJqGZrwAGRwR9Gdno3YcZ6Xvuaa+vUF8j++wsmxrA2En3n0ccfVO2qVOLJC41ni7jSZhQiJpMPGOQ==} + engines: {node: '>=v18'} + + '@commitlint/read@18.6.1': + resolution: {integrity: sha512-ia6ODaQFzXrVul07ffSgbZGFajpe8xhnDeLIprLeyfz3ivQU1dIoHp7yz0QIorZ6yuf4nlzg4ZUkluDrGN/J/w==} + engines: {node: '>=v18'} + + '@commitlint/resolve-extends@18.6.1': + resolution: {integrity: sha512-ifRAQtHwK+Gj3Bxj/5chhc4L2LIc3s30lpsyW67yyjsETR6ctHAHRu1FSpt0KqahK5xESqoJ92v6XxoDRtjwEQ==} + engines: {node: '>=v18'} + + '@commitlint/rules@18.6.1': + resolution: {integrity: sha512-kguM6HxZDtz60v/zQYOe0voAtTdGybWXefA1iidjWYmyUUspO1zBPQEmJZ05/plIAqCVyNUTAiRPWIBKLCrGew==} + engines: {node: '>=v18'} + + '@commitlint/to-lines@18.6.1': + resolution: {integrity: sha512-Gl+orGBxYSNphx1+83GYeNy5N0dQsHBQ9PJMriaLQDB51UQHCVLBT/HBdOx5VaYksivSf5Os55TLePbRLlW50Q==} + engines: {node: '>=v18'} + + '@commitlint/top-level@18.6.1': + resolution: {integrity: sha512-HyiHQZUTf0+r0goTCDs/bbVv/LiiQ7AVtz6KIar+8ZrseB9+YJAIo8HQ2IC2QT1y3N1lbW6OqVEsTHjbT6hGSw==} + engines: {node: '>=v18'} + + '@commitlint/types@18.6.1': + resolution: {integrity: sha512-gwRLBLra/Dozj2OywopeuHj2ac26gjGkz2cZ+86cTJOdtWfiRRr4+e77ZDAGc6MDWxaWheI+mAV5TLWWRwqrFg==} + engines: {node: '>=v18'} + + '@cspotcode/source-map-support@0.8.1': + resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} + engines: {node: '>=12'} + + '@ctrl/tinycolor@3.6.1': + resolution: {integrity: sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA==} + engines: {node: '>=10'} + + '@ctrl/tinycolor@4.1.0': + resolution: {integrity: sha512-WyOx8cJQ+FQus4Mm4uPIZA64gbk3Wxh0so5Lcii0aJifqwoVOlfFtorjLE0Hen4OYyHZMXDWqMmaQemBhgxFRQ==} + engines: {node: '>=14'} + + '@emotion/babel-plugin@11.12.0': + resolution: {integrity: sha512-y2WQb+oP8Jqvvclh8Q55gLUyb7UFvgv7eJfsj7td5TToBrIUtPay2kMrZi4xjq9qw2vD0ZR5fSho0yqoFgX7Rw==} + + '@emotion/cache@11.13.1': + resolution: {integrity: sha512-iqouYkuEblRcXmylXIwwOodiEK5Ifl7JcX7o6V4jI3iW4mLXX3dmt5xwBtIkJiQEXFAI+pC8X0i67yiPkH9Ucw==} + + '@emotion/css@11.13.0': + resolution: {integrity: sha512-BUk99ylT+YHl+W/HN7nv1RCTkDYmKKqa1qbvM/qLSQEg61gipuBF5Hptk/2/ERmX2DCv0ccuFGhz9i0KSZOqPg==} + + '@emotion/hash@0.9.2': + resolution: {integrity: sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g==} + + '@emotion/memoize@0.9.0': + resolution: {integrity: sha512-30FAj7/EoJ5mwVPOWhAyCX+FPfMDrVecJAM+Iw9NRoSl4BBAQeqj4cApHHUXOVvIPgLVDsCFoz/hGD+5QQD1GQ==} + + '@emotion/serialize@1.3.2': + resolution: {integrity: sha512-grVnMvVPK9yUVE6rkKfAJlYZgo0cu3l9iMC77V7DW6E1DUIrU68pSEXRmFZFOFB1QFo57TncmOcvcbMDWsL4yA==} + + '@emotion/server@11.11.0': + resolution: {integrity: sha512-6q89fj2z8VBTx9w93kJ5n51hsmtYuFPtZgnc1L8VzRx9ti4EU6EyvF6Nn1H1x3vcCQCF7u2dB2lY4AYJwUW4PA==} + peerDependencies: + '@emotion/css': ^11.0.0-rc.0 + peerDependenciesMeta: + '@emotion/css': + optional: true + + '@emotion/sheet@1.4.0': + resolution: {integrity: sha512-fTBW9/8r2w3dXWYM4HCB1Rdp8NLibOw2+XELH5m5+AkWiL/KqYX6dc0kKYlaYyKjrQ6ds33MCdMPEwgs2z1rqg==} + + '@emotion/unitless@0.10.0': + resolution: {integrity: sha512-dFoMUuQA20zvtVTuxZww6OHoJYgrzfKM1t52mVySDJnMSEa08ruEvdYQbhvyu6soU+NeLVd3yKfTfT0NeV6qGg==} + + '@emotion/unitless@0.8.1': + resolution: {integrity: sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ==} + + '@emotion/utils@1.4.1': + resolution: {integrity: sha512-BymCXzCG3r72VKJxaYVwOXATqXIZ85cuvg0YOUDxMGNrKc1DJRZk8MgV5wyXRyEayIMd4FuXJIUgTBXvDNW5cA==} + + '@emotion/weak-memoize@0.4.0': + resolution: {integrity: sha512-snKqtPW01tN0ui7yu9rGv69aJXr/a/Ywvl11sUjNtEcRc+ng/mQriFL0wLXMef74iHa/EkftbDzU9F8iFbH+zg==} + + '@es-joy/jsdoccomment@0.48.0': + resolution: {integrity: sha512-G6QUWIcC+KvSwXNsJyDTHvqUdNoAVJPPgkc3+Uk4WBKqZvoXhlvazOgm9aL0HwihJLQf0l+tOE2UFzXBqCqgDw==} + engines: {node: '>=16'} + + '@esbuild/aix-ppc64@0.20.2': + resolution: {integrity: sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [aix] + + '@esbuild/aix-ppc64@0.21.5': + resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [aix] + + '@esbuild/android-arm64@0.18.20': + resolution: {integrity: sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm64@0.20.2': + resolution: {integrity: sha512-mRzjLacRtl/tWU0SvD8lUEwb61yP9cqQo6noDZP/O8VkwafSYwZ4yWy24kan8jE/IMERpYncRt2dw438LP3Xmg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm64@0.21.5': + resolution: {integrity: sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm@0.18.20': + resolution: {integrity: sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + + '@esbuild/android-arm@0.20.2': + resolution: {integrity: sha512-t98Ra6pw2VaDhqNWO2Oph2LXbz/EJcnLmKLGBJwEwXX/JAN83Fym1rU8l0JUWK6HkIbWONCSSatf4sf2NBRx/w==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + + '@esbuild/android-arm@0.21.5': + resolution: {integrity: sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + + '@esbuild/android-x64@0.18.20': + resolution: {integrity: sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + + '@esbuild/android-x64@0.20.2': + resolution: {integrity: sha512-btzExgV+/lMGDDa194CcUQm53ncxzeBrWJcncOBxuC6ndBkKxnHdFJn86mCIgTELsooUmwUm9FkhSp5HYu00Rg==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + + '@esbuild/android-x64@0.21.5': + resolution: {integrity: sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + + '@esbuild/darwin-arm64@0.18.20': + resolution: {integrity: sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-arm64@0.20.2': + resolution: {integrity: sha512-4J6IRT+10J3aJH3l1yzEg9y3wkTDgDk7TSDFX+wKFiWjqWp/iCfLIYzGyasx9l0SAFPT1HwSCR+0w/h1ES/MjA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-arm64@0.21.5': + resolution: {integrity: sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-x64@0.18.20': + resolution: {integrity: sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + + '@esbuild/darwin-x64@0.20.2': + resolution: {integrity: sha512-tBcXp9KNphnNH0dfhv8KYkZhjc+H3XBkF5DKtswJblV7KlT9EI2+jeA8DgBjp908WEuYll6pF+UStUCfEpdysA==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + + '@esbuild/darwin-x64@0.21.5': + resolution: {integrity: sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + + '@esbuild/freebsd-arm64@0.18.20': + resolution: {integrity: sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-arm64@0.20.2': + resolution: {integrity: sha512-d3qI41G4SuLiCGCFGUrKsSeTXyWG6yem1KcGZVS+3FYlYhtNoNgYrWcvkOoaqMhwXSMrZRl69ArHsGJ9mYdbbw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-arm64@0.21.5': + resolution: {integrity: sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.18.20': + resolution: {integrity: sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.20.2': + resolution: {integrity: sha512-d+DipyvHRuqEeM5zDivKV1KuXn9WeRX6vqSqIDgwIfPQtwMP4jaDsQsDncjTDDsExT4lR/91OLjRo8bmC1e+Cw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.21.5': + resolution: {integrity: sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + + '@esbuild/linux-arm64@0.18.20': + resolution: {integrity: sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm64@0.20.2': + resolution: {integrity: sha512-9pb6rBjGvTFNira2FLIWqDk/uaf42sSyLE8j1rnUpuzsODBq7FvpwHYZxQ/It/8b+QOS1RYfqgGFNLRI+qlq2A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm64@0.21.5': + resolution: {integrity: sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm@0.18.20': + resolution: {integrity: sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-arm@0.20.2': + resolution: {integrity: sha512-VhLPeR8HTMPccbuWWcEUD1Az68TqaTYyj6nfE4QByZIQEQVWBB8vup8PpR7y1QHL3CpcF6xd5WVBU/+SBEvGTg==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-arm@0.21.5': + resolution: {integrity: sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-ia32@0.18.20': + resolution: {integrity: sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-ia32@0.20.2': + resolution: {integrity: sha512-o10utieEkNPFDZFQm9CoP7Tvb33UutoJqg3qKf1PWVeeJhJw0Q347PxMvBgVVFgouYLGIhFYG0UGdBumROyiig==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-ia32@0.21.5': + resolution: {integrity: sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-loong64@0.18.20': + resolution: {integrity: sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-loong64@0.20.2': + resolution: {integrity: sha512-PR7sp6R/UC4CFVomVINKJ80pMFlfDfMQMYynX7t1tNTeivQ6XdX5r2XovMmha/VjR1YN/HgHWsVcTRIMkymrgQ==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-loong64@0.21.5': + resolution: {integrity: sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-mips64el@0.18.20': + resolution: {integrity: sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-mips64el@0.20.2': + resolution: {integrity: sha512-4BlTqeutE/KnOiTG5Y6Sb/Hw6hsBOZapOVF6njAESHInhlQAghVVZL1ZpIctBOoTFbQyGW+LsVYZ8lSSB3wkjA==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-mips64el@0.21.5': + resolution: {integrity: sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-ppc64@0.18.20': + resolution: {integrity: sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-ppc64@0.20.2': + resolution: {integrity: sha512-rD3KsaDprDcfajSKdn25ooz5J5/fWBylaaXkuotBDGnMnDP1Uv5DLAN/45qfnf3JDYyJv/ytGHQaziHUdyzaAg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-ppc64@0.21.5': + resolution: {integrity: sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-riscv64@0.18.20': + resolution: {integrity: sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-riscv64@0.20.2': + resolution: {integrity: sha512-snwmBKacKmwTMmhLlz/3aH1Q9T8v45bKYGE3j26TsaOVtjIag4wLfWSiZykXzXuE1kbCE+zJRmwp+ZbIHinnVg==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-riscv64@0.21.5': + resolution: {integrity: sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-s390x@0.18.20': + resolution: {integrity: sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-s390x@0.20.2': + resolution: {integrity: sha512-wcWISOobRWNm3cezm5HOZcYz1sKoHLd8VL1dl309DiixxVFoFe/o8HnwuIwn6sXre88Nwj+VwZUvJf4AFxkyrQ==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-s390x@0.21.5': + resolution: {integrity: sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-x64@0.18.20': + resolution: {integrity: sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + + '@esbuild/linux-x64@0.20.2': + resolution: {integrity: sha512-1MdwI6OOTsfQfek8sLwgyjOXAu+wKhLEoaOLTjbijk6E2WONYpH9ZU2mNtR+lZ2B4uwr+usqGuVfFT9tMtGvGw==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + + '@esbuild/linux-x64@0.21.5': + resolution: {integrity: sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + + '@esbuild/netbsd-x64@0.18.20': + resolution: {integrity: sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + + '@esbuild/netbsd-x64@0.20.2': + resolution: {integrity: sha512-K8/DhBxcVQkzYc43yJXDSyjlFeHQJBiowJ0uVL6Tor3jGQfSGHNNJcWxNbOI8v5k82prYqzPuwkzHt3J1T1iZQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + + '@esbuild/netbsd-x64@0.21.5': + resolution: {integrity: sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + + '@esbuild/openbsd-x64@0.18.20': + resolution: {integrity: sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + + '@esbuild/openbsd-x64@0.20.2': + resolution: {integrity: sha512-eMpKlV0SThJmmJgiVyN9jTPJ2VBPquf6Kt/nAoo6DgHAoN57K15ZghiHaMvqjCye/uU4X5u3YSMgVBI1h3vKrQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + + '@esbuild/openbsd-x64@0.21.5': + resolution: {integrity: sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + + '@esbuild/sunos-x64@0.18.20': + resolution: {integrity: sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + + '@esbuild/sunos-x64@0.20.2': + resolution: {integrity: sha512-2UyFtRC6cXLyejf/YEld4Hajo7UHILetzE1vsRcGL3earZEW77JxrFjH4Ez2qaTiEfMgAXxfAZCm1fvM/G/o8w==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + + '@esbuild/sunos-x64@0.21.5': + resolution: {integrity: sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + + '@esbuild/win32-arm64@0.18.20': + resolution: {integrity: sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-arm64@0.20.2': + resolution: {integrity: sha512-GRibxoawM9ZCnDxnP3usoUDO9vUkpAxIIZ6GQI+IlVmr5kP3zUq+l17xELTHMWTWzjxa2guPNyrpq1GWmPvcGQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-arm64@0.21.5': + resolution: {integrity: sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-ia32@0.18.20': + resolution: {integrity: sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-ia32@0.20.2': + resolution: {integrity: sha512-HfLOfn9YWmkSKRQqovpnITazdtquEW8/SoHW7pWpuEeguaZI4QnCRW6b+oZTztdBnZOS2hqJ6im/D5cPzBTTlQ==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-ia32@0.21.5': + resolution: {integrity: sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-x64@0.18.20': + resolution: {integrity: sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + + '@esbuild/win32-x64@0.20.2': + resolution: {integrity: sha512-N49X4lJX27+l9jbLKSqZ6bKNjzQvHaT8IIFUy+YIqmXQdjYCToGWwOItDrfby14c78aDd5NHQl29xingXfCdLQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + + '@esbuild/win32-x64@0.21.5': + resolution: {integrity: sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + + '@eslint-community/eslint-plugin-eslint-comments@4.4.0': + resolution: {integrity: sha512-yljsWl5Qv3IkIRmJ38h3NrHXFCm4EUl55M8doGTF6hvzvFF8kRpextgSrg2dwHev9lzBZyafCr9RelGIyQm6fw==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 + + '@eslint-community/eslint-utils@4.4.0': + resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 + + '@eslint-community/regexpp@4.11.1': + resolution: {integrity: sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q==} + engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + + '@eslint/eslintrc@2.1.4': + resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + + '@eslint/js@8.57.1': + resolution: {integrity: sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + + '@fastify/busboy@2.1.1': + resolution: {integrity: sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==} + engines: {node: '>=14'} + + '@humanwhocodes/config-array@0.13.0': + resolution: {integrity: sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==} + engines: {node: '>=10.10.0'} + deprecated: Use @eslint/config-array instead + + '@humanwhocodes/module-importer@1.0.1': + resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} + engines: {node: '>=12.22'} + + '@humanwhocodes/object-schema@2.0.3': + resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==} + deprecated: Use @eslint/object-schema instead + + '@iconify/types@2.0.0': + resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==} + + '@iconify/utils@2.1.33': + resolution: {integrity: sha512-jP9h6v/g0BIZx0p7XGJJVtkVnydtbgTgt9mVNcGDYwaa7UhdHdI9dvoq+gKj9sijMSJKxUPEG2JyjsgXjxL7Kw==} + + '@intlify/core-base@9.14.0': + resolution: {integrity: sha512-zJn0imh9HIsZZUtt9v8T16PeVstPv6bP2YzlrYJwoF8F30gs4brZBwW2KK6EI5WYKFi3NeqX6+UU4gniz5TkGg==} + engines: {node: '>= 16'} + + '@intlify/message-compiler@9.14.0': + resolution: {integrity: sha512-sXNsoMI0YsipSXW8SR75drmVK56tnJHoYbPXUv2Cf9lz6FzvwsosFm6JtC1oQZI/kU+n7qx0qRrEWkeYFTgETA==} + engines: {node: '>= 16'} + + '@intlify/shared@9.14.0': + resolution: {integrity: sha512-r+N8KRQL7LgN1TMTs1A2svfuAU0J94Wu9wWdJVJqYsoMMLIeJxrPjazihfHpmJqfgZq0ah3Y9Q4pgWV2O90Fyg==} + engines: {node: '>= 16'} + + '@ioredis/commands@1.2.0': + resolution: {integrity: sha512-Sx1pU8EM64o2BrqNpEO1CNLtKQwyhuXuqyfH7oGKCk+1a33d2r5saW8zNwm3j6BTExtjrv2BxTgzzkMwts6vGg==} + + '@isaacs/cliui@8.0.2': + resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} + engines: {node: '>=12'} + + '@jest/schemas@29.6.3': + resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + + '@jridgewell/gen-mapping@0.3.5': + resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==} + engines: {node: '>=6.0.0'} + + '@jridgewell/resolve-uri@3.1.2': + resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} + engines: {node: '>=6.0.0'} + + '@jridgewell/set-array@1.2.1': + resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} + engines: {node: '>=6.0.0'} + + '@jridgewell/source-map@0.3.6': + resolution: {integrity: sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==} + + '@jridgewell/sourcemap-codec@1.5.0': + resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} + + '@jridgewell/trace-mapping@0.3.25': + resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} + + '@jridgewell/trace-mapping@0.3.9': + resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} + + '@kirklin/logger@0.0.2': + resolution: {integrity: sha512-CGZ9HGmHGTcGnU8CDQm7RR7hZgxLyRHTIFpS1FDCQkVaipdL/poq72ibpKqqQflomgKRCYV6GReP7ZXEZeDx1w==} + + '@ljharb/resumer@0.0.1': + resolution: {integrity: sha512-skQiAOrCfO7vRTq53cxznMpks7wS1va95UCidALlOVWqvBAzwPVErwizDwoMqNVMEn1mDq0utxZd02eIrvF1lw==} + engines: {node: '>= 0.4'} + + '@ljharb/through@2.3.13': + resolution: {integrity: sha512-/gKJun8NNiWGZJkGzI/Ragc53cOdcLNdzjLaIa+GEjguQs0ulsurx8WN0jijdK9yPqDvziX995sMRLyLt1uZMQ==} + engines: {node: '>= 0.4'} + + '@mapbox/geojson-rewind@0.5.2': + resolution: {integrity: sha512-tJaT+RbYGJYStt7wI3cq4Nl4SXxG8W7JDG5DMJu97V25RnbNg3QtQtf+KD+VLjNpWKYsRvXDNmNrBgEETr1ifA==} + hasBin: true + + '@mapbox/geojson-types@1.0.2': + resolution: {integrity: sha512-e9EBqHHv3EORHrSfbR9DqecPNn+AmuAoQxV6aL8Xu30bJMJR1o8PZLZzpk1Wq7/NfCbuhmakHTPYRhoqLsXRnw==} + + '@mapbox/jsonlint-lines-primitives@2.0.2': + resolution: {integrity: sha512-rY0o9A5ECsTQRVhv7tL/OyDpGAoUB4tTvLiW1DSzQGq4bvTPhNw1VpSNjDJc5GFZ2XuyOtSWSVN05qOtcD71qQ==} + engines: {node: '>= 0.6'} + + '@mapbox/mapbox-gl-supported@1.5.0': + resolution: {integrity: sha512-/PT1P6DNf7vjEEiPkVIRJkvibbqWtqnyGaBz3nfRdcxclNSnSdaLU5tfAgcD7I8Yt5i+L19s406YLl1koLnLbg==} + peerDependencies: + mapbox-gl: '>=0.32.1 <2.0.0' + + '@mapbox/martini@0.2.0': + resolution: {integrity: sha512-7hFhtkb0KTLEls+TRw/rWayq5EeHtTaErgm/NskVoXmtgAQu/9D299aeyj6mzAR/6XUnYRp2lU+4IcrYRFjVsQ==} + + '@mapbox/node-pre-gyp@1.0.11': + resolution: {integrity: sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ==} + hasBin: true + + '@mapbox/point-geometry@0.1.0': + resolution: {integrity: sha512-6j56HdLTwWGO0fJPlrZtdU/B13q8Uwmo18Ck2GnGgN9PCFyKTZ3UbXeEdRFh18i9XQ92eH2VdtpJHpBD3aripQ==} + + '@mapbox/tiny-sdf@1.2.5': + resolution: {integrity: sha512-cD8A/zJlm6fdJOk6DqPUV8mcpyJkRz2x2R+/fYcWDYG3oWbG7/L7Yl/WqQ1VZCjnL9OTIMAn6c+BC5Eru4sQEw==} + + '@mapbox/tiny-sdf@2.0.6': + resolution: {integrity: sha512-qMqa27TLw+ZQz5Jk+RcwZGH7BQf5G/TrutJhspsca/3SHwmgKQ1iq+d3Jxz5oysPVYTGP6aXxCo5Lk9Er6YBAA==} + + '@mapbox/unitbezier@0.0.0': + resolution: {integrity: sha512-HPnRdYO0WjFjRTSwO3frz1wKaU649OBFPX3Zo/2WZvuRi6zMiRGui8SnPQiQABgqCf8YikDe5t3HViTVw1WUzA==} + + '@mapbox/unitbezier@0.0.1': + resolution: {integrity: sha512-nMkuDXFv60aBr9soUG5q+GvZYL+2KZHVvsqFCzqnkGEf46U2fvmytHaEVc1/YZbiLn8X+eR3QzX1+dwDO1lxlw==} + + '@mapbox/vector-tile@1.3.1': + resolution: {integrity: sha512-MCEddb8u44/xfQ3oD+Srl/tNcQoqTw3goGk2oLsrFxOTc3dUp+kAnby3PvAeeBYSMSjSPD1nd1AJA6W49WnoUw==} + + '@mapbox/whoots-js@3.1.0': + resolution: {integrity: sha512-Es6WcD0nO5l+2BOQS4uLfNPYQaNDfbot3X1XUoloz+x0mPDS3eeORZJl06HXjwBG1fOGwCRnzK88LMdxKRrd6Q==} + engines: {node: '>=6.0.0'} + + '@maplibre/maplibre-gl-style-spec@19.3.3': + resolution: {integrity: sha512-cOZZOVhDSulgK0meTsTkmNXb1ahVvmTmWmfx9gRBwc6hq98wS9JP35ESIoNq3xqEan+UN+gn8187Z6E4NKhLsw==} + hasBin: true + + '@mistjs/cli@0.0.1-beta.9': + resolution: {integrity: sha512-8pSdI2FKtSP+Pp7H4vbyQEmjnL05lBzaMXCMqQvPh0tlHrBtb/VXwFfY0uY46+yLRQdwB2UIq0jptUdRuvx2Pg==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + vite: ^3 || ^4 || ^5 + + '@mistjs/vite-plugin-preload@0.0.1': + resolution: {integrity: sha512-ou/IYGIWL4EbQ8n/6vrbRLzDx/shCzw2M5Ll3YXcBtHiasYKPMr7cGO24fYi+o6K9ILZUfFtglKaZF18qUan8w==} + peerDependencies: + vite: '>=4.0.0' + + '@netlify/functions@2.8.1': + resolution: {integrity: sha512-+6wtYdoz0yE06dSa9XkP47tw5zm6g13QMeCwM3MmHx1vn8hzwFa51JtmfraprdkL7amvb7gaNM+OOhQU1h6T8A==} + engines: {node: '>=14.0.0'} + + '@netlify/node-cookies@0.1.0': + resolution: {integrity: sha512-OAs1xG+FfLX0LoRASpqzVntVV/RpYkgpI0VrUnw2u0Q1qiZUzcPffxRK8HF3gc4GjuhG5ahOEMJ9bswBiZPq0g==} + engines: {node: ^14.16.0 || >=16.0.0} + + '@netlify/serverless-functions-api@1.19.1': + resolution: {integrity: sha512-2KYkyluThg1AKfd0JWI7FzpS4A/fzVVGYIf6AM4ydWyNj8eI/86GQVLeRgDoH7CNOxt243R5tutWlmHpVq0/Ew==} + engines: {node: '>=18.0.0'} + + '@nodelib/fs.scandir@2.1.5': + resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} + engines: {node: '>= 8'} + + '@nodelib/fs.stat@2.0.5': + resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} + engines: {node: '>= 8'} + + '@nodelib/fs.walk@1.2.8': + resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} + engines: {node: '>= 8'} + + '@one-ini/wasm@0.1.1': + resolution: {integrity: sha512-XuySG1E38YScSJoMlqovLru4KTUNSjgVTIjyh7qMX6aNN5HY5Ct5LhRJdxO79JtTzKfzV/bnWpz+zquYrISsvw==} + + '@parcel/watcher-android-arm64@2.4.1': + resolution: {integrity: sha512-LOi/WTbbh3aTn2RYddrO8pnapixAziFl6SMxHM69r3tvdSm94JtCenaKgk1GRg5FJ5wpMCpHeW+7yqPlvZv7kg==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [android] + + '@parcel/watcher-darwin-arm64@2.4.1': + resolution: {integrity: sha512-ln41eihm5YXIY043vBrrHfn94SIBlqOWmoROhsMVTSXGh0QahKGy77tfEywQ7v3NywyxBBkGIfrWRHm0hsKtzA==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [darwin] + + '@parcel/watcher-darwin-x64@2.4.1': + resolution: {integrity: sha512-yrw81BRLjjtHyDu7J61oPuSoeYWR3lDElcPGJyOvIXmor6DEo7/G2u1o7I38cwlcoBHQFULqF6nesIX3tsEXMg==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [darwin] + + '@parcel/watcher-freebsd-x64@2.4.1': + resolution: {integrity: sha512-TJa3Pex/gX3CWIx/Co8k+ykNdDCLx+TuZj3f3h7eOjgpdKM+Mnix37RYsYU4LHhiYJz3DK5nFCCra81p6g050w==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [freebsd] + + '@parcel/watcher-linux-arm-glibc@2.4.1': + resolution: {integrity: sha512-4rVYDlsMEYfa537BRXxJ5UF4ddNwnr2/1O4MHM5PjI9cvV2qymvhwZSFgXqbS8YoTk5i/JR0L0JDs69BUn45YA==} + engines: {node: '>= 10.0.0'} + cpu: [arm] + os: [linux] + libc: [glibc] + + '@parcel/watcher-linux-arm64-glibc@2.4.1': + resolution: {integrity: sha512-BJ7mH985OADVLpbrzCLgrJ3TOpiZggE9FMblfO65PlOCdG++xJpKUJ0Aol74ZUIYfb8WsRlUdgrZxKkz3zXWYA==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [linux] + libc: [glibc] + + '@parcel/watcher-linux-arm64-musl@2.4.1': + resolution: {integrity: sha512-p4Xb7JGq3MLgAfYhslU2SjoV9G0kI0Xry0kuxeG/41UfpjHGOhv7UoUDAz/jb1u2elbhazy4rRBL8PegPJFBhA==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@parcel/watcher-linux-x64-glibc@2.4.1': + resolution: {integrity: sha512-s9O3fByZ/2pyYDPoLM6zt92yu6P4E39a03zvO0qCHOTjxmt3GHRMLuRZEWhWLASTMSrrnVNWdVI/+pUElJBBBg==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@parcel/watcher-linux-x64-musl@2.4.1': + resolution: {integrity: sha512-L2nZTYR1myLNST0O632g0Dx9LyMNHrn6TOt76sYxWLdff3cB22/GZX2UPtJnaqQPdCRoszoY5rcOj4oMTtp5fQ==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [linux] + libc: [musl] + + '@parcel/watcher-wasm@2.4.1': + resolution: {integrity: sha512-/ZR0RxqxU/xxDGzbzosMjh4W6NdYFMqq2nvo2b8SLi7rsl/4jkL8S5stIikorNkdR50oVDvqb/3JT05WM+CRRA==} + engines: {node: '>= 10.0.0'} + bundledDependencies: + - napi-wasm + + '@parcel/watcher-win32-arm64@2.4.1': + resolution: {integrity: sha512-Uq2BPp5GWhrq/lcuItCHoqxjULU1QYEcyjSO5jqqOK8RNFDBQnenMMx4gAl3v8GiWa59E9+uDM7yZ6LxwUIfRg==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [win32] + + '@parcel/watcher-win32-ia32@2.4.1': + resolution: {integrity: sha512-maNRit5QQV2kgHFSYwftmPBxiuK5u4DXjbXx7q6eKjq5dsLXZ4FJiVvlcw35QXzk0KrUecJmuVFbj4uV9oYrcw==} + engines: {node: '>= 10.0.0'} + cpu: [ia32] + os: [win32] + + '@parcel/watcher-win32-x64@2.4.1': + resolution: {integrity: sha512-+DvS92F9ezicfswqrvIRM2njcYJbd5mb9CUgtrHCHmvn7pPPa+nMDRu1o1bYYz/l5IB2NVGNJWiH7h1E58IF2A==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [win32] + + '@parcel/watcher@2.4.1': + resolution: {integrity: sha512-HNjmfLQEVRZmHRET336f20H/8kOozUGwk7yajvsonjNxbj2wBTK1WsQuHkD5yYh9RxFGL2EyDHryOihOwUoKDA==} + engines: {node: '>= 10.0.0'} + + '@pkgjs/parseargs@0.11.0': + resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} + engines: {node: '>=14'} + + '@pkgr/core@0.1.1': + resolution: {integrity: sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==} + engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} + + '@polka/url@1.0.0-next.28': + resolution: {integrity: sha512-8LduaNlMZGwdZ6qWrKlfa+2M4gahzFkprZiAt2TF8uS0qQgBizKXpXURqvTJ4WtmupWxaLqjRb2UCTe72mu+Aw==} + + '@rollup/plugin-alias@5.1.0': + resolution: {integrity: sha512-lpA3RZ9PdIG7qqhEfv79tBffNaoDuukFDrmhLqg9ifv99u/ehn+lOg30x2zmhf8AQqQUZaMk/B9fZraQ6/acDQ==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + + '@rollup/plugin-commonjs@25.0.8': + resolution: {integrity: sha512-ZEZWTK5n6Qde0to4vS9Mr5x/0UZoqCxPVR9KRUjU4kA2sO7GEUn1fop0DAwpO6z0Nw/kJON9bDmSxdWxO/TT1A==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^2.68.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + + '@rollup/plugin-inject@5.0.5': + resolution: {integrity: sha512-2+DEJbNBoPROPkgTDNe8/1YXWcqxbN5DTjASVIOx8HS+pITXushyNiBV56RB08zuptzz8gT3YfkqriTBVycepg==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + + '@rollup/plugin-json@6.1.0': + resolution: {integrity: sha512-EGI2te5ENk1coGeADSIwZ7G2Q8CJS2sF120T7jLw4xFw9n7wIOXHo+kIYRAoVpJAN+kmqZSoO3Fp4JtoNF4ReA==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + + '@rollup/plugin-node-resolve@15.2.3': + resolution: {integrity: sha512-j/lym8nf5E21LwBT4Df1VD6hRO2L2iwUeUmP7litikRsVp1H6NWx20NEp0Y7su+7XGc476GnXXc4kFeZNGmaSQ==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^2.78.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + + '@rollup/plugin-replace@5.0.7': + resolution: {integrity: sha512-PqxSfuorkHz/SPpyngLyg5GCEkOcee9M1bkxiVDr41Pd61mqP1PLOoDPbpl44SB2mQGKwV/In74gqQmGITOhEQ==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + + '@rollup/plugin-terser@0.4.4': + resolution: {integrity: sha512-XHeJC5Bgvs8LfukDwWZp7yeqin6ns8RTl2B9avbejt6tZqsqvVoWI7ZTQrcNsfKEDWBTnTxM8nMDkO2IFFbd0A==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + + '@rollup/pluginutils@4.2.1': + resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==} + engines: {node: '>= 8.0.0'} + + '@rollup/pluginutils@5.1.0': + resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + + '@rollup/rollup-android-arm-eabi@4.22.4': + resolution: {integrity: sha512-Fxamp4aEZnfPOcGA8KSNEohV8hX7zVHOemC8jVBoBUHu5zpJK/Eu3uJwt6BMgy9fkvzxDaurgj96F/NiLukF2w==} + cpu: [arm] + os: [android] + + '@rollup/rollup-android-arm64@4.22.4': + resolution: {integrity: sha512-VXoK5UMrgECLYaMuGuVTOx5kcuap1Jm8g/M83RnCHBKOqvPPmROFJGQaZhGccnsFtfXQ3XYa4/jMCJvZnbJBdA==} + cpu: [arm64] + os: [android] + + '@rollup/rollup-darwin-arm64@4.22.4': + resolution: {integrity: sha512-xMM9ORBqu81jyMKCDP+SZDhnX2QEVQzTcC6G18KlTQEzWK8r/oNZtKuZaCcHhnsa6fEeOBionoyl5JsAbE/36Q==} + cpu: [arm64] + os: [darwin] + + '@rollup/rollup-darwin-x64@4.22.4': + resolution: {integrity: sha512-aJJyYKQwbHuhTUrjWjxEvGnNNBCnmpHDvrb8JFDbeSH3m2XdHcxDd3jthAzvmoI8w/kSjd2y0udT+4okADsZIw==} + cpu: [x64] + os: [darwin] + + '@rollup/rollup-linux-arm-gnueabihf@4.22.4': + resolution: {integrity: sha512-j63YtCIRAzbO+gC2L9dWXRh5BFetsv0j0va0Wi9epXDgU/XUi5dJKo4USTttVyK7fGw2nPWK0PbAvyliz50SCQ==} + cpu: [arm] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-arm-musleabihf@4.22.4': + resolution: {integrity: sha512-dJnWUgwWBX1YBRsuKKMOlXCzh2Wu1mlHzv20TpqEsfdZLb3WoJW2kIEsGwLkroYf24IrPAvOT/ZQ2OYMV6vlrg==} + cpu: [arm] + os: [linux] + libc: [musl] + + '@rollup/rollup-linux-arm64-gnu@4.22.4': + resolution: {integrity: sha512-AdPRoNi3NKVLolCN/Sp4F4N1d98c4SBnHMKoLuiG6RXgoZ4sllseuGioszumnPGmPM2O7qaAX/IJdeDU8f26Aw==} + cpu: [arm64] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-arm64-musl@4.22.4': + resolution: {integrity: sha512-Gl0AxBtDg8uoAn5CCqQDMqAx22Wx22pjDOjBdmG0VIWX3qUBHzYmOKh8KXHL4UpogfJ14G4wk16EQogF+v8hmA==} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@rollup/rollup-linux-powerpc64le-gnu@4.22.4': + resolution: {integrity: sha512-3aVCK9xfWW1oGQpTsYJJPF6bfpWfhbRnhdlyhak2ZiyFLDaayz0EP5j9V1RVLAAxlmWKTDfS9wyRyY3hvhPoOg==} + cpu: [ppc64] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-riscv64-gnu@4.22.4': + resolution: {integrity: sha512-ePYIir6VYnhgv2C5Xe9u+ico4t8sZWXschR6fMgoPUK31yQu7hTEJb7bCqivHECwIClJfKgE7zYsh1qTP3WHUA==} + cpu: [riscv64] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-s390x-gnu@4.22.4': + resolution: {integrity: sha512-GqFJ9wLlbB9daxhVlrTe61vJtEY99/xB3C8e4ULVsVfflcpmR6c8UZXjtkMA6FhNONhj2eA5Tk9uAVw5orEs4Q==} + cpu: [s390x] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-x64-gnu@4.22.4': + resolution: {integrity: sha512-87v0ol2sH9GE3cLQLNEy0K/R0pz1nvg76o8M5nhMR0+Q+BBGLnb35P0fVz4CQxHYXaAOhE8HhlkaZfsdUOlHwg==} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-x64-musl@4.22.4': + resolution: {integrity: sha512-UV6FZMUgePDZrFjrNGIWzDo/vABebuXBhJEqrHxrGiU6HikPy0Z3LfdtciIttEUQfuDdCn8fqh7wiFJjCNwO+g==} + cpu: [x64] + os: [linux] + libc: [musl] + + '@rollup/rollup-win32-arm64-msvc@4.22.4': + resolution: {integrity: sha512-BjI+NVVEGAXjGWYHz/vv0pBqfGoUH0IGZ0cICTn7kB9PyjrATSkX+8WkguNjWoj2qSr1im/+tTGRaY+4/PdcQw==} + cpu: [arm64] + os: [win32] + + '@rollup/rollup-win32-ia32-msvc@4.22.4': + resolution: {integrity: sha512-SiWG/1TuUdPvYmzmYnmd3IEifzR61Tragkbx9D3+R8mzQqDBz8v+BvZNDlkiTtI9T15KYZhP0ehn3Dld4n9J5g==} + cpu: [ia32] + os: [win32] + + '@rollup/rollup-win32-x64-msvc@4.22.4': + resolution: {integrity: sha512-j8pPKp53/lq9lMXN57S8cFz0MynJk8OWNuUnXct/9KCpKU7DgU3bYMJhwWmcqC0UU29p8Lr0/7KEVcaM6bf47Q==} + cpu: [x64] + os: [win32] + + '@simonwep/pickr@1.8.2': + resolution: {integrity: sha512-/l5w8BIkrpP6n1xsetx9MWPWlU6OblN5YgZZphxan0Tq4BByTCETL6lyIeY8lagalS2Nbt4F2W034KHLIiunKA==} + + '@sinclair/typebox@0.27.8': + resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} + + '@sindresorhus/merge-streams@2.3.0': + resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==} + engines: {node: '>=18'} + + '@stylistic/eslint-plugin@2.8.0': + resolution: {integrity: sha512-Ufvk7hP+bf+pD35R/QfunF793XlSRIC7USr3/EdgduK9j13i2JjmsM0LUz3/foS+jDYp2fzyWZA9N44CPur0Ow==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: '>=8.40.0' + + '@tootallnate/once@2.0.0': + resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==} + engines: {node: '>= 10'} + + '@tsconfig/node10@1.0.11': + resolution: {integrity: sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw==} + + '@tsconfig/node12@1.0.11': + resolution: {integrity: sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==} + + '@tsconfig/node14@1.0.3': + resolution: {integrity: sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==} + + '@tsconfig/node16@1.0.4': + resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==} + + '@turf/bbox-polygon@6.5.0': + resolution: {integrity: sha512-+/r0NyL1lOG3zKZmmf6L8ommU07HliP4dgYToMoTxqzsWzyLjaj/OzgQ8rBmv703WJX+aS6yCmLuIhYqyufyuw==} + + '@turf/bbox@6.5.0': + resolution: {integrity: sha512-RBbLaao5hXTYyyg577iuMtDB8ehxMlUqHEJiMs8jT1GHkFhr6sYre3lmLsPeYEi/ZKj5TP5tt7fkzNdJ4GIVyw==} + + '@turf/clone@6.5.0': + resolution: {integrity: sha512-mzVtTFj/QycXOn6ig+annKrM6ZlimreKYz6f/GSERytOpgzodbQyOgkfwru100O1KQhhjSudKK4DsQ0oyi9cTw==} + + '@turf/helpers@6.5.0': + resolution: {integrity: sha512-VbI1dV5bLFzohYYdgqwikdMVpe7pJ9X3E+dlr425wa2/sMJqYDhTO++ec38/pcPvPE6oD9WEEeU3Xu3gza+VPw==} + + '@turf/invariant@6.5.0': + resolution: {integrity: sha512-Wv8PRNCtPD31UVbdJE/KVAWKe7l6US+lJItRR/HOEW3eh+U/JwRCSUl/KZ7bmjM/C+zLNoreM2TU6OoLACs4eg==} + + '@turf/meta@6.5.0': + resolution: {integrity: sha512-RrArvtsV0vdsCBegoBtOalgdSOfkBrTJ07VkpiCnq/491W67hnMWmDu7e6Ztw0C3WldRYTXkg3SumfdzZxLBHA==} + + '@turf/polygon-to-line@6.5.0': + resolution: {integrity: sha512-5p4n/ij97EIttAq+ewSnKt0ruvuM+LIDzuczSzuHTpq4oS7Oq8yqg5TQ4nzMVuK41r/tALCk7nAoBuw3Su4Gcw==} + + '@turf/union@6.5.0': + resolution: {integrity: sha512-igYWCwP/f0RFHIlC2c0SKDuM/ObBaqSljI3IdV/x71805QbIvY/BYGcJdyNcgEA6cylIGl/0VSlIbpJHZ9ldhw==} + + '@types/chai-subset@1.3.5': + resolution: {integrity: sha512-c2mPnw+xHtXDoHmdtcCXGwyLMiauiAyxWMzhGpqHC4nqI/Y5G2XhTampslK2rb59kpcuHon03UH8W6iYUzw88A==} + + '@types/chai@4.3.19': + resolution: {integrity: sha512-2hHHvQBVE2FiSK4eN0Br6snX9MtolHaTo/batnLjlGRhoQzlCL61iVpxoqO7SfFyOw+P/pwv+0zNHzKoGWz9Cw==} + + '@types/d3-timer@2.0.3': + resolution: {integrity: sha512-jhAJzaanK5LqyLQ50jJNIrB8fjL9gwWZTgYjevPvkDLMU+kTAZkYsobI59nYoeSrH1PucuyJEi247Pb90t6XUg==} + + '@types/eslint@9.6.1': + resolution: {integrity: sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==} + + '@types/estree@1.0.5': + resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} + + '@types/estree@1.0.6': + resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==} + + '@types/fs-extra@11.0.4': + resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==} + + '@types/geojson@7946.0.14': + resolution: {integrity: sha512-WCfD5Ht3ZesJUsONdhvm84dmzWOiOzOAqOncN0++w0lBw1o8OuDNJF2McvvCef/yBqb/HYRahp1BYtODFQ8bRg==} + + '@types/http-proxy@1.17.15': + resolution: {integrity: sha512-25g5atgiVNTIv0LBDTg1H74Hvayx0ajtJPLLcYE3whFv75J0pWNtOBzaXJQgDTmrX1bx5U9YC2w/n65BN1HwRQ==} + + '@types/json-schema@7.0.15': + resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + + '@types/jsonfile@6.1.4': + resolution: {integrity: sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==} + + '@types/lodash-es@4.17.12': + resolution: {integrity: sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ==} + + '@types/lodash@4.17.7': + resolution: {integrity: sha512-8wTvZawATi/lsmNu10/j2hk1KEP0IvjubqPE3cu1Xz7xfXXt5oCq3SNUz4fMIP4XGF9Ky+Ue2tBA3hcS7LSBlA==} + + '@types/mapbox__point-geometry@0.1.4': + resolution: {integrity: sha512-mUWlSxAmYLfwnRBmgYV86tgYmMIICX4kza8YnE/eIlywGe2XoOxlpVnXWwir92xRLjwyarqwpu2EJKD2pk0IUA==} + + '@types/mapbox__vector-tile@1.3.4': + resolution: {integrity: sha512-bpd8dRn9pr6xKvuEBQup8pwQfD4VUyqO/2deGjfpe6AwC8YRlyEipvefyRJUSiCJTZuCb8Pl1ciVV5ekqJ96Bg==} + + '@types/mdast@3.0.15': + resolution: {integrity: sha512-LnwD+mUEfxWMa1QpDraczIn6k0Ee3SMicuYSSzS6ZYl2gKS09EClnJYGd8Du6rfc5r/GZEk5o1mRb8TaTj03sQ==} + + '@types/minimist@1.2.5': + resolution: {integrity: sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==} + + '@types/node@20.16.5': + resolution: {integrity: sha512-VwYCweNo3ERajwy0IUlqqcyZ8/A7Zwa9ZP3MnENWcB11AejO+tLy3pu850goUW2FC/IJMdZUfKpX/yxL1gymCA==} + + '@types/normalize-package-data@2.4.4': + resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} + + '@types/parse-json@4.0.2': + resolution: {integrity: sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==} + + '@types/pbf@3.0.5': + resolution: {integrity: sha512-j3pOPiEcWZ34R6a6mN07mUkM4o4Lwf6hPNt8eilOeZhTFbxFXmKhvXl9Y28jotFPaI1bpPDJsbCprUoNke6OrA==} + + '@types/resolve@1.20.2': + resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==} + + '@types/supercluster@7.1.3': + resolution: {integrity: sha512-Z0pOY34GDFl3Q6hUFYf3HkTwKEE02e7QgtJppBt+beEAxnyOpJua+voGFvxINBHa06GwLFFym7gRPY2SiKIfIA==} + + '@types/treeify@1.0.3': + resolution: {integrity: sha512-hx0o7zWEUU4R2Amn+pjCBQQt23Khy/Dk56gQU5xi5jtPL1h83ACJCeFaB2M/+WO1AntvWrSoVnnCAfI1AQH4Cg==} + + '@types/unist@2.0.11': + resolution: {integrity: sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==} + + '@types/web-bluetooth@0.0.20': + resolution: {integrity: sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==} + + '@typescript-eslint/eslint-plugin@8.6.0': + resolution: {integrity: sha512-UOaz/wFowmoh2G6Mr9gw60B1mm0MzUtm6Ic8G2yM1Le6gyj5Loi/N+O5mocugRGY+8OeeKmkMmbxNqUCq3B4Sg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 + eslint: ^8.57.0 || ^9.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + + '@typescript-eslint/parser@8.6.0': + resolution: {integrity: sha512-eQcbCuA2Vmw45iGfcyG4y6rS7BhWfz9MQuk409WD47qMM+bKCGQWXxvoOs1DUp+T7UBMTtRTVT+kXr7Sh4O9Ow==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + + '@typescript-eslint/scope-manager@8.6.0': + resolution: {integrity: sha512-ZuoutoS5y9UOxKvpc/GkvF4cuEmpokda4wRg64JEia27wX+PysIE9q+lzDtlHHgblwUWwo5/Qn+/WyTUvDwBHw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@typescript-eslint/type-utils@8.6.0': + resolution: {integrity: sha512-dtePl4gsuenXVwC7dVNlb4mGDcKjDT/Ropsk4za/ouMBPplCLyznIaR+W65mvCvsyS97dymoBRrioEXI7k0XIg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + + '@typescript-eslint/types@8.6.0': + resolution: {integrity: sha512-rojqFZGd4MQxw33SrOy09qIDS8WEldM8JWtKQLAjf/X5mGSeEFh5ixQlxssMNyPslVIk9yzWqXCsV2eFhYrYUw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@typescript-eslint/typescript-estree@8.6.0': + resolution: {integrity: sha512-MOVAzsKJIPIlLK239l5s06YXjNqpKTVhBVDnqUumQJja5+Y94V3+4VUFRA0G60y2jNnTVwRCkhyGQpavfsbq/g==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + + '@typescript-eslint/utils@8.6.0': + resolution: {integrity: sha512-eNp9cWnYf36NaOVjkEUznf6fEgVy1TWpE0o52e4wtojjBx7D1UV2WAWGzR+8Y5lVFtpMLPwNbC67T83DWSph4A==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + + '@typescript-eslint/visitor-keys@8.6.0': + resolution: {integrity: sha512-wapVFfZg9H0qOYh4grNVQiMklJGluQrOUiOhYRrQWhx7BY/+I1IYb8BczWNbbUpO+pqy0rDciv3lQH5E1bCLrg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@ungap/structured-clone@1.2.0': + resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} + + '@unocss/astro@0.57.7': + resolution: {integrity: sha512-X4KSBdrAADdtS4x7xz02b016xpRDt9mD/d/oq23HyZAZ+sZc4oZs8el9MLSUJgu2okdWzAE62lRRV/oc4HWI1A==} + peerDependencies: + vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 + peerDependenciesMeta: + vite: + optional: true + + '@unocss/cli@0.57.7': + resolution: {integrity: sha512-FZHTTBYyibySpBEPbA/ilDzI4v4Uy/bROItEYogZkpXNoCLzlclX+UcuFBXXLt6VFJk4WjLNFLRSQlVcCUUOLA==} + engines: {node: '>=14'} + hasBin: true + + '@unocss/config@0.57.7': + resolution: {integrity: sha512-UG8G9orWEdk/vyDvGUToXYn/RZy/Qjpx66pLsaf5wQK37hkYsBoReAU5v8Ia/6PL1ueJlkcNXLaNpN6/yVoJvg==} + engines: {node: '>=14'} + + '@unocss/core@0.57.7': + resolution: {integrity: sha512-1d36M0CV3yC80J0pqOa5rH1BX6g2iZdtKmIb3oSBN4AWnMCSrrJEPBrUikyMq2TEQTrYWJIVDzv5A9hBUat3TA==} + + '@unocss/core@0.62.4': + resolution: {integrity: sha512-Cc+Vo6XlaQpyVejkJrrzzWtiK9pgMWzVVBpm9VCVtwZPUjD4GSc+g7VQCPXSsr7m03tmSuRySJx72QcASmauNQ==} + + '@unocss/extractor-arbitrary-variants@0.57.7': + resolution: {integrity: sha512-JdyhPlsgS0x4zoF8WYXDcusPcpU4ysE6Rkkit4a9+xUZEvg7vy7InH6PQ8dL8B9oY7pbxF7G6eFguUDpv9xx4Q==} + + '@unocss/extractor-arbitrary-variants@0.62.4': + resolution: {integrity: sha512-e4hJfBMyFr6T6dYSTTjNv9CQwaU1CVEKxDlYP0GpfSgxsV58pguID9j1mt0/XZD6LvEDzwxj9RTRWKpUSWqp+Q==} + + '@unocss/inspector@0.57.7': + resolution: {integrity: sha512-b9ckqn5aRsmhTdXJ5cPMKDKuNRe+825M+s9NbYcTjENnP6ellUFZo91sYF5S+LeATmU12TcwJZ83NChF4HpBSA==} + + '@unocss/postcss@0.57.7': + resolution: {integrity: sha512-13c9p5ecTvYa6inDky++8dlVuxQ0JuKaKW5A0NW3XuJ3Uz1t8Pguji+NAUddfTYEFF6GHu47L3Aac7vpI8pMcQ==} + engines: {node: '>=14'} + peerDependencies: + postcss: ^8.4.21 + + '@unocss/preset-attributify@0.57.7': + resolution: {integrity: sha512-vUqfwUokNHt1FJXIuVyj2Xze9LfJdLAy62h79lNyyEISZmiDF4a4hWTKLBe0d6Kyfr33DyXMmkLp57t5YW0V3A==} + + '@unocss/preset-icons@0.57.7': + resolution: {integrity: sha512-s3AelKCS9CL1ArP1GanYv0XxxPrcFi+XOuQoQCwCRHDo2CiBEq3fLLMIhaUCFEWGtIy7o7wLeL5BRjMvJ2QnMg==} + + '@unocss/preset-mini@0.57.7': + resolution: {integrity: sha512-YPmmh+ZIg4J7/nPMfvzD1tOfUFD+8KEFXX9ISRteooflYeosn2YytGW66d/sq97AZos9N630FJ//DvPD2wfGwA==} + + '@unocss/preset-mini@0.62.4': + resolution: {integrity: sha512-1O+QpQFx7FT61aheAZEYemW5e4AGib8TFGm+rWLudKq2IBNnXHcS5xsq5QvqdC7rp9Dn3lnW5du6ijow5kCBuw==} + + '@unocss/preset-tagify@0.57.7': + resolution: {integrity: sha512-va25pTJ5OtbqCHFBIj8myVk0PwuSucUqTx840r/YSHka0P9th6UGRS1LU30OUgjgr7FhLaWXtJMN4gkCUtQSoA==} + + '@unocss/preset-typography@0.57.7': + resolution: {integrity: sha512-1QuoLhqHVRs+baaVvfH54JxmJhVuBp5jdVw3HCN/vXs1CSnq2Rm/C/+PahcnQg/KLtoW6MgK5S+/hU9TCxGRVQ==} + + '@unocss/preset-uno@0.57.7': + resolution: {integrity: sha512-yRKvRBaPLmDSUZet5WnV1WNb3BV4EFwvB1Zbvlc3lyVp6uCksP/SYlxuUwht7JefOrfiY2sGugoBxZTyGmj/kQ==} + + '@unocss/preset-web-fonts@0.57.7': + resolution: {integrity: sha512-wBPej5GeYb0D/xjMdMmpH6k/3Oe1ujx9DJys2/gtvl/rsBZpSkoWcnl+8Z3bAhooDnwL2gkJCIlpuDiRNtKvGA==} + + '@unocss/preset-wind@0.57.7': + resolution: {integrity: sha512-olQ6+w0fQ84eEC1t7SF4vJyKcyawkDWSRF5YufOqeQZL3zjqBzMQi+3PUlKCstrDO1DNZ3qdcwg1vPHRmuX9VA==} + + '@unocss/reset@0.57.7': + resolution: {integrity: sha512-oN9024WVrMewGbornnAPIpzHeKPIfVmZ5IsZGilWR761TnI5jTjHUkswsVoFx7tZdpCN2/bqS3JK/Ah0aot3NQ==} + + '@unocss/rule-utils@0.57.7': + resolution: {integrity: sha512-gLqbKTIetvRynLkhonu1znr+bmWnw+Cl3dFVNgZPGjiqGHd78PGS0gXQKvzuyN0iO2ADub1A7GlCWs826iEHjA==} + engines: {node: '>=14'} + + '@unocss/rule-utils@0.62.4': + resolution: {integrity: sha512-XUwLbLUzL+VSHCJNK5QBHC9RbFehumge1/XJmsRfmh0+oxgJoO1gvEvxi57gYEmdJdMRJHRJZ66se6+cB0Ymvw==} + engines: {node: '>=14'} + + '@unocss/scope@0.57.7': + resolution: {integrity: sha512-pqWbKXcrTJ2ovVRTYFLnUX5ryEhdSXp7YfyBQT3zLtQb4nQ2XZcLTvGdWo7F+9jZ09yP7NdHscBLkeWgx+mVgw==} + + '@unocss/transformer-attributify-jsx-babel@0.57.7': + resolution: {integrity: sha512-CqxTiT5ikOC6R/HNyBcCIVYUfeazqRbsw7X4hYKmGHO7QsnaKQFWZTpj+sSDRh3oHq+IDtcD6KB2anTEffEQNA==} + + '@unocss/transformer-attributify-jsx@0.57.7': + resolution: {integrity: sha512-FpCJM+jDN4Kyp7mMMN41tTWEq6pHKAXAyJoW1GwhYw6lLu9cwyXnne6t7rQ11EPU95Z2cIEMpIJo8reDkDaiPg==} + + '@unocss/transformer-compile-class@0.57.7': + resolution: {integrity: sha512-D+PyD7IOXUm/lzzoCt/yon0Gh1fIK9iKeSBvB6/BREF/ejscNzQ/ia0Pq0pid2cVvOULCSo0z2sO9zljsQtv9A==} + + '@unocss/transformer-directives@0.57.7': + resolution: {integrity: sha512-m0n7WqU3o+1Vyh1uaeU7H4u5gJqakkRqZqTq3MR3xLCSVfORJ/5XO8r+t6VUkJtaLxcIrtYE2geAbwmGV3zSKA==} + + '@unocss/transformer-variant-group@0.57.7': + resolution: {integrity: sha512-O5L5Za0IZtOWd2R66vy0k07pLlB9rCIybmUommUqKWpvd1n/pg8czQ5EkmNDprINvinKObVlGVuY4Uq/JsLM0A==} + + '@unocss/vite@0.57.7': + resolution: {integrity: sha512-SbJrRgfc35MmgMBlHaEK4YpJVD2B0bmxH9PVgHRuDae/hOEOG0VqNP0f2ijJtX9HG3jOpQVlbEoGnUo8jsZtsw==} + peerDependencies: + vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 + + '@v-c/utils@0.0.26': + resolution: {integrity: sha512-ClcZxr/DMNHe578gExOOzR54gQgniKA0Ltbm7W5lfw5VwSwx5wdsD4qp5530PmAVacDqyPMWWL1zBKx+ZeuATQ==} + + '@vercel/nft@0.26.5': + resolution: {integrity: sha512-NHxohEqad6Ra/r4lGknO52uc/GrWILXAMs1BB4401GTqww0fw1bAqzpG1XHuDO+dprg4GvsD9ZLLSsdo78p9hQ==} + engines: {node: '>=16'} + hasBin: true + + '@vitejs/plugin-vue-jsx@3.1.0': + resolution: {integrity: sha512-w9M6F3LSEU5kszVb9An2/MmXNxocAnUb3WhRr8bHlimhDrXNt6n6D2nJQR3UXpGlZHh/EsgouOHCsM8V3Ln+WA==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + vite: ^4.0.0 || ^5.0.0 + vue: ^3.0.0 + + '@vitejs/plugin-vue@5.1.4': + resolution: {integrity: sha512-N2XSI2n3sQqp5w7Y/AN/L2XDjBIRGqXko+eDp42sydYSBeJuSm5a1sLf8zakmo8u7tA8NmBgoDLA1HeOESjp9A==} + engines: {node: ^18.0.0 || >=20.0.0} + peerDependencies: + vite: ^5.0.0 + vue: ^3.2.25 + + '@vitest/eslint-plugin@1.1.4': + resolution: {integrity: sha512-kudjgefmJJ7xQ2WfbUU6pZbm7Ou4gLYRaao/8Ynide3G0QhVKHd978sDyWX4KOH0CCMH9cyrGAkFd55eGzJ48Q==} + peerDependencies: + '@typescript-eslint/utils': '>= 8.0' + eslint: '>= 8.57.0' + typescript: '>= 5.0.0' + vitest: '*' + peerDependenciesMeta: + '@typescript-eslint/utils': + optional: true + typescript: + optional: true + vitest: + optional: true + + '@vitest/expect@0.34.6': + resolution: {integrity: sha512-QUzKpUQRc1qC7qdGo7rMK3AkETI7w18gTCUrsNnyjjJKYiuUB9+TQK3QnR1unhCnWRC0AbKv2omLGQDF/mIjOw==} + + '@vitest/runner@0.34.6': + resolution: {integrity: sha512-1CUQgtJSLF47NnhN+F9X2ycxUP0kLHQ/JWvNHbeBfwW8CzEGgeskzNnHDyv1ieKTltuR6sdIHV+nmR6kPxQqzQ==} + + '@vitest/snapshot@0.34.6': + resolution: {integrity: sha512-B3OZqYn6k4VaN011D+ve+AA4whM4QkcwcrwaKwAbyyvS/NB1hCWjFIBQxAQQSQir9/RtyAAGuq+4RJmbn2dH4w==} + + '@vitest/spy@0.34.6': + resolution: {integrity: sha512-xaCvneSaeBw/cz8ySmF7ZwGvL0lBjfvqc1LpQ/vcdHEvpLn3Ff1vAvjw+CoGn0802l++5L/pxb7whwcWAw+DUQ==} + + '@vitest/utils@0.34.6': + resolution: {integrity: sha512-IG5aDD8S6zlvloDsnzHw0Ut5xczlF+kv2BOTo+iXfPr54Yhi5qbVOgGB1hZaVq4iJ4C/MZ2J0y15IlsV/ZcI0A==} + + '@volar/language-core@2.4.5': + resolution: {integrity: sha512-F4tA0DCO5Q1F5mScHmca0umsi2ufKULAnMOVBfMsZdT4myhVl4WdKRwCaKcfOkIEuyrAVvtq1ESBdZ+rSyLVww==} + + '@volar/source-map@2.4.5': + resolution: {integrity: sha512-varwD7RaKE2J/Z+Zu6j3mNNJbNT394qIxXwdvz/4ao/vxOfyClZpSDtLKkwWmecinkOVos5+PWkWraelfMLfpw==} + + '@volar/typescript@2.4.5': + resolution: {integrity: sha512-mcT1mHvLljAEtHviVcBuOyAwwMKz1ibXTi5uYtP/pf4XxoAzpdkQ+Br2IC0NPCvLCbjPZmbf3I0udndkfB1CDg==} + + '@vue/babel-helper-vue-transform-on@1.2.5': + resolution: {integrity: sha512-lOz4t39ZdmU4DJAa2hwPYmKc8EsuGa2U0L9KaZaOJUt0UwQNjNA3AZTq6uEivhOKhhG1Wvy96SvYBoFmCg3uuw==} + + '@vue/babel-plugin-jsx@1.2.5': + resolution: {integrity: sha512-zTrNmOd4939H9KsRIGmmzn3q2zvv1mjxkYZHgqHZgDrXz5B1Q3WyGEjO2f+JrmKghvl1JIRcvo63LgM1kH5zFg==} + peerDependencies: + '@babel/core': ^7.0.0-0 + peerDependenciesMeta: + '@babel/core': + optional: true + + '@vue/babel-plugin-resolve-type@1.2.5': + resolution: {integrity: sha512-U/ibkQrf5sx0XXRnUZD1mo5F7PkpKyTbfXM3a3rC4YnUz6crHEz9Jg09jzzL6QYlXNto/9CePdOg/c87O4Nlfg==} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@vue/compiler-core@3.5.8': + resolution: {integrity: sha512-Uzlxp91EPjfbpeO5KtC0KnXPkuTfGsNDeaKQJxQN718uz+RqDYarEf7UhQJGK+ZYloD2taUbHTI2J4WrUaZQNA==} + + '@vue/compiler-dom@3.5.8': + resolution: {integrity: sha512-GUNHWvoDSbSa5ZSHT9SnV5WkStWfzJwwTd6NMGzilOE/HM5j+9EB9zGXdtu/fCNEmctBqMs6C9SvVPpVPuk1Eg==} + + '@vue/compiler-sfc@3.5.8': + resolution: {integrity: sha512-taYpngQtSysrvO9GULaOSwcG5q821zCoIQBtQQSx7Uf7DxpR6CIHR90toPr9QfDD2mqHQPCSgoWBvJu0yV9zjg==} + + '@vue/compiler-ssr@3.5.8': + resolution: {integrity: sha512-W96PtryNsNG9u0ZnN5Q5j27Z/feGrFV6zy9q5tzJVyJaLiwYxvC0ek4IXClZygyhjm+XKM7WD9pdKi/wIRVC/Q==} + + '@vue/compiler-vue2@2.7.16': + resolution: {integrity: sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A==} + + '@vue/devtools-api@6.6.4': + resolution: {integrity: sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==} + + '@vue/language-core@2.1.6': + resolution: {integrity: sha512-MW569cSky9R/ooKMh6xa2g1D0AtRKbL56k83dzus/bx//RDJk24RHWkMzbAlXjMdDNyxAaagKPRquBIxkxlCkg==} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + + '@vue/reactivity@3.5.8': + resolution: {integrity: sha512-mlgUyFHLCUZcAYkqvzYnlBRCh0t5ZQfLYit7nukn1GR96gc48Bp4B7OIcSfVSvlG1k3BPfD+p22gi1t2n9tsXg==} + + '@vue/runtime-core@3.5.8': + resolution: {integrity: sha512-fJuPelh64agZ8vKkZgp5iCkPaEqFJsYzxLk9vSC0X3G8ppknclNDr61gDc45yBGTaN5Xqc1qZWU3/NoaBMHcjQ==} + + '@vue/runtime-dom@3.5.8': + resolution: {integrity: sha512-DpAUz+PKjTZPUOB6zJgkxVI3GuYc2iWZiNeeHQUw53kdrparSTG6HeXUrYDjaam8dVsCdvQxDz6ZWxnyjccUjQ==} + + '@vue/server-renderer@3.5.8': + resolution: {integrity: sha512-7AmC9/mEeV9mmXNVyUIm1a1AjUhyeeGNbkLh39J00E7iPeGks8OGRB5blJiMmvqSh8SkaS7jkLWSpXtxUCeagA==} + peerDependencies: + vue: 3.5.8 + + '@vue/shared@3.5.8': + resolution: {integrity: sha512-mJleSWbAGySd2RJdX1RBtcrUBX6snyOc0qHpgk3lGi4l9/P/3ny3ELqFWqYdkXIwwNN/kdm8nD9ky8o6l/Lx2A==} + + '@vue/test-utils@2.4.6': + resolution: {integrity: sha512-FMxEjOpYNYiFe0GkaHsnJPXFHxQ6m4t8vI/ElPGpMWxZKpmRvQ33OIrvRXemy6yha03RxhOlQuy+gZMC3CQSow==} + + '@vueuse/core@10.11.1': + resolution: {integrity: sha512-guoy26JQktXPcz+0n3GukWIy/JDNKti9v6VEMu6kV2sYBsWuGiTU8OWdg+ADfUbHg3/3DlqySDe7JmdHrktiww==} + + '@vueuse/metadata@10.11.1': + resolution: {integrity: sha512-IGa5FXd003Ug1qAZmyE8wF3sJ81xGLSqTqtQ6jaVfkeZ4i5kS2mwQF61yhVqojRnenVew5PldLyRgvdl4YYuSw==} + + '@vueuse/shared@10.11.1': + resolution: {integrity: sha512-LHpC8711VFZlDaYUXEBbFBCQ7GS3dVU9mjOhhMhXP6txTV4EhYQg/KGnQuvt/sPAtoUKq7VVUnL6mVtFoL42sA==} + + '@webgpu/types@0.1.46': + resolution: {integrity: sha512-2iogO6Zh0pTbKLGZuuGWEmJpF/fTABGs7G9wXxpn7s24XSJchSUIiMqIJHURi5zsMZRRTuXrV/3GLOkmOFjq5w==} + + JSONStream@1.3.5: + resolution: {integrity: sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==} + hasBin: true + + abab@2.0.6: + resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==} + deprecated: Use your platform's native atob() and btoa() methods instead + + abbrev@1.1.1: + resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==} + + abbrev@2.0.0: + resolution: {integrity: sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + + abort-controller@3.0.0: + resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==} + engines: {node: '>=6.5'} + + acorn-import-attributes@1.9.5: + resolution: {integrity: sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==} + peerDependencies: + acorn: ^8 + + acorn-jsx@5.3.2: + resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} + peerDependencies: + acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 + + acorn-walk@8.3.4: + resolution: {integrity: sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==} + engines: {node: '>=0.4.0'} + + acorn@8.12.1: + resolution: {integrity: sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==} + engines: {node: '>=0.4.0'} + hasBin: true + + agent-base@6.0.2: + resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} + engines: {node: '>= 6.0.0'} + + agent-base@7.1.1: + resolution: {integrity: sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==} + engines: {node: '>= 14'} + + ajv@6.12.6: + resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} + + ajv@8.17.1: + resolution: {integrity: sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==} + + align-text@0.1.4: + resolution: {integrity: sha512-GrTZLRpmp6wIC2ztrWW9MjjTgSKccffgFagbNDOX95/dcjEcYZibYTeaOntySQLcdw1ztBoFkviiUvTMbb9MYg==} + engines: {node: '>=0.10.0'} + + amdefine@1.0.1: + resolution: {integrity: sha512-S2Hw0TtNkMJhIabBwIojKL9YHO5T0n5eNqWJ7Lrlel/zDbftQpxpapi8tZs3X1HWa+u+QeydGmzzNU0m09+Rcg==} + engines: {node: '>=0.4.2'} + + ansi-colors@4.1.3: + resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==} + engines: {node: '>=6'} + + ansi-escapes@5.0.0: + resolution: {integrity: sha512-5GFMVX8HqE/TB+FuBJGuO5XG0WrsA6ptUqoODaT/n9mmUaZFkqnBueB4leqGBCmrUHnCnC4PCZTCd0E7QQ83bA==} + engines: {node: '>=12'} + + ansi-regex@2.1.1: + resolution: {integrity: sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==} + engines: {node: '>=0.10.0'} + + ansi-regex@5.0.1: + resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} + engines: {node: '>=8'} + + ansi-regex@6.1.0: + resolution: {integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==} + engines: {node: '>=12'} + + ansi-styles@2.2.1: + resolution: {integrity: sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==} + engines: {node: '>=0.10.0'} + + ansi-styles@3.2.1: + resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} + engines: {node: '>=4'} + + ansi-styles@4.3.0: + resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} + engines: {node: '>=8'} + + ansi-styles@5.2.0: + resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} + engines: {node: '>=10'} + + ansi-styles@6.2.1: + resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} + engines: {node: '>=12'} + + ant-design-vue@4.2.6: + resolution: {integrity: sha512-t7eX13Yj3i9+i5g9lqFyYneoIb3OzTvQjq9Tts1i+eiOd3Eva/6GagxBSXM1fOCjqemIu0FYVE1ByZ/38epR3Q==} + engines: {node: '>=12.22.0'} + peerDependencies: + vue: '>=3.2.0' + + antdv-component-resolver@1.0.7: + resolution: {integrity: sha512-U2lBBbS6b0r4ZNIYLt1L5lHS7FtJGLv1uWXCmCac5RMOqZ5PbH1HxuGVo5K0IlusjbYUkae9QtOa3xH5WLcbHQ==} + peerDependencies: + unplugin-vue-components: ^0.26.0 + + antdv-style@0.0.1-beta.2: + resolution: {integrity: sha512-cS8oueUqkVP8hb1Ra6OJKosM2hSGhphWt5BbqdmtAKu+imnTECXUN7SNgumvoM8lXakZEWbQvh3fbbxPQVJD1Q==} + peerDependencies: + vue: ^3.0 + + anymatch@3.1.3: + resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} + engines: {node: '>= 8'} + + aproba@2.0.0: + resolution: {integrity: sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==} + + archiver-utils@5.0.2: + resolution: {integrity: sha512-wuLJMmIBQYCsGZgYLTy5FIB2pF6Lfb6cXMSF8Qywwk3t20zWnAi7zLcQFdKQmIB8wyZpY5ER38x08GbwtR2cLA==} + engines: {node: '>= 14'} + + archiver@7.0.1: + resolution: {integrity: sha512-ZcbTaIqJOfCc03QwD468Unz/5Ir8ATtvAHsK+FdXbDIbGfihqh9mrvdcYunQzqn4HrvWWaFyaxJhGZagaJJpPQ==} + engines: {node: '>= 14'} + + are-docs-informative@0.0.2: + resolution: {integrity: sha512-ixiS0nLNNG5jNQzgZJNoUpBKdo9yTYZMGJ+QgT2jmjR7G7+QHRCc4v6LQ3NgE7EBJq+o0ams3waJwkrlBom8Ig==} + engines: {node: '>=14'} + + are-we-there-yet@2.0.0: + resolution: {integrity: sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==} + engines: {node: '>=10'} + deprecated: This package is no longer supported. + + arg@4.1.3: + resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} + + argparse@2.0.1: + resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} + + arr-union@3.1.0: + resolution: {integrity: sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q==} + engines: {node: '>=0.10.0'} + + array-back@3.1.0: + resolution: {integrity: sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q==} + engines: {node: '>=6'} + + array-back@4.0.2: + resolution: {integrity: sha512-NbdMezxqf94cnNfWLL7V/im0Ub+Anbb0IoZhvzie8+4HJ4nMQuzHuy49FkGYCJK2yAloZ3meiB6AVMClbrI1vg==} + engines: {node: '>=8'} + + array-buffer-byte-length@1.0.1: + resolution: {integrity: sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==} + engines: {node: '>= 0.4'} + + array-ify@1.0.0: + resolution: {integrity: sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==} + + array-tree-filter@2.1.0: + resolution: {integrity: sha512-4ROwICNlNw/Hqa9v+rk5h22KjmzB1JGTMVKP2AKJBOCgb0yL0ASf0+YvCcLNNwquOHNX48jkeZIJ3a+oOQqKcw==} + + arraybuffer.prototype.slice@1.0.3: + resolution: {integrity: sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==} + engines: {node: '>= 0.4'} + + arrify@1.0.1: + resolution: {integrity: sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==} + engines: {node: '>=0.10.0'} + + as-number@1.0.0: + resolution: {integrity: sha512-HkI/zLo2AbSRO4fqVkmyf3hms0bJDs3iboHqTrNuwTiCRvdYXM7HFhfhB6Dk51anV2LM/IMB83mtK9mHw4FlAg==} + + assertion-error@1.1.0: + resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} + + assign-symbols@1.0.0: + resolution: {integrity: sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw==} + engines: {node: '>=0.10.0'} + + async-sema@3.1.1: + resolution: {integrity: sha512-tLRNUXati5MFePdAk8dw7Qt7DpxPB60ofAgn8WRhW6a2rcimZnYBP9oxHiv0OHy+Wz7kPMG+t4LGdt31+4EmGg==} + + async-validator@4.2.5: + resolution: {integrity: sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==} + + async@3.2.6: + resolution: {integrity: sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==} + + asynckit@0.4.0: + resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} + + available-typed-arrays@1.0.7: + resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} + engines: {node: '>= 0.4'} + + axios@1.7.7: + resolution: {integrity: sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==} + + b4a@1.6.6: + resolution: {integrity: sha512-5Tk1HLk6b6ctmjIkAcU/Ujv/1WqiDl0F0JdRCR80VsOcUlHcu7pWeWRlOqQLHfDEsVx9YH/aif5AG4ehoCtTmg==} + + babel-plugin-macros@3.1.0: + resolution: {integrity: sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==} + engines: {node: '>=10', npm: '>=6'} + + balanced-match@1.0.2: + resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + + bare-events@2.4.2: + resolution: {integrity: sha512-qMKFd2qG/36aA4GwvKq8MxnPgCQAmBWmSyLWsJcbn8v03wvIPQ/hG1Ms8bPzndZxMDoHpxez5VOS+gC9Yi24/Q==} + + base64-js@1.5.1: + resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} + + batch-processor@1.0.0: + resolution: {integrity: sha512-xoLQD8gmmR32MeuBHgH0Tzd5PuSZx71ZsbhVxOCRbgktZEPe4SQy7s9Z50uPp0F/f7iw2XmkHN2xkgbMfckMDA==} + + binary-extensions@2.3.0: + resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==} + engines: {node: '>=8'} + + bindings@1.5.0: + resolution: {integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==} + + bl@5.1.0: + resolution: {integrity: sha512-tv1ZJHLfTDnXE6tMHv73YgSJaWR2AFuPwMntBe7XL/GBFHnT0CLnsHMogfk5+GzCDC5ZWarSCYaIGATZt9dNsQ==} + + boolbase@1.0.0: + resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==} + + brace-expansion@1.1.11: + resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} + + brace-expansion@2.0.1: + resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} + + braces@3.0.3: + resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} + engines: {node: '>=8'} + + browserslist@4.23.3: + resolution: {integrity: sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + + buffer-crc32@1.0.0: + resolution: {integrity: sha512-Db1SbgBS/fg/392AblrMJk97KggmvYhr4pB5ZIMTWtaivCPMWLkmb7m21cJvpvgK+J3nsU2CmmixNBZx4vFj/w==} + engines: {node: '>=8.0.0'} + + buffer-from@0.1.2: + resolution: {integrity: sha512-RiWIenusJsmI2KcvqQABB83tLxCByE3upSP8QU3rJDMVFGPWLvPQJt/O1Su9moRWeH7d+Q2HYb68f6+v+tw2vg==} + + buffer-from@1.1.2: + resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} + + buffer@6.0.3: + resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==} + + builtin-modules@3.3.0: + resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} + engines: {node: '>=6'} + + bundle-name@4.1.0: + resolution: {integrity: sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==} + engines: {node: '>=18'} + + bytewise-core@1.2.3: + resolution: {integrity: sha512-nZD//kc78OOxeYtRlVk8/zXqTB4gf/nlguL1ggWA8FuchMyOxcyHR4QPQZMUmA7czC+YnaBrPUCubqAWe50DaA==} + + bytewise@1.1.0: + resolution: {integrity: sha512-rHuuseJ9iQ0na6UDhnrRVDh8YnWVlU6xM3VH6q/+yHDeUH2zIhUzP+2/h3LIrhLDBtTqzWpE3p3tP/boefskKQ==} + + c12@1.11.2: + resolution: {integrity: sha512-oBs8a4uvSDO9dm8b7OCFW7+dgtVrwmwnrVXYzLm43ta7ep2jCn/0MhoUFygIWtxhyy6+/MG7/agvpY0U1Iemew==} + peerDependencies: + magicast: ^0.3.4 + peerDependenciesMeta: + magicast: + optional: true + + cac@6.7.14: + resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} + engines: {node: '>=8'} + + call-bind@1.0.7: + resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==} + engines: {node: '>= 0.4'} + + callsites@3.1.0: + resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} + engines: {node: '>=6'} + + camelcase-keys@6.2.2: + resolution: {integrity: sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==} + engines: {node: '>=8'} + + camelcase@1.2.1: + resolution: {integrity: sha512-wzLkDa4K/mzI1OSITC+DUyjgIl/ETNHE9QvYgy6J6Jvqyyz4C0Xfd+lQhb19sX2jMpZV4IssUn0VDVmglV+s4g==} + engines: {node: '>=0.10.0'} + + camelcase@5.3.1: + resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} + engines: {node: '>=6'} + + caniuse-lite@1.0.30001662: + resolution: {integrity: sha512-sgMUVwLmGseH8ZIrm1d51UbrhqMCH3jvS7gF/M6byuHOnKyLOBL7W8yz5V02OHwgLGA36o/AFhWzzh4uc5aqTA==} + + center-align@0.1.3: + resolution: {integrity: sha512-Baz3aNe2gd2LP2qk5U+sDk/m4oSuwSDcBfayTCTBoWpfIGO5XFxPmjILQII4NGiZjD6DoDI6kf7gKaxkf7s3VQ==} + engines: {node: '>=0.10.0'} + + chai@4.5.0: + resolution: {integrity: sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==} + engines: {node: '>=4'} + + chalk@1.1.3: + resolution: {integrity: sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==} + engines: {node: '>=0.10.0'} + + chalk@2.4.2: + resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} + engines: {node: '>=4'} + + chalk@4.1.2: + resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} + engines: {node: '>=10'} + + chalk@5.3.0: + resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==} + engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} + + changelogen@0.5.7: + resolution: {integrity: sha512-cTZXBcJMl3pudE40WENOakXkcVtrbBpbkmSkM20NdRiUqa4+VYRdXdEsgQ0BNQ6JBE2YymTNWtPKVF7UCTN5+g==} + hasBin: true + + character-entities-legacy@1.1.4: + resolution: {integrity: sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==} + + character-entities@1.2.4: + resolution: {integrity: sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==} + + character-reference-invalid@1.1.4: + resolution: {integrity: sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==} + + check-error@1.0.3: + resolution: {integrity: sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==} + + chokidar@3.6.0: + resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} + engines: {node: '>= 8.10.0'} + + chownr@2.0.0: + resolution: {integrity: sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==} + engines: {node: '>=10'} + + ci-info@4.0.0: + resolution: {integrity: sha512-TdHqgGf9odd8SXNuxtUBVx8Nv+qZOejE6qyqiy5NtbYYQOeFa6zmHkxlPzmaLxWWHsU6nJmB7AETdVPi+2NBUg==} + engines: {node: '>=8'} + + citty@0.1.6: + resolution: {integrity: sha512-tskPPKEs8D2KPafUypv2gxwJP8h/OaJmC82QQGGDQcHvXX43xF2VDACcJVmZ0EuSxkpO9Kc4MlrA3q0+FG58AQ==} + + clean-regexp@1.0.0: + resolution: {integrity: sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw==} + engines: {node: '>=4'} + + cli-cursor@4.0.0: + resolution: {integrity: sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + cli-spinners@2.9.2: + resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==} + engines: {node: '>=6'} + + cli-truncate@3.1.0: + resolution: {integrity: sha512-wfOBkjXteqSnI59oPcJkcPl/ZmwvMMOj340qUIY1SKZCv0B9Cf4D4fAucRkIKQmsIuYK3x1rrgU7MeGRruiuiA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + clipboardy@4.0.0: + resolution: {integrity: sha512-5mOlNS0mhX0707P2I0aZ2V/cmHUEO/fL7VFLqszkhUsxt7RwnmrInf/eEQKlf5GzvYeHIjT+Ov1HRfNmymlG0w==} + engines: {node: '>=18'} + + cliui@2.1.0: + resolution: {integrity: sha512-GIOYRizG+TGoc7Wgc1LiOTLare95R3mzKgoln+Q/lE4ceiYH19gUpl0l0Ffq4lJDEf3FxujMe6IBfOCs7pfqNA==} + + cliui@8.0.1: + resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} + engines: {node: '>=12'} + + cluster-key-slot@1.1.2: + resolution: {integrity: sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==} + engines: {node: '>=0.10.0'} + + color-convert@1.9.3: + resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} + + color-convert@2.0.1: + resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} + engines: {node: '>=7.0.0'} + + color-name@1.1.3: + resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==} + + color-name@1.1.4: + resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + + color-support@1.1.3: + resolution: {integrity: sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==} + hasBin: true + + colorette@2.0.20: + resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==} + + combined-stream@1.0.8: + resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} + engines: {node: '>= 0.8'} + + command-line-args@5.2.1: + resolution: {integrity: sha512-H4UfQhZyakIjC74I9d34fGYDwk3XpSr17QhEd0Q3I9Xq1CETHo4Hcuo87WyWHpAF1aSLjLRf5lD9ZGX2qStUvg==} + engines: {node: '>=4.0.0'} + + command-line-usage@6.1.3: + resolution: {integrity: sha512-sH5ZSPr+7UStsloltmDh7Ce5fb8XPlHyoPzTpyyMuYCtervL65+ubVZ6Q61cFtFl62UyJlc8/JwERRbAFPUqgw==} + engines: {node: '>=8.0.0'} + + commander@10.0.1: + resolution: {integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==} + engines: {node: '>=14'} + + commander@11.0.0: + resolution: {integrity: sha512-9HMlXtt/BNoYr8ooyjjNRdIilOTkVJXB+GhxMTtOKwk0R4j4lS4NpjuqmRxroBfnfTSHQIHQB7wryHhXarNjmQ==} + engines: {node: '>=16'} + + commander@2.20.3: + resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} + + comment-parser@1.4.1: + resolution: {integrity: sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg==} + engines: {node: '>= 12.0.0'} + + commondir@1.0.1: + resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==} + + compare-func@2.0.0: + resolution: {integrity: sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==} + + compress-commons@6.0.2: + resolution: {integrity: sha512-6FqVXeETqWPoGcfzrXb37E50NP0LXT8kAMu5ooZayhWWdgEY4lBEEcbQNXtkuKQsGduxiIcI4gOTsxTmuq/bSg==} + engines: {node: '>= 14'} + + compute-scroll-into-view@1.0.20: + resolution: {integrity: sha512-UCB0ioiyj8CRjtrvaceBLqqhZCVP+1B8+NWQhmdsm0VXOJtobBCf1dBQmebCCo34qZmUwZfIH2MZLqNHazrfjg==} + + computeds@0.0.1: + resolution: {integrity: sha512-7CEBgcMjVmitjYo5q8JTJVra6X5mQ20uTThdK+0kR7UEaDrAWEQcRiBtWJzga4eRpP6afNwwLsX2SET2JhVB1Q==} + + concat-map@0.0.1: + resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + + confbox@0.1.7: + resolution: {integrity: sha512-uJcB/FKZtBMCJpK8MQji6bJHgu1tixKPxRLeGkNzBoOZzpnZUJm0jm2/sBDWcuBx1dYgxV4JU+g5hmNxCyAmdA==} + + config-chain@1.1.13: + resolution: {integrity: sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==} + + consola@3.2.3: + resolution: {integrity: sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ==} + engines: {node: ^14.18.0 || >=16.10.0} + + console-control-strings@1.1.0: + resolution: {integrity: sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==} + + contour_plot@0.0.1: + resolution: {integrity: sha512-Nil2HI76Xux6sVGORvhSS8v66m+/h5CwFkBJDO+U5vWaMdNC0yXNCsGDPbzPhvqOEU5koebhdEvD372LI+IyLw==} + + conventional-changelog-angular@7.0.0: + resolution: {integrity: sha512-ROjNchA9LgfNMTTFSIWPzebCwOGFdgkEq45EnvvrmSLvCtAw0HSmrCs7/ty+wAeYUZyNay0YMUNYFTRL72PkBQ==} + engines: {node: '>=16'} + + conventional-changelog-conventionalcommits@7.0.2: + resolution: {integrity: sha512-NKXYmMR/Hr1DevQegFB4MwfM5Vv0m4UIxKZTTYuD98lpTknaZlSRrDOG4X7wIXpGkfsYxZTghUN+Qq+T0YQI7w==} + engines: {node: '>=16'} + + conventional-commits-parser@5.0.0: + resolution: {integrity: sha512-ZPMl0ZJbw74iS9LuX9YIAiW8pfM5p3yh2o/NbXHbkFuZzY5jvdi5jFycEOkmBW5H5I7nA+D6f3UcsCLP2vvSEA==} + engines: {node: '>=16'} + hasBin: true + + convert-gitmoji@0.1.5: + resolution: {integrity: sha512-4wqOafJdk2tqZC++cjcbGcaJ13BZ3kwldf06PTiAQRAB76Z1KJwZNL1SaRZMi2w1FM9RYTgZ6QErS8NUl/GBmQ==} + + convert-source-map@1.9.0: + resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==} + + convert-source-map@2.0.0: + resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} + + cookie-es@1.2.2: + resolution: {integrity: sha512-+W7VmiVINB+ywl1HGXJXmrqkOhpKrIiVZV6tQuV54ZyQC7MMuBt81Vc336GMLoHBq5hV/F9eXgt5Mnx0Rha5Fg==} + + copy-anything@2.0.6: + resolution: {integrity: sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==} + + core-js-compat@3.38.1: + resolution: {integrity: sha512-JRH6gfXxGmrzF3tZ57lFx97YARxCXPaMzPo6jELZhv88pBH5VXpQ+y0znKGlFnzuaihqhLbefxSJxWJMPtfDzw==} + + core-js@3.38.1: + resolution: {integrity: sha512-OP35aUorbU3Zvlx7pjsFdu1rGNnD4pgw/CWoYzRY3t2EzoVT7shKHY1dlAy3f41cGIO7ZDPQimhGFTlEYkG/Hw==} + + core-util-is@1.0.3: + resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} + + cosmiconfig-typescript-loader@5.0.0: + resolution: {integrity: sha512-+8cK7jRAReYkMwMiG+bxhcNKiHJDM6bR9FD/nGBXOWdMLuYawjF5cGrtLilJ+LGd3ZjCXnJjR5DkfWPoIVlqJA==} + engines: {node: '>=v16'} + peerDependencies: + '@types/node': '*' + cosmiconfig: '>=8.2' + typescript: '>=4' + + cosmiconfig@7.1.0: + resolution: {integrity: sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==} + engines: {node: '>=10'} + + cosmiconfig@8.3.6: + resolution: {integrity: sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==} + engines: {node: '>=14'} + peerDependencies: + typescript: '>=4.9.5' + peerDependenciesMeta: + typescript: + optional: true + + crc-32@1.2.2: + resolution: {integrity: sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==} + engines: {node: '>=0.8'} + hasBin: true + + crc32-stream@6.0.0: + resolution: {integrity: sha512-piICUB6ei4IlTv1+653yq5+KoqfBYmj9bw6LqXoOneTMDXk5nM1qt12mFW1caG3LlJXEKW1Bp0WggEmIfQB34g==} + engines: {node: '>= 14'} + + create-require@1.1.1: + resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} + + croner@8.1.1: + resolution: {integrity: sha512-1VdUuRnQP4drdFkS8NKvDR1NBgevm8TOuflcaZEKsxw42CxonjW/2vkj1AKlinJb4ZLwBcuWF9GiPr7FQc6AQA==} + engines: {node: '>=18.0'} + + cross-env@7.0.3: + resolution: {integrity: sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==} + engines: {node: '>=10.14', npm: '>=6', yarn: '>=1'} + hasBin: true + + cross-spawn@6.0.5: + resolution: {integrity: sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==} + engines: {node: '>=4.8'} + + cross-spawn@7.0.3: + resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} + engines: {node: '>= 8'} + + crossws@0.2.4: + resolution: {integrity: sha512-DAxroI2uSOgUKLz00NX6A8U/8EE3SZHmIND+10jkVSaypvyt57J5JEOxAQOL6lQxyzi/wZbTIwssU1uy69h5Vg==} + peerDependencies: + uWebSockets.js: '*' + peerDependenciesMeta: + uWebSockets.js: + optional: true + + css-tree@2.3.1: + resolution: {integrity: sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==} + engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0} + + csscolorparser@1.0.3: + resolution: {integrity: sha512-umPSgYwZkdFoUrH5hIq5kf0wPSXiro51nPw0j2K/c83KflkPSTBGMz6NJvMB+07VlL0y7VPo6QJcDjcgKTTm3w==} + + cssesc@3.0.0: + resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} + engines: {node: '>=4'} + hasBin: true + + cssstyle@3.0.0: + resolution: {integrity: sha512-N4u2ABATi3Qplzf0hWbVCdjenim8F3ojEXpBDF5hBpjzW182MjNGLqfmQ0SkSPeQ+V86ZXgeH8aXj6kayd4jgg==} + engines: {node: '>=14'} + + cssstyle@4.1.0: + resolution: {integrity: sha512-h66W1URKpBS5YMI/V8PyXvTMFT8SupJ1IzoIV8IeBC/ji8WVmrO8dGlTi+2dh6whmdk6BiKJLD/ZBkhWbcg6nA==} + engines: {node: '>=18'} + + csstype@3.1.3: + resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} + + d3-array@1.2.4: + resolution: {integrity: sha512-KHW6M86R+FUPYGb3R5XiYjXPq7VzwxZ22buHhAEVG5ztoEcZZMLov530mmccaqA1GghZArjQV46fuc8kUqhhHw==} + + d3-array@2.12.1: + resolution: {integrity: sha512-B0ErZK/66mHtEsR1TkPEEkwdy+WDesimkM5gpZr5Dsg54BiTA5RXtYW5qTLIAcekaS9xfZrzBLF/OAkB3Qn1YQ==} + + d3-collection@1.0.7: + resolution: {integrity: sha512-ii0/r5f4sjKNTfh84Di+DpztYwqKhEyUlKoPrzUFfeSkWxjW49xU2QzO9qrPrNkpdI0XJkfzvmTu8V2Zylln6A==} + + d3-color@1.4.1: + resolution: {integrity: sha512-p2sTHSLCJI2QKunbGb7ocOh7DgTAn8IrLx21QRc/BSnodXM4sv6aLQlnfpvehFMLZEfBc6g9pH9SWQccFYfJ9Q==} + + d3-color@3.1.0: + resolution: {integrity: sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==} + engines: {node: '>=12'} + + d3-dsv@1.2.0: + resolution: {integrity: sha512-9yVlqvZcSOMhCYzniHE7EVUws7Fa1zgw+/EAV2BxJoG3ME19V6BQFBwI855XQDsxyOuG7NibqRMTtiF/Qup46g==} + hasBin: true + + d3-ease@1.0.7: + resolution: {integrity: sha512-lx14ZPYkhNx0s/2HX5sLFUI3mbasHjSSpwO/KaaNACweVwxUruKyWVcb293wMv1RqTPZyZ8kSZ2NogUZNcLOFQ==} + + d3-format@1.4.5: + resolution: {integrity: sha512-J0piedu6Z8iB6TbIGfZgDzfXxUFN3qQRMofy2oPdXzQibYGqPB/9iMcxr/TGalU+2RsyDO+U4f33id8tbnSRMQ==} + + d3-hexbin@0.2.2: + resolution: {integrity: sha512-KS3fUT2ReD4RlGCjvCEm1RgMtp2NFZumdMu4DBzQK8AZv3fXRM6Xm8I4fSU07UXvH4xxg03NwWKWdvxfS/yc4w==} + + d3-hierarchy@2.0.0: + resolution: {integrity: sha512-SwIdqM3HxQX2214EG9GTjgmCc/mbSx4mQBn+DuEETubhOw6/U3fmnji4uCVrmzOydMHSO1nZle5gh6HB/wdOzw==} + + d3-interpolate@1.4.0: + resolution: {integrity: sha512-V9znK0zc3jOPV4VD2zZn0sDhZU3WAE2bmlxdIwwQPPzPjvyLkd8B3JUVdS1IDUFDkWZ72c9qnv1GK2ZagTZ8EA==} + + d3-interpolate@3.0.1: + resolution: {integrity: sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==} + engines: {node: '>=12'} + + d3-regression@1.3.10: + resolution: {integrity: sha512-PF8GWEL70cHHWpx2jUQXc68r1pyPHIA+St16muk/XRokETzlegj5LriNKg7o4LR0TySug4nHYPJNNRz/W+/Niw==} + + d3-scale@2.2.2: + resolution: {integrity: sha512-LbeEvGgIb8UMcAa0EATLNX0lelKWGYDQiPdHj+gLblGVhGLyNbaCn3EvrJf0A3Y/uOOU5aD6MTh5ZFCdEwGiCw==} + + d3-time-format@2.3.0: + resolution: {integrity: sha512-guv6b2H37s2Uq/GefleCDtbe0XZAuy7Wa49VGkPVPMfLL9qObgBST3lEHJBMUp8S7NdLQAGIvr2KXk8Hc98iKQ==} + + d3-time@1.1.0: + resolution: {integrity: sha512-Xh0isrZ5rPYYdqhAVk8VLnMEidhz5aP7htAADH6MfzgmmicPkTo8LhkLxci61/lCB7n7UmE3bN0leRt+qvkLxA==} + + d3-timer@1.0.10: + resolution: {integrity: sha512-B1JDm0XDaQC+uvo4DT79H0XmBskgS3l6Ve+1SBCfxgmtIb1AVrPIoqd+nPSv+loMX8szQ0sVUhGngL7D5QPiXw==} + + dargs@7.0.0: + resolution: {integrity: sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==} + engines: {node: '>=8'} + + data-urls@4.0.0: + resolution: {integrity: sha512-/mMTei/JXPqvFqQtfyTowxmJVwr2PVAeCcDxyFf6LhoOu/09TX2OX3kb2wzi4DMXcfj4OItwDOnhl5oziPnT6g==} + engines: {node: '>=14'} + + data-urls@5.0.0: + resolution: {integrity: sha512-ZYP5VBHshaDAiVZxjbRVcFJpc+4xGgT0bK3vzy1HLN8jTO975HEbuYzZJcHoQEY5K1a0z8YayJkyVETa08eNTg==} + engines: {node: '>=18'} + + data-view-buffer@1.0.1: + resolution: {integrity: sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==} + engines: {node: '>= 0.4'} + + data-view-byte-length@1.0.1: + resolution: {integrity: sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ==} + engines: {node: '>= 0.4'} + + data-view-byte-offset@1.0.0: + resolution: {integrity: sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA==} + engines: {node: '>= 0.4'} + + dayjs@1.11.13: + resolution: {integrity: sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==} + + db0@0.1.4: + resolution: {integrity: sha512-Ft6eCwONYxlwLjBXSJxw0t0RYtA5gW9mq8JfBXn9TtC0nDPlqePAhpv9v4g9aONBi6JI1OXHTKKkUYGd+BOrCA==} + peerDependencies: + '@libsql/client': ^0.5.2 + better-sqlite3: ^9.4.3 + drizzle-orm: ^0.29.4 + peerDependenciesMeta: + '@libsql/client': + optional: true + better-sqlite3: + optional: true + drizzle-orm: + optional: true + + de-indent@1.0.2: + resolution: {integrity: sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==} + + debug@2.6.9: + resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + debug@3.2.7: + resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + debug@4.3.4: + resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + debug@4.3.7: + resolution: {integrity: sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + decamelize-keys@1.1.1: + resolution: {integrity: sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==} + engines: {node: '>=0.10.0'} + + decamelize@1.2.0: + resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==} + engines: {node: '>=0.10.0'} + + decimal.js@10.4.3: + resolution: {integrity: sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==} + + deep-eql@4.1.4: + resolution: {integrity: sha512-SUwdGfqdKOwxCPeVYjwSyRpJ7Z+fhpwIAtmCUdZIWZ/YP5R9WAsyuSgpLVDi9bjWoN2LXHNss/dk3urXtdQxGg==} + engines: {node: '>=6'} + + deep-equal@1.1.2: + resolution: {integrity: sha512-5tdhKF6DbU7iIzrIOa1AOUt39ZRm13cmL1cGEh//aqR8x9+tNfbywRf0n5FD/18OKMdo7DNEtrX2t22ZAkI+eg==} + engines: {node: '>= 0.4'} + + deep-extend@0.6.0: + resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==} + engines: {node: '>=4.0.0'} + + deep-is@0.1.4: + resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} + + deepmerge@4.3.1: + resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} + engines: {node: '>=0.10.0'} + + default-browser-id@5.0.0: + resolution: {integrity: sha512-A6p/pu/6fyBcA1TRz/GqWYPViplrftcW2gZC9q79ngNCKAeR/X3gcEdXQHl4KNXV+3wgIJ1CPkJQ3IHM6lcsyA==} + engines: {node: '>=18'} + + default-browser@5.2.1: + resolution: {integrity: sha512-WY/3TUME0x3KPYdRRxEJJvXRHV4PyPoUsxtZa78lwItwRQRHhd2U9xOscaT/YTf8uCXIAjeJOFBVEh/7FtD8Xg==} + engines: {node: '>=18'} + + define-data-property@1.1.4: + resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} + engines: {node: '>= 0.4'} + + define-lazy-prop@2.0.0: + resolution: {integrity: sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==} + engines: {node: '>=8'} + + define-lazy-prop@3.0.0: + resolution: {integrity: sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==} + engines: {node: '>=12'} + + define-properties@1.2.1: + resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==} + engines: {node: '>= 0.4'} + + defined@1.0.1: + resolution: {integrity: sha512-hsBd2qSVCRE+5PmNdHt1uzyrFu5d3RwmFDKzyNZMFq/EwDNJF7Ee5+D5oEKF0hU6LhtoUF1macFvOe4AskQC1Q==} + + defu@6.1.4: + resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==} + + delayed-stream@1.0.0: + resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} + engines: {node: '>=0.4.0'} + + delegates@1.0.0: + resolution: {integrity: sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==} + + denque@2.1.0: + resolution: {integrity: sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==} + engines: {node: '>=0.10'} + + depd@2.0.0: + resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} + engines: {node: '>= 0.8'} + + destr@2.0.3: + resolution: {integrity: sha512-2N3BOUU4gYMpTP24s5rF5iP7BDr7uNTCs4ozw3kf/eKfvWSIu93GEBi5m427YoyJoeOzQ5smuu4nNAPGb8idSQ==} + + destroy@1.2.0: + resolution: {integrity: sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==} + engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} + + detect-browser@5.3.0: + resolution: {integrity: sha512-53rsFbGdwMwlF7qvCt0ypLM5V5/Mbl0szB7GPN8y9NCcbknYOeVVXdrXEq+90IwAfrrzt6Hd+u2E2ntakICU8w==} + + detect-libc@1.0.3: + resolution: {integrity: sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==} + engines: {node: '>=0.10'} + hasBin: true + + detect-libc@2.0.3: + resolution: {integrity: sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==} + engines: {node: '>=8'} + + diff-sequences@29.6.3: + resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + + diff@4.0.2: + resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} + engines: {node: '>=0.3.1'} + + directory-tree@3.5.2: + resolution: {integrity: sha512-DsOqeZEHkZnZrVOJG3mE/J9M6J8PulImiC6I1ZpoprVlfno8GvLOPDMkxiJihklLK7B9aVudG463L1+S/kzjiw==} + engines: {node: '>=10.0'} + hasBin: true + + doctrine@3.0.0: + resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} + engines: {node: '>=6.0.0'} + + dom-align@1.12.4: + resolution: {integrity: sha512-R8LUSEay/68zE5c8/3BDxiTEvgb4xZTF0RKmAHfiEVN3klfIpXfi2/QCoiWPccVQ0J/ZGdz9OjzL4uJEP/MRAw==} + + dom-scroll-into-view@2.0.1: + resolution: {integrity: sha512-bvVTQe1lfaUr1oFzZX80ce9KLDlZ3iU+XGNE/bz9HnGdklTieqsbmsLHe+rT2XWqopvL0PckkYqN7ksmm5pe3w==} + + domexception@4.0.0: + resolution: {integrity: sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==} + engines: {node: '>=12'} + deprecated: Use your platform's native DOMException instead + + dot-prop@5.3.0: + resolution: {integrity: sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==} + engines: {node: '>=8'} + + dot-prop@8.0.2: + resolution: {integrity: sha512-xaBe6ZT4DHPkg0k4Ytbvn5xoxgpG0jOS1dYxSOwAHPuNLjP3/OzN0gH55SrLqpx8cBfSaVt91lXYkApjb+nYdQ==} + engines: {node: '>=16'} + + dotenv@16.4.5: + resolution: {integrity: sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==} + engines: {node: '>=12'} + + dotignore@0.1.2: + resolution: {integrity: sha512-UGGGWfSauusaVJC+8fgV+NVvBXkCTmVv7sk6nojDZZvuOUNGUy0Zk4UpHQD6EDjS0jpBwcACvH4eofvyzBcRDw==} + hasBin: true + + duplexer2@0.1.4: + resolution: {integrity: sha512-asLFVfWWtJ90ZyOUHMqk7/S2w2guQKxUI2itj3d92ADHhxUSbCMGi1f1cBcJ7xM1To+pE/Khbwo1yuNbMEPKeA==} + + duplexer@0.1.2: + resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==} + + earcut@2.2.4: + resolution: {integrity: sha512-/pjZsA1b4RPHbeWZQn66SWS8nZZWLQQ23oE3Eam7aroEFGEvwKAsJfZ9ytiEMycfzXWpca4FA9QIOehf7PocBQ==} + + eastasianwidth@0.2.0: + resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} + + editorconfig@1.0.4: + resolution: {integrity: sha512-L9Qe08KWTlqYMVvMcTIvMAdl1cDUubzRNYL+WfA4bLDMHe4nemKkpmYzkznE1FwLKu0EEmy6obgQKzMJrg4x9Q==} + engines: {node: '>=14'} + hasBin: true + + ee-first@1.1.1: + resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} + + electron-to-chromium@1.5.27: + resolution: {integrity: sha512-o37j1vZqCoEgBuWWXLHQgTN/KDKe7zwpiY5CPeq2RvUqOyJw9xnrULzZAEVQ5p4h+zjMk7hgtOoPdnLxr7m/jw==} + + element-resize-detector@1.2.4: + resolution: {integrity: sha512-Fl5Ftk6WwXE0wqCgNoseKWndjzZlDCwuPTcoVZfCP9R3EHQF8qUtr3YUPNETegRBOKqQKPW3n4kiIWngGi8tKg==} + + emoji-regex@10.4.0: + resolution: {integrity: sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==} + + emoji-regex@8.0.0: + resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} + + emoji-regex@9.2.2: + resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} + + encodeurl@1.0.2: + resolution: {integrity: sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==} + engines: {node: '>= 0.8'} + + encodeurl@2.0.0: + resolution: {integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==} + engines: {node: '>= 0.8'} + + enhanced-resolve@5.17.1: + resolution: {integrity: sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg==} + engines: {node: '>=10.13.0'} + + entities@4.5.0: + resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} + engines: {node: '>=0.12'} + + errno@0.1.8: + resolution: {integrity: sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==} + hasBin: true + + error-ex@1.3.2: + resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} + + es-abstract@1.23.3: + resolution: {integrity: sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==} + engines: {node: '>= 0.4'} + + es-define-property@1.0.0: + resolution: {integrity: sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==} + engines: {node: '>= 0.4'} + + es-errors@1.3.0: + resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} + engines: {node: '>= 0.4'} + + es-module-lexer@1.5.4: + resolution: {integrity: sha512-MVNK56NiMrOwitFB7cqDwq0CQutbw+0BvLshJSse0MUNU+y1FC3bUS/AQg7oUng+/wKrrki7JfmwtVHkVfPLlw==} + + es-object-atoms@1.0.0: + resolution: {integrity: sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==} + engines: {node: '>= 0.4'} + + es-set-tostringtag@2.0.3: + resolution: {integrity: sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==} + engines: {node: '>= 0.4'} + + es-to-primitive@1.2.1: + resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==} + engines: {node: '>= 0.4'} + + esbuild@0.18.20: + resolution: {integrity: sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==} + engines: {node: '>=12'} + hasBin: true + + esbuild@0.20.2: + resolution: {integrity: sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g==} + engines: {node: '>=12'} + hasBin: true + + esbuild@0.21.5: + resolution: {integrity: sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==} + engines: {node: '>=12'} + hasBin: true + + escalade@3.2.0: + resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} + engines: {node: '>=6'} + + escape-html@1.0.3: + resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==} + + escape-string-regexp@1.0.5: + resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} + engines: {node: '>=0.8.0'} + + escape-string-regexp@4.0.0: + resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} + engines: {node: '>=10'} + + escape-string-regexp@5.0.0: + resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==} + engines: {node: '>=12'} + + eslint-compat-utils@0.5.1: + resolution: {integrity: sha512-3z3vFexKIEnjHE3zCMRo6fn/e44U7T1khUjg+Hp0ZQMCigh28rALD0nPFBcGZuiLC5rLZa2ubQHDRln09JfU2Q==} + engines: {node: '>=12'} + peerDependencies: + eslint: '>=6.0.0' + + eslint-config-flat-gitignore@0.1.8: + resolution: {integrity: sha512-OEUbS2wzzYtUfshjOqzFo4Bl4lHykXUdM08TCnYNl7ki+niW4Q1R0j0FDFDr0vjVsI5ZFOz5LvluxOP+Ew+dYw==} + + eslint-flat-config-utils@0.3.1: + resolution: {integrity: sha512-eFT3EaoJN1hlN97xw4FIEX//h0TiFUobgl2l5uLkIwhVN9ahGq95Pbs+i1/B5UACA78LO3rco3JzuvxLdTUOPA==} + + eslint-import-resolver-node@0.3.9: + resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==} + + eslint-merge-processors@0.1.0: + resolution: {integrity: sha512-IvRXXtEajLeyssvW4wJcZ2etxkR9mUf4zpNwgI+m/Uac9RfXHskuJefkHUcawVzePnd6xp24enp5jfgdHzjRdQ==} + peerDependencies: + eslint: '*' + + eslint-plugin-antfu@2.7.0: + resolution: {integrity: sha512-gZM3jq3ouqaoHmUNszb1Zo2Ux7RckSvkGksjLWz9ipBYGSv1EwwBETN6AdiUXn+RpVHXTbEMPAPlXJazcA6+iA==} + peerDependencies: + eslint: '*' + + eslint-plugin-command@0.2.5: + resolution: {integrity: sha512-mbCaSHD37MT8nVJnJUz2oeDfhz0wdOjfrqQVWkSpXuj3uU8m7/FK/niV2bL922af3M1js5x7Xcu3PwqWsrahfA==} + peerDependencies: + eslint: '*' + + eslint-plugin-es-x@7.8.0: + resolution: {integrity: sha512-7Ds8+wAAoV3T+LAKeu39Y5BzXCrGKrcISfgKEqTS4BDN8SFEDQd0S43jiQ8vIa3wUKD07qitZdfzlenSi8/0qQ==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + eslint: '>=8' + + eslint-plugin-import-x@4.2.1: + resolution: {integrity: sha512-WWi2GedccIJa0zXxx3WDnTgouGQTtdYK1nhXMwywbqqAgB0Ov+p1pYBsWh3VaB0bvBOwLse6OfVII7jZD9xo5Q==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + + eslint-plugin-jsdoc@50.2.4: + resolution: {integrity: sha512-020jA+dXaXdb+TML3ZJBvpPmzwbNROjnYuTYi/g6A5QEmEjhptz4oPJDKkOGMIByNxsPpdTLzSU1HYVqebOX1w==} + engines: {node: '>=18'} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 || ^9.0.0 + + eslint-plugin-jsonc@2.16.0: + resolution: {integrity: sha512-Af/ZL5mgfb8FFNleH6KlO4/VdmDuTqmM+SPnWcdoWywTetv7kq+vQe99UyQb9XO3b0OWLVuTH7H0d/PXYCMdSg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: '>=6.0.0' + + eslint-plugin-markdown@5.1.0: + resolution: {integrity: sha512-SJeyKko1K6GwI0AN6xeCDToXDkfKZfXcexA6B+O2Wr2btUS9GrC+YgwSyVli5DJnctUHjFXcQ2cqTaAmVoLi2A==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: '>=8' + + eslint-plugin-n@17.10.3: + resolution: {integrity: sha512-ySZBfKe49nQZWR1yFaA0v/GsH6Fgp8ah6XV0WDz6CN8WO0ek4McMzb7A2xnf4DCYV43frjCygvb9f/wx7UUxRw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: '>=8.23.0' + + eslint-plugin-no-only-tests@3.3.0: + resolution: {integrity: sha512-brcKcxGnISN2CcVhXJ/kEQlNa0MEfGRtwKtWA16SkqXHKitaKIMrfemJKLKX1YqDU5C/5JY3PvZXd5jEW04e0Q==} + engines: {node: '>=5.0.0'} + + eslint-plugin-perfectionist@3.6.0: + resolution: {integrity: sha512-sA6ljy6dL/9cM5ruZ/pMqRVt0FQ4Z7mbQWlBYpyX9941LVfm65d2jl2k1ZbWD3ud9Wm+/NKgOvRnAatsKhMJbA==} + engines: {node: ^18.0.0 || >=20.0.0} + peerDependencies: + astro-eslint-parser: ^1.0.2 + eslint: '>=8.0.0' + svelte: '>=3.0.0' + svelte-eslint-parser: ^0.41.1 + vue-eslint-parser: '>=9.0.0' + peerDependenciesMeta: + astro-eslint-parser: + optional: true + svelte: + optional: true + svelte-eslint-parser: + optional: true + vue-eslint-parser: + optional: true + + eslint-plugin-regexp@2.6.0: + resolution: {integrity: sha512-FCL851+kislsTEQEMioAlpDuK5+E5vs0hi1bF8cFlPlHcEjeRhuAzEsGikXRreE+0j4WhW2uO54MqTjXtYOi3A==} + engines: {node: ^18 || >=20} + peerDependencies: + eslint: '>=8.44.0' + + eslint-plugin-toml@0.11.1: + resolution: {integrity: sha512-Y1WuMSzfZpeMIrmlP1nUh3kT8p96mThIq4NnHrYUhg10IKQgGfBZjAWnrg9fBqguiX4iFps/x/3Hb5TxBisfdw==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: '>=6.0.0' + + eslint-plugin-unicorn@55.0.0: + resolution: {integrity: sha512-n3AKiVpY2/uDcGrS3+QsYDkjPfaOrNrsfQxU9nt5nitd9KuvVXrfAvgCO9DYPSfap+Gqjw9EOrXIsBp5tlHZjA==} + engines: {node: '>=18.18'} + peerDependencies: + eslint: '>=8.56.0' + + eslint-plugin-unused-imports@4.1.4: + resolution: {integrity: sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ==} + peerDependencies: + '@typescript-eslint/eslint-plugin': ^8.0.0-0 || ^7.0.0 || ^6.0.0 || ^5.0.0 + eslint: ^9.0.0 || ^8.0.0 + peerDependenciesMeta: + '@typescript-eslint/eslint-plugin': + optional: true + + eslint-plugin-vue@9.28.0: + resolution: {integrity: sha512-ShrihdjIhOTxs+MfWun6oJWuk+g/LAhN+CiuOl/jjkG3l0F2AuK5NMTaWqyvBgkFtpYmyks6P4603mLmhNJW8g==} + engines: {node: ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 + + eslint-plugin-yml@1.14.0: + resolution: {integrity: sha512-ESUpgYPOcAYQO9czugcX5OqRvn/ydDVwGCPXY4YjPqc09rHaUVUA6IE6HLQys4rXk/S+qx3EwTd1wHCwam/OWQ==} + engines: {node: ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: '>=6.0.0' + + eslint-processor-vue-blocks@0.1.2: + resolution: {integrity: sha512-PfpJ4uKHnqeL/fXUnzYkOax3aIenlwewXRX8jFinA1a2yCFnLgMuiH3xvCgvHHUlV2xJWQHbCTdiJWGwb3NqpQ==} + peerDependencies: + '@vue/compiler-sfc': ^3.3.0 + eslint: ^8.50.0 || ^9.0.0 + + eslint-scope@7.2.2: + resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + + eslint-visitor-keys@3.4.3: + resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + + eslint-visitor-keys@4.0.0: + resolution: {integrity: sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + eslint@8.57.1: + resolution: {integrity: sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + hasBin: true + + esno@0.17.0: + resolution: {integrity: sha512-w78cQGlptQfsBYfootUCitsKS+MD74uR5L6kNsvwVkJsfzEepIafbvWsx2xK4rcFP4IUftt4F6J8EhagUxX+Bg==} + hasBin: true + + espree@10.1.0: + resolution: {integrity: sha512-M1M6CpiE6ffoigIOWYO9UDP8TMUw9kqb21tf+08IgDYjCsOvCuDt4jQcZmoYxx+w7zlKw9/N0KXfto+I8/FrXA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + espree@9.6.1: + resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + + esquery@1.6.0: + resolution: {integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==} + engines: {node: '>=0.10'} + + esrecurse@4.3.0: + resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} + engines: {node: '>=4.0'} + + estraverse@5.3.0: + resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} + engines: {node: '>=4.0'} + + estree-walker@2.0.2: + resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} + + estree-walker@3.0.3: + resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} + + esutils@2.0.3: + resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} + engines: {node: '>=0.10.0'} + + etag@1.8.1: + resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} + engines: {node: '>= 0.6'} + + event-target-shim@5.0.1: + resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==} + engines: {node: '>=6'} + + eventemitter3@4.0.7: + resolution: {integrity: sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==} + + eventemitter3@5.0.1: + resolution: {integrity: sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==} + + events@3.3.0: + resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==} + engines: {node: '>=0.8.x'} + + execa@5.1.1: + resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} + engines: {node: '>=10'} + + execa@7.2.0: + resolution: {integrity: sha512-UduyVP7TLB5IcAQl+OzLyLcS/l32W/GLg+AhHJ+ow40FOk2U3SAllPwR44v4vmdFwIWqpdwxxpQbF1n5ta9seA==} + engines: {node: ^14.18.0 || ^16.14.0 || >=18.0.0} + + execa@8.0.1: + resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==} + engines: {node: '>=16.17'} + + extend-shallow@2.0.1: + resolution: {integrity: sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==} + engines: {node: '>=0.10.0'} + + extend-shallow@3.0.2: + resolution: {integrity: sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==} + engines: {node: '>=0.10.0'} + + extrude-polyline@1.0.6: + resolution: {integrity: sha512-fcKIanU/v+tcdgG0+xMbS0C2VZ0/CF3qqxSjHiWfWICh0yFBezPr3SsOhgdzwE5E82plG6p1orEsfSqgldpxVg==} + + fast-deep-equal@3.1.3: + resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + + fast-fifo@1.3.2: + resolution: {integrity: sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==} + + fast-glob@3.3.2: + resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} + engines: {node: '>=8.6.0'} + + fast-json-stable-stringify@2.1.0: + resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} + + fast-levenshtein@2.0.6: + resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} + + fast-uri@3.0.1: + resolution: {integrity: sha512-MWipKbbYiYI0UC7cl8m/i/IWTqfC8YXsqjzybjddLsFjStroQzsHXkc73JutMvBiXmOvapk+axIl79ig5t55Bw==} + + fastq@1.17.1: + resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} + + fecha@4.2.3: + resolution: {integrity: sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==} + + file-entry-cache@6.0.1: + resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} + engines: {node: ^10.12.0 || >=12.0.0} + + file-uri-to-path@1.0.0: + resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==} + + fill-range@7.1.1: + resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} + engines: {node: '>=8'} + + find-replace@3.0.0: + resolution: {integrity: sha512-6Tb2myMioCAgv5kfvP5/PkZZ/ntTpVK39fHY7WkWBgvbeE+VHd/tZuZ4mrC+bxh4cfOZeYKVPaJIZtZXV7GNCQ==} + engines: {node: '>=4.0.0'} + + find-root@1.1.0: + resolution: {integrity: sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==} + + find-up-simple@1.0.0: + resolution: {integrity: sha512-q7Us7kcjj2VMePAa02hDAF6d+MzsdsAWEwYyOpwUtlerRBkOEPBCRZrAV4XfcSN8fHAgaD0hP7miwoay6DCprw==} + engines: {node: '>=18'} + + find-up@4.1.0: + resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} + engines: {node: '>=8'} + + find-up@5.0.0: + resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} + engines: {node: '>=10'} + + flat-cache@3.2.0: + resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==} + engines: {node: ^10.12.0 || >=12.0.0} + + flatted@3.3.1: + resolution: {integrity: sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==} + + fmin@0.0.2: + resolution: {integrity: sha512-sSi6DzInhl9d8yqssDfGZejChO8d2bAGIpysPsvYsxFe898z89XhCZg6CPNV3nhUhFefeC/AXZK2bAJxlBjN6A==} + + follow-redirects@1.15.9: + resolution: {integrity: sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==} + engines: {node: '>=4.0'} + peerDependencies: + debug: '*' + peerDependenciesMeta: + debug: + optional: true + + for-each@0.3.3: + resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} + + foreground-child@3.3.0: + resolution: {integrity: sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==} + engines: {node: '>=14'} + + form-data@4.0.0: + resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==} + engines: {node: '>= 6'} + + fresh@0.5.2: + resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==} + engines: {node: '>= 0.6'} + + fs-extra@11.2.0: + resolution: {integrity: sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==} + engines: {node: '>=14.14'} + + fs-minipass@2.1.0: + resolution: {integrity: sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==} + engines: {node: '>= 8'} + + fs.realpath@1.0.0: + resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} + + fsevents@2.3.3: + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + + function-bind@1.1.2: + resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} + + function.prototype.name@1.1.6: + resolution: {integrity: sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==} + engines: {node: '>= 0.4'} + + functions-have-names@1.2.3: + resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} + + gauge@3.0.2: + resolution: {integrity: sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==} + engines: {node: '>=10'} + deprecated: This package is no longer supported. + + gensync@1.0.0-beta.2: + resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} + engines: {node: '>=6.9.0'} + + geojson-vt@3.2.1: + resolution: {integrity: sha512-EvGQQi/zPrDA6zr6BnJD/YhwAkBP8nnJ9emh3EnHQKVMfg/MRVtPbMYdgVy/IaEmn4UfagD2a6fafPDL5hbtwg==} + + get-caller-file@2.0.5: + resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} + engines: {node: 6.* || 8.* || >= 10.*} + + get-func-name@2.0.2: + resolution: {integrity: sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==} + + get-intrinsic@1.2.4: + resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==} + engines: {node: '>= 0.4'} + + get-port-please@3.1.2: + resolution: {integrity: sha512-Gxc29eLs1fbn6LQ4jSU4vXjlwyZhF5HsGuMAa7gqBP4Rw4yxxltyDUuF5MBclFzDTXO+ACchGQoeela4DSfzdQ==} + + get-stream@6.0.1: + resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} + engines: {node: '>=10'} + + get-stream@8.0.1: + resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} + engines: {node: '>=16'} + + get-symbol-description@1.0.2: + resolution: {integrity: sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==} + engines: {node: '>= 0.4'} + + get-tsconfig@4.8.1: + resolution: {integrity: sha512-k9PN+cFBmaLWtVz29SkUoqU5O0slLuHJXt/2P+tMVFT+phsSGXGkp9t3rQIqdz0e+06EHNGs3oM6ZX1s2zHxRg==} + + get-value@2.0.6: + resolution: {integrity: sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA==} + engines: {node: '>=0.10.0'} + + giget@1.2.3: + resolution: {integrity: sha512-8EHPljDvs7qKykr6uw8b+lqLiUc/vUg+KVTI0uND4s63TdsZM2Xus3mflvF0DDG9SiM4RlCkFGL+7aAjRmV7KA==} + hasBin: true + + git-raw-commits@2.0.11: + resolution: {integrity: sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A==} + engines: {node: '>=10'} + hasBin: true + + gl-matrix@3.4.3: + resolution: {integrity: sha512-wcCp8vu8FT22BnvKVPjXa/ICBWRq/zjFfdofZy1WSpQZpphblv12/bOQLBC1rMM7SGOFS9ltVmKOHil5+Ml7gA==} + + gl-vec2@1.3.0: + resolution: {integrity: sha512-YiqaAuNsheWmUV0Sa8k94kBB0D6RWjwZztyO+trEYS8KzJ6OQB/4686gdrf59wld4hHFIvaxynO3nRxpk1Ij/A==} + + glob-parent@5.1.2: + resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} + engines: {node: '>= 6'} + + glob-parent@6.0.2: + resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} + engines: {node: '>=10.13.0'} + + glob@10.4.5: + resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==} + hasBin: true + + glob@7.2.3: + resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + deprecated: Glob versions prior to v9 are no longer supported + + glob@8.1.0: + resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} + engines: {node: '>=12'} + deprecated: Glob versions prior to v9 are no longer supported + + global-dirs@0.1.1: + resolution: {integrity: sha512-NknMLn7F2J7aflwFOlGdNIuCDpN3VGoSoB+aap3KABFWbHVn1TCgFC+np23J8W2BiZbjfEw3BFBycSMv1AFblg==} + engines: {node: '>=4'} + + global-prefix@3.0.0: + resolution: {integrity: sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==} + engines: {node: '>=6'} + + globals@11.12.0: + resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} + engines: {node: '>=4'} + + globals@13.24.0: + resolution: {integrity: sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==} + engines: {node: '>=8'} + + globals@15.9.0: + resolution: {integrity: sha512-SmSKyLLKFbSr6rptvP8izbyxJL4ILwqO9Jg23UA0sDlGlu58V59D1//I3vlc0KJphVdUR7vMjHIplYnzBxorQA==} + engines: {node: '>=18'} + + globalthis@1.0.4: + resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==} + engines: {node: '>= 0.4'} + + globby@14.0.2: + resolution: {integrity: sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==} + engines: {node: '>=18'} + + gopd@1.0.1: + resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} + + graceful-fs@4.2.11: + resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + + graphemer@1.4.0: + resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} + + grid-index@1.1.0: + resolution: {integrity: sha512-HZRwumpOGUrHyxO5bqKZL0B0GlUpwtCAzZ42sgxUPniu33R1LSFH5yrIcBCHjkctCAh3mtWKcKd9J4vDDdeVHA==} + + gzip-size@6.0.0: + resolution: {integrity: sha512-ax7ZYomf6jqPTQ4+XCpUGyXKHk5WweS+e05MBO4/y3WJ5RkmPXNKvX+bx1behVILVwr6JSQvZAku021CHPXG3Q==} + engines: {node: '>=10'} + + gzip-size@7.0.0: + resolution: {integrity: sha512-O1Ld7Dr+nqPnmGpdhzLmMTQ4vAsD+rHwMm1NLUmoUFFymBOMKxCCrtDxqdBRYXdeEPEi3SyoR4TizJLQrnKBNA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + h3@1.12.0: + resolution: {integrity: sha512-Zi/CcNeWBXDrFNlV0hUBJQR9F7a96RjMeAZweW/ZWkR9fuXrMcvKnSA63f/zZ9l0GgQOZDVHGvXivNN9PWOwhA==} + + hammerjs@2.0.8: + resolution: {integrity: sha512-tSQXBXS/MWQOn/RKckawJ61vvsDpCom87JgxiYdGwHdOa0ht0vzUWDlfioofFCRU0L+6NGDt6XzbgoJvZkMeRQ==} + engines: {node: '>=0.8.0'} + + hard-rejection@2.1.0: + resolution: {integrity: sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==} + engines: {node: '>=6'} + + has-ansi@2.0.0: + resolution: {integrity: sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg==} + engines: {node: '>=0.10.0'} + + has-bigints@1.0.2: + resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==} + + has-flag@3.0.0: + resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==} + engines: {node: '>=4'} + + has-flag@4.0.0: + resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} + engines: {node: '>=8'} + + has-property-descriptors@1.0.2: + resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==} + + has-proto@1.0.3: + resolution: {integrity: sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==} + engines: {node: '>= 0.4'} + + has-symbols@1.0.3: + resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} + engines: {node: '>= 0.4'} + + has-tostringtag@1.0.2: + resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==} + engines: {node: '>= 0.4'} + + has-unicode@2.0.1: + resolution: {integrity: sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==} + + has@1.0.4: + resolution: {integrity: sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==} + engines: {node: '>= 0.4.0'} + + hasown@2.0.2: + resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} + engines: {node: '>= 0.4'} + + he@1.2.0: + resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==} + hasBin: true + + hookable@5.5.3: + resolution: {integrity: sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ==} + + hosted-git-info@2.8.9: + resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} + + hosted-git-info@4.1.0: + resolution: {integrity: sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==} + engines: {node: '>=10'} + + html-encoding-sniffer@3.0.0: + resolution: {integrity: sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==} + engines: {node: '>=12'} + + html-encoding-sniffer@4.0.0: + resolution: {integrity: sha512-Y22oTqIU4uuPgEemfz7NDJz6OeKf12Lsu+QC+s3BVpda64lTiMYCyGwg5ki4vFxkMwQdeZDl2adZoqUgdFuTgQ==} + engines: {node: '>=18'} + + html-entities@2.5.2: + resolution: {integrity: sha512-K//PSRMQk4FZ78Kyau+mZurHn3FH0Vwr+H36eE0rPbeYkRRi9YxceYPhuN60UwWorxyKHhqoAJl2OFKa4BVtaA==} + + html-tags@3.3.1: + resolution: {integrity: sha512-ztqyC3kLto0e9WbNp0aeP+M3kTt+nbaIveGmUxAtZa+8iFgKLUOD4YKM5j+f3QD89bra7UeumolZHKuOXnTmeQ==} + engines: {node: '>=8'} + + html-tokenize@2.0.1: + resolution: {integrity: sha512-QY6S+hZ0f5m1WT8WffYN+Hg+xm/w5I8XeUcAq/ZYP5wVC8xbKi4Whhru3FtrAebD5EhBW8rmFzkDI6eCAuFe2w==} + hasBin: true + + http-errors@2.0.0: + resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} + engines: {node: '>= 0.8'} + + http-proxy-agent@5.0.0: + resolution: {integrity: sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==} + engines: {node: '>= 6'} + + http-proxy-agent@7.0.2: + resolution: {integrity: sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==} + engines: {node: '>= 14'} + + http-shutdown@1.2.2: + resolution: {integrity: sha512-S9wWkJ/VSY9/k4qcjG318bqJNruzE4HySUhFYknwmu6LBP97KLLfwNf+n4V1BHurvFNkSKLFnK/RsuUnRTf9Vw==} + engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} + + https-proxy-agent@5.0.1: + resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} + engines: {node: '>= 6'} + + https-proxy-agent@7.0.5: + resolution: {integrity: sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==} + engines: {node: '>= 14'} + + httpxy@0.1.5: + resolution: {integrity: sha512-hqLDO+rfststuyEUTWObQK6zHEEmZ/kaIP2/zclGGZn6X8h/ESTWg+WKecQ/e5k4nPswjzZD+q2VqZIbr15CoQ==} + + human-signals@2.1.0: + resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} + engines: {node: '>=10.17.0'} + + human-signals@4.3.1: + resolution: {integrity: sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==} + engines: {node: '>=14.18.0'} + + human-signals@5.0.0: + resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} + engines: {node: '>=16.17.0'} + + husky@9.1.6: + resolution: {integrity: sha512-sqbjZKK7kf44hfdE94EoX8MZNk0n7HeW37O4YrVGCF4wzgQjp+akPAkfUK5LZ6KuR/6sqeAVuXHji+RzQgOn5A==} + engines: {node: '>=18'} + hasBin: true + + iconv-lite@0.4.24: + resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} + engines: {node: '>=0.10.0'} + + iconv-lite@0.6.3: + resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} + engines: {node: '>=0.10.0'} + + ieee754@1.2.1: + resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} + + ignore@5.3.2: + resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} + engines: {node: '>= 4'} + + image-size@0.5.5: + resolution: {integrity: sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==} + engines: {node: '>=0.10.0'} + hasBin: true + + import-fresh@3.3.0: + resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} + engines: {node: '>=6'} + + imurmurhash@0.1.4: + resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} + engines: {node: '>=0.8.19'} + + indent-string@4.0.0: + resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} + engines: {node: '>=8'} + + inflight@1.0.6: + resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. + + inherits@2.0.4: + resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} + + ini@1.3.8: + resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==} + + internal-slot@1.0.7: + resolution: {integrity: sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==} + engines: {node: '>= 0.4'} + + internmap@1.0.1: + resolution: {integrity: sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw==} + + ioredis@5.4.1: + resolution: {integrity: sha512-2YZsvl7jopIa1gaePkeMtd9rAcSjOOjPtpcLlOeusyO+XH2SK5ZcT+UCrElPP+WVIInh2TzeI4XW9ENaSLVVHA==} + engines: {node: '>=12.22.0'} + + iron-webcrypto@1.2.1: + resolution: {integrity: sha512-feOM6FaSr6rEABp/eDfVseKyTMDt+KGpeB35SkVn9Tyn0CqvVsY3EwI0v5i8nMHyJnzCIQf7nsy3p41TPkJZhg==} + + is-alphabetical@1.0.4: + resolution: {integrity: sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==} + + is-alphanumerical@1.0.4: + resolution: {integrity: sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==} + + is-arguments@1.1.1: + resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==} + engines: {node: '>= 0.4'} + + is-array-buffer@3.0.4: + resolution: {integrity: sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==} + engines: {node: '>= 0.4'} + + is-arrayish@0.2.1: + resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} + + is-bigint@1.0.4: + resolution: {integrity: sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==} + + is-binary-path@2.1.0: + resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} + engines: {node: '>=8'} + + is-boolean-object@1.1.2: + resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==} + engines: {node: '>= 0.4'} + + is-buffer@1.1.6: + resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==} + + is-builtin-module@3.2.1: + resolution: {integrity: sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==} + engines: {node: '>=6'} + + is-callable@1.2.7: + resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} + engines: {node: '>= 0.4'} + + is-core-module@2.15.1: + resolution: {integrity: sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==} + engines: {node: '>= 0.4'} + + is-data-view@1.0.1: + resolution: {integrity: sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==} + engines: {node: '>= 0.4'} + + is-date-object@1.0.5: + resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==} + engines: {node: '>= 0.4'} + + is-decimal@1.0.4: + resolution: {integrity: sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==} + + is-docker@2.2.1: + resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==} + engines: {node: '>=8'} + hasBin: true + + is-docker@3.0.0: + resolution: {integrity: sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + hasBin: true + + is-extendable@0.1.1: + resolution: {integrity: sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==} + engines: {node: '>=0.10.0'} + + is-extendable@1.0.1: + resolution: {integrity: sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==} + engines: {node: '>=0.10.0'} + + is-extglob@2.1.1: + resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} + engines: {node: '>=0.10.0'} + + is-fullwidth-code-point@3.0.0: + resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} + engines: {node: '>=8'} + + is-fullwidth-code-point@4.0.0: + resolution: {integrity: sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==} + engines: {node: '>=12'} + + is-glob@4.0.3: + resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} + engines: {node: '>=0.10.0'} + + is-hexadecimal@1.0.4: + resolution: {integrity: sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==} + + is-inside-container@1.0.0: + resolution: {integrity: sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==} + engines: {node: '>=14.16'} + hasBin: true + + is-interactive@2.0.0: + resolution: {integrity: sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==} + engines: {node: '>=12'} + + is-module@1.0.0: + resolution: {integrity: sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==} + + is-negative-zero@2.0.3: + resolution: {integrity: sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==} + engines: {node: '>= 0.4'} + + is-number-object@1.0.7: + resolution: {integrity: sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==} + engines: {node: '>= 0.4'} + + is-number@7.0.0: + resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} + engines: {node: '>=0.12.0'} + + is-obj@2.0.0: + resolution: {integrity: sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==} + engines: {node: '>=8'} + + is-path-inside@3.0.3: + resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} + engines: {node: '>=8'} + + is-plain-obj@1.1.0: + resolution: {integrity: sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==} + engines: {node: '>=0.10.0'} + + is-plain-object@2.0.4: + resolution: {integrity: sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==} + engines: {node: '>=0.10.0'} + + is-plain-object@3.0.1: + resolution: {integrity: sha512-Xnpx182SBMrr/aBik8y+GuR4U1L9FqMSojwDQwPMmxyC6bvEqly9UBCxhauBF5vNh2gwWJNX6oDV7O+OM4z34g==} + engines: {node: '>=0.10.0'} + + is-potential-custom-element-name@1.0.1: + resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==} + + is-reference@1.2.1: + resolution: {integrity: sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==} + + is-regex@1.1.4: + resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} + engines: {node: '>= 0.4'} + + is-shared-array-buffer@1.0.3: + resolution: {integrity: sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==} + engines: {node: '>= 0.4'} + + is-stream@2.0.1: + resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} + engines: {node: '>=8'} + + is-stream@3.0.0: + resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + is-string@1.0.7: + resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==} + engines: {node: '>= 0.4'} + + is-symbol@1.0.4: + resolution: {integrity: sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==} + engines: {node: '>= 0.4'} + + is-text-path@2.0.0: + resolution: {integrity: sha512-+oDTluR6WEjdXEJMnC2z6A4FRwFoYuvShVVEGsS7ewc0UTi2QtAKMDJuL4BDEVt+5T7MjFo12RP8ghOM75oKJw==} + engines: {node: '>=8'} + + is-typed-array@1.1.13: + resolution: {integrity: sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==} + engines: {node: '>= 0.4'} + + is-unicode-supported@1.3.0: + resolution: {integrity: sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==} + engines: {node: '>=12'} + + is-weakref@1.0.2: + resolution: {integrity: sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==} + + is-what@3.14.1: + resolution: {integrity: sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==} + + is-wsl@2.2.0: + resolution: {integrity: sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==} + engines: {node: '>=8'} + + is-wsl@3.1.0: + resolution: {integrity: sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==} + engines: {node: '>=16'} + + is64bit@2.0.0: + resolution: {integrity: sha512-jv+8jaWCl0g2lSBkNSVXdzfBA0npK1HGC2KtWM9FumFRoGS94g3NbCCLVnCYHLjp4GrW2KZeeSTMo5ddtznmGw==} + engines: {node: '>=18'} + + isarray@0.0.1: + resolution: {integrity: sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==} + + isarray@1.0.0: + resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==} + + isarray@2.0.5: + resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==} + + isexe@2.0.0: + resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + + isobject@3.0.1: + resolution: {integrity: sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==} + engines: {node: '>=0.10.0'} + + jackspeak@3.4.3: + resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==} + + jiti@1.21.6: + resolution: {integrity: sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==} + hasBin: true + + js-beautify@1.15.1: + resolution: {integrity: sha512-ESjNzSlt/sWE8sciZH8kBF8BPlwXPwhR6pWKAw8bw4Bwj+iZcnKW6ONWUutJ7eObuBZQpiIb8S7OYspWrKt7rA==} + engines: {node: '>=14'} + hasBin: true + + js-cookie@3.0.5: + resolution: {integrity: sha512-cEiJEAEoIbWfCZYKWhVwFuvPX1gETRYPw6LlaTKoxD3s2AkXzkCjnp6h0V77ozyqj0jakteJ4YqDJT830+lVGw==} + engines: {node: '>=14'} + + js-tokens@4.0.0: + resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + + js-tokens@9.0.0: + resolution: {integrity: sha512-WriZw1luRMlmV3LGJaR6QOJjWwgLUTf89OwT2lUOyjX2dJGBwgmIkbcz+7WFZjrZM635JOIR517++e/67CP9dQ==} + + js-yaml@4.1.0: + resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} + hasBin: true + + jsdoc-type-pratt-parser@4.1.0: + resolution: {integrity: sha512-Hicd6JK5Njt2QB6XYFS7ok9e37O8AYk3jTcppG4YVQnYjOemymvTcmc7OWsmq/Qqj5TdRFO5/x/tIPmBeRtGHg==} + engines: {node: '>=12.0.0'} + + jsdom@22.1.0: + resolution: {integrity: sha512-/9AVW7xNbsBv6GfWho4TTNjEo9fe6Zhf9O7s0Fhhr3u+awPwAJMKwAMXnkk5vBxflqLW9hTHX/0cs+P3gW+cQw==} + engines: {node: '>=16'} + peerDependencies: + canvas: ^2.5.0 + peerDependenciesMeta: + canvas: + optional: true + + jsdom@24.1.3: + resolution: {integrity: sha512-MyL55p3Ut3cXbeBEG7Hcv0mVM8pp8PBNWxRqchZnSfAiES1v1mRnMeFfaHWIPULpwsYfvO+ZmMZz5tGCnjzDUQ==} + engines: {node: '>=18'} + peerDependencies: + canvas: ^2.11.2 + peerDependenciesMeta: + canvas: + optional: true + + jsesc@0.5.0: + resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==} + hasBin: true + + jsesc@2.5.2: + resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} + engines: {node: '>=4'} + hasBin: true + + jsesc@3.0.2: + resolution: {integrity: sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==} + engines: {node: '>=6'} + hasBin: true + + json-buffer@3.0.1: + resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} + + json-parse-better-errors@1.0.2: + resolution: {integrity: sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==} + + json-parse-even-better-errors@2.3.1: + resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} + + json-schema-traverse@0.4.1: + resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} + + json-schema-traverse@1.0.0: + resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} + + json-stable-stringify-without-jsonify@1.0.1: + resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} + + json-stringify-pretty-compact@3.0.0: + resolution: {integrity: sha512-Rc2suX5meI0S3bfdZuA7JMFBGkJ875ApfVyq2WHELjBiiG22My/l7/8zPpH/CfFVQHuVLd8NLR0nv6vi0BYYKA==} + + json2module@0.0.3: + resolution: {integrity: sha512-qYGxqrRrt4GbB8IEOy1jJGypkNsjWoIMlZt4bAsmUScCA507Hbc2p1JOhBzqn45u3PWafUgH2OnzyNU7udO/GA==} + hasBin: true + + json5@2.2.3: + resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} + engines: {node: '>=6'} + hasBin: true + + jsonc-eslint-parser@2.4.0: + resolution: {integrity: sha512-WYDyuc/uFcGp6YtM2H0uKmUwieOuzeE/5YocFJLnLfclZ4inf3mRn8ZVy1s7Hxji7Jxm6Ss8gqpexD/GlKoGgg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + + jsonfile@6.1.0: + resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} + + jsonparse@1.3.1: + resolution: {integrity: sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==} + engines: {'0': node >= 0.2.0} + + kdbush@3.0.0: + resolution: {integrity: sha512-hRkd6/XW4HTsA9vjVpY9tuXJYLSlelnkTmVFu4M9/7MIYQtFcHpbugAU7UbOfjOiVSVYl2fqgBuJ32JUmRo5Ew==} + + kdbush@4.0.2: + resolution: {integrity: sha512-WbCVYJ27Sz8zi9Q7Q0xHC+05iwkm3Znipc2XTlrnJbsHMYktW4hPhXUE8Ys1engBrvffoSCqbil1JQAa7clRpA==} + + keyv@4.5.4: + resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} + + kind-of@3.2.2: + resolution: {integrity: sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==} + engines: {node: '>=0.10.0'} + + kind-of@6.0.3: + resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==} + engines: {node: '>=0.10.0'} + + klona@2.0.6: + resolution: {integrity: sha512-dhG34DXATL5hSxJbIexCft8FChFXtmskoZYnoPWjXQuebWYCNkVeV3KkGegCK9CP1oswI/vQibS2GY7Em/sJJA==} + engines: {node: '>= 8'} + + knitwork@1.1.0: + resolution: {integrity: sha512-oHnmiBUVHz1V+URE77PNot2lv3QiYU2zQf1JjOVkMt3YDKGbu8NAFr+c4mcNOhdsGrB/VpVbRwPwhiXrPhxQbw==} + + kolorist@1.8.0: + resolution: {integrity: sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==} + + lazy-cache@1.0.4: + resolution: {integrity: sha512-RE2g0b5VGZsOCFOCgP7omTRYFqydmZkBwl5oNnQ1lDYC57uyO9KqNnNVxT7COSHTxrRCWVcAVOcbjk+tvh/rgQ==} + engines: {node: '>=0.10.0'} + + lazystream@1.0.1: + resolution: {integrity: sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==} + engines: {node: '>= 0.6.3'} + + less@4.2.0: + resolution: {integrity: sha512-P3b3HJDBtSzsXUl0im2L7gTO5Ubg8mEN6G8qoTS77iXxXX4Hvu4Qj540PZDvQ8V6DmX6iXo98k7Md0Cm1PrLaA==} + engines: {node: '>=6'} + hasBin: true + + levn@0.4.1: + resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} + engines: {node: '>= 0.8.0'} + + lilconfig@2.1.0: + resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==} + engines: {node: '>=10'} + + lines-and-columns@1.2.4: + resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} + + lint-staged@14.0.1: + resolution: {integrity: sha512-Mw0cL6HXnHN1ag0mN/Dg4g6sr8uf8sn98w2Oc1ECtFto9tvRF7nkXGJRbx8gPlHyoR0pLyBr2lQHbWwmUHe1Sw==} + engines: {node: ^16.14.0 || >=18.0.0} + hasBin: true + + listhen@1.7.2: + resolution: {integrity: sha512-7/HamOm5YD9Wb7CFgAZkKgVPA96WwhcTQoqtm2VTZGVbVVn3IWKRBTgrU7cchA3Q8k9iCsG8Osoi9GX4JsGM9g==} + hasBin: true + + listr2@6.6.1: + resolution: {integrity: sha512-+rAXGHh0fkEWdXBmX+L6mmfmXmXvDGEKzkjxO+8mP3+nI/r/CWznVBvsibXdxda9Zz0OW2e2ikphN3OwCT/jSg==} + engines: {node: '>=16.0.0'} + peerDependencies: + enquirer: '>= 2.3.0 < 3' + peerDependenciesMeta: + enquirer: + optional: true + + load-json-file@4.0.0: + resolution: {integrity: sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==} + engines: {node: '>=4'} + + local-pkg@0.4.3: + resolution: {integrity: sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==} + engines: {node: '>=14'} + + local-pkg@0.5.0: + resolution: {integrity: sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==} + engines: {node: '>=14'} + + locate-path@5.0.0: + resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} + engines: {node: '>=8'} + + locate-path@6.0.0: + resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} + engines: {node: '>=10'} + + lodash-es@4.17.21: + resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==} + + lodash.camelcase@4.3.0: + resolution: {integrity: sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==} + + lodash.clonedeep@4.5.0: + resolution: {integrity: sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==} + + lodash.defaults@4.2.0: + resolution: {integrity: sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==} + + lodash.isarguments@3.1.0: + resolution: {integrity: sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==} + + lodash.isequal@4.5.0: + resolution: {integrity: sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==} + + lodash.isfunction@3.0.9: + resolution: {integrity: sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw==} + + lodash.isplainobject@4.0.6: + resolution: {integrity: sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==} + + lodash.kebabcase@4.1.1: + resolution: {integrity: sha512-N8XRTIMMqqDgSy4VLKPnJ/+hpGZN+PHQiJnSenYqPaVV/NCqEogTnAdZLQiGKhxX+JCs8waWq2t1XHWKOmlY8g==} + + lodash.merge@4.6.2: + resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} + + lodash.mergewith@4.6.2: + resolution: {integrity: sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==} + + lodash.snakecase@4.1.1: + resolution: {integrity: sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw==} + + lodash.startcase@4.4.0: + resolution: {integrity: sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==} + + lodash.uniq@4.5.0: + resolution: {integrity: sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==} + + lodash.upperfirst@4.3.1: + resolution: {integrity: sha512-sReKOYJIJf74dhJONhU4e0/shzi1trVbSWDOhKYE5XV2O+H7Sb2Dihwuc7xWxVl+DgFPyTqIN3zMfT9cq5iWDg==} + + lodash@4.17.21: + resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + + log-symbols@5.1.0: + resolution: {integrity: sha512-l0x2DvrW294C9uDCoQe1VSU4gf529FkSZ6leBl4TiqZH/e+0R7hSfHQBNut2mNygDgHwvYHfFLn6Oxb3VWj2rA==} + engines: {node: '>=12'} + + log-update@5.0.1: + resolution: {integrity: sha512-5UtUDQ/6edw4ofyljDNcOVJQ4c7OjDro4h3y8e1GQL5iYElYclVHJ3zeWchylvMaKnDbDilC8irOVyexnA/Slw==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + longest@1.0.1: + resolution: {integrity: sha512-k+yt5n3l48JU4k8ftnKG6V7u32wyH2NfKzeMto9F/QRE0amxy/LayxwlvjjkZEIzqR+19IrtFO8p5kB9QaYUFg==} + engines: {node: '>=0.10.0'} + + loose-envify@1.4.0: + resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} + hasBin: true + + loupe@2.3.7: + resolution: {integrity: sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==} + + lru-cache@10.4.3: + resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} + + lru-cache@5.1.1: + resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} + + lru-cache@6.0.0: + resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} + engines: {node: '>=10'} + + magic-string@0.30.11: + resolution: {integrity: sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==} + + make-dir@2.1.0: + resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==} + engines: {node: '>=6'} + + make-dir@3.1.0: + resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} + engines: {node: '>=8'} + + make-error@1.3.6: + resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} + + map-obj@1.0.1: + resolution: {integrity: sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==} + engines: {node: '>=0.10.0'} + + map-obj@4.3.0: + resolution: {integrity: sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==} + engines: {node: '>=8'} + + mapbox-gl@1.13.3: + resolution: {integrity: sha512-p8lJFEiqmEQlyv+DQxFAOG/XPWN0Wp7j/Psq93Zywz7qt9CcUKFYDBOoOEKzqe6gudHVJY8/Bhqw6VDpX2lSBg==} + engines: {node: '>=6.4.0'} + + maplibre-gl@3.6.2: + resolution: {integrity: sha512-krg2KFIdOpLPngONDhP6ixCoWl5kbdMINP0moMSJFVX7wX1Clm2M9hlNKXS8vBGlVWwR5R3ZfI6IPrYz7c+aCQ==} + engines: {node: '>=16.14.0', npm: '>=8.1.0'} + + mdast-util-from-markdown@0.8.5: + resolution: {integrity: sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ==} + + mdast-util-to-string@2.0.0: + resolution: {integrity: sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==} + + mdn-data@2.0.30: + resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==} + + memorystream@0.3.1: + resolution: {integrity: sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==} + engines: {node: '>= 0.10.0'} + + meow@12.1.1: + resolution: {integrity: sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==} + engines: {node: '>=16.10'} + + meow@8.1.2: + resolution: {integrity: sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==} + engines: {node: '>=10'} + + merge-stream@2.0.0: + resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} + + merge2@1.4.1: + resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} + engines: {node: '>= 8'} + + micromark@2.11.4: + resolution: {integrity: sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==} + + micromatch@4.0.5: + resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} + engines: {node: '>=8.6'} + + micromatch@4.0.8: + resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} + engines: {node: '>=8.6'} + + mime-db@1.52.0: + resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} + engines: {node: '>= 0.6'} + + mime-types@2.1.35: + resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} + engines: {node: '>= 0.6'} + + mime@1.6.0: + resolution: {integrity: sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==} + engines: {node: '>=4'} + hasBin: true + + mime@3.0.0: + resolution: {integrity: sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==} + engines: {node: '>=10.0.0'} + hasBin: true + + mime@4.0.4: + resolution: {integrity: sha512-v8yqInVjhXyqP6+Kw4fV3ZzeMRqEW6FotRsKXjRS5VMTNIuXsdRoAvklpoRgSqXm6o9VNH4/C0mgedko9DdLsQ==} + engines: {node: '>=16'} + hasBin: true + + mimic-fn@2.1.0: + resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} + engines: {node: '>=6'} + + mimic-fn@4.0.0: + resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==} + engines: {node: '>=12'} + + min-indent@1.0.1: + resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} + engines: {node: '>=4'} + + minimatch@3.1.2: + resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} + + minimatch@5.1.6: + resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==} + engines: {node: '>=10'} + + minimatch@9.0.1: + resolution: {integrity: sha512-0jWhJpD/MdhPXwPuiRkCbfYfSKp2qnn2eOc279qI7f+osl/l+prKSrvhg157zSYvx/1nmgn2NqdT6k2Z7zSH9w==} + engines: {node: '>=16 || 14 >=14.17'} + + minimatch@9.0.5: + resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} + engines: {node: '>=16 || 14 >=14.17'} + + minimist-options@4.1.0: + resolution: {integrity: sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==} + engines: {node: '>= 6'} + + minimist@1.2.8: + resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} + + minipass@3.3.6: + resolution: {integrity: sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==} + engines: {node: '>=8'} + + minipass@5.0.0: + resolution: {integrity: sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==} + engines: {node: '>=8'} + + minipass@7.1.2: + resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==} + engines: {node: '>=16 || 14 >=14.17'} + + minizlib@2.1.2: + resolution: {integrity: sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==} + engines: {node: '>= 8'} + + mitt@3.0.1: + resolution: {integrity: sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==} + + mkdirp@1.0.4: + resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==} + engines: {node: '>=10'} + hasBin: true + + mlly@1.7.1: + resolution: {integrity: sha512-rrVRZRELyQzrIUAVMHxP97kv+G786pHmOKzuFII8zDYahFBS7qnHh2AlYSl1GAHhaMPCz6/oHjVMcfFYgFYHgA==} + + mock-property@1.0.3: + resolution: {integrity: sha512-2emPTb1reeLLYwHxyVx993iYyCHEiRRO+y8NFXFPL5kl5q14sgTK76cXyEKkeKCHeRw35SfdkUJ10Q1KfHuiIQ==} + engines: {node: '>= 0.4'} + + mri@1.2.0: + resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} + engines: {node: '>=4'} + + mrmime@2.0.0: + resolution: {integrity: sha512-eu38+hdgojoyq63s+yTpN4XMBdt5l8HhMhc4VKLO9KM5caLIBvUm4thi7fFaxyTmCKeNnXZ5pAlBwCUnhA09uw==} + engines: {node: '>=10'} + + ms@2.0.0: + resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} + + ms@2.1.2: + resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} + + ms@2.1.3: + resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + + muggle-string@0.4.1: + resolution: {integrity: sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==} + + multipipe@1.0.2: + resolution: {integrity: sha512-6uiC9OvY71vzSGX8lZvSqscE7ft9nPupJ8fMjrCNRAUy2LREUW42UL+V/NTrogr6rFgRydUrCX4ZitfpSNkSCQ==} + + murmurhash-js@1.0.0: + resolution: {integrity: sha512-TvmkNhkv8yct0SVBSy+o8wYzXjE4Zz3PCesbfs8HiCXXdcTuocApFv11UWlNFWKYsP2okqrhb7JNlSm9InBhIw==} + + nanoid@3.3.7: + resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + + nanopop@2.4.2: + resolution: {integrity: sha512-NzOgmMQ+elxxHeIha+OG/Pv3Oc3p4RU2aBhwWwAqDpXrdTbtRylbRLQztLy8dMMwfl6pclznBdfUhccEn9ZIzw==} + + natural-compare-lite@1.4.0: + resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==} + + natural-compare@1.4.0: + resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} + + needle@3.3.1: + resolution: {integrity: sha512-6k0YULvhpw+RoLNiQCRKOl09Rv1dPLr8hHnVjHqdolKwDrdNyk+Hmrthi4lIGPPz3r39dLx0hsF5s40sZ3Us4Q==} + engines: {node: '>= 4.4.x'} + hasBin: true + + nice-try@1.0.5: + resolution: {integrity: sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==} + + nitropack@2.9.7: + resolution: {integrity: sha512-aKXvtNrWkOCMsQbsk4A0qQdBjrJ1ZcvwlTQevI/LAgLWLYc5L7Q/YiYxGLal4ITyNSlzir1Cm1D2ZxnYhmpMEw==} + engines: {node: ^16.11.0 || >=17.0.0} + hasBin: true + peerDependencies: + xml2js: ^0.6.2 + peerDependenciesMeta: + xml2js: + optional: true + + node-addon-api@7.1.1: + resolution: {integrity: sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==} + + node-fetch-native@1.6.4: + resolution: {integrity: sha512-IhOigYzAKHd244OC0JIMIUrjzctirCmPkaIfhDeGcEETWof5zKYUW7e7MYvChGWh/4CJeXEgsRyGzuF334rOOQ==} + + node-fetch@2.7.0: + resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} + engines: {node: 4.x || >=6.0.0} + peerDependencies: + encoding: ^0.1.0 + peerDependenciesMeta: + encoding: + optional: true + + node-forge@1.3.1: + resolution: {integrity: sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==} + engines: {node: '>= 6.13.0'} + + node-gyp-build@4.8.2: + resolution: {integrity: sha512-IRUxE4BVsHWXkV/SFOut4qTlagw2aM8T5/vnTsmrHJvVoKueJHRc/JaFND7QDDc61kLYUJ6qlZM3sqTSyx2dTw==} + hasBin: true + + node-releases@2.0.18: + resolution: {integrity: sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==} + + nopt@5.0.0: + resolution: {integrity: sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==} + engines: {node: '>=6'} + hasBin: true + + nopt@7.2.1: + resolution: {integrity: sha512-taM24ViiimT/XntxbPyJQzCG+p4EKOpgD3mxFwW38mGjVUrfERQOeY4EDHjdnptttfHuHQXFx+lTP08Q+mLa/w==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + hasBin: true + + normalize-package-data@2.5.0: + resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} + + normalize-package-data@3.0.3: + resolution: {integrity: sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==} + engines: {node: '>=10'} + + normalize-path@3.0.0: + resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} + engines: {node: '>=0.10.0'} + + npm-run-all@4.1.5: + resolution: {integrity: sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ==} + engines: {node: '>= 4'} + hasBin: true + + npm-run-path@4.0.1: + resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} + engines: {node: '>=8'} + + npm-run-path@5.3.0: + resolution: {integrity: sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + npmlog@5.0.1: + resolution: {integrity: sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==} + deprecated: This package is no longer supported. + + nth-check@2.1.1: + resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} + + nwsapi@2.2.12: + resolution: {integrity: sha512-qXDmcVlZV4XRtKFzddidpfVP4oMSGhga+xdMc25mv8kaLUHtgzCDhUxkrN8exkGdTlLNaXj7CV3GtON7zuGZ+w==} + + nypm@0.3.11: + resolution: {integrity: sha512-E5GqaAYSnbb6n1qZyik2wjPDZON43FqOJO59+3OkWrnmQtjggrMOVnsyzfjxp/tS6nlYJBA4zRA5jSM2YaadMg==} + engines: {node: ^14.16.0 || >=16.10.0} + hasBin: true + + object-assign@4.1.1: + resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} + engines: {node: '>=0.10.0'} + + object-inspect@1.12.3: + resolution: {integrity: sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==} + + object-inspect@1.13.2: + resolution: {integrity: sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==} + engines: {node: '>= 0.4'} + + object-is@1.1.6: + resolution: {integrity: sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q==} + engines: {node: '>= 0.4'} + + object-keys@0.4.0: + resolution: {integrity: sha512-ncrLw+X55z7bkl5PnUvHwFK9FcGuFYo9gtjws2XtSzL+aZ8tm830P60WJ0dSmFVaSalWieW5MD7kEdnXda9yJw==} + + object-keys@1.1.1: + resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} + engines: {node: '>= 0.4'} + + object.assign@4.1.5: + resolution: {integrity: sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==} + engines: {node: '>= 0.4'} + + ofetch@1.4.0: + resolution: {integrity: sha512-MuHgsEhU6zGeX+EMh+8mSMrYTnsqJQQrpM00Q6QHMKNqQ0bKy0B43tk8tL1wg+CnsSTy1kg4Ir2T5Ig6rD+dfQ==} + + ohash@1.1.4: + resolution: {integrity: sha512-FlDryZAahJmEF3VR3w1KogSEdWX3WhA5GPakFx4J81kEAiHyLMpdLLElS8n8dfNadMgAne/MywcvmogzscVt4g==} + + on-finished@2.4.1: + resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==} + engines: {node: '>= 0.8'} + + once@1.4.0: + resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} + + onetime@5.1.2: + resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} + engines: {node: '>=6'} + + onetime@6.0.0: + resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==} + engines: {node: '>=12'} + + open@10.1.0: + resolution: {integrity: sha512-mnkeQ1qP5Ue2wd+aivTD3NHd/lZ96Lu0jgf0pwktLPtx6cTZiH7tyeGRRHs0zX0rbrahXPnXlUnbeXyaBBuIaw==} + engines: {node: '>=18'} + + open@8.4.2: + resolution: {integrity: sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==} + engines: {node: '>=12'} + + openapi-typescript@6.7.6: + resolution: {integrity: sha512-c/hfooPx+RBIOPM09GSxABOZhYPblDoyaGhqBkD/59vtpN21jEuWKDlM0KYTvqJVlSYjKs0tBcIdeXKChlSPtw==} + hasBin: true + + optionator@0.9.4: + resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} + engines: {node: '>= 0.8.0'} + + ora@7.0.1: + resolution: {integrity: sha512-0TUxTiFJWv+JnjWm4o9yvuskpEJLXTcng8MJuKd+SzAzp2o+OP3HWqNhB4OdJRt1Vsd9/mR0oyaEYlOnL7XIRw==} + engines: {node: '>=16'} + + p-limit@2.3.0: + resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} + engines: {node: '>=6'} + + p-limit@3.1.0: + resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} + engines: {node: '>=10'} + + p-limit@4.0.0: + resolution: {integrity: sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + p-locate@4.1.0: + resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} + engines: {node: '>=8'} + + p-locate@5.0.0: + resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} + engines: {node: '>=10'} + + p-try@2.2.0: + resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} + engines: {node: '>=6'} + + package-json-from-dist@1.0.0: + resolution: {integrity: sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==} + + package-manager-detector@0.2.0: + resolution: {integrity: sha512-E385OSk9qDcXhcM9LNSe4sdhx8a9mAPrZ4sMLW+tmxl5ZuGtPUcdFu+MPP2jbgiWAZ6Pfe5soGFMd+0Db5Vrog==} + + parent-module@1.0.1: + resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} + engines: {node: '>=6'} + + parse-entities@2.0.0: + resolution: {integrity: sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==} + + parse-gitignore@2.0.0: + resolution: {integrity: sha512-RmVuCHWsfu0QPNW+mraxh/xjQVw/lhUCUru8Zni3Ctq3AoMhpDTq0OVdKS6iesd6Kqb7viCV3isAL43dciOSog==} + engines: {node: '>=14'} + + parse-imports@2.2.1: + resolution: {integrity: sha512-OL/zLggRp8mFhKL0rNORUTR4yBYujK/uU+xZL+/0Rgm2QE4nLO9v8PzEweSJEbMGKmDRjJE4R3IMJlL2di4JeQ==} + engines: {node: '>= 18'} + + parse-json@4.0.0: + resolution: {integrity: sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==} + engines: {node: '>=4'} + + parse-json@5.2.0: + resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} + engines: {node: '>=8'} + + parse-node-version@1.0.1: + resolution: {integrity: sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==} + engines: {node: '>= 0.10'} + + parse5@7.1.2: + resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==} + + parseurl@1.3.3: + resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} + engines: {node: '>= 0.8'} + + path-browserify@1.0.1: + resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} + + path-exists@4.0.0: + resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} + engines: {node: '>=8'} + + path-is-absolute@1.0.1: + resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} + engines: {node: '>=0.10.0'} + + path-key@2.0.1: + resolution: {integrity: sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==} + engines: {node: '>=4'} + + path-key@3.1.1: + resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} + engines: {node: '>=8'} + + path-key@4.0.0: + resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==} + engines: {node: '>=12'} + + path-parse@1.0.7: + resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} + + path-scurry@1.11.1: + resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==} + engines: {node: '>=16 || 14 >=14.18'} + + path-type@3.0.0: + resolution: {integrity: sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==} + engines: {node: '>=4'} + + path-type@4.0.0: + resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} + engines: {node: '>=8'} + + path-type@5.0.0: + resolution: {integrity: sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==} + engines: {node: '>=12'} + + pathe@1.1.2: + resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==} + + pathval@1.1.1: + resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} + + pbf@3.3.0: + resolution: {integrity: sha512-XDF38WCH3z5OV/OVa8GKUNtLAyneuzbCisx7QUCF8Q6Nutx0WnJrQe5O+kOtBlLfRNUws98Y58Lblp+NJG5T4Q==} + hasBin: true + + pdfast@0.2.0: + resolution: {integrity: sha512-cq6TTu6qKSFUHwEahi68k/kqN2mfepjkGrG9Un70cgdRRKLKY6Rf8P8uvP2NvZktaQZNF3YE7agEkLj0vGK9bA==} + + perfect-debounce@1.0.0: + resolution: {integrity: sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA==} + + picocolors@1.1.0: + resolution: {integrity: sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==} + + picomatch@2.3.1: + resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} + engines: {node: '>=8.6'} + + picomatch@4.0.2: + resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==} + engines: {node: '>=12'} + + pidtree@0.3.1: + resolution: {integrity: sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA==} + engines: {node: '>=0.10'} + hasBin: true + + pidtree@0.6.0: + resolution: {integrity: sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==} + engines: {node: '>=0.10'} + hasBin: true + + pify@3.0.0: + resolution: {integrity: sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==} + engines: {node: '>=4'} + + pify@4.0.1: + resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==} + engines: {node: '>=6'} + + pinia@2.2.2: + resolution: {integrity: sha512-ja2XqFWZC36mupU4z1ZzxeTApV7DOw44cV4dhQ9sGwun+N89v/XP7+j7q6TanS1u1tdbK4r+1BUx7heMaIdagA==} + peerDependencies: + '@vue/composition-api': ^1.4.0 + typescript: '>=4.4.4' + vue: ^2.6.14 || ^3.3.0 + peerDependenciesMeta: + '@vue/composition-api': + optional: true + typescript: + optional: true + + pkg-types@1.2.0: + resolution: {integrity: sha512-+ifYuSSqOQ8CqP4MbZA5hDpb97n3E8SVWdJe+Wms9kj745lmd3b7EZJiqvmLwAlmRfjrI7Hi5z3kdBJ93lFNPA==} + + pluralize@8.0.0: + resolution: {integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==} + engines: {node: '>=4'} + + polygon-clipping@0.15.7: + resolution: {integrity: sha512-nhfdr83ECBg6xtqOAJab1tbksbBAOMUltN60bU+llHVOL0e5Onm1WpAXXWXVB39L8AJFssoIhEVuy/S90MmotA==} + + polyline-miter-util@1.0.1: + resolution: {integrity: sha512-/3u91zz6mBerBZo6qnOJOTjv7EfPhKtsV028jMyj86YpzLRNmCCFfrX7IO9tCEQ2W4x45yc+vKOezjf7u2Nd6Q==} + + possible-typed-array-names@1.0.0: + resolution: {integrity: sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==} + engines: {node: '>= 0.4'} + + postcss-selector-parser@6.1.2: + resolution: {integrity: sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==} + engines: {node: '>=4'} + + postcss@8.4.47: + resolution: {integrity: sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==} + engines: {node: ^10 || ^12 || >=14} + + potpack@1.0.2: + resolution: {integrity: sha512-choctRBIV9EMT9WGAZHn3V7t0Z2pMQyl0EZE6pFc/6ml3ssw7Dlf/oAOvFwjm1HVsqfQN8GfeFyJ+d8tRzqueQ==} + + potpack@2.0.0: + resolution: {integrity: sha512-Q+/tYsFU9r7xoOJ+y/ZTtdVQwTWfzjbiXBDMM/JKUux3+QPP02iUuIoeBQ+Ot6oEDlC+/PGjB/5A3K7KKb7hcw==} + + prelude-ls@1.2.1: + resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} + engines: {node: '>= 0.8.0'} + + prettier@2.8.8: + resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} + engines: {node: '>=10.13.0'} + hasBin: true + + pretty-bytes@6.1.1: + resolution: {integrity: sha512-mQUvGU6aUFQ+rNvTIAcZuWGRT9a6f6Yrg9bHs4ImKF+HZCEK+plBvnAZYSIQztknZF2qnzNtr6F8s0+IuptdlQ==} + engines: {node: ^14.13.1 || >=16.0.0} + + pretty-format@29.7.0: + resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + + process-nextick-args@2.0.1: + resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==} + + process@0.11.10: + resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==} + engines: {node: '>= 0.6.0'} + + proto-list@1.2.4: + resolution: {integrity: sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==} + + protocol-buffers-schema@3.6.0: + resolution: {integrity: sha512-TdDRD+/QNdrCGCE7v8340QyuXd4kIWIgapsE2+n/SaGiSSbomYl4TjHlvIoCWRpE7wFt02EpB35VVA2ImcBVqw==} + + proxy-from-env@1.1.0: + resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} + + prr@1.0.1: + resolution: {integrity: sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==} + + psl@1.9.0: + resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==} + + punycode@2.3.1: + resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} + engines: {node: '>=6'} + + querystringify@2.2.0: + resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==} + + queue-microtask@1.2.3: + resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} + + queue-tick@1.0.1: + resolution: {integrity: sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==} + + quick-lru@4.0.1: + resolution: {integrity: sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==} + engines: {node: '>=8'} + + quickselect@2.0.0: + resolution: {integrity: sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw==} + + radix3@1.1.2: + resolution: {integrity: sha512-b484I/7b8rDEdSDKckSSBA8knMpcdsXudlE/LNL639wFoHKwLbEkQFZHWEYwDC0wa0FKUcCY+GAF73Z7wxNVFA==} + + randombytes@2.1.0: + resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==} + + range-parser@1.2.1: + resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==} + engines: {node: '>= 0.6'} + + rc9@2.1.2: + resolution: {integrity: sha512-btXCnMmRIBINM2LDZoEmOogIZU7Qe7zn4BpomSKZ/ykbLObuBdvG+mFq11DL6fjH1DRwHhrlgtYWG96bJiC7Cg==} + + react-is@18.3.1: + resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==} + + read-pkg-up@7.0.1: + resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==} + engines: {node: '>=8'} + + read-pkg@3.0.0: + resolution: {integrity: sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==} + engines: {node: '>=4'} + + read-pkg@5.2.0: + resolution: {integrity: sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==} + engines: {node: '>=8'} + + readable-stream@1.0.34: + resolution: {integrity: sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg==} + + readable-stream@2.3.8: + resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==} + + readable-stream@3.6.2: + resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} + engines: {node: '>= 6'} + + readable-stream@4.5.2: + resolution: {integrity: sha512-yjavECdqeZ3GLXNgRXgeQEdz9fvDDkNKyHnbHRFtOr7/LcfgBcmct7t/ET+HaCTqfh06OzoAxrkN/IfjJBVe+g==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + + readdir-glob@1.1.3: + resolution: {integrity: sha512-v05I2k7xN8zXvPD9N+z/uhXPaj0sUFCe2rcWZIpBsqxfP7xXFQ0tipAd/wjj1YxWyWtUS5IDJpOG82JKt2EAVA==} + + readdirp@3.6.0: + resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} + engines: {node: '>=8.10.0'} + + redent@3.0.0: + resolution: {integrity: sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==} + engines: {node: '>=8'} + + redis-errors@1.2.0: + resolution: {integrity: sha512-1qny3OExCf0UvUV/5wpYKf2YwPcOqXzkwKKSmKHiE6ZMQs5heeE/c8eXK+PNllPvmjgAbfnsbpkGZWy8cBpn9w==} + engines: {node: '>=4'} + + redis-parser@3.0.0: + resolution: {integrity: sha512-DJnGAeenTdpMEH6uAJRK/uiyEIH9WVsUmoLwzudwGJUwZPp80PDBWPHXSAGNPwNvIXAbe7MSUB1zQFugFml66A==} + engines: {node: '>=4'} + + reduce-flatten@2.0.0: + resolution: {integrity: sha512-EJ4UNY/U1t2P/2k6oqotuX2Cc3T6nxJwsM0N0asT7dhrtH1ltUxDn4NalSYmPE2rCkVpcf/X6R0wDwcFpzhd4w==} + engines: {node: '>=6'} + + refa@0.12.1: + resolution: {integrity: sha512-J8rn6v4DBb2nnFqkqwy6/NnTYMcgLA+sLr0iIO41qpv0n+ngb7ksag2tMRl0inb1bbO/esUwzW1vbJi7K0sI0g==} + engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + + regenerator-runtime@0.14.1: + resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==} + + regexp-ast-analysis@0.7.1: + resolution: {integrity: sha512-sZuz1dYW/ZsfG17WSAG7eS85r5a0dDsvg+7BiiYR5o6lKCAtUrEwdmRmaGF6rwVj3LcmAeYkOWKEPlbPzN3Y3A==} + engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + + regexp-tree@0.1.27: + resolution: {integrity: sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==} + hasBin: true + + regexp.prototype.flags@1.5.2: + resolution: {integrity: sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==} + engines: {node: '>= 0.4'} + + regjsparser@0.10.0: + resolution: {integrity: sha512-qx+xQGZVsy55CH0a1hiVwHmqjLryfh7wQyF5HO07XJ9f7dQMY/gPQHhlyDkIzJKC+x2fUCpCcUODUUUFrm7SHA==} + hasBin: true + + regl@1.6.1: + resolution: {integrity: sha512-7Z9rmpEqmLNwC9kCYCyfyu47eWZaQWeNpwZfwz99QueXN8B/Ow40DB0N+OeUeM/yu9pZAB01+JgJ+XghGveVoA==} + + repeat-string@1.6.1: + resolution: {integrity: sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==} + engines: {node: '>=0.10'} + + require-directory@2.1.1: + resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} + engines: {node: '>=0.10.0'} + + require-from-string@2.0.2: + resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} + engines: {node: '>=0.10.0'} + + requires-port@1.0.0: + resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==} + + resize-observer-polyfill@1.5.1: + resolution: {integrity: sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==} + + resolve-from@4.0.0: + resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} + engines: {node: '>=4'} + + resolve-from@5.0.0: + resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} + engines: {node: '>=8'} + + resolve-global@1.0.0: + resolution: {integrity: sha512-zFa12V4OLtT5XUX/Q4VLvTfBf+Ok0SPc1FNGM/z9ctUdiU618qwKpWnd0CHs3+RqROfyEg/DhuHbMWYqcgljEw==} + engines: {node: '>=8'} + + resolve-pkg-maps@1.0.0: + resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} + + resolve-protobuf-schema@2.1.0: + resolution: {integrity: sha512-kI5ffTiZWmJaS/huM8wZfEMer1eRd7oJQhDuxeCLe3t7N7mX3z94CN0xPxBQxFYQTSNz9T0i+v6inKqSdK8xrQ==} + + resolve@1.22.8: + resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} + hasBin: true + + restore-cursor@4.0.0: + resolution: {integrity: sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + reusify@1.0.4: + resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} + engines: {iojs: '>=1.0.0', node: '>=0.10.0'} + + rfdc@1.4.1: + resolution: {integrity: sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==} + + right-align@0.1.3: + resolution: {integrity: sha512-yqINtL/G7vs2v+dFIZmFUDbnVyFUJFKd6gK22Kgo6R4jfJGFtisKyncWDDULgjfqf4ASQuIQyjJ7XZ+3aWpsAg==} + engines: {node: '>=0.10.0'} + + rimraf@3.0.2: + resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} + deprecated: Rimraf versions prior to v4 are no longer supported + hasBin: true + + robust-predicates@3.0.2: + resolution: {integrity: sha512-IXgzBWvWQwE6PrDI05OvmXUIruQTcoMDzRsOd5CDvHCVLcLHMTSYvOK5Cm46kWqlV3yAbuSpBZdJ5oP5OUoStg==} + + rollup-plugin-visualizer@5.12.0: + resolution: {integrity: sha512-8/NU9jXcHRs7Nnj07PF2o4gjxmm9lXIrZ8r175bT9dK8qoLlvKTwRMArRCMgpMGlq8CTLugRvEmyMeMXIU2pNQ==} + engines: {node: '>=14'} + hasBin: true + peerDependencies: + rollup: 2.x || 3.x || 4.x + peerDependenciesMeta: + rollup: + optional: true + + rollup@0.25.8: + resolution: {integrity: sha512-a2S4Bh3bgrdO4BhKr2E4nZkjTvrJ2m2bWjMTzVYtoqSCn0HnuxosXnaJUHrMEziOWr3CzL9GjilQQKcyCQpJoA==} + hasBin: true + + rollup@4.22.4: + resolution: {integrity: sha512-vD8HJ5raRcWOyymsR6Z3o6+RzfEPCnVLMFJ6vRslO1jt4LO6dUo5Qnpg7y4RkZFM2DMe3WUirkI5c16onjrc6A==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + + rrweb-cssom@0.6.0: + resolution: {integrity: sha512-APM0Gt1KoXBz0iIkkdB/kfvGOwC4UuJFeG/c+yV7wSc7q96cG/kJ0HiYCnzivD9SB53cLV1MlHFNfOuPaadYSw==} + + rrweb-cssom@0.7.1: + resolution: {integrity: sha512-TrEMa7JGdVm0UThDJSx7ddw5nVm3UJS9o9CCIZ72B1vSyEZoziDqBYP3XIoi/12lKrJR8rE3jeFHMok2F/Mnsg==} + + run-applescript@7.0.0: + resolution: {integrity: sha512-9by4Ij99JUr/MCFBUkDKLWK3G9HVXmabKz9U5MlIAIuvuzkiOicRYs8XJLxX+xahD+mLiiCYDqF9dKAgtzKP1A==} + engines: {node: '>=18'} + + run-parallel@1.2.0: + resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} + + rw@1.3.3: + resolution: {integrity: sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==} + + safe-array-concat@1.1.2: + resolution: {integrity: sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==} + engines: {node: '>=0.4'} + + safe-buffer@5.1.2: + resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} + + safe-buffer@5.2.1: + resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} + + safe-regex-test@1.0.3: + resolution: {integrity: sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==} + engines: {node: '>= 0.4'} + + safer-buffer@2.1.2: + resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} + + sax@1.4.1: + resolution: {integrity: sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==} + + saxes@6.0.0: + resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} + engines: {node: '>=v12.22.7'} + + scroll-into-view-if-needed@2.2.31: + resolution: {integrity: sha512-dGCXy99wZQivjmjIqihaBQNjryrz5rueJY7eHfTdyWEiR4ttYpsajb14rn9s5d4DY4EcY6+4+U/maARBXJedkA==} + + scslre@0.3.0: + resolution: {integrity: sha512-3A6sD0WYP7+QrjbfNA2FN3FsOaGGFoekCVgTyypy53gPxhbkCIjtO6YWgdrfM+n/8sI8JeXZOIxsHjMTNxQ4nQ==} + engines: {node: ^14.0.0 || >=16.0.0} + + scule@1.3.0: + resolution: {integrity: sha512-6FtHJEvt+pVMIB9IBY+IcCJ6Z5f1iQnytgyfKMhDKgmzYG+TeH/wx1y3l27rshSbLiSanrR9ffZDrEsmjlQF2g==} + + semver@5.7.2: + resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} + hasBin: true + + semver@6.3.1: + resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} + hasBin: true + + semver@7.6.0: + resolution: {integrity: sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==} + engines: {node: '>=10'} + hasBin: true + + semver@7.6.3: + resolution: {integrity: sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==} + engines: {node: '>=10'} + hasBin: true + + send@0.19.0: + resolution: {integrity: sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==} + engines: {node: '>= 0.8.0'} + + serialize-javascript@6.0.2: + resolution: {integrity: sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==} + + serve-placeholder@2.0.2: + resolution: {integrity: sha512-/TMG8SboeiQbZJWRlfTCqMs2DD3SZgWp0kDQePz9yUuCnDfDh/92gf7/PxGhzXTKBIPASIHxFcZndoNbp6QOLQ==} + + serve-static@1.16.2: + resolution: {integrity: sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==} + engines: {node: '>= 0.8.0'} + + set-blocking@2.0.0: + resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} + + set-function-length@1.2.2: + resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} + engines: {node: '>= 0.4'} + + set-function-name@2.0.2: + resolution: {integrity: sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==} + engines: {node: '>= 0.4'} + + set-value@2.0.1: + resolution: {integrity: sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==} + engines: {node: '>=0.10.0'} + + setprototypeof@1.2.0: + resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} + + shallow-equal@1.2.1: + resolution: {integrity: sha512-S4vJDjHHMBaiZuT9NPb616CSmLf618jawtv3sufLl6ivK8WocjAo58cXwbRV1cgqxH0Qbv+iUt6m05eqEa2IRA==} + + shebang-command@1.2.0: + resolution: {integrity: sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==} + engines: {node: '>=0.10.0'} + + shebang-command@2.0.0: + resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} + engines: {node: '>=8'} + + shebang-regex@1.0.0: + resolution: {integrity: sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==} + engines: {node: '>=0.10.0'} + + shebang-regex@3.0.0: + resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} + engines: {node: '>=8'} + + shell-quote@1.8.1: + resolution: {integrity: sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==} + + side-channel@1.0.6: + resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} + engines: {node: '>= 0.4'} + + siginfo@2.0.0: + resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} + + signal-exit@3.0.7: + resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} + + signal-exit@4.1.0: + resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} + engines: {node: '>=14'} + + sirv@2.0.4: + resolution: {integrity: sha512-94Bdh3cC2PKrbgSOUqTiGPWVZeSiXfKOVZNJniWoqrWrRkB1CJzBU3NEbiTsPcYy1lDsANA/THzS+9WBiy5nfQ==} + engines: {node: '>= 10'} + + sisteransi@1.0.5: + resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} + + size-sensor@1.0.2: + resolution: {integrity: sha512-2NCmWxY7A9pYKGXNBfteo4hy14gWu47rg5692peVMst6lQLPKrVjhY+UTEsPI5ceFRJSl3gVgMYaUi/hKuaiKw==} + + slash@4.0.0: + resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==} + engines: {node: '>=12'} + + slash@5.1.0: + resolution: {integrity: sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==} + engines: {node: '>=14.16'} + + slashes@3.0.12: + resolution: {integrity: sha512-Q9VME8WyGkc7pJf6QEkj3wE+2CnvZMI+XJhwdTPR8Z/kWQRXi7boAWLDibRPyHRTUTPx5FaU7MsyrjI3yLB4HA==} + + slice-ansi@5.0.0: + resolution: {integrity: sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==} + engines: {node: '>=12'} + + smob@1.5.0: + resolution: {integrity: sha512-g6T+p7QO8npa+/hNx9ohv1E5pVCmWrVCUzUXJyLdMmftX6ER0oiWY/w9knEonLpnOp6b6FenKnMfR8gqwWdwig==} + + sort-asc@0.2.0: + resolution: {integrity: sha512-umMGhjPeHAI6YjABoSTrFp2zaBtXBej1a0yKkuMUyjjqu6FJsTF+JYwCswWDg+zJfk/5npWUUbd33HH/WLzpaA==} + engines: {node: '>=0.10.0'} + + sort-desc@0.2.0: + resolution: {integrity: sha512-NqZqyvL4VPW+RAxxXnB8gvE1kyikh8+pR+T+CXLksVRN9eiQqkQlPwqWYU0mF9Jm7UnctShlxLyAt1CaBOTL1w==} + engines: {node: '>=0.10.0'} + + sort-object@3.0.3: + resolution: {integrity: sha512-nK7WOY8jik6zaG9CRwZTaD5O7ETWDLZYMM12pqY8htll+7dYeqGfEUPcUBHOpSJg2vJOrvFIY2Dl5cX2ih1hAQ==} + engines: {node: '>=0.10.0'} + + source-map-js@1.2.1: + resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} + engines: {node: '>=0.10.0'} + + source-map-support@0.3.3: + resolution: {integrity: sha512-9O4+y9n64RewmFoKUZ/5Tx9IHIcXM6Q+RTSw6ehnqybUz4a7iwR3Eaw80uLtqqQ5D0C+5H03D4KKGo9PdP33Gg==} + + source-map-support@0.5.21: + resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} + + source-map@0.1.32: + resolution: {integrity: sha512-htQyLrrRLkQ87Zfrir4/yN+vAUd6DNjVayEjTSHXu29AYQJw57I4/xEL/M6p6E/woPNJwvZt6rVlzc7gFEJccQ==} + engines: {node: '>=0.8.0'} + + source-map@0.5.7: + resolution: {integrity: sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==} + engines: {node: '>=0.10.0'} + + source-map@0.6.1: + resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} + engines: {node: '>=0.10.0'} + + source-map@0.7.4: + resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==} + engines: {node: '>= 8'} + + spdx-correct@3.2.0: + resolution: {integrity: sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==} + + spdx-exceptions@2.5.0: + resolution: {integrity: sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==} + + spdx-expression-parse@3.0.1: + resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} + + spdx-expression-parse@4.0.0: + resolution: {integrity: sha512-Clya5JIij/7C6bRR22+tnGXbc4VKlibKSVj2iHvVeX5iMW7s1SIQlqu699JkODJJIhh/pUu8L0/VLh8xflD+LQ==} + + spdx-license-ids@3.0.20: + resolution: {integrity: sha512-jg25NiDV/1fLtSgEgyvVyDunvaNHbuwF9lfNV17gSmPFAlYzdfNBlLtLzXTevwkPj7DhGbmN9VnmJIgLnhvaBw==} + + splaytree@3.1.2: + resolution: {integrity: sha512-4OM2BJgC5UzrhVnnJA4BkHKGtjXNzzUfpQjCO8I05xYPsfS/VuQDwjCGGMi8rYQilHEV4j8NBqTFbls/PZEE7A==} + + split-string@3.1.0: + resolution: {integrity: sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==} + engines: {node: '>=0.10.0'} + + split2@3.2.2: + resolution: {integrity: sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==} + + split2@4.2.0: + resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==} + engines: {node: '>= 10.x'} + + stable-hash@0.0.4: + resolution: {integrity: sha512-LjdcbuBeLcdETCrPn9i8AYAZ1eCtu4ECAWtP7UleOiZ9LzVxRzzUZEoZ8zB24nhkQnDWyET0I+3sWokSDS3E7g==} + + stackback@0.0.2: + resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} + + standard-as-callback@2.1.0: + resolution: {integrity: sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==} + + statuses@2.0.1: + resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==} + engines: {node: '>= 0.8'} + + std-env@3.7.0: + resolution: {integrity: sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg==} + + stdin-discarder@0.1.0: + resolution: {integrity: sha512-xhV7w8S+bUwlPTb4bAOUQhv8/cSS5offJuX8GQGq32ONF0ZtDWKfkdomM3HMRA+LhX6um/FZ0COqlwsjD53LeQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + streamx@2.20.1: + resolution: {integrity: sha512-uTa0mU6WUC65iUvzKH4X9hEdvSW7rbPxPtwfWiLMSj3qTdQbAiUboZTxauKfpFuGIGa1C2BYijZ7wgdUXICJhA==} + + string-argv@0.3.2: + resolution: {integrity: sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==} + engines: {node: '>=0.6.19'} + + string-width@4.2.3: + resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} + engines: {node: '>=8'} + + string-width@5.1.2: + resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==} + engines: {node: '>=12'} + + string-width@6.1.0: + resolution: {integrity: sha512-k01swCJAgQmuADB0YIc+7TuatfNvTBVOoaUWJjTB9R4VJzR5vNWzf5t42ESVZFPS8xTySF7CAdV4t/aaIm3UnQ==} + engines: {node: '>=16'} + + string.prototype.padend@3.1.6: + resolution: {integrity: sha512-XZpspuSB7vJWhvJc9DLSlrXl1mcA2BdoY5jjnS135ydXqLoqhs96JjDtCkjJEQHvfqZIp9hBuBMgI589peyx9Q==} + engines: {node: '>= 0.4'} + + string.prototype.trim@1.2.9: + resolution: {integrity: sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==} + engines: {node: '>= 0.4'} + + string.prototype.trimend@1.0.8: + resolution: {integrity: sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ==} + + string.prototype.trimstart@1.0.8: + resolution: {integrity: sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==} + engines: {node: '>= 0.4'} + + string_decoder@0.10.31: + resolution: {integrity: sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ==} + + string_decoder@1.1.1: + resolution: {integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==} + + string_decoder@1.3.0: + resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} + + strip-ansi@3.0.1: + resolution: {integrity: sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==} + engines: {node: '>=0.10.0'} + + strip-ansi@6.0.1: + resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} + engines: {node: '>=8'} + + strip-ansi@7.1.0: + resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==} + engines: {node: '>=12'} + + strip-bom@3.0.0: + resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} + engines: {node: '>=4'} + + strip-final-newline@2.0.0: + resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} + engines: {node: '>=6'} + + strip-final-newline@3.0.0: + resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==} + engines: {node: '>=12'} + + strip-indent@3.0.0: + resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} + engines: {node: '>=8'} + + strip-json-comments@3.1.1: + resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} + engines: {node: '>=8'} + + strip-literal@1.3.0: + resolution: {integrity: sha512-PugKzOsyXpArk0yWmUwqOZecSO0GH0bPoctLcqNDH9J04pVW3lflYE0ujElBGTloevcxF5MofAOZ7C5l2b+wLg==} + + strip-literal@2.1.0: + resolution: {integrity: sha512-Op+UycaUt/8FbN/Z2TWPBLge3jWrP3xj10f3fnYxf052bKuS3EKs1ZQcVGjnEMdsNVAM+plXRdmjrZ/KgG3Skw==} + + stylis@4.2.0: + resolution: {integrity: sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==} + + stylis@4.3.4: + resolution: {integrity: sha512-osIBl6BGUmSfDkyH2mB7EFvCJntXDrLhKjHTRj/rK6xLH0yuPrHULDRQzKokSOD4VoorhtKpfcfW1GAntu8now==} + + supercluster@7.1.5: + resolution: {integrity: sha512-EulshI3pGUM66o6ZdH3ReiFcvHpM3vAigyK+vcxdjpJyEbIIrtbmBdY23mGgnI24uXiGFvrGq9Gkum/8U7vJWg==} + + supercluster@8.0.1: + resolution: {integrity: sha512-IiOea5kJ9iqzD2t7QJq/cREyLHTtSmUT6gQsweojg9WH2sYJqZK9SswTu6jrscO6D1G5v5vYZ9ru/eq85lXeZQ==} + + supports-color@2.0.0: + resolution: {integrity: sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==} + engines: {node: '>=0.8.0'} + + supports-color@5.5.0: + resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} + engines: {node: '>=4'} + + supports-color@7.2.0: + resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} + engines: {node: '>=8'} + + supports-color@9.4.0: + resolution: {integrity: sha512-VL+lNrEoIXww1coLPOmiEmK/0sGigko5COxI09KzHc2VJXJsQ37UaQ+8quuxjDeA7+KnLGTWRyOXSLLR2Wb4jw==} + engines: {node: '>=12'} + + supports-preserve-symlinks-flag@1.0.0: + resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} + engines: {node: '>= 0.4'} + + svg-tags@1.0.0: + resolution: {integrity: sha512-ovssysQTa+luh7A5Weu3Rta6FJlFBBbInjOh722LIt6klpU2/HtdUbszju/G4devcvk8PGt7FCLv5wftu3THUA==} + + symbol-tree@3.2.4: + resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} + + synckit@0.6.2: + resolution: {integrity: sha512-Vhf+bUa//YSTYKseDiiEuQmhGCoIF3CVBhunm3r/DQnYiGT4JssmnKQc44BIyOZRK2pKjXXAgbhfmbeoC9CJpA==} + engines: {node: '>=12.20'} + + synckit@0.9.1: + resolution: {integrity: sha512-7gr8p9TQP6RAHusBOSLs46F4564ZrjV8xFmw5zCmgmhGUcw2hxsShhJ6CEiHQMgPDwAQ1fWHPM0ypc4RMAig4A==} + engines: {node: ^14.18.0 || >=16.0.0} + + system-architecture@0.1.0: + resolution: {integrity: sha512-ulAk51I9UVUyJgxlv9M6lFot2WP3e7t8Kz9+IS6D4rVba1tR9kON+Ey69f+1R4Q8cd45Lod6a4IcJIxnzGc/zA==} + engines: {node: '>=18'} + + table-layout@1.0.2: + resolution: {integrity: sha512-qd/R7n5rQTRFi+Zf2sk5XVVd9UQl6ZkduPFC3S7WEGJAmetDTjY3qPN50eSKzwuzEyQKy5TN2TiZdkIjos2L6A==} + engines: {node: '>=8.0.0'} + + tapable@2.2.1: + resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==} + engines: {node: '>=6'} + + tape@4.17.0: + resolution: {integrity: sha512-KCuXjYxCZ3ru40dmND+oCLsXyuA8hoseu2SS404Px5ouyS0A99v8X/mdiLqsR5MTAyamMBN7PRwt2Dv3+xGIxw==} + hasBin: true + + tar-stream@3.1.7: + resolution: {integrity: sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==} + + tar@6.2.1: + resolution: {integrity: sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==} + engines: {node: '>=10'} + + terser@5.33.0: + resolution: {integrity: sha512-JuPVaB7s1gdFKPKTelwUyRq5Sid2A3Gko2S0PncwdBq7kN9Ti9HPWDQ06MPsEDGsZeVESjKEnyGy68quBk1w6g==} + engines: {node: '>=10'} + hasBin: true + + text-decoder@1.2.0: + resolution: {integrity: sha512-n1yg1mOj9DNpk3NeZOx7T6jchTbyJS3i3cucbNN6FcdPriMZx7NsgrGpWWdWZZGxD7ES1XB+3uoqHMgOKaN+fg==} + + text-extensions@2.4.0: + resolution: {integrity: sha512-te/NtwBwfiNRLf9Ijqx3T0nlqZiQ2XrrtBvu+cLL8ZRrGkO0NHTug8MYFKyoSrv/sHTaSKfilUkizV6XhxMJ3g==} + engines: {node: '>=8'} + + text-table@0.2.0: + resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} + + throttle-debounce@5.0.2: + resolution: {integrity: sha512-B71/4oyj61iNH0KeCamLuE2rmKuTO5byTOSVwECM5FA7TiAiAW+UqTKZ9ERueC4qvgSttUhdmq1mXC3kJqGX7A==} + engines: {node: '>=12.22'} + + through2@0.4.2: + resolution: {integrity: sha512-45Llu+EwHKtAZYTPPVn3XZHBgakWMN3rokhEv5hu596XP+cNgplMg+Gj+1nmAvj+L0K7+N49zBKx5rah5u0QIQ==} + + through2@4.0.2: + resolution: {integrity: sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==} + + through@2.3.8: + resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==} + + tinybench@2.9.0: + resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} + + tinyexec@0.3.0: + resolution: {integrity: sha512-tVGE0mVJPGb0chKhqmsoosjsS+qUnJVGJpZgsHYQcGoPlG3B51R3PouqTgEGH2Dc9jjFyOqOpix6ZHNMXp1FZg==} + + tinypool@0.7.0: + resolution: {integrity: sha512-zSYNUlYSMhJ6Zdou4cJwo/p7w5nmAH17GRfU/ui3ctvjXFErXXkruT4MWW6poDeXgCaIBlGLrfU6TbTXxyGMww==} + engines: {node: '>=14.0.0'} + + tinyqueue@2.0.3: + resolution: {integrity: sha512-ppJZNDuKGgxzkHihX8v9v9G5f+18gzaTfrukGrq6ueg0lmH4nqVnA2IPG0AEH3jKEk2GRJCUhDoqpoiw3PHLBA==} + + tinyspy@2.2.1: + resolution: {integrity: sha512-KYad6Vy5VDWV4GH3fjpseMQ/XU2BhIYP7Vzd0LG44qRWm/Yt2WCOTicFdvmgo6gWaqooMQCawTtILVQJupKu7A==} + engines: {node: '>=14.0.0'} + + to-fast-properties@2.0.0: + resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} + engines: {node: '>=4'} + + to-regex-range@5.0.1: + resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} + engines: {node: '>=8.0'} + + toidentifier@1.0.1: + resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} + engines: {node: '>=0.6'} + + toml-eslint-parser@0.10.0: + resolution: {integrity: sha512-khrZo4buq4qVmsGzS5yQjKe/WsFvV8fGfOjDQN0q4iy9FjRfPWRgTFrU8u1R2iu/SfWLhY9WnCi4Jhdrcbtg+g==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + + totalist@3.0.1: + resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==} + engines: {node: '>=6'} + + tough-cookie@4.1.4: + resolution: {integrity: sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==} + engines: {node: '>=6'} + + tr46@0.0.3: + resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} + + tr46@4.1.1: + resolution: {integrity: sha512-2lv/66T7e5yNyhAAC4NaKe5nVavzuGJQVVtRYLyQ2OI8tsJ61PMLlelehb0wi2Hx6+hT/OJUWZcw8MjlSRnxvw==} + engines: {node: '>=14'} + + tr46@5.0.0: + resolution: {integrity: sha512-tk2G5R2KRwBd+ZN0zaEXpmzdKyOYksXwywulIX95MBODjSzMIuQnQ3m8JxgbhnL1LeVo7lqQKsYa1O3Htl7K5g==} + engines: {node: '>=18'} + + treeify@1.1.0: + resolution: {integrity: sha512-1m4RA7xVAJrSGrrXGs0L3YTwyvBs2S8PbRHaLZAkFw7JR8oIFwYtysxlBZhYIa7xSyiYJKZ3iGrrk55cGA3i9A==} + engines: {node: '>=0.6'} + + trim-newlines@3.0.1: + resolution: {integrity: sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==} + engines: {node: '>=8'} + + ts-api-utils@1.3.0: + resolution: {integrity: sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==} + engines: {node: '>=16'} + peerDependencies: + typescript: '>=4.2.0' + + ts-node@10.9.2: + resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} + hasBin: true + peerDependencies: + '@swc/core': '>=1.2.50' + '@swc/wasm': '>=1.2.50' + '@types/node': '*' + typescript: '>=2.7' + peerDependenciesMeta: + '@swc/core': + optional: true + '@swc/wasm': + optional: true + + tslib@1.14.1: + resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} + + tslib@2.7.0: + resolution: {integrity: sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==} + + tsx@3.14.0: + resolution: {integrity: sha512-xHtFaKtHxM9LOklMmJdI3BEnQq/D5F73Of2E1GDrITi9sgoVkvIsrQUTY1G8FlmGtA+awCI4EBlTRRYxkL2sRg==} + hasBin: true + + type-check@0.4.0: + resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} + engines: {node: '>= 0.8.0'} + + type-detect@4.1.0: + resolution: {integrity: sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw==} + engines: {node: '>=4'} + + type-fest@0.18.1: + resolution: {integrity: sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==} + engines: {node: '>=10'} + + type-fest@0.20.2: + resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} + engines: {node: '>=10'} + + type-fest@0.6.0: + resolution: {integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==} + engines: {node: '>=8'} + + type-fest@0.8.1: + resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==} + engines: {node: '>=8'} + + type-fest@1.4.0: + resolution: {integrity: sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==} + engines: {node: '>=10'} + + type-fest@3.13.1: + resolution: {integrity: sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==} + engines: {node: '>=14.16'} + + typed-array-buffer@1.0.2: + resolution: {integrity: sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==} + engines: {node: '>= 0.4'} + + typed-array-byte-length@1.0.1: + resolution: {integrity: sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==} + engines: {node: '>= 0.4'} + + typed-array-byte-offset@1.0.2: + resolution: {integrity: sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==} + engines: {node: '>= 0.4'} + + typed-array-length@1.0.6: + resolution: {integrity: sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==} + engines: {node: '>= 0.4'} + + typescript@5.5.4: + resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==} + engines: {node: '>=14.17'} + hasBin: true + + typewise-core@1.2.0: + resolution: {integrity: sha512-2SCC/WLzj2SbUwzFOzqMCkz5amXLlxtJqDKTICqg30x+2DZxcfZN2MvQZmGfXWKNWaKK9pBPsvkcwv8bF/gxKg==} + + typewise@1.0.3: + resolution: {integrity: sha512-aXofE06xGhaQSPzt8hlTY+/YWQhm9P0jYUp1f2XtmW/3Bk0qzXcyFWAtPoo2uTGQj1ZwbDuSyuxicq+aDo8lCQ==} + + typical@4.0.0: + resolution: {integrity: sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw==} + engines: {node: '>=8'} + + typical@5.2.0: + resolution: {integrity: sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==} + engines: {node: '>=8'} + + ufo@1.5.4: + resolution: {integrity: sha512-UsUk3byDzKd04EyoZ7U4DOlxQaD14JUKQl6/P7wiX4FNvUfm3XL246n9W5AmqwW5RSFJ27NAuM0iLscAOYUiGQ==} + + uglify-js@2.8.29: + resolution: {integrity: sha512-qLq/4y2pjcU3vhlhseXGGJ7VbFO4pBANu0kwl8VCa9KEI0V8VfZIx2Fy3w01iSTA/pGwKZSmu/+I4etLNDdt5w==} + engines: {node: '>=0.8.0'} + hasBin: true + + uglify-to-browserify@1.0.2: + resolution: {integrity: sha512-vb2s1lYx2xBtUgy+ta+b2J/GLVUR+wmpINwHePmPRhOsIVCG2wDzKJ0n14GslH1BifsqVzSOwQhRaCAsZ/nI4Q==} + + unbox-primitive@1.0.2: + resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} + + unconfig@0.3.13: + resolution: {integrity: sha512-N9Ph5NC4+sqtcOjPfHrRcHekBCadCXWTBzp2VYYbySOHW0PfD9XLCeXshTXjkPYwLrBr9AtSeU0CZmkYECJhng==} + + uncrypto@0.1.3: + resolution: {integrity: sha512-Ql87qFHB3s/De2ClA9e0gsnS6zXG27SkTiSJwjCc9MebbfapQfuPzumMIUMi38ezPZVNFcHI9sUIepeQfw8J8Q==} + + unctx@2.3.1: + resolution: {integrity: sha512-PhKke8ZYauiqh3FEMVNm7ljvzQiph0Mt3GBRve03IJm7ukfaON2OBK795tLwhbyfzknuRRkW0+Ze+CQUmzOZ+A==} + + undici-types@6.19.8: + resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==} + + undici@5.28.4: + resolution: {integrity: sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==} + engines: {node: '>=14.0'} + + unenv@1.10.0: + resolution: {integrity: sha512-wY5bskBQFL9n3Eca5XnhH6KbUo/tfvkwm9OpcdCvLaeA7piBNbavbOKJySEwQ1V0RH6HvNlSAFRTpvTqgKRQXQ==} + + unicorn-magic@0.1.0: + resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==} + engines: {node: '>=18'} + + unimport@3.12.0: + resolution: {integrity: sha512-5y8dSvNvyevsnw4TBQkIQR1Rjdbb+XjVSwQwxltpnVZrStBvvPkMPcZrh1kg5kY77kpx6+D4Ztd3W6FOBH/y2Q==} + + union-value@1.0.1: + resolution: {integrity: sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==} + engines: {node: '>=0.10.0'} + + unist-util-stringify-position@2.0.3: + resolution: {integrity: sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==} + + universalify@0.2.0: + resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==} + engines: {node: '>= 4.0.0'} + + universalify@2.0.1: + resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} + engines: {node: '>= 10.0.0'} + + unocss-preset-chinese@0.3.3: + resolution: {integrity: sha512-t6AZ5HMb2pMwSuBp1ntVViKUwPufLWRELoptkAIQrK53j9CtGU3wGXGcpas8HQXaG5fzSpwmGRJagB+7bz1ZZw==} + peerDependencies: + '@unocss/nuxt': '*' + unocss: '*' + peerDependenciesMeta: + '@unocss/nuxt': + optional: true + unocss: + optional: true + + unocss-preset-ease@0.0.3: + resolution: {integrity: sha512-xSJcLZWeEBmeElddjLgKTY/NHP1ycwxSfSW6ldCG2OWPfa4vNNrRl0eL+kuMWNWzewCKGeQS/XIYI66mmd0R0Q==} + peerDependencies: + '@unocss/nuxt': '*' + unocss: '*' + peerDependenciesMeta: + '@unocss/nuxt': + optional: true + unocss: + optional: true + + unocss@0.57.7: + resolution: {integrity: sha512-Z99ZZPkbkjIUXEM7L+K/7Y5V5yqUS0VigG7ZIFzLf/npieKmXHKlrPyvQWFQaf3OqooMFuKBQivh75TwvSOkcQ==} + engines: {node: '>=14'} + peerDependencies: + '@unocss/webpack': 0.57.7 + vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 + peerDependenciesMeta: + '@unocss/webpack': + optional: true + vite: + optional: true + + unplugin-auto-import@0.16.7: + resolution: {integrity: sha512-w7XmnRlchq6YUFJVFGSvG1T/6j8GrdYN6Em9Wf0Ye+HXgD/22kont+WnuCAA0UaUoxtuvRR1u/mXKy63g/hfqQ==} + engines: {node: '>=14'} + peerDependencies: + '@nuxt/kit': ^3.2.2 + '@vueuse/core': '*' + peerDependenciesMeta: + '@nuxt/kit': + optional: true + '@vueuse/core': + optional: true + + unplugin-config@0.1.5: + resolution: {integrity: sha512-AT1BHPx7RqrcX8dQ6jQn3W8PnXNyMXPe57wfs9TNH/vZB9vM7Brbi0fhvApAUbkyuIb2Qkamt6jmn32KzEGcTw==} + peerDependencies: + '@nuxt/kit': ^3 + '@nuxt/schema': ^3 + esbuild: '*' + rollup: ^3 + vite: '>=3' + webpack: ^4 || ^5 + peerDependenciesMeta: + '@nuxt/kit': + optional: true + '@nuxt/schema': + optional: true + esbuild: + optional: true + rollup: + optional: true + vite: + optional: true + webpack: + optional: true + + unplugin-vue-components@0.26.0: + resolution: {integrity: sha512-s7IdPDlnOvPamjunVxw8kNgKNK8A5KM1YpK5j/p97jEKTjlPNrA0nZBiSfAKKlK1gWZuyWXlKL5dk3EDw874LQ==} + engines: {node: '>=14'} + peerDependencies: + '@babel/parser': ^7.15.8 + '@nuxt/kit': ^3.2.2 + vue: 2 || 3 + peerDependenciesMeta: + '@babel/parser': + optional: true + '@nuxt/kit': + optional: true + + unplugin@1.14.1: + resolution: {integrity: sha512-lBlHbfSFPToDYp9pjXlUEFVxYLaue9f9T1HC+4OHlmj+HnMDdz9oZY+erXfoCe/5V/7gKUSY2jpXPb9S7f0f/w==} + engines: {node: '>=14.0.0'} + peerDependencies: + webpack-sources: ^3 + peerDependenciesMeta: + webpack-sources: + optional: true + + unstorage@1.12.0: + resolution: {integrity: sha512-ARZYTXiC+e8z3lRM7/qY9oyaOkaozCeNd2xoz7sYK9fv7OLGhVsf+BZbmASqiK/HTZ7T6eAlnVq9JynZppyk3w==} + peerDependencies: + '@azure/app-configuration': ^1.7.0 + '@azure/cosmos': ^4.1.1 + '@azure/data-tables': ^13.2.2 + '@azure/identity': ^4.4.1 + '@azure/keyvault-secrets': ^4.8.0 + '@azure/storage-blob': ^12.24.0 + '@capacitor/preferences': ^6.0.2 + '@netlify/blobs': ^6.5.0 || ^7.0.0 + '@planetscale/database': ^1.19.0 + '@upstash/redis': ^1.34.0 + '@vercel/kv': ^1.0.1 + idb-keyval: ^6.2.1 + ioredis: ^5.4.1 + peerDependenciesMeta: + '@azure/app-configuration': + optional: true + '@azure/cosmos': + optional: true + '@azure/data-tables': + optional: true + '@azure/identity': + optional: true + '@azure/keyvault-secrets': + optional: true + '@azure/storage-blob': + optional: true + '@capacitor/preferences': + optional: true + '@netlify/blobs': + optional: true + '@planetscale/database': + optional: true + '@upstash/redis': + optional: true + '@vercel/kv': + optional: true + idb-keyval: + optional: true + ioredis: + optional: true + + untun@0.1.3: + resolution: {integrity: sha512-4luGP9LMYszMRZwsvyUd9MrxgEGZdZuZgpVQHEEX0lCYFESasVRvZd0EYpCkOIbJKHMuv0LskpXc/8Un+MJzEQ==} + hasBin: true + + unwasm@0.3.9: + resolution: {integrity: sha512-LDxTx/2DkFURUd+BU1vUsF/moj0JsoTvl+2tcg2AUOiEzVturhGGx17/IMgGvKUYdZwr33EJHtChCJuhu9Ouvg==} + + update-browserslist-db@1.1.0: + resolution: {integrity: sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==} + hasBin: true + peerDependencies: + browserslist: '>= 4.21.0' + + uqr@0.1.2: + resolution: {integrity: sha512-MJu7ypHq6QasgF5YRTjqscSzQp/W11zoUk6kvmlH+fmWEs63Y0Eib13hYFwAzagRJcVY8WVnlV+eBDUGMJ5IbA==} + + uri-js@4.4.1: + resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} + + url-parse@1.5.10: + resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==} + + urlpattern-polyfill@8.0.2: + resolution: {integrity: sha512-Qp95D4TPJl1kC9SKigDcqgyM2VDVO4RiJc2d4qe5GrYm+zbIQCWWKAFaJNQ4BhdFeDGwBmAxqJBwWSJDb9T3BQ==} + + util-deprecate@1.0.2: + resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + + v8-compile-cache-lib@3.0.1: + resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} + + validate-npm-package-license@3.0.4: + resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} + + viewport-mercator-project@6.2.3: + resolution: {integrity: sha512-QQb0/qCLlP4DdfbHHSWVYXpghB2wkLIiiZQnoelOB59mXKQSyZVxjreq1S+gaBJFpcGkWEcyVtre0+2y2DTl/Q==} + deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. + + vite-node@0.34.6: + resolution: {integrity: sha512-nlBMJ9x6n7/Amaz6F3zJ97EBwR2FkzhBRxF5e+jE6LA3yi6Wtc2lyTij1OnDMIr34v5g/tVQtsVAzhT0jc5ygA==} + engines: {node: '>=v14.18.0'} + hasBin: true + + vite@5.4.7: + resolution: {integrity: sha512-5l2zxqMEPVENgvzTuBpHer2awaetimj2BGkhBPdnwKbPNOlHsODU+oiazEZzLK7KhAnOrO+XGYJYn4ZlUhDtDQ==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || >=20.0.0 + less: '*' + lightningcss: ^1.21.0 + sass: '*' + sass-embedded: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + + vitest@0.34.6: + resolution: {integrity: sha512-+5CALsOvbNKnS+ZHMXtuUC7nL8/7F1F2DnHGjSsszX8zCjWSSviphCb/NuS9Nzf4Q03KyyDRBAXhF/8lffME4Q==} + engines: {node: '>=v14.18.0'} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@vitest/browser': '*' + '@vitest/ui': '*' + happy-dom: '*' + jsdom: '*' + playwright: '*' + safaridriver: '*' + webdriverio: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + playwright: + optional: true + safaridriver: + optional: true + webdriverio: + optional: true + + vscode-uri@3.0.8: + resolution: {integrity: sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==} + + vt-pbf@3.1.3: + resolution: {integrity: sha512-2LzDFzt0mZKZ9IpVF2r69G9bXaP2Q2sArJCmcCgvfTdCCZzSyz4aCLoQyUilu37Ll56tCblIZrXFIjNUpGIlmA==} + + vue-component-type-helpers@2.1.6: + resolution: {integrity: sha512-ng11B8B/ZADUMMOsRbqv0arc442q7lifSubD0v8oDXIFoMg/mXwAPUunrroIDkY+mcD0dHKccdaznSVp8EoX3w==} + + vue-demi@0.14.10: + resolution: {integrity: sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==} + engines: {node: '>=12'} + hasBin: true + peerDependencies: + '@vue/composition-api': ^1.0.0-rc.1 + vue: ^3.0.0-0 || ^2.6.0 + peerDependenciesMeta: + '@vue/composition-api': + optional: true + + vue-eslint-parser@9.4.3: + resolution: {integrity: sha512-2rYRLWlIpaiN8xbPiDyXZXRgLGOtWxERV7ND5fFAv5qo1D2N9Fu9MNajBNc6o13lZ+24DAWCkQCvj4klgmcITg==} + engines: {node: ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: '>=6.0.0' + + vue-i18n@9.14.0: + resolution: {integrity: sha512-LxmpRuCt2rI8gqU+kxeflRZMQn4D5+4M3oP3PWZdowW/ePJraHqhF7p4CuaME52mUxdw3Mmy2yAUKgfZYgCRjA==} + engines: {node: '>= 16'} + peerDependencies: + vue: ^3.0.0 + + vue-router@4.4.5: + resolution: {integrity: sha512-4fKZygS8cH1yCyuabAXGUAsyi1b2/o/OKgu/RUb+znIYOxPRxdkytJEx+0wGcpBE1pX6vUgh5jwWOKRGvuA/7Q==} + peerDependencies: + vue: ^3.2.0 + + vue-tsc@2.1.6: + resolution: {integrity: sha512-f98dyZp5FOukcYmbFpuSCJ4Z0vHSOSmxGttZJCsFeX0M4w/Rsq0s4uKXjcSRsZqsRgQa6z7SfuO+y0HVICE57Q==} + hasBin: true + peerDependencies: + typescript: '>=5.0.0' + + vue-types@3.0.2: + resolution: {integrity: sha512-IwUC0Aq2zwaXqy74h4WCvFCUtoV0iSWr0snWnE9TnU18S66GAQyqQbRf2qfJtUuiFsBf6qp0MEwdonlwznlcrw==} + engines: {node: '>=10.15.0'} + peerDependencies: + vue: ^3.0.0 + + vue@3.5.8: + resolution: {integrity: sha512-hvuvuCy51nP/1fSRvrrIqTLSvrSyz2Pq+KQ8S8SXCxTWVE0nMaOnSDnSOxV1eYmGfvK7mqiwvd1C59CEEz7dAQ==} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + + w3c-xmlserializer@4.0.0: + resolution: {integrity: sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==} + engines: {node: '>=14'} + + w3c-xmlserializer@5.0.0: + resolution: {integrity: sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==} + engines: {node: '>=18'} + + warning@4.0.3: + resolution: {integrity: sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==} + + web-worker-helper@0.0.3: + resolution: {integrity: sha512-/TllNPjGenDwjE67M16TD9ALwuY847/zIoH7r+e5rSeG4kEa3HiMTAsUDj80yzIzhtshkv215KfsnQ/RXR3nVA==} + + webidl-conversions@3.0.1: + resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} + + webidl-conversions@7.0.0: + resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} + engines: {node: '>=12'} + + webpack-sources@3.2.3: + resolution: {integrity: sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==} + engines: {node: '>=10.13.0'} + + webpack-virtual-modules@0.6.2: + resolution: {integrity: sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ==} + + whatwg-encoding@2.0.0: + resolution: {integrity: sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==} + engines: {node: '>=12'} + + whatwg-encoding@3.1.1: + resolution: {integrity: sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==} + engines: {node: '>=18'} + + whatwg-mimetype@3.0.0: + resolution: {integrity: sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==} + engines: {node: '>=12'} + + whatwg-mimetype@4.0.0: + resolution: {integrity: sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==} + engines: {node: '>=18'} + + whatwg-url@12.0.1: + resolution: {integrity: sha512-Ed/LrqB8EPlGxjS+TrsXcpUond1mhccS3pchLhzSgPCnTimUCKj3IZE75pAs5m6heB2U2TMerKFUXheyHY+VDQ==} + engines: {node: '>=14'} + + whatwg-url@14.0.0: + resolution: {integrity: sha512-1lfMEm2IEr7RIV+f4lUNPOqfFL+pO+Xw3fJSqmjX9AbXcXcYOkCe1P6+9VBZB6n94af16NfZf+sSk0JCBZC9aw==} + engines: {node: '>=18'} + + whatwg-url@5.0.0: + resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} + + which-boxed-primitive@1.0.2: + resolution: {integrity: sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==} + + which-typed-array@1.1.15: + resolution: {integrity: sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==} + engines: {node: '>= 0.4'} + + which@1.3.1: + resolution: {integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==} + hasBin: true + + which@2.0.2: + resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} + engines: {node: '>= 8'} + hasBin: true + + why-is-node-running@2.3.0: + resolution: {integrity: sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==} + engines: {node: '>=8'} + hasBin: true + + wide-align@1.1.5: + resolution: {integrity: sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==} + + window-size@0.1.0: + resolution: {integrity: sha512-1pTPQDKTdd61ozlKGNCjhNRd+KPmgLSGa3mZTHoOliaGcESD8G1PXhh7c1fgiPjVbNVfgy2Faw4BI8/m0cC8Mg==} + engines: {node: '>= 0.8.0'} + + word-wrap@1.2.5: + resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} + engines: {node: '>=0.10.0'} + + wordwrap@0.0.2: + resolution: {integrity: sha512-xSBsCeh+g+dinoBv3GAOWM4LcVVO68wLXRanibtBSdUvkGWQRGeE9P7IwU9EmDDi4jA6L44lz15CGMwdw9N5+Q==} + engines: {node: '>=0.4.0'} + + wordwrapjs@4.0.1: + resolution: {integrity: sha512-kKlNACbvHrkpIw6oPeYDSmdCTu2hdMHoyXLTcUKala++lx5Y+wjJ/e474Jqv5abnVmwxw08DiTuHmw69lJGksA==} + engines: {node: '>=8.0.0'} + + wrap-ansi@7.0.0: + resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} + engines: {node: '>=10'} + + wrap-ansi@8.1.0: + resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==} + engines: {node: '>=12'} + + wrappy@1.0.2: + resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} + + ws@8.18.0: + resolution: {integrity: sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + + xml-name-validator@4.0.0: + resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} + engines: {node: '>=12'} + + xml-name-validator@5.0.0: + resolution: {integrity: sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg==} + engines: {node: '>=18'} + + xmlchars@2.2.0: + resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==} + + xtend@2.1.2: + resolution: {integrity: sha512-vMNKzr2rHP9Dp/e1NQFnLQlwlhp9L/LfvnsVdHxN1f+uggyVI3i08uD14GPvCToPkdsRfyPqIyYGmIk58V98ZQ==} + engines: {node: '>=0.4'} + + y18n@5.0.8: + resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} + engines: {node: '>=10'} + + yallist@3.1.1: + resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} + + yallist@4.0.0: + resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} + + yaml-eslint-parser@1.2.3: + resolution: {integrity: sha512-4wZWvE398hCP7O8n3nXKu/vdq1HcH01ixYlCREaJL5NUMwQ0g3MaGFUBNSlmBtKmhbtVG/Cm6lyYmSVTEVil8A==} + engines: {node: ^14.17.0 || >=16.0.0} + + yaml@1.10.2: + resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} + engines: {node: '>= 6'} + + yaml@2.3.1: + resolution: {integrity: sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==} + engines: {node: '>= 14'} + + yaml@2.5.1: + resolution: {integrity: sha512-bLQOjaX/ADgQ20isPJRvF0iRUHIxVhYvr53Of7wGcWlO2jvtUlH5m87DsmulFVxRpNLOnI4tB6p/oh8D7kpn9Q==} + engines: {node: '>= 14'} + hasBin: true + + yargs-parser@20.2.9: + resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} + engines: {node: '>=10'} + + yargs-parser@21.1.1: + resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} + engines: {node: '>=12'} + + yargs@17.7.2: + resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} + engines: {node: '>=12'} + + yargs@3.10.0: + resolution: {integrity: sha512-QFzUah88GAGy9lyDKGBqZdkYApt63rCXYBGYnEP4xDJPXNqXXnBDACnbrXnViV6jRSqAePwrATi2i8mfYm4L1A==} + + yn@3.1.1: + resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} + engines: {node: '>=6'} + + yocto-queue@0.1.0: + resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} + engines: {node: '>=10'} + + yocto-queue@1.1.1: + resolution: {integrity: sha512-b4JR1PFR10y1mKjhHY9LaGo6tmrgjit7hxVIeAmyMw3jegXR4dhYqLaQF5zMXZxY7tLpMyJeLjr1C4rLmkVe8g==} + engines: {node: '>=12.20'} + + zip-stream@6.0.1: + resolution: {integrity: sha512-zK7YHHz4ZXpW89AHXUPbQVGKI7uvkd3hzusTdotCg1UxyaVtg0zFJSTfW/Dq5f7OBBVnq6cZIaC8Ti4hb6dtCA==} + engines: {node: '>= 14'} + +snapshots: + + '@amap/amap-jsapi-loader@1.0.1': {} + + '@ampproject/remapping@2.3.0': + dependencies: + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 + + '@ant-design/colors@6.0.0': + dependencies: + '@ctrl/tinycolor': 3.6.1 + + '@ant-design/icons-svg@4.4.2': {} + + '@ant-design/icons-vue@7.0.1(vue@3.5.8(typescript@5.5.4))': + dependencies: + '@ant-design/colors': 6.0.0 + '@ant-design/icons-svg': 4.4.2 + vue: 3.5.8(typescript@5.5.4) + + '@antfu/eslint-config@2.27.3(@typescript-eslint/utils@8.6.0(eslint@8.57.1)(typescript@5.5.4))(@vue/compiler-sfc@3.5.8)(eslint@8.57.1)(typescript@5.5.4)(vitest@0.34.6(jsdom@22.1.0)(less@4.2.0)(terser@5.33.0))': + dependencies: + '@antfu/install-pkg': 0.4.1 + '@clack/prompts': 0.7.0 + '@eslint-community/eslint-plugin-eslint-comments': 4.4.0(eslint@8.57.1) + '@stylistic/eslint-plugin': 2.8.0(eslint@8.57.1)(typescript@5.5.4) + '@typescript-eslint/eslint-plugin': 8.6.0(@typescript-eslint/parser@8.6.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4) + '@typescript-eslint/parser': 8.6.0(eslint@8.57.1)(typescript@5.5.4) + '@vitest/eslint-plugin': 1.1.4(@typescript-eslint/utils@8.6.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4)(vitest@0.34.6(jsdom@22.1.0)(less@4.2.0)(terser@5.33.0)) + eslint: 8.57.1 + eslint-config-flat-gitignore: 0.1.8 + eslint-flat-config-utils: 0.3.1 + eslint-merge-processors: 0.1.0(eslint@8.57.1) + eslint-plugin-antfu: 2.7.0(eslint@8.57.1) + eslint-plugin-command: 0.2.5(eslint@8.57.1) + eslint-plugin-import-x: 4.2.1(eslint@8.57.1)(typescript@5.5.4) + eslint-plugin-jsdoc: 50.2.4(eslint@8.57.1) + eslint-plugin-jsonc: 2.16.0(eslint@8.57.1) + eslint-plugin-markdown: 5.1.0(eslint@8.57.1) + eslint-plugin-n: 17.10.3(eslint@8.57.1) + eslint-plugin-no-only-tests: 3.3.0 + eslint-plugin-perfectionist: 3.6.0(eslint@8.57.1)(typescript@5.5.4)(vue-eslint-parser@9.4.3(eslint@8.57.1)) + eslint-plugin-regexp: 2.6.0(eslint@8.57.1) + eslint-plugin-toml: 0.11.1(eslint@8.57.1) + eslint-plugin-unicorn: 55.0.0(eslint@8.57.1) + eslint-plugin-unused-imports: 4.1.4(@typescript-eslint/eslint-plugin@8.6.0(@typescript-eslint/parser@8.6.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1) + eslint-plugin-vue: 9.28.0(eslint@8.57.1) + eslint-plugin-yml: 1.14.0(eslint@8.57.1) + eslint-processor-vue-blocks: 0.1.2(@vue/compiler-sfc@3.5.8)(eslint@8.57.1) + globals: 15.9.0 + jsonc-eslint-parser: 2.4.0 + local-pkg: 0.5.0 + parse-gitignore: 2.0.0 + picocolors: 1.1.0 + toml-eslint-parser: 0.10.0 + vue-eslint-parser: 9.4.3(eslint@8.57.1) + yaml-eslint-parser: 1.2.3 + yargs: 17.7.2 + transitivePeerDependencies: + - '@typescript-eslint/utils' + - '@vue/compiler-sfc' + - supports-color + - svelte + - typescript + - vitest + + '@antfu/install-pkg@0.4.1': + dependencies: + package-manager-detector: 0.2.0 + tinyexec: 0.3.0 + + '@antfu/utils@0.7.10': {} + + '@antv/adjust@0.2.5': + dependencies: + '@antv/util': 2.0.17 + tslib: 1.14.1 + + '@antv/async-hook@2.2.9': + dependencies: + async: 3.2.6 + + '@antv/attr@0.3.5': + dependencies: + '@antv/color-util': 2.0.6 + '@antv/scale': 0.3.18 + '@antv/util': 2.0.17 + tslib: 2.7.0 + + '@antv/color-util@2.0.6': + dependencies: + '@antv/util': 2.0.17 + tslib: 2.7.0 + + '@antv/component@0.8.35': + dependencies: + '@antv/color-util': 2.0.6 + '@antv/dom-util': 2.0.4 + '@antv/g-base': 0.5.16 + '@antv/matrix-util': 3.1.0-beta.3 + '@antv/path-util': 2.0.15 + '@antv/scale': 0.3.18 + '@antv/util': 2.0.17 + fecha: 4.2.3 + tslib: 2.7.0 + + '@antv/coord@0.3.1': + dependencies: + '@antv/matrix-util': 3.1.0-beta.3 + '@antv/util': 2.0.17 + tslib: 2.7.0 + + '@antv/dom-util@2.0.4': + dependencies: + tslib: 2.7.0 + + '@antv/event-emitter@0.1.3': {} + + '@antv/g-base@0.5.16': + dependencies: + '@antv/event-emitter': 0.1.3 + '@antv/g-math': 0.1.9 + '@antv/matrix-util': 3.1.0-beta.3 + '@antv/path-util': 2.0.15 + '@antv/util': 2.0.17 + '@types/d3-timer': 2.0.3 + d3-ease: 1.0.7 + d3-interpolate: 3.0.1 + d3-timer: 1.0.10 + detect-browser: 5.3.0 + tslib: 2.7.0 + + '@antv/g-canvas@0.5.17': + dependencies: + '@antv/g-base': 0.5.16 + '@antv/g-math': 0.1.9 + '@antv/matrix-util': 3.1.0-beta.3 + '@antv/path-util': 2.0.15 + '@antv/util': 2.0.17 + gl-matrix: 3.4.3 + tslib: 2.7.0 + + '@antv/g-device-api@1.6.12': + dependencies: + '@antv/util': 3.3.10 + '@webgpu/types': 0.1.46 + eventemitter3: 5.0.1 + gl-matrix: 3.4.3 + tslib: 2.7.0 + + '@antv/g-math@0.1.9': + dependencies: + '@antv/util': 2.0.17 + gl-matrix: 3.4.3 + + '@antv/g-svg@0.5.7': + dependencies: + '@antv/g-base': 0.5.16 + '@antv/g-math': 0.1.9 + '@antv/util': 2.0.17 + detect-browser: 5.3.0 + tslib: 2.7.0 + + '@antv/g2@4.2.11': + dependencies: + '@antv/adjust': 0.2.5 + '@antv/attr': 0.3.5 + '@antv/color-util': 2.0.6 + '@antv/component': 0.8.35 + '@antv/coord': 0.3.1 + '@antv/dom-util': 2.0.4 + '@antv/event-emitter': 0.1.3 + '@antv/g-base': 0.5.16 + '@antv/g-canvas': 0.5.17 + '@antv/g-svg': 0.5.7 + '@antv/matrix-util': 3.1.0-beta.3 + '@antv/path-util': 2.0.15 + '@antv/scale': 0.3.18 + '@antv/util': 2.0.17 + tslib: 2.7.0 + + '@antv/g2plot@2.4.32': + dependencies: + '@antv/color-util': 2.0.6 + '@antv/event-emitter': 0.1.3 + '@antv/g-base': 0.5.16 + '@antv/g2': 4.2.11 + '@antv/matrix-util': 3.1.0-beta.3 + '@antv/path-util': 3.0.1 + '@antv/scale': 0.3.18 + '@antv/util': 2.0.17 + d3-hierarchy: 2.0.0 + d3-regression: 1.3.10 + fmin: 0.0.2 + pdfast: 0.2.0 + size-sensor: 1.0.2 + tslib: 2.7.0 + + '@antv/l7-component@2.22.1': + dependencies: + '@antv/l7-core': 2.22.1 + '@antv/l7-layers': 2.22.1 + '@antv/l7-utils': 2.22.1 + '@babel/runtime': 7.25.6 + eventemitter3: 4.0.7 + supercluster: 7.1.5 + + '@antv/l7-core@2.22.1': + dependencies: + '@antv/async-hook': 2.2.9 + '@antv/l7-utils': 2.22.1 + '@babel/runtime': 7.25.6 + '@mapbox/tiny-sdf': 1.2.5 + '@turf/helpers': 6.5.0 + ajv: 6.12.6 + element-resize-detector: 1.2.4 + eventemitter3: 4.0.7 + gl-matrix: 3.4.3 + hammerjs: 2.0.8 + viewport-mercator-project: 6.2.3 + + '@antv/l7-layers@2.22.1': + dependencies: + '@antv/async-hook': 2.2.9 + '@antv/l7-core': 2.22.1 + '@antv/l7-maps': 2.22.1 + '@antv/l7-source': 2.22.1 + '@antv/l7-utils': 2.22.1 + '@babel/runtime': 7.25.6 + '@mapbox/martini': 0.2.0 + '@turf/clone': 6.5.0 + '@turf/helpers': 6.5.0 + '@turf/meta': 6.5.0 + '@turf/polygon-to-line': 6.5.0 + '@turf/union': 6.5.0 + d3-array: 2.12.1 + d3-color: 1.4.1 + d3-interpolate: 1.4.0 + d3-scale: 2.2.2 + earcut: 2.2.4 + eventemitter3: 4.0.7 + extrude-polyline: 1.0.6 + gl-matrix: 3.4.3 + gl-vec2: 1.3.0 + polyline-miter-util: 1.0.1 + + '@antv/l7-map@2.22.1': + dependencies: + '@antv/l7-utils': 2.22.1 + '@babel/runtime': 7.25.6 + '@mapbox/point-geometry': 0.1.0 + '@mapbox/unitbezier': 0.0.1 + eventemitter3: 4.0.7 + gl-matrix: 3.4.3 + + '@antv/l7-maps@2.22.1': + dependencies: + '@amap/amap-jsapi-loader': 1.0.1 + '@antv/l7-core': 2.22.1 + '@antv/l7-map': 2.22.1 + '@antv/l7-utils': 2.22.1 + '@babel/runtime': 7.25.6 + eventemitter3: 4.0.7 + gl-matrix: 3.4.3 + mapbox-gl: 1.13.3 + maplibre-gl: 3.6.2 + viewport-mercator-project: 6.2.3 + + '@antv/l7-renderer@2.22.1': + dependencies: + '@antv/g-device-api': 1.6.12 + '@antv/l7-core': 2.22.1 + '@antv/l7-utils': 2.22.1 + '@babel/runtime': 7.25.6 + regl: 1.6.1 + + '@antv/l7-scene@2.22.1': + dependencies: + '@antv/l7-component': 2.22.1 + '@antv/l7-core': 2.22.1 + '@antv/l7-layers': 2.22.1 + '@antv/l7-maps': 2.22.1 + '@antv/l7-renderer': 2.22.1 + '@antv/l7-utils': 2.22.1 + '@babel/runtime': 7.25.6 + eventemitter3: 4.0.7 + + '@antv/l7-source@2.22.1': + dependencies: + '@antv/async-hook': 2.2.9 + '@antv/l7-core': 2.22.1 + '@antv/l7-utils': 2.22.1 + '@babel/runtime': 7.25.6 + '@mapbox/geojson-rewind': 0.5.2 + '@mapbox/vector-tile': 1.3.1 + '@turf/helpers': 6.5.0 + '@turf/invariant': 6.5.0 + '@turf/meta': 6.5.0 + d3-dsv: 1.2.0 + d3-hexbin: 0.2.2 + eventemitter3: 4.0.7 + geojson-vt: 3.2.1 + pbf: 3.3.0 + supercluster: 7.1.5 + + '@antv/l7-utils@2.22.1': + dependencies: + '@babel/runtime': 7.25.6 + '@turf/bbox': 6.5.0 + '@turf/bbox-polygon': 6.5.0 + '@turf/helpers': 6.5.0 + d3-color: 1.4.1 + earcut: 2.2.4 + eventemitter3: 4.0.7 + gl-matrix: 3.4.3 + lodash: 4.17.21 + web-worker-helper: 0.0.3 + + '@antv/l7@2.22.1': + dependencies: + '@antv/l7-component': 2.22.1 + '@antv/l7-core': 2.22.1 + '@antv/l7-layers': 2.22.1 + '@antv/l7-maps': 2.22.1 + '@antv/l7-scene': 2.22.1 + '@antv/l7-source': 2.22.1 + '@antv/l7-utils': 2.22.1 + '@babel/runtime': 7.25.6 + + '@antv/matrix-util@3.0.4': + dependencies: + '@antv/util': 2.0.17 + gl-matrix: 3.4.3 + tslib: 2.7.0 + + '@antv/matrix-util@3.1.0-beta.3': + dependencies: + '@antv/util': 2.0.17 + gl-matrix: 3.4.3 + tslib: 2.7.0 + + '@antv/path-util@2.0.15': + dependencies: + '@antv/matrix-util': 3.0.4 + '@antv/util': 2.0.17 + tslib: 2.7.0 + + '@antv/path-util@3.0.1': + dependencies: + gl-matrix: 3.4.3 + lodash-es: 4.17.21 + tslib: 2.7.0 + + '@antv/scale@0.3.18': + dependencies: + '@antv/util': 2.0.17 + fecha: 4.2.3 + tslib: 2.7.0 + + '@antv/util@2.0.17': + dependencies: + csstype: 3.1.3 + tslib: 2.7.0 + + '@antv/util@3.3.10': + dependencies: + fast-deep-equal: 3.1.3 + gl-matrix: 3.4.3 + tslib: 2.7.0 + + '@babel/code-frame@7.24.7': + dependencies: + '@babel/highlight': 7.24.7 + picocolors: 1.1.0 + + '@babel/compat-data@7.25.4': {} + + '@babel/core@7.25.2': + dependencies: + '@ampproject/remapping': 2.3.0 + '@babel/code-frame': 7.24.7 + '@babel/generator': 7.25.6 + '@babel/helper-compilation-targets': 7.25.2 + '@babel/helper-module-transforms': 7.25.2(@babel/core@7.25.2) + '@babel/helpers': 7.25.6 + '@babel/parser': 7.25.6 + '@babel/template': 7.25.0 + '@babel/traverse': 7.25.6 + '@babel/types': 7.25.6 + convert-source-map: 2.0.0 + debug: 4.3.7 + gensync: 1.0.0-beta.2 + json5: 2.2.3 + semver: 6.3.1 + transitivePeerDependencies: + - supports-color + + '@babel/generator@7.25.6': + dependencies: + '@babel/types': 7.25.6 + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 + jsesc: 2.5.2 + + '@babel/helper-annotate-as-pure@7.24.7': + dependencies: + '@babel/types': 7.25.6 + + '@babel/helper-compilation-targets@7.25.2': + dependencies: + '@babel/compat-data': 7.25.4 + '@babel/helper-validator-option': 7.24.8 + browserslist: 4.23.3 + lru-cache: 5.1.1 + semver: 6.3.1 + + '@babel/helper-create-class-features-plugin@7.25.4(@babel/core@7.25.2)': + dependencies: + '@babel/core': 7.25.2 + '@babel/helper-annotate-as-pure': 7.24.7 + '@babel/helper-member-expression-to-functions': 7.24.8 + '@babel/helper-optimise-call-expression': 7.24.7 + '@babel/helper-replace-supers': 7.25.0(@babel/core@7.25.2) + '@babel/helper-skip-transparent-expression-wrappers': 7.24.7 + '@babel/traverse': 7.25.6 + semver: 6.3.1 + transitivePeerDependencies: + - supports-color + + '@babel/helper-member-expression-to-functions@7.24.8': + dependencies: + '@babel/traverse': 7.25.6 + '@babel/types': 7.25.6 + transitivePeerDependencies: + - supports-color + + '@babel/helper-module-imports@7.24.7': + dependencies: + '@babel/traverse': 7.25.6 + '@babel/types': 7.25.6 + transitivePeerDependencies: + - supports-color + + '@babel/helper-module-transforms@7.25.2(@babel/core@7.25.2)': + dependencies: + '@babel/core': 7.25.2 + '@babel/helper-module-imports': 7.24.7 + '@babel/helper-simple-access': 7.24.7 + '@babel/helper-validator-identifier': 7.24.7 + '@babel/traverse': 7.25.6 + transitivePeerDependencies: + - supports-color + + '@babel/helper-optimise-call-expression@7.24.7': + dependencies: + '@babel/types': 7.25.6 + + '@babel/helper-plugin-utils@7.24.8': {} + + '@babel/helper-replace-supers@7.25.0(@babel/core@7.25.2)': + dependencies: + '@babel/core': 7.25.2 + '@babel/helper-member-expression-to-functions': 7.24.8 + '@babel/helper-optimise-call-expression': 7.24.7 + '@babel/traverse': 7.25.6 + transitivePeerDependencies: + - supports-color + + '@babel/helper-simple-access@7.24.7': + dependencies: + '@babel/traverse': 7.25.6 + '@babel/types': 7.25.6 + transitivePeerDependencies: + - supports-color + + '@babel/helper-skip-transparent-expression-wrappers@7.24.7': + dependencies: + '@babel/traverse': 7.25.6 + '@babel/types': 7.25.6 + transitivePeerDependencies: + - supports-color + + '@babel/helper-string-parser@7.24.8': {} + + '@babel/helper-validator-identifier@7.24.7': {} + + '@babel/helper-validator-option@7.24.8': {} + + '@babel/helpers@7.25.6': + dependencies: + '@babel/template': 7.25.0 + '@babel/types': 7.25.6 + + '@babel/highlight@7.24.7': + dependencies: + '@babel/helper-validator-identifier': 7.24.7 + chalk: 2.4.2 + js-tokens: 4.0.0 + picocolors: 1.1.0 + + '@babel/parser@7.25.6': + dependencies: + '@babel/types': 7.25.6 + + '@babel/plugin-syntax-jsx@7.24.7(@babel/core@7.25.2)': + dependencies: + '@babel/core': 7.25.2 + '@babel/helper-plugin-utils': 7.24.8 + + '@babel/plugin-syntax-typescript@7.25.4(@babel/core@7.25.2)': + dependencies: + '@babel/core': 7.25.2 + '@babel/helper-plugin-utils': 7.24.8 + + '@babel/plugin-transform-modules-commonjs@7.24.8(@babel/core@7.25.2)': + dependencies: + '@babel/core': 7.25.2 + '@babel/helper-module-transforms': 7.25.2(@babel/core@7.25.2) + '@babel/helper-plugin-utils': 7.24.8 + '@babel/helper-simple-access': 7.24.7 + transitivePeerDependencies: + - supports-color + + '@babel/plugin-transform-typescript@7.25.2(@babel/core@7.25.2)': + dependencies: + '@babel/core': 7.25.2 + '@babel/helper-annotate-as-pure': 7.24.7 + '@babel/helper-create-class-features-plugin': 7.25.4(@babel/core@7.25.2) + '@babel/helper-plugin-utils': 7.24.8 + '@babel/helper-skip-transparent-expression-wrappers': 7.24.7 + '@babel/plugin-syntax-typescript': 7.25.4(@babel/core@7.25.2) + transitivePeerDependencies: + - supports-color + + '@babel/preset-typescript@7.24.7(@babel/core@7.25.2)': + dependencies: + '@babel/core': 7.25.2 + '@babel/helper-plugin-utils': 7.24.8 + '@babel/helper-validator-option': 7.24.8 + '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.25.2) + '@babel/plugin-transform-modules-commonjs': 7.24.8(@babel/core@7.25.2) + '@babel/plugin-transform-typescript': 7.25.2(@babel/core@7.25.2) + transitivePeerDependencies: + - supports-color + + '@babel/runtime@7.25.6': + dependencies: + regenerator-runtime: 0.14.1 + + '@babel/template@7.25.0': + dependencies: + '@babel/code-frame': 7.24.7 + '@babel/parser': 7.25.6 + '@babel/types': 7.25.6 + + '@babel/traverse@7.25.6': + dependencies: + '@babel/code-frame': 7.24.7 + '@babel/generator': 7.25.6 + '@babel/parser': 7.25.6 + '@babel/template': 7.25.0 + '@babel/types': 7.25.6 + debug: 4.3.7 + globals: 11.12.0 + transitivePeerDependencies: + - supports-color + + '@babel/types@7.25.6': + dependencies: + '@babel/helper-string-parser': 7.24.8 + '@babel/helper-validator-identifier': 7.24.7 + to-fast-properties: 2.0.0 + + '@clack/core@0.3.4': + dependencies: + picocolors: 1.1.0 + sisteransi: 1.0.5 + + '@clack/prompts@0.7.0': + dependencies: + '@clack/core': 0.3.4 + picocolors: 1.1.0 + sisteransi: 1.0.5 + + '@cloudflare/kv-asset-handler@0.3.4': + dependencies: + mime: 3.0.0 + + '@commitlint/cli@18.6.1(@types/node@20.16.5)(typescript@5.5.4)': + dependencies: + '@commitlint/format': 18.6.1 + '@commitlint/lint': 18.6.1 + '@commitlint/load': 18.6.1(@types/node@20.16.5)(typescript@5.5.4) + '@commitlint/read': 18.6.1 + '@commitlint/types': 18.6.1 + execa: 5.1.1 + lodash.isfunction: 3.0.9 + resolve-from: 5.0.0 + resolve-global: 1.0.0 + yargs: 17.7.2 + transitivePeerDependencies: + - '@types/node' + - typescript + + '@commitlint/config-conventional@18.6.3': + dependencies: + '@commitlint/types': 18.6.1 + conventional-changelog-conventionalcommits: 7.0.2 + + '@commitlint/config-validator@18.6.1': + dependencies: + '@commitlint/types': 18.6.1 + ajv: 8.17.1 + + '@commitlint/ensure@18.6.1': + dependencies: + '@commitlint/types': 18.6.1 + lodash.camelcase: 4.3.0 + lodash.kebabcase: 4.1.1 + lodash.snakecase: 4.1.1 + lodash.startcase: 4.4.0 + lodash.upperfirst: 4.3.1 + + '@commitlint/execute-rule@18.6.1': {} + + '@commitlint/format@18.6.1': + dependencies: + '@commitlint/types': 18.6.1 + chalk: 4.1.2 + + '@commitlint/is-ignored@18.6.1': + dependencies: + '@commitlint/types': 18.6.1 + semver: 7.6.0 + + '@commitlint/lint@18.6.1': + dependencies: + '@commitlint/is-ignored': 18.6.1 + '@commitlint/parse': 18.6.1 + '@commitlint/rules': 18.6.1 + '@commitlint/types': 18.6.1 + + '@commitlint/load@18.6.1(@types/node@20.16.5)(typescript@5.5.4)': + dependencies: + '@commitlint/config-validator': 18.6.1 + '@commitlint/execute-rule': 18.6.1 + '@commitlint/resolve-extends': 18.6.1 + '@commitlint/types': 18.6.1 + chalk: 4.1.2 + cosmiconfig: 8.3.6(typescript@5.5.4) + cosmiconfig-typescript-loader: 5.0.0(@types/node@20.16.5)(cosmiconfig@8.3.6(typescript@5.5.4))(typescript@5.5.4) + lodash.isplainobject: 4.0.6 + lodash.merge: 4.6.2 + lodash.uniq: 4.5.0 + resolve-from: 5.0.0 + transitivePeerDependencies: + - '@types/node' + - typescript + + '@commitlint/message@18.6.1': {} + + '@commitlint/parse@18.6.1': + dependencies: + '@commitlint/types': 18.6.1 + conventional-changelog-angular: 7.0.0 + conventional-commits-parser: 5.0.0 + + '@commitlint/read@18.6.1': + dependencies: + '@commitlint/top-level': 18.6.1 + '@commitlint/types': 18.6.1 + git-raw-commits: 2.0.11 + minimist: 1.2.8 + + '@commitlint/resolve-extends@18.6.1': + dependencies: + '@commitlint/config-validator': 18.6.1 + '@commitlint/types': 18.6.1 + import-fresh: 3.3.0 + lodash.mergewith: 4.6.2 + resolve-from: 5.0.0 + resolve-global: 1.0.0 + + '@commitlint/rules@18.6.1': + dependencies: + '@commitlint/ensure': 18.6.1 + '@commitlint/message': 18.6.1 + '@commitlint/to-lines': 18.6.1 + '@commitlint/types': 18.6.1 + execa: 5.1.1 + + '@commitlint/to-lines@18.6.1': {} + + '@commitlint/top-level@18.6.1': + dependencies: + find-up: 5.0.0 + + '@commitlint/types@18.6.1': + dependencies: + chalk: 4.1.2 + + '@cspotcode/source-map-support@0.8.1': + dependencies: + '@jridgewell/trace-mapping': 0.3.9 + + '@ctrl/tinycolor@3.6.1': {} + + '@ctrl/tinycolor@4.1.0': {} + + '@emotion/babel-plugin@11.12.0': + dependencies: + '@babel/helper-module-imports': 7.24.7 + '@babel/runtime': 7.25.6 + '@emotion/hash': 0.9.2 + '@emotion/memoize': 0.9.0 + '@emotion/serialize': 1.3.2 + babel-plugin-macros: 3.1.0 + convert-source-map: 1.9.0 + escape-string-regexp: 4.0.0 + find-root: 1.1.0 + source-map: 0.5.7 + stylis: 4.2.0 + transitivePeerDependencies: + - supports-color + + '@emotion/cache@11.13.1': + dependencies: + '@emotion/memoize': 0.9.0 + '@emotion/sheet': 1.4.0 + '@emotion/utils': 1.4.1 + '@emotion/weak-memoize': 0.4.0 + stylis: 4.2.0 + + '@emotion/css@11.13.0': + dependencies: + '@emotion/babel-plugin': 11.12.0 + '@emotion/cache': 11.13.1 + '@emotion/serialize': 1.3.2 + '@emotion/sheet': 1.4.0 + '@emotion/utils': 1.4.1 + transitivePeerDependencies: + - supports-color + + '@emotion/hash@0.9.2': {} + + '@emotion/memoize@0.9.0': {} + + '@emotion/serialize@1.3.2': + dependencies: + '@emotion/hash': 0.9.2 + '@emotion/memoize': 0.9.0 + '@emotion/unitless': 0.10.0 + '@emotion/utils': 1.4.1 + csstype: 3.1.3 + + '@emotion/server@11.11.0(@emotion/css@11.13.0)': + dependencies: + '@emotion/utils': 1.4.1 + html-tokenize: 2.0.1 + multipipe: 1.0.2 + through: 2.3.8 + optionalDependencies: + '@emotion/css': 11.13.0 + + '@emotion/sheet@1.4.0': {} + + '@emotion/unitless@0.10.0': {} + + '@emotion/unitless@0.8.1': {} + + '@emotion/utils@1.4.1': {} + + '@emotion/weak-memoize@0.4.0': {} + + '@es-joy/jsdoccomment@0.48.0': + dependencies: + comment-parser: 1.4.1 + esquery: 1.6.0 + jsdoc-type-pratt-parser: 4.1.0 + + '@esbuild/aix-ppc64@0.20.2': + optional: true + + '@esbuild/aix-ppc64@0.21.5': + optional: true + + '@esbuild/android-arm64@0.18.20': + optional: true + + '@esbuild/android-arm64@0.20.2': + optional: true + + '@esbuild/android-arm64@0.21.5': + optional: true + + '@esbuild/android-arm@0.18.20': + optional: true + + '@esbuild/android-arm@0.20.2': + optional: true + + '@esbuild/android-arm@0.21.5': + optional: true + + '@esbuild/android-x64@0.18.20': + optional: true + + '@esbuild/android-x64@0.20.2': + optional: true + + '@esbuild/android-x64@0.21.5': + optional: true + + '@esbuild/darwin-arm64@0.18.20': + optional: true + + '@esbuild/darwin-arm64@0.20.2': + optional: true + + '@esbuild/darwin-arm64@0.21.5': + optional: true + + '@esbuild/darwin-x64@0.18.20': + optional: true + + '@esbuild/darwin-x64@0.20.2': + optional: true + + '@esbuild/darwin-x64@0.21.5': + optional: true + + '@esbuild/freebsd-arm64@0.18.20': + optional: true + + '@esbuild/freebsd-arm64@0.20.2': + optional: true + + '@esbuild/freebsd-arm64@0.21.5': + optional: true + + '@esbuild/freebsd-x64@0.18.20': + optional: true + + '@esbuild/freebsd-x64@0.20.2': + optional: true + + '@esbuild/freebsd-x64@0.21.5': + optional: true + + '@esbuild/linux-arm64@0.18.20': + optional: true + + '@esbuild/linux-arm64@0.20.2': + optional: true + + '@esbuild/linux-arm64@0.21.5': + optional: true + + '@esbuild/linux-arm@0.18.20': + optional: true + + '@esbuild/linux-arm@0.20.2': + optional: true + + '@esbuild/linux-arm@0.21.5': + optional: true + + '@esbuild/linux-ia32@0.18.20': + optional: true + + '@esbuild/linux-ia32@0.20.2': + optional: true + + '@esbuild/linux-ia32@0.21.5': + optional: true + + '@esbuild/linux-loong64@0.18.20': + optional: true + + '@esbuild/linux-loong64@0.20.2': + optional: true + + '@esbuild/linux-loong64@0.21.5': + optional: true + + '@esbuild/linux-mips64el@0.18.20': + optional: true + + '@esbuild/linux-mips64el@0.20.2': + optional: true + + '@esbuild/linux-mips64el@0.21.5': + optional: true + + '@esbuild/linux-ppc64@0.18.20': + optional: true + + '@esbuild/linux-ppc64@0.20.2': + optional: true + + '@esbuild/linux-ppc64@0.21.5': + optional: true + + '@esbuild/linux-riscv64@0.18.20': + optional: true + + '@esbuild/linux-riscv64@0.20.2': + optional: true + + '@esbuild/linux-riscv64@0.21.5': + optional: true + + '@esbuild/linux-s390x@0.18.20': + optional: true + + '@esbuild/linux-s390x@0.20.2': + optional: true + + '@esbuild/linux-s390x@0.21.5': + optional: true + + '@esbuild/linux-x64@0.18.20': + optional: true + + '@esbuild/linux-x64@0.20.2': + optional: true + + '@esbuild/linux-x64@0.21.5': + optional: true + + '@esbuild/netbsd-x64@0.18.20': + optional: true + + '@esbuild/netbsd-x64@0.20.2': + optional: true + + '@esbuild/netbsd-x64@0.21.5': + optional: true + + '@esbuild/openbsd-x64@0.18.20': + optional: true + + '@esbuild/openbsd-x64@0.20.2': + optional: true + + '@esbuild/openbsd-x64@0.21.5': + optional: true + + '@esbuild/sunos-x64@0.18.20': + optional: true + + '@esbuild/sunos-x64@0.20.2': + optional: true + + '@esbuild/sunos-x64@0.21.5': + optional: true + + '@esbuild/win32-arm64@0.18.20': + optional: true + + '@esbuild/win32-arm64@0.20.2': + optional: true + + '@esbuild/win32-arm64@0.21.5': + optional: true + + '@esbuild/win32-ia32@0.18.20': + optional: true + + '@esbuild/win32-ia32@0.20.2': + optional: true + + '@esbuild/win32-ia32@0.21.5': + optional: true + + '@esbuild/win32-x64@0.18.20': + optional: true + + '@esbuild/win32-x64@0.20.2': + optional: true + + '@esbuild/win32-x64@0.21.5': + optional: true + + '@eslint-community/eslint-plugin-eslint-comments@4.4.0(eslint@8.57.1)': + dependencies: + escape-string-regexp: 4.0.0 + eslint: 8.57.1 + ignore: 5.3.2 + + '@eslint-community/eslint-utils@4.4.0(eslint@8.57.1)': + dependencies: + eslint: 8.57.1 + eslint-visitor-keys: 3.4.3 + + '@eslint-community/regexpp@4.11.1': {} + + '@eslint/eslintrc@2.1.4': + dependencies: + ajv: 6.12.6 + debug: 4.3.7 + espree: 9.6.1 + globals: 13.24.0 + ignore: 5.3.2 + import-fresh: 3.3.0 + js-yaml: 4.1.0 + minimatch: 3.1.2 + strip-json-comments: 3.1.1 + transitivePeerDependencies: + - supports-color + + '@eslint/js@8.57.1': {} + + '@fastify/busboy@2.1.1': {} + + '@humanwhocodes/config-array@0.13.0': + dependencies: + '@humanwhocodes/object-schema': 2.0.3 + debug: 4.3.7 + minimatch: 3.1.2 + transitivePeerDependencies: + - supports-color + + '@humanwhocodes/module-importer@1.0.1': {} + + '@humanwhocodes/object-schema@2.0.3': {} + + '@iconify/types@2.0.0': {} + + '@iconify/utils@2.1.33': + dependencies: + '@antfu/install-pkg': 0.4.1 + '@antfu/utils': 0.7.10 + '@iconify/types': 2.0.0 + debug: 4.3.7 + kolorist: 1.8.0 + local-pkg: 0.5.0 + mlly: 1.7.1 + transitivePeerDependencies: + - supports-color + + '@intlify/core-base@9.14.0': + dependencies: + '@intlify/message-compiler': 9.14.0 + '@intlify/shared': 9.14.0 + + '@intlify/message-compiler@9.14.0': + dependencies: + '@intlify/shared': 9.14.0 + source-map-js: 1.2.1 + + '@intlify/shared@9.14.0': {} + + '@ioredis/commands@1.2.0': {} + + '@isaacs/cliui@8.0.2': + dependencies: + string-width: 5.1.2 + string-width-cjs: string-width@4.2.3 + strip-ansi: 7.1.0 + strip-ansi-cjs: strip-ansi@6.0.1 + wrap-ansi: 8.1.0 + wrap-ansi-cjs: wrap-ansi@7.0.0 + + '@jest/schemas@29.6.3': + dependencies: + '@sinclair/typebox': 0.27.8 + + '@jridgewell/gen-mapping@0.3.5': + dependencies: + '@jridgewell/set-array': 1.2.1 + '@jridgewell/sourcemap-codec': 1.5.0 + '@jridgewell/trace-mapping': 0.3.25 + + '@jridgewell/resolve-uri@3.1.2': {} + + '@jridgewell/set-array@1.2.1': {} + + '@jridgewell/source-map@0.3.6': + dependencies: + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 + + '@jridgewell/sourcemap-codec@1.5.0': {} + + '@jridgewell/trace-mapping@0.3.25': + dependencies: + '@jridgewell/resolve-uri': 3.1.2 + '@jridgewell/sourcemap-codec': 1.5.0 + + '@jridgewell/trace-mapping@0.3.9': + dependencies: + '@jridgewell/resolve-uri': 3.1.2 + '@jridgewell/sourcemap-codec': 1.5.0 + + '@kirklin/logger@0.0.2': {} + + '@ljharb/resumer@0.0.1': + dependencies: + '@ljharb/through': 2.3.13 + + '@ljharb/through@2.3.13': + dependencies: + call-bind: 1.0.7 + + '@mapbox/geojson-rewind@0.5.2': + dependencies: + get-stream: 6.0.1 + minimist: 1.2.8 + + '@mapbox/geojson-types@1.0.2': {} + + '@mapbox/jsonlint-lines-primitives@2.0.2': {} + + '@mapbox/mapbox-gl-supported@1.5.0(mapbox-gl@1.13.3)': + dependencies: + mapbox-gl: 1.13.3 + + '@mapbox/martini@0.2.0': {} + + '@mapbox/node-pre-gyp@1.0.11': + dependencies: + detect-libc: 2.0.3 + https-proxy-agent: 5.0.1 + make-dir: 3.1.0 + node-fetch: 2.7.0 + nopt: 5.0.0 + npmlog: 5.0.1 + rimraf: 3.0.2 + semver: 7.6.3 + tar: 6.2.1 + transitivePeerDependencies: + - encoding + - supports-color + + '@mapbox/point-geometry@0.1.0': {} + + '@mapbox/tiny-sdf@1.2.5': {} + + '@mapbox/tiny-sdf@2.0.6': {} + + '@mapbox/unitbezier@0.0.0': {} + + '@mapbox/unitbezier@0.0.1': {} + + '@mapbox/vector-tile@1.3.1': + dependencies: + '@mapbox/point-geometry': 0.1.0 + + '@mapbox/whoots-js@3.1.0': {} + + '@maplibre/maplibre-gl-style-spec@19.3.3': + dependencies: + '@mapbox/jsonlint-lines-primitives': 2.0.2 + '@mapbox/unitbezier': 0.0.1 + json-stringify-pretty-compact: 3.0.0 + minimist: 1.2.8 + rw: 1.3.3 + sort-object: 3.0.3 + + '@mistjs/cli@0.0.1-beta.9(vite@5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0))': + dependencies: + chalk: 5.3.0 + consola: 3.2.3 + debug: 4.3.7 + defu: 6.1.4 + fast-glob: 3.3.2 + fs-extra: 11.2.0 + h3: 1.12.0 + jiti: 1.21.6 + minimist: 1.2.8 + ora: 7.0.1 + picocolors: 1.1.0 + vite: 5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0) + transitivePeerDependencies: + - supports-color + - uWebSockets.js + + '@mistjs/vite-plugin-preload@0.0.1(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0))': + dependencies: + '@rollup/pluginutils': 5.1.0(rollup@4.22.4) + jsdom: 22.1.0 + prettier: 2.8.8 + vite: 5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0) + transitivePeerDependencies: + - bufferutil + - canvas + - rollup + - supports-color + - utf-8-validate + + '@netlify/functions@2.8.1': + dependencies: + '@netlify/serverless-functions-api': 1.19.1 + + '@netlify/node-cookies@0.1.0': {} + + '@netlify/serverless-functions-api@1.19.1': + dependencies: + '@netlify/node-cookies': 0.1.0 + urlpattern-polyfill: 8.0.2 + + '@nodelib/fs.scandir@2.1.5': + dependencies: + '@nodelib/fs.stat': 2.0.5 + run-parallel: 1.2.0 + + '@nodelib/fs.stat@2.0.5': {} + + '@nodelib/fs.walk@1.2.8': + dependencies: + '@nodelib/fs.scandir': 2.1.5 + fastq: 1.17.1 + + '@one-ini/wasm@0.1.1': {} + + '@parcel/watcher-android-arm64@2.4.1': + optional: true + + '@parcel/watcher-darwin-arm64@2.4.1': + optional: true + + '@parcel/watcher-darwin-x64@2.4.1': + optional: true + + '@parcel/watcher-freebsd-x64@2.4.1': + optional: true + + '@parcel/watcher-linux-arm-glibc@2.4.1': + optional: true + + '@parcel/watcher-linux-arm64-glibc@2.4.1': + optional: true + + '@parcel/watcher-linux-arm64-musl@2.4.1': + optional: true + + '@parcel/watcher-linux-x64-glibc@2.4.1': + optional: true + + '@parcel/watcher-linux-x64-musl@2.4.1': + optional: true + + '@parcel/watcher-wasm@2.4.1': + dependencies: + is-glob: 4.0.3 + micromatch: 4.0.8 + + '@parcel/watcher-win32-arm64@2.4.1': + optional: true + + '@parcel/watcher-win32-ia32@2.4.1': + optional: true + + '@parcel/watcher-win32-x64@2.4.1': + optional: true + + '@parcel/watcher@2.4.1': + dependencies: + detect-libc: 1.0.3 + is-glob: 4.0.3 + micromatch: 4.0.8 + node-addon-api: 7.1.1 + optionalDependencies: + '@parcel/watcher-android-arm64': 2.4.1 + '@parcel/watcher-darwin-arm64': 2.4.1 + '@parcel/watcher-darwin-x64': 2.4.1 + '@parcel/watcher-freebsd-x64': 2.4.1 + '@parcel/watcher-linux-arm-glibc': 2.4.1 + '@parcel/watcher-linux-arm64-glibc': 2.4.1 + '@parcel/watcher-linux-arm64-musl': 2.4.1 + '@parcel/watcher-linux-x64-glibc': 2.4.1 + '@parcel/watcher-linux-x64-musl': 2.4.1 + '@parcel/watcher-win32-arm64': 2.4.1 + '@parcel/watcher-win32-ia32': 2.4.1 + '@parcel/watcher-win32-x64': 2.4.1 + + '@pkgjs/parseargs@0.11.0': + optional: true + + '@pkgr/core@0.1.1': {} + + '@polka/url@1.0.0-next.28': {} + + '@rollup/plugin-alias@5.1.0(rollup@4.22.4)': + dependencies: + slash: 4.0.0 + optionalDependencies: + rollup: 4.22.4 + + '@rollup/plugin-commonjs@25.0.8(rollup@4.22.4)': + dependencies: + '@rollup/pluginutils': 5.1.0(rollup@4.22.4) + commondir: 1.0.1 + estree-walker: 2.0.2 + glob: 8.1.0 + is-reference: 1.2.1 + magic-string: 0.30.11 + optionalDependencies: + rollup: 4.22.4 + + '@rollup/plugin-inject@5.0.5(rollup@4.22.4)': + dependencies: + '@rollup/pluginutils': 5.1.0(rollup@4.22.4) + estree-walker: 2.0.2 + magic-string: 0.30.11 + optionalDependencies: + rollup: 4.22.4 + + '@rollup/plugin-json@6.1.0(rollup@4.22.4)': + dependencies: + '@rollup/pluginutils': 5.1.0(rollup@4.22.4) + optionalDependencies: + rollup: 4.22.4 + + '@rollup/plugin-node-resolve@15.2.3(rollup@4.22.4)': + dependencies: + '@rollup/pluginutils': 5.1.0(rollup@4.22.4) + '@types/resolve': 1.20.2 + deepmerge: 4.3.1 + is-builtin-module: 3.2.1 + is-module: 1.0.0 + resolve: 1.22.8 + optionalDependencies: + rollup: 4.22.4 + + '@rollup/plugin-replace@5.0.7(rollup@4.22.4)': + dependencies: + '@rollup/pluginutils': 5.1.0(rollup@4.22.4) + magic-string: 0.30.11 + optionalDependencies: + rollup: 4.22.4 + + '@rollup/plugin-terser@0.4.4(rollup@4.22.4)': + dependencies: + serialize-javascript: 6.0.2 + smob: 1.5.0 + terser: 5.33.0 + optionalDependencies: + rollup: 4.22.4 + + '@rollup/pluginutils@4.2.1': + dependencies: + estree-walker: 2.0.2 + picomatch: 2.3.1 + + '@rollup/pluginutils@5.1.0(rollup@4.22.4)': + dependencies: + '@types/estree': 1.0.6 + estree-walker: 2.0.2 + picomatch: 2.3.1 + optionalDependencies: + rollup: 4.22.4 + + '@rollup/rollup-android-arm-eabi@4.22.4': + optional: true + + '@rollup/rollup-android-arm64@4.22.4': + optional: true + + '@rollup/rollup-darwin-arm64@4.22.4': + optional: true + + '@rollup/rollup-darwin-x64@4.22.4': + optional: true + + '@rollup/rollup-linux-arm-gnueabihf@4.22.4': + optional: true + + '@rollup/rollup-linux-arm-musleabihf@4.22.4': + optional: true + + '@rollup/rollup-linux-arm64-gnu@4.22.4': + optional: true + + '@rollup/rollup-linux-arm64-musl@4.22.4': + optional: true + + '@rollup/rollup-linux-powerpc64le-gnu@4.22.4': + optional: true + + '@rollup/rollup-linux-riscv64-gnu@4.22.4': + optional: true + + '@rollup/rollup-linux-s390x-gnu@4.22.4': + optional: true + + '@rollup/rollup-linux-x64-gnu@4.22.4': + optional: true + + '@rollup/rollup-linux-x64-musl@4.22.4': + optional: true + + '@rollup/rollup-win32-arm64-msvc@4.22.4': + optional: true + + '@rollup/rollup-win32-ia32-msvc@4.22.4': + optional: true + + '@rollup/rollup-win32-x64-msvc@4.22.4': + optional: true + + '@simonwep/pickr@1.8.2': + dependencies: + core-js: 3.38.1 + nanopop: 2.4.2 + + '@sinclair/typebox@0.27.8': {} + + '@sindresorhus/merge-streams@2.3.0': {} + + '@stylistic/eslint-plugin@2.8.0(eslint@8.57.1)(typescript@5.5.4)': + dependencies: + '@typescript-eslint/utils': 8.6.0(eslint@8.57.1)(typescript@5.5.4) + eslint: 8.57.1 + eslint-visitor-keys: 4.0.0 + espree: 10.1.0 + estraverse: 5.3.0 + picomatch: 4.0.2 + transitivePeerDependencies: + - supports-color + - typescript + + '@tootallnate/once@2.0.0': {} + + '@tsconfig/node10@1.0.11': {} + + '@tsconfig/node12@1.0.11': {} + + '@tsconfig/node14@1.0.3': {} + + '@tsconfig/node16@1.0.4': {} + + '@turf/bbox-polygon@6.5.0': + dependencies: + '@turf/helpers': 6.5.0 + + '@turf/bbox@6.5.0': + dependencies: + '@turf/helpers': 6.5.0 + '@turf/meta': 6.5.0 + + '@turf/clone@6.5.0': + dependencies: + '@turf/helpers': 6.5.0 + + '@turf/helpers@6.5.0': {} + + '@turf/invariant@6.5.0': + dependencies: + '@turf/helpers': 6.5.0 + + '@turf/meta@6.5.0': + dependencies: + '@turf/helpers': 6.5.0 + + '@turf/polygon-to-line@6.5.0': + dependencies: + '@turf/helpers': 6.5.0 + '@turf/invariant': 6.5.0 + + '@turf/union@6.5.0': + dependencies: + '@turf/helpers': 6.5.0 + '@turf/invariant': 6.5.0 + polygon-clipping: 0.15.7 + + '@types/chai-subset@1.3.5': + dependencies: + '@types/chai': 4.3.19 + + '@types/chai@4.3.19': {} + + '@types/d3-timer@2.0.3': {} + + '@types/eslint@9.6.1': + dependencies: + '@types/estree': 1.0.6 + '@types/json-schema': 7.0.15 + + '@types/estree@1.0.5': {} + + '@types/estree@1.0.6': {} + + '@types/fs-extra@11.0.4': + dependencies: + '@types/jsonfile': 6.1.4 + '@types/node': 20.16.5 + + '@types/geojson@7946.0.14': {} + + '@types/http-proxy@1.17.15': + dependencies: + '@types/node': 20.16.5 + + '@types/json-schema@7.0.15': {} + + '@types/jsonfile@6.1.4': + dependencies: + '@types/node': 20.16.5 + + '@types/lodash-es@4.17.12': + dependencies: + '@types/lodash': 4.17.7 + + '@types/lodash@4.17.7': {} + + '@types/mapbox__point-geometry@0.1.4': {} + + '@types/mapbox__vector-tile@1.3.4': + dependencies: + '@types/geojson': 7946.0.14 + '@types/mapbox__point-geometry': 0.1.4 + '@types/pbf': 3.0.5 + + '@types/mdast@3.0.15': + dependencies: + '@types/unist': 2.0.11 + + '@types/minimist@1.2.5': {} + + '@types/node@20.16.5': + dependencies: + undici-types: 6.19.8 + + '@types/normalize-package-data@2.4.4': {} + + '@types/parse-json@4.0.2': {} + + '@types/pbf@3.0.5': {} + + '@types/resolve@1.20.2': {} + + '@types/supercluster@7.1.3': + dependencies: + '@types/geojson': 7946.0.14 + + '@types/treeify@1.0.3': {} + + '@types/unist@2.0.11': {} + + '@types/web-bluetooth@0.0.20': {} + + '@typescript-eslint/eslint-plugin@8.6.0(@typescript-eslint/parser@8.6.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4)': + dependencies: + '@eslint-community/regexpp': 4.11.1 + '@typescript-eslint/parser': 8.6.0(eslint@8.57.1)(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.6.0 + '@typescript-eslint/type-utils': 8.6.0(eslint@8.57.1)(typescript@5.5.4) + '@typescript-eslint/utils': 8.6.0(eslint@8.57.1)(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 8.6.0 + eslint: 8.57.1 + graphemer: 1.4.0 + ignore: 5.3.2 + natural-compare: 1.4.0 + ts-api-utils: 1.3.0(typescript@5.5.4) + optionalDependencies: + typescript: 5.5.4 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/parser@8.6.0(eslint@8.57.1)(typescript@5.5.4)': + dependencies: + '@typescript-eslint/scope-manager': 8.6.0 + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/typescript-estree': 8.6.0(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 8.6.0 + debug: 4.3.7 + eslint: 8.57.1 + optionalDependencies: + typescript: 5.5.4 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/scope-manager@8.6.0': + dependencies: + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/visitor-keys': 8.6.0 + + '@typescript-eslint/type-utils@8.6.0(eslint@8.57.1)(typescript@5.5.4)': + dependencies: + '@typescript-eslint/typescript-estree': 8.6.0(typescript@5.5.4) + '@typescript-eslint/utils': 8.6.0(eslint@8.57.1)(typescript@5.5.4) + debug: 4.3.7 + ts-api-utils: 1.3.0(typescript@5.5.4) + optionalDependencies: + typescript: 5.5.4 + transitivePeerDependencies: + - eslint + - supports-color + + '@typescript-eslint/types@8.6.0': {} + + '@typescript-eslint/typescript-estree@8.6.0(typescript@5.5.4)': + dependencies: + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/visitor-keys': 8.6.0 + debug: 4.3.7 + fast-glob: 3.3.2 + is-glob: 4.0.3 + minimatch: 9.0.5 + semver: 7.6.3 + ts-api-utils: 1.3.0(typescript@5.5.4) + optionalDependencies: + typescript: 5.5.4 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/utils@8.6.0(eslint@8.57.1)(typescript@5.5.4)': + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.1) + '@typescript-eslint/scope-manager': 8.6.0 + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/typescript-estree': 8.6.0(typescript@5.5.4) + eslint: 8.57.1 + transitivePeerDependencies: + - supports-color + - typescript + + '@typescript-eslint/visitor-keys@8.6.0': + dependencies: + '@typescript-eslint/types': 8.6.0 + eslint-visitor-keys: 3.4.3 + + '@ungap/structured-clone@1.2.0': {} + + '@unocss/astro@0.57.7(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0))': + dependencies: + '@unocss/core': 0.57.7 + '@unocss/reset': 0.57.7 + '@unocss/vite': 0.57.7(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0)) + optionalDependencies: + vite: 5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0) + transitivePeerDependencies: + - rollup + + '@unocss/cli@0.57.7(rollup@4.22.4)': + dependencies: + '@ampproject/remapping': 2.3.0 + '@rollup/pluginutils': 5.1.0(rollup@4.22.4) + '@unocss/config': 0.57.7 + '@unocss/core': 0.57.7 + '@unocss/preset-uno': 0.57.7 + cac: 6.7.14 + chokidar: 3.6.0 + colorette: 2.0.20 + consola: 3.2.3 + fast-glob: 3.3.2 + magic-string: 0.30.11 + pathe: 1.1.2 + perfect-debounce: 1.0.0 + transitivePeerDependencies: + - rollup + + '@unocss/config@0.57.7': + dependencies: + '@unocss/core': 0.57.7 + unconfig: 0.3.13 + + '@unocss/core@0.57.7': {} + + '@unocss/core@0.62.4': {} + + '@unocss/extractor-arbitrary-variants@0.57.7': + dependencies: + '@unocss/core': 0.57.7 + + '@unocss/extractor-arbitrary-variants@0.62.4': + dependencies: + '@unocss/core': 0.62.4 + + '@unocss/inspector@0.57.7': + dependencies: + '@unocss/core': 0.57.7 + '@unocss/rule-utils': 0.57.7 + gzip-size: 6.0.0 + sirv: 2.0.4 + + '@unocss/postcss@0.57.7(postcss@8.4.47)': + dependencies: + '@unocss/config': 0.57.7 + '@unocss/core': 0.57.7 + '@unocss/rule-utils': 0.57.7 + css-tree: 2.3.1 + fast-glob: 3.3.2 + magic-string: 0.30.11 + postcss: 8.4.47 + + '@unocss/preset-attributify@0.57.7': + dependencies: + '@unocss/core': 0.57.7 + + '@unocss/preset-icons@0.57.7': + dependencies: + '@iconify/utils': 2.1.33 + '@unocss/core': 0.57.7 + ofetch: 1.4.0 + transitivePeerDependencies: + - supports-color + + '@unocss/preset-mini@0.57.7': + dependencies: + '@unocss/core': 0.57.7 + '@unocss/extractor-arbitrary-variants': 0.57.7 + '@unocss/rule-utils': 0.57.7 + + '@unocss/preset-mini@0.62.4': + dependencies: + '@unocss/core': 0.62.4 + '@unocss/extractor-arbitrary-variants': 0.62.4 + '@unocss/rule-utils': 0.62.4 + + '@unocss/preset-tagify@0.57.7': + dependencies: + '@unocss/core': 0.57.7 + + '@unocss/preset-typography@0.57.7': + dependencies: + '@unocss/core': 0.57.7 + '@unocss/preset-mini': 0.57.7 + + '@unocss/preset-uno@0.57.7': + dependencies: + '@unocss/core': 0.57.7 + '@unocss/preset-mini': 0.57.7 + '@unocss/preset-wind': 0.57.7 + '@unocss/rule-utils': 0.57.7 + + '@unocss/preset-web-fonts@0.57.7': + dependencies: + '@unocss/core': 0.57.7 + ofetch: 1.4.0 + + '@unocss/preset-wind@0.57.7': + dependencies: + '@unocss/core': 0.57.7 + '@unocss/preset-mini': 0.57.7 + '@unocss/rule-utils': 0.57.7 + + '@unocss/reset@0.57.7': {} + + '@unocss/rule-utils@0.57.7': + dependencies: + '@unocss/core': 0.57.7 + magic-string: 0.30.11 + + '@unocss/rule-utils@0.62.4': + dependencies: + '@unocss/core': 0.62.4 + magic-string: 0.30.11 + + '@unocss/scope@0.57.7': {} + + '@unocss/transformer-attributify-jsx-babel@0.57.7': + dependencies: + '@babel/core': 7.25.2 + '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.25.2) + '@babel/preset-typescript': 7.24.7(@babel/core@7.25.2) + '@unocss/core': 0.57.7 + transitivePeerDependencies: + - supports-color + + '@unocss/transformer-attributify-jsx@0.57.7': + dependencies: + '@unocss/core': 0.57.7 + + '@unocss/transformer-compile-class@0.57.7': + dependencies: + '@unocss/core': 0.57.7 + + '@unocss/transformer-directives@0.57.7': + dependencies: + '@unocss/core': 0.57.7 + '@unocss/rule-utils': 0.57.7 + css-tree: 2.3.1 + + '@unocss/transformer-variant-group@0.57.7': + dependencies: + '@unocss/core': 0.57.7 + + '@unocss/vite@0.57.7(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0))': + dependencies: + '@ampproject/remapping': 2.3.0 + '@rollup/pluginutils': 5.1.0(rollup@4.22.4) + '@unocss/config': 0.57.7 + '@unocss/core': 0.57.7 + '@unocss/inspector': 0.57.7 + '@unocss/scope': 0.57.7 + '@unocss/transformer-directives': 0.57.7 + chokidar: 3.6.0 + fast-glob: 3.3.2 + magic-string: 0.30.11 + vite: 5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0) + transitivePeerDependencies: + - rollup + + '@v-c/utils@0.0.26(typescript@5.5.4)': + dependencies: + lodash.clonedeep: 4.5.0 + lodash.isequal: 4.5.0 + lodash.merge: 4.6.2 + vue: 3.5.8(typescript@5.5.4) + transitivePeerDependencies: + - typescript + + '@vercel/nft@0.26.5': + dependencies: + '@mapbox/node-pre-gyp': 1.0.11 + '@rollup/pluginutils': 4.2.1 + acorn: 8.12.1 + acorn-import-attributes: 1.9.5(acorn@8.12.1) + async-sema: 3.1.1 + bindings: 1.5.0 + estree-walker: 2.0.2 + glob: 7.2.3 + graceful-fs: 4.2.11 + micromatch: 4.0.8 + node-gyp-build: 4.8.2 + resolve-from: 5.0.0 + transitivePeerDependencies: + - encoding + - supports-color + + '@vitejs/plugin-vue-jsx@3.1.0(vite@5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0))(vue@3.5.8(typescript@5.5.4))': + dependencies: + '@babel/core': 7.25.2 + '@babel/plugin-transform-typescript': 7.25.2(@babel/core@7.25.2) + '@vue/babel-plugin-jsx': 1.2.5(@babel/core@7.25.2) + vite: 5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0) + vue: 3.5.8(typescript@5.5.4) + transitivePeerDependencies: + - supports-color + + '@vitejs/plugin-vue@5.1.4(vite@5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0))(vue@3.5.8(typescript@5.5.4))': + dependencies: + vite: 5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0) + vue: 3.5.8(typescript@5.5.4) + + '@vitest/eslint-plugin@1.1.4(@typescript-eslint/utils@8.6.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4)(vitest@0.34.6(jsdom@22.1.0)(less@4.2.0)(terser@5.33.0))': + dependencies: + eslint: 8.57.1 + optionalDependencies: + '@typescript-eslint/utils': 8.6.0(eslint@8.57.1)(typescript@5.5.4) + typescript: 5.5.4 + vitest: 0.34.6(jsdom@22.1.0)(less@4.2.0)(terser@5.33.0) + + '@vitest/expect@0.34.6': + dependencies: + '@vitest/spy': 0.34.6 + '@vitest/utils': 0.34.6 + chai: 4.5.0 + + '@vitest/runner@0.34.6': + dependencies: + '@vitest/utils': 0.34.6 + p-limit: 4.0.0 + pathe: 1.1.2 + + '@vitest/snapshot@0.34.6': + dependencies: + magic-string: 0.30.11 + pathe: 1.1.2 + pretty-format: 29.7.0 + + '@vitest/spy@0.34.6': + dependencies: + tinyspy: 2.2.1 + + '@vitest/utils@0.34.6': + dependencies: + diff-sequences: 29.6.3 + loupe: 2.3.7 + pretty-format: 29.7.0 + + '@volar/language-core@2.4.5': + dependencies: + '@volar/source-map': 2.4.5 + + '@volar/source-map@2.4.5': {} + + '@volar/typescript@2.4.5': + dependencies: + '@volar/language-core': 2.4.5 + path-browserify: 1.0.1 + vscode-uri: 3.0.8 + + '@vue/babel-helper-vue-transform-on@1.2.5': {} + + '@vue/babel-plugin-jsx@1.2.5(@babel/core@7.25.2)': + dependencies: + '@babel/helper-module-imports': 7.24.7 + '@babel/helper-plugin-utils': 7.24.8 + '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.25.2) + '@babel/template': 7.25.0 + '@babel/traverse': 7.25.6 + '@babel/types': 7.25.6 + '@vue/babel-helper-vue-transform-on': 1.2.5 + '@vue/babel-plugin-resolve-type': 1.2.5(@babel/core@7.25.2) + html-tags: 3.3.1 + svg-tags: 1.0.0 + optionalDependencies: + '@babel/core': 7.25.2 + transitivePeerDependencies: + - supports-color + + '@vue/babel-plugin-resolve-type@1.2.5(@babel/core@7.25.2)': + dependencies: + '@babel/code-frame': 7.24.7 + '@babel/core': 7.25.2 + '@babel/helper-module-imports': 7.24.7 + '@babel/helper-plugin-utils': 7.24.8 + '@babel/parser': 7.25.6 + '@vue/compiler-sfc': 3.5.8 + transitivePeerDependencies: + - supports-color + + '@vue/compiler-core@3.5.8': + dependencies: + '@babel/parser': 7.25.6 + '@vue/shared': 3.5.8 + entities: 4.5.0 + estree-walker: 2.0.2 + source-map-js: 1.2.1 + + '@vue/compiler-dom@3.5.8': + dependencies: + '@vue/compiler-core': 3.5.8 + '@vue/shared': 3.5.8 + + '@vue/compiler-sfc@3.5.8': + dependencies: + '@babel/parser': 7.25.6 + '@vue/compiler-core': 3.5.8 + '@vue/compiler-dom': 3.5.8 + '@vue/compiler-ssr': 3.5.8 + '@vue/shared': 3.5.8 + estree-walker: 2.0.2 + magic-string: 0.30.11 + postcss: 8.4.47 + source-map-js: 1.2.1 + + '@vue/compiler-ssr@3.5.8': + dependencies: + '@vue/compiler-dom': 3.5.8 + '@vue/shared': 3.5.8 + + '@vue/compiler-vue2@2.7.16': + dependencies: + de-indent: 1.0.2 + he: 1.2.0 + + '@vue/devtools-api@6.6.4': {} + + '@vue/language-core@2.1.6(typescript@5.5.4)': + dependencies: + '@volar/language-core': 2.4.5 + '@vue/compiler-dom': 3.5.8 + '@vue/compiler-vue2': 2.7.16 + '@vue/shared': 3.5.8 + computeds: 0.0.1 + minimatch: 9.0.5 + muggle-string: 0.4.1 + path-browserify: 1.0.1 + optionalDependencies: + typescript: 5.5.4 + + '@vue/reactivity@3.5.8': + dependencies: + '@vue/shared': 3.5.8 + + '@vue/runtime-core@3.5.8': + dependencies: + '@vue/reactivity': 3.5.8 + '@vue/shared': 3.5.8 + + '@vue/runtime-dom@3.5.8': + dependencies: + '@vue/reactivity': 3.5.8 + '@vue/runtime-core': 3.5.8 + '@vue/shared': 3.5.8 + csstype: 3.1.3 + + '@vue/server-renderer@3.5.8(vue@3.5.8(typescript@5.5.4))': + dependencies: + '@vue/compiler-ssr': 3.5.8 + '@vue/shared': 3.5.8 + vue: 3.5.8(typescript@5.5.4) + + '@vue/shared@3.5.8': {} + + '@vue/test-utils@2.4.6': + dependencies: + js-beautify: 1.15.1 + vue-component-type-helpers: 2.1.6 + + '@vueuse/core@10.11.1(vue@3.5.8(typescript@5.5.4))': + dependencies: + '@types/web-bluetooth': 0.0.20 + '@vueuse/metadata': 10.11.1 + '@vueuse/shared': 10.11.1(vue@3.5.8(typescript@5.5.4)) + vue-demi: 0.14.10(vue@3.5.8(typescript@5.5.4)) + transitivePeerDependencies: + - '@vue/composition-api' + - vue + + '@vueuse/metadata@10.11.1': {} + + '@vueuse/shared@10.11.1(vue@3.5.8(typescript@5.5.4))': + dependencies: + vue-demi: 0.14.10(vue@3.5.8(typescript@5.5.4)) + transitivePeerDependencies: + - '@vue/composition-api' + - vue + + '@webgpu/types@0.1.46': {} + + JSONStream@1.3.5: + dependencies: + jsonparse: 1.3.1 + through: 2.3.8 + + abab@2.0.6: {} + + abbrev@1.1.1: {} + + abbrev@2.0.0: {} + + abort-controller@3.0.0: + dependencies: + event-target-shim: 5.0.1 + + acorn-import-attributes@1.9.5(acorn@8.12.1): + dependencies: + acorn: 8.12.1 + + acorn-jsx@5.3.2(acorn@8.12.1): + dependencies: + acorn: 8.12.1 + + acorn-walk@8.3.4: + dependencies: + acorn: 8.12.1 + + acorn@8.12.1: {} + + agent-base@6.0.2: + dependencies: + debug: 4.3.7 + transitivePeerDependencies: + - supports-color + + agent-base@7.1.1: + dependencies: + debug: 4.3.7 + transitivePeerDependencies: + - supports-color + + ajv@6.12.6: + dependencies: + fast-deep-equal: 3.1.3 + fast-json-stable-stringify: 2.1.0 + json-schema-traverse: 0.4.1 + uri-js: 4.4.1 + + ajv@8.17.1: + dependencies: + fast-deep-equal: 3.1.3 + fast-uri: 3.0.1 + json-schema-traverse: 1.0.0 + require-from-string: 2.0.2 + + align-text@0.1.4: + dependencies: + kind-of: 3.2.2 + longest: 1.0.1 + repeat-string: 1.6.1 + + amdefine@1.0.1: {} + + ansi-colors@4.1.3: {} + + ansi-escapes@5.0.0: + dependencies: + type-fest: 1.4.0 + + ansi-regex@2.1.1: {} + + ansi-regex@5.0.1: {} + + ansi-regex@6.1.0: {} + + ansi-styles@2.2.1: {} + + ansi-styles@3.2.1: + dependencies: + color-convert: 1.9.3 + + ansi-styles@4.3.0: + dependencies: + color-convert: 2.0.1 + + ansi-styles@5.2.0: {} + + ansi-styles@6.2.1: {} + + ant-design-vue@4.2.6(vue@3.5.8(typescript@5.5.4)): + dependencies: + '@ant-design/colors': 6.0.0 + '@ant-design/icons-vue': 7.0.1(vue@3.5.8(typescript@5.5.4)) + '@babel/runtime': 7.25.6 + '@ctrl/tinycolor': 3.6.1 + '@emotion/hash': 0.9.2 + '@emotion/unitless': 0.8.1 + '@simonwep/pickr': 1.8.2 + array-tree-filter: 2.1.0 + async-validator: 4.2.5 + csstype: 3.1.3 + dayjs: 1.11.13 + dom-align: 1.12.4 + dom-scroll-into-view: 2.0.1 + lodash: 4.17.21 + lodash-es: 4.17.21 + resize-observer-polyfill: 1.5.1 + scroll-into-view-if-needed: 2.2.31 + shallow-equal: 1.2.1 + stylis: 4.3.4 + throttle-debounce: 5.0.2 + vue: 3.5.8(typescript@5.5.4) + vue-types: 3.0.2(vue@3.5.8(typescript@5.5.4)) + warning: 4.0.3 + + antdv-component-resolver@1.0.7(unplugin-vue-components@0.26.0(@babel/parser@7.25.6)(rollup@4.22.4)(vue@3.5.8(typescript@5.5.4))(webpack-sources@3.2.3)): + dependencies: + unplugin-vue-components: 0.26.0(@babel/parser@7.25.6)(rollup@4.22.4)(vue@3.5.8(typescript@5.5.4))(webpack-sources@3.2.3) + + antdv-style@0.0.1-beta.2(vue@3.5.8(typescript@5.5.4)): + dependencies: + '@babel/runtime': 7.25.6 + '@emotion/cache': 11.13.1 + '@emotion/css': 11.13.0 + '@emotion/serialize': 1.3.2 + '@emotion/server': 11.11.0(@emotion/css@11.13.0) + '@emotion/utils': 1.4.1 + '@vueuse/core': 10.11.1(vue@3.5.8(typescript@5.5.4)) + ant-design-vue: 4.2.6(vue@3.5.8(typescript@5.5.4)) + vue: 3.5.8(typescript@5.5.4) + transitivePeerDependencies: + - '@vue/composition-api' + - supports-color + + anymatch@3.1.3: + dependencies: + normalize-path: 3.0.0 + picomatch: 2.3.1 + + aproba@2.0.0: {} + + archiver-utils@5.0.2: + dependencies: + glob: 10.4.5 + graceful-fs: 4.2.11 + is-stream: 2.0.1 + lazystream: 1.0.1 + lodash: 4.17.21 + normalize-path: 3.0.0 + readable-stream: 4.5.2 + + archiver@7.0.1: + dependencies: + archiver-utils: 5.0.2 + async: 3.2.6 + buffer-crc32: 1.0.0 + readable-stream: 4.5.2 + readdir-glob: 1.1.3 + tar-stream: 3.1.7 + zip-stream: 6.0.1 + + are-docs-informative@0.0.2: {} + + are-we-there-yet@2.0.0: + dependencies: + delegates: 1.0.0 + readable-stream: 3.6.2 + + arg@4.1.3: {} + + argparse@2.0.1: {} + + arr-union@3.1.0: {} + + array-back@3.1.0: {} + + array-back@4.0.2: {} + + array-buffer-byte-length@1.0.1: + dependencies: + call-bind: 1.0.7 + is-array-buffer: 3.0.4 + + array-ify@1.0.0: {} + + array-tree-filter@2.1.0: {} + + arraybuffer.prototype.slice@1.0.3: + dependencies: + array-buffer-byte-length: 1.0.1 + call-bind: 1.0.7 + define-properties: 1.2.1 + es-abstract: 1.23.3 + es-errors: 1.3.0 + get-intrinsic: 1.2.4 + is-array-buffer: 3.0.4 + is-shared-array-buffer: 1.0.3 + + arrify@1.0.1: {} + + as-number@1.0.0: {} + + assertion-error@1.1.0: {} + + assign-symbols@1.0.0: {} + + async-sema@3.1.1: {} + + async-validator@4.2.5: {} + + async@3.2.6: {} + + asynckit@0.4.0: {} + + available-typed-arrays@1.0.7: + dependencies: + possible-typed-array-names: 1.0.0 + + axios@1.7.7: + dependencies: + follow-redirects: 1.15.9 + form-data: 4.0.0 + proxy-from-env: 1.1.0 + transitivePeerDependencies: + - debug + + b4a@1.6.6: {} + + babel-plugin-macros@3.1.0: + dependencies: + '@babel/runtime': 7.25.6 + cosmiconfig: 7.1.0 + resolve: 1.22.8 + + balanced-match@1.0.2: {} + + bare-events@2.4.2: + optional: true + + base64-js@1.5.1: {} + + batch-processor@1.0.0: {} + + binary-extensions@2.3.0: {} + + bindings@1.5.0: + dependencies: + file-uri-to-path: 1.0.0 + + bl@5.1.0: + dependencies: + buffer: 6.0.3 + inherits: 2.0.4 + readable-stream: 3.6.2 + + boolbase@1.0.0: {} + + brace-expansion@1.1.11: + dependencies: + balanced-match: 1.0.2 + concat-map: 0.0.1 + + brace-expansion@2.0.1: + dependencies: + balanced-match: 1.0.2 + + braces@3.0.3: + dependencies: + fill-range: 7.1.1 + + browserslist@4.23.3: + dependencies: + caniuse-lite: 1.0.30001662 + electron-to-chromium: 1.5.27 + node-releases: 2.0.18 + update-browserslist-db: 1.1.0(browserslist@4.23.3) + + buffer-crc32@1.0.0: {} + + buffer-from@0.1.2: {} + + buffer-from@1.1.2: {} + + buffer@6.0.3: + dependencies: + base64-js: 1.5.1 + ieee754: 1.2.1 + + builtin-modules@3.3.0: {} + + bundle-name@4.1.0: + dependencies: + run-applescript: 7.0.0 + + bytewise-core@1.2.3: + dependencies: + typewise-core: 1.2.0 + + bytewise@1.1.0: + dependencies: + bytewise-core: 1.2.3 + typewise: 1.0.3 + + c12@1.11.2: + dependencies: + chokidar: 3.6.0 + confbox: 0.1.7 + defu: 6.1.4 + dotenv: 16.4.5 + giget: 1.2.3 + jiti: 1.21.6 + mlly: 1.7.1 + ohash: 1.1.4 + pathe: 1.1.2 + perfect-debounce: 1.0.0 + pkg-types: 1.2.0 + rc9: 2.1.2 + + cac@6.7.14: {} + + call-bind@1.0.7: + dependencies: + es-define-property: 1.0.0 + es-errors: 1.3.0 + function-bind: 1.1.2 + get-intrinsic: 1.2.4 + set-function-length: 1.2.2 + + callsites@3.1.0: {} + + camelcase-keys@6.2.2: + dependencies: + camelcase: 5.3.1 + map-obj: 4.3.0 + quick-lru: 4.0.1 + + camelcase@1.2.1: {} + + camelcase@5.3.1: {} + + caniuse-lite@1.0.30001662: {} + + center-align@0.1.3: + dependencies: + align-text: 0.1.4 + lazy-cache: 1.0.4 + + chai@4.5.0: + dependencies: + assertion-error: 1.1.0 + check-error: 1.0.3 + deep-eql: 4.1.4 + get-func-name: 2.0.2 + loupe: 2.3.7 + pathval: 1.1.1 + type-detect: 4.1.0 + + chalk@1.1.3: + dependencies: + ansi-styles: 2.2.1 + escape-string-regexp: 1.0.5 + has-ansi: 2.0.0 + strip-ansi: 3.0.1 + supports-color: 2.0.0 + + chalk@2.4.2: + dependencies: + ansi-styles: 3.2.1 + escape-string-regexp: 1.0.5 + supports-color: 5.5.0 + + chalk@4.1.2: + dependencies: + ansi-styles: 4.3.0 + supports-color: 7.2.0 + + chalk@5.3.0: {} + + changelogen@0.5.7: + dependencies: + c12: 1.11.2 + colorette: 2.0.20 + consola: 3.2.3 + convert-gitmoji: 0.1.5 + mri: 1.2.0 + node-fetch-native: 1.6.4 + ofetch: 1.4.0 + open: 10.1.0 + pathe: 1.1.2 + pkg-types: 1.2.0 + scule: 1.3.0 + semver: 7.6.3 + std-env: 3.7.0 + yaml: 2.5.1 + transitivePeerDependencies: + - magicast + + character-entities-legacy@1.1.4: {} + + character-entities@1.2.4: {} + + character-reference-invalid@1.1.4: {} + + check-error@1.0.3: + dependencies: + get-func-name: 2.0.2 + + chokidar@3.6.0: + dependencies: + anymatch: 3.1.3 + braces: 3.0.3 + glob-parent: 5.1.2 + is-binary-path: 2.1.0 + is-glob: 4.0.3 + normalize-path: 3.0.0 + readdirp: 3.6.0 + optionalDependencies: + fsevents: 2.3.3 + + chownr@2.0.0: {} + + ci-info@4.0.0: {} + + citty@0.1.6: + dependencies: + consola: 3.2.3 + + clean-regexp@1.0.0: + dependencies: + escape-string-regexp: 1.0.5 + + cli-cursor@4.0.0: + dependencies: + restore-cursor: 4.0.0 + + cli-spinners@2.9.2: {} + + cli-truncate@3.1.0: + dependencies: + slice-ansi: 5.0.0 + string-width: 5.1.2 + + clipboardy@4.0.0: + dependencies: + execa: 8.0.1 + is-wsl: 3.1.0 + is64bit: 2.0.0 + + cliui@2.1.0: + dependencies: + center-align: 0.1.3 + right-align: 0.1.3 + wordwrap: 0.0.2 + + cliui@8.0.1: + dependencies: + string-width: 4.2.3 + strip-ansi: 6.0.1 + wrap-ansi: 7.0.0 + + cluster-key-slot@1.1.2: {} + + color-convert@1.9.3: + dependencies: + color-name: 1.1.3 + + color-convert@2.0.1: + dependencies: + color-name: 1.1.4 + + color-name@1.1.3: {} + + color-name@1.1.4: {} + + color-support@1.1.3: {} + + colorette@2.0.20: {} + + combined-stream@1.0.8: + dependencies: + delayed-stream: 1.0.0 + + command-line-args@5.2.1: + dependencies: + array-back: 3.1.0 + find-replace: 3.0.0 + lodash.camelcase: 4.3.0 + typical: 4.0.0 + + command-line-usage@6.1.3: + dependencies: + array-back: 4.0.2 + chalk: 2.4.2 + table-layout: 1.0.2 + typical: 5.2.0 + + commander@10.0.1: {} + + commander@11.0.0: {} + + commander@2.20.3: {} + + comment-parser@1.4.1: {} + + commondir@1.0.1: {} + + compare-func@2.0.0: + dependencies: + array-ify: 1.0.0 + dot-prop: 5.3.0 + + compress-commons@6.0.2: + dependencies: + crc-32: 1.2.2 + crc32-stream: 6.0.0 + is-stream: 2.0.1 + normalize-path: 3.0.0 + readable-stream: 4.5.2 + + compute-scroll-into-view@1.0.20: {} + + computeds@0.0.1: {} + + concat-map@0.0.1: {} + + confbox@0.1.7: {} + + config-chain@1.1.13: + dependencies: + ini: 1.3.8 + proto-list: 1.2.4 + + consola@3.2.3: {} + + console-control-strings@1.1.0: {} + + contour_plot@0.0.1: {} + + conventional-changelog-angular@7.0.0: + dependencies: + compare-func: 2.0.0 + + conventional-changelog-conventionalcommits@7.0.2: + dependencies: + compare-func: 2.0.0 + + conventional-commits-parser@5.0.0: + dependencies: + JSONStream: 1.3.5 + is-text-path: 2.0.0 + meow: 12.1.1 + split2: 4.2.0 + + convert-gitmoji@0.1.5: {} + + convert-source-map@1.9.0: {} + + convert-source-map@2.0.0: {} + + cookie-es@1.2.2: {} + + copy-anything@2.0.6: + dependencies: + is-what: 3.14.1 + + core-js-compat@3.38.1: + dependencies: + browserslist: 4.23.3 + + core-js@3.38.1: {} + + core-util-is@1.0.3: {} + + cosmiconfig-typescript-loader@5.0.0(@types/node@20.16.5)(cosmiconfig@8.3.6(typescript@5.5.4))(typescript@5.5.4): + dependencies: + '@types/node': 20.16.5 + cosmiconfig: 8.3.6(typescript@5.5.4) + jiti: 1.21.6 + typescript: 5.5.4 + + cosmiconfig@7.1.0: + dependencies: + '@types/parse-json': 4.0.2 + import-fresh: 3.3.0 + parse-json: 5.2.0 + path-type: 4.0.0 + yaml: 1.10.2 + + cosmiconfig@8.3.6(typescript@5.5.4): + dependencies: + import-fresh: 3.3.0 + js-yaml: 4.1.0 + parse-json: 5.2.0 + path-type: 4.0.0 + optionalDependencies: + typescript: 5.5.4 + + crc-32@1.2.2: {} + + crc32-stream@6.0.0: + dependencies: + crc-32: 1.2.2 + readable-stream: 4.5.2 + + create-require@1.1.1: {} + + croner@8.1.1: {} + + cross-env@7.0.3: + dependencies: + cross-spawn: 7.0.3 + + cross-spawn@6.0.5: + dependencies: + nice-try: 1.0.5 + path-key: 2.0.1 + semver: 5.7.2 + shebang-command: 1.2.0 + which: 1.3.1 + + cross-spawn@7.0.3: + dependencies: + path-key: 3.1.1 + shebang-command: 2.0.0 + which: 2.0.2 + + crossws@0.2.4: {} + + css-tree@2.3.1: + dependencies: + mdn-data: 2.0.30 + source-map-js: 1.2.1 + + csscolorparser@1.0.3: {} + + cssesc@3.0.0: {} + + cssstyle@3.0.0: + dependencies: + rrweb-cssom: 0.6.0 + + cssstyle@4.1.0: + dependencies: + rrweb-cssom: 0.7.1 + + csstype@3.1.3: {} + + d3-array@1.2.4: {} + + d3-array@2.12.1: + dependencies: + internmap: 1.0.1 + + d3-collection@1.0.7: {} + + d3-color@1.4.1: {} + + d3-color@3.1.0: {} + + d3-dsv@1.2.0: + dependencies: + commander: 2.20.3 + iconv-lite: 0.4.24 + rw: 1.3.3 + + d3-ease@1.0.7: {} + + d3-format@1.4.5: {} + + d3-hexbin@0.2.2: {} + + d3-hierarchy@2.0.0: {} + + d3-interpolate@1.4.0: + dependencies: + d3-color: 1.4.1 + + d3-interpolate@3.0.1: + dependencies: + d3-color: 3.1.0 + + d3-regression@1.3.10: {} + + d3-scale@2.2.2: + dependencies: + d3-array: 1.2.4 + d3-collection: 1.0.7 + d3-format: 1.4.5 + d3-interpolate: 1.4.0 + d3-time: 1.1.0 + d3-time-format: 2.3.0 + + d3-time-format@2.3.0: + dependencies: + d3-time: 1.1.0 + + d3-time@1.1.0: {} + + d3-timer@1.0.10: {} + + dargs@7.0.0: {} + + data-urls@4.0.0: + dependencies: + abab: 2.0.6 + whatwg-mimetype: 3.0.0 + whatwg-url: 12.0.1 + + data-urls@5.0.0: + dependencies: + whatwg-mimetype: 4.0.0 + whatwg-url: 14.0.0 + + data-view-buffer@1.0.1: + dependencies: + call-bind: 1.0.7 + es-errors: 1.3.0 + is-data-view: 1.0.1 + + data-view-byte-length@1.0.1: + dependencies: + call-bind: 1.0.7 + es-errors: 1.3.0 + is-data-view: 1.0.1 + + data-view-byte-offset@1.0.0: + dependencies: + call-bind: 1.0.7 + es-errors: 1.3.0 + is-data-view: 1.0.1 + + dayjs@1.11.13: {} + + db0@0.1.4: {} + + de-indent@1.0.2: {} + + debug@2.6.9: + dependencies: + ms: 2.0.0 + + debug@3.2.7: + dependencies: + ms: 2.1.3 + + debug@4.3.4: + dependencies: + ms: 2.1.2 + + debug@4.3.7: + dependencies: + ms: 2.1.3 + + decamelize-keys@1.1.1: + dependencies: + decamelize: 1.2.0 + map-obj: 1.0.1 + + decamelize@1.2.0: {} + + decimal.js@10.4.3: {} + + deep-eql@4.1.4: + dependencies: + type-detect: 4.1.0 + + deep-equal@1.1.2: + dependencies: + is-arguments: 1.1.1 + is-date-object: 1.0.5 + is-regex: 1.1.4 + object-is: 1.1.6 + object-keys: 1.1.1 + regexp.prototype.flags: 1.5.2 + + deep-extend@0.6.0: {} + + deep-is@0.1.4: {} + + deepmerge@4.3.1: {} + + default-browser-id@5.0.0: {} + + default-browser@5.2.1: + dependencies: + bundle-name: 4.1.0 + default-browser-id: 5.0.0 + + define-data-property@1.1.4: + dependencies: + es-define-property: 1.0.0 + es-errors: 1.3.0 + gopd: 1.0.1 + + define-lazy-prop@2.0.0: {} + + define-lazy-prop@3.0.0: {} + + define-properties@1.2.1: + dependencies: + define-data-property: 1.1.4 + has-property-descriptors: 1.0.2 + object-keys: 1.1.1 + + defined@1.0.1: {} + + defu@6.1.4: {} + + delayed-stream@1.0.0: {} + + delegates@1.0.0: {} + + denque@2.1.0: {} + + depd@2.0.0: {} + + destr@2.0.3: {} + + destroy@1.2.0: {} + + detect-browser@5.3.0: {} + + detect-libc@1.0.3: {} + + detect-libc@2.0.3: {} + + diff-sequences@29.6.3: {} + + diff@4.0.2: {} + + directory-tree@3.5.2: + dependencies: + command-line-args: 5.2.1 + command-line-usage: 6.1.3 + + doctrine@3.0.0: + dependencies: + esutils: 2.0.3 + + dom-align@1.12.4: {} + + dom-scroll-into-view@2.0.1: {} + + domexception@4.0.0: + dependencies: + webidl-conversions: 7.0.0 + + dot-prop@5.3.0: + dependencies: + is-obj: 2.0.0 + + dot-prop@8.0.2: + dependencies: + type-fest: 3.13.1 + + dotenv@16.4.5: {} + + dotignore@0.1.2: + dependencies: + minimatch: 3.1.2 + + duplexer2@0.1.4: + dependencies: + readable-stream: 2.3.8 + + duplexer@0.1.2: {} + + earcut@2.2.4: {} + + eastasianwidth@0.2.0: {} + + editorconfig@1.0.4: + dependencies: + '@one-ini/wasm': 0.1.1 + commander: 10.0.1 + minimatch: 9.0.1 + semver: 7.6.3 + + ee-first@1.1.1: {} + + electron-to-chromium@1.5.27: {} + + element-resize-detector@1.2.4: + dependencies: + batch-processor: 1.0.0 + + emoji-regex@10.4.0: {} + + emoji-regex@8.0.0: {} + + emoji-regex@9.2.2: {} + + encodeurl@1.0.2: {} + + encodeurl@2.0.0: {} + + enhanced-resolve@5.17.1: + dependencies: + graceful-fs: 4.2.11 + tapable: 2.2.1 + + entities@4.5.0: {} + + errno@0.1.8: + dependencies: + prr: 1.0.1 + optional: true + + error-ex@1.3.2: + dependencies: + is-arrayish: 0.2.1 + + es-abstract@1.23.3: + dependencies: + array-buffer-byte-length: 1.0.1 + arraybuffer.prototype.slice: 1.0.3 + available-typed-arrays: 1.0.7 + call-bind: 1.0.7 + data-view-buffer: 1.0.1 + data-view-byte-length: 1.0.1 + data-view-byte-offset: 1.0.0 + es-define-property: 1.0.0 + es-errors: 1.3.0 + es-object-atoms: 1.0.0 + es-set-tostringtag: 2.0.3 + es-to-primitive: 1.2.1 + function.prototype.name: 1.1.6 + get-intrinsic: 1.2.4 + get-symbol-description: 1.0.2 + globalthis: 1.0.4 + gopd: 1.0.1 + has-property-descriptors: 1.0.2 + has-proto: 1.0.3 + has-symbols: 1.0.3 + hasown: 2.0.2 + internal-slot: 1.0.7 + is-array-buffer: 3.0.4 + is-callable: 1.2.7 + is-data-view: 1.0.1 + is-negative-zero: 2.0.3 + is-regex: 1.1.4 + is-shared-array-buffer: 1.0.3 + is-string: 1.0.7 + is-typed-array: 1.1.13 + is-weakref: 1.0.2 + object-inspect: 1.13.2 + object-keys: 1.1.1 + object.assign: 4.1.5 + regexp.prototype.flags: 1.5.2 + safe-array-concat: 1.1.2 + safe-regex-test: 1.0.3 + string.prototype.trim: 1.2.9 + string.prototype.trimend: 1.0.8 + string.prototype.trimstart: 1.0.8 + typed-array-buffer: 1.0.2 + typed-array-byte-length: 1.0.1 + typed-array-byte-offset: 1.0.2 + typed-array-length: 1.0.6 + unbox-primitive: 1.0.2 + which-typed-array: 1.1.15 + + es-define-property@1.0.0: + dependencies: + get-intrinsic: 1.2.4 + + es-errors@1.3.0: {} + + es-module-lexer@1.5.4: {} + + es-object-atoms@1.0.0: + dependencies: + es-errors: 1.3.0 + + es-set-tostringtag@2.0.3: + dependencies: + get-intrinsic: 1.2.4 + has-tostringtag: 1.0.2 + hasown: 2.0.2 + + es-to-primitive@1.2.1: + dependencies: + is-callable: 1.2.7 + is-date-object: 1.0.5 + is-symbol: 1.0.4 + + esbuild@0.18.20: + optionalDependencies: + '@esbuild/android-arm': 0.18.20 + '@esbuild/android-arm64': 0.18.20 + '@esbuild/android-x64': 0.18.20 + '@esbuild/darwin-arm64': 0.18.20 + '@esbuild/darwin-x64': 0.18.20 + '@esbuild/freebsd-arm64': 0.18.20 + '@esbuild/freebsd-x64': 0.18.20 + '@esbuild/linux-arm': 0.18.20 + '@esbuild/linux-arm64': 0.18.20 + '@esbuild/linux-ia32': 0.18.20 + '@esbuild/linux-loong64': 0.18.20 + '@esbuild/linux-mips64el': 0.18.20 + '@esbuild/linux-ppc64': 0.18.20 + '@esbuild/linux-riscv64': 0.18.20 + '@esbuild/linux-s390x': 0.18.20 + '@esbuild/linux-x64': 0.18.20 + '@esbuild/netbsd-x64': 0.18.20 + '@esbuild/openbsd-x64': 0.18.20 + '@esbuild/sunos-x64': 0.18.20 + '@esbuild/win32-arm64': 0.18.20 + '@esbuild/win32-ia32': 0.18.20 + '@esbuild/win32-x64': 0.18.20 + + esbuild@0.20.2: + optionalDependencies: + '@esbuild/aix-ppc64': 0.20.2 + '@esbuild/android-arm': 0.20.2 + '@esbuild/android-arm64': 0.20.2 + '@esbuild/android-x64': 0.20.2 + '@esbuild/darwin-arm64': 0.20.2 + '@esbuild/darwin-x64': 0.20.2 + '@esbuild/freebsd-arm64': 0.20.2 + '@esbuild/freebsd-x64': 0.20.2 + '@esbuild/linux-arm': 0.20.2 + '@esbuild/linux-arm64': 0.20.2 + '@esbuild/linux-ia32': 0.20.2 + '@esbuild/linux-loong64': 0.20.2 + '@esbuild/linux-mips64el': 0.20.2 + '@esbuild/linux-ppc64': 0.20.2 + '@esbuild/linux-riscv64': 0.20.2 + '@esbuild/linux-s390x': 0.20.2 + '@esbuild/linux-x64': 0.20.2 + '@esbuild/netbsd-x64': 0.20.2 + '@esbuild/openbsd-x64': 0.20.2 + '@esbuild/sunos-x64': 0.20.2 + '@esbuild/win32-arm64': 0.20.2 + '@esbuild/win32-ia32': 0.20.2 + '@esbuild/win32-x64': 0.20.2 + + esbuild@0.21.5: + optionalDependencies: + '@esbuild/aix-ppc64': 0.21.5 + '@esbuild/android-arm': 0.21.5 + '@esbuild/android-arm64': 0.21.5 + '@esbuild/android-x64': 0.21.5 + '@esbuild/darwin-arm64': 0.21.5 + '@esbuild/darwin-x64': 0.21.5 + '@esbuild/freebsd-arm64': 0.21.5 + '@esbuild/freebsd-x64': 0.21.5 + '@esbuild/linux-arm': 0.21.5 + '@esbuild/linux-arm64': 0.21.5 + '@esbuild/linux-ia32': 0.21.5 + '@esbuild/linux-loong64': 0.21.5 + '@esbuild/linux-mips64el': 0.21.5 + '@esbuild/linux-ppc64': 0.21.5 + '@esbuild/linux-riscv64': 0.21.5 + '@esbuild/linux-s390x': 0.21.5 + '@esbuild/linux-x64': 0.21.5 + '@esbuild/netbsd-x64': 0.21.5 + '@esbuild/openbsd-x64': 0.21.5 + '@esbuild/sunos-x64': 0.21.5 + '@esbuild/win32-arm64': 0.21.5 + '@esbuild/win32-ia32': 0.21.5 + '@esbuild/win32-x64': 0.21.5 + + escalade@3.2.0: {} + + escape-html@1.0.3: {} + + escape-string-regexp@1.0.5: {} + + escape-string-regexp@4.0.0: {} + + escape-string-regexp@5.0.0: {} + + eslint-compat-utils@0.5.1(eslint@8.57.1): + dependencies: + eslint: 8.57.1 + semver: 7.6.3 + + eslint-config-flat-gitignore@0.1.8: + dependencies: + find-up-simple: 1.0.0 + parse-gitignore: 2.0.0 + + eslint-flat-config-utils@0.3.1: + dependencies: + '@types/eslint': 9.6.1 + pathe: 1.1.2 + + eslint-import-resolver-node@0.3.9: + dependencies: + debug: 3.2.7 + is-core-module: 2.15.1 + resolve: 1.22.8 + transitivePeerDependencies: + - supports-color + + eslint-merge-processors@0.1.0(eslint@8.57.1): + dependencies: + eslint: 8.57.1 + + eslint-plugin-antfu@2.7.0(eslint@8.57.1): + dependencies: + '@antfu/utils': 0.7.10 + eslint: 8.57.1 + + eslint-plugin-command@0.2.5(eslint@8.57.1): + dependencies: + '@es-joy/jsdoccomment': 0.48.0 + eslint: 8.57.1 + + eslint-plugin-es-x@7.8.0(eslint@8.57.1): + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.1) + '@eslint-community/regexpp': 4.11.1 + eslint: 8.57.1 + eslint-compat-utils: 0.5.1(eslint@8.57.1) + + eslint-plugin-import-x@4.2.1(eslint@8.57.1)(typescript@5.5.4): + dependencies: + '@typescript-eslint/utils': 8.6.0(eslint@8.57.1)(typescript@5.5.4) + debug: 4.3.7 + doctrine: 3.0.0 + eslint: 8.57.1 + eslint-import-resolver-node: 0.3.9 + get-tsconfig: 4.8.1 + is-glob: 4.0.3 + minimatch: 9.0.5 + semver: 7.6.3 + stable-hash: 0.0.4 + tslib: 2.7.0 + transitivePeerDependencies: + - supports-color + - typescript + + eslint-plugin-jsdoc@50.2.4(eslint@8.57.1): + dependencies: + '@es-joy/jsdoccomment': 0.48.0 + are-docs-informative: 0.0.2 + comment-parser: 1.4.1 + debug: 4.3.7 + escape-string-regexp: 4.0.0 + eslint: 8.57.1 + espree: 10.1.0 + esquery: 1.6.0 + parse-imports: 2.2.1 + semver: 7.6.3 + spdx-expression-parse: 4.0.0 + synckit: 0.9.1 + transitivePeerDependencies: + - supports-color + + eslint-plugin-jsonc@2.16.0(eslint@8.57.1): + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.1) + eslint: 8.57.1 + eslint-compat-utils: 0.5.1(eslint@8.57.1) + espree: 9.6.1 + graphemer: 1.4.0 + jsonc-eslint-parser: 2.4.0 + natural-compare: 1.4.0 + synckit: 0.6.2 + + eslint-plugin-markdown@5.1.0(eslint@8.57.1): + dependencies: + eslint: 8.57.1 + mdast-util-from-markdown: 0.8.5 + transitivePeerDependencies: + - supports-color + + eslint-plugin-n@17.10.3(eslint@8.57.1): + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.1) + enhanced-resolve: 5.17.1 + eslint: 8.57.1 + eslint-plugin-es-x: 7.8.0(eslint@8.57.1) + get-tsconfig: 4.8.1 + globals: 15.9.0 + ignore: 5.3.2 + minimatch: 9.0.5 + semver: 7.6.3 + + eslint-plugin-no-only-tests@3.3.0: {} + + eslint-plugin-perfectionist@3.6.0(eslint@8.57.1)(typescript@5.5.4)(vue-eslint-parser@9.4.3(eslint@8.57.1)): + dependencies: + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/utils': 8.6.0(eslint@8.57.1)(typescript@5.5.4) + eslint: 8.57.1 + minimatch: 9.0.5 + natural-compare-lite: 1.4.0 + optionalDependencies: + vue-eslint-parser: 9.4.3(eslint@8.57.1) + transitivePeerDependencies: + - supports-color + - typescript + + eslint-plugin-regexp@2.6.0(eslint@8.57.1): + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.1) + '@eslint-community/regexpp': 4.11.1 + comment-parser: 1.4.1 + eslint: 8.57.1 + jsdoc-type-pratt-parser: 4.1.0 + refa: 0.12.1 + regexp-ast-analysis: 0.7.1 + scslre: 0.3.0 + + eslint-plugin-toml@0.11.1(eslint@8.57.1): + dependencies: + debug: 4.3.7 + eslint: 8.57.1 + eslint-compat-utils: 0.5.1(eslint@8.57.1) + lodash: 4.17.21 + toml-eslint-parser: 0.10.0 + transitivePeerDependencies: + - supports-color + + eslint-plugin-unicorn@55.0.0(eslint@8.57.1): + dependencies: + '@babel/helper-validator-identifier': 7.24.7 + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.1) + ci-info: 4.0.0 + clean-regexp: 1.0.0 + core-js-compat: 3.38.1 + eslint: 8.57.1 + esquery: 1.6.0 + globals: 15.9.0 + indent-string: 4.0.0 + is-builtin-module: 3.2.1 + jsesc: 3.0.2 + pluralize: 8.0.0 + read-pkg-up: 7.0.1 + regexp-tree: 0.1.27 + regjsparser: 0.10.0 + semver: 7.6.3 + strip-indent: 3.0.0 + + eslint-plugin-unused-imports@4.1.4(@typescript-eslint/eslint-plugin@8.6.0(@typescript-eslint/parser@8.6.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1): + dependencies: + eslint: 8.57.1 + optionalDependencies: + '@typescript-eslint/eslint-plugin': 8.6.0(@typescript-eslint/parser@8.6.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4) + + eslint-plugin-vue@9.28.0(eslint@8.57.1): + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.1) + eslint: 8.57.1 + globals: 13.24.0 + natural-compare: 1.4.0 + nth-check: 2.1.1 + postcss-selector-parser: 6.1.2 + semver: 7.6.3 + vue-eslint-parser: 9.4.3(eslint@8.57.1) + xml-name-validator: 4.0.0 + transitivePeerDependencies: + - supports-color + + eslint-plugin-yml@1.14.0(eslint@8.57.1): + dependencies: + debug: 4.3.7 + eslint: 8.57.1 + eslint-compat-utils: 0.5.1(eslint@8.57.1) + lodash: 4.17.21 + natural-compare: 1.4.0 + yaml-eslint-parser: 1.2.3 + transitivePeerDependencies: + - supports-color + + eslint-processor-vue-blocks@0.1.2(@vue/compiler-sfc@3.5.8)(eslint@8.57.1): + dependencies: + '@vue/compiler-sfc': 3.5.8 + eslint: 8.57.1 + + eslint-scope@7.2.2: + dependencies: + esrecurse: 4.3.0 + estraverse: 5.3.0 + + eslint-visitor-keys@3.4.3: {} + + eslint-visitor-keys@4.0.0: {} + + eslint@8.57.1: + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.1) + '@eslint-community/regexpp': 4.11.1 + '@eslint/eslintrc': 2.1.4 + '@eslint/js': 8.57.1 + '@humanwhocodes/config-array': 0.13.0 + '@humanwhocodes/module-importer': 1.0.1 + '@nodelib/fs.walk': 1.2.8 + '@ungap/structured-clone': 1.2.0 + ajv: 6.12.6 + chalk: 4.1.2 + cross-spawn: 7.0.3 + debug: 4.3.7 + doctrine: 3.0.0 + escape-string-regexp: 4.0.0 + eslint-scope: 7.2.2 + eslint-visitor-keys: 3.4.3 + espree: 9.6.1 + esquery: 1.6.0 + esutils: 2.0.3 + fast-deep-equal: 3.1.3 + file-entry-cache: 6.0.1 + find-up: 5.0.0 + glob-parent: 6.0.2 + globals: 13.24.0 + graphemer: 1.4.0 + ignore: 5.3.2 + imurmurhash: 0.1.4 + is-glob: 4.0.3 + is-path-inside: 3.0.3 + js-yaml: 4.1.0 + json-stable-stringify-without-jsonify: 1.0.1 + levn: 0.4.1 + lodash.merge: 4.6.2 + minimatch: 3.1.2 + natural-compare: 1.4.0 + optionator: 0.9.4 + strip-ansi: 6.0.1 + text-table: 0.2.0 + transitivePeerDependencies: + - supports-color + + esno@0.17.0: + dependencies: + tsx: 3.14.0 + + espree@10.1.0: + dependencies: + acorn: 8.12.1 + acorn-jsx: 5.3.2(acorn@8.12.1) + eslint-visitor-keys: 4.0.0 + + espree@9.6.1: + dependencies: + acorn: 8.12.1 + acorn-jsx: 5.3.2(acorn@8.12.1) + eslint-visitor-keys: 3.4.3 + + esquery@1.6.0: + dependencies: + estraverse: 5.3.0 + + esrecurse@4.3.0: + dependencies: + estraverse: 5.3.0 + + estraverse@5.3.0: {} + + estree-walker@2.0.2: {} + + estree-walker@3.0.3: + dependencies: + '@types/estree': 1.0.6 + + esutils@2.0.3: {} + + etag@1.8.1: {} + + event-target-shim@5.0.1: {} + + eventemitter3@4.0.7: {} + + eventemitter3@5.0.1: {} + + events@3.3.0: {} + + execa@5.1.1: + dependencies: + cross-spawn: 7.0.3 + get-stream: 6.0.1 + human-signals: 2.1.0 + is-stream: 2.0.1 + merge-stream: 2.0.0 + npm-run-path: 4.0.1 + onetime: 5.1.2 + signal-exit: 3.0.7 + strip-final-newline: 2.0.0 + + execa@7.2.0: + dependencies: + cross-spawn: 7.0.3 + get-stream: 6.0.1 + human-signals: 4.3.1 + is-stream: 3.0.0 + merge-stream: 2.0.0 + npm-run-path: 5.3.0 + onetime: 6.0.0 + signal-exit: 3.0.7 + strip-final-newline: 3.0.0 + + execa@8.0.1: + dependencies: + cross-spawn: 7.0.3 + get-stream: 8.0.1 + human-signals: 5.0.0 + is-stream: 3.0.0 + merge-stream: 2.0.0 + npm-run-path: 5.3.0 + onetime: 6.0.0 + signal-exit: 4.1.0 + strip-final-newline: 3.0.0 + + extend-shallow@2.0.1: + dependencies: + is-extendable: 0.1.1 + + extend-shallow@3.0.2: + dependencies: + assign-symbols: 1.0.0 + is-extendable: 1.0.1 + + extrude-polyline@1.0.6: + dependencies: + as-number: 1.0.0 + gl-vec2: 1.3.0 + polyline-miter-util: 1.0.1 + + fast-deep-equal@3.1.3: {} + + fast-fifo@1.3.2: {} + + fast-glob@3.3.2: + dependencies: + '@nodelib/fs.stat': 2.0.5 + '@nodelib/fs.walk': 1.2.8 + glob-parent: 5.1.2 + merge2: 1.4.1 + micromatch: 4.0.8 + + fast-json-stable-stringify@2.1.0: {} + + fast-levenshtein@2.0.6: {} + + fast-uri@3.0.1: {} + + fastq@1.17.1: + dependencies: + reusify: 1.0.4 + + fecha@4.2.3: {} + + file-entry-cache@6.0.1: + dependencies: + flat-cache: 3.2.0 + + file-uri-to-path@1.0.0: {} + + fill-range@7.1.1: + dependencies: + to-regex-range: 5.0.1 + + find-replace@3.0.0: + dependencies: + array-back: 3.1.0 + + find-root@1.1.0: {} + + find-up-simple@1.0.0: {} + + find-up@4.1.0: + dependencies: + locate-path: 5.0.0 + path-exists: 4.0.0 + + find-up@5.0.0: + dependencies: + locate-path: 6.0.0 + path-exists: 4.0.0 + + flat-cache@3.2.0: + dependencies: + flatted: 3.3.1 + keyv: 4.5.4 + rimraf: 3.0.2 + + flatted@3.3.1: {} + + fmin@0.0.2: + dependencies: + contour_plot: 0.0.1 + json2module: 0.0.3 + rollup: 0.25.8 + tape: 4.17.0 + uglify-js: 2.8.29 + + follow-redirects@1.15.9: {} + + for-each@0.3.3: + dependencies: + is-callable: 1.2.7 + + foreground-child@3.3.0: + dependencies: + cross-spawn: 7.0.3 + signal-exit: 4.1.0 + + form-data@4.0.0: + dependencies: + asynckit: 0.4.0 + combined-stream: 1.0.8 + mime-types: 2.1.35 + + fresh@0.5.2: {} + + fs-extra@11.2.0: + dependencies: + graceful-fs: 4.2.11 + jsonfile: 6.1.0 + universalify: 2.0.1 + + fs-minipass@2.1.0: + dependencies: + minipass: 3.3.6 + + fs.realpath@1.0.0: {} + + fsevents@2.3.3: + optional: true + + function-bind@1.1.2: {} + + function.prototype.name@1.1.6: + dependencies: + call-bind: 1.0.7 + define-properties: 1.2.1 + es-abstract: 1.23.3 + functions-have-names: 1.2.3 + + functions-have-names@1.2.3: {} + + gauge@3.0.2: + dependencies: + aproba: 2.0.0 + color-support: 1.1.3 + console-control-strings: 1.1.0 + has-unicode: 2.0.1 + object-assign: 4.1.1 + signal-exit: 3.0.7 + string-width: 4.2.3 + strip-ansi: 6.0.1 + wide-align: 1.1.5 + + gensync@1.0.0-beta.2: {} + + geojson-vt@3.2.1: {} + + get-caller-file@2.0.5: {} + + get-func-name@2.0.2: {} + + get-intrinsic@1.2.4: + dependencies: + es-errors: 1.3.0 + function-bind: 1.1.2 + has-proto: 1.0.3 + has-symbols: 1.0.3 + hasown: 2.0.2 + + get-port-please@3.1.2: {} + + get-stream@6.0.1: {} + + get-stream@8.0.1: {} + + get-symbol-description@1.0.2: + dependencies: + call-bind: 1.0.7 + es-errors: 1.3.0 + get-intrinsic: 1.2.4 + + get-tsconfig@4.8.1: + dependencies: + resolve-pkg-maps: 1.0.0 + + get-value@2.0.6: {} + + giget@1.2.3: + dependencies: + citty: 0.1.6 + consola: 3.2.3 + defu: 6.1.4 + node-fetch-native: 1.6.4 + nypm: 0.3.11 + ohash: 1.1.4 + pathe: 1.1.2 + tar: 6.2.1 + + git-raw-commits@2.0.11: + dependencies: + dargs: 7.0.0 + lodash: 4.17.21 + meow: 8.1.2 + split2: 3.2.2 + through2: 4.0.2 + + gl-matrix@3.4.3: {} + + gl-vec2@1.3.0: {} + + glob-parent@5.1.2: + dependencies: + is-glob: 4.0.3 + + glob-parent@6.0.2: + dependencies: + is-glob: 4.0.3 + + glob@10.4.5: + dependencies: + foreground-child: 3.3.0 + jackspeak: 3.4.3 + minimatch: 9.0.5 + minipass: 7.1.2 + package-json-from-dist: 1.0.0 + path-scurry: 1.11.1 + + glob@7.2.3: + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 3.1.2 + once: 1.4.0 + path-is-absolute: 1.0.1 + + glob@8.1.0: + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 5.1.6 + once: 1.4.0 + + global-dirs@0.1.1: + dependencies: + ini: 1.3.8 + + global-prefix@3.0.0: + dependencies: + ini: 1.3.8 + kind-of: 6.0.3 + which: 1.3.1 + + globals@11.12.0: {} + + globals@13.24.0: + dependencies: + type-fest: 0.20.2 + + globals@15.9.0: {} + + globalthis@1.0.4: + dependencies: + define-properties: 1.2.1 + gopd: 1.0.1 + + globby@14.0.2: + dependencies: + '@sindresorhus/merge-streams': 2.3.0 + fast-glob: 3.3.2 + ignore: 5.3.2 + path-type: 5.0.0 + slash: 5.1.0 + unicorn-magic: 0.1.0 + + gopd@1.0.1: + dependencies: + get-intrinsic: 1.2.4 + + graceful-fs@4.2.11: {} + + graphemer@1.4.0: {} + + grid-index@1.1.0: {} + + gzip-size@6.0.0: + dependencies: + duplexer: 0.1.2 + + gzip-size@7.0.0: + dependencies: + duplexer: 0.1.2 + + h3@1.12.0: + dependencies: + cookie-es: 1.2.2 + crossws: 0.2.4 + defu: 6.1.4 + destr: 2.0.3 + iron-webcrypto: 1.2.1 + ohash: 1.1.4 + radix3: 1.1.2 + ufo: 1.5.4 + uncrypto: 0.1.3 + unenv: 1.10.0 + transitivePeerDependencies: + - uWebSockets.js + + hammerjs@2.0.8: {} + + hard-rejection@2.1.0: {} + + has-ansi@2.0.0: + dependencies: + ansi-regex: 2.1.1 + + has-bigints@1.0.2: {} + + has-flag@3.0.0: {} + + has-flag@4.0.0: {} + + has-property-descriptors@1.0.2: + dependencies: + es-define-property: 1.0.0 + + has-proto@1.0.3: {} + + has-symbols@1.0.3: {} + + has-tostringtag@1.0.2: + dependencies: + has-symbols: 1.0.3 + + has-unicode@2.0.1: {} + + has@1.0.4: {} + + hasown@2.0.2: + dependencies: + function-bind: 1.1.2 + + he@1.2.0: {} + + hookable@5.5.3: {} + + hosted-git-info@2.8.9: {} + + hosted-git-info@4.1.0: + dependencies: + lru-cache: 6.0.0 + + html-encoding-sniffer@3.0.0: + dependencies: + whatwg-encoding: 2.0.0 + + html-encoding-sniffer@4.0.0: + dependencies: + whatwg-encoding: 3.1.1 + + html-entities@2.5.2: {} + + html-tags@3.3.1: {} + + html-tokenize@2.0.1: + dependencies: + buffer-from: 0.1.2 + inherits: 2.0.4 + minimist: 1.2.8 + readable-stream: 1.0.34 + through2: 0.4.2 + + http-errors@2.0.0: + dependencies: + depd: 2.0.0 + inherits: 2.0.4 + setprototypeof: 1.2.0 + statuses: 2.0.1 + toidentifier: 1.0.1 + + http-proxy-agent@5.0.0: + dependencies: + '@tootallnate/once': 2.0.0 + agent-base: 6.0.2 + debug: 4.3.7 + transitivePeerDependencies: + - supports-color + + http-proxy-agent@7.0.2: + dependencies: + agent-base: 7.1.1 + debug: 4.3.7 + transitivePeerDependencies: + - supports-color + + http-shutdown@1.2.2: {} + + https-proxy-agent@5.0.1: + dependencies: + agent-base: 6.0.2 + debug: 4.3.7 + transitivePeerDependencies: + - supports-color + + https-proxy-agent@7.0.5: + dependencies: + agent-base: 7.1.1 + debug: 4.3.7 + transitivePeerDependencies: + - supports-color + + httpxy@0.1.5: {} + + human-signals@2.1.0: {} + + human-signals@4.3.1: {} + + human-signals@5.0.0: {} + + husky@9.1.6: {} + + iconv-lite@0.4.24: + dependencies: + safer-buffer: 2.1.2 + + iconv-lite@0.6.3: + dependencies: + safer-buffer: 2.1.2 + + ieee754@1.2.1: {} + + ignore@5.3.2: {} + + image-size@0.5.5: + optional: true + + import-fresh@3.3.0: + dependencies: + parent-module: 1.0.1 + resolve-from: 4.0.0 + + imurmurhash@0.1.4: {} + + indent-string@4.0.0: {} + + inflight@1.0.6: + dependencies: + once: 1.4.0 + wrappy: 1.0.2 + + inherits@2.0.4: {} + + ini@1.3.8: {} + + internal-slot@1.0.7: + dependencies: + es-errors: 1.3.0 + hasown: 2.0.2 + side-channel: 1.0.6 + + internmap@1.0.1: {} + + ioredis@5.4.1: + dependencies: + '@ioredis/commands': 1.2.0 + cluster-key-slot: 1.1.2 + debug: 4.3.7 + denque: 2.1.0 + lodash.defaults: 4.2.0 + lodash.isarguments: 3.1.0 + redis-errors: 1.2.0 + redis-parser: 3.0.0 + standard-as-callback: 2.1.0 + transitivePeerDependencies: + - supports-color + + iron-webcrypto@1.2.1: {} + + is-alphabetical@1.0.4: {} + + is-alphanumerical@1.0.4: + dependencies: + is-alphabetical: 1.0.4 + is-decimal: 1.0.4 + + is-arguments@1.1.1: + dependencies: + call-bind: 1.0.7 + has-tostringtag: 1.0.2 + + is-array-buffer@3.0.4: + dependencies: + call-bind: 1.0.7 + get-intrinsic: 1.2.4 + + is-arrayish@0.2.1: {} + + is-bigint@1.0.4: + dependencies: + has-bigints: 1.0.2 + + is-binary-path@2.1.0: + dependencies: + binary-extensions: 2.3.0 + + is-boolean-object@1.1.2: + dependencies: + call-bind: 1.0.7 + has-tostringtag: 1.0.2 + + is-buffer@1.1.6: {} + + is-builtin-module@3.2.1: + dependencies: + builtin-modules: 3.3.0 + + is-callable@1.2.7: {} + + is-core-module@2.15.1: + dependencies: + hasown: 2.0.2 + + is-data-view@1.0.1: + dependencies: + is-typed-array: 1.1.13 + + is-date-object@1.0.5: + dependencies: + has-tostringtag: 1.0.2 + + is-decimal@1.0.4: {} + + is-docker@2.2.1: {} + + is-docker@3.0.0: {} + + is-extendable@0.1.1: {} + + is-extendable@1.0.1: + dependencies: + is-plain-object: 2.0.4 + + is-extglob@2.1.1: {} + + is-fullwidth-code-point@3.0.0: {} + + is-fullwidth-code-point@4.0.0: {} + + is-glob@4.0.3: + dependencies: + is-extglob: 2.1.1 + + is-hexadecimal@1.0.4: {} + + is-inside-container@1.0.0: + dependencies: + is-docker: 3.0.0 + + is-interactive@2.0.0: {} + + is-module@1.0.0: {} + + is-negative-zero@2.0.3: {} + + is-number-object@1.0.7: + dependencies: + has-tostringtag: 1.0.2 + + is-number@7.0.0: {} + + is-obj@2.0.0: {} + + is-path-inside@3.0.3: {} + + is-plain-obj@1.1.0: {} + + is-plain-object@2.0.4: + dependencies: + isobject: 3.0.1 + + is-plain-object@3.0.1: {} + + is-potential-custom-element-name@1.0.1: {} + + is-reference@1.2.1: + dependencies: + '@types/estree': 1.0.6 + + is-regex@1.1.4: + dependencies: + call-bind: 1.0.7 + has-tostringtag: 1.0.2 + + is-shared-array-buffer@1.0.3: + dependencies: + call-bind: 1.0.7 + + is-stream@2.0.1: {} + + is-stream@3.0.0: {} + + is-string@1.0.7: + dependencies: + has-tostringtag: 1.0.2 + + is-symbol@1.0.4: + dependencies: + has-symbols: 1.0.3 + + is-text-path@2.0.0: + dependencies: + text-extensions: 2.4.0 + + is-typed-array@1.1.13: + dependencies: + which-typed-array: 1.1.15 + + is-unicode-supported@1.3.0: {} + + is-weakref@1.0.2: + dependencies: + call-bind: 1.0.7 + + is-what@3.14.1: {} + + is-wsl@2.2.0: + dependencies: + is-docker: 2.2.1 + + is-wsl@3.1.0: + dependencies: + is-inside-container: 1.0.0 + + is64bit@2.0.0: + dependencies: + system-architecture: 0.1.0 + + isarray@0.0.1: {} + + isarray@1.0.0: {} + + isarray@2.0.5: {} + + isexe@2.0.0: {} + + isobject@3.0.1: {} + + jackspeak@3.4.3: + dependencies: + '@isaacs/cliui': 8.0.2 + optionalDependencies: + '@pkgjs/parseargs': 0.11.0 + + jiti@1.21.6: {} + + js-beautify@1.15.1: + dependencies: + config-chain: 1.1.13 + editorconfig: 1.0.4 + glob: 10.4.5 + js-cookie: 3.0.5 + nopt: 7.2.1 + + js-cookie@3.0.5: {} + + js-tokens@4.0.0: {} + + js-tokens@9.0.0: {} + + js-yaml@4.1.0: + dependencies: + argparse: 2.0.1 + + jsdoc-type-pratt-parser@4.1.0: {} + + jsdom@22.1.0: + dependencies: + abab: 2.0.6 + cssstyle: 3.0.0 + data-urls: 4.0.0 + decimal.js: 10.4.3 + domexception: 4.0.0 + form-data: 4.0.0 + html-encoding-sniffer: 3.0.0 + http-proxy-agent: 5.0.0 + https-proxy-agent: 5.0.1 + is-potential-custom-element-name: 1.0.1 + nwsapi: 2.2.12 + parse5: 7.1.2 + rrweb-cssom: 0.6.0 + saxes: 6.0.0 + symbol-tree: 3.2.4 + tough-cookie: 4.1.4 + w3c-xmlserializer: 4.0.0 + webidl-conversions: 7.0.0 + whatwg-encoding: 2.0.0 + whatwg-mimetype: 3.0.0 + whatwg-url: 12.0.1 + ws: 8.18.0 + xml-name-validator: 4.0.0 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + + jsdom@24.1.3: + dependencies: + cssstyle: 4.1.0 + data-urls: 5.0.0 + decimal.js: 10.4.3 + form-data: 4.0.0 + html-encoding-sniffer: 4.0.0 + http-proxy-agent: 7.0.2 + https-proxy-agent: 7.0.5 + is-potential-custom-element-name: 1.0.1 + nwsapi: 2.2.12 + parse5: 7.1.2 + rrweb-cssom: 0.7.1 + saxes: 6.0.0 + symbol-tree: 3.2.4 + tough-cookie: 4.1.4 + w3c-xmlserializer: 5.0.0 + webidl-conversions: 7.0.0 + whatwg-encoding: 3.1.1 + whatwg-mimetype: 4.0.0 + whatwg-url: 14.0.0 + ws: 8.18.0 + xml-name-validator: 5.0.0 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + + jsesc@0.5.0: {} + + jsesc@2.5.2: {} + + jsesc@3.0.2: {} + + json-buffer@3.0.1: {} + + json-parse-better-errors@1.0.2: {} + + json-parse-even-better-errors@2.3.1: {} + + json-schema-traverse@0.4.1: {} + + json-schema-traverse@1.0.0: {} + + json-stable-stringify-without-jsonify@1.0.1: {} + + json-stringify-pretty-compact@3.0.0: {} + + json2module@0.0.3: + dependencies: + rw: 1.3.3 + + json5@2.2.3: {} + + jsonc-eslint-parser@2.4.0: + dependencies: + acorn: 8.12.1 + eslint-visitor-keys: 3.4.3 + espree: 9.6.1 + semver: 7.6.3 + + jsonfile@6.1.0: + dependencies: + universalify: 2.0.1 + optionalDependencies: + graceful-fs: 4.2.11 + + jsonparse@1.3.1: {} + + kdbush@3.0.0: {} + + kdbush@4.0.2: {} + + keyv@4.5.4: + dependencies: + json-buffer: 3.0.1 + + kind-of@3.2.2: + dependencies: + is-buffer: 1.1.6 + + kind-of@6.0.3: {} + + klona@2.0.6: {} + + knitwork@1.1.0: {} + + kolorist@1.8.0: {} + + lazy-cache@1.0.4: {} + + lazystream@1.0.1: + dependencies: + readable-stream: 2.3.8 + + less@4.2.0: + dependencies: + copy-anything: 2.0.6 + parse-node-version: 1.0.1 + tslib: 2.7.0 + optionalDependencies: + errno: 0.1.8 + graceful-fs: 4.2.11 + image-size: 0.5.5 + make-dir: 2.1.0 + mime: 1.6.0 + needle: 3.3.1 + source-map: 0.6.1 + + levn@0.4.1: + dependencies: + prelude-ls: 1.2.1 + type-check: 0.4.0 + + lilconfig@2.1.0: {} + + lines-and-columns@1.2.4: {} + + lint-staged@14.0.1: + dependencies: + chalk: 5.3.0 + commander: 11.0.0 + debug: 4.3.4 + execa: 7.2.0 + lilconfig: 2.1.0 + listr2: 6.6.1 + micromatch: 4.0.5 + pidtree: 0.6.0 + string-argv: 0.3.2 + yaml: 2.3.1 + transitivePeerDependencies: + - enquirer + - supports-color + + listhen@1.7.2: + dependencies: + '@parcel/watcher': 2.4.1 + '@parcel/watcher-wasm': 2.4.1 + citty: 0.1.6 + clipboardy: 4.0.0 + consola: 3.2.3 + crossws: 0.2.4 + defu: 6.1.4 + get-port-please: 3.1.2 + h3: 1.12.0 + http-shutdown: 1.2.2 + jiti: 1.21.6 + mlly: 1.7.1 + node-forge: 1.3.1 + pathe: 1.1.2 + std-env: 3.7.0 + ufo: 1.5.4 + untun: 0.1.3 + uqr: 0.1.2 + transitivePeerDependencies: + - uWebSockets.js + + listr2@6.6.1: + dependencies: + cli-truncate: 3.1.0 + colorette: 2.0.20 + eventemitter3: 5.0.1 + log-update: 5.0.1 + rfdc: 1.4.1 + wrap-ansi: 8.1.0 + + load-json-file@4.0.0: + dependencies: + graceful-fs: 4.2.11 + parse-json: 4.0.0 + pify: 3.0.0 + strip-bom: 3.0.0 + + local-pkg@0.4.3: {} + + local-pkg@0.5.0: + dependencies: + mlly: 1.7.1 + pkg-types: 1.2.0 + + locate-path@5.0.0: + dependencies: + p-locate: 4.1.0 + + locate-path@6.0.0: + dependencies: + p-locate: 5.0.0 + + lodash-es@4.17.21: {} + + lodash.camelcase@4.3.0: {} + + lodash.clonedeep@4.5.0: {} + + lodash.defaults@4.2.0: {} + + lodash.isarguments@3.1.0: {} + + lodash.isequal@4.5.0: {} + + lodash.isfunction@3.0.9: {} + + lodash.isplainobject@4.0.6: {} + + lodash.kebabcase@4.1.1: {} + + lodash.merge@4.6.2: {} + + lodash.mergewith@4.6.2: {} + + lodash.snakecase@4.1.1: {} + + lodash.startcase@4.4.0: {} + + lodash.uniq@4.5.0: {} + + lodash.upperfirst@4.3.1: {} + + lodash@4.17.21: {} + + log-symbols@5.1.0: + dependencies: + chalk: 5.3.0 + is-unicode-supported: 1.3.0 + + log-update@5.0.1: + dependencies: + ansi-escapes: 5.0.0 + cli-cursor: 4.0.0 + slice-ansi: 5.0.0 + strip-ansi: 7.1.0 + wrap-ansi: 8.1.0 + + longest@1.0.1: {} + + loose-envify@1.4.0: + dependencies: + js-tokens: 4.0.0 + + loupe@2.3.7: + dependencies: + get-func-name: 2.0.2 + + lru-cache@10.4.3: {} + + lru-cache@5.1.1: + dependencies: + yallist: 3.1.1 + + lru-cache@6.0.0: + dependencies: + yallist: 4.0.0 + + magic-string@0.30.11: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + + make-dir@2.1.0: + dependencies: + pify: 4.0.1 + semver: 5.7.2 + optional: true + + make-dir@3.1.0: + dependencies: + semver: 6.3.1 + + make-error@1.3.6: {} + + map-obj@1.0.1: {} + + map-obj@4.3.0: {} + + mapbox-gl@1.13.3: + dependencies: + '@mapbox/geojson-rewind': 0.5.2 + '@mapbox/geojson-types': 1.0.2 + '@mapbox/jsonlint-lines-primitives': 2.0.2 + '@mapbox/mapbox-gl-supported': 1.5.0(mapbox-gl@1.13.3) + '@mapbox/point-geometry': 0.1.0 + '@mapbox/tiny-sdf': 1.2.5 + '@mapbox/unitbezier': 0.0.0 + '@mapbox/vector-tile': 1.3.1 + '@mapbox/whoots-js': 3.1.0 + csscolorparser: 1.0.3 + earcut: 2.2.4 + geojson-vt: 3.2.1 + gl-matrix: 3.4.3 + grid-index: 1.1.0 + murmurhash-js: 1.0.0 + pbf: 3.3.0 + potpack: 1.0.2 + quickselect: 2.0.0 + rw: 1.3.3 + supercluster: 7.1.5 + tinyqueue: 2.0.3 + vt-pbf: 3.1.3 + + maplibre-gl@3.6.2: + dependencies: + '@mapbox/geojson-rewind': 0.5.2 + '@mapbox/jsonlint-lines-primitives': 2.0.2 + '@mapbox/point-geometry': 0.1.0 + '@mapbox/tiny-sdf': 2.0.6 + '@mapbox/unitbezier': 0.0.1 + '@mapbox/vector-tile': 1.3.1 + '@mapbox/whoots-js': 3.1.0 + '@maplibre/maplibre-gl-style-spec': 19.3.3 + '@types/geojson': 7946.0.14 + '@types/mapbox__point-geometry': 0.1.4 + '@types/mapbox__vector-tile': 1.3.4 + '@types/pbf': 3.0.5 + '@types/supercluster': 7.1.3 + earcut: 2.2.4 + geojson-vt: 3.2.1 + gl-matrix: 3.4.3 + global-prefix: 3.0.0 + kdbush: 4.0.2 + murmurhash-js: 1.0.0 + pbf: 3.3.0 + potpack: 2.0.0 + quickselect: 2.0.0 + supercluster: 8.0.1 + tinyqueue: 2.0.3 + vt-pbf: 3.1.3 + + mdast-util-from-markdown@0.8.5: + dependencies: + '@types/mdast': 3.0.15 + mdast-util-to-string: 2.0.0 + micromark: 2.11.4 + parse-entities: 2.0.0 + unist-util-stringify-position: 2.0.3 + transitivePeerDependencies: + - supports-color + + mdast-util-to-string@2.0.0: {} + + mdn-data@2.0.30: {} + + memorystream@0.3.1: {} + + meow@12.1.1: {} + + meow@8.1.2: + dependencies: + '@types/minimist': 1.2.5 + camelcase-keys: 6.2.2 + decamelize-keys: 1.1.1 + hard-rejection: 2.1.0 + minimist-options: 4.1.0 + normalize-package-data: 3.0.3 + read-pkg-up: 7.0.1 + redent: 3.0.0 + trim-newlines: 3.0.1 + type-fest: 0.18.1 + yargs-parser: 20.2.9 + + merge-stream@2.0.0: {} + + merge2@1.4.1: {} + + micromark@2.11.4: + dependencies: + debug: 4.3.7 + parse-entities: 2.0.0 + transitivePeerDependencies: + - supports-color + + micromatch@4.0.5: + dependencies: + braces: 3.0.3 + picomatch: 2.3.1 + + micromatch@4.0.8: + dependencies: + braces: 3.0.3 + picomatch: 2.3.1 + + mime-db@1.52.0: {} + + mime-types@2.1.35: + dependencies: + mime-db: 1.52.0 + + mime@1.6.0: {} + + mime@3.0.0: {} + + mime@4.0.4: {} + + mimic-fn@2.1.0: {} + + mimic-fn@4.0.0: {} + + min-indent@1.0.1: {} + + minimatch@3.1.2: + dependencies: + brace-expansion: 1.1.11 + + minimatch@5.1.6: + dependencies: + brace-expansion: 2.0.1 + + minimatch@9.0.1: + dependencies: + brace-expansion: 2.0.1 + + minimatch@9.0.5: + dependencies: + brace-expansion: 2.0.1 + + minimist-options@4.1.0: + dependencies: + arrify: 1.0.1 + is-plain-obj: 1.1.0 + kind-of: 6.0.3 + + minimist@1.2.8: {} + + minipass@3.3.6: + dependencies: + yallist: 4.0.0 + + minipass@5.0.0: {} + + minipass@7.1.2: {} + + minizlib@2.1.2: + dependencies: + minipass: 3.3.6 + yallist: 4.0.0 + + mitt@3.0.1: {} + + mkdirp@1.0.4: {} + + mlly@1.7.1: + dependencies: + acorn: 8.12.1 + pathe: 1.1.2 + pkg-types: 1.2.0 + ufo: 1.5.4 + + mock-property@1.0.3: + dependencies: + define-data-property: 1.1.4 + functions-have-names: 1.2.3 + gopd: 1.0.1 + has-property-descriptors: 1.0.2 + hasown: 2.0.2 + isarray: 2.0.5 + + mri@1.2.0: {} + + mrmime@2.0.0: {} + + ms@2.0.0: {} + + ms@2.1.2: {} + + ms@2.1.3: {} + + muggle-string@0.4.1: {} + + multipipe@1.0.2: + dependencies: + duplexer2: 0.1.4 + object-assign: 4.1.1 + + murmurhash-js@1.0.0: {} + + nanoid@3.3.7: {} + + nanopop@2.4.2: {} + + natural-compare-lite@1.4.0: {} + + natural-compare@1.4.0: {} + + needle@3.3.1: + dependencies: + iconv-lite: 0.6.3 + sax: 1.4.1 + optional: true + + nice-try@1.0.5: {} + + nitropack@2.9.7(webpack-sources@3.2.3): + dependencies: + '@cloudflare/kv-asset-handler': 0.3.4 + '@netlify/functions': 2.8.1 + '@rollup/plugin-alias': 5.1.0(rollup@4.22.4) + '@rollup/plugin-commonjs': 25.0.8(rollup@4.22.4) + '@rollup/plugin-inject': 5.0.5(rollup@4.22.4) + '@rollup/plugin-json': 6.1.0(rollup@4.22.4) + '@rollup/plugin-node-resolve': 15.2.3(rollup@4.22.4) + '@rollup/plugin-replace': 5.0.7(rollup@4.22.4) + '@rollup/plugin-terser': 0.4.4(rollup@4.22.4) + '@rollup/pluginutils': 5.1.0(rollup@4.22.4) + '@types/http-proxy': 1.17.15 + '@vercel/nft': 0.26.5 + archiver: 7.0.1 + c12: 1.11.2 + chalk: 5.3.0 + chokidar: 3.6.0 + citty: 0.1.6 + consola: 3.2.3 + cookie-es: 1.2.2 + croner: 8.1.1 + crossws: 0.2.4 + db0: 0.1.4 + defu: 6.1.4 + destr: 2.0.3 + dot-prop: 8.0.2 + esbuild: 0.20.2 + escape-string-regexp: 5.0.0 + etag: 1.8.1 + fs-extra: 11.2.0 + globby: 14.0.2 + gzip-size: 7.0.0 + h3: 1.12.0 + hookable: 5.5.3 + httpxy: 0.1.5 + ioredis: 5.4.1 + jiti: 1.21.6 + klona: 2.0.6 + knitwork: 1.1.0 + listhen: 1.7.2 + magic-string: 0.30.11 + mime: 4.0.4 + mlly: 1.7.1 + mri: 1.2.0 + node-fetch-native: 1.6.4 + ofetch: 1.4.0 + ohash: 1.1.4 + openapi-typescript: 6.7.6 + pathe: 1.1.2 + perfect-debounce: 1.0.0 + pkg-types: 1.2.0 + pretty-bytes: 6.1.1 + radix3: 1.1.2 + rollup: 4.22.4 + rollup-plugin-visualizer: 5.12.0(rollup@4.22.4) + scule: 1.3.0 + semver: 7.6.3 + serve-placeholder: 2.0.2 + serve-static: 1.16.2 + std-env: 3.7.0 + ufo: 1.5.4 + uncrypto: 0.1.3 + unctx: 2.3.1(webpack-sources@3.2.3) + unenv: 1.10.0 + unimport: 3.12.0(rollup@4.22.4)(webpack-sources@3.2.3) + unstorage: 1.12.0(ioredis@5.4.1) + unwasm: 0.3.9(webpack-sources@3.2.3) + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@libsql/client' + - '@netlify/blobs' + - '@planetscale/database' + - '@upstash/redis' + - '@vercel/kv' + - better-sqlite3 + - drizzle-orm + - encoding + - idb-keyval + - magicast + - supports-color + - uWebSockets.js + - webpack-sources + + node-addon-api@7.1.1: {} + + node-fetch-native@1.6.4: {} + + node-fetch@2.7.0: + dependencies: + whatwg-url: 5.0.0 + + node-forge@1.3.1: {} + + node-gyp-build@4.8.2: {} + + node-releases@2.0.18: {} + + nopt@5.0.0: + dependencies: + abbrev: 1.1.1 + + nopt@7.2.1: + dependencies: + abbrev: 2.0.0 + + normalize-package-data@2.5.0: + dependencies: + hosted-git-info: 2.8.9 + resolve: 1.22.8 + semver: 5.7.2 + validate-npm-package-license: 3.0.4 + + normalize-package-data@3.0.3: + dependencies: + hosted-git-info: 4.1.0 + is-core-module: 2.15.1 + semver: 7.6.3 + validate-npm-package-license: 3.0.4 + + normalize-path@3.0.0: {} + + npm-run-all@4.1.5: + dependencies: + ansi-styles: 3.2.1 + chalk: 2.4.2 + cross-spawn: 6.0.5 + memorystream: 0.3.1 + minimatch: 3.1.2 + pidtree: 0.3.1 + read-pkg: 3.0.0 + shell-quote: 1.8.1 + string.prototype.padend: 3.1.6 + + npm-run-path@4.0.1: + dependencies: + path-key: 3.1.1 + + npm-run-path@5.3.0: + dependencies: + path-key: 4.0.0 + + npmlog@5.0.1: + dependencies: + are-we-there-yet: 2.0.0 + console-control-strings: 1.1.0 + gauge: 3.0.2 + set-blocking: 2.0.0 + + nth-check@2.1.1: + dependencies: + boolbase: 1.0.0 + + nwsapi@2.2.12: {} + + nypm@0.3.11: + dependencies: + citty: 0.1.6 + consola: 3.2.3 + execa: 8.0.1 + pathe: 1.1.2 + pkg-types: 1.2.0 + ufo: 1.5.4 + + object-assign@4.1.1: {} + + object-inspect@1.12.3: {} + + object-inspect@1.13.2: {} + + object-is@1.1.6: + dependencies: + call-bind: 1.0.7 + define-properties: 1.2.1 + + object-keys@0.4.0: {} + + object-keys@1.1.1: {} + + object.assign@4.1.5: + dependencies: + call-bind: 1.0.7 + define-properties: 1.2.1 + has-symbols: 1.0.3 + object-keys: 1.1.1 + + ofetch@1.4.0: + dependencies: + destr: 2.0.3 + node-fetch-native: 1.6.4 + ufo: 1.5.4 + + ohash@1.1.4: {} + + on-finished@2.4.1: + dependencies: + ee-first: 1.1.1 + + once@1.4.0: + dependencies: + wrappy: 1.0.2 + + onetime@5.1.2: + dependencies: + mimic-fn: 2.1.0 + + onetime@6.0.0: + dependencies: + mimic-fn: 4.0.0 + + open@10.1.0: + dependencies: + default-browser: 5.2.1 + define-lazy-prop: 3.0.0 + is-inside-container: 1.0.0 + is-wsl: 3.1.0 + + open@8.4.2: + dependencies: + define-lazy-prop: 2.0.0 + is-docker: 2.2.1 + is-wsl: 2.2.0 + + openapi-typescript@6.7.6: + dependencies: + ansi-colors: 4.1.3 + fast-glob: 3.3.2 + js-yaml: 4.1.0 + supports-color: 9.4.0 + undici: 5.28.4 + yargs-parser: 21.1.1 + + optionator@0.9.4: + dependencies: + deep-is: 0.1.4 + fast-levenshtein: 2.0.6 + levn: 0.4.1 + prelude-ls: 1.2.1 + type-check: 0.4.0 + word-wrap: 1.2.5 + + ora@7.0.1: + dependencies: + chalk: 5.3.0 + cli-cursor: 4.0.0 + cli-spinners: 2.9.2 + is-interactive: 2.0.0 + is-unicode-supported: 1.3.0 + log-symbols: 5.1.0 + stdin-discarder: 0.1.0 + string-width: 6.1.0 + strip-ansi: 7.1.0 + + p-limit@2.3.0: + dependencies: + p-try: 2.2.0 + + p-limit@3.1.0: + dependencies: + yocto-queue: 0.1.0 + + p-limit@4.0.0: + dependencies: + yocto-queue: 1.1.1 + + p-locate@4.1.0: + dependencies: + p-limit: 2.3.0 + + p-locate@5.0.0: + dependencies: + p-limit: 3.1.0 + + p-try@2.2.0: {} + + package-json-from-dist@1.0.0: {} + + package-manager-detector@0.2.0: {} + + parent-module@1.0.1: + dependencies: + callsites: 3.1.0 + + parse-entities@2.0.0: + dependencies: + character-entities: 1.2.4 + character-entities-legacy: 1.1.4 + character-reference-invalid: 1.1.4 + is-alphanumerical: 1.0.4 + is-decimal: 1.0.4 + is-hexadecimal: 1.0.4 + + parse-gitignore@2.0.0: {} + + parse-imports@2.2.1: + dependencies: + es-module-lexer: 1.5.4 + slashes: 3.0.12 + + parse-json@4.0.0: + dependencies: + error-ex: 1.3.2 + json-parse-better-errors: 1.0.2 + + parse-json@5.2.0: + dependencies: + '@babel/code-frame': 7.24.7 + error-ex: 1.3.2 + json-parse-even-better-errors: 2.3.1 + lines-and-columns: 1.2.4 + + parse-node-version@1.0.1: {} + + parse5@7.1.2: + dependencies: + entities: 4.5.0 + + parseurl@1.3.3: {} + + path-browserify@1.0.1: {} + + path-exists@4.0.0: {} + + path-is-absolute@1.0.1: {} + + path-key@2.0.1: {} + + path-key@3.1.1: {} + + path-key@4.0.0: {} + + path-parse@1.0.7: {} + + path-scurry@1.11.1: + dependencies: + lru-cache: 10.4.3 + minipass: 7.1.2 + + path-type@3.0.0: + dependencies: + pify: 3.0.0 + + path-type@4.0.0: {} + + path-type@5.0.0: {} + + pathe@1.1.2: {} + + pathval@1.1.1: {} + + pbf@3.3.0: + dependencies: + ieee754: 1.2.1 + resolve-protobuf-schema: 2.1.0 + + pdfast@0.2.0: {} + + perfect-debounce@1.0.0: {} + + picocolors@1.1.0: {} + + picomatch@2.3.1: {} + + picomatch@4.0.2: {} + + pidtree@0.3.1: {} + + pidtree@0.6.0: {} + + pify@3.0.0: {} + + pify@4.0.1: + optional: true + + pinia@2.2.2(typescript@5.5.4)(vue@3.5.8(typescript@5.5.4)): + dependencies: + '@vue/devtools-api': 6.6.4 + vue: 3.5.8(typescript@5.5.4) + vue-demi: 0.14.10(vue@3.5.8(typescript@5.5.4)) + optionalDependencies: + typescript: 5.5.4 + + pkg-types@1.2.0: + dependencies: + confbox: 0.1.7 + mlly: 1.7.1 + pathe: 1.1.2 + + pluralize@8.0.0: {} + + polygon-clipping@0.15.7: + dependencies: + robust-predicates: 3.0.2 + splaytree: 3.1.2 + + polyline-miter-util@1.0.1: + dependencies: + gl-vec2: 1.3.0 + + possible-typed-array-names@1.0.0: {} + + postcss-selector-parser@6.1.2: + dependencies: + cssesc: 3.0.0 + util-deprecate: 1.0.2 + + postcss@8.4.47: + dependencies: + nanoid: 3.3.7 + picocolors: 1.1.0 + source-map-js: 1.2.1 + + potpack@1.0.2: {} + + potpack@2.0.0: {} + + prelude-ls@1.2.1: {} + + prettier@2.8.8: {} + + pretty-bytes@6.1.1: {} + + pretty-format@29.7.0: + dependencies: + '@jest/schemas': 29.6.3 + ansi-styles: 5.2.0 + react-is: 18.3.1 + + process-nextick-args@2.0.1: {} + + process@0.11.10: {} + + proto-list@1.2.4: {} + + protocol-buffers-schema@3.6.0: {} + + proxy-from-env@1.1.0: {} + + prr@1.0.1: + optional: true + + psl@1.9.0: {} + + punycode@2.3.1: {} + + querystringify@2.2.0: {} + + queue-microtask@1.2.3: {} + + queue-tick@1.0.1: {} + + quick-lru@4.0.1: {} + + quickselect@2.0.0: {} + + radix3@1.1.2: {} + + randombytes@2.1.0: + dependencies: + safe-buffer: 5.2.1 + + range-parser@1.2.1: {} + + rc9@2.1.2: + dependencies: + defu: 6.1.4 + destr: 2.0.3 + + react-is@18.3.1: {} + + read-pkg-up@7.0.1: + dependencies: + find-up: 4.1.0 + read-pkg: 5.2.0 + type-fest: 0.8.1 + + read-pkg@3.0.0: + dependencies: + load-json-file: 4.0.0 + normalize-package-data: 2.5.0 + path-type: 3.0.0 + + read-pkg@5.2.0: + dependencies: + '@types/normalize-package-data': 2.4.4 + normalize-package-data: 2.5.0 + parse-json: 5.2.0 + type-fest: 0.6.0 + + readable-stream@1.0.34: + dependencies: + core-util-is: 1.0.3 + inherits: 2.0.4 + isarray: 0.0.1 + string_decoder: 0.10.31 + + readable-stream@2.3.8: + dependencies: + core-util-is: 1.0.3 + inherits: 2.0.4 + isarray: 1.0.0 + process-nextick-args: 2.0.1 + safe-buffer: 5.1.2 + string_decoder: 1.1.1 + util-deprecate: 1.0.2 + + readable-stream@3.6.2: + dependencies: + inherits: 2.0.4 + string_decoder: 1.3.0 + util-deprecate: 1.0.2 + + readable-stream@4.5.2: + dependencies: + abort-controller: 3.0.0 + buffer: 6.0.3 + events: 3.3.0 + process: 0.11.10 + string_decoder: 1.3.0 + + readdir-glob@1.1.3: + dependencies: + minimatch: 5.1.6 + + readdirp@3.6.0: + dependencies: + picomatch: 2.3.1 + + redent@3.0.0: + dependencies: + indent-string: 4.0.0 + strip-indent: 3.0.0 + + redis-errors@1.2.0: {} + + redis-parser@3.0.0: + dependencies: + redis-errors: 1.2.0 + + reduce-flatten@2.0.0: {} + + refa@0.12.1: + dependencies: + '@eslint-community/regexpp': 4.11.1 + + regenerator-runtime@0.14.1: {} + + regexp-ast-analysis@0.7.1: + dependencies: + '@eslint-community/regexpp': 4.11.1 + refa: 0.12.1 + + regexp-tree@0.1.27: {} + + regexp.prototype.flags@1.5.2: + dependencies: + call-bind: 1.0.7 + define-properties: 1.2.1 + es-errors: 1.3.0 + set-function-name: 2.0.2 + + regjsparser@0.10.0: + dependencies: + jsesc: 0.5.0 + + regl@1.6.1: {} + + repeat-string@1.6.1: {} + + require-directory@2.1.1: {} + + require-from-string@2.0.2: {} + + requires-port@1.0.0: {} + + resize-observer-polyfill@1.5.1: {} + + resolve-from@4.0.0: {} + + resolve-from@5.0.0: {} + + resolve-global@1.0.0: + dependencies: + global-dirs: 0.1.1 + + resolve-pkg-maps@1.0.0: {} + + resolve-protobuf-schema@2.1.0: + dependencies: + protocol-buffers-schema: 3.6.0 + + resolve@1.22.8: + dependencies: + is-core-module: 2.15.1 + path-parse: 1.0.7 + supports-preserve-symlinks-flag: 1.0.0 + + restore-cursor@4.0.0: + dependencies: + onetime: 5.1.2 + signal-exit: 3.0.7 + + reusify@1.0.4: {} + + rfdc@1.4.1: {} + + right-align@0.1.3: + dependencies: + align-text: 0.1.4 + + rimraf@3.0.2: + dependencies: + glob: 7.2.3 + + robust-predicates@3.0.2: {} + + rollup-plugin-visualizer@5.12.0(rollup@4.22.4): + dependencies: + open: 8.4.2 + picomatch: 2.3.1 + source-map: 0.7.4 + yargs: 17.7.2 + optionalDependencies: + rollup: 4.22.4 + + rollup@0.25.8: + dependencies: + chalk: 1.1.3 + minimist: 1.2.8 + source-map-support: 0.3.3 + + rollup@4.22.4: + dependencies: + '@types/estree': 1.0.5 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.22.4 + '@rollup/rollup-android-arm64': 4.22.4 + '@rollup/rollup-darwin-arm64': 4.22.4 + '@rollup/rollup-darwin-x64': 4.22.4 + '@rollup/rollup-linux-arm-gnueabihf': 4.22.4 + '@rollup/rollup-linux-arm-musleabihf': 4.22.4 + '@rollup/rollup-linux-arm64-gnu': 4.22.4 + '@rollup/rollup-linux-arm64-musl': 4.22.4 + '@rollup/rollup-linux-powerpc64le-gnu': 4.22.4 + '@rollup/rollup-linux-riscv64-gnu': 4.22.4 + '@rollup/rollup-linux-s390x-gnu': 4.22.4 + '@rollup/rollup-linux-x64-gnu': 4.22.4 + '@rollup/rollup-linux-x64-musl': 4.22.4 + '@rollup/rollup-win32-arm64-msvc': 4.22.4 + '@rollup/rollup-win32-ia32-msvc': 4.22.4 + '@rollup/rollup-win32-x64-msvc': 4.22.4 + fsevents: 2.3.3 + + rrweb-cssom@0.6.0: {} + + rrweb-cssom@0.7.1: {} + + run-applescript@7.0.0: {} + + run-parallel@1.2.0: + dependencies: + queue-microtask: 1.2.3 + + rw@1.3.3: {} + + safe-array-concat@1.1.2: + dependencies: + call-bind: 1.0.7 + get-intrinsic: 1.2.4 + has-symbols: 1.0.3 + isarray: 2.0.5 + + safe-buffer@5.1.2: {} + + safe-buffer@5.2.1: {} + + safe-regex-test@1.0.3: + dependencies: + call-bind: 1.0.7 + es-errors: 1.3.0 + is-regex: 1.1.4 + + safer-buffer@2.1.2: {} + + sax@1.4.1: + optional: true + + saxes@6.0.0: + dependencies: + xmlchars: 2.2.0 + + scroll-into-view-if-needed@2.2.31: + dependencies: + compute-scroll-into-view: 1.0.20 + + scslre@0.3.0: + dependencies: + '@eslint-community/regexpp': 4.11.1 + refa: 0.12.1 + regexp-ast-analysis: 0.7.1 + + scule@1.3.0: {} + + semver@5.7.2: {} + + semver@6.3.1: {} + + semver@7.6.0: + dependencies: + lru-cache: 6.0.0 + + semver@7.6.3: {} + + send@0.19.0: + dependencies: + debug: 2.6.9 + depd: 2.0.0 + destroy: 1.2.0 + encodeurl: 1.0.2 + escape-html: 1.0.3 + etag: 1.8.1 + fresh: 0.5.2 + http-errors: 2.0.0 + mime: 1.6.0 + ms: 2.1.3 + on-finished: 2.4.1 + range-parser: 1.2.1 + statuses: 2.0.1 + transitivePeerDependencies: + - supports-color + + serialize-javascript@6.0.2: + dependencies: + randombytes: 2.1.0 + + serve-placeholder@2.0.2: + dependencies: + defu: 6.1.4 + + serve-static@1.16.2: + dependencies: + encodeurl: 2.0.0 + escape-html: 1.0.3 + parseurl: 1.3.3 + send: 0.19.0 + transitivePeerDependencies: + - supports-color + + set-blocking@2.0.0: {} + + set-function-length@1.2.2: + dependencies: + define-data-property: 1.1.4 + es-errors: 1.3.0 + function-bind: 1.1.2 + get-intrinsic: 1.2.4 + gopd: 1.0.1 + has-property-descriptors: 1.0.2 + + set-function-name@2.0.2: + dependencies: + define-data-property: 1.1.4 + es-errors: 1.3.0 + functions-have-names: 1.2.3 + has-property-descriptors: 1.0.2 + + set-value@2.0.1: + dependencies: + extend-shallow: 2.0.1 + is-extendable: 0.1.1 + is-plain-object: 2.0.4 + split-string: 3.1.0 + + setprototypeof@1.2.0: {} + + shallow-equal@1.2.1: {} + + shebang-command@1.2.0: + dependencies: + shebang-regex: 1.0.0 + + shebang-command@2.0.0: + dependencies: + shebang-regex: 3.0.0 + + shebang-regex@1.0.0: {} + + shebang-regex@3.0.0: {} + + shell-quote@1.8.1: {} + + side-channel@1.0.6: + dependencies: + call-bind: 1.0.7 + es-errors: 1.3.0 + get-intrinsic: 1.2.4 + object-inspect: 1.13.2 + + siginfo@2.0.0: {} + + signal-exit@3.0.7: {} + + signal-exit@4.1.0: {} + + sirv@2.0.4: + dependencies: + '@polka/url': 1.0.0-next.28 + mrmime: 2.0.0 + totalist: 3.0.1 + + sisteransi@1.0.5: {} + + size-sensor@1.0.2: {} + + slash@4.0.0: {} + + slash@5.1.0: {} + + slashes@3.0.12: {} + + slice-ansi@5.0.0: + dependencies: + ansi-styles: 6.2.1 + is-fullwidth-code-point: 4.0.0 + + smob@1.5.0: {} + + sort-asc@0.2.0: {} + + sort-desc@0.2.0: {} + + sort-object@3.0.3: + dependencies: + bytewise: 1.1.0 + get-value: 2.0.6 + is-extendable: 0.1.1 + sort-asc: 0.2.0 + sort-desc: 0.2.0 + union-value: 1.0.1 + + source-map-js@1.2.1: {} + + source-map-support@0.3.3: + dependencies: + source-map: 0.1.32 + + source-map-support@0.5.21: + dependencies: + buffer-from: 1.1.2 + source-map: 0.6.1 + + source-map@0.1.32: + dependencies: + amdefine: 1.0.1 + + source-map@0.5.7: {} + + source-map@0.6.1: {} + + source-map@0.7.4: {} + + spdx-correct@3.2.0: + dependencies: + spdx-expression-parse: 3.0.1 + spdx-license-ids: 3.0.20 + + spdx-exceptions@2.5.0: {} + + spdx-expression-parse@3.0.1: + dependencies: + spdx-exceptions: 2.5.0 + spdx-license-ids: 3.0.20 + + spdx-expression-parse@4.0.0: + dependencies: + spdx-exceptions: 2.5.0 + spdx-license-ids: 3.0.20 + + spdx-license-ids@3.0.20: {} + + splaytree@3.1.2: {} + + split-string@3.1.0: + dependencies: + extend-shallow: 3.0.2 + + split2@3.2.2: + dependencies: + readable-stream: 3.6.2 + + split2@4.2.0: {} + + stable-hash@0.0.4: {} + + stackback@0.0.2: {} + + standard-as-callback@2.1.0: {} + + statuses@2.0.1: {} + + std-env@3.7.0: {} + + stdin-discarder@0.1.0: + dependencies: + bl: 5.1.0 + + streamx@2.20.1: + dependencies: + fast-fifo: 1.3.2 + queue-tick: 1.0.1 + text-decoder: 1.2.0 + optionalDependencies: + bare-events: 2.4.2 + + string-argv@0.3.2: {} + + string-width@4.2.3: + dependencies: + emoji-regex: 8.0.0 + is-fullwidth-code-point: 3.0.0 + strip-ansi: 6.0.1 + + string-width@5.1.2: + dependencies: + eastasianwidth: 0.2.0 + emoji-regex: 9.2.2 + strip-ansi: 7.1.0 + + string-width@6.1.0: + dependencies: + eastasianwidth: 0.2.0 + emoji-regex: 10.4.0 + strip-ansi: 7.1.0 + + string.prototype.padend@3.1.6: + dependencies: + call-bind: 1.0.7 + define-properties: 1.2.1 + es-abstract: 1.23.3 + es-object-atoms: 1.0.0 + + string.prototype.trim@1.2.9: + dependencies: + call-bind: 1.0.7 + define-properties: 1.2.1 + es-abstract: 1.23.3 + es-object-atoms: 1.0.0 + + string.prototype.trimend@1.0.8: + dependencies: + call-bind: 1.0.7 + define-properties: 1.2.1 + es-object-atoms: 1.0.0 + + string.prototype.trimstart@1.0.8: + dependencies: + call-bind: 1.0.7 + define-properties: 1.2.1 + es-object-atoms: 1.0.0 + + string_decoder@0.10.31: {} + + string_decoder@1.1.1: + dependencies: + safe-buffer: 5.1.2 + + string_decoder@1.3.0: + dependencies: + safe-buffer: 5.2.1 + + strip-ansi@3.0.1: + dependencies: + ansi-regex: 2.1.1 + + strip-ansi@6.0.1: + dependencies: + ansi-regex: 5.0.1 + + strip-ansi@7.1.0: + dependencies: + ansi-regex: 6.1.0 + + strip-bom@3.0.0: {} + + strip-final-newline@2.0.0: {} + + strip-final-newline@3.0.0: {} + + strip-indent@3.0.0: + dependencies: + min-indent: 1.0.1 + + strip-json-comments@3.1.1: {} + + strip-literal@1.3.0: + dependencies: + acorn: 8.12.1 + + strip-literal@2.1.0: + dependencies: + js-tokens: 9.0.0 + + stylis@4.2.0: {} + + stylis@4.3.4: {} + + supercluster@7.1.5: + dependencies: + kdbush: 3.0.0 + + supercluster@8.0.1: + dependencies: + kdbush: 4.0.2 + + supports-color@2.0.0: {} + + supports-color@5.5.0: + dependencies: + has-flag: 3.0.0 + + supports-color@7.2.0: + dependencies: + has-flag: 4.0.0 + + supports-color@9.4.0: {} + + supports-preserve-symlinks-flag@1.0.0: {} + + svg-tags@1.0.0: {} + + symbol-tree@3.2.4: {} + + synckit@0.6.2: + dependencies: + tslib: 2.7.0 + + synckit@0.9.1: + dependencies: + '@pkgr/core': 0.1.1 + tslib: 2.7.0 + + system-architecture@0.1.0: {} + + table-layout@1.0.2: + dependencies: + array-back: 4.0.2 + deep-extend: 0.6.0 + typical: 5.2.0 + wordwrapjs: 4.0.1 + + tapable@2.2.1: {} + + tape@4.17.0: + dependencies: + '@ljharb/resumer': 0.0.1 + '@ljharb/through': 2.3.13 + call-bind: 1.0.7 + deep-equal: 1.1.2 + defined: 1.0.1 + dotignore: 0.1.2 + for-each: 0.3.3 + glob: 7.2.3 + has: 1.0.4 + inherits: 2.0.4 + is-regex: 1.1.4 + minimist: 1.2.8 + mock-property: 1.0.3 + object-inspect: 1.12.3 + resolve: 1.22.8 + string.prototype.trim: 1.2.9 + + tar-stream@3.1.7: + dependencies: + b4a: 1.6.6 + fast-fifo: 1.3.2 + streamx: 2.20.1 + + tar@6.2.1: + dependencies: + chownr: 2.0.0 + fs-minipass: 2.1.0 + minipass: 5.0.0 + minizlib: 2.1.2 + mkdirp: 1.0.4 + yallist: 4.0.0 + + terser@5.33.0: + dependencies: + '@jridgewell/source-map': 0.3.6 + acorn: 8.12.1 + commander: 2.20.3 + source-map-support: 0.5.21 + + text-decoder@1.2.0: + dependencies: + b4a: 1.6.6 + + text-extensions@2.4.0: {} + + text-table@0.2.0: {} + + throttle-debounce@5.0.2: {} + + through2@0.4.2: + dependencies: + readable-stream: 1.0.34 + xtend: 2.1.2 + + through2@4.0.2: + dependencies: + readable-stream: 3.6.2 + + through@2.3.8: {} + + tinybench@2.9.0: {} + + tinyexec@0.3.0: {} + + tinypool@0.7.0: {} + + tinyqueue@2.0.3: {} + + tinyspy@2.2.1: {} + + to-fast-properties@2.0.0: {} + + to-regex-range@5.0.1: + dependencies: + is-number: 7.0.0 + + toidentifier@1.0.1: {} + + toml-eslint-parser@0.10.0: + dependencies: + eslint-visitor-keys: 3.4.3 + + totalist@3.0.1: {} + + tough-cookie@4.1.4: + dependencies: + psl: 1.9.0 + punycode: 2.3.1 + universalify: 0.2.0 + url-parse: 1.5.10 + + tr46@0.0.3: {} + + tr46@4.1.1: + dependencies: + punycode: 2.3.1 + + tr46@5.0.0: + dependencies: + punycode: 2.3.1 + + treeify@1.1.0: {} + + trim-newlines@3.0.1: {} + + ts-api-utils@1.3.0(typescript@5.5.4): + dependencies: + typescript: 5.5.4 + + ts-node@10.9.2(@types/node@20.16.5)(typescript@5.5.4): + dependencies: + '@cspotcode/source-map-support': 0.8.1 + '@tsconfig/node10': 1.0.11 + '@tsconfig/node12': 1.0.11 + '@tsconfig/node14': 1.0.3 + '@tsconfig/node16': 1.0.4 + '@types/node': 20.16.5 + acorn: 8.12.1 + acorn-walk: 8.3.4 + arg: 4.1.3 + create-require: 1.1.1 + diff: 4.0.2 + make-error: 1.3.6 + typescript: 5.5.4 + v8-compile-cache-lib: 3.0.1 + yn: 3.1.1 + + tslib@1.14.1: {} + + tslib@2.7.0: {} + + tsx@3.14.0: + dependencies: + esbuild: 0.18.20 + get-tsconfig: 4.8.1 + source-map-support: 0.5.21 + optionalDependencies: + fsevents: 2.3.3 + + type-check@0.4.0: + dependencies: + prelude-ls: 1.2.1 + + type-detect@4.1.0: {} + + type-fest@0.18.1: {} + + type-fest@0.20.2: {} + + type-fest@0.6.0: {} + + type-fest@0.8.1: {} + + type-fest@1.4.0: {} + + type-fest@3.13.1: {} + + typed-array-buffer@1.0.2: + dependencies: + call-bind: 1.0.7 + es-errors: 1.3.0 + is-typed-array: 1.1.13 + + typed-array-byte-length@1.0.1: + dependencies: + call-bind: 1.0.7 + for-each: 0.3.3 + gopd: 1.0.1 + has-proto: 1.0.3 + is-typed-array: 1.1.13 + + typed-array-byte-offset@1.0.2: + dependencies: + available-typed-arrays: 1.0.7 + call-bind: 1.0.7 + for-each: 0.3.3 + gopd: 1.0.1 + has-proto: 1.0.3 + is-typed-array: 1.1.13 + + typed-array-length@1.0.6: + dependencies: + call-bind: 1.0.7 + for-each: 0.3.3 + gopd: 1.0.1 + has-proto: 1.0.3 + is-typed-array: 1.1.13 + possible-typed-array-names: 1.0.0 + + typescript@5.5.4: {} + + typewise-core@1.2.0: {} + + typewise@1.0.3: + dependencies: + typewise-core: 1.2.0 + + typical@4.0.0: {} + + typical@5.2.0: {} + + ufo@1.5.4: {} + + uglify-js@2.8.29: + dependencies: + source-map: 0.5.7 + yargs: 3.10.0 + optionalDependencies: + uglify-to-browserify: 1.0.2 + + uglify-to-browserify@1.0.2: + optional: true + + unbox-primitive@1.0.2: + dependencies: + call-bind: 1.0.7 + has-bigints: 1.0.2 + has-symbols: 1.0.3 + which-boxed-primitive: 1.0.2 + + unconfig@0.3.13: + dependencies: + '@antfu/utils': 0.7.10 + defu: 6.1.4 + jiti: 1.21.6 + + uncrypto@0.1.3: {} + + unctx@2.3.1(webpack-sources@3.2.3): + dependencies: + acorn: 8.12.1 + estree-walker: 3.0.3 + magic-string: 0.30.11 + unplugin: 1.14.1(webpack-sources@3.2.3) + transitivePeerDependencies: + - webpack-sources + + undici-types@6.19.8: {} + + undici@5.28.4: + dependencies: + '@fastify/busboy': 2.1.1 + + unenv@1.10.0: + dependencies: + consola: 3.2.3 + defu: 6.1.4 + mime: 3.0.0 + node-fetch-native: 1.6.4 + pathe: 1.1.2 + + unicorn-magic@0.1.0: {} + + unimport@3.12.0(rollup@4.22.4)(webpack-sources@3.2.3): + dependencies: + '@rollup/pluginutils': 5.1.0(rollup@4.22.4) + acorn: 8.12.1 + escape-string-regexp: 5.0.0 + estree-walker: 3.0.3 + fast-glob: 3.3.2 + local-pkg: 0.5.0 + magic-string: 0.30.11 + mlly: 1.7.1 + pathe: 1.1.2 + pkg-types: 1.2.0 + scule: 1.3.0 + strip-literal: 2.1.0 + unplugin: 1.14.1(webpack-sources@3.2.3) + transitivePeerDependencies: + - rollup + - webpack-sources + + union-value@1.0.1: + dependencies: + arr-union: 3.1.0 + get-value: 2.0.6 + is-extendable: 0.1.1 + set-value: 2.0.1 + + unist-util-stringify-position@2.0.3: + dependencies: + '@types/unist': 2.0.11 + + universalify@0.2.0: {} + + universalify@2.0.1: {} + + unocss-preset-chinese@0.3.3(unocss@0.57.7(postcss@8.4.47)(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0))): + dependencies: + '@unocss/core': 0.62.4 + '@unocss/preset-mini': 0.62.4 + optionalDependencies: + unocss: 0.57.7(postcss@8.4.47)(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0)) + + unocss-preset-ease@0.0.3(unocss@0.57.7(postcss@8.4.47)(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0))): + optionalDependencies: + unocss: 0.57.7(postcss@8.4.47)(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0)) + + unocss@0.57.7(postcss@8.4.47)(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0)): + dependencies: + '@unocss/astro': 0.57.7(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0)) + '@unocss/cli': 0.57.7(rollup@4.22.4) + '@unocss/core': 0.57.7 + '@unocss/extractor-arbitrary-variants': 0.57.7 + '@unocss/postcss': 0.57.7(postcss@8.4.47) + '@unocss/preset-attributify': 0.57.7 + '@unocss/preset-icons': 0.57.7 + '@unocss/preset-mini': 0.57.7 + '@unocss/preset-tagify': 0.57.7 + '@unocss/preset-typography': 0.57.7 + '@unocss/preset-uno': 0.57.7 + '@unocss/preset-web-fonts': 0.57.7 + '@unocss/preset-wind': 0.57.7 + '@unocss/reset': 0.57.7 + '@unocss/transformer-attributify-jsx': 0.57.7 + '@unocss/transformer-attributify-jsx-babel': 0.57.7 + '@unocss/transformer-compile-class': 0.57.7 + '@unocss/transformer-directives': 0.57.7 + '@unocss/transformer-variant-group': 0.57.7 + '@unocss/vite': 0.57.7(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0)) + optionalDependencies: + vite: 5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0) + transitivePeerDependencies: + - postcss + - rollup + - supports-color + + unplugin-auto-import@0.16.7(@vueuse/core@10.11.1(vue@3.5.8(typescript@5.5.4)))(rollup@4.22.4)(webpack-sources@3.2.3): + dependencies: + '@antfu/utils': 0.7.10 + '@rollup/pluginutils': 5.1.0(rollup@4.22.4) + fast-glob: 3.3.2 + local-pkg: 0.5.0 + magic-string: 0.30.11 + minimatch: 9.0.5 + unimport: 3.12.0(rollup@4.22.4)(webpack-sources@3.2.3) + unplugin: 1.14.1(webpack-sources@3.2.3) + optionalDependencies: + '@vueuse/core': 10.11.1(vue@3.5.8(typescript@5.5.4)) + transitivePeerDependencies: + - rollup + - webpack-sources + + unplugin-config@0.1.5(esbuild@0.20.2)(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0))(webpack-sources@3.2.3): + dependencies: + '@kirklin/logger': 0.0.2 + html-entities: 2.5.2 + jsdom: 24.1.3 + unplugin: 1.14.1(webpack-sources@3.2.3) + optionalDependencies: + esbuild: 0.20.2 + rollup: 4.22.4 + vite: 5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0) + transitivePeerDependencies: + - bufferutil + - canvas + - supports-color + - utf-8-validate + - webpack-sources + + unplugin-vue-components@0.26.0(@babel/parser@7.25.6)(rollup@4.22.4)(vue@3.5.8(typescript@5.5.4))(webpack-sources@3.2.3): + dependencies: + '@antfu/utils': 0.7.10 + '@rollup/pluginutils': 5.1.0(rollup@4.22.4) + chokidar: 3.6.0 + debug: 4.3.7 + fast-glob: 3.3.2 + local-pkg: 0.4.3 + magic-string: 0.30.11 + minimatch: 9.0.5 + resolve: 1.22.8 + unplugin: 1.14.1(webpack-sources@3.2.3) + vue: 3.5.8(typescript@5.5.4) + optionalDependencies: + '@babel/parser': 7.25.6 + transitivePeerDependencies: + - rollup + - supports-color + - webpack-sources + + unplugin@1.14.1(webpack-sources@3.2.3): + dependencies: + acorn: 8.12.1 + webpack-virtual-modules: 0.6.2 + optionalDependencies: + webpack-sources: 3.2.3 + + unstorage@1.12.0(ioredis@5.4.1): + dependencies: + anymatch: 3.1.3 + chokidar: 3.6.0 + destr: 2.0.3 + h3: 1.12.0 + listhen: 1.7.2 + lru-cache: 10.4.3 + mri: 1.2.0 + node-fetch-native: 1.6.4 + ofetch: 1.4.0 + ufo: 1.5.4 + optionalDependencies: + ioredis: 5.4.1 + transitivePeerDependencies: + - uWebSockets.js + + untun@0.1.3: + dependencies: + citty: 0.1.6 + consola: 3.2.3 + pathe: 1.1.2 + + unwasm@0.3.9(webpack-sources@3.2.3): + dependencies: + knitwork: 1.1.0 + magic-string: 0.30.11 + mlly: 1.7.1 + pathe: 1.1.2 + pkg-types: 1.2.0 + unplugin: 1.14.1(webpack-sources@3.2.3) + transitivePeerDependencies: + - webpack-sources + + update-browserslist-db@1.1.0(browserslist@4.23.3): + dependencies: + browserslist: 4.23.3 + escalade: 3.2.0 + picocolors: 1.1.0 + + uqr@0.1.2: {} + + uri-js@4.4.1: + dependencies: + punycode: 2.3.1 + + url-parse@1.5.10: + dependencies: + querystringify: 2.2.0 + requires-port: 1.0.0 + + urlpattern-polyfill@8.0.2: {} + + util-deprecate@1.0.2: {} + + v8-compile-cache-lib@3.0.1: {} + + validate-npm-package-license@3.0.4: + dependencies: + spdx-correct: 3.2.0 + spdx-expression-parse: 3.0.1 + + viewport-mercator-project@6.2.3: + dependencies: + '@babel/runtime': 7.25.6 + gl-matrix: 3.4.3 + + vite-node@0.34.6(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0): + dependencies: + cac: 6.7.14 + debug: 4.3.7 + mlly: 1.7.1 + pathe: 1.1.2 + picocolors: 1.1.0 + vite: 5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0) + transitivePeerDependencies: + - '@types/node' + - less + - lightningcss + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + + vite@5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0): + dependencies: + esbuild: 0.21.5 + postcss: 8.4.47 + rollup: 4.22.4 + optionalDependencies: + '@types/node': 20.16.5 + fsevents: 2.3.3 + less: 4.2.0 + terser: 5.33.0 + + vitest@0.34.6(jsdom@22.1.0)(less@4.2.0)(terser@5.33.0): + dependencies: + '@types/chai': 4.3.19 + '@types/chai-subset': 1.3.5 + '@types/node': 20.16.5 + '@vitest/expect': 0.34.6 + '@vitest/runner': 0.34.6 + '@vitest/snapshot': 0.34.6 + '@vitest/spy': 0.34.6 + '@vitest/utils': 0.34.6 + acorn: 8.12.1 + acorn-walk: 8.3.4 + cac: 6.7.14 + chai: 4.5.0 + debug: 4.3.7 + local-pkg: 0.4.3 + magic-string: 0.30.11 + pathe: 1.1.2 + picocolors: 1.1.0 + std-env: 3.7.0 + strip-literal: 1.3.0 + tinybench: 2.9.0 + tinypool: 0.7.0 + vite: 5.4.7(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0) + vite-node: 0.34.6(@types/node@20.16.5)(less@4.2.0)(terser@5.33.0) + why-is-node-running: 2.3.0 + optionalDependencies: + jsdom: 22.1.0 + transitivePeerDependencies: + - less + - lightningcss + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + + vscode-uri@3.0.8: {} + + vt-pbf@3.1.3: + dependencies: + '@mapbox/point-geometry': 0.1.0 + '@mapbox/vector-tile': 1.3.1 + pbf: 3.3.0 + + vue-component-type-helpers@2.1.6: {} + + vue-demi@0.14.10(vue@3.5.8(typescript@5.5.4)): + dependencies: + vue: 3.5.8(typescript@5.5.4) + + vue-eslint-parser@9.4.3(eslint@8.57.1): + dependencies: + debug: 4.3.7 + eslint: 8.57.1 + eslint-scope: 7.2.2 + eslint-visitor-keys: 3.4.3 + espree: 9.6.1 + esquery: 1.6.0 + lodash: 4.17.21 + semver: 7.6.3 + transitivePeerDependencies: + - supports-color + + vue-i18n@9.14.0(vue@3.5.8(typescript@5.5.4)): + dependencies: + '@intlify/core-base': 9.14.0 + '@intlify/shared': 9.14.0 + '@vue/devtools-api': 6.6.4 + vue: 3.5.8(typescript@5.5.4) + + vue-router@4.4.5(vue@3.5.8(typescript@5.5.4)): + dependencies: + '@vue/devtools-api': 6.6.4 + vue: 3.5.8(typescript@5.5.4) + + vue-tsc@2.1.6(typescript@5.5.4): + dependencies: + '@volar/typescript': 2.4.5 + '@vue/language-core': 2.1.6(typescript@5.5.4) + semver: 7.6.3 + typescript: 5.5.4 + + vue-types@3.0.2(vue@3.5.8(typescript@5.5.4)): + dependencies: + is-plain-object: 3.0.1 + vue: 3.5.8(typescript@5.5.4) + + vue@3.5.8(typescript@5.5.4): + dependencies: + '@vue/compiler-dom': 3.5.8 + '@vue/compiler-sfc': 3.5.8 + '@vue/runtime-dom': 3.5.8 + '@vue/server-renderer': 3.5.8(vue@3.5.8(typescript@5.5.4)) + '@vue/shared': 3.5.8 + optionalDependencies: + typescript: 5.5.4 + + w3c-xmlserializer@4.0.0: + dependencies: + xml-name-validator: 4.0.0 + + w3c-xmlserializer@5.0.0: + dependencies: + xml-name-validator: 5.0.0 + + warning@4.0.3: + dependencies: + loose-envify: 1.4.0 + + web-worker-helper@0.0.3: {} + + webidl-conversions@3.0.1: {} + + webidl-conversions@7.0.0: {} + + webpack-sources@3.2.3: + optional: true + + webpack-virtual-modules@0.6.2: {} + + whatwg-encoding@2.0.0: + dependencies: + iconv-lite: 0.6.3 + + whatwg-encoding@3.1.1: + dependencies: + iconv-lite: 0.6.3 + + whatwg-mimetype@3.0.0: {} + + whatwg-mimetype@4.0.0: {} + + whatwg-url@12.0.1: + dependencies: + tr46: 4.1.1 + webidl-conversions: 7.0.0 + + whatwg-url@14.0.0: + dependencies: + tr46: 5.0.0 + webidl-conversions: 7.0.0 + + whatwg-url@5.0.0: + dependencies: + tr46: 0.0.3 + webidl-conversions: 3.0.1 + + which-boxed-primitive@1.0.2: + dependencies: + is-bigint: 1.0.4 + is-boolean-object: 1.1.2 + is-number-object: 1.0.7 + is-string: 1.0.7 + is-symbol: 1.0.4 + + which-typed-array@1.1.15: + dependencies: + available-typed-arrays: 1.0.7 + call-bind: 1.0.7 + for-each: 0.3.3 + gopd: 1.0.1 + has-tostringtag: 1.0.2 + + which@1.3.1: + dependencies: + isexe: 2.0.0 + + which@2.0.2: + dependencies: + isexe: 2.0.0 + + why-is-node-running@2.3.0: + dependencies: + siginfo: 2.0.0 + stackback: 0.0.2 + + wide-align@1.1.5: + dependencies: + string-width: 4.2.3 + + window-size@0.1.0: {} + + word-wrap@1.2.5: {} + + wordwrap@0.0.2: {} + + wordwrapjs@4.0.1: + dependencies: + reduce-flatten: 2.0.0 + typical: 5.2.0 + + wrap-ansi@7.0.0: + dependencies: + ansi-styles: 4.3.0 + string-width: 4.2.3 + strip-ansi: 6.0.1 + + wrap-ansi@8.1.0: + dependencies: + ansi-styles: 6.2.1 + string-width: 5.1.2 + strip-ansi: 7.1.0 + + wrappy@1.0.2: {} + + ws@8.18.0: {} + + xml-name-validator@4.0.0: {} + + xml-name-validator@5.0.0: {} + + xmlchars@2.2.0: {} + + xtend@2.1.2: + dependencies: + object-keys: 0.4.0 + + y18n@5.0.8: {} + + yallist@3.1.1: {} + + yallist@4.0.0: {} + + yaml-eslint-parser@1.2.3: + dependencies: + eslint-visitor-keys: 3.4.3 + lodash: 4.17.21 + yaml: 2.5.1 + + yaml@1.10.2: {} + + yaml@2.3.1: {} + + yaml@2.5.1: {} + + yargs-parser@20.2.9: {} + + yargs-parser@21.1.1: {} + + yargs@17.7.2: + dependencies: + cliui: 8.0.1 + escalade: 3.2.0 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + string-width: 4.2.3 + y18n: 5.0.8 + yargs-parser: 21.1.1 + + yargs@3.10.0: + dependencies: + camelcase: 1.2.1 + cliui: 2.1.0 + decamelize: 1.2.0 + window-size: 0.1.0 + + yn@3.1.1: {} + + yocto-queue@0.1.0: {} + + yocto-queue@1.1.1: {} + + zip-stream@6.0.1: + dependencies: + archiver-utils: 5.0.2 + compress-commons: 6.0.2 + readable-stream: 4.5.2 diff --git a/web/public/_app.config.js b/web/public/_app.config.js new file mode 100644 index 0000000..e69de29 diff --git a/web/public/loading.js b/web/public/loading.js new file mode 100644 index 0000000..68b863b --- /dev/null +++ b/web/public/loading.js @@ -0,0 +1,211 @@ +/** + * loading 占位 + * 解决首次加载时白屏的问题 + */ +(function () { + const div = document.createElement("div") + const body = document.querySelector("body"); + body.appendChild(div) + div.setAttribute("id","loading-app") + if (div && div.innerHTML === '') { + div.innerHTML = ` + + +
    +
    +
    + + + + + + +
    +
    +
    + 正在加载资源 +
    +
    + 初次加载资源可能需要较多时间 请耐心等待 +
    +
    + `; + } +})(); diff --git a/web/public/logo.svg b/web/public/logo.svg new file mode 100644 index 0000000..d3b66a6 --- /dev/null +++ b/web/public/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web/scripts/dir-tree.ts b/web/scripts/dir-tree.ts new file mode 100644 index 0000000..fe40f9f --- /dev/null +++ b/web/scripts/dir-tree.ts @@ -0,0 +1,22 @@ +import dirTree from 'directory-tree' +import treeify from 'treeify' + +const filteredTree = dirTree(process.cwd(), { + exclude: [/node_modules/, /\.git/, /\.vscode/, /\.idea/], +}) + +const children = filteredTree.children ?? [] + +const genObj = (children: any[]) => { + const obj: Record = {} + for (const child of children) + obj[child.name] = (child?.children && child.children.length > 0) ? genObj(child.children) : null + + return obj +} + +const obj = genObj(children) + +const md = treeify.asTree(obj, true, null) + +console.log(md) diff --git a/web/scripts/gen-unocss.ts b/web/scripts/gen-unocss.ts new file mode 100644 index 0000000..f77ebbb --- /dev/null +++ b/web/scripts/gen-unocss.ts @@ -0,0 +1,33 @@ +import path from 'path' +import { theme } from 'ant-design-vue' +import lodash from 'lodash' +import fsExtra from 'fs-extra' + +const { defaultAlgorithm, defaultSeed } = theme + +const mapToken = defaultAlgorithm(defaultSeed) + +const formatKey = (key: string, prefixCls: string) => { + return `${prefixCls}${lodash.kebabCase(key)}` +} +const prefixCls = '--pro-ant-' + +const variables: { + colors: Record +} = { + colors: {}, +} +let colorTheme = '' +for (const key in mapToken) { + if (key.startsWith('color')) { + const cssVar = formatKey(key, prefixCls) + const colors = variables.colors + const themeKey = lodash.camelCase(key.slice(5)) + colors[themeKey] = `var(${cssVar})` + colorTheme += `${themeKey}\n` + } +} + +fsExtra.outputFile(path.resolve(process.cwd(), './themes/antd-uno-theme.json'), JSON.stringify(variables, null, 2)) + +fsExtra.outputFile(path.resolve(process.cwd(), './themes/color-theme-var.md'), colorTheme) diff --git a/web/scripts/to-js.ts b/web/scripts/to-js.ts new file mode 100644 index 0000000..2e9cda1 --- /dev/null +++ b/web/scripts/to-js.ts @@ -0,0 +1,17 @@ +import { resolve } from 'path' +import * as process from 'process' +import fsExtra from 'fs-extra' +import { transformSync } from 'esbuild' + +const themeConfig = resolve(process.cwd(), './src/config/default-setting.ts') +const code = fsExtra.readFileSync(themeConfig, 'utf-8') + +const toJs = (code: string) => { + const res = transformSync(code, { + target: 'esnext', + loader: 'ts', + }) + console.log(res.code) +} + +toJs(code) diff --git a/web/servers/routes/401.ts b/web/servers/routes/401.ts new file mode 100644 index 0000000..20c82cd --- /dev/null +++ b/web/servers/routes/401.ts @@ -0,0 +1,7 @@ +export default eventHandler((event) => { + setResponseStatus(event, 401) + return { + code: 401, + msg: '请先登录', + } +}) diff --git a/web/servers/routes/403.ts b/web/servers/routes/403.ts new file mode 100644 index 0000000..214c5de --- /dev/null +++ b/web/servers/routes/403.ts @@ -0,0 +1,7 @@ +export default eventHandler((event) => { + setResponseStatus(event, 403) + return { + code: 403, + msg: '请先登录', + } +}) diff --git a/web/servers/routes/500.ts b/web/servers/routes/500.ts new file mode 100644 index 0000000..a016fcd --- /dev/null +++ b/web/servers/routes/500.ts @@ -0,0 +1,7 @@ +export default eventHandler((event) => { + setResponseStatus(event, 500) + return { + code: 500, + msg: '服务器错误', + } +}) diff --git a/web/servers/routes/index.ts b/web/servers/routes/index.ts new file mode 100644 index 0000000..890a201 --- /dev/null +++ b/web/servers/routes/index.ts @@ -0,0 +1,3 @@ +export default eventHandler(() => { + return { nitro: 'Hello Antdv Pro' } +}) diff --git a/web/servers/routes/list/[id].delete.ts b/web/servers/routes/list/[id].delete.ts new file mode 100644 index 0000000..5d59c64 --- /dev/null +++ b/web/servers/routes/list/[id].delete.ts @@ -0,0 +1,14 @@ +export default eventHandler((event) => { + const id = event.context.params.id + if (typeof id !== 'number') { + setResponseStatus(event, 403) + return { + code: 403, + msg: '删除失败', + } + } + return { + code: 200, + msg: '删除成功', + } +}) diff --git a/web/servers/routes/list/basic-list.post.ts b/web/servers/routes/list/basic-list.post.ts new file mode 100644 index 0000000..5613dc7 --- /dev/null +++ b/web/servers/routes/list/basic-list.post.ts @@ -0,0 +1,79 @@ +import dayjs from 'dayjs' +import { cloneDeep } from 'lodash-es' + +export default eventHandler(async (_event) => { + const dataList = [ + { + title: 'Aipay', + link: 'https://gw.alipayobjects.com/zos/rmsportal/WdGqmHpayyMjiEhcKoVE.png', + percent: 57, + content: '一生那么短,遗忘又那么漫长', + }, + { + title: 'Ant Design Vue', + link: 'https://www.antdv.com/assets/logo.1ef800a8.svg', + percent: 60, + status: 'active', + content: '只有在梦想中,人才能真正自由', + }, + { + title: 'Vue', + link: 'https://gw.alipayobjects.com/zos/rmsportal/ComBAopevLwENQdKWiIn.png', + percent: 70, + status: 'exception', + content: '生命就像一盒巧克力,结果往往出人意料', + }, + { + title: 'Vite', + link: 'https://cn.vitejs.dev/logo.svg', + percent: 100, + status: 'active', + content: '有时,你必须进入别人的世界去发现自己的世界缺少什么', + }, + { + title: 'React', + link: 'https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png', + percent: 50, + status: 'exception', + content: '希望是件美丽的东西,也许是最好的东西', + }, + { + title: 'Antdv Pro', + link: '/logo.svg', + percent: 80, + status: 'active', + content: '人并非生来就伟大,而是越活越伟大', + }, + { + title: 'Webpack', + link: 'https://gw.alipayobjects.com/zos/rmsportal/nxkuOJlFJuAUhzlMTCEe.png', + percent: 58, + content: '不管何时何地,做你想做的事永远都不嫌晚', + }, + { + title: 'Angular', + link: 'https://gw.alipayobjects.com/zos/rmsportal/zOsKZmFRdUtvpqCImOVY.png', + percent: 70, + status: 'active', + content: '你要一直不停地往前走,不然你不会知道生活还会给你什么', + }, + ] + + const data = [] + + // 数据复制 + for (let i = 0; i < 1000; i++) { + const arr = cloneDeep(dataList) + data.push(...arr) + } + + // 配置任务时间 + for (let i = 0; i < data.length; i++) + data[i].start = dayjs().subtract(i, 'hour').format('YYYY-MM-DD HH:mm') + + return { + code: 200, + msg: '获取成功', + data, + } +}) diff --git a/web/servers/routes/list/consult-list.post.ts b/web/servers/routes/list/consult-list.post.ts new file mode 100644 index 0000000..e0baa81 --- /dev/null +++ b/web/servers/routes/list/consult-list.post.ts @@ -0,0 +1,81 @@ +import dayjs from 'dayjs' + +enum STATUS { + OFF = '0', + RUNNING = '1', + ONLINE = '2', + ERROR = '3', +} + +export default eventHandler(async (_event) => { + const body = await readBody(_event) + + const dataList = [ + { + id: 1, + name: '第一个任务', + callNo: 2000, + desc: '一生那么短,遗忘又那么漫长', + status: STATUS.ONLINE, + updatedAt: dayjs().format('YYYY-MM-DD HH:mm'), + }, + { + id: 2, + name: 'Ant Design Vue', + callNo: 200, + desc: '有时,你必须进入别人的世界去发现自己的世界缺少什么', + status: STATUS.OFF, + updatedAt: dayjs().format('YYYY-MM-DD HH:mm'), + }, + { + id: 3, + name: 'Vue', + callNo: 2010, + desc: '一生那么短,遗忘又那么漫长', + status: STATUS.ERROR, + updatedAt: dayjs().format('YYYY-MM-DD HH:mm'), + }, + { + id: 4, + name: 'Vite', + callNo: 20300, + desc: '希望是件美丽的东西,也许是最好的东西', + status: STATUS.ERROR, + updatedAt: dayjs().format('YYYY-MM-DD HH:mm'), + }, + { + id: 5, + name: 'React', + callNo: 2000, + desc: '人并非生来就伟大,而是越活越伟大', + status: STATUS.ONLINE, + updatedAt: dayjs().format('YYYY-MM-DD HH:mm'), + }, + { + id: 6, + name: 'Antdv Pro', + callNo: 2000, + desc: '不管何时何地,做你想做的事永远都不嫌晚', + status: STATUS.OFF, + updatedAt: dayjs().format('YYYY-MM-DD HH:mm'), + }, + { + id: 7, + name: 'Webpack', + callNo: 2000, + desc: '你要一直不停地往前走,不然你不会知道生活还会给你什么', + status: STATUS.ONLINE, + updatedAt: dayjs().format('YYYY-MM-DD HH:mm'), + }, + ] + const data = dataList.filter((i) => { + if (body.name) + return body.name === i.name + else return true + }) + return { + code: 200, + msg: '获取成功', + data, + } +}) diff --git a/web/servers/routes/list/create.post.ts b/web/servers/routes/list/create.post.ts new file mode 100644 index 0000000..ac5a1dd --- /dev/null +++ b/web/servers/routes/list/create.post.ts @@ -0,0 +1,8 @@ +export default eventHandler(async (event) => { + const body = await readBody(event) + console.log(body) + return { + code: 200, + msg: '创建成功', + } +}) diff --git a/web/servers/routes/list/crud-table.post.ts b/web/servers/routes/list/crud-table.post.ts new file mode 100644 index 0000000..1fb4bac --- /dev/null +++ b/web/servers/routes/list/crud-table.post.ts @@ -0,0 +1,61 @@ +export default eventHandler(async (_event) => { + const body = await readBody(_event) + + const dataList = [ + { + id: 1, + name: '第一个任务', + value: '2000', + remark: '一生那么短,遗忘又那么漫长', + }, + { + id: 2, + name: 'Ant Design Vue', + value: '200', + remark: '有时,你必须进入别人的世界去发现自己的世界缺少什么', + }, + { + id: 3, + name: 'Vue', + value: '2010', + remark: '一生那么短,遗忘又那么漫长', + }, + { + id: 4, + name: 'Vite', + value: '20300', + remark: '希望是件美丽的东西,也许是最好的东西', + }, + { + id: 5, + name: 'React', + value: '2000', + remark: '人并非生来就伟大,而是越活越伟大', + }, + { + id: 6, + name: 'Antdv Pro', + value: '2000', + remark: '不管何时何地,做你想做的事永远都不嫌晚', + }, + { + id: 7, + name: 'Webpack', + value: '2000', + remark: '你要一直不停地往前走,不然你不会知道生活还会给你什么', + }, + ] + const data = dataList.filter((i) => { + if (body.name) + return body.name === i.name + else return true + }) + return { + code: 200, + msg: '获取成功', + data: { + records: data, + total: data.length, + }, + } +}) diff --git a/web/servers/routes/list/index.post.ts b/web/servers/routes/list/index.post.ts new file mode 100644 index 0000000..3ad4c27 --- /dev/null +++ b/web/servers/routes/list/index.post.ts @@ -0,0 +1,20 @@ +export default eventHandler(async (event) => { + const body = await readBody(event) + + const dataList = [] + for (let i = 0; i < 10; i++) { + const item = { + id: i + 1, + title: `${body.title ?? '测试'}_${i}`, + username: `${body.username ?? 'test'}_${i}`, + password: `${body.username ?? 'test'}_pass_${i}`, + } + dataList.push(item) + } + + return { + code: 200, + msg: '获取成功', + data: dataList, + } +}) diff --git a/web/servers/routes/list/index.put.ts b/web/servers/routes/list/index.put.ts new file mode 100644 index 0000000..357e5e2 --- /dev/null +++ b/web/servers/routes/list/index.put.ts @@ -0,0 +1,6 @@ +export default eventHandler(async (_event) => { + return { + code: 200, + msg: '编辑成功', + } +}) diff --git a/web/servers/routes/login.post.ts b/web/servers/routes/login.post.ts new file mode 100644 index 0000000..f0dfc8b --- /dev/null +++ b/web/servers/routes/login.post.ts @@ -0,0 +1,29 @@ +export default eventHandler(async (event) => { + const body = await readBody(event) + const { type } = body + const success = { + code: 200, + data: { + token: '1234567890', + }, + msg: '登录成功', + } + if (type !== 'mobile') { + success.data.token = Buffer.from(body.username).toString('base64') + // 判断用户名密码是否正确 + if (body.username === 'admin' && body.password === 'admin') + return success + + if (body.username === 'user' && body.password === 'user') + return success + } + else { + return success + } + + setResponseStatus(event, 403) + return { + code: 401, + msg: '用户名或密码错误', + } +}) diff --git a/web/servers/routes/logout.ts b/web/servers/routes/logout.ts new file mode 100644 index 0000000..df1acf5 --- /dev/null +++ b/web/servers/routes/logout.ts @@ -0,0 +1,6 @@ +export default eventHandler(() => { + return { + code: 200, + msg: 'success', + } +}) diff --git a/web/servers/routes/menu/index.ts b/web/servers/routes/menu/index.ts new file mode 100644 index 0000000..ab54008 --- /dev/null +++ b/web/servers/routes/menu/index.ts @@ -0,0 +1,472 @@ +const menuData = [ + { + id: 2, + parentId: null, + title: '分析页', + icon: 'DashboardOutlined', + component: '/dashboard/analysis', + path: '/dashboard/analysis', + name: 'DashboardAnalysis', + keepAlive: true, + locale: 'menu.dashboard.analysis', + }, + { + id: 1, + parentId: null, + title: '仪表盘', + icon: 'DashboardOutlined', + component: 'RouteView', + redirect: '/dashboard/analysis', + path: '/dashboard', + name: 'Dashboard', + locale: 'menu.dashboard', + }, + { + id: 3, + parentId: null, + title: '表单页', + icon: 'FormOutlined', + component: 'RouteView', + redirect: '/form/basic', + path: '/form', + name: 'Form', + locale: 'menu.form', + }, + { + id: 5, + parentId: null, + title: '链接', + icon: 'LinkOutlined', + component: 'RouteView', + redirect: '/link/iframe', + path: '/link', + name: 'Link', + locale: 'menu.link', + + }, + { + id: 6, + parentId: 5, + title: 'AntDesign', + url: 'https://ant.design/', + component: 'Iframe', + path: '/link/iframe', + name: 'LinkIframe', + keepAlive: true, + locale: 'menu.link.iframe', + }, + { + id: 7, + parentId: 5, + title: 'AntDesignVue', + url: 'https://antdv.com/', + component: 'Iframe', + path: '/link/antdv', + name: 'LinkAntdv', + keepAlive: true, + locale: 'menu.link.antdv', + }, + { + id: 8, + parentId: 5, + path: 'https://www.baidu.com', + name: 'LinkExternal', + title: '跳转百度', + locale: 'menu.link.external', + }, + { + id: 9, + parentId: null, + title: '菜单', + icon: 'BarsOutlined', + component: 'RouteView', + path: '/menu', + redirect: '/menu/menu1', + name: 'Menu', + locale: 'menu.menu', + }, + { + id: 10, + parentId: 9, + title: '菜单1', + component: '/menu/menu1', + path: '/menu/menu1', + name: 'MenuMenu11', + keepAlive: true, + locale: 'menu.menu.menu1', + }, + { + id: 11, + parentId: 9, + title: '菜单2', + component: '/menu/menu2', + path: '/menu/menu2', + keepAlive: true, + locale: 'menu.menu.menu2', + }, + { + id: 12, + parentId: 9, + path: '/menu/menu3', + redirect: '/menu/menu3/menu1', + title: '菜单1-1', + component: 'RouteView', + locale: 'menu.menu.menu3', + }, + { + id: 13, + parentId: 12, + path: '/menu/menu3/menu1', + component: '/menu/menu-1-1/menu1', + title: '菜单1-1-1', + keepAlive: true, + locale: 'menu.menu3.menu1', + }, + { + id: 14, + parentId: 12, + path: '/menu/menu3/menu2', + component: '/menu/menu-1-1/menu2', + title: '菜单1-1-2', + keepAlive: true, + locale: 'menu.menu3.menu2', + }, + { + id: 15, + path: '/access', + component: 'RouteView', + redirect: '/access/common', + title: '权限模块', + name: 'Access', + parentId: null, + icon: 'ClusterOutlined', + locale: 'menu.access', + }, + { + id: 16, + parentId: 15, + path: '/access/common', + title: '通用权限', + name: 'AccessCommon', + component: '/access/common', + locale: 'menu.access.common', + }, + { + id: 17, + parentId: 15, + path: '/access/user', + title: '普通用户', + name: 'AccessUser', + component: '/access/user', + locale: 'menu.access.user', + }, + { + id: 19, + parentId: null, + title: '异常页', + icon: 'WarningOutlined', + component: 'RouteView', + redirect: '/exception/403', + path: '/exception', + name: 'Exception', + locale: 'menu.exception', + }, + { + id: 20, + parentId: 19, + path: '/exception/403', + title: '403', + name: '403', + component: '/exception/403', + locale: 'menu.exception.not-permission', + }, + { + id: 21, + parentId: 19, + path: '/exception/404', + title: '404', + name: '404', + component: '/exception/404', + locale: 'menu.exception.not-find', + }, + { + id: 22, + parentId: 19, + path: '/exception/500', + title: '500', + name: '500', + component: '/exception/500', + locale: 'menu.exception.server-error', + }, + { + id: 23, + parentId: null, + title: '结果页', + icon: 'CheckCircleOutlined', + component: 'RouteView', + redirect: '/result/success', + path: '/result', + name: 'Result', + locale: 'menu.result', + }, + { + id: 24, + parentId: 23, + path: '/result/success', + title: '成功页', + name: 'ResultSuccess', + component: '/result/success', + locale: 'menu.result.success', + }, + { + id: 25, + parentId: 23, + path: '/result/fail', + title: '失败页', + name: 'ResultFail', + component: '/result/fail', + locale: 'menu.result.fail', + }, + { + id: 26, + parentId: null, + title: '列表页', + icon: 'TableOutlined', + component: 'RouteView', + redirect: '/list/card-list', + path: '/list', + name: 'List', + locale: 'menu.list', + }, + { + id: 27, + parentId: 26, + path: '/list/card-list', + title: '卡片列表', + name: 'ListCard', + component: '/list/card-list', + locale: 'menu.list.card-list', + }, + { + id: 28, + parentId: null, + title: '详情页', + icon: 'ProfileOutlined', + component: 'RouteView', + redirect: '/profile/basic', + path: '/profile', + name: 'Profile', + locale: 'menu.profile', + }, + { + id: 29, + parentId: 28, + path: '/profile/basic', + title: '基础详情页', + name: 'ProfileBasic', + component: '/profile/basic/index', + locale: 'menu.profile.basic', + }, + { + id: 30, + parentId: 26, + path: '/list/search-list', + title: '搜索列表', + name: 'SearchList', + component: '/list/search-list', + locale: 'menu.list.search-list', + }, + { + id: 31, + parentId: 30, + path: '/list/search-list/articles', + title: '搜索列表(文章)', + name: 'SearchListArticles', + component: '/list/search-list/articles', + locale: 'menu.list.search-list.articles', + }, + { + id: 32, + parentId: 30, + path: '/list/search-list/projects', + title: '搜索列表(项目)', + name: 'SearchListProjects', + component: '/list/search-list/projects', + locale: 'menu.list.search-list.projects', + }, + { + id: 33, + parentId: 30, + path: '/list/search-list/applications', + title: '搜索列表(应用)', + name: 'SearchListApplications', + component: '/list/search-list/applications', + locale: 'menu.list.search-list.applications', + }, + { + id: 34, + parentId: 26, + path: '/list/basic-list', + title: '标准列表', + name: 'BasicCard', + component: '/list/basic-list', + locale: 'menu.list.basic-list', + }, + { + id: 35, + parentId: 28, + path: '/profile/advanced', + title: '高级详细页', + name: 'ProfileAdvanced', + component: '/profile/advanced/index', + locale: 'menu.profile.advanced', + }, + { + id: 4, + parentId: 3, + title: '基础表单', + component: '/form/basic-form/index', + path: '/form/basic-form', + name: 'FormBasic', + keepAlive: false, + locale: 'menu.form.basic-form', + }, + { + id: 36, + parentId: null, + title: '个人页', + icon: 'UserOutlined', + component: 'RouteView', + redirect: '/account/center', + path: '/account', + name: 'Account', + locale: 'menu.account', + }, + { + id: 37, + parentId: 36, + path: '/account/center', + title: '个人中心', + name: 'AccountCenter', + component: '/account/center', + locale: 'menu.account.center', + }, + { + id: 38, + parentId: 36, + path: '/account/settings', + title: '个人设置', + name: 'AccountSettings', + component: '/account/settings', + locale: 'menu.account.settings', + }, + { + id: 39, + parentId: 3, + title: '分步表单', + component: '/form/step-form/index', + path: '/form/step-form', + name: 'FormStep', + keepAlive: false, + locale: 'menu.form.step-form', + }, + { + id: 40, + parentId: 3, + title: '高级表单', + component: '/form/advanced-form/index', + path: '/form/advanced-form', + name: 'FormAdvanced', + keepAlive: false, + locale: 'menu.form.advanced-form', + }, + { + id: 41, + parentId: 26, + path: '/list/table-list', + title: '查询表格', + name: 'ConsultTable', + component: '/list/table-list', + locale: 'menu.list.consult-table', + }, + { + id: 42, + parentId: 1, + title: '监控页', + component: '/dashboard/monitor', + path: '/dashboard/monitor', + name: 'DashboardMonitor', + keepAlive: true, + locale: 'menu.dashboard.monitor', + }, + { + id: 43, + parentId: 1, + title: '工作台', + component: '/dashboard/workplace', + path: '/dashboard/workplace', + name: 'DashboardWorkplace', + keepAlive: true, + locale: 'menu.dashboard.workplace', + }, + { + id: 44, + parentId: 26, + path: '/list/crud-table', + title: '增删改查表格', + name: 'CrudTable', + component: '/list/crud-table', + locale: 'menu.list.crud-table', + }, + { + id: 45, + parentId: 9, + path: '/menu/menu4', + redirect: '/menu/menu4/menu1', + title: '菜单2-1', + component: 'RouteView', + locale: 'menu.menu.menu4', + }, + { + id: 46, + parentId: 45, + path: '/menu/menu4/menu1', + component: '/menu/menu-2-1/menu1', + title: '菜单2-1-1', + keepAlive: true, + locale: 'menu.menu4.menu1', + }, + { + id: 47, + parentId: 45, + path: '/menu/menu4/menu2', + component: '/menu/menu-2-1/menu2', + title: '菜单2-1-2', + keepAlive: true, + locale: 'menu.menu4.menu2', + }, +] + +export const accessMenuData = [ + { + id: 18, + parentId: 15, + path: '/access/admin', + title: '管理员', + name: 'AccessAdmin', + component: '/access/admin', + locale: 'menu.access.admin', + }, + +] + +export default eventHandler((event) => { + const token = getHeader(event, 'Authorization') + // eslint-disable-next-line node/prefer-global/buffer + const username = Buffer.from(token as any, 'base64').toString('utf-8') + return { + code: 200, + msg: '获取成功', + data: [...menuData, ...(username === 'admin' ? accessMenuData : [])], + } +}) diff --git a/web/servers/routes/test.delete.ts b/web/servers/routes/test.delete.ts new file mode 100644 index 0000000..f95567e --- /dev/null +++ b/web/servers/routes/test.delete.ts @@ -0,0 +1,6 @@ +export default eventHandler(() => { + return { + code: 200, + msg: 'delete', + } +}) diff --git a/web/servers/routes/test.post.ts b/web/servers/routes/test.post.ts new file mode 100644 index 0000000..d0461da --- /dev/null +++ b/web/servers/routes/test.post.ts @@ -0,0 +1,6 @@ +export default eventHandler(() => { + return { + code: 200, + msg: 'post', + } +}) diff --git a/web/servers/routes/test.put.ts b/web/servers/routes/test.put.ts new file mode 100644 index 0000000..61119d2 --- /dev/null +++ b/web/servers/routes/test.put.ts @@ -0,0 +1,6 @@ +export default eventHandler(() => { + return { + code: 200, + msg: 'put', + } +}) diff --git a/web/servers/routes/user/info.ts b/web/servers/routes/user/info.ts new file mode 100644 index 0000000..9575851 --- /dev/null +++ b/web/servers/routes/user/info.ts @@ -0,0 +1,21 @@ +export default eventHandler((event) => { + const token = getHeader(event, 'Authorization') + const username = Buffer.from(token, 'base64').toString('utf-8') + if (!token) { + return { + code: 401, + msg: '登录失效', + } + } + return { + code: 200, + msg: '获取成功', + data: { + id: 1, + username, + nickname: username === 'admin' ? '超级管理员' : '普通用户', + avatar: 'https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png', + roles: username === 'admin' ? ['ADMIN'] : ['USER'], + }, + } +}) diff --git a/web/servers/tsconfig.json b/web/servers/tsconfig.json new file mode 100644 index 0000000..6c4a624 --- /dev/null +++ b/web/servers/tsconfig.json @@ -0,0 +1,8 @@ +{ + "extends": ["../tsconfig.json"], + "compilerOptions": { + "allowSyntheticDefaultImports": true + }, + "include": ["**/*.ts",".nitro/types/*.d.ts"], + "exclude": [".output",".nitro/dev"] +} diff --git a/web/src/App.vue b/web/src/App.vue new file mode 100644 index 0000000..30007b4 --- /dev/null +++ b/web/src/App.vue @@ -0,0 +1,19 @@ + + + diff --git a/web/src/api/common/admin.js b/web/src/api/common/admin.js new file mode 100644 index 0000000..fb95f6b --- /dev/null +++ b/web/src/api/common/admin.js @@ -0,0 +1,34 @@ +export function getRolesApi(params) { + return useGet('/v1/admin/roles',params) +} +export function createRoleApi(params) { + return usePost('/v1/admin/role',params) +} +export function updateRoleApi(params) { + return usePut('/v1/admin/role',params) +} +export function deleteRoleApi(params) { + return useDelete('/v1/admin/role',params) +} +export function getUserPermissionsApi(params) { + return useGet('/v1/admin/user/permissions',params) +} +export function getRolePermissionsApi(params) { + return useGet('/v1/admin/role/permissions',params) +} +export function updateRolePermissionsApi(params) { + return usePut('/v1/admin/role/permission',params) +} + +export function getAdminApiApi(params) { + return useGet('/v1/admin/apis',params) +} +export function createAdminApiApi(params) { + return usePost('/v1/admin/api',params) +} +export function updateAdminApiApi(params) { + return usePut('/v1/admin/api',params) +} +export function deleteAdminApiApi(params) { + return useDelete('/v1/admin/api',params) +} \ No newline at end of file diff --git a/web/src/api/common/login.js b/web/src/api/common/login.js new file mode 100644 index 0000000..1b4165b --- /dev/null +++ b/web/src/api/common/login.js @@ -0,0 +1,10 @@ +export function loginApi(params) { + return usePost('/v1/login', params, { + // 设置为false的时候不会携带token + token: false, + // 开发模式下使用自定义的接口 + customDev: false, + // 是否开启全局请求loading + loading: true, + }) +} \ No newline at end of file diff --git a/web/src/api/common/menu.js b/web/src/api/common/menu.js new file mode 100644 index 0000000..6ae9bb6 --- /dev/null +++ b/web/src/api/common/menu.js @@ -0,0 +1,15 @@ +export function getMenusApi() { + return useGet('/v1/menus') +} +export function getAdminMenusApi() { + return useGet('/v1/admin/menus') +} +export function createMenuApi(params) { + return usePost('/v1/admin/menu',params) +} +export function updateMenuApi(params) { + return usePut('/v1/admin/menu',params) +} +export function deleteMenusApi(params) { + return useDelete('/v1/admin/menu',params) +} diff --git a/web/src/api/common/user.js b/web/src/api/common/user.js new file mode 100644 index 0000000..2a0fb17 --- /dev/null +++ b/web/src/api/common/user.js @@ -0,0 +1,16 @@ +export function getAdminUserInfoApi() { + return useGet('/v1/admin/user') +} +export function getAdminUsersApi(params) { + return useGet('/v1/admin/users',params) +} +export function createAdminUserApi(params) { + return usePost('/v1/admin/user',params) +} +export function updateAdminUserApi(params) { + return usePut('/v1/admin/user',params) +} +export function deleteAdminUserApi(params) { + return useDelete('/v1/admin/user',params) +} + diff --git a/web/src/api/dashboard/analysis.js b/web/src/api/dashboard/analysis.js new file mode 100644 index 0000000..fcc77c9 --- /dev/null +++ b/web/src/api/dashboard/analysis.js @@ -0,0 +1,12 @@ +export async function getListApi(params) { + return usePost('/list', params) +} +export async function createListApi(params) { + return usePost('/list/create', params) +} +export async function editListApi(params) { + return usePut('/list', params) +} +export async function delListApi(id) { + return useDelete(`/list/${id}`) +} diff --git a/web/src/api/list/basic-list.js b/web/src/api/list/basic-list.js new file mode 100644 index 0000000..37b4cec --- /dev/null +++ b/web/src/api/list/basic-list.js @@ -0,0 +1,5 @@ +export async function getListApi(params) { + return usePost('/list/basic-list', params, { + customDev: true, + }) +} diff --git a/web/src/api/list/crud-table.js b/web/src/api/list/crud-table.js new file mode 100644 index 0000000..b88e6fb --- /dev/null +++ b/web/src/api/list/crud-table.js @@ -0,0 +1,10 @@ +export async function getListApi(params) { + return usePost('/list/crud-table', params, { + customDev: true, + }) +} +export async function deleteApi(id) { + return useDelete(`/list/${id}`,null,{ + customDev: true, + }) +} diff --git a/web/src/api/list/table-list.js b/web/src/api/list/table-list.js new file mode 100644 index 0000000..5d842c0 --- /dev/null +++ b/web/src/api/list/table-list.js @@ -0,0 +1,10 @@ +export async function getListApi(params) { + return usePost('/list/consult-list', params,{ + customDev: true, + }) +} +export async function deleteApi(id) { + return useDelete(`/list/${id}`,null,{ + customDev: true, + }) +} diff --git a/web/src/api/test.js b/web/src/api/test.js new file mode 100644 index 0000000..f9992c8 --- /dev/null +++ b/web/src/api/test.js @@ -0,0 +1,18 @@ +export function test200() { + return useGet('/') +} +export function test401() { + return useGet('/401') +} +export function test500() { + return useGet('/500') +} +export function testPut() { + return usePut('/test') +} +export function testPost() { + return usePost('/test') +} +export function testDelete() { + return useDelete('/test') +} diff --git a/web/src/assets/images/login-left.png b/web/src/assets/images/login-left.png new file mode 100644 index 0000000..e679f77 Binary files /dev/null and b/web/src/assets/images/login-left.png differ diff --git a/web/src/assets/images/preview-api.png b/web/src/assets/images/preview-api.png new file mode 100644 index 0000000..a9238c8 Binary files /dev/null and b/web/src/assets/images/preview-api.png differ diff --git a/web/src/assets/images/preview-home.png b/web/src/assets/images/preview-home.png new file mode 100644 index 0000000..3947e77 Binary files /dev/null and b/web/src/assets/images/preview-home.png differ diff --git a/web/src/assets/styles/motion.css b/web/src/assets/styles/motion.css new file mode 100644 index 0000000..25bff57 --- /dev/null +++ b/web/src/assets/styles/motion.css @@ -0,0 +1,54 @@ +.slide-fadein-up-enter-active, +.slide-fadein-up-leave-active { + transition: opacity 0.3s, transform 0.4s; +} + +.slide-fadein-up-enter-from { + transform: translateY(20px); + opacity: 0; +} + +.slide-fadein-up-leave-to { + transform: translateY(-20px); + opacity: 0; +} + +.slide-fadein-right-enter-active, +.slide-fadein-right-leave-active { + transition: opacity 0.3s, transform 0.3s, -webkit-transform 0.3s; +} + +.slide-fadein-right-enter-from { + transform: translateX(-20px); + opacity: 0; +} + +.slide-fadein-right-leave-to { + transform: translateX(20px); + opacity: 0; +} + +.zoom-fadein-enter-active, +.zoom-fadein-leave-active { + transition: transform 0.3s, opacity 0.3s ease-in-out; +} + +.zoom-fadein-enter-from { + transform: scale(0.99); + opacity: 0; +} + +.zoom-fadein-leave-to { + transform: scale(1.01); + opacity: 0; +} + +.fadein-enter-active, +.fadein-leave-active { + transition: opacity 0.3s ease-in-out !important; +} + +.fadein-enter-from, +.fadein-leave-to { + opacity: 0 !important; +} diff --git a/web/src/assets/styles/reset.css b/web/src/assets/styles/reset.css new file mode 100644 index 0000000..2d8a85e --- /dev/null +++ b/web/src/assets/styles/reset.css @@ -0,0 +1,38 @@ +@import "./motion.css"; +html { + --text-color: rgba(0,0,0,.85); + --text-color-1: rgba(0,0,0,.45); + --text-color-2: rgba(0,0,0,.2); + --bg-color: #fff; + --hover-color:rgba(0,0,0,.025); + --bg-color-container: #f0f2f5; + --c-shadow: 2px 0 8px 0 rgba(29,35,41,.05); +} + +html.dark{ + --text-color: rgba(229, 224, 216, 0.85); + --text-color-1: rgba(229, 224, 216, 0.45); + --text-color-2: rgba(229, 224, 216, 0.45); + --bg-color: rgb(36, 37, 37); + --hover-color:rgb(42, 44, 55); + --bg-color-container: rgb(42, 44, 44); + --c-shadow: rgba(13, 13, 13, 0.65) 0 2px 8px 0; +} + +body{ + color: var(--text-color); + background-color: var(--bg-color); + text-rendering: optimizeLegibility; + overflow: hidden; +} + +#app, body, html{ + height: 100%; +} + +#app{ + overflow-x: hidden; +} +*, :after, :before{ + box-sizing: border-box; +} diff --git a/web/src/assets/vue.svg b/web/src/assets/vue.svg new file mode 100644 index 0000000..770e9d3 --- /dev/null +++ b/web/src/assets/vue.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web/src/components/access/index.vue b/web/src/components/access/index.vue new file mode 100644 index 0000000..3424280 --- /dev/null +++ b/web/src/components/access/index.vue @@ -0,0 +1,10 @@ + + + diff --git a/web/src/components/base-loading/index.vue b/web/src/components/base-loading/index.vue new file mode 100644 index 0000000..c001724 --- /dev/null +++ b/web/src/components/base-loading/index.vue @@ -0,0 +1,95 @@ + + + diff --git a/web/src/components/base-loading/spin/chase-spin.vue b/web/src/components/base-loading/spin/chase-spin.vue new file mode 100644 index 0000000..8b6aa32 --- /dev/null +++ b/web/src/components/base-loading/spin/chase-spin.vue @@ -0,0 +1,101 @@ + + + + + diff --git a/web/src/components/base-loading/spin/cube-spin.vue b/web/src/components/base-loading/spin/cube-spin.vue new file mode 100644 index 0000000..9088a67 --- /dev/null +++ b/web/src/components/base-loading/spin/cube-spin.vue @@ -0,0 +1,83 @@ + + + + + diff --git a/web/src/components/base-loading/spin/dot-spin.vue b/web/src/components/base-loading/spin/dot-spin.vue new file mode 100644 index 0000000..c83f8b2 --- /dev/null +++ b/web/src/components/base-loading/spin/dot-spin.vue @@ -0,0 +1,90 @@ + + + + + diff --git a/web/src/components/base-loading/spin/plane-spin.vue b/web/src/components/base-loading/spin/plane-spin.vue new file mode 100644 index 0000000..af04d96 --- /dev/null +++ b/web/src/components/base-loading/spin/plane-spin.vue @@ -0,0 +1,36 @@ + + + + + diff --git a/web/src/components/base-loading/spin/preloader-spin.vue b/web/src/components/base-loading/spin/preloader-spin.vue new file mode 100644 index 0000000..5aeb10c --- /dev/null +++ b/web/src/components/base-loading/spin/preloader-spin.vue @@ -0,0 +1,68 @@ + + + + + diff --git a/web/src/components/base-loading/spin/pulse-spin.vue b/web/src/components/base-loading/spin/pulse-spin.vue new file mode 100644 index 0000000..957ffff --- /dev/null +++ b/web/src/components/base-loading/spin/pulse-spin.vue @@ -0,0 +1,49 @@ + + + + + diff --git a/web/src/components/base-loading/spin/rect-spin.vue b/web/src/components/base-loading/spin/rect-spin.vue new file mode 100644 index 0000000..9c270a9 --- /dev/null +++ b/web/src/components/base-loading/spin/rect-spin.vue @@ -0,0 +1,57 @@ + + + + + diff --git a/web/src/components/doc-link/index.vue b/web/src/components/doc-link/index.vue new file mode 100644 index 0000000..860280e --- /dev/null +++ b/web/src/components/doc-link/index.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/web/src/components/footer-links.vue b/web/src/components/footer-links.vue new file mode 100644 index 0000000..a448f6a --- /dev/null +++ b/web/src/components/footer-links.vue @@ -0,0 +1,11 @@ + + + diff --git a/web/src/components/footer-tool-bar/index.less b/web/src/components/footer-tool-bar/index.less new file mode 100644 index 0000000..69c3a00 --- /dev/null +++ b/web/src/components/footer-tool-bar/index.less @@ -0,0 +1,22 @@ + +@footer-toolbar-prefix-cls: ~"ant-pro-footer-toolbar"; + +.@{footer-toolbar-prefix-cls} { + position: fixed; + right: 0; + bottom: 0; + z-index: 9; + width: 100%; + height: 56px; + padding: 0 24px; + line-height: 56px; + background: var(--bg-color); + box-shadow: var(--c-shadow); + //border-top: 1px solid #e8e8e8; + + &::after { + display: block; + clear: both; + content: ''; + } +} diff --git a/web/src/components/footer-tool-bar/index.md b/web/src/components/footer-tool-bar/index.md new file mode 100644 index 0000000..9a854b4 --- /dev/null +++ b/web/src/components/footer-tool-bar/index.md @@ -0,0 +1,15 @@ +# FooterToolbar 底部工具栏 + +固定在底部的工具栏。 + +## 何时使用 + +固定在内容区域的底部,不随滚动条移动,常用于长页面的数据搜集和提交工作。 + +## 代码演示 + +```html + + 提交 + +``` diff --git a/web/src/components/footer-tool-bar/index.vue b/web/src/components/footer-tool-bar/index.vue new file mode 100644 index 0000000..e2900fb --- /dev/null +++ b/web/src/components/footer-tool-bar/index.vue @@ -0,0 +1,43 @@ + + + + + diff --git a/web/src/components/gitee-link/index.vue b/web/src/components/gitee-link/index.vue new file mode 100644 index 0000000..a041bb8 --- /dev/null +++ b/web/src/components/gitee-link/index.vue @@ -0,0 +1,12 @@ + + + + + diff --git a/web/src/components/github-link/index.vue b/web/src/components/github-link/index.vue new file mode 100644 index 0000000..a10714b --- /dev/null +++ b/web/src/components/github-link/index.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/web/src/components/icons/carbon-language.vue b/web/src/components/icons/carbon-language.vue new file mode 100644 index 0000000..9edece4 --- /dev/null +++ b/web/src/components/icons/carbon-language.vue @@ -0,0 +1,9 @@ + + + diff --git a/web/src/components/icons/carbon-moon.vue b/web/src/components/icons/carbon-moon.vue new file mode 100644 index 0000000..4319112 --- /dev/null +++ b/web/src/components/icons/carbon-moon.vue @@ -0,0 +1,9 @@ + + + diff --git a/web/src/components/icons/carbon-sun.vue b/web/src/components/icons/carbon-sun.vue new file mode 100644 index 0000000..4931970 --- /dev/null +++ b/web/src/components/icons/carbon-sun.vue @@ -0,0 +1,9 @@ + + + diff --git a/web/src/components/page-container/context.js b/web/src/components/page-container/context.js new file mode 100644 index 0000000..4735057 --- /dev/null +++ b/web/src/components/page-container/context.js @@ -0,0 +1,7 @@ +export const LayoutMenuKey = Symbol('LayoutMenu') +export function useLayoutMenuProvide(layoutMenu, appStore) { + provide(LayoutMenuKey, { layoutMenu, appStore }) +} +export function useLayoutMenuInject() { + return inject(LayoutMenuKey, {}) +} diff --git a/web/src/components/page-container/index.vue b/web/src/components/page-container/index.vue new file mode 100644 index 0000000..125ba1f --- /dev/null +++ b/web/src/components/page-container/index.vue @@ -0,0 +1,91 @@ + + + diff --git a/web/src/components/select-lang/index.vue b/web/src/components/select-lang/index.vue new file mode 100644 index 0000000..d47dc46 --- /dev/null +++ b/web/src/components/select-lang/index.vue @@ -0,0 +1,34 @@ + + + diff --git a/web/src/components/token-provider/index.vue b/web/src/components/token-provider/index.vue new file mode 100644 index 0000000..683727e --- /dev/null +++ b/web/src/components/token-provider/index.vue @@ -0,0 +1,24 @@ + + + diff --git a/web/src/components/token-provider/token-to-cssvar.js b/web/src/components/token-provider/token-to-cssvar.js new file mode 100644 index 0000000..332eaa3 --- /dev/null +++ b/web/src/components/token-provider/token-to-cssvar.js @@ -0,0 +1,24 @@ +import { kebabCase } from 'lodash' +import { canUseDom, updateCSS } from '@v-c/utils' + +function formatKey(key, prefixCls2) { + return `${prefixCls2}${kebabCase(key)}` +} +const prefixCls = '--pro-ant-' +const dynamicStyleMark = `${prefixCls}${Date.now()}-${Math.random()}` +export function registerTokenToCSSVar(token) { + const variables = {} + if (!token) + return + for (const key in token) { + const val = token[key] + variables[formatKey(key, prefixCls)] = val + } + const cssList = Object.keys(variables).map(key => `${key}: ${variables[key]};`) + if (canUseDom()) { + updateCSS( + `:root {${cssList.join('\n')}}`, + `${dynamicStyleMark}-dynamic-theme`, + ) + } +} diff --git a/web/src/components/user-avatar/index.vue b/web/src/components/user-avatar/index.vue new file mode 100644 index 0000000..5473115 --- /dev/null +++ b/web/src/components/user-avatar/index.vue @@ -0,0 +1,64 @@ + + + diff --git a/web/src/components/virtual-list/index.vue b/web/src/components/virtual-list/index.vue new file mode 100644 index 0000000..46ad7ec --- /dev/null +++ b/web/src/components/virtual-list/index.vue @@ -0,0 +1,148 @@ + + + + + diff --git a/web/src/composables/access.js b/web/src/composables/access.js new file mode 100644 index 0000000..4ae5055 --- /dev/null +++ b/web/src/composables/access.js @@ -0,0 +1,15 @@ +import { toArray } from '@v-c/utils' + +export function useAccess() { + const userStore = useUserStore() + const roles = computed(() => userStore.roles) + const hasAccess = (roles2) => { + const accessRoles = userStore.roles + const roleArr = toArray(roles2).flat(1) + return roleArr.some(role => accessRoles?.includes(role)) + } + return { + hasAccess, + roles, + } +} diff --git a/web/src/composables/antd-token.js b/web/src/composables/antd-token.js new file mode 100644 index 0000000..8d2b7f7 --- /dev/null +++ b/web/src/composables/antd-token.js @@ -0,0 +1,13 @@ +import { theme } from 'ant-design-vue' + +export const useAntdToken = createSharedComposable(() => { + const { token: antdToken } = theme.useToken() + const token = ref(antdToken.value) + const setToken = (globalToken) => { + token.value = globalToken + } + return { + token, + setToken, + } +}) diff --git a/web/src/composables/api.js b/web/src/composables/api.js new file mode 100644 index 0000000..c5291c1 --- /dev/null +++ b/web/src/composables/api.js @@ -0,0 +1,8 @@ +import { useDelete, useGet, usePost, usePut } from '~/utils/request' + +export { + useDelete, + useGet, + usePost, + usePut, +} diff --git a/web/src/composables/authorization.js b/web/src/composables/authorization.js new file mode 100644 index 0000000..82d971a --- /dev/null +++ b/web/src/composables/authorization.js @@ -0,0 +1,2 @@ +export const STORAGE_AUTHORIZE_KEY = 'Authorization' +export const useAuthorization = createGlobalState(() => useStorage(STORAGE_AUTHORIZE_KEY, null)) diff --git a/web/src/composables/base-loading.js b/web/src/composables/base-loading.js new file mode 100644 index 0000000..74478fd --- /dev/null +++ b/web/src/composables/base-loading.js @@ -0,0 +1,34 @@ +import baseLoading from '@/components/base-loading/index.vue' + +export function useLoading(config = {}) { + const loadingConstructor = createApp(baseLoading, { ...config }) + let instance = null + let startTime = 0 + let endTime = 0 + const minTime = config.minTime || 0 + const open = (target = document.body) => { + if (!instance) + instance = loadingConstructor.mount(document.createElement('div')) + if (!instance || !instance.$el) + return + target?.appendChild?.(instance.$el) + startTime = performance.now() + } + const close = () => { + if (!instance || !instance.$el) + return + endTime = performance.now() + if (endTime - startTime < minTime) { + setTimeout(() => { + instance.$el.parentNode?.removeChild(instance.$el) + }, Math.floor(minTime - (endTime - startTime))) + } + else { + instance.$el.parentNode?.removeChild(instance.$el) + } + } + return { + open, + close, + } +} diff --git a/web/src/composables/comp-consumer.js b/web/src/composables/comp-consumer.js new file mode 100644 index 0000000..653d5d6 --- /dev/null +++ b/web/src/composables/comp-consumer.js @@ -0,0 +1,28 @@ +import { createVNode } from 'vue' + +const compMap = /* @__PURE__ */ new Map() +export function useCompConsumer() { + const route = useRoute() + const getComp = (component) => { + if (!route.name) + return component + const compName = component?.type?.name + const routeName = route.name + if (compMap.has(routeName)) + return compMap.get(routeName) + const node = component + if (compName && compName === routeName) { + compMap.set(routeName, node) + return node + } + const Comp = createVNode(node) + if (!Comp.type) + Comp.type = {} + Comp.type.name = routeName + compMap.set(routeName, Comp) + return Comp + } + return { + getComp, + } +} diff --git a/web/src/composables/current-route.js b/web/src/composables/current-route.js new file mode 100644 index 0000000..4dad288 --- /dev/null +++ b/web/src/composables/current-route.js @@ -0,0 +1,13 @@ +import router from '@/router' + +export function useCurrentRoute() { + const currentRoute = router.currentRoute + const layoutMenuStore = useLayoutMenu() + const { menuDataMap } = storeToRefs(layoutMenuStore) + const pathsKeys = menuDataMap.value?.keys() + const currentPath = currentRoute.value.path + console.log('currentPath', currentPath, pathsKeys) + return { + currentRoute, + } +} diff --git a/web/src/composables/global-config.js b/web/src/composables/global-config.js new file mode 100644 index 0000000..fe00de7 --- /dev/null +++ b/web/src/composables/global-config.js @@ -0,0 +1,18 @@ +const globalConfig = reactive({}) +export function useGlobalConfig() { + return globalConfig +} +export function useSetGlobalConfig(config) { + globalConfig.message = config.message + globalConfig.modal = config.modal + globalConfig.notification = config.notification +} +export function useMessage() { + return globalConfig.message +} +export function useModal() { + return globalConfig.modal +} +export function useNotification() { + return globalConfig.notification +} diff --git a/web/src/composables/i18n-locale.js b/web/src/composables/i18n-locale.js new file mode 100644 index 0000000..a5bcfe4 --- /dev/null +++ b/web/src/composables/i18n-locale.js @@ -0,0 +1,61 @@ +import dayjs from 'dayjs' +import { i18n, loadLanguageAsync } from '~@/locales' +import 'dayjs/locale/zh-cn' +import router from '~@/router' +import { useMetaTitle } from '~/composables/meta-title' + +const LOCALE_KEY = 'locale' +export const preferredLanguages = usePreferredLanguages() +export const lsLocaleState = useStorage(LOCALE_KEY, preferredLanguages.value[0]) +export const useI18nLocale = createSharedComposable(() => { + const loading = ref(false) + const localeStore = useAppStore() + const locale = computed(() => { + if (!i18n) + return 'zh-CN' + return unref(i18n.global.locale) + }) + const antd = computed(() => { + return i18n?.global?.getLocaleMessage?.(unref(locale))?.antd || void 0 + }) + const setLocale = async (locale2) => { + if (!i18n) + return + if (loading.value) + return + loading.value = true + try { + localeStore.toggleLocale(locale2) + await loadLanguageAsync(locale2) + if (i18n.mode === 'legacy') + i18n.global.locale = locale2 + else + i18n.global.locale.value = locale2 + loading.value = false + } + catch (e) { + loading.value = false + } + } + watch(locale, () => { + if (antd.value && antd.value.locale) + dayjs.locale(antd.value.locale) + const route = router.currentRoute.value + useMetaTitle(route) + }, { + immediate: true, + }) + const t = (key, defaultMessage) => { + const message = i18n?.global?.t?.(key) + if (message !== key) + return i18n?.global?.t?.(key) + else + return defaultMessage ?? key + } + return { + locale, + t, + antd, + setLocale, + } +}) diff --git a/web/src/composables/loading.js b/web/src/composables/loading.js new file mode 100644 index 0000000..a39e7a4 --- /dev/null +++ b/web/src/composables/loading.js @@ -0,0 +1,19 @@ +export function useLoadingCheck() { + const loading = document.querySelector('body > #loading-app') + if (loading) { + const body = document.querySelector('body') + setTimeout(() => { + body?.removeChild(loading) + }, 100) + } +} +export function useScrollToTop() { + const app = document.getElementById('app') + if (app) { + setTimeout(() => { + app.scrollTo({ + top: 0, + }) + }, 300) + } +} diff --git a/web/src/composables/meta-title.js b/web/src/composables/meta-title.js new file mode 100644 index 0000000..c7ae799 --- /dev/null +++ b/web/src/composables/meta-title.js @@ -0,0 +1,11 @@ +import { i18n } from '~@/locales' + +export function useMetaTitle(route) { + const { title, locale } = route.meta ?? {} + if (title || locale) { + if (locale) + useTitle((i18n?.global).t?.(locale) ?? title) + else + useTitle(title) + } +} diff --git a/web/src/composables/query-breakpoints.js b/web/src/composables/query-breakpoints.js new file mode 100644 index 0000000..ec2e0b3 --- /dev/null +++ b/web/src/composables/query-breakpoints.js @@ -0,0 +1,19 @@ +export const breakpointsEnum = { + xl: 1600, + lg: 1199, + md: 991, + sm: 767, + xs: 575, +} +export function useQueryBreakpoints() { + const breakpoints = reactive(useBreakpoints(breakpointsEnum)) + const isMobile = breakpoints.smaller('sm') + const isPad = breakpoints.between('sm', 'md') + const isDesktop = breakpoints.greater('md') + return { + breakpoints, + isMobile, + isPad, + isDesktop, + } +} diff --git a/web/src/composables/table-query.js b/web/src/composables/table-query.js new file mode 100644 index 0000000..51f7127 --- /dev/null +++ b/web/src/composables/table-query.js @@ -0,0 +1,90 @@ +import { assign } from 'lodash' + +export function useTableQuery(_options) { + const state = reactive(assign({ + queryApi: () => Promise.resolve(), + loading: false, + queryParams: {}, + dataSource: [], + rowSelections: { + selectedRowKeys: [], + selectedRows: [], + onChange(selectedRowKeys, selectedRows) { + state.rowSelections.selectedRowKeys = selectedRowKeys + state.rowSelections.selectedRows = selectedRows + }, + }, + queryOnMounted: true, + pagination: assign({ + pageSize: 10, + pageSizeOptions: ['10', '20', '30', '40'], + current: 1, + total: 0, + order: 'desc', + column: 'createTime', + showSizeChanger: true, + showQuickJumper: true, + showTotal: total => `总数据位:${total}`, + onChange(current, pageSize) { + state.pagination.pageSize = pageSize + state.pagination.current = current + query() + }, + }, _options.pagination), + expand: false, + expandChange() { + state.expand = !state.expand + }, + beforeQuery() { + }, + afterQuery(data) { + return data + }, + }, _options)) + async function query() { + if (state.loading) + return + state.loading = true + try { + await state.beforeQuery() + const { data } = await state.queryApi({ + current: state.pagination.current, + pageSize: state.pagination.pageSize, + column: state.pagination.column, + order: state.pagination.order, + ...state.queryParams, + }) + if (data) { + const _data = await state.afterQuery(data) + state.dataSource = _data.records ?? [] + state.pagination.total = _data.total ?? 0 + } + } + catch (e) { + throw new Error(`Query Failed: ${e}`) + } + finally { + state.loading = false + } + } + function resetQuery() { + state.pagination.current = 1 + state.queryParams = {} + query() + } + function initQuery() { + state.pagination.current = 1 + query() + } + onMounted(() => { + if (!state.queryOnMounted) + return + query() + }) + return { + query, + resetQuery, + initQuery, + state, + } +} diff --git a/web/src/composables/theme.js b/web/src/composables/theme.js new file mode 100644 index 0000000..a2a21dd --- /dev/null +++ b/web/src/composables/theme.js @@ -0,0 +1,2 @@ +export const isDark = useDark() +export const toggleDark = useToggle(isDark) diff --git a/web/src/config/default-setting.js b/web/src/config/default-setting.js new file mode 100644 index 0000000..5839d08 --- /dev/null +++ b/web/src/config/default-setting.js @@ -0,0 +1,53 @@ +export default { + title: 'N-Admin', + theme: 'inverted', + // theme: 'light', + logo: '/logo.svg', + collapsed: false, + drawerVisible: false, + colorPrimary: '#1677FF', + // layout: 'mix', + layout: 'side', + contentWidth: 'Fluid', + fixedHeader: false, + fixedSider: true, + splitMenus: false, + header: true, + menu: true, + watermark: true, + menuHeader: true, + footer: true, + colorWeak: false, + colorGray: false, + multiTab: true, + multiTabFixed: false, + keepAlive: true, + accordionMode: false, + leftCollapsed: true, + compactAlgorithm: false, + headerHeight: 48, + copyright: 'Go-NuNu Team 2025', + animationName: 'slide-fadein-right', +} +export const animationNameList = [ + { + label: 'None', + value: 'none', + }, + { + label: 'Fadein Up', + value: 'slide-fadein-up', + }, + { + label: 'Fadein Right', + value: 'slide-fadein-right', + }, + { + label: 'Zoom Fadein', + value: 'zoom-fadein', + }, + { + label: 'Fadein', + value: 'fadein', + }, +] diff --git a/web/src/directive/access.js b/web/src/directive/access.js new file mode 100644 index 0000000..123055b --- /dev/null +++ b/web/src/directive/access.js @@ -0,0 +1,8 @@ +export function accessDirective(el, binding) { + const { hasAccess } = useAccess() + if (!hasAccess(binding.value)) + el.parentNode?.removeChild(el) +} +export function setupAccessDirective(app) { + app.directive('access', accessDirective) +} diff --git a/web/src/directive/index.js b/web/src/directive/index.js new file mode 100644 index 0000000..4689534 --- /dev/null +++ b/web/src/directive/index.js @@ -0,0 +1,2 @@ +export * from './loading' +export * from './access' diff --git a/web/src/directive/loading.js b/web/src/directive/loading.js new file mode 100644 index 0000000..2e4f26b --- /dev/null +++ b/web/src/directive/loading.js @@ -0,0 +1,42 @@ +import { useLoading } from '@/composables/base-loading' +import BaseLoading from '@/components/base-loading/index.vue' + +const loadingDirective = { + mounted(el, bind) { + const { props } = BaseLoading + const full = el.getAttribute('loading-full') + const text = el.getAttribute('loading-text') || props.text.default + const textColor = el.getAttribute('loading-text-color') || props.textColor.default + const background = el.getAttribute('loading-background') || props.background.default + const spin = el.getAttribute('loading-spin') || props.spin.default + const instance = useLoading({ + text, + textColor, + background, + spin, + }) + el.instance = instance + if (bind.value) + instance.open(full ? document.body : el) + }, + updated(el, bind) { + const instance = el.instance + if (!instance) + return + if (bind.value) { + instance.open( + el.getAttribute('loading-full') === 'true' ? document.body : el, + ) + } + else { + instance.close() + } + }, + unmounted(el) { + el?.instance?.close() + }, +} +export function setupLoadingDirective(app) { + app.directive('loading', loadingDirective) +} +export default loadingDirective diff --git a/web/src/enums/http-enum.js b/web/src/enums/http-enum.js new file mode 100644 index 0000000..e27d351 --- /dev/null +++ b/web/src/enums/http-enum.js @@ -0,0 +1,13 @@ +export const RequestEnum = /* @__PURE__ */ ((RequestEnum2) => { + RequestEnum2.GET = 'GET' + RequestEnum2.POST = 'POST' + RequestEnum2.PUT = 'PUT' + RequestEnum2.DELETE = 'DELETE' + return RequestEnum2 +})({}) +export const ContentTypeEnum = /* @__PURE__ */ ((ContentTypeEnum2) => { + ContentTypeEnum2.JSON = 'application/json;charset=UTF-8' + ContentTypeEnum2.FORM_URLENCODED = 'application/x-www-form-urlencoded;charset=UTF-8' + ContentTypeEnum2.FORM_DATA = 'multipart/form-data;charset=UTF-8' + return ContentTypeEnum2 +})({}) diff --git a/web/src/enums/loading-enum.js b/web/src/enums/loading-enum.js new file mode 100644 index 0000000..bc511ed --- /dev/null +++ b/web/src/enums/loading-enum.js @@ -0,0 +1,27 @@ +import pulseSpin from '@/components/base-loading/spin/pulse-spin.vue' +import rectSpin from '@/components/base-loading/spin/rect-spin.vue' +import planeSpin from '@/components/base-loading/spin/plane-spin.vue' +import cubeSpin from '@/components/base-loading/spin/cube-spin.vue' +import preloaderSpin from '@/components/base-loading/spin/preloader-spin.vue' +import chaseSpin from '@/components/base-loading/spin/chase-spin.vue' +import dotSpin from '@/components/base-loading/spin/dot-spin.vue' + +export const LoadingEnum = /* @__PURE__ */ ((LoadingEnum2) => { + LoadingEnum2.PULSE = 'pulse' + LoadingEnum2.RECT = 'rect' + LoadingEnum2.PLANE = 'plane' + LoadingEnum2.CUBE = 'cube' + LoadingEnum2.PRELOADER = 'preloader' + LoadingEnum2.CHASE = 'chase' + LoadingEnum2.DOT = 'dot' + return LoadingEnum2 +})({}) +const loadingMap = /* @__PURE__ */ new Map() +loadingMap.set('pulse' /* PULSE */, pulseSpin) +loadingMap.set('rect' /* RECT */, rectSpin) +loadingMap.set('plane' /* PLANE */, planeSpin) +loadingMap.set('cube' /* CUBE */, cubeSpin) +loadingMap.set('preloader' /* PRELOADER */, preloaderSpin) +loadingMap.set('chase' /* CHASE */, chaseSpin) +loadingMap.set('dot' /* DOT */, dotSpin) +export { loadingMap } diff --git a/web/src/layouts/basic-layout/context.js b/web/src/layouts/basic-layout/context.js new file mode 100644 index 0000000..a6894c1 --- /dev/null +++ b/web/src/layouts/basic-layout/context.js @@ -0,0 +1,145 @@ +import { runEvent } from '@v-c/utils' + +function layoutStateFunc(props, methods = {}) { + const hasPageContainer = shallowRef(false) + const logo = computed(() => props.logo) + const title = computed(() => props.title) + const layout = computed(() => props.layout) + const collapsedWidth = computed(() => props.collapsedWidth) + const siderWidth = computed(() => props.siderWidth) + const menuData = computed(() => props.menuData) + const splitMenus = computed(() => props.splitMenus) + const fixedHeader = computed(() => props.fixedHeader) + const fixedSider = computed(() => props.fixedSider) + const collapsed = computed(() => props.collapsed) + const theme = computed(() => props.theme) + const headerHeight = computed(() => props.headerHeight) + const contentWidth = computed(() => props.contentWidth) + const copyright = computed(() => props.copyright) + const isMobile = computed(() => props.isMobile) + const mobileCollapsed = shallowRef(false) + const handleMobileCollapsed = () => { + mobileCollapsed.value = !mobileCollapsed.value + } + const header = computed(() => props.header) + const menu = computed(() => props.menu) + const footer = computed(() => props.footer) + const menuHeader = computed(() => props.menuHeader) + const leftCollapsed = computed(() => props.leftCollapsed) + const menuDataMap = reactive(/* @__PURE__ */ new Map()) + const splitState = reactive({ + selectedKeys: [], + }) + watch( + menuData, + () => { + menuDataMap.clear() + menuData.value?.forEach((item) => { + menuDataMap.set(item.path, item) + }) + }, + { + immediate: true, + }, + ) + const selectedMenus = computed(() => { + if (isMobile.value || layout.value !== 'mix' || !splitMenus.value) + return menuData.value + const key = splitState.selectedKeys?.[0] + if (!key) + return [] + return menuDataMap.get(key)?.children ?? [] + }) + const handleSplitSelectedKeys = (val) => { + splitState.selectedKeys = val + } + const openKeys = computed(() => props.openKeys) + const selectedKeys = computed(() => props.selectedKeys) + const handleOpenKeys = (val) => { + runEvent(props['onUpdate:openKeys'], val) + } + const handleSelectedKeys = (val) => { + runEvent(props['onUpdate:selectedKeys'], val) + } + const handleMenuSelect = (data) => { + runEvent(props.onMenuSelect, data) + } + const findSelected = (key, menuData2, pItem) => { + for (const item of menuData2 ?? []) { + if (item.path === key) + return pItem ?? item + if (item.children && item.children.length) { + const find = findSelected(key, item.children, pItem ?? item) + if (find) + return find + } + } + } + watch( + selectedKeys, + () => { + if (splitMenus.value) { + const key = selectedKeys.value?.[0] + if (key) { + const find = findSelected(key, menuData.value ?? []) + if (find) + splitState.selectedKeys = [find.path] + } + } + }, + { + immediate: true, + }, + ) + watch(splitMenus, () => { + if (!splitMenus.value) { + splitState.selectedKeys = [] + } + else { + const key = selectedKeys.value?.[0] ?? openKeys.value?.[0] ?? '' + const find = findSelected(key, menuData.value ?? []) + if (find) + splitState.selectedKeys = [find?.path] + else + splitState.selectedKeys = [] + } + }) + return { + logo, + title, + layout, + collapsed, + leftCollapsed, + collapsedWidth, + menuData, + siderWidth, + fixedHeader, + fixedSider, + headerHeight, + theme, + isMobile, + mobileCollapsed, + contentWidth, + copyright, + hasPageContainer, + splitMenus, + splitState, + menuDataMap, + selectedMenus, + handleMobileCollapsed, + header, + menu, + footer, + openKeys, + handleOpenKeys, + selectedKeys, + handleSelectedKeys, + handleMenuSelect, + handleSplitSelectedKeys, + menuHeader, + ...methods, + } +} +const [useLayoutProvider, useLayoutInject] = createInjectionState(layoutStateFunc) +export { useLayoutProvider } +export const useLayoutState = () => useLayoutInject() diff --git a/web/src/layouts/basic-layout/index.less b/web/src/layouts/basic-layout/index.less new file mode 100644 index 0000000..72f7eff --- /dev/null +++ b/web/src/layouts/basic-layout/index.less @@ -0,0 +1,38 @@ +.ant-pro-basicLayout{ + display: flex; + flex-direction: column; + width: 100%; + min-height: 100%; + .ant-layout{ + background: #f0f2f5; + } + + &-content{ + // position: relative; + margin: 24px; + display: flex; + + &-fluid{ + width: 100%; + } + + &-fixed{ + width: 1200px; + max-width: 1200px; + margin: 0 auto; + + &:has(.ant-pro-page-container){ + width: 100%; + max-width: unset; + margin: unset; + } + } + } +} + +[data-theme='dark']{ + .ant-layout{ + background: rgb(42, 44, 44); + } +} + diff --git a/web/src/layouts/basic-layout/index.vue b/web/src/layouts/basic-layout/index.vue new file mode 100644 index 0000000..2086ce5 --- /dev/null +++ b/web/src/layouts/basic-layout/index.vue @@ -0,0 +1,75 @@ + + + + + diff --git a/web/src/layouts/basic-layout/parent-comp-consumer.js b/web/src/layouts/basic-layout/parent-comp-consumer.js new file mode 100644 index 0000000..d76a389 --- /dev/null +++ b/web/src/layouts/basic-layout/parent-comp-consumer.js @@ -0,0 +1,40 @@ +import { isFunction } from '@v-c/utils' +import { defineComponent } from 'vue' + +export const ParentCompConsumer = defineComponent({ + name: 'ParentCompConsumer', + setup(_, { slots }) { + const route = useRoute() + const parentMap = /* @__PURE__ */ new Map() + return () => { + const parentName = route.meta?.parentName + const parentComps = route.meta?.parentComps + if (parentName) { + if (parentMap.has(parentName)) { + return parentMap.get(parentName) + } + else { + if (parentComps?.length) { + let comp + for (const parentComp of [...parentComps].reverse()) { + const comp1 = isFunction(parentComp) ? defineAsyncComponent(parentComp) : parentComp + if (comp) { + comp = h(comp1, null, { + default: () => comp, + }) + } + else { + comp = h(comp1, null, slots) + } + } + if (comp) { + parentMap.set(parentName, comp) + return comp + } + } + } + } + return slots?.default?.() + } + }, +}) diff --git a/web/src/layouts/basic-layout/typing.js b/web/src/layouts/basic-layout/typing.js new file mode 100644 index 0000000..8986dd0 --- /dev/null +++ b/web/src/layouts/basic-layout/typing.js @@ -0,0 +1,35 @@ +import { arrayType, booleanType, eventType, numberType, stringType } from '@v-c/utils' + +const proLayoutEvents = { + 'onUpdate:openKeys': eventType(), + 'onUpdate:selectedKeys': eventType(), + 'onMenuSelect': eventType(), +} +export const proLayoutProps = { + layout: stringType('mix'), + logo: stringType(), + title: stringType(), + collapsedWidth: numberType(48), + siderWidth: numberType(234), + headerHeight: numberType(48), + menuData: arrayType(), + fixedHeader: booleanType(false), + fixedSider: booleanType(true), + splitMenus: booleanType(), + collapsed: booleanType(false), + leftCollapsed: booleanType(false), + theme: stringType('light'), + onCollapsed: eventType(), + isMobile: booleanType(), + contentWidth: stringType(), + header: booleanType(true), + footer: booleanType(true), + menu: booleanType(true), + menuHeader: booleanType(true), + // 展开菜单 + openKeys: arrayType(), + // 选中菜单 + selectedKeys: arrayType(), + copyright: stringType(), + ...proLayoutEvents, +} diff --git a/web/src/layouts/components/drawer-menu/index.vue b/web/src/layouts/components/drawer-menu/index.vue new file mode 100644 index 0000000..6bd017b --- /dev/null +++ b/web/src/layouts/components/drawer-menu/index.vue @@ -0,0 +1,17 @@ + + + diff --git a/web/src/layouts/components/global-footer/index.less b/web/src/layouts/components/global-footer/index.less new file mode 100644 index 0000000..49f64d2 --- /dev/null +++ b/web/src/layouts/components/global-footer/index.less @@ -0,0 +1,44 @@ +.ant-pro-global-footer{ + // margin: 48px 0 24px; + padding: 0 16px; + text-align: center; + + &-links{ + margin-bottom: 8px; + + a{ + color: rgba(0,0,0,.45); + transition: all .3s; + + &:not(:last-child){ + margin-right: 40px; + } + + &:hover { + color: rgba(0,0,0,.85); + } + } + } + + &-copyright{ + color: rgba(0,0,0,.45); + font-size: 14px + } +} + + +[data-theme='dark'] .ant-pro-global-footer{ + &-links{ + a{ + color:rgba(229, 224, 216, 0.45); + + &:hover{ + color: rgba(229, 224, 216, 0.85); + } + } + } + + &-copyright{ + color: rgba(229, 224, 216, 0.45); + } +} diff --git a/web/src/layouts/components/global-footer/index.vue b/web/src/layouts/components/global-footer/index.vue new file mode 100644 index 0000000..a2aa388 --- /dev/null +++ b/web/src/layouts/components/global-footer/index.vue @@ -0,0 +1,27 @@ + + + + + diff --git a/web/src/layouts/components/global-header/global-header-logo.vue b/web/src/layouts/components/global-header/global-header-logo.vue new file mode 100644 index 0000000..1c558e9 --- /dev/null +++ b/web/src/layouts/components/global-header/global-header-logo.vue @@ -0,0 +1,18 @@ + + + diff --git a/web/src/layouts/components/global-header/index.less b/web/src/layouts/components/global-header/index.less new file mode 100644 index 0000000..7f5ded4 --- /dev/null +++ b/web/src/layouts/components/global-header/index.less @@ -0,0 +1,136 @@ +.ant-pro-global-header{ + position: relative; + display: flex; + align-items: center; + height: 100%; + padding: 0 24px; + background: #fff; + box-shadow:0 1px 4px rgba(0,21,41,.08); + + >*{ + height: 100%; + } + + &-top{ + .ant-menu-horizontal >.ant-menu-submenu{ + top: unset; + } + } + + &-collapsed-button{ + display: flex; + font-size: 20px; + align-items: center; + margin-left: 24px; + } + + &-logo{ + position: relative; + overflow: hidden; + + a { + display: flex; + align-items: center; + height: 100%; + + img { + height: 28px; + } + h1{ + height: 32px; + margin: 0 0 0 12px; + font-weight: 600; + font-size: 18px; + line-height: 32px; + } + } + } + + &-layout-mix{ + background: #001529; + .anticon { + color:#fff; + } + } + + &-layout-mix &-logo{ + h1{ + color: #fff; + } + } + .ant-menu-horizontal{ + border-bottom: none!important; + } + + + &-inverted{ + --hover-color:rgb(42, 44, 55); + color: rgba(229, 224, 216, 0.85); + background: #001529; + box-shadow:0 1px 4px rgba(0,21,41,.08); + + .ant-pro-top-nav-header{ + &-logo{ + h1{ + color: rgb(229, 224, 216); + } + } + } + } +} + +.ant-pro-top-nav-header-logo{ + position: relative; + min-width: 165px; + height: 100%; + overflow: hidden; + margin-right: 25px; + + img{ + display: inline-block; + height: 32px; + vertical-align: middle; + } + + h1{ + display: inline-block; + margin: 0 0 0 12px; + font-size: 16px; + vertical-align: top; + color: rgba(0,0,0,.85); + } +} + + +[data-theme='dark'] .ant-pro-top-nav-header-logo{ + h1{ + color: rgba(229, 224, 216, 0.85); + } +} + +[data-theme='dark'] .ant-pro-global-header{ + background: #001529; + box-shadow:rgba(13, 13, 13, 0.65) 0px 2px 8px 0px; + + &-layout-mix { + background: rgb(15, 28, 41); + + .anticon { + color:rgb(229, 224, 216); + } + + .ant-pro-global-header{ + &-logo{ + h1{ + color: rgb(229, 224, 216); + } + } + } + } + + &-layout-top,&-layout-side{ + background-color: rgb(36, 37, 37); + } + + +} diff --git a/web/src/layouts/components/global-header/index.vue b/web/src/layouts/components/global-header/index.vue new file mode 100644 index 0000000..2d8d2d2 --- /dev/null +++ b/web/src/layouts/components/global-header/index.vue @@ -0,0 +1,42 @@ + + + + + diff --git a/web/src/layouts/components/header/index.less b/web/src/layouts/components/header/index.less new file mode 100644 index 0000000..d8e296f --- /dev/null +++ b/web/src/layouts/components/header/index.less @@ -0,0 +1,12 @@ +.ant-pro-fixed-header{ + position: fixed; + top: 0; + + &-inverted{ + --hover-color:rgb(42, 44, 55); + } + + &-action{ + transition: width .3s cubic-bezier(.645,.045,.355,1); + } +} diff --git a/web/src/layouts/components/header/index.vue b/web/src/layouts/components/header/index.vue new file mode 100644 index 0000000..31dd3d7 --- /dev/null +++ b/web/src/layouts/components/header/index.vue @@ -0,0 +1,76 @@ + + + + + diff --git a/web/src/layouts/components/menu/async-icon.vue b/web/src/layouts/components/menu/async-icon.vue new file mode 100644 index 0000000..9ab95a5 --- /dev/null +++ b/web/src/layouts/components/menu/async-icon.vue @@ -0,0 +1,23 @@ + + + diff --git a/web/src/layouts/components/menu/index.vue b/web/src/layouts/components/menu/index.vue new file mode 100644 index 0000000..13150fa --- /dev/null +++ b/web/src/layouts/components/menu/index.vue @@ -0,0 +1,31 @@ + + + diff --git a/web/src/layouts/components/menu/split-menu.vue b/web/src/layouts/components/menu/split-menu.vue new file mode 100644 index 0000000..d26ea9e --- /dev/null +++ b/web/src/layouts/components/menu/split-menu.vue @@ -0,0 +1,35 @@ + + + + + diff --git a/web/src/layouts/components/menu/sub-menu.vue b/web/src/layouts/components/menu/sub-menu.vue new file mode 100644 index 0000000..83c76d5 --- /dev/null +++ b/web/src/layouts/components/menu/sub-menu.vue @@ -0,0 +1,74 @@ + + + diff --git a/web/src/layouts/components/route-view.vue b/web/src/layouts/components/route-view.vue new file mode 100644 index 0000000..eb198ff --- /dev/null +++ b/web/src/layouts/components/route-view.vue @@ -0,0 +1,29 @@ + + + diff --git a/web/src/layouts/components/setting-drawer/block-checkbox.vue b/web/src/layouts/components/setting-drawer/block-checkbox.vue new file mode 100644 index 0000000..40ff166 --- /dev/null +++ b/web/src/layouts/components/setting-drawer/block-checkbox.vue @@ -0,0 +1,31 @@ + + + diff --git a/web/src/layouts/components/setting-drawer/body.vue b/web/src/layouts/components/setting-drawer/body.vue new file mode 100644 index 0000000..b835788 --- /dev/null +++ b/web/src/layouts/components/setting-drawer/body.vue @@ -0,0 +1,14 @@ + + + diff --git a/web/src/layouts/components/setting-drawer/color-checkbox.vue b/web/src/layouts/components/setting-drawer/color-checkbox.vue new file mode 100644 index 0000000..daf764a --- /dev/null +++ b/web/src/layouts/components/setting-drawer/color-checkbox.vue @@ -0,0 +1,11 @@ + + + diff --git a/web/src/layouts/components/setting-drawer/index.less b/web/src/layouts/components/setting-drawer/index.less new file mode 100644 index 0000000..9c7448a --- /dev/null +++ b/web/src/layouts/components/setting-drawer/index.less @@ -0,0 +1,187 @@ +.ant-pro-drawer-setting-handle{ + position: fixed; + inset-block-start: 240px; + inset-inline-end: 0px; + z-index: 0; + display: flex; + align-items: center; + justify-content: center; + width: 48px; + height: 48px; + font-size: 16px; + text-align: center; + -webkit-backdropilter: saturate(180%) blur(20px); + backdrop-filter: saturate(180%) blur(20px); + cursor: pointer; + pointer-events: auto; + + &-icon{ + color: #fff; + } + + &-icon-dark{ + color: #e5e0d8 + } +} + + +.ant-pro-drawer-setting-block-checkbox{ + display: flex; + min-height: 42px; + + + &-selectIcon{ + position: absolute; + right: 6px; + bottom: 4px; + font-weight: 700; + font-size: 14px; + pointer-events: none + } + + &-item{ + position: relative; + width: 44px; + height: 36px; + margin-right: 16px; + overflow: hidden; + background-color: #f0f2f5; + border-radius: 4px; + box-shadow: 0 1px 2.5px 0 rgba(0,0,0,.18); + cursor: pointer; + + &::before{ + position: absolute; + top: 0; + left: 0; + width: 33%; + height: 100%; + background-color: #fff; + content: ""; + } + + &::after{ + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 25%; + background-color: #fff; + content: "" + } + + &-dark{ + background-color: rgba(0,21,41,.85); + + &::before{ + background-color: rgba(0,21,41,.65); + content: ""; + } + + &::after{ + background-color: rgba(0,21,41,.85); + } + } + + &-light{ + &::before{ + background-color: #fff; + content: ""; + } + + &::after{ + background-color: #fff + } + } + + &-inverted::before,&-side::before{ + z-index: 1; + background-color: #001529; + content: "" + } + + &-inverted::after,&-side::after{ + background-color: #fff + } + + &-top::before{ + background-color: transparent; + content: "" + } + + &-top::after{ + background-color: #001529; + } + + &-mix::before{ + background-color: #fff; + content: "" + } + + &-mix::after{ + background-color: #001529; + } + + } + + &-theme-item{ + background: rgb(42, 44, 44); + box-shadow: rgba(13, 13, 13, 0.18) 0px 1px 2.5px 0px; + + &-light{ + &::before,&::after{ + background-color: rgb(36, 37, 37); + } + } + + &-dark{ + &::before,&::after{ + background-color: rgba(15, 28, 41, 0.65); + } + } + + &-side::before,&-inverted::before{ + background-color: rgb(15, 28, 41); + } + + &-side::after,&-inverted::after{ + background-color: rgb(36, 37, 37); + } + + &-mix::before{ + background-color: rgb(36, 37, 37); + } + + } +} + + +.ant-pro-drawer-setting-theme-color{ + margin-top: 16px; + overflow: hidden; + + &-block{ + float: left; + width: 20px; + height: 20px; + margin-top: 8px; + margin-right: 8px; + font-weight: 700; + display: flex; + color: #fff; + align-items: center; + justify-content: center; + border-radius: 2px; + cursor: pointer + } + +} + +.ant-pro-drawer-setting-content{ + .ant-list{ + &-item{ + padding-inline: 0; + padding-block: 8px; + } + } +} diff --git a/web/src/layouts/components/setting-drawer/index.vue b/web/src/layouts/components/setting-drawer/index.vue new file mode 100644 index 0000000..22a664e --- /dev/null +++ b/web/src/layouts/components/setting-drawer/index.vue @@ -0,0 +1,241 @@ + + + + + diff --git a/web/src/layouts/components/setting-drawer/layout-setting.vue b/web/src/layouts/components/setting-drawer/layout-setting.vue new file mode 100644 index 0000000..58be739 --- /dev/null +++ b/web/src/layouts/components/setting-drawer/layout-setting.vue @@ -0,0 +1,155 @@ + + + diff --git a/web/src/layouts/components/setting-drawer/other-setting.vue b/web/src/layouts/components/setting-drawer/other-setting.vue new file mode 100644 index 0000000..78cdbe9 --- /dev/null +++ b/web/src/layouts/components/setting-drawer/other-setting.vue @@ -0,0 +1,48 @@ + + + diff --git a/web/src/layouts/components/setting-drawer/regional-setting.vue b/web/src/layouts/components/setting-drawer/regional-setting.vue new file mode 100644 index 0000000..560d456 --- /dev/null +++ b/web/src/layouts/components/setting-drawer/regional-setting.vue @@ -0,0 +1,98 @@ + + + diff --git a/web/src/layouts/components/setting-drawer/theme-color.vue b/web/src/layouts/components/setting-drawer/theme-color.vue new file mode 100644 index 0000000..326bd01 --- /dev/null +++ b/web/src/layouts/components/setting-drawer/theme-color.vue @@ -0,0 +1,33 @@ + + + diff --git a/web/src/layouts/components/sider-menu/index.less b/web/src/layouts/components/sider-menu/index.less new file mode 100644 index 0000000..61bd30d --- /dev/null +++ b/web/src/layouts/components/sider-menu/index.less @@ -0,0 +1,128 @@ +.ant-pro-sider{ + .ant-layout-sider-children{ + display: flex; + flex-direction: column; + height: 100%; + } + + &-fixed{ + position: fixed!important; + top: 0; + left: 0; + height: 100%; + z-index: 100; + box-shadow: 2px 0 8px 0 rgba(29,35,41,.05); + } + + &-menu{ + position: relative; + z-index: 10; + min-height: 100%; + border-inline-end: none !important; + } + + &-collapsed-button{ + border-top: 1px solid rgba(0,0,0,.06); + } + + &-collapsed-button-inverted{ + border-top: 1px solid rgba(143, 132, 117, 0.06); + } + + &-light{ + .ant-menu-light{ + border-right-color: transparent; + } + } + + &-logo{ + position: relative; + display: flex; + align-items: center; + padding: 16px 24px; + cursor: pointer; + transition: padding .3s cubic-bezier(0.645, 0.045, 0.355, 1); + + >a{ + display:flex; + align-items: center; + justify-content: center; + min-height: 32px; + width: 100%; + } + + img{ + display: inline-block; + height: 32px; + vertical-align: middle; + } + + h1{ + display: inline-block; + height: 32px; + margin: 0 0 0 12px; + font-weight: 600; + font-size: 18px; + line-height: 32px; + vertical-align: middle; + animation: pro-layout-title-hide .3s; + width: calc(100% - 32px); + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + } + } + + &-collapsed{ + padding: 16px 8px; + } +} + + +[data-theme='dark'] .ant-pro-sider { + &-collapsed-button{ + border-top: 1px solid rgba(143, 132, 117, 0.06); + } + + &-fixed { + box-shadow: rgba(13, 13, 13, 0.65) 0 2px 8px 0; + } +} + + + +@keyframes pro-layout-title-hide { + 0% { + display: none; + opacity: 0 + } + + 80% { + display: none; + opacity: 0 + } + + to { + display: unset; + opacity: 1 + } +} + +.scrollbar { + &::-webkit-scrollbar { + width: 5px; + height: 10px; + } + + &::-webkit-scrollbar-thumb { + border-radius: 5px; + -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); + background: rgba(190, 190, 190, 0.2); + } + + &::-webkit-scrollbar-track { + -webkit-box-shadow: inset 0 0 5px rgba(227, 227, 227, 0.2); + border-radius: 0; + background: rgba(0, 0, 0, 0.1); + } +} diff --git a/web/src/layouts/components/sider-menu/index.vue b/web/src/layouts/components/sider-menu/index.vue new file mode 100644 index 0000000..b205ae2 --- /dev/null +++ b/web/src/layouts/components/sider-menu/index.vue @@ -0,0 +1,99 @@ + + + + + diff --git a/web/src/layouts/index.vue b/web/src/layouts/index.vue new file mode 100644 index 0000000..e4def8f --- /dev/null +++ b/web/src/layouts/index.vue @@ -0,0 +1,95 @@ + + +